MurphyA/hacker-news huggingface dataset:
by gpm | 2025-12-20 17:46:43+00:00
That wouldn't actually mean no effect, you need 40% of people driving to test positive for it to be no effect. It's unlikely the population driving is equivalent to the population at large - for one there's a set of responsible people who won't drive while high. For another weed use isn't randomly distributed through the population but correlated with certain subsets, which probably have a non-average rate of driving just by coincidence.

(Not that it really matters since I don't buy for a second that anywhere near 40% of people/people-driving are high at any given time. I also don't put much faith in numbers in the abstract of a a yet-to-be-published study...)
by FrankWilhoit | 2025-12-20 17:46:53+00:00
The tipping point whether Tolkien's work was to survive occurred in the 1960s, before the emergence of most of the things that the author draws analogies with.

(1970: my high-school English teacher, inevitably asked his opinion of Tolkien, replied, "He's all right, if you like furry toes.")
by TheRealPomax | 2025-12-20 17:46:54+00:00
> When self-hosting makes sense: 1. If you're just starting out in software & want to get something working quickly [...]

This is when you use SQLite, not Postgres. Easy enough to turn into Postgres later, nothing to set up. It already works. And backups are literally just "it's a file, incremental backup by your daily backups already covers this".
by zbentley | 2025-12-20 17:47:45+00:00
That’s pretty reductive. By that logic the opposite extreme is just as true: if using managed services is just as bad as outsourcing everything else, then a business shouldn’t rent real estate either—every business should build and own their own facility. They should also never contract out janitorial work, nor should they retain outside law firms—they should hire and staff those departments internally, every time, no nuance allowed.

You see the issue?

Like, I’m all for not procuring things that it makes more sense to own/build (and I know most businesses have piss-poor instincts on which is which—hell, I work for the government! I can see firsthand the consequences of outsourcing decision making to contractors, rather than just outsourcing implementation).

But it’s very case-by-case. There’s no general rule like “always prefer self hosting” or “always rent real estate, never buy” that applies broadly enough to be useful.
by mmis1000 | 2025-12-20 17:47:48+00:00
There is way to create masonry without specifying x,y position of every element though. https://codepen.io/mmis1000/pen/gOyZJqE

Adding a new element still need dimension of the element and a bit JavaScript.(The whole page use < 100loc unobfuscated JavaScript) But resizing can be handled by css naturally.

I think the issue here is most people don't really have a good way to specify how masonry should work. And thus don't have a good implementation either.
by seanhunter | 2025-12-20 17:47:52+00:00
Yeah it’s a bit confusing. It’s also confusing when you see them written because they’re actually written usually with a nested subscript. Like

a n k

With the k smaller than the n which is in turn smaller than the a. Sequences of all kinds are just a function from the integers to the reals so I don’t know why we had to go and invent a whole new notation for them just to be extra obtuse.
by pixl97 | 2025-12-20 17:48:23+00:00
With this information alone, no we cannot tell.

For example if we took random samples of the population and tested them for marijuana usage, what percentage would test positive?

Next, this study is only talking about marijuana testing, how many of the same group also tested positive for alcohol (or other impairing drugs). Lets make up fake numbers and say 60% of total fatalities had alcohol or other impairing drugs and the overlap between them and marijuana use was 80% then marijuana is rather insignificant.

We have to have all the details so we don't fall into a base rate fallacy.
by Forgeties79 | 2025-12-20 17:48:40+00:00
> any sexual behavior, such as a paraphilia, that is regarded as significantly different from the standards established by a culture or subculture. Deviant forms of sexual behavior may include voyeurism, fetishism, bestiality, necrophilia, sadism, and exhibitionism

I don’t see Lesbian, Gay, Bisexual, or Transgender in here, which would absolutely be explicitly included in the list if it applied. Stop saying “sexual deviants” when talking about LGBT people. You know what you’re doing, it’s an incredibly loaded and inaccurate term. To continue calling them “sexual deviants” is a hostile and openly bigoted act. Bestiality and homosexuality are not in the same category and you are wrong to assert otherwise - all while masking it by misrepresenting the APA’s stance at that.

