skysight-inc/HackerNews huggingface dataset:
Must watch “The General” (1926) by Buster Keaton. Silent acting class act and fun, I find myself rewatching it over the years.
Some context: This article is a month old, v13 has started shipping to customers yesterday.
Why do you think that?

The only client side component of interest would be filtering and sorting, (although the server could render the new state too). I would choose traditional server side + a little bit of client side code here.
Because someone likes to compete? There are 5k races as well, which people enjoy to do even though vehicles exist. And people would rightfully be upset if they got beaten by someone not running themselves.
> schema is validated by the wrong system. The database is the authority on what the schema is

What you describe is db-first. This rust library is code-first. In code-first, code is responsible for generating ddl statements using what is called a "migration" where the library detects changes to code and applies them to the schema.
Tell me all the commits I've made for the day across all repos. Can be very helpful when attempting to capture time logs. I often work across several projects and/or several branches in a project daily.
Dotcom's?

Dotcom's words are untrue, yes.
I did it without AI last year and planning to do it again, for fun.
True. Leaderboards are and always have been full of cheaters.
I set up llama.cop last week on my M3. Was fairly simple via homebrew. However, I get tags like 
 in the output constantly. Is there a way to filter them out with llama-server? Seems like a major usability issue if you want to use llama.cpp by itself (with the web interface).

ollama didn’t have the issue, but it’s less configurable.
Does any employer get a certificate from any of the CAs you listed to MITM their internal networks?
ah yes, the guy that does the 'real' engineering,
and then I'm hired to rewrite that 'engineering' to a normal modern framework
I disagree a bit with the article's implication that putting more code on the client leads to a loss of control. With web programming, there is no way to have full control. Even if you avoid JavaScript on the client and concentrate all the code on the server, the server output still has to be rendered by the browser, and you don't control that. You have no control over what browser is being used, what settings have been applied to the browser, the level of resources available on the client machine, what other programs are running, and so on.

I've come to the realization that unless you're OK with some very clunky front-end, there's just no way to avoid quite a bit of JavaScript on the client. Once you need to write a non-trivial UI heavy web app, you quickly realize that avoiding JavaScript on the client is a non-starter, as cool as that would have been.

The issues involve a lack of standardized sophistication of the web technologies, like HTML controls being clunky, very unsophisticated and hard to configure/style properly, CSS not being properly composable, HTML forms not implementing the full set of HTTP verbs, etc... To me these are fundamental problems with the web architecture that need solving.

Revamping the web architecture to properly support a sophisticated negotiation of control between the developer, the browser, and the end-user would greatly reduce, if not almost eliminate, all the thorny problems that declarative UI frameworks and libraries bring into focus.
AI scribes is one of the few good uses of LLMs I'm seeing in the healthcare space currently. My doctor loves it, and have to agree the one he's using does a great job of transcribing and summarising.

And the one we're offering in my company is getting a lot of love from doctors for very similar reasons, and how much time it saves them.
Reader mode or "View -> Page Style -> High contrast" in your browser works perfectly fine.
It was, until it really, really wasn’t.

Sure, I miss the magical cowboy days, when it was entirely normal to write a ream of spaghetti that did something incredible, but I really, really don’t miss the “our customers are complaining that the site looks bad on IE4 at 640x480 in 16 colours and the purple gorilla has to go why did you add it” calls.

Oh, and IE for Mac. Back then one kept a bottle of scotch and a pistol in one’s desk.
Show HN: P2P Universal Clipboard
Inspired by Apple's universal clipboard, this app allows you to seamlessly copy text on one device and paste it on another without relying on centralized servers. Cross device communication happens using GossipSub from IPFS libp2p and devices discover each other on the local network using mDNS. Tested on Linux and MacOS.
It’s about where the error value ends up versus where the success value ends up. With sum types they both end up in the return value and are handled in the same place. Typically you will now try to let the value flow further with the typical functions (bind/bimap/map/or_else and what else we can come up with).

