skysight-inc/HackerNews huggingface dataset:
The UI is essentially a node tree similar to react, defined in JSON objects.

This example (https://github.com/yolmio/boost/blob/main/examples/todos/sys...) gives a "lower level" example of a todo list that interacts with the database.

But excerpted the below demonstrates the state approach:

nodes.state({
procedure: (s) =>
s
// A scalar is a single value
.scalar(`input_text`, `''`)
// Queries the todo table from the database and puts them in a ui table
.table(`todo`, `select * from db.todo`),
children: [
// like react, controlled input
components.input({
value: `input_text`,
on: { input: (s) => s.setScalar(`input_text`, `target_value`) },
}),
components.button({
on: {
click: (s) =>
s.serviceProc((s) =>
s
.startTransaction()
// Inserts into the database using the scalar defined in the ui
.modify(`insert into db.todo (title) values (input_text)`)
.commitTransaction(),
),
},
}),
],
});

It defines a node hierarchy with ui state (tables) and that state is populated from the database. The serviceProc is able to modify the database with data from the ui state.

There is nothing special about any of the components and functions I call in the examples, there are really just creating node hierarchies and objects. It means that you aren't limited to kinds of UIs you can create and you can create your own functions that just take in data and return arbitrary node hierarchies.
Wasn't Zuma involved in a ton of scandals and bribery (allegations(?))

Last I read up on South Africa, the ANC's extremely dominant position means there's pseudo-one-party rule, with all the usual downsides that entails. Politicians are not beholden to the electorate as much as to the party itself, because the party controls who's up for what election.

The US/UK political parties are also pretty nauseating sometimes, but they and the free(r) press are hyper-aggressive at keeping everyone honest (to the point they make mountains out of mole-hills/grains of sand)
What would be the frequency for humans?
While Musk’s attention was certainly a key asset in Tesla’s early years, I’m not sure that his attention is still a net positive.
Thanks. My project had an interruption, and I'm getting back to the code.

My code that needs a key-value store is simple, short, just uses two instances of a .NET collection class.

I need NAT (network address translation) to keep affinity of each user with their one execution instance of my code, but I suspect that is automatic with Microsoft's IIS (Iinternet Information Server) that the code uses.

For persistence, the code needs that only long enough for each user connection. And for performance, I don't need sharding across several servers acting like a cluster -- maybe that is some of what Redis supports.

It appears that .NET has more functionality and performance potential (user connections per minute) than my project needs, so I'm trying not to try to master everything Google, Facebook, Amazon, a big bank, Walmart, etc. might need! So far, I'm pleased with .NET.
haha touché.

Many things crackle while meddled with, but I think the distinction between screaming is important here
And I'm guessing there was no Five Whys or equivalent to ask how to prevent this from happening again.

No time to do things right...
Debian Git Monorepo https://news.ycombinator.com/item?id=39903742
It's more nuanced than that, though. I try to be the most ethical person in the room. I don't want to make a profit from someone else's loss, but the bar owner had tried to find the owners and these were the ones that couldn't be traced.

I totally understand the motivation with setting the phones up like this. In theory it should stop theft if there is literally no incentive to steal someone's phone because nothing can be re-used. I just wanted to flash them back to factory and use one of them because I was homeless and needed a phone.

I would have happily returned them to Apple for recycling (have you seen their iPhone recycling machine?!), but someone set fire to the building where I'd stored them and so they all went up in flames...
Because of this part:

> billing the government
People have been bullied out of 'nice' communities. See the 'Actix' debacle in Rust.
The Beauty and Art of Making a Watch
Not sure if I posted this before but Artifact reminds me of an app I use frequently (no association): https://www.boringreport.org
They basically use "AI" to scrub the "emotion' and other garbage from the news.
I actually liked Artifact but it made two mistakes when launching. i) they limited access thinking people would be driven to join even after they fell off the news cycle. This was mistaken. No one wants to be limited on access. And when your business model is eyeballs, limiting them is ridiculous. ii) The over focused on design rather than content. Almost no one trusted it. And trust should have been the focus in the team. That yahoo is buying it is probably driven by the investors trying to get out of it.

