skysight-inc/HackerNews huggingface dataset:
> No one loves it.

huh, that's a big statement.

I used to love java... I could write pretty much anything with it.

Websites? sure, there's a ton of stuff for that.

Command line programs? that's the basic.

GUI programs? pick between awt, swing and swt... and there was qt-jambi too!

server programs? no problem.

mobile apps? J2ME is nice!

That was ~15 years ago... to say no one loved it seems a bit dumb, frankly.
I always liked the Director's cut best
Ask HN: What is your Kubernetes nightmare?
Everything self-hosted has its maintenance tax but why Kubernetes (especially self hosted) is so hard? What aspect is that makes Kubernetes operationally so hard?

- Is it the networking model that is simple from the consumption standpoint but has too many moving parts for it to be implemented?

- Is it the storage model, CSI and friends?

- Is it the bunch of controller loops doing their own things with nothing that gives a "wholesome" picture to identify the root cause?

For me personally, first and foremost thing on my mind is the networking details. They are "automatically generated" by each CNI solution in slightly different ways and constructs (iptables, virtual bridges, routing daemons, eBPF etc etc) and because they are generated, it is not uncommon to find hundreds of iptable rules and chains on a single node and/or similar configuration.

Being automated, these solutions generate tons of components/configurations which in case of trouble, even if one has mastery on them, would take some time to hoop through all the components (virtual interfaces, virtual bridges, iptable chains and rules, ipvs entries etc) to identify what's causing the trouble. Essentially, one pretty much has to be a network engineer because besides the underlying/physical (or the virtual, I mean cloud VPCs) network, k8s pulls its very own network (pod network, cluster network) implemented on the software/configuration layer which has to be fully understood to be able to maintained.

God forbid, if the CNI solution has some edge case or for some other misconfiguration, it keeps generating inadequate or misconfigured rules/routes etc resulting in a broken "software defined network" that I cannot identify in time on a production system is my nightmare and I don't know how to reduce that risk.

What's your Kubernetes nightmare?

EDIT: formating
I don't know about the child pornography claim, but the rest of it seems to check out.

The user revealed their name in an interview here: https://www.fastcompany.com/3026860/a-brief-rundown-of-the-s...

According to one of the sources linked in a sibling comment, this user was arrested for domestic violence. A quick look at their user profile shows they are the top mod of r/garland, which isn't far from where the arrest occurred.
If everyone took this advice, then the status games would change, because everyone would be more frugal and it wouldn't be about eating lunch with the popular kids.

But because society as a collective has decided on these games, and decided that you need credit cards, and need lattes that cost about $0.10 in raw materials at home, then everyone has to play these games.

Most importantly, if everyone refused getting mortgages, house prices would crash. But because mortgages (and low interested by the fed) have made housing more affordable to everyone, they've pushed up prices to where you're back to square one, except you have to pay interest as well as the house's price, rather than waiting until you've saved up the price. This goes back 50-100 years though.

Here's an another option: start your own business, so you don't have to play these career games.

There are a million options, it's just that they are harder, especially on a personal discipline level, which is not very popular these days.
> Ok, but how can you as a fed say that if you double the money supply the velocity will stay the same forever?

It went up by 500% since March 2020 btw, not just 100%, or 200%: https://fred.stlouisfed.org/series/M1SL
Tesla still dominates U.S. electric car sales
How is that different from literally any other president?
Right, we don’t want the world to end.

Do we want double-digit inflation and 4x-6x-?x heating prices though? If only the EU actually had a plan instead of throwing sanctions at the wall…
An alternative way to look at it is you would need a 12K investment @5% to generate those $600. Now how many such $600 are lurking in your habits.
May be that would change your perspective.
Isn't it fair considering how easy they could be broken due to the difference between environments?
I've always found Dell's ProSupport to be much better than Apple's - Apple just tell us to take the unit into a store while Dell will have an engineer out to site the next day to repair the computer.
It seems to me that calling facts you don't like a "salad" or "yoghurt" is a mental equivalent of covering your ears.
Any access to resolve global dns lets you exfiltrate even if you’re locked to a local resolver. Just blocking connections to the internet directly is not enough.
Partly motivated? The primary focus was ML space. The creators of PEP 646 work at Facebook with goal of supporting pytorch tensor dimension tracking. That was main motivation and many of the features/design of that pep were based on what's needed to type hint tensor dimensions.

Pep was originally even longer and there's planned follow up peps for other tensor related type features like literal arithmetic to allow type hinting function like np.concatenate. I expect 2/3 more peps in that area in the next year or two.
> If you want to say that M1 has caused a demand-side inflation, fine... but it seems to me that 1/2ing the price of oil would 1/2inflation

