MurphyA/hacker-news huggingface dataset:
by bluGill | 2025-05-16 13:34:38+00:00
I can write bad code in rust too. Rust makes it more difficult, but if you try hard you can abuse it to get the same hundreds of classes and 50 level deep calls, and 100s of threads. You can even do manual memory management in Rust - it isn't built into the language but you can call system APIs to allocate memory if you really want to be stupid. Don't do that is the answer.

Good programmers have long ago written best practices guides based on hard learned experience. Newer languages (like Rust) were designed by people who read those guides and made a language that made using those features hard.
by lolinder | 2025-05-16 13:35:03+00:00
The clause at issue is this one:

> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

The copyright notice is the bit at the top that identifies who owns the copyright to the code. You can use MIT code alongside any license you'd like as long as you attribute the MIT portions properly.

That said, this is a requirement that almost no one follows in non-source distributions and almost no one makes a stink about, so I suspect that the main reason why this is being brought up specifically is because a lot of people have beef with Ollama for not even giving any kind of public credit to llama.cpp for being the beating heart of their system.

Had they been less weird about giving credit in the normal, just-being-polite way I don't think anyone would have noticed that technically the license requires them to give a particular kind of attribution.
by bradly | 2025-05-16 13:35:04+00:00
The strength with Ollama for me was the ease of being able to run a simple Docker command and be up and running locally without any tinkering, but with image and video Docker is no longer an option as Docker does not use the GPU. I'm curious how Ollama plans to support their Docker integration going forward or if it is a less important part of the project that I'm giving it credit for.
by matty22 | 2025-05-16 13:35:08+00:00
I didn't start learning to code until around 2014, so I didn't know SO before this change. But when you make your platform so militantly anti-helpful, militantly anti-newbie, and just all around unpleasant to interact with, then it shouldn't be a huge surprise to anyone that people stop using it. There's over half a human generation of learners who have had almost entirely negative experiences with SO.
by grues-dinner | 2025-05-16 13:35:13+00:00
Cool idea and quite amazingly short concept to implementation timeline, really. But one does wonder what the perceived demand is for "the growing demand for real-time computing in space". Are downlinks really that scarce? Is it that China has a relatively small global footprint so downlink from an arbitrary point above Earth is harder, or is there some killer application that simply works so much better in orbit than in a far faster larger, cheaper, more flexible and upgradeable ground-based datacentre?

Or is it a military thing where thousands of ASAT hits is either infeasible or would also take out all other nearby friendly orbital systems and thus be less vulnerable than a datacentre and/or power grid being hit by cruise missiles?
by monkeyelite | 2025-05-16 13:36:01+00:00
> you clearly want the answer to this question to be no

Uh yes. It’s phrased that way because it’s absurd. About half the comments in this section are a form of name calling by people who don’t understand constructors/destructors.

Those people who have no insight into how to make initialization better.

> Otherwise you risk becoming more and more irrelevant

Relevancy is relative to an audience. You want to listen to people who care and have your interests in mind.

C++ and Java are the most relevant languages in terms of professional software engineering.
by Koshima | 2025-05-16 13:36:01+00:00
I think it’s fair to push for clear attribution in these cases, but it’s also important to remember that the MIT license is intentionally permissive. It was designed to make sharing code easy without too many hoops. If Ollama is genuinely trying to be part of the open-source community, a little transparency and acknowledgment can avoid a lot of bad blood.
by growlNark | 2025-05-16 13:36:06+00:00
> no one would complain about a US bank not doing money exchange business with entities in the Ukraine or Belarus

Frankly, it's none of my state's damn business who I exchange money with. Their beef with other states is their problem—why are they dragging us through their bullshit?

If they want to collect taxes on it, at least that has the veneer of doing their job properly, and I'm happy to pay it.
by mrweasel | 2025-05-16 13:36:59+00:00
Assuming that your workflow works, and the rest of us just need to learn to use LLMs equally effective, won't that plateau us at the current level of programming?

