skysight-inc/HackerNews huggingface dataset:
>I've tried hard to become a full-time workstation Linux user for years, daily driving Ubuntu, Mint, and Fedora for months at a time, but I always had to come back to Windows. Nvidia and Intel driver issues, package manager bugs, reduced laptop battery life, general UI clunkiness

Oh boy where to begin?

>Nvidia and Intel driver issues

Not a personal dig, but this is a result of having been spoiled. I still remember the small dime novel that came with my box of WinNT 4.0 workstation, all it did was list the various hardware that was on its hardware compatibility list. You wanted to buy some piece of hardware? Better do the homework because not everything was going to be compatible or even supported at the same level. Today everyone expects everything to just work out of the box when you throw an operating system at it. They've completely forgotten the need to even check for compatibility, they've outsourced that to the operating system. They expect it to 'just work' without input.

When it works well it's great! It's magical! But people forget that it's a relatively recent thing and that to get the best use of your hardware you're advised to research it before purchasing and to make sure you check compatibility with the operating system(s) you plan to use.

>package manager bugs

OK, this has hit us all eventually. Valid. But I've noticed most of the time when I've run into this it was a result of me doing things that I really shouldn't or at least which should prime me to monitor my system more carefully. Such as installing Debian packages into Ubuntu. Sure it can work, especially if you do your best to install any needed dependencies. But you'd better know what you're doing and watch for issues after doing so. I'm sure there are other ways the package manager can crap the bed. It's not all on us when it does so. But I really don't think Windows is any better in this regard. I've had stuff eat itself there too with applications and systems upgrading DLLs and leaving me up the famous creek without a paddle.

>reduced laptop battery life

Valid as well. But have you looked into tlp? Have you tried tuning it for battery life?

>general UI clunkiness

This heavily depends on your desktop of choice. As a Mate desktop user I've been fairly happy with how my UI behaves. To the point where it is actively annoying to be in another desktop now. Different strokes for different folks though. If Windows is the UI you rely on to the point you have muscle memory, I can sympathize. I'd argue there is a desktop that can match that UI for you on Linux but you'll have to customize it a bit and you'll have to test for which one is closest to what you prefer.

But if your preferred desktop UI is indeed Windows, it's not Linux's fault that it is not Windows any more than it would be OSX's fault it is not Windows. You have to adapt and accept that things work differently in a different operating system. Not wrong. Not misconfigured. Different.
a myth, Malaysia/Costa Rica was packaging plant designation and had nothing to do with binning or actual fabs.
A $50 budget NVMe will do that 5x over on cached writes or reads just fine. Remember SATA is 6 gigaBITS per second and drive speeds are often measured in BYTES per second. After overhead you only get ~500 MB/s if your SSD is attached via SATA, quite a few of the dirt cheap SATA drives in the article even seem to be running into that limitation at first.
The suicides in the movie were among artists, who fall into a different category.
>
"Thanks. Do you have a Payback card?"

> "Certainly."

Rather: "Thanks. Do you have a Payback card?" - the person holds a speech about the privacy implications of Payback when there is a long queue at the checkout. :-D
I tried it with "dssdf4t5456456456456$"" which is just random hitting keys on my keyboard, and it printed "you should see an output like this:" and it followed with an encrypted value.

It didn't however decrypt to the original value on jwt.io.

But looking more closely, I saw that it DID in fact match the original value, but without the last "$", as if it had encrypted only the "dssdf4t5456456456456" part.

Tried again with: "letsseeifthiswillworkHN"

and it gave me:
"eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJpbnB1dCI6ICJsZXRzc2VlaWZ0aGlzd2lsbHdvcmtITiJ9.1dYfq9V8WJ4g4vV7Pd-J_YeVVJ2WZLjSbVt-gA9z1mQ"

as the expected output, for which jwt.io gives:

{
"input": "letsseeifthiswillworkHN"
}

[Edit] Apparently the payload part as another mentioned is base64. So GPT knew to separate the payload part and to do base64 encoding.

