skysight-inc/HackerNews huggingface dataset:
Re recent - random sampling, but let's call tribute to https://en.wikipedia.org/wiki/L%C3%A1szl%C3%B3_Lov%C3%A1sz for getting the Abel prize.
I never used to quit vim either!
Quite interesting blog
Yes, sugar and stevia are equally artificial. Both are extracted from a plant with some industrial processing.
History of contamination on the site: https://en.wikipedia.org/wiki/Santa_Susana_Field_Laboratory#...
Git Under the Hood
Well taking the mean of products doesn’t make much sense anyway… but if you take a log and average then you end up with the typical solution. If you take a geometric mean then you end up with 1, which implies there’s no difference either.
Type violations mean the compiler doesn't know what code to generate. That would not apply to const violations, and likewise would not apply to borrow violations. Where in fact the borrow violation would result in a buggy program, the compiler has already issued its warning.

But all this is moot. It is clear that the overwhelming sentiment is that not even the tiniest change to make Rust easier for new people to adopt should find sensible consideration. Thus, Rust will see too little adoption to forestall fizzling, with the full approval of its most ardent fans. I will be sad to see that happen.
Uroboros: lightweight high-level scripting language for files automation
Luckily you don't typically compare numbers in Python with 'is'. In Java you should not compare Integer objects with '==' either of course, but '==' is typically used with numbers, and the auto-boxing features of Java makes it very easy to shoot your self in the foot with this stuff.

I once ran into a bug which had been there for years, since some Integer values had never crept over that magic limit, and auto-boxing allowed the numbers to be treated as int's all over, so it really took me some time to figure out what was going on...
> OP is more valuable than a toilet cleaner, or a starbucks barista

Not to kill your point, but those two are dramatically under-valued and under-appreciated jobs in most societies around the world. Every time you use a toilet (other than the one in your home) which is hopefully clean, somebody had cleaned it recently. Imagine they hadn't. You'd have a terrible day. Every time you go grab a good Starbucks coffee. Maybe even sit down in a comfy sofa to be able to enjoy it. Imagine the barista had screwed it up.

Both experiences make a huge difference in people's lives. Hundreds if not thousands a day. Every day. But they are paid crap and talked about in the way you just did. Compare that to a coder churning away meaningless features in some meaningless app. Would I care if the coder wouldn't show up to work for the next 4 weeks with nobody stepping in their place? No. That answer is decisively different for the toilet cleaner and the barista.
> One point that was raised again and again was the fact of competition: (...) But at the same time, a lot of my friends in industry do not seem to feel the same guilt when taking the weekend off. (...) So there has to be something deeper going on here, since competition is not an exclusive feature of academia.

Come on, maybe not "exclusive" in an absolute sense, but the level of competition isn't even remotely similar. As an academic, I'm directly competing for something literally dozens of times a year (in each grant application, promotion application, evaluation application, salary complement application, grant/project request, paper submission). Each of these has an acceptance rate, we are competing directly among other academics. And each of these directly affects our career. Even when we are tenured professors we can't get away from it, because we have postdocs and students whose own careers depend directly on us and we can't let them down.

My friends in industry don't have an even remotely similar experience, of course competition exists in industry but it's not a constant pressure that you feel every day from several different sources.

The post makes an effort to argue that competition is just one factor among many, but I think it explains like 90% of the overwork phenomenon.
For me its the fact that everyone has to be an expert on everything, all the time.
The ones that made me laugh were the Tycho Brahe ones. It takes some time to realize that he's not looking through the telescope, but wistfully staring at it (or past it). Especially in the first moose picture, he seems to be looking at the telescope and asking himself "what the heck is this thing?!" - which is appropriate, since as other commenters mentioned, telescopes weren't yet invented during his lifetime...
The problem you are pointing out is not the open source license, it's the lack of support. If they offered AGPL with a dual-license version and made a strong message about commercial support, they could please both crowds without compromises.
Not where I live, but then again, here we have lots of very quiet vehicles (bikes, e-bikes, s-pedelecs and e-scooters).

In a city like Amsterdam such an alarm would be going off all the time adding significantly to the noise pollution, one of the advantages of electric cars is that they are quiet and this to some extent negates that.

If you are worried enough about a pedestrian that you want to make a sound to alert them to your presence then between the emission of the sound, it traveling to the pedestrian and their reaction precious time is lost. That's why I think applying the brakes to the point where everybody is kept safe is a better strategy. It also takes care of the assumption that the pedestrian will respond to the sound, especially if such sounds are not standardized between brands (engines are all recognizable as engines).
... the engineer says as he keeps scrolling through DALL-E output while adding funny words at the end.
I learned a couple of things there, seems like a very organized way of learning.Just wish more of this approach is implemented by others.

