skysight-inc/HackerNews huggingface dataset:
I look at it like this: what are the inputs/outputs of what I’m testing? Is it calling another library to do work, spy on that. Is making side-effects in the system, watch that. The only time I’d use internal/private methods directly in a test is when setting up to use the public methods would be tremendous (imagine configuring a database driver to fail in a certain way, for example).

Most of the time, I see private methods being tested when the library is “in the middle” of other libraries, or is not properly abstracted.
Avoid consuming media while eating?
Ever heard of metabolic alkalosis? Plus, you'll just get poisoned by oxygen. My weirdest tip is just get a fat surgery. Consult with your doctor
> Keep in mind that for some of these projects having a visual editor might be outside of their scope - these are often "engine frameworks" (or as i like to call them "engine engines" :-P) for making your own engine and tools rather than complete turnkey solutions by themselves like Unreal or Unity.

That's a fair point! Though jMonkeyEngine actually uses LWJGL so i guess at this point we're talking about "engine engine engines". Of course, there is certainly merit to a layered and modular approach like that!

> This approach gives more freedom to the developers but at the cost of having to make their own tools (though they still take care of the low level plumbing bits).

This is excellent for when you have the time and resources (and the desire/motivation/discipline) to make your own tooling and end up with something bespoke, that fits your needs/project well.

But it's a non-starter for those who just want a usable package with batteries included, which i'd argue is the majority of the users and therefore will impact the popularity of the project negatively.

That said, for an interesting set of videos on someone who's developing their own engine, have a look at Randy's channel: https://www.youtube.com/c/RandallThomas/videos

It's interesting to behold and is probably quite the learning experience, though i'm not sure whether Randy's game will come out first, or whether GNU Hurd will beat him to it.
Ah alright, thanks for the correction :)
Do you get statements by email?
Where does Teflon fit in this hierarchy?

And by "ceramic" I assume you mean the faux-"ceramic-coated" ones that don't actually contain ceramic, right?
Unlike other extensions, this one doesn't simply 'Accept All', but rather allows you to set default preferences and uses those.
Why not move into Japan or South Korea? Sony and Samsung engineers aren't any less able.
Gps can be fooled: pass the device on. There are other methods, but harder to do if tge device isn't yours.

Video/ photo every xkm would be better.
Especially as eta (at a checkpoint) can be fairly accurately er...estimated.
So people were on to something with leaches...
Yeah Im surprised at how far down this is, I thought keto was super popular.

Im currently doing keto after putting on a bit of weight over a covid lockdown. 5 weeks, 7kg down (83kg -> 76kg). I didnt even start all that heavy, I imagine if someone was really overweight they would lose it even faster.
Its pretty easy, you dont even need to eat less, you just dont eat anything that turns into glucose. I guess theres not much difference counting calories vs counting carbs, but it really isnt a big deal to me.
The upcoming version Godot 4.0 is on par with Unity, with several 2D and 3D subsystems (physics engine, lighting, 2d grid...) being rebuilt in full. It's getting traction in terms of tutorials and courses [1], and several publishers paying attention (e.g. Valve making sure that the Steam Deck will be supported).

[1] For example https://www.kickstarter.com/projects/gdquest/learn-to-code-f..., an already financed Kickstarter to build an open source course and companion app.
CAD/CAM constraint-based geometry sketcher for Blender
Of course it's sustainable. The notion that landfilling somehow isn't sustainable is based mostly on silly aesthetics.

About the only concern with sustainability in PV is silver for contact wires, but that can be substituted for. It's being used now because it's marginally cheaper.
I disagree. You are basically saying that only end to end tests are very good tests.

There are different reasons to have tests.

Unit tests often break even during small refactorings but are great to quickly cover of lot of edge cases of some complex piece of code. They also quickly point to what exactly is wrong.

