skysight-inc/HackerNews huggingface dataset:
I wish I could take the Rust pill like everyone else and be happy.

I am not a stranger to the programming world. I am fluent in Python, Java, Scala, Erlang. I can write acceptable Haskell and C++ and Common Lisp. I am well versed in functional programming (though I don’t hate OOP — it is still a good thing when done correctly, and I am a big fan of Smalltalk).

However, for some reason, I am completely unproductive in Rust. It always fights me. There’s always something I want to do (graph structures? spliced lists?), and it’s always “you don’t need that” and “it’s not the Rust way”. There’s always explicit lifetimes and you miss something and you need to rewrite huge swaths of your code. And nothing is refactorable. It’s not even a good functional language, there are no persistent data structures, and it’s a pain to make them, and no ways to express yourself functionally like I used to do with Scala.

But apparently, everyone and their dog like Rust and are insanely productive in it. What am I missing?
Your thinking is too complex for Go. You might be better of with Rust.

Same about benchmarking, if you want and need the fastest code, or the best memory management, use Rust.

If you need something faster than Python in general but not the fastest, use Go.
> a somewhat longer northern border that we've never actually had to think about defending.

Well, not since they (as lackeys of the Brits) burned down Buffalo.
We should hypothesise a model explaining Ig Nobels per capita — if we published, might that be Ig Nobel-worthy work?

TIGR mencius was in the sealscript era! (but what about selkiescript? that'd be as good name for a metamorphic language)

I'd forgotten about the disinfectant thing — IIRC there wasn't a shortage precisely because the [factory-]schnapps manufacturers stepped up immediately. Doing well by doing good, as it were.
Try this: Discourse on Metaphysics https://www.earlymoderntexts.com/assets/pdfs/leibniz1686d.pd...
They will surely find a way to make that into a "gig job" too. Like the guys who currently pick up e-scooters, drive them away using various conveyances, charge them and drop them off again - maybe robotaxis can drive themselves to a charging station, but cleaning them will surely still be a gig job.
Git-crypt – transparent file encryption in Git
With a RTX4090 and insanly-fast-whisper on whisper-large-v3-turbo (see Whisper-WebUI for easy testing) you can transscribe 5000h on consumer hardware in about 50h with timestamps.
So, yeah. I also know someone.
Ask HN: Insomnia, what has worked for you?
I suddenly have insomnia for last few months and nothing seems to be working i.e melatonin, hot water shower, tea. Has anyone fixed this ? Do i need to go to the doc ?
So what’s the alternative then to go?
Surely this ship sailed a long time ago. This is just throwing money around to find someone to blame for piracy despite the fact that piracy is both inevitable and highly incentivized by the claimants.
We call them "vimpires" over at #vim.
I used generics once, was kinda useful, but definitely avoidable. The only feature I could see myself using is something Linq-esque for slices and maps. Otherwise I’m content.
"Recall" is wording that means (to me) the vehicle needs to be physically returned to a dealer workshop for something to be done.

That it's used for OTA updates just (to me) means they should use some more suitable wording for it. And yeah, as other people have pointed out it's the word used for the legislation. I still think they should use some kind of different wording though.
EVs are not a solution to climate change.

That is an industry green wash to make you buy a new car.

There are multiple other technologies which will surpass EVs efficiency, and wont require scrapping 1.5 billion existing cars or disposing of huge battery packs after 10 years.
Instructing Animosity: How DEI Pedagogy Produces the Hostile Attribution Bias [pdf]
Non-Technical API Design Should Be Possible
> and populace-understood

Nah, doesn't really seem like it.
Which is what my original comment said. When a comment says "people say X", it's a statement saying "people are wrong".
There's plenty of software I work on from time to time that's written in Go which I'm happy are written in Go. Some of those were even projects which I started and chose the language for.

Then there's software I've been involved in where I believe Go was the wrong choice. And software not written in Go where I believe Go would have been the wrong choice.

My point is, Go is just another programming language, with a unique set of strengths and weaknesses, and there are plenty of cases which i have experienced myself where there are genuinely no regrets around picking Go. Not because there aren't shortcomings in Go, but because there are plenty of cases where those shortcomings don't matter.

In my professional life, I have seen significantly more regret associated with choosing JavaScript on the back-end than with choosing Go. But then again, there are services in production written in JavaScript where that just never has been an issue and there are no regrets.
Did it on my blog. Incredibly easy. The mirroring between bsky.app and https://cartes.app/blog/street-view-france is awesome.

I just need users now.
It could have been a more extended article, I agree with that, and perhaps in more detail. Having said that, I don't think in general many people would read such a long article. Sometimes stuff given in a nutshell can trigger curiosity for one to do their own research and actively find what the differences are between Java and Kotlin. One note though, virtual threads aren't per se directly connected with Java. Though they are frequently presented under the context of the Java programming language, they are part of the JVM ecosystem and have nothing to do with the programming language. And there are also coroutine implementations in Java, though extremely verbose and horrendous, that work in the same way as Kotlin coroutines. In principle, we should be able to use Java Virtual Threads with any language in the JVM ecosystem and we can also implement the continuations with ForkJoinPools principles associated with Coroutines in Java. One thing doesn't stop the other and although in the beginning most of us seemed to be led to believe that they belonged to the discussion between Java and Kotlin, they actually do not. Have a good one!
ah, good ol REAL computing days :-)

