MurphyA/hacker-news huggingface dataset:
by LelouBil | 2025-05-06 04:13:34+00:00
I don't know if someone knows a better stack for my fleet of self hosted applications, maybe moving to quadlet would simplify stuff ?

Right now I have an Ansible playbook responsible for updating my services, in a git repo.

The playbook stops changed services, backups their configs and volumes, applies the new docker-compose.yml and other files, and restarts them.

If any of them fail to start, or aren't reachable after 3 minutes, it rolls back everything *including the volumes* (using buttervolume, docker volumes as btrfs subvolumes to make snapshots free).

I am looking into Kubernetes, but I didn't find a single stack/solution that would do all that this system does. For example I found nothing that can auto rollback on failure *including persistent volumes*.

I found Argo Rollback but it doesn't seem to have hooks that would allow me to add the functionality.
by nirv | 2025-05-06 04:13:45+00:00
Not sure about the moat, it's mostly a SvelteKit web app with extra utils after all. But it has a rather unique combination of advanced features (RAG integrations, workspaces[1], pipelines[2], code execution[3], MCP integration[4], etc.) and a user-friendly "production grade" interface. I've built a dependency for OWUI using many of these advanced features, and now I'm trying to figure out where to migrate with no obvious alternatives.

My only gripe with the project was the (exorbitant) size of the docker containers, especially for cases where you need a tool with no local models, just a gateway to third-party APIs. Now another and more serious one has been added.

[1] https://docs.openwebui.com/features/workspace/

[2] https://docs.openwebui.com/pipelines/

[3] https://docs.openwebui.com/features/code-execution/

[4] https://docs.openwebui.com/openapi-servers/mcp
by dundarious | 2025-05-06 04:13:47+00:00
Might not be an issue for your typical setup, but I suggest quoting your variable expansions in bash. Otherwise, spaces, etc., will lead to issues.

It would also make sense to use path after it is defined, instead of sometimes using `$1` again.

But I'm confused by `cd`ing into `$path` and then checking paths that are prefixed by `$path`... I assume that is an error, and you won't run it like `script.sh ./work/project` and expect a path like `./work/project/work/project` or `./work/project/project` to exist. Can just `cd "$1"` and be done.

Mildly surprised the .venv/venv check isn't an elif as well.

#!/usr/bin/env bash cd "$1" if [ -d ./.venv ]; then source ./.venv/bin/activate elif [ -d ./venv ]; then source ./venv/bin/activate fi exec pylsp --check-parent-process
Ask HN: Did Aliexpress stop shipping to US?
by olalonde | 2025-05-06 04:15:20+00:00
I was going to buy a component on Aliexpress and noticed this at checkout: "Item not deliverable to the selected country/region". Did anyone else notice this? Is this because the seller doesn't want to deal with possible customs clearance issues? I have previously bought from this seller without this issue in the past.
by skylanh | 2025-05-06 04:16:09+00:00
Back when I was invested into todo lists and the Android task list app I was using was still available (since archived by the author):

01 Today

02 Soon

03 Month

04 Scheduled

05 Later

09 Cancelled

other tasks lists like "1 SuperImportantProject", "9 Someproject".

Then discipline to recycle your lists, and force yourself to stay on list.

The key app features required: 1) multiselect and move between task lists, 2) easy, low friction task creation, 3) calendar and task integration for scheduled tasks
by DetroitThrow | 2025-05-06 04:17:26+00:00
>Every OSS project that reaches critical mass seems to believe changing the license to something source-available is the only option.

Far from, these projects are the exceptions not the norm imo. Even the ones that grow past hobbyist torch-passing. Usually the impetus for changing license involves a business who finds themselves in charge of very well-used projects that, despite their popularity, isn't all that lucrative to be the ward of.

So, I think there are better models than using permissive OSS as the license for the first few years of a project and then switching it out from underneath contributors/users.

