skysight-inc/HackerNews huggingface dataset:
Yeah, Effective Modern C++ has always read like a list of warnings. C++ is kind of like Python in that the design of the language does not steer you into making good, idiomatic decisions. No one is going to guess most of the stuff that is taught in that book without reading it first from working with the language or reading other people's code, and really a full list of such things for C++ could be many hundreds or even thousands.

I also agree that the new features seem to embrace and extend the "footgun-ness" of C++, rather than attempt to fix it.
Isoperimetric inequalities are fundamental IMHO.

They bridge the gap between theory and practice for eg. resp. the behavior of the Lipschitz constants and batch normalization.
Tesla does not: https://www.tesla.com/support/transitioning-tesla-vision#:~:....
I wondered this too.
Carrying a mobile phone is optional.
There's definitely something strange going on here. I'm getting about 3x as much CPU load on the WASM version as compared to native. Still low enough for a solid 144fps on my machine, but there shouldn't be this much overhead.
To be fair, human drivers would likely have the same problem given seating position in cars & certain lighting conditions..
Nature is trying hard to get rid of us, that little bastard...
For me, energy is more of a problem than time. I'm so exhausted in the evening it's hard to make progress with learning or technical projects.
The problem with submodules is they're not "vanilla" git, and have some subtle, unexpected behaviours. See this thread[0] for some examples.

Submodules, like LFS, are a great idea that suck in practice because they're bolted on to git to avoid compromising the purity of the base project.

[0] https://news.ycombinator.com/item?id=31792303
It’s intended to replace human drivers who have not yet evolved radar. I agree that radar could make it easier and/or more reliable, but there’s a pretty strong argument that building a system to equal/exceed humans using vision alone is possible.
Why not? I don't think there are many graph databases that are set up to handle multiple petabytes of data, so RDBMs make a good storage layer at that scale
Yeah I can see your view on this. It’s the trouble with naming things.
If you aren’t doubting yourself, why would you reply to a comment that mentions no one specifically?
No kidding. Effective Modern C++ was what got me to actually start learning Rust.

That being said I feel Rust has a lot of paper cuts that slow people down too. Perhaps the silver lining is that they are more like barricades than minefields.
We should be very careful about drawing conclusions from Iraq or Afghanistan on potential performance of US army against competent and motivated opponent. Both Iraqi army in 2003 and Taliban in 2001 just melted away deciding not to fight.

Time that it took to capture Fallujah is much better example of what could have happened if Iraqi were motivated. Almost 2 months to capture city with only 4k poorly trained enemy fighters with no heavy weapon at cost of 100 American dead and 500 wounded. At that time US had full air supremacy and full attention on that small battle.

My opinion is that US is up for rude awakening on ineffectiveness of US army when/if real fighting starts.
Perhaps in the future, learning how to run native binaries on bare metal, will be viewed as learning specialized tooling.
as much as I dislike "AI" and its adjacent topics in HN, I think this can be solved with the companies which have the stake to get data from Asia and African nations. I don't know, pay someone group of people to drive around Cape Town, Bengaluru, Shanghai, Shaanxi, Jakarta, and whichever place that has a lot of "PoC" and kids.
Sometimes passive voice is the best way to do that though, because the subject of the action is more important (e.g. the target of a shooting rather than the shooter). Using active voice would either put the important person at the end, or might require you to find an alternative verb with reversed arguments, resulting in more awkward phrasing
Yep, once you go down the path of in context filters, there are a whole bunch of challenges. I need to do another post on that :D
What is it with people on this website (not specifically the user I’m replying to) and going with "the computer vaguely does the thing the human does, literally what's the difference???" (or similar) as an argument/gotcha/etc. around ML/AI/self-driving/...? It’s painfully obvious that the computer and the human are different systems that process information differently and therefore likely need different sets of inputs for optimal function.
with const pointers you have the different problem that you need to define what happens when the nullptr is passed.

