MurphyA/hacker-news huggingface dataset:
by bsrkf | 2025-05-10 00:52:58+00:00
C is liked particularly, even considering all its shortcomings, for being a relatively limited language in scope, being raw but flexible.

D's scope seems to go far beyond what your average C programmer would want in a language; "use only 15% of the language and you'll be fine" (paraphrasing: "use only the 'better-C' subset", if that is what you meant, and it does seem to be a subset of D) seems a weird proposition; it still complicates things, as in collaboration, idiomatic feel and look of code, the amount of knowledge required to be competent in the language, complexity of a compiler implementation, portability of code etc... and by that logic you'd have to prefer C++ over C as well (since a lot of C is valid C++), or prefer C plus one safety feature added over C; but the "rawness"/limited scope/small size/procedural nature of C is what's appealing for many to begin with.

I for one think that a proper C replacement (C's strength also being the simplicity in which to implement a compiler for example, being the reason it's so ubiquitous in the embedded world) will be a much more limited proposition than D is.

Edit: And having been curious, even "Better-C" still has things many C-programmers wouldn't particularly like. Going by things listed here https://en.wikipedia.org/wiki/D_(programming_language)

RAII Full metaprogramming Nested functions, nested structs, delegates and lambdas Member functions, constructors, destructors, operating overloading, etc. ...

Where to draw the line will be different person to person, but D doesn't seem to be a language "in the spirit of C", or a "modern version of it", at all.

Viewing it as a C++ alternative makes much more sense. A `Better-C` "limit yourself to a subset of the language" compiler flag doesn't change that much.
by Kozmik1 | 2025-05-10 00:54:19+00:00
I made the mistake early in our startup of spending several months and quite a bit of cash building our first iot product on the Intel Edison platform, only to get zero support on the bugs in the SPI chip and the non-existent (but advertised) microcontroller. We finally gave up and made our own boards based on another SOM (and eventually stopped building boards entirely) and they rather unceremoniously cancelled the Edison in 2017. I guess nobody else was surprised, but I had naively thought the platform did have potential and a huge company like Intel would support the things they sold.
by bpmct | 2025-05-10 00:55:48+00:00
Yep. From the perspective of someone earlier in their career without all the "lived experience": Business books have helped me feel closer with (and better emphasize with) senior execs. I'm not necessarily trying to cut corners, but it helps in situations where I am expected to be a peer to folks who have been working much longer than I have.

Business books are definitely not a perfect substitute for lived experience or having a mentor, but they have certainly helped me.
by makeitdouble | 2025-05-10 00:56:15+00:00
> Sooner or later, almost everyone I talk to brings up the radically different cultural status of games and books

This is why we can't have good things. Too many people are stuck behind the status debate, and in particular caring about status also means protecting norms that might not be beneficial to one's art.

Basically, caring about being high brow is IMHO in opposition to being creative and innovative. It can be in small or big ways, but that happens at some level I guess.

The more interesting debate to me is where the money is: it's a lot easier to work in a field that can sustain creators, and if the money is in games, game creators will outlast the other field creators.
by 8note | 2025-05-10 00:56:33+00:00
i think of books like

* the secret life of groceries * omnivore's dillema * toy story * the box

as business books. they have a bunch of case studies and union politics and a general idea theyre trying to convey.

without industry experience, i wouldnt conceive that there's an occupation of "buyer" or what it is they do, without having read those books.
by soulofmischief | 2025-05-10 00:56:42+00:00
That doesn't seem to mesh with the fact that religion has historically been deeply tied to politics and governance. Meddling in political affairs is a routine thing for organized religions. The very existence of the Pope is a power play designed to make the Church's power seem more legitimate and justified than politicians.

Examples:

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