With exceptions they are thrown and end up somewhere else in a catch block, so the path of the success value is now distinct from the path of the error value.
Sorry who is that or am I missing something here?
Funny thing is this is just the latest issue around this CA. For a long time you had to manually add it to certificate store because it was not trusted by default but the Brazilian government insisted in using it on official websites.
I don't like the assumption of the author you must have observed these architectures in action. Nor does he think you can learn from a 4 year old architecture that was already in place when you joined the company. Nor can you read books and papers about lessons learned published by other companies.

It's a nice reminder to be humble and at the length it takes to see major effects from architecture decisions but he paints a kind of hopeless picture that just isn't there.
I’d like to challenge a core argument of the article:

> Only your last ~20 years of experience matters for these questions, because the basic landscape of software development changes so rapidly. [...]

… with an anecdote. I’ve recently skimmed through a “Thinking Forth” book, and, language-specific information apart, was surprised to read that the software structure they recommend resembles to what I’ve figured out over years of programming by intuition.
> They said it on a podcast

Let me guess, All In? They make money on eyeballs. Their job is to be provocative, irrespective of the truth (or their track records in VC).

> describe pitch decks as a "hook" — as in like the bait used to catch a fish

“Hooking” customers is a common sales analogy. Particular when you’re playing a numbers game, where the individual characteristics matter less than the yield. Like in fishing.
Yesterday my parents were visiting and while we were discussing after dinner, the TV was on though muted. It showed a movie (Max Manus) and we happened to see all of it but with sound off. Discussing what happened on screen, commenting and so on. Sometimes discussing other things, then turning back attention to the movie. It was actually quite nice. It worked because it was subtitled.
To be fair, I have seen it before because of a modification I did to the code base. It was when I first started working with it so I didn't really understand how to correctly implement extensions. But still, i was able to see the error in the ledger and connected to my change.
The 1927 film L'Aurore / Sunrise by FW Murnau with the 2004 soundtrack by Lambchop is wonderful.
I built an entire window manager and trading platform around XSLT, streaming prices and trades using XHR. It never saw the light of day, thankfully.
It’s interesting the study and toolkit is focusing on engineers. What about engineers management?
I thought that windows could be activated permanently by changing the KMS addr, using a couple of powershell commands

Something like this: https://gist.github.com/butageek/e6a5061ff7a80494b33d4bf3b6f...

Of course, this is unrelated to office etc, but does the news brings anything more that this existing method (for windows) ?
In the end, this is a question of judgement.

Everyone doing senior work in any field is doing judgement. What are the pros and cons of doing this thing? What are the short and long term consequences?

There's not actually that much we can generalise about judgement itself. Did you think about it, considering all the tradeoffs? Did things work out?

So a lot of the high level advice I see in the Internet is basically just turning the same stones over and over.

I feel like the most useful articles are actually about specific things like how to write a memory allocator. Those are more like sharing experience that can be used as the raw material of making good decisions.
It makes sense if the goal is "maximise the pay of managers".
I'm curious to see AI participate in this.
Why? Solving interesting problems to learn is a worthwhile goal. Why should it matter to you that others are "cheating"?
Advent of SQL
I think that gp’s comment can be reinterpreted as: why should this landmine exist when databases could notify a reader of its manual about this issue in an explicit way, for example:

DELETE FROM t WHERE … BATCH 100

Which would simulate batched queries when called outside of transaction. This would remove the need of a client to be connected (or at least active) for a duration of this lenghty operation.

If DELETE is so special, make special ways to manage it. Don’t offload what is your competence onto a clueless user, it’s recipe for disaster. Replace DELETE with anything and it’s still true.

ALTER DATABASE d SET UNBATCHED DELETE LIMIT 500000