If you want to build a news app, with AI or not, then focus on deep investigation and truth and avoid propaganda. I'd join that. I'd pay for that. Otherwise, get your books in order to sell to another bullshit tech company that doesn't care about truth or reality.
The way (say) the kernel uses branches is not very similar to the way GitHub does it where you actually push a branch and then let the machine do the merge

It's the same ingredients but it's very hamfisted.

Squashing is like training wheels.

What I was hinting at with the loop concept is that it should be closer to phabricator that gitlab, let me stack.
You're lucky, my business partner and I put a cap table in writing where he wrote I had the most shares of anyone. Then I found out 9 months later he took nearly all of the shares for himself behind my back.
Retro games often have straightforward gameplay mechanics and unique gameplay elements. I haven't seen any unique and revolutionary gameplay in modern games for a long time...
sounds like the ML team needed a good product manager, or ML engineers who think like product engineers
Show HN: I built a browser-based tutorial for learning RAG for LLMs
Hey all!

I wanted to share this project I've been working on that can maybe help you or your developer friends out.

I built a RAG system for our product a while back and didn't realize how easy they were to get started. So I put together my learnings into this online course.

It's not quite ready but if you sign up and mention HackerNews, I can get you early access.

I'm looking to get feedback on the following:

(1) materials — is it engaging & did you learn something?

(2) UI/UX of the platform — did you have any issues that prevented you from starting or finishing the tutorial?

(3) project-based approach — was this a better way to learn than watching a video or reading a docs page?

Looking forward to your thoughts!
a key aspect of the cutting edge companies is their ability to execute on very large and complicated software engineering projects, so you should see if your existing software engineering skills might already be useful.

e.g. look at Anthropic's job postings for engineering roles -- they don't super-emphasize AI knowledge, they seem to also face a ton of classic engineering challenges. there's as much about managing cloud infrastructure and distributed systems as there is about transformers.
> pyodide /package versions will be controlled by the compatibility date

That's exactly the issue that I'm mentioning. Ideally you should be able to pin any Python version that you want to use in your app: 2.7, 3.8 or 3.9 regardless of a Workerd compatibility date. Some packages might work in Python 3.11 but not in 3.12, for example.

Unfortunately, Python doesn't have the full transpiler architecture that JS ecosystem has, and thus "packaging" Python applications into different "compatibility" bundles will prove much more challenging (webpack factor).

> Could you expand on why you believe V8 will be a limiting factor?

Sure thing! I think we probably all agree that V8 is a fantastic runtime. However, the tradeoffs that make V8 great for a browser use case, makes the runtime more challenging for Edge environments (where servers can do more specialized workloads on trusted environments).

Namely, those are:

* Cold starts: V8 Isolates are a bit heavy to initialize. On it's current form it can add up from ~2-5ms in startup just by initializing an Isolate
* Snapshots can be quite heavy to save and restore
* Not architected with the Edge use case in mind: there are many tricks that you can do if you skip the JS middleware and go all in into a Wasm runtime, that are hard to do with the current V8/Workerd architecture.

In any case, I would love to be proven wrong on the long term and I cheer for <100ms cold starts when running Python in Cloudflare Workers. Keep up the good work!
Is the choice of lzma to demonstrate isolation intentional or was it just a coincidence considering last week's tech news...[1]

[1] https://news.ycombinator.com/item?id=39865810
_Transit_ is not what needs to change first. Infrastructure (stores, schools, daycares, hospitals, offices) needs to change before mass transit is even feasible. And that needs to be built out over an extended period of time, like 15-20 years, to have good coverage. This is particularly hard to grasp for someone who has never lived in Europe, which I have. So we “invest” in mass transit which (at least in my neck of the woods) almost nobody uses because it’s 10 minute drive to the grocery store and 15 minute drive to school, and both of those numbers triple or quadruple without a car. And now consider your kids extracurriculars, like swim team or something. And now consider having 2-3 kids. Cars are here to stay. To refrain from improving them would be like not doing anything about energy generation until we have fusion, which probably also won’t happen in my lifetime
And most of them are more meaningful
Over time of trying to adopt or even reinvent PBT I discovered that there isn't a good language to formally describe software at the level where it becomes interesting to test it. TLA+ gets somewhat close... but it's both too difficult to write and its hard to adapt to eg. interactive systems.

