skysight-inc/HackerNews huggingface dataset:
I still recommend it on Mac because you can manually fill in your location. Mac OSX temporarily disables your WiFi in to figure out your location, which can cause stuttering in live streams. With Flux you can also switch the dark theme of Mac, so it completely replaces Mac implemention.
The concern about aviation is not so much today (being responsible for of 3.5% climate change)

https://research.noaa.gov/article/ArtMID/587/ArticleID/2667/...

but tomorrow, in that we expect a lot of growth in aviation. That might not be the case, why take a lover for a weekend to Paris when you can go to Montréal? A nuclear powered aircraft carrier could synthesize jet fuel from the ocean and atmosphere and even if it is $15 a gallon it is a bargain -- so the US Military sponsors this kind of research.

The best case for carbon capture now is this technology

https://en.wikipedia.org/wiki/Bioenergy_with_carbon_capture_...

applied to sugar cane alcohol factories in Brazil. You can catch CO2 from fermentation and not have to separate it from N2, compress to 1500 psi and inject into a saline aquifer. Those bioenergy plants are much better than bioenergy plants in the US by any economic or environmental metric. They'd have to get paid something per ton of CO2 captured to make it worth it. This industry is located close to populated areas such as São Paulo and does no harm to rainforests that Brazil must also protect.

Another case is the petrochemical industry in the southern US where CO2 streams are abundant and could be aggregated for scalable saline injection.