I would like to see some evidence for this, as I don't think this is the case, I think this is just propaganda from fossil fuel companies and their political allies. Like Biden said the economy is just in transition. I think restricting oil and gas supply further will be much more more likely to lower inflation. Maybe Biden should outlaw all oil refining on US soil to help drive the transformation faster.

If people were just less greedy and cared more about the environment than their wallets then they would buy electric cars instead of driving gas guzzling SUVs that are destroying our planet.
> That things as complex as macroeconomic systems can't be described in comment threads on internet forums.

You’d be amazed how far the medium of written conversation can get you. Pretty involved concepts in the sciences you mention had been explained and discussed here before.

> People presume that any critique of the system have an alternative sweeping simplistic all-encompassing dogmatic ideology.

You have so far not made an attempt to even hint at an alternative, after so many words.
> ambiguity can be solved by random action

This 100%. I've learnt the hard way that the only way to get unstuck at this kind of hellish work is random action - I'm biased to over-analyzing the problem so get stuck because I can't pick an option. A bias towards action, ANY/RANDOM action if you can't decide is what seems to help here best!
Being a member of a church should be opt-in not opt-out - by the individual, not their parents

e.g. upon reaching adulthood you are sent an opt-in confirmation

If you ignore, you are automatically removed

It is absurd that you have to waste your time & money to make an appointment, go to the appointment and on top of that pay to opt-out
The problem with NULL not being 0 is you can't do things like `if(ptr)`
For general optics, yes. But lenses and to a lesser extent prisms still work ok in their naive getter/setter and constructor/pattern encodings.
A few percent of portfolio into high risk is not a viable strategy [anymore]?
There are some situations where technology forces a reassessment of norms, yes. But this is beside the point, which is that blockchain does not properly solve the problem of secure global payments. It's a stopgap, and incentivises people to design a better solution.
isn’t piano considered a percussion instrument?
> According to the default propaganda model of our society the solution is hard work and taking personal responsibility.

Well blaming others for your problems and leeching off society for income isn’t going to get you very far.
I do it with my family of 3, and see no reason why it wouldnt work with a bigger family. Its up to you if you rather spend money and time on the store bought bread shaped sponges, or on slowly fermented & risen bread.
Why is getting yelled at the next day more of an incentive than actually getting paged at 2am?
Startups will often take anyone who's willing to apply, and your full stack experience will come in handy too.

Another alternative is contracting. Those who hire contractors usually don't have the manpower to test extensively, and they're more likely to trust you to deliver. Or not care that much because you'll be working on a non-core element.
It's the same as many other things in software - if all you care about is writing software, then yes, you are not a good developer. You need to have an appreciation for the environment it runs in, interfaces between you and other teams, the key business requirements, the constraints it's under, etc. etc.
C was created 40 years ago. I wouldn't expect it to have the same feature set as Go. Plus, we already have a language like C, and it's called C.

Go made multiple decisions that make me face palm. It was so close to being a great systems programming alternative.
That's amazing to read. Thank you for sharing. The economics that you describe are really good! And I can see it is a rewarding experience to grow your own. Keep growing!
No, it wouldnt. Because the UK can experience (temporary) inflation whilst Thailand not. These are the kinds of confusion which arises when you offer a theory of why inflation occurs (currency changes), rather than a definition.
As a European, I have trouble understanding why people in the USA, do not feel the need to be able to just walk to get a few missing groceries, a drink or a bite.

I used to get upset when I lived in a place where the nearest 24/7 was more than 5 minutes walking distance, proper wasteland!

I'm not saying I don't get into a car and do big shopping runs, but sometimes all I need is a loaf of bread or to have a drink or two with a friend.
It's implemented in 3.11. Documentation still hasn't been written for it yet though and that's why the issue is still open, https://github.com/python/cpython/issues/90908.
If the diet is high in (processed) red meat: higher cancer risk. If the diet is (too) high in saturated fat, increased cardio vascular risk.
yeah, obviously nutrition is far from being the only factor for their longevity and health in old age, but if you take the japanese diet, rice is a pretty major component in their calorie input...
Maybe it would be better to say that it bucks the trend of modern movies?
Ultimately this has to be addressed politically. Technical contortions cannot forever make up for what are essentially broken societies and malfunctioning political systems.
In c++:

auto item_user = [](auto&& item) { return item.user; };
auto user_age = [](auto&& user) { return user.age; };
auto item_age = bind(user_age, bind(item_user, _1));

But surely there must be more to keypaths than lambdas and function composition? (You do not have to use bind of course).
Turns out, stuff like Java's SecurityManager:https://docs.oracle.com/javase/7/docs/api/java/lang/Security... were there for a reason.

Note, it's been around since JDK 1.0, so 1996, 28 years ago (!), though it's not widely used.

But it allows sandboxing of libraries you use. I was using it to make a faulty library that was calling System.exit(0) - yes, a library that was shutting down the entire process, closing the main app... - not do that and instead wrap the exit in a regular exception.