DJGPP was such an eye opener back then and it made things much easier: finally, we were able to have one pointer for linear graphic buffer access; also you could easily save 2MB in memory, and its DPMI was free, compared to the other ones available.
For experiments and hobby projects the value proposition is amazing. Where else can you spin up an independent instance for $1.94 per month?*

*Note this is for an instance with only 256MB RAM (https://fly.io/docs/about/pricing/), but it's definitely possible to run non-trivial projects on that. Rust-based web servers like Rocket require only about 10MB RAM. Basic PHP servers should also fit from what I can find.
My grandfather started having white hairs at 20, I'm a bit older and I have a few strands of white hair. Honestly, I love white hair. It's not very noticeable on me though, I get it can be embarrassing
And this is why I normally start by going to the HN comments before reading an article.
30% of the population is plenty for making friends. If choosing not to watch a lot of TV makes someone non-neurotypical, that’s a pretty scary standard. 75% of the population in the US is overweight or obese. Are we defining people with healthy weight as non-neurotypical too now?
Here, you've found me.

I don't LIKE it, but it's acceptable.

I have been working with Rust since 2015 (albeit not professionally, but a lot of side projects) and love it.

But I also dabbled into go the last couple of months and while it has its warts, I see it as another tool in the tool-belt with different trade-offs.

Error handling is weird, but it's working, so shrug
That's really not clear?

And for equivalence, the first would need to be:

- Tesla Cybertruck has recall that resolves issue that put public safety at risk
Show HN: SimpleStats v3 – the missing analytics tool for Laravel applications
Hi folks,

Today, I’m thrilled to announce the release of version 3 of SimpleStats, our server-side, GDPR-compliant analytics tool for Laravel applicactions designed to go beyond basic metrics like views and visits.

SimpleStats provides in-depth analytics such as registrations, conversion rates, daily active users, campaign ROI, ARPU (average revenue per user), and total revenue — all with server-side tracking that ad blockers can’t block.

What’s new in version 3?

Here’s a quick summary of the latest improvements:

* New comparisons: Compare previous periods and year-over-year data.

* Graph zoom: Click on data points to zoom into specific time ranges.

* Defer function: Simplifies setup by making queues optional.

* Visitor payments: Payments can now be linked to visitors (for apps without user accounts), introducing a new metric: ARPV (Average Revenue per Visitor).

* Bot filtering: Client-side bot detection reduces API calls and improves performance.

* Faster browser/bot detection: Now uses caching for better speed.

* Social login: Added Google and GitHub login support.

* UUID and ULID support.

* Timezone fixes and lots of small bug fixes and performance tweaks.

You can check out SimpleStats at: https://simplestats.io

Feedback and questions are always welcome!

Thanks for your time,
Zacharias
As an embedded software developer: 100% yes. Having a cheap OTA option will always lead to more sloppiness in development; the problem is that this makes it possible and easy to delay "features" in general when software projects are behind schedule (instead of delaying everything), these delayed features/releaes alone are then additional surface for bugs/regressions to slip through testing.

For the manufacturer this is still mainly a win I'd say... possibly even for the customer (because he gets features and fixes faster, at least), even though it sounds bad.
People who have 100k to burn on a car are middle-class? What's the median yearly income in the US? 90k?
A great lesson in asymmetrical warfare.
But with Exceptions you can easily implement multiple return types in e.g. Java ;)

