skysight-inc/HackerNews huggingface dataset:
I think the only way I would dare use bitcoin is to keep it out of these broker wallets, which is one of the real benefits of bitcoin, that people can control their assets entirely rather than leave it up to some company who can arbitrarily take it all away like in this case.

Any info on how much btc they took from these accounts, and how did they actually investigate a whopping 25000 accounts so thoroughly?
>The price to stop Putin in 2014 would've been a local war with NATO losses.

The price in 2014 was just to not overthrow the democratically elected government in Ukraine, and rewrite the Constitution to change their stance on joining NATO. What is the value in skipping past that part and pretending it doesn't matter?
The single most important thing I had to realize was that sugar sucks. In consequence:

- ban sugary drinks. It's ok to slip, but just don't buy multiple at once. I sometimes go to the bakery to buy a sandwich and they have a formula with a free sugary drink: I don't even take it.

- avoid sugary breakfasts. Breakfast is an unnecessary meal. The later you break your fast, the later the first insulin spike, the less you'll store fat. I don't eat anything before noon. I just have black coffee or a tea, because they don't really break the fast.

- don't eat all day long. Especially not anything sugary. Stick to well defined meals.

- understand the role of sugar, insulin spikes, and fat storage.

- understand calories. Count them for a while to get an understanding of what you're eating. When I say "count", I mean "count", not "count and stop". It's important to get the feeling for calories and then stop counting as soon as possible.

- learn to read labels. You don't have to not buy anything with a bad label, but it's important to know what you eat. It helps you make informed choices.

- know the basics: you should not have more than 25g of sugar per day. That's 5 teaspons. One teaspoon is 5g. Fill a teaspoon and see what 5g of sugar is like.

- and look at the arguments of "trendy" things such as keto or intermittent fasting, you don't necessarily need to do them perfectly (unless that helps you), but you should take inspiration.

Nothing is absolute. You can slip. Just do your best and try to improve.
Before embarking on my programming career, I went through HtDP while I still had time to do stuff like that. So I got a bit of grounding in Scheme. Regardless, when I discovered Ruby, I jumped on it and to this day I prefer to use it over any flavor of Lisp. In the end, I really think it comes down to syntax. I much prefer a normal, imperative kind of workflow. You lose a little bit of power and flexibility over Lisp but the friendliness of having verbs, nouns and diverse semantics wins out over what feels like a monotonous landscape. As you say, the underlying language semantics are largely similar, expressivity is just very similar. So the only thing left is syntax, and when you talk about syntax, you're talking about the most aesthetic part of the language, the part that's hardest to describe and reason about.
If the runtime is going to be fully ignoring these type annotations, what type of "bloat" are you worried about?
Ask HN: Questions for an open source maintainer, contributor?
What are some questions you'd be interested in asking an open source maintainer, contributor?
At bioenergy crossroads, should corn ethanol be left in the rearview mirror?
I don't think most races of this type are on tracks. They are on big loops through the city and/or countryside, and the runners do one lap. At most places one might spectate you'll only see the runners come by once, which unless you are a very hardcore fan is not going to be interesting except if you are near the end of the course or if the event is something exceptional enough such as the Olympics that simply seeing any of it live might be interesting.

For an event that seems to be held regularly and seems to be just one of the nearly 3000 half-marathons [1] that happen each year in the US I'd not at all be surprised if there are parts of the course that don't have any spectators.

[1] https://www.statista.com/statistics/280485/number-of-running...
Why do humans have the capacity to be overweight in the first place?

The most effective way is to simply strictly (water) fast until you reach your desired weight.
[You don't even have to be that strict and can drink some <10kcal drinks like coffee, tea etc.
Watch out for electrolytes, vitamins, EAA and probiotics (gut biome)][0]

But most people in the modern world want "another" ("easier", "high-tech" etc.) way. Some magic exercise, pill, protocol, weird thing ... indulging in the myriad choices.

Why? Because habit-forming for adults is frikkin' hard. For some the best benefit-cost ratio is Bariatric surgery with all its nasty side-effects.

