skysight-inc/HackerNews huggingface dataset:
> You can load in whatever document you want as a source, and it'll randomly select chunks of whatever size you want

Can it also select chunks sequentially so I don't lose the plot?
The best RSS reader I used was back in 2006 I think it was and it was an Outlook plugin. It retrieved RSS feeds and displayed them as emails so ALL of the Outlook functionality (filters, read/unread, search) could be used. It was awesome. It also handled all RSS formats.
I think it’s a bit rude to call them old and grumpy for accurately calling out inaccuracies in the other persons comments.

The GPL’nes of it all didn’t even factor into the other posters comments about feature influence, and I’d argue that it’s not a factor in influencing Windows/Mac at a regular consumer level.
Yeah, but one can have many fulfilling connections with people who are no help to your business.

Yes, connections are a part of “worth”, but the money you can make off them (or through them) is not necessarily.
> Listen, if you're using Linux and you've never spent hours trying to find out how to install something or fix a problem deep in some obscure configuration file somewhere, are you even on Linux?

This is different from parent's statement that "things stop working".

I definitely spent countless hours with tweaks and fixes (although the pattern is radically different between desktop and laptop systems), but I've essentially never experienced that any component "stopped working".

There is only a single exception - an ethernet card that required a 3rd party package, and an update was buggy (later, the driver got upstreamed).

Based on my old desktop experience with Windows, it was actually inherently more unstable than Linux, as installers could do whatever they wanted - in Linux, package managers track the changes in the file system instead (to a large extent but not fully, although in worst case, excluding packaging bugs, the leftovers are just data).
>I think there is a good chance of a “soft landing” or a very mild recession in 2023.

I doubt the usefulness of pretending that there is not already an ongoing recession, or mucking around with redefining words that are essentially arbitrary but well understood.
Uber was operating as a loss during to its strategy of trying to kill competition and availability of free VC money. It would be better for economy long term if companies like Uber would charge market based prices.

And I waste a lot of time here and did not seen much bragging about working too little.
It's also a game of numbers. Back then, the world population was only 2 billion people. And a lot of their generation have died during WW2.
My biggest question is: who cares? Lot’s of people in this community (and the media) love to pounce on people and companies who don’t think the same as them. These people/groups talk about being inclusive right up and until the others don’t share their points of view. It’s exhausting

There are 1,000s of companies across the country do this very same thing without any fan fare.

Just stop it!!!
You could as well single out the average cost of a new car in the U.S. At $47K I suspect that too has fast outpaced inflation. I am not aware of an automotive parallel to a "housing crash" (aside from the obvious joke that, though it begs, I will not stoop to giving voice to).
I wish we put more energy into preventing Alzheimer’s and sharing what we know. There’s a lot known about populations that barely get it and lifestyles that have reduced occurrences of it.

There’s just no/limited money in prevention
2 quarters
I'm going to learn how to build models for CAD. Probably going to use FreeCAD and have the files mail-order 3D printed.
Sure, but I'd argue that the most useful way to talk about this is, especially to the rest of the world is START WITH:

"Linux is awesome and this is where all the good things in computers come from"

Start with that carrot. Yes, it's reductive and an oversimplification. Do it anyway.

Later on, you can get into the "actually's," -- actually Unix, actually GPL, actually GNU/Linux, actually Android isn't, blah blah.
In the simplest case, you take an async function, remove `async` and `await` keywords, and as a result you get a normal function which you can call and get a result without awaiting, which has better and more predictable performance, and a straightforward stack trace (and a simpler language syntax and semantics). All upsides, no downsides.

Probably you can think of a more complex example where it’s not that straightforward, please link code that you have in mind, we can see how with cheap threads it could be made better.
> Wasn't twitter supposed to stop working by now? They are still functioning, despite the layoffs. Maybe it worked?

