skysight-inc/HackerNews huggingface dataset:
NanoSaaS is a lightweight microservice platform for managing and tracking computational tasks. I built it in just three days, with minimal prior experience in web design or frontend development. ChatGPT was an invaluable guide throughout the process!

Key features include:
- Task management with Celery and real-time updates.
- Secure Google SSO authentication.
- A responsive frontend built with Alpine.js and Tailwind CSS.
- Credits-based task execution system for resource control.

This project is open-source and licensed under the MIT License

While the system works, the code might not follow all best practices. I've documented the known limitations and areas for improvement in the GitHub issues section.
tinybox?

Not sure how suitable this is for you.

https://tinygrad.org/#tinybox
Expand please. Last site of democracy (eu) under attack. Kind of important.
Indeed. I'm curious how much overhead there is in practice given the fact that the hardware wasn't designed to provide vulkan support. I honestly have no clue what to expect.
The process is introducing more room for bugs to somehow creep in. Damn.
I've also used it to make a function tail recursive, which is useful in languages with TCO.
They try to run some other attack on you. For something you dont have.

If more servers use the tool, they waste attacker's time. A bit like herd immunity
Termux should be supported soone4 from default.

No pkg package.
If it was the case that the way all attackers worked was to have one ready exploit and only scan the port on which that exploit could work, then why are there good guys even seeing port scanning at all?
While it is an important holiday for Christians, it’s widely celebrated by non Christians and most of the traditions predate Christianity as European winter celebrations. It includes bits of Germanic Yule and Roman Saturnalia celebrations, both which predate Christianity.
Maybe. The problem with a mass market rental outfit is that you end up passing out vehicles on a take it or leave it basis.

But I agree with the basic idea that specialty vehicles need to be in a separate category.
Can anyone recommend a CUDA equivalent of (2)? That’s a spectacular learning resource and I’d like to use a similar one to upskill for CUDA
If the pilots were aware that they had been hit by anti-aircraft defenses, and that they were in at least partial control of the aircraft, they might have concluded they were better off getting as far away as possible, just in case the AA operators try again.
You don't have to agree with it, but by giving such videos greater visibility you are certainly helping in amplifying its hateful contents, much of which is outright slander and vitriolic falsehoods.

I am an Indian currently living in India but have also lived in the US for a long time. Even with that knowledge i would never use such inflammatory language to describe the ills of either country. The person has an hateful agenda not meaningful to solving any problems and hence should not be tolerated nor given any publicity.
I'm not sure but a lot of people hypothesize that they will have to keep this feature for enterprise customers (not for UBO but other custom enterprise extensions that use manifest v2)
Patience, empathy, understanding and forgiveness.
Didn't say those are more inspired. At least Rust is long enough to not get ignored by the search engines. And some of the older ones have being older than the internet as an excuse.
There's no ack on a raw SSE stream, unfortunately -- unless you mean send an event and expect the client to issue an HTTP request to the server like a keepalive?
Interesting tool, but it generates false positives. Try Sherlocking some randomly generated usernames that cannot possibly exist and it will still return results for some of the URLs in its list.
Those are not incompatible positions at all. You can think great AI is around the corner and still dislike today's not-great AI writing.
Yup. I can't imagine that holds up today as a structural theory but the same conversation is there.
Is there an effort to get this underway? I’m no expert, but I would guess that the two expensive parts are the electron source and the vacuum pump. UHV chambers seem solvable, and detectors are probably cheaply obtainable. High voltage power supplies can probably also be cheap.
Genuine question… how?

Every time I’ve tried to run a standard Linux distro like Ubuntu for more than a couple of years I inevitably end up breaking something in a way that I can’t recover.

Are you taking snapshots to roll back to?
If I was a pilot flying into an at-war country I’d want my alternate to point in a different direction, the exact opposite course of the war zone ideally. Which this pretty much is.

