skysight-inc/HackerNews huggingface dataset:
You're not the only one. Coroutines are complicated as hell and have too much boiler plate BUT once you handle it for a general enough case you get javascript-esque async await syntax which is very, very nice.

Take for instance, this code which relies on libuv for its event loop and co_await to retain its state during its execution:
https://gist.github.com/Qix-/09532acd0f6c9a57c09bd9ce31b3023...

Lets say that you want to batch a bunch of database operations into one transaction. You could queue them up over the course of a few milliseconds, run the transaction, and then for each context that relied on different db operations simply return to each's previous point instead of having to call a handler. Granted, the handler is now inside of the `await_transform` needed to work with `co_await` but think of the possibilities. No weirdly separate callback function, no real need to make a class that encapsulates all of the operations for let's say a user's post request, and to top it all off, you can do this on a single thread. It's a tool for cleaner code but I'll be damned if it is really easy to understand.

It's just so much stupid boiler plate and a strange way of putting it together.
Or perhaps they'll be some form of Mobius strip-like string-particle item that you can divide in two but still have a single item afterwards. Like self-healing strings that you divide in one [set of] dimension[s] and which simultaneously close up in some other dimension.

Whether such an item is mathematically possible is left as an exercise for the reader ;o) (just an idea I had).
What's impressive about this is that it's entirely written in assembly, and has a full GUI and network support that fits on a single floppy.
That's a logical fallacy. Two wrongs don't make a right.

China and Saudi Arabia are pretty dirty, but I don't see the US in that camp lately.
The chance that you don't have constraints set up correctly is indistinguishable from 100%.
> the almost complete lack of empiricism in Computer Science

Claiming that an entire science field "lacks empiricism" is quite brave, and definitely false in the case of CS.

Perhaps you are talking about software engineering in practice instead, but that is false too (for any serious project).

> "Nevertheless, we believe that, even today, the advantages of using Rust [in the Linux kernel] outweighs the cost." Where is the evidence?

Three sections of the RFC are spent on characterizing the sentence you quote. The LWN article is not the RFC.

Furthermore, many of the claims I wrote in the RFC are simple facts (e.g. features that Rust has) that you can easily corroborate. For other claims, you can look up plenty of articles, scholarly and otherwise, about Rust benefits.

But none of that really matters, because the only way to gather the evidence you are actually requesting (Rust in the Linux kernel) is getting into the kernel and evaluating Rust after a while.

> "Rust is obviously a better choice for Linux than C."

The RFC does not claim it is "obviously" a better choice.

Quite the opposite, in fact: see the "Why not?" section.
There is no "special refcounting hardware" in the M1, it has exactly what I said it has above this. Alas, nobody trusts me…
Yes, and in most cases, no one will cite negative results. The positive results continue to be cited even long after debunked.

This is an example which did get cites:

https://journals.sagepub.com/doi/full/10.1111/j.1539-6053.20...

But despite the high visibility, you can see the large number of papers published based on the original myth.

And this refutation doesn't have great methodology (but other ones do). It's mostly cited due to strong language used.
Are you still maintaining the project? It looks like it's been a while since the last commit or release.
Starbucks and Luckin: Crafting a Culture of Coffee in China
It’s frustrating to need a run-time team for a piece of infrastructure, especially one sold as IaaS.

It’s totally understandable that you’d need developers to have expertise in patterns and anti-patterns, as well as needing an expert to set things up in the first place, but you shouldn’t have to have a dedicated ES monitoring / tuning / babysitting team like Oracle DBAs of yore. That you do, means it isn’t there yet as a product.
Thanks! Here are the annotated versions of those links:

Linus Torvalds on Rust support in kernel - https://news.ycombinator.com/item?id=26831841 - April 2021 (290 comments)

An RFC that adds support for Rust to the Linux kernel - https://news.ycombinator.com/item?id=26812047 - April 2021 (261 comments)

