skysight-inc/HackerNews huggingface dataset:
sbierwagen wrote "Just like how The Intercept keeps burning its sources".

I wanted to know more about the other sources they burned, because I hadn't heard of additional cases and wondered why they didn't learn from their experience.
Governments manipulate markets, news at 11.
Thanks for the suggestion, I had no idea ESR was a thing. I've just added support for Firefox ESR 91 (it was pretty similar and required adding one cipher to the cipher list and changing the user agent).
After a long bike ride, apart from being much hungrier than usual, food tastes better. Mediocre food becomes good, good food becomes the best thing you've ever eaten.
I came up with a diet to lose weight. I was approaching 200lbs and wanted to get it under control so made a simple diet that helped me lose 50lbs. I call it the half and half. You take your meal and plate it. Then take a second plate and split everything exactly down the middle. Eat your first plate and then you wait half an hour. If after half hour you want to eat again you can go back to your second plate. What ends up happening is some times you would go back for more but other times you would get busy. Or just not feel hungry. It wasn't long before my stomach started to shrink and I would eat smaller and smaller amounts of food. This worked incredibly well. I could eat anything type of food I wanted just needed to wait half hour before going to my other half of my food. I eventually stopped splitting my plates and just made very small plates because I realized I would be full off a little amount. The only other rule I followed was never finish food once I feel full. That last bite of a burger just toss it if you feel full.
Building codes aren't nearly so bad as zoning and the NIMBYism that is strangling the country. There's certainly room to liberalize building codes, but I don't think the impact would be as large as one might hope. Liberalize land use please.
A couple of years ago I took swimming lessons from the Swiss butterfly swimming champion and he said he trained about 20 hours a week and that to get to Olympic levels, he'd have to train even more. For swimming it's possible to train much more than in other sports, because it doesn't do as much joint damage, because you're in water.
The version I've heard is simply "abs are made in the kitchen."
the /s at the end of the post is meant to indicate sarcasm, so I don't think they actually meant what was said.
Your post is entitled "Popularity of Programming Languages on Arch Linux"

Not including Python seems odd.

Perhaps the title should have been something different.
Good point, though technically a hashtable can only test for existence and can't find the lower bound. Also, a hashtable is likely to require more memory.
I would also like to point out the discrepancy between government investment in general as compared to private investment. In particular, risk tolerance and moonshot projects.

I view private investment in domains as a counterbalance to gaps where the slow, grinding machine that is the government misses, or is too entrenched to consider alternative approaches. An example here would be with the disruption of the aerospace industry by SpaceX.
I was wondering about this recently. My fitness tracker estimates seemed just a bit high for months now, that you'd think those extra burned calories (500-1000 per day) would result in less weight. But no, the only weight I lost was in the time periods I was actively skipping meals or snacks.
I'd guess the lack of processed foods is a big part of it. Until recently if you were vegan you pretty much had to make everything from scratch. I'd also guess that the average vegan is more health conscious than the average meat eater.
You'd be surprised. Right off the top you're paying 45% of that in taxes, and if you're saving less than 25% you're failing the marshmallow test in a world-historically spectacular way. FIRE is very popular with this crowd and most save a lot more. You would own a home; that would cost you 10-15% at least. A Netflix engineer who is pretty bad with money but not a totally self-destructing addict might do as much as $75-100k/year in discretionary spending.

That's an insane amount of money! And against that figure business-class tickets ($10k) and fine hotels ($5k/night) are accessible. But significant. You are probably traveling several times a year, and not solo. Blink and you'll piss it all away.
No, they aren't honest about it at all.
There are a few more than 4.
>A stationary bike at a steady 20mph pace is about 500 calories in 30 minutes

It is also something at most a tiny minority of the obese population can do.
Is your rural town called Malibu or Santa Barbara?
It's raw stats of some selected languages.
If you want to be ahead of other engineers and have a meaningful impact, then you’ll want to maximize the number of uninterrupted deep work sessions. The more you can fit in a week the more you’ll achieve (rfcs, implementations, reviews).

This is one of the biggest contributor for high performing profiles.

To manage this when using Slack you can:

- set your status as “deep work” and decide to pause notifications for x hours

- use “mark as unread”. when you want to peek something but not act on it yet

- use “remind me” on messages you want to deal later on through the week

- avoid DMs has much as possible, so not just one person can help you, but anyone from your team

- avoid Slack on the phone

Then deal with notifications in bulk.

Slack isn’t killing our productivity, HN and twitter are not killing it either.

Our addictions to notifications is, but we can manage this with discipline and training.
Back when we were in lockdown, I passed it to a HR representative who was in my area. In some past jobs, they let me keep the device even though I offered to buy it from them. It depends on the policy.
I don’t really think Tim Cook (or any company officer anywhere) deserves or needs this kind of comp. That said, I can’t imagine Apple could have performed any better in the last year. I can only assume this is some sort of attempt at a strong arm move to negotiate profit sharing or to get Apple to stop activism on some front.
Good point about user involvement, but I'd wager that there are at least 3 more "secrets".

