skysight-inc/HackerNews huggingface dataset:
What's the point in a project that only uses a single build system? You're essentially getting nothing out of make except indirection. Might as well just have a build.sh at the root of the repo.
I have done so in the past. This leads to a lot of duplication though.
Clever Microsoft Phishing Scam Creates a Local Login Form
Don't forget Amazon's incomprehensible billing practices for AWS. It seems to be designed to be impossible to figure out what you're going to spend ahead of time.
> i.e you have to spend CPU cycles copying data

Same for x86. "String" instructions for copying between regions of memory is the closest thing to a memory-to-memory DMA, a feature commonplace on microcontrollers.
In the test you described, I presume the beer has been poured into a glass, like the OP states they now do. If you skip this step, drinking out of a can can have a distinctly metallic taste (imagine that), which is why I -- and I imagine many others -- tend to think beer tastes better out of a bottle than a can.
Using stuff blindly from Docker Hub is a bit sketch, but it’s not a hard problem to fix. Read the dockerfile before using it, adjust if you don’t like it, and build and push to your own repo. Then run your vulnerability scans of choice on them nightly.
Often I think the study and exploration of space should be the primary focus of our entire civilization, or species even. It makes most everything we focus on seem trivial to me. But then I think maybe that's just because I liked Star Trek: TNG so much.
I was a member of a single Yahoo group, a local recycling cooperative. I got a notification about the shutdown in mid-November and promptly sent a download request (not a full export). It took literally weeks before I was notified that the download was ready.
Qvault’s Lead Engineer Interviewed on “Running in Production”
I've had similar results, and for me it had to do with sugars. By avoiding sugars and eating more fats my mood improved.
The retreat of “scientific selfishness,” a literature review
The initial OpenDoc architecture came out of ATG, but by mid-1992 it had been folded into the AIM Alliance, a shared Apple, IBM and Motorola group. IBM contributed SOM, which was architecturally very heavy/baroque. By 1996 OpenDoc was folded into the OMG umbrella and then it really became bogged down in design by multi-corporate consensus.
Definitely - 95% of the people I know who fly private don’t have chauffeurs (for example) - which would be a much greater time savings over the course of the year.

I think it just shows that either a. The time argument is a rationalization or b. It’s socially more acceptable to spend money largely out of sight on corporate aviation, rather than having people in your everyday life see an enormous household staff
It's all the dark machinations of big paper straw.
I wish the little planet icons at the top of the page had a little dot moving underneath them to show where you are right now.

The text was amusing and worth reading up through Saturn, then it tried to get deep and turned into philosophical naval gazing about our insignificance. I wish there was a way to turn the text off, though at the speeds I was scrolling the words could not be read anyway.

Still, a fantastic visualization tool.
I think time restriction AND caloric restriction matter. Yes, a narrow eating window reduces the odds of overeating. But it also gives the body a chance to lower insulin levels during the fasted period, lowering the potential for insulin resistance. This is why it's bad advice to eat many small meals throughout the day--it keeps your insulin high at all times, never giving your body a chance to actually burn fat and likely resulting in reduced metabolic rate when done concurrently with caloric restriction.
Yes, there's a very minuscule amount of plastic lining the inside of most aluminum and steel cans. It's vaporized or becomes slag when the metal is melted in a furnace.
Dapps That Make the Winter More Bearable
>With break, control flow goes out of the loop or out of the switch. You may find function calls there.

Yeah but you don't have to look for anything in between. You look for where it goes, and that's it. That there could be a function call after the continue has executed isn't relevant at all, there could also be function call after a return has executed. Stepping through the code in your head is trivial because the execution never jumps anywhere without an explicit statement to jump.

With defers, you need to make sure you find every single defer that was executed up to the return (which might not be trivial if defers are executed conditionally). With a break there is exactly one, unconditional, position at which execution continues - and if you have found it, there is no reason to keep looking anywhere else.