https://en.wikipedia.org/wiki/Anne_Boleyn
by rediguanayum | 2025-05-10 00:57:07+00:00
Same here. NSF funded my grad research and I have the same feeling. Seeing this nation eat its seed corn to fund some bullshit tax cuts makes me sick. None of this is theoretical. Talked to a Stanford prof two week ago- her DOE grant is on hold. Talked to some UCSD profs- and they said they only admitted just over half the number of grad students as last year due to funding uncertainty. I fear my kids might have to go to another country to get advanced training, and that next generation of American tech entrepreneurs will be fewer or lost.
by hx8 | 2025-05-10 00:57:36+00:00
I love budgeting and I love plaintext, doing more with textfiles than most people. I'm going to give some quick feedback as someone that should be in the target audience, but doesn't find this particular application interesting.

* Setting the budget is one thing, but you never actually spend exactly the budget. There is no way import transactions which is crucial. It's a good habit to compare actual expenditures to projected budgets.

* One of the major problems that successful budgeters run across is how to track savings over time. Savings are shifting in nature. In bank accounts or bonds the interest the occur is predetermined. What if the savings is in stock, crypto, precious metals or collectables? It's a shame that my tool for tracking the value of my retro game collection doesn't communicate with my tool for tracking my savings accounts.

* I'm concerned about using your GUI tool to edit a text file instead of my own primary text editor. The nice thing about my text editor is that my font is set how I like, my keybindings are set how I like, and I know a ton of useful shortcuts. I'm not sure I'd want to spend the time to configure your tool, and even if they have the configuration options I'd want.

* Honestly there are a ton of budgeting apps with more features. Some good ones are even free.
by wsc981 | 2025-05-10 00:58:10+00:00
I find 'simple' languages charming. Hence, I still like Objective-C. I also like Lua a lot.

I liked Swift when I tried it a couple of years ago, but it seems overloaded with features these days. I haven't tried Swift UI yet, but I did think the Objective-C approach with xibs, struts and such worked fine.
by hayst4ck | 2025-05-10 00:58:17+00:00
> Individuals going out and shooting people on the street is not an appropriate "stick" in a functional society

I absolutely 100% completely agree, however you added "in a functional society" which is why that statement is true. We are not in a functional society, we are in a rapidly deteriorating one.

So why did you add in a functional society? Is it true in a non functioning society? How should people act in a non functioning society? What determines whether a society is functioning or not? Who gets to make that choice whether society is functioning or not? Was the confederacy a functioning society? Was it a functioning society for chattel slaves? Would they have been justified in using "sticks"? Are Ukrainians justified in using sticks? Why or why not?

> is not an appropriate "stick" in a functional society

> am appalled by the current lawlessness

Don't you see your own denial even a little, or how someone in good faith could interpret it that way?

> We should be allies with many mutual interests, but here you are making an enemy.

I could accuse you of the same, but I don't think you're an enemy at all, I think you're ignorant, privileged, and haven't really given your own point of view a thorough shakedown. I am not angry at you, nor do I see you as an enemy. If I did, I would treat you like rayiner, I might accidentally respond, but otherwise I would downvote flag and move on. I am sad that you are too scared to accept what is true because it makes you personally responsible for participating in building a future we want to be a part of and nobody wants to be told they are responsible especially when that message comes with personal cost. Anger is a result of feeling threatened, but sadness is a result of understanding, and I am deeply sad about the current state of things and people who should be ideological allies choosing comfort over truth.

Everyone wants a functioning government, but "nobody" wants to pay taxes or take a pay cut do be a part of it. Everyone wants labor rights and higher wages, but nobody wants to risk their job, their pay, or their "permanent record." Everyone wants to sit in the shade of the tree of liberty, but nobody wants to water it. You'll only want to fight for liberty once it's gone and by then the fight will be much much harder.

I asked so many questions and almost none of them are rhetorical. I think if you took the time to answer any of them, you would quickly run into trouble maintaining internal consistency, and I think the core of it is that you have no conception of what it takes to go from the state of nature to a consensus based lawful government because you think Locke and Jefferson were "edgelords".
by Affric | 2025-05-10 00:58:33+00:00
Thanks for the recommendation but just to clarify the claim I am querying is that the reason Iberia was “civilised” was due to the Carthaginian presence.

