skysight-inc/HackerNews huggingface dataset:
I found out this paper while I was checking out Postgres source code [1]. This is used for generating hash table of postgres keywords, where the hash function is produced on compile time (?) and used in that hash table - if I got everything right.

[1] https://github.com/postgres/postgres/blob/master/src/tools/P...
There's about 6.5 billion people (and that number is growing!) in developing countries.

You're safe for at least 50 years.
> An ant mill was first described in 1921 by William Beebe, who observed a mill 1200 ft (~370 m) in circumference. It took each ant 2.5 hours to make one revolution.

I’m pretty sure I could also get stuck in a loop in a forest if the circular trail is 370m in circumference, let alone the human-sized equivalent of it (which, assuming a human walks at 3 mph, would be 7.5 miles or 12 kilometers)
The RFID tags are on a sticker, you can see it on the back when you take it off.
With DOS, there are lots of reasons you'd NEED to run an ancient OS on ancient hardware. Of course emulation provides some more options...

With Linux, you can just keep your ancient programs and hardware running on modern systems.
How secure are journalists’ favorite transcription tools?
There is actually a movie [1] about driving across the St. Lawrence River, for smuggling people.

Fun fact: I caused this to be shown at our Thursday Movie Night at Google. It turned out that on our DVD setup, everything looked black and you couldn't see anything. I took a lot of shit for that one.

[1] https://www.imdb.com/title/tt0978759/?ref_=fn_al_tt_1
> Also, the article mentions you need nitrile gloves to protect yourself from it.

I don't see that. With respect to an OSHA bulletin, the article says:

The bulletin also urged that, aside from wearing a face shield, anyone working with dimethylmercury should wear Silver Shield laminate gloves beneath abrasion-resistant outer gloves.

The mention of nitrile gloves is in a more general context:

Sugden points out that, when dealing with toxic substances, labs have shifted from latex gloves to nitrile gloves, [...]
Will point to some experiences open source users have had on this journey

https://medium.com/hacking-talent/production-code-for-data-s...

https://medium.com/google-cloud/migrate-kedro-pipeline-on-ve...
In general, yes. Those specific cases have much more difficult solutions than getting a few shots
It's not like Shell would make a carbon capture plant for nefarious purposes. They wouldn't set up a carbon capture plant just to accelerate global warming.
I set up a SLIP (later replaced by PPP) gateway on a 386SX running Slackware, connected to a 14K4 modem back in 1993. It served as our company's main internet gateway until late 1995.

The title of this post really had me do a double-take. "Of course Linux can run on a 486, it's fine on a 386". Just need the right version.
Thank you for the comment!
I think I should look into some complementary resources in parallel to SICP after having read your insight :)
This is probably a horrible strategy, but…

If I ever do an on-site interview again, I’ve given thought to just bringing in a six pack of beer. If I get any bullshit questions, I break out the beer and say “how about we pretend that I did a good job on this question and talk shop about what you really need here, because that’s what I’d like to talk about.”
Thank you! My ideas are definitely greatly influenced by my time in the Lisp world. Here's the first time I articulated them, back in 2011 (so before the first entry in OP): http://arclanguage.org/item?id=13263.

> in Lisp land, we have quicklisp, so you point to a library dependency like normal and it downloads it locally elsewhere (so it only need be downloaded once and not for each project). When I'm writing a program using library X, and I'm curious how some function works, I can just jump-to-source and it'll take me to that local copy. If I want to change it, I can, I just edit it, and because Lisp has "compile", "compile-file", and "load" all as standard runtime functions, not separate programs, I can compile and load my changes into the running program and immediately test them. Maybe such changes are upstreamable, maybe not. You can maintain the changes in the original files, maybe going so far as a full source copy locally instead of using the ones quicklisp brought down, or just make your own local 'patch' file of redefined functions or extended classes that you load after loading the original and the patch simply recompiles and replaces things you've changed.

