skysight-inc/HackerNews huggingface dataset:
>>>> open source still has economic value similar to very visible pieces of infrastructure like national highways, railways, or the electrical grid. Also, unlike all those other forms of infrastructure, it has achieved this despite receiving very few direct subsidies from national governments.
Earlier submissions:

https://news.ycombinator.com/item?id=39138755 (130 comments)

https://news.ycombinator.com/item?id=39151000 (12 comments)
Each time I'm reading about what you wrote I'm thinking about Star Trek's teleportation 'dilemma' - whether the transporter is a killing machine or not
TIL Trader Joe's has a website with prices.

(I shop their stores, but I don't use their website at all.)
> More attacks like that are appearing.

I don't think so. Generally as software becomes more secure the hacks you hear about will become more sophisticated to match, but this does not mean that they are more prevalent.
The mentioned rewrite is about the CLI though. The player is fine where it is (Solid.js + Rust/WASM).
I've tried several times to code on Windows. It's nearly impossible for a person used to Unix based systems. Seems it's getting slightly better. Nice.
Pick what you know if you're going to build for a business. Me? Rails, Django and Postgres on AWS. Nowdays, Django on Lambda.

If you're building for fun, whatever you want!
solid and tauri for apps, astro for content sites (with a headless cms if it’s big)
I built myself a hacky alternative to the chat UI from openAI and implemented ollama to test different models locally. Also, openAI chat sucks, the API doesn't seem to suck as much. Chat is just useless for coding at this point.

/e: https://github.com/ChristianSch/theta
Yeah strong typing is essential. Redux is overkill for small or even medium apps but it's the best tool I've found for dealing with the complexity of larger apps. Having a very clear, inspectable sequence of mutations to all your data becomes very valuable.
How does ollama compare to H2o? We dabbled a bit with H2o and it looks very promising

https://gpt.h2o.ai/
It's a weird an uninformative illustration.
No. This would require a significant change to the semantics of C.
It's self-evident. I'm not talking about some shady conspiracy. Google has been keeping Firefox alive. Thus the incentives for Mozilla have been aligned with Google, which has an interest to plaster everything with ads, thus commercialize everything. Mozilla had to hide this obvious incentive and pretend it was on the side of the user, thus it became a wolf in sheeps clothing.

Mozilla started to implement some nice privacy-preserving features, all the while knowing that including a google search with search suggestions as you type means that literally everything people type into the address bar gets send to google, making privacy impossible.

The almost endless money flow from google, independent from performance, led to a strange company culture where nothing mattered anymore except having a good time with co-workers. Without the correct (monetary) incentives, there is no pressure to innovate.
> I somewhat disagree that the approach is ill-suited to simple sites, server-side JSX is a strong step in the right direction.

Wow that sentence made me want to throw my laptop.

I want you to build me a site that can be cached (think basic product shopping cart page) and then do the JS/hydration magic after the user has seen the render. Go ahead, and take your time, it's not a fun exercise in react.

As for JSX on the server side... It was a shitty idea to mix presentation and code when PHP did it and got laughed at, JS/JSX isnt special. Templating languages are LIMITED for a reason. You know code/content/presentation all being separated is a good reason to do that...
On this very website I see people having heated debates about whether curly braces or indentation are insane or brain damaged, and that's just a "nerd" rant and that's ok.

But suddenly, when the debate is whether it's being so paranoid about disgruntled employees nuking prod or stealing IP during layoffs instead of handling a transition gracefully, that's suddenly enters the domain of nationalism and it's no longer the "right" kind of rant to have?

Yeah sometimes people will use unnecessary direct language, which btw is also a cultural thing (see "Culture Map - Breaking Through the Invisible Boundaries of Global Business" by Erin Meyer), but I don't think you should perceive this as an attack on you personally.

This is not just a US site, and even if it was, it's still useful to learn about how stuff works elsewhere in the world. Curious people want to learn and that's why many come here.
It stays forever if pirated for the sake of preservation.
True, but you can use languages that avoid whole classes of bug!

I guess my only point is that CHERI may protect you from the worst abuse of those bugs, but it still doesn't mean you shouldn't use something that doesn't suffer from them in the first place!
So, like Zig then?
Rust and vuejs
Sst.dev and remix.run are a pleasure to work with
Why do we focus on trivial things?
Landing page and a business website can most likely be static, so AWS S3, Cloudfront, ACM, maybe a little lambda if necessary.

Services I tend to start with Flask, Celery, redis and build from there.
> if you're able to build such tools without IT or similar getting "threatened" by it, then you might be somewhere that actually enjoys creating interesting and useful stuff. Treasure such places. They don't tend to last.

Advice I wish I'd been given before graduating, second only to "get everything in writing".
Flipper Zero can't unlock cars or anything else with even slightly OK security, but it sure can help detect idiot politicians.
> We're talking hundreds of static sites where he took the all the design docs and static HTML/CSS/JS files one would need to recreate them somewhere else.

You make it sound like he poached your clients or extorted your company. As they didn't go after him legally, I assume that didn't happen.

I assume all the files are on a thumb drive in his drawer, unopened, just in case he wants to remember how "that cool animation" was implemented. And when that moment comes, he will not find the thumb drive, anyway.

And all that security charade will accomplish is that people who care enough about their work, will make a copy the day before they quit. Congratulations, your policy achieved nothing, except get rid of their two weeks notice and everyone feel a bit worse working for you.
You pay a premium for GDDR or HBM because they're actually faster. LPDDR5 isn't, Apple just used the equivalent of a larger number of memory channels to increase the memory bandwidth (x86 servers do the same thing) and then charges a premium for the ordinary memory chips because they can get away with it.

Moreover, there is an obvious way to solve this without soldering the fast memory to the system board -- you solder it to the CPU. This is not only lower latency (traces don't have to go through the system board at all) and lower cost (don't need extra pins between the CPU and the system board), it allows you to upgrade the memory by upgrading the CPU. And isn't incompatible with still having dedicated slots on the system board to add additional memory with less memory bandwidth. Which is typically what you want anyway because if you're going to solder something to the processor, you're better off to actually use HBM or GDDR (which is even faster), but then you don't want all of the system memory to be that because it costs more, many applications don't need it and cache hierarchies are a thing for a reason.
Bemi: Automatic data change tracking for PostgreSQL
Reminds me of my favorite parables - When Alexander meet the sage

‘What is your purpose in life?’

‘I am Alexander and I am out to master the earth.’

‘What do you plan to do after that?’ asked the sadhu probingly.

‘I shall take all the wealth, horses and elephants from the conquered lands to Greece’.

‘Presuming you accomplish your goal, Emperor, what next?’

‘I shall take all the men from these wretched countries as my slaves and all the women to regale us in Greece’.

‘What a motivation! All the men as slaves and women as entertainers!’ commented the sadhu wryly.

Not stopping, he asked him further: ‘Assuming you accomplish even that, what will you do next?’

Contrary to his extrovert and energetic nature, Alexander was quiet for some time. Finally, he stated, with an exhalation: ‘After that, undoubtedly I will sit on my throne and relax’.

‘That’s what I am doing,’ said the ‘unusual Indian sadhu’ with a content smile.

Source: https://www.esamskriti.com/e/History/Indian-History/Alexande...
Absolutely. I don't know how these people can think like that (including netflix). I was so happy just to pay for something so I don't have to have the horrible UX of piracy. But they fucked it up so bad, removing movies I wanted to watch, pushing ads etc. that I'm back to a seed box. Weird stuff.
How do you suggest we display that data in a web page?
I dont know what your deal is. You state things that are undeniably not true (ISA not an option), then call me a liar when faced with evidence to the opposite.

> In democracy you sure have rights for such comparing

the what now? This isnt going anywhere productive :)
I agree. Can pretty much generalize to Windows and not just Windows devex at this point. The OS is like a parody of itself.
>>> Further, 96% of the demand-side value is created by only 5% of OSS developers.

