skysight-inc/HackerNews huggingface dataset:
> I think the better way to think about async Rust is to use it when it's beneficial to developer productivity and to avoid it when not.

How do you know if what is best doesn't change as the project you're working on progresses and your manager tosses in new requirements?

I'd say better pick a technique (or even language) that works all the time.
HN Malicious Downvoting
Does anyone know - if someone has 500 karma and can therefore downvote, can they then downvote another person's historical comments without end? Is there a limit to how much downvoting one user can inflict on another?
Hey, I must have copied something similar from somewhere but yes my first base setup of my shell is

PROMPT='%{%F{red}%}%~ %{%F{yellow}%}% › %{%F{reset_color}%}%'

Anything after (besides the path and the GPG setup) that is an add-on that I can remove and still function well. I've learned to live without Git info. But this is very personal and I have not been into active development for quite a while.
People were smaller on average. But also, I've read it wasn't uncommon to sleep with legs/knees pulled up somewhat (maybe using pillows?). And that the changed bloodflow due to non-horizontal sleeping position (legs above head) contributed to higher prevalence of brain strokes.

Don't know if the latter is true. But doesn't seem too implausible - life back then was generally less healthy & more dangerous.
I used Windows 3.1 and 3.11.

That's all what I'll say.
Therapy Gecko: Unmasking the Internet's Unofficial Therapist
Should call them what they are, behavioural hacking to introduce compliant, seddated behaviour, without a longterm grasp of the damage the hacks inflict. Obvious solution? More law-ducttape on the imperfect ape.
It's funny how little developers think about how to do configuration right.

It's just a bunch of keys and values, stored in some file, or generated by some code.

But its actually the whole ball game. It's what programming is.

Everything is configuration. Every function parameter is a kind of configuration. And all the configuration in external files inevitably ends up as a function parameter in some way.

The problem is the plain-text representation of code.

Declarative configuration files seem nice because you can see everything in one place.

If you do your configuration programmatically, it is hard to find the correct place to change something.

If our code ran in real-time to show us a representation of the final configuration, and we could trace how each final configuration value was generated, then it wouldn't be a problem.

But no systems are designed with this capability, even though it is quite trivial to do. Configuration is always an after-thought.

Now extend this concept to all of programming. Imagine being able to see every piece of code that depends upon a single configuration value, and any transformations of it.

Also, most configuration is probably better placed into a central database because it is relational/graph-like. Different configuration values relate to one another. So we should be looking at configuration in a database/graph editor.

Once you unchain yourself from plain-text, things start to become a lot simpler...of course the language capabilities I mentioned above still need to become a thing.
Correction, as the sibling post pointed out, Zoidberg does this as well, maybe it's a (New York) Jewish thing?
It’s great for end users who don’t understand what a string is or don’t have to play the game of finding the hanging single quote when they write the file by hand in a textarea.

On the opposite end of UX, there’s hand written JSON which is just too meticulous in some scenarios when people are writing config without editor support.
Venmo and other payment app theft is 'skyrocketing,' Manhattan DA warns
Sidekiq is too fast, faster than Postgres
It always bothers me when I see 'electrocuted' and 'taken to the hospital'. electrocuted literally means death by electricity.
Netflix to stream WWE's Raw starting next year
Wow this is a really cool idea. What if I need Jira synthetic data in json to train my model? Can I get that too?
Serendipitous Discoveries in Radio Astronomy (1983) [pdf]
What are examples of clean proteins?
…As a result, this check job that should find minimal defects has in the past 365 calendar days recorded 392 nonconforming findings on 737 mid fuselage door installations

>The Boeing QA writes another record in CMES (again, the correct venue) stating
(with pictures) that Spirit has not actually reworked the discrepant rivets, they just painted over the defects. In Boeing production speak, this is a “process failure”. For an A&P mechanic at an airline, this would be called “federal crime”.

Holy Shit. Whoever is directly and indirectly responsible needs to go to jail. Thats a level of malice which I don't remember eading very often in any kind of news.
Seriously good fun as a garage home build though: https://www.youtube.com/watch?v=1ILbQHnHPnY
This article feels overblown. Is async Rust perfect? No, far from it. It feels like a MVP that Rust's developers have neglected for a while. Hopefully picking up some steam these days with partial implementation of async functions in traits. But there still problems with it.

Async Rust is rather nice to use when you're writing a web server. Structuring your code in an async manner is honestly very useful. Writing a composite Future or a Future state machine by hand is super tedious. Async makes most of that pain go away.
No, the 5-eyes are not preventing any genocide - they are instead participating in the wanton destruction of society ("not quite genocide, but destruction of society nevertheless") across the globe in multiple nations being violently targeted by a clique of ruling oligarchs who long ago granted themselves the moral authority to refactor "lesser, inferior nations" according to their non-democratic religious, political and ideological doctrine.

