HackerTrans
TopNewTrendsCommentsPastAskShowJobs

__david__

no profile record

comments

__david__
·w zeszłym miesiącu·discuss
Only if your personal projects make you money. I have a million hobby projects but none generate income.
__david__
·w zeszłym miesiącu·discuss
Having fd 4 mean something specific is no weirder than having fds 0,1, and 2 mean something specific, which is probably never going to change. At some point you just gotta embrace the Unix.
__david__
·w zeszłym miesiącu·discuss
I agree. I think the current way is very nice to use (in c). I think the best way would be to have something similar to vfork() but not bound by posix rules. Then make the normal posix apis (close, setuid, etc.) act like the Rust “builder” pattern. Possibly giving them a prefix for explicitness. That way the “fill out a giant structure” people could have their wish and the people that just want a faster posix experience don’t have to learn an entirely new concept and api surface. It would be future extensible that way, too (just add more prefixed calls to the builder).
__david__
·w zeszłym miesiącu·discuss
That’s only fairly recently at my Costco. For years and years it was only American Express and debit.
__david__
·w zeszłym miesiącu·discuss
No one is saying to pretend you memorized everything. They’re saying they’d rather have an “I don’t know” than a half-assed ai response (or stack overflow cut and paste).

Or, if you get nerd-sniped by the question and spend some time figuring it out, that’s fine too.

But if you want to be helpful but don’t want to take the time to figure it out yourself, don’t just forward the question to AI or send me a link to the first result in Google because I could have done that myself(and may have done it already). Just say you don’t know, which is a paradoxically more useful response.
__david__
·2 miesiące temu·discuss
From his 2006 speech/routine at the White House Correspondents' Dinner, speaking to then president George Bush:

> Now, I know there are some polls out there saying this man has a 32 percent approval rating. But guys like us, we don't pay attention to the polls. We know that polls are just a collection of statistics that reflect what people are thinking in reality. And reality has a well-known liberal bias...

His whole thing was phenomenal: https://www.youtube.com/watch?v=IJ-a2KeyCAY
__david__
·2 miesiące temu·discuss
On the plus side, it's a chemical that was discovered more than a century ago so scientists have accumulated a lot of knowledge about it. So far no studies were able to link it to cancer. It also doesn't significantly build up in the body over time (like heavy metals do). It's 3x heavier than air so it shouldn't spread too far away. The main issue is they want to try to keep it from getting into storm drains or into the ground water.

I've heard from others that it's readily absorbed by water. That's bad in the ground water case, but it seems it might be a positive when trying to clean up a (contained) spill.

It appears to me to have a relatively high lethal dosage (my back of the napkin calculations are saying a 200 pound human would have to orally ingest almost a liter of it to reach the LD50 dosage--but again don't quote me on that number because I am not an expert and could have very easily messed up the math or the concept of a lethal dose).

So, while I agree there might be unknown long term issues, it does appear to be a relatively low probability of that since it seems to be on the less pernicious side.
__david__
·2 miesiące temu·discuss
> What a disaster and complete failure on the local government in the way they handled this situation.

Can you expand on that? It seems like there wasn't a lot they could do once the tank started leaking.
__david__
·2 miesiące temu·discuss
I understand what you’re saying but in this case notice they don’t even mention terminal or command lines. You have to already understand enough context to know what they mean and at that point you should be able to interpret the command itself.
__david__
·2 miesiące temu·discuss
In addition to possible ignition through the sparks, it's apparently stored under high pressure, so you can't make a hole without completely compromising the structural integrity which is pretty much guaranteed to kill the driller.
__david__
·2 miesiące temu·discuss
is not bad for that. Not precise, but in the ballpark.
__david__
·3 miesiące temu·discuss
That’s also not great if you’re trying to make a 10 gigabyte file. In that case, use bs=1M and count=SizeInMB.
__david__
·3 miesiące temu·discuss
I discovered long ago that psytrance/goa was perfect for me. It works almost as well as caffeine and I can work for hours and hours as long as it’s blaring.
__david__
·3 miesiące temu·discuss
> But from a UX standpoint its a nonstarter

Disagree. The UX would be pretty similar. Click a mailto link which opens the email client with to, subject and body precomposed. Click send. Server receives mail and the web page continues/finishes the sign up process. No need for an email reply. It’s different, but it’s not crazy.
__david__
·3 miesiące temu·discuss
> how do you "be careful" with spoofed email?

You actually verify DKIM and SPF—you know, that “dmarc stuff”. That’s enough to tell you the mail is not spoofed.
__david__
·3 miesiące temu·discuss
Isn’t that just the way old school Perl/ruby/php web apps from 20 years ago did things but with a fancy name?
__david__
·3 miesiące temu·discuss
My cats actually love their cat tree. I’ve had to replace it because they clawed through the scratching post legs (all the way through the cardboard underneath the sisal rope).

Knowing that they love rectangles explains a lot too. They love every Amazon box that arrives, the folded hand towel in the bathroom, the top of my pc mini tower (rectangular and warm). Though they get off the tower when I’m playing a game since the gpu heats up so much and the exhaust fans blow out the top—it just gets too hot for them. I made a “cat catcher for my bed—a single hand towel folded in half lying on the otherwise featureless comforter. There’s almost always a cat there when I wake up in the morning.

This desk might actually work for me since one of my cats loves to sleep right under my office chair, dangerously close to the wheels. He’s got real long hair and I find tufts of fur around the chair and feel absolutely horrible. Crazily I almost never notice when it happens, he doesn’t yelp! I finally ended up buying a small scratching post with a bed on top and set it under my desk. He instantly took to it, so no more running over the poor cat. As a bonus he’s now in petting reach so I can get my cat fix whenever I need (petting is a two way street).
__david__
·4 miesiące temu·discuss
Yes, but if the server you’re logging into only accepts keys then leaking its password isn’t nearly as bad. Though I guess if your local ssh client is compromised then your local private keys are also compromised so you’d be screwed anyway (unless you are using a yubikey type of thing—I should get me one of those).
__david__
·4 miesiące temu·discuss
Similarly, one of your nephews has a friend with parents that don’t lock their liquor cabinet, which means despite all the laws not allowing sales of alcohol to minors, they still have access to it.

I think what your sisters are doing is fine—they’re sending a signal to their kids that this stuff isn’t “good” and though they’ll undoubtedly encounter it in the world, they’re now going to be inherently biased a certain way. And that’s kinda the best you can hope for.
__david__
·6 miesięcy temu·discuss
Correct. Just ask the Silk Road guy…