skysight-inc/HackerNews huggingface dataset:
From the experience of my one man big web project with 12 languages I had a hard time setting up a search that ignores things like éê from other languages in postgres while mariadb innodb just ignores it.
Isn't that a somewhat myopic view of what Linux should be, especially considering that its by far largest install base is billions of Android devices?

Linux isn't always running on devices that have a direct human interface, but when it does, it is arguably the most important function.
Powershell had potential, but it didn't pan out. It's annoying and very challenging to remember all the one-off flags.

With bash, you only need to learn 10 or 20 short commands and a few flag variants, over a gently long period of time. Then you're all set for 97% of cases likely to be encountered.
Unless the threshold is set high enough that only a few corporations could even possibly do it. Especially if they limited it further per industry.
World Liberty Financial
Maybe rather than a big info explaining that there's nothing to see, it could be a big info explaining that "source IP address" is useless as evidence of a crime, because, as this server and many, many other proxy services demonstrate, the IP listed as the origin is in no way guaranteed (or even likely) to be the actual origin of the traffic.

It's like raiding the home of the mail carrier because someone got drugs in the mail. Sure, it could technically be that the mail carrier is also a drug dealer. But when it comes to the USPS, the identity of who delivered the contraband package is not a useful data point for investigating the crime, and acting otherwise is willful ignorance.
Define bureaucratic.

If by bureaucratic you mean the same typical tropes about lazy government employees sucking off the taxpayers tit that's probably not what the person you're referring to meant.

If by bureaucratic you mean laborious and involving a lot of people thoroughly dotting i's and crossing t's then yeah, that's probably what the person you're replying to meant.
The same is true for HDDs or for any other data storage devices.

I have stored data for more than 5 years on HDDs, but fortunately I have been careful to make a duplicate for all HDDs and I did not trust the error-correction codes used by the HDDs, so all files were stored with hashes of the content, for error detection.

On the HDDs on which data had been stored for many years, only seldom I did not see any error. Nevertheless, I have not lost any data, because the few errors never happened in the same place on both HDDs. The errors have been sometimes reported by the HDDs, but other times no errors were reported and nonetheless the files were corrupted, as detected by the content hashes and by the comparison with the corresponding good file that was on the other HDD.
My understanding is that the VAT exists independently of Starbucks paying UK income tax or using various strategies to avoid doing so.

The object here is to avoid recognizing income in nations with a higher tax rate as much as possible.
I think that’s exactly the wrong impression I get. Private equity is going to cause them to quickly get to better profitability through price increases, layoffs, and reduced R&D.
Show HN: Semantic Bookmark Manager
Hi Hacker News,

I would like to share my new side project: the Semantic Bookmark Manager. This web application is designed to help users manage and semantically search for their bookmarks using the RAG technique.

Traditional bookmark managers can become quite disorganized and difficult to navigate as they grow. This tool offers a solution by eliminating the need for manual categorization, therefore simplifying the overall user experience.

It is open-source under MIT license

Thank you for your attention, and I hope you find it useful :)
> Grab ahold of tasks, literally. Place them in confusing, new orders. Make a column just for interns! Ignore the backlog forever.

I swear the Herald selling points also had keeping tabs on the pesky interns, or something to that effect.
> Absolutely. This is the worst job market for tech workers in probably 20 years.

Any sources for this? Asking out of curiosity—not disagreement.
"Please, for the sanity of those who come after you - make the code look like the existing code."

I think it's a great rule of thumb... but there are exceptions.

For example, Funnily enough I was reviewing some code just today written by someone else and that I'm going to be asked to expand on or maintain. It looks like this:

var example1 = Object;
var example2 = Object;
var example3 = Object;
...
var example147 = Object;

And then later there are corresponding variables assigned to different objects which are:

var tempExample1 = <some object instantiation>;
var tempExample2 = <some object instantiation>;
var tempExample3 = <some object instantiation>;
...
var tempExample147 = <some object instantiation>;

And this goes on and on. It's real special once we get into the real business logic. (and to be clear... "example1" are the actual names, I'm not just obfuscating for this comment.)

The reason it looks like this is because the original developer copied the examples from the developer technical documentation for what they were doing verbatim; this documentation only had one variable so the numbering was the way to get multiple variables. Knowing this system, they didn't have to do that, they could have very easily assigned meaningful names for all of this. (To be fair, the original developer isn't a developer but a consultant business analysist saying, "Oh yeah, I can do that!" to the client.... billing all the way).

I can tell you with great certainty and righteousness: I'm not going to make my code look like the existing code. I may well do some refactoring to make the existing code vaguely scrutable.

