skysight-inc/HackerNews huggingface dataset:
Personally, I plan to try making the apple dumplings.
It’s always great to see things like this that remove the barrier to doing some good. Stripe has a huge user base, so it’ll be interesting to see how much impact this is able to make.
Hey parhamn, Cloudsynth looks awesome. If you'd like to connect with a community of climate action oriented people, feel free to post about your work over at https://collective.energy (I'm the founder).

For anyone else who cares about making a positive impact on the planet, come join us as well!
Sure there is a barrier and it is the same as for other programming languages.

If you rely on your package manager, you are basically stuck with whatever was in the previous LTS of ubuntu when it was shipped.

If you want the newest library, then you are either dependent on some external proper packager, or you have to get into packaging yourself. I don't consider picking a random external source something I would do in a professional context.

But if we open up the choice of library versions from "non-standard" versions, the problem becomes a transient one. Team A in location B needs at least version X, but not version Y, team C in location D won't do with version Z.

To give that kind of flexibility, people went for build from source instead (Go, Java,...)

And in every shop I have worked until now, "your package manager" meant usually having to support at least one linux distribution in two versions, Windows and Mac, which do not have a native package manager.
You're in for a wild ride. C++ takes forever to learn (basically, it never ends) and people have VERY different senses of what "clean" C++ code is like.

And for that matter, even the same person might write in different styles depending on the situation. And the same exact style might be terrible for one situation but awesome for another.

With all that said, one "good" kind of codebase to at least know (even if you can't emulate it) is the kind of codebase that is modeled after the C++ standard library. Some Boost libraries (not all!) are great examples of this. Probably the best example I can think of off the top of my head is Boost.Container:

https://www.boost.org/doc/libs/1_74_0/boost/container/vector...

Note that this does not mean you should write code like this for your applications, though. Boost is heavyweight with the templates/headers/macros and these classes are meant to be extremely generic. Your application-level code does not necessarily need to meet the same types of constraints, and it's just not worth the effort in most cases (as well as being slower to compile). But if you can write this kind of code when it's warranted, it ends up being very high-quality. (Some parts of this involve a lot of difficult work, like paying attention to exception-safety, that is often unnecessary. Other parts are quite simple and well worth picking up, e.g. liberal use of typedefs. And everything else in between.)

A more typical example of a codebase might be some of wxWidgets, e.g.:

https://github.com/wxWidgets/wxWidgets/blob/v3.1.4/src/gener...

It's not in the style of the standard library (so you won't find it to be as generic, exception-safe, etc.) but it's pretty decent.
This sounds like it has horrific potential. It really gives me the creeps.
Msft has all these as well. With Duo, they’re back in the phone game.
in my case it’s static content + cloudfront. I have yet to see it not being able to handle the traffic (we’re talking thousands of requests per second at peak). This does not surprise me and i think the same thing could be accomplished with nginx on a single box.
Vasco x Caracas: Benítez não se recupera a tempo e é mais um desfalque
Did you consider using sway[1] as your window manager? From what I understand wayland is better equipped to deal with modern displays and touchscreens. (although it is still more complex to do certain tasks like screensharing).

[1] https://swaywm.org
There's a part of me that believes in this age of humanity, deep down we still question whether or not God/gods is/are real. Thus, we're trying to commit the most insane and outrageous atrocities to humanity, science and the natural world, just so he shows up and yells, "WTF is wrong with you people?!?!". It's like trying to get attention from your parents. If doing the right thing doesn't work, burn the house down.
Oddly, I just went from a director level position to staff engineer at a new company, and am getting paid 50% more. I feel like I won the lotto. Management was stressful and full of nepotism. The only positives were being a bit upstream in the decision making process. I do think its good to for ICs to get out of their comfort zone and take on some management tasks though. Its important as you become a senior engineer, to not just contribute to the code but to also help mentor the team, sell a technical vision and take responsibility for delivering the product as a whole.
Open Letter: 920 Economists Oppose Trump's Re-Election
I assume they are much quieter than a helicopter?
Can lab-grown brains be tricked into believe they grow brains in a lab and ask themselves this question?
> Or, hear me out, buy cheap SSD for each operating system.

Probably gonna need a tutorial for that, too. Was trying to set that up this weekend, but there didn’t seem to be an obvious option for dual booting with full disk encryption in the Ubuntu installer.
There are more Lightning Cables within the iPhone users than there are USB-C cables. There are 1Billion iPhone users, That is at least 1 Billion Lightning Cable, ( not counting possible tens if not hundred of millions sitting in the drawer ).

How many of those has USB-C Devices?