I mean wanting to make the defer trade-off but not the destructor trade-off, fine, that is ultimately a matter of opinion. But defer being hidden control flow is just objectively true, execution jumps somewhere without a corresponding explicit jump in the code (return only explicitly jumps out of the function).
There is one form of "recycling" which goes undermentioned - trash to steam.

It "solves" sorting logistical issues nicely and any actually worthwhile recyclables can be removed still. Granted care must still be taken for handling emissions and it is more a "supplemental generation for disposing" than any significant generation. I wonder if I am missing anything about it aside from "landfills may be cheaper".
Fascinating that the article most cited by the "recycling is a con by silly hippies, just use disposable plastic and landfill it" crowd as well as this "recycling is a con by evil big business, just stop buying stuff" article are both from the New York Times.

I personally am part of the "we should charge corporations who generate the refuse for disposal, clean up and recycling as well as carbon in production, and let the market and human ingenuity then sort it out via a whole range of specific interventions that match the needs of each sector" team.

That solution will almost certainly involve a whole bunch of recycling, plus other things like making things easier to recycle, using more recycled material, but apparently both the hippies and the libertarians think recycling is a scam for entirely opposite reasons and so it's hard to have a nuanced cost-based discussion about this, at least in the US.

In Europe they generally track the stats on how much is being recycled and continuously aim to improve that, tweaking things as they go.
Even eventually consistent databases have severe scalability limitations compared to how far out stateless functions can scale.

And nobody said anything about on-prem databases. You can hit these issues just as easily with e.g. Aurora or Dynamo.
skip a meal; breakfast+lunch OR lunch+dinner
Kinds of Writing That Get Audiences to Engage
I actually love slinging promises like that, but I tend to avoid it in most cases as there are MANY devs that would be somewhat rightfully frustrated at the code I just wrote.

As always, who you are working with matters a LOT, and if I were on a team where a good portion of the devs weren't comfortable with that style of code, then I'd use more verbose ways of doing it that are more inline with what they are expecting.

But on the rare occasion that the complexity necessitates the advanced promise stuff, or in jobs (like my current one) where all of us devs are super comfortable with promises being used like this, then it's a dream to work with them!
Speaking from experience of owning two different planes and finally switching back to renting, ownership is a time sink.

The mandatory annual grounds your plane for at least a few weeks, and that's the best case scenario where your plane does not have significant ADs or issues. Aircraft maintenance shops are very busy (have been for a couple years due to mandatory ADS-B upgrades and are still working through those backlogs) and therefore expensive.

Finding a good and honest aircraft mechanic is also a dilemma, and you're kinda geographically bound in your search. Hasn't happened to me (I hope), but if you flip through the pages of "Plane and Pilot" or "Flying", it's full with the stories of "mechanic suggested a $20,000 engine overhaul, I spent the next two weeks researching the issue on my own, called multiple friends of mine and it turned out I just needed to replace a $300 part".

Airplane ownership favors those mechanically inclined. There are like hundreds of random things that could seem merely suspicious during the pre-flight inspection, but turn out to be a major problem when dug deeper. People who have done flying professionally (airline pilots, airforce) and mechanics seem to have an edge on this.
It’s because it is just really expensive (both in time and money) to do basic things like a table scan.
I made a retrowave music video 80s coder hacks 2020 (Kung Fury Style)
fun fact:
In many desert communities of the American Southwest, there are laws prohibiting collection of rain water that falls on your property.

please don't be so quick to judge when the individual's circumstances may be more complex than first assumed.
Beijing Pushes for Removal of Foreign Tech in More State Offices
The previous HN discussions of that must also be worth a look, and I don't think there's a link to it

https://news.ycombinator.com/item?id=14226889

