Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
teo_zero
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
42 ms
·
721.
▲
by
teo_zero
3y ago
Do you perhaps mean that there was no white king?
722.
▲
by
teo_zero
3y ago
I rhink the concept is: in the initial position you have three kings: in a1, e1 and h1. Once the left rook is moved, it will be encoded as rook and not as a king anymore. Same for the right one. If you move the king, both rooks will be enco
723.
▲
by
teo_zero
3y ago
> The biggest missing feature here [...] is the in-app browser and the comments' section. Clicking on any story would trigger the external default browser to view the page. Actually I like it more this way! Triggering my default bro
724.
▲
by
teo_zero
3y ago
Thanks for the explanation. It makes perfectly sense.
725.
▲
by
teo_zero
3y ago
Am I the only one to find the simulation deviate from the description starting from Simulation 8? For example, I see a farmer with 7 food, 7 water and 7 wood, buying water. According to the description, their QoL would be 7 both before and
726.
▲
by
teo_zero
3y ago
The DICE compiler is not mentioned, but I fell in love with it! I wish current OSes had some of the features Amiga had. Hot patching of all syscalls was powerful, if although dangerous by today's standards. Thanks to ARexx every appli
727.
▲
by
teo_zero
3y ago
I know that these programs are only for didactic purposes and my comment may seem nitpicking, but I can't help noticing that the age comparison of the two versions differ semantically: AWK version uses greater-or-equal, but Python uses
728.
▲
by
teo_zero
3y ago
Right, I missed that one, probably considered it a cosmetic feature!
729.
▲
by
teo_zero
3y ago
> return 1 to the caller to indicate we did make an update. This (both in awk and python code) seems useless, as the return value from update() is not used anyhere. Am I missing something obvious?
730.
▲
by
teo_zero
3y ago
The problem is that the $SOMETHING syntax is just too common if your site is a technical one, and you'll end up substituting too much.
731.
▲
by
teo_zero
3y ago
Not to mention eavesdrop risk.
732.
▲
by
teo_zero
3y ago
> the. worst. wires. Always getting tangled Had the same issue before discovering flat cables (if you don't know what I mean, they look like linguine, not spaghetti).
733.
▲
by
teo_zero
3y ago
I must be missing your point. Isn't Apt the one clear right way to install on Debian derivatives?
734.
▲
by
teo_zero
3y ago
Sorry, but we face this every single day, with every single industrial food that include extra ingredients (e.g. preservatives) wrt to old granny's classic recipe and we don't call it "consumer deceit". It would be a fra
735.
▲
by
teo_zero
3y ago
Ok, the MIT license can backfire and damage the author. But it doesn't damage those who receive the software. So why do you resent Microsoft releasing their own software with the MIT license? They expose themselves to the risk that so
736.
▲
by
teo_zero
3y ago
But that's exactly the criticism: that C++ used the word const for something different from its theoretical meaning, something that could have been better expressed with the word immutable.
737.
▲
by
teo_zero
3y ago
Surely you mean minutes, not seconds. And it's off by 10 hours.
738.
▲
by
teo_zero
3y ago
Nicely played on the double meaning of "save". Couldn't be done in every language.
739.
▲
by
teo_zero
3y ago
In other words, the result they got is different from the expected one. The keyword here is "expected": if your code contains a part that generates undefined behavior accordingto the standard, then you should have no expectations.
740.
▲
by
teo_zero
3y ago
Just as a broken clock shows the correct time twice a day, you can use this syntax to input hexadecimal numbers less than 0A.
741.
▲
by
teo_zero
3y ago
In fact, it was missed for some months only, the construction being completed by the end of 2011 and the first rumors circulating in May 2013. The title makes it look like an event of a historical relevance, but it's not.
742.
▲
by
teo_zero
3y ago
You may have a broader scenario in mind, but my experience is limited to languages like Rust and C where the type is linked to an object the moment that object is declared for the first time, and can't be changed later. These languages
743.
▲
by
teo_zero
3y ago
I always read the colon as separating a term (introduced for the first time) and its definition. Just compare the characters list in literature: Hercule Poirot: an investigator Linnet Doyle: a rich heiress ... with the list of vari
744.
▲
by
teo_zero
3y ago
Am I the only one lost at the very first paragraph? It shows something that looks like a grammar, but I can't understand what "Num", "Int", "If" are... Are they literals? terms? types? And what does "
745.
▲
by
teo_zero
3y ago
Not to mention the initrd, another filesystem that need to be mounted and must be kept aligned with the rest. I've long switched to compiling my kernel including all needed modules and the EFI stub. I don't have initrd or bootload
746.
▲
by
teo_zero
3y ago
Nice project. However it makes writing in some languages merely possible but not easy. For example Portuguese uses a lot of ã and õ, which are only available via dead keys. If I have to use dead keys anyway, then I'd rather use a Compo
747.
▲
by
teo_zero
3y ago
Alas, it's not only about learning new spots. I never use any of the super useful motions with [ and { in Vi simply because they're only accessible via AltGr in my national layout.
748.
▲
by
teo_zero
3y ago
I don't understand the first one: :%s/\w\+/\=submatch(0)+1/g | echo line('$') It doesn't seem to work -- except it says "xxx substitutions", so you can assume it found exactly xxx words.
749.
▲
by
teo_zero
3y ago
I don't understand if you agree or disagree with me. When you say that you have written things to encode user input so that no "bad" characters (among which I assume you include CR) end up in the filename, you seem to agree t
750.
▲
by
teo_zero
3y ago
On the other hand, not splitting words at spaces during variable expansion would make impossible things like: OPTS="-a -b -c" foo $OPTS
More ›