As with other addictions (loosely defined here) the optimal way (most of the time =/ effective way) is quite personal one has to account for the history, motivation, etc.

So for some an O2-tank might be the right trigger.

That's why - at the end of the spectrum - I'm even all for homeopathy if it facilitates a powerful placebo effect to change one's habit. It has by definition no side effects (except of course for nocebo).

[0]https://en.m.wikipedia.org/wiki/Angus_Barbieri%27s_fast
Eat less food!

Forget exercise for now.

-Buy a scale and count calories scrupulously.
-Stay under 1800 calories/day while you're trying to lose weight. Every calorie counts. Count them all.
-once you reach your target weight, you can raise it up a bit (probably around ~2200/day if you're an average male)
-make sure you measure and weigh everything you eat and DRINK
-stop drinking alcohol (too easy to add unaccounted calories)
-stop eating out
-stop associating with overweight or obese people
-never do a "cheat day". Every calorie counts
-drink water and black coffee if you need caffeine. (Some of those starbucks drinks have 600 calories in them. Don't do it!)

You'll quickly learn to put together a menu that satisfies you at this calorie level. Example menu:

- breakfast: two large eggs prepared in 1/2 pat of butter (210 calories) and one slice of toast (100 calories) = 310 total
- lunch: chicken breast and a vegetable (330 calories)
- afternoon snack: apple or banana (120 calories)
- dinner: grilled fish or chicken and beans (400 calories)
I find it amusing because I'm a Rubyist who has been trying to pick up some Python and I have exactly the same problem. There seems to be several ways to do everything (particularly around working with containers, lists, dicts, etc.) and not a lot of consistency as to the approach taken a lot of the time (e.g. functions versus methods on objects).
If you're into data and metrics and what not, I can't recommend "Burn the fat, feed the muscle" enough:

https://www.amazon.com/Burn-Fat-Feed-Muscle-Turbo-Charged/dp...

Basically this:

0.) Weight loss isn't binary. Doing something good is always better than doing nothing. Little things add up.

1.) You can't lose weight by netting fewer calories than you use; you can't gain muscle by using more calories than you net

2.) A good macrobiotic (carbs|protein|fat) calorie ratio to go by is 50%|30%|20%. (if you're calculating percentages by grams instead of calories its 56%|33%|10%)

3.) It takes more energy to eat some foods than others (thermic effect of food). You see this in TV shows like "ALONE" where the contestants starve despite a surplus of lean protein since protein is hard to digest. Ditto salads.

4.) Do cardio

5.) Do resistance training

6.) Bonus: So your body doesn't adapt, go 3 days of lower calories, 1 day of higher calories

7.) Bonus: To lose weight faster, go 3 days of lower carbs, 1 day of higher carbs

8.) Bonus: Eat smaller meals as the day goes on

The first 5 are critical; the last 3 are if you want to dork out over it.
Absolutely, it's about greed. It's about making sure that they can sell the movie in all markets, even the most homophobic ones.

But I'd push back on the notion that their sole job is to maximize shareholder value. Their job is to do what shareholders want, which is not always the same as maximizing the price of the stock.

Disney's heart is storytelling. That is why it is so beloved. It makes a ton of money merchandizing that storytelling, but it cannot make that money without the stories. When the limit the storytellers to a narrow band of life, the storytellers can't do what you hired them to do.

That's not a direct connection to the money. Rather, it's a matter of gutting the heart of the corporation, destroying what makes the company beloved. It won't blast their shares this quarter, but gradually turns the company into a shell, and leaving it open to some other competitor to tell the stories that they won't.
The only constant is change! The "don't make JavaScript into something it's not" ship sailed decades ago when AJAX was thrust upon the world.

Besides, adding even more complexity to the JS ecosystem at this point is like pouring a cup of water into the sea.
I have a feeling you made an aluminum / tin battery with the tomato sauce as the electrolyte?
> Compilation should result in WebAssembly