> Large parts of Rome's empire were civilized, not by Rome, but by Carthage and the Phoenicians.

That’s more than a claim that that the Carthaginians held overlordship of southern and eastern Iberia.
by EasyMark | 2025-05-10 00:59:55+00:00
I'd leave. If I have to beg IT security every other day for something,it's just not worth it. I was in that situation once before and it was endlessly frustrating. It also wasn't even their choice, the CEO dictated it after attending some security talk once upon a time, and then instantly "you can't trust anyone or anything". You can trust my stay there will be short though :)
by vladkens | 2025-05-10 01:00:43+00:00
I agree that there are too many dependencies in Rust. I support the idea of adding some of the more popular crates to std. Many applications use something like tracing, tracing-subscriber, and basic server/client functionality. It would be great to have simple, minimal-feature implementations of these in std — similar to how Go does it. If someone needs a more complex system, they can still use an external crate, but having basic building blocks in std would really help.
by triceratops | 2025-05-10 01:01:13+00:00
> I also think you have this idea that trade is currently governed by largely linear and symmetric rules

I didn't think that. Every country has tariffs and trade barriers to protect the industries they want to grow or protect. Even the US. Even before this administration or the last one, or the one before that. Sugar, for example.

> Every industrialized exporting country in the world has optimized for exporting to the US

Or maybe, more accurately, to earn US dollars. Possibly because of petroleum, which every country needs? I don't really know, I'm not an expert.
Show HN: Circuit Tutor– Chat with and make basic EE schematics via LLM
by andrewrn | 2025-05-10 01:01:53+00:00
Hi HN! I built a small tool that lets you describe simple circuits in plain English and get a schematic. You can then ask follow up questions like "whats the voltage drop across R1?" or "How would you calculate the Thevenin equivalent resistance?"

Emphasis on simple—right now it handles very basic circuits (think: 1 voltage source, a few resistors, maybe a cap).

I built it because I am a mechanical engineer by training and sometimes forget basic EE. LLM's are making it so quick and easy to understand codebases, I thought it would be cool to try and build the same for circuits.

It's a prototype for now, but I think it could eventually be really useful for autodidacts, students, and engineers looking to brush up their circuit theory.

Would love feedback on whether others think this might be useful. Link: https://circuit-tutor.xyz/
by corytheboyd | 2025-05-10 01:02:30+00:00
> I'm using Ruby for a startup because it's 10x more productive for building a webapp versus a compiled language

I’ve been a Ruby/Rails dev for about 14 years. Just started working on Java projects at work and… holy shit, it slows down the entire organization and they don’t even seem to know how much of it is because of the terrible immovable object that is the mountain of Java code they made. Before this experience I had always assumed that rigid types alone would be a boon… oh how wrong I was. The rigidity just leads to people writing 10x more garbage to get simple things done, which causes a 10x worse maintainability problem. The rate at which I hear “oh lol just another NPE” is astounding, how is this constant occurrence not interpreted as a complete failure of the “type” system????

Maybe a crack team of Java Experts wouldn’t do this, but the reality of most software companies is that people of ALL skill levels are writing code. Poorly written Ruby is a whole lot easier to figure out (as an expert of Ruby) than 10x the amount of code in Java. I hate this.
by dathinab | 2025-05-10 01:02:44+00:00
Ignoring that it might be related to stations where idk. most people can't have children (or they at lest won't survive).

The other options is that there can be while groups of humans in a distant place alive at the same time, but they didn't survive long term and didn't re-mix with the "bottleneck group" at lest not in a way detectable genetically (idk. how precises the methods in question are).

The point here isn't that a genetic bottle neck implies the presence of other humans, but that it doesn't say that there can't have been other humans, just that other humans genes didn't carry forward until today.
by elcritch | 2025-05-10 01:02:50+00:00
I feel the same. Apple software quality certainly hasn’t increased. Years back I remember some apps crashing suddenly after updating MacOS. I checked the binary and saw they’d started adding Swift.

