MurphyA/hacker-news huggingface dataset:
by lbhdc | 2025-07-19 22:45:55+00:00
I have all of my side projects in a big monorepo managed with bazel. Its got a little bit of everything in it.

All of my UIs are written in typescript, most using Angular but I am switching to a homegrown framework for smaller "finished" projects. I have been looking into adding a GTK desktop app, but haven't determined the language I want to use.

Web servers are predominantly go, but also have c++, java, and rust servers. Everything is grpc with my own frameworks smeared over that.

I put envoy in-front of all of my web servers, and use custom filters for shared functionality across all servers. Things like request telemetry, transcoding grpc to json, auth, and waf are all in this layer. Having it separated in the proxy layer avoids needing to reimplement these functions across the different servers.

For CLIs, virtually everything is in go, but I also have rust, zig, and bash.

ETL stuff is all go. I've looked into using apache beam, but my homegrown framework does what I need, so I haven't made the switch.

Deployments are all to knative. I have a k8s cluster that I run it in at home, and use the managed version on GCP (cloud run). Deploys are all handled by custom bazel rules.

Infra is all managed with terraform (managed by bazel).

I use a few different types of databases. Postgres (or cloudsql) for application relational db. For most things I can use a graph database, and use Firestore for that. Its much cheaper to run Firestore instead of cloudsql for small amounts of data. I am using biguqery for my data warehouse.

Model training is done in jax/tf, and inference is all done with tfserving.
by estebank | 2025-07-19 22:46:01+00:00
You're making it sound like the success of a language is determined purely by its advertising budget by pointing at languages that had financial backing, which disregards that financial backing allows for more resources to solve technical problems. Java and C# have excellent developer tools which wouldn't have existed in their current state without lots of money being thrown around, and the languages' adoption trajectory wouldn't have looked the way they did if their tooling hasn't been as good as it was. A new language with 3 people behind it can come up with great ideas and excellent execution, but if you can't get enough of the scaffolding built in order to gain development momentum and adoption, then it is very hard to become mainstream, and money can help with that.
by The_suffocated | 2025-07-19 22:46:17+00:00
> a centuries-old tax loophole, abolished in April, that catered to the global rich. The nondomiciled—or non-dom status, as it is known—allowed foreigners living in the U.K. to pay tax only on what they earned domestically. Profits made abroad were ignored unless brought into the U.K.

I don't understand. Why is this a loophole? Why is money earned abroad and kept abroad taxable not by a foreign government but by the UK government?
by amelius | 2025-07-19 22:46:33+00:00
> The Pro 9000 WX-Series processors are also designed for local AI deployments, including fine-tuning models, inference, and AI application development. “When running a context-based prompting inference test using DeepSeek R1 32B, we are seeing a 49 percent better performance of Threadripper Pro 9000 over Intel,” claims AMD.

Are they using the CPU as a GPU here?
by ofalkaed | 2025-07-19 22:46:35+00:00
EDO on fretted instruments goes back to at least the 16th century and was essentially the standard well before the mid 19th. Equal temperament is an EDO scale whose divisions approximate justly tuned scales. The western 12TET scale is not actually 12TET or 12EDO, we temper the scale itself and tweak some notes to make it work better unless you play fretted instruments and then it is up to the guitarist to make small adjustments in their playing technique so their untempered 12TET is in tune with the pianos tempered 12TET.

I admitted to making a mess in that post.
by mickgardner | 2025-07-19 22:47:10+00:00
Does London need the Global Rich hanging around if they’re not willing to pay taxes? Is it necessary to have the tax bring in 30 Billion in order for it to be considered a success? If nothing else, this tax demonstrates to those who DO pay tax, that the Government is willing to treat earners equally and fairly, regardless of how much tax it brings in.
by jongjong | 2025-07-19 22:47:11+00:00
Maybe it's the a genuine problem with AI that it can only hold one idea, one possible version of reality at any given time. Though I guess many humans have the same issue. I first heard of this idea from Peter Thiel when he described what he looks for in a founder. It seems increasingly relevant to our social structure that the people and systems who make important decisions are able to hold multiple conflicting ideas without ever fully accepting one or the other. Conflicting ideas create decision paralysis of varying degrees which is useful at times. It seems like an important feature to implement into AI.

