Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
deckard1
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
361.
▲
by
deckard1
5y ago
On some level it makes sense. The problem with the command line is familiarity. How often do you reach for iptables? If you're like myself, and most home/desktop users, then probably once in a blue moon to set it up and then you l
362.
▲
by
deckard1
5y ago
I have coworkers on Mac that write node/JS code. Every once in awhile I'd pull down the latest code and it wouldn't run. I'm on Linux. Sure enough, they had SomeFile and were importing Somefile and it works fine on Mac b
363.
▲
by
deckard1
5y ago
JS land is a total shitshow, that's a given. But this sort of thing happens quite often outside NPM as well. If you're an author of a popular web browser extension then you've probably received emails from random shady people
364.
▲
by
deckard1
5y ago
yep. A place I worked at was doing the outsourcing thing back in 2010. They had almost immediate regret when they realized the skills of the developers did not meet their expectations and local law prevented the company from firing them wit
365.
▲
by
deckard1
5y ago
Obviously. This is not some technical marvel we're talking about. Google already tells you how to verify the site visitor is Googlebot[1], practically telling the world how to do cloaking. Google employees know Quora, Pinterest, etc. a
366.
▲
by
deckard1
5y ago
Why not a virtual machine? I've been doing that for nearly a decade now. Back when it was actually sort of painful. Now we have 32+ gigs of RAM and 8 core CPUs. You get snapshots and if your drive image is small enough you can toss it
367.
▲
by
deckard1
5y ago
https://web.archive.org/web/20121228052131/http://www.kymala... tl;dr: no. Never tried the first, but I still have my Odyssey^2 with nearly all the games. Only games I remember playing are Breakout and A
368.
▲
by
deckard1
5y ago
If I understand correct, you're wondering how you might match "a bro do" with "a brown dog" or "a brown door", etc. Similar to what Google does. I've done this before. It's not a single data stru
369.
▲
by
deckard1
5y ago
Scheme reports lag, though. They usually codify what existing Scheme compiler/interpreters are already doing. I know I've seen plenty of Scheme code in the wild using square brackets interchangeably long before R6RS came out. You
370.
▲
by
deckard1
5y ago
how about the MAAAN. Because that's who we work for and who is keeping us all in line. Same as it ever was.
371.
▲
by
deckard1
5y ago
I don't see it either. The context switch between being in the zone/flow and writing the exact code I'm thinking of to suddenly reviewing blocks of foreign and quite possibly wrong code seems like a net negative value propo
372.
▲
by
deckard1
5y ago
hooks in general are a huge footgun. You need to place them at the preamble of your function (and not nested). They have to be named with "use" prefix (worth mentioning is React basically commandeered the entire "use" na
373.
▲
by
deckard1
5y ago
The death from a thousand papercuts. I'm not terribly convinced with memoization though. You're using extra memory, so it's not free optimization. We have Redux memoized selectors everywhere. I can't help but wonder how
374.
▲
by
deckard1
5y ago
I'm fairly certain that your Macbook is actually hibernating, and not merely suspending. This seems to be the case with my 2015 Macbook. Suspend alone will drain your battery. I have a Ryzen ThinkPad p14s with Linux. What you do is tur
375.
▲
by
deckard1
5y ago
efficiency and fragility seem to go together (see our current global container shipping fiasco and our just-in-time production world) The life at the deepest points of the ocean also seem quite fragile. Also, "canary in the coal mine&q
376.
▲
by
deckard1
5y ago
> swap out the commit What's the method for doing this? Does a "git push" replace objects with identical hashes on the remote? Or a "git pull" replace identical hashes on the local repo? I suspect finding a hash
377.
▲
by
deckard1
5y ago
I think we've all known this since 1968. When HAL refused to open the pod bay doors for Dave.
378.
▲
by
deckard1
5y ago
I actually did not downvote you anywhere in this thread. > I have useRef and useEffect all over my codebases, I have never used useCallback though useEffect has the caveat that it won't update with useRef. On the initial mount you w
379.
▲
by
deckard1
5y ago
> why I would have anything to do with "useRef with useEffect and useCallback". I've never encountered any issue with these things. The fact that you are asking and haven't hit the issue suggests you haven't actu
380.
▲
by
deckard1
5y ago
> They’re called “function components,” not “functional” They've been calling them functional components forever. https://github.com/facebook/react/blob/main/packages/react/i... I'
381.
▲
by
deckard1
5y ago
> weird step into "magic" for a library that has been a pretty damn thin layer on top of JS I mean, hooks are totally this. They fundamentally break the concept of a "function" despite calling them "functional co
382.
▲
by
deckard1
5y ago
> not about who has the most stars on GitHub? It's the Instagram-ification of the open source world. All of the feedback and social signaling mechanisms are there. Likes, stars, followers, and charts of "contributions". It
383.
▲
by
deckard1
5y ago
I imagine this would just turn into everyone inserting 10 second pauses on the tests that fail. Which works, but now your suite doubles the run time. Actually turning nondeterministic tests into deterministic ones is... hard. Really hard in
384.
▲
by
deckard1
5y ago
> you can't say end-to-end tests are not worth it You can, actually. But here's the thing: I've never seen an honest debate on E2E within an org. When your manager comes to you and says your team is going to start doing E2
385.
▲
by
deckard1
5y ago
wonder how well this really works. Some comments I see (not speaking of this thread per se, but in general on HN) are really close to conveying internal company information. Which is beyond mere opinion and only available to someone insid
386.
▲
by
deckard1
5y ago
> Anecdote != data Thank you Captain Obvious. > And unlike the other folders, if you lose this one you lose the whole system Yeah, that's how encryption works. > but bit flips for any reason Way to move the goalposts. Your typ
387.
▲
by
deckard1
5y ago
Never had a problem with LUKS over a decade of usage. In fact, I'm actually having the opposite issue: I have a drive that is failing and LUKS is still able to decrypt it by some miracle. > Also, it's slow. Modern CPUs have AES
388.
▲
by
deckard1
5y ago
you're only going to write to the USB drive when you upgrade your kernel. all these worries are completely overblown. I've been using USB boot method for close to 10 years now. It's just another folder/mountpoint to back
389.
▲
by
deckard1
5y ago
> LUKS leaves encryption metadata unencrypted. You can detach the header and store it on a USB drive, and boot from the USB drive. No one will know you're using LUKS at that point.
390.
▲
by
deckard1
5y ago
> so that you can handle things like BIOS configuration fully remotely. Yeah, the important distinction here is that these devices somewhat fulfill the role of a standalone IPMI[1] device. IPMI is typically built into server motherboard
More ›