From a purely business perspective, it seems silly to acquire a customer base who wants _free_ and agree to provide it, then rug pull them - and expect the inertia from the initial goodwill can carry the business for more than a few years. I've seen dozens of software businesses and projects die this way at this point, so I'm not surprised, even if the juice is only temporary it's seems well worth the squeeze for enough of these entities.
by jancsika | 2025-05-06 04:17:33+00:00
> No wonder that newspapers don't cite others... That's just an advertisement for their competitor.

Just read the CBS article linked by the author. As she mentions it always cited WaPo. And it now it properly cites her, too:

"The Rwanda arrangements were first reported by the Washington Post, which also cited work by independent journalist Marisa Kabas, who had uncovered the recent deportation from the U.S. of an Iraqi national to Rwanda."
by kmeisthax | 2025-05-06 04:18:21+00:00
Any time someone uses the word "sustainable" in regards to a FOSS project, I know they're buttering up the community as they plan to make the project not FOSS anymore.

In this particular case, it's not as bad as that, as Open WebUI is merely introducing a more onerous version of the BSD advertising clause. BSD 4-clause was considered a FOSS license but, in practice, demanding specific forms of attribution was incredibly problematic, especially in projects with multiple contributors. The attribution clauses in Creative Commons licenses are similarly if not more problematic; to the point where there is a cottage industry of copyleft trolls abusing pre-4.0 licenses as a way to rugpull people and coerce them into massive settlements.

Furthermore, the way this specific attribution requirement is written sounds like a possible future trademark landmine. Like, imagine if Firefox shipped with an attribution requirement that prohibited removing the trademarked Mozilla branding. That would effectively make the project non-FOSS because anyone who wants to use their FOSS rights is in a catch-22. Either you violate copyright and remove the trademarks, or you violate trademark by using your rights under the license in a way that violates trademark policy.

I'm also particularly not fond of the plan to demand CLAs and sell white-label licenses; my personal opinion is that you should almost never sign a CLA for a FOSS contribution. At the very least CLA signers should be getting paid a revenue share of the white-label licensing revenue.
by mock-possum | 2025-05-06 04:19:00+00:00
It’s really just another instance of ‘this is why we can’t have nice things’ - because the people who don’t have their shit together are always going to ruin it for the people that can handle their shit. And further, because the people who don’t know any better will fixate on one aspect or the other - drugs are the devil, drugs are god - AI is the devil, AI is god - because they’re bad at nuance and can’t just leave it alone.
by Dwedit | 2025-05-06 04:19:42+00:00
Adventure kept it small mainly by indirection. Each room has a pointer for its graphics, 4 exit locations, and the color/darkness flags. The game doesn't need to do anything special to handle most rooms, so that keeps the code size pretty small. And because it's using pointers to graphics data, room data can even start in the middle of another room's data, so things like a bottom barrier can become a top barrier in the next room to use that data.

The only real time you need to handle things specially is that some room exits are conditional based on whether Game 1 is selected or not.

Because it was so simple to reuse the rooms, there was enough empty space in there for the Easter egg. The "Created by Warren Robinett" sprite alone is a whopping 96 bytes of sprite data.

But you don't need all that much special code to get the Easter egg into the game. You define one additional room that reuses an existing room layout, and add one more sprite to the list of sprites. The sprite is pre-placed in the new room, as defined by the data that initializes all the game objects. The code for the dot mostly uses the existing code for objects, you can pick up and drop objects already, and the dot is no different in that respect. There is a little bit of added code for removing the right side barrier when it's in the correct sprite slot (easy to happen when three objects are in the room), and there's also a little bit of extra code to override the right-side exit for the room.
by fmxsh | 2025-05-06 04:20:09+00:00
I recently rewatched an episode of a popular show from my childhood, from he '80s,for nostalgia. In it, an interviewer asks a group of teenagers a series of questions regarding some sensational issue. The level of steady attentiveness and calmness they exhibited was astonishing, like literally focusing with eyes and body language on the interviewer for the entire discussion without flinching or turning awa, contrary to what today seem to be the "passive-hysterical" undercurrent of young people.
by donavanm | 2025-05-06 04:20:17+00:00
Most of the access youre describing is based on AWSServiceRoleForSupport https://docs.aws.amazon.com/awssupport/latest/user/using-ser.... You can see both the IAM policy and the cloudtrail access logs in your account. There are internal tools which use IdP + business justification (ex open support ticket for a specific service) before giving a human limited, predefined, access to that role.