I shocked my Professor at university with that statement. After I started laughing, he asked me more questions... still went away with a straight A ;D
well, it didn't say their descriptions were WRONG, just different. The insinuation is that highly social people were informed by what their peers think and say, so their descriptions will likely mirror other socially connected people. The lonely people would just have to come up with it on their own.

I know there's a tendency to dismiss groupthink as negative and wrong and bad, and for huge amounts of people that's true, but for small social groups it's often a sign that you've all become familiar with each other, experienced the same things and are just similar in general, and in terms of selecting for safety, these are all markers of who you will likely feel safest with.

there's a hypothesis that singing and instrument usage like drums came about as a way for a community to show cohesiveness and immediately find out who strangers are. By the time you've learned their songs you're not a stranger anymore, but if you can't sing or talk like they do, you're very likely a stranger to be wary of. Makes a lot of societal evolutionary sense.
> what's the difference between your program and one with exceptions

Because errors as values are explicit. You're not forced to use ? everywhere; you can still process errors however you like, or return them directly to the calling function so they deal with it. They're not separate control flow like exceptions, and they're not a mess like Go's.
the low consumption as part of GDP also has to do with different ways of reporting GDP. they dont include some government funded services in the consumption share of GDP, when similar services are included in other countries consumption shares.

china consumes 30% of cars, 20% of mobile phones, 40% of televisions, 25% of furniture, etc. in basically every consumer category they exceed 20%. how can that be true and at the same time they have an abnormally low "true" consumption rate?

https://www.project-syndicate.org/commentary/china-household...

https://asiatimes.com/2023/11/consumption-in-china-is-it-rea...
> Car ownership, maintenance, and insurance are expensive.

Not as expensive as uber/lyft.... by a fairly large margin, too. The kids are using public transit.

> There is a huge market for people who would rather hail a robotaxi than buy a car.

? Do they have hailing? I thought you would have to use an app. If I can actually hail a robotaxi I might use one
What, no quality tools exist written "with passion, and a great attention to details" in Go? *Doubt.
I think vision some will likely eventually be sufficient for full self driving, but by the time it is vision and LIDAR will be cheap and ubiquitous and downgrading to vision alone will be seen as a cost cutting measure that unnecessarily degrades safety compared to systems with LIDAR as well.
> You're always going to pay the same price. An indirection.

There is a difference between indirecting through a register, or through a memory (which in the end also requires a register, in addition to a memory load). On the other hand, I$ is more precious, and the most popular parts of GOT are likely to be in the voluminous D$ anyhow, so it's hard to tell which is more efficient.

> Or statically define all those addresses within your binary. That seems more "elegant" to you?

Of course not. I personally think a directly specifiable 64-bit offset from the base register that holds the start of the data section is more elegant. But dynamic libraries don't mesh too well with this approach although IIRC it has been tried.

> you'll have none of the features the loader can provide for you. At that point just statically link all your dependencies and call it an early day.

