skysight-inc/HackerNews huggingface dataset:
My favorites when it comes to games:

- Final Fantasy VIII - https://www.youtube.com/watch?v=X6kAwpgW29M

- Castlevania SOTN - https://www.youtube.com/watch?v=0Ghd3tvsNAs

- Uplink - https://www.youtube.com/watch?v=QliQ0livbeQ

- Simutrans - https://www.youtube.com/watch?v=r9obpifVR40&list=PL8B83EB211...

I love using all of them as programming "playlists"! The entire FF franchise has great OST. I just prefer FF8 because it was the one I used to play on my childhood :)

Edit: Remembered some more great ones :)
chrome profiles is another solution for this
I'm left wondering the same thing, and increasingly frustrated that these kind of questions about HN's transparency never get answered
> Even if you’ll manage to accurately focus both lasers, another problem is interference between left and right channel lasers.

Would aiming the lasers at slightly different spots and putting the channels back together in software work?
Starry Messenger - Galileo

Very fun and readable. He's so excited to tell the world about what he's learned.
> Each of the languages above reports the string length as the number of code units that the string occupies. Python 3 strings have (guaranteed-valid) UTF-32 semantics, so the string occupies 5 code units. In UTF-32, each Unicode scalar value occupies one code unit. JavaScript (and Java) strings have (potentially-invalid) UTF-16 semantics, so the string occupies 7 code units. Rust strings are (guaranteed-valid) UTF-8, so the string occupies 17 code units. It is intentional that the phrasing for the Rust case differs from the phrasing for the Python and JavaScript cases. We’ll come to back to that later.

...And the OP is wrong.

1) python doesn't count byte sizes, or UTFxxx stuff. python counts the number of codepoints. Do you want byte-lenght? decode to a byte array and count them.
2) javascript doesn't know about bytes, nor characters, knows only about the fact that "a char is a 16 bit chunk", with a UTF16 encoding. there is no such thing a "code unit with UTF-16 semantics". Similar for java.

