Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Scarblac
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
691.
▲
by
Scarblac
3y ago
It's not really about whether it's legal, but whether it looks normal . Very bizarre positions can easily be legal, but they're hard to remember for everyone.
692.
▲
by
Scarblac
3y ago
Not all previous positions, only the ones with the same pieces, pawn positions, castling rights and en passant rights. But the standard, FEN, doesn't store that either. It's used more in the context of a full game than with indivi
693.
▲
by
Scarblac
3y ago
My lazy brain says "just take the FENs, remove the slashes etc that are just for human readability, and compress the result with Gzip or do. Bound to be smaller in practice."
694.
▲
by
Scarblac
3y ago
Storing a chess position in 26 bytes. Storing a game is also interesting. The number of legal moves varies depending on the position. You could try to define a variable length encoding by giving more likely moves a shorter encoding, but
695.
▲
by
Scarblac
3y ago
Once society and rule of law break down, a billionaire is just another guy who used to have a lot of property when that was a thing.
696.
▲
by
Scarblac
3y ago
It was bad for me too. But I assume that the next infection won't be nearly as bad, because of built up immune response, several vaccine injections, and current variants being much milder than the initial one.
697.
▲
by
Scarblac
3y ago
This flight plan was correct though, if there was some validation like that then it should have passed. The code that crashed had a bug, it couldn't deal with all valid data.
698.
▲
by
Scarblac
3y ago
Unfriendly states use social media to destabilise the US. It should be the role of the state to defend against that, not private companies.
699.
▲
by
Scarblac
3y ago
In Dutch the word order is a bit better: als achter vliegen vliegen vliegen, vliegen vliegen vliegen achterna.
700.
▲
by
Scarblac
3y ago
Thinking like that no infinite set can be countable, because "at any one point in time" you haven't completely enumerated it yet. That's not how thinking about infinite sets works.
701.
▲
by
Scarblac
3y ago
In particular that it's OK to directly call setState inside functional components was a surprise to me (when I read that some months ago), it does make things simpler.
702.
▲
by
Scarblac
3y ago
I'm 49 and started with the Commodore 64, and function based components with hooks are so much cleaner than the old class based components, it's unbelievable. The classes had closely related functionality spread out over several
703.
▲
by
Scarblac
3y ago
The chance of being caught would be far too low. Police have better things to do.
704.
▲
by
Scarblac
3y ago
It's also allowed to think up new jokes.
705.
▲
by
Scarblac
3y ago
Quitting hasn't changed in forever, just open a second terminal and killall vim.
706.
▲
by
Scarblac
3y ago
I just ssh to the server and edit the code there, I never understood why people need to have two whole environments that they keep in sync. (though seriously, in my dorm room in the 90s, my pentium 90 desktop at the end of my bed had a fixe
707.
▲
by
Scarblac
3y ago
React and Server Components are also normal, available tools.
708.
▲
by
Scarblac
3y ago
> I also am baffled by the return to server side rendering as the new thing. It’s like people forgot that’s how it used to be. People want that back, but they also like React, and their existing component libraries, and they want to gene
709.
▲
by
Scarblac
3y ago
We need to do that anyway, our customers call our application through our API. Building our web apps on top of the same ensures that they have the full functionality available, kind of eating our own dog food. (but yes, we have unusual cust
710.
▲
by
Scarblac
3y ago
> - You don't send the user code they don't need yet. If someone is viewing a page that doesn't have a widget, but you send them the code for the widget because you've bundled everything the site needs into one JS fil
711.
▲
by
Scarblac
3y ago
It's fine, it has all the books I read and it tracks my to read list. Why do people care about any social functions on it?
712.
▲
by
Scarblac
3y ago
It's not implausible if you consider that you're taking a rule that usually but not always works in the US and try to apply it to the whole world.
713.
▲
by
Scarblac
3y ago
So use the heuristics to set the initial value for the second field based on the first. Just let the user edit it as they wish.
714.
▲
by
Scarblac
3y ago
And maybe you don't need the full name. And don't limit it to Asia either, it's relevant everywhere.
715.
▲
by
Scarblac
3y ago
In my experience, the best you can hope for from retrospectives is small tweaks. The length of sprints, how standups should go, who writes what in tickets. But you can't change the process to be not-Scrum. Once a company has decided &q
716.
▲
by
Scarblac
3y ago
Scrum is a strictly defined process, it has Scrum Masters, Product Owners, certifications, books, a number of defined meetings, sprints... Sort of the opposite of agile. > Agile roughly says that if you find out that what you're doi
717.
▲
by
Scarblac
3y ago
I think it's Scrum that's a cult, agile works fine in the rare place that does it. But to me it just means trusting the devs, close cooperation within the team and with the customer, iterative development, continuously refining th
718.
▲
by
Scarblac
3y ago
Python got Numpy very early on, and other languages never got an equivalent. And then lots of things were built on top of Numpy - image processing, reading GIS raster data, scipy, pandas, etc etc - and they're all trivial to combine be
719.
▲
by
Scarblac
3y ago
As long as you also don't make losses, it's fine. Profit is a goal for investors, not of employees.
720.
▲
by
Scarblac
3y ago
They just get voted off the island, yes.
More ›