I am not discussing this further. Enjoy the rest of your weekend.
by mattmanser | 2025-12-20 17:48:43+00:00
Over 20 year I've had lots of clients on self-hosted, even self-hosting SQL on the same VM as the webserver as you used to in the long distant past for low-usage web apps.

I have never, ever, ever had a SQL box go down. I've had a web server go down once. I had someone who probably shouldn't have had access to a server accidentally turn one off once.

The only major outage I've had (2/3 hours) was when the box was also self-hosting an email server and I accidentally caused it to flood itself with failed delivery notices with a deploy.

I may have cried a little in frustration and panic but it got fixed in the end.

I actually find using cloud hosted SQL in some ways harder and more complicated because it's such a confusing mess of cost and what you're actually getting. The only big complication is setting up backups, and that's a one-off task.
by Terretta | 2025-12-20 17:49:07+00:00
The full screen thing -- have you tried saving the SPA to the home screen?

Together with some meta tags, that launches full screen and stays full screen, like an app.

The bashing on apple for this "to sell more apps" is nonsense, Apple originally designed and intended for HTML5 apps to beat Flash.

One of the earliest games for iPhone was PacMac, it was a SPA web app saved to home screen, it worked great.*

OTOH, in 30 years of web dev, I never got pages about raccoons to work either.

* Haven't checked this lately to see if they deprecated this.
by pinkgolem | 2025-12-20 17:49:14+00:00
>At a smaller business I worked at, I was able to use these services to achieve uptime and performance that I couldn’t achieve self-hosted, because I had to spend time on the product itself. So yeah, we’d saved on infrastructure engineers.

How sure are you about that one? All of my hetzner vm`s reach an uptime if 99.9% something.

I could see more then one small business stack fitting onto a single of those vm`s.
by colechristensen | 2025-12-20 17:49:58+00:00
You have HTTP logs tracked, you don't need to report them twice, once in the HTTP log and once on the backend. You're just effectively raising the error to the HTTP server and its logs are where the errors live. You don't alert on single HTTP 4xx errors because nobody does, you only raise on anomalous numbers of HTTP 4xx errors. You do alert on HTTP 5xx errors because as "Internal" http errors those are on you always.

In other words, of course you don't alert on errors which are likely somebody else's problem. You put them in the log stream where that makes sense and can be treated accordingly.
by notahacker | 2025-12-20 17:51:17+00:00
Denmark isn't "being a dick about decolonization", it's just that they happen to be very kindly subsidising half of Greenland's budget, which causes even many enthusiastic about the idea of an independent Greenland cause to think that leaving might be a mistake.

Conversely, the leader of the present day United States threatens to colonising Greenland by force to show off how powerful he is. Ergo Europeans, particularly Greenlanders, have little reason to trust the US
by hearsathought | 2025-12-20 17:51:51+00:00
> A reminder: the difference is that Japan has already failed in areas such as mobile internet, robotics, Fifth-generation computers, and space technology....LLM and so on. Japan is still clinging to the substantial profits of its internal combustion vehicle industry, and in battery technology it has fallen far behind.

So what?

> Japan clearly does not fall into this category.

A country that rose to become a major power in the 1800s. Got destroyed during ww2. Then rose again to be a mjor power.

> In fact, only China and the United States possess this mindset.

If that was the case, post ww2 germany and japan would not exist.

> Germany and Japan have small national territories, making it easy for them to fall into early industrial leadership and then rest on high-profit laurels without further ambition.

Have you no understanding of history prior to the last 10 years?
by ck2 | 2025-12-20 17:52:19+00:00
I live in a "working poor" neighborhood

50% of the people on this street get stoned before driving to work, every single day

dope isn't even legal here and even if it was DUI is wildly illegal

We can only cure this if we get serious about penalties because we can't undo murder and injuries

How about first time warning, second time weekend in jail, third time week in jail, fourth time month in jail, fifth time year in prison
by SecretDreams | 2025-12-20 17:52:44+00:00
Could we verify this against data? Surely if people are trying way worse post covid, that would show up compared to pre covid data by way of accident, fatality, and ticket issuances, e.g.?

