skysight-inc/HackerNews huggingface dataset:
Wars have always been horrifying. This war is no exception. The only difference now vs then is that the general public has Internet & social media. The terrors are now 100 times magnified.

In truth this war is not special in any way. It isn't even the first war of this century (Afghanistan, Yemen, Iraq, Syria, Palestine etc). Perhaps the horrors seem more real now because it's at Europe's doorstep but the rest of the world never really experienced peace.

So when I read something like this I am sickened by the one-sided biased view as if the rest of the world hasn't been waging war amongst themselves, as if Russia broke a century long peace. Look at the state of all the war-stricken cities and you'll see the consequences. Why did no one say "We need to talk" then?
The other side, according to Ghosn, wasn't the Japanese legal system -- it was other Nissan executives that weaponized the Japanese legal system against a foreigner. Still, I agree it's very much a case of infighting among the privileged.
The best way to do this is best described in the thesis that Eelco Dolstra wrote describing Nix. I suggest you read that.

tl;dr: Clear the environment, know where all of the system headers are, control the build environment of the dependencies. Basically, knowing dependencies means controlling them.

But to expand on that, an interpreter could do some basic checking like:

* Does the command reference a path that the build system doesn't know about?

* Does the build system know where the executable is for the command, and is it well-known?

Things like that.

It won't be perfect, but it would be better. And it can get better with time.
This is great. Thanks. It looks like this really shines for moving the cursor around: every important location in the code has a unique name. I wonder if I could port that functionality to emacs. It would take the place of avy (ace jump).
They probably weren't in primary schooling in the last 11 years. They were probably taught the food pyramid over my plate, and disagreed with it.
I love what you’re trying to accomplish here! I encourage you to experiment aggressively and try to focus on testing the biggest risks, rather than prioritizing the easiest things to make progress on but whose success or failure won’t impact your overall odds of achieving your goal.

One thing which I’ve noticed in your response to other comments is that your plan for controlling bad behavior by participants in your system often boils down to either having a strong culture means no one will behave poorly, or that voting and crowd consensus is an effective system for both motivating good behavior and punishing bad behavior. This probably works fine as long as (1) the community is very small such that everyone actually knows everyone else, or (2) there isn’t much actually at stake. You reference Stack Overflow and Wikipedia - these are examples where not much is at stake. If accumulating points and reputation in either of these systems would determine who gets tenure and the culmination of lifelong career ambitions, then I wonder if those systems would be as robust to bad actors. A white-hot risk I think you should focus on to experiment is that peer-reviewed academic science is not a friendly collegial system but an aggressive and high-stakes game where people have very very big incentive to game the system. The current system has tons of problems, but it does function in the face of participants who would like to cheat if they could. The big influential editors and reviewers act like a leviathan in the Hobbesian sense which causes many problems but also solves many.

I encourage you to think about how you could solve some of these potential issues that the current system doesn’t have so much, particularly around preventing various forms of bad behavior which are easily caught and punished in a more hierarchical system like the current one, but which a more crowd-sourced system might fall prey to. Things like collusion rings to upvote each others’ papers, using lay popularity or scientific fame to overwhelm legitimate complaints about issues with a paper, even bot nets or paying to win by farming upvotes - all things which current journals and peer review are basically immune to. People will try this with their careers and livelihoods on the line in a way Wikipedia editors or Stack Overflow users just wouldn’t care to.

These issues can be overcome, but for what it’s worth I think this is the hardest part of what you’re trying to accomplish, and more important for you to focus on than the tech stack or getting a first few papers published on your setup. It will be hard to simulate, but I think you should focus on how to test the behavior of a scientist who is desperate and has their back against the wall in the publish or perish game, and how you can design to reward good behavior and prevent bad behavior in the worst case, not just in the best case or even the average case.

Very cool effort. If you pull this off the positive externalities could be huge.
How to Take Better Notes
I have done this kind of cycling 20 years ago (a lot) over many years and never used sunscreen at first, but my skin is such I should. I did wear tee shirts as opposed to cycling shirts, seemed they blocked the sun on your back better.