Also the discussions in comments makes me wonder if HN should implement syntax highlighting feature.
Could you elaborate on how you got it to work without a public IP?
What an interesting trick. A starting point to intuit a resolution: yes you have a 50% chance of doubling and a 50% of halving. But the doubling only happens if you have x dollars, and the halving only happens if you have 2x. So you can see you either gain x or lose x, so your expected return is 0.

When the amount you multiply your money by depends on the amount of money you currently have, you have to factor in your initial money to each case to compute expected return.
When we get all our power from renewables and storage at a tiny fraction of the cost of nukes, I will not wait for nuke boosters to admit they were wrong. I will blissfully ignore them.
It looks interesting. Have you bought any of their courses and if so would you mind sharing your feedback?
My take :

let M be the maximum amount of money that a envelope can contain (at worst it can be the total amount of money in the world). You don't know the value of this upper bound M.

Most of the time, you get 2*x or x/2 with 50% chance if you choose the other envelope (which on average is a win)

But when x=M you get M/2 instead of M and therefore you loose M/2 with 100% chance. And when it happens you have lost much more than in the other cases (because exponentiel...)

If you do the math, you can see that what you win for 1 2 4 8 16 ... M/2 is equal to what you loose for M.

And so on average what win from switching is 0.
Why is OP so sure it was a hallucination? Could be fraud. Or not.
And instead we have people proposing we do nothing at all while they try to build nukes.
I actually believe that working long hours is a huge problem that obscures natural creativity in people.
When you are spending hours in the same environment, it's difficult to have a breather and think about something original or new -- you need to have a proper break for that. Going for a long walk/hike, completely detaching from work, talking to other people about non-work related stuff usually gives me a perspective and organises and cleans my thoughts when I get back to working. Diversifying your pastime activities also may help in inciting creative thinking, just like meeting people with diverse backgrounds.

It seems to me that you probably already have skill and knowledge, but it looks like you need more inspiration? Cutting down on your working hours won't make you dumb, but may just make you a bit happier.
It's annoying how "everything bad happens because we abandoned the gold standard" is being pushed hard. A lot of other things happened around 1970, you know?

It's a lot more plausible to me that "the rise of international finance", from immensely improved communication, caused both the abandoment of the gold standard and novel ways to estimate future profit.
I have to write Python for the job right now and this language has pitfalls everywhere. Glad I avoided this language so far.

I don't want to use Python for a software more than a few dozen lines or involving multiple developers. This language was designed to unintentionally shoot your foot so many times.
And stock Emacs load time is virtually instant.
I have a mildly surprising snippet which I believe they don't have. It's about interaction of class and instance attributes with behavior of "X += Y". Python expands it to "X = X + Y" but only if X implements "+" but not "+="

class A:
a = (1,) # tuples are immutable and don't have "+="
b = [1,] # lists have "+="

obj = A()
obj.a += (2,) # this creates obj.a
obj.b += (2,) # this modifies A.b

print(A.a, A.b)