https://news.ycombinator.com/item?id=14280569
RESULTS:
During sleep, casein protein was effectively digested and absorbed resulting in a rapid rise in circulating amino acid levels, which were sustained throughout the remainder of the night. Protein ingestion before sleep increased whole-body protein synthesis rates (311 ± 8 vs 246 ± 9 μmol·kg per 7.5 h) and improved net protein balance (61 ± 5 vs -11 ± 6 μmol·kg per 7.5 h) in the PRO vs the PLA experiment (P < 0.01). Mixed muscle protein synthesis rates were ∼22% higher in the PRO vs the PLA experiment, which reached borderline significance (0.059%·h ± 0.005%·h vs 0.048%·h ± 0.004%·h, P = 0.05).

https://www.ncbi.nlm.nih.gov/pubmed/22330017
Could be, but on a machine with 64GB it's still an awkward limitation.
You are right - got mixed up in the responses - serves me right for trying to do too many things async!

I would do it like this (if I didn't have access to "async/await" which is sadly the case for me in Node sometimes):

function doStuff (foos, bars, bazs, callback) {
// do stuff
}

function getStuff (callback) {
let foos, bars, bazs;
let semaphore = 3;

function collector () {
if (--semaphore) {
return;
}

doStuff(foo, bars, bazs, callback);
}

getFoos((err, res) => {
if (err) {
return callback(err);
}

foos = res;
collector();
});

getBars((err, res) => {
if (err) {
return callback(err);
}

bars = res;
collector();
});

getBazs((err, res) => {
if (err) {
return callback(err);
}

bazs = res;
collector();
});
}

It is more lines of code but is boringly simple to read and allows for fully custom error handling (an example of the semaphore + collector pattern I mentioned below in another comment).

The custom error handling would be in the individual "get" functions which allows for easier testing.

The semaphore in the collector is the most tricky part and I would possibly replace it here with an "if" to check that all the variables have a value - depends on what sort of data I could get back.
> I can easily (very, very easily) down 10k Calories in under an hour.

But would you want to? Maybe you would, but most wouldn't because appetite doesn't just increase linearly over time. The idea with TRF is that even if people eat 500 extra calories at dinner that still has less effect than 1000 calories' worth of breakfast, lunch, and/or snacks, both in terms of raw calories and in terms of varying metabolic effects. Even if it were just a highly abstracted trick for just eating fewer calories (it's not), people might find it easier to stick to than having every meal but eating less at each. Motivation matters.

You're right that time restriction alone is not sufficient. Neither is calories counting alone. How much you eat, what you eat, when you eat all matter. Any diet that focuses on only one - any one - won't work for some people, or at all. Let's not try to counter bad advice with more sample-of-one bad advice.
I once had a consulting gig where the customer desperately wanted to build a Spark/Scala ML pipeline, for a dataset that was 10 MB. We spent 3 months hammering it together for a flat Python process that would've taken us 2 weeks.
As you noted, Wireguard is only a part of what makes the current VPN solutions.

But that does not mean that it will stay that way. There's already effort at wg-dynamic, for dynamic allocation of ip addresses (as opposed to static allocation, which is current status quo in wireguard).

Later, it might be worth of effort to try running 802.1x over wireguard for authentication and accounting.
Oh, check out Nix https://nixos.org/nix/

I use it for most of my dependencies, and software in OS X/Windows WSL/Linux

It is a lovely environment to work with. Has completely changed how I feel about package management and the like.

I know you were asking figuratively but something does happen to slot in that space.
Yeah it is..if you're hand washing with the tap on full blast.
"Whether you more strongly feel the monumental significance of tiny things or the massive void between them depends on who you are, and how your brain chemistry is balanced at a particular moment. We walk around with miniature, emotional versions of the universe inside of us."

Please, ditch the 'deep shower thoughts'.
Wizenoze | Senior Java backend developer | Amsterdam, Netherlands | REMOTE, FULL-TIME | https://www.wizenoze.com

Wizenoze is a growth-stage startup building software that enables students to find content online that matches their interests and abilities. Our mission is to help close the global Readability Gap. You’ll be responsible for envisioning, developing, and testing products that will improve how students discover and interact with the online world.