I don't mean to say that PBT is a bad idea. I actually think it's very good. I wish there was a way to make it really useful though. As the paper mentions, PBT in their experience is used for "component testing", which is just another name for "unit testing", which is where automation of this kind isn't all that important. Integration and E2E testing is what's a lot more important, but doesn't really have a way to approaching r.n.
Where are the products to help us? (analysis of an old PG essay)
And not a single photo of a resulting printed page. Why do developers absolutely loathe showcasing their final product?
> I've seen a Cybertruck

Oofda. I'm sorry you had to experience that.
You can have really bad and fast, or really slow and decent right now. Choose one :)
> Another example of this was log4j: if you were still using the old 1.x log4j versions, you wouldn't have been vulnerable to the log4shell vulnerability

Lol, this exact thing happened at my last gig. When I first learned of the vulnerability I panicked, until I found out we were so outdated it didn't affect us. We had a sad laugh about it.

> "so that when another vulnerability happens, upgrading to a fixed version (which is assumed to be based on the latest release) will be easy".

I think there is some truth to this motivation though - if you are on an ancient 1.X version and have to jump a major version of two, that almost always causes pain depending on how critical the service or library is. I don't pretend to know the right answer but I always tend to wait several versions before upgrading so any vulnerabilities or fixes can come by the time I get to the upgrade.
Bummer that they deprecated/archived it before the native feature was stable.
By which definition, this is absolutely not an "x86" compiler, since it doesn't generate code for any of those other chips. Thus my nitpick.
I think about this regularly just don't have the time to pursue it:

Couldn't you build your arm in Nvidia Omniverse by also adding feedback like a cheap hig resolution distance or angle detector and train an ml model to compensate it?
Sorry, I didn't understand your post. From the last 2 phrases, it seems to be the case that you do collect some data.

So, when you say

> Note that we do not currently send telemetry anywhere.
You mean that Oven do not send that data to someone else, right?

I still see value in having a privacy policy so that users can find out what is collected by Oven in a concise way, and how to opt out of that. As far as I know, the fact that any data is collect at all, and that there's a flag to disable it is only mentioned in a documentation page for Bun's TOML config file.
It wasn't.

Clay tablets were not expensive- all you had to do was walk down to the riverbank and grab some clay. What may have been expensive was the services of scribes to write and read those clay tablets- and as they were heavier than papyrus or vellum, moving and storing them was also expensive.

So there was no mass-market literature- that had to wait for printing. What survives are sacred texts, administrative records, and letters related to government or business (like the infamous complaint letter to Ea-Nasir).

But because clay is much cheaper than parchment or even papyrus, what also survives- which doesn't survive in anything like as similar numbers from cultures that wrote on parchment/papyrus AFAIK- is scribal students' exercises, because clay was so easy to get that they would just throw away their completed exercises and pick up a new tablet rather than recycle them.