The LLMs learn from examples, but if everyone uses LLMs to generate code, there's no new code to learn new features, libraries or methods from. The next generation of models are just going to be trained on the code generated by it's predecessors with now new inputs.

Being an LLM maximalist is basically freeze development in the present, now and forever.
by wintermutestwin | 2025-05-16 13:38:27+00:00
In 1988, California enacted a mental health parity law which private insurers to provide equal coverage for mental health and substance use disorder treatments, including services for children. There was a resultant explosion of rehab centers for kids opening in CA. Kids (mostly mid-upper class white kids) got put into rehab centers en masse. Suddenly, every parent in a dysfunctional family could point their fingers at the ubiquitous use of drugs (mostly alcohol and cannabis) among teens and thus absolve themselves of their personal failings as a parent.

Of course I am not arguing that kegger parties and smoking weed were positive things for kids, and certainly some small % of these kids were doing worse drugs, but I am quite certain from my own (fairly broad) annecdata that the root cause of these kids' self destructive behavior was their fucked up families.

And now parents can point their fingers at social media. History repeats, but the difference this time is that kids aren't put into rehabs away from the family dysfunction and in an environment where some degree of self examination and self work is promoted.

When I was very young, I thought that my family dysfunction was an outlier, but my experiences in life lead me to believe that it is the norm and that healthy families are the outlier. Of course, that's my own experience, but I am a greybeard now and have interacted with a large number of individuals across the full spectrum of social strata so the assessment of my anecdata sure seems more poignant with each passing year...
by VMG | 2025-05-16 13:38:28+00:00
This is not true.

It may be bad practice, but consider that the median developer does not care at all about the internals of the dependencies that they are using.

They care about the interface and about whether they work or not.

They usually do not care about the implementation.

Code generated by LLM is not that different than pulling in a random npm package or rust crate. We all understand the downsides, but there is a reason that practice is so popular.
by shultays | 2025-05-16 13:38:39+00:00
The general cost over a several large codebases has been observed to be minimal

Is this unexpected? A large code base has a lot of other things and it is normal that such changes will be a rounding error. There are lots of other bottlenecks that will just overwhelm such a such change. I don't think "it is not affecting large code bases as much", you can use that argument for pretty much anything that adds an overhead