While I would certainly prefer the reference to be visible at the call site (a mistake Rust did not repeat), if I have to choose, I prefer the inconvenience of having to use an IDE like qtcreator that will display references in a different style, to introducing an invalid value that needs to be handled (and will be mishandled).

So yeah, as a senior dev, it checks out.
Yes but by "bias" they just mean the miss rate is different. Digging into the study, they talk about visibility and contrast, and checked whether the problem is worse at night (which it is). They don't appear to be suggesting that the algorithms are prejudiced against darker-skinned people.
From TUI-Rs to Ratatui: 6 Months of Cooking Up Rust TUIs
My FIL is a fine art woodworker (makes stupidly nice furniture, canoes that are functional art, etc.), and he uses both. He’s done it so long that he can work with fractions instantly in his head, but he also fully admits that metric is way easier for a lot of it, and so uses both as needed.

About the only example of imperial being easier I can think of is that the thin-kerf saw blades he buys are American, and thus are measured in inches - 1/16” to be precise. It’d be tremendously annoying to deal with 1.588 mm. If he had a 1.5 mm blade, of course, it would be the other way around.
No they aren't, at least low end Android devices support GL ES 3.2 and have proper debugging tools.

After a decade Web 3D keeps having spectorJS as the only alternative.

Naturally there are also some masochists that enjoy debugging the browser 3D stack on RenderDoc, while trying to figure out what belongs to their application.
Scientist-Entrepreneur Is Brewing Drug Ingredients Like They Were Beer
MPI is trivial to learn. CS students here are expected to use it for typical scientific tasks within a few hours of lessons. Complex use cases take some time to understand backgrounds (e.g. multi partition configurations, profiling, infiniband, ...) and it's possible to become a specialist, but that's very rarely needed.

But MPI, in most use cases, comprises far less than React does, so it's not a fair comparison.
They got lot of push back because what the core devs were describing Vlang to be was technically close to impossible, and their implementation was missing lot of properties they were advertising. If you would look at their sources or try out V when they released it you would have seen how outrageous their claims were.
> A team of researchers in the UK and China tested how well eight popular pedestrian detectors worked depending on a person's race, gender, and age.

- edit -

Sorry, I read the article too quickly and assumed it was talking about the countries UK and China. Perhaps they only bothered testing the cards in UK, Silicon Valley and China, Silicon Valley.
Seems really cool - I’d love to know more about how this works. Are there some c bindings
or something that lets us call a rust program from php?

It sounds like the actual async features come from Revolt so I’m not 100% sure where Rust fits in. Because the rust lib used is async as well, they’re compatible?
What have you hired Lisp programmers for? I'm curious.
But this is also kind of a problem created by Google - why force from 30 to 33 and not force from 30 to 31, then 31 to 32 etc? Gradual API level upgrades would make more sense in my world and probably would be less risky for every party.
Just to be explicitly clear in case anyone has heard differently, obesity is unhealthy.
I've built a few like this, and have designed a handful that haven't made it out of Fusion 360 yet.

I have a kit by an FPV pilot (Shelby Voll) that consists of a couple of pieces of pre-cut styrofoam, some carbon fiber rods for rigidity, and other various odds and ends. I think I paid $200 for it. I haven't built it yet, but I've flown friends' builds from the same kit and have built similar ones. It'll take about two hours to build with simple hand tools, and is probably the most durable "flying wing" design of which I'm aware.

I'm mostly into FPV quadcopters, but it seems most people who fly them who get into "wings" seem to prefer them.
The historical scam associated with "selling snake oil" wasn't that snake oil was worthless but that what they were selling wasn't snake oil.
The two with significantly worse performance were RetinaNet and YOLOX. I don't really know anything about the field, but it's interesting they're both single stage performant models, while the slower but lower miss-rate RCNN variants are two-stage. It's interesting that the pedestrian-specific models are all worse than the general models at detecting people!

