Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Izkata
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
661.
▲
by
Izkata
1y ago
Ranked choice is such a stupid system. It's gameable and complicated and confusing to most people. Approval voting has all the benefits ranked choice claims to have, but without the complexity - it's trivial for people to understa
662.
▲
by
Izkata
1y ago
Good point, I agree Mamdani's soft-on-crime policies are bad. Really wouldn't want to go back to the era you're describing.
663.
▲
by
Izkata
1y ago
Part of Mamdani's plan is to increase taxes on white neighborhoods, which could be used to offset cost and make it seem cheaper.
664.
▲
by
Izkata
1y ago
Unfortunately there is a Spaceballs 2 set for release in 2027 and it doesn't look like they're going with that name.
665.
▲
by
Izkata
1y ago
No, I'm with GP: Most of the time I'd just get errors and retries that don't work, even years before Elon. I also never had an account there and assumed it had something to do with that.
666.
▲
by
Izkata
1y ago
We have VB deployments that haven't been changed at all in about that long. Finally got approval to do a rewrite last year, which is python 3.6 due to other dependencies we can't upgrade yet. It got this bad because the whole thin
667.
▲
by
Izkata
1y ago
> or code formatting changes (heh heh heh heh) which make it extremely difficult to see what you changed... One of the "individual commits saved me" cases was when one of these introduced a bug. They tried to cut the number of
668.
▲
by
Izkata
1y ago
> 2. It makes it easier for people to use the history for analysis, which is especially important when you may not be able to speak directly to the original author. I've been on a maintenance team for ~5 years and this has saved me
669.
▲
by
Izkata
1y ago
Important addendum to 4 that can throw someone their first time - Put the new test in a new file and don't commit it to the repo yet. You don't want it to disappear or conflict with old versions of the test file when bisect check
670.
▲
by
Izkata
1y ago
That ruling wasn't based on race, it was based on a whole bunch of factors (including: high amount of illegal immigrants in the area in question, jobs and locations that attract illegal immigrants due to not needing paperwork, etc). It
671.
▲
by
Izkata
1y ago
I recently discovered our frontend widget library draws an SVG to implement Radio instead of using <input type="radio">. I was looking at it because they forgot to add a "disabled" attribute. Best case I'm hop
672.
▲
by
Izkata
1y ago
> If you chose to violate the social contract anything goes. Sounds like they never agreed to your version of this "contract", so they're not violating anything, you're just making excuses. (A social contract is not t
673.
▲
by
Izkata
1y ago
That feels like bad luck to me. I've had a Dell, two Asus, and a ThinkPad over the past decade or so, and except for hibernate with the Dell, everything has just worked out out the box with no tinkering.
674.
▲
by
Izkata
1y ago
Scroll up a bit, we at least have a first-person claim: https://news.ycombinator.com/item?id=45741064
675.
▲
by
Izkata
1y ago
That's only the case where a usable generic core already exists. A great example where it didn't exist is python's "requests" library: https://requests.readthedocs.io/en/latest/ The exam
676.
▲
by
Izkata
1y ago
Applying it to the wrong module, a very common mistake in python due to how imports work.
677.
▲
by
Izkata
1y ago
I would call those badly-written tests. The current date/time exists outside the system and ought to be acceptable for mocks, and in python we have things like freezegun that make it easy to control without the usual pitfalls of mocks.
678.
▲
by
Izkata
1y ago
Kinda hints most people haven't used a good ORM, or if they have maybe just don't understand how it really works. Django looks similar to this and would have the same misunderstanding (User.objects.all()), except it actually retur
679.
▲
by
Izkata
1y ago
> Take the tax calculation for example. That cannot be decomposed into pieces that are generic, and potentially reusable elsewhere. It's just a list of rules and exceptions that need to be implemented as stated. You can decompose it
680.
▲
by
Izkata
1y ago
They're not asking "how does this work?", they're asking "how is this secure?". The answer is, it's not. This is terrible code and should never be written like this - the check can be bypassed client side,
681.
▲
by
Izkata
1y ago
Being "invested in a show" is using "invested" in a slightly different sense than monetary investments. It's not hoping for a payoff later, it means the show has already caught your attention and you actively want t
682.
▲
by
Izkata
1y ago
Yeah, one of the other cousin comments mentions 36 inches away. I don't think they realize just how far outliers they are. Of course you have to make everything huge when your screen is so much further away than normal.
683.
▲
by
Izkata
1y ago
On the flipside, HN is the only site I don't have to zoom out of to keep it comfortable. Most sit at 90% with a rare few at 80%. 16px is just massive.
684.
▲
by
Izkata
1y ago
A tip, you can put the hash in a regular youtube URL to get the full interface instead of the limited shorts one: https://www.youtube.com/watch?v=D1dv39-ekBM
685.
▲
by
Izkata
1y ago
We use json columns to store raw data that comes from API responses or structured files. Anything from there we actually use gets copied out into its own strongly-typed column, but the json column remains as a type of logging/tracking
686.
▲
by
Izkata
1y ago
It's a HN convention for all posts: If it wasn't from within the past year or so, the year it was posted gets added to the title. Having to think about it per-topic is just making it more complicated for no good reason. Especiall
687.
▲
by
Izkata
1y ago
Yeah, it's a lot more complicated than that and has to do with a mix of typing speed and other things (like moving the cursor and focusing in/out of the input). But single character is also always wrong because then it doesn&#x
688.
▲
by
Izkata
1y ago
The one that acts the same as the rest of the system. React isn't replacing the input element, so you get native behavior by default.
689.
▲
by
Izkata
1y ago
If doesn't even use a Backbone model, the main thing that framework was known for. IIRC that's even where the name came from - it was designed to be the core of the site's functionality, the models acting as a bridge between
690.
▲
by
Izkata
1y ago
> The main thing to know about Backbone is it’s not intended to be a fully fledged framework like React. Neither is React. The built-in state management was meant for concerns relevant to only that component, not your entire app's s
More ›