MurphyA/hacker-news huggingface dataset:
by mexicocitinluez | 2025-08-16 12:20:34+00:00
There are some tools that try to solve this (MartenDb, for instance), but I wish there was an easier to way to integrate a system where some parts us ES and some parts don't.

Almost all the tools I've seen are either fully event-sourced or have nothing to do with event-sourcing. There aren't a ton of in-betweens.
by lightedman | 2025-08-16 12:20:48+00:00
"This is not an opinion, I am speaking legally"

Hi, as former member of a board of directors, and also as a current shareholder in a company, you are wrong. The fiduciary duties owed to the company arise from the legal relationship between the directors and the company directed and controlled by them. The fiduciary duties owed to the shareholders do not arise from that legal relationship.

Try again when you actually graduate law school. Maybe then you can speak legally about something I do PROFESSIONALLY.
by dbuxton | 2025-08-16 12:21:02+00:00
I once lived in Moscow on a compound with an adopted rescue dog. The compound had a shock collar and invisible fence setup.

Moscow’s street dogs are renowned for their intelligence. I have seen street dogs taking the escalators on the Metro. This dog worked out not just that the beeping + discomfort was worth the freedom, but also that he could wear out the battery faster by going up to the very edge of the fence - where the chirps became an uninterrupted beeeeep - and as soon as the beeping stopped, whoosh he was gone.
by kotaKat | 2025-08-16 12:21:26+00:00
The stranger thing here is it's... a whole 27 brake horsepower. I don't even think there's a different part at play at all here, they just decided to figure out how to play with their throttle mappings and stuff and wanted to scrape an extra couple bucks out of the bottom of the barrel.

At least Tesla was using some sense of the "ship one battery and restrict it in software" for an actual tangible hardware good versus some software shenanigans in the VW camp (again).
by bbkane | 2025-08-16 12:21:41+00:00
See my comment above, but I'm in the same boat. Linux definitely has problems that need to be solved, but unlike Windows its less likely to "change underneath me" once I've solved those problems to my satisfaction. In fact, a Windows update breaking my desktop is what facilitated my switch to Linux.

I'm also more willing to solve problems in Linux. Because I primarily write web software, I've also found "Linux debugging" skills more useful to learn than "Windows debugging skills" - the Linux skills tend to translate almost directly to my career. And it usually feels worthwhile to contribute good bug reports/fixes upstream; in stark contrast to Windows OS issues (and some of the more popular Windows software).
by rpdillon | 2025-08-16 12:21:48+00:00
Just as an anecdote that might provide some context, this is not what I've observed. My observation is that senior engineers are vastly more effective at knowing how to employ and manage AI than junior engineers. Junior engineers are typically coming to the senior engineers to learn how to approach learning what the AI is good at and not good at because they themselves have trouble making those judgments.

I was working on a side project last night, and Gemini decided to inline the entire Crypto.js library in the file I was generating. And I knew it just needed a hashing function, so I had to tell it to just grab a hashing function and not inline all of Crypto.js. This is exactly the kind of thing that somebody that didn't know software engineering wouldn't be able to say, even as simple as it is. It made me realize I couldn't just hand this tool to my wife or my kids and allow them to create software because they wouldn't know to say that kind of thing to guide the AI towards success.
by igtztorrero | 2025-08-16 12:22:02+00:00
I completely agree with author. I am a development manager at a small software company (30 people) and what I have done to regain my productivity is to work focused from 8 to 11 am, in a empty hotel lobby, isolated from distractions, and have meetings with my team in the afternoon, having a contact channel in case of an emergency.
by Roark66 | 2025-08-16 12:22:27+00:00
7 is really good. I do something similar. I'm forced to use a windows laptop supplied by a client to connect to their network (and I shouldn't connect between my home devices and it). So I'm often working on Windows.

I tend to have (on two monitors): Built in monitor, any desktop- MŚ teams, Outlook and Notepad.

