skysight-inc/HackerNews huggingface dataset:
It often does not work this way in practice. The private methods may have sufficiently complex and contextual behavior that it is difficult to adequately test the private methods indirectly via the public interface. This isn't that uncommon for properly architected non-trivial classes.

In fact, inducing the private methods to be adequately tested via this indirection can require far more test code than testing directly because of the logic required to create suitably parameterized calls to the private method. It also tacitly exposes internal implementation in the test of the public interface, since this is the only way you can push parameters to the private method interface. In cases like this, you should always test the private method directly because it actually improves the abstraction of your tests away from the implementation details.
Why would someone still use this?
You cook artistically 3 times a day? One of the advantages of fasting to me is that you can eat really tasty food regularly without having to obsess over how many calories are in the food.

Personally the 16/8 never worked for me for losing weight; and I also fast partially for religious purposes. So I typically fast Mondays (i.e., eat dinner Sunday evening, then breakfast Tuesday morning).
Thanks for the downvote, but that's not what a strawman is and not what I'm doing. I largely agree with them, and "outrun a bad diet" is an extremely common expression. You'll even see I said "as they say" - because it's not the person I'm replying to who I'm quoting.
By that logic are you also condoning revenge porn and other actions which violate another person's consent? If you're in favor of it, why not own it?
people are trying to explain this to themselves because they are imagining the future where some rich guy has a hundred thousand copies of himself working on the same problem because he can afford all of that space and power, compunding ever more the already tricky problem of "you have to have money to make money".

Imagine if you had to singlehandedly compete with the productive output of a small nation to even stand a chance of competing...
If it’s a social prestige thing then you’re likely to want the latest fashion though. So… the time pressure is still there, because the value of yesterday’s fashion quickly falls.
I suppose that the graphical library simply copies the raw values to output pixels without interpreting them (as it should). In true 256 color mode (on old systems, before the effective deprecation of all the color conversion and matching routines) that would probably use the current palette. In the early 90s, if you had a lot of GIFs sharing the same palette, and knew that the program displaying them had already set it once, you could skip implementing all the palette handling.
That's definitely not fair either, as it disproportionally benefits those with more funds. Which only leads to wider inequality.
It would also be nice to load the cropped image into the clipboard so you can paste it elsewhere.

And why save as lossy jpeg if the image is uncompressed (like screenshots or PNG)
It's nothing special. Relevant part: https://snipboard.io/Izntmp.jpg
“Another tool that has become important for Ukrainians in their fight is the Bayraktar TB2 unmanned combat aerial vehicle - a Turkish-made drone that can carry small anti-armor weapons. ”

So much has been said about the Polish MIGs, but drones seem like a more effective tool. Hundreds, thousands, tens of thousands in all shapes and sizes.

Information gathering as well to remove the fog of war.

Drone GPS coordinates can be used to make low precision weapons more accurate.
The chart is misleading because it plots nominal wages[0] against CPI-adjusted cost of goods. So really, the baseline is at 0%, not the line they denote “average hourly wages.”

(The chart is still valuable for contrasting inflation adjusted costs, but its deceptive inclusion of nominal wages alongside adjusted costs clearly belies the AEI’s agenda. FWIW, the chart used to not include that line.)

[0] taken from https://fred.stlouisfed.org/series/AHETPI
I do something similar. I have a "hardened" main browser for my serious stuff and everyday browsing needs, and I have a Chromium+uBlock install, which I mainly use in Incognito mode, for sites that break in the "hardened" configuration.
China appears to be finally adjusting their course: “China steps away from Russia, finally calling the invasion of Ukraine a ‘war’”.

https://fortune.com/2022/03/02/china-civilians-harm-russia-i...
Where’s the Russia-Ukraine Cyberwar?
I am not saying IF is “junk science”. But the idea of it helps “burn fat” isn’t scientifically sound. Most studies I’ve seen saying the reason it works is because you end up eating less calories even though you’re not trying to.
Is the author saying their router's DHCP settings changed their MacBook to PXE boot over the internet, and it loaded a trojan that flashed the T2 firmware by disabling time sync and using an out-of-date signing certificate?
MangoPi-Nezha MQ tiny open source RISC-V devkit
there is one, highly effective way to lose weight