who are maybe 5% of all developers?

Ultimately, then, why is it so hard for devs working on say OpenSSH to get paid?
Waqi: REPL-driven data visualizations with Clojure and Vega/Vega-Lite
So it's just some black hat SEO to seem more relevant to Linux users?
It's a pretty awful regression to the complete elimination of the systems. I remember my first flight to Japan as a teenager on ANA and finding out that they not only had movie channels in the seat but you could actually play SNES games. I got to watch movies I hadn't even heard of as well. The games have been eliminated and you're now stuck playing terrible candy crush clones if your family can't afford a switch.

I've seen domestic flights have already started removing in flight tvs and telling you to make sure you download the app before the flight takes off. Seems pretty awful that families are now expected to provide a screen for every person or they're out of luck
don't hooks break the whole concept of one way data binding?
The problem here is, at least on iOS, webkit on iOS doesn't support fullscreen API unfortunatelly. Once Apple fixes this it should just work (tm). Not sure about Android though (if it doesn't work for you on Android then let me know).
Building on top components (un)mounting makes your components impure (it called useEffect for a reason). Suddenly you can't trust what you see because THAT might be the edge case. Unit tests don't work either.
Which headless CMS do you recommend?
It’s true that a lot of simple apps could just be written using direct DOM manipulation, but you basically write yourself into a corner. There’s no gradual transition from that to any framework, you just have to rewrite your app