Most of the complain where from Mac users, Ahah, why cant I charge my iPhone with USB-C just like MacBook Pro?

There are 100M Active Mac Users, and I willing to bet there are at least 20M on Mac which dont have an USB-C port.

What you are asking is to change the port to something that barely gives any benefits for the convenience of a small group of users. ( an iPhone with USB-C Port does not automatically mean it will support faster transfer, or higher Wattage charging, both can be done with Lightning Port, should Apple feels the need. )

I just dont understand it.
How I am learning distributed systems
Tribal Voice ...an editorial© by Paula Giese

http://www.dickshovel.com/tv.html
Is a shit thing when a virus got a firmware update in 2020, but not my android phone.
Thanks for taking the time to answer! Much appreciated.
In the case of an engine failure, a helicopter trades its potential energy (altitude) to kinetic energy by allowing the passing air (as it 'falls') to spin the rotors. This is the helicopter's equivalent of gliding, more or less. The condition is called auto-rotation. Gyros are always in a state of auto-rotation, so if the engine quits they simply begin trading potential energy for kinetic energy, which they're really good at.
"never end" and "meaningless" aren't necessarily the same thing. Plain old cybersecurity is a cat and mouse game that never ends, but it's far from meaningless.
Reddit, and by extension HN, is by and large trivia porn.
I used to think I was losing my ability to remember things due to the amount of information I was taking in. I no longer think this is true and was simply my own worry.

I do review certain things I want to remember in my downtime, but I don't think that is somehow inherently changing some larger picture like my information consumption.

Semi-related, do you guys tend to get headaches after long information binges?
With Electron (MIT licence) the writing has been on the wall for Qt for years now. They are on borrowed time.

I am not saying I like Electron better. I prefer Qt, even though I don't consider it to be native either. But Qt would not have died had they relicenced earlier. It's evident they will have to do it eventually. Why wait until there's no more lunch to be eaten?
"either illegible or didn't match the records of the brand owners" --- so Amazon has done some due diligence by reaching out to other parties to the sales, and found that these receipts are likely counterfeit. Besides which, I'm not sure how even valid receipts prove that the inventory is legit; how do you know the receipts refer to this particular merchandise and not some other legitimate purchase? It seems entirely plausible to me that the retailer's brick and mortar started to fail, so he cut costs by switching to counterfeit goods. It still failed, so he tried to hawk them on Amazon. Amazon caught him, but he tried to fool them with old receipts. Amazon demanded he retrieve his goods, but he let Amazon destroy them so that he could sue for some imaginary value and extract money out of them that way.

Why does a journalist feel the need to get involved here? This seems like a job for the lawyers.
>when you consider how high road mortality is

Except, depending upon your perspective, it really isn't most places. In the US it's about one fatality per 100 million miles driven and that includes driving under difficult conditions like snowstorms. People drive a lot so that still adds up to a lot of deaths per year. But the rate is not really all that high.
ICYMI there's a public repo that has more details (and answered several of my questions in one convenient place)

https://github.com/stripe/negative-emissions-source-material...

Nice to see the transparency on this.
A Full Page Cache is the way to go, you're going to run into far fewer edge cases and cache bugs. For something simple like a blog, you shouldn't be hitting PHP at all once the cache is warmed, let alone caching queries and snippets and whatnot, bugs waiting to happen.

The strategy is the same even for complex sites, full page cache at the server daemon for almost every page hit unless a user is doing an action that isn't "View this page".

Obviously I'm glossing over cache busting strategies and how you handle dynamic actions like add to carts, sessions etc, but they're all far more simple than rolling your own application level caching strategy.

You will get so much more out of your hosting if using an FPC, which gives you way more headroom for the requests that do need to spin up the application.
Exactly what have they got, if you never connect it to a network afterward, either? A key-log that never makes it back to them?

(I’m presuming here that the laptop is openable, and that you will do so and physically remove any wi-fi M.2 card from it — and associated antennae — since you won’t be using it. There might be some sort of extra surface-mount snooper chip left onboard that could replicate the same function — but without big antennas, how’s it going to report?)
To be fair, Clapper did come back for a follow up, and basically said, "oops, looks like I was wrong." That's it. Congress didn't push back, and thanked him for his service. So looks like Congress is complicit as well.
When it doesn't make business sense to embrace and extend any more.
I've front-loaded my horror fantasy with tech that can communicate with the helpless brain.