Half a decade later it seems like it should be better and Swift stuff should be stabilized. But nope, I’ve had more little glitches in both iOS and MacOS. It’s hard to say it’s due to Swift, and not management priorities. Still it feels partially related to Swift.

Swift’s goals are great, I like the syntax, but the language implementation seems to just special case everything rather than having coherent language design.

That and Swift de-emphasizes Obj-C message passing. I have a pet theory that message passing produces more robust GUI software that’s easier to adapt to complex needs.
by jgalvez | 2025-05-10 01:03:30+00:00
Thank you so much for the feedback — this is a very early iteration.

I've been using it for several years and wanted to get it into an app. I've been getting a lot of suggestions and requests from early adopters. I will definitely take yours into consideration. There's a lot of room for improvements.

Re: GUI limitation, there's a CLI which is open source and free:

https://github.com/galvez/plainbudget

The parser and processor have a comprehensive test suite.

npm i pbudget -g

I talk about the DSL design and its capabilities in detail here:

https://hire.jonasgalvez.com.br/2025/may/8/plainbudget/
by notnullorvoid | 2025-05-10 01:05:19+00:00
I don't think you need to get very complex to design a language that protects libraries from having implicit system access. If the only place that can import system APIs is in the entry program, then by design libraries need to use dependency injection to facilitate explicit passing of capabilities.

One can take just about any existing language and add this constraint, the problem however is it would break the existing ecosystem of libraries.
by calmbonsai | 2025-05-10 01:05:26+00:00
I disagree on "Good to Great" and "Built to Last". In hindsight, they're classic extrapolations of survivorship-bias in a specific era of business instead of durable business practices. It should be more accurately titled as "Built to Fail" considering how those profiled companies have faltered or floundered.

I highly recommend Buffett's letters to shareholders https://a.co/d/cc1ufM4 and Goldratt's "The Goal" https://a.co/d/iJjTf1y and Taleb's "Antifragile" https://a.co/d/4bjC74J . Aside from his mathematical treatment's of uncertainty (which are free), I wouldn't recommend any of Teleb's other books.

"Let My People Go Surfing" https://a.co/d/2hq7ngp doesn't work for all business, but I really found it personally inspirational.
by sabrina_ramonov | 2025-05-10 01:05:51+00:00
Blotato | https://www.blotato.com | Senior Fullstack Engineer | REMOTE | Full Time | $80K-$120K

Blotato helps content creators go viral.

Preferences: vim, emacs, fullstack, no hypechase js

Tech stack: nextjs, fastify, typescript, supabase, heroku, aws

This is a fulltime, permanent position, no contractors/consultants. Open to all remote locations.

Interested? email jobs at blotato.com with "HN" in the title, your resume, your preference for vim or emacs, and your favorite AI coding tool.
by fatbird | 2025-05-10 01:06:09+00:00
Your second and third options, absolutely. For the first, it's a matter of whether the sovereignty of US could be credibly threatened militarily, which would is hard to imagine without a long, long fall in its military power. It's not the superpower status, it's the absence of credible military threat against it. Canada or Mexico (or Finland, or Vietnam or North Korea) can't guarantee the absence of instability by their military heft alone.
by cam_l | 2025-05-10 01:09:52+00:00
One of the things I love about this period of art is that the art does contain a sense of logic and process that can be understood. It was philosophical and communicative - the artists were saying something meaningful and meant to be understood.

There was a story I read in a paper about Matta-Clarkes 'splitting' a while back [0] (The paper is a bit of a long read, but gives a good insight into his work. Unfortunately not open access..) where in one of Matta-Clarkes pieces..

>the artist used a BB gun to shoot out the windows of the Institute for Architecture and Urban Studies..

He then mounted pictures of derelict buildings from the South Bronx in the windows.

>When shattered, the Institute’s “renovated” apertures opened jaggedly on to images of an alternative reality, one to which its members remained blind and sealed away. Or so, in literalizing the inability of architecture to see or reach the social reality from which it was so decisively divorced, Matta-Clark seemed to claim.