Is there an easy/idiomatic way to save your edits, or do they get blown away the next time you download the library? All my comments are in the context of not having tooling for this sort of thing. I wouldn't be surprised to learn the Gods at Common Lisp figured all this out years ago. (In which case, why is the whole asdf fracas happening?!)
I get real nervous about posting personal retrocomputing projects here to be honest :)

I just spent most of my free time in the last week trying to get the Rust compiler to run on a K6-2/500. Had a bunch of trouble because one of the newer x86 extensions (CET) chose opcodes which decode as NOPs, and therefore are considered safe to include in binaries for older processors. Unfortunately, they're only NOPs on i686 or newer, and the K6s are i586 processors. It was mind-numbing because even if you explicitly tell the compiler to output/optimize for a K6-2 or Pentium (-march=k6-2 or -march=pentium) it's still outputting the CET opcodes. You have to pass -fcf-protection=none for them to go away. Super annoying.

Benchmarking it was pretty funny, because compiling one of my personal Rust projects is about 500 times slower than my TR 1950X desktop. Compiles in 7.5 seconds on the Threadripper but takes 67 minutes on the K6-2/500. So much progress in 18 years (K6-2/500 in 1999 -> TR 1950X (4 GHz) in 2017).
>If you're minimizing challenge for your software engineers, you're making worse engineers over time

Or you're solving your current problems in the most efficient means possible, e.g. engineering. Minimizing one challenge frees mental processing power to worry about bigger issues. I couldn't care less how the memory paging in my OS works. I care about building features that users find valuable.
I love how it looks! Can't wait for the website to be up again so that I can experience it first-hand ;)
>A 60/40 Japan equities/bonds portfolio would have ben fine:

these days 60/40 is considered pretty conservative. in this environment holding to bonds means you're losing out to inflation.
Your guess is correct. The American homeownership rate is 65%.

https://fred.stlouisfed.org/series/RHORUSQ156N
Perfect? Perfectly what? How much good am I doing?

I don't know that you're talking about, sorry.
You sound like me. I took the same path including the dry herb approach. It eliminates the vast majority of the health downside, and meanwhile your new addiction has some genuinely productive side effects if you find the right strand etc. Compared to alcohol which slowly kills you and causes horrible decision making.

I run out of productive energy around 2-3pm and the herb brings me right back! It virtually doubled my productive hour range. Its better not to take anything but as far as baby steps go this switch was a massive win.
A Ponzi scheme based on a Ponzi scheme.

It’s turtles all the way down.
I guess one could distinguish between “code formatter” and “code style linter” and declare that anything that doesn’t affect the resulting binary (“doesn’t matter” in your definition) has to be in the former. But I don’t think I’d want such a strict division of tools. I think formatting does matter.

Sounds like maybe rubocop needs “-east-coast” and “-west-coast” presets. :)
You can if you want. Pick a board, a chip set, read the manual and get cracking.

The Intel manual is only what, 2200 pages?

I bet you could bootstrap an operating system, compiler, tool chain, and basic tools in a few years. And maybe in ten or twenty years you could have your new development environment up so you can start publishing software for all you new users.

I think the reason it sticks around is because of network effects like platform exclusivity, ecosystem, etc.
Okay, but why is the government subsidizing this? That just encourages increasing the volume of production that increases emissions over time. Instead we need to progressively ramp up taxes on fossil fuels to drive down demand over time.
Can you elaborate on this comment? Based on your comments elsewhere I think we're likely to be largely in agreement.

I tend to have a love/hate relationship with Conway's Law, spending half my time thinking about how to design stuff assuming it, and half my time trying to design stuff (unsuccessfully) to make it go away.
This is really neat. I've thought about doing something similar, but feared that this is enough information to deduce where one lives. Kudos to the author for not only making this, but also publishing it
It might be plausible to assume that someone exploiting ESP or whatever to beat the house could keep the secret of how they're winning. But it's a lot less plausible to postulate that they could keep secret the fact that they are beating the house or beating the market, unless the effect size is too small to be of much interest in the first place (ie. you have to largely abandon part of the original hypothesis: that the crazy phenomenon actually works).
Not many others from him on his issues with work conditions (there were others from other people about Amazon). He actually contradicts himself. This is him describing alleged intimidation after he because active in the union (emphasis added):

