skysight-inc/HackerNews huggingface dataset:
At my first job I had a more experienced coworker, and I couldn't understand why he wrote code the way he did. Copy pasted stuff everywhere, never added abstractions, stuff was 30 lines when it could've been 5 and a base class.

Yaknow what? He got 10x the amount of work done that I did.

'perfect' doesn't mean 'pure, clean, never needing to be rethought', 'perfect' to him meant 'meets requirements'. 99% of the time, none of his code ever needed to be touched again and if it did need to be touched..it was easy and rote to update because it was easy to understand and simple to modify.

less is more, but the 'less' applies to abstractions, not loc.

Just because you CAN take something to the next level, or iterate one more time till it feels right, doesn't mean you should or that there's value in doing so.
> Flash died not because it couldn't do mobile.

I never said it couldn't do mobile. I said it couldn't do mobile as well as native.

Flash died faster because of apple, but was always going to die due to the combination of the rise of app stores, mobile battery issues, and the advancement of web standards.

Apple did the work to integrate flash into the iPhone before they rejected it.

I think it is interesting that Apple gets all the blame here since the decline of flash also coincides pretty directly with it's acquisition by Adobe. Youtube's early moves to offer non-flash video also had significant effects.

While I am a big critic to Apple's approach to called gardens, the decision against flash was as much prescient as it was causative of the decline of flash.
Yes, unfortunately there is only so much you can do.
Using decimals instead of going 0-10 so 5 could be the halfway mark (or 1-5 with 3 as halfway) is kind of an example of "don't build that feature".
> and even if the situations were exactly the same, that still doesn’t justify Russia invading Ukraine

I would take issue with the word justify.

That country A did something bad to country B doesn't justify country C doing the same bad thing to country D. But what it does do is puts the actions of country C in historical perspective (i.e. is it uniquely evil), and calls into question the moral argument advanced by country A (if it claims that what country C does to country D is wrong, then how come it did the same to country B? where was the moral argument then?).

When we see someone say one thing and do another, we call such person a hypocrite. This person might object that by calling him so, we engage in a whataboutism, because his actions have no bearing on whether what he says is the right thing to do. But such objection typically doesn't work. I wonder why.
Here's what an everlasting lightbulb looks like. https://youtu.be/jx1d3j1IEoI?t=73 I wish they weren't illegal in california.
I agree that there are many violations, but I also think that there is a lot of compliance, due to both goodwill and fear.
>Most Americans like their big military, even though they gripe about its cost. If there were a strong majority sentiment to reduce that military or pull out of the world, Trump would have done better against Biden.

The 2020 election was a referendum on COVID so it is not a fair comparison. Trump was on track to defeat Biden before COVID hit and he totally bungled the response. In addition to that Trump increased his turnout significantly (as did Biden but I attribute that to COVID and hatred of Trump's personality). If another well mannered populist comes along during non pandemic times, I fully believe he/she would mop the floor with the establishment. Trump laid out the map for a path to break through establishment stranglehold on the white house. Its unfortunate that Bernie couldn't get past the DNC's attempts to pull the rug from under him but Trump showed that the Republican party does not have as many roadblocks so you cannot be as dismissive of populists as you are given the facts on the ground.
> ... they have an important role ...

Your argument is that it's "justified violence", which, as you'll note, is still violence.

> ... they have an important role in starving the Russian state of the resources it needs to continue to wage conventional war in the medium to long term.

Ok, so when have sanctions ever worked? You might be able to make a case for South Africa but when else? Has it ever resulted in regime change? Or a policy change? Ever?

Russia has energy independence, natural resources and can probably feed itself. It is a nculear power so there are no military options here so we're not going to soften up Russia for invasion (as you might be able to argue for smaller countries). And it seems Russia is prepared to weather this storm for an extended period.

The invasion will fail because it was never going to succeed. I'm sure there'll be no shortage of politicans to take credit for this (sanctions included) but ultimately Russia can't extend supply lines across Ukraine, any puppet government is doomed to be overthrown immediately (people forget the USSR installed a puppet government in Kabul and had basically the same problem) and Russia just doesn't have the manpower to occupy a country of 44 million people and suppress an insurgency.
Why lie about this? The person who published this document (gulagu.net admin, coincidentally the site has been down since then) is well known and widely thought to be a reliable source.

It wasn’t “found on the internet”.
The tires have a unique bolt similar to anti-theft lug nuts on cars and the Seat is part of the locking mechanism. You can't steal either of them without the key or unique lug nut socket.
I'm aware of that, which is why the comment you're replying to suggested that duress passwords are not a good defense against brute forcing.
> invade or nuke London first

I don't think that's the plan. Also, no one is going to use tactical nukes against a city. The last thing Putin wants is to look like a mere terrorist. (And no, the Russian forces aren't using terrorist tactics in Ukraine.) So, the first one will probably be used against a military installation (a weapons depot, a radar station, a war ship, etc.), most likely in Poland.
That's not an accurate explanation, since the Oberth effect also holds for a fictitious rocket that doesn't lose mass when it thrusts.
True or not, it does bring up an issue I hadn't considered, that Russia is quoting low casualty numbers (in part) because they simply have no idea how many of their own soldiers have died.

When a patrol or convoy simply disappears (from their perspective) in the middle of a field in Ukraine, are they actually organized enough to recognize the loss? Or is it simply a phantom platoon somewhere in the books that it will take weeks to figure out is missing.
Snapshots, sure.

But... any of the other stuff? Checksums, deduplication, compression, etc. Citations, please.

LVM VDO wasn't really a thing until a couple of years ago, and I've never actually heard anyone recommend using it. Definitely not within its "traditional domain".

Perhaps you mean on other operating systems... when this discussion is all about a Linux filesystem and whether other Linux filesystems provided these features, including the comment you replied to?
Honestly seems like a proportional response to the sanctions, which have gone so far as to steal the Russian government's deposits in foreign banks. Not that those sanctions are or aren't justified, but the west had to expect this in response.
Chart: Outpacing even China, the US takes the lead in grid battery investment
There are lots of Americans who agree with you and would LOVE to see Europe get better at this stuff and take a load off of our national expenses and bank accounts :) .
You should step back and see the big picture.

1) they don't have to use your software. they could write their own, or choose another vendor, or do whatever your software automates manually. if they are using your software, they have chosen that option because, on balance, it meets their needs. that's not to say it's perfect, but it must do more right than it does wrong.