And, to further that point, multiple airports you listed here are currently closed because of that war.
That is a property of society, not of the currency itself. Taxes pay for those things, and the US taxes economic activity in all currencies including bitcoin.
If you think ANF is great then explain how to deal with the transformation from "E (if x then a else b)" to "if x then E a else E b".
This, it works well in a service worker for example.
I'm building a website to explore Unicode properties in a way not seen before. A bit behind because I need to catch up on graph theory. stay tuned!
Tell HN: Check your old YouTube videos
If you're someone who has uploaded videos to youtube in the past, and don't want to lose them, give them a quick look now.

Many older videos on YouTube have been re-transcoded to a abysmal bitrate that throws away 90% of the video content.

This is especially important if your videos contain text content.

(Example: https://www.youtube.com/watch?v=22lfCWA43Q8 )

Just a friendly PSA to re-check your old videos, check your backups, re-upload or leave them bit rotted forever.
I'm not really worried about someone building on GPL in secret while waiting for the license to expire. They're still stuck ten years behind mainline. It's a pretty even playing field, and I don't think any side gets blown out.

If proprietary code had to be released read-only a year or two in advance of becoming public domain you'd have basically the same effect, but I would not expect the effect to be very big.
10k lines quick browsed the top 500 meanwhile all everyone cares about 2024 in the year of reducing costs is arm64 not distro flavor.
Presumably you try SSE, and on failure fallback to something else like WebSockets?

Push seems to require supporting multiple communication protocols to avoid failure modes specific to one protocol - and libraries are complex because of that.
>So... Security through obscurity?

This is not a valid criticism on its own.

Security through obscurity is bad when obscurity is the only thing stopping an attacker. It's a meme because obscurity is not a substitute for stronger security mechanisms. That does not mean it cannot be an appropriate compliment to them, however.

If I wanted to hide a gold bar, sticking it in an open hole behind a painting on the wall wouldn't be particularly great security. As soon as a robber found the hole, the entirety of my security is compromised.

If I put it in a safe on the wall, it's much more secure. The robber has to drill through the lock to get the gold bar.

If I put it in a safe behind a painting on the wall, the robber has to discover that there's a safe there before they're able to attempt drilling through it. Bypassing the painting is trivial compared to bypassing the safe, but the painting reduces the chance of the actual safe being attacked (up until it doesn't!)

Security should be layered. Obscurity will generally be the weakest of those layers, but that doesn't mean that it has no value. As long as you're not using obscurity as a replacement for stronger mechanisms, there's nothing wrong with leveraging it as part of a larger overall security posture.
The number was set while Apache was dominant and common deployments would get completely tanked by a decent number of clients opening more conns than this. c10k was a thing once, these days c10m is relatively trivial
The comments on this article take for granted that agricultural use of antibiotics is a key driver of the emergence of antimicrobial resistance (AMR). This is an intuitive and popular explanation, but the magnitude of this effect is not well established.

As an example, [0] is of the best reviews available on the contribution of non-therapeutic antibiotic usage in animal feeds to AMR. Despite the large amount of evidence cited, the authors can't conclude that a ban on animal use of antibiotic class X would lead to Y more years before resistance to X emerges/spreads.

It seems well established that banning use of certain antibiotics as a feed additive would slow the emergence of resistance, but that magnitude of that effect seems totally unknown. There is perhaps a strong precautionary principle argument to be made for banning use of medically important antibiotics as feed additives, but we should be cautious in making any firm conclusions about how much that would impact the medically useful lifetime of existing or new antibiotics.

In a similar vein, the idea that commercial prospects for antibiotic development are limited because agricultural use would cause fast emergence is not supported from what I can find. A very good recent paper [1] discussing failures of antibiotic development in the US in the last 20 years highlights trial, regulatory, and commercial hurdles as key roadblocks to successful commercialization of antibiotics.

[0] https://journals.asm.org/doi/full/10.1128/cmr.00002-11
[1] https://www.nature.com/articles/s41599-024-03452-0
Oh that is really fascinating, thank you. That has some really interesting implications for dependency management that I will have to think through. It sounds like that implies some really useful tree properties on dependency checking, like if the part of the program you are relying on matches a certain hash you don't need to check down the chain because you can be sure the rest of the nodes are as you expect.

Much appreciated!
1) finish EMT rookie book, become full EMT

2) understand and perform experiment power analysis, run several experiments