Python and especially Javascript are reinventing a lot of "enterprise" ideas that Java invented 20+ years ago. Maven groupIds are another example from the Java ecosystem (they're used to avoid top level package name squatting).
> They are ridiculously easy to use

Once you figured out that you need to be almost "scientifically" exact with the measurements. The first few tries we just managed to create bricks you could kill a man with (by way of usage as a blunt force instrument, I'm sure if you tried to eat would break every tooth in your mouth and likely cause damage to digestive tract).
I thought that Her was great. Still sticks with me.
I'm on the record as advocating a tough response to Covid in the early stages, and then changing my tune into just letting it happen once it got out of control.

I think the window of opportunity for easily containing this is closing. If we don't get this under control soon we will have to do either very broad vaccinations or just accept that we will all get it.

People just don't seem to get what a huge issue stalling is when faced with an exponentially growing problem. Bavarian Nordic supposedly has a couple million vaccine doses. That's a lot if deployed now, but insignificant if deployed later. They claim they wont be able to manufacture more this year. There is also the other vaccine, the older acam2000 but that one has serious side effects.
Never had any issues neither with 2011 MacBook Pro nor with m1pro 2021.

Just used official and sometimes Ali express converters and old asus, relatively new benq displays.
As they mentioned, it's unlikely to be hit by fuzzers when the flow first has to hit a specific math condition. Similar thing happens when you try to fuzz something protected by checksums, but at least there is known that you should patch them out first. Here it's much more tricky.
Consider that there’s a simple heuristic to prioritize where you drill down. That heuristic is pain.
And from Jodorowsky's Dune, where O'Bannon also worked
There are indeed exceptions when running a program. Exceptions, as a construct, are baked in at the hardware level. When a program page faults, or tries to divide by zero, or runs an invalid opcode, the CPU will jump to an exception handler in much the same way as the higher-level constructs in Python and elsewhere.
Fuel cost (which heavier than air aircraft really ought to be able to reduce) is double the amortised capital cost in an airline's budget, and there are plausible reasons to believe the capital cost of airships will be smaller (greater size, but less stress placed on parts). So everything else really isn't equal.

For related reasons turboprop aircraft are more economical for short haul flight than jets which could notionally fly more sectors, and Concorde flew very little during the daytime either because the fuel cost of getting to supersonic relegated it to niche use to transport rich people.

I think passenger dislike of longer trips is a bigger obstacle to widespread adoption, but a significant proportion of [potential] flight doesn't involve passengers
It is different because the media has not been as right wing as this before.
If you really think that games cannot teach you the same things as purely written words then perhaps you have a very limited view of what kind of games are out there.
ImportC is shaping up to be one of the greatest feature of D

Being able to just import your C code, and call it from C, or when you need to go back to C and resume your work by just importing your D modules

I tried it, while it still need some finish, it worked very well! (you had to put your files through a preprocessor though, hopefully this step won't be needed in the future)

Every modern language should include a C compiler, it is stupid to give up the entire C ecosystem!

No wonder Walter's name is "Bright"!

To the people who still doubt about D "because of the GC", it doesn't exist for me, i am making an online 3D game targeting WASM without it, with all the language features!

For cases when you need one "if you use D as a scripting language", it will be very helpful to have!

https://www.kdom.xyz/

If you love C, but need something modern with more safeties, give D a try!

D is a pragmatic language, very powerful, covers everyone's needs!

If you tried it before, now is the time to give it another try!
Then there's Starship Troopers, another Verhoeven masterpiece of layered meaning and interpretation. On the surface it's a jingoistic pro-military recruitment poster as movie, full of shallow facile characters. But oh boy, if you read between the lines there's no bottom to how deep that movie goes.

Also both movies have Michael Ironside, which is always a plus.
Thanks for mentioning it as I hadn’t heard of it before.

Here’s the app store link to save others multiple clicks:

https://apps.apple.com/us/app/watchtube/id1599884909
We scored 100 on Pagespeed insights with a heavy NuxtJS/Vuetify setup
I am saying they have an agenda.
I disagree, I have even seen Walmarts with bakery-made bread that's flour, water, yeast, salt, not too much sugar, and has a normal shelf life of 2-3 days. Most grocery stores have it. It certainly won't be the best you've ever had but it's real. Now if you said "there's no bread in the USA's bread aisle" I'd completely agree.
An Intro to Zig's CheckAllAllocationFailures
Good God! This kind of stuff is built for a very different kind of brain than mine, that's for sure.

I always come away feeling that Haskell makes the simple things tough, and the tough things beyond my reach. For me, it seems so much simpler to deal with in-place single-writer mutation, where aliasing is controlled by the type system, ala Rust or D, or, something like Elm's record updating syntax. Even Erlang will do in a pinch.

I hold Haskellers' abilities in high regard, but at the end of the day, I'm not sure if they produce better software than other equally capable/rigorous/knowledgeable developers. (Don't mean to dredge up the static/dynamic typing debate, but given the literature I have read, there is no clear winner).
I think for me Trello is the only tool that makes it hard for managers to turn into a hellscape.
> The ruble is stable because it's exchange rate is purely theoretical.

If you are an oil exporter, yes, but if you're an average Ivan in Moscow/Petersburg, it's not. You can buy USD cash once again, and even though the cash exchange rate spread is huge, it's still much cheaper than before the invasion.

(Source: I'm Russian)
Even the headline makes it clear that the issue is not just that India is buying oil from Russia. That is concerning -- that India is importing much more than it used to, only because prices are better for them now.

But the actual concern of the article is that there is a suspicious amount of oil leaving India and no way to track the provenance of oil reaching Europe. The suspicion is that India is essentially laundering Russian oil.

From the article:

> "Before the invasion of Ukraine, India’s imports of Russian oil were negligible due to high freight costs. But recently, imports of Russian oil to India have increased. Vadinar’s owner, Nayara, purchased Russian oil in March – just before international restrictions on its exports were introduced – after a gap of a year, buying about 1.8m barrels from Trafigura, Reuters reported."
Ethereum is one of the legit cryptos, which is why it's stuck around through everything. I think it gets overlooked because the scamcoins rise faster and bitcoin itself is more uhh, gold-like. Everyone seems to make their own version but I rarely see what the new coins add that Ethereum doesn't.

But it's underutilized. I'd buy Ethereum if there's more uses for it, either as a currency or smart contract. Most solutions are just finding an excuse to raise Ethereum value rather than being the simplest solution to a problem. As it is, it's feels overpriced.
> I'm not sure this statement makes that much sense, won't demand always go up when prices drop, and drop off when it goes up? Demand does not exist in abstract, if I could get an iPhone 13 pro for $10 I would take 5, if it costs $2,000 I will take 0. If oil cost $1 a gallon instead of $4, won't the demand increase? And if it is $10 a gallon won't the demand decrease?

Does it work like that in real world? If gas price doubles does that mean that folks who commute by car go only half way to work or stay at home every other day? If an iPhone costs $10, why would you buy 5 of them? What would you do with extra four? Browse hn on five screens at once?

Supply and demand are not infinitely elastic, as some like to think.
Hmm, something seems to have broken. Login does not work for me.
I have no issue with stateless services, they're simple to work with.

The issue is with relational database. They're trickier to work with.

I'm asking myself, is the whole devops is to simplify db migration process, or to complicate stateless service ?
I'm not from US. My country is also sanctioning Russia. My country was not part of any invasion - actually was occupied before by Russia before.
Where is your god now?
> A memory-safe language that you can write OSes and drivers in? No.

Why couldn’t you? There was always an escape hatch API that let’s you manage that few direct pointer accesses mandated by hardware - otherwise the rest could very well be written in a managed language (as shown by research done by Microsoft for example)
There’s a hint of the idea that “power should be exceedingly inconvenient, not lucrative, and attract people who ‘irrationally’ want to make the world better as opposed to abusing it”, which I don’t disagree with.

However, there’s another big concept, and that is “do not fire an employee who just learned a big and expensive, to you, lesson”. Punishing people simply because they failed, especially in a complex environment with slow onboarding process, is unproductive.

Furthermore, it can sow fear, resentment and distrust. Take China, where a local official risks unpredictable punishment, up to losing their job (or worse), if they fail—such as by allowing COVID cases to happen in their locality. Unfortunately, the side-effect of it is that officials are incentivized to lie up, meaning the government may think the country is COVID-free and be unable to make informed decisions.

This is also why I think COVID lab leak event, if confirmed, should not lead to any repercussions for China in particular. Fear of said repercussions seems likely half of the reason the research is being obscured in the first place, as a result preventing the global community from making informed decisions.

So, if you don’t want such shenanigans to take place in your government (I wouldn’t), you have to agree that whichever human being you elected should be able to make mistakes to learn from them, and thus another measure of their performance should be used.

For example, repeat trend of malicious intent supported by concrete evidence could be a good one.

(And to be make things even trickier, they do not deserve the whole credit in case of any success either. The success or failure of a measure to large extent depends on the whole country and the larger context it exists in. There are situations where one can only win, and situations where losing the least is the best outcome.)

Incentives should be aligned, but I don’t think punishment is the instrument for that.
The always-on display drops power usage by being quite dim and reducing the update frequency to 1 Hz. 24-60 Hz video will draw way more power
I'm with you. Arrival is an absolute classic. BR2042 needed some suspension of disbelief IMHO, but it was as good as you could hope for in a BR sequel. Dune pt. 1 ... it's one of the greatest sci-fi movies ever made.
Legal =/= moral or even right