The snippet prints "(1,) [1,2]".
+1 (but that isn't a solution)
Trolls do that sort of thing to gloat to other trolls.

Trolls who are also scammers, in addition do it to make people think they're in on the joke, when really they're the butt of it.
> I think part of his Rust criticism was towards the attempt to make Sway use wlroots-rs and it not fitting his idea.

That was never a goal, not for Sway and not for wlroots-rs.

I wrote that to port Way Cooler, it was no different from the other wrappers in other languages that exist.
France is historically much more uniform than countries like Italy, Spain or the United Kingdom. To give you an example of the Italian language diversity, I don’t understand my mother’s dialect and she was born 30 kilometres from where I was.

France having to defend French because it is a melting pot is a fantasy. The Parisian intellectual elite, in lack of a better expression, has a weird fixation on language tradition and a strong contempt for the English language.
Looks great but one quibble -- the "dark mode" simply flips the black and white of normal webpage and code blocks ... which is 50-50

can we use a different shade of grey for code blocks in dark mode?
This reminds me of the Monty Hall Problem:

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

(except that problem has a more definite solution)
No, I get that as well. It's subtle, but real.
oh, i totally get you. and i don't want to try to analyze your situation. (i am neither qualified, nor is it my place to do that) i am just making general comments how i would see the situation if it occurred to me.

the thing that i initially picked up on was when you said "When I stopped putting effort, even these relationship got eroded. This was the moment I realized that there is no such thing as friendship which author described." because i think it is possible to keep staying friends without putting in effort to keep in touch. the only effort that is needed is that if my friend contacts me, that i do not ignore them because that sends a confusing signal. but if we both stop communicating then we should be able to resume later. again, i am not saying that this should have happened to you. and it doesn't always happen to me like that either.

what i am trying to get at is, that just because you couldn't experience it yet, doesn't mean it doesn't exist.

good friends are rare. but they do exist.

Well, I would just talk with them as if nothing happened

which is what i would do too.

However, the conversation always end up with most of them asking something from me.

but then what happens? do they keep asking for favors without giving you the feeling that you are still friends? that would be unfortunate. and i would not know how to deal with that either. if it happens rarely and they are not big favors i might not think much of it. maybe it is just part of their struggle to keep in touch. maybe follow up with asking them something in return. how they have been, i don't know. this is something i struggle with, because i am uncomfortable with small talk. to start a conversation i need to have a reason, or a topic to talk about.

but what ever it is, it doesn't mean the friendship is over, or that it can't be reactivated. frankly, if someone is upset because i didn't keep in touch, then that's their problem. if they think, for you to be worthy of their friendship requires effort on your part, then they probably weren't good friends to begin with.

but the same goes the other way around. if others asking for favors is a problem, i'd think about why that is so.
It's not an alarm that goes off, it's a spaceshippy/whizz/ufo like sound. It's also not very loud.
Why this is modern? Because there a gradient on landing page?
> Except the single most important one. That it worked in every country that did this in response to mass shootings.

Specify what you mean by "worked". There is little evidence that these regulations had any appreciable impact on homicides or other crimes.[1]

> If you actually cared about the constitution itself not the fairly modern interpretation reinforced by lobbying group paid with money from gun manufacturing industry, you'd be strongly advocating for the state governents to have right to equip and maintain armed forces independent of federal goverment. Bacause that was the letter and the intention of the second amendment while it was written.

The large majority of funding for gun rights activism comes from grass roots donors[2]

Your interpretation of the constitution has no basis. Let's go over the top 3 reasons why:

1. The text specifically says "the right of the people" (emphasis mine). The Bill of Rights is pretty explicit about specifying rights which apply to the people and those which specifically deal with the rights of states.

2. Militia has historically included every able-bodied male of fighting age, not just state militias, and this definition is even encoded in the federal law in United States Code Title 10 section 246

3. There is no evidence to suggest that disarming the American population was even conceivable in the early republic, and the kinds of arms that were privately owned at the time of the revolution included warships with canons.

I really must ask: what (in your opinion) would have to change about the text of the 2nd amendment for it to mean what I think it means?

> However mass shooting are a thing that very large percentage of people is not willing to accept as the cost of increased security. Especially since any security benefits of having country drowning in guns and ammo are very hard to prove conclusively.

I didn't say we had to accept mass shootings, just that our response should not be a knee-jerk reaction to media firestorms that fail to achieve their objective or even result in more overall deaths (not to mention a more authoritarian state). We've already accepted a stupid amount of security theater due to media-driven panics - let's not continue the trend.

> It doesn't really matter if a person can cross state border with a gun that is easily and cheaply available with zero hassle on the other side of the border.

Why aren't there more murders in the state the gun was purchased?

---

[1] https://mises.org/power-market/why-gun-control-doesnt-explai...

[2] https://money.cnn.com/news/cnnmoney-investigates/nra-funding...
I know some very brilliant Hungarian people too, but there are a also lot more very stupid ones. I think this is just plain survivor bias.
This is cool; from reading the descriptions I presume this doesn't support writing - is there any intention to do so?
Tl;Dr; we don't know
Thank you for your work on SumatraPDF, it's the best PDF and epub viewer I've ever used.
Oh, that actually really helped me getting a grasp on the problem. I feel like other comments and sections of the article were trying to get at that idea, but your phrasing of it made it finally click for me. Thanks.
sumatra is like 2 MB install
Visit for the project, stay for the FAQ
The halal haribo I had last week had beef based gelatin in it, instead of pork (I guess), so this one at least was not vegetarian.
I picked up Python again a couple of months ago, and I am reexperiencing my love/hate relationship with the language.

Reading through the documentation in WTFPython I get some kind of affirmation of my bias against python. I hate it, but I also love it, but I hate it. It is just so "je ne sais quoi"--

The docs would benefit from some explanations on whys.
the answer is regulatory capture.
"a web application that comes with a Windows installer, macOS traditional installation and a Linux RPM".

I'm curious; how do you implement this (I assume you do not use Electron)?

Wouldn't a PWA (installed PWA) make the web app integrate the way you say with desktop icons, separate window, drag & drop etc?
Maybe in UK most of the people don't eat pig (gelatin).
Haribo is not vegan and contains pig substance.
The article states

> Fortunately, all the affected services were notified of the vulnerabilities and have implemented the necessary fixes.

this is right after they list the affected services

> Top services affected
> In their study, the researchers examined 75 services that ranked among Alexa’s list of top-150 high-traffic domains. At least 35 were affected by one or more account pre-hijacking attacks, including Dropbox, Instagram, LinkedIn, WordPress.com, and Zoom. Fortunately, all the affected services were notified of the vulnerabilities and have implemented the necessary fixes.
that's an excellent treatment. I'm curious: this video picks a particular example of a distribution of the amounts and shows that the expected profit from switching is not defined. Can one somehow prove that for all possible distributions, either the expected profit from switching is 0 or it is undefined?
Climate, Hard Work Produce Unusual Wines in Chile’s Desert
Nevermind, I just worked out how to get to the overview. ROAPI seems to stand for read-only API :)
Exception that confirms the rule?