I know a guy (not me) who deleted rows from an OLTP table that served a country-level worth of clients and put it down for two days. That is completely database’s fault. If its engine was designed properly for bigdata, it should have refused to do so on a table with gazillions of rows and suggested a proper way to do it.
Personally I love the esthetic and hope they never change it.
Yes, ICP-Brasil is responsible for that too.
I don't like the assumption of the author you must have observed these architectures in action. Nor does he think you can learn from a 4 year old architecture that was in place when you joined the company. Nor can you read books and papers published about companies' architectures.

He touches on this point only to reinforce that you can only learn by experience, which is at least partially incorrect, even if I agree its a fantastic teacher.

It's a nice bit in humility and a reminder of the length of time it takes to reveal major effects of architecture decisions but it paints a bit of a false hopelessness.
Right, but in those situations they succeed, kind of like "the cameraman never dies".
Sometimes numbers are the appropriate tool. Sometimes words are better than numbers.
> I disagree that SPAs are the only solution to some problems.

I disagree with that too. Did I ever say otherwise?

I do believe, however, that there are problems for which a SPA offers the best trade-off. Not the only solution, but the best trade-off.

> This is an orthodoxy which people buy into but there are always a few different approaches possible.

Like the orthodoxy that "nobody needs an SPA"?

> What do SPAs actually offer which is unique?

Interactivity. Good luck keeping your focus or scroll position while reloading a page. If done carefully, performance can also be on that list, though I agree it is often not done carefully.

> Just because you want to load code and data dynamically doesn’t mean you need to buy into SPAs

Agreed. Though you can load both code and data dynamically from a SPA, if you need.

Perhaps our definitions of a "SPA" differ? SPA is when you don't do reloads, hence "single page". But there are many ways to do that, some of them involving React.
I wonder why no terminal app implemented Z-axis scrollback like in Avalon, since they increasingly (e.g., Alacritty) boast GPU-based rendering it seems like it wouldn’t be such a resource hog but can look gorgeous.

And practical, too. It would make going through multi-screen lengthy program output much more palatable. Part of the problem here is scrolling by arbitrary offsets, of course (imagine being able to just say “it’s N screens back at this point”, where each screen is an unchangeable recognizable landmark), and once that anti-feature is gone pushing screens back on Z becomes the logical next step, allowing for more spatial reasoning.

— I use tmux, what’s the point?

— Add a button to push a screen back on demand, a way to bookmark screens, and it would elevate multiplexer & TUI experience just as well.
> From a security standpoint that's debatable.

still not incompetence if what they gain from it is bigger than what their customers lose, unfortunately.
That's my go-to! Maybe it was not super clear from my comment but I'm not using sea-query-orm but just the query builder, once the query is build you still have to feed it to sqlx (e.g [0]) :)

[0]: https://github.com/SeaQL/sea-query/blob/master/examples/sqlx...
Which also makes about as much sense to me as a height-focused publication.
> The Tyranny of Metrics

For people interested in this, I can recommend Tory Sutherland's book or interviews with him on YouTube. Tory is also consistently arguing that businesses and governments are too focused on metrics.
It has, because people are greedy and self centered and capitalism exploits this better. Nobody's gonna work harder and smarter if they know they'll get the same outcome as those who don't, as per socialism.

That's why Europe is falling behind the US at tech innovations. People aren't gonna put in the risk, the grind and the hours if they'll get the same living standards as a unionized tram driver.
> The point is consulting experts isn’t a fool-proof investing strategy. It will produce false negatives around paradigm-changing approaches while potentially bandwagonning on dead ends, e.g. amyloid plaques for Alzheimer’s.

The point is that Theranos' investors didn't consult experts at all. They really were tech investors bandwagonning on to an obvious dead end! The ones that did consult experts - like the biotech VCs - were smart enough to stay away.

Your experience with aerospace and some SpaceX critics is blinding you to the rather obvious Dunning-Kreuger effect going on here (FWLIW I worked on the MSL reentry shielding and Atlas payload fairing before transitioning to clinical trial design at Parexel).
What is the europe equivalent of double black diamond, ungroomed black?
Limes? person or ∂?

