skysight-inc/HackerNews huggingface dataset:
Cargo has been co-created by Yehuda Katz, who worked on Ruby's Bundler before. Cargo has been designed after npm, so it definitely took lessons from it, but it doesn't make sense to just broadly attribute this to Rust being JavaScript-adjacent.

The Rust syntax is not coming from JavaScript. It even has conflict with it, using `let` and `const` differently, since the `let` in Rust comes from Ocaml, not JS.

Both JS and Rust copy from the same C/C++ roots. Rust's curly brace flavor is more similar to Go and Swift. The original author of Rust liked a lot of languages with different syntaxes, but the C-like syntax has been a pragmatic choice to avoid putting off the target audience of C++ programmers:

http://venge.net/graydon/talks/intro-talk-2.pdf
I'm not appealing to authority (I did not even mention economists who thought this way until YOU chose to make it personal about problem people for America), I am providing examples that the counter argument does not make you stupid, which was a cheap ad hominem attack. Its just a cheap underhanded attack to call people ignorant and stupid and then call it an appeal to authority as soon as an example is presented of someone who beleived same but was not. I am not saying the argument is correct because milton said it (t hat would be appeal to authority), I'm saying he disproves that the view must come from stupidity/ignorance.

>tax

The also cited lectures explain why he believed it was an invisible tax. Milton friedman beleived inflation was an invisible tax. Then he characterised our central bank as a source of inflation. We could dig up additional sources, but I think you know this if you know so much of nobel laureates in economists, it would merely be a make work exercise you would promptly discard. Deliberately feigning ignorance doesn't mean I haven't paraphrased him correctly, although really he is one of many I paraphrase because many economists have held this view.

> (and note his 1976 Nobel was not on central banking).

Both Friedmans and Bernankes nobel prize brief mention research that includes the central bank. Friedman's nobel brief specifically called out research on the federal reserve during the great depression in A Monetary History of the United States. But neither prize narrowed central banks as the center focus of the prize.
Yeah, the app model of one page open at a time ever is such bad UX. Huge regression from the web.
Funnily enough you get around it on an app like Reddit by opening pages in the web browser.
Phase Switch Driven by the Hidden Half-Ice, Half-Fire State in a Ferrimagnet
> It's not just about dynamically linked executables. The userland of Linux simply isn't as stable time-wise as Windows, especially when the timescale is measured in decades.

That’s exactly what dynamically linked executables are: user land

> As an example, the latest Atari Jaguar linker (aln) for Linux was released back in 1995. It's a proprietary, statically-linked 32-bit Linux a.out executable.

That’s not a user land problem. That’s a CPU architecture problem. Windows solves this WOW64 which provides a compatibility layer for 32bit pointers et al.

There are 32bit compatibility layers for Linux too but they’re. It going to be going to help if you’re running an a.out file because it’s a completely different type of executable format (ie not equivalent to a 32bit statically compiled ELF).

Windows has a similar problem with COM files (the early DOS executable format). And lots of COM executables on Windows don’t work either. Windows solves this problem with emulation, which you can do on Linux too. The awkward part of Linux here is that it doesn’t ship those VMs as part of its base install, but why would it because almost no one is trying to run randomly downloaded 32bit a.out files.

To be clear, I’m not arguing that Linuxes backwards compatibility story is as good as Windows. It clearly isn’t. But the answer to that isn’t because Linux can’t be backwards compatible, it’s because Linux traditionally hasn’t needed to be. However all of the same tools Windows uses for it’s compatibility story are available to Linux for Linux executables too.
--
“China had a plan when they let Tesla have a fully owned factory. They wanted the technology and the knowledge and experience. With that came a risk China would take that technology and build better stuff,” said shareholder Ross Gerber, CEO of Gerber Kawasaki Wealth and Investment Management. “That’s exactly what they’re doing. Now they’ve got really competitive vehicles, really competitive technology and the vehicles are cheaper.”
--