End to end tests on the other hand should be almost immune to refactoring problems, but they are very slow and often it is tricky to find where the bug is or even if there is a bug at all in the application - in those tests bugs are very often in test code.
I see this as the main tension in the extracting-class viewpoint. Assuming your language allows it, you can extract out a class that's still private to the current package, meaning that the public API is unchanged. But there are still costs to extracting out that class.

If the one public method just calls private method A, B, and C in order, passing the result of one step to the next, and if we don't need to handle different variants of A, B, and C (meaning dependency injection is not necessary), we arguably don't gain much from splitting the original class in two. We're left with a very small class of a single method that's tightly coupled to the extracted class. We can remove the coupling with dependency injection, but now we need to add some code that actually injects that dependency at runtime. So understanding how the pieces fit together is harder. The only benefit to splitting the class that I can think of is in preparing for a future situation where orchestrating the three helper methods becomes more complex, or where you actually do need to handle different variants of A, B, and C via dependency injection. But it feels like premature abstraction to me, single responsibility principle notwithstanding.
> Derek Murphy, an independent marathon investigator. Murphy, a former distance runner himself, has dedicated his time away from work trying to bust cheating road warriors by using the 21st century’s best tools: data collected in our interconnected world. He posts his findings to his blog, Marathon Investigation, which he maintains from his home in Ohio.

Remember this next time someone says you have a weird hobby.
I wonder if anyone calculates the economic cost of sanctions against the economic cost of "winning" a war and then having to spend money on the occupation.

If they have some kind of resource you can steal, it might work out economically positive for the invader, but if they are your neighbor then likely the impact on trade will render it a net negative win or lose.
This reasoning is why it will need rights. If it doesn't, people thinking these thoughts (which are impossible to answer, like they are for every other potential sapience. Not just AGI) will abuse that reasoning to create yet another creative modern form of slavery.
Something that nobody does: Talk with a doctor specialized in diets.
One has to admire that!

However, at the same time a lack of earning opportunities will prevent a lot of people from participating and creating content for it: be it content creators who'd provide turnkey solutions for non-trivial mechanics and engine extensions, asset creators who'd allow the less artistically inclined developers to plug their skill gaps with those or even ad solutions for monetization of freemium games or ad supported games.

