skysight-inc/HackerNews huggingface dataset:
x86_64 assembly, gtk3, 21 lines / 19 instructions

build with e.g. gcc hw.s `pkg-config --libs gtk+-3.0`

.globl main;main:
push %rbx
xor %esi, %esi
xor %edi, %edi
call gtk_init@PLT
lea .HW(%rip), %r8
xor %edx, %edx
xor %esi, %esi
mov $2, %ecx
xor %edi, %edi
xor %eax, %eax
call gtk_message_dialog_new@PLT
mov %rax, %rbx
mov %rax, %rdi
call gtk_dialog_run@PLT
mov %rbx, %rdi
call gtk_widget_destroy@PLT
xor %eax, %eax
pop %rbx
ret
.HW:.string "Hello World!"
I thank you for this reference. Having a blast listening to him.
They ain't the ones in charge either, though I think I agree with the need for such people.

We basically have PR people deciding what's going to look best for them.
Rust is great for writing stuff that needs to be stable with little downtime, for anything that needs to change a lot rust is not there yet, it has lots of sharp corners like not being able to make a factory interface that returns another interface (thogh this is coming in a few months), in general it's hard to do non-leaky abstractions in rust ATM, I do think it will get there in a few years once the few sharp corners are gone.

But having made a microservice in rust it is the most stable software I ever written, you are basically paying upfront any null reference and thread safety issue I would have needed to debug. It probably did not save me time, but it definitely was a better experience to write
The article is interesting, but I often come across resources that talk about or reference the HTML5 specification by the W3C. Since 2019, HTML has become a living standard (and therefore no longer has a version number). It is available through Whatwg here: https://html.spec.whatwg.org/multipage/
The only trouble I have with all of this is that I became who I am by being obsessed with my computer. I’m fairly confident many people on this site would not have become software engineers if not for playing hours of counter strike for mouse skills, mmos for touch typing and editing files and installing scripts.

The computer (and the internet) is different now, but the new things are additions. We definitely can nurture the same wanderlust we had growing up. I’m getting more and more convinced the solution is to ban all short form content.
Indeed, my web backend is in Rust and it's rock solid, no crashes even a single time in a few years, simply because Rust looks out for errors a lot more thoroughly than Go and others.

Rust is as high level and flexible as one wants, just clone everywhere when experimenting and clean it up when you arrive at the final solution.
My experience is the opposite. Refactoring Python code is all but impossible. Dynamic types and runtime errors is nightmare fuel for a refactor.