We’re looking for a senior backend developer with 8+ years experience in Java, Spring, REST APIs, Elasticsearch, and other web tech based in Amsterdam or remote within the +-3 GMT timezones. You need to be passionate and self-motivated with a drive to continually improve yourself, your code, and your colleagues. You need to hold yourself and your colleagues to the highest standards to deliver the best quality products possible!

https://www.wizenoze.com/language/en/senior-java-backend-dev...
It seems most German beer bottles are reused via a deposit system.
I (RCA) have been meaning to dedicate a blog post to this topic exclusively and quantify the root causes in considerable detail.

In short, yes, I believe globalization and, specifically, multinational corporations (affiliates of foreign owned corporations) are the primary cause. However, in regression terms, this has less to do with net income flows into the US than net income flows out of several small high GDP/person countries. The US is a very large, very rich country whereas many of these countries are much smaller so it doesn't take much to have outsize affects on them. Even if 100% of this ultimately accrues to the benefit of US households, (which I don't think is quite accurate) the effect in % terms is vastly different.

Although some of this can be directly observed as primary income flows in the current year national accounts (dividends, rent, etc), some of it shows up as gross savings or disposable income in the foreign affliates, i.e., it's equivalent to retained earnings. Over the past decade or two non-financial corporate savings have increased massively and these savings are largely uncorrelated with domestic (capital) investment, i.e., it's almost entirely financial and it's largely leaving these countries in the form of net lending. These things also influence the calculation of (GDP) PPPs and cause other headaches.

Of course, there are also other reasons why GDP misleads. For example, Luxembourg has a very large non-resident workforce. Something like 50% of their workers live in neighboring countries (varies year to year), meaning ~50% of aggregate employee compensation goes home (cross border) to Germany and the like. Then there are petro-states like Norway whose income flows are inherently temporary (finite amount of natural resources to extract) and highly volatile, meaning they can't consume out of their measured GDP like most other countries. They need to practice massive consumption smoothing if they don't want their standard of living to crash in the not too distant future.

Long story short, GDP was never intended to be an indicator of material wellbeing and the household perspective (consumption, disposable income) are better measured and more reliable. One might try to throw a bunch of variables in to counteract the many issues imposed by GDP as a proxy for the household perspective, but why bother?

~ RCA (sorry for typos, grammatical errors, etc... limited time to comment and would rather focus more effort on blog)
How are large scale branch networks (McDonalds, Subway, etc.) set up?
I agree the last decade has been really tough for sysadmins, but the payoff is developers have had a great time and I dont have to rely on those guys any more.
I greatly enjoy Peter Attia's podcast, especially as someone with no medical background. It's really helped me to learn a lot about the human body and how it functions in a way that's actionable for improving health.
Scaling Lifestyle Medicine with Technology – An NHS Doctor's Perspective
By way of talking my own book, I would note that the experience of having a big-screen tv, surround sound, and your PS4 on the plane is nothing to sneeze at.

As someone who puts in-flight entertainment systems in private jets, the only common thing I've seen in the ownership groups is an ability to afford the price tag. There are definitely a lot of buyers who are getting into this for time gains, but there are also buyers who are simply interested in privacy, luxury, or some peace and quiet. I ended up having to troubleshoot an in-flight issue on a ~$60 million private jet and the investment in sound-proofing insulation is totally worth it.
Or maybe a way to quickly tell a product's total environmental impact over its life cycle including post usage? Maybe even have that information available as an comparable index so you can easily compare similar products? Here in Sweden, many grocery stores display the product price per measurement unit, making it easier to understand, for example, how much your pasta is costing per kg across different brands.
> Neither is calories counting alone.

I've got 160lbs of missing mass that disagrees. Not to mention numerous studies and basic physics.
Can you give us an illuminating example of the fulfillment you’ve gained from ... ip-over-udp tunneling? It doesn’t really sound that revelatory?
With all due respect, I wager you've got a pretty good idea of what works and what doesn't for you. There's no silver bullet, and the effectiveness of dietary interventions is very individualized.