3) get certified on ski toboggans to at least blue runs

4) drop 30 lbs to survive #5

5) pass fire academy

6) learn enough android and ios to build UI to run several experiments

7) 1 pull-up
Let's do it in the cloud-native way. Here is prometheus exporter https://github.com/EvgeniiAl/piss-exporter/
https://news.ycombinator.com/item?id=42512172
> i can't sleep inside my extra cash or investments

Cash buys housing.

And housing is an investment.

They are interchangeable.
It's a great language.. and what makes it fun is the flexible nature of it..

I love the `x ||= 0` feature of the language, and miss it when working in elixir.

I also got to like the tailing if. `puts "hey" if x > 0`

Sometimes that things are pass by reference catches you buy surprise.

Now you can write efficient ruby, and structured algos too. The language isn't primarily used for this, but it can be done. Or rather one can easily write inefficient code. I've had a co-worker say "I don't write my code to be efficient." I (not liking the guy) replied. "It shows"..

Most times though (from a practical POV) I've found the code isn't the slow part of many apps; it's the data (database/file/api's). Still writing better ruby, with smart use of memoization and loops is a great boon.
Having to deal with police four times a day on average on the part of the journey through Croatia is insane. I’d have given up and flown to the next country.
I still want to let the author have the final say on if they decide to accept or reject the change, or modify it further. Editing the branch directly might cause some rebasing/merge conflicts if they’re addressing other peoples comments too, so I don't typically edit their working branch directly unless they ask me to.
I don't agree. If there are side effects happening which may be relevant, the section of code within a long function is executing in a clearly defined state (the stuff above it has happened, the stuff below it won't happen until it finishes) while the same code in a separate function could be called from anywhere. Even without side effects, if it's called from more than one place, you have to think about all of its callers before you change its semantics, and before you look, you don't know if there is more than one caller. Therefore the section of code can be reasoned about with much lower cognitive load. This may be why larger subroutines correlate with lower bug rates, at least in the small number of published empirical studies.

The advantage of small subroutines is not that they're more logically tractable. They're less logically tractable! The advantage is that they are more flexible, because the set of previously defined subroutines forms a language you can use to write new code.

Factoring into subroutines is not completely without its advantages for intellectual tractability. You can write tests for a subroutine which give you some assurance of what it does and how it can be broken. And (in the absence of global state, which is a huge caveat) you know that the subroutine only depends on its arguments, while a block in the middle of a long subroutine may have a lot of local variables in scope that it doesn't use. And often the caller of the new subroutine is more readable when you can see the code before the call to it and the code after it on the same screen: code written in the language extended with the new subroutine can be higher level.
They could've still been born in the dark ages if we didn't go through the industrial revolution and burn fossil fuels.

I'm sure they'd pick this world, with it's future.
Also cool: jujutsu remembers every previous state of all your changes. So you make some edits, run `jj status` (or anything), and keep working.

Two hours later you realize your experiment is a total failure and you wish you had the half-working changes from earlier. You don’t need to have actively commited anything, it’s all in the obsolte log and you can retrieve it.

I want to repeat that last bit. Unlike git, there was no point where you needed to finalize your changes with a commit in order for them to be persisted and archived for later retrieval.
I'd pick elixir over Ocaml. Same feature list, but it's a bit better in the documentation department.
I think Christmas is whatever one makes of it. Whether or not one believes it's a Christian holiday or Pagan holiday — celebrate/observe (or don't) how you like. My wife's family is Catholic and they believe it's a sacred holiday so they celebrate it religiously. Its origins aren't important to that effect. Many religious traditions can probably be traced to secular origins.