Second (4K) monitor, Desktop 1-tmux in WSL. Desktop 2-Web browsers Desktop 3-spare Desktop 4-My Ide (10+ Windows if vscode with WSL plugin) Desktop 5-Excel,Word etc.

AutoHotKey let's me change between desktops with win+X key (where X is a number) and moving an app to a specific desktop is only win+shift+X away.

I've been using a similar setup on Linux for many years, except outlook/teams is replaced by my Cctv window. The only problem is on Linux if you have focus let's say in desktop 1 monitor 2 (tmux in alactity), you them do win+2 to go to screen 2 into a browser(still monitor 2), you then press win+2 hoping to go back to desktop 1 alacritty... Your focus ends up on monitor 1 in the Cctv window.

This never happens on Windows. When I go back to a desktop X the focus stays with where I've left it.
by spicyusername | 2025-08-16 12:23:33+00:00
And then all we'll need is a federal government that's friendly to free trade and all of the domestic auto manufacturers will go out of business because they can't compete.

It might not happen this year, it might not happen this decade, but it will eventually happen.

Organizing your business in such an anti-consumer way is a huge liability, but executives who will have extracted all the wealth anyways will probably be long gone by then.
by scarface_74 | 2025-08-16 12:23:50+00:00
I have a very strict rule about any system I design or that I’m over against using stored procedures.

When I use to interview to be a developer at a company, it was always an automatic no for me if a company kept business logic in stored procedures and had a separate team of “database developers”.

As far as not doing joins in code, while I agree for the most part. GitHub itself has a rule against joining tables using sql that belong to different domains.

https://github.blog/engineering/infrastructure/partitioning-...
by anonymars | 2025-08-16 12:24:16+00:00
Steve Jobs found success by doing just the opposite: not accepting the status quo / accepted wisdom and disrupting it.

In this way Elon Musk is very similar. That gets you EVs where none existed and it gets you crappy self driving by eschewing LIDAR for cameras only. It gets you rockets that land themselves and it gets a flat concrete launchpad obliterated by the first Starship launch as others warned.

If you'd said merely "I think it was fear, more than arrogance" that could have been an interesting discussion, but instead you've been making it strangely personal throughout.

Frankly I dont care enough about Jobs to be "excited" or "laugh" or whatever accusations you are throwing around the thread -- they reflect more on you than on me.

Jobs was a flawed man, as are we all.
by AlecSchueler | 2025-08-16 12:24:25+00:00
> But what are the efforts to combat plastic concentrated on?

You've shifted the goalposts here. I was responding to the assertion "plastics were not a problem" and the implication that they still wouldn't be a problem if it weren't for "radical environmentalists."

You're agreeing with me that plastics are a problem but then creating a strawman in the idea that I believe current efforts to reduce plastic pollution are beyond criticism. I haven't taken this position.
by tialaramex | 2025-08-16 12:24:31+00:00
OneDrive is so persistent that on locked down systems where the whole concept is that the machine can only take exams, there's still a problem where Microsoft are like "Oh, do you want OneDrive?". No. Fucking no. They can't have OneDrive, they aren't entitled to OneDrive, and you couldn't install OneDrive if they said "Yes". Fuck off.
by giraffe_lady | 2025-08-16 12:25:04+00:00
Covid was the best time to get a yacht in living memory. IDK why small recreational sailboats are so associated with wealth, it's a very accessible middle class hobby and most of the people doing it are not particularly wealthy. If you can afford a second car you can afford a sailboat.

The problem with starlink for sailing is the power usage. Prime solar panel space is pretty limited on a sub-30 foot boat and the starlink hardware takes approximately as much power as everything else you would want to run combined (gps/plotter, ais, nav lights, radios). Unless they're releasing new hardware this won't really be usable except on large cruising boats, which are more of a rich people thing.
by placardloop | 2025-08-16 12:25:25+00:00
Your condescending appeal to emotion does nothing to change the facts. My family and I too lived through the winter storm, going multiple days without power. It doesn’t change anything about what I said. The national-vs-local-grid topic is a red herring, as even the non-Texas grids were without power. If you want to actually change things, you need to acknowledge these facts rather than letting yourself be controlled by emotion.
by ranger_danger | 2025-08-16 12:25:27+00:00
> This isn't about being “less productive” in the office

