|
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."
|
|
|
|
|
I was teaching at a tech college in the days when not every student had a PC. So the college offered a hall full of fifty machines, available to all students. Frequently, the students had their lunch break by the PCs, or enjoyed all sorts of snacks.
There was a discussion among the IT maintenance guys which were worse: Coke, or yoghurt. Yoghurt spills ended up as being voted the most hated matter in the keyboards. The situation was so bad that we ended up pulling 'safe sex devices' over all the keyboards. Well, they were not plain safe sex devices, but models made for that specific use. I'll say that it might be difficult to tell the difference. They did prevent spreading of contamination, but were nevertheless hated by the students. (Again: Hard to tell the difference )
The students did get the message. So after some time we could remove the latex devices, and the students had learned to honor the 'No food, snacks or drinks in the PC hall'.
|
|
|
|
|
I once had a mechanical keyboard which just felt right. I kept that keyboard at work for over ten years. Every six months or so I brought it home, disassembled it including the keytops, cleaned it, and reassembled it. It finally developed an intermittent electrical problem in the board. I have a feeling there was a broken trace caused by the repeated disassembly. I gave up and grabbed a keyboard out of our lab.
Here at home I've used el cheapo keyboards for a long time. When the pandemic started and I was working from home full time, the keyboards started annoying me. I finally gave up and bought a Logitech K840 mechanical keyboard. It wasn't expensive - $65 at Best Buy. It's a full-width, standard layout, numeric keypad keyboard. Good tactile feedback without a whole lot of noise. Cleaning is easy as well, as the keys sit on top of a metal plate so I can just spray air through it. Excellent value for the money, considering I've seen mechanical keyboards for $300 or more.
Software Zen: delete this;
|
|
|
|
|
|
I should have qualified my statement: $300 or more for a practical keyboard. Those are toys, and not intended for heavy use (IMO).
Software Zen: delete this;
|
|
|
|
|