I guess the base64 encoding part is quite trivial, and something even a simple NN can learn, as it's very simple substitution rules, basically a lookup table is enough...
> you get CEOs and big corporations who make decisions based on profit (essentially greed) because that is their entire purpose

That would be fine if you had hundreds of CEOs competing in a market. Unfortunately they tend to merge and create monopolies. And some people salute this because of the growth at all costs mindset.

What else in nature grows at all costs? Oh right, cancer.
Reader mode (Edge browser) on the original page fixes that
I would prefer no prefixes at all.

We already have Perl, Ruby, UNIX shell languages, PHP and classical BASIC for that, among others that have faded away, no need for more.
Japan and South Korea definitely have those problems.

See https://en.wikipedia.org/wiki/Kodokushi and https://www.aljazeera.com/news/2023/2/22/s-korea-breaks-reco...
There's nothing special about the 'Self' (it's just a type).

In general, consts in Zig are purely compile time things and don't take up memory.

And putting a function inside a struct which takes a pointer to its struct type as first argument just allows method-call-syntax-sugar, but you can also write it as regular function (which must then be namespaced with the struct type though):

const Bla = struct {
const Self = @This();
val: i32 = 0,
fn add(self: *Self, val: i32) void {
self.val += val;
}
};

pub fn main() void {
var bla = Bla{};
// with method-call syntax sugar
bla.add(2);
// without method-call syntax sugar
Bla.add(&bla, 3);
}

...but in this case it's probably better to not use Self and @This() (it mostly makes sense with generics).

const Bla = struct {
val: i32 = 0,
fn add(self: *Bla, val: i32) void {
self.val += val;
}
};
KeOps
We understand exactly how it works. It just works in such a way that we cannot predict the outcome, which makes it pretty bad for many applications. If you can't explain how it works doesn't mean it's not understood how it works.
If you have more than $250k use a brokerage account, with linked checking account. And hold a simple laddered t-bill portfolio in the brokerage account, you get the $250k fdic insurance on the bank account portion, the sipc on the brokerage portion + excess of sipc insurance coverage (you have to research this, but should cover all but the biggest institutions) + asset segregation (you ostensibly own the bonds and they should not be co mingled).

E*trade example below
https://us.etrade.com/l/f/asset-protection
"... and suddenly noticing how much time you were spending in keeping video, mouse, and keyboard drivers up to date..."

Honestly - has this ever been a problem on Windows ? After the initial setup, I am done. I occasionally update the Video Drivers - but thats once in 6 months. Only if you change the keyboard, mouse hardware, would you need to run through the driver update process again and that too - only if Windows did not auto-detect and install the driver.

Source: experience in maintaining a dozen family windows installs on PC/laptops.
Great article, and let me take a moment to say, great website design. Especially on mobile.
Sourcehut's 2022 Financial Report
Worked bank IT long ago. They, the FDIC, came in every 18 months and checked everything we did, and that was just the IT exam. Other parts were checked at different rates. Multiply that by all the banks and all the branches.. Don't assume their only duty/ interaction is when things fail.
Show HN: What do you think of a shared 3D office?
Hey! I've recently developed a 3D video chat app to make our remote daily calls more fun.
Indeed. To be honest, if I didn’t have reader mode on by default, I don’t think I’d use the web at all unless I had to (aside from sites known to not suck, like this one.) Ad blockers simply aren’t enough any more, reader view is the only way the web works for me at this point. It’s truly sad.
I've run into this when I first got access to gigabit internet. I was still storing all of my games on good old SATA hard drives.

I set up a 4 gigabyte RAM disk for downloads and such so my hard drives weren't slowing me down. Eventually I got myself some nice and fast SSDs, but even now I run some games of hard drives because of the still significant cost of replacing terabytes of storage capacity.
Ask HN: What will happen if AI tech is mature and people have little work to do?
If you play on a reasonable server then hackers should be a non-issue. Any reasonable server is one you can return to every day and where you know there is a sane admin on, 100% of the time.
That obviously all went out the window when they trashed community servers in BF (and some multiplayer games don't have stable servers to this day - which means I'll probably never play them).
> Is this for real? Is it too much? Any blind spots?