It's interesting that LLMs produce each output token as probabilities but it appears that in order to generate the next token (which is itself expressed as a probability), it has to pick a specific word as the last token. It can't just build more probabilities on top of previous probabilities. It has to collapse the previous token probabilities as it goes?
by leptons | 2025-07-19 22:47:30+00:00
>"The popularization of the name is often credited to Don Hoefler, the first journalist to use the term in a news story.[1] His article "Silicon Valley U.S.A." was published in the January 11, 1971"

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

"Silicon Valley" describes the period between the late 1960s and mid/late 1990s (and still to this day to some extent). It has nothing to do with what went on there around World War II. Yes, semiconductor corporations created "Silicon Valley".

Before that time it may have been a sort of "Vacuum Tube Valley", but that does not have the same ring to it. And around WW2 there was tech going on everywhere, not just around Mountain View.
Show HN: I built a video meet app integrated with AI voice and avatar agents
by imightbekyle | 2025-07-19 22:47:32+00:00
Video meeting app for voice ai developers to demo their voice agents to clients.

I used LiveKit's open source meet app and customized it to bring your own ai voice agents and ai avatars into the video meeting room. Perfect for showing your agents to clients, working out issues, and experiencing conversations in "person" in real time.

Uses NextJS and has a couple of backend agent examples in the agents directory, one for voice and one for avatar.

Demo video in README

Let me know if you have any questions

See ya!
by blobbers | 2025-07-19 22:48:33+00:00
This is fascinating! I’ve never played a YC seriously, but I have played several Yamahas and currently play on a Kawai and Baldwin. I’ve often wondered if the Baldwin or Yamaha is laid out slightly differently than the Kawai because I feel like playing broken 4 note chords the fingering can feel off on one piano vs another. It’s a slight stretch but the 4-5 on the second 4 note chord can be uncomfortable on the Kawai and comfortable on the Yamaha. I never play them in the same room, one is at my teachers and one at home.

Very interesting! Is there a spec for this? Or a layout description? Surely something as precise as piano would note this.
by benwilson-512 | 2025-07-19 22:48:41+00:00
We have been doing exactly this at CargoSense! We have gotten very far on just Postgres but as our BI and other analytics queries have gotten more complex and our scale of “business tables” grown 20x over the last 18 months it just wasn’t cutting it anymore.

The CDC to Clickhouse flow has been very fast and reliable, and then for us at least setting up some incremental materialized views that set up what we need for reporting has been perfect. Clickhouse’s storage efficiency has been mind boggling.
by forrestthewoods | 2025-07-19 22:48:52+00:00
Everytime I try to use bumpalo I get frustrated, give up, and fallback to RAII allocation bullshit.

My last attempt is I had a text file with a custom DSL. Pretend it’s JSON. I was parsing this into a collection of nodes. I wanted to dump the file into an arena. And then have all the nodes have &str living in and tied to the arena. I wanted zero unnecessary copies. This is trivially safe code.

I’m sure it’s possible. But it required an ungodly amount of ugly lifetime 'a lifetime markers and I eventually hit a wall where I simply could not get it to compile. It’s been awhile so I forget the details.

I love Rust. But you really really have to embrace the RAII or your life is hell.
by ChadNauseam | 2025-07-19 22:49:17+00:00
> [The pain of the borrow checker is felt] when your existing project requires a small modification to ownership structure, and the borrowchecker then refuses to compile your code. Then, once you pull at the tiny loose fiber in your code's fabric, you find you have to unspool half your code before the borrowchecker is satisfied.

Probably I just haven't been writing very "advanced" rust programs in the sense of doing complicated things that require advanced usages of lifetimes and references. But having written rust professionally for 3 years now, I haven't encountered this once. Just putting this out there as another data point.

Of course, partial borrows would make things nicer. So would polonius (which I believe is supposed to resolve the "famous" issue the post mentions, and maybe allow self-referential structs a long way down the road). But it's very rare that I encounter a situation where I actually need these. (example: a much more common need for me is more powerful consteval.)

Before writing Rust professionally, I wrote OCaml professionally. To people who wish for "rust, but with a garbage collector", I suggest you use OCaml! The languages are extremely similar.
by saadatq | 2025-07-19 22:51:46+00:00
this isn’t vibe coding. This is something completely new. I call it “flex coding.”