Some services will have an internal “admin” tool that is limited to a smaller group with similar limited access + review mechanisms. IME those tools are generally built in to the service implementation and dont expose access via a similar service principal/role. The reduced customer visibility is mitigated by very restrictive access, like “team primary oncall + manager approval + high severity ticket”.
by ab5tract | 2025-05-06 04:20:26+00:00
This is totally ahistorical. Regional newspapers would “break” stories that would then get picked up by national outlets.

In that system it was the standard to reference the paper that first reported the story.

People understandably have a hard time conceptualizing a highly dynamic and diverse news media landscape these days, but back when it was working like it was supposed to —- before Clinton-era reforms destroyed the laws protecting against consolidation -— it was not as simple to suppress a story because you had actual competition who would profit if you didn’t.

In other words, news wasn’t always so distinctly “entertainment” and the rules which govern news items in a landscape of less than a handful of media conglomerates are nothing like what used to govern in a less starkly dystopian version of the same.
by a_bonobo | 2025-05-06 04:21:38+00:00
I think this is the reason why articles about recent research in 99% of cases don't cite the research itself past something vague like 'Researchers from Harvard University have discovered..'.

It's maddening when you then have to look for the paper using the article's few hints, but usually turns out that the paper's claims are far more careful/'smaller scale' than the news article's claims.
by thuwarakesh | 2025-05-06 04:22:02+00:00
Many of us don’t have a GPU, or our GPUs aren’t powerful enough to run LLMs. While you can use Colab or Kaggle to access their free GPUs, what if you want to run an LLM locally using only your existing hardware?

That’s why I tested LLMs on CPU and came up with this list of 5 that perform well for most tasks.

Try this on your computer and let me know which one you like. or which one you't think do better than these.
by 0xbadcafebee | 2025-05-06 04:22:21+00:00
Yeah, and also the post office has all of your mail (because they can/do scan it), and pretty much anyone can intercept SMS, only slightly harder to intercept voice calls on PSTN, and SMTP has always been unencrypted. Private databases sold to the government by corporations already have your job history, political affiliations, sexuality, etc.

Most communications throughout history have not been secure. Despite this, it hasn't been abused nearly as much as it could be. I'm not sure if it's because the scale is difficult, or the technical side, or nobody thinks to suggest it to the despots. It's probably a combination of things. Ironically we tend to fear the abuse of power when it doesn't happen, and then ignore or accept it when it does happen. So the fear/hang-wringing/jumping-through-hoops seems pointless.

I still believe that if you really are concerned about what you're saying, you should say it in a clandestine way. E2E encryption is like a giant red flag saying "I might be doing something shady". Asking grandma about her special cakes [when she doesn't bake] will fly under the radar unless someone is looking really hard.
by pizza | 2025-05-06 04:22:23+00:00
Think of it as generating a constantly streaming infinite list of latents. These latents are basically decoded to a tuple [time_until_my_turn(latent_t), audio(latent_t)]. You can train it to minimize the error of its time_until_my_turn predictions from ground truth of training samples, as well as the quality of the audio generated. Basically a change-point prediction model. Ilya Sutskever (among others) worked on something like this long ago, it might have inspired OpenAI's advanced voice models:

> Sequence-to-sequence models with soft attention had significant success in machine translation, speech recognition, and question answering. Though capable and easy to use, they require that the entirety of the input sequence is available at the beginning of inference, an assumption that is not valid for instantaneous translation and speech recognition. To address this problem, we present a new method for solving sequence-to-sequence problems using hard online alignments instead of soft offline alignments. The online alignments model is able to start producing outputs without the need to first process the entire input sequence. A highly accurate online sequence-to-sequence model is useful because it can be used to build an accurate voice-based instantaneous translator. Our model uses hard binary stochastic decisions to select the timesteps at which outputs will be produced. The model is trained to produce these stochastic decisions using a standard policy gradient method. In our experiments, we show that this model achieves encouraging performance on TIMIT and Wall Street Journal (WSJ) speech recognition datasets.

https://arxiv.org/abs/1608.01281
by kerkeslager | 2025-05-06 04:23:28+00:00
I've not been in a place with a functional transit system where fares were high enough to prevent disruptive people from boarding. I've seen rich people get onto Acela trains obnoxiously drunk.

I have, on the other hand, seen transit operators (bus drivers, mainly) kick people who had paid fares off for being disruptive. The definition of "being disruptive on the subway" does not seem to be the barrier you think it is.
by krick | 2025-05-06 04:23:54+00:00
Cool for a weekend project, but honestly ChatGPT is still kinda shit at dialogues. I wonder if that's the issue with technology or OpenAI's fine-tuning (and suspect the latter), but it cannot talk like normal people do: shut up if it has nothing to add of value, ask reasonable follow-up questions if user doesn't understand something or there's ambiguity in the question. Also, on topic of follow-up questions: I don't remember which update introduced that attempt to increase engagement by finishing every post with stupid irrelevant follow-up question, but it's really annoying. It also works on me, despite hating ChatGPT it's kinda an instinct to treat humanly something that speaks vaguely like a human.
by rashunain | 2025-05-06 04:24:31+00:00
Daily current affairs updates are available in English, including news headlines, GK questions, and answers. Overall, the Current Affairs 6 May 2025 covers a range of topics, including national and international news, sports, education, and daily current affairs quizzes. It is essential to stay updated with the latest news and developments to remain informed and prepared for competitive exams and other challenges.
by kmeisthax | 2025-05-06 04:25:21+00:00
The LICENSE[0] doesn't say that. That's merely Open WebUI's interpretation of their own license. Now, a judge would probably consider that estoppel, but you don't want to rely on that.

Using the license on its own, you effectively are saying:

- Don't use our branding to endorse your fork

- Don't remove our branding from your fork

The only way to satisfy both of these is to not fork.

[0] https://raw.githubusercontent.com/open-webui/open-webui/refs...

Also, they forgot to reformat the new clauses for 80 column text, which makes the license unreadable on the normal GitHub viewer.
by scarface_74 | 2025-05-06 04:25:24+00:00
I live a very commitment free life. Outside of work and my wife.

Our home in Florida easily converts to a short term rental (a unit in a condotel - https://www.investopedia.com/terms/c/condotel.asp) when we leave for longer stints. We did the digital nomad thing for a year around the US and in the next couple of years, we plan to alternate between Panama City Panama and San Jose Costa Rica during the winter in the US - their dry season.

During the summer, we might spend a month back where are friends and family are in GA.

The benefit of remote work. We have experience living out of two suitcases and picking up and flying random places and staying for a few weeks.
by waynesonfire | 2025-05-06 04:25:48+00:00
Or, it's just too good. Why did it take so long to have encrypted DNS? Another example, https, which uses tls for secure communication still manages to leak the domain name because the Server Name Indication in the ClientHello is sent in plain text before encryption is established. The solution, ECH, is no where to be seen.

The folks that read your e-mail and monitor your online presence do not want you to use these tools.
by mrlongroots | 2025-05-06 04:27:30+00:00
I'm not sure how any of these negate the broader point: filesystems provide a lower-level interface to the underlying block device than a database.

To say that that's not true would require more than cherry-picking examples of where some fileystem assumption may be tenuous, it would require demonstrating how a DBMS can do better.

> Not all devices use 512 byte sectors

4K then :). Files are block-aligned, and the predominant block size changed once in 40 years from 512B to 4K.

> Hum, no. Your volume may be a sparse file on SAN system

