skysight-inc/HackerNews huggingface dataset:
I would assume that the consensus is clear these days that swap is good and should be enabled for most cases for Linux > 4.0.

Of course, real-life often is different than theory. Does your machine have a spinning disk or an SSD? I am much faster to enable swap on an SSD, since it won't be painfully slow, should we ever get into a situation where our RAM is saturated.

What happens in cloud VMs? These things use a network disk storage (transparent to us), and often writes need to be sent over the network more than once (for redundancy). How extensive swapping would behave in such an environment?

As for saying no, it's important to set some rules to avoid chaos, but it's also important to trust our senior people to take decisions. If they need to go against a rule, I would expect a good explanation in their commit —because, infrastructure as code— and documentation. If a junior wants to go against a rule, they can consult a senior. Issuing a no and expecting everyone to follow it blindly, is the worst form of micromanagement. :)
Check your source. I believe the constitutional power is to regulate interstate commerce. There is a conceptual difference (or there used to be). Traditionally, this power isn't supposed to apply to all aspects of the market -- just those aspects conceptually bounded by trade that is between states.
Which dystopia do you live in then a Marxist approach isn't going to work.
And, well, the question is also about the scientific-evidence-based that are lacking medias that incidents have been misleading for a large part of the population.

Coal is killing hundreds of thousands of people per year, as so alcohol and smoking do. Even if - fact based - nuclear incidents produced only thousands of deaths (not yearly, but in total : nearly 0 for Fukushima / https://en.wikipedia.org/wiki/Fukushima_Daiichi_nuclear_disa... , questionable for Chernobyl, etc.); people are really scared for "media"-related reasons.
I think there's been a few of these privacy-focused journals:

https://penzu.com/
https://280daily.com/
https://standardnotes.org/
Those aren't back doors. They're front doors for democracy and freedom. [/s]

We can't expect media to be entirely neutral. Both sides will tend to focus almost exclusively on their own achievements and the other's failures and mistakes in order to maintain the balance. It may be a good idea to read both sides and then "average out".
Well, if he removed endless scrolling, which should be listed as a deadly sin somewhere in the bible, I might humor him.
Relevant thread on the same topic https://news.ycombinator.com/item?id=20369960
You would think so, but as Rachel points out the Linux kernel displays some pathological behavior with noswap that even a tiny amount of swap lets it get around. Something weird is going on in the memory management code.
And have regular blood tests and take your vitamins to keep your biochemistry at the right state.
Huawei has been caught doing corporate espionage many times, and treating its employees poorly. It’s always such an uphill battle to get people to realize that competition with China is different from democratic countries. It’s easier to believe that it’s just racism and bigotry than it is to accept that Chinese companies compete on uneven footing.
Why aren't Apple worried that this'll incentivise employees to leak insider information to grey-hackers who'll share a cut of the reward?
I'd love to see a comparison of new EPYC vs Intel on database workloads. Acc. to recent anandtech article, which quotes Intel, memory access can give large edge to Intel.
Newspaper articles, especially pre-internet era, require an attention span longer than 3 seconds to get through. Content had an editorial process, a physical body was held accountable for content. There are tons of differences that make a newspaper a better media for your brain to consume.
It's interesting that the fate of our existence on this planet and the future of our descendents is all about whether or not we manage to make plant matter tasty enough.
Then you can not force people _not_ to eat something.
> Features - bundles, snoozing, reminders, dark mode, bulk actions, undo send, custom backgrounds, templates, & much more.

Some of Inbox's features you have mentioned are available in Gmail now.
"If it damages the world or society, then why not? "

Please open a history book.
AMP4email Builder on Product Hunt Today
Hello everyone! Is it possible to ask you to support us on Product Hunt? Stripo https://www.producthunt.com/posts/stripo-2-0 is the first email editor listed by Google as a tool for creating AMP-powered emails. It's free and doesn't require any HTML skills. We would appreciate your honest opinion and support. Thanks!
Same, I use crossed 7 and z, but I think of them as French (which was my first foreign language at school), and started using them in A-level maths (UK).
My journalism ethics class did open my eyes to some things. However, when the industry itself ignores the ethics taught in the classroom and demands its cogs do the same, then no matter how good the class may have been, it's not going to win over a boss deciding to behave unethically.
Ship it all and let Wireshark sort it out.
What and how Russian government knows about any one
Exactly, something to bring to light. This is what I link to in the post: https://ourworldindata.org/what-is-the-safest-form-of-energy
Show HN: I built a poker site with Haskell
I dunno, it has a certain kung fu movie cachet.
I think most of the people finding themselves here would be in the “I wait on my computer several times a day” category. Data science and local compilation will see benefits for any amount of core scaling. One could argue all of this could be done on a server using a remote terminal, but that isn’t how many workflows are set up.
Ok well at risk of being cease and desisted again by FB, in addition to them doing facial recognition - they take pictures and track every vehicle that drives by their HQ and report all those license plates back to Menlo Park.

Its an invasion of privacy of all cars and drivers in the vicinity and should be illegal.

Fuck facebook.
Actually in recent decades its rapidly developing countries like China and India that have seen massive increases in meat eating.
Right, about the fusion reactors, I should link to this, too:

http://blogs.discovermagazine.com/crux/2019/02/26/molten-sal...
I replaced my Thinkpad USB-C charger with one of these when the business end got flaky (had to be bent a certain way or it wouldn't charge). Expensive, yes, but higher wattage, more compact, and detachable cable so next time it flakes I don't have to replace the whole thing. 10/10.
That would be the result of a tontine.

https://en.m.wikipedia.org/wiki/The_Wrong_Box?wprov=sfla1
Well here you go then! https://linuxjournal.as.boramalper.org/linuxjournal-issues.t...
That "mind-melting" equation looks like it could benefit from common subexpression elimination.
But i remember a machine managed by another organisation entirely still whitelisting me to do sudo service invocations. Apparently i could have gotten root on that machine.
It can't stop all your base from belong to us.
I do still read regular newspapers (print versions in digital format). The quality difference to online news media is gigantic. Depends on what you consume of course.
> I was thinking about phones, not servers.

that doesn't change things too much, it does introduce some potential difficulties with intercepting certain types of traffic/input to the phone. The question just becomes who controls the hardware being compromised.

> but I imagine that most exploits aren't just a magic byte sequence you send to the victim

Its not, and its not like you can just replay those very same bytes, but its not magic, it all has a meaning and a purpose. While its not easy, you can work out plenty from logs. The entire exploit necessarily is there, things will change, but all the instructions[0] that get injected to do later stages necessarily needs to be sent, or the instructions to generate/cause them.

Its not an easy skill, but its not unheard of.

[0] I'm simplifying a bit to avoid getting into various code execution techniques
Definitely, it would be much clearer in the article ! :)

A shame that renewable energy production's deaths are not counted .. It's hard because it depends where it had been produced. But this would have been super nice to find such statistics !
Huawei has stolen technology from its Western competitors on multiple occasions so I would not be surprised if they just stole most of Android and said neener neener state-sponsored anticompetition
I don't find the data precise enough to make conclusions. Yes, we spend more time on social apps, but it's also our main way of communication. I wouldn't be surprised to know that 80% of the time spend is in private conversations. We are just switching from classic apps (SMS, email, WhatsApp) to messaging in social media apps.
Yeah, but only because ACM was already taken. ;)
I remember copying a random maze generator from a magazine that used a lot of these on a C64, fun times!
C.R.E.A.M == "Cash Rules Everything Around Me"
Any downloaded executable might contain a virus. That does not mean that I'm not going to download anything from the Internet. But also I'm not going to run every executable that happened to load in my browser.
Good websites take a great care to protect their users from malicious scripts. So you should use your own judgement to decide whether you trust that website or not.
I definitely don't trust some random website that I've opened by following some links. So I'll browse it without JS and if it does not work, I'll think twice whether I want to risk opening it. But if I'm opening something like stackoverflow, probably I'm safe and they won't run side channel attacks on my computer.
If you follow the news daily and still consider Cisco hasn't proven to be worthy of skepticism at every turn, or reading the endless wave of "Chinese state sponsored hacker" news stories and never realize what the NSA is (EternalBlue, just as a quick read) then you're judging based on double standards.