The criminal 5-eyes super-state is the worlds biggest violator of human rights, bar none.

There are plenty of lesser violators - Russia, Israel, Hamas - but by far the biggest fire is our own 5-eyes criminal endeavour: 34 million refugees from our wars.

5% of Iraqs population murdered in cold blood on the basis of lies.

Near endless destruction of formerly functioning states and cities of millions of people across the landscape.

A non-stop parade of propaganda designed to foment yet further war and atrocity. An absolutely dire and useless diplomatic corps .. the litany of OUR failures to prosecute our own war criminals goes on and on and on ..

1000 CIA-operated black-ops torture sites across the landscape, hidden from the prying eyes of our democratic institutions but not at all invisible to millions of other human beings whose lives were unfortunately started - and too often, cruelly ended - outside our Western morality bubble ..

If you, for a moment, consider that some foreign nation is inferior to your own, you are part of the problem.

Stop doing that. Instead, apply that critical thought to your own nation and DEMAND JUSTICE FOR OUR OWN WAR CRIMINALS.

Because we in the 5-eyes nations have a big, big problem with letting our war criminals have carte blanche to do whatever the hell they want with our military powers .. time and again, over and over again, they get away with it to repeat the act across the landscape.

This must stop. Public ignorance gets in the way of stopping this, and that is why we are all being distracted with hateful agitprop of other nations we believe are morally inferior.

WE are the morally inferior nation we need to be doing something about.
> But you still need to get the syntax exactly right

I think it's more that it's declarative that makes it simple. Also you just have to remember simpler rules compared to JSON.

E.g.

- Apple
- Orange
- Strawberry
- Mango

Is simpler than

[
"Apple",
"Orange",
"Strawberry",
"Mango"
]

Don't forget to skip that last comma! But not all of the others!
I think the critical skill for everyone to have now is "spot the bullshit" which can take different forms in different media and domains. Whenever the topic of AI comes up in family discussions I let my teens know just how much BS companies are willing to generate due to the investment dollars pouring in. Hence, AI is over-hyped for the most part, although unfortunately for your friend there are several automatic translation tools that just work.

However, if I ran a business where we needed to translate documents I still wouldn't trust that to an automatic tool. AI is seriously flawed, hopefully eventually more people will realize that before it buries the internet in layers of garbage.

To summarize, my children are mostly indifferent to the advent of AI because I always tell them it's complete trash.
I hung around the local computer store and lurked on BBSs in the early Apple 2 era, and people with serious computers (16 bit, S100 bus, CP/M) definitely scoffed at this 8-bit toy with not even a floppy drive.

People will scoff at anything new. It doesn't predict much about its eventual success.
Probably on a private plane of some sort.
I'm not aware of any software limits on down voting, though the mods don't publish every limit.
They're rich. They fly on private jets.
California Should Hold Electrify America Responsible over Unreliable EV Chargers
I'm pushing back a bit on that? QA needs to be challenged, like any part of a company. They also need to have the last word on any decision on stuff that has a potential to ruin lives.
The first sentence past the "list of reasons" is:

> Async Rust is objectively bad language feature that actively harms otherwise a good language.

This is an objectively false statement :) and is so inflammatory that I don't see much of a reason to read past it. Especially since I, and many other people, have been using async Rust in production quite happily for years.
I also think that Async Rust is a major disadvantage and overall a mistake.

It feels like Rust is trying to be "The Language" suitable for both low-level system programming and high level application development.

But you can't do both. Rust will never be as ergonomic and simple to cook as Java, Go, OCaml, Scala, Erlang/Elixir and other high level languages. Yet this async split brings the perilous language schism somewhat akin to D's GC/non-GC dialects, where people have to write and maintain two versions of libraries. And I doubt that parametric async will solve the problem fully.
CMBR was not the only important chance discovery in radio astronomy. This is a collection of articles which highlight several other chance discoveries in radio astronomy. I was introduced to this collection couple of decades back when I attended a summer school at NCRA-TIFR.
It happens because config is dual purpose: its state, but it's also the text-UI for your program. It spirals out of control because people want the best of it being "just text" and being a nice clean UI.
Exactly. It was also one of the first mainstream web apps to make widespread use of XMLHttpRequest. The term AJAX hadn't even been coined at the time of Gmail's release, and it was probably a major factor in the popularization of the technique.
The Rise and Fall of the Telecom Bubble (2023)
I don't think anyone writes their blog entries with JavaScript here.
Russia didn't induce the 2015 migrant wave. The small child on the beach and "refugees welcome" have happened months before Russia's involvement in Syria began.
https://www.health.harvard.edu/staying-healthy/do-statins-in...
Seems their primary business is leaking into their secondary business
Can you provide an example from the site that has a flawed analysis of scientific literature?
Hurricane Electric gives out free ipv6 blocks that you can assign however you want.