It... It really shouldn't. Especially not if the target is the browser as the bridge between WebAssembly and the rest of the browser is still "just pass these arrays of integers around".
Lilypond helped me learn a lot of music theory I had missed in my learning to play piano; I use it to transcribe music now and it’s a fantastic piece of software (with fantastic docs!)
Interesting. Looks very similar to CSound score notation, with CSound being oriented towards rendering audio files, rather than printable documents. CSound is also FOSS, and has a sound generation side that is incredibly deep and detailed.

https://csound.com/
The bayraktar's performance this war has earned it a Ukrainian war song: https://youtu.be/iiaYZ3tpqRg
We're continuously ingesting plastics and various carcinogens from our food, air and water. I think the contribution from our stainless steel cookware is probably negligible by comparison.
That is extremely useful. Thank you.
https://rules.sonarsource.com/javascript/RSPEC-3358

Maybe, but sonarqube doesn't like it, which means I can't pass the CI pipeline, so...
Thank you — that is definitely encouraging. It doesn’t sound like a killer app yet but it certainly seems to establish deep learning’s place at least as part of a modern software stack.
Given that you explicitly ask for a weird tip: stop eating normal food, instead eat/drink Plenny Shakes from Jimmy joy, or something similar. It does not have to be for every meal, just be sure to do it consistently.

To share a bit of my personal experience:
I was not especially fat but with a BMI "overweight". But since last year I started eating/drinking Plenny Shakes as my morning meal every day (for other health reasons than losing weight). Without changing anything else to my lifestyle I lost something like 6kg in ~8 months. And I actually enjoy drinking their shakes so it doesn't even feel like a task.

All the best in reaching your goals!
Tons of comments already in the direction of 'eat less' and 'exercise more'. Of course. One thing I've found extremely helpful is to cook more! WFH is amazing for this. If you can find 15 minutes of meeting time throughout the day where you aren't an active speaker, you can chop vegetables or do dishes for lunch and dinner.

Back to the primary topic: cooking your own meals makes 'eating less' a matter of dialing in the portion sizes over time. I eat ~110g of pasta, or 0.8 cups of rice, or similar, and about 0.3-0.5 lb of protein, and about 1-1.5 vegetables per meal. Overall, I eat two meals like this, black coffee, a breakfast bar, and a snack, which puts me at 2000-2500 cal.

Now, on to a weird tip: meal planning! What a fun mix of intuition and ideas from operations research.
LaTeX for music? nice!
Ask HN: Non-technical considerations for Low-touch SaaS
I'm thinking of launching a commercial library for handling specialized tasks in applications. Billing would be on a subscription basis (monthly/annually with discount), probably based on the number of instances/seats.

I have an engineering background, and some experience in running a business with mainly domestic customers.

What kind of complexity and overhead will I incur once I start selling globally? My hope was that I could delegate all the billing complexities (namely VAT) to a service like Stripe. But apparently they still require VAT registration in all countries where the software could be purchased.

In the beginning it would be just me, and I'd like to be able to focus fully on product development.

Any helpful inputs or pointers are much appreciated.
Since you can be foreclosed upon and walk away, your downside is capped at the money you put into the property (and however much you value your credit rating for the following seven years). Your upside isn't strictly capped. So for certain high-earning, low-net-worth individuals (say, a 22yo programmer), the expected value for such a risk is high enough that there's a good argument for rolling the dice.
Thank you for mentioning this! I've been experiencing eyestrain and eye pain far more than usual lately and was wondering if there was anything out there I could use to help me figure out what was going on, or at least adapt, beyond glasses (which I now have). I didn't know flux could do this, so thank you!
Maybe this screenshot is clearer since it shows the full desktop (Debian, KDE, X): https://i.imgur.com/Aqy3Twm.png.
Good point. Related- stocks are traditionally considered a good inflation hedge. Even this article partially debunking that idea shows positive real returns in all inflation regimes, and suggests that inflation up to 5% doesn't hurt stock real returns. Long term inflation over 5% has happened and could happen again, but it would be very surprising to most economists.