(i don't necessarily support the latter, but that probably matters to some)
I fail to see any reason for it, other than the usual agenda that before Miranda there were no functional programming languages.
1. I didn't use the word genocide and don't believe that's what we're seeing at present

2. The rhetoric of Putin (Ukraine should not exist, Ukrainians don't exist, they are Russians) definitely makes me think he is capable of genocide in Ukraine.
This is also good for maintainability. Say you need to upgrade the algorithm but keep the old version around. You can create a new version of the algorithm specific parts without changing the public implementation and allow users to select which version to use; eventually changing the default. In a single class, this would be a nightmare.
If they leaked application data, that scam email would not ask people for passport number and so on. Clearly they leak emails only.
The graphics are incredibly well done, props
> You have to be positively insane to spend ~$700 on motherboard and ram just to plop 4 core CPU in there.

If you are testing a CPU, it makes sense to remove as many external bottlenecks as possible. It also makes it easier for anyone publishing benchmarks to have a motherboard that can take low end chips as well as HEDT ones without much configuration change.
I wish people would stop confusing cookie-consent laws and GDPR. They are quite distinct laws and are giving GDPR a bad rap for wholly the wrong reasons.
Quarkus Tools for IntelliJ 1.10.0 released
Put on dental braces. Eating will be such a hassle that you'll lose weight in no time. Two birds: beautiful teeth and weight loss.
Interesting, what do you mean by this? I would have expected that people who exercise more would have lower probability of being overweight?
"they" refers to the collective other: Something that is vaguely understood as not being like you, without having a clear definition. It is a linguistic way to alienate something so it becomes okay to treat it poorly without inconvenient feelings of guilt.
As someone who lost 20kg in 5 months by eating less, I don't appreciate being called full of shit.

First, too much water can cause hyponatremia. Drinking 2 to 3 litters of water / day is fine, but reach 5L and it's getting dangerous. And one of the main advantages of drinking water is it keeps your stomach full, meaning you don't feel hunger, and thus eat less.

Second, what's the purpose of your 3rd point if not to reduce calorie intake?
They're not against precisely what in principle? Read this:

https://nitter.net/PentagonPresSec/status/150133645001252864...

Doesn't it sound as if flying from a Polish NATO base would be a different matter? Doesn't it sound as if in his mind, departing from Poland would raise serious concerns for just Poland rather than for the entire NATO alliance?
C and C++ build systems are only a challenge for IDE haters.

File new project, add files into project, add missing dependencies via NuGET/vcpkg/conan, done.
> the first Celerons

They were not the best CPUs at all
Personally, i'd suggest that you try out a variety of engines and use whatever is the most comfortable for you, given your background (for example, C++ devs might go with Unreal instead of the other options).

For me, if i wanted to learn game development and do so in a pretty easy fashion, i'd most likely go with: Godot + GDScript, since those two are integrated rather well and are easy to pick up and learn. I'd suggest that you stick with the Godot 3.X.Y stable releases for the time being, though, since Godot 4 is still in development and is subject to changes.

It can definitely also lead to shippable products with not too many issues along the way (apart from the asset store being small), though currently Godot is definitely more capable for 2D games than it is for 3D games (if you ever want advanced graphics, you might have to wait for Godot 4).

Of course, if you're learning game development in hopes of getting a job in the industry, then you should most certainly go with Unity due to its popularity.
Where I live, Hong Kong, simultaneously has the highest meat consumption in the world and the highest life expectancy.
Ok cool! Thanks for the tip.
I have no weird tips to lose weight.
But I have been dealing with overweight myself and I'll share what seems to work for me.

1) First eat three times a day.
Why? Food is our fuel we need it to have energy. By spreading out the intake you will be less inclined to snack.
2) except that you are beautiful the way you are and don't compare yourself to anyone else.
3) Stop drinking sugar.
Just drink water instead. When I stopped drinking cola I started to lose weight instantly.
4) don't eat potato ships.
5) when starting out to lose weight. Focus on your meals.
Diversify your evening meals.
Eat fruit in the morning.
Drink tea instead of milk.
Do not go training right away.
This will just make you hungry and result in eating snacks.
After a month of getting used to your diet start slowly incoperating training like running.
6) make sure to feel relaxed.
Make sure to go to sleep on the right times.
Don't focus too much on your body. Enjoy life get a fun hobby.
7) don't drink alcohol
8) listen to music and let your body follow the beat.
Don't see it like training see it enjoying yourself having fun.

Honestly good luck to you and anyone else who is trying to lose weight. There are so many ways to lose weight but it's really important to change ones lifestyle first.
When I found out that a pint of beer has about 200 - 250 calories, it was quite eye opening. When I was younger I could've sometimes ended up having 7 or 8 of them in one evening, so that's almost your daily allowance, just in beer.
> Humans get killed by the state if they break the law.

Not in any country with modern laws they don't. Murder is wrong.
1. Cut all liquid calories (juices, smoothies, et al even if they are home-made). This includes alcohol.

2. Join a good + intense Brazilian Jiu-Jitsu (BJJ) gym.
Fair enough. Although my intention wasn't to imply that it was easy in general, just easier than the suggestion I was replying to. In any case, the first step in losing weight is actually wanting to do something about it, as the submitter of this story does.

You mentioned Americans in particular, but I think that the problem with obesity in the U.S. is a kind of its own. When even the bread is sugared, I think a significant part of the 80% problem is systemic.
I think I am against. This will just increase shipped bloat. Better to focus on TypeScript or WASM.

I would be for it if it was possible to keep TypeScript metadata somehow so I wouldn't need to create schema with Zod but with TypeScript. There was babel plugin like that for Flow and it was nice PoC and I guess similar could be done via some annotation with TSC.
Or just activate the filter in uBlock Origin: Filter Lists -> Annoyances -> EasyList Cookie
So socially pressuring someone, regardless of reason, into suicide and ruining not just his sports career but also his overall reputation and private life, is a feature of society???? What's wrong with you?

