skysight-inc/HackerNews huggingface dataset:
Whether or not Kubernetes is a good fit for your needs depends on your goals. In general, it is an excellent platform to use for building and running microservices at a large scale within an organization. It is especially well-suited for cloud-native applications that need to be highly scalable. However, if you are only planning to operate a small-scale application, it may be more than you need. Even so, it is still worth learning about and considering for future projects.

Some benefits:

- Automated deployment and scaling: Kubernetes can automate the deployment, scaling, and management of containerized applications, saving you time and effort.

- High availability: The platform is designed to be highly fault-tolerant, so your application can continue to run even if one of your nodes goes down.

- Extensibility: Kubernetes is highly extensible, with a wide range of add-ons and plugins available to customize the platform to your specific needs. Kubernetes has a large and active community, with frequent updates and a wealth of documentation and resources available. This makes it easier to get started with the platform and get help if you need it.

- Portability: Kubernetes is cloud-agnostic, meaning it can run on any cloud provider or on-premises infrastructure. This makes it easier to migrate your applications between different environments.
Awesome project, great write up. Your level of detail and reasonings really helps understand everything. And puts my own writing to shame.
The internet is vast. But if your attention is fully absorbed between twitter and substack (like the author is), you feel trapped, because, well, you are.

Maybe try to venture out of your internet comfort zone. It's not all spam out there, nor is it worthless because it was not recommended by someone cool. Just don't be lazy
Eh, a recent Ryzen laptop with a 2K display will run you less than $500 on Ebay. You won't get Macbook Air battery life, but you're also not spending Macbook Air money. Plus, you could run Docker without bumping your ambient temps up by 5-10c.

Mac hardware is certainly competitive again, but you couldn't pay me a living wage to daily-drive MacOS for development. Given the circumstances, I think the appeal of Mac hardware will depend on the appeal of Mac software for most users.
And risk to get something like War of the Worlds all over again?
Why a global recession is inevitable in 2023
Random advice from personal experience: if you buy a steam deck for a non-techy, don't get them to use windows, the user experience is awful. Just use the default OS, and only install games that a labelled as working well through Proton. Anything else will be a fairly painful experience.
>In the event that whoever runs Tether has committed financial fraud on a large enough scale to lose, say, 5% if the total value,

Why is this phrased like a hypothetical?

>In fact Tether reserves were not “fully-backed” the majority of the time.

https://www.cftc.gov/PressRoom/PressReleases/8450-21
Thank you for that. One question, do you use the default SQLite database storage backend or something else? What about backups?
Filing bankruptcy doesn't sheild them from a judge order to empty the building, right?
This is precisely the situation the article solves but without repeating

AND NOT is_deleted

after every DB query in every app accessing the database. No full DB backup/restore needed.

INSERT INTO mytable
SELECT recovered.\*
FROM myaudittable audit
, jsonb_populate_record(
audit.jsoncolumn
, NULL::mytable
) recovered
WHERE audit.id = 8675309
-- optionally merge if new data added
ON CONFLICT DO UPDATE
SET field1 = EXCLUDED.field1
, field2 = …etc…

Postgres has a lot of great functionality making jsonb manipulation relatively simple and easy. Is it more complicated than a simple UPDATE? Yes, but you only have that complexity once rather than in every query on the table from every app and ORM and that recovery can be more nuanced since not every restore strategy is equally valid in every situation.
That's cool. That doesn't excuse squatting, and a good faith effort requires reconvening at the negotiating table to formulate new terms; not just ghosting and coasting until the landlord engages in litigation, or holding somebody else over a barrel.
You can certainly say, "I would rather not answer that question."
You don't need coding to use Azure. Look up "Azure Audio Content Creation", which is a web-based application hosted by Microsoft that can be used to generate audio using a GUI.

There is some rather annoying process to setup an account with resource groups etc required but it does give you 500k free characters, or you can just abuse the free demo applet on the website without signing in (may need to clear cookies and reload once in a while), and just tape the audio that comes out.

I had very good luck with some of the Azure voices to create a YouTube video. My favourite right now is Sara (US English), because in testing she sounds the most emotionally natural.

Interestingly, if you choose a voice from another language, and ask it to speak English, sometimes it will replicate a non-native accent, which I found somewhat amusing
As a counter point, I've had multiple issues with my HP Envy on Windows that are similar (keys stopping working, random glitches in software).
Best Linux Distro Releases of 2022
We chose to trust because it lets us all do more cool and useful things faster. All of us.

That's good! It's also necessary to operate at this scale, where any of us (not just corporations, but every hacker using a package manager) can operate with some minimum level of expectation that while packages might break from time to time, the breakage isn't malicious and everyone's incentives are aligned to minimize it and correct issues as quickly as found. Imagine what the ecosystem would look like if we couldn't make that assumption? The legal warranty allows for, say, Debian to start sneaking keyboard harvesters into the binary blobs that they publish alongside the source... What would happen to Debian users if they did? What would happen to the entire GNU/Linux desktop ecosystem if every package manager chose to do that?

