MurphyA/hacker-news huggingface dataset:
by matwood | 2025-04-05 10:35:08+00:00
> which part of the above is wrong?

Rust Belt isn't the entire US economy. Blaming where the US is today on globalization is probably 30 years too late.

The US economy has created enormous wealth. Domestic policies on how to spread around the prosperity to all citizens is where the US failed. Think more of what Sanders and AOC talk about, not bringing back factories that will be 99% automated anyway. For one example, how can the most prosperous country in the world have a majority of its bankruptcies tied to medical debt? And somehow people want to blame China or globalization or some other boogie man?
by fatchan | 2025-04-05 10:35:41+00:00
Offering more detailed timeouts for other stages of the request would be great, too.

For example with HAProxy you can configure separate timeouts for just about everything. The time a request is queued (if you exceed the max connections), the time for the connection to establish, the time for the request to be recived, inactivity timeout for the client or server, inactivity timeout for websocket connections... The list goes on: https://docs.haproxy.org/3.1/configuration.html#4-timeout%20...

Slowloris is more than just the header timeout. What if the headers are received and the request body is sent, or response consumed very slowly? And even if this is handled with a "safe" default, it must be configurable to cater to a wide range of applications.
by wobfan | 2025-04-05 10:36:15+00:00
In addition this is maybe a good option (haven't looked into it) for people (like me, actually) who are just not interested in the formal aspects. I profesionally have nothing to do with electronics whatsoever, but am still naturally interested in it. Learning stuff with formal literature takes away all that natural interest for me and makes it work, so I would eventually stop doing it. Learning it in a practical way though would work way better and keep me interested and motivated.
by baranul | 2025-04-05 10:38:14+00:00
First, for clarification, V developers can not control who writes books on the language. To say otherwise, looks to be about projection, as to what competitors have done or plan to do.

The first book written about V (5 years ago), looks to have been a total surprise to the community and its creator, because it was written in Japanese[1]. The 2nd book written about V has clearly sold well and received very good reviews[2]. It's author had no connection with V development and there are interviews about him. A 3rd book[3], which was for academic circles, is not primarily about V. It, however, uses the programming language for random number generation and explanations on the subject.

The point I'm getting at, is marketing one's self on HN or podcasts as a viable alternative versus being an actual viable alternative used by the general public. It's one thing to act like or say your popular, it's another thing to be popular. There is a qualitative difference, that is even picked up on by Wikipedia, which is arguably why Odin or C3 don't have a page or the numbers on GitHub.

Despite any misdirected anger or envy, that problem has nothing to do with other languages like V or even Zig. It's up to fans and interested third parties of that language to show and report widespread usage.

[1] https://www.amazon.com/dp/B08BKJDRFR (Book about V (Vlang) in 2020 and in Japanese)

[2] https://www.amazon.com/dp/B09FKK3JL7 (Book about V (Vlang) in 2021, highly rated, and sold well)

[3] https://doi.org/10.52305%2FCVCN5241 (Book is part of an academic series, 2023, and uses V (Vlang))
by fedorvin | 2025-04-05 10:42:17+00:00
Sine you already know frontend, I would recommend starting with burpsuit and web exploitation. The issue with cybersec is that there are just too many things you can/need to learn, so the best thing would be to start with the area you already know something about.

https://portswigger.net/web-security is a great resource to get you started.

Good luck!
by raimushke | 2025-04-05 10:43:30+00:00
Ever tried pasting text from Word into your website or CMS and ended up with 100 lines of junk HTML?

I built a small tool to solve that exact problem.

It removes unnecessary tags, inline styles (like `mso-`), empty spans, and more – leaving you with clean, semantic HTML you can actually use.

Works right in your browser, no install, and it's free:

https://4html.net Would love feedback or suggestions!
by BlandDuck | 2025-04-05 10:45:54+00:00
I love old, well-written technical books, like these. There is something about the language, directness, innocence (for lack of a better term) and careful arguments that I find incredibly satisfying. They are not afraid to go technical and deep, when needed. They have humor and feel personal.

Somehow, I rarely find this in modern technical books, but it is hard for me to figure out why. Maybe something is lost in the "pedagogy" of many modern textbooks.

I'll read such books about pretty much any topic just for pleasure. An all-time favorite is "Stick and Rudder" by Wolfgang Langewiesche, although a very different topic, obviously.
by latexr | 2025-04-05 10:46:06+00:00
Erik Spiekermann is a German typographer who gave a talk called (something to the effect of) “why do we need so many typefaces”. At one point, Erik simply shows a slide with “this is why”, in what is clearly the Marlboro font.

Fonts have different metrics which affect recognisability, legibility, and understanding. There are fonts which evoke a feeling (think heavy metal band), others which are practical (exaggerated letter forms to help dyslexia), and many many many bad fonts too, such as ones with bad kerning which make words like “therapists” read “the rapists” or “morn” read “mom”.

The fonts you have on your computer are all different and have their own strengths and weaknesses which affect you and your perception of what you read, even if you’re unaware of it.
by dann0 | 2025-04-05 10:46:39+00:00
This doesn't really work because the big firms that consumers boycott have political leverage and magically become too big to fail.

It also presupposes that unregulated capitalism is the best kind of market. But "unregulated market" only means unregulated in ways that benefit people.

BI and UBI are better ways to ensure that the people that governments actually represent are supported when they need it. They are more direct and have quicker market benefits.

What really gets me is that UBI would be great for everyone, even the rich and the big business. It allows more consumers to buy more, ensures only productive, motivated and properly rewarded workers are in the workforce, lets artists create fine art rather than doing meaningless busy work so that they can eat, and even lowers the cost and inefficiencies of social safety nets.

Conservatives can't see how anything can be anything other than a zero sum game. They are always trying to maximise their wealth, they assume that everyone else is too, but really, most of us are just trying to find enough to eat, have a home and stay alive.

They are scared of losing what they have because they want to take what anyone else has. They hide that by saying it's unearned or whatever, but they mostly haven't earned what they have. They have at best grown what they were given. They don't know what it's actually like to have nothing.
by ninkendo | 2025-04-05 10:47:22+00:00
> you might just not be a member of the intended audience

There’s no relationship between people who would appreciate the history the author was trying to communicate, and people who aren’t distracted by prefixing a pointless zero before the date.

Unless you really meant that as a snide comment calling GP an idiot.

Either way, maybe the zero prefixing thing is just stupid and not the hill to die on you seem to think it is.
by jiggawatts | 2025-04-05 10:48:19+00:00
> reasonable chance you'd be better off on your own.

Sure, yes, if you know what you're doing and have a valid reasons for going off the beaten path.

In this case I was trying to explain to a developer why their token was horrifically insecure despite superficial appearances.

This was an off-the-cuff sort of thing: I was simply scrolling through some code talking about something else and I saw "encrypt" in the middle of it... and sigh...

I talked for well over an hour just listing the security vulnerabilities in just three lines of code.

"Static keys used in encryption can be cracked by obtaining many ciphertext samples. You actually wanted keyed signing, not encryption."

"The scope isn't included and you're sharing the same key everywhere. That means dev/tst/prd tokens are interchangeable."

"Also... let's just keyword search for this 'random' (not) key in the Git repos... and oh... ohh... it's everywhere. Oh god. Unrelated apps too!"

"There's no dates in there. That means tokens last forever."

"The name is separated from the role with an ASCII symbol that's a valid user-name character. So if I call myself Bobby Tables#Admin, then I am. Fun!"

"Tokens last for a long time and can only be encrypted and decrypted with a single key, which means you can't rotate keys without logging out all users all at once."

Etc...

Hence losing my voice for a bit.

Also, a little bit of my sanity.
by SwiftyBug | 2025-04-05 10:48:40+00:00
I'm the same age as the author. I've been feeling exactly the same. I feel like in the past there was something magical about travelling. It was like seeing a different world for the first time. Everything was exciting and I noticed every little aspect of the place such as license plates, trash bins, road signs. I still notice those things but I can't help but notice that that feeling of awe is gone. I've been attributing this to age, but who knows, maybe the world is becoming less diverse?
by scarface_74 | 2025-04-05 10:49:01+00:00
I just randomly looked at hotels.com for hotels in Cairo and I saw name brand hotels from American brands like Hilton for around $120 a night. Even high end hotels like the Waldorf are $284 a night (I don’t care about fancy hotels personally). Why would I stay in a dirty Airbnb?

Not that I would ever use a third party booking site like hotels.com either…

I want the place I stay at to be run professionally and it to be I give them money and they give me a clean place to stay without having to worry about my ratings, discrimination, etc.

Especially in another country where I don’t know the language and after taking a long flight. I wouldn’t want to take the chance on an AirBnb.
by HelloAll | 2025-04-05 10:50:43+00:00
Insurers aren't there to help you. I've never met a person in all my years who was happy with health insurance. And that includes before the "cadillac" insurance packages were done away with.

People don't want or choose this system (unless they work for insurers), but their voice doesn't matter. No politicians can afford to oppose the health care industry. We need campaign finance regulation, investment in education, and public election platforms to shift away from this unhealthy way of life.
by huhtenberg | 2025-04-05 10:50:53+00:00
It's more about overall look and feel, which in large part comes from the glyph proportions (the x-height), spacing and weights - https://i.imgur.com/mygqn3H.png

Glyph proportions between Whitney and Nebula are almost identical. As are their weights. Source Sans is substantially heavier and more dense looking.

While individual glyphs may be closer between Nebula and Source Sans, but the overall feel of Nebula is that of Whitney.
by phrotoma | 2025-04-05 10:52:22+00:00
This youtube channel has a whole pile of sampling recreations.

Daft Punk: Discovery https://www.youtube.com/watch?v=5AqHSvR9bqs

Daft Punk: One More Time https://www.youtube.com/watch?v=5QwOpRh-IfI

Mos Def: Mathematics https://www.youtube.com/watch?v=--A_89lTuiA

Pogo: Alice https://www.youtube.com/watch?v=au7RYxqaO10

Fatboy Slim: Rockafeller Skank https://www.youtube.com/watch?v=SBsRzyQ-TfM

And this 30 minute compilation that spans four decades is utterly mesmerizing https://www.youtube.com/watch?v=FpaoCUEhZJM
by jibal | 2025-04-05 10:53:48+00:00
I did not miss any point and that's an ad hominem charge. He misrepresented the facts and based an argument on that misrepresentation and I pointed that out.

"In retrospect, Google dismissed him because he was acting in a strange and destructive way."

No, they dismissed him because he had released Google internal product information, "In retrospect" or otherwise.
by lorentzoh | 2025-04-05 10:58:41+00:00
I sometimes want to save a useful python script, or a function in github, but don't want to create a whole repository with README, name, description and so on. This model would be nice for that. But then, the access control system (e.g. private/public repos) would be completely different. Perhaps you could have groups of users, and give group access to individual objects (classes/functions) in your repo. But giving access to each object one by one would probably be tedious, so you need some kind of modules, or other way of grouping objects (maybe tags?). I also thought of tags on one of my jobs as DevOps. We had a lot of types of repos, that we needed to organize, and enforce access control: - code repos like backend and frontend - infrastructure repos with k8s manifests, helm charts etc. - also a lot of microservice/microfrontend repos The team lead was trying to come up with a hierarchy for all this, but struggled. If github allowed for a flat namespace of repos, and tags-based access control, we could create tags like 'frontend', 'devops', 'backend', give the tags to people and repos.
by StopDisinfo910 | 2025-04-05 10:59:36+00:00
> When you put money in the bank, and the bank gives you interest, that's not your money in the bank, that's the bank's money. What you own is a certificate entitling you to the stream of interest payments

When you give money to a bank, the bank owes you money. You are a creditor and you technically own debt (which may or may not give interests). This debt is money.

The money supply is not a uniform things. It goes from actual paper money, through bank deposits which are more or less indistinguishable from paper money all the way to short term deposits and bonds.

Holding deposits and holding safe bonds is not particularly different. It’s more cumbersome to trade but it doesn’t significantly alter the reasoning about what you will be able to do with the dollars you have.
by viraptor | 2025-04-05 11:01:51+00:00
This analysis doesn't look realistic, for at least this reason: 1. Apple is making a serious margin on its hardware. Especially storage is marked up to stupid levels. 2. Apple is sitting on lots of cash.

They have the means to shift at least some of the assembly to the US (or somewhere with 10% tariff), pay the China tariff on the actual price of components, sell at the inflated value of components+assembly as usual. The tariff would impact only a smaller part of the retail cost.
by graemep | 2025-04-05 11:02:21+00:00
Science is not something to be believed in, it is a methodology that involves making and testing theories etc. People argue about it is and how it works and should work (philosophy of science is a significant field in itself) and it is not well defined, but what it is NOT is a body of facts.

Particular scientific theories may be believed in (or not believed in).

That said their samples sentences also include things such as "We’re assembling a crew for a heist" so maybe not take these things too seriously?
by latexr | 2025-04-05 11:03:36+00:00
Brown is different, because you can only see it in the right context, otherwise it becomes orange. You cannot create brown light sources.

https://www.youtube.com/watch?v=wh4aWZRtTwU&pp=0gcJCdgAo7VqN...

Not naming certain colours does not mean they cease to exist. They can be split, created, and we have the receptors to perceive them.
by childintime | 2025-04-05 11:04:54+00:00
LLM do exactly the same thing humans do: we read the text, raise flag, and flags on flags, on the various topics the text reminds us of, positive and negative, and then starts writing out a response that corresponds to those flags and likely attends to all of them. the planning ahead is just some flag that needs addressing, but it's learnt predictive behavior. nothing much to see here. experience gives you the flags. it's like applying massive pressure and diamonds will form.
by numpad0 | 2025-04-05 11:05:12+00:00
This is weird to say, but it never occurred to me previously that an ISO-8859-1 font perfectly consistent with all variants of itself + CJK(by switching variants or whatever) would be massively useful. CJK speakers usually switch and mix fonts as needed to build a content than trying to pick single font for everything, and vast majority of people just don't understand multiple languages, so there are little driving forces towards a single universal font solution.

But a universal font makes sense. It's almost odd that this is so rarely said out loud.
by nickjj | 2025-04-05 11:05:45+00:00
What happens if your test produces a bunch of stdout, such as using `print(...)` somewhere? Where would it be displayed?

A couple of questions about Docker based on the README:

> enabled = true, -- Enable docker support

What does this do in the end? Is it starting containers or adjusting which test command gets run by prefixing a Docker command?

If so is there a way to opt out of that to have it still use Docker commands without it managing container lifecycles?

> docker_path = '/usr/src/app', -- This is the default path, if you use docker compose this is obtained from the docker compose file

How is this being read from that file? Are you reading a volume?

Is this meant to be what the WORKDIR is set to?

> docker_path_prefix = 'app', -- This is the prefix for the path in the cwd in your local, for example: root/app/<docker_app_content>

Is this meant to be what the WORKDIR is set to or what the COMPOSE_PROJECT would be set to?

> container = 'app-1', -- Container where the tests will be run

Will this be ignored in favor of the compose service name if compose is set to true?

> docker_compose_file = 'docker-compose.yml', -- This is the default docker compose file name

The default name has been compose.yaml for a long time now btw, you may want to support both out of the box.

> enable_docker_compose = true, -- Enable docker compose support

What does this do vs not having it enabled?
by rstarast | 2025-04-05 11:05:47+00:00
The interface makes it almost impossible to solve a puzzle in logical steps.

You might find some inspiration here: https://puzz.link/p?cave/10/10/i44t4g3r3g3j2h2h3zp3q5g32k4 http://pzv.jp/p.html?bag/10/10/i44t4g3r3g3j2h2h3zp3q5g32k4 (from http://blog.livedoor.jp/bachelor_seal-puzzle/archives/901448...)
by ses425500000 | 2025-04-05 11:06:27+00:00
Thanks for sharing — Marker is a great tool, especially for human-readable formatting!

In contrast, this project focuses less on preserving the visual layout for human readers, and more on extracting structured semantic data for machine learning training.

So instead of optimizing for clean Markdown or HTML, it extracts context-aware elements like:

• table data as JSON,

• math expressions in LaTeX,

• diagrams with image descriptions,

• multilingual text segments,

• and semantic roles (e.g. “question”, “explanation”, etc.)

In short: Marker is great for reading, This is built for feeding into ML pipelines — especially for tasks like question-answering, diagram reasoning, or multimodal pretraining.
by zachlatta | 2025-04-05 11:08:37+00:00
I highly recommend Coolify. I evaluated every option when looking for a Heroku alternative, and Coolify is clearly the best as long as you don’t absolutely require zero downtime deploys.

We are hosting over 100 services on it for https://hackclub.com and it’s been great. We’re 3 months in now.

The key is to think about it as a GUI on top of Docker, not as a fully managed solution.

It’s one of those PHP apps that’s weirdly reliable. I see lots of other comments recommending Dokku / Dokploy / others. None of those options are nearly as mature as Coolify in my experience.
by ses425500000 | 2025-04-05 11:09:26+00:00
Thanks! Yes — I’m definitely planning to update and refine the project over time.

This initial release is mostly a working prototype to demonstrate the full pipeline logic, and I’ll continue improving stability, modularity, and usability. A lot more updates are in the pipeline, so stay tuned! Feel free to open issues or suggestions anytime — feedback is always welcome!
by zevv | 2025-04-05 11:12:11+00:00
“we’re back where we started four years ago, hard coding everything, except now in a much crappier language.”

Not sure if I agree with this. A proper designed DSL has the advantage of being much closer to the domain of the problem it is supposed to solve. Your code written in the DSL now might end up as 'hard coded' part of the application, but it likely conveys much more meaning in much less code because it is tailored to the core functionality of the application.
by scarface_74 | 2025-04-05 11:13:44+00:00
When my car is ready to be picked up - they call me. Even if I just let it go to voicemail, I still get a real time transcription.

When I use Instacart, everything goes through the app where I get notified. I don’t know if Instacart has the feature. But Uber/UberEats automatically translates the text to English in the app. I live in an area where there are a lot of Spanish speaking gig workers.
by badlibrarian | 2025-04-05 11:14:00+00:00
There's a reason your original post is a very light shade of gray. If you want to continue pumping words into the ether I suggest you typeset them in TeX and submit to arxiv. A paper entitled "Walking around an area doesn't give you any information about the area" may help you find people who can commission a study. Perhaps with you as the subject.
by blacklion | 2025-04-05 11:14:59+00:00
It is very cool project, buy I think author (I know, you will read this) take it to the extreme. Again, it is very cool technically, but it contradicts declared goal: to make new computer kit for beginners.

IMHO, it is doesn't matter for novice, what to solder, SOIC8 or SOIC28. SOIC28 is as easy (or hard, if you want) as SOIC8.

And larger chip could make much more useful computer: it will be possible to add some minimal sound (as such chips typically have DAC), keyboard, and, maybe later, true monitor output in VGA style (not DP or HDMI of course).

It will be not much harder (if at all) to solder, but could be good base for expansion if owner gain interest in such things.
by LargoLasskhyfv | 2025-04-05 11:16:05+00:00
Nobody needs social media. It's a fad. There were times without it. While we didn't live in caves. Now the smombies don't even see the shadows on the wall, because they are in another thrall. Both aren't needed. Maybe a solar-storm will reset that shit. Maybe something else. One way or another, I don't bother.
by fnordian_slip | 2025-04-05 11:17:42+00:00
> Based on the reports coming from Doge

Is this supposed to be a humorous comment, or are you seriously using the reports coming from doge in an argument, as if they were honest reports?

I realise that this comment might come off as antagonistic, and I apologise. But since I guffawed when I read it, as I interpreted it as the former, I'm now curious to find out if I'm correct.
Show HN: Building a EU hosted FaaS alternative using Rails and Python (Alpha)
by warothia | 2025-04-05 11:17:51+00:00
I've been working on a small-scale, functions-as-a-service platform where you can create Python functions, map them to routes, and run them through a custom FastAPI engine. It’s all managed via a Rails interface and hosted entirely in the EU.

The goal is to make it easy to define functions and connect them to APIs or webhooks. It’s still in alpha, so things are rough around the edges, but the basics are working.

Would love to hear what others think or if you’ve tried building something similar.