skysight-inc/HackerNews huggingface dataset:
What Tidelift is doing is really exciting, but it requires quite significant time investment from the projects themselves to get it up and running - likely not really worth it for a single maintainer building something in their spare time.

I like the idea of having an easy mechanism outside of formal structures such as Tidelift and GitHub Sponsors that companies can use to channel money to projects they depend on that don't yet have something like that setup.
But this also shows a lot of warts that mean RAII isn't "really working", as in it isn't reducing the mental load of resource management as far as we'd like.

- You've needed to manually specify the deleter. Why do I need to invent unique_file_t myself? The stdlib is failing to support idiomatic language use.

- Probably most critically, fp can be null! If A is I, then I is A, yet here we are with a resource in-scope but not allocated!

- You've had to manually add a scope to handle it, and (unlike e.g. Python with or Java try) there's nothing per se to indicate that's what the scope is for. SBRM is supposed to be interesting because of how often our scopes align with lifetimes naturally; manually adding a scope isn't too far from manually calling a destructor.

Please don't respond with the reasons "why" it is this way; we all know. That also doesn't change that they are still major warts that undermine safe, clean C++.
I urge you to look into Javas new ZGC. It's a massive achievement, having only <1ms pauses even on TB sized heaps. Go:s GC can't hold a candle to it in terms of low consistent latency.
>position where the low and high ends are widely disparate;

This is more or less what I've observed in practice in Colorado.
The range is quite high, and it excludes nearly 50% of real total comp due to equity, benefits, etc that are variably applied.
Semantle: Semantic Wordle Using Word2vec
What's extraordinary about the claim? The guard band between 5G and radio altimeters is ~200MHz, which is massive. If your filtering can't handle signals over 200MHz away from what you're looking at, then it's garbage filtering.
This is exactly what a bot would say.
Their letter doesn't describe how they made the two groups comparable. They must've done something to compensate for differences in income/education/previous health. And how would they compensate for rule differences? Unvaccinated people were barred from dangerous activities such as team sports during much of the period.
It is good to see support for better urban planning on Hacker News. Issues of urban planning and city design often escape notice of the popular milieu due to the banality of local politics, but are nonetheless important.

One of the lasting impacts of our lives is the places we build. Make America Walkable Again.
Offtopic but there is a strange bug on this website when browsing to another article through the "previous" and "next" buttons at the bottom of the page. The displayed title changes as expected but the content doesn't.

I was able to see the same content titled as "Beam..." then "Announcing Vitess 13" when switching to previous.
And when switching tab and back, the page was displaying "Beam..." but the content was about Vitess 13.
Evaluating who you really want doing the talking and working something out that their employer allows or gets a cut from are absolutely real concerns. That doesn't necessarily make them deal killers, but they could kill some deals.
React Native is one cause. Another is that they ship a tremendous amount of cross-platform c++ Office code, which is not small.
Oh, reddit!

Reddit is so full of trolls that I've mostly stopped contributing, except in a few subreddits that are properly moderated.

Sorry you experienced that :/

For what it's worth, I don't think I've seen anybody from the core Rust community on /r/rust.
Aerospace industry? C++? Frightening.

I thought Ada is prevalent in this space.
When say "this convincing" what are you basing it on?
Unreasonably Low Bitrates
Fuckit.py – run any Python code, even if broken
This is not an extraordinary claim, it’s how all basic radio spectrum allocation works.

How else are you supposed to make sure that equipment made today won’t interfere with equipment made tomorrow if people don’t stick within their frequency allocations?

The claim above is basically the equivalent of “car should have always operated on the roads that are allocated for them, and should never have been driving through empty fields”. If you’re driving your car through a field you don’t own, you don’t get to complain when someone builds a house there.
'Either fix it myself or lose access? Thanks, I'll fix it myself.'

I don't understand your comment.
> There is plenty of clean energy.

No energy is clean. Some sources are dirtier than others, but they all have an enormous footprint.

The only clean energy is the one you don't consume.

Also, there's no reason why frugality should lead to impoverishment, in fact what drives energy consumption the most isn't by far what benefit the user the most: tracking, ads, video as the default medium (because ads!), spam, planned hardware obsolescence, etc.
That could be valuable, yeah. Big extra value for the company who get to promote it (and themselves) online, and value for the open source project too for the same reasons.

Would have to be figured out on a case-by-case basis though - I imagine some companies may want to be able to discuss private details in the Q&A that they don't want to go out in a video.
> But I wonder how far this can really be taken in my city.

It can and should be taken to 100%. Even Los Angeles and Dallas – much bigger cities than Alexandria – are studying eliminating parking minimums.