The first is that a lot of the moderation is done algorithmically. Things like "flamewar detector" cool down stories that look like they are getting too many comments.

The second is that user flagging plays a very large role. For better or worse, if some tiny percentage of users think a comment or story is inappropriate for the site, it disappears. User vouching then plays a smaller but also important role in reviving some of these.

The last is that 'sctb' is no longer involved, and 'dang' is the sole remaining moderator. Sometimes I think he encourages people to believe that 'sctb' is still involved because he'd be embarrassed if people knew how much time and effort he puts into the site.
Wow, jumprope is really cool!

I'd had, but never gotten at all close to implementing, this idea of something like a a mutable RRB tree (think https://docs.rs/im/latest/im/struct.Vector.html but, again, mutable) with somewhat chunky (say, few-KB) gap buffers as the leaves. The tree gives you asymptotically not-terrible behavior with zillions of items, and the gap buffers could help practical performance when there's a lot of locality in your accesses.

I figure merging two lists of items or filtering some items out of a list might have the sort of locality of edits gap buffers handle well, and largish gap buffers could allow iteration to mostly spend time walking through contiguous chunks.

I still don't know how well something like that applies to a non-rope use case, but it's incredibly cool to see you actually did the work to build a hybrid structure out, validated it, and it does very well.
I've been thinking the same thing. Considering how good discord is
Thanks - I did add "python" to it but forgot to refresh the page so got befuddled then added python2/3 instead.

I've no idea why the original poster decided to be so... selective.
I once worked with a person who had an advanced degree in nuclear physics. They were sharp as a tack, a skilled programmer in multiple languages and on several platforms, and grossly over-qualified for the job they had taken but Congress had just killed their position with the SSC in Texas so they needed to switch gears for a while.

Though they were super smart and a rapid typist they were also dyslexic. To make it worse, they would never take responsibility for any mistakes resulting from their failure to double-check the figures entered into the software they needed to run. As a result, we were constantly forced to rerun processes they had worked on because the person never reviewed the parameters they entered into the processing modules before running the jobs. Very simple mistakes like entering 1005 instead of 1500 would cost us a day or more rerunning jobs. It took me weeks to detect the pattern of failures and link them conclusively to this individual since other jobs by other people I supervised also failed but for different reasons.

Once I saw the problem and could easily document the issue I took a few moments to sit with them privately to show what I had found and made the recommendation that they should double-check everything they typed before submitting the jobs so that we could eliminate that class of failures. This person was adamant that I had to be wrong and that they were a perfect typist and somehow someone else was responsible.

Try as I might I could not get them to adopt a simple review-before-submit plan so, since they were a valuable team member who didn't need to lose their job during a period where good jobs were not easy to find, after consulting with my superiors it became my job to review everything they submitted, correct any input parameter fat-fingers or dyslexic inputs, and resubmit those jobs so that we could eliminate those failures.

It was easy enough to do so we made it work and they were never informed I was bird-dogging their work so closely. They remained a valued member of the team until one day they put in their notice.

They had been applying for any positions anywhere that would allow them to use their programming skills on problems that a physicist might find challenging. They had been offered and had accepted a position as a programmer with Raytheon working on missile guidance systems. After their exit, we joked that one day we would hear about a fat-finger mistake sending a missile to an unintended location.

This person was not connected at all to this event since their work with Raytheon was several years after this event occurred (SSC shuttered in 1993). I have no idea what they worked on while there but I hope that someone noticed the issue and insured that two sets of eyes hit everything they typed. Those were the days.
I will try to impersonate Chrome next, However, I suspect this is going to be more challenging. Chrome uses BoringSSL, which curl does not support. So it means either enforcing curl to compile with BoringSSL or modifying NSS to look like BoringSSL.
What's wrong with that answer?
Where You At? A Bioregional Quiz (1981) [pdf]
I think we have fitness wrong in this side of the world. I grew up seeing 60 year olds that were as fit as youths in the west.

They didn’t have a treadmill or did keto diets.

My take away was fitness should be a lifestyle and to avoid lots of western food (sugar, processed, empty calories, I drink only water, etc).

I don’t count calories and can eat twice in the morning. If I counted, both morning meals are less than 600 calories.

I don’t go to a gym, but have maintained a <10% body fat (and 86kg at 190cm height) over the years (without feeling hungry all the time because I eat well). I just do body weight training and make my entire day active (even tho I’m a programmer).

For me, being in shape doesn’t need to be complicated.
Just update the security group to your new IP address when it changes. You can also run a VPN, but that's more expensive
My strict rule : Never write/store documentation that is separate from underlying 0s & 1s. It always goes out of sync.