https://blogs.cfainstitute.org/investor/2021/07/19/myth-bust...
This argument could be used for literally any improvement to JavaScript.
I heard that even well known brands like Le Creuset pots have lead in the ceramic coating on the outside of the pot. I guess that's not the same as being on the inside. But still, that seems not ideal.
Just finished debugging one of those ugly issues where it works fine for the developer but for some other person things are broken. it was a piece of code that assigned an Number to a property that should have been an object(the dev confused the property name). Because the project is complex and there is a lot of network requests and stuff running in different order depending on the user internet the bug did not happened to everybody. You could work aroudn this using setters and doing runtime checks but I have a feeling people that don't like types also don't like getter and setter.
One reason that i haven't mentioned today is forcing users to use tor by only publishing a .onion address.
Mergeable Records: A Data Modeling Approach
I've often speculated that strong typing only seems like a win to the kind of developer who makes a lot of type errors, and a waste of time to those who don't (which doesn't mean they don't make other errors, of course).
>> .d.ts files often won‘t be needed either.

.d.ts files contain a lot of things other than types for the emitted code. Interface types disappear completely when compiling TypeScript, but they are an important part of many .d.ts files, especially anything describing existing web APIs.
Show HN: Sections – Easy tree data structures in Python
(Live Case Study Week 2) How I Build a Brand on Shopify
Bringing Seccomp Notify to Runc and Kubernetes
> Why would you ever remove a test ?

Because the cost of building/running/maintaining and generally just having the test around is higher than the value I get from the test. And because I still have unit tests on the public function that should catch issues. Really, I just wrote them to help me during the dev part. Every extra line of code is debt.

> And then you're losing hours searching in your 10k commit history the code that had been removed.

You're right, I said it was a possibility, but I don't do that, it's not worth it. It has happened twice so far I think that I wished I hadn't removed the tests. I bit the bullet and rewrote them, which is okay because of how rare it is.
This is working as intended. See "the paradox of thrift". You can't eat money. Inflation means money is less valuable than presupposed, because productivity is lower than presupposed, and people need to create more value now.

Losing savings to inflation means you sod your labor in a market that was oversupplied with labor, and spent it in market that is under supplied.

Economicaly, to optimize returns, you should have taken time off from selling labor when inflation was low, instead of hoarding cash.

If you have a good use for your money, you can invest it to beat inflation. Otherwise, you are just seeing the correction for your inflated (ha!) estimate of the value of money.

Inflation isn't bad, it is merely the messenger of the previously hidden misallocation of resources -- either "printing money" (not your fault, but blame the printer, not inflation, or accept it as a wealth tax), or real economic destruction like a natural disaster (Covid) and arguably the political respite to it, or war.
Grappling with environmental risks in the fog of war
“We tried to generate disinformation with [GPT-3]. [...] It simply refused.”
Abstractly, everything has a queue size of 1. Synchronous vs asynchronous just refers to what the producer does while its message is being processed. In synchronous programming, the producer blocks and waits until their message is processed to proceed. In async programming, the producer does other things and optionally receives a notification from the consumer once the task is complete.
Yeah, I dont understand this dichotomy. IF is largely intended to lose/maintain lost weight ... im sure it can become a lifestyle afterwards but at that point one should have figured out the pattern that works for them.
I only add extra calories if im adding a lot of extra exercise. Anything beyond the obvious needs a dieticians help, not HN.
Based on my experiences, I don't think anything should be truly private. I found it's almost always better to put the "private" code in a separate "implementation detail" namespace that makes it clear it's intended to be private.

This hides the private implementation details, but keeps them accessible for when it's needed for internal tests or workarounds. It's easy to find code which relies on the private namespace, and one can't accidentally use it.
It is just the one that everyone uses...
I was in ad tech once. We obeyed it. Lots of traffic went through us. No one cared that we obeyed it and our competitors didn’t.

Left the code in anyway but that’s the thing about these things: consumer behavior reveals that they don’t actually give a fuck about whether anyone obeys this or not except for the time when they want to be outraged.
Compare the lines of code (on Github, say) written in straight Javascript and the lines of code written in Typescript.

