skysight-inc/HackerNews huggingface dataset:
> Nature already has powerful carbon-removing technology, it's called a tree. Why reinvent the wheel?

Trees haven’t been carbon sinks for hundreds of millions of years [1].

They absorb carbon while growing, but release it in decay. Short of planting and burying gigatonnes of forest, trees aren’t going to be our way out of this.

[1] https://en.m.wikipedia.org/wiki/Carboniferous
> If it's not the cause, then removing it can't remove the effect.

You’re confusing “root cause” with “causal”. Guns do “cause” murder insofar as they facilitate the act of killing. The same argument can be made for Bitcoin facilitating blackmail.

Whether or not banning either technology is a worthwhile trade off is debatable, but an effectively enforced ban is unambiguously effective.
GitHub's collection of .gitignore Files
> we need sweeping, fundamental changes to address climate change, not at the individual level, but at the state level and beyond.

If that isn't happening, what's your next suggestion?
When Russian hackers discovered and started using Intel ME backdoor Intel immediately published (already prepared?) instructions on how to disable it...
That's a tricky question. Large C++ codebases often have a lot of "legacy" that does not necessarily reflect the best practices.

A couple of years ago I wrote a text-editor to have a realistic example of what I consider a nice modern architecture using immutable data-structures. In the README there is also a link to a talk where I cover some of the design and structure:

https://github.com/arximboldi/ewig

Libraries that it uses:

https://github.com/arximboldi/immer

https://github.com/arximboldi/lager
It's already clear that the vaccine, when it gets released, won't be a one time thing and we'll need more in the future to counter the mutations. Unfortunately, just in anecdotally talking to friends about it, it doesn't seem that this is widely known. It will be interesting to see how things play out as more people start to realize this. I suspect a lot of anti-vaxxers will be even more emboldened by it.
> Besides, if you had to eat a billion gallons of it, but over a billion years

That is changing the analogy. The billion years of life would be experienced every waking minute of every day.
Thymio is a good starting point especially if your kids like to build things with Lego blocks since you can attached some on it. https://thymio.org
Hmm, I've used both Rust and C++ professionally (and prefer Rust). But it's fair that most positive or negative things about programming languages are from people who haven't used them professionally.
Lots of users vote based on the headline before actually reading the article. Lots of users even comment without reading the article. HN is an extremely large community these days.
It's still shitty.
Well, the Egyptian loaf would have been 4,200 years old before sandwiches were invented...

https://www.britannica.com/topic/sandwich
Not sure about the interruption handling, maybe I need to do more research there.

But totally agree with the last parts - currently, typical SPA implementations are often misguided and create more problems than they solve (if any) compared to a server-side approach. That does not mean that pure server-side is always enough to provide good UX, especially with interactive/offline apps.
Doug Engelbart, a pioneer of the personal computer, would love your point about computers being extensions of our brains. His mission (in the 1950s!) was to find a way to 'augment human intellect' through technology, much like the biologist augments their eyesight through the microscope. The mind blowing part is that they didn't have anything to go off (or XEROX to copy) - imagine conceptualizing the personal computer decades before it hit the mainstream. Sorry for the rant!

https://www.dougengelbart.org/content/view/155/87/
He's actually really fun to follow on twitter and uses the hashtag #YeastMasters for things like this.
State of AI Ethics Report October 2020 [pdf]
On Abandoning the X Server
>or we're going to either A: Delist the products and kick the sellers off our platform

Is there evidence of this happening?
Which is pathetic because for decades Windows had user-definable color schemes at the system level, which all properly-written apps easily adopted.

Just before people finally realized how stupid inverse color schemes are, Microsoft got rid of the whole thing.
> Use mostly functions, try to make most of them pure.

This reminds me of:

> Eat food, not too much, mostly plants
>
> -- Michael Pollan

My new mantra: Write software, not too much, mostly functions.
I mean donating money to CarbFix for example is not exactly doing nothing?
4GB for $60:

https://sfbay.craigslist.org/pen/sys/d/san-francisco-nvidia-...
> At the moment, the largest tragedy is meat consumption

I fully agree, but when discussing the terrible ways we treat animals I often find that people are less willing to listen and think about the suffering of animals when it’s something they themselves are taking active part in. My goal when writing about animal suffering is to help people acknowledge animal suffering is a bad thing, and to think about under which circumstances we create animal suffering. If they start thinking that way it can eventually lead to changes in diet.
I think learning a language is not the point, but learning underlying system (OS) is.

What you want to learn (especially in embedded world) is how various Linux/POSIX APIs work, not language features.

So either choice is good as long as you learn to use them, but I personally recommend C because C is the first class language for Linux APIs e.g. they are exposed directly via #include <sys/> or #include <linux/>.

As others recommend, you can learn C and Rust at the same time though.
Sadly, this is what customers want. When given the option of a 30$ belt that lasts for life or a 5$ belt that lasts one year, many will go for the latter, and this is who Walmart caters to.
I think there's a conflict in what "self driving car" means.

I think many users imagine being chauffered around while they read a tablet, potentially not even needing a drivers license.

Meanwhile I think realists and Elon Musk expect a car that is doing most of the menial parts of driving while a licensed human driver is still hands on but not doing much work.

We're close to that realist scenario in many ways for some areas - though I'm sure we'll see a spike in tragedies once it first goes out and people attempt to treat it like scenario one.

Scenario one is a very long ways away from being universal.
Click to Release Experiment
Almost all of these "OMG Google/Facebook is listening to me" happenings can be explained by this mechanism
You're okay with the tool being difficult to use because you already know how to use it.
Gitlab has no business in China.
Ownership is some sense is useful b/c you can pass your records / cds / mp3s on to your kids. I guess what you would pass down would be playlists.
I've never been anywhere near the US, but from my exposure to US media (TV, movies, podcasts, news, socials, ...) as well as some US friends my impression was that at least half of the population goes to therapy and a big part of those are on some antidepressants. So I'm surprised that's still a stigma if it's essentially the norm for anyone who can afford it.
The article mentioned that the battery was only able to supply 16MW to the grid. By all means a significant amount, but nowhere near the required 560MW needed to stabilize the grid.

This is where hydro-based power plants excel, they're able to adjust the power output as quickly as gravity can push the water down the pipes. They're able to ramp up from almost no output to full capacity in minutes. Gas-turbines are also able to do this.
Don't know about memory, but without doubt, the web defines our access to information, during the pandemic more than ever. With far-reaching consequences for politics, cognitive abilities, history, power balances, market access, etc. Which is why it's so enormously important to not let us slide control over the language(s) of the web, such as HTML and CSS out of our hands, but retain or regain participation and representation in web standards.
> You can have a monopoly situation where competition just doesn’t bother to enter because the monopoly holder hasn’t abused the situation to make entering the market attractive.

Do you have any real world examples of this actually happening?

> the government frequently grants monopolies because they don’t really want to see market competition due to the disruptive nature of the industry (e.g. utilities).

The government does this with the addition of heavy regulation specifically to prevent abuse that comes from having monopolistic control of a market.
Deconstructing Dynamo (Amazon K/V disk-based store)
Why did you spend a week of time over a $10 game pass? Why not issue them another one and cut you time commitment from a week to 15 minutes
I use Hugo with a custom template I made based off a public one that was out there. No need to worry about security updates as it is all just static html. If I every want to change the look, I can just switch out the template and regenerate the html.

All I have to do to write an new post is:

hugo new post/name-of-post.md

fire up vim on the name-of-post.md file and write my post in markdown.

run hugo to generate the html

cd to the public directory and run rsync to publish the new html post to my site.
One of the reasons it’s hard to talk about clean C++ codebases is that there’s a huge range of possible complexity. The gap between “Solve a particular problem” and “provide a generic library” is very big. Template metaprogramming deservedly gets a lot of the blame, but implicit heap management via constructors/destructors is also pretty hard to follow.