The 'anarchy' part of the anarchitecture was not just posturing.

[0] https://direct.mit.edu/grey/article/doi/10.1162/152638104322...
by vo2maxer | 2025-05-10 01:09:54+00:00
Given your abhorrence of verbiage, here is some LLM spew instead:

In Search of Lost Time by Marcel Proust is a monumental novel about memory, time, and the subtle shifts of consciousness. Through the narrator’s recollections—often triggered by sensory experiences like the taste of a madeleine—Proust explores love, art, jealousy, and the passage of life in early 20th-century French society.
by jibal | 2025-05-10 01:10:31+00:00
Zig uses @"arbitrary name"

It's an important feature for FFI, as well as passing operator functions around. (It seems bizarre to me that you can't do `+` in Swift, but I don't know Swift so maybe there's another way to name such functions.)

Also, the Zig library now uses @"..." for variables with the same name as keywords, rather than using ad hoc naming conventions in those cases.
by ldubost | 2025-05-10 01:10:43+00:00
I'm from the CryptPad team

This workflow works for you ! Great !

Unfortunately, most users don't know how to setup the tools you are talking about. Additionally they end up having to share some document at some point or another. They end up with browser based tools and a shared server. Google most of the time for individuals. Most users want their data in one place for all use cases.

Network effects make it so that only tools that allow you to invite anybody to your document (guests without accounts included) end up gaining traction. Desktop apps might be able to achieve this using some web proxy so who knows, it might change in the future.

Our goal at CryptPas is to make it familiar for them to move from Google while having e2ee here to protect their privacy, which also gives them a reason to switch

The more people can get out, to any open alternative, the more alternatives can then decide to fight each other.

In the mean time, we should not try too much to get the rest of the world on our own workflow, just let all the different approaches strive.

BTW maybe CryptPad's API ( https://github.com/cryptpad/cryptpad-api-examples ) could help you solve the case where you do need to edit a document collaboratively from your computer. Would you be interested in a tool allowing to create a session for editing with CryptPad allowing to sync back changes or save the end result back to your computer ?

Ludovic
by Tijdreiziger | 2025-05-10 01:11:16+00:00
They do have to allow own modems as well as routers.

Article 5 of the EU Net Neutrality Regulation states that “end-users should be free to choose between various types of terminal equipment […]. Providers of internet access services should not impose restrictions on the use of terminal equipment connecting to the network […].” [1]

However, currently only 5 member states fully comply with this (Germany, the Netherlands, Belgium, Finland and Lithuania). [2]

E.g. NL ISPs provide all necessary parameters for PPPoE and SIP (telephony). [3]

[1] https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=uriserv:...

[2] https://fsfe.org/activities/routers/routers.en.html

[3] https://www.kpn.com/w3/file?uuid=cd5f3398-4bad-4cdc-ac18-4f6... (DSL) https://www.kpn.com/w3/file?uuid=563993a1-e48a-485a-90a8-738... (FttH AON/PON) https://www.kpn.com/w3/file?uuid=b9774a1d-f1cb-4c17-8972-251... (SIP)
by em3rgent0rdr | 2025-05-10 01:12:38+00:00
When spice simulation isn't deep enough... Very educational to show how circuit elements work "under the hood"...for example the LC example doesn't use an L element and a C element as building blocks, but rather it is the two metal plates in close contact which form the bulk of the circuit's capacitance and it is the loop of metal itself which form the inductance.
by infamouscow | 2025-05-10 01:13:12+00:00
Rust will thrive despite the PLT coloring debate. Async frameworks often dominate through winner-takes-all dynamics. Most blog posts on async coloring are pretentious nonsense, and I've faced heavy moderation here for calling out their intellectual bankruptcy. The completely brain dead moralizing arguments from the ignorant deserve intense derision regardless of what HN's official rules are.

Real world software ecosystems evolve slowly, requiring years of debate to shift.

- From HN's most outspoken Rust critic