I appreciate that what I'm describing is an extreme case and not really what you or parent comments really were addressing. I just stop to point out that what you describe is a rule of thumb... a good one... but one nonetheless. And, as an absolute rule of thumb about rules of thumb, there are no absolute rules of thumb. Ultimately, experience and judgement do matter when approaching the development of new code or decades old code.
Clear snark aside, content piracy has pretty bounded risks so isn’t a reasonable comparison
> I see more people arguing that whys do not belong in comments either, that they can be embedded into LongFunctionNames or the names of test cases. Virtually all "self-documenting" codebases add documentation through the addition of identifiers.

Identifiers can go a _long_ way, but not _all_ the way. I personally am a fan of requiring documentation on any public methods or variables/fields/parameters (using jsdocs/xmldoc/etc). Having a good name for the method is important, but having to write a quick blurb about what it does helps to make it even clearer, and more importantly, points out obvious flaws:

* Often even the first sentence will cause you to realize there's a better name for the method

* If you start using "and" in the description, it is a good indication that the method does too much and can be broken down in a more logical way

People often think properties are so clear they don't need docs, then write things like:

/** The API key */
string ApiKey;

But there's so much missing: where does this key come from? Is this only internal or is it passed from/to external systems? Is this required, and can it be null or empty? Is there a maximum? What happens if a bad value (whatever that is) is used? Is there a spot in code or other docs where I could read more (or all these questions are already answered)?

This is stuff that as the original author of the code you know and can write in a minute or two, but as a newcomer -- whether modifying it, using it, or just parachuted in to fix a bug years later -- could take _hours_ to figure out.
It's an obvious cliche, but that "someone" is very frequently you. It's really easy to forget why you made some non-obvious decision and waste time poking at the exact same stuff you already did a year or two ago. It's happened to me several times.

When you figure out something tricky, leave a comment.
Yeah, jupyter notebooks don't guarantee any specifics about versions of code used for that output. In the real world you can expect everyone in the lab including all of the students to be editing jupyter notebooks at whim. The only way to do this would be to have proper version control and of your code, a snapshot of the environment, and to log all this along with the run that generated the output. This is possible with regular python using git, proper log files, etc. Jupyter notebooks seem like an extra roadblock.
Surely with storage being pretty slow and everything it would be better to compress it into an archive with really basic compression?
I’d say less. This acquisition screams that some MBA looked at their financials, saw money left on table, likely by not completely screwing over customers, and said, let’s do this! Think Broadcom/VMware on smaller scale.

You don’t put yourself in debt and replace the CEO unless you see some value not currently being realized.

They might even try license shenanigans but with GPLv2, not sure what they can do.
Just another example of impulsive and very poor judgment from Trump. Even though he had the right to declassify this image, his only reason to do so was to taunt the Iranians - Ha Ha, your rocket blew up. The Iranians likely corrected their issue and moved on whereas now our adversaries have clear evidence of our satellite capabilities and can adjust their behavior accordingly for years to come.
It is obviously real, here's the actual document hosted on the project2025 website: https://static.project2025.org/2025_MandateForLeadership_FUL...

Most Democrat voters have never read their policy documents, does that mean they don't exist?
NHS trust admits contaminated feed caused baby's death after decade of denial
Why must HN become a platform for unfiltered corporate propaganda? Brainwash somewhere else, please.
This code base has been sold like 3x now and is still around.
The saving grace of civilization is that, for the most part, terrorists are dumb.
Hate to break it to you but there are whole conferences, 100s books and indeed websites about this stuff. https://www.typewolf.com/resources
Maybe it might seem like nobody is talking about this but if you are designer/student you know about this
I know this is in jest, but I'll just take the opportunity to respond by posting my favorite poem. The relationship between it and your question -- well, that's for you to decide.

The birds have vanished down the sky.
Now the last cloud drains away.
We sit together, the mountain and me,
until only the mountain remains.

-- Zazen on Ching-t’ing Mountain
> the New York Times, an organization that is fundamentally pro-union in its politics

No, it is definitely not. NYT is neoliberal. Don't confuse the cultural left with the economic/social/fiscal left. NYT is not at all pro-labor. Other people have discussed this extensively in the comments below.
He already has Max. MaxDB sounds like good name tbh.
Don't, I'm working on a startup where you running them would be welcome (and paid): https://borg.games/setup
Is having your message be a different colour really a punishment?
I love that! Thanks for sharing that with me :) It made my day. Looking forward to the second part! If you're on really any of the current social platforms, I'd love to connect. I'm chipx86 everywhere.