The upshot is that “professional grade” C++ is often impenetrable (I tried to understand the implementation of boost::intrusive_list once. Yikes.)

LLVM is often cited as a very clean codebase and I think that holds up. Facebook’s folly is another good one (although it occasionally dives into template metaprogramming madness).

Hopefully I’ll be forgiven for also plugging a few projects I used to work on, that might hit a sweet spot between utility and code complexity:
- Glow, a compiler for neural networks: https://github.com/pytorch/glow
- ReDex, a bytecode optimizer for Android: https://github.com/facebook/redex

There was a nice blog post a few years back called “c++11 is a scripting language” that is unfortunately offline now; it did some task like reading lines from a file and sorting them, and it wasn’t dramatically more complicated than the same thing in Python. It’s worth doing a few of those kinds of exercises to get a feeling for the language.
Your child came with an SDK? :)
You can try my app Plenary - https://play.google.com/store/apps/details?id=com.spians.ple... which perfectly suits your needs. It doesn't have ads or tracking and doesn't require an account. Plenary is combination of RSS reader and offline article downloader with built-in support for podcasts. Check it out and let me know if it works for you!
This is legitimately strange. Between this and their magazine, what does this have to do with payment processing?
I believe the argument is that Chrome's code-base is becoming the de-facto browser standard, which will allegedly simplify things by making a stable platform. But it's been hard to predict browser trends. Look how Chrome came out of nowhere and knocked Microsoft's off the top. Netscape also got sucker-punched. Who knows what will punch next.

Web standards still have some glaring gaps that I'm not sure the current approach can tame. I propose "the web" be split into three standards:

1. Media/Games/Art/Video

2. Documents (existing HTML may be good enough with minor tweeks)

3. Productivity: CRUD and Data oriented interactive GUI

By splitting, each standard can FOCUS on doing what it does best rather than the watered-down one-size-fits-all we have now. A given browser may support all 3, somewhat like how Java Applets and Flash could run inside of HTML documents. (They may be pluggins and/or independent browsers.)

But unlike Applets & Flash, the standards wouldn't try to be full virtual OS's. Dump as much on the server as you can to keep client standards lean, and reduce the need for scripting by including common behaviors.

For example, a common GUI idiom is for a button to activate a window or form. Rather than rely on scripting, that action could be built into the GUI markup:

<button openTarget="myWindow">
Click to open My Window
</button>

Or maybe:

<button label="Click to open My Window et. al.">
<action>
<setFocus target="myWindow">
<setFocus target="anotherWindow" modal="false">
</action>
</button>

The point is that if common GUI idioms and behaviors are built into the GUI markup standard, scripting (typically JavaScript) is not needed as often. The GUI Markup Language would be state-friendly and natively interactive, unlike HTML.
As soon as you learn about this phenomenon you start seeing it everywhere
Among other reasons, one motivator for Amazon to solve this problem is the fact that the present administration has brought Amazon's problem with counterfeiting front and center into the public debate about China. Like him or not, Peter Navarro has repeatedly talked about Amazon and counterfeit goods in media appearances over the course of the past few years.
Maybe they "need" many such "holes" (which are treated as "bugs") just to make sure that if they disable some of those "holes" (because hackers/public found it out) whey still have others ready for the same purpose...
That doesn't help if you have to order 1000 of them.
> Unfortunately, std::optional implements operator* and operator-> which are UB if the optional is null -- that's even worse than the situation with pointers,

Dereferencing null optionals is UB for consistency with dereferencing pointers. All uses of operator* should have the same semantics and the C++ standards committee did the right thing by ensuring that with optionals. Checking for null in operator* would break consistency.

If you want to dereference an optional that may be null, use the .value_or() method. For the times when you absolutely know the optional has a value use operator*.