Supporting Linux kernel development in Rust - https://news.ycombinator.com/item?id=24334731 - Aug 2020 (354 comments)

Linux kernel in-tree Rust support - https://news.ycombinator.com/item?id=23800201 - July 2020 (491 comments)

Linux kernel drivers in Rust might become an option in the future - https://news.ycombinator.com/item?id=20833639 - Aug 2019 (254 comments)

(I'm thinking of making HN's software render links to previous threads in this format automatically. If anyone can think of a downside to that, please let me know - maybe at hn@ycombinator.com so as not to take this thread off topic.)
Check out Nexus, which was designed with versioning in mind, that solves this kind of challenge at the Blue Brain Project:

https://bluebrainnexus.io/
As GP said in your quote “When someone is obsessed…”.

Disclaimer: not saying I agree with GP.
APL died? A large part of banking and heavy industry runs on APL, so I don't think so...
I am really trying but I still have no idea what "being woke" means. I would like to try being woke tomorrow - what do I do?
WeWork's New Virtual Campus (Desktop/Chrome Only)
Yes there are, at least in some countries.

This is also not always related to the company size, but avoid small just starting startups. Through some start-ups which already have initial success can be good (as long as they don't go into the "we are failing" phase).

I had some good experiences myself, but I don't know how far they are exceptions and how much it might differ in other companies.

Through it also depends on you a bit, I had worked at a company which generally neither expected long hours or other aspects of overworks BUT some people got so invested that they where doing a lot of long hours by themself, to a degree that one of them was multiple times asked by the CEO to please go home and take a (payed, non holiday) day off for their health...

Also on think which you will probably not avoid is that corners are cuts and tech dept is accumulated. Through it can largely differ what and how much corners are cute and tech dept is accumulated.

Wrt. hiring I have increasingly realized that there is no good way to fully vet people when hiring, there are basics you can somewhat check and you can check if the person seem to fit into the team, but it's all very limited. In the end what seems to work well is to go through a initial interview followed up by a tech interview (maybe mini task too) and a team/social interview. And do the rest of vetting during the first month of employment.
On a related note, if you've mostly spent time with JavaScript, and you've always wanted to write a fast native binding for Node.js but didn't know any C, or if you ever had issues with the node-gyp build system, then you can even use Zig to write and compile native bindings for Node.js, without a line of C, and without any node-gyp:

zig build-lib -dynamic -lc -isystem /usr/include/node example.zig -femit-bin=example.node

Here's an example repo with everything you need to give it a shot!

https://github.com/ifreund/zig-napi-example

This uses Node's N-API, which is actually a C header, but which is consumed perfectly from within Zig. And here are the relevant N-API docs: https://nodejs.org/api/n-api.html
The GDR was poor because it was small, didn’t start out with much industry, had a hostile enclave forced on half its capital, paid reparations, competed with the US-funded western part and was under constant attack from it.

Don’t confuse the effects of your country’s imperialism with efforts to resist it.
Even if you grant that Iran is a bad actor (which is kind of rich considering how much western countries deal with Saudi Arabia)...

It's still very fucked up that the US signed a treaty with Iran saying "we'll lift sanctions if you do X", Iran did X... and the first thing the US did after the next administration change was to say "Fuck the treaty we signed, we're putting sanctions back".

What's the message being sent to Iran? "It doesn't matter if you try to play nice, we're going to destroy your economy unless you submit as a vassal state to the US"?

Also, I don't see how the US has any sort of moral legitimacy to unilaterally decide which country is a "good actor" and which country is a "bad actor", even against the wishes of its allies (including western democraties). In a fair process the US would only be one of several countries deciding together, and would only act with common backing.

If your answer is "moral legitimacy doesn't matter, because the US has the power to enforce its decisions", sure, that's true. Enjoy it while it lasts.

But don't act surprised when other countries start banding against US hegemony.
> Second, more important, i don't remember any talk of adapting C++ to bare metal programming, while there is an ongoing cooperation with rust folks already.

C++ already is used in bare metal environments and in at least one production kernel (XNU) so there just isn't any adapting to do. The standard explicitly distinguishes between hosted and freestanding environments and defines what you should expect to have available.
Is Gates actually spending it faster than his equity is rising in value?
If that were useful, the underlying HMAC would be broken.
OpenWRT needs to compile and run on devices with only 4MB of flash storage, and they have a guide for slimming down the kernel here: https://openwrt.org/docs/guide-user/additional-software/savi...

I would be surprised if the resulting kernel is any bigger than a floppy disk.
Every time I look at anything about graphics programming, my head implodes.

I just don't get it. I don't get how the matrix operations somehow magically work out. I don't get how it is that light bouncing/reflectivity works itself out in any reapectable amount of time. It all just sounds like a bunch of jargon, jumbled together, and pretty arrangement of pixels comes out.

Like I get the camera being set in a scene. I get it forms a frustrum with everything in the field of view. I get that you have a bunch of geometry in it's own independent coordinate systems, that are then glued together by transformation matricies.

I get U, V, W unwrap basically taking a 2D texture and mapping it to a 3D model. I get annotating fragments with material properties to aid on subsequent processing passes treating using linear trajectories and other Voodoo to figure out where reflections, shadows, and brightening should occur, and that part of what makes all of that doable is massively parallel co-processing devices divide and conquering the processing, which are orchestrated from the host system's memory space through driver API's.

But that's where my internal stack blows out.
From what I have read, peer review was a system that worked when academia and the scientific world were much smaller and much more like "a small town." It seems to me like growth has caused sheer numbers to make that system game-able and no longer reliable in the way it once was.
Arguably, other disciplines doesn’t have to handle undecidable problems everywhere. Building a bridge can basically be “statically analyzed” completely, in that every requirement is known beforehand and there is a very constrained mutable state there.
On the other hand, even the most basic program one can write will have properties not decidable without actually running the program. I would like to see much more rigorous testing/quality control in user-facing apps as well like websites, but lower level tools usually are written with much higher quality. You would be hard pressed to routinely find a bug in eg. the JVM — and writing formally verified programs is infeasible for any significant complexity.
I would post something up as soon as you can. You're front page of Hacker News but right now no one with a commercial app can really think about using it without some sense of pricing.

You can always change it later. Call it introductory pricing or something.
I would love to read or hear about your experiences while living in Japan. I spent 5 years there myself, and I'd be curious to see if your impressions were similar to mine or not.
iirc one of the first distros i tried to install was Coyote Linux, which also was a "floppy-distro" (it definitely was a thing).

the reasoning was that I had an already old for the time 486dx and the floppydistro was the logical choice.

of course starting using gnu/linux using a small floppydistro with no graphical tool and little help was a dumb idea lol.
Probably to deal with corruption from people applying library updates and not restarting their programs because they keep running fine in memory. I have no idea how many bug reports could be ascribed to this, but if we want a user-friendly Linux we have to put up with the safer update process. It's not lengthy at all, wait less than one minute and you're set.
"modern GTK+ application"
Sounds like a story well suited for gofundme.
Nit^3: Quit adversarially picking nits and do your part with societal knolling.
I’m confused - you’re describing a Sr Engineer
Wrigley and others are suing over look-alike THC treats
Polluting your database with test or fake data

Maybe I've been spoiled, but isn't it common to have dev, test, and prod instances? Possibly multiples of the former 2?
Yeah I suspect that up to date openssh with a config that passes ssh-audit's checks, with a fail2ban config, along with an ed25519 key unlocked by a yubikey will be entirely adequate security for SSH. Then time would be better spent securing VPNs and reducing internal trust.

Bit like having a front door that would withstand a C4 blast, but now all your windows are shattered.
Your example of looking at a problem from more than one angle made me think of the problem of finding the Hubble constant that describes the rate of expansion of the universe. There are two recent methods which have different estimates for this rate of expansion.

PBS Space time has an excellent video on the topic:
https://www.youtube.com/watch?v=72cM_E6bsOs
Sorry, I missed this - unfortunately I did not save the picture.

Repeatedly clicking refresh on https://thispersondoesnotexist.com/ I eventually reached an image where the top of a generated man's head melted into the room behind it.

Melted, not faded.

The room and the man's head were not in anyway separate and superimposed, it was a perfect fluid transition.

Looking at it, it genuinely felt like my brain was malfunctioning.

I don't know the extent to which it was due to under-training or some more fundamental limitation of GANs; the feeling that I had was that the generator had found an exploitable hole in the discernor's comprehension.
Asking this question without even posting a link to the video isn't very helpful. Maybe it's better to post the video as a story, and then if people care about it, they'll write comments about it.
I think I also downvote/moderate under similar circumstances, though I also fall prey to the exact kind of behavior that I'm calling out (flippant downvoting).

You point out a super important part of forum moderation : trolling and posts which "provably do[n't] match the facts". Aka. Flame-Bait

Downvoting is one way to moderate these posts, but the HN FAQ also mentions this type of behavior (suggesting Flagging as a solution) :

> Don't feed egregious comments by replying; flag them instead. If you flag, please don't also comment that you did.

Downvoting is a great tool to moderate posts, especially for users who wield the power wisely like a longtime user like yourself. But I don't think the 500 comment threshold is enough to sort out the wheat (you) from the chaff (me).

What's funny, is that HN voting is such a problem, it also dictates in the FAQ to not even complain about it!

> Please don't comment about the voting on comments. It never does any good, and it makes boring reading.
Politics and personal time: Making room for both at work
> where children pay some of their ancestors

I mean other people’s ancestors (not their own where the wealth is often passed from ancestor to child).
I haven't ever run into that in 8 years of running a various GNU/Linux distros (MeeGo, Elementary OS, Maemo, Sailfish OS, Debian)... though I've never run Ubuntu.
This article is responding to the romantic version of the startup story that was popular 10-15 years ago, in the early heyday of YC and HN. In that sense it is 10 years out of date.

There has been since at least one major wave, which was characterized by disillusionment and cynicism about startups ("just buy a lottery ticket", "startup equity isn't worth the paper it's printed on", etc.). This became standard fare on HN and until recently was probably the dominant view.

That has become old hat in its own right—you can tell that such a wave is in its later stages when the comments become predictable, and then compensate for that by getting snarkier. When information gets worn out through repetition, comments have to add in extra spice to get interesting again—though not necessarily the good form of 'interesting'.

It's too soon to tell but I think we might be at the beginning of another wave now—a more balanced weighing of pros and cons. Many comments in this thread are good examples of that.

There's another dynamic too, which I've not yet seen anyone comment on: these waves are staggered geographically. This became obvious to me when looking at the geography of HN comments (judging by IP geolocation). These waves don't get started and then subside in lockstep all over the world—rather, they exist in different stages in different locations. It took years for the romantic story to make its way to certain locations, and those places are now in the early stages of the cynical wave. Other parts of the world are still in the crest of the romantic phase. This creates unfortunate misunderstandings where someone in one of those areas posts an enthusiastic startup story, of the kind that was popular on HN in say 2008, and then gets blasted with flames by people in locations where the cynical wave is strong.

I hope I'm guessing correctly that the next wave is more balanced and nuanced, because I think we need to look beyond "startups: yay or nay" to asking when they make sense, when they don't, and what changes the ecosystem could make to make them make more sense...if that makes sense.
How would you recommend that an engineer network with principal/staff engineers like yourself in their respective companies? Asking as you mention that the role is about enabling / empowering others.

Context: I am going to be starting a new job as a senior software engineer in a mid-size company in a few weeks.

Thanks
welcome to the info wars...

tldr: education

for me it feels like i have to go back and relearn all the things i had learned before. the second time around you learn some new piece of the puzzle. rinse and repeat and experience is what drives your knowledge. so you might be asking a better question; how to avoid all the bullshit?
well my dear girl, you can't. when you're in a shit slinging war [which is what we're having] you can dodge and weave all the shit you want, but eventually you're going to get hit with some shit. and you'll probably throw some shit...

might be getting to the point that we're all covered in shit. at which time we might ask ourselves... do we really need a shit war? some people will just be happy with all the shit flinging. others will try to escape it. eventually, some will find cover from the shit storm. it will be a haven. much like hacker news. others will want to join the sweet cover and protection from the shit storm. a tipi to a fortress. a tribe to a village. eventually we will have to isolate the shit throwers from the non shit throwers. that will be a place that deals with problems like intellectual property and competition based policies.

until then... just gonna have to learn as much as you can. look for the path of least resistance. sometimes it will just be easier to go along with the bullshit, and you should go along with that. recognizing that and learning how to identify it is how you deal with it. don't take the red pill. don't take the blue pill. take the purple pill... prince is waiting

one last thing to remember: the meek shall inherit the earth, but not her mineral rights.
I work for such a firm (10k employees) and we try hard to be competitive with startups on salary - we have to in order to keep hiring. It is definitely not the same pace as a startup (I joined via acquisition), but good big projects at scale and an open-ness to work from just about anywhere. It is a trade off for sure, but RSUs in a mature market are a more sure bet than many startups.
Seems like USA Today coverage is better with less editorializing: https://news.ycombinator.com/item?id=26540458

Politifact is a news organization issuing a retraction. I’d be surprised if it acted otherwise.
And how many of those are correctly licensed? I already found one that directly mentioned that it was ripped from a YouTube video and if this is in any way like free 3d model collections it will be stuffed with assets ripped from commercial games.
Japanese Technology Shaped Dance Music – Attack Magazine
I wholeheartedly disagree. By alternating between philosophies, we get the worst of each, benefiting politically connected businesses at the expense of the people.

If the plan is to bail out businesses when there is a credit crunch, then to be consistent, it needs to be illegal for those businesses to take on so much debt in the first place. When businesses need to be bailed out because executives looted their coffers into bonuses, those executives need to go to prison. Direct restrictions on companies to prevent undesirable behavior is part of the left's paradigm.

Instead, such controls were rejected with the idea that shareholders would keep executives in check, because long term they didn't want to lose money. This is the right's paradigm, but its political function turned out to be only as a convenient unprincipled excuse - when it came time to follow through, there was no support.

For this subject I'd personally favor the right-paradigm approach rather than the left-paradigm approach. But history has shown that the right-paradigm approach is untenable when the problem happens, and only plays as a justification to loot during good times. And so despite how I would prefer society to be structured, I'm forced to support the left's restrictions if I don't want to be played for a fool.
I can understand. The maintainers might want to focus on maintaining their project, not the social network infrastructure for their community.
This is possible. Many users can be sharing the same IPv4 using CG-NAT. I have found that when using mobile internet, every site that uses IP bans has already banned me for a previous users actions.

It’s incredibly irresponsible to take action against someone based on their IP address alone.
I'm a scifi guy but have read Jane Eyre three times. I don't think I can define the appeal. Or why I connect Jane with Beth Harmon and perhaps Lisbeth Salandar.
Yes, you are correct, Pakkly adds a thin wrapper to your executable which is built with Rust to be as lightweight and fast as possible. This wrapper adds virtually no overhead besides taking up a bit of memory (around 8mb).

Update checking only happens on startup, currently. Your app performance will not be affected. In case the server is not responding during startup Pakkly will continue, after a brief delay, executing your app. The startup update check will fire at most once every 60 seconds (In case someone starts your app in quick succession).

Update notifications are planned, but these will be optional, and will never stop your app for you.