This being said my main reason for being skeptic about HarmonyOS is that it's a v1.0. And just like almost all other v1.0s it has a lot to prove and improve.
Yeah right up until someone does the OS-tan caricature for Hong Meng as a cute gangster.
I don't want to make this overtly political but there is often good news on https://thoughtcontrolscotland.com/

The Scottish Government is at least trying to address the problems with some degree of success and a certain amount of innovation, which the posts on the above blog often feature. However there is clearly a long way to go.
An occasional plot point in fiction is to have some kind of investigator buy a single share in a company to uncover what they're really up to.

If they told investors that climate change was a major threat (as they may have been legally be obliged to?) then that information would have become available to the wider public.

Also, we allow public companies to exist knowing that they will be more open and transparent than private companies. If a private company does something evil, we can knock on the owner's door. You can't do that if it's public. It's a trade-off - we don't hold an owner responsible but there's a requirement for more disclosure. If they're breaking the rules that usually stop public companies turning evil, then it's very clearly a concern.
You can't produce as much meat from pastured animals as with industrial techniques. If humanity went all-pastured, meat prices would go up, many wouldn't be able to afford as much meat as now, and we would have changed the average person's diet.

This would also create incentives to cut down forests to create more "pasture", and that would be pretty terrible.
Also just because the app is open on my screen doesn't mean I'm looking at it. Bad science is bad, only one upped by the bad reporting.
Is that a rudimentary typewriter thing?
Is Youtube a social site now?