And the Japanese relationship to KitKat is pretty different from ours :) I agree it's quite peculiar :D
Because it has recent release date, I guess :)
I would agree though for a different reason.

If society has to rebuild/replace infrastructure destroyed by more hurricanes, raise ports above new sea levels or build new ports, upgrade the power grid, food takes more resources to grow, etc, all using materials that are being desperately sought by every other nation on earth that's going to take every penny we can find anywhere and that means most salaries will be squeezed.

I'm torn about the high end, but my guess is even they will suffer because money is going to basic needs and even if you can help produce them for efficiently there isn't the kind of surplus we see today to reward you.
I am French, born in Brittany.

France/Parisians has a long history of repression against people from province.

Read again what some "great" French writers, like Flaubert, Victor Hugo, Balzac wrote about Breton people in IXX century.

"Il est interdit de cracher par terre et de parler Breton"

An academy inspector wrote in 1956 in Vannes that a small Breton had half the QI of a Parisian. I was born in 1956 near Vannes.
I don't know whether this would be you or mupdf -- I suspect the latter -- but I'd really like to be able change the line spacing (i.e. the "leading") in the epub reading mode.

I find line spacing to be one of the larger factors contributing to readability (or lack thereof).

Regardless, thanks, and cheers!
FWIW, that version ends up being slower, because you're constructing and iterating over a tuple for every iteration, which incurs a similar cost to running `.strip()` twice. The sub-generator example I gave is better because you're only constructing the generator expression once, and requires less overhead for each iteration.
An Electron-like framework using Servo would be great! I opened an issue on that repo and Mozilla said no.

Then they fired a bunch of people so…welp.
We didn’t add the I2C interface to the GGreg20_V3 module
Sorry! Don't know. I thought probably his autobiography, but I've just searched a PDF of that, and his History of Western Philosophy, and it's not in either of those. I guess one of his essays - must be one of the ones collected in books, because those are the only ones I've read, but that doesn't narrow it down much :-(
I was not talking about EU-based search engines, I was talking about search engines not applying censorship that I can use from the EU. And as far as I know, DDG is not EU-based either.

Brave Search, just to give one example.
I have thought about using google sheets as the database for projects many times.

The great thing about it is that you get a very versatile admin UI for free. The downsides however are rate limits and the fact that I can't think of any way to build in some sort of safety that would prevent people from accidentally deleting a bunch of data with a mouse click. I would love to hear if anyone has real life experience with the approach.
What was the idea behind of using a sound? It would be nice to know how they reached that idea.
The competition might be more akin to humanities careers like writer, musician, or artist rather than industry.

But stability and money on average is still better in academia than being a musician.
This is one of the most famous burnout stories, hah

> Then I had another thought: Physics disgusts me a little bit now, but I used to enjoy doing physics. Why did I enjoy it? I used to play with it. I used to do whatever I felt like doing - it didn't have to do with whether it was important for the development of nuclear physics, but whether it was interesting and amusing for me to play with. When I was in high school, I'd see water running out of a faucet growing narrower, and wonder if I could figure out what determines that curve. I found it was rather easy to do. I didn't have to do it; it wasn't important for the future of science; somebody else had already done it. That didn't make any difference. I'd invent things and play with things for my own entertainment.

> So I got this new attitude. Now that I am burned out and I'll never accomplish anything, I've got this nice position at the university teaching classes which I rather enjoy, and just like I read the Arabian Nights for pleasure, I'm going to play with physics, whenever I want to, without worrying about any importance whatsoever.

> Within a week I was in the cafeteria and some guy, fooling around, throws a plate in the air. As the plate went up in the air I saw it wobble, and I noticed the red medallion of Cornell on the plate going around. It was pretty obvious to me that the medallion went around faster than the wobbling.

> [snip]

> It was effortless. It was easy to play with these things. It was like uncorking a bottle: Everything flowed out effortlessly. I almost tried to resist it! There was no importance to what I was doing, but ultimately there was. The diagrams and the whole business that I got the Nobel Prize for came from that piddling around with the wobbling plate.

- https://www.asc.ohio-state.edu/kilcup.1/262/feynman.html
Polgar is a huge outlier here, because he basically did a human experiment on his two children. He literally created a newspaper ad that he needs a mother for an experiment about creating experts by starting focused teaching before the age of three. He choose chess, because he was also a chess teacher.