If that trust were to break at scale (i.e. if stunts like leftpad's removal breaking everyone became common, or FOSS developers were to begin doing even more malicious things that the "as-is" legal providing technically allows)... We'd all do fewer cool and useful things, and companies with money would do more of them out of sight.

I don't think that's an improvement over what we have now.

So yes, the buck has always stopped with the last mile developer putting other people's software together into a solution. That is a necessary requirement to have an open source ecosystem at all in a legal environment that demands that blame be assignable somewhere. But if we all start acting like that legal constraint is the only behavioral constraint that matters, we don't actually get to have an open source ecosystem.
When I interview, two things I always look for at as things to be concerned about are many short term (and not contract) jobs, and big inconsistencies between LinkedIn and their submitted CV.

This is of course on top of discussing their recent projects and seeing how far they can drill down into them.

I do this to weed out people who are very suave at interviewing, but turn out to be not only incompetent at the position, but actively poison the org. These folks are rare, but they do exist and can cause lots of organizational harm. They are aggressively self-promoting people who don’t know what they’re doing, but can fake it convincingly for awhile somehow, and who work energetically for higher and higher positions.

Often CV and LinkedIn are way out of whack because of the level of creative nonsense they have gone through about their pasts to get a job. I don’t mean this in the “CV is marketing you” sense, I mean this more as “saying you were CTO when you were a junior QA person” sense.

Many short stints can mean they were found out within a few months/year of being hired.

An odd variation on this is talking about very important sounding positions that turn out to be their own one-person consulting company.

In the past 5 years I have seen three cases of this where they were hired (2 I did not interview, 1 I did and was a “no”). All three imploded rather spectacularly.

I have also seen good candidates with bizarre CV inconsistencies or several short stints in a row who explained it all very sensibly and turned out to be great.

This is why these aren’t CV screening red flags, but points of discussion.
Apple finally killed off the beloved Dark Sky weather app today
> Fwiw, Windows frequently doesn't support Wi-Fi out of the box but, when it's preinstalled, the drivers usually are too.

That's very true, sometimes even the wired NIC driver.

My dad just replaced an old NUC with a modern AMD based miniPC and everything (Wi-Fi, Bluetooth, ethernet) works out of the box with Ubuntu LTS, while Windows 11 doesn't even include a usable driver for the Intel I225-V NIC.
Heh. Except the anticheat solutions that don't work are basically rootkits.
> Businesses do lots of stuff to negotiate and renegotiate and bully / squeeze / etc. each other.

The United States elected a
President who bragged about doing exactly this, so it’s a little odd that it appears unfamiliar to most here.
Movies I watched in 2022, resorted
Yep, I think mocks are mostly a smell. The "functional core" of a module should be entirely or almost entirely unit testable with (possibly fake) dependencies passed in. The glue code ("imperative shell") should be tested at a higher level - "integration" or "end to end" or whatever you want to call it - which looks at the externally observable effects of running the code (database changes or API responses or whatever) rather than the details of its execution.
> All the reward goes to the boss and not the employees.

Make a mistake though and bosses are quick to point the finger directly at you. Credit and rewards for the higher ups, blame and discipline for the rank and file. Privatized gains, socialized losses.
"Your typing speed has no affect on your ability to be a good developer."

I think you mean to say that your ability to type at 45 wpm has a minimal impact on your ability to be a good developer. To me, 45 wpm is moderate but not slow. I have seen developers who type at around 10-15 wpm.

I have noticed that developers who are slower typers are more likely to fight back on simple changes and writing documentation. It just takes them more time to do the same amount of work that a faster typist will take. In my experience, slow typer are great at reasoning about the code base and coming up with designs in their head, but poor at writing code and communicating with text either through email/slack or documentation.

People who are not fast typist can be very smart but will always be at a disadvantage when it comes to using the keyboard.

> nouveaux
Bezos is selling off tens of billions of Amazon stock a year. Amazon stock doesn’t seem to be reacting to it.

I don’t think the market reacted so much to Musk vs the fact that Tesla selling prices have plummeted because it turns out they’ve saturated their market (but until then people believed in the hockey stick growth). It was obviously ridiculous because secondary market sales higher than direct sales cannot be sustained for very long (it indicates you can’t meet supply, but there’s obviously not an infinite amount of supply at the higher price point). That + the collapse of most stocks would account for most of the drop I think. There’s possibly some amount of knock on effect of Musk’s advertised Twitter problems creating a PR problem for him in terms of can he focus on Tesla, Twitter and SpaceX properly. There’s only so many drugs you can take to help you with that.
Escalating racial and ethnic hate was lead up to war. Just like, before Russia attacked now, the anti Ukrainian propaganda went up.

And before WWII, nazi went up with hate and their anti Jews language went up both in lead up to war and during ir, culminating in holocaust.
But steam deck is not a desktop - it's a console.

Linux on the desktop usually means a Windows replacement - historically, and the most relevant meaning to me personally.

The reason I'm not hopeful things will improve is same as always - not enough critical mass to get the momentum going. I was buying a PCIe wifi card a few months ago and wanted to check support for Linux in case I try again. There were zero options locally where I could reliably determine that onboard BT would work, and there were like 5 modern cards available.

I just don't see what commercial entity is going to push Linux desktop development ? Linux server is mostly a result of big players working together to commoditize the OS, scaling with commercial os on the backed would get prohibitively expensive immediately. Don't see where the desktop push will come from.
without context, spoken language group and some simple demographics, these "percent" declarations are worse than completely useless.. they mislead
But what if you're turned into a vampire before then?
Commercial landlords have all the rights they need in that regard. It’s a contract dispute and a court will order remedies like any other contract dispute. You don’t want to give landlords unilateral powers to interpret and enforce contracts. That would be pretty dumb.
This summer I read "On Writing Well" by William Zissner which was an eye opener for me. I'm far from an expert in writing clear texts, but I am definitely noticing more text which are just... big balls of blurb that don't actually say anything. All because of that book.

It sounds dumb, but this year it clicked for me how big of a difference a poorly written text compares to a well written text.

Hope your training pays off, itsmemattchung!
Non-JS Version [1]

The numbers I heard from a reputable source was closer to 500K but either way most of these are inexperienced conscripts. I feel empathy for their families. Both sides are wasting a lot of human life for an arguably futile goal of converting the former soviet states into Russian defensible zone. Ukraine isn't even one of the perimeter states, it's just in the way and has a useful port. I wish there was a better way for Russia to feel secure.

[1] - https://archive.ph/UkdE3
What kind of profiler can tell which areas the CPU is burning cycles?

Like, just mapping a bunch of known function and timing? Then every "ssl_" function is classified as crypto time? And every "net_" function is networking? (Or something like that?)
I’ve had my mind changed due to HN. But the posters of comments would never know. I’ll give them an upvote and move on.
Most users of npm aren't corporations. They are individual developers or small operations taking advantage of a very clever ecosystem for distributed package management.

The leftpad stunt hurt everyone in that ecosystem. It was dropping a stink bomb at a party because the host had offended him, but everyone in the room got to suffer the consequences.
I've never seen Ben's site on HN before, does he happen to post a lot of clickbait articles? If his site happens to be submitted a lot with of misleading titles, I'll gladly apologize and say I was completely wrong in giving him the benefit of the doubt of not trying to clickbait 90s gamers, haha.
I think what we conventionally mean by "year of the linux desktop" will never come. The universe has changed in fundamental ways since the time the slogan was adopted. But what will come in its place might be much more important and, dare i say, more beautiful.

Cataclysmic Event 1: As people pointed out already, the vast number of users have switched to a mobile device (or more likely adopted one for the first time). Its a bit silly to argue thats a linux win. The community was as surprised as anybody, witness the still preliminary (true) linux on mobile.

Cataclysmic Event 2: Adtech becomes the primary business model driving tech developments. Linux becomes both an enabler of that shift (the rise of the "cloud") and the last bastion of self-sovereign computing - though that is currently not truly appreciated by the masses

Cataclysmic Effect 3: Machine learning matures to the point of actual use at scale. This is totaly disruptive in ways not yet discernible

Where does this leave a thirty year old dream? Maybe at its best ever chance to change the world (for the better). The linux desktop is the natural home for augmentation of human intelligence the way pioneers envisaged. Its the natural place to run decentalized social networks and who knows what else.

How can we get there? First, its absolutely essential to integrate mobile. I like to think KDE connect as the birth of that convergence. Second its important to develop intelligent desktop applications that preserve privacy and control over algorithms.

We have come a long way. The promised land might be in sight soon.

Best wishes to all
This kind of comment sounds helpful at first; but, the people who are going to get the most out of the couch->5k system are more likely to be put off of all exercise all together if they're confused by saying "this is better instead, do this".
> Twitter hasn’t paid rent on its headquarters, or any of its other global offices, in weeks, the New York Times reported on Dec. 13.

Isn’t rent paid once per month? When I was a renter, this could’ve been said about me literally every month, once two weeks had elapsed between payments.
> , linux often has me "under the hood" trying to fix stuff that is literally never an issue on another OS.

no, on other OSes you just cannot fix it. e.g. for instance on my computer I have a win32 install and for some reason on it the ethernet network speed seems locked to 100mbit-ish while on linux I get my gigabit ethernet performance. what can I do to debug this on windows when i tried the usual install / remove drivers, etc etc ? absolutely nothing, I just learn to live with the issue like most people on that OS.
> It’s surprisingly hard to make a break-even business.

Because workers aren't productive, because you get paid by the lowest common denominator, because that's all businesses expect - and anyone doing more - unless to gain skills for the benefit of themselves - is a fool.
When -4 pushes you to the very bottom of the page in text so grayed-out that it's not even readable unless you highlight it first, I'd still call that oblivion. Also, flags from just two (?) people remove your comment entirely.
As many commenters pointed out, the ability to revert deletions is a highly desired feature. I cannot remember how many times our customers have deleted records by mistake and while deleted_at solution makes a revert trivial (update .. set deleted_at = null where undo_condition = true) it's much more complicated with the proposed condition. Why?

In any living system db schema is something that continuously evolves. New foreign keys, new columns, dropped foreign keys, dropped columns, new indexes. If soft deleted data remains in the tables it evolves with the rest of the system, but that's not the case if it all went into a json blob. Are you sure you want to remember all changes made to your data while trying to restore it?

The problem with queries is there, but I'm wondering about the scale of the problem. From my experience, tables do not go from hard deleted to soft deleted often, hence it's more a matter of habit to check the structure of a table you see for the first time and take deleted_at into account in case it's there.

As the author says, it's all about trade-offs, I would use an audit log for debug purposes (deleted_at does not answer who did it, adding deleted_by to every table adds a risk of split brain - what if deleted_at is null, but deleted_by is not?) and deleted_by to enable quick reverts to accommodate mistakes users and developers do.

A more problematic pattern for me is to trace the changes for different columns. Let's say you tag your uses as being a superhero. The moment you introduce this prop, analysts will immediately ask you who, why and how many times has changed this field and what was the value of the field at the time X. One can say that it's not necessary for all the fields, but I do observe that I have much less trouble in the development if I accommodate for it from the start rather then add hacks to support it later
My failed attempt was on an HP stream. It was the cheapest laptop in the store and was woefully underpowered for running windows that it came installed with. I thought maybe I could use it as a lightweight, cheap little Linux notebook to do some hobby projects away from the desk. It wasn't to be.
Litigation takes years to play out, paying the lease would result in bankruptcy imminently. Plan is to live another day, long enough to stabilize finances, and then unload it on the public markets where the litigation becomes somebody else's problem.
That's very interesting. Do the train and val set losses both show that behavior? I did a very similar experiment earlier this year - in my case it was a classifier where images could be categorized different ways, and my takeaway was making it predict more classes improved performance. I'll have to go back and look at the loss curves during training and see if the improvement is immediate as in your case
Ask HN: Is programming culture immature?
I enjoy all facets of using computers, including programming, and am decent at it. I like many others also enjoy the theory crafting aspect which means spending time reading/thinking about programming and technical concepts and engaging with or observing discussions and even debates.

Programming is intellectually challenging, and that seems make insiders and outsiders assume that in order to have some success as a programmer, one must be intelligent, rationale, sensible, or heaven forbid, wise.

Yet in my experience, it doesn't take a lot a long time engaging with the digital-technical community at large to realize there is often a large gap between intelligence and wisdom or even basic sensibilities. A field which has so many tools to objectively quantify their work and the result so often are debates displaying poorly concealed biases and egos.

I was visiting the Star Citizen subreddit where a user posted a readable, short, simple proof of concept to improve a longstanding inelegant UI element.

I read debates about languages and see the most reasonable of authors walking on egg shells and writing caveats like they are commas lest one misstep allows a snowballing tirade of people missing the point.

And more universally, I see people who have acquired anywhere from basic to advanced competency spit jargon of the most specific like it is poetry, in a field where learning specifics on the job is the norm (and not that difficult), it seems people cannot resist using obtuse language to virtue signal their intelligence relative to other people.

There are obviously exemplary members of the outward facing tech community; they often have great success for being the foil to what is above, but more and more I become frustrated and begin to believe that progress in digital technology is greatly hindered by the low quality background of interaction between those who use it.

I say this fully embracing that in a domain like tech where extremely complex and nuanced problems need to be solved that disagreements, sometimes passionate ones, will need to be resolved one way or another - I am not against or complaining about that fact; I am simply growing tired of what I think most reasonable people can identify as basic immaturity and the surprising and disappointing commonplace nature of it.

Do I have to issue any more caveats? I am dead certain their have been numerous and highly successful workplaces which were the anti-thesis to these complaints.

I have less experience in this space and in life than many of you - so please offer your perspectives.
parkrun is another useful way to get up to running for 30 mins.

It's very inclusive of all abilities from walking up to club runners. Plus the weekly routine and encouragement of participating in a unfussy group activity.

https://www.parkrun.com/