Might as well just start with the least common denominator that everyone knows and is easily hired for
Explore the Magic Behind Google Chrome
Make the superior product and be the authority. You can stop working on it or you can add superior capabilities they cannot. If this product is something both you and your users are really passionate about there will be a feedback loop. Let that feedback loop determine how to drive the product forward. When that feedback loop winds down it might be time to move on.
Actually it's worse than that...

Funimation AQUIRED crunchyroll. Then changed their name. So technically it's still funimation under sony.
Full stack ClojureScript on Sitefox with either Sqlite or Postgres, deployed to a VPS with Piku.
Maybe you’re the only one that saw race in this picture
Mithril and xstate if it’s needed. Backend plain Go or Bun.

I don’t know why more people don’t use mithril
It isn't a "callow dismissal". I'm talking about science.org/news, just like you. It's written by career journalists [1]. It's fine for toilet reading.

And as far as credentialism goes...I don't care if McNutt is the Nobel-winning reincarnation of Carl Sagan. She's literally saying that her go-to for reviewing any new paper submitted to Science is to look at the work of journalists, to see if the article is noteworthy enough to continue. That's just wrong, if for no other reason than Science journalists don't cover stuff that isn't in a top journal (which is typically...Science!)

I didn't misquote her, and I'm not misinterpreting the meaning of her words. It's quite plain. All of the other responses were variations on...actually reading the paper. Hers is about using proxies to read the paper for her.

[1] Here are the bios of the writers for science.org/news:

https://www.science.org/content/author/eric-hand

I grant that a few have technical backgrounds or undergrad degrees, but all have subsequently become professional writers, or "science communicators".
I totally depends on your work. A coffee shop is probably a pretty good work environment for a barista but there are certainly better work environments for most developers.
> No American has to fear Adriaan Koerbagh’s fate

this is utter foolishness

eugene v. debs

emma goldman

margaret sanger

junius scales

martin luther king, jr.

fred hampton

benjamin chavis

geronimo ji-jaga pratt

mumia abu-jamal

aaron swartz

julian assange

gurpatwant singh pannun

when we rightly celebrate the progress that liberalism has made in places like the united states, we must remember that preserving that progress requires continued vigilance. rather than publishing such self-congratulatory nonsense, we must recognize how much progress still remains to be made
There was an interesting presentation at USENIX a while back:

https://www.usenix.org/system/files/conference/usenixsecurit...
PHP and Symfony for the backend, Bootstrap for the frontend. Very classic. DB is MariaDB and Cassandra.

We also have many internal tools in R/Shiny.
I also had a F750GS for a year or so. It was my first bike (at age 41). It was a wonderful motorcycle, considering my lack of experience on other motorcycles.