This works surprisingly well in practice, actually. Data relocations are still an issue though.
Conda indeed is slow. However, mamba is a drop in replacement for Conda and uses a way faster solver, which makes it a lot more palatable.
That there is no focus the actual failure,
and that is a secondary failure,ongoing.
Engineering, production, know what a millwright is?
The bros thought they could bluff there way through a parts per billion production line,and just hire people,strut around and
go to meetings.Anylise things.
Better batteries are made from materials that are known and consistant to parts per billion.The mechanical assembly has to be
within microns.Every parameter of temperature and humidity must be known and controlled at every stage.
It is a long tradition in some shops, that when the brozecutives show up, they are taken to the maitenence department and allowed to chat with the janitor, but never see the actual shop floor, and never know the difference.
Look at boeing to see what happens when the bros think they can optimise, purely
engineering descisions, that are already
finely tuned.
Want to build an engineering company?
Abort on the other hand is used WAY to liberally in Rust.

How I hate it, that every second function call can break my program when it's clearly not a "halt the world, it's totally unrecoverable that the user sent us nonsense" type.

Return a Result and get on with your life!
The article talks about history of alternatives to the interest rates, mainly controlling the currency supply and how it might be implemented in the future. How you discovered price control as the solution in there is still a mystery to me.
only if you aren't keen to share them with your friends.

if you watch an obscure show or movie or read a rare book, most people will be eager to share it with their friends, and their friends will be eager to learn about it. It's not the preferences or experiences that make you lonely, it's whether you trust your friends enough to share them.

truly, nothing is more fun than finding a cool movie and then showing your pals, who then also love it. That's the best!
that cant possibly be true because capitalism has only existed for a small portion of the thousands of years of chinese history. capitalism doesn't just mean having stores, or having markets
People do, all the time, you just did too. You just linked to an article that did.
No, because you end up with a function coloring problem that way. A function that returns something other than Result has to either call only infallible code or panic on error, and since something can go wrong in most code, the whole codebase converges as time goes to infinity on having Result everywhere.

Yeah, yeah, you can say it's explicit and you can handle it how you want and so on, but the overall effect is just a noisy spelling of exceptions with more runtime overhead and fewer features.
> it's protected bike lanes in urban environments

Sorry but they are not solutions to gas guzzling trucks. Trucks are utility vehicles which carry things. Materials to building sites, hay bales to fields, sports equpiment to the beach/river etc. These functions are not going to be replaced by bike lanes, trains, and small efficient cars.

The real solutions are hydrogen and synthetic fuel.
I feel like someone in the Ars newsroom mixed up their headlines. I thought I was about to read an article about protecting user privacy. What I read instead is an article about to billion-dollar giants having a pissing contest over the oh-here-we-go-again piracy argument. Did Lars Ulrich secretly write this?
Again, that seems to be in no way demonstrating the pattern that was claimed to be happening often.

AFAIK Google did not take ownership of gcc, nor did they try to fork it without contributing to the original. They used GCC for a good couple of decades while contributing to it, but eventually switched to a different compiler. The same for clang, they neither "took it over" nor "forked it without trying to contribute".
Bah, no, I hated that you had to wrap basically every code block in a try/catch in Java, because the underlying lib could change and suddenly throw a Runtime-Exception.

At the same time Checked Exceptions were a nightmare as well, because suddenly they were part of the contract, even though maybe wrong later.
> but do I really know without performing a benchmark?

Not really. But that’s one of Rob Pikes rules [1], I think the intention is to write whatever is simplest and optimize later. The programmer doesn’t need to remember 100 rules about how memory is allocated in different situations.

[1] https://users.ece.utexas.edu/~adnan/pike.html
Makes sense. Elon Musk says he is a technologist. Musk says he knows a lot about computers. Musk says the last thing he would do is trust a computer program:

https://www.nbcnews.com/tech/tech-news/musk-pushes-debunked-...
Ayar Labs at Supercomputing 2024: Making Light Move Bits (YouTube Short)
Uhh, maybe.

Where is the tradeoff analysis? Yeah, you might regret using Go when some zero value you forget to fill in somewhere pops up later and ruins your pipeline. But are you considering all the issues that didn't pop up because you chose Go?