To the OP, I'm not sure I buy into it being tied to THC which seems to be the implication. Canada isn't seeing this trend, afaik.
by jdejean | 2025-12-20 17:53:46+00:00
Around 1am Friday morning, a Make.com automation uploading YouTube videos to a website, began uploading dozens of YouTube’s latest videos. Despite querying a specific channel ID, YouTube API was returning any newly uploaded video. As you can imagine, the videos were pretty gross. I doubt this is related, but if so, we’re lucky it was a finance livestream.
by gretch | 2025-12-20 17:53:55+00:00
The running red lights thing is crazy. I think at it's height, I would maybe see 3 people do this in a single 20 minute drive.

And not like running a late yellow, but a full on my-light-is-green-and-there's-a-guy-in-front-of-me-sideways

It has dropped a bit now though.
by eterm | 2025-12-20 17:54:09+00:00
This might be controversial, but I'd say if it's fine after a retry, then it doesn't need a warning.

Because what I'd want to know is how often does it fail, which is a metric not a log.

So expose <third party api failure rate> as a metric not a log.

If feeding logs into datadog or similar is the only way you're collecting metrics, then you aren't treating your observablity with the respect it deserves. Put in real counters so you're not just reacting to what catches your eye in the logs.

If the third party being down has a knock-on effect to your own system functionality / uptime, then it needs to be a warning or error, but you should also put in the backlog a ticket to de-couple your uptime from that third-party, be it retries, queues, or other mitigations ( alternate providers? ).

By implementing a retry you planned for that third party to be down, so it's just business as usual if it suceeds on retry.
by frost_knight | 2025-12-20 17:54:57+00:00
I travel all over the United States to clients and build or fix their Linux infrastructure. A lot of time spent in clearance-required disconnected SCIF environments surrounded by grim faced men with guns. I didn't travel so much this past year, mostly assigned to several remote clients, but since 2017 I've typically averaged 200-250 nights in a hotel per year.

When I'm home I help operate a rabbit rescue.
by srirambhat | 2025-12-20 17:55:13+00:00
OP here.

I built this because standard accessibility tools (like the ones built into OSes or monitors) use a global color matrix that tints the entire screen. This works for images but ruins the contrast of black text (turning it muddy brown/blue), which makes reading long articles painful.

The Tech: Odilon injects SVG filters (feColorMatrix) into the shadow DOM, targeting only "semantic" visual elements (img, video, canvas, [role="img"]) while leaving text nodes untouched.

The Challenges:

Manifest V3: I stuck to vanilla JS for the content scripts to keep it lightweight and avoid framework overhead in the document_start phase.

The "CNN" Glitch: We hit massive compositing issues on sites with aggressive lazy-loading. The browser would lose the texture reference when applying SVG filters to standard DOM elements. I had to force GPU layer promotion using transform: translate3d(0,0,0) on targeted elements to stop the renderer from flickering.

It’s free and runs locally. Happy to answer questions about the V3 migration or the matrix math.
by xienze | 2025-12-20 17:56:09+00:00
> So until we have a valid method of testing if someone is “too stoned to drive” we have to push back on any attempt to classify marijuana users as ineligible to drive.

You’re not really going to win anybody over to the legalization side when you basically say that people can consume as much THC as they want and drive without any penalties because of testing limitations.
by pupppet | 2025-12-20 17:56:09+00:00
Lots of ways to do this but generally you attach a Lambda function to an origin response. If the path meets specific conditions (is 404/403, contains specific query string param) then run the Lambda function.

So imagine if you have:

original.jpg

Then just return it from the origin.

But imagine if you have original.jpg?size=150

Run the Lambda function (in this case a Sharp resize function) on the original.jpg file and return it. It'll get cached so the next time someone calls original.jpg?size=150 it just return the 150px width image without running any function as there was never a need to hit the origin.
by wredcoll | 2025-12-20 17:56:36+00:00
If this isn't the truth. I just spent several weeks, on and off, debugging a remote hosted build system tool thingy because it was in turn made of at least 50 different microservice type systems and it was breaking in the middle of two of them.

