skysight-inc/HackerNews huggingface dataset:
> I hope to replace my finely tuned epoll / read/write reactor pattern inner loop with io_uring / eBPF and leave 99% of the code untouched... just better throughput / lower latencies.

I hope to do an update of Asio at some point and it will start to use io_uring automatically as a backend
This is the nerdiest thing I've seen in a long, long, long time (a Chapman Stick?!?) and I love it.
You'd be surprised how many of us sit in the same boat. I'm constantly asking myself the same question — all the time. Years ago, I wanted to work for Amazon — eventually I got there (I'm here now) and although I do love it, I'm still asking myself: "what's next?" Coming from a networking administration background, building packet processing devices for AWS has been nothing short of a dream.

But again, I'm still asking myself: what's next?

As I write this, I don't think I'll ever have it all figured out. Don't know if I will ever figure it. However, it's part of the journey and along the way, I found a lot of comfort is Susan Fowler's post: https://www.susanjfowler.com/blog/2017/5/21/life-without-a-d...
What could be the point of this except to set up an expectation that won't be met?
I didn't get the impression that the author was suggesting to throw out the old APIs. It seems to me like the article is a proof of concept of new approaches that could be added as new APIs, only expected to be used by people who need them, using an approach that takes advantage of modern storage technology.

> "Random access may have to wastefully read larger blocks of the data than are actually requested by the application. The unused data gets cached, but if it's not going to be accessed any time soon, it means that something else got wastefully bumped out of the cache. Sequential access is likely to make use of an entire block."

I may have misread it, but I thought he addressed this in the article.

> "Random access files take a position as an argument, meaning there is no need to maintain a seek cursor. But more importantly: they don’t take a buffer as a parameter. Instead, they use io_uring’s pre-registered buffer area to allocate a buffer and return to the user. That means no memory mapping, no copying to the user buffer — there is only a copy from the device to the glommio buffer and the user get a reference counted pointer to that. And because we know this is random I/O, there is no need to read more data than what was requested."
Well at least in the near future I don't think you will see it on any other UNIX than Linux as it is compared to aio not a standard, but a Linux specific api.
Has anybody tried to use Gradle as a C++ package manager?
It seems to be officially supported and gradle is a powerful and decent tool, from experience.
I feel like it's a cultural thing that it doesn't come more often than bazel.

https://docs.gradle.org/current/samples/sample_building_cpp_...
Wouldn't say so. As Kovek so very nicely put it further up:

"Computer Literacy provides tools to interact with information."

Easy to forget the iPhone was ~2007, prior to this computers were still a fairly niche market and Android still in its infancy, computer literacy gave an advantage but computer illiteracy wasn't really a big disadvantage.

Now literally every industry from mom and pop stores to basic healthcare demand a pretty high level of computer literacy to the point they don't survive long without it.
PHP 6 was never released, you are probably thinking of 5.3+
Intuitionistic Type Theory
I love that article. Again harsh reality is that on average interview for a developer in London they will ask you all those questions and much more. And if you get hired by any chance in fintech you will most probably spend majority of your time on meetings and working with Excel spreadsheet... never touching any code.
Imported used cars are fuelling pollution across Africa
Their github says:

"ORY Kratos is the first and only cloud native Identity and User Management System in the world."

Uhhh That's not true... Every major cloud provider has one too, and some have had them for over 5+ years.

Also, do Auth0, Okta, etc count?
> And so people who ... wish PHP was a different language are the ones influencing language development.

That's definitely been my impression. I used to be a professional PHP developer, still use it occasionally for personal projects, and appreciate the language, warts and all, even if I can't truly say I love* it -- but I'm only half-joking when I quip that PHP has evolved from its roots as a cargo cult version of Perl into a cargo cult version of Java.
Safety (larger size and heavier weight), higher up seating position (also means better safety since you can see farther out), better ground clearance in general (good for places with snow for example), good cargo capacity and/or 3 row seating (though the latter are available in mini-vans, but they're not "cool" and are not generally as capable - e.g. most don't come with AWD).
I always like hearing about more work in this space. More attention needs to be paid to native language packaging.

That being said, the core problems with current packaging tech don't seem to be addressed here. Though maybe they are and someone can enlighten me.

1. Repo contents are not portable across packaging systems or distributions.

Antipatterns: Often your Makefiles have to be hardcoded to assume pkg-config. Or assume there's a monorepo. Or your CMake has to explicitly mention your packaging system (i.e., Conan::zlib). Or all the projects must be ported to use a particular build system (like CMake exported config packages).

2. Repo contents are not portable across architecturesnand OSs.

There are well known source code anitpatterns here, but per-repo build and packaging specifications still like to have "if windows" and "if ARM" sections. I can live with working around edge cases, but it's really pervasive.

3. Repo contents are not portable across sets of ABI assumptions.

Similar to item 2, but with respect to de facto ABI levers like what language standard is used (libraries often have different ABIs based on language feature detection) or magic preprocessor defines (like which std::string is assumed).

Now, I think the above are hard problems. But I would like to see more folks thinking about them. Especially people researching package management. Especially because someone just wanting to meaningfully use folly or boost::filesystem is generally unaware of the above foot guns.
Ask HN: Do people still create/use UML diagrams?
Is it still a thing today in software development/engineering practices or do people just skip over this step. Or is there a better alternative?
If I delete the default date, it crashes instantly and says “An unexpected error has occurred.” Guess I have to type in each piece without deleting the others?
Erotic Electrostimulation
IANAL, but if you "stumble" onto data that is legally published, then you are free to use it in your business. It is on you to check that you are obtaining the data in a legal manner.
I used Mondrian for the last couple months it existed, and I recall critique being fairly different.

I think they kept the same keystrokes, though.

That is one nice thing about Critique is although it's a webapp you can drive it pretty much entirely by keyboard. It has the feel of an old usenet newsreader like nn, in a way.
> It was a bit late to de-escalate after the islands had been invaded.

According to my family, a bunch of people, probably fisherman or metallurgic workers, raised a flag in one of the island (we don't know why) and then Galtieri sent some troops to protect these people. When the fascists arrived to the islands, they were hostile to the residents. And then hell broke loose, and Galtieri was at war with the UK, US and NATO. A complete lunatic. Once the war started, the propaganda machinery took over. People fighting the dictator didn't want this war, but knew very well it would weaken the Military junta.

> Do you really think Galtieri would have gone for any kind of political settlement

No. The ERP (People's Revolutionary Army) and Montoneros were fighting against Galtieri, in the streets of Buenos Aires, so the Military Junta needed a distraction. However, my mom always said that the only person who could stop that war was Lady Di. She was very popular in Argentina, people used to compare her with Evita. Maybe my mom was wrong, she was a bit of dreamer after all.

> The big mistakes by the Brits were made beforehand by not taking seriously the noises being made by the junta

True. Galtieri never thought England would go to war. I'm not sure why, probably because he had bad intel, or was a complete sociopath.

> It’s very sad that what was once a strong relationship between the two nations went downhill with Peron

Yes, it's sad. After Peron everything went downhill. My mom is an English teacher, and was born in Argentina. She loves the English culture and people (Ladi Di, Churchill, etc), and the war did not change any of that, but deep inside I think she feels betrayed by England (by Tatcher, the media, and even the Queen). But she knows very well what happened and why, and finds comfort in thinking that the war helped restore democracy in her country. She was a proud Montonera https://en.wikipedia.org/wiki/Montoneras

All the best!
yep, at the Linux Audio Conference we have a paper for using eBPF to process network audio packets this year for instance (https://lac2020.sciencesconf.org/program / paper is https://lac2020.sciencesconf.org/307835) - presentation is tomorrow (happens online)
BPF and io_uring architectural styles both have heritage in and close equivalents at least on BSD. You could consider io_uring as nothing but a slightly fancier cousin of FreeBSD's netmap that exists for exactly the same reason, they just wear different shades of lipstick. BPF of course came directly from BSD into Linux

Any inevitable standard will likely come from userspace, much in the same way libpcap successfully papered over raw packet capture for a huge variety of operating systems. The underlying kernel interface is basically just details. We're decades past the point where application portability required standards like POSIX to make progress, I imagine comparatively few modern programmers even know much about those kinds of standards any more.
I can't really say it better than the author herself: "It seems scarcely credible that the secrecy on such a high-security meeting could have sat upon such a shaky foundation without for example some form of two-factor authentication using the kind of hardware available only to governments."
In PHP grapheme_strlen achieves what you're describing: https://3v4l.org/HPOb3
Reduced plasma half-life of Vitamin D3 in those on high-fibre diet
I've been an Apple developer for decades, but the last few years have been exhausting and I'm ready for a break. So I'm switching 100% to Linux development.

For now that means contracting work for others, who are integrating Linux into their systems (embedded), but as soon as I start seeing a viable way to get paid to build Linux-only software for a mass market, I'll take it.

Personally, I think the old models work fine on Linux: shareware/freeware, donation-ware, simple/cheap licensing terms, etc.

I wonder what the SublimeText and Reaper guys get for their Linux builds? I'm sure it is not insignificant, but I'm not sure its significant...
I like this! It helps frame the urgency of getting things done while you can, our time here is limited...
$6/mo?
An average user can do this, for sure. But, yea, some sort of instruction is necessary, as it is not something that the platform itself offers by default.

For example: the user needs to be aware of this possibility to begin with and also need to know which plugin to install, even it isn't difficult to work with.

In addition, as the site will no longer be dynamic, some adjustments must be made, such as disabling comments - or adding an alternative like Disqus.
That used to be the case, but with the latest Euro regulations diesel and gasoline are at the same requirements for emissions.
lol angelo’s email is moregarlic@foo.com
How to Make Money on YouTube – Things to Get Started
Scientists have built tiny microbial factories that produce hydrogen
If Jaron is your trip sitter, you don't even need the LSD.
Nicely written article. I too attempted a Lisp interpreter to learn Rust, but gave up when I couldn’t figure out how to implement a linked list in Rust.
The Paradox of Choice – Why More Is Less
Mehran Karimi Nasseri
Hmm, but how do you know that rates of return on capital in general aren't declining simply because of reductions in productivity growth or decreased innovation? I'm not even clear on causality here—if return on capital goes down, maybe people choose less productive investments, which leads to less innovation and less development of new productivity drivers?

Anyway, I have not seen the claim that return on capital is declining. https://www.frbsf.org/economic-research/files/wp2017-25.pdf (first Google result ;) ) doesn't seem to indicate that.

Got a link? I'm curious to read... :)
Thanks for Generative.fm info. Never heard of that before. Wondering what would be mix of both generative and ragya with some AI magic.
trying to get one liner snippets from random online sources is always very fraught: https://www.google.com/search?q=when%20was%20running%20inven...
Hire people who give a shit
I wouldn't be doing my job if I failed to mention that both Alexei (eBPF) and Jens (io_uring, block) work at Facebook. Beyond them, we've got a bunch of folks working on the primitives as well as low-level userspace libraries [0] that enable us to use all of this stuff in production, so, by the time you're seeing it, we've demonstrated that it works well for all of Facebook's load balancers, container systems, etc.

[0] https://github.com/facebook/folly/blob/16d6394130b0961f6d688...
I think the situation is almost the inverse of your question, actually. :) The article's author already does almost everything on their iPad; so the use case is as simple as "I want to move that one last thing (coding) off my laptop and onto my main machine (my iPad)".
Love it. Thank you
I’m guessing there won’t be a significant performance advantage, not insulation from rot.

The likelyhood that Apple’s drivers at EOL outclass the driver support the community can provide seems high.

On the other hand, I agree with the last point. There is an aesthetic dimension that can’t be ignored.
Same here, I have owned iPads years and I still don't get split screen to work without some trial and error every time I use it. Obviously not that often, but wasn't Apple stuff supposed to be easy to use!?
Yes, Specially in Latin countries.

When I was like five years, we don't have money for food. Then maybe once a week we had liver beef (cheap meat).

Then my mother will cut one beef for each member of the family, But you always had the one that is the biggest.

My brothers and I fight for it.

To make things fair, we did a draw to select who will choose the first beef.
We call it "Sorteio do Bife".

Later as the country/economy progresses, it became a joke. Like if you don't hurry for something, you will lose the Draw.

It was not uncommon to NOT have enough, and the parents just look at the kids eating while they did not eat anything. And If you have other parents, you get your kids and ""appear"" by surprise at someone in lunchtime.

It was intended and a costume that if someone arrives at your house in lunch/dinner time, you share the food.

If you and I are going to a coffee place/bakery, I would ask something and offer to pay you because I don't know if you are in a good financial state or not. So by default, you Always offer to buy you something.

It is so ingrained inside you that I feel very sad when I throw away food. And I have a hard time leaving anything left on my plate.

I have to remind myself to eat less and that it is ok to leave food on my plate. That excess of food is bad but still.

I remember that my dream when I was a child was:

When I grow up, I will be rich, and I will eat filet mignon and Pepsi every day.
That was the peak of being rich for me.

Disclaimer: Today is Thanksgiving. Things are not perfect. Things are not all we want. But let's be thankful for the good things we have.
Be thankful for your friends, health, good humor.

If you don't have something to be thankful you still have power to do any good.

We argue, we downvote, we rage.
Be thankful we can still do it.
Oh yes, I'm happy with that. The problem is that might be even hard to achieve with the T2 chip.

It's sad because the new MacBook Air seems superior to all competitors and the price is quite fair after academic discount.

Also, Apple makes it easy to buy any keyboard distribution from any location, which is really cool. With many brands, I need to hack the system and shop from NL to get a US ANSI keyboard here in EU.
What do you mean by simple expressive language that stay out of your way? Every language has some concepts and assumptions and abstractions and certain ways to model this complicated world. Can you give some concrete example and explain why?
It is clearly Ray Tomlinson's fault for sending emails. Because anybody else on the list would have an army of defenders to argue for and bring to stall any change to reverse their negative effect.
See metal and plastic micromachines zip around
SeaSand Digital – Achieve groundbreaking results
this supply-side analysis is relevent and well-spoken, yet one wonders what has been done with the already-in-place guranteed income from managed-monopoly markets around the US for the last 25 years ?
Spending 50€ in France is about half a filling at current gasoline price. You were barely using your car at all.
Why not consider nVME in this case then as cheaper than RAM, slower than RAM, but faster than network storage? I don't know how you handle concurrency btwn VMs or virtualize that storage, but there must be some standard for that?
>Antipatterns: Often your Makefiles have to be hardcoded to assume pkg-config.

I'm not clear what you mean here - are you suggesting "hard-coding" use of pkg-config is a bad thing? Why? "Hard-coding" pkg-config would be ideal, I think, since pkg-config is the only package-manager-independent option that I know of for native dependencies...
I'm not convinced that scientific formalism is always necessary or valuable. "Computer Science" is an anachronism that arose due to the sort of people who built the first computers and the sort of reasoning they valued. It would have been bizarre to complain about how pointillism in art lacked fundamental theory when artists first embraced it. If people want to play around with a new approach to computing and spend some money doing so, I don't think having them sit down and prove theorems about optimal data structures is strictly necessary. Maybe it won't be mathematically perfect on the first go around, but who cares?
> Collapsing comments when the code changes is the correct thing to do 90% of the time in my experience

Why not just leave them uncollapsed and allow one to mark them as resolved when the change is actually resolved. The other problem is that it's difficult to see what actually changed when a line is marked out of date without having to scan through the entire updated diff and then jump back and forth between the diff and conversation view.

Collapsing them by default makes it difficult to find the comment by scanning. If they were uncollapsed until I marked them as resolved, then I could at least use the find feature in the browser and search for my username to find my comments.
So Java is nearly as low-latency as C if you're willing to write your Java as if it were C?
This is really sad.
What Is Clickvio? Claim Your Free BlackFridayBundle
What Is Clickvio? My Opinion About #Clickvio And Mega Bonus Bundle and OTO | Make Sure Claim Your FREE #BlackFridayBundle #EmailMarketing #email_listbuilding #email_Marketing
The laptop works without updates.
"an asset whose added value only exists if more people buy into it"

That's what money is.
Even just "get a local version of a WP site running on non-Linux" is something I've seen people struggle quite a bit with.
SSDs make no sense for offline archival. They're more expensive than hard drives and will be for the foreseeable future. You don't need the improved random IO performance or power efficiency for a drive that's mostly sitting on a shelf.
The best example are Police Unions :)

Though Teachers Unions would a counter example.
For a moment, I thought it's my personal list of "I don't know these"
> I've been bitten before by tools that are easy for trivial examples and don't work well for larger projects.

Have you looked at build2[1]? One of its main goals is to not make this mistake.

[1] https://build2.org
one of the quickest ways to loose people that GAS is to make it apparent that no one else will GAS.
Thanks for the feedback and glad to hear you like it! I'll add the predicted number of points to the UI. That's a good addition imo as well.
On viceroy if you unintentionally put 2000 lines on a graph, you get a visual mess. If you do that on grafana your tab will hang for ten minutes. Big difference.
> about comment on the commit message I'd say it's a commit on the main PR

Except that if the overall diff line I choose to comment on about the commit message changes in some way, then the comment is collapsed, which makes it difficult to keep track of what needs to change.

> since by the time the PR is done the commit msgs are pretty much not changeable, except for the last one

They can be changed via a git rebase.
Russia's whole political culture is the one of conquest. Their ambition was pretty much always to conquer as much of Europe and Asia as possible, and the mindset haven't changed in XXI century - neither among elites nor among common folk. They're still pretty much a typical XIX century empire, they didn't yet go the shift to focusing on economic domination that UK, Germany, US, Japan went through since.
I just replicated the error. That sucks, I'm really sorry about that. Will try to fix.
And 7-9 years is a fantastic support lifetime and yes, I know some folks who still use their 9 year old macbooks such as grandparents etc without major issue.

You have new android phones that ship with software 1.5 years old and NEVER get updated.
Thanks for the well-written replies. From the benchmark mentioned SPX has score ratio x86/ARM (emulated/native) ~60%, thus ~80% claimed by Apple is indeed a big step.
I know a few optane deployments in finance, but other than that, it seems incredibly difficult to justify the steep price.
Also there are great sales right now I got over 35 games for 70 CAD, I can play for a long time paired with the Game Pass.
Looks like the HN hug of death got the server.

Maybe someone should build such an app for servers...
I read that a red beard could be a sign.

(I have a red beard and 23andme confirmed my Neanderthal genes)
My 23andMe profile says I have a larger than average amount of Neanderthal DNA. How can I see if I have the risk factors in this study?
Why Social Media Became the Perfect Incubator for Misinformation
> but if they got within say 15% on performance and battery life would that be good enough?

I mean, depends what you mean by 'good enough'. It would, obviously, be good for AMD; I don't see that it would make it competitive in perf per watt terms, though.

> e.g. they seem to have speeded up handling of reference counting through architectural changes

They have, but that wouldn't be relevant to (most) synthetic benchmarks, I wouldn't have thought. SpecInt2017 won't be doing much if any reference counting, for instance :) The M1's advantage in ObjC and Swift should be expected to be even greater than its advantage in 'normal' (ie C) code, but beyond refcounting microbenchmarks I don't think there are many tools to demonstrate that (and the vast bulk of performance-sensitive code running on MacOS is C/C++ anyway).