Rust code lets be confident that when I make changes as I explore the problem/solution space that my program will actually work.
There are definitely relations between them. They are often used in the same domains. Servers, DevOps, CLI, tooling ect. Just because one has manual memory management and other is GC doesn't mean they aren't relatable.
So why didn't you?
can we factor 35 with Shor's algorithm yet lol
You can look at "if err == nil" and tell what is going on, but who knows which layer of exception handling will catch that "throws".
Observation: Lifetimes are Rust’s checked exceptions in that regard. Changes propagate in the wrong direction - from leafs of the import tree down to the root. Solutions though… can’t really imagine one that makes sense.
That sounds crazy to me. If you throw me at a new language, sure learning the language might only take a couple of weeks (if it doesn't radically depart from what I already know), but learning the libraries/ecosystem is at least 6 months. Probably more for something yuge like Java or .NET.

I'll be referencing the doc and tinkering every little thing for many many months, which is sure to affect my productivity. Append to a file? Make an HTTP connection? Serialize a data structure? Have to look it up.

Then come all the 3rd party libraries a seasoned developer will already know. How do I talk to Postgres? Which of these five 3rd party libraries should I use? Which library do I need to help generate my SQL statements?

It's like you're looking for a journalist for an American newspaper, and you decide "oh, you don't have to speak english, you can learn that later". Sure, you can do this for an exceptional talent, but on average you're better off finding people who already speak english.
You can nest details/summary tags. I once created a choose-your-own adventure using it and posting it on our corporate intranet (I had a generator script to stitch things together. The actual text was only a few pages long.) The HTML was 5mb ... I broke a lot of browsers that day. It had to be deleted.
I would recommend ChatGPT. It’s pretty good at pretending to understand your struggles with rust. You can explain your issues and swear a lot and you will get a nice explanation in return.
Enforcers of copywrite on materials that currently isn't being sold are Book Burners
I cannot believe that alertness comes out of a coffee cup.

I like coffee too, but drugs are unreliable attention modulators, compared to good food, plenty of rest, and a worthwhile goal.
Destroying whole ecosystem is surely more environmentally friendly.
The feature is more similar to e.g. dockersh than just exec https://github.com/Yelp/dockersh

Or e.g. change ssh config to use ForceCommand.

That said, the main benefit is not just that a shell gets a container but that you can easily compose this feature with the container / image ecosystem to deploy specialized shells. Perhaps even you don’t need a VM to service the request but rather a container orchestrator ..
>>Yes because I know Java (hypothetically I haven’t touched Java since two years after it was introduced) I can become an efficient Android developer “in a few days”.

You can become whatever you want to become. Hiring is a totally different thing altogether.

Did A for B years is how you get hired. Not what you can do.
In addition, aria labels don't work reliably with some HTML elements [1]. Specifically, the example from SO (div) will not work in some screen readers.

[1] https://www.tpgi.com/short-note-on-aria-label-aria-labelledb...
If hard work and perseverance are your North Star, I kinda assume listening to VCs and famous people's success stories won't bring you much in the first place.
It can’t be configured that way. That’s simply not how reactors or bombs work.
That is an excellent point/
In JVM languages it is easy to know what is catching what.

The method type signatures clearly specify what exceptions will be thrown.

And the compiler requires you to deliberately handle those exceptions.

But I wouldn't consider Java to be the best approach for error handling anyway.
> I used to “sell” computer leases about 20 years ago saying hey don’t buy a computer, rent it and upgrade it in a year. Turns out the fine print was terrible.

This prompts the question of "So, what are you selling this year?"

I'm sympathetic to on-prem and datacenters, but maybe all the reaction GIFs are distracting the CIO/CTO from the new fine print?
Because it largely is? It ends up on the sea bed, covered in sediment, then eventually recycled into the Earth’s mantle some millions of years from now. It doesn’t enter the biosphere.
the fish needs more backhanded compliments to feel good about itself
> Is Rust's compile-time GC about something other than performance somehow?

Predictability and determinism: In some environments, GC pauses are problematic.

Modern GCs in Go and Java running on fast enough CPUs can generally keep pause times down below 1 ms, but on a multi-GHz CPU that's multiple million clock cycles - a virtual eternity in some contexts.

Memory usage: GCs waste memory in exchange for performance. Go's GC doesn't compact (last I checked), so fragments the heap.

Ability to have no runtime: in some environments, the need for a runtime is problematic. That's a big part of why the Linux kernel supports Rust but not Go.

All of these issues tend to be more significant in e.g. hard real time contexts, in embedded environments with less powerful processors, etc.

Also btw "borrow checker fighting" is not much of an issue for experienced Rust developers. You quickly get used to how to write code to avoid borrow checker issues. And in general, writing code that way tends to be a good thing anyway.
Go’s GC is very naive and not particularly good. In that regard the JVM is far above other platforms.

With that said, I find it questionable to say that Go would be faster than Rust - the former does barely any optimizations (hence its fast compile time).
You're talking about a civil case, which is probably about 100% certain.

This thread is talking about criminal charges, which are probably about 0% certain.
The relationship with Hopfield networks sounds fascinating, would love to discuss further. As you mentioned, there is a connection to annealing in that we are encoding the solution to our problem in the minimization of a physical system's energy. Indeed, the all-to-all coupling is the hard part!
Well, not necessarily. There’s a `follows` argument to pin through the different dependencies. It’s not ideal but it’s there.
A model doesn't necessarily need to be an improvement on existing understanding to be useful though. It could have other attributes which are valuable. The map of London (where I live) that I use to navigate on my phone is not in any sense the best map of London that has ever been created. It is definitely not an improvement on existing understanding, but it's a great improvement on not having a map.

Say you need to classify all of arxiv for some reason. A model like this might give you the classification performance you need while also being easy to build and not too computationally expensive. It might give better out of sample classification performance than a model that attempts to more realistically model the problem domain. Or it might have a distribution of errors that is more tolerable for a particular use case (like say you're less worried about misclassifications of extreme cases but you really really need to be accurate in the middle of the distribution or vice versa for some reason). Or it might be more robust to over fitting or whatever.

Having a wide analytical toolbox is very useful for data science and this type of NLP has its place for some use cases. While it may seem fun to poke holes in the approach taken in this case I don't think the approach is necessarily intrinsically bad in any way. It's obviously (like all tools) bad if misused in the same way that a screwdriver can be used as a hammer, but it will suck.
not to mention that the obvious/incremental move is not to completely exclusive DC, but to simply cheaper providers with managed VMs, then dedicated (but still managed) HW, and there's a long tail of that before breaking ground for a new DC makes any sense. somewhere along there's Oxide's "cloud in a rack" thing.
> A coal plant can be shut down immediately and dismantled without massive environmental impact.

And the CO2 dispersed in the atmosphere can be caught with butterfly nets. Easy breasy.
mate, you need to relax fr. Its just a friendly jib
Came here to say exactly that. Fascinating, but deeply unnerving for some reason.
But it’s not like this design was a secret that Apple kept from you, this is well known information.
Is this a Remote/Apply from Anywhere role?
So everyone in [0] fell for the ‘LK-99’ fake news story and fraud then.

A complete distraction now added on to the long list of fraudulent superconductor discoveries.

Each time a ‘scientific breakthrough’ is claimed, it must be thoroughly examined with extreme skepticism now that anything can be faked for attention.

A shame really.

[0] https://news.ycombinator.com/item?id=36864624
> Outside of a handful of small countries with specialized economies, European income per capita is at or below per capita income in even the poorest US state.

And yet the quality of life doesn’t even begin to compare.
Kind of, you missed on Delphi and C++ Builder.

Pity that Borland management has messed up and nowadays only enterprise developers care about them.
Sorry to hear that. For a rock solid alternative, I use Hetzner with Coolify (https://coolify.io) installed, it's an open source Heroku alternative that uses Docker. I deploy all my apps on a 10 dollar Hetzner VPS that can handle millions of hits, and that 10 dollars gets you a much beefier machine than anything you'd get on other paid services like Render, Railway, Fly etc. They just aren't worth using in my experience when something like Coolify does the job for a fraction of the price.
I stick with Vim for the foreseeable future. It is stable and have all I need for my purposes, which is editing config files and shell scripts mostly.

For beginners I would recomment Vim as well because it is good enough for most use cases and is more stable.
I hope this is sarcastic, it's causal. They have identity checks because people use it for abuse.

The less strict they make their identity checks - would abuse increase, decrease or stay the same do you think?
Hetzner first made it impossible for us to pay, then implied we were fraudulent for not paying, then as a special "grace" fixed the payment problem and "allowed" us to keep our newly created account.

By then, it felt very shaky to depend on such a company, so we switched server to Digitalocean.

Hetzner are cheap though.

Edit: we did also pay, but they never acknowledged that first payment. Then we somehow had an ”unpaid” invoice which we couldn’t find a way to pay for.
I got angry once i lost all my input when i navigate away as i didn't remember i saved the form or not.
But I have the exact same setup without the "hammer-searching-for-nail" home manager. (Almost) all of my vim plugins are managed by my nixos config
Also am M1 user. I remember back in my Windows days the things would slow dramatically over a couple of years mainly due to software bloat.
Metal is written in Objective-C, with Swift bindings, and it is encouraged to keep doing so.
I was very confused until I realised you weren't talking about electrical transformers.
I wish I could upgrade from my 13" mbp that's the last of the intel i5 series. My 16" M1 Max that I was issued at my last job was a dream, and now that I'm playing with SwiftUI and dealing with xcode, it's feeling slow and noisy. Unfortunately I was laid off, so no M1, and the ram upgrade to the 64gb or 96gb is insultingly expensive still. As nice as it is, it isn't a $4k boost in productivity.
Konsole keeps crashing everywhere, though. Don't use KDE.
It'll be really hard to win that battle with Google, because:

1. they own the browser (Chrome is the dominant browser) and with their "Web Integrity API" proposal they can do whatever they want. Also v3 doesn't help adblockers.

2. they own youtube and all the content. I've seen many youtube creators speak against adblocking, because no ads = no income for them. Most people can't create content at consistently high level without getting paid for their time or their team time. So Google and content producers both are better off without ad-blockers.

The web in 5 years sadly will lose most of the freedoms we take for granted, because nothing is "free" if it requires human time and resources. May be with crypto some pockets would emerge but large scale monopolies like Youtube with strong network effects wouldn't bulge.
So it’s not Electron that’s slow, but modern software?
Thats a strong statement we only know about breaches that have
a) being identified
b) publicly disclosed
Not sure if it's true, but what you're writing makes it sound like you feel entitled to use their product for free. Not a compelling argument.
I have assessed Render a couple of times for work. Both. times they were just too unstable for production (in 2020 and in 2023)
Fahrenheit and Celsius are just two units of measure on the same temperature scale, running in the same direction.

Big and little endian are more fundamentally different.

Ken's article mentions that the Datapoint 2200 used shift-register memory that read out one bit at a time, along with a one-bit arithmetic unit:

> Another consequence of shift-register memory was that the Datapoint 2200 was a serial computer, operating on one bit at a time as the shift-register memory provided it, using a 1-bit ALU. To handle arithmetic operations, the ALU needed to start with the lowest bit so it could process carries. Likewise, a 16-bit value (such as a jump target) needed to start with the lowest bit. This resulted in a little-endian architecture, with the low byte first. The little-endian architecture has remained in Intel processors to the present.

Now consider how you add or subtract, or multiply or divide two numbers by hand, where you're working with one decimal place at a time.

Do you start from the big end of the numbers, or the little end?

And if the numbers aren't the same length, where do you align them? At the little end.
You’re out of luck if you need docker.

M1 Macs would make fantastic Linux laptops, because macOS is appallingly bad at backend development. It makes it up in sheer hardware power and efficiency, otherwise I’d be completely at loss why it’s so loved.
I agree on the security part, and what about the cost argument? I think I've seen a few companies switching over to data centers due to the costs they can save money on moving from the clouds, and I also think mature orgs prefer cap ex and depreciation to op ex (although I am not far from clueless on this point)?
Yes, there are designs for doing exactly this with outer gas giant atmospheres.
The analogy of this article would be: Stop using airbnbs when traveling, just build a house.
The C part of Objective-C.
2hr swapout. C'mon that's got to get improved on. They say it's for fleet flexibility and resizing for need, but that's a shocker decision. Why not make it simpler and give them the structural rigidity to be slot-in
>Why would I train someone new instead of just poaching your developer at market rates?

Because you pay more, and still have the risk of less/negative productivity anyway? Who says experienced dev won't do 2 years of resume driven development instead? Who says they won't simply zone out and spend their last 6 months being poached the same way you poached them from the last company?

your argument works under the assumption that your experienced hire has no downsides, and there's no risk of upside for the less experienced hire.
Hetzner is quickly positioning itself to be the Azure/AWS replacement for a lot of shops here in the EU.
This is no Chromebook alternative; it is nothing like a Chromebook, and it could never be. This blogger is trying to ride the coattails of something successful.

This is a nice Linux notebook. It's running a full OS. I'm sure it's very usable. It's got all the positive features of Fedora and Framework. But that's what it is, and not something else.
If it works for you it's great, but for vast majority it's the wrong step forward. Biggest enemies of a startup are time and money. If you have both, great but vast majority have neither!

The sentiment of "our startup became a success because of Rust" is misleading. You're success is not attributed to choosing Rust over something else but rather the effort spent in gaining valuable expertise in years prior and understanding the product it takes to gain customers' attention/money/commitment.
I feel like this is a message for the render support team, not hn. Idk why people are going here first as if that's the shortcut to getting a response.

Hit up here if render told you to stick it. But I also often see these end up with "I fucked up but want to yell at someone"
Cruise cars halt traffic in SF, cite 'connectivity issues'
Firstly, what a way to extrapolate an entire article from the fact that a your engineering team is incapable of doing runtime validation.

Also brushing over the data validation side of things when this is the most important part about all of this and making out this is some clever engineering feat because you managed to have the equivalent of a write ahead log for your tables/cluster.

"when we're working with external systems, it's easy to find yourself in a situation where the types are lying to you"

No..this is your system...you show know the types of your own data..just wow.
Deep shade, yes - but dappled shade is ideal for many species of woodland/glade wild flowers
What failed rocket launches? That hasn’t happened in a long while. SpaceX just surpassed their 100th consecutive first-stage launch without any failure. Boosters are super reliable these days.
Are you sure you couldn’t wrap that up in another library and just do everything in a single call?
It requires concurrent execution on the same core of multiple VMs, which none of the major cloud providers do (at least on machines new enough to have Zen cores).
Which is the only sane thing in most cases. What can you do inside the helper function of a helper function with an incorrect user data? The only sane place to handle it is n levels up, so bubbling up is the correct default. At least rust has a handy macro for it, but go’s error handling is catastrophic, not a proper sum type, nor some form of propagation… it is literally the bad errno from C burned into the language.
There’s so little info it’s hard to say anything meaningful. It’s surprising to me that the available data are so lacking in specificity that all we can say is “too many people are dying” but not what they are dying from.
VirGL is definitely an interesting project, but all one has to do to get GPU passthrough working (from a Linux QEMU host to any guest OS) is: 1.) research a cheap, secondary GPU that is natively supported by the guest OS, 2.) plug such a secondary GPU into a PCIe slot on the host and hook it up to the primary monitor with a secondary cable (D-Sub vs. DVI, etc.), 3.) setup Linux to ignore the secondary GPU at boot and configure a QEMU VM for the GPU passthrough. The whole process takes perhaps [edit: "a few"] hours and as works flawlessly, with no stability issues [edit: "at least with Asus motherboards"]. (Switching across the two GPU cables can be accomplished in software by using Display Data Channel /DDC/ utilities and switching keyboard/mouse can be accomplished by using evdev /event device/ passthrough.) More information: https://github.com/kholia/OSX-KVM/blob/master/notes.md#gpu-p...
There have not been thousands of nuclear tests.