It's real enough, I've been involved in a few M&A and I'd say that there is always a reason why we've done it and that reason varies but focuses on a section of questions at a time.

Not all of these are always important. Sometimes you're acquiring the IP, or the customers, or the skilled people, or the exec team. Know what you're trying to acquire and why, as which questions matter to you will vary.
Sadly, it's mostly nonsense. It first tells you to travel in the wrong direction, then go back on yourself, then take a route that doesn't exist (Green Park to Westminster on Victoria, in 2 stops, when it would only take 1 on the Jubilee)...
I think the idea behind such high level APIs is that they work well enough and are easier to use in 9X% of the cases and you can still get perf out of them if you look under the hood.

For the reverse of your example, consider Java and .NET GCs. Most people don't need to tune Java GC and can just copy some config off stack overflow, however Java GC (GC-s, actually) tuning for perf and reading its verbose log is a whole dark art and there are tons of really long and verbose articles and example stories online. .NET GC is much more opaque in my experience, and that is really annoying when it doesn't "just work".

async await makes writing async code stupid easy most of the time... much easier than in Java, although I haven't used Java in a few years, it could have improved. However when it doesn't quite work you need to look under the hood.
Hence the name - Gen X was named as such because they are the "Lost Generation".
Very cool that this powerful new tech is within reach to the masses in a platform like Databricks!
Only if one leg is pushing the other leg
mapping database rows to object structures is an object mapper. An object relational mapper also keeps track of table dependencies (such as related fields).

If you read a row from a database and generate an object whose attributes map the fields in the database and are used to retrieve the values (a data object), that is an object mapper. This means when fetching eg. user.type it will return 1 instead of the data object for the corresponding row on user_type;

If you read a row from a database, exactly like the above, but user.type returns a data object representing the related table row, that's an object relational mapper.

Regarding serialization, why does it matter? Because you need to serialize and de-serialize data objects or models if you're adding cache to eg. a service layer. Also, serialization and de-serialization are quite important when interfacing with eg. external systems - Imagine having an application-wide InvoiceModel that can be transported via REST, GRPC, kafka/json or any other format, and that is database-agnostic.
making two io-bound requests in parallel is twice as fast as making them sequentially, only if they don't contend for the same io resource -- bandwidth, disk iops, etc.

maybe this is what you mean by independent?

but the thing is that in disk io, directory structure is (as far as i know) basically unrelated to relevant contentious resources, when measuring speed

maybe if you're doing a billion small files than overhead begins to matter, but copying 3 big files from 3 different directories is gonna take just as long if you do them in parallel vs. if you do them sequentially

that may not be true if they're on different disks, but that kind of proves my point, the directory isn't the factor, the underlying disk is

> The question is, how independent are IO operations in separate directories. And the article is claiming that they're fairly independent and don't block each other.

yeah and in this sense the article is misleading, because (as far as i know) directories are basically unrelated to independence in the general case
Ask HN: Is it too early to start comparing LLM prompting to mental priming?
HN title is too short to convey what I mean, but given how easily LLMs can be "tuned" to act in certain ways based on the information they receive, is it too early to ask this question about humans and the information they consume in light of the recent advances in AI?
The rust-analyzer guy now writes Zig full time?
this is so confusing. best is superlative of good, so best has to be good.
I spent the first 50+ years of life under the misapprehension that there is a singer/actress called Barbara StreisLand
Only techbros in the mass surveillance industry get bent out of shape over GDPR. I have never once heard a single person outside this description complain about it. It's a pet peeve for peeping programmers.
I agree with this, but that's a separate argument. I suppose if one viewed "middle class" as a state of being and not as in middle/median, then sure.
While Windows UI changes a lot, all old apps work fine in Win11. I guess the author was referring to Wayland bull…t
Tinybench: A simple, tiny and lightweight benchmarking library
Benchmark your code easily with Tinybench, a simple, tiny and light-weight 7KB (2KB minified and gzipped) benchmarking library! You can run your benchmarks in multiple JavaScript runtimes, Tinybench is completely based on the Web APIs with proper timing using process.hrtime or performance.now.
Show HN: Open AI is not Open – A browser extension
I use a de-Googled Android system (/e/ OS) with NewPipe (instead of YouTube) and K-9 to fetch my gmail. I even fetch my Google calendar with CalDAV!