If you sweat, I doubt sunscreen on arms/legs will do much for you. I would suggest you put it on your nose (a lot) and some on you cheeks, keep away from your eyes. Of course were you live makes a big difference, I live by the 45th parallel north.

The only places I got burned was on my nose and face area at that time, never had issues with my arms of legs.
You are correct. I meant Columns. If you clear a column it the whole puzzle should shift left.
Abandoning trade with China will hurt us, certainly. But unless the Xi regime is overtly suicidal, that's all that will happen, and we'll eventually get over it.

As for cyberattacks from China, those can only do so much, and in any case they can be mitigated by cutting the fiber. OTOH, shooting down GPS sats will lead to war. They know better than that. I hope.
This is one of those quests that one undertakes solely for the sake of doing it.
This is what I do:

Zero caffeinated drinks. See a sleep doctor at least once a year.

Night routine:
Ear plugs.
Night eye mask.
Mouth guard.
zzzquil If I do not feel sleepy by designates sleep time.
I budget 9h for sleep.
Ask HN: What laptop/Computer do you use currently?
All of those options are true, but you forgot the forced confessions. 30 days detention before charging is long enough for the bruises to heal. On the other hand, they prosecute far less crime across all categories than in the United States.

The staff of prosecutors is much smaller in Japan, so it likely means they mostly prosecute the winnable cases. In contrast in the US, a district attorney might choose to prosecute cases which make themself more electable.
Leaving aside whether Catholics, Jews, and Muslims have "vastly different" worldviews or religious beliefs, a question like that still has meaning in the West, where religion is increasingly under attack. I think it's already the case that the practical difference between adhering to a normatively conservative religion versus not is greater and more important than the differences among such religions.
Technically Google wants you on Chrome.
I stopped smoking weed. This made me tired earlier, causing me to sleep better. It was crazy because I tricked my mind for years it was the weed that made me sleep, while in fact it was the opposite. I also stopped drinking coffee after dinner as I used to do and go out more on (long) walks. This all in all made me feel a lot better and brighter.
If there weren't black market epubs, would that be one component to market forces doing their thing for high-quality content?

Related example, on a different factor: yesterday, I paid $51 for a nonfiction non-DRM .epub form of a book that was also available for $27 in ereader-specific DRM form. Had I instead pirated the book, that wouldn't have contributed to publisher incentive to offer non-DRM form, but that presumably would've contributed to the publisher wanting hard DRM lockdown.