I never read that particular Ellison piece. I figure this is one of those universal "What's the worst thing I can think of" tropes.
Trickbot ransomware infecting election computers in VA
Thanks so much. I've had a bit of a lousy week, so seeing random strangers say positive things on the internet has been a Godsend.
They did a good follow-up with the author on the Ezra Klein Show podcast a few months back: https://www.vox.com/podcasts/2020/7/1/21308153/the-ezra-klei...
And it can add a slight flicker that can be used as a signal and detected from outside.
Show HN: No-code custom style transfer Snapchat Lens
Kindof. Almost no standard library but it does use namespaces. (almost) no templates. Lots of pointers and arrays. Lots of explicit begin/end or push/pop functions instead of more idiomatic solutions like RAII/scope guards etc. va_ macros instead of variadic templates or fold expressions.

Also while ImGUI is great and the guy follows good coding practices - it's not at all what I would recommend for learning C++. Not only is it technically not C++, but the problem it solves (GUI-Framework and immediate on top) leads to some pretty hard to follow code with a lot of hidden global state.
I would argue that it doesn't really help at all for most people, and is legitimately just a feel-good political sell for soundbites.

Sure, I can shop around for my surgery, but what about emergencies? What about when they're in for the surgery I have scheduled, and end up doing something entirely different because they found something else? What about people who live where there is only one healthcare provider?

A menu of prices is fine to encourage choice at Hardee's versus McDonald's, but health care is a little different, I think.
Btrfs is notoriously ill-adapted to database workloads. Although interestingly, some people seem to run Postgres on ZFS just fine, even without disabling copy-on-write like one is advised to do for btrfs.
What Makes Netflix One of Media's Best Apps?
The BLS doesn’t even list a double digit increase for “food away from home” at all this year. “Food at home” has been decreasing the past few months but remains up by almost 5%.

CPI is not the best measure and isn’t always 100% accurate but it’s not going to be off by double digits.

> The index for food away from home continued to rise, increasing 0.6 percent in
September. The index for limited service meals rose 0.9 percent in September,
the largest increase in the history of the index, which dates to 1997.

> Despite the September decline, the food at home index increased 4.1 percent over
the last 12 months. All six major grocery store food group indexes rose over that
span, with increases ranging from 2.6 percent (cereals and bakery products) to
6.3 percent (meats, poultry, fish, and eggs). The index for food away from home
rose 3.8 percent over the last year. The index for limited service meals increased
5.5 percent and the index for full service meals rose 2.8 percent over the last
12 months.

Of note:

> The index for used cars and trucks
rose 6.7 percent in September, its largest monthly increase since February 1969.

https://www.bls.gov/news.release/cpi.nr0.htm
I can imagine that a single nucleotide polymorphism doesn't care about what seems natural.
That's a very valid point. I used to call writing in Evernote, writing into the void.

Though the beauty of any system is you design it. You get some kind of say in what's important. I trust that more than randomly depending on your brain. The brain can be a weird place. I have embarrassing memories from my childhood, I don't know if it serves me anymore, but they're there.

Also, I get distracted too easily, having a list of tasks I'm working on keeps me on track.
I will take the replies and create a response post tonight.
How companies are winning on culture during COVID-19
Prepare to Re-Format If You Are Using an Older XFS Filesystem
Maybe it will be like music or video sharing. It's illegal and "can't be done" - until someone big enough does it and then it just becomes trivial.

So maybe all new vehicles will have and old ones will be retrofitted with corner reflectors and infrared beacons or some such, and roads will have markers for AI cars, regularly checked and maintained too (by robots). Digital maps will be public domain. Clothes and bikes etc will get AI visibility signs integrated too.
On the other hand, the Australian government decided to create a system called "My Health Record", which centralises all your medical information.

Luckily it's possible to opt-out, because there is absolutely no way I trust the Australian government to keep my personal data safe.
An all-in-one starter kit for high-performance ecommerce sites
Ask HN: Why are there no GitHub alternatives?
By hosting your OS projects on GitHub you get a lot of benefits. The main one is IMO the social aspect and a low barrier to participate in the project.

When you look at GitHub alternatives you find a lot of projects that a doing GitHub in a sightly worse way but nothing really compelling. They are all either centralized services or self-hosted solutions that miss most of what GitHub has to offer.
Indeed, all these features are marked as "Not Considering" https://webkit.org/status/
Delayed Wound Healing Due to Gene Mutations
I'd like this to happen. Not sure Apple would see it this way, particularly since they have a certain relationship with Google that is riven with quid pro quo's.

Also, people at Apple might have other ideas about where to fling their cash.

How much did you say this would cost? To save journalism from extinction. Per annum?
> A good PM saves work for the team by shifting work away from from valueless investments.

Knowing what’s valuable and what’s not is a function of being an employee. Designers and engineers should know where value exists.