For instance, I've got a friend who manages to stay thin by always eating throughout the day, but never more than a handful of food. This wouldn't work for me because once I start eating, it's very difficult for me to stop.

By the same token, simple caloric restriction (calorie counting) doesn't work for me, because I just hate tracking my food intake, so inevitably I give up on it.

However, for me, time restricted eating is like magic. I simply don't start eating until a bit later in the day, and everything else takes care of itself.

So it could very well be that this is the wrong diet for you but that doesn't mean it's completely without merit.
I have the opposite experience. I find it virtually impossible to consume 2,000 calories at once, so I don't have to spend a single second thinking about diet or exercise; I just eat once a day and can guarantee weight loss / maintenance. Eating under 2,000 calories is obvious. You don't fast so that you can eat more, you fast so that eating less doesn't feel so terrible. Everyone already knows they have to eat less calories to lose weight.

> By some delusional people's metric, that's a 23 hour fasting period and should work great.

No one thinks you can fast and eat 5 days worth of food every day and lose weight.
As the fellow commenter said: I mainly like the power of a programming language (loops, variables, organizing file and directory structure).
but reddit is topical. If you frequent only well-moderated communities you don't really have that, even in political subreddits. E.g. r/machinelearning, r/futurology, r/goldandblack
Speaking as someone who runs a bunch of large websites - out of my own pocket, for profit.... I'm confused.

How did we get from 60K users to 10K per day expense?

For comparison, I serviced millions of users per month for years from a single virtual server... (granted, that was after making our site super lean for a data & CPU perspective)

How much resources is each user consuming?
Sigh, and it’s py2 only and hasn’t had a release in 4 years.

An archival programming effort which itself has fallen behind? I hope not, these sorts of things are pretty important.
Thanks for the additional points! What you state is true, but somewhat orthogonal to the point that the grandparent post was making (and I sought to refute).

Creating an allocator is inherently possible. Using that allocator with the rest of the ecosystem is currently not stable, as you point out.

As a sometimes Rust embedded developer, I look forward to both parameterized allocators and fallible allocation.
Again, sample of one. Great that it worked for you. Doesn't mean it will work for everyone, even if they can stick to it. Science is not made of anecdotes.

Edit (responding to your ninja-edit): there might not be any examples of people gaining weight if they stuck to a long-term caloric-deficit plan, but there are millions who gained weight when they couldn't stick to one. And be careful about criticizing them for lacking willpower or whatever, or someone might wonder about the willpower aspect of being unable to keep from eating 10K calories in a single sitting. People are different, with individual strengths and weaknesses. That's why statistical evidence outweighs anecdotes.
Podcast Passivity
I don't think most poly people advocate for cheating (which is what you're doing here). You also make it sound like people are being "tricked" by society into not liking it when they find their partner is cheating on them, when that's the most natural and human response you can expect when you find out you've been deceived at the highest levels.

The only way having multiple partners is ethical is if they are all aware of each other and it was agreed upon before hand that the relationship is open. What you're advocating for is extremely unethical.
As long as it outputs cloudformation I want nothing to do with it.
Good, Oracle lies about their products all the time. They did it to my company when we bought software licenses and I'm sure they do it to others.
More like a couple times a year for me. It sound viable, but it really isn't because the cost is so high - it is cheaper to have a (used) car that works for everything than to spending $800 to rent a car for a week. I visit family out of range of an electric car for many holidays - cheaper to buy a car just for those trips and park it than rent a car for those trips!

I'm not against renting a car, but it is far too expensive in practice to do for a regular vacation.
Counting calories isnt the point, its keeping track of your weight and being able to hold it outside of a diet phase. Learning to stop gaining weight. What works for you works for you, thanks for the explanation. I unfortunately have come across to many people who didnt consider the longterm aspect. You are just finally getting yourself up and loose that weight and then everything will be great and "oh man i cant wait for this to be over". That stuff so often ends sad.