The conclusion is kind of weird: apparently their "findings
reveal significant bias in the current pedestrian detectors" despite the bias being almost entirely within the single-pass general object detectors. And where it's statistically significant in the other models, the miss rate is low in both cases, and the effect is reversed! (Dry-weather Cascade-RCNN does better on dark-skin than light-skin, among others.)
do you also see, as the parent brought up with “… huge percentage of Walmart workers on gov food assistance.” and i’ll stick with walmart here for the sake of continuity, the other well know instance where walmart has a significant drain on local police departments. target brand stores, in the same neighborhoods don’t have this problem. target stores have significantly more people employed, which leads to a significant reduction in theft—would be thieves see an employee organizing, cleaning, stocking, etc… in just about every direction they look which discourages them from stealing. walmart just externalizes the cost onto the local police departments allowing walmart to bring in more profits.

do you consider what the parent pointed out, intentionally hiring below poverty wages, and the externalizing basic business costs onto local, often small town, police to be “welfare leeching?”

what about the companies who go out of their way to hire armies of accountants and lawyers to play games in order not to pay taxes?

what about the companies who engage in wage theft? there has been a number of reputable studies which show that wage theft may absolutely dwarf other forms of theft such as shoplifting.

if you consider these things leeching, then i think your point probably stands. but if one of those groups is not a leech, yet the other is, i don’t think your point stands at all.

if you do consider the instances i brought up to be leeches, which do you think “leeches” more? companies across the board who go out of their way to avoid taxes, wage theft, and externalizing costs? or poor people on welfare?
I'm happy to see more people taking into account overhead in commuting. It drives me crazy when people consider commute time as the time it takes in front of the wheel.
left/right appears only where nothing else is allowed. in the countries where the rule is not "winner takes it all" there is a spectrum.
Self driving cars have the same problem as "AI"

Limited "AI" is good, like GPT-4 and the image generation tools. But an "AI" that is similar to the ones in the movies? Nope.

Limited self driving is good, on the freeways and larger roads where the traffic is predictable, perfectly doable. Many cars can do it even today, even if they don't advertise it as "self-driving".

But letting a car loose on the roads of a large city? Hell no. Unless it starts reading the thoughts of everyone nearby, there's no way we have the technology to have the self-driving car navigate without issues.
Code Llama for VS Code
>fact that Muslim Uyghur were/are causing terrorist acts on innocent people.

Bring the facts, don’t claim something is a fact without backing that up.

Also, according to leaked documents, the whole community, incl kids women and innocents, were subject to these actions, assuming there were some “terrorist acts” -still need your citation, preferably not from CCP backed media-, you go only after who committed these acts, legally persecuted through a fair court, but documents showed otherwise [1] and you can read summary of these here [2], according to these leaks, you are religious extremist if you are “Telling others not to swear”, “Not allowing officials to sleep in your bed, eat your food and live in your house”, “Not letting officials scan your irises” ,”Wailing, publicly grieving or otherwise acting sad when your parents die” and worse of all “Being related to anyone who has done any of the above”, that among other atrocities were committed like rape or harvesting the organs (see articles in my previous reply). When the government say “extremists” you need to look carefully what were these actions, grieving on family definitely isn’t one, but those are all usually the stages of genocides [3] and it seems it’s already on the 10th stage. These all go under the assumption there were no false flags [4] to start with, a way to justify the genocides later.
Bringing other countries atrocities as an excuse is even worse, and I don’t think I need to explain why.

[1] https://xjdp.aspi.org.au/explainers/the-leaked-documents/

[2] https://www.abc.net.au/news/2019-11-25/china-cables-beijings...

[3] http://genocidewatch.net/genocide-2/8-stages-of-genocide/

[4] https://en.m.wikipedia.org/wiki/False_flag
The monorepo is essentially a single file system.

Things like moving a file from one git submodule to another is more cumbersome than just `mv foo dir/bar`. That means your directory structure is in practice tightly coupled to the tree of git projects.

Also, since any of the git sub-repos can be branched, the chaos of merging development branches seems like it gets even more complicated in a submodule architecture.