STOP EATING

that's really it, if you can't grasp this concept you will not lose weight no matter how many 'tricks' you attempt
It is not clear from the advertisements of the vendors what kind of material is used for the so-called "ceramic" coatings.

I believe that they use the word "ceramic" to say that the coating is not made from an organic polymer, like Teflon, but from an inorganic oxide or mixture of inorganic oxides.

The correct meaning of ceramic is a material that before processing is soft and plastic, so you can give it any form you want. Then, after heating at very high temperature in an oven, a.k.a. burning, the finished ceramic product becomes hard.

I am pretty certain that this is not how the so-called ceramic coatings are made.

The cookware that I have seen with "ceramic" coatings had bodies made of aluminum. So I assume that the "ceramic" coatings are mostly of aluminum oxide, probably grown electrolytically or chemically.

True ceramic products consisting mainly of aluminum oxide are very common, so I assume that this is why the "ceramic" coating vendors use the word "ceramic".

Alumina, a.k.a. aluminum oxide, is inert enough in most conditions to be safe for food contact, even if not as safe in contact with acidic juices as glass.

As always, the base material is less concerning than the possible existence of undisclosed additives.

It is possible that the so-called "ceramic" coatings are perfectly safe, but nevertheless I would not buy one unless the vendor would state clearly the composition of their "ceramic".

I have seen too many contrary examples in the past, so that I cannot trust anyone who says "Trust us, it is good for you", without providing additional relevant information.
check out https://alda.io/ - it takes some form of music notation and plays it using general MIDI synth
I recommend RecipeSage (https://recipesage.com/).
Mtw(4), a driver for MediaTek MT7601U Wi-Fi devices OpenBSD
Ya the key to not eating thousands of calories in a single sitting is to just stop after a single serving
https://news.ycombinator.com/item?id=30626772
It doesn't sound sophisticated as it doesn't take P=N=0 into account for example. Yours is much better :)
What is the main mechanism behind the claim? I've heard it may have to do with the fact that catabolic conditions correlate to a longer lifepan. With that said, I'm sure there are people who (at least occasionally) want to be in an anabolic state, so I wonder how to balance those conflicting goals. E.g., can you get similar effects by creating a catabolic window for a few months every year?
It's also telling that, in the article, the only thing he suggests he might have done differently is ask people to register on the site. Like user registration was the thing that people were concerned about. Oh and of course, he bears no responsibility. Naturally.
https://cosmosmagazine.com/science/physics/future-of-physics...
Ok, so the above recommendation doesn't work for you, just ignore it then.

What you are saying doesn't apply everywhere, and I doubt it applies in most places around the world, since shelters usually have way too many dogs and would love to be able to find anyone to care for them before they have to effectively execute them.
> $5 million have been allocated to de-extincting the Thylacine ("Tasmanian tiger")!

"They were so busy thinking about if they could, that they never stopped to think if they should"

- From the movie Jurassic Park, talking about exactly this. And yes, I know, they thought about it.

OT, the movie Jurassic Park made genetics and paleontology exciting, and afterwards the fields both saw a huge uptick in majors. What we now need is a movie that is really exciting, whose heroes are entomologists (bug scientists)
I can’t remember the acronym right now (and am too lazy to search through my scripts to find it), but there is an older banking standard that can be used to download transactions.

Some regular banks support it, you can use your existing credentials, and there are Node.js libraries for it. Downside is the metadata is lean. I think there’s a ~10char limit on the description? Like you get “2021-11-01 14:35, LONGNAMECO, $500” and that’s it. Don’t quote me.
> because the efficiency is horrible, 10-30% depending on who u ask

