Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Izkata
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
751.
▲
by
Izkata
1y ago
I also remember seeing something a few years ago that this stat has always floated around 20-30%. It was in the context of reporting that living paycheck to paycheck "has reached 30%", but that the reporting never included histor
752.
▲
by
Izkata
1y ago
That's why GP mentioned the Accept header, the client can choose at runtime which one it wants.
753.
▲
by
Izkata
1y ago
I once had a co-worker admit he wasn't always sure which code ran on the server and which in the browser, in a PHP/javascript app that didn't use nodejs.
754.
▲
by
Izkata
1y ago
> some of which were more popular and lost (jQuery, Backbone) Don't forget about having a migration path. I don't know how common it was (or how messy it might be, I never did this myself), but before Redux became popular, peo
755.
▲
by
Izkata
1y ago
> One of the biggest criticisms at the time (And perhaps still now) was that it wasn't opinionated at all. It didn't make assumptions as to how to do routing, or to fetch data, or to handle state. The community eventually conve
756.
▲
by
Izkata
1y ago
> React calling them "just functions" is untrue I'm pretty sure this is also untrue. AFAIK React has never used that phrase (and at the very least, I can't find it anywhere official right now), it came from other peo
757.
▲
by
Izkata
1y ago
Hooks can call other hooks, and all the built-in hooks rely on setState at the bottom. setState is state for the individual component. It keeps track of state across multiple calls with an indexed array - the first call is index 0, second
758.
▲
by
Izkata
1y ago
Are you sure it inserts an em-dash? Libreoffice will insert an en-dash, but not an em-dash.
759.
▲
by
Izkata
1y ago
Patch up? Had our junior dev working on a case actually ran the code in the merge request and looked at the result, it would have been obviously broken and unusable. Like not even wrong value, it would have spewed a bunch of HTML into the
760.
▲
by
Izkata
1y ago
> I’ve heard, many times going back 20+ years, “they should just mine the border”. Kilmeade’s comment about just killing homeless people who wouldn’t accept aid (who cares why they don’t, I guess)? I’ve heard it, that’s not new, what’s n
761.
▲
by
Izkata
1y ago
Not really, we saw this decades ago: https://en.wikipedia.org/w/index.php?title=ELIZA_effect
762.
▲
by
Izkata
1y ago
Lockfiles use exact hashes, not versions/version ranges. Javascript projects use two files, a package file with version ranges (used when upgrading) and a lockfile with the exact version (used in general when installing in an existing
763.
▲
by
Izkata
1y ago
> 1. If a democrat is elected, they will take all their guns (their campaign rhetoric keeps saying this will happen, but it continues being no part of democratic presidential campaign messaging, and hasn’t happened the times they warned
764.
▲
by
Izkata
1y ago
Speaking of a different perspective, you and GP are describing it with different viewpoints and I'm not sure you're fully aware it is different: GP is describing the Model and View as two co-equal things with something in between
765.
▲
by
Izkata
1y ago
You're forgetting that for half the country that trust was destroyed years ago, and RFK actually being aware of and wanting to investigate evidence like this is restoring it.
766.
▲
by
Izkata
1y ago
That quote is saying the same thing as GP.
767.
▲
by
Izkata
1y ago
HomeAssistant supports a bunch of home automation systems, including local-only ones like ZWave and Zigbee*. A search for "zwave thermostat" comes up with a lot of results, though I couldn't say how difficult it might be to
768.
▲
by
Izkata
1y ago
Some of us never knew that world, even when we were going in every day for years.
769.
▲
by
Izkata
1y ago
I've heard that style too, with the addendum "in practice, not".
770.
▲
by
Izkata
1y ago
> Getting a 2% discount on everything Some years ago I looked what my bank offered and there were a lot of exceptions, it was very far from "everything". I think the math came out to saving like $100 total a year, not really w
771.
▲
by
Izkata
1y ago
It's a remnant from when physical card theft was the main concern: You're supposed to sign the back of the card when you first get it, then each time the receipt is signed the cashier is supposed to compare the signature on the r
772.
▲
by
Izkata
1y ago
> forced restarts that block navigation (wth!) From what I understand, this is because the OS package manager changed some of Firefox's files in a background update (Ubuntu does this through unattended-upgrades), and Firefox's
773.
▲
by
Izkata
1y ago
I think two dashes get turned into an en dash, not an em dash. Em dash is wider.
774.
▲
by
Izkata
1y ago
> Stack Overflow for example is in a steep decline, only a small fraction of questions are posted today compared to the peak. ...which might be beneficial. A problem they'd been trying to deal with for over a decade was the massive
775.
▲
by
Izkata
1y ago
The git commands are "create new branch at HEAD and switch to it", and the context of the thread above sounded like that's the functionality they wanted?
776.
▲
by
Izkata
1y ago
> Once the PR has been merged, I prefer it merged as a single squashed commit so it's reflective of the single atomic PR (because most of the intermediary commits have never actually mattered to debugging a bug caused by a PR). Whil
777.
▲
by
Izkata
1y ago
A couple of them seem more complicated, like the example further up on the page for postponing merge conflicts. In git I'd just abort the merge and do it later. I also found the exchange about named branches funny, that ends with: >
778.
▲
by
Izkata
1y ago
Also, apache ignores the content body and returns an empty string with several classes of error codes, so using 200 is the only reliable way when you want to get that custom error message to the user.
779.
▲
by
Izkata
1y ago
I keep a list of every time I change one of my work passwords with the date it would have expired, and it seems to fluctuate between 2.5 and 3.5 months with little consistency. Some of us used to have it locked so we didn't need to kee
780.
▲
by
Izkata
1y ago
Yeah, I'd define elegant as something like "unexpectedly simple and easy to understand", relative to the simple approach to the problem at hand.
More ›