I think it should go in the other corner where it says 'TV Addiction'...
This may seem like dumb wordplay, but while management may seem to be about hiring / firing, budgets, etc, _leadership_ is about _influence_.

Influence and leadership are force multipliers. If you can lead people well and influence decisions (be it as a people leader, or a technical leader, or both), your experience can be learnt from by more and more people.

There is no doubt that leadership involves doing 'management' more often than not. But it's just one aspect, it's not the end in itself.
> Cows are not killing the planet. They are one of the few things you can raise that doesn't require pesticides or chemical fertilizers.

True in theory. Not in practice. Unfortunately most beef we eat doesn't come from grass fed animals. And if we were to convert the entire industry to grassing only, we wouldn't have enough land to produce the same quantity of meat. Which would imply exactly reduced meat consumption.
It's interesting that codes for the Nintendo eShop have certain similar looking characters blocked off even in the keyboard you use to input. That way there's no question even if it's a zero or the letter O for example.
ITherm 2019 Student Heat Sink Design Challenge
Which open source license requires them to release the code before the product is even released?
SP500 price/sales ratio is at the same level as it was last time during dot-com-bubble. The aftermath between 2000 and 2009 was the all-time worst decade for SP500. Total ROI -9 percent, worse than during the 1930s Great Depression.

Combine debt-for-buybacks with the shadow margins and there is potential for quick crash.
If they sell physical pictures of the shoes online I suspect that they have to accept cancellations and returns and refund in cash (this is how it works in the UK but I believe this is EU law so should be the same in Germany).

To play devil's advocate: In economics terms it means that this shop sells these shoes too cheaply (i.e. for much less than what people will pay for them) so that there is an opportunity to make money by "correcting" this. This is called price arbitrage.
Unfortunately, there is little incentive for Apple, Google to fix this situation because the majority of people simply don't care.
Open-source firmware
Good news, but Zerodium is paying $2M (and probably $3M from tomorrow)
Well depends on what you define as the beginning period.
I'd pinpoint the shift from 'ethical-ish' to 'unethical-ish' at about the time they changed feed from 'friends' to 'relevant for you' which is basically 'what our bidders want you to see'
Opening sentence in the article:

> It’s a problem that plagues even the priciest of lenses, manufactured to the most exacting specifications: the center of the frame might be razor-sharp, but the corners and edges always look a little soft.

The method in the article doesn't solve this. The method only give an analytic solution for the center and only for one color. All the other points of the frame and all the other colors look a little soft.

Previous discussion https://news.ycombinator.com/item?id=20369960 (845 points, 33 days ago, 210 comments)

I'll repost my previous comment:

It's an interesting mathematical result, but note that gives a solution for the problem of the spherical aberration, but real lens have also chromatic aberration. I.E. the speed of light for each color inside the glass is slightly different, so the value n (refraction index) in the equation is different, so in the equation you get a different surface for each color.

In the real lens you must pick one surface, so the effect is that one color is perfectly focused and the other colors are not focused and you get some rainbow-like effects.

The solution is to use combination of a few lens of different glasses, to compensate the differences. It's not easy to design these kind of system, because they must compensante also for other types of aberrations.

More details:

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

https://kenrockwell.com/tech/lenstech.htm
I just did a fresh install of Debian 10 and it is still the default. I understand that they want to support hibernation out of the box but it creates gigantic swaps for a feature that I believe is rarely used, nowadays sleep is good enough and reboots are super fast.

It would be great if the installer optionally asked how much swap to allocate without having to do the full partitioning manually.
> anybody complains about python lacking the type system.

Well, Python does have strong typing. It's just dynamic, not static, and I've seen enough criticism about it to say that it isn't as unimportant as you make it out to be. JavaScript gets a lot of criticism for having dynamic and weak typing. And I think both forms of criticism are valid, though not everybody agrees, which is fine too.
>I wonder what makes people believe that the internet should be this sort of "law free" place where anyone can implement all the exploitative behaviour which is otherwise forbidden elsewhere?

Violent crime doesnt happen on the internet. The only thing to prevent is fraud. And that weirdly isnt huge, at least in my life.

Not everyone subscribes to the thought that government makes better decisions than individuals. Having laws are often used for corrupt purposes.
One line of reasoning is that the everyone will know about companies leaking data of millions, so they can take steps to mitigate, whereas probably no one will know about a leak like this and just live unaware
Susan Kare sells signed prints of Clarus on her website:

http://kareprints.com/dog-cow/
TransferWise vs. Revolut
>Therefore the foundation of this article is both moot and asinine.

Exactly, and thank you for making that point! I wanted to also highlight one highly inaccurate statement made in the article:

>>How different would our gun debate be today if the focus weren't on the selfish right to personal protection but on our responsibility to serve our country?

Er, that should be: "fundamental right to personal protection".

Reserve duty involves a lot of effort and sacrifice. That's fine, but it shouldn't be required to own a gun. Perhaps reserve duty should confer the right to have fully automatic weapons at home, just as with Switzerland...