We are currently in the process of creating a data dictionary for our company.

I put down a rule that we are not ever going to create a SEPARATE WordDoc/Wiki/Evernote/GenZ-tool.

If it is code, document its meaning (english explanation for laymen) in the doc string.
If it is data, document its meaning in the column's metadata (all database systems provide a property/comment/description capability at table & column level).
If it requires complex diagrams, put these in whatever files (doc/image/pdf/mp3), store it as a blob in a database and create a link it in original code comments/column metadata.

All this data is then constantly pulled into some data-mart on top of which a query-able UI is created.

Every documentation must be literally "Tied" to actual systems making money for the company.

If a new code/data is created or updated, and it's missing documentation, PR is not approved.
Once the basic technical setup of tying code/data with comments/metadata is done, enforcing this rule of updating documentation is the job of management/CTO culture.
Welcome to the club. If you haven’t taken down prod at least once you’re not trying hard enough
I think it's incorrect to say they "revert to their wild genes". It's more a change in their outer appearance and traits while their genetics remains largely untouched (at least over only a few generations). Revert also implies the scaling back of features, but evolution is blind and there is no such thing as "better", merely things that do better in the environment as it is right now.

The glowing gene will be GFP which is a gene from jellyfish which has been introduced into these fish. So if any mutation suppresses or "turns off" the GFP gene, and GFP is maladative, then those fish will quickly outbreed their glowing siblings. The weird thing here, is the GFP gene will probably still be in their genome, it will just have a couple of errors that completely break it.

I haven't heard of the goldfish example so I can't comment much on that. Except to say that I wonder if the "reversion" is because goldfish are inter-breeding with wild carp? Maybe not, and it is a mix of strong selection pressure and epigenetics causing the phenotypic change.
> The thing is, exercise still reduces appetite.

Not for me. I work out about 3 times a week, never felt like my appetite got smaller on workout days.

Intermittent fasting is nice however. There are pangs of hunger occasionally, but if I power through them, they go away after 1 hour usually.
Replace everything with non-smart devices before listing the home and this will be a non-issue.

If I bought a home with smart doorbells and cameras and other stuff, I'd rip it out and replace it anyway. Who knows if the previous owner still has them on their account, or can access them in some way?

It has long been common wisdom that you should rekey or replace the locks when you buy a home. The same logic applies to smart devices.
I also work for a company where everyone writes and reads and we have almost no meetings at all, no scrum, etc, and I didn't notice any of these problems. It's the best place I've worked at and I'm already > 20 years into this.

To me the problem you describe is orthogonal to the fact you have a writing culture or not. I bet if you didn't have that writing culture you would still have all those problems and just a ton more meetings and conversations with managers. I've been at places like that in the past and the best solution for me was to quit, I just couldn't stand it.

For example, promotions: I've been in that hunger games you mention where you have to promote yourself to death to have a promotion, and I hated it. Agree with you it was a real problem, specially for people that don't like to do marketing of themselves. At my current company your team lead is ultimately responsible of the output of the team, so with consideration of the team's opinions, he ultimately decides if you get a raise each year or not. If he wants you in the team you get a raise, if he doesn't you get a lower one or none at all. You can look for another team within the company or you can leave, up to you. Leads are professional enough like to not promote just friends, because they're also accountable in the same way up the chain. And that's it. At the end of the day your team, the 6 or 10 people you work with every day, they know very clearly if they want you or not, no need for 100 page essays about your awesomeness.
There are no equal opportunity infectors: Epidemiological modeling inequality
This is a fantastic post, thank you. I tend to do this in my everyday life and realised it recently. I hope I can slowly change and get rid of this trait.
Interesting, so it really is a subscription cost as well
I have never heard of pkgstats before. When it requires someone to manually install a telemetry package, I can’t imagine that it’ll be in any way representative of the wider user base.

I expect you’d get more interesting and representative results from processing logs from one of the more popular download mirrors. I have no idea if any of those are shared publicly.
The majority of people with "Type 2" who are also obese would be asymptomatic (i.e., "remission") if they went down to a healthy weight. (Type 2 patients who are not overweight or obese aren't so responsive to diet.)

https://www.diabetes.org.uk/guide-to-diabetes/managing-your-...

It's almost like there should be a different name for the disorder people get who are obese who develop Type 2 diabetes. Maybe "Type O" diabetes?
What kinds of things do you do to make your entire day active?

As a developer my self, I find this part the hardest.
I've not kept up with C#, but does it have something akin to Rust's string continuation? In a Rust string literal a backslash followed by a newline causes the backslash and all following whitespace to be removed. So, for example:

let string = "foo\
bar";

Results in `string` having the contents "foobar". That would allow the user to specify the exact newline they need without depending on invisible characters remaining unchanged.
At my company we have a “thoughtful communication” guide[1] that addresses Slack and other communication tools. The simple rule for Slack is it’s for ephemeral or urgent communication only. All “conversation” material essentially routes through email and it works great. Takes some getting used to but our Slack instance is very, very relaxed. Most employees silence all Slack notifications and are encouraged to do so to (try our best to) preserve focus.

[1] https://www.ashbyhq.com/blog/company/thoughtful-communicatio...
TLDR: Lost a lot of diy hosted infra from storage problems. Conclusion: do backups.
Unless you'd like to make the case that we had 600% inflation in the last year, your explanation does not hold up. (Skim the article. He's poised to make 6 times more than last year)