Good Q — this will take a bit of reflection. And I do think Quisats Haderach-wise incomparability (as in BNW?) has a good bit to do with it: as in "What Do People Do All Day", « à chacun son truc » is the order of the day. (and for psycopaths, playing the éminence grise* is the done thing — at least among my generation ... according to Android's autocomplete many, or at least some, people here are looking for influencers, but yet I never hear about them from my younger friends and acquaintances)

Lagniappe: https://en.wikipedia.org/wiki/Orson_Welles#:~:text=Roosevelt...

* some less grey, acknowledged as patron or schirmherr, but some can really only be spotted by either SIGINT or by Deep Throat-style forensic accounting.
And then allow aimbots for counterstrike, stockfish at chess tournaments and Epo on the tour de France.
The leader board is intended for people to compete against each other, one could make a separate leaderboard for LLM, kind of similar to the chess AI leaderboards.
The SPA version would unmanageable without the latest 4th generation JS build tools. Spend an afternoon reading the manual for the configs. Watch the output of 'pnpm list' break your terminal environment when you try piping it through 'less'.
> The problem is building a front-end UI with compositional components (essentially the only way to build anything substantial)

Server-rendered front end frameworks (like Rails) have units of composition as well (partials, helpers).

> with sane handling of state, and with acceptable performance for interactive use (which means not round-tripping to the server every time, sadly, otherwise I'd keep using Wicket)

What "state" one needs to handle is app dependent. Some do need client-side interactivity and some don't. Obviously, if you need it, you need it. Saying "almost everyone doing front-end work has that problem" is something you'd have a hard time proving. Historically, most things people have built on the web have had relatively low levels of interactivity. There are brochure sites (read-only) and there are forms-over-data (read, with data entry) that both lend themselves well to a server-rendered approach. There are even more interactive applications like hey.com (a full-on email client) that is server rendered.

My team maintains 30 or so Rails applications complete with collaborative two-way sync form entry and real-time (enough) commenting with server rendering and Rails. The first app we built used React. I can tell you with absolute certainty (because I've done it) that the React version is still more expensive to maintain, still the place that the devs prefer to work the least, still the most expensive to extend.

> Which is smart of them. That stuff is an overcomplicated waste of time. I mean, occasionally you need to debug some HTML, just as occasionally you need to read the disassembly of a binary, but most of the time there are more valuable things to learn.

Are you trolling? The things I listed are "over-complicated"? HTML is what React renders. You need to write something like it when you write your JSX. Sorry, you gotta know that. Server-side rendering is necessary if you want anything resembling reasonable time-to-interactive or SEO. Progressive enhancement is something every web developer has to at least be aware of when it comes to CSS.

And, "debug some HTML"?
This seems like a matter of signing a certificate signed by an actual CA with your own CA as well. If the relationship sours, you still have your own CA to vouch for it.
The design of generics in this one seems rather well balanced in simplicity vs power.

The part about interface-typed values [1] is interesting. They do dynamic dispatch as a fallback when the function is too polymorphic to be be specialized.

In Rust terms it's as if it picks between `dyn` and `impl` automatically. It looks convenient, but also a bit of a non-obvious performance pitfall.

[1] https://shader-slang.com/slang/user-guide/interfaces-generic...
It's kinda related to something I always try to drill into people about going outdoors in my country (NZ) "never descend something you can't ascend" and "never climb up something you can't climb down".

I know it sounds stupidly repetitive but both are true in related manners.

1) Downclimbing is far harder than climbing up.

2) If you made a mistake, you need to be able to turn back.

When it comes to descending, it's primarily when you have options other than downclimbing, like jumping into a small waterfall's plunge pool.

Are you jumping into the pool because it's fun, or easy? Or are you jumping down because you can't climb down.

If you can't climb down, then how do you know you can climb back up if you made a mistake?

Jumping into plunge pools in a canyon is a good way to get bluffed, that is, trapped by cliffs and waterfalls, you hit a waterfall too high to jump down, and you can't climb out of the gorge you're in.

But goes the same when ascending, it is easy to climb up something, harder to climb down it, what's your exit strategy if you made a mistake.

So yeah, anything that involves compressing my ribs and immobilising an arm feels like it's far too committed, no ctrl-Z on this.
A lot of people on this website are directly responsible for making botting and scamming easier to pull off. It's kind of necessary for them to find justifications for them so they can sleep soundly.
> What am I missing?

The chain of trust for all the certificates in your example is established by trusting the rogue CA root certificate. The CA (or a bad actor who misled the CA through real-world fraud) could be the “owner” of the key pair you’re trusting for the second signature.
Because competing against other people is the fun part for some people. Why not allow everyone to use stockfish at chess tournaments?
Will Slang support compute shaders too, or is it just for graphics.
Using it!
Not only that, Saxony-Anhalt filed a recent DMCA takedown notice against Wikimedia (https://en.wikipedia.org/wiki/Nebra_sky_disc):

> In 2023, the state of Saxony-Anhalt filed a DMCA take down notice requesting removal of nine images of the Nebra sky disc from Wikimedia Commons, asserting that they were the "owner of the exclusive copyright in the Sky Disk of Nebra". Wikimedia Deutschland, a chapter of the Wikimedia Foundation, subsequently filed a DMCA counter-notice stating that since the implementation of Article 14 of the Directive 2019/790 of the European Parliament, there can be no such copyrights on reproductions of visual works that are in the public domain.
React does have a bunch of legacy baggage holding it back, definitely from a performance angle. But I think a major part of the issue is just the fact that React _is_ so popular, with that comes the inevitability that the majority of people using it aren’t all that experienced. It’s relatively easy to build a React app that performs pretty well if you prioritise performance, though not as easy as something say Svelte or Solid, but getting performance to be prioritised and rewarded is the real battle —- as mentioned in the article itself.
Popularity is not an argument for merit. Diabetes and heart disease are popular. Taylor Swift is popular. It doesn't follow that I should desire these things.

If appeals to the status quo were reasonable arguments, there would be no room to improve on what is.

https://en.wikipedia.org/wiki/Argumentum_ad_populum
Images reveal how an orca pod hunts the world’s largest fish
Isn’t the standard just to set the unchanged column to itself?
I love AoC. I made a CLI client in python for me (and a lib for common tasks, especially the 2d grid maps).

Repo: https://github.com/ArcHound/advent_of_code
Writeup: https://blog.miloslavhomer.cz/p/advent-of-code-cli-client-an...

Good luck to y'all in 2024 and enjoy!
Yeah, you'd definitely want baby jumbo frames if you live in the UK. ISPs here almost universally use PPP.
LibreOfice is sh*t though. I swore never to use it again after it kept slowing my mac down to a crawl and every input action took about 5 seconds to register.

FreeOffice and MS Office don't have this problem.
Metrics are necessary, but never sufficient on their own.
What's not apparent is how does the Markovian framework account for the apparent long-range dependencies and global coherence we observe in LLM outputs, particularly in tasks requiring multi-step reasoning or maintaining context across many tokens? While the analysis elegantly explains local statistical patterns, it seems to conflict with transformer's ability to maintain attention across arbitrary distances... or am I missing something?
The Wikipedia entry includes notes on the hypothesized history of modifications to the disk. For example, the non-solar arcs were probably added later (different gold). So the original version had just the lunar crescent.
I'm not a big silent movie guy, but I'll add to the chorus of people recommending Metropolis. It's pretty interesting.

https://en.wikipedia.org/wiki/Metropolis_(1927_film)
That's RISC-V, no?
Also check out Rust GPU, which has similar features and uses Rust rather than a new language:

https://github.com/Rust-GPU/rust-gpu
Berlin - Die Sinfonie der Großstadt (Berlin - Symphony of Metropolis) is by far my favourite.
Renault E-Tech T semi truck gets 600 km range for '25, logs 19M miles