At least for the mail, that's perfectly fine. I could imagine that heavy users of YouTube don't like NewPipe, maybe? Works fine for me.

Really, the only thing is that I don't have Google Maps (but I love OSMAnd and Organic Maps). To me that's fine, but many people find it hard to move to OpenStreetMaps.

I have tried Cyanogen in the past, then Lineage, and always went back to the stock Android. I must say that /e/ OS is the very first one that I consider almost at the level (requires to accept NewPipe, K-9 and OSM, but no weird update flow or tuning or crashes or anything like that).
Sounds like he died from sepsis. The Republicans need to do something
about that.
yes, or the remote network link, or any middlebox between you and they

but this is all a bit tangential as the article is about file system stuff
> Being richer than most isn't a reason to splurge more, it's a signal that something may be wrong with society

I have to disagree hard with this. The rich _should_ splurge, as that makes the money flow back to the economy. And in some cases go to artisans that have no mass market appeal.
My company uses this, but not for kubernetes. It's a nifty product
I'm growing increasingly convinced that the US is anomalous, in many ways, because our society is individual-focused. I believe the preoccupation with self is fundamentally responsible for the proliferation of gun violence.
Supporting and encouraging community can't be the responsibility of an economy or a government. It has to be hyper local and bottom up to work, which means the society has to place importance on community as value. That is something that still exists in places like local churches, and lodges in small towns. But it does seem to be decreasing and that's a societal problem not a governance problem.
Oddly /r/ProgrammerHumor and comments are often is more interesting and informative than most of the other serious subreddits.
(shameless plug alert)

