|
I suppose that's what our spammers use when creating accounts
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
That's the programmers thinking and it looks nice as well.
But problem start already with backwards compatibility with NetBios which limits the computer names to 15 characters.
Then comes the DNS which disallows quite a few characters including braces and parantheses.
So there's a reason for our horrible computer naming conventions I'm afraid.
|
|
|
|
|
This isn't SMB though at least what i'm doing**. As far as windows? If they were smart (and sometimes they are) they'd use the API to get 50 names at once and choose the 1st one that's less than 15 chars. Most of the names will be. Almost all of them.
** My stuff shows up when you "add a bluetooth device" under windows, or skip it and use my bluetooth capable app which doesn't require recent windows 10 to prepair devices. It also will show devices on the local network, right now using a custom multicast protocol but eventually probably using uPNP
Real programmers use butterflies
|
|
|
|
|
Neat - how could you call the API using curl for example ?
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
I forget curl syntax but it would be like
curl https://namey.muffinlabs.com/name.json?type=female[^]
As far as the parameters, type is gender. There are others but you'd have to go to namey.muffinlabs.com and hit the landing page, click on their JS API link and dig through the minified javascript you get back to find out what they are. sorry.
The default is to return a single first-name as a JSON array so like
["Sarah"]
I don't even use a JSON processor on it. Since names won't contain quotes i just do a string extraction for the bits between the quotes.
Real programmers use butterflies
|
|
|
|
|
That works thanks
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
To be completely unisex one should only use hermaphroditic names such as: Alex, Bobby, Charlie, Drew, Jordan, Kyle, Leslie, Marion, Robin, Sam, Taylor, etc.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
I'm not a traditionalist in all things, but I firmly believe in naming gadgets after women, for reasons.
Real programmers use butterflies
|
|
|
|
|
will assume role as executive chairman of the board. wow. wonder what happened.
pulled a Bill Gates, he did.
Edit: looks like it will take place this summer.
modified 2-Feb-21 16:38pm.
|
|
|
|
|
Slacker007 wrote: wonder what happened. His net worth hit $200 billon? Personally I wouldn't step down unless I had at least $300 billion but that's because I have more kids than he does.

|
|
|
|
|
You have no idea about kids. Want to have a measuring contest?
Seriously, I don't think this would be a sweater issue (meaning he finally has enough. After a billion, is it even real any longer? I cannot imagine.
I suspect he's re-evaluating life after his screw up.
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
Coke was spilt on my desk a few weeks ago, and even though (as far as I could tell at the time) none had been spilt on top of my keyboard, the bottom part was soaking in it. Slowly but surely, after I've cleaned everything up as best I could (without taking apart the keyboard) the tab key started feeling sticky, and now for the past 2 days the tilde/backtick key (right above it) is now getting depressed at the same time I hit tab, adding that character to whatever field I was trying to leave.
Long story short, the keyboard's been taken apart and cleaned, those keys now work great, but the spacebar now either has to be hit right in the middle to register at all, or pressed hard. I can take the spacebar out and put it back without disassembling the rest of the keyboard, but so far all my attempts to pop it out/back in have failed to improve it or the way it's supposed to bounce back into position (the membrane underneath it is positioned correctly).
I found another box (that I had forgotten about) that contains an identical keyboard, and after plugging it in, I realize, has the same problem - and now that I've tried it, I remember going through the same thing with that one...and getting this one as a replacement, with the intent to eventually take it apart again and do a better job of putting it back together.
And honestly it's not the first pair of keyboards I've taken apart, and have run into problems after that, specifically, with the spacebar. It's not exactly rocket science, yet apparently I lack the "finesse", perhaps, to reassemble these correctly. And no, there are no leftover parts.
I hate buying replacement keyboards just for the sake of a spacebar that won't go back correctly.
|
|
|
|
|
|
similar issue happened to my gaming keyboard. soup, not coke. "C" key, not spacebar. I guess I am a sloppy eater.
which brings me to - does one "eat" soup? 
|
|
|
|
|
Slacker007 wrote: does one "eat" soup?
If it's one of mine: yes!
Bacon and potato chowder, with fresh bread and butter. Hits the spot for a winter lunch - but it's way too thick to pour into a glass!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Damn straight, good soup has chewy bits
( well, tomato doesn't ( I grew up in S. Jersey - ever see a flat bed of bushel baskets of tomatoes going down the road? ))
Split pea & ham, chicken veg., c**k-a-leekie, even egg drop and sweet sour have bits. ( Note _I_ didn't censor "male fowl" that's auto-mangled.)
|
|
|
|
|
I make mine as Tomato and Chorizo, so it does have chewy bits!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Slacker007 wrote: which brings me to - does one "eat" soup?
One is eating soup if the soup is in a bowl and a spoon is employed to convey it to the mouth. One is drinking soup if the soup is in a cup (or mug), and the cup is raised to the mouth.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
I should have known there was some technical documentation somewhere on this subject. 
|
|
|
|
|
Slacker007 wrote: I should have known there was some technical documentation somewhere some nitpicky people in the internet on this subject. FTFY[^]
Nothing against you Daniel
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Slacker007 wrote: which brings me to - does one "eat" soup?
While we're on the off-topic, how about this one - Is cereal soup?
|
|
|
|
|
excellent question.
What exactly differentiates cereal from soup? they both have solid food matter in a liquid (soup can just be liquid). They both are primarily served in a bowl with a spoon.
soup can be served hot or cold, and I suppose cereal can too.
|
|
|
|
|
The space bar usually has a hinged wire, a hoop, at the underside with at least two guides near each end for steering the movement straight downwards, no matter where you press it. Are you quite certain that you have successfully gotten this wire properly into the guides? I have had keyboards where it certainly was not easy to get it in place!
On the other hand: Unless you want a super top rate keyboard (well ... I do ), they are so cheap nowadays that if it takes hours to get it to work, you hourly pay is quite poor, when the alternative is to buy a new one.
|
|
|
|
|
trønderen wrote: The space bar usually has a hinged wire, a hoop, at the underside with at least two guides near each end for steering the movement straight downwards, no matter where you press it. Are you quite certain that you have successfully gotten this wire properly into the guides?
Yeah, it does have the wire you mention, and I've tried to position it every way I could think of. I know how it won't go, because I've managed to get it so it wouldn't spring back up at all. I took it out of the guide altogether and re-inserted it multiple times...I feel that's what I'm missing. I can't quite get it back to where it should be going...?
It's a Microsoft Natural Ergonomic Keyboard 4000. There's pictures, and even videos of it being disassembled. I can't quite see what I'm doing wrong...
trønderen wrote: they are so cheap nowadays that if it takes hours to get it to work, you hourly pay is quite poor, when the alternative is to buy a new one.
You're right. I still hate to throw away something that I know could easily be made to work...
|
|
|
|
|
back in the day, I found that the worst thing to get in a keyboard was Coke and cigarette ash. Sticky and conductive.
"Time flies like an arrow. Fruit flies like a banana."
|
|
|
|