> Everyone else working around me was working at their own pace and he was just on me sending me more carts to sort and telling me to work faster

One reason he gave for joining the union was "the warehouse’s extremely rapid pace of work."
you are giving to much credit to google. I dont use chrome neither google browser and it still shows me people getting mad at computers
Maybe civilization is an organism - with it’s DNA written in culture, that will hopefully reach out across the universe one day.
Well this certainly makes me glad that the only time I was having to do statistical studies for research purposes, it was in the context of generated code performance.
This person was helping Facebook make money while the news was filled with stories about them manipulating democracy, enabling genocide and ruining people's mental health. That's cool they were working on tools that weren't directly related on a small team, but the money all funnels to the top and enables this stuff. They knew full well from all the news unless they were completely burying their head in the sand.

So no ethical responsibility? I strongly disagree. They could've quit at any time and found dozens of jobs elsewhere with a resume like that. Judging by the post they did after nearly a decade, and only because purely selfish reasons. I was maybe a bit harsh, but come on..
So the new employer can employ them through a third party agency, right? And create said agency if needed.
back up, but expect some 500 errors
>Operations of thought are like cavalry charges in a battle — they are strictly limited in number, they require fresh horses, and must only be made at decisive moments.

I love this analogy. People who aren't accustomed to doing long form, extended, in-depth thought about a single problem don't seem to understand this. That your attention and mental effort is a finite resource, that can be frivolously wasted or put to good use. It requires real concerted effort, and it isn't easy. Thus, why most people never really think about anything.
Just because a phenomenon can't be industrialized doesn't mean it doesn't exist; you can't industrialize lyric poetry, for example.
Do you find any issues with Rust that bothers you, as a former C++ developer?
I'm still in my C++ days, but I avoid reinterpret_cast, as well as RTTI and C++ exceptions. Looking forward trying out Rust.
You can do so for law enforcement in some ways or at least historically could.

https://en.wikipedia.org/wiki/Posse_comitatus
... if it were used as a carbon sink.

But that cellulose "waste" part of the corn is a feedstock for other industries. Keeping those inputs constant means growing more of some other crop and increasing net nitrogen usage. Producing nitrogen fertilizer takes energy, currently from fossil fuels.
Made this Amazon product ideas search engine: https://amalytics.com

Not sure where to take it next as there’s well funded competition and conversions/revenue have plateaued…
Ask HN: Recommended MOOC courses for CS/Mathy SWE taking a year+ off
I am going to be taking a year+ off after 16 years of being a SWE. I am looking for a some very well done and interesting online classes, just for my own enjoyment and growth. I have been interested in more of the mathy parts of CS, algorithms, theory of computation, discrete math, graph theory, game theory, and behavioral economics. More recently, I've done a lot of applied machine learning at work and have an MS in CS with a focus in ML. Within or adjacent to these interests, I'd just like to take some good classes.
This is like selling 10 dollar bills for 9 dollars.
Yes. 300K where? 300K in LA? So, very roughly 150K in Dallas. Great. Not ridiculous. Also, if they get paid "magnitudes" more why do they stay and not just a couple years and set sail for the beaches?
I like having a drink or two to wind down after a taxing day with the kids. But the logistics of actually “going out” is certainly much harder.
300K where?
Because hedge funds don't beat the market for more than a year or two at a time, no one does. It's all a scam. Nothing beats just holding index funds.
I know, what I said applies to courts / rulings as well. Unfortunately capitalism has been allowed to run amok so much that our entire society here is capitalist controlled. Hence why the judge has ruled so that the capitalists can have their cake (they know the peasants can't not work, as they own no capital).

Every time something goes wrong in capitalism, folks like to claim socialism or communism. This is literally capitalism.
Involution is one word sometimes used for this kind of thing, e.g.:

https://www.sixthtone.com/news/1006391/how-one-obscure-word-...
They don’t think along this axis at all, I’m afraid. They try to maximize profits while having more compliance checkboxes checked than their competition does.

Good/bad for planet is more of a marketing sort of issue.
haha yeah that's a good idea, something to add in the future for sure
This argument has the structure of a conspiracy theory: "A small group of people being able to keep an enormous secret, in order to manipulate the rest of us."

The more enormous the secret and the larger the group of people who supposedly are in on it, the more the probability of the secret not being a secret very long approaches one.

I find it very unlikely that a shortcut to making a lot of money would be secret for very long.
Haha wow I was way off, 4.4M is pretty mind boggling, exactly the data I was looking for thanks for sharing!

Though I still stand by the rest of what I said. And funny you should mention netflix after what happened to their stock last week :)
Damn. Comments are turned off. I was really looking forward to reading those.
> Correct code is rarely hard to make faster.