oh, and by the way, there are byte sequences that are invalid if decoded from utf-8, so I'm non sure about the "guaranteed-valid" utf-8 rust strings..
(if you want an encoding that can map each byte sequence to a character, there are, like Latin1 and such on, but it's a different matter)
Get a $8 chainmail scrubber and use only water to clean with. Cleaning my cast iron takes the same amount of time as my non sticks, with the exception that I take more care to dry it. Definitely an every day staple cooking utensil in our household.
Yes you can tokenize this with a regular expression and extract the valid start and end tags.

If comments in XHTML could nest you would have a problem. But this is not the case.
> either branch prediction and CPU pipelining

Not that far-fetched; the non-early-aborting loop can be branch-predicted perfectly by a smart enough CPU.
To me, those are the same things. Things you do to become a senior engineer /are/ the things you do when you're a senior engineer. You don't become a senior engineer without exhibiting some of the traits shown and you don't stay a senior engineer without doing most of those things.
I did say people should tell their friends, because I find being honest and straightforward to be more virtuous (and realistic) than being secretive. But I never called you a freak, and I certainly never said it was immoral to be attracted to friends. If I thought those things I would just say so.
For some reason HN changed the casing of my submission title - 'BASIC' got changed to 'Basic'.
I wouldn't ask them to read any existing stuff, because I'd want them to learn how to write some of that themselves.

Things like: Lexer, Parser, Expression Creator, Optimizer, Evaluator, Expression -> Machine Code Template Matcher, and Machine Code Generator.

Where commercial compilers do better than most grad student projects is the modularity, the number of optimizer passes and options, and the run-time tooling and modularity.

Unless a student implements these themselves, they'll be spending more time understanding the discrete implementations, with it's flaws/features more than the concepts itself, or the big picture.

Hence, in order to create better engineers overall, I'd recommend they do it all themselves initially.
Nobody is surprised about Foxconn breaking any kind of law. I worked with them directly at a customs agency's software department. During our 6 month integration project, Foxconn caused the resignation of one senior developer and one software specialist. They basically wanted to use our systems to store their private data and gradually demanded that we act like their entire ERP "OR NO DEAL". We ended up finally standing our ground and only did customs integrations and they built an actual IT team instead of using us as their own IT team.
Careful, std::bitset.count() doesn't use popcnt on msvc, only gcc and clang.
My toddler was also convinced that dinner was a hopeless disaster when, just after he sat in the high chair, the milk spilled.
It's a (thoughtful) list for the "senior engineer in 500+ heads company".

If you work for a small startup (where you'll be forced to be "senior engineer" if you like it or not), you'll have no "manager", "peers", "projects", "hiring", "mentoring", "networking", and so 95% of the list items immediately pop.
My 2012 tesla model s didn't seem to follow this. At 5 years old it had barely less capacity than original capacity. Est range went from 275 to 265. If you follow teslas, there are many (100s) of people with great than 100k of miles. The battery heating and cooling system was crucial. The leafs do suffer from serious problems. I wasn't aware they weren't charging up the battery. When speaking of evs, you really have to discuss two worlds, tesla and everyone else.
The Switch version at least is available on the Nintendo eShop on the Switch, fully approved by Nintendo (unlike the Ruby interpreter that shipped inside 'A Dark Room' on the eShop).
"Python 3’s approach is unambiguously the worst one"

No rationale for this seems to be included in the article.
Every major city I've ridden mass transit in does this. They're not called conductors though, they're called transit cops. They're also still woefully ineffective.
I know how it sounds coming from a stranger on the internet but you're doing yourself a disservice using seed/vegetable oils instead of butter.

Here[1]'s a visual and accompanying article that explains it in more detail. And here[2]'s a 5 minute video that does it in less.

[1] https://www.researchgate.net/figure/Repeatedly-heated-cookin...

[2] https://youtu.be/8aXTuBYb5-c
This is what I get on Python 3.6:

Python 3.6.8 (default, Dec 30 2018, 13:01:27)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.5.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: len("FACEPALM_EMOJI_DELETED_BY_HN")
Out[1]: 1
I recently learned from "The Vital Question" that lateral gene transfer is not just a thing that occasionally happens, but something bacteria do all the time by default.

Anyway, I think we're still talking an order or two of magnitude difference between DNA/RNA (and supporting infrastructure) and the point at which proto life 2.0 transitions from "background chemistry" to "bacteria food".

I've so far read in detail about only one hypothesis on abiogenesis (in aforementioned book), and there the necessary environmental conditions were since changed by very existence of life.
Stories that show up as '[flagged]' are flagged by members. There's no mystery or conspiracy here. Given the number of China and HK stories that appear on HN and the tendency for the comments to generate a lot of heat (as opposed to constructive light) and tread the same ground, I think it's likely that there are enough members to flag this story to get it tagged '[flagged]'.
Thanks for the warning. Fortunately, I'm using it with gcc.
I hope this gets improved in the October release. If not, please feel free to reach out over email (it’s in my HN profile).
Max:
The two cardinal rules of producing are one: Never put your own money in the show.

Leo:
And two?

Max:
[yelling] Never put your own money in the show!

[The Producers]
We share some favorites.

20000 leagues under the sea by Jules Verne was my introduction to science fiction and I also enjoyed Mysterious Island (which overlaps, but is less science fiction).

I had forgotten James Fenimore Cooper, and I have forgotten almost everything about the books, but yes, these were in the school library too and I read them.

(we had no TV when I grew up so I read a lot, mostly books in the styles mentioned above but also historical books and fiction from the WWII, but obviously none of these are over 100 years old.)

Also the Bible, it might not be highly regarded here, and I'm obviously biased, but as someone who reads other texts as well I think a number of people here could find parts of it interesting, especially contrasting it to what school and others might have told you. (Spoiler: besides the endless listings of who was who that most people will learn to skip, the full version is also a lot messier than what anyone working in school or wanting your money will tell you ; )
Have there been any other games besides Cargo-Not made and released with it?

I really really wanted to like Codea, but couldn't get my head around how you'd organize a big project with it. That and I find touchscreen keyboards terrible to code with.

EDIT: Found this forum thread for games and apps made with Codea, looks inspiring: https://codea.io/talk/discussion/1983/app-store-games-and-ap...
From what I've seen, there's some software that massages titles. If you can't edit it at this point, you can email the mods using the Contact link in the footer to request a correction.
Meditations by Marcus Aurelius has been mentioned 5 times in this thread so far. I endorse it as well. This book is the private diary of the Roman Emperor. He doesn’t say anything about politics or much about other people, just exhorting himself to do better and be better. This man walked the walk.
For internal docs, just like external (user-facing) ones, the key is for them to be focused around what the user needs. In this case, that means things like:

- overall architecture of the system, what lives where

- how it's meant to work, what the main interfaces to users are, and what users expect from them

- common tasks and troubleshooting, eg stuff that often goes wrong

One of the major problems with internal docs is keeping them up to date. So that brings the second key point which is minimalism: don't document everything. Stick to what is genuinely relevant and useful to developers on your project. It's a hard balance to find, but you have to be practical and recognise that if you write something you can't commit to maintaining, it may not be worth writing at all.
(it's still hard with user-facing docs, but at you have releases which you can use as a drive/reminder to update things)

Thirdly, structure really matters. If people can't find things in your docs then they become much less useful. Good information architecture is hard, though. I'm a tech writer and I honestly believe that most engineers can write decent docs, given a bit of training (eg I've given something like this and people have found it useful https://youtu.be/8TD-20Mb_7M) - but working out a clear structure is something that it helps to talk to someone with practise about. If that's not possible, look at products similar to yours and see what their high-level structure is - if it looks good, do something similar, and if it doesn't, that gives you something to avoid.
It depends what's the availability of replacements. For example if almost all pilots are employed, you won't get more pilots until they're trained. Paying more than another company just moves the problem temporarily, not solves it.

Similar to what happens with expensive cities which don't expand. The prices keep raising and there will still be people who can afford to pay for a long time... until the larger environment either changes or collapses.
Airbnb refuse a refund because “A fan legally constitutes an air conditioner”
$40 on eShop

https://www.nintendo.com/games/detail/fuze4-nintendo-switch/
Oh neat, it was 64bit!

I wonder if anyone has made an emulator for it yet?
I wouldn't be surprised if DMV employees walk into PI offices and do side deals (circumvent the official channel for a discount, and, for the money to flow to the employee directly).
When I worked on Amazon Redshift, one bug I fixed was that the coordinator and workers had different behaviors for string length for multi-byte UTF-8 characters.
Waterloo student housing has always been a mess. It doesn't help that the entire city has always been in denial of the fact that it is a university town.

When I lived there between 2000-2005, the city has pretty lousy regulations regarding student housing.
To the helpless, I suggest don't poke the bear.
Collected List of New JavaScript Features (ES6 and ES7 and ES8 and ES9 and ES10)
Thanks! How did you get it? Were you part of the research?

It's interesting to me how important the results are and how underreported this research is at the same time.
> The man in this photo, Artur Korneyev, has likely visited this area more than anyone else, and in doing so has been exposed to more radiation than almost anyone in history.

How has he managed to survive?
Hmm, these are some serious issues, and they should not be common at all. I hope you have reported them to our support team (support@todoist.com).
> How would that even work, anyway?

Think in terms of lines, not individuals. Mutations are acquired on individual level, so out of a whole family of bacteria, one individual may reproduce into something slightly different, while the rest of the family continue unchanged.

(Modulo fast mutation rate in bacteria, and modulo the wide use of horizontal gene transfer. The more I learn about bacteria and archaea, the more I feel there's little point in trying to find the tree of life.)
I'm not in a union, but I have threatened to, and have quit with a 6 figure salary because I was under paid for what I was doing.

Make me work 100 hour weeks and no one else can do my job and I'm not at least 200k? Yeah, I'm underpaid.

A 6 figure income isn't wealthy in most (US) markets you can get that. Live in New York, California, Washington or Illinois? A low 100k salary can mean living paycheck to paycheck or living with an insufferable commute.
https://vocore.io maybe?
I really like books written by Jules Verne. Those books were really ahead of its time. He was a prolific and best Sci-fi writer. I would like to mention few of his works like 20,000 leagues under the sea, journey to the center of earth and Around the World in Eighty Days.
https://en.wikipedia.org/wiki/Jules_Verne
that sounds like a downside of doing work for tech companies. i would certainly not want to be beholden to the whims you mentioned here. besides in some countries, not being able to switch out myself is part of the definition of employment.

what you describe here looks less like freelance consulting but more like staff augmentation for which large businesses exist.

i prefer to work on solutions, and neither people nor headcounts should matter.
Would polarization angle have enough signal to be useful ?
HN is influenced by CCP. Paul Graham is doing business in China. Any bad words about CCP will get censored.

https://news.ycombinator.com/item?id=17763426
All processes running on your computer can read the clipboard at any time. Many have plugin systems that expose clipboard contents to plugins.

Normally when you use a password manager you have to trust the password manager, the browser and the OS. By copying to clipboard you have to trust every piece of software you ever installed and every update they later got.
> python doesn't count byte sizes, or UTFxxx stuff. python counts the number of codepoints.

UTF32 and codepoints is an identity transformation.

> knows only about the fact that "a char is a 16 bit chunk", with a UTF16 encoding. there is no such thing a "code unit with UTF-16 semantics". Similar for java.

A UTF-16 code unit is 16 bits. The difference between "UTF16 encoding" and "UTF16 code units" is the latter makes no guarantee that the sequence of code units is actually validly encoded. Which is very much an issue in both Java and Javascript (and most languages which started from UCS2 and back-defined that as UTF-16): both languages expose and allow manipulation of raw code units and allow unpaired surrogates, and thus don't actually use UTF16 strings, however these strings are generally assumed to be and interpreted as UTF16.

Which I expect is what TFA means by "UTF-16 semantics".

> oh, and by the way, there are byte sequences that are invalid if decoded from utf-8, so I'm non sure about the "guaranteed-valid" utf-8 rust strings..

Your comment makes no sense. There are byte sequences which are not valid UTF-8. They are also not valid as part of a Rust string. Creating a non-UTF8 rust string is UB.
> For a long time, they didn't like irrationals, so anything involving those didn't count as mathematics.

Note that this is more or less a myth.

> Greek geometers knew they lived on a sphere, but spherical geometry was too unpleasant to contemplate until quite recently

Astronomers did a huge amount of sophisticated spherical geometry, from Mesopotamians through e.g. Hipparchus and later Ptolemy, then Arabs/Persians, Indians, medieval Europeans, right down to the present.
I am unsure what drag and drop you are referring to, but Todoist should have full support for this. E.g., you can drag a file and add it as a task on both our Mac and Windows apps.
Thanks, for the programming "playlists" :)
Paul Allen’s yacht “Octopus” is for sale
Not doable. Most azure services are not "compliant" for o365. Especially not in gov clouds. Exchange has its own totally separate backed which existed before azure. The port of wonderlist is to exchange.
I am not taking sides in this dispute, I am sure the pilots do have some valid grievances. However "the full value of their labor" cannot be realized without a) planes to fly, b) a system for taking reservations, assigning people to seats, and collecting revenue, c) a maintenance staff to keep the planes functioning and safe, d) flight scheduling, purchasing/leasing gates at hundreds of airports (many international), financing fuel purchases, and much, much more.