It may be possible to put a user interface that abstracts away the submodule architecture and forces everything to live on HEAD. But at that point it might be easier to just provide a git-like UI to a centralized VCS.
Terrence Deacon on How Mind Emerged from Matter (2012) [video]
Seems plausible.

But social environment is obviously a major factor too. Some of the recent uptrend is likely learned.
Just because you know exceptions, it doesn't mean that it's a bad metric.

Take one of these "people with 5 years of experience" that are great and wait until they have 10 or 15 years of experience. Would you expect them to be a better or a worse engineer then? You need to compare apples to apples, i.e., talented engineers to talented engineers - and in this case, experience often makes a big difference.

I understand that, in our field, there is the impression that older engineers don't "keep up with progress", but this stereotype is just a form of ageism. That might be the case of bad engineers, those who were never great to begin with, but a talented engineer with a lot of experience is really hard to beat. These people can make design and architectural decision for million/billion dollar projects that an engineer with 5 years of experience would never be able to make confidently.

In a nutshell, you can't take experience alone as a predictor of performance, but there is a strong correlation between experience and proficiency.
Yeah. I felt similarly about the importance of the kids when we lost a loved one. They kept us going. Life has phases, and this one will pass, and hopefully you will find the next phase to be better.
Most companies want to minimize salary while managers and directors are highly incentivized to maximize headcount. It’s very perverse.
Having owned a Tesla for a few years and followed all the AP/FSD and other vision self driving projects for a while.. I really think true self driving is quite close to being a large subset of what some call AGI.

It is not some small trick on a path to a long & far away AGI.
It is a broad, general and very difficult problem.
Add in the need to make instantaneous decisions operating at the limits of your sensor/compute suite .. and the consequences of being wrong, it's a very large problem to crack.

Owning a Tesla 2018-2022 experiencing the "progress" and observing it before & after, I think self driving cars are closer to 20 years away than it is to 2 years away.

Watching latest builds of FSD attempt to blow stop lights/signs in 2023, and regress on the same stupid intersection test the well known YouTubers have been doing for half a decade.. its almost comical if it wasn't so scary.
How trees guard their seeds with mast seeding
> Nah, trans people have been around a lot longer than this.

He’s talking about the increase. He never claimed trans is new.
Submarine guy was wealthy, thus it must be a good idea to build your own dodgy submarine and flatten yourself with it.

Seriously, this “oh, well, he’s rich, so it must be a good idea” thing is an _absolutely deranged_ worldview; I have no idea how people think it is supposed to hold water.
I'm interested to hear this, as I'm one of those people that hated Cordova but loved the promise of a single codebase.

I was involved in a project that could only afford updates every so often, and every time I returned to try update packages it was a living nightmare.

Maybe I'll give Capacitor a go.
There’s even one that kind of looks like a samurai helmet.
I'll always be skeptical of the claims. Much less of a trust but verify, but a "you have to verify every little thing" [1]. The analogy that came to my head is how Elon always says self-driving is coming right around the corner [2]. Sure, some progress is made towards it, and maybe it'll come true one day... but don't take any of the claims at face value.

[1]: https://mawfig.github.io/2022/06/18/v-lang-in-2022.html

[2]: https://jalopnik.com/elon-musk-tesla-self-driving-cars-anniv...
Under no circumstances do you "gotta hand it to them", but Musk took the private beta, US-only Birdwatch, renamed it to something less cute (but ultimately a more pragmatic name), and launched it more broadly.
Not a direct answer, but years ago a friend of mine tried a similar experiment by taking a bunch of polarizing questions and then doing principal component analysis on the results. He came up with two axes (the maths would spit out a number of axes, but the rest were low-salience). The top one was very similar to "left/right".

http://politics.beasts.org/scripts/eigenvectors

It would be interesting to repeat this today, either with the same or different questions.
>Airplanes are designed using a 75kg baseline per passenger, including luggage.

