MurphyA/hacker-news huggingface dataset:
by backspaces | 2025-05-11 23:53:28+00:00
I wanted to create webdav servers hosted by glitch and cpanel. I ended up with exactly the same code on both, nice! Basically they both have node.js capabilities so I could use node.js webdav-server.

But then I got the bright idea of using deno deploy which I've used in the past and loved, even using kv rather than a file system. It works (thanks chat) but it basically required creating my own version of the node.js webdav-server. Kinda annoying.

The bottom line is that deno deploy is fighting a battle it can't win. Deno was the "better" node.js. And then it started integrating node capabilities, trying for a drop-in replacement of node. Nope. Sigh. I still love it for many simple projects but there's a reason node.js is, er, node.
by socalgal2 | 2025-05-11 23:54:12+00:00
No, rather I think I can scrape by for the few days it takes to get ahead of the curve for something as cheap as a burrito and then next month I can afford 5 burritos for every 4+interest I could only afford before. Paying for a PS5 or TV on credit I can see because it might take me months to save. But saving for a burrito is arguably something I shouldn't even have to save for in the first place.
by jsd1982 | 2025-05-11 23:54:52+00:00
I fixed a recent Y38 bug in some classic ASP code. The bug was nothing more than a simple `Date() + 5000` computation (adding 5000 days to the current date) as a sort of expiry date applied to something; I don't recall the exact details. VB6 did not take kindly to computing any date value beyond the Y38 max and threw an error. In practice this error ended up denying service to everyone even though the Y38 max date was 14 years in the future. You never know what little bugs like that are lurking in such legacy code.
by Tringi | 2025-05-11 23:55:02+00:00
It's a little more complicated if you are to be using themes, GDI and common controls. Some time ago I put together this example: https://github.com/tringi/win32-dpi

The high DPI support in Windows went through quite an evolution since XP, but mostly to fix what app programmers messed up. You can have nice and crisp XP at 250% dpi if you do things right, e.g.: https://x.com/TheBobPony/status/1733196004881482191/photo/1
by latchkey | 2025-05-11 23:55:38+00:00
I'm getting IG videos in my feed for a company that sells after market fixes because older Teslas have such poorly designed electronics, that they fail in common ways. The memory goes bad because they write useless logs to a chip, and it eventually fails. End users are beta testing...

https://www.instagram.com/reel/DINADISyP0f/
by bcoates | 2025-05-11 23:56:11+00:00
But if you read the article, it doesn’t? bnpl makes its money off charging merchants a few points higher service fees than cards, which for a lot of merchants is worth it to close the deal.

(Unstated in the article is that richer people with better credit have regular access to no-interest/negative fee consumer loans on the order of 6-18 mos., so they have no reason to use BNPL)
by nine_k | 2025-05-11 23:56:17+00:00
Game theory has an objection, your honor!

Some kinds of mores are more cooperative, and some are more destructive, and especially self-destructive. The good is usually associated with more cooperative and mutually supportive traits, and evil, with destructive. The good usually prevails in the long term because cooperation is more efficient than destruction.

So yes, there are objective correlates in good and evil traits, even though they are rather statistical than unequivocally causal.
by nomilk | 2025-05-11 23:56:17+00:00
That's awesome. Thanks for sharing.

First time hearing of the fetch() approach! If I understand correctly, regular browser automation might typically involve making separate GET requests for each page. Whereas the fetch() strategy involves making a GET for the first page (just as with regular browser automation), then after satisfying cloudflare, rather than going on to the next GET request, use fetch(<url>) to retrieve the rest of the pages you're after.

This approach is less noisy/impact on the server and therefore less likely to get noticed by bot detection.