> For example they might spend an hour working on a task and then suddenly our code runs into an exception and their data is not saved properly.

Nobody should ever do this! Spending an hour working on unsaved work is not sensible. Either your software should save it along the way, or they should do their work in some other place (notepad?) that saves it incrementally, then copy and paste it in as a last step.

This is an example of where you need to step back and see the whole picture - it shouldn't be a case of doing unsaved work for 1 hour then saving with 100% reliability, it should save incrementally. Even if the save code were 100% reliable, they would still lose their work if they lose power, have a network disconnect, etc.

Unless you step back and understand why they are choosing your application, despite these problems, you won't be able to see the most important aspects of the business.
Basically yes. About 20% of the population is highly politically engaged and partisan (mostly the upper-middle class). The rest are neutral or lean Republican or Democrat, but are really more concerned with day to day things. If you piss of your ideological base in the 20%, you will get primaried. If you screw something up so badly that it affects the day to day life of the other 80%, you will be destroyed in the general election. So the winning strategy is to go as far as you can to please your base without pissing off the main population too much. An example of this is "defund the police." Perfect for the Democratic base, but absolutely toxic to the unengaged middle watching SF shoplifting videos on Youtube. See how quickly they backed off that?
New LED displays are much lighter, so you probably have lots of margin to just put in dead weight.
The Acid tests were obviously great at the time, but in retrospect some of the choices were not ideal. The concept of having a single page that only renders correctly when all the relevant conditions are met makes it hard to write broad tests for the feature; the Acid tests often depended on deep edge cases of one aspect of a feature, but lacked coverage of other aspects of the same feature. There was also an element of function-follows-form; the requirement to render an overall memorable image in the passing case often meant that the tests themselves were not well isolated, and developers working on the bugs would have to spend considerable time producing reduced test cases. For Acid 3 in particular, the need for 100 exactly tests meant that some features were given extremely shallow coverage, and the general hype around being the first implementation to pass an Acid test encouraged vendors to do the minimum necessary to make the test pass, rather than providing a useful implementation of the feature.

In the time since the Acid tests, there has been much more focus on building up the process for sharing tests as a matter of course in browser development; web-platform-tests is the result of that effort. Interop 2022 adds some more public accountability on top of web-platform-tests, which hopefully creates some of the same incentives as Acid tests for everyone to get the same set of features above the bar where they're no longer providing problems for web developers or end users. But it's intentionally set up to use a library of many smaller tests, and be paced as a marathon rather than a sprint, in the hope of avoiding some of the pitfalls of the Acid-test approach.
Yes, maybe "shame" on a national scale is overwrought.