And BYD had a leg up...
US could see acid rain return due to rollbacks, says scientist who discovered it
I have pondering these ideas a long time and what is needed is an intense glossing over of all the details. The original Macintosh did exactly this and was called a toy and with 128k completely useless. Alternatively my unsophisticated Mom saw the Mac 128k demoed at the mall and went into a frenzy to get that tool. She wanted to publish documents.

The threats in the world are real and the internet doesn't help. I 100% agree that a network connection needs to be kept at a distance to make things simpler.

I think the power of language used to describe a system is where simplicity begins.

What I'm working on is creating a crisp line of delineation between "local" and "public" networks.

If by default after is on the "local" network auto-discovery is secure. If things are explicitly needed a user can publish them through physical manipulation to publish to the outside world.

The outside world can now be described using classic Users and Groups which is cultural easy to understand.

I'm trying to create an environment that focuses on making those 2 things plus a third element simple to understand and physically manipulatable.

The freedom I'm looking for is available on the "local" network. The "public" network is where our data is interchanged with the outside world based on our publishing. I don't expect people to interact with this layer much. I expect people to configure it for whatever institution/organization/government.

Most of the complexity I see in computing these days is market drive demand for eyeballs/clicks/...
Sure here's something very simple take [0].

This is for RF, and you probably need less bandwidth. Search on Robert
Penfold hobby designs for noise generators for audio too. In practice
you'll need to do a few things to get a good digital noise source with
proper entropy.

1) Shield it! What you want is noise from the bandgap transition
not from your local radio station or ambient "cosmic" noise.

2) Thermally stabilise it.

3) Convert to a digital stream. A Schmitt gate with properly set
hysteresis to get clean edge transitions and a 1-bit sampling circuit.

The whole design should cost you a few bucks and be buildable in
hours. Maybe use a USB audio dongle (minus the DC block capacitors) as
an easy-in for your digital side.

[0] https://www.radiohobbyist.org/blog/?p=1884

[1] https://www.geeksforgeeks.org/schmitt-trigger/
This attitude is why operating systems have ossified. Every new feature is suspect. io_uring? TURN IT OFF. User namespaces? TURN IT OFF. eBPF? TURN IT OFF. This superstitiousness is making it hard for application authors to use new features and advance the state of the art. The kernel should not have random knobs for disabling new technology.

> But until the kernel is fixed

The kernel is in fact fixed. The occasional bug doesn't obviate the maturity of the system. If it did, you wouldn't use Linux at all
> Refactoring their platform into something that can attract super-majoritarian support, and win even in "red" states.

That’s been the centerpiece of the D playbook for years—pull towards the center. Hell, in the last election Harris even got Dick fucking Cheney to stump for her. Dick Cheney, one of the most republican Republican vice presidents, on stage trying to get a Democrat elected president!

And it failed. It’s an utterly garbage strategy that fails every time. This advice needs to be thrown out and never suggested again.
It seems that a higher proportion of Americans speak Spanish than Finns speak Swedish.
The important change here appears to be that the internal representation of a vtable is now guaranteed to have its supertraits laid out in some predictable prefix form to its own methods.

EDIT: or if this is not possible, a pointer to the appropriate vtable is included. I assume this must be for diamond trait inheritance.
Tiktoking in the bathroom will be the new smoking in the bathroom.
$100 for books for a single course would have seemed cheap to me 30 years ago.
I agree this is useful. I also think it isn’t the end of the world to support some semblance of OOP in Rust.

If it helps you ship the business logic, sometimes it’s okay to concede some performance or other cost.
If you don't know how to read them, you aren't ready to understand them. The writers expect you to have a base level of knowledge.
The Math Behind Hanzimatic's Vocabulary Test
I don't really see an attack surface for a dev dependency.
So the US problem will solve itself in the long run.
The US, for all its "free market" pretensions, doesn't really do capitalism very well.