Practically, eliminating parking minimums does not mean there will be no parking built: developers will still include enough parking that makes sense (and sometimes that's – gasp – none!) for a project, because in real life a large apartment buildings with absolutely no parking makes just as little sense as an apartment building with twice the number of parking spaces as tenants, especially in an urban area where car ownership is certainly not 100% (or in some neighborhoods, much less than 50%). This is something that almost every other major city in the world figured out long ago.

Philosophically, parking minimums are only something Americans think is necessary because it's been that way for so long. Why don't we have bike rack minimums? Parking maximums?

Anecdotally, my single family home in Los Angeles technically has a parking minimum of 8(!) cars, due to weirdness with the zoning laws. I live right near transit and don't even have one car. I'd love to replace part of my driveway with a deck and expanded backyard, still leave a few spots for guests, and it would effect literally no one, but doing so would mean my home is no longer up to code.
Simple, it's a war between those who are Pascal inclined (and probably liked Macs and Steve Jobs) e.g. (https://www.quora.com/Why-does-the-type-go-after-the-variabl... - add Rust, Kotlin and Scala) and those who know the best languages, the ones that are actually used in production at companies large and small worldwide: C, C++, Java and C#. IOW, if the language does "type varname" then it's correct, if it does "varname: type" then it is doomed. It's sarcasm but it's true.
It should have similar value either way.
This is awesome, it must be this story then?

https://www.forbes.com/sites/firewall/2010/06/15/newsweek-re...
I often just buy the physical book. It's easy to do, and it's not possible to take the book from me later.

I think it should be illegal for sellers to say you can "buy" a book when you have not bought it. It's fraud. Call it a rental or something else more honest. If I bought it, then it cannot be taken away, I can give it to someone else as long as I don't retain it, I can use it as many times as I want, and no one monitors my use without my express consent. It's not that rental and leasing is necessarily wrong, but it should be clear to customers that that is what is happening.
No, they're fundamental to how C++ is idiomatically used. "Resource acquisition is initialization". This means that, if you have an object, and creating that object can fail, then it should fail in the constructor. So you either have a valid object, or none at all - you never have an invalid object.

Now, you could squint and say that an optional<T> returned from a factory is a valid object; that is, it's a valid optional<T>. I can sort of twist my mind that far, but it's not idiomatic. (It might become so, I suppose...)
A great non-obvious take. I like it.
I agree that C++ is a mess of a design, but I don't think this article quite gets how. RAII and move semantics are two of C++'s best features, and the ones that any replacement - like Rust - will copy.

To me, bigger flaws with C++ are that it's too big. The language is bloated with multiple features that accomplish similar things, but each with their own odd corner cases and interference. Anytime there's an issue from a language component, the solution is to tack another language component on top of things. See for example the progression of Macros -> Classes -> Templates -> Constexpr -> Concepts. Each tried to fix flaws in the previous design, but each introduction made the language more complicated, not less.

> But exceptions come at a performance cost.

I mean it's slow to throw, but non-throwing code paths are hardly affected. Typical implementations store the exception unwinding stuff off to the side, so the only cost is binary size.

> That means you need to write code that wraps every possible resource in RAII logic.

Consider using scope guards. You can write them directly in your code, without a separate class per resource.

int* ptr = malloc(...);
auto guard = defer([&]{ free(ptr); });
To add to "Let’s say I want to know if a constructor failed."

Constructors are simply not meant to fail. You should never do something like io in a constructor. For everything more complicated than setting some fields a factory is better suited.
Call me when I can compile some static binary for Windows from OpenBSD such
as GOOS=Windows GOARCH=arch32 go build foo.go.
Can you see any ways in which uploading your videos to one of a (very) small number of market-leading platforms could be problematic, in contrast?
I paid for Youtube Premium just once. Then I opened Incognito mode in the app and it started showing me ads anyway.
Yeah I'd be very leery of anything saying it's a solution to open source sustainability that isn't directly involving maintainers in the conversation and decision. It might sound 'fun' to throw dollars at a project and get their core developer to speak to your team, but it's also a huge time burden and productivity sink for them. If you've gotten value from a project pay the developer how they prefer to be paid.

If maintainers just want direct financial support please give it. Don't make them jump through hoops or do tricks for you. These folks have lives, families to support, etc. and it does not scale to suddenly have their corporate users banging on their e-mail inbox demanding speaking time, etc. while shaking dollars at them.
Utopias tend to turn into dystopias. What if the transformers say that in order to achieve nonviolence, embryos with certain DNA markers associated with antisocial behavior need to be forcibly aborted?
That's ok. I have an Apple Genius in my garage.

https://rationalwiki.org/wiki/The_Dragon_in_My_Garage
The battery is 56mah, and the battery life is estimated at around 2 days. So just over 1mah per hour, I guess?

Crazy to think that average current Android phones use batteries that are around 100 times the size of the battery on this watch!
hide the body, got it
I really enjoy public speaking, so for me that wouldn't apply: if I could opt into earning $1,000 for an hour of work every now and then based on my open source work I'd be delighted.

If a company reaches out to a contributor and offers them money to talk they can always say no!
So does TCL, and yet Go outperforms TCL/TK, even 8.6.
This image is mostly painted by people who forgot to stop.

By that I mean stop using every feature and detail because it's there.

C++ can be used like a much better C (smart pointers, references, const-correctness, generics via templates) and most of the complications can be ignored that way.

Premature optimisation is another big factor. If there's no measurable performance bottleneck, things like move-semantics don't even matter in practise for example.
They never had permission to use the 5G spectrum, and in fact never did. The issue is that the filtering is so shoddy that signals more than 200MHz away from the band they are using can cause issues. The fault for that lies squarely on Boeing.
People have no idea what they really want. They however know how they live now, so when asked they will say they don't want to change.

Where someone lives is a compromise. Everyone wants the best of ALL words: the dense urban area with a subway entrance on the same street, plenty of shopping and other entertainment. They also want a ski lift up a mountain, finish your day ski day in your own backyard, and a tropical beach in the front yard, among the other benefits of rural living. That is physically impossible no matter how much money you have, so you make the best of what you can get even though it cannot be perfect.

With the current situation of the US subrubs are the best compromise, but as things change different compromises become better. Right now dense areas are a lot more expensive for a lot less space, and often that space comes with the problems of living in a very old building.

Note that change will not happen overnight. Even if 30000 square foot apartments (intentionally be absurdly large to make the point) in neighborhoods with good schools was free it would take a lot of time for people to move even though the rent savings would allow for more than enough other lifestyle changes as to make it a better compromise for most people.
When you read more, it's one big buuuuuuut.
It makes perfect sense. I guess the crux of Google Search is to give you an answer to a question. Do you care who gives you the answer as long as it is right?
> Rust will probably be the next choice on the scene

I'm not sure about it.

I think Rust might be hard to certify for aerospace usage.

Not because it's bad, but because it's still complex. Just a lot of negative side effects of complexity are contained due to the compiler checks and design.

But that makes it harder to certify as I can tell.
FTA: Thus, a CPU family intended to address higher-end systems will typically
add 2 more bits of physical address* every 3 years.*

For me, that loosely follows from the “CPU speed doubles every 18 months” variant on Moore’s law. Having extra address space doesn’t help you if your CPU is too slow to fill it (1), so if your CPU gets twice as fast in 18 months, the amount of memory you can effectively address doubles.

That would only change if we had non-volatile RAM.

(1) yes, you could have a hash table with effectively zero chance of collisions if you were to use petabytes to store a few hundred items, and that would be useful even with a 1MHz CPU, but if you can spend that money on memory, you’re better of spending it on better CPU. So, that only would help if CPU evolution stopped and memory got drastically cheaper, both in $ and in power usage.
Indeed, as it is an open solution and a working product.
Wealthy individuals during and around the gilded age had a view of charity that was in some senses very similar to modern charity by the super-wealthy, but also quite different. Like today's wealthy, they often used charity as a mechanism for social climbing, and as a dick-measuring contest. They also used it to try and fend off criticism that is usually directed at them when income inequality gets very high.

However, they were also often guided by a strict idea of noblesse obliger, which we would consider patronizing and archaic today, but which was considered an extremely serious task for them. It was fundamentally their role in society, as they saw it. They were also quite a bit more religiously motivated. This extended to the idea of public service and holding public office (of course they also held those positions as a way to help themselves to the pot, but the two ideas were often present at the same time). They saw charity as an act of duty before as an act of kindness in many instances.

The modern super wealthy no longer think of themselves as constrained by a notion of "duty", for better and for worse.
As someone who uses both Rust and C++ frequently with a good understanding of both languages, I can say that Rust is for the mostpart more pleasant to work in, but Rust's handicap is that it makes working in raw pointers when you really have to quite painful.

If you need full raw pointers with aliasing mutable pointers, the fact that fn drop() takes a &mut T is a problem that can only currently be worked around with fugly hacks, like nesting your data type in another pointless structure, not to mention the giant pile of ambiguous UB that you risk whenever pointers and references interact that could so easily be avoided if Rust would just implement an -fno-strict-aliasing switch, but the devs refuse on what appears to be ideological grounds. The result is that for unsafe Rust, you get about the safety level of C much of the time, because RAII and many language facilities are not safe to use. Unsafe Rust is currently so dangerous that I feel much safer reaching for C++ for some of it. Mutable reference uniqueness, I think, should be enforced by the borrow checker and NOT by pain of inescapable possible undefined behavior at the assembler level.

Now for C++.

C++ is lacking a LOT of useful safety features that Rust comes with baked in, such as Mutexes owning their data, the borrow checker, a good, fast atomic reference counting type, and things that translate to more safety indirectly, like algebraic enums, assignable and movable arrays, tuples built into the language, etc. Generics in Rust, however, are significantly more painful to write due to the lack of duck typing. Perhaps the Rust devs felt that duck typing was too "dangerous" for templates, but because they're statically evaluated, these issues almost never materialize, and so in practice duck typed templates are almost always superior to Rust's generics.

C++ is definitely more mature and pragmatic as a language, but Rust is probably better for systems programming overall, at least if they fix their goddamn unsafe UB stuff.

As for move semantics, that book isn't for "what you MUST do to keep things semi-safe!" though it contains some stuff to that effect. It's more about optimization and tricks from what I can see. Move semantics take a little while to wrap your head around, but once you know the basics of C++'s move semantics, you can pretty much figure out what's going to happen by looking at a class' definition briefly.
It changes everything. Thanks for coming up with this. I have thought about AI generated content before but not in this way. I just realized that we don't need the content web; we need just raw data sources and AI that generates content on the fly, for the user. The AI works for and is directed by the user; that's why it actually can reduce gibberish and make information more accessible and useful. This sets it apart from the current crop of content generation bots.
I don't want to support the platforms in any way and hope they stop existing. Sadly, its very hard for competitors to take back market share from these global monopolies.
> The only thing I really miss on flights that don't have the seat backs is the thing that shows the altitude and progress on the map.

But you can get that on their app as well.

I think flights should do-away with in-seat entertainment. I very rarely see anyone using them, and if you are unfortunate enough to be in economy, they actually take up quite a lot of your personal space.

All the screens must weigh a ton as well - bad for the environment.
Creators presumably receive more from YouTube Premium viewers though I haven't seen any specific details on the revenue split. Either way, lets not pretend that any ad block user tips every single YouTuber they view.
> The author seems to look for something like Go instead

But in Go you also have to write exception safe code, something the author complained about.

Before someone says "but you're not supposed to throw or catch in Go": the std http server swallows exceptions thrown in handlers, and fmt.Print does for String callbacks too.

And before someone says Go doesn't have exceptions: It does, 100%, in all but name.

I actually find C++ to be way more designed, though through, and consistent than Go.

That's not to say that Go isn't a vastly simpler language. It is. And C++ has way more "just because you can doesn't mean you should".
EU 5G uses 3.4 to 3.8 GHz

US 5G uses 3.7 to 3.98 GHz
I'll start by saying I don't want a metaverse and no one else I know with VR headsets do either. We really like them as media consumption devices and for gaming, chatting and working out. But I don't want to or need to live in the device and they don't either.

You have to look at the curve of adoption VS total number, the trajectory they're on. In only 3 years they've managed to grow to that number. If it continues they will be at console numbers in under 10 years. Which a quick Google has told me before is about 85-100 million consoles.

Gaming and media, fitness and social are massive multi 100s of billion dollar markets and I see that being the long term success of VR not this live your life in it type deal.

Also friendly reminder a lot of these cyberpunkesque films and shows are dystopic in nature it's not to be emulated it's to depict failings of society that led to those states. I love the aesthetic of cyberpunk as much as anyone else but the societies they live in are warnings to us, not desired outcomes.
C++ is doomed, but it'll add so many features to mimic the cool new things that it'll cease to be C++.

TFA: "That is, of course, until you realise the design philosophy that is being followed. They literally just implement whatever the current fad in programming is."
>, and is faster than golang

Nice joke. Go software runs much snappier and faster than any Java GUI or CLI tool.
You can control how they are shared, if at all.

It’s not a binary choice.

I run a self hosted instance and don’t share anything with anyone.
You’d think the right way would involve Apple refusing your app if it is wasting users storage because you couldn’t be bothered to strip your binaries.
That's a feature. Youtube (read Google) should not be the global police on what videos are allowed.

Yes, what is posted on the internet can not be taken back. That has always been and remains true.

No, I don't think piracy/trolls/whatever needs peertube, they do just fine without it now.
Yeah, that's a good point - though I imagine that would vary enormously between different companies, countries and cultures.

In California people seem a lot more comfortable with their employees having a "side hustle" than they did when I worked in the UK!
Maybe, dare I say, Boeing should go back to following the spectrum guidance. Is it going to move to the THz channel next and start complaining about visible light?

The information is all over the place (https://ecfsapi.fcc.gov/file/101041916430138/GN%20Docket%20N...)

I would flip their argument on its head and state that as altimeters are that critical, make sure they follow the spec to the letter.

It's, like other commenters said, as if your neighbour sends you an eviction notice for your own house because you are next to him.

5G has taken a tremendous amount of effort and multiple years of work -- people have spent a decade on this. Boeing decided to not follow the spec. I think I will switch to Airbus. ;)

tl;dr: if Boeing can not keep inside a spectrum for the altimeter what else have they "cheated on?"