proceeds to spend entire article detailing how you're less productive

> I literally become a different developer

I don't see how... unless you're conflating productivity with somehow being a different person?

The whole thing is just a thinly-veiled product shill from the company itself IMO. I don't think it takes some proprietary software to tell most of us that distractions make it harder to focus?
by BoorishBears | 2025-08-16 12:25:39+00:00
a) I'm not talking about consumer cars, you are. I said very plainly this level of capability won't reach consumers soon and I stand by that. Some Chinese companies are trying to make it happen in the US but there's too many barriers.

b) If there was a $250,000 car that could drive itself around given major cities, even with the geofence, it would sell out as many units as could be produced. That's actually why I tell people to be weary of BOM costs: it doesn't reflect market forces like supply and demand.

You're also underestimating both how wealthy people and corporations are, and the relative value being provided.

A private driver in a major city can easily clear $100k a year on retainer, and there are people are paying it.
by Yokohiii | 2025-08-16 12:26:26+00:00
I've only once tried to use stored procedures in mysql and it was almost impossible to debug back then. Very painful. Average devs already have issues being smart with their databases and stored procedures would add to that.

Stored procedures also add another risk. You have to keep them in sync with code, making releases more error prone. So you have to add extra layers of complexity to manage versioning.

I can see the advantage of extreme performance/efficiency gains, but it should be really big to be justified.
by johnmaguire | 2025-08-16 12:26:53+00:00
> Seems tempting and it has the initial impression that it works, but long terms it’s just bad design.

This appears as an opinion rather than an argument. Could you explain what you find bad about the design?