But even then, compensation packages are usually specified in dollars, not numbers of shares.

And even if that weren't the case, Apple shares only increased 40% over the last year. ~20% since the fall, were compensation packages are usually hammered out.

So, no, it's not inflation, as much as you'd like to complain about fiat money.
That doesn't work if one of the arguments gets mutated
I got curious and did a bunch of research.

It relies on the fact that carbon dioxide is transmitted from tissues to lungs in blood as carbonic acid. The carbonic acid is formed by water and carbon dioxide.

It seems extremely accurate as long as you believe the distribution of labeled water equalizes in the body. You can readily see exactly how much labeled oxygen was lost via CO2 (via the carbonic acid reaction).

As long as metabolism and blood transport works the same in all animals, seems reliable.
My American law, you're entitled to keep it with no extra payment.

When this happens to me, I tell the retailer that if they want to schedule a pickup at my address, I'll happily hand it to the driver, but I'm not going out of my way to fix their mistake.
What's the difference between this and "don't change things you don't understand".

It would make it clearer that this is a type of approach rather than a law. Sometimes, that legacy system or class is replaced without fully understanding it, because it's cheaper to reimplement it's interface than fix it.
If your only goal is weightloss, then yes - but just weighting 50kg doesn't mean it is healthy. You can have fat at 50kg, just in the wrong places. Activity provides many positive effects, such as better immune system, better distribution of nutrients in the body etc. Trying to loose just weight without a training plan is not productive.
Contour: Modern C++ Terminal Emulator
In my experience, you'll do much better if you have open communication with your team and manager.

While it may feel scary, it creates a personal connection and will provide you with much needed feedback.
Google Privacy Changes: Google has new privacy policies in store for Android HP
We are very lucky for the state of the technology at the moment, and that we can afford it. I spent a lot of the time at the hospital on the subreddit, seeing people living and being happy with it was very good for my morale.
We are 100% trying the split bolusing after he went low tonight from not wanting to eat his food. He doesnt mind the injections too much, especially if he is eating cheese or has "wheels on the bus" on the TV :)
This is like saying that you prefer to read the description of a new car instead of seeing the car itself.
I’m not so sure it is understating, at the risk of projecting out from a sample size of 1 (my personal experience). I’ve been quite active for a couple of decades with a semi-regular gym routine and multiple marathons (and all of the running required in between). Holidays and other things would interrupt schedules from time to time, I might lapse for an extended period, but for the better part of 20 years I’ve weighed 76kgs +/- 3kgs. Stop running and eat bad for a few months I hit the top end of that range. But I revert back very quickly.

Then a few years ago my wife was having what seemed to be some food intolerance issues. As morale support I joined her on a very strict diet. I lost over 10kg in 6 weeks. That was without much training. When I started running again I was suddenly back to setting new personal pace records, unsurprising given I was 10ths lighter.

It’s not that I’d been eating especially poorly before. The biggest change was probably a complete elimination of wheat. I definitely felt much healthier than I had in a long time. And a diet change had a much bigger impact than years of exercise in making that happen.
The geometry in my raytracer can either be ray-traced primitives, like spheres or boxes, or it can be "signed distance functions" (SDFs), which let you define all kinda of crazy shapes. Inigo Quilez does a good job of explaining SDFs here: https://www.iquilezles.org/www/articles/distfunctions/distfu...
The refraction math in my code is around line 799 or 809 depending on what you're looking for. There are a few errors in the refraction code in this version. :/ But caustics are handled well by my renderer.
Napkin math: 20,000 calories is 36 Big Mac burgers

In vegetable oil it would be about 4.8lbs of oil - that’s probably not at all plausible for digestion or bowel control
Paying to not use slave labor is a start.
Ever heard of TRS-80 Model 100? Same thing, slightly different Japanese OEM.
What social media platforms miss about white supremacist speech
I personally wouldn't, I like/prefer the self contained nature of HN and, despite its popularity, generally don't appreciate Discord as a discussion medium.

PS: Just in case that's too much of a hidden feature, https://news.ycombinator.com/newpoll exists. Might be better suited for questions like this.
The hardest part is selling a compelling vision that connect with people and motivates a whole new generation, not to mention investors and the gov to invest.