Those of us that did not vote for this Conservative government may feel shame (I certainly do) but the UK is a democracy and the government in power reflects, to a large degree, the sentiments of the general public when it comes to migration and charity to refugees. The latter of which is often in short supply.

In terms of the practicality of fleeing Ukraine for the UK, I take your point about distance, and wouldn't imagine that we would be a more popular destination that countries in central Europe. At the same time, the fact that only 50 visas had been issued by Britain to refugees from Ukraine (at the last count I saw) is pretty embarrassing if you ask me. We should do more and better, but we get the government (and by extension, the policies and laws) that we deserve.
Most languages offer some guarantee by the time they hit version 1, let alone 2. Take Python for example, v2 took a decade to deprecate.

Swift is the edge case on this one. Not the norm.
But even that's not true, because you can consciously decide not to choose either one of several presented alternatives, with the full awareness and acceptance of what that means. Basically you can always add the default case, making it explicit, and explicitly choose it.

Sometimes it's other people that want you to think that there are only two (or however many) alternatives, of which you must choose one; and by not taking any of them, you can assert your own thinking.

Sometimes you just have a small input to some process that other people are controlling, which will proceed without your input. Sometimes in these situations you only have the illusion that you're making a real decision even if you pick one of the non-default choices you're presented with.
> If even the superpowers cannot pacify medium-sized nation-states anymore, individual states have no realistic chance to achieve anything alone.

My sort of uninformed reading of the problem in Mali / Sahel desert insurgencies is just that the French didn't do a very good job at a strategic level, which isn't really the military's fault.

It strikes me that most of the western debacles have been essentially down to a pretty thin understanding of how to discover and support regional partners. There's no quantity of bombs or boots that would make the Afghan kleptocratic torture state command a plurality of support, and worse, the Americans were temperamentally incapable of building bridges with the kind of people that could form a stable government.

My feeling is that resources aren't the problem: the problem is that (for a number of reasons) western policy making elites are just making the wrong decisions, both in terms of how ambitious their projects are (the post-invasion Iraq project was insane), and in terms of who they choose to work with.

If you take Iraq for example, the US chose to marginalize Iran early on, despite the fact they would have been (practically speaking) a great partner, who were more than willing to involve themselves in Iraqi regime change.
Contact the Electronic Frontier Foundation. This is literally what they do. I don't know if they'll take up the case, but talk to them.
> Do you think filing cabinet companies of yesteryear bragged about unleashing the creative capacity of the whole fucking world? Of course they didn’t! That would have gotten you laughed out of church.

This is more than a bit ahistorical. The qualities that were being "unleashed" were efficiency and memory rather than creativity, but attitudes were in some cases no less utopian and self-important.

There is actually a rather good book on the filing cabinet as a piece of information technology:

https://www.upress.umn.edu/book-division/books/the-filing-ca...
And there is a whole bunch of wage theft - you can't forget that wage theft accounts for the most damaging crime by pure value in the US alone. Individual occurrences aren't generally for tons of money, but it happens everywhere.
>So it's probably an issue with myself that needs fixing, right?

You are feeling guilty because you care about your (your app) customers, this is not (IMHO) an issue, it is only you being a "good" person (like hopefully most people).

But 1% (if it is 1%) can (still IMHO) be a lot.

Let's say (for the sake of reasoning) that the app is about invoicing.

One of your customers used to be able to prepare 8-10 invoices per hour and now, thanks to your app, is able to make 16 instead, BUT every 6 hours or around 100 invoices one fails, the work done is lost and it takes "a few hours" to solve the problem.

Hardly an increase in productivity.

0.01% or 1 in 10,000 would be probably acceptable in this completely hypothetical scenario.
I'm hugely disappointed by the comments here. I expected better of HN.

As the article extremely rightly points out, this is _the_ time to examine these issues. We cannot allow the West to begome complacent we-do-no-evil-to-others we-see-no-evil-in-us we-hear-no-evil-from-us. If something leads to dystopia, it's what we are doing to ourselves.
With that logic, a child can be super cheap if you just pay the bare minimum to live. No cars, no phones, no college.
An organization may have a teams full of wonderful developers and operations alike - yet... when things break, it often takes expertise from both groups to wrestle back control.

As a former operations person, I learned more about the code I deployed than I ever wanted; it all could've been avoided if development also learned a little about the operations side.