A general point regarding cheating: Do you have any idea how many amateur athletes are doping? And never get caught or called out?
Is it really? I've always felt the opposite, that as time goes by each new language becones easier to learn. I started with C, which was really a challenge. But since then it's been a whole new one every 2-4 years.
Ah yes. We choose chemo instead because its the comfortable option. /s
> While Google isn't a trustworthy company by any means, I can be reasonably certain they aren't looking into what I'm doing.

In what way are Google not a trustworthy company in your view?

Expecting that they'll be looking into what I'm doing is exactly what leads me to consider them untrustworthy so I'm just curious what else you're thinking of.
Norway hosts 30k NATO troops for exercises as Russia tensions rise
Actually, tool usage in primates is a form of culture (protoculture). Those groups that have mastered it can be better of than those that didn't -- giving them an evolutionary advantage. The "tools" can be suprisingly complex, see for example:

https://web.archive.org/web/20110608070200/http://www.uic.ed...
If nuclear were subject to the same level of scrutiny as ordinary industries we'd have a long stream of nuclear accidents. But these accidents are extremely expensive. Your argument there boils down to a whine that nuclear isn't being allowed to learn via large numbers of meltdowns.

You will also always have regulation and oversight due to proliferation concerns. And without regulations, you're also not going to get a liability cap. Is anyone going to build a reactor if an accident costs more than their company is worth? Fukushima is estimated to cost $700 B. Maybe you're also advocating people not be allowed to sue for damage from nuclear accidents?
Oops!?! TIL, thanks.
My weird tip is kind of obvious but I think that many of us tend to miss it.

Food addiction is like any other addiction, triggered by unhappiness.

Any diet will work if you have the discipline, that is if you have the mental strength to control your impulses, you can’t do that when miserable.

But you can try to induce a positively reinforcing loop with a good diet tailored to your character and habits, seeing progress can feel good enough to maintain mental strength.

Or you can wait to be in a very good place emotionally and use it to improve your body and habits.

The most difficult part is not regaining later, as your body will fight during a few months, again the trick is discipline.
Without evidence, doesn't make it any less BS.
Fascinating.

Can anyone spot how efficient it is? It declares that it's "Highly efficient", but then no details on what the actual efficiency is.
Ah, I see. I haven't used Chai but from what I can tell it's a service that lets you make payments through multiple methods (e.g credit card, bank transfer). I don't think they've published statistics but I'm guessing most of their payments don't go through crypto.
I think (I am not sure) that you cannot define monad composition (transformer) with IO because IO is purposely open-world (so that Haskell can use C libraries and OS calls) and as such is not entirely formally defined. If we defined it as a closed-world, i.e. these are the side effects that you can do with IO and nothing else, then it might become possible to compose with other monads.
And who owns what, when will it be deallocated, etc?

Even in rust it is not as comfortable as in a higher level language - it is not accidental that where maximal performance isn’t needed GC-d languages are used predominantly in the industry.
The most charitable interpretation I can give this question is to treat it like a hypothetical. From that perspective, this is quite a fun question to ask!
> Not sure how a high exercise, no protein, frequent fasting diet is going to work. It sounds worse than a North Korean laborer’s lifestyle.

Can't die of cancer if you die of malnutrition first!
Some of the advice here is bordering on dangerous.

From intermittent fasting to only eating one meal a day. These are dangerous things to jump into and recommend without some fact finding first. Although I appreciate people are speaking from their own experience.

I don't know your particular circumstances so I'm not going to recommend specific advice.

I need to know some things about you such as:

How overweight are you?
What weight are you?
How many calories do you consume each day?
Are you allergic to anything?
Do you do much physical activity?
Do you have injuries?
Do you have any medical issues?
What have you tried before?

and so on and so on.