This is fascinating stuff. (I'd previously used very little javascript in scrapes, preferring ruby, R, or python but this may tilt my tooling preferences toward using more js)
by rstuart4133 | 2025-05-11 23:57:28+00:00
> Strategically, Australia is more sympathetic to the US, but your trade with China is many multiples of your trade with the US. If you join the US you’ll have to raise tariffs against China and if you don’t you’ll naturally fall into China's orbit. Interesting times!

As an Australian, I'd put the odds of Australia imposing strong tariffs on anyone at very close to zero.

After we gave up on tariffs about 20 years ago we've seen only growth. We are one of the few (only) western economy to have not had a recession in that time. It's not something we are likely to give up on easily. Both the major political parties have firmly re-iterated a "no tariffs" policy.

As for "moving towards China" - I don't see much evidence of that. Australia is firmly rooted in the West. But there has been a change. Right now, I think it's true to say Australia is wondering if Trump's USA is as firmed root in the West as rest of the OECD is. I guess it's possible Australia may drift away from the USA as a consequence, but it won't be towards China. And it won't happen in the short term as Trump's USA is viewed as a temporary thing that will end with Trump.

None of this has much to do with the topic the paper is discussing. Australia has also been on the receiving end of China's industrialisation, so I imagine most Australian's would look on with interest and sympathy at the USA's attempt to undo the worst effects.
by ChrisMarshallNY | 2025-05-11 23:57:49+00:00
I never went to college (high school dropout with a GED). My "formal" schooling was a 2-year, intensive EET (Technician) course, at a trade school.

It had both good and bad traits.

It was very structured and rigorous. When you graduated, you were ready to go directly into full-time work at almost any organization (the NSA and CIA used to recruit from our school).

It stressed practicum, over theory, though, so you came out more as a "doer," than a "thinker." All of my theoretical stuff, I learned on my own, after getting my first job. I did OK with that, as I was fairly quickly promoted into engineering (and was introduced to "exempt" pay).
by thaumasiotes | 2025-05-11 23:58:20+00:00
> Viewed through the lens of a society that only paid up front in cash, what I do would be viewed as risky and irresponsible

Are you sure about that?

I would be surprised if a society that only paid up front in cash had ever existed. For example, "if you do something for me now, I'll do something for you later" is a much more basic form of interaction than "if you do something for me now, I'll give you this money" is.

Financing your meals isn't an exotic concept; it has normally been known as "running a tab". But running a tab involves periodic settlement of whatever the tab has run to. It isn't broken down into individual transactions each on their own detailed payment plan. This is something that doesn't make sense for small purchases.
by scrlk | 2025-05-11 23:58:21+00:00
As an interesting counterpoint to the idea of "just hire smart people and give them a lab", Ralph Gomory, head of IBM Research (a peer of Bell Labs in its day) from 1970-86 said:

> There was a mistaken view that if you just put a lab somewhere, hired a lot of good people, somehow something magical would come out of it for the company, and I didn't believe it. That didn't work. Just doing science in isolation will not in the end, work. [...] It wasn't a good idea just to work on radical things. You can't win on breakthroughs - they're too rare. It just took me years to develop this simple thought: we're always going to work on the in-place technology and make it better, and on the breakthrough technology. [0]

[0] https://youtu.be/VQ0PBve6Alk?t=1480
by lolinder | 2025-05-11 23:58:47+00:00
You and a few others are missing the point, which means I probably failed to communicate super effectively. Counterexamples aren't really a thing here because my point isn't that you do or don't need a framework for any specific kind of project, my point is that requirements vary and you can't talk framework vs frameworkless without talking requirements.

A blog is just one example of a place where frameworks don't help, chosen because the site OP shared is functionally the same as a blog. Other applications have different requirements and those requirements may also not benefit from a framework. Alternatively, the requirements themselves may actually have benefited from a framework and the authors chose to avoid them because the team preferred not to or because they felt strongly about avoiding frameworks because of personal preference.

In this case, this project has really one active contributor [0], so it's missing one of the key ingredients that in my experience really call for a framework: coordination between a large number of people.

(And lest I be mistaken: just because a project has a large number of people does not mean a framework would for sure be the best choice. I'm sure there are counterexamples to that too! It's just a hint in that direction, not an ironclad law.)

[0] https://github.com/mickael-kerjean/filestash/graphs/contribu...
by AngryData | 2025-05-11 23:58:52+00:00
A lot of HVAC companies have gone corporate now. Smaller companies are bought out and consolidated, higher paid and experienced personnel are let go, cheaper replacements are brought in that don't have much of a clue how to deal with older established systems, but they will definitely tell you if something is broke after you told them it was broke and offer to sell you a brand new system install that they don't have to troubleshoot with the skills and experience they lack and has a much higher margin than replacing a simple rollout switch or swap a new transformer or control board.
by yawaramin | 2025-05-12 00:00:01+00:00
> Why do I care what is written in Scala, how well it interoperates with the JVM, or whatever Scala projects are successful, when I am talking about how human beings talk down about another piece technology

There are always a few loudmouths in every community, you are making the classic mistake of judging everyone by that same brush. Most people using Scala are using it exactly because of the JVM, otherwise what's the point? There are great languages on other platforms too.

A few people use it to push the boundaries of what's possible on the JVM, and it is thanks to these people and the Scala team themselves that the JVM continues its evolution and the Java language continues to acquire more Scala-like features. It's not a zero-sum game, everyone is benefitting here.
by tgsovlerkhgsel | 2025-05-12 00:00:14+00:00
Legacy car companies haven't realized that good UX is no longer optional. If the system people use to interact with your car is unpleasant or unusable garbage, it ruins the whole car. Just like it doesn't matter how good your kitchen is if the waiter is rude and spits on the food in front of the customer.

And yet most of the companies don't seem to be willing to spend the one-time cost of getting the UX right.
by carabiner | 2025-05-12 00:00:28+00:00
> He will easily gross > 70k this year. Granted, this is in the Bay Area (so add some inflation there)

Don't waiters in the Bay Area make almost that much? This is not a middle class wage in that region.

Edit: Yes waiters make that much https://www.reddit.com/r/sanfrancisco/s/JlymaN4MPK
by cosmic_cheese | 2025-05-12 00:00:31+00:00
Nothing got my old iMac G5 whipped into a frenzy like loading a page that had Flash on it somewhere. I’m not kidding when I say that there were many areas in World of Warcraft, a full-fat seamless open world 3D MMORPG, that didn’t make its fans as angry as Flash could manage to.

I was so happy when it finally started to disappear. That kind of sheer disregard for my system resources is inexcusable.
by griffzhowl | 2025-05-12 00:00:32+00:00
> "Pagan" is a widely-accepted way to refer to Rome's old polytheistic religious traditions, which existed, but not unchallenged, around the first century.

Do you know for a fact that the library contained no mention of Jesus nor Judaism? If you don't know this, then why do you refer to it as pagan?

The point is: we have a Roman library from the first century AD. We don't know what it contains. To call it "pagan" tacitly assumes that (a) Christianity was not relevant to the collectors of the library, and (b) whether something is Christian or not is of primary interest whenever we discuss an artefact from the past.

We don't know whether (a) is true, and (b) is only true from a particularly dogmatic and insular perspective

Tbh, I'm struggling to understand what your point is apart from you're asserting that you view the world as centered on your own particular dogmatic tradition and you find it hard to understand why other's don't share that perspective
by magicalhippo | 2025-05-12 00:01:02+00:00
My Renault Megane e-Tech is basically this[1]. Well it's a 12.3" screen but if you're in the UK you can get the one with the smaller screen. Not sure why you'd want that though.

Anyway, it runs Android Automotive, but supports Android Auto and CarPlay as well. My SO uses the former exclusively and it's on as soon as she gets in the car, can't imagine it's any different for CarPlay.

If you run the Automotive shell, you can have a media widget at the bottom which can be set to radio, shown here[2], I listen to DAB that way.

It also has a row of physical buttons for the important stuff, like climate control, defrost and such. Media and volume controls are on the steering wheel.

[1]: https://www.carmagazine.co.uk/car-news/first-official-pictur...

[2]: https://cdn.automobile-propre.com/uploads/2021/09/megane-ren...
by const_cast | 2025-05-12 00:01:08+00:00
No you can definitely vote this stuff in, especially if you let capitalists extract money from vulnerable populations for long enough.

People have a misunderstand of protections or government spending. The New Deal isn't socialism, it's the perfect capitalist policy. If we never had the New Deal, there's a good chance we would be a socialist democracy today. We got really, really close.

When things get bad you have to throw people a bone in order to maintain the current systems. Our newest generations of the ultra-rich and ultra-powerful don't seem to understand that. Ultimately we, the working class, hold everything together. We're the majority and it's not even close.

If we wanted to change things for our own selfish benefit, we could.
by djoldman | 2025-05-12 00:01:57+00:00
This quickly devolves into semantics as you pointed out.

Do you mean that reasonably all people agree that murder, rape, pedophilia, etc. are bad? Aka if close to everyone thinks something, then that's an "objective" opinion? If so, that makes sense.

However, the parent comment may mean to say that wrong and right are qualities that humans place on things/events/communications... and I think that makes sense.

Physics/chemistry/math has nothing to say about vice and virtue.
by trollbridge | 2025-05-12 00:02:53+00:00
The restaurants where I am banded together against app based food delivery. The only ones that do are Pizza Hut, McDonald’s, and Subway, and those typically have a 25-minute wait since no local Doordash/Uber drivers live close enough. Ergo, nobody uses it.

The local independent Chinese place delivers and the local pizza places also deliver. (Pizza Hut’s own delivery is significantly cheaper than ordering it via Uber Eats.) Ergo, restaurants don’t have to deal with the rent seeking that siphons off profits, and money stays more local.

In a city an hour away, a local guy came up with his own food delivery service and eventually paid a programmer to make a simple app. You can now order from a whole bunch of places cheap. It’s amazing he’s stayed in business, but one thing he doesn’t do is rip off restaurants.
by thaumasiotes | 2025-05-12 00:05:17+00:00
> Thus, the double-edged sword of SDVs. They are more upgradeable and flexible than their predecessors, but that advantage allows companies to deliver under-baked software with a “fix it later” approach.

The article seems to overlook the fact that if you can receive a benevolent update over the air, you can also receive a malevolent one over the air. Over-the-air is not a good update model for cars. It would be better if you had to install the update manually.
by tom_ | 2025-05-12 00:06:04+00:00
It possibly isn't, and you can typically do without by telling VC++ to build without linking to it - though the compiler has a bad habit of generating calls to memcpy, so you may have to provide your own implementation of that (and hope the compiler doesn't spot what you're doing and helpfully replace it with a call to memcpy). But aside from that, it's easy enough. You don't need the CRT startup code; you can use WriteConsole to print to stdout/stderr; you can use LocalAlloc/LocalFree to allocate memory; there's a few string routines in the Win32 DLLs that are a bit like the C equivalents, if nothing in the ordinary Win32 API does what you want.

I used to be into this stuff and created a number of useful <10 KB EXEs this way. I'm not sure it's really worth it though! I started out writing code for computers where you'd have like 16 KB free RAM, and this wasn't much, but for most purposes you didn't actually have to sweat every single last byte. So on the same basis, now that even my laptop (which is over 10 years old) has 16 GB RAM, I am not massively inclined to worry about anything less than 1 MB.
by kjkjadksj | 2025-05-12 00:06:20+00:00
It begs to ask why a headlight ought to have a data connection and not just power connection like most other cars of say 20 years ago. But even then when does the arms race end? Someone given enough time can cake apart a car to access any piece of it. A slim jim gets you to the hood release and the ecu of a say 2000 honda civic in 20 seconds. Was this a real world issue however in the 2000s, people hacking into drive by wire early obdii era cars like the s2000 to assassinate them with misdirected inputs or whatever the threat vector might be? Not really. Old fashioned ways to screw with people are simpler and cheaper.
by lucb1e | 2025-05-12 00:06:42+00:00
> It sounds like poorly designed database queries with unindexed joins

Neither of those assumptions are correct. As an example, one page needs to look through 2.5 million records to find where the world record holder changed because it provides stats on who held the most records, held them for the greatest cumulative time, etc. The only thing to do would be introducing caching layers for parts of the computation, but for the number of users this system has, it's just not worth spending more development time than I already have. Also keep in mind it's a free web service and I don't run ads or anything, it's just a fan project for a game

> Google will ... demote rankings for that page (or the entire site!)

Google employs anticompetitive practices to maintain the search monopoly. We need more diversity in search engines, I don't know how else to encourage people to use something instead of, or at least in addition to, Google, besides by making Google Search just not competitive anymore. Google's crawler cannot access my site in the first place (but their other crawlers can; I'm pretty selective about this). My sites never show up in Google searches, on purpose

It's also not the whole site that's slow, it's when you click on a handful of specific pages. If that makes those pages not appear in search results, that's fine. Besides that it's not my loss, it's not like any other site has the info so people will find their way to the main page and click on what they want to see
by pnw | 2025-05-12 00:07:45+00:00
Yes, Titan was cancelled in 2024 after eight years of development. There's a good breakdown on The Information about why, it mostly boils down to software challenges (especially ADAS), leadership turnover and a fair amount of internal skepticism that it was even a worthwhile project.

Apple had a secret test track in Arizona, with buildings made from shipping containers. You can see it on Google Maps under "Chrysler Oval Track".
by pyrale | 2025-05-12 00:07:56+00:00
Prolog and haskell communities are pushing in very different directions, and just because one piece in the haskell compiler happens to do one thing that prolog does, doesn’t mean haskell users get exposed to prolog ideas, or even that said piece of software offers a good way to express problems like prolog does.

Sure, you could use haskell to express your problem as a type, aphyr style. You could also try to teach haskell concepts by having students write a haskell compiler in python.

You could also write arbitrary prolog in brainfuck if you’re obstinate enough.
by gruez | 2025-05-12 00:08:20+00:00
>Seems cloudflare checkboxes / human verification are very commonplace nowdays. Curious how(/if) web scrapers get around those?

You can get a real browser[1] to check the box for you, then use the cookies in your "dumb" scraper.

[1] https://github.com/FlareSolverr/FlareSolverr
by AngryData | 2025-05-12 00:08:43+00:00
My school dropped their shop classes about 20 years ago. Costs, potential liability, and a view that they were obsolete skills without value were cited as major reasons, but even for the last 10-20 years they did still have it it was 60% of the time just a class to throw kids into that didn't have the best grades and/or were bored of class work that they could be given an easy A in and push up those kid's grade point averages to try and secure more funding.
by tim333 | 2025-05-12 00:09:32+00:00
He seems a bit over negative on AI saying VCs are saying

>Just as “internet” evolved from buzzword to business backbone, AI is following the same playbook.

>No it isn’t! ... Stop saying dumb things!

Meanwhile the tech is cracking along https://x.com/waitbutwhy/status/1919870578502021257
by mdberkey | 2025-05-12 00:10:05+00:00
As someone with ADHD-PI, I've dealt with this as well. What's helped me a lot is using the GTD technique (https://hamberg.no/gtd) and making sure to add "respond to X" to my "In" list. It's not perfect and sometimes it still takes me a while to respond, but at least I eventually get to it.
by fernmyth | 2025-05-12 00:10:19+00:00
It is useful for humans if a farmer can lock in the price for their crop at planting time, rather than get a nasty surprise when they harvest. In financial terms, this is "selling a futures contract". It's also useful if the farmer sees a low futures price and chooses to plant something better. Likewise every producer and consumer of every crop, metal, hydrocarbon, etc.

Agreed that this author and the industry as a whole go too far in the direction of finance for finance's sake.
by kjkjadksj | 2025-05-12 00:10:30+00:00
There are plenty of cars on the road today where theft is as easy as splicing two wires together. And yet grand theft auto isn’t very common at all even with all of these cars capable of being stolen in 10 seconds are being parked unsupervised on just about every block. Seems there are other filters in the overall system of society that are effective in keeping these unsecured cars from getting stolen today.
by segmondy | 2025-05-12 00:11:41+00:00
I don't want to be sold to, I don't want anyone trying to dump my brain either. Let's say you are a total stranger and wanted to meet with me, there are 2 things that will interest me. 99% my interests. 1% you are doing something amazing. The thing is most people think they are doing something amazing, but most people don't find it so and it doesn't match their interest. Instead of trying to meet folks, put what you are working on out there and let people try to meet you, they will try to if they find it interesting enough.