(Or, I suppose, might've contributed to the publisher focusing on other factors than high quality, such as large volume, to bring it back to the earlier question?)
Can a severely intellectually disabled person learn calculus? It’s clear that not everyone has the same cognitive capabilities or potential. This is obvious. Your response is what I alluded to with my remark comparing talking about this topic to burning a Koran in Mecca. People get too emotional and throw out reason and logic.
Now There's a Crowdsourced Website That Tracks Car-Dealer Markups
"I created Papers, Please in 2013 specifically for desktop computers with mouse control. Now, here, in 2022, desktop computers no longer exist and all computing is done via handheld mobile telephone."

No . Desktop and mobile are 2 different ecosystems. The users have desktops; those who are used, have mobile; those who are kings, have both.
Nixlang is so alien that I've used NixOS for 2 years and still don't get it.

Nickel looks much prettier than Nixlang, but it carries over a feature that still confuses me about Nixlang: variable declaration. Perhaps you can shed light on why it is the way it is.

Why does it need to be of the format "let x = 5 in whatever(x);"? Why not, like Rust/F#/etc, allow the syntax "let x = 5; whatever(x)", i.e., allow the definition to stay in scope for the remainder of current block?
My favorite is SICP.

https://mitpress.mit.edu/sites/default/files/sicp/full-text/...
https://web.mit.edu/6.001/6.037/sicp.pdf

It's worth noting the book comes up on most top-10 CS books and sells exceptionally well. It's been translated into countless languages.

Convincing MIT Press was apparently hard the first time, but after the book sold like hotcakes, future books were easy.

https://mitpress.mit.edu/sites/default/files/titles/content/...
For many years now I have had a rule to downvote on sight any post that complains about something being “overrated”. 99% of the time it’s a cheap criticism, insubstantial and impossible to rebut.

“Formulaic” feel like it lives in a similar bucket. They’re kissing cousins, at least.
Sounds like it was just using the heap to badly imitate returning variable-length data on the stack under a callee-preserved calling convention. (Callee writes the variable-length data inside their own stack frame, pops the stack frame in the function epilogue, and “leaks” the pointer and size of the data in caller-expected return registers. Caller uses the dangling data — carefully not pushing to the stack until it has finished. Everything works out.)
Mysterious holes on the seafloor
There are two genders: "man" and "political" /s
> we don’t even have the capability to fabricate at the most advanced nodes.

I'm not sure that's entirely true. If we define "most advanced nodes" as 5nm-class fabrication, certainly Intel is doing that well now, just not in volume production. Intel 4 based Meteor Lake powered on and runs Windows as of earlier this year.

No capability to build and not ready for volume manufacturing aren't really the same class of problem.
This was a great read, thanks for posting. Would like to see similar quality article for solution to similar problems using genetic algorithms.
It makes you wonder how hard it would be for someone in the US to do the same... Let's imagine a hypothetical situation where a prominent wealthy person was indicted for some random federal crime, say 18 U.S.C. § 372 or 2384, etc. I'd bet they wouldn't need to hide in a box to flee to a country without an extradition agreement, like Russia for example.

One would hope we'd be able to prevent something like that, but it's a big country.
Thank you! Looks like I'll be buying a second copy :)
Ghosn "the victim" is my favorite part of this post.
Only when fishing. Only hands and nose, sometimes neck. 50 factor child sunscreen from local supermarket.
This has got to possibly be the worst link / article out there on it
Is there an implementation where ‘then’ is added to Object.prototype as:

function(f, ...preargs) { return f(...preargs, this) }

And then you can use it to pipeline sync and async things together? It’s still kinda bad and seems pretty crazy though. Some obvious issues are:

- the preargs thing presumably doesn’t work for promises so you’d need to use bind.

- there’s no great way to specify ‘the function which is property foo of the object being operated on’ to e.g. map an array that is in a promise you can’t write .then(.map, …). But I think this is also a problem with other pipe implementations.
> Financial crimes deserve a financial penalty.

I'm not sure what you mean by it, can you please give an example?

For most people, money represents the time out of their lives it took to earn it.

If you steal $10 from someone, and they earned it from a job that pays $10/hour - you didn't steal $10, you stole an hour of their life.
I'm super-reluctant to go this way because it's often a bug factory. Once you are expecting the programmer to do manual GC and detect when a buffer can be reused you are losing some of the benefit. A lot of the time the answer should a better GC and a smarter compiler. I realize that in practice that's not always available.
Macs look like the future of PC gaming, whether PC gamers like it or not
Can you link that research please?
> Male with brown skin. How do I know if I have a sunburn? I guess redness, but for me it is hard to recognize in the mirror because of my skin color.

Redness is how other people would know. You would know either by the pain it causes or by the fact that when the sunburn heals, all the dead skin peels off.
This is great, thanks for sharing.

I'm currently using @arrows/composition https://caderek.github.io/arrows/packages/composition/#pipe because of the light way library approach, which you seem to share.

I also try fp-ts https://github.com/gcanti/fp-ts but is a bit an academic style, so difficult to introduce in everyday work. Implementation of pipe: https://gcanti.github.io/fp-ts/modules/function.ts.html#pipe

I still need to wrap my head on your use of generics, but yours looks more flexible than the static type approach that other libraries (include RxJS) implements, does your pipe support types for any length of arguments? Does require a specific version of TypeScript?

Nice work.
Isn't it pretty simple? Our brains release dopamine whenever we eat, and a lot of people lack the self-control to not overeat to get more hits.
Thanks for your response. I did chemistry and physics and uni (almost 30 years ago now) and I remember how complex some of the computer modelling that was done at the time was (even for very simple things - I think we looked at a model of what happened when a proton and a hydrogen atom came into close proximity).

Since then things have advanced hugely - both in biochem and in computing - and I was curious to see what might have been done. Also, hard science is fundamentally pattern recognition, isn't it: it requires that given the same inputs, the same output is consistently delivered.
> Does this suggest the manufacturer is using sub-par zinc screws instead of stainless steel?

No. It suggests people are removing the screws and leaving tool marks in the process.
AAPI is such a strange acronym. So lopsided with 5 billion Asians on one side and the 2 million Pacific Islanders on the other
Thanks for your examples. Made me think.

I wonder if the audience is the key angle for looking at this.

For example:

- HN is beautiful and elegant to my eyes. So simple. So clean.

Adding some counter-examples:

- Most luxury brands' cars are beautiful for people who crave elegant things

- Airbnb looks amazing to people who care about great interiors

I don’t know about your other example except for amazon, which is definitely ugly as f. But then again, it’s “just” a retailer for standard stuff, and I know a lot of brands with nice-looking things that don’t want to be listed there. Also, on their purely digital product, I dig their competitors much more, e.g. Netflix over Prime.
I think you are meaningfully contributing to the conversation, but you don’t get to drop a “[citation needed]” and then proceed to state your un-cited opinions.
People with alcohol problems will often say "yeah, but I'm not an alcoholic", as if there's some magic line that you can cross that suddenly means it's bad for you, and if you have one drink less you're fine, when really that line starts at the first drink.

This is one of the reasons, people are moving away from the term, and using "unhealthy alcohol use" as a term for the condition, and also “a person with an alcohol use disorder” or “a person with a drug use disorder" rather than alcoholic or addict.
https://xkcd.com/859/
If you disable the dialog to turn on video, and the host “sends a request to turn video on”, the participant will be forced to turn their video on initially when joining a meeting and have to manually disable it.

Anyway, the Zoom example is the least important part of my comment. I can’t trust any of those settings, because Zoom might change the defaults or overwrite what I have. I can trust tape, though. Tape won’t betray me for the sake of engagement metrics.
The wealth of jazz on the Ed Sullivan Show
Yes, they're still so prevalent in Italy and Italian-descendant cultures that I thought they'd be self-explanatory since they come to me so naturally. The one on the cover of the book for example, is literally just a question mark, with all of the various connotations a question mark might have (even as a single sentence by itself "?"), and is used so often I can't believe other cultures don't have any hand gesture for it nor adopted it.
Upwards and palm facing outwards was also common as an insult, but "cornuto" has become obsolete as am offense.

We don't even say it to football referees anymore!
That's a lot of words in those links. What falsifiable predictions does this make?
Yes on my face and hands so I don't look like a raisin when I'm 50.
SBC is practically transparent at these bitrates anyway, or at least on the level of other 320kbps codecs. The differences are so inaudible that even listening tests have a hard time telling the different codecs apart. http://soundexpert.org/encoders-320-kbps https://habr.com/en/post/456182/

These talks about replacement, higher-bitrate codecs always have always been very dubious.
From what I've read, I suspect both those things are true: lots of crimes go unprosecuted, as well as the police having godlike powers.

But - FWIW - prosecutors in the US tend to have win rates north of 90% as well. 98% is excessively high, yes, but we're talking single digit percentages compared to a country with comparatively more crime.
> explicit constructors and destructors in C

Exactly, and that’s the right way to do it. In a language without implicit destructors/finalizers, you need a way for callers to say “okay, I’m done with this thing.” And even with GC, you need finalizers to take care of non-memory resources. This may be clunky in C, but that’s what you get in a language that makes you be explicit.
Does HDMI audio work out of the box on FreeBSD? I am using Linux on my laptop and HDMI audio sounds crackly. I googled this and apparently this is a common problem. (https://www.google.com/search?q=linux+hdmi+audio+crackling). I tried to fix it (following this research) but gave up after a while.

When I had Windows on this laptop, the audio over HDMI worked beautifully.
part of playing at that level of media is talking up the product, if he didn't say these things people's jobs and livelihoods would be effected, and essentially he would probably end up the next Alan Moore and there would less money coming in. So I expect he says the things that would alleviate people's fears, assuming he thinks it is not a total shit show, and then hopefully more than half of the people who see it will think that was good and that's good enough.

all that said I like to imagine Neil Gaiman asked why he finally adapted The Sandman would snort like Frito in Idiocracy and reply I like money.
Yeah, great. But can it run Doom?! ;)
I haven't noticed a difference to be honest.
Is there a measure of when the sun is behind the “horizon” (tall mountains) so it’s not directly visible but is still producing a lot of daylight? Maybe length of dusk or something
$100k job for 10 years, or $200k for 5 years.
I'm going to guess that a bunch of people don't like the choice for Death. But the thing about Death is that she's such the archetype that from then until now you could never move at a goth club for all the women who are sure they're Death. Like, try announcing from the DJ booth, "Has anybody lost a silver ankh?" and watch like two dozen women glance down between their boobs to check theirs is still hanging around their neck.

In the comic book you can just draw a goth chick, and a million women say "That's me" and you move on. But if you actually cast any of the women who'd like to think that's them it's not going to make anybody happy. She ceases to be "Everyman" well, every-goth-chick and becomes a specific individual.

So I think you probably specifically don't want to cast Death for resemblance to that image, much more than his other siblings. Actually I'd be tempted to cast Brad Pitt, and be like yeah what? But Brad is a bit old and a bit expensive, and that involves rewriting some stuff, so, sure, Kirby Howell-Baptiste, why not? Personally I think Brad's accent would have thrown me off more than Kirby not having pasty white skin.
In the short story series “the egg” by Andy Weir there is a similar breakthrough that leads to a zombie apocalypse:)
> Do you believe violent crimes require a violent penalty?