heck I built a full app in an afternoon AND I was a good dad?

> I'd wander into my office, check what Claude had built, test it real quick. If it worked, great! Commit and push. "Now build the server connection UI," I'd say, and wander back out.

Made breakfast. Claude coded.

Played with my son. Claude coded.

Watched some TV. Claude coded.

Every hour or so, I'd pop back in. Five minutes of testing. One minute of feedback.
by spwa4 | 2025-07-19 22:52:11+00:00
I wonder what people actually think of this result. "tax-the-rich" makes very limited sense unless applied internationally. Many of the super rich are super rich because they have serious influence over, or outright control of foreign states (US rich are a large exception worldwide). Nobody in the US is even 1% as rich as Putin, or Xi, or frankly even just as rich as the grand duke of Luxembourg is.

You cannot tax these people directly, because they'll leave.

You cannot have international cooperation on tax treaties because these people control states.

In other words: you can only tax them either through war, or by totally blowing up trade relationships.
by fortran77 | 2025-07-19 22:52:12+00:00
I see in Yelp reviews from other hotels that this is a very common problem now.

https://www.tripadvisor.com/ShowUserReviews-g60763-d93520-r9...

Look at this review from the "Park Central" in NY. The Management responded that the person agreed to this policy so it's tough luck:

> Thank you for sharing your feedback. It's concerning to hear about the experience you described. Park Central Hotel New York is dedicated to maintaining a smoke-free environment for all our guests. As per our website, smoking tobacco, pipes, vapes, e-cigarettes and marijuana are strictly prohibited within the hotel. NoiseAware is a smart device that allows hotel management to respond to smoking events without disrupting your stay. You hereby agree and consent to the use of such sensor in your room and acknowledge and agree that it is 100% privacy compliant and required by the hotel. By acknowledging the foregoing, you agree to waive any future claims related to the presence of the sensor in a room you may book. Tampering with the sensor is strictly prohibited. A non-refundable $500 smoking fee will apply should a smoking event occur inside the hotel guestroom. We regret that this policy did not meet your expectations. The consistency in handling such situations is important to us, and your experience will be reviewed to improve our protocols.
by bashtoni | 2025-07-19 22:52:15+00:00
The British government closed this loophole because it's politically easier than the strategy which is actually needed: properly taxing assets.

This is much harder to evade - if you own most of Mayfair, you can't just move your assets elsewhere - they are very clearly tied to the location.

Of course, this would mean taxing powerful aristocrats, including the royal family. With their large majority, the British government had the opportunity to do this, but decided to take an easier path. The reason why this path was easier is now becoming clear to them.
by Jtsummers | 2025-07-19 22:53:00+00:00
If I understand raku correctly, the Python example would be more like this:

say "False".Bool

or:

say "False".so

Both of which display True.

Leaving out the quotes means you're testing something else entirely.

Note that the Python example is converting (via `bool`) a string with the text "false" (which would make more sense as "False" which is the actual name of `False` in Python) into a boolean value. It's consistent with how Python behaves, in that the empty string (like in Raku from what I can tell) is false-y and non-empty strings are truth-y. It would be weird to have this use the else branch:

if bool("False"): ... else: ...

But not this:

if "False": ... else: ...
by gamblor956 | 2025-07-19 22:53:05+00:00
Is there that much smoking in hotels?

Surprisingly, yes. Smoking experienced a significant uptick during COVID.

Post-COVID, a lot of the housekeeping staff wear masks when cleaning guest rooms, so they're not always able to notice the smells that a guest would notice upon first entering the room.

I've had to get 3 out of my last 10 hotel rooms changed because the previous occupant smoked. On my last business trip, this resulted in an upgrade to a suite because they had no more regular rooms available.
by librasteve | 2025-07-19 22:54:11+00:00
great to see yet another H-stack