Lightweight, not too tall (as I am relatively short at 5'7"). Capable with good performance, but not too fast.
How to React in 2024
Gemini can't show me the fastest way to copy memory in C# because it's unethical
Next.js + PostgreSQL.

I also use Nim for when I need high-performance code, which can be utilized as a Node.js add-on using Denim.
To be fair that would still make windows instantly so much better if you could actually run a less weird desktop environment AND run all the vendor locked software.
Do you guys feel sad when your colleague leaves the company?
I'm sorry you had a bad experience, but most people get laid off Friday morning (it's the most common time).

> Anyway, welcome to the corporate world.

I've been in the corporate world for 27 years, and been through many layoffs (usually as a survivor, sometimes as a victim). The ones during WFH have all been worse.
> The scenario you describe here would be very painful

On the contrary, it couldn't be easier. Visual Studio comes with a Windows XP platform toolset[1] that is a one-click install.

Compare, on the other hand, how ridiculously hard it is to develop targeting older glibc on a newer glibc host. There's no way around it except to use a Docker container (which IMO is equivalent to using a sledgehammer on a tiny nail).

[1]: https://learn.microsoft.com/en-us/cpp/build/configuring-prog...
I'm confused. Is it your claim that the brown woman throwing the brown baby like a basketball is white?
The way this was communicated to me in the past was "don't say/write anything using company resources that you don't want to see on the front of <insert major news publisher>". All communications on employer-operated platforms are subject to discovery.

Senior leaders tend to skirt this by using the telephone or video calls predominantly. However the infiltration of machine learning and AI means transcripts of calls, etc are now possible too.

In addition, the growing use of "disappearing" messages despite litigation holds has come up in more legal cases recently.
That's one of the worst interview questions I have ever heard.
Sorbet usage: two key insights
I would argue that existing setup which abdicates power of congress to courts and agencies is only making things worse. It keeps things running, somewhat, but only by applying bandaids that can be removed just as easily with new set of judges or new administration.

It's something that US political system allowed to fester for decades, arguably since 70s.

Take the entire situation around abortions. Supreme Court determined that there is a right, based in protection of privacy, that prohibits states from banning abortion before certain date. Congress didn't have to make a law about it, or even add amendment to constitution. So they didn't have to explain anything to their constituents. "It's the court! I can't do anything!" everybody was happy.

Except not. People who opposed it, saw it as undemocratic. Taking controversial issue out of the hands of representatives forever. So they pushed against it, and attempted to circumvent the ruling. Mostly they failed. But they never gave up, and their movement never died down. In fact it only became more and more powerful.
And when they finally had favorable judges on the court they finally had their way.

Angering their opponents, who were now using similar "this isn't democratic" arguments. In the end, nobody really won. The only certain result is that people on both sides of political spectrum now have reasons to distrust Supreme Court.

Compare that to the situation in Europe. Lawmakers took their time, but eventually they arrived at set of laws that most of society agrees with, or at very least is able to tolerate.

TLDR: The existing system led to the congress being incapable of making laws. If america is to survive, courts can't keep saving congress from controversial laws.
In company Slack?

Private != personal. At least I never ever imagined one could even assume DMs on work IM are personal private conversations. They're organizationally grouped as chat between to accounts, as opposed to group chat, but they're at work, for work, using work-provided tools...

Or put another way: why would anyone consider work Slack to be different in this regard than company e-mail? Much like with e-mails, the difference between DMs and group chats is whether the number of participants is > 2.
I am also a bit surprised they chose a bechmark that includes network latency as well.
Also the 1.5s NodeJS cold-start seems quite high and is not what I would expect at all. Especially when looking at https://maxday.github.io/lambda-perf/

The SDKs are "bundled" in all lambda runtimes but normally not into the binary, what additional performance would that bring?
Elixir, Phoenix LiveView, Postgres, TailwindCSS
Where I used to work we allowed duplicate email addresses in the user table for legacy reasons, but we did not want any new entered in the db, so we ran a "select distinct email from users where email = ?" query before creation of new users. I don't think we had more than a 100 rows with the same email though. Most of the duplicates were test users which could have been removed, but I digress.
Technically you don’t have to pay for a monthly sub for Spotify either ;-)