Personally for me, it's a good excuse to take time off work and hang out and feast with people who also have time off work. I personally think that (at least in the States) it's basically a Commercial Holiday, in that it just encourages over-consumption, consumerisation.
okay wtf this is amazing, seems usable with websockets too.

usage of Shared Web Workers https://dev.to/ayushgp/scaling-websocket-connections-using-s...

caniuse Shared Web Workers 45% https://caniuse.com/sharedworkers

caniuse BroadcastChannel 96% https://caniuse.com/broadcastchannel
Wasn't that Hertz reporting rental cars as stolen, because Hertz lost track of them and assumed that the last renter had never returned them?

This would be Hertz selling cars. Even if they later mistakenly reported them as stolen the buyer should not be at risk of jail because the car would be registered to the buyer in the state's records.
Further reading: "The Magical Number Seven, Plus or Minus Two" https://en.wikipedia.org/wiki/The_Magical_Number_Seven,_Plus...
Don't use custom repos, use container technologies (e.g. Flatpak, Docker etc) to install applications, update the system regularly (at least once a week).

Usually broken distro upgrades I see are because people run "curl randomdomain.ck/totallysafescript.sh | sudo bash -" to install things or use custom repos.
Can confirm. When you buy a car in Japan, the police will come to your residence and measure your parking space and confirm that you have the right to park there. If you buy from a dealer, they can go to your home and meet the police (instead of the buyer having to take a half-day off work or something.)

Note: you don't need to do this with a "light class" (kei) car; the ones with a 660cc engine such as the k-trucks.
I never said anything about wanting them to invest the same amount as nvidia or Intel. I think a handful of extra people could have made a big difference, in particular if some of them had the sole task of bringing their consumer cards into the support list.

It is so bad that they had major cards that were never on the support list for compute.

> You'd be paying interest that could be going to R&D.

Getting people to actually consider your datacenter cards, because they know how to use your cards, will get you more R&D money.
Steve Jobs on Joseph Juran and Quality (2014) [video]
Tell that to Disney and Star Wars
> If someone feels compelled to read every function either the functions are poor abstractions or the reader has trust issues, which may be warranted.

I joined a company with great code and architecture for 3 months last year. They deal with remittances and payments.

Their architecture leads are very clued up, and I observed that they spent a lot of quality time figuring out their architecture and improvements, continuously. They'd do a lot of refactors for all the various teams, and the cadence of feature development and release was quite impressive.

In that period though, I and another long-standing colleague made a few errors that cost the company a lot of money, like an automated system duplicating payments to users for a few hours until we noticed it.

Part of their architectural decision was to use small functions to encapsulate logic, and great care and code review was put into naming functions appropriately (though they were comment averse).

The mistakes we committed, were because we trusted that those functions did what they said they did correctly. After all, they've also been unit tested, and there's also integration tests.

If it weren't for the fortitude of the project manager (great guy hey) in firmly believing in collective responsibility if there's no malice, I'd probably have been fired after a few weeks (I left for a higher offer elsewhere).

---

So the part about trust issues resonates well with me. As a team we made the decision that we shouldn't always trust existing code, and the weeks thereafter had much higher cognitive load.
Compare dependencies:

GTK3 https://gitlab.archlinux.org/archlinux/packaging/packages/gt...
GTK4 https://gitlab.archlinux.org/archlinux/packaging/packages/gt...
and FLTK https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=fltk-...

If you build FLTK with Wayland support, then add deps: wayland, libxkbcommon, pango.
> tricky consumables like liquid nitrogen

LN2 costs like $1/liter-- it's cheap.
Some Hertz locations will also try to stick you with a Polestar 2 EV, which are as bad or worse. I've now switched to Enterprise for most rentals.
i guess since you have it figured out, will you please use your power to turn my cash into housing? i have cash and i need housing but it's been a struggle to find. sounds like you have a secret that could help me? thank you in advance!
code reviews that are too small, i think are worse than ones that are too big, and let through more bugs.