Finally, in the context of the Founders and the 2nd Amendment, it was absolutely normal for just about every adult male to own and use firearms. There was certainly NO requirement to join a militia...
"Alexa, how many children worked to build you?" :(
The importance of the CSS user-select property
Depends on the rental company and the rental contract. A lot of renters want a credit card rather than a debit card, as assurance you can pay additional charges/fees/damages should they occur. In cases where I put down a credit card, I usually see a hold on the card that's 20% higher than the rental contract, but that gets replaced with a regular charge later.

The extent to which this is necessary varies from context to context. For example, whenever I've been at an airport location, the rental companies have said they can only use a debit card if you have an itinerary with a return flight. Presumably you're a lower theft risk or something.

I'm sure it's all negotiable and/or there are a dozen other conditions where they will accept a debit card. Things like having a rewards membership or good rental history, purchasing insurance through them, using AAA, etc. Honestly even within the same company, the specifics seem to vary by location.

Presumably some rental companies don't have such a policy at all because low-credit individuals are a large portion of their customer base.
Zig is a simpler language, but that simplicity comes at a cost: the memory bugs that exist in C also exist in Zig. Users bear the cost of the programmer using a simple language.

Rust is a more complex language, but it eliminates a number of classes of memory error. In this case, the programmer bears the cost of users having safer programs.

Although I find Zig very interesting—and I wish Andy the best of success with it—the trade-off that the Rust offers is more in line with my values and my ethics.
Meat taste comes mostly from salt and souses. People who tried home-made sausages or grilled meat without any of those complained that it tasted like nothing. The problem with tofu sausages is that one just cannot add that much salt as to meat without making it feel too salty.

That acquired taste can be reset if for 2-4 weeks one avoids any product with added salt or sugar. Then tofu and many other products including plain meat without any additives will taste much better.
Or the biggest of all, the sugar addiction.
Fair enough regarding Harmony, but what is up with ARK?

Check out this Google Search: https://www.google.com/search?client=firefox-b-d&channel=tro...

Pages upon pages parroting the Open Source claim, bot not a single line of code in sight.

Ma issue here is with these news outlets parroting the Open Source claims. Your stuff isn't Open Source until the sources are open.
VisJSClassificator – Manual Visual Collaborative Classification Graph-Based Tool
One important part of solving this is allowing apps which provide the ability for an individual to bind his future actions. If there should be any government policy, it should be to make these tools which help augment individuals' own strivings for self-discipline.

It would be really nice if Apple would re-allow content-blocking apps on the iPhone.

https://support.freedom.to/en/articles/2259444-freedom-app-s...

It would also be nice if someone would develop a subscription service like SelfControl.app, but which took recurring payments in order to support an engineer making continual improvements. https://github.com/SelfControlApp/selfcontrol/issues?q=is%3A...

-------

By the way, there exists some similar fintech for substance addictions: https://www.creditcards.com/credit-card-news/next_step-card-...
> This is quite a visible moral panic as we can see people glued to their phones in public places, e.g. on the train or bus.

The part that disturbs me the most about these conversations is how everyone assumes (and I'm guilty of this too) that when people are "glued to their phones" it's for something superficial like social media. When I'm glued to my phone, I'm checking work email, photos of my kids that family is sending me, paying bills online, researching some side project, making plans for an upcoming vacation, etc.

I don't think people would equate the vacuousness of 'doing it for the gram' with managing your finances. But when we see people on their phones, we just sort of assume they're doing something wasteful. That shouldn't be the default assumption given that you can run your entire life, business, etc from a phone.
I believe that is true. The only real terror attack we had in recent times was a young immigrant who shot up a free speech congress. When he was burried literally thousands of 'moderate' muslims followed him to his grave, in a gesture I can only interpret as honoring his deeds.

The media portayed him as a lone wolf, even though his friends helped him with automatic weapons, bullet proof vests and knives. The friends who helped him didn't get a sentence.
Square root of what unit? That's going to give different results if you measure in gigabytes, bytes or bits.
If the person is from the US, they’ve likely never come across a Huawei device and are unaware of how popular and good their laptops and phones are.

Edit: In general it’s quite fascinating how backwards the US smartphone technology scene is. I only recently became aware of this being involved in thst bubble myself. The US is middle of the pack at best when it comes to mobile networks, it’s way behind when it comes to phone hardware. The one area where it leads is software and services, but it will be interesting if the US can maintain the lead here, especially since basically all the American software companies are trying to emulate WeChat.
What's next?
Jews being unhappy that tours in Auschwitz mention German Death Camps?
Since it is such an obvious idea which was common much later on bulletin boards, I think that your claim is believable.