You rarely want to be spending time fiddling with the optimizer. Your code shouldn't rely on the optimizer to be efficient: don't use constructs whose semantics mean you are making a copy in places where you don't want a copy.

reintrepret_cast is hard to use correctly, but you only have to get it right once, and it has the right semantics, so no compiler changes will suddenly make it wrong or slow. memcpy and bit_cast have the wrong semantics, so they may change for unexpected reasons. In fact, it would be perfectly reasonable for a future version of the compiler to never optimize away the copy implied by memcpy and bit_cast.
What are you waiting for..Start something of your own.
In the years that I've read him I noticed this is something that happens from time to time with Scott Siskinds (see 3 if you take offense to me using his name) texts, especially when he steps out of his zone of competence to opine on politics, science in general, AI etc. The simple, obvious answer that the establishment believes in is met with some snarky ridicule and on goes the article, with some very subtle rhetoric veiled in the irony ("rigour doesn't matter, all scientists have biases, you can't trust rigorous science if the wrong people do it" is the message behind [quote] Studies are going to be confounded by the allegiance of the researcher. When researchers who don’t believe something discover it, that’s when it’s worth looking into. [/quote] ).

I often wondered why this is, because he seems like a very smart guy with interesting ideas sometimes, so it seemed kind of weird and conflicting.

Then I learned he's trying to hide his beliefs about scientific racism and political views (1) while often writing in the tone of "pained centrist just wanting to understand things scientifically" and it made much more sense as (in the worst case) an old school propaganda technique of FUD in science and rigorous science to make the HBD go down better and (more charitably) as Mr. Siskind just being another bright-but-human person who when writing on things he has actual expertise on can be very well worth reading, but simply shouldn't be trusted on anything aside from this. Rationalwiki has a decent writeup on him (2)

1: https://web.archive.org/web/20210217195335/https://twitter.c...

2: https://rationalwiki.org/wiki/Scott_Alexander

3: https://news.ycombinator.com/item?id=25874025
One of the best things to happen to C++ discussions was people starting to write godbolt links for their code. Immediately the code being discussed becomes code somebody actually compiled and maybe tried running and not just "oh, ignore the fact it's syntactically invalid - you know what I meant". No we don't.

You can obviously write a godbolt link for Rust too, but Rust's playground is also a reasonable choice.

I think that code maybe makes more sense with a turbofish for each parse call and type inference, but maybe that's just a matter of taste. If the author had used godbolt or playground or whatever they'd have written code that compiles and we'd not be guessing.
I'm not familiar enough with early medieval military history to know the ins and outs of this debate, but theory seems obviously falsified by the fact that chariot technology in other time periods did not result in such a feudal system.
The True-Crime “Podcast Junkie” Turned Real-Life Murder Suspect
> "Old Macs are big-endian, just as network processors from NXP. Some Power developers still want big-endian systems to keep the dream alive. But support for big-endian systems is mostly gone from Linux distributions, and when it comes to developing common utilities or even programming languages, most developers are no more even aware that a world exists outside of little-endian. As much as I love the PowerPC laptop project, I see it now as a dead end: producing hardware for an ever shrinking software ecosystem."