It just makes us all better. Developers that actively show no interest in operating it tell me they don't want to support their work, honestly.
Realpolitik: Why is Ukraine the West's Fault (2015)
Personal trainers don't cost much more than the equivalent of a $20 copay a session - when I had one it was $250/month (that's equal to $58/week) and I think I got three sessions a week. That's slightly less than $20 a session.
Most of these arms lack the strength to hold up the original screen anymore. Probably due to fatigue of the spring. I still have one and it's just enough to hold it up but every time I hit the table it flops down :'(
Thousands of companies release open source stuff in the hope of selling support for it. It's a commercial bait, a perfectly fine strategy. The author does nothing more, why should we expect anything more ?
In this case the store doesn't exist due to sanctions.

So if you take goods from a store that doesn't exist is it stealing?
Believe it or not the language you use influences the amount of bugs in the system.

Also your programming technique and style of programming influences the amount of bugs.

Generally to reduce bugs, go with a functional programming style and make sure the language has robust type checking. Functional has a bad connotation in some circles so another way to think about it is to use immutable variables as much as possible. Avoid mutation wherever you can.

This is the first step. The next steps are testing and QA, but most teams have that side covered.
We really don't limit that stuff if you want to use it for home use. No one from KRAFT is going to come after you for trying to make KRAFT AMERICAN SINGLES at home to save money.

They are going to come after you if you try to sell them to MAKE money or tell others how to make it.
In my situation the company requires wipe after 5 or 10. I don't remember how long the timeout was but being blocked out of your work phone while you're oncall is also a massive pain in the ass.
" It’s obvious if you look at major cryptos: a small number of people hold a large amount of the crypto wealth, and a few mining pools control the majority of the mining activity ... "
Not including overseas colonies France 1939 was 40 million, Ukraine population 2021 (edit - and apparently 2022 as well) was 43.5 million.

And IMO overseas colonies don't count as they weren't invaded and also weren't included in the democratic process back then.

Also bigger is bigger. But the fact that the next biggest was France in WWII is a great example of how significant the invasion of Ukraine actually is...
bcachefs is probably the other big name here, but since distros still seem to pick btrfs, I don't think it's considered "production ready" yet. The bcachefs website still labels it as "beta" quality.
I think this might be the most egregious example of victim blaming I've seen yet. Dictator marches in tanks and starts shelling cities a week after announcing his troops weren't going to war and days after announcing neighbour isn't a real country whilst bellowing an incoherent set of demands and it's the Ukranians' faith in negotiations which must be questioned (even though Russians immediately reneged on the one thing they did manage to agree on). If the people living under literal bombardment disagree about the imperative of giving in to Russia no matter what their terms are (which worked so well last time...) its because they're "brainwashed", and not because the best case scenario of acceding to a demand to "demilitarise" is he leaves them enough time to pack their bags before his army comes back for a third helping.

One of the main reasons why bad behaviour is almost always good politics is the queue of people willing to argue that if they behave badly, one should simply give them what they demand.
Whether the nuanced view is more or less correct depends entirely on whether your view of correctness is black-and-white or more nuanced.

Suppose I spill a bunch of puzzle pieces on a table and ask two friends to tell me what picture is on the puzzle. My friend Alice blurts out "Elephant" because she has seen a lot of grey pieces. My friend Bob spends more time and looks beyond just the color, at the shapes and the other colors present and determines the image is Fort Knox.

In this case does it matter what is actually on the puzzle? Even if Alice gets it right, she's basically just guessing in the dark. She's ignoring all kinds of other evidence and reaching a conclusion. Does she deserve a reward if she happens to have guessed correctly despite not developing an understanding of what she's actually seeing? (Put another way, is real life like a gameshow?) Conversely, is Bob 'less correct' for having taken the time to understand other details of the image?

I say, no. I don't think Alice can be correct here. Her view can only align with truth coincidentally. That she got lucky this time has no meaning.
I think a lot of it depends on how a given product is branded/marketed. Mrs. Buttersworth's is a good recent example here in the U.S. Had this brand actually been originally founded by a kindly grandmother who happened to be black and started bottling up her favorite syrup recipe, there would be no issue. (or anything that even remotely related to how it was branded) Another example are current stories about things like Russian Vodkas are rebranding (to distance themselves from the current situation) when the reality is that the only thing Russian about them is the brand name. We do this all the time with consumer brands from foods to restaurant chains claiming, directly or indirectly, some level of authenticity that isn't even remotely there either in terms of the product itself or those involved in producing it... often neither. It's even worse when said brand is actively harming the group they are profiting from the association with.
Putin might have intended that, but I don't see how it would work. It's quite evident the Ukrainians will resist a puppet president.

> punic

Did you mean punitive?