That seems a bit low. A person with average height (5'8", 172cm) and borderline overweight BMI (25) is already 74kg. Of course, the average American is probably fatter than that, and has luggage as well, which means they're well above the 75kg design limit.
Post-Elon takeover the amount of bot spam I encounter has definitely decreased. I'm not sure the claim of Twitter moderation is accurate, since before the takeover the problem was still present.

The problem got so bad in YouTube Comments that eventually third-party tools [0] were developed to help purge spam.

I agree that if you had a team monitoring spam they could write rules to drastically reduce spam. It's always going to be a cat and mouse game, but if the cat side was more proactive it would definitely lead to a better experience.

[0] https://github.com/ThioJoe/YT-Spammer-Purge
This is my most important lesson in the past few years. There is value in _not_ learning, building, doing all the time.

I like to work and study, but doing either of it for more than 8hrs is not sustainable for me. I expect to be writing the modern-day equivalent of Fortran when I'm 60. All the young bucks will look down on me for not advancing in my career, but I think I'll be happy. That's all I need.

Everyone has their own balance point. John Carmack can work 12hr days and improve at various subjects continually, so his balance point lies somewhere else. Don't try to be Carmack if you're not and you can still live a fulfilling life :).
Yep! It's one example of multiple key projects in Bangladesh run by Indian corporations (a major reason why India supports Sheikh Hasina and the BAP), though to be fair it's not only Indian corporations.

QatarGas and Gazprom are both the primary partners with PetroBangla, the Padma Bridge (one of Bangladesh's most critical logistics arteries) was constructed by Chinese companies using Chinese originated loans, and the expressway projects in Bangladesh are being built and managed by a major Thai construction company with close links to the Thai govt.

To be fair, American companies don't really touched LDCs anymore - they get better RoI in investing within North America.

Countries like Japan, South Korea, UAE, Qatar, KSA, Türkiye, China, India, Thailand, Malaysia, and Russia fill the financing gap in LDCs and Developing countries as they have more experience operating and executing in those kinds of environments.
Which book would be the equivalent to an Effective Modern Python?
Is it? I'm slightly struggling to understand what benefit you gain from having the "parent" repo but also having individual submodules. Sure, working in each individual project's module makes cloning faster, until you need to work on a module that references another module (at which point you need to check out the parent repo or risk using the wrong version), and now every change you make needs two commits (one to the sub-repo, and one to the base to bump the submodule reference),
We need new languages and ideas to keep developing, obviously if someone is willing to put a lots of time and effort they found existing ones lack in something. Even if the difference is only 20%.

Talking specifically about Go, how much time did it take for Go team to acknowledge and make some workarounds to support generics? And this is not a new concept it exists for more than 30 years. I can not imaging Go actually developing and incorporating new things, it is a simple and "completed" language.
I think that's an important bit here. It's like "optimizing" sleep with the meaning of getting as little as possible of it. No. Sleep is good. Optimizing sleep is getting the proper amount your brain needs.
Of possible interest - instead of making a whole new programming language like awk, you can also just systematize generating code for an existing one with a command-line harness.

This can even stay terse & keep a fairly fast edit-test turnaround in a fully statically typed language like Nim: https://github.com/c-blake/bu/blob/main/doc/rp.md
There are a lot of aspects where Ada is better than C. Just a few things that came to mind:

General lack of dumb C stuff like switch fallthrough, null terminated strings (Arrays in Ada are passed with fat pointers), undefined behavior, no need for memcpy, no preprocessor bullshit etc.

Ada is more like C++ in functionality so it has Generics, Tasks (Threads), Exceptions, Packages, Strong types, Design by contract etc (All much much saner than C++ stuff)

Despite all of the features it's very embedded friendly. Language allows you to disable features you dont wont with Restrictions Pragma (Very long list of restrictions you can apply: https://docs.adacore.com/gnat_rm-docs/html/gnat_rm/gnat_rm/s...). You can also fairly easily change runtimes: https://docs.adacore.com/gnat_ugx-docs/html/gnat_ugx/gnat_ug....
Most switched to Linux in my experience. Or do you have some examples?
not loading even after 5 minutes. Firefox latest version here (116.0.3 - 64bit)