The best advice I can give you is to seek out more knowledge on the topic and invest in your health education. Checkout exaimine.com against any of the claims made here. Buy books or even hire a personal trainer or dietician. You can also email me and I'll will happily help you out as best as I can but be warned. I will probably just do more fact finding than recommend what you could do.

Also, books such as Atomic Habits can help you slowly adapt your behaviour to be healthier.

Weight loss is not complicated. At the end of the day, it's energy balance.

That does not mean it's simple either. There is a combination of environment, psychological factors, culture and so much more that can affect your own relationship with health and fitness.

Best of luck of OP.
I use JOOQ in places as well and it's a great tool but it definitely doesn't do what JPA/Hibernate do. Different use cases...
Lots of example code leaves out error handling alltogether. Not sure what your point is.
> We never get a chance to reflect critically on our product.

Much of the Internet is built on publically available code, so anyone absolutely has the chance to critically review those projects and products. It's not clear how more gatekeeping would be an improvement; in fact, it would most likely make things worse.
It's always fun to see someone use the word "chit" for shit, and think "Oh hey that copypasta leaked out of bodybuilding".

These forums seem to collect the most problematic people from every political group and subculture, put them all together, and then teach them their own unique manosphere philosophy that is currently one of my least favorite things about all of mankind.

It's some kind of primitivist thought combined with a screenshot of a Nietzsche quote about strength and power, some pretentious militant atheism, a bit of eugenics, a lot of intelligence-worshipping, and a heavy dose of still believing in cringe culture.

Way bigger than just alt right, there seems to be a variant for every affiliation. It's almost mainstream.
I don't see anyone here questioning that you lose muscle, but questioning the idea that confining your eating to a narrow window (or a single meal) is bad.

I'm not aware of any evidence to support that. Fasting patterns have been studied, and I'm not aware that any studies on fasting have shown the effect you describe, but I've not followed the research for some years.

In terms of anecdotal evidence, I have regularly measured body fat percentage during diet periods, and I do see steep drops in body fat percentage when I've done intermittent fasting with the vast bulk of my intake coming in a single meal (2k calories plus during one period). As mentioned elsewhere I now prefer 4-5 days of drastic cuts and eating normally a few days a weak, and without confining it to a narrow period, but I also did IF for many months while at my peak of lifting both in a deficit and not, after having previously done slight deficit dieting in the past, and could compare the difference, and I didn't see the slightest hint of the effect you're claiming.
DDPY also known as DDP Yoga.

That's a very good system to lose fat. It helped me more than daily runs. And I was already in decent shape so I imagine it will work better for you.

No impact, at home, and easy to follow instructions.
The counterpoints, afaik, amounts to "it consumes tons of calories". Which in fact it does. You then also get really hungry after. And when I ignored that hunger I got sick or was trembling and cold for longer, it was purely dumb to ignore it.

People who do winter swimming are not thinner then average. People who start don't seem to be getting thinner. The advice was to be mindful of what you eat after. But never seen advice to do winter swimming with intention to get thin.
Go Gym
Do they share lanes for different directions?

I’ve read that they run so well in Norway because the goo they put on the power lines doesn’t get scraped off because they have two sets of rails, one for each direction.

It doesn’t bother me personally, I live inside the city so I typically walk or bike to work, so I haven’t followed the evolving scandal too much.
Grammar-based, generative approach to CSS in Clojure
so back to steaming + glass, thanks
> There is plenty of hard evidence

Then you should have no problem linking to it.
Doesn't work if they don't have nukes. Maybe India can play daddy?
Pure ceramic is porous, so it is never used in direct contact with food, because the food will be absorbed in the pores.

In all cookware where the body is ceramic, the surface is covered with some glaze, enamel or plastic coating, which is the material that really counts for food contact.
Previous discussion (Feb 2020): https://news.ycombinator.com/item?id=22232705
I have a Realme GT Neo2 which comes with 128gig at about 330€.
Of course if it occupies a significant portion, it would be an issue.
On the other hand when I look at the kind of updates that Steam and Playstation are pulling, 200mb feels like nothing.