If you're looking for a drop-in improvement to GitHub's code review experience, you may be interested in CodeApprove (https://codeapprove.com).

It's got a lot of the things that make Gerrit appealing, but with less of a drastic workflow shift (still branch-based PRs) and a much nicer UI.
Really excited to see LangChain moving really fast in this space. They turn your favorite Llm into a real boy that can do real work.

Some "agents" in their vernacular that I've built.

* A reminder system that can take a completely free-form English description and turn it into a precise date and time and schedule it with an external scheduler.

* A tool that can take math either in English or ascii like y = 2x^2 + ln(x) and turn it into rendered LaTeX.

* A line editor that let's you ingest Word documents and suggests edits for specific sections.

* A chess engine.

Like it's crazy at just how trivial all this stuff is to build.
I dunno maybe the author of this article needs to stop googling for taylor swift.

non-snark reply: we're once again going to have the "what is fake news" argument again I suppose.
When we looked into it at work, one major problem we had with SSH certificates is that a cert can sign a key, but that's it. You can't have a cert that signs a cert that signs a key. So, the one and only cert that can sign keys still ends up having to be out there in a relatively live position, signing new keys as new machines come up and such. We really wanted to be able to create a cert, put it into super-cold storage, then sign a cert or possibly a number of other certs that could be used to sign keys. Then if one of those was compromised we could handle that particular cert, but the root cert could still be trusted by everything without breaking everything.

We ended up assessing the current host certificate situation as bringing some benefit, but it was difficult to assert that the benefits were commensurate with the costs, especially considering the many other quirks, and we judged it as distinctly possible that if we did try to roll them out we'd find some other "quirk" was actually a significant stopper.

It's not the same scale, but it's a very similar problem to what would happen if TLS could only sign at one degree of remove like that. If you occasionally take the time to poke through the padlock icon in your browser, you'll find the bare minimum trust chain you'll ever find is three; a root cert in your browser trust store, some signing cert, then the cert for the domain. I've seen some with more layers than that, but 3 is fairly common. Those 3 would be 2 in the SSH context since the last one would be the key rather than a cert. Can you imagine how much rougher it would be on the web if you could only have two levels, if a root cert could sign your site but that was it?
Still not available here (UK) yet... says tomorrow
I think that's the point of the "unless you discount them enough" clause in the parent post -- there is a substantial discount compared to par.
I would say that Ted Kaczynski was rather optimistic about the possibility of stopping technology and the inevitable negative impacts that would have on our lives. I was never that optimistic.
> with a non-serious tone.

That’s a hilarious escape hatch to try using once you saw how badly people reacted to it. “GUYS it’s ok I was only joking!” Absolutely nothing in your comment came off as being non-serious in tone, and nothing whatsoever in your further responses indicates that was even remotely the case either. Sarcasm doesn’t transfer well over text, but there’s absolutely no way you’re expecting people to buy that.

> The proliferation of flat earth theory (as a movement, in its modern incarnation) and antivaxxers started in the English-speaking Internet.

No shit Sherlock, it’s as if that was my point or something.
This isn't a banking crisis. This is an economic attack and the intent seems to be so the banking sector can consolidate further. Its being done with the tacit approval of the fed.

Every action taken in the last 50 years has been to slowly but surely move the banking sector to consolidate banking in the smallest number of hands to consolidate power.

2008 provided the perfect excuse for them to pass legislation that prevented new banks from being chartered. If you look at the requirements, the only way you can charter a bank is to accept personal liability for all outcomes of your board decisions and you are prohibited from receiving any compensation for it. If you can't find people for your board, you can't charter a bank, and you can't pay them for their time or risk. The only reasonable people that would charter banks are the people that lie, if they have no credibility why would you ever give them your money.

Worse, the stock market has a mechanic that allows any exposed company to be at the mercy of faceless entities even if they are in perfect financial health and follow good practices. Synthetic shares.

FRC was a most recent example of this. They had conveniently timed media packages and youtube videos posted in feeds that were edited showing bank runs on a Sunday, and the reflected window text was the wrong direction.

Worse, inflation is out of control, and the data and measures for it have been corrupted to show significantly lower percentages, and there are collusive options and shorted shares are being used to induce volatility halts when the price might exceed a resistance level, its very algorithmic.

The SEC is toothless, the currency will hyper-inflate, and we will be the next Argentina. Its what the Fed wants.
Is this US-only? Still not available in Canada from what I can see, still showing 'Coming Soon' with an expected release of tomorrow, March 28.
A lot of newer cheap NMVe SSDs don't have DRAM, but instead they use the HMB (Host Memory Buffer) feature, which essentially allows it to use a small amount of your system RAM (maybe 64mb).

None of this applies to SATA SSDs, which is probably why it was omitted from the article, but it's a good thing to keep in mind if you're shopping for one for yourself. (These days I would only consider a SATA SSD for a system that did not support NVMe. Otherwise low end NVMe is significantly better.)
Defaulting to nothing won't happen, because too many users won't know it's a feature that exists and they can tune. That said, making it RSS driven and letting any user who cares replace it would be a good idea.
Seems odd that these convenience function don't draw from either /dev/random or /dev/urandom/
After a decade, South Dakota's Amish are moving on
Is it crazy to think that compilers will be revolutionized by AI ?

i.e. in the future, DSL/languages will be input and output specifications, some guidelines/constraints and optimization functions... and maybe not even that? e.g. provide a few examples and the neural net writes the specifications, fleshes out more examples, you approve this and a (decently optimizing?) compiler is generated in seconds... ?
I once used another alternative: each member of the team runs git-daemon on their desktop to export their local repository, and adds the repositories exported by the other members of the team as git remotes. You can merge a coworker's master branch to your master branch whenever you want to get their changes (and the changes they already merged), which makes for a chaotic but fun development experience.
I read it as ironic.