Java's boilerplate code? Rust and C++'s lifetime analysis and memory management? C's lack of tooling? Python/Typescript's runtime errors? Functional languages' tiny employee pool? How much did trouble did you save by avoiding these?
thank you!! just fixed that and please try again :)
I dislike sum-type based error handling. It is annoying syntactically and only really doable with lots of high-level combinators, which in turn hinder debuggability.
Should the phone company be liable for their customers performing a copywrited song on the phone? Why should an ISP be required to surveil their customers but not the phone company? When my dish washing machine can take voice commands does it get deputized by the copywrite police too?
> I love operator overloading, I love how Python does it (once you satisfy an interface, its operators Just Work).

Is this different from other styles of operator overloading? Why does it matter whether, when I want to overload the + sign, I need to define a function called `__add__` or `operator+`?
Checked exceptions are more trouble than they're worth. That doesn't make exceptions in general bad.
"Painful Gas Contraction Hits US"
Rust handles this much better.

Error handling is still explicit, but it gives you the tools needed to make it less tedious.
Isn't the place which the ISPs were receiving notices from, one of the ones that was actually just Copyright Trolling?

https://en.wikipedia.org/wiki/Copyright_troll

i.e. they were more about generating bogus notices based upon no real evidence, and didn't even try ensuring they had court worthy evidence before sending notices

If that's the case, then how is that ignored when other, similar firms had their operators sanctioned and thrown in jail for doing the same thing?

https://en.wikipedia.org/wiki/Prenda_Law
If you click on the domain name next to the main link you get a filtered view of submissions for just that domain. This way you can easily find the related posts. It looks like this is the fifth submission of this article but the others didn't get many comments.

https://news.ycombinator.com/from?site=blogsystem5.substack....
Yeah, I've had no issues sending tokens up to the context limit. I cut it off with a 10% buffer but that's just to ensure I don't run into tokenization miscounting between tiktoken and whatever tokenizer my actual LLM uses.

I have had little success with Gemini and long videos. My pipeline is video -> ffmpeg strip audio -> whisperX ASR -> groq (L3-70b-specdec) -> gpt-4o/sonnet-3.5 for summarization. Works great.
Okay so I’m wondering, if you’re not in the Golang universe yet, what language is better to start with learning?
NASA, SpaceX Illustrate Key Moments of Artemis Lunar Lander Mission
I am not going to answer the questions, but this is a very strange complaint, to be honest.

For example, passing by value/passing by reference is something covered immediately in the Go FAQ document once and for all. Everything is passed by value in Go, that is it. There should be no confusion at all. If you spend 15 minutes reading Russ Cox's post on the internals of the most common data types, you will also understand what data structures have implicit pointers under the hood.
I wonder which car is the 99% one
Thoughts on C#?
(my wife reminds me we've seen snakes, but maybe once a decade; the crows* are daily and even the weasels sent someone by a few nights ago)

I'd nominate the Platypus as mascot.

NCF agrees with some HN commentators; one could hope –if there is to be an implosion— for a similarly violence-free one?

(my model is that MSG was the first "new man" who had actually been born in the Union, and his generation was therefore much less accommodating than previous ones had been of a system that, by the time you were close to the Center of it, turned out to work nothing like they'd told you it was supposed to while you were growing up)

EDIT: also, I'll gladly prove Washington, like Lenin, was a mushroom if anyone feels like sending me a Halliburton full of USD 1 bills.

EDIT2: note that most of that debt is likely also geriatrically held (or maybe in trust, but those have be distributed to someone living at their formation, which tends to punt at most 2 generations?)

EDIT3: note on deaths of despair: I'm told that the 90s were not the best of times for the weaker members of society; one might hope that anything similar would not be as great a step function as it was then.

EDIT4: I don't think new foundations of social legitimacy are necessarily required; wider distribution of benefits of growth should suffice. But in the Old Country, "We all do better when we all do better", the foundation of the New Deal, would now be pinko commie talk. (NCF's suggestion to me smacks of attempting to reconvert losers back into clueless?)

* friends of Hugin & Munin, however, are rare

EDIT5: wrt 天命, could 樂 be translated as "vibes"?