Obviously, flying planes is a valuable skill. But without the enormous support system that the airline itself provides, pilots would have little opportunity to realize that value.
what about international coops?

people working together in different countries.
> I'm routing for the pilots

Air Traffic Control are routing for the pilots; you are merely rooting for them! :-)
"So if proper mathematicians aren’t interested in a proof of the odd order theorem, what are they interested in?

Example: Perfectoid spaces.

(Topic) - Proof of odd order theorem - Perfectoid spaces

Got author a Fields Medal? - Yes (1970) - Yes (2018)

High level mathematics? - No - Yes

Lots of PhD students and post-docs working in the area? - No - Yes

Talks happening about these things all over the world? - No - Yes

Mathematicans interested in 2019? - No - Yes

Earlier this year, Patrick Massot, Johan Commelin and myself formalised the definition of a perfectoid space in Lean. I am getting invitations from across the EU to speak in mathematics departments about the work. Serious piece of research, or elaborate PR stunt? Maybe both."

They may be learning more than programming from their contacts in the computer department. Is always much easier to get something out there when it is fully buzzword compatible.
In Bangkok, between getting around between the trains, the bus, the river/canal boats, songteaws (pickups with bench seating in the bed), you have a number of cheap public options. In a pinch there's Grab motorbike taxis and general cabs, but a city being set up to mostly be walkable from transit hubs, means owning a car is completely optional--it would just help if it weren't seen as a status symbol. I noticed the same thing in Hanoi where people wanted to own cars because of status, which is disappointing.
Growth of the Soil, Knut Hamsun
I share many favorites with iBelieve (https://news.ycombinator.com/item?id=20914527) and others but here are some I also enjoy that I don't see mentioned yet:

- a lot of the viking stories (Soga om Eigil Skallagrimson etc)

- viking poetry, particularly Håvamål: a kind of a viking version of the Proverbs.

- old Norwegian fairytales (a number of them can be read in more than one way besides the obvious bed time stories for kids and others aren't for kids, but you'll recognize the topics from modern films as well.)
Does that mean Apple is building an exceptionally high number of devices for the Sept 10 keynote, anticipating high demand?
Sure, but those kinds of structural issues are the airline's problem. BA's pilots are underpaid if they are so in demand, and BA would have to pay a lot more to poach pilots from other airlines.
The argument for RISC was that the CPU was simpler but could be made much faster. That proved to be overly simplistic. Like the rest of computing it was solved with another layer of abstraction, where CISC processors break instructions into µ-ops.

It also turned out that memory latency would not scale so CISC can be thought of as an instruction stream compression mechanism. Specifically x86 decode is more or less a fixed size block but we have ever more transistors available.

Then RISC ended up adding in a bunch of the complexity it was supposedly going to avoid because in the real world we just need to make the damn thing fast, purity be damned. It didn't help that some architectures made really bad design decisions (hello branch delay slots). Also many RISC cpus have microcode and break down some instructions, though not nearly to the degree a classic CISC cpu does.

It's all very messy and all the armchair theorizing in the world turns out not to matter. What matters is taking the silicon and measuring your workload on it.
My absolute favorite numberphile video is how pi occurs in a peculiar way with Riemann Zeta/Mandelbrot. Maybe it only amazes me because I don’t have a PhD in math, but it just seemed so strange how pi shows up in this video.

https://youtu.be/d0vY0CKYhPY
> Someone was troubled enough to resign over this. Like, what the fuck, at his point, man?

People resign over things all the time. That isn't really evidence of much at all.

> Every single comment you have posted about this includes some blatant misrepresentation

You keep acting like you've made actual points, but you haven't. I'm happy to listen to your point of view, if you actually want to articulate one. You are calling out "misrepresentations". What do you think i've misrepresented?
Honestly I wouldn't even mind that, but they are making kindles worse as generations go by.

First they removed the page turn buttons, then they took a small step forward by releasing the Voyage which had pseudo-buttons (you could squeeze the sides of the device and it'd vibrate to give haptic feedback) so at least you didn't have to use a touch screen to turn pages, but then they released the Oasis which has a weird as hell non-symmetrical form factor which means you have to flip the device when you change the hand you are holding it with if you want to use the buttons.

Being able to push buttons on either side of the device to turn pages was one of the best "features" a kindle had over a conventional book for me. Not having it just feels like such a huge step back
My assumption here is that the Node implementation loads your code off disk during cold start using standard require(). Whereas the Go implementation requires loading a small wrapper (probably also in Node) which execs the Go process which then handles your request.

In my experience, GCP Functions Go cold start time is almost nil because they compile your code into the function entry point directly, so it's as quick as calling a function in process.