Regardless, sequential writes will always provide better write performance than random writes. With POSIX, you control this behavior directly. With a DBMS, you control it by swapping out InnoDB for RocksDB or something.

> Thats storage domain, not application domain

It is a storage domain feature accessible to an IOPS-hungry application via a modern Linux interface like io_uring. NVMe-oF would be the networked storage interface that enables that. But this is for when you want to outperform a DBMS by 200X, aligned I/O is sufficient for 10-50X. :)
by thuwarakesh | 2025-05-06 04:28:38+00:00
Creating a basic RAG app is easy. There are many tutorials out there.

But a RAG can go wrong in several different ways. That's why I use this seven-step strategy to carefully check every stage of a RAG pipeline.

This is not necessarily an extensive list. But often, it is sufficient to move your prototypes to production.

Have you tried any of this? Or do you have a RAG fixing technique I haven't mentioned here?
by Lerc | 2025-05-06 04:29:45+00:00
Well obviously, but the converse is also true. The source being illegal doesn't make your use illegal. In the eyes of the law it doesn't matter if something is better or worse, it's the law, it shouldn't be confused with morality. An act is illegal if the law says it is and isn't if it isn't.

Just by being involved as a party does not make you culpable. Murderers are criminals, the murdered, less so.

Choosing to be a party might not make you culpable. You may be an active participant but unaware of the law breaking (being defrauded). Or the law may explicitly state that you can engage with people committing criminal acts and reap the benefits so long as you don't break those laws (or encourage them to be broken) yourself. Some forms of journalism are protected in this way.

Ultimately to have a case you have to state.

1. What law was broken 2. How an action by a party is in violation of that law. 3. That the action actually happened.

The largest problem with this case is not that 3. is in doubt but showing which 1. and 2. they are talking about.
by yieldcrv | 2025-05-06 04:30:03+00:00
People generally don't want the Federal government involved, thats where the consensus has been lacking.

this is exhibit A of showing that these country sized states are fully capable of handling their own affairs and universal access to things, the same as the 21st century developed nations that do the same thing

You and the other parties actually agree that it isn't controversial, there are many funding sources if its deemed important, keep the federal government out of it
by dang | 2025-05-06 04:30:11+00:00
See https://news.ycombinator.com/item?id=43896978 for why we didn't do that.

Short version: it's not possible to have separate discussions in the way you describe. They would just get totally blended.

I like your Gmail analogy but I don't think it applies here. The "technical analysis" article is driven by the same political/security concerns as the "hacked" update.
by lhl | 2025-05-06 04:32:45+00:00
Maybe of interest, I built and open-sourced a similar (web-based) end-to-end voice project last year for an AMD Hackathon: https://github.com/lhl/voicechat2

As a submission for an AMD Hackathon, one big thing is that I tested all the components to work with RDNA3 cards. It's built to allow for swappable components for the SRT, LLM, TTS (the tricky stuff was making websockets work and doing some sentence-based interleaving to lower latency).

Here's a full write up on the project: https://www.hackster.io/lhl/voicechat2-local-ai-voice-chat-4...

(I've don't really have time to maintain that project, but it can be a good starting point for anyone that's looking to hack their own thing together.)
by dang | 2025-05-06 04:34:09+00:00
Quite possibly! Consistency in moderation is impossible [1]. We don't come close to seeing everything that gets posted here, and the explanation for most of these things is randomness (or the absence of time travel - https://news.ycombinator.com/item?id=43823271)

If you see a post that ought to have been moderated but hasn't been, the likeliest explanation is that we didn't see it. You can help by flagging it or emailing us at hn@ycombinator.com.

At the same time, though, we need you (<-- I don't mean you personally, but all commenters) to follow HN's rules regardless of what other commenters are doing.

Think of it like speeding tickets [2]. There are always lots of other drivers speeding just as bad (nay, worse) than you were, and yet it's always you who gets pulled over, right? Or at least it always feels that way.

[1] https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

[2] https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...