What people are now seeing in China, with the rise of more than a half-dozen EV companies in competition with each other, would be impossible in the US. We've got nascent protectionism, total non-enforcement of anti-trust laws (and a very slow and very cowed judiciary,) a complex+selective regulatory environment, and industrial policies that shift with the weather. American manufacturing firms like Tesla and US Steel no longer know how to compete on the merits. And big tech, like big pharma, is a game where small firms are inevitably bought before they can possibly threaten the entrenched major players.
OpenRewrite is quite nice and has a great collection of recipes for migrating, e.g. from javax to jakarta: https://docs.openrewrite.org/recipes/java/migrate

There are some quirks you have to work around for big projects since the free tooling has some limitations.
A lot of people here concentrating on the peripheral details, and not so much on the core argument about basic literacy.

I'm not a lecturer but I have spent too much time on Threads recently, which is almost as bad. And two things are obvious about posters who are student age or thereabouts.

One is that they have a timid and uncurious view of the world which is bizarrely ahistorical. They know about Miyazaki, because Ghibli and anime are nice, but they know virtually nothing about the history of cinema, literature, art, or music.

Nothing made before around 2000 exists for them. Worse, many are actively hostile to it, because it's "problematic" for various reasons, all taken from a standard list of words like "colonial" and "elitist" which - having no functional knowledge of anything before 2000 - they don't entirely understand, but are sure they do.

The other is that many of them are completely colonised by corporate ideology, and completely unaware of it. Success, hustle, grift, attention-farming, social media strategising, personal branding, and the rest - it's their core morality. Even if they're nominally progressive.

So you get a weird kind of pseudo-morality which appears to be socially oriented, but is often just libertarian under a thin veneer.

Everyone was surprised by how Gen Z voted, but when you put these together it's not so surprising at all.

What's happening is that traditional written literacy has been replaced by a new kind of electronic literacy - moving images over text, shallow quick-hit emotional manipulation over deep insights, transience over permanence, and a kind of entitled transactional narcissism driving it all.
I'm pretty sure cabling is included in cost of renting space in datacenter.
This has been going on for decades. Any adult in Tesla management should have known that the chances of this happening were 100%.
I built an app that tracks grocery spending from a photo of your receipt
Hi HN,

I built a mobile app that helps people track their grocery expenses by simply taking a photo of their receipt. It extracts the products and prices, categorizes them, stores the data, and provides graphs to analyze spending over time. Also you can create future shopping lists with the already purchased produtcs or new ones, to know approximately the cost of it.

You can also get suggestions for healthier and more economical alternatives based on your habits.

The idea came from me, leaving nearby a grocery shop, when i was visiting very often, without reason, spending too much money to unnecessary products.

Would love your feedback! I'm especially interested in how useful this would be to different types of users (students, families, etc.), and any ideas on features that would make it more powerful.

Thanks!
I still recall (as a student) challenging the colleges' decision to drop calc 2 and 3 from my EE program almost 20 years ago because the new students couldn't pass them. I had already taken them and couldn't imagine how students would be able to fully grasp EE fundamentals without them. But the college wasn't hearing it. They were replaced with non-core electives.
I definitely have heard a frazzled shift in tone from the fine folks at donation-centered talk-oriented journalism folks which I have listened to obsessively for years.

I think it's OK, if there's a lion hollering you might need some gravity and momentum to hear it and they are certainly trying to find the new polarity.
I think on iOS you need access on the CoreAudio level if you want to be efficient, ie fill audio buffers on a high priority thread with some lower level static language.
This is why one attends lectures, reads the book, takes notes for both, and then assembles a summary.

It's called studying.
Thanks for that list. I've read about a third of Plato's dialogues (penguin classics, lol) but I'm still at the beginning of my philosophical journey. After I finish Plato I'll start reading the works of modern philosophers. There are many on your list I haven't even heard of.

Regarding pg, I think what happens is when people get rich they think that gives them deep philosophical insight into things. It's not just tech people, I think the same thing happened to Ray Dalio, for instance.
USGS: M 7.1 Earthquake – 90 km SE of Pangai, Tonga
Attack surface is a thing, still.
As mentioned in a previous post in these series, this is implemented in the LLVM MCA tool:

https://llvm.org/docs/CommandGuide/llvm-mca.html

I particularly like the wrapper for it https://lib.rs/cargo-show-asm `cargo asm --mca function_name` that makes it easy to isolate a specific function from an arbitrarily large project.
Pretty sure you can buy one it just will cost half a tesla with import duties, and you are on your own for maintenance, and the logistics on getting it here.
It was a patient reporting their dentist's opinion.
I’m seeing a huge upswell in organic hate for Musk over the last little while across a bunch of forums online, as well as people making jokes about him in real life (this is in Australia), and the dropping Tesla sales seem to be confirming the trend.

So the simplest explanation is not anyone ‘steering’ anything, but just that he’s absolutely trashed his own reputation outside what is a fairly narrow political persuasion internationally…

(The kind of pro-Trump style conservatism is fairly large in the US but a much smaller minority in much of the rest of the world, and of course the overlap of that and people who would buy EVs is even smaller)
That's actually normal
(author of the post)

Just to clarify a bit, the test ofc isn't a fully general solution to solving issues with database migrations (I hinted what that might be in the blog post), although it's still useful to provide a nice error message even if a more general solution was implemented.

That was not at all the goal of the post. I just wanted to appreciate how easy it was to achieve this specific task in Rust. In any other systems programming language that I used (even most other languages, except maybe for Python), I would never even imagine something like this being feasible, and so easy to do. That's it :)
To be such a smart guy, Musk does some really dumb stuff --- like alienating most of his customer base. Like investing billions to build an auto manufacturing academy for the Chinese --- now his primary competition.

The article highlights Tesla marketplace trouble --- but it ignores the other half of a "double whammy" that envelopes Tesla.

While Musk was busy shooting his company in the foot, investors were buying his stock like crazy. And not just the "dumb money" retail investors but also the "professional" institutional investors who do this for a living. They now hold 70% of TSLA stock.

The P/E of TSLA is around 130. The P/E of GM, Ford and Toyota are all less than 10. In other words, TSLA is outrageously overpriced --- by a factor of at least 10. If TSLA was valued like other car companies (90% of TSLA revenue is from auto sales), would Musk look like a business genius? I don't think so.

Tesla's stock price and Musk's business persona are dangling by a thread being held up by these "professional investors". In my opinion, out of fear for their upcoming performance bonuses.

Once this thread is cut, Musk will own one of the worst self inflicted financial disasters in the history of business.
I found this description about the security risks of rooting very eye-opening https://madaidans-insecurities.github.io/android.html
It also explains the sandbox.
That is not an objection. Two decades of webapp progress instead of native app progress would have (and still would) addressed all of that.
I am both. But I do not feel the need to look at the source code of all software I use or tinker with it.
Out of curiosity, are there models for speech synthesis which generate speech parametrically and then refine neurally?
Oh we don't get novels to read for class in university. Any reading would be voluntary
I think most people understand "You cannot buy X in Y" to mean it isn't available from stores in Y, not that it's physically impossible to get X into Y by any means.

I wonder how BYDs numbers would look like if they weren't effectively banned in the US just to protect Tesla. I guess the grand experiment of global markets and free trade died with a whimper.
> I can pull down a 20 year old exe and still run it today on Windows.

Why, oh why, I have to deal with exe files that are not even 5 years old and don't work on my windows laptop after update... I wish I lived in Author's universe...
You were right I forgot about 7.6.1. I think I had a an WiredInc mpeg video card server based on System 7.5.3 for a project. So it had a particular memory burn. I suppose I need up using System 9 since all life forms were supported by carbon.
You are assuming they are just randomly flouridating water without measuring for target levels. I don't even know if you are thinking this through clearly as if they are just randomly dumping flouride into water supplies without measuring against specific targets.
If you're writing applications or tests, it's mostly the simpler kind of code. If you're writing reusable (or perf. critical code), you will start seeing generics and lifetimes much more often.
I think interactions between many types and functions would be harder to migrate, especially if you go so granular as to target individual types independently. Maybe if it was a migration from some checkpoint (timestamp / version / commit / whatever you like that describes an entire state of the code) to another, then you could migrate indirect code patterns that need to change as well.