I get an ipv6 for my phone through Wireguard that way.
> The 'XML is verbose' argument is exactly analogous to the 'static typing is verbose' argument.

It’s two things: the static typing analog is definitely there but I’d extend the comparison to something like the J2EE framework fetish & user-hostile tools, too. There were so many cases where understanding an XML document required understanding a dozen semi-documented “standards” and since few of the tools actually had competent implementations you were often forced to write long-form namespace references in things like selectors or repeat the same code.

I worked with multiple people who were pretty gung ho about static typing everything but the constant friction of that self-inflicted toil wore over time. I sometimes wonder whether something more in the Rust spirit where the tools are smart enough not to waste your time might be more successful.
Today's high school grads wouldn't do well because their education covers entirely different topics. They don't learn Latin and Ancient Greek, and history and geography don't focus almost entirely on Ancient Greece and Rome (unlike 7/9 of the questions on that section of the test).

The math section has some hard wanky arithmetic and by-hand computations using logarithms. Modern students would struggle because that hasn't been a focus of math education since the invention of the calculator. Your average physics professor would struggle with that because no one needs to do that stuff by hand any more. A modern Harvard applicant would ace that algebra section. The geometry section is 50/50 - there's still plenty of geometry in modern education but it no longer involves memorising Euclid.

On the other hand there's no calculus/analysis which is probably the biggest focus of higher-level high school math - something an applicant of that era would be flummoxed because it wasn't part of classical math education. There's also a complete dearth of any of the natural sciences which was again neglected in a classical education.

I'm telling you that that's not an intrinsically difficult exam, it just covers areas that were the focus of an upper class classical education of the time. You're confusing a different educational focus with intrinsic difficulty. If your math education up to the age of 18 was 90% long-form manual computations and memorising Euclid's Elements you'd ace that section too.
Agreed, and I almost feel silly for pointing this out, but for writing JSON (JavaScript Object Notation), I'd recommend using JavaScript...
But why was IBM’s barcode was superior to RCA? The article just skips over why there was any debate in the first place, other than RCA wanting it because they already had it
Coffee nerd tip: if you want more bitterness, you're probably better off using less coffee for the same amount of water ("weakening" it a bit).

If you tamp it, there's a greater chance that the water breaks an easier path through the coffee and doesn't flow evenly through all of it, which tastes worse.
I disagree. I've got several programs with a async select based main loop and others with threads, and the former are easier to reason about in my opinion. Threads hide effects.

However, Tokio tries to be the best of both threads and async and sometimes ends up being the worst of both when Sync/Send/etc creep into function signatures.
Thanks everyone for the good tips.
That's not how this works. Nothing in the vision pro is "83Hz".
> For example: refugees are expected to stop at the nearest safe haven

If that were true, countries next to warzones would risk destabilization (moreso than they already do). The system's not set up like that, and never has been.
I think Steve Yegge got it right when he wrote:

I know, I know — everyone raves about the power of separating your code and your data . . . But it's [not] what you really want, or all the creepy half-languages wouldn't all evolve towards being Turing-complete, would they?

https://sites.google.com/site/steveyegge2/the-emacs-problem

Templating YAML is the same, but... Honestly, Jsonnet is too. If you're going to generate JSON — by god use a normal programming language. You have to teach your team one fewer thing (approximately no one knows Jsonnet); it already integrates with your existing build system; if you wrote a useful util function in your main codebase you can reuse it; if you have a typechecker or a linter you can use it; etc etc.
Do you have any experience in AI search to compare it to other products?

I’m genuinely curious to know if it’s any good.
Pretty sure I saw someone with a glass one on youtube, but it wasn't as exciting to watch as I'd hoped. I'd still like one though.

Found the video: https://www.youtube.com/watch?v=c7FoqR9oCfI
This sits somewhere in the middle for me. On one hand I probably would not do this exercise for most companies but I probably would for a company I was excited about. It kind of makes sense if they are getting high volume of applications, you definitely will miss great candidates doing this but does it not also servce as a self-selection for the type of candidate they want?

Curious if the co-founder who was posting in here will share his take.
Well, they said they receive a lot of applications so they are in the position of setting the rules.

You are absolutely right into setting your own rules as well, those haven't overlapped.
That's cool!