I still develop Review Board full-time with a small team :) The development world has changed a lot, and much of the world has converged on GitHub (it's a hard market to be in right now), so we still look for opportunities to build review capabilities that target problems people have that aren't being addressed elsewhere.

Just as an example, we launched PDF Review and diffing a while back, which we see companies use for things like industrial designs and schematics. It's neat, we actually diff two rendered PDFs without just converting them into text files first, like you usually see. Following that up with full Office Document Review soon.

Dark mode finally shipped earlier this year (I should write about that endeavor sometime). And there's a couple of super-neat code review capabilities we've come up with that nobody's doing, which I'm keeping under wraps for next year. I think they're going to be pretty awesome.
I have a Samsung microwave with a really weird bug. If the door is just a few millimetres ajar, it turns on by itself. It's not just mine either, a lot of reviewers point out the same. It seems to be a design flaw. It's not a huge issue, since I'm not exactly in the habit of positioning the door in a half-open state.

My guess is that they have some broken/inverted logic related to the "turn off if the door is open" feature.
I would very much like to see an even faster "turbo" option because even though the current max speed of 1,000 tickets a second really drives home the point of how long it would take to actually win, I still want to see the simulation hit the jackpot a few times.
That's entirely in line with how I characterized the Democratic response to Cheney's endorsement. They still don't like him, but Democratic policy has been to reach across the aisle for most if not all of my lifetime -- so they'll accept that endorsement with aplomb.
Good ol' barter ...
Scale and ease of “sysadmin” level management for things such as clustering, replication, etc.

Some of that will be personal preference but I’ve never found administration of a Postgres database cluster to be nearly as intuitive as MySQL/MariaDB.
High paid workers are still workers and deserve worker solidarity. We have more in common with them than either of us have with owners and execs.

And agree with you along every one of those (except police, who are tasked with protecting capital).
I did enjoy the article.

People forget how influential the architectures these guys came up with were in the industry a decade ago. Its great to read about the human factors behind the advances.
I'll throw in https://github.com/mathesar-foundation/mathesar (disclaimer: I work on it).
Yes! This is what I imagine in my head as a real code review style, not the stuff Github does. Glad to have a name for it.

I'd add I'd also like my review system to be able to kick patches "out" of the review once they're ready. E.g., the small bugfixes that you make while working on that bigger feature should hopefully be small, isolated patches, ones that are going to find consensus with a reviewer quite quickly. Once that happens … I want to just eject that patch from the entire series & cherry-pick it to main, and rebase the review on the new HEAD. (Or, differently, rebase the latest version of the patch series on main, reordered such that the agreed patch is fist, and then FF main onto that agreed upon patch.)

Essentially, narrow the scope of the review to "the part we're still talking about", but let bug fixes see merging as soon as they're ready.

The argument I'd have against this is "just make that a separate review/PR". But then you get into the hairiness of patchset A depends on patchset B, until B is merged, then it just depends on main.
> I hate the current general trend pushing a position of an either absolute "yes/no" for any theme...
This is a very succinct dissection of the problems but I will add one more: PowerShell's frustrating behavior where any return value of a function call is part of the enclosing function's return value if not explicitly swallowed. I understand what they were going for by analogy with other shells here, but in my opinion in a language like PowerShell (with actual return values) this is unintuitive and makes it really easy to introduce bugs. The whole object pipeline thing they were going for feels like an evolutionary dead end that we shouldn't be saddled with.
I think you just proposed the ideal benchmark material for all future AI lip readings.
I make a living writing software that's hosted on Windows. I've never felt as comfortable with the command line options on Windows as I do with macos/Linux. Git bash with vim was such a relief.

It's an idiosyncratic mix of ergonomics and habit probably. I don't really care since I get the job done efficiently (more so than a lot of "Windows natives" I observe).
gitshell is a opinionated msys2 install. they just picked one of the variants and removed the package manager.

this could serve as a wake up call to msys2 maintainers. every time i install it, i have absolutely no f ideia what the 6 variant icons mean and I couldn't care less since all of them mostly work... (thankfully I don't use windows much to reach a point the difference matters?) it's very overdue they just pick one and keep the others with better names in a compatibility folder or something. also, a better name.
Swiss typefaces https://www.swisstypefaces.com/ have similar licensing and are one of the highest quality foundries period
>It's a pain to do so and it takes up a lot of storage space

The perspective is that in order for these actions to be ethical, you must log the traffic, or you should not bother setting up the node. It's irresponsible to setup the node (which takes some amount of effort) but not do the precautionary part which makes it ethical.

You can believe otherwise if you'd like, but this is an ethical framework applied to many other parts of our society and it's the thing that sets you apart from the ISPs, and generally it's the thing accepted by the public at large.
[dupe]

More discussion:

https://news.ycombinator.com/item?id=41499714