I think most of all one must have discipline to thoroughly think of old code and how it should behave now. I found that one can already do this by versioning code and types, similar to how an API endpoint might go from /v2/… to /v3/…. But again, it requires discipline and it’s not something I’d do for anything but very critical code.
>1. Refactoring their platform into something that can attract super-majoritarian support, and win even in "red" states.

So what you're suggesting is that Democrats refactor their platform into a Republican platform in order to win over Republican voters?

That might work, but I don't know how effective it would be as a counter to Republicanism.

>2. Running broadly popular candidates.

Joe Biden and Hillary Clinton were broadly popular, or at least not significantly less popular than Donald Trump by some measures. Hillary Clinton got more votes than Trump (popular, not electoral.) Even Kamala Harris only lost by a small margin.
> This is not tech news

Neither is how to use the em-dash, which was front page on HN the other day.

That being said, this is tech news, albeit indirect. When the rule of law is tossed into the woodchipper, it kind of affects everything, including tech.

I understand that it may be too divisive, but maybe whoever runs HN can moderate these threads so they maintain some substance and don't devolve into screaming matches.
Were our blue oceans once green?
> Except it's not—fluoride in the drinking water concentrations is proven safe and it doesn't affect brains.

You mean like this: Fluoride Exposure and Children’s IQ Scores
A Systematic Review and Meta-Analysis, https://jamanetwork.com/journals/jamapediatrics/fullarticle/...

"Findings: Despite differences in exposure and outcome measures and risk of bias across studies, and when using group-level and individual-level exposure estimates, this systematic review and meta-analysis of 74 cross-sectional and prospective cohort studies found significant inverse associations between fluoride exposure and children’s IQ scores. [...]"

Maybe you should reconsider that what you heard once was the definite truth.
Samsung Galaxy AI features can be set to on-device-only processing
Taking compounds of the most electronegative element, and treating people with them systemically—drink it, bathe in it, cook with it—when local administration directly to the teeth is cheap, easy, & effective makes no sense at all.

Meanwhile, mining industries produce—and must dispose of—a steady stream of fluoride compounds that would otherwise have to be dealt with as toxic waste (i.e. very expensive) if they ever lost the green light to dump them into the water supply.

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

or per Google:

Three chemicals are used to fluoridate drinking water in the U.S: sodium fluoride (NaF); sodium fluorosilicate (Na2SiF6); and fluorosilicic acid (H2SiF6). Fluorosilicic acid is a byproduct of the manufacture of phosphate fertilizer.
iOS grants just the contacts you select - including “none” to apps. WhatsApp works fine in that regime.
Yes. And is studying more, or less efficient, when lectures are spent focused on transcription, instead of the material?
> you end up with lossy notes

Notes are definitionally lossy. If they weren't lossy, they'd be a transcript.

The act of compressing a lecture into notes helps students learn. Merely transcribing does not imply understanding.
This interpretation seems like the exception proving the rule. If it were consistently applied, as you say, social media companies should logically also be required to carry all speech.

The reasonable democratic thing to do here would be to propose new legislation explicitly covering the protection of speech "on private property", pass it if deemed desirable, and just be done with it.

Of course, the problem with that is that such a law might be seen to actually contradict the First Amendment (compelled speech and all), so it would possibly have to be a constitutional amendment, and that's obviously not happening. I really have no idea on how to get out of this mess, yet doing so seems extremely important.
When I was an undergrad (2008-2012) I don't think I even had any classes that were given as PowerPoint slides. If they had been though, I don't think I would have felt bad asking for them - they definitely could have helped jog my memory! Notes aren't always perfect...
I'll do that when I can be confident in my ability to afford food. Being a "whole human" just isn't a priority when you might literally become homeless