It’s certainly a common belief, imprisoning someone is inherently a violent penalty.
Leaked Data Show China’s Population Is Shrinking Fast
I am outdoors for 6-7 hours on most workdays and I never use sunscreen. I get burned once or twice in May and then I start to tan. The only time I use sunscreen at all is on my nose if I burned it badly the day prior (my nose is the only place I get sunburn after starting to tan).

That all said, the UV index here is usually 7-9 in the summer months, and I assume it is higher in California.
You might be thinking about a different book? Hacker's Delight is mostly about bit fiddling (counting bits, finding the longest string of 1-bits, multiplication and division, Gray code, CRC, the famous approximate reciprocal square root) and such.
> a literal luxury to have enough time and mental space to think for more than a few minutes

Yet I observe people reaching for their phone-distractor device when confronted with a moment of free time.
From the top of my head, I've seen:

piano-like single hand keyboards

https://en.wikipedia.org/wiki/Chorded_keyboard

light-pen, pen-to-text
foot pedals
keyboards with two wheels
text-to-speech (os native)
gloves and 2D mocap-like cam capture of sign language
Neuralink.com
space and time are, I believe, more easy to achieve in a comic book where you will often reread a page multiple times in looking at the pictures.
I prefer to wear long clothing, but I do use sunscreen often. I stick to zinc oxide (at the advice of a dermatologist) even though the pastey whiteness is a bit off putting.
> teenagers won’t appreciate

I’m middle-aged, read a lot, but Moby Duck is just about chasing a whale to me. I just don’t recognise the metaphors and deeper meanings, unless somebody with a word rotator mind explains it (or I read the Cliff’s notes - which I didn’t get either).
It will be if China invades Taiwan. They will not be able to keep the TSMC facility in business for very long, assuming it survives the attack to begin with.

Where life will get interesting is in South Korea, at the Samsung fab. They will have the only 3-nm process in the world if TSMC goes away.