You mean the electrolysis efficiency? There are examples of up to 70% on the lab, but it was never economically important to optimize it.
I love my lodge pans. If you properly clean and oil them, they are as easy to use as non-stick alternatives. For a long while, I didn't believe this, but then I used my parent's pan one weekend, and it was a revelation. Turned out I'd never properly seasoned / kept my pans seasoned.
I’m pretty sure that people who are super thin and fit don’t have any one weird trick, they just have been constantly exercising and counting calories and monitoring their weight for years or decades. There’s a fine line between being a health nut and having an eating disorder, especially in an environment where you are constantly surrounded by dirt cheap junk food. I mean I’m always, always dieting and running just to stay the same weight. It’s a red queen’s race. It's not all or nothing though- put in a moderate effort and you'll be rewarded by being moderately fit. And that's worth doing, for sure. You do feel a lot better when you’re thin and healthy. But there's no magic bullet. Don't beat yourself up for not looking like a movie star- those people spend an inordinate amount of time and effort being good looking, because that's their job. Also don't imagine it's easy. But it's definitely worth doing anyway, even just a little. You get moderate results for moderate effort, and that's ok.
Also “China steps away from Russia, finally calling the invasion of Ukraine a ‘war’” (https://fortune.com/2022/03/02/china-civilians-harm-russia-i...).
> Oh please. DHH was not cancelled.

Oh yes he was. In the most awkward and cowardish way.

> He was simply asked to share the keynote with other speakers.

You know that's BS but wokey-pokey will always try to reinterpret.

> Please go hang out on 4chan instead.

I don't take advise from crybabies that are easily offended by everything. You cloak under the cover of being tolerant though in fact you are only tolerant as long as the opinion is their own.
I bet you are crying now that you are not admin on this site so you can cancel every post you don't like.
Unity has many more features, a much wider community to look for answers to issues you come across, supports consoles out of the box, and has an enormous asset store which can save time.

That said, I prefer Godot.

Firstly because it's free and open source. That's a big deal to me, though I get it's not a priority for most people. I've contributed to the Godot source, and frequently compile my own custom builds with new C++ modules or experimental edits to the code (which is relatively straightforward, even for someone like me who hasn't touched C++ in about 15 years).

It's also a lot quicker and more self contained than Unity, which takes forever to open a project, forever to compile your scripts. Godot is lightning quick by comparison, even when using C#.

Unity has more mature and polished features, but it also has a lot of redundancy, for every feature you have 2 or 3 options of "legacy" or "experimental" versions of that feature, and it's often unclear which is the best choice, having to navigate through a huge list of packages, and googling for blog posts and documentation about things but being unsure which "version" of a feature is being referring to.

The asset store in Unity might be huge, but not all of it is high quality, and often expensive. You might pay a chunk (not huge, but not pocket change) for some system or framework that looks ideal on the marketing page, only to find that whoever wrote the scripts weren't really thinking about flexibility for your use case, and wastes time that you were supposed to be saving by paying for it. Godot's asset library is much smaller and mostly confined to scripts and tools, rather than models and textures, though there is some of that.

Godot has the same issues any MIT, volunteer-led open source project has: incomplete features with weird UX, features that get bumped back months or years because the dev who was working on it in their free time no longer has that free time, lack of real b2b level support for a commercial project. But for me as a solo, indie game dev, it's kind of freeing to be a part of that and to get involved in the community and the engine internals in a way that Unity gives you no access to. Ok, I can't ring up a case manager for my account and get an answer about this or that Godot feature, I can go on Discord or Github and maybe get an answer if the right person is looking, but more importantly I can just go straight into the source code and understand it for myself, and even tweak and fix it in a way that is truly free.

I've also found that once you get used to some of the UI/UX jank in Godot, the design philosophy of how things are structured conceptually is insanely productive. Unity is a hot mess of menus and panes, loading bars and modals, prefabs and components. Godot just gets out of your way - in part because it has fewer features, but I've yet to find something I wanted to do where I couldn't do it - just sometimes it takes a bit of creativity with the tools and API.
Untangling Race from Hair
Lots of old glazes used lead, so this isn’t always true. Can’t always judge by words or even appearances.
Indeed. I often skip breakfast without issues, but I once attempted to do this on a cycling holiday where my morning consisted of cycling at a moderate pace for several hours and I ended up collapsing asleep at the side of the road for about half an hour, then continued very slowly until I could find some food. What you're doing can have a big impact on how much food you need.
Question for anyone who might know: what are the benefits of intermittent fasting for those of us who are really thin, and having trouble keeping on weight with an already well-balanced diet?

I have a lot of nagging aches and some minor chronic health issues. Is there research on any effects there? Because as it is, I have trouble eating enough to power my moderately active lifestyle.
... most of them?
> She could have sued these men for child support and possible ruined families and these men's lives.

If the men had families, then they the men would be the ones ruining their lives. Seems like they escaped accountability for infidelity and left the costs to the tax payers.
Anatomy of an AI System (2018)
I've seen this consent manager recommended: https://github.com/kiprotect/klaro
I think just getting rid of the habit of stocking up snacks at home itself might help immensely in scheduling meals.
I remember downloading the BOB_89A.GIF file from a local BBS eons ago. I've been trying to find it again for the inevitable pronunciation war threads. Now it looks like the text overlay component that was part of the spec is hardly supported anymore.
Here in America people make cars a part of their identity and one of the questions you’ll often hear (maybe after a few conversations) is “Do you drive?”.
I would welcome this making its way into ECMAScript not because I like TypeScript, but because it's a drag to see TypeScript enthusiasts litter the JavaScript ecosystem with all of the piles of bolt-on TypeScript baggage.

Forking projects just to add type definitions, or else mega repos like DefinitelyTyped madness; bringing all of the terrible complexity that we love to hate in Webpack/ESBuild/Rollup/etc back over to Node.js with server-side tsc; drive-by PRs to all my open source projects from inspired people trying to add types and me having to disappoint...

I would gladly do without all of that. To me, I see the TypeScript tradeoff as coming with only marginal upside, in return for a large downside as described above. But, others passionately disagree and see a huge upside, and that's cool.

In the end, I want us all to be happy, and I think this proposal would have hope getting us there. For this to be really spec'd and standardized would be a green light even for skeptics to invest in deeply learning and internalizing. To get to avoid yet another build-time compilation step would be bliss. To have us all back in on the same team would be glorious.
Seems more like an ad + paranoid rambling?
I can honestly not tell if this is a serious issue and is going to be the biggest negative Apple news of the month, or if it's the rantings of an attention-starved person with paranoid schizophrenia who believes the whole world is after them (and of course wants to promote their new cryptocurrency).
Ask HN: What are some effective ways to test cloud-native applications?
> we hired an earlier career engineer whose initial project was to handle all incoming provisioning requests

So many places do this and it's such a waste. Early career engineers have the most to gain from high-quality experience, yet they're the most likely to be assigned shit-shoveling tasks.

I've interviewed a lot of candidates with 2-4 years experience at prestigious tech companies who have no technical accomplishments they're proud of.

Take two new grads with similar attitudes and academics. Put one on a team that assigns them interesting, challenging tasks that stimulate their growth. Put the other on a team that assigns them an endless queue of "service provisioning requests." Come back in ten years to see where they're at in their careers.
Half glass full / empty : so many things deflating all the time: moore’s law, internet information, open source software, incompetent people getting fired, cheaters getting caught, brain drain from poorly managed states.
Every time I've been in a "notice period" (changing jobs internally, or going elsewhere), it's been all about handing-off whatever I've been working on to whomever is going to take my workload
If I skip breakfast I often eat like a maniac come lunchtime if I’m not strict with myself
I am not sure how this is getting so many upvotes, but the claims in the readme do not appear to be supported by evidence. Those claims are so extreme that they are simply not believable without much more evidence, rather than what is in the readme which appears to be mostly rambling or attempts to get readers to look at other projects of the author.
Vladimir Putin Lost Interest in the Present
Thanks for the feedback! We can definitely produce a shorter demo video that provides a basic walkthrough of how it works without going into tons of detail. The one we produced for this was more of a live-coding dev walkthrough.

As someone who prefers reading text over watching videos, I can commiserate with you ;-)
Often in CS security, it's both.
Biden Restores California’s Power to Set Stringent Tailpipe Rules
Sure, if you buy used enamel you can even get uranium. Which looks lovely but I wouldn't cook tomatoes in it.

This is why I specified "buy from a reputable manufacturer" because there is no risk of this whatsoever if you get contemporary / new cookware from the indicated regions; that list isn't exhaustive but I stand by this: any cookware you buy new from EU, America, or Japan, will not contain lead in the glaze, or anything else you wouldn't want to eat very small amounts of.
Get a $300 Oculus Quest 2 and buy Thrill of the Fight for $10. It’s the most intense short HIIT workout I’ve experienced. It’ll blow your mind.

Also get a pressure cooker and use it to make seasoned unsalted black beans at the start of every week. Use them to substitute all your white carbs. You can read Gary Taubes book Why We Get Fat to understand this mechanism and how low GI helps.

My goto for the past years is 30 mins of yoga every day but that unfortunately requires consistency and is a time commitment. If you want to go this route, don’t bother with classes. Just get the Beachbody app and do the 3 Week Yoga Retreat which will teach you everything you need to get started and give you a solid foundation.
Otherwise you've got Bazarr which fits into the whole *arr stack
There's a summary of methods used on Wikipedia

> A general scheme of geometric constraint solving consists of modeling a set of geometric elements and constraints by a system of equations, and then solving this system by non-linear algebraic solver. For the sake of performance, a number of decomposition techniques could be used in order to decrease the size of an equation set:[8] decomposition-recombination planning algorithms,[9][10] tree decomposition,[11] C-tree decomposition,[12] graph reduction,[13] re-parametrization and reduction,[14] computing fundamental circuits,[15] body-and-cad structure,[16] or the witness configuration method.[17]

https://en.wikipedia.org/wiki/Geometric_constraint_solving
especially now where in all likelihood you are going to overpay for the property, and at anytime the government just decides that your tenants can stop paying rent for a year or more, but you still need to make your mortgage payments, property tax payments and keep insurance and the heat on etc.

Some people do well with rental properties over the long haul, I wouldn't touch it with a ten foot pool these days - especially if you live in a state where tenants have more rights than the owners of the property.
Not only that. He is saying, I quote, "This was an intrusion by the Mexican Government".
Right battery chemistries with right thermal management and especially right software would work well also in cold climates. Bjørn Nyland from Norway tests a lot of this stuff on youtube.
Honestly, it boggles my mind how someone can eat even a modest amount of fruits, veg., legumes, and whole grains alongside a generally healthful (not necessarily low fat, but healthful) diet and stay overweight. Not all of those foods every day necessarily, but I ran the numbers, and it just doesn't add up. Every chronically overweight person I know, once I know them well enough, seems to be putting down 500 kcal./day through some guilty pleasure like that pint of ice cream in the freezer, a super sweet creamy coffee drink in thr morning, a big slice of chocolate cake with lunch regularly, a large glass of wine with dinner etc. And it's almost _daily_.
Paranoid delusional ramblings of a mentally ill blockchain-obsessed developer, still recovering from cancer treatment (if that’s true)?
Insulin isn't evil, it's a fantastic hormone which allows us to rapidly lower excess blood glucose and store excess carbs efficiently. It allows us to recover rapidly from exercise and make use of excess food in times of plenty.
The people gleefully cheering on the 70+ year old doctor's death aren't good people, but you knew that.
I try to eat at lunch and at 6 in the evening, cut down on the carbs, and exercise in the morning when levels of stored glycogen is low to get the body to burn fat. But I haven't been at it long enough to say if it works well.
If you read the post the timer from the race flagged her and the event owner said she could stay in.

So the system did flag her and those in charge ignored the recommendation of race officials.