Not to mention if you change every int a to int a=0 right now, in those code bases, a=0 part will likely to be optimized away since that value is not being (shouldn't be) used at all and likely will be overwritten in all code paths
by threeseed | 2025-05-16 13:38:42+00:00
> but aren't you taking on full liability when using it

Of course. And if you were to do something stupid like take your hands off the wheel it would constitute reckless driving. Which means in an accident your warranty is void, insurance claims extinguished and you would be criminally liable for any bodily damage/death.

I will never understand the logic of anyone using a product like this.
by JeremyNT | 2025-05-16 13:39:12+00:00
Note that these people often condescendingly refer to themselves as "rationalists," as if they've unlocked some higher level of intellectual enlightenment which the rest of us are incapable of achieving.

In reality, they're simply lay people who synthesize a lot of garbage they find on the Internet into overly verbose pseudo-intellectual blog posts filled with both the factual inaccuracies of their source material and new factual inaccuracies that they invent from whole cloth.
by carlosjobim | 2025-05-16 13:39:28+00:00
> Not when it's same by ratio

Of course, but if we consider ground truth, there's very few salaried workers in Europe making 75k unless they have political positions.

So if the American employer is cheating their workers out of 20% of their salary by making them work unpaid overtime. What should we say about the European employer who follows overtime rules to the book, but pays their workers 50% of what the American employer does?

> And then we haven't even taken cost of living...

Irrelevant. This is a transaction strictly between employer and employee. Reimbursement should be according to what the worker delivers to the company, and European workers are probably on about the same level of productivity as American.
by dickiedyce | 2025-05-16 13:39:38+00:00
From the blurb: "Expressive design makes you feel something. It inspires emotion..." Yep, sea-sickness, quesyness, nausea, and a growing desire park the DeLorean back in 2010 or skip to 2035. The whole 'emotion' thing = funky palettes is irritating beyond measure: the next 2 years of websites will be like working inside a TV advert for Jaguar.
by ApolloFortyNine | 2025-05-16 13:39:38+00:00
>I don’t deny Apple’s pettiness… Nonetheless, can you provide a different example of why devs are afraid of publicly criticizing Apple?

Every subscription service should have a banner on their pages saying signing up through iOS takes 30%. Many just disabled signing up.

Of course maybe this isn't the best example since Apple actually made it against their rules to tell users it'd be cheaper to purchase on their site.

Apple's rules undeniably cost end users money. Epic proved it by taking some of that 30% fee and giving it back to the consumer (you got more Fortnite credits buying on Epic store instead of Apple store).

Why people try to defend Apple I'll never understand, my guess is some people who own an iPhone have decided that's 'their team' and who wants to see their team lose? But I'm not sure.
Show HN: Making #regions actually useful in VSCode
by alyt | 2025-05-16 13:39:44+00:00
Hey HN,

For anyone unfamiliar: you can use `#region My Region` and `#endregion` comments to organize your code into foldable "regions".

Before building this extension, I'd use regions as a last resort, e.g. for large test files or classes that aren't worth splitting up more, or code that can't be split at all. They'd help somewhat, but the lack of tooling made them pretty underwhelming to work with. So I built out Region Helper, which as of yesterday's release provides:

- Commands / hotkeys for jumping between / selecting regions

- Fuzzy search (like "Go to Symbol" but for regions)

- A "Regions" tree view (interactive: click to navigate, and auto-highlights cursor's active region)

- A "Full Outline" tree view: like the builtin Outline, but incorporates regions (also interactive)

- Diagnostics: blue squiggle warnings when you have unmatched #region / #endregion markers

- Builtin support for 49 languages, customizable via settings

- An API for accessing Region Helper's data, so devs can build their own region extensions without needing to re-parse regions

- (New) Expand/Collapse All tree actions and persisted tree item collapse state across sessions

It's also performant even on massive files, e.g. TypeScript's ~50K LOC `checker.ts`.

These days, I personally enjoy using regions way more, and also add them more often to my code, now that they also serve as quick-jump points while navigating a file. Still definitely important not to overuse them, but I don't find them to be nearly as much of a code smell as I might have before.

If you're extra curious, you can check out Region Helper's source code to see a few real examples of where I've used them while building out this extension.

P.S. if you didn't know, your VSCode settings files (e.g. `settings.json`) are JSONC and support `// #region` and `// #endregion` markers. Since they can't be split into multiple files, regions are a pretty convenient way to organize them.

Feel free to share your own thoughts on regions and whether or not you find them useful ever, always curious to hear others' opinions.
by UncleEntity | 2025-05-16 13:40:05+00:00
Hell, AI is probably -1x for me because I refuse to give up and do it myself instead of trying to get the robots to do it. I mean, writing code is for the monkeys, right?

Anyhoo... I find that there are times where you have to really get in there and question the robot's assumptions as they will keep making the same mistake over and over until you truly understand what it is they are actually trying to accomplish. A lot of times the desired goal and their goal are different enough to cause extreme frustration as one tends to think the robot's goal should perfectly align with the prompt. Once it fails a couple times then the interrogation begins since we're not making any further progress, obviously.

Case in point, I have this "Operational Semantics" document, which is correct, and a peg VM, which is tested to be correct, but if you combine the two one of the operators was being compiled incorrectly due to the way backtracking works in the VM. After Claude's many failed attempts we had a long discussion and finally tracked down the problem to be something outside of its creative boundaries and it needed one of those "why don't you do it this way..." moments. Sure, I shouldn't have to do this but that's the reality of the tools and, like they say, "a good craftsman never blames his tools".
by raxxorraxor | 2025-05-16 13:40:08+00:00
It is not a dichotomy, these types of experiences are valued differently, where one is disadvantaged over the other. And the relevant dynamic how one kind comes at the cost of another is described in the article.

Sure, a challenge in engineering can lie in contraints and if these result in more efficient engineering instead of bad quality, it has merrit.

But the requirements for efficiency are an entirely different class for businesses and most open source projects.

Some developers need some breaks from time to time to focus on what is necessary. For the sake of business. You should get rid of that quickly if you contribute for free to a project you care about.
by skydhash | 2025-05-16 13:40:15+00:00
Yeah. I never understood where people are coming with “you need guardrails, extensive architecture docs, coding rules,…”. For every software and features I wrote, I already have a good idea of the objectives before I even start to code. I do the specific part with code, going back to the whiteboard when I need to think.

It’s an iterative process, not a linear one. And the only hige commits are the scaffolding and the refactorings. It’s more like sculpture than 3d printing, a perpetual refinement of the code instead of adding huge lines of code.

This is the reason I switched to Vim, then Emacs. They allow for fast navigation, and faster editing. And so easy to add your own tool as the code is a repetitive structure. The rare cases I needed to add 10s of lines of code is with a code generator, or copy-pasting from some other file.
by tialaramex | 2025-05-16 13:40:20+00:00
You mean specifically? Sure, I can well believe that even most programmers have no idea what's going on because it's very crazy, you need to know about TAI and UT1 and that they by definition can't be aligned but we insisted on fudging it anyway.

But as to the more general sense that there's presumably some single global time, I actually expect that's common knowledge, you don't need to have thought about the details and realised how complicated it would be for this idea to be attractive. If anything I expect most people misunderstand from the wrong direction - they'd be surprised there isn't universal time because the general population grasp of relativity is too weak for them to see why it would be nonsense.

I would guess lots of the world population thinks of this single global time as GMT, the predecessor of UTC, but that's only like people thinking of SSL when they actually mean TLS, no big deal.
by lukashoff | 2025-05-16 13:40:33+00:00
The WFH shift also exposed the ones who have self discipline and the ones who are not. Nobody is asking you to go beyond the contracted hours. Inability to stop working is a fault of the person and not the mode of working. Agree that the managers fear kicked in so they start to pretend to do work for "visibility". However, that's a sign of a rotten culture and these people were most likely NOT productive in the first place and now they are being exposed therefore they have a need to over-compensate for it.

There are plenty of us who became extremely productive and can finally enjoy life rather than constantly play the spectacle in the office or sit in traffic for hours. And don't get me started on the ones who are neurodiverse or have any kind of disability.
by ruffrey | 2025-05-16 13:41:08+00:00
As a solo-founder I have experienced this on a massive scale over nearly 15 years. It's really strange how happy people are with unethical behavior, yet on my end it just doesn't feel right to cut off peoples systems. After multiple attempts to contact them, we will often disable their accounts. It is against the social contract. It is stealing. In many cases companies may have 15+ free trial accounts, the company itself absolutely dwarfs our 3-person company. The cost is beans for them. But they just don't care.
Ask HN: Tech startups with business co-founder full-time MBA student?
by neilv | 2025-05-16 13:41:32+00:00
After some disruption to my best startup idea (ChatGPT, and co-founder separately deciding they were done with the rat race), I started looking for business cofounders who had good ideas, and who were ready to prototype and fundraise rapidly.

Two of the prospective co-founders are currently in well-regarded B-school and similar programs.

Some of my thinking about this thus far:

* Good -- They're getting training and coaching through school, which in some ways is helping incubate the startup.

* Bad -- Even if you're sure they want to pursue this startup after graduation, school is taking priority for them, you're either in a holding pattern or working full-time on building when they're not, and they won't be ready to start working on fundraising anytime soon. Also, the dynamic is a bit imbalanced or mismatched, if this period is contributing more towards their MBA than to the shared startup.

Now feeling some personal runway pressure, one idea I've heard is to get an interim job, while working on the startup on evenings/weekends. But that's not compatible with how I work, fully committed to the company/project/team where I'm working. I will be thinking holistically of one company, and any spare time is R&R to keep up the pace on that one company. (That's not just interview-speak, but how I seem to be wired, for better or worse.)

So I've decided to find the right role in an existing company. Including a role I've had before, in which I'm thinking and operating much like a technical cofounder, but money magically appears in my bank account from the start.

I'm still curious what experiences and thoughts people have had with cofounders who were still in B-school, if anyone would like to share.

For example, does it always rely on having enough personal runway (or moonlighting) until the timing is mutually good to start executing and fundraising rapidly?

For another example, anyone encountered a situation in which the student needed to at least go through the motions of startup for an MBA program, but then wanted to do something else upon graduation?
by stickfigure | 2025-05-16 13:41:43+00:00
Tell them that their free trial is over and their company will no longer receive free trial keys. You can do that. It doesn't require a lawyer and it doesn't require threats. Just "We're glad you like our product! Unfortunately we can no longer support you with free trials." Be polite.

If they secretly keep getting free trials by pretending to be unaffiliated, then escalate to 1) blocking the fake ones when you discover them (very annoying to them, even if you don't get them all) and 2) as a very last resort, legal threats.

The goal is to get them onboarded as paying customers. Every other outcome is effectively a loss. You want to be polite but firm.
by benoau | 2025-05-16 13:42:00+00:00
Apple is the primary beneficiary by far of games like Fortnite because they allow and tax them in aggregate, even without Fortnite they offer thousands of games for kids to spend a grand or ten in. The legality of the tactics employed by the gaming industry, that can only occur with the platforms complicity, are being challenged in Europe which is hopefully going to end a lot of these practices and derail both Tims grifting off children and cultivated addicts.

https://www.beuc.eu/reports/game-over-consumers-fight-fairer...
by noworriesnate | 2025-05-16 13:43:07+00:00
Yeah the main problem is lack of awareness, not indifference to something people are already aware of. In-group preference is a self preservation instinct in this case, and I’m confident in people’s ability to understand that instinctively.

Not having in-group preference is like not caring more about your own mother than just any random older woman. Everybody cares about their mother, even if their relationship is strained. It’s the same in this case.
by AntiEgo | 2025-05-16 13:43:44+00:00
This is my experience travelling as well--Latin America has public transit that is an order of magnitude better than anything I've used in Canada or USA.

The success in s.a. highlights how much of a problem cars are causing in n.a. cities. Even if a well financed public or private bus service wanted to run frequent lines at rush hour, those buses would be stuck in slow car traffic. In nordic countries, the bus and trams have dedicated lanes, and mass transit is generally faster than cars.
by rmvt | 2025-05-16 13:43:51+00:00
honestly, i don't see bauhaus here. at least not at first glance. on the one hand, i'd say it's trying to go in the opposite direction, with this "expressive design" idea, whatever that means. it immediately makes me think of maximalism (which is the opposite of bauhaus). on the other hand, you can argue that there's more of an "artistic" take to this type of ui design.
by YouWhy | 2025-05-16 13:44:01+00:00
Hey, I've been developing professionally with Python for 20 years, so wanted to weigh in:

Decent threading is awesome news, but it only affects a small minority of use cases. Threads are only strictly necessary when it's prohibitive to message pass. The Python ecosystem these days includes a playbook solution for literally any such case. Considering the multiple major pitfalls of threads (i.e., locking), they are likely to become a thing useful only in specific libraries/domains and not as a general.

Additionally, with all my love to vanilla Python, anyone who needs to squeeze the juice out of their CPU (which is actually memory bandwidth) has a plenty of other tools -- off the shelf libraries written in native code. (Honorable mention to Pypy, numba and such).

Finally, the one dramatic performance innovation in Python has been async programming - I warmly encourage everyone not familiar with it to consider taking a look.