Sendenv also performs a diff-ish to determine if the receiver is potentially overwriting existing values.
I thought the McDonnell Douglas management taking over control (and thus destroying Boeing engineering culture) was the interesting part to point out, not the outsourcing.
We need turing completeness in the strangest of places. We can often limit these places to a smaller part of the code. But it's really hard to know beforehand where those places will occur. Whenever we think we have found a clear separation we invent a config language.

And then we realize that we need scripting so we invent a templating language. Then everybody looses their minds and invents 5 more config languages that surely will make us not need the templating language.

Let's just call it code and use clever types to separate turing and non-turing completeness?
The HoloLens was amazing and underrated among the wider internet. Like a lot of Microsoft stuff, it's regarded as a joke until Apple copies it, then suddenly everyone takes it seriously.
This post discusses the issues:

https://blog.djha.skin/blog/the-down-sides-of-gos-goroutines...

From this recent discussion:

https://news.ycombinator.com/item?id=38821840

It's not to say that Go is bad in this regard! It is just (always) doing the heavy lifting for you of abstracting over different colors of functions. This may have some performance or compatibility (especially wrt FFI) concerns.

Rust chose not to do this, which approach is "right" is subjective and will likely be argued elsewhere in this thread.
In that case, I think HN and its users would rightfully be in mocking mode having pioneered HTML, CSS, JS, a modern browser to run this all, widespread home internet capable of handling the heady 50KB of the front page and computing power of 10 Crays to handle that, all for getting into arguments about what to do with said self-invented JS, units of measurement, pedantry over careless phrasing, a poor grasp of economics, and of course on-upmanship for the karma, all while still not having learnt Lisp that'd already been around for 16 years.

Quite impressive really. Less impressive than the last 1.5 decades that's been about owning others' data and lives while serving them short videos, increasing social distance while increasing social pressure, increasing off the clock, always on pressures, and thousands+ of highly educated peoples' livelihoods based around making spinning gizmos while another video loads.
Simon, I am always amazed how you are able to keep up with so much so quickly!!
Go managed to do many things ... with the help of a runtime, which the Rust team doesn't seem to be very fond of.
I agree, however... async is also super important for high performant code, which is one of the goals of Rust no?
makeMoE: Implement a Sparse Mixture of Experts LLM from Scratch
Implement a sparse mixture of experts language model from scratch. This is inspired by and largely based on Andrej Karpathy's project 'makemore' and borrows a number of re-usable components from that implementation. Just like makemore, makeMoE is also an autoregressive character-level language model but uses the aforementioned sparse mixture of experts architecture.
If your counterparty knows you are desperate. Mostly perception matters.
Albeit a long comment which seems to have correct insider jargon, plausible numbers and scenarios, etc. Agreed it's getting more credence than I would expect, but it wasn't a lazy offhand comment.
Great (although that's a hypothesis for a cause rather than a definition), but for any discussion with another person, you have to be sure in advance that they don't use one of the other 49 common meanings of "consciousness".

What I care about when I ask if an AI is or isn't conscious, is if it has the kind of experiences of existing that I know I have.

Why is there a feeling of sensations rather than just the sensations themselves in this body of mine? How is it that I am more than mere stimulus-response? Is it homunculi all the way down?
Grml-Zsh-Config
I have seen this exact same argument in python and elsewhere as well. Any time anyone writes a rant against async and suggests threads as an alternative, you know they didn’t really understand what async was for and were using it for something it’s not really for, so you know somewhere in their rant they will say the performance improvement they expected didn’t happen.

Async (in any language) is not a panacea. Async is for allowing multiple things to make progress simultaneously that would otherwise be blocked on I/O. If you thread them your threads will be independently blocked on I/O and you will have additional locking overhead. If you have an embarrassingly parallel task and you aren’t blocked on I/O of course async will be slower than pure parallelism because that’s not what it’s for. It’s almost literally so you can have one async thread consuming exactly 1 CPU doing all the I/O and it will all make good progress.
It wasn’t obvious to me. I read it as the literal string “Norway” being parsed as false, which didn’t sound believable but I didn’t make the connection to NO at all.
I can say the programmer has good music taste. Look at his hoodie, that’s Misfits. One of the most greatest punk bands of all time.
Monorepos are a problem born of CI which can't cope with cross project dependencies properly. People have solved the problem by pumping everything together, but it's the wrong answer.

Fix CI and the problem goes away.
A user can only downvote (or upvote) a given comment once, so the most a user with a grudge can do is reduce your average comment score by 1.

Also, comments become unvotable after a while (I think a month).
Setting "visibility: Public" and hiding it in the Additional Settings is nasty
This post is worse than the average HN comment. It shouldn't be here just because it's in a mainstream publication. We have higher standards.
Am I the only one with almost nothing custom in my bash/zsh?