Any sort of space manufacturing will require a "circular economy" for carbon (it's precious) and whatever passes for a "petrochemical factory" will produce CO2 and that needs to have energy put into it into some form that can be put back into the "head end", methane would be great. The unique opportunity there is very high temperature chemistry with 24-7 sunlight concentrated with metallized plastic membranes made from the produce of the "petrochemical factory".
Well, vkontakte is the local fb equivalent. The rest is google translate if you don't know the language. I'm not even sure how do you mean to understand an entire culture without bothering to learn its language because everything you learn will be biased due to many factors: translators, curators, survival bias (you will learn only from english speaking russians willing to talk in english).

Maybe try to find russian movies and books translated in english and maybe some russian music, but it won't be a comprehensive understanding.
JP Morgan reckons things will be back to normal by 2025. I imagine the war in the Ukraine and its impact on neon production (necessary for the lasers that are needed make chips) will push that out a bit further though.

https://www.jpmorgan.com/insights/research/supply-chain-chip...
OK that helps me to understand why tensorflow is called what it is - if a tensor turns a set of vectors into a scalar that's exactly what an artificial neuron does with weights and inputs, and they are linked up to form a data flow graph.
Maybe a special string flag like “use strict” — “use types”?
When you eat a plate of food. Always leave one spoonful uneaten.

Not only will you drop a few percent off your daily calories, but we are conditioned as children that we cannot leave the table until we eat everything on the plate, which apparently damages our ability to recognise being full.
Leaving a little bit each time does seem to help break down that conditioning over time. You don't need to finish it all.

Other tips to feel full sooner, take longer to eat something and precede meals with a glass of water.
This is like saying compare the lines using generators or proxies vs the lines using type annotations.

Just because a feature is not widely adopted it doesn't mean that is not useful to the people using it, especially when the feature is used to mitigate the entire "cannot find property of undefined" type of errors.
And most of the developments in Java, since 1.8, have been taking ideas from other languages (primarily Scala) to make the language better. Why is it ok for other languages to evolve but not Javascript?
Private methods shouldn't be tested, and if you feel like they need to be tested then chances are your private methods should be public.

I've seen private methods used within internal projects at companies, and admittedly I've created many private methods in this condition, but unless what you're shipping is a library then what exactly is the point of making your methods private? To stop the developers from misusing their own code?

For the most part, I sometimes use private methods in my own projects as just a way to make it more immediately apparent that something is just supporting code for something else. If no one else is using the code as an API, and it somehow turns out that the private code needs to be tested directly, it becomes a candidate to be promoted to public because there'd be no reason for it to be private at that point.
So, this app does what an iPhone/iPad/MacBook does out of the box: True Tone [1]

[1] https://www.imore.com/why-you-should-use-true-tone-your-ipho...
Exercise. Eat right. QED.
Who would interview with a company again after this nonsense though? I would hope candidates view of said "cool off" period is that it is a permanent one. The arrogance of these recruiters is astonishing.
I run a site that’s 6 years old and has about 1,000 active users in a week, and 100,000 lifetime users. Maybe that’s considered small? People create images on it, and I store those images. But how many GDPR data requests have I had this entire time?

0.

Not a single one.
Code coverage covers package private classes too just like it covers public methods. When I say public I mean public. Parent class too...

Yes. Ideally you want high coverage of integration tests. If you're going for best quality then sure. The high coverage of unit tests is valuable since we don't want to fail on integration tests. We want to fail on unit tests (easier to trace the failure, faster to run).

Private methods by definition are not an abstraction. Testing them makes absolutely no sense. They are either reachable or they are not.

The one reasonable argument is that it's hard to create a synthetic test that will reach some private methods. That's a valid claim but that's why writing tests is hard. Going directly to the private method is "cheating" and will cause code rot since again, it breaks coverage.

This goes beyond private methods. Say a branch is never reached through a public interface but you test it in your unit tests since you don't know. This aspect is completely hidden from you.

> To convince those who disagree with you, you'll need to make a case for why private methods should in fact be held to a different standard than other levels of encapsulation. I'm open to being persuaded on this point but I can't think of an argument that convinces me.

Encapsulation literally defines this as a core principal. If you don't accept that then you don't accept the most important concept of OOP.

You're thinking about this in the wrong direction. If you want to break encapsulation you need to come up with an argument that's better than: "It's easier for me in this specific case".
Caloric Deficit. Burn more calories than you consume. Eat less or do more work.
It's interesting you read that as blaming the West. The article literally starts out calling the Russian invasion of Ukrain illegal and condemns it unequivocally. That doesn't mean the West's actions were not escalatory. When you lead a country with promises of NATO membership and protection, actions you KNOW will be provocative, you better be prepared to defend it. The West did not do this.
It's good motivation to start using client certs instead of passwords.
Kamil Galeev about mafia and Russian gov/leadership as such
... Mafia is quite simple. It can't administer something complicated without either destroying the production completely or evolving to something that wouldn't be a mafia anymore.
...
It's an operator, and in C++ operators are basically just functions with some syntax sugar because of the extensive overloading.

However, C++ doesn't have a single base class, so by making new an operator, it has a default implementation in every type whereas there is nowhere to write a function with that behaviour.

This doesn't matter for malloc because C doesn't have a type hierarchy.

Edited to add: std::make_unique always makes the thing std::make_unique wants to make, you can't overload that for your new type where it should do something else.
Happy to see where this has ended up. Congrats on the launch.
Dioxus v0.2: TUI Renderer, 250% Faster, Router, Global State, Dev Server
> They are so adverse to exercise, that suggesting exercise seems offensive to them. They emphasize that it's entirely about diet.

Disagree completely. Exercise does not lose weight. The amount of exercise one needs to lose the calorie gained from a burger is not possible to achieve on daily basis. Weight does not just come from air. It's all about what you eat. That's the science.

Exercise helps to build muscle and good health, not reduce body fat. Period. So eat less calorie and not junk/packaged/sugary food. So yeah "just eat well and exercise".

I exercise daily and it has only increased my appetite, I eat more than when I did not move much. The desire to eat is related to habit too. When I eat more it increase the craving and when I stay away from junk food for a long time, the cravings goes away.
> They are following the profit like any corporation that wants to make money would do.

I hate how this trope is pulled out all the time, as if being a for-profit company requires them to abandon their morals.

Which is patently false. A corporation can both have morals and make profit. Even public companies.
In the context of calories burned, most people in office jobs will fit firmly within ranges usually given for sedentary people. It takes a lot of physical activity outside of working hours to make up for an office job.

E.g. for me, an hour of high intensity exercise five days a week still placed me firmly in the sedentary range.

Part of the issue is that we tend to "forget" about the hours spent at work when evaluating if we consider ourselves active.
Along with questions I also pile on absurdities - I take their reality and add more to how it should work - that make them have to explain the canon

For example, to flat earthers I would say “gravity works because of the 6 magnetic poles, which we could verify if the UN gunships let us past the ice walls” and theyd be like “exactly, the UN! 6 poles?” and I would keep adlibbing from there until I start questioning my own sources and describing a spherical rotating reality
The answer isn't to change web standards but to abolish GDPR. If you think GDPR has done good to anyone besides bureaucrats, I've got an EULA for you to agree to.
If I could use uBlock Origin on Safari, I'd try this.
Tesla to pay Ukrainian employees for up to 3 months if conscripted to fight
So this is one area where I think TypeScript made a mistake: it added syntax that wasn't compatible with Javascript. This means you couldn't seamlessly support JS and TS with the same repo.

Wouldn't comments be a better solution to this given the legacy?

Here's what I think the type system should allow at a minimum:

1. Scalar types (number, string)

2. Common union types (eg something that could be a number or a string)

3. This is a big one: nullability should be part of the type system;

4. Object typing that includes mandatory and optional keys and their legal types;

5. Array types (generics);

6. Dictionary types (generics); and

7. An unknown type (like "mixed" in Hack).

Part of this is you need the option of preserving types at runtime and doing runtime type enforcement. This should be optional to generate a "debug" build and can be stripped out. You should be able to assert types as well as turn on automatic type checking on entry and exit to function calls as a method of finding bugs.

These errors should also be available as a warning (ie print to console.log) or an error (fatal).

Lastly, you should be able to easily write a type error handler to capture such violations.
Up and down the votes do go,

Ew! Gross, down you know,

Ha, right, up they sow,

Digust is truth's foe!
I use redshift (haven't tried f.lux) and works great. I use a constant 3000K temperature instead of location/time based changes.
I agree. The TC39 committee process has had a lot of advantages in modernizing the language, but in the last 3-5 years we've seen the pace of merging new language features grow in an unprecedented fashion. There are advantages to evolving the language but there is also a risk that the syntax becomes bloated if there is not enough deliberation within the standards process.
Data Visualization Standards – US Census Bureau
Agreed on both counts. For me types are not very useful for catching errors. What they are extremely useful for is documentation and navigation of code. Primarily other people's code of course but also for my own code once a certain amount of time has passed.
Drink 1-gallon of water a day, it's healthy & satiating

Get a kitchen-scale, it makes tracking serving sizes/portions 20x easier & accurate
That extension looks to be a complete restyle of HN, which is probably why it was not interacting well with Dark Reader. I don't know what features you're looking for in the extension, but there's another called Refine Hacker News which adds features but doesn't change the styling. It does work well with Dark Reader.
How does practicality mean that a policy isn't homophobic? This is actually one of the more clearly homophobic things I've ever seen. It's pretty clearly motivated by fear of men who have sex with men.

Most of the homophobic is used it's used to describe a situation where somebody isn't actually afraid of gay people.
Realtime Games for the Web with WebRTC and Hasura GraphQL Subscriptions
The old saying that "its expensive to be poor" holds true in almost every scenario.
I can't stop laughing. I was going to open the comment section and say there are no tricks, you just need to decrease your caloric intake and increase your caloric expenditure. But this comment thread is so full of tricks it's hysterical. Thanks guys!
Even developers who "don't make type errors" have to deal with bad and unexpected data, which may be in a different type.

If you don't validate that all untrusted data is off the appropriate type, security vulns or "garbage in - garbage out" bugs can result.

Then if you do manually validate the types of untrusted data, then you have to wonder of having built-in type support might be faster.

"Bad data" doesn't just come from the outside world. As teams start to use shared libraries written by other people, it's also valuable adds guards to ensure that shared functions are being called with the expected types.

My own experience is that it doesn't feel like type-related bugs come up often on my team, but when they do the problems they cause can be bad enough to make us wish more of our code had been ported to TypeScript.

Classic example: a CSV parser parsed numbers as strings because a particular spreadsheet quoted the number column. Result: "2"+"2" = "22"
Yep... putins relatively fresh war is guilty for a year of price increases due to massive printings of money... CNN!

Otherwise, what i find most sad is, that people are cheering the printing of money (because they get handouts), but "in the end" (which is very soon after the handouts), they lose the same amount of money in price hikes everywhere due to inflation, and large corporations (so the ones that get the "free money" from the people to sell them stuff) profit in the end.

Also the propaganda machine is helping the pumping-up the prices... first they talk about the higher prices of everything because of this and that (covid, putin, war,...), people then expect higher prices, and even if the current wholesale prices are still low, the sellers will raise them, because the media told the people that the prices will go up, people blame putin (and not the stores), and why not take advantage of the situation?
Except it's been doing it for over a decade before Apple did.
As a meat fan, and also an Earth fan, this is something I've always wanted to see happen. I've mostly fallen on the Earth side of the fence, which means I've been vegetarian-ish for years. I would love to be able to eat what I want without the climate guilt. Glad to see this tech is getting closer towards market, and I hope your business is successful.
The government cannot anyone to work without pay.

This seems obvious but it is a constitutional right that has been cited as a reason to not comply with extra-judicial pressure to assist the government with an investigation.

This is why some projects do not accept donations and have a canary.

Had the authors of Truecrypt been paid, they could had been compelled to modify their source code to the government's will.

By not accepting payment, they are protecting themselves.
Well, I remember a time when Disney was producing nothing that appealed to viewers and I'd argue that the parent company "lost it's heart" back then. Purchasing Pixar was the influx of "new heart" that relaunched their popularity. Buying rights to the Star Wars and Marvel stories has reconnected the company to the hearts of those who grew up with the nostalgia for those storied brands.
bringing in tooling to eliminate an entire class of potential errors sounds sounds like an easy decision to me.
Sure, but how much effect do all those "side effects" have in comparison to a significant calorie deficit or surplus? How applicable are those effect to the average person who wants to keep their eating to something relatively simple?

Do you think that any of those effects will be enough to maintain your weight if you consistently eat a 500 calorie surplus?

My issue is that a lot of people start doing "intermittent fasting" (less than 3 days) thinking they can eat all they want during the eating period, and that they will benefit from the fasting health effects shown in mice studies, but neither is true.
You don't have to manage every feature in babel individually, just target browsers with babel-preset-env. Then there's not anything you have to do when new features get added.
Fasting.

You can train yourself to go from 8 hours (sleep) to 16 hours pretty easily.

Once you get to a point where you can one-meal-a-day comfortably, then extending this to a 48hr fast once a week becomes relatively easy too.
I would say get checked by doctor/Endocrinologist and do the relevant bloodwork (Esp. Insulin levels, thyroid, etc). A family member is overweight and nothing changed even with diet changes and regular exercise. It took a long time to find out the root issues (especially Insulin resistance). Once we got the root cause, they put the member on Wegovy (weekly Injection) and started a low carb diet and exercise. It is amazing to see the effect Wegovy has taken with the member's weight loss. Couldn't recommend it enough now for people with genuine weight loss issues.
Fired Up to Invest in East Fork, a Company with a Mission
Reading the oxygen theory, there is several points which to explain why A) it won't work, B) it is dangerous, C) oxygen is still great when used for other situations.

When you switch air to 100% oxygen, the primary effect is that the gas you breathe in do not have any of the non-oxygen gases. For carbon dioxide, this is about 0.04%, which your lung increase during exhale to 4-5%. The gain thus is those 0.04%, which isn't significant enough to do anything.

When we breathe in a gas the exhale matches rather closely what we breathed in. If it is air, the exhale will be 78% nitrogen which matches the 78% nitrogen that went in. Out of the 21% oxygen, about 17% will go out, together with those 4% carbon dioxide. the remaining 1% will be mostly argon, neon, and other stuff.

If we take in 100% oxygen, 4% will be metabolized into carbon dioxide and ~96% oxygen will go out during exhale. There will likely also be a small portion of nitrogen, but I don't recall how much if a person is fully decompressed to begin with (ie no diving, no climbing, no air travel, no change in elevation). Metabolizeing of oxygen generally do not increase in any significant amount with increased pressure.

But not only won't it benefit weight loss, pure oxygen is dangerous. The more oxygen is circulating in the blood, the more it will react and creating oxygen radicals. Too much and some very nasty effects occurs to the central nervous system, lungs, and/or eyes. People trained to deal with elevated oxygen exposure need to closely monitor the pressure and the exposure time (hours, total for a day, total for a full week).

Oxygen is however a great tool for other uses. One can use it to decrease nitrogen uptake when people are under increased pressure, and also help decompression of inert gases. During disease and injuries, the increase oxygen in the blood increases the odds that the cells can still take in oxygen, reducing cell death and improving outcomes. Oxygen is also used by the immune system, through there is a lot of unknowns there when it comes to over 21% in 1 ATA. Great stuff during specific circumstances under the right management.
I should have been more specific. I'm interested in a 'crash-course' kind of way. Mostly to improve my understand of social, economic and political views/pressures/ideas among the populace. Definitely interested in cultural views too, although learning the language won't help me in the very short term.
I don't doubt that there are genetic and biochemical factors which rule how much we desire food and how often we'd like to eat. I'd go as far as to say nearly every impulse we have can be traced back to a genetic predisposition, one of our greatest gifts as humans is our ability to fight our genetic impulses.

I really love recreational drugs, cannabis and cocaine especially, and I'd hazard to say that part of the reason I enjoy them so much is due to a genetic predisposition. It takes a tremendous amount of willpower for me to control when I use and how much I use, while other people I know can smoke or party once a year and never feel an inclination to otherwise.

I don't think coddling overweight people and telling them that they're only overweight because of genetic and metabolic factors is anymore beneficial than telling an alcoholic they're only addicted for the same reason. Everyone has a cross to bear, and while some are heavier than others, I think it's defeatist to tell people that their obesity (or their addiction) is an innate part of who they are, not a challenge they can overcome.

Obviously I'm no expert, these are just my individual thoughts.
put on the table all the food you rationally decided you need to eat and never touch the fridge/cupboard again. Focus on other things: food is not a pleasure when you're losing weight. It should be considered just a fuel
Even if the usual toolchain of web development doesn't get bloated too much from an additional step of transpiling typescript to javascript, this would be a welcome addition for those that use tiny bits of javascript here and there. I have small apps where I don't minify the code because it just isn't worth the trouble. But having type checks would make it less error prone.
> It seems weird to add all this syntax and not have any way to leverage it during runtime.

Just because they're not leveraging them today, it doesn't mean that they won't do it tomorrow. If a proposal requires a big effort to implement it, it will probably never become adopted.