There was, I have to admit, a log message that explained the problem... once I could find the specific log message and understand the 45 steps in the chain that got to that spot.
by y-c-o-m-b | 2025-12-20 17:57:16+00:00
Before this year I had only seen 1 wrong way driver in 30 years. In the last year alone I've seen 6! I saw one person going the wrong direction in a round-about. Another person going over the inner portion of a round-about. People stopping in the road for no reason. It's insane. The strange driving patterns is indeed a major issue. I thought it was maybe a Gen Z thing, but often times these people seem to be between 30-50 in age.

Edit: no offense to Gen Z with my earlier comment btw. My reasoning was maybe we're failing younger generations with drivers ed so the blame would be on us anyway.

Also I've seen these strange patterns in many states in the last year+: Oregon, Washington, Wyoming, Idaho, California
by SecretDreams | 2025-12-20 17:57:39+00:00
Even though their sentiment is wrong, I get why they would feel that way. Marginally drunk vs marginally high certainly feel* very different in how they would impact my own ability to drive.

That said, I don't do either. I also wouldn't take any amount of weed while working, but I'd feel comfortable having a beer during lunch if appropriate (work lunch/celebrate, e.g.).
by mewpmewp2 | 2025-12-20 17:57:44+00:00
You are not the OP, but I think I was trying to point out this example case in relation to their descriptions of Error/Warnings.

This scenario may or may not yield in data/state loss, it may also be something that you, yourself can't immediately fix. And if it's temporary, what is the point of creating an issue and prioritizing.

I guess my point is that to any such categorization of errors or warnings there are way too many counter examples to be able to describe them like that.

So I'd usually think that Errors are something that I would heuristically want to quickly react to and investigate (e.g. being paged, while Warnings are something I would periodically check in (e.g. weekly).
by saltcured | 2025-12-20 17:58:30+00:00
Another complexity here besides syncs per second is the size of the requests and duration of this test, since so many products will have faster cache/buffer layers which can be exhausted. The effect is similar whether this is a "non-volatile RAM" area on a traditional RAID controller, intermediate write zones in a complex SSD controller, or some logging/journaling layer on another volume storage abstraction like ZFS.

It is great as long as your actual workload fits, but misleading if a microbenchmark doesn't inform you of the knee in the curve where you exhaust the buffer and start observing the storage controller as it retires things from this buffer zone to the other long-term storage areas. There can also be far more variance in this state as it includes not just slower storage layers, but more bookkeeping or even garbage-collection functions.
by VerifiedReports | 2025-12-20 17:59:14+00:00
A key-value store would be a store of one thing: key values. A hyphen combines two words to make an adjective, which describes the word that follows:

A used-car lot A value-added tax A key-based access system

When you have two exclusive options, two sides to a situation, or separate things; you separate them with a slash:

An on/off switch A win/win situation A master/slave arrangement

Therefore a key-value store and a key/value store are quite different.
by counters | 2025-12-20 17:59:28+00:00
> I find it strange. Clouds happen naturally. Contrails are mini clouds (literally a cloud chamber), are we saying that all those “chemtrails” are pollution?

Estimating radiative forcing is about measuring relative to a baseline. Here, the baseline is a world with no contrails. When you introduce contrails, you're introducing cloudy volumes predominantly made of ice crystals and occurring very high in the atmosphere. On the balance, these clouds re-emit more long-wave radiation (e.g. what' emitted by the Earth's surface) than they allow to escape the atmosphere.

Hence, these clouds have a small but positive net radiative forcing - meaning that aviation, by the way it leads to contrail formation, has at least this small radiative forcing on climate.

> As any object traveling through the atmosphere at that altitude, disrupting air, is going to form condensation and cloud trails. The more moisture in the atmosphere, the more trails.

Actually - it won't. We rigorously started studying contrail formation back in WWII when meteorologists tried to anticipate when bomber flights returning from mainland Europe might induce contrails and leave a path for intercept fighters to follow and shoot them down. As the science and understanding of vertical atmosphere thermodynamic structure and cloud microphysical structure has advanced in the ensuing 80 years, we have a much better understanding of when contrails are likely to form, versus when they aren't.