It is mostly because the people left are working twice as much, long hours, holidays, weekends. And if you actually use the app, half the things aren’t working. Plus, your argument is more like “I fired the gardener after he tended the yard, it’s been a week, the yard looks just fine. Maybe I didn’t need the gardener?”
Don't Loop, Iterate (1990)
I can't believe how hostile some of the comments here are towards Linux.

We get it! You guys like big tech overlords and you're too comfortable with using whatever spyware they have these days but Linux has been working great for many of us for years and we have no complaints.

Those of us who use Linux appreciate it for what it is, not for what it can be.
If you want to learn from source code, source available is all you need.
Not IPv6 specific, but I can't recommend Networking for System Administrators by Michael Lucas highly enough. Very well written and easy to understand.
Kafka (KRaft) Cluster Running on Systemd-Nspawn
Hey all! This is the first in a series of 'recipes' I am writing demonstrating how to use `systemd-nspawn`/`machinectl` to containerize services for either production or development.

I'm personally optimistic about Kafka'a new KRaft protocol and am excited to see it gain independence in the ecosystem, so I started here.

If anyone finds these interesting or helpful, I would be curious to hear what other `systemd-nspawn` style containerization examples people would like to see!
I think the reality is that programming is not as intellectually challenging as we'd like to think. Maybe we will encounter a hard problem occasionally if we're lucky, but most of them are already solved. As programmers, we just need to pick a solution with good tradeoffs. In fact, understanding the tradeoffs is usually the hardest part.