https://news.ycombinator.com/item?id=41502822
Ask HN: Is there currently a Linux compatible kernel being written in Rust?
Given all the brouhaha surrounding the stonewalling of efforts to support rust in the Linux kernel, are there any alternatives being written in rust?
Right, for Graphite $20/dev/month is nothing (I wonder if Enterprise is less or more more than that...), considering an ounce of review (prevention) is worth a pound of bugfixes (cure).

And when you can not get corporate to switch away from GH, then that is it. In hindsight an obvious way to (almost) print money, congratulations, but also a sad state of affairs.

But I imagine the $20k/yr is something you can easily spend on a 1/5 of a dev doing Gerrit maintenance.
> I have a lot less faith in corporations, businesses and entrepreneurs than you do.

I didn't say I had lots of faith in those entities. I just have even less faith in governments. Given the respective historical track records, I think that's reasonable.

> Those entities only goal is generating ever increasing profits, all else be damned, no matter the harm they cause to society and employees.

Some corporations, businesses, and entrepreneurs are like this. But many are not. The problem is that the ones that are like that are the ones who benefit the most from government regulations.

Also, your implication is that governments have better goals, like respecting people's rights--but those goals are an even worse description of what governments actually do, than your jaundiced description above is of what most corporations, businesses, and entrepreneurs actually do.
u can tell this dude loves algebra
> but as a user living very far from major datacenters on an unstable and frequently slow network, HTTP[23] have been the best thing since sliced bread. How it looks in practice is getting hundreds of megabits/s when network is under low load ...

The surprise is that some users aren't able to access your site if you enable HTTP[23], and those that can will have worse latency on average.

There's a trick that I use to download large "files" -- I use content-range and multiple parallel fetch() calls. Because of the fast (lower latency) start of HTTP1.1 this outperforms H2 when you can get away with it. People who don't want to use JavaScript can use https://github.com/brunoborges/pcurl or something like it.

> https://man7.org/linux/man-pages/man2/recvmmsg.2.html

Cool. I don't think it helps H3 because the other end will just block anyway (because it's Linux only and the other side probably isn't Linux), and it seems to be a little slower than recvmsg() when there's only a small amount of traffic so I'm pretty sure it's not going to help me, but I'll keep poking around at it...
We already have some pretty horrific and documented/accessible bioweapons.

This gets into the philosophy of restricting access to knowledge. The conclusion I keep arriving at is that we’re lucky that there don’t appear to be many Timothy McVeighs walking around. I don’t think there is a practical defense from people like that.
Official release: https://news.ycombinator.com/item?id=41500279
Yes being gay is illegal in some countries, but those governments don't have the ability to raid a German citizen's home for it.
I'm sorry, I come from an English speaking part of the world that uses swear words quite differently. (As is very common in pidgin English variants.)

The parents post was objectively sexist, and objectively highly sexist. Calling that out must be ok, apologies I dropped expletives, it's a cultural difference.

That said, it's very telling that the post says using expletives to call out sexism is bad, but there's not a similar chastisement of the sexism itself. (Which garnered no comment.) Is decorum more important than cleaning out obvious and odious sexism from HN?
Who said you would able to opt out? And the difference is 10k. Prices will stay the same or increase AND have ads and data exfil.
Uncanny, maybe ;-) It should be easy to ingest an RSS feed into your personal RAG system's vector database. Then set up speech to text and text to speech for your PrivateGPT so you can then ask it to create a podcast just for you
Neat optimization! Would it have been feasible to spend a bit of cpu/memory and tag headers as internal upon the request construction? That way filtering on output is trivial.
One of my favorites was something like:

> Phabricator is well received, and has raging reviews from users inside Facebook, such as "Mandatory" and "OK"

Also, Evan Priestley still uses the https://secure.phabricator.com instance to occasionally post life updates, so I check in on it.

Last I checked he was learning about PCB design and printing. I think he wanted to learn how to actually physically manufacture his own boards (e.g. etching your own conductive copper layers) and then he posted some update like "I'm not sure I'll go down this route, because it turns out you can send your design to PCBWay, and it will come back within 5 days, because there is a magical PCB Faucet somewhere in Shenzen apparently."

What a guy.
i think in sean's proposed world we'd have metadata about that too! the comment in the context it was written in would be available, as well as all of the surrounding changes that potentially invalidate it. as well as potentially a whole discussion thread about what they meant when they wrote it, and suggestions about how to change it.
We're working to move away from managing sensitive credentials in this way. Mostly by removing humans from the process and handling.

If this is the primary use-case, I would emulate something like bitlocker and enterprisey features for $
Fallback drivers existed, because how else would Safe Mode drive the video card so you can see something to operate the borked computer?

Also used when Windows doesn't have a specific driver yet, like immediately after a clean install.