10 different reviewers can each look at a 100 lin change out of the 1000 line total change, but each miss how the changes work together.

theyre all lying by approving, since they dont have the right context to approve
AFAIK browsers require https with http2. This is a locally running server/app which will probably never have https. Maybe there is an exception for localhost, I'm not sure.
Public opinion IS an intentional and legitimate part of the rule of law in the US. That is why the jury is composed of peers, and has the ultimate veto power.

That's not interfering with the rule of law, it's conducting it.

Interfering would be the insurance companies using money to buy public opinion.
It’s literally an arms race. You make it more expensive for attackers to progress. Yes, security through obscurity is bad on its own, but it’s not necessarily useless as an additional measure.

For a similar concept, look at the delay you get after entering a password wrong to a login prompt: That technically does not add any barrier whatsoever, but it does make it much harder for an attacker to brute force the password.
China approves Tibet mega dam that could generate 3 times power of Three Gorges
hella nice mate very interesting

what's the x and y axes?
Having given up programming, what do you do now?
It's not just about one CEO.

Thoughts on why not to condone vigilante justice:

* You might have mixed feelings about one particular target, but what about emboldening all the people who would choose other targets? Think of all the mentally unstable people, with access to firearms, who believe the most ridiculous propaganda that's being shoveled to them, about being under existential threat from domestic enemies. Won't any surge of political murders presumably be by the sickest, stupidest, and shittiest people?

* What about ostensible threats against CEOs and other powerful people being used as a pretext to give them special protection by the state, and corresponding encroachment on the liberties of others? Could this elevate a fascist overclass even more?
The CLI is also pretty badly documented, or documentation is outdated.
1. Finishing a novel.. I finished a first draft of a novel a while ago. I'd like to finish another, and then take it to final draft.
2. Animation. With the skill of finishing my novel. I'd also like to animate it.
3. Voice acting. I'd like to be able to narrate said animation/novel.

Steps I'm taking. Write every day, Draw every day, Practice voices while I go for walks every day. (with my iphone/airpods recording me; so I look like I'm on the phone, not nuts.)
The commenter did not expound on any specific evidence that would suggest a bacterial lung infection. 2 weeks of malaise and non specific upper respiratory symptoms is not strong evidence of a bacterial pneumonia, sorry.

For external infections, observation by visible inspection is still evidence, a sign, not a symptom. So, not sure what your point is. Erysipelas is invariably diagnosed by signs, not symptoms. Very rarely are bacterial infections diagnosed by symptoms alone.
The “cost” includes all resources, including time. Some classes of attackers will be significantly slowed down by this.
Freemium, the small % of paid subscribers subsidizes the free users enough.
Didn’t the US Navy just shoot one of its own down yesterday? Bleep happens.
I was a bit disappointed that the article didn't go into the system calls themselves, since AFAIK those have always supported interleaved reads and writes with no problems even on early Unices. E.g. POSIX has this:

https://pubs.opengroup.org/onlinepubs/9699919799/functions/w...

After a write() to a regular file has successfully returned:

Any successful read() from each byte position in the file that was modified by that write shall return the data specified by the write() for that position until such byte positions are again modified.
One day, the world will rediscover functional programming. The absence of state mutation is a beautiful thing.
DMA will work fine. I remember a time when we were rewarded for making do with what we had rather than putting a handful of CPU cores on a sensor. These do not sound interesting to me, honestly. It sounds more like they can't figure out what they need to make.
You wouldn't happen to have a link to that would you? I'd really like to check that out
This is a big problem with reviews where the author is capitulating because they, with gritted teeth, acknowledge it's the only way to get the desired result (jumping over a hurdle).

So you blindly accept an ill-informed suggestion because that's the only way you can complete the process.