If you’re wondering why you would use an optional over a pointer. The idea is that optionals allow you to pass optional data by value. Previously if you wanted to pass optional data, you’d have to do it by reference with a pointer. This is part of c++’s push towards a value-based style, which is more amenable to optimization and more efficient in general for small structs (avoiding the heap, direct access of data). Move semantics are a part of that same push.
Now _that_ is pretty funny. I wonder what the company name is. Even the PDF of the incorporation certificate doesn't show the name.
> The fundamental prerequisite for functional mass transit is a high population density.

The Chinese and Japanese rail networks would like a word.
The fact that I've edited my comment reflects that I want it to be historically accurate after the edit window times out. Hacker News participants aren't going to have any impact on regulators, so while I try to persuade that this automation development is necessary (because I genuinely believe that, and have lost loved ones [plural] to vehicular accidents), it's moot beyond discussion (and there are so many discussions [1]). Some will argue that any deaths are too much, other will argue that many deaths are reasonable. I argue that some deaths will occur, which will lead to less deaths overall over the long term (which I would also argue is a goal we could all agree on), and I don't believe this is an unreasonable position to hold.

[1] https://hn.algolia.com/?q=tesla+autopilot
How to scrape phone numbers from multiple websites?
>but I promise you nearly every American adult knows who Edward Snowden is and probably has at least a vague idea of what he was trying to communicate.

I highly doubt this. In 2015, only 60% of Americans had some idea of who Snowden was, and only half of those had a positive opinion of him. I doubt this has improved over the past five years either.

https://www.aclu.org/snowden-poll-results
Learn C. You will always need to know it. The K&R book is not a very big book.

That said, the elephant in the room is the toolchain. With Rust you use cargo. With C you use ... a hodgepodge of technologies glued together with duct tape. While learning C, you'll also learn about make, cmake, autotools, ninja, bash scripting, etc.

C is easy. It's all that other crap that makes it more challenging.
Everyone loved the Wico Command Control. But to me, the Wico Boss was the best joystick ever made.

And those crazy alligator switches that Wico used made it impossible to break the way all the others using dome switches eventually would.
They have a funny definition of safety.

Specifically, they insist that the system should only be usable on limited-access highways. CR docked all manufacturers (except GM) 4 points for that.

CR also docked 3 points from every company (except GM, again) for "unresponsive driver" without saying what, exactly, GM is doing differently from everyone else.

Finally, under "keeping the driver engaged", GM somehow got 3 more points than anyone else, despite being subject to the same complaints.

Sadly, CR is not the publication it used to be. While this isn't a "Tesla hit-piece", it is quite clearly a "GM submarine."
Interesting to see China be used as the example. Github recently took action towards DMCA requests. Meanwhile, Github has been used as actively used as a safehaven from Chinese censors when it came to 996 protests and COVID information.
hahahahaahaha! is this some prank?
AMD Radeon RX 6000 Series (Live Stream)
Could someone with some background ELI5 this for those of us who lack expertise?
Antarctic fossil could have been the biggest flying bird ever, study finds
Oh I get it now thank you. I had read only the outcome part.
; DROP TABLE "COMPANIES";-- LTD

(Yes, the description is inaccurate.)

Edit: This is a different company, actually.
If I had to choose I'd say prefer strict... But reading this made me wonder: what if you could be strict during development but switch to forgiving for deployment?
Uniquely and by blowing up the ATS bots. Generalists aren’t favored by non-human companies. Don’t waste your time with them. Find your fit and alignment with other individuals. They are out there. Good luck!
Would be it interesting to know why the name had to be changed?
Experian to appeal ICO enforcement notice over data protection failures
It's up to you. :) If you're getting what you want out of life, or if your predictions are usually accurate, in spite of having a mental model that isn't technically correct, then that would mean having results that didn't come from excessive rumination or memorizing lots of units of specific information. Similarly, religion can lead a person to perform actions in a way that are of benefit even if the beliefs instilled upon them are factual nonsense. What I'm saying is that a person can do just that but with high level conceptual structures as opposed to either religion or pedantic data hoarding.