Also, it’s not a raw deal. In 1995 a single CD cost about $30 in today’s money (look up old Best Buy ads and you’ll find $16-18 CDs). Buying a Spotify subscription is equivalent cost to buying only 4 albums per year in 1995. It would be very easy to listen to more new music than that every year.

If you want proof, look at revenue charts for the music industry. Streaming music still hasn’t reached the previous level of revenue generated in the pre-Internet era when you adjust for inflation, despite the global population increasing significantly since then.
Rent seems appropriate.
It’s actually a fine language and these sorts of edgelord comments are the most annoying part of HN
If this were a photo, would you expect the infant launched high in the air like a basketball to survive?
Old windows software often runs better or only with Wine instead of recent windows versions. So if they want to keep their 'compatibility' long term, they have no choice but to to include (or worse, fork) wine.
Maybe the new `asciinema convert demo.cast demo.txt` command (in 3.0, develop branch) would be useful to you? It converts the session to plain text using avt (which is now embedded in the CLI).

You could grep like this:

asciinema convert demo.cast /dev/stdout -f txt | grep foo
I bought my first Spectrum (a Spectrum+) in 1985. It was a great machine for its time and cost. I learnt to code using the manual that came with it and can probably thank it for my career as a software developer.

I still have fond memories of that computer, the games I played on it and the time I spent hacking about on it, but it had some serious capability limitations compared to its competitors, most notably the Commodore 64, and I spent several years longingly looking at the C64 screenshots of games in Crash magazine, wishing I had gone down that route instead. Check out Paperboy on Spectrum versus C64 for example, where the Spectrum version is practically monochrome in a window that's approximately half the screen size.
Saas with a bit of data engineering mixed in: Mongo elastic react (nextjs) gql python spark LLM
Laravel backend

React frontend
I suspect they want better condition handling. Because JavaScript lacks a useful conditional expression beyond ternary expressions, condition handling in JSX generally uses boolean operators or ternary expressions. Suppose the conditional logic is in any way complex. In that case, your choice is to use nested ternary expressions, which can be hard to read or to somehow break the condition out of the JSX using a helper function or separate component so you can use if statements in a regular function context. SolidJS added conditional helpers to its JSX flavour to address this issue[1]. The React team seems ideologically opposed to the idea as it presumably moves JSX away from using only JavaScript for handling logic.

[1]https://www.solidjs.com/docs/latest/api#show
When it comes digital media if you don’t have it sitting on a hard disk in your physical possession free from DRM you don’t actually own it.
> The effective tools, on the other hand, tend to have "false" positives as well.

That’s true for rust, too, with the difference being that rust won’t compile false positives. I haven’t used rust or recent C++ much, but it wouldn’t surprise me if the false positives that C++ gives had significant overlap with cases where the equivalent rust code would not compile.
Django: function based views.

UI: Django templates, htmx, tailwind, vanilla js or hypersceript, no build, no node, no npm. Avoiding writing js as much as possible.

Background workers: RQ with 3 priority queues

Deployment: Kamal one command deployment with underlying docker

Hosting: Linode server with backups

Storage: Mounted volume on the machine (maybe s3 eventually).

Benefits:

* High speed of iteration

* No boilerplate mess

* No build therefore no dealing with dependencies and npm rabbithole

* Fast deployment with Kamal (a bit of learning curve but once up just works)

* Much cheaper compared to PaaS. At least 50%.

* Multiple websites on the same instance

Of course I know django quite well so the goal is to remove as much friction as possible.
This is just a narcissist making a histrionic show over basic adult self control. I'm astounded the Guardian has such low standards.
I believe it also covers transferring euros from a non-euro account (where the bank implicitly processes the FX). But yes, I suppose that isn't really cross-currency.
I like having a huge mountain at hand on the horizon when I’m looking around. It is hard to find in most populations
didn't runas exist for ages?