(One important exception here is birchbark- at Novgorod, in the middle of a vast birch forest, birchbark was almost as cheap as clay in Mesopotamia. So medieval children's doodles [0] on it have survived. Another is papyrus written by the Jewish community of Cairo, who had a religiously-motivated aversion to throwing away or erasing anything written. [1])

This means that we have a lot of copies of the beginning of texts written on clay, as students would copy them out for practice. In contrast, if a text was written on parchment, the middle is more likely to survive as it was less exposed to pests and the elements.

[0] https://lithub.com/onfim-wuz-here-on-the-unlikely-art-of-a-m...

[1]https://en.wikipedia.org/wiki/Cairo_Geniza
> terrible reliability (matched with even worse parts availability!)

What I love as a "defense" from Tesla fans is when they comment that "they're not the worst for reliability, in fact they're middle to above average"...

... when compared with ICEs which are far more complex. "EVs are far simpler than ICEs, and there's far less that can go wrong with them"... if so, being in the middle of the pack with a bunch of ICEs isn't the flex it seems.
This is wrong, or misleading at best.

It's a known difficult open problem to create a good audio representation (feature vector). Good, in the case of LSH, would be that representation distance correlates well with human perception.

For something like Shazam, you want this representation to be invariant to minor transformations of the audio. That's the interesting problem.
Nah, it's a big deal to not have charging where you park overnight.

A huge part of EV ownership is the minimal thought put into keep track of how full the car is. You drive, you come home, you plug in, you drive later, etc. No worries at all, no effort.

If you don't have that convenience, you're always going to have a bug nagging you "should I go charge?" and it'll wear at you.

Street parking with chargers on light poles, load balancing so they don't pop the circuit? Win. Chargers saturating common area parking that bills you for power you draw? Making people go charge their car at some central location for 45 minutes once or twice a week? Total fiasco.

I get by fine on a 20a/16a 240v (nema 6-20 plug) in the relatively mild new england winters and can drive my car just like a normal car 98% of the time.
I consider him one of the true titans of the tech industry. It is easy to ignore their flaws and wax poetic, so I always try to understand the full human with all their flaws. The flaws are almost essential to their strengths. As a whole though, these human beings moved the entire tech universe through force of personality, will, and intelligence. It’s a short list. Gates, Bezos, Jobs, Page/Brin, Zuck, — what they accomplished was never obvious or a given when they were doing it. It’s easy to see the business at present. There are also “sub-Titans” as I call them that were instrumental. But the execution at that level requires so many long hard years of consistently good decision making and vision it is very hard to not admire those parts of them.
Eh, I mean it's a pretty common ask in my experience, but my experience isn't the world's
scikit-learn and pandas.

Also some stats, optimization, and linear algebra hopefully, but most of the data science degrees focus on the tools.
Just curious, which alternative do you like more with free message retention. I think free message retention is absolutely needed for open source projects.
I am now considering what I would write in a manifesto. It wouldn't be a bad exercise, although sharing it with other people would lock me into a bunch of opinions that I might regret later.
Should the same happen to you, I'm seeing a good therapist and can pass along details. Contact info in profile.
A good product manager is key.

I don’t think people realize how shitty everything you make is. It’s only through continuous improvement and iterations that it becomes really nice.

Unless it’s something you’ve done many times before, if no one is pointing out problems with your design in the first version, it’s probably hot garbage.
What would stop the US Treasury from printing as much cash as needed to pay its debt?
Sounds like a hold co. Even startups worth 100K may have the founders hold the stock through a family holding corporation (which may then also be used to "hold" vehicles).
Nonsensical argument. JavaScript and TypeScript projects are developed with patches of the original source not some compressed artefact. Take your trolling elsewhere
If I understand the mechanism correctly, you compile the compiler with itself. Then you compile the compiler with a trusted compile and then compile the compiler with itself. You then make sure the two versions are bit identical.

I think one big limitation with this is the assumption that the compiler applies optimizations in a deterministic manner. That’s possible today through the control of the RNG seed via a command line parameter, but one could imagine alternate attacks that violate the assumption around a deterministic mapping from input to output of the malicious compiler (eg __TIME__ in the compiler mechanism would completely thwart this approach until the compiler is fixed to be deterministic). For example, you could have the exploit only injected when it detects a specially crafted PGO payload that adjusts the heuristics in a way that triggers specific passes to turn on or not. Now the mechanism would still protect against that I think but only if you had access to the exact PGO profile used. Similarly, I suspect there are non determinism sources to exploit around file iteration ordering. Again, not that it defeats the protection but that it subverts the assumption of the protection mechanism. You could also imagine a compiler that uses a search mechanism to refine and apply optimizations (ie E-Graph compilers output is dependent on the amount of search time allowed for).

It would be nice though if compilers adopted this now to harden attacks so that a) you have to do more esoteric attacks b) compiler authors think about sources of non determinism and how to control for them (they already do but this would be another layer).