And yeah, the industry very immature: it is idealistic, hype-driven and full of cargo cults. Which makes perfect sense: when you convinced yourself that you are a great intellectual, but all you do is building REST APIs, this makes you uncomfortable. So the next natural thing to do is join a cult. Maybe even start preaching. This gives you a sense of superiority you've been looking for.
YouTube TV is more expensive once factoring in the premium sports and cable networks I subscribe to. And they don't even bundle internet access with it /s
Personally I think (I don't do!) I'd rather go harder/faster/longer less often. Getting ready for and then showering etc. after such a brief activity every day is just annoying isn't it?
we dont even know if they are actually involved in causing the impairment, but you can bet thats what big pharma will try to sell you 20 years ahead of old age.
We are there though. Currently there is no need to use docker to run containers natively in many OS. Systemd nspawn, rocket, cri-o accomplish the same workflows with tight OS integration.

We don’t hear about them that much, but almost anyone using k8s is not using docker at this point.
> I have not done a study on this, but it seems like every prediction I come across is just wrong .

Appealing to your sense of whether predictions are correct is a conversation starter at best. We can track forecasts and see how accurate they are.

Anyway, here are two IMF working papers:

https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&c...

https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&c...
I think it's likely just tribalism. There is no nuance to the comments, which is a hallmark of tribalism. A more nuanced discussion might make some key basic concessions:

- Windows will have better support in most cases.
- Linux users might need to be more technically savvy in most cases. (although most PC gamers are probably technically savvy enough to _use_ linux.)
- Windows will usually (but surprisingly not always) get somewhat better performance than Linux in gaming.
- etc.

A more nuance discussion might then state that all things being equal, Windows is usually the better gaming platform, however Linux is perfectly viable, particularly if your operating system concerns come before your gaming concerns.
You need to realise that weight bearing exercises (this means running, walking etc) are good for bone health. Low impact activities like cycling don’t give your bones the right stimulus to stay strong. And as the other commenter has said, the impact damage is probably in the minds of people who say that running does then damage but in reality it doesn’t do damage, it is actually a benefit to bones and joints.
> "The use of TLS for QUIC does not imply or require the use of the Web PKI"

Handling certificate revocations (which would be needed to "ensure security"), does indeed imply the use of some way to check for the revocations in a timely manner. The revocation lists themselves can be tampered-with.
I find running hurts my knees so I cycle. Similar benefits but I see more nature and protect my joints.
You know people gotta be pedantic on here.
Agree. And literature is part of academia, too.
Yes. The Fourth Estate is a prerequisite for a democracy.

However, what we have is a Politics Industrial Complex and the vast majority of the media is on the inside; as discussed during this episode:

https://freakonomics.com/podcast/im-your-biggest-fan/

You can't do true by-definition journalism from that position.

Speaking of the definition of journalism, using this filter most of what gets passed off as journalism, isn't.

https://kottke.org/20/01/jim-lehrers-rules-of-journalism-1

The most important skill in today's "journalism" is reading off a teleprompter and/or parroting an established narrative. That is what's rewarded. That is we get what someone else pays them for, and too often it's not actual journalism.
None of them are the wrong pick. They're all better than C.
Better salary and better treatment and more autonomy ...
> widely used

A nice idea but not really.
I switched to Linux full-time a couple years ago. I had a Windows desktop for the same reasons - games.

Once Valve incorporated Proton, it was all over for Windows for me. I already used Linux (Debian/Devuan) full-time at work on my laptops and servers.

I don't miss Windows at all. Running Devuan right now on an AMD B450 with a 5600, 64GB RAM, and a 1080ti.

I will admit that video driver updates are a little more involved than on Windows, but since I don't have a mainstream Linux distro like Ubuntu, that's to be expected.
Unless Twitter has no assets of any marketable value (which obviously isn't the case, the company itself just sold for 44 billion dollars) the landlords will get paid, worst case by having Twitter issue additional stock in a debt for equity swap.
SQL standards are a weird thing. Rather than wait for a spec and then get implementers like in the browser space (for the most part), SQL vendors will solve a particular customer's problem, submit their solution to the standards body, the committee will tweak the syntax for best coherence with the existing spec, and then other implementers may emerge.

This ends up with four slightly different syntaxes and the one that matches the standard wasn't even the one that proposed the feature in the first place! It is what it is. Bottom line: "close enough" is as good as it gets in the database arena, so choose your implementation wisely and go all in.

With that out of the way:

• Multiple vendors support RETURNING from both INSERT and UPDATE statements.

• Upserts exist with most vendors, typically with the ON CONFLICT DO variant.

• Most support MERGE now in the latest versions.

• I don't know of any popular database that lacks support for INFORMATION_SCHEMA queries, so listing all tables is in fact both in the standard and supported by all popular implementations.
Thats true. Albeit, having 20% of your GDP depending on tourism is a not a great situation to be in.
As I recall it's mandatory.

I can see the package indexes becoming much more involved in supply chain issues. A bit like the app stores, where a considerable amount of vetting goes on.
Look, I'm not advocating an attempt to keep the economy perpetually good.

The fact is that we have the world in a terrible economic situation. We have an editorial baffled at the state of the things. And we also have an user saying that in their understanding a depression on the top of the current situation would be "healthy part of a normal economic ebb and flow" and "not objectively bad".

I tried to tell the user in question that a recession right now might not be a problem for people in a good financial condition, but for sure it's an object of concern for the majority of the population who can't pay the bills and the people in charge who will have to deal with the revolt of such population.
Lots of confusion and yet a sense there is a lack of compassion for not knowing optimal solutions in the same wild west environment. Enter imposter syndrome. Enter disillusionment.
Really interest article. Not frequently happen occasion, when I have to admit, not every day I hear that somebody really wealthy, cares about really important for world things, even, when I don't fully agree with their ideas.

I live in Ukraine, now country is at the edge of conflict between old world and new world, and nearly all our wealthy persons, just avoid to make any really interest initiative on these matters.

Unfortunately, when nobody powerful make real initiative, this not lead to solution, but lead to worse.

Sometimes, things could become so bad, that better to implement (save) some old world solution with few new tech enhancements, than wait for born of new solution from nowhere.
That is way too strong assertion. Not all couch potatoes have that bad posture, especially those who used to exercise in the past and stopped and bad posture does not necessarily mean bad joints. Very few of my friends who are around 40 have bad joints, including the couch potatoes. The bad joints will probably catch up with them in time but e.g. my dad was a couch potato from 45 to 67 without any issue. It was only during covid where he want from barely moving to sitting in front of his computer all the time his joints start to hurt. And, yes, his posture has always been terrible.
https://www.cnbc.com/2022/12/16/maxar-selling-to-private-equ...
That's a fair point...running does have a fairly low barrier to entry, which is definitely an advantage in picking it up as an exercise. I'd still lean towards walking as a better choice for sedentary people though, at least as a "get off the couch" goal. It takes longer, but the lower potential for injury and less strenuous nature of the activity might make it a better exercise habit for some folks.
This is not exactly a codebase, but I believe it merits mention in this thread as a great TypeScript learning resource.

https://type-level-typescript.com/

A short online course about intermediate-to-advanced level TypeScript.
Ask HN: What's a good program for calisthenics for beginners that you have tried
I'm already doing push ups, pull ups and prison burpees, but I want a structure of some kind and a program to follow to build the habit.

What's a good calisthenics program that you have used personally?
Please stop whining about this non-issue — The tools are and have always been readily available for anyone willing to post a single letter on the Internet. The problem is that people apparently need an external trigger/confirmation/applause (aka like) now to do just that, whereas old-school blogging was more or less writing for yourself with the occasional random feedback in whatever form. Just lower your expectations and be prepared to give up your social currency in return for creative freedom.
Turning Sports Stats into Riveting Cinema
You see the same thing when a Tesla car catches fire after an accident. It's front page international news. I saw an F150 on fire on the side of the highway a few weeks ago. I'm sure there's a large public outcry about Ford as well.
But he still uses it because its by far the best camera
"At some point" does a lot of heavy lifting. Without any information to quantify when this breaking point might occur, one might as well be talking about the heat death of the universe.

And what do you mean by "sacrifice the wealth of future generations for the sake of the current"? The government issues bonds to pay for stuff. Then at some point :) the bonds presumably become due, and future generations have to pay it back. Whom do they pay it back to? Isn't it back to themselves? Even assuming there's some proportion of foreign debt holders, they're getting paid back in the currency of the issuing state, which currency has generally deflated more than the bond rate over time, in other words effectively an interest free loan. If you could get a less than base inflation rate loan for 20, 30, 50, 100 years wouldn't you take it? Even assuming the 100 year horizon and thus the loan was to paid back by your estate, don't you think there's a good chance your estate would come out ahead after having paid back that low interest loan than if you had never taken the loan in the first place?

I'm just saying I'm not fully convinced that taking on national debt
is universally bad, if it's payable in the sovereign currency.
So many great Youtubers were demonetized for making fun of that Verge PC build video.
It depends on the individual and their condition and ambitions and circumstances.
What a terrible name web3 is. It has nothing to do with the web of information and it's not the 3rd version of anything , as it is its own thing.

Whatever usefulness existed in cryptocurrency, the old vc money destroyed its appeal for me. I want a clean slate
I hope members of this community can recognize that fitness is not this binary.

I will acknowledge my bias here-- my partner recently represented our country in the Olympics as a track athlete, and I believe I have achieved intermediate results in both running (sub-35 minute 10k) and lifting (the 1000 lbs club) which hopefully affords me some perspective from both sides of the track. We scrolled through this article this morning together and had a good laugh.

This entire article reads as an ode to muscle mass, which is not everyone's goal. Regardless, here were some zingers that stood out:

"Quite literally, the more you run, the better you are at running and the worse you are at being strong." -- I mean... And? With a more developed aerobic system, you recover faster between bursts of intense effort. You can play with your kids longer, run with your dog more, hike further... I could go on.

"Excessive amounts of endurance activity can, and almost always does produce adverse physical effects. Look at competitive marathon runners: the people who win the big races are skinny, just like the typical 80-year-old."

Outrageous. Again, Mark Rippetoe has demonstrated some misplaced association between muscle size and health. I guess you can wave your hand at an elite runner and make an asinine comment like, "Thank goodness I don't look like that!", but keep in mind that running below 3:00 min/km (4:48 min/mi) for 42.2 kilometres requires extraordinary fitness, and the contrast to "the typical 80 year old" is as silly as it is rude.

I digress. Running is magical-- put a pause on it if you're prioritizing muscle mass, but to write it off entirely is a mistake.
Thanks for the interest! The things you mention are exactly what we are looking to solve! Basically we are doing speech recognition specifically for the healthcare domain, so that for instance your GP or nurse can just report by voice instead of typing. It can really save them a lot of time that they can then spend to provide better care.

Also, electronic health record systems (EHRs) like Epic generally have horrible UX, e.g. navigating to a specific page might take 6+ clicks. We'd like to improve that by for example enabling navigation by voice, filling in forms by voice, etc.
Top of my list is learning enough nextjs/TS to build a mdx driven blog. I do a lot of selfhosting type tinkering & reckon dropping some of that onto a blog could have some value & generate some modest traffic.

Also busy (slowly) learning rust, with ultimate aim being static site nextjs front end with wasm/rust for dynamic pieces.
On desktop Telegram may look like it's an Electron app, but it actually uses Qt

I suppose that on mobile they also don't use web technologies
The ones that have to borrow money from a bank are not “the industry”. The industry got paid to destroy product to keep food prices high.
The sad truth is normies outside rich bubbles do not even buy laptops or desktops anymore. They exclusively use phones and/or tablets and they go for the cheap ones which mean Android. If they get a laptop they get a cheap one, and that means a Chromebook.

Linux already won at being the primary end user computing device for most people. The only people that do not realize this are on macbooks surrounded by people who can afford the same.
Not sure this is an effective strategy (but who knows, it may work in some cases).

As a dev who's been on the hiring side, it's very easy to spot people who adopt this strategy (where devs even define themselves as CEOs/CTOs... of fictitious companies), and for me it's a yellow flag.

I personally prefer somebody who's very explicit (that is, looking for a junior position), but has considerable projects to showcase.
Plenty of arguments can be made here:

1. A lifetime is enough to experience everything that you listed.

2. Honestly, not everyone is interested to experience everything that you think everyone should experience.

3. What is the point of experiencing them?

4. Experiences and relationships are valuable only because they are time-limited, either by change or death.
Camera Drone Autel Evo Lite+ is feature-packed but still falls short
Raspberry Pi shortage is abating just in time for holidays
The entire thing is essentially already a threshold dithering process, pick the closest available color and throw away the error. So one could certainly extend this to a more sophisticated dithering process and maybe even get rid of the first dithering process from 24 bit to 12 bit and do it all in one go. This also made me realize that there is no good reason why the author is iterating through all red, green and blue values, one could just compute the closest ones.
Smalltalk-80 on Raspberry Pi: A bare metal implementation
You could try something like “Zombies, Run!” an ARG that has a narrative tied to interval training.

https://zombiesrungame.com/
> They also have a floating LNG terminal, very valuable due to recent events.

You can have all the LNG terminals in the world, but if your government and judicary are completely corrupted, normal citizens won't get a cent out of it. And that's happening over here in Croatia.
I’ve been using Bitwarden for 2 years now, and I feel like completion has continuously improved. It uses the built-in auto fill feature on iOS and it works pretty well. Whenever I see a login form, I see the auto fill toolbar appear. I click on it, unlock Bitwarden with FaceID and it auto fills fine.

I had quite a few apps in the beginning where I needed to manually open BW to copy paste my username/password, but it doesn’t seem like it occurs to me anymore.
If it was an electric F150 it probably would have been news.
Merge mutates data. A join is simply a read from an associated set of data.