If they need a PM to shift them away from valueless work, then I highly question their efficacy as an engineer. I also highly question that organization’s management structure and communication.
There are a couple of 3d printed cases on Thingiverse - one that keeps the original pinout and one that adds BNC connectors via a perfboard mod.
Show HN: A Halloween-themed website scanner to see what trackers are lurking
> We already know CoV2 rarely causes any symptoms in children. I wonder if there was a time in prehistory where common Rhinoviruses and Coronaviruses wiped out larger populations of elderly.

Didn't pneumonia, influenza (among small pox and others) have terrible consequences on American native Indians ?
I missed your post when it came out the first time, but I don't think you need to add a rebuttal about "The Best"; I think the message is clear and hasn't changed. Now your view on if Silicon Valley has fallen would be something I'd like to read.

But as far as your original post, I couldn't find anything polarizing and controversial about why seeking and trusting the best would bring peace of mind, or how that is somehow a call for overconsumption.

It's strange how differently the same words can be understood by different people.
Access to the Public Network
There is a scene:
The computers a, b, c,... in the local area network use proxy, visit public network through computer AA.
The AA computer have some restrictions, some APPs (APP1, APP2,...) are not allowed to visit public network, and other APPs are allowed.
As for computer b, can I install some tools on b or make some settings(not setting or install tools on AA), make APP1, APP2, like other APPs, can also access public internet?

Does there some tools can do this?
I've made the switch entirely over to podman and haven't actually found any features to be missing besides docker-compose support, but their k8s style pods more or less have solved that for me.

There is only one 'gotcha' that I've hit, when building images specifically for AWS's ECR or Docker Hub, you need to add the flag `--format=docker` to your build step. Quay and a few others don't have this issue.
For those of you that have not done hydrodynamics 1 Bar is roughly 14.5 PSI or 10.1 m of water
We just don't know.
How's the vibration? I've been a fixed-wing pilot for many years. I recently sold my share in a 182 and have considered a gyro for many of the reasons listed here. All the YouTube videos I've seen look like the thing is going to vibrate itself apart! Although, that could be due to strapping a GoPro to a strut or something!
>In my opinion, the very best C++ is plain-old-C [...]

Not to start a debate but just genuinely curious...

Do you avoid writing ~destructors() in C++ to adhere to "plain C" principles?

Imo, destructors (RAII) is one of the killer C++ features. There's a lot of buggy plain C code that has a malloc() but missing the associated free() and/or an openXyz() but missing the closeXyz(). Plain C has to manually write cleanup() functions or code generators to simulate dtors() which is a hassle.

I guess the related larger question is if the "best C++" means avoid writing any classes at all? (E.g. Linux source with plain C uses structs and function parameters to simulate OOP: https://lwn.net/Articles/444910/)
Machine translation studies polarization in news stories [PDF]
But its all rules of thumb and common sense, largely. When are we going to get an axiomatic theory of software engineering/architecture which shall allow us to argue about and compare different architectures for a solution and arrive at an ideal one?
Are you talking about the counterparty taking 'physical' people hostage and torturing them? Because that sort of runs counter to 'everyone is invulnerable and immortal'.

Or about them running sentient hell-simulations for fun because they're a sadist? In which case, yes, that is a concern. If you knew it was going on, you could presumably try countermeasures (up to and including threatening to run simulations that decrease the sadist's utility function, if you know it). Otherwise, maybe engage in trades with other people where you refuse to cooperate with someone unless you both audit each other's hardware?
I got dropped off on the top of a mountain by mistake. The driver gave up on trying to follow the ap and he insisted that the mountain was the address. Naturally he gave me a 1* because I wasn’t happy about being kicked out on a mountain top. Uber never replied to my attempt at disputing any of it.

The only thing worse than the arbitrary thing is the double rating. I’m forced to give 5* to shit service.

It’s annoying
But the way viruses evolve to be less deadly is that the deadlier strains kill a bunch of people quickly, before they can spread too much. So that's not exactly reassuring for any given mutation.
Your system package manager typically also sucks for keeping multiple versions/variants of libraries around, and library developers aren't particularly interested in providing packages for many different systems. Not all platforms even have a system package manager you can easily add your own packages to.
You should checkout the Haiku operating system; some source files in there are outdated and haven't been touched in 20 years, but other than that, it is seriously very consistent and even eye-candy-ish.

https://github.com/haiku/haiku
Do a quick search on Youtube, there's a recording of I Have No Mouth read by Ellison. It's ~40min long. It's so damn good but will also put you in a nihilistic funk for a while.