Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Izkata
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
691.
▲
by
Izkata
1y ago
More than batching updates, what it advertised back when React was new, was the virtual dom's diffing with lightweight nodes - it finds what changed in the tree and only alters the heavyweight DOM nodes where necessary to get the end r
692.
▲
by
Izkata
1y ago
That's wrong, it's calling setAge immediately and not making a callback. You'll get an infinite render loop from that. It should be: const handleAgeChange = () => setAge((prevAge) => prevAge + 1); https:/&#
693.
▲
by
Izkata
1y ago
...yes, that's what a polyfill is: a javascript implementation of a new spec that's only applied when the current browser doesn't yet support the new spec. This lets devs start using it right away, then when it has enough sup
694.
▲
by
Izkata
1y ago
That's an en dash, not an em dash. An em dash is longer and as far as I know Libreoffice doesn't have a built-in way to make one (though you may have added it to the autocorrect settings yourself). en dash: https://www
695.
▲
by
Izkata
1y ago
> I mean if you really need super strong isolation, you can always create a copy of the library object; metaprogramming, dynamic classes, etc, all make it really easy to even, say, create a duplicate class object with references to the o
696.
▲
by
Izkata
1y ago
> How much you rely on an LLM won't necessarily change the quality or speed of what you produce. I wouldn't say that, everything I've seen at work indicates the quality will change downwards.
697.
▲
by
Izkata
1y ago
> We’re in the era of boot camps. I think bootcamp era was a decade ago and we're past it now. Not long ago I saw something on here about how a lot of them are closing down and attendance is dropping for the ones still open - likel
698.
▲
by
Izkata
1y ago
Monkey-patching is altering the code at runtime, not the source code, so from the "alternative to forking and modifying" part it doesn't sound like an alternative to that. Edit: okay Readme is clear on it and the description
699.
▲
by
Izkata
1y ago
I don't know how consistent this is across shells, but at least in bash putting a space before the command keeps it out of the history: $ ONE=1 $ TWO=2 $ echo $ONE $TWO 1 2 $ history | tail -n 4 2002 clear 2003 ONE
700.
▲
by
Izkata
1y ago
Depends on the location. My grocery store has had self checkout for a decade or so and I'd say more than half of people use it.
701.
▲
by
Izkata
1y ago
My best guess is they meant the email contents (the "natural at first glance"), but it has several grammar mistakes that make it look ESL and not AI.
702.
▲
by
Izkata
1y ago
Not if the file is in the shared /tmp/
703.
▲
by
Izkata
1y ago
Also in Ilinois, the state tax form starts with "enter line __ from your federal form" so you don't have to redo stuff. Dunno if others do that.
704.
▲
by
Izkata
1y ago
There used to be, they got rid of it around a decade ago. I think I remember the reasoning was the 1040 was simplified at the same time. Edit: Yep, 2017 was the last year the 1040ez was around, and the regular 1040 went from 74 lines that
705.
▲
by
Izkata
1y ago
With the way these conversations often go back and forth, I sometimes wonder how many people have actually done their own taxes by hand with the official forms, vs have only ever used some program or service.
706.
▲
by
Izkata
1y ago
> I've even tried no syntax highlighting! I got started with Notepad on Windows, did that for almost a decade before switching to Linux and learning how to use vim. Definitely prefer the rainbow highlighting to going back to anythin
707.
▲
by
Izkata
1y ago
Likewise I feel like it only became "the common understanding" due to pushing within the past decade. Before that "the common understanding" was what people are only now calling "source available" - which I don
708.
▲
by
Izkata
1y ago
Compiz is the name everyone remembers, but the Beryl fork was what had all the excessive effects. When the projects merged back together into Compiz Fusion they dropped like 60-70% of the functionality, and then dropped even more when it wa
709.
▲
by
Izkata
1y ago
As a native speaker, for a very long time I didn't understand why "its" existed, and saw "it's" as parallel to "aredox's" - apostophe-s being either ownership or contraction depending on context
710.
▲
by
Izkata
1y ago
If the cause of the crash is in any way related to the persisted data, there's a good chance you're now stuck in a crashloop. If it can avoid crashing, other functionality may continue to work fine.
711.
▲
by
Izkata
1y ago
It's a sci-fi thing, think of it along the lines of "What do you mean Skynet has gone rogue? Can't you just turn it off?" (I think something along these lines was actually in the Terminator 3 movie, the one where Skyn
712.
▲
by
Izkata
1y ago
Why bother searching yourself? This is pre-LLM: https://github.com/drathier/stack-overflow-import
713.
▲
by
Izkata
1y ago
To phrase this another way, using old terms: We seem to be approaching the uncanny valley for LLMs, at which point the market overall will probably hit the trough of disillusionment.
714.
▲
by
Izkata
1y ago
> Git doesn't make rebasing a chain or tree of commits pleasant. There's a semi-recent addition that makes it a single command, the --update-refs flag to rebase (along with the --rebase-merges flag, formerly called --preserve-m
715.
▲
by
Izkata
1y ago
Which is why I always make sure to show that graph to co-workers new to git (we have a lot of code still on svn): git log --graph --oneline --decorate --all -100 I keep it as an alias, but it is annoying that seeing the whole structu
716.
▲
by
Izkata
1y ago
> But the killer feature for me is the `-x` argument. It allows calling another command on the individual search result, which `find` can also do with `xargs` and co. But `fd` provide a very nice placeholder syntax[0], which remove the n
717.
▲
by
Izkata
1y ago
> Think putting wood PNGs as backgrounds for app elements or adding brushed aluminium textures on sliders, things like those look pretty dated to me now. This was a late 90s/early 2000s thing. I remember it on some Win98 and XP appl
718.
▲
by
Izkata
1y ago
> I don't remember when the term javascript was even really used in regular vernacular 2004 or 2005. Gmail and Google Maps were a "holy crap this is actually possible?" for a lot of people, both technical and non, and was
719.
▲
by
Izkata
1y ago
"Bits of HTML" was for a long time so common and normal it has its own term: HTML fragments.
720.
▲
by
Izkata
1y ago
I hadn't heard of her either before today, I'm basing that on what people have said here - all good for sure, but unrelated to those criteria.
More ›