so far I got HARM (Rust), HARC (Raku) and now HAM (F#) along with Fast HTML / htpy (Python) and GOTHH (Go)

seriously, it is very good news that HTMX has uncoupled web development from the server side language choice

now there is a blossoming of many server side stacks to fill this new opportunity

I wrote https://harcstack.org because Raku is the natural successor to perl and PHP for web development due to its facility with text processing and multi-paradigm chops
by dietr1ch | 2025-07-19 22:54:12+00:00
> I do think we here in the US passed some kind of inflection point where the damage done by H1B labor finally killed the tech career path in the sense that all of a sudden, entry level jobs simply vanished, never to return. I'm sure that H1Bs reached some critical mass that triggered that extinction event. > > The job market in tech in the US has been absolutely brutal since at least 2023.

Why do you think H1-Bs are to blame over AI hype coupled with Section 174 tax changes[^1]? H1-Bs have been around for a long time, so I doubt it's the culprit for layoffs and lower hiring since 2023.

^1: https://news.ycombinator.com/item?id=44226145
by jMyles | 2025-07-19 22:54:20+00:00
It's unlikely that the general speed of spread of a pathogen will cause an increase in adverse outcomes from that pathogen. It's equally possible (though woefully underexamined) that the hastened immunity stemming from more rapid spread will cause a decrease in adverse outcomes.

What causes an increase in adverse outcomes, at least for fast-moving pandemics such as respiratory pandemics, is spread between risk tiers. For example, in the case of a pathogen with a significant age-dependent morbidity/mortality rate, one of the most dire threats is spread within multigenerational households.

Providing resources, opportunities, and guidance to facilitate spread within the low-risk tier while briefly isolating that cohort from the high-risk tier is likely to produce better outcomes.

Stated more tersely: the human proclivity to travel and share immune information with peers is a strength, not a weakness.
by zipy124 | 2025-07-19 22:54:23+00:00
The number of non-doms fell from 74,100 to 73,700 in the year up to April 2024, whilst tax intake from them increased by £100m. I do not consider 400 out of 74,100 as them fleeing....

[1]: Non-dom tax take jumped £100mn in 2023-24 despite falling numbers - https://on.ft.com/3Gx1MXU via @FT
by lightbulbish | 2025-07-19 22:55:04+00:00
_all_ models I’ve tried continuously, and still, have problems ignoring rules. I’m actually quite shocked someone would write this if you have experience in the area, as it so clearly contrasts with my own experience.

Despite explicit instructions in all sorts of rules and .md’s, the models still make changes where they should not. When caught they innocently say ”you’re right I shouldn’t have done that as it directly goes against your rule of <x>”.

Just to be clear, are you suggesting that currently, with your existing setup, the AI’s always follow your instructions in your rules and prompts? If so, I want your rules please. If not, I don’t understand why you would diss a solution which aims to hardcode away some of the llm prompt interpretation problems that exist
by pentamassiv | 2025-07-19 22:55:13+00:00
Right, I agree. I think it is just lazy from the manufacturers to not wire the shift levers to the derailleurs. It should have a similar weight because you need additional cables but can get rid of the batteries within the shifters. Your main battery will last about 50% longer too. The only downside is the added work to wire them when assembling the bike. After that you can pretty much forget about the wires though.

Once I had the proper tool, I wired mine. They are all internal so I don't think I'll need to replace during the lifetime of the bike.
by quesera | 2025-07-19 22:55:36+00:00
TacticalCoder's comments appear to be auto-deaded for the last week or so.

I did not see a likely reason in a quick review of their comment history.

You can view a comment directly by following the "... ago" link, and from there you can use the "vouch" link to revive the comment. I vouched for a few of TacticalCoder's recent comments.
by toomuchtodo | 2025-07-19 22:55:39+00:00
The other side of the coin is that inheritance is allowed at all. We could tax at 100% above a certain threshold, wealth only exists because it is permitted through the recognition of property rights. 40% is arguably more than reasonable when you’re desiring to transfer generational power the beneficiary did not earn, but simply was lucky to be in the right lineage. It is a lottery ticket.
by bell-cot | 2025-07-19 22:56:32+00:00
> The most vivid symbol of Scottish ferry dysfunction is the Glen Rosa, moored on the River Clyde outside Glasgow. It is still under construction seven years after its original completion date at triple the original price tag for this and one other vessel.

Here's that MV Glen Rosa - https://en.wikipedia.org/wiki/MV_Glen_Rosa She's less than 1,300 tons (DWT), and construction started >9 years ago. Note Wikipedia's cost numbers - "£380 million as of June 2024, and £45 million loan written off."

Vs. a century or so ago, Britain could build one of these babies, in 3 years, for a mere £180 million (in 2023 money) - https://en.wikipedia.org/wiki/Titanic

It'd be nice to pretend that Britain has a future, but ...
by vitonsky | 2025-07-19 22:56:58+00:00
Matrix community scam everyone when claim a matrix is a privacy-focused. And you are part of this community who deceive people. The fact that anything is open source is not make it "privacy focused".

Literally everything in Matrix is designed against privacy and security. Check issue I mention above. The product that is "privacy focused" would never have such type of problems that will force developers to say that lack of encryption for chats is a minor problem that will not be fixed.
by gettingoverit | 2025-07-19 22:57:30+00:00
That said, I missed the slight semantic difference between "being funded by" and "owning", even though I don't see how that would be different in practice.

Regarding the second point, I don't see how "hav[ing] a verbal agreement that these materials will not be used in model training" would actually discourage someone from not doing it, because breaking that kind of verbal agreement wouldn't cause any harm.

I have not been aware of those other claims on Twitter, but IMO they do not create sufficient basis for an investor fraud case either, because Twitter is not an official way of communcating to investors, which means they can claim whatever they want there. IANAL though.

I'm really looking for FrontierMath-level problems to be solvable by OpenAI models, and being able to validate it myself, yet I don't have much hope it will happen during my lifetime.
by GuB-42 | 2025-07-19 22:58:05+00:00
Kiwix (what the author used) uses "zim" files, which are compressed. I don't know where the difference come from, but Kiwix is a website image, which may include some things the raw Wikipedia dump doesn't.

And 57 GB to 25 GB would be pretty bad compression. You can expect a compression ratio of at least 3 on natural English text.
by Nition | 2025-07-19 22:58:17+00:00
Interesting, my piano is a Yamaha (specifically a 1980 Yamaha YUA, basically a U3), and it does follow the model (same width everywhere).

Photo: https://i.imgur.com/ulsLUoG.jpeg

I also have a MIDI keyboard (M-Audio Hammer 88) which follows the same model.

I'd like to see a photo of someone's piano that uses a different system, really I thought they were always this way. It's a good system because it lets the black keys be spaced a little further apart, while also reducing the jump between black key clusters.
by librasteve | 2025-07-19 22:58:24+00:00
https://harcstack.org does components like this https://rakujourney.wordpress.com/2025/07/06/harc-stack-comp...

class Counter does Component { has Int $.count = 0; method increment is controller { $!count++; self } method HTML { input :id("counter-$.id"), :name("counter"), :value($!count) } }
by dismalaf | 2025-07-19 22:59:34+00:00
Ummm Lua? It's a nice little scripting language, but literally never seen a job ad for a job using mostly Lua. It's almost the definition of hobby language...

OCaml runs software that billions use, is used by financial and defense firms, plus Facebook.

But Lua? By that metric I'm throwing in every language I've ever seen a job for...

R, Haskell, Odin, Lisp, etc...

Edit - this site is basically a meme at this point. Roblox is industrial strength but Facebook, Dassault and trading firms are "hobby". Lol.

Also, I'm not dissing Lua, there's just irony in calling Lua industrial but not OCaml...
by deanmoriarty | 2025-07-19 23:00:29+00:00
A TurboTax-quality tax filing service for American expats with American investments who live abroad (particularly interested in a few European countries) and have to file in their country of residence and declare the income from such investments. I would pay $1-2k a year for a service like that, as I prefer to do things myself than relying on a CPA who will inevitably mess things up.
by gunnarmorling | 2025-07-19 23:00:44+00:00
GC also has its downsides:

- Marking and sweeping cause latency spikes which may be unacceptable if your program must have millisecond responsiveness.

- GC happens intermittently, which means garbage accumulates until each collection, and so your program is overall less memory efficient.

With modern concurrent collectors like Java's ZGC, that's not the case any longer. They show sub-millisecond pause times and run concurrently. The trade-off is a higher CPU utilization and thus reduced overall throughput, which if and when it is a problem can oftentimes be mitigated by scaling out to more compute nodes.