When you keep trying to do right, but your world is perpetually on fire, you probably aren't getting good results.
It gets about three time the mileage when driving compared to flying - a small reminder of just how energy efficient it is to let the normal force from the ground hold something up compared to expending energy to do so.
Wow... I mean... I get you're trying to understand where the misunderstanding is. But, this smells like people not understanding the difference between figurative and literal. Like right there, do I actually think this gives off a smell of some sort, no and the fact I now have to clarify that means I literally believe humanity is already fucking doomed. This is just one large example of, "Chill out, it was a joke."
This is essentially correct mechanically, though I don't share this author's prediction that we're sliding towards a collapse. We're in a pandemic; pandemics push the market around. But they also end.

But mechanically, yes. The Fed can't collapse while it's the controlling institution of the dollar. The dollar is the world's reserve currency. It's the denomination unit for paying IMF loans. It's the unit of money other countries shove under a big ol' mattress (with scary-looking guards around it) to backstop a collapse of their national currency. The dollar is so deeply baked into international economics that only global shocks can fundamentally shake its value as a currency.

If that changes, the Fed's power base becomes heavily disrupted, but most of us in the US won't notice because we'll be too busy riding in gangs with our fellow War Boyz hunting down the last reserves of Go Juice for our Death Rigz under a burning sky. ;)
I like that they made a video with typical Silicon Valley Start-up, epic, up-beat music but kept the guy with the super dutch accent as the narrator (probably the CEO). Is this some standard iMovie music?

Btw, not so nice: This time I already started the movie and only THEN yt ask me if I want to log in (pauses the vid for it).
It's a company, companies are allowed to do something besides their core focus.
Except when you need to work on the plane.

If installing an app is “a nightmare” for you, I don’t want you anywhere near my project.
At least in "corporate America", middle managers are often the first to go in layoffs because it's harder to directly attribute their work to the end product. And a higher salary puts a target on your back. It's harder to let go of the folk who are actually building your product without having an immediate impact.
Gods aren't real. The point of the very witty comment is that people are subconsciously still always arguing about them: "If God is real, would he let me do this!?"

Or, "If God is real, surely this will flush him out."
I'm okay with it being slightly more difficult to get started with, in return for higher productivity in the long run, yes. Right now, after spending a similar amount of time both with GitHub PRs (and Gitlab MRs) and Gerrit, I still find Gerrit much easier and faster to use.
Good question!
Depends on the instrumentation libraries for sure, but in our Go services we've been using Jaeger protocol for our traces, and "sampling" at 100%, with negligible impact to request / response times.

We spit out some 30k+ spans per second, FWIW. :-)

Edit: Disclaimer, we're not using Tempo.
I'd say it depends a lot on what you value and where you'd like to spend your time.

Would you consider yourself an early adopter type who's more happy working on the bleeding edge? Rust is great but it's not a mainstream language yet and working with late adopters will be difficult. There are fewer project and job opportunities in Rust. You may have to be comfortable with writing your own libraries and tooling.

If you're more of a late-adopter type you probably value stability and maturity of the tools you rely on and perhaps put more emphasis on solving your domain problems rather than language tooling and tech problems.

The other factor to consider is what your goals are. If the incumbents in telecommunications have built a large ecosystem of libraries and tooling in C/C++ you're going to be working in a small niche writing things in Rust. Do you want to carve your own ecosystem in the space or would you rather spend time improving the status quo and moving ahead with the rest of the pack?

There are no wrong answers! It all depends on what you value more. They're all fine languages and tools. If you lean towards Rust simply because you're happier working in it then go for it. If you're not being paid to work on these projects then happiness is definitely a strong indicator you should be using Rust.

Happy hacking!
90% is my optimistic guess. I'd wager today's style (cars, SUVs) will downsize even more. It'd be interesting to learn the automobile industry's own market size projections.