In any case, I believe a DB per backend service isn't a decision driven by the frontend - rather, it's driven by data migration and data access requirements.
by mrec | 2025-08-16 12:26:59+00:00
The "OOBE" post-update prompt has become incredibly toxic. The last one even started blocking Alt-Tab so you couldn't get out, and demanded a Microsoft account password which I never use so don't have memorized. And of course I couldn't get to my usual reminders. If I didn't have a mobile handy as backup (which I didn't, until recently) I'd basically be looking at a bricked PC.

This is about as dark-pattern-ey as it gets. Pretty sure I'm going to be making the jump to Linux for my next machine, or on this one if W10 becomes unusable after EoL.
by safety1st | 2025-08-16 12:27:13+00:00
This article had a bit more ChatGPT in it than I needed, especially the second half.

But yeah, the core issue here isn't really the office, it's attention and concentration. I recently read James Clear's Atomic Habits and am now about halfway through Cal Newport's Deep Work.

I think all developers should read these two books in order to gain an understanding of the psychology of concentration. The TLDR is simply that it's hard to stay focused, minor distractions cost you more productivity than you think, and the effect is even cumulative over long periods of time.

There's lots of research on the topic and there are many ways to address the problem. They all fundamentally relate to carving out time for working without distractions, as much and as routinely as possible.
by slt2021 | 2025-08-16 12:27:24+00:00
just multiply the monthly payment by 12*6 (avg time to own a car) and imagine giving the full amount upfront to the dealer for the full horsepower.

I dont understand why people balk at car subscription for some feature, but perfectly fine with leasing a car => which is basically a car subscription driven to its logical end?

does it matter if you have to pay $700 to your bank for lease and separately $20 to VW for some feature?

would it matter if you had to pay $720 to your bank instead for full features???
by popularonion | 2025-08-16 12:28:04+00:00
Eh, I got my comp sci degree in the 2000s and for the most part we learned barely enough to pass the exams. Colleges weren't exactly churning out an army of disciplined professionals well versed in low level programming. Most of us ended up working on PHP or Rails or some Enterprise Java monstrosity.

Then came of the flood of Leetcode in the 2010s. If you memorized the top 100 interview puzzles, you would have had a good chance to get paid 5x more than a kernel or firmware engineer, and you could have ridden the stock market to generational wealth
by JKCalhoun | 2025-08-16 12:28:34+00:00
I loathe that model. I recognized it decades ago when, each year or so, Sony came out with a new phalanx of new televisions. They would have price points of high-end, less than high-end and moderate. What was frustrating was when the same panel (LCD) was used in a line up and the only features that differentiated the various price tiers were seemingly in the software. High-end might have picture-in-picture for example. Maybe that required a whole additional tuner? Maybe — but other features seemed like they were simply nerfed in the lower priced models.

It's as though, and now I know this sounds crazy, as though some bean-counter with a spreadsheet was actually the one determining price and features and not a team of engineers saying, "Here's what we can deliver competitively."

And while to a younger crowd, that might sound obvious, I would like to suggest that the older U.S. model (and now we're going back to the early days of the wireless, perhaps up to early Hewlett Packard times) was to beat your competition on price and features. You would never nerf a thing in your product line up.

Am I wildly off base here, naive, or have an ignorant reading of the history of U.S. Capitalism? I'm merely a layman so am happy to hear from someone who has studied this stuff.

A bit of a tangent, but I'm also reminded of the era when HeathKit was an option. My dad recalls at least that the HeathKit kits were not always inexpensive — but the completed consumer electronic project would be of very high quality. I know he but some of his early "hi-fi" equipment from HeathKit kits.

A recent headline decelared that China is run by engineers, the U.S. by lawyers. Perhaps it should have said the West is run by marketing.
by andunie | 2025-08-16 12:28:40+00:00
That's a nice compendium of tips and useful information.

I wonder if anyone can learn from this. I feel like I only understood what I already knew, or at least was very close to knowing. That's the same thing that happens with teaching manuals about any topic: they're organized in a way that makes sense and it's easy for people who already know the topics, but often very bad at teaching the same topics to an audience that doesn't know anything.
by Kuinox | 2025-08-16 12:29:03+00:00
Simple maths problems are simple logic problem. Here it doesn't even have to come up with a reasoning, it probably already memorised how to solve sums. Yet it fails at that, it shows it cannot solve logic problems if there are too much steps.

> All indications are that it will continue to become smarter.

I'm not disputing that, every new model score better at my benchmark, but right now, none truly "solve" one of these small logic problem.
by willguest | 2025-08-16 12:29:34+00:00
> You can't "stimulate" a country's representatives to care about something unless you give them an equally important incentive, carrot or stick.

I agree with this statement, and the reasons why they don't work, but also see it as lacking a systems perspective. Incentives are the result of system dynamics and, regardless of how they are wielded, do little to affect the protocols and structures that formed them in the first place.

My suggestion is that, by redefining the structures within which such discussions take place, new incentives will appear. This is anything but trivial and requires a solid understanding of both social psychology and international relations, but it is also not impossible.

If we consider consensus to be counterproductive, we must seek alternatives. Of the top of my head, one route could be to leverage the tendency for friend-shoring. This could involve grouping countries such that immediate impacts to profits are no longer shouldered by single interests. Those countries who possess both wealth and a greater sense of urgency could make side-agreements that allow for a kind of liquid-democracy within the final vote, similar to the way that coalitions form in countries that use proportional representation.

Another options might be to structure trade agreement such that externalities are re-internalised, forcing countries engaged in extractive processes to confront the impact that their activies make. Carbon credits have worked to do the opposite, acting as a lubricant that allow emission to be easily localised elsewhere and enabling an "out of sight, out of mind" mentality.
by sheepscreek | 2025-08-16 12:29:47+00:00
Yes but WHEN there is a conflict of interest, whose interest is put before the others? Within the confines of legality, companies have a lot of leeway when it comes to taking decisions that put customers and even their employees on the back-foot.

I did not say I am a lawyer - but that is a Supreme Court case any lawyer would be happy to cite in the court of law.
by stanac | 2025-08-16 12:31:14+00:00
One annoying thing about linux are drivers. They often don't work out of the box. E.g. fingerprint reader, screen brightness, audio too low. I tried multiple distros on multiple laptops, there is almost always some fiddling needed.

On the other hand corp forced me to move from pc to mac, hardware is awesome but I need to get used to software (keyboard shortcuts), it looks and feels like linux with drivers that actually work (I know it technically it's not linux, I'm just saying that it feels like it, probably due to history of unix/bsd/linux).
by acdha | 2025-08-16 12:31:17+00:00
That apparent problem goes away once you recognize that you’re using the word “censor” incorrectly in one case to draw a false equivalency. In the case of the right-wing behaviour discussed here, “censor” is the correct word because the term refers to an official use of power to prevent something considered politically incorrect or obscene from being available even though the publisher, librarians, and reader all thought they should be accessible.

In the case of the Dahl revisions, there is no official power being used to suppress individual preference. The publisher decided they wanted better sales for an older item, realized that things like anti-Semitism were unappealing to modern audiences, and created a new edition of their own property. Every part of that process was entirely voluntary and nobody’s purchased property is affected in any way – quite unlike the right-wing telling libraries to remove books with significant literary value which their patrons want to read.
by lodovic | 2025-08-16 12:31:56+00:00
But you can replace the ECU in a gasoline powered car, or the entire engine if you want. You may have to recode some of the parts such as the headlights and the airbags. Often you can use parts from other brands. But replacing anything in an EV is a nightmare: all the parts, motor management, battery management, charging controller are tightly integrated, signed, coded to the car etc.
by the__alchemist | 2025-08-16 12:32:04+00:00
Context: I've been using linux for 20 years, and do currently at my job. "Linux has many, fully flexible user interfaces that can be customized however you like." feels like a "you're holding it wrong", or "chose the wrong distro".

I don't want to go into the details, but I regularly experience UX problems in Ubuntu. Even things like reading/writing a USB port requires sudo, or editing system config files, which is wild to me. And adding a trailing newline to the config file in question will prevent your GUI from booting. Adding an item to the PATH is a combo of unintuitive, or filled with incorrect instructions (Including Go's home page CAO yesterday...).

Or, software I write can't be launched without using having the user go to the CLI, or creating a GUI-specific config file and placing it in a certain location. This leads to the line I hear regularly "You should publish your software on the distro-specific app store", or "You should only install software from the app store". Which immediately leads me to think I have a use-case mismatch.
by victorbjorklund | 2025-08-16 12:32:24+00:00
Not sure I agree. First of all it can be more performant. Say you fetch 1000 records. And we need to join on a table where these 1000 records just got 2 different foreign keys. Instead of joing in db and fetching a lot more data we can do two queries and join in app instead. Secondly, makes it easier to cache data. Lets say the thing we joing with almost never changes (like some country info) we can cache that and just join it with the data from the db.

Not saying this should always be the case, but sometimes it is the right call.
by dataflow | 2025-08-16 12:32:27+00:00
I'm no fan of open plan offices but the generalization from "me" to you" is a huge leap and not warranted by the sample-size-one experiment.

Maybe if you have a ton of distractions at the office, your current tasks frequently need intense focus, and you can actually get work done at home without talking to people directly, then you'd be better at home. That's not true for everybody everywhere all the time. If we're generalizing from one sample, then I for one actually don't have a ton of distractions at my open plan office, and I love to be able to talk to my coworkers once in a while. I don't usually get more work done or even enjoy doing it more at home, except in some rare scenarios. I still dislike the open plan office, but this isn't why. And the alternative I find better is an actual shared room office (where the supposed "threats" are presumably still there?), not being at home.