But don't take my word for it. Look up at the sky any time you hear an aircraft - sometimes you'll see a contrail, sometimes you won't. Contrails aren't a given when a jet flies high in the atmosphere.

(that's actually the entire basis for the Contrails/DeepMind team's work - avoid areas where contrails _are_ likely to form, to avoid that radiative forcing from the first part of this comment)

> Are we suggesting changing flight routes and wasting more fuel (which pollutes more) to protect the ground from these 0.0000001% reduction in light cloud trails? Seriously. I want to know the science behind how this plays out.

The science is pretty well developed at this point. You'd probably hit it in an undergraduate-level physical meteorology class. The missing detail that the Contrails team helped solve was improving forecasts of the key parameters involved here from weather models.

The whole point is that this is _another_ lever that flight planners could use to optimize their route planning. It's just one factor. It has trade-offs - although those trade-offs aren't always net negative (e.g. it's not a given that the "less contrail-y" route is also the "more fuel burn-y" one).
by LarsKrimi | 2025-12-20 17:59:38+00:00
Zephyr is a baby project. From the embedded devs I know they have only started seriously considering Zephyr in the last 2-3 years for commercial projects.

And you may call it inertia sure, but in the mid 2000's everyone was doing their own hardware abstraction. You had to get books and stuff because documentation sucked. MCU vendors seemingly made a point of making especially stuff like ADCs and timers very hard to abstract away between vendors.

Back then you had a choice of GCC/IAR/KEIL/CCS/Codwarrior and probably more. Each worse and less standards-compliant than the next, except for GCC/avr-gcc as was the key enabler of Arduino

All that text to say: The situation was different, and Arduino showed that there's a wider unmet demand for custom embedded stuff and that people will sacrifice a bit of performance for something that's easy to develop
GitHub Actions keeps timing out after 24 hours
by quisquous | 2025-12-20 17:59:40+00:00
I host my Hugo powered blog on Github Pages and I use free Github Actions to build and deploy it. Used to work great! Lately it's been timing out after waiting for a job runner for over 24 hours. I thought it might be a fluke, but this has been happening for over a week now. Am I doing something wrong or did Github break something on accident or did Github break something on purpose because they don't want me/us using their free tier anymore?
by zbentley | 2025-12-20 17:59:50+00:00
> Only if you like your data to evaporate when the server stops.

(Edited to remove glib and vague rejoinder, sorry) Then hibernate/reboot it instead of stopping it? Alternatively, that’s what backup-to S3, periodic snapshot-to-EBS, clustering, or running an EBS-persisted zero-query-volume tiny replica are for.

> the processing power and memory you can buy on OVH / Hetzner / co. is larger and cheaper

Cheaper? Yeah, generally. But larger/more performant? Not always—it’s not about peaks/autoscaling, it’s about the (large) minority of workloads that will work better on RDS/Aurora/Serverless: auto-scale-out makes the reports run on time regardless of cost; bulk data loads are available on replicas a lot sooner on Aurora because the storage is the replication system, not the WAL; and so on—if you add up all the situations where the hosted RDBMS systems trump self hosted, you get an amount that’s not “hosted is always better/worth it”, but it’s not “hosted is just ops time savings and is otherwise just slower/more expensive” either. And that’s before you add reliability into the conversation.
by FloorEgg | 2025-12-20 17:59:57+00:00
The seed of this thread was the premise that using these power tools requires skill. Skill that takes time and practice to become proficient at.

And my point was whether or not people take the time to develop the skill depends on their motivations, values and beliefs.

In this thread I have weighed both sides;, cases when LLMs are productive and when they are not.

Your comment comes off as biased and evidence of my point.
by SecretDreams | 2025-12-20 18:00:31+00:00
Yes, it would be useful. When controlling for variables, you normally want to compare against a baseline.

If 40% of the whole population has THC in them, we'd need a control population (maybe from earlier when thc was less prominent) to see if per capita deaths has meaningfully increased. I'd do the same study, tangentially, for tech workers to see if productivity has changed when controlling for other variables.