I do not think the demand is quite as huge as you think it is.
I don't think there is a universal solution for every person. People have different psychologies. For instance for me eating more earlier in the day tends to work. That way I have digested by the time I want to exercise around 6pm.

Covid was a real hiccup in my health goals, gym's closed, loss of routine, and having my GF move-in and have to accommodate someone else's patterns really set me back (not blaming her, it's just easier when you only have to worry about yourself).
Colima – Container runtimes on macOS (and Linux) with minimal setup
Reading this I constantly find myself asking, so what? It feels like each little vignette ends before managing to substantiate its point, consider the concluding sentence in the early section on lithium mining:

> Your smart-phone runs on the tears and breast milk of a volcano. This landscape is connected to everywhere on the planet via the phones in our pockets; linked to each of us by invisible threads of commerce, science, politics and power.

This purple language is evocative of, something? Like ya, we live in a globalized economy, things are connected, what of it? Is this supposed to be a brilliant insight or just a poetic restating of the obvious?
It does feel like we have a problem saying no to language features, and it’s not just in the JS world.
Are you trying to gain muscle mass or fat mass? This matters.
I don't know; I wonder if anyone knows.

After all, the USA was once a country of broad, healthy outdoorsy types, and that health pattern carried on well into metropolitan living, well into the late seventies.

And then the "TV dinner" approach was all dinners, and along came higher and higher calorie snacks. Americans became substantially less healthy in less than two decades. Through convenience shopping.

The same thing happened to the British at only a slightly smaller scale, and slightly later.
Are you saying that if there had been type checking, this issue would have been much easier to detect and prevent?
Using astronomy to calculate the French Republican Calendar
https://xkcd.com/323/ - see: Ballmer Peak
You seem to be putting a lot in my mouth on your own.

Let me ask you a question to clarify things: Is ANY gender based in ANY way on the sexual organs (and thus the biologically assigned sex) of ANY human?
> Without actually being in a physically demanding job, odds are you're not "active" in any meaningful sense (of course there are exceptions).

That's a curious conclusion. I and most others in my circle of friends are active in a meaningful sense, at least based on my definition of "meaningfully active".
Most of us are in desk jobs, and none that I know have what I would define as a "physically demanding" job.
Can you point to good a guide on how to use cast iron effeciently. I have been trying to use cast iron more regularly but end up getting frustrated. I feel like I am not taking the right steps to keep it seasoned. Whenever I cook food gets charred. For context, I do most of my cooking in non-stick cookware.
Agreed. I learned about it while at a coding bootcamp when I felt like my eyes were going to break. Total game changer for me.
> I've never encountered a situation where the lack of typing bit me in the ass

Quite the claim! For me the moment I never want to look back to is to refactor a substantial part of the architecture of a JS app with more than 20k lines of code (And I did write most of it myself). If you don't do large scale refactorings or work mostly on smaller apps, then indeed, types won't be much of an issue.

But you should become aware about how often you see "undefined is not an object" and similar, that's a type error that is almost gone when using TypeScript.
never used, tried to make it working on Android, but had some issues, was satisfied for years with Darker (Screen Filter) from mlhgdevelopment before I swtiched to Screen Dimmer (dims notifications too) from etsang which I use to these days
> I've never encountered a situation where the lack of typing bit me in the ass. Not even once!

Maybe you just see the "cannot find property of undefined" type of errors as usual business, but this is the #1 kind of error I see in the logs of big applications, and TypeScript really helps to mitigate them.
This gets back to GP's point about GDPR vs ePrivacy Directive. Legitimate Interest is a separate Legal Basis under GDPR (and does in fact allow opt-out). But the ePrivacy Directive does not recognize Legitimate Interest. You cannot use Legitimate Interest as a basis for making a cookie opt-out.
This doesn't seem like it's for beginners.
Anastas Mikoyan Eats a Taco
There is an accessibility setting to lower it further (which you can assign to triple home button click). But generally I agree.
Show HN: Accelerating Fusion Science – A Text-to-Speech Article