The hardest thing though would be coming up with the trusted compiler. The easiest hack is to have gcc be that for clang and clang be that for gcc to raise the cost of the attack required. Not sure what a better mechanism might look like.
I just wanted to bring up that technique (it is not unique to CIA; LE also uses it). I never asserted the technique would've been useful in this very situation. However, in your framing you ignored the option of video conferencing.

Also, you are forgetting bringing up 'are you trying to pull xz to me?' is a yellow flag towards the person who said it. It isn't definite, it just makes people raise up, it gathers the attention of watchful eyes. We should be careful not overdoing it though.
The balance between monetization and player experience in the gaming industry is ruined
Is it? If you wanted to store something for 50 years which would you chose? 100 years? 1000? A million? It seems hard to beat engraving in stone. Possibly fill the groves with something. 3d printing is perhaps good enough.
How is it there ? Are earthquake and food (and mosquitoes in the bushes) as bad as the rumours say ? (serious question about the first 2)
It's not the maintenance of the projects the enterprises have to fund (though that is certainly welcome if the mantainers are willing) but the slow, painful work of vetting the code.

Google does that with Project Zero but few companies are wealthy enough to afford that. The way out is economic, not technical: insurance, and mutualizing the cost of security audits. I wrote up my ideas on the subject here:

https://blog.majid.info/supply-chain-vetting/
The term "alternative right" was coined by its own members to describe themselves, starting with Richard Spencer's "The Alternative Right".
Could that be from Lectins (red beans, black beans, lentils)?
https://www.hsph.harvard.edu/nutritionsource/anti-nutrients/...
https://open.spotify.com/album/0hkZGxfsFypXbjq15hM6U9
Another Computer History Movie List
Received a bunch of answers for recommendations about computer history and wanted to share here. Created a notion template and a github repo for people to check out if they want to clone it
Anyone have any opinions on nextjs 14?
Tesla | Various Roles | Palo Alto | ONSITE | https://www.tesla.com/careers Tesla is hiring for software positions across a variety of disciplines. If you're interested in helping us transition to sustainable energy production/storage/consumption, we'd love to hear from you! Please apply online at https://www.tesla.com/careers and send us a email highlighting some exceptional things you've done in the past so we can pull your resume from the stack. You can reach us at vehiclesoftwarerecruiting at tesla. Make sure to reference the url for the job(s) you've applied to!

Full-time

https://www.tesla.com/careers/search/job/body-controls-syste... (firmware, body controls, integration) Location: Palo Alto, CA

https://www.tesla.com/careers/search/job/software-integratio... (firmware, electronic park brake (EPB), integration) Location: Palo Alto, CA

https://www.tesla.com/careers/search/job/software-engineer-l...
(automation infrastructure, Python, embedded systems) Location: Palo Alto, CA

https://www.tesla.com/careers/search/job/sr-controls-softwar... (controls engineer, C/C++, battery management systems) Location: Palo Alto, CA; San Diego, CA; Austin, TX

https://www.tesla.com/careers/search/job/sr-embedded-firmwar... (controls, C, embedded) Location: Palo Alto, CA

https://www.tesla.com/careers/search/job/controls-software-d... (embedded, controls, C) Location: Palo Alto, CA

https://www.tesla.com/careers/search/job/sr-embedded-softwar... (embedded, sensors, actuators, C) Location: Palo Alto, CA

===================================

Fall 2024 Internships:
https://www.tesla.com/careers/search/job/internship-validati... (internship, validation) Location: Palo Alto, CA

https://www.tesla.com/careers/search/job/internship-embedded... (internship, firmware/embedded development) Location: Palo Alto, CA

https://www.tesla.com/careers/search/job/internship-integrat... (internship, integration) Location: Palo Alto, CA
Thanks for pointing this out. We are resolving it