Note that PowerPC itself is bi-endian and always has been since the PPC601, configurable via a special register. POWER gained this capability in POWER3 when it subsumed the PowerPC ISA. Old PowerPC Macs are explicitly big-endian because they needed to maintain compatibility with everything written for the earlier MC680x0-based Macs whose CPUs were big-endian-only. Windows NT ran on PowerPC in little-endian mode!

https://www.cs.umd.edu/~meesh/cmsc411/website/projects/outer...

https://catfox.life/2018/11/03/clearing-confusion-regarding-...
I admire Harold as well. Too bad that his brothers insisted on taking part in the battle and fell too. Either of them could have become a new king of England, continuing the hostilities against the Normans.

IIRC the Norman cavalry played a decisive role in routing the fyrd at least, but it has been some years since I looked into that as well, so my memory may be faulty.

Harold might or might not have caught an arrow in his eye. There is a great deal of symbolism in that narrative, because an arrow in an eye would be a divine punishment for oathbreakers, and William insisted that Harold previously took an oath on holy relics to be his liege.

So it is not impossible that the detail about the arrow in eye is a latter embellishment to make the story more righteous from the Norman side.
This is adorable. A little broken on my iPhone 8, but that’s to be expected; it’s meant to emulate a desktop experience.
Unlike 2008 where people were over-extended and buying up investment properties, this price increase is caused by an overall shortage of housing. The demand is there as are the people willing to pay the prices. I don't think we're going to see an implosion anytime soon.
> The beauty of computers is that information is not tied to any physical manifestation.

I wonder, can you articulate any reasons why this might actually be harmful?

Neil Postman: Five Things We Need to Know About Technological Change: https://student.cs.uwaterloo.ca/~cs492/papers/neil-postman--...
> Steve Cohen probably has psychic powers.

What about his track record cannot be adequately explained by mundane insider trading?

Edit: Puzzled by the downvotes. I think it's entirely fair to ask whether Cohen is enough of an outlier that it requires a psychic explanation, even after accounting for the degree of success that can be reasonably attributed to luck and non-psychic skill (effects which other hedge fund managers are also subject to) plus the insider trading he's been involved in (which other hedge fund managers are not necessarily subject to).

In a world with a finite number of hedge fund managers, there is always going to be somebody who is the most successful out of the bunch, and that somebody is almost certainly going to appear to be an outlier even without a supernatural influence on their success. So before attributing anything to psychic powers, we first have to establish whether he's too successful to be accounted for by the non-psychic explanations. I genuinely don't know enough about Steve Cohen's track record to know whether he's that much of an outlier, and I'd appreciate some real information about the degree of his success rather than just downvoting.
Video Pong clone, built from discrete semiconductors
Government should do both: tax carbon and use it to pay for pilot projects and moonshots that could be valuable in the fight against AGW.
>The idea that projects should take source copies instead of library dependencies is just kind of nuts, at least for large libraries.

There's a medium to be found between static linking and dynamic dependencies which I think is one of the most crucial tradeoffs to understand in software engineering. NPM in my opinion goes a bit too far on the modularization of things. Especially in large projects where you can have multiple private repo URLs and different auth tokens needed for each, it can become a nightmare to orchestrate for CI/CD. Something that takes an NPM approach, but with a more fleshed out stdlib to eliminate things like left-pad is probably the way to go.
I cope by having interests and hobbies that are not related to SWE. I have thought about what it would be like to work in one of those areas, and I always conclude that making money in tech is much easier, more comfortable, and requires less effort. So I use it to find my other interests.
You don't have to use exceptions and other operators with side effects if you don't want to.
You can have a pure FP experience with fable and F#.
The OP was just mentioning that these escape hatches are available if you need them.