skysight-inc/HackerNews huggingface dataset:
> pointing to them causing and exacerbating cardiovascular disease

Unless the studies include tens of thousands of people from South India (particularly Kerala) and Sri Lanka where the coconut and its oil have been used in large quantities in the diet for thousands of years, I don't consider them to be relevant. It is possible that the West has no tolerance for the stuff.

You should try to eat what your ancestors did. We Indians became obese and incidences of lifestyle diseases like diabetes and heart disease increased heavily after we shifted to seed oils and started consuming sugar, refined flours and processed flours in massive quantities since the late 1970s/ early 1980s.
I'm guessing you want

:%s/^pick/s/

to replace "pick" at the start of line with "s" on all lines?
If you execute it once in vim you can recall it later with just typing

:%↑

and confirm with Enter.

As for the top of the file:

gg

I use the mnemonic "go go line" (as in Inspector Gadget's "go go gadget") and since you can prefix it with a line number (e.g. 4gg to go to line number 4), leaving it out gets me as close to line number nothing^Wzero as possible, i.e. line 1.

HTH :)

PS:
the % says "on all lines"
your trailing "/g" would make it match&replace "pick" multiple times on the (current, since % is missing) line

PPS:
As an aside, I use "vim somefile +N" all the time to open somefile at line number N;

especially when there's an error message in the form "error at somefile:N" by
typing vim, then double-click-middle-click copy&pasting "somefile:N", Ctrl-E to jump to the end and replacing ":" with " +".
I really should write a shell function for that...

EDIT: formatting
but people around him are not.
Thanks for the link! I was not aware this was a thing, it looks very interesting.
> Okay. I would be interested in hearing why it's different from other similar regimes but if you don't want to explain that's okay.

Which regimes? Can you list some cases where fascistic regime with most of its budget used on the army and power hungry maniac running it was appeased and it worked well?
They were soviet nukes. Ukraine was soviet land and soviet people too. Breakaways by definition take stuff with them. To claim Russia had a right to the nukes is no different then saying they had a right to the land and people.

They had a choice, they just chose the one that didn't lead to war.
lithops activities involve patching cracks with mortar, ensuring adequate stockpiles of stone and tools are on hand to replace any failures that occur due to extreme weather events, centuries of erosion, or physical shocks.

which brings us, inevitably, to lithsecops

some leading security-conscious lith-oriented organisations have embraced a shift down mindset to incorporate security thinking within existing lithops teams, either by embedding security experts in the organisational groundmass, or upskilling existing practitioners. many security concerns can be addressed easily and cheaply within the geological cycle by designing and forming rocks that are too heavy and awkwardly shaped to be easily stolen or otherwise misused by the majority of unauthorised actors.
The main reason why the EU bans GMO crops.
You'd want something like https://bors.tech/ to avoid that.

Bors works for git. Google has similar tooling for their system. (I think it's called the 'train'.)
The answer really is do both kinds of pricing, like Cloudflare does with Workers.

Workers Bundled is priced for upto 50ms of CPU time and unlimited egress. Workers Unbound is priced per-ms of 8xCPU or 1xIO time, which ever is higher.

I mean, pricing is hard, but at least read through these if nothing else: https://html.duckduckgo.com/html/search?q=inurl%3Ahbr.org%20...
We simply do get used to that and all the rest. The benefits of modal editing far outweigh the eventual clunkiness of pressing a given key now and then. But the more you know how to use Vim, the less you need to get in and out of insert mode and the less you need to hit <Esc>.
Interesting! A bit of an echo happened yesterday: there was a big walkout at the OSCE meeting, before Belarus and Russia started to speak.

https://twitter.com/rikardjozwiak/status/1496913193360400387

https://twitter.com/ger_osce/status/1496917994559066117?s=21
Coming from ex-USSR... Western European elite is much much much better than Russian elite...
A reply without any inclination of doing basic stuff like googling 'History of Agricultural subsidy' or at least skimming the links in my last post.

Sweet, a downvote trap.

Well go ahead.
I'm on a a (14" 2021) macbook pro with the apple M1 Pro cpu and 32gb ram.
I've tried both firefox and chrome.

This would NOT be a viable desktop environment.

The performance is WAY worse than anything I've used for the last 15 years.
And this includes shitty 10-yearold no-name laptops using gnome/compiz.
What are the arguments towards this ?
> It's not entirely clear what the endgame is here

Fuck up Ukraine and go home. Belarus has already been turned into a puppet state, and if they manage to turn Ukraine into a similar puppet or at least a failed state, there will remain no prosperous alternative in Russian-speaking world to Putin's Russia.

Russians have massive inferiority complex since at least the 1960s when Soviet Union began to significantly fall behind the West and this is their way of dealing with it.
I agree, drowning out normal voices in fake news and bots is as much censorship as banning them outright - it is just a form of censorship that (some) free speech advocates are complicit with.

But the biggest issue in my mind is that fake news, misinformation and bot bullying makes social media money, so they are never going to stop it.
Russians, like all people in all countries, do love their children and hope for a peaceful and safe life. The people at the top are the problem, again in every single country. Granted, some of those people at the top today are much bigger problem than others.
> Shift+G takes me to the bottom of a file, but I don't know how to get back to the top :D

I know the complement to Shift+G, it's gg. But I can never remember which one goes to the top and which to the bottom, so half the time I press both. :)
…Iran Nuclear Deal?

Putin is insane, but his record of recklessness and betrayal simply doesn’t come close to the mischief of the United States on the global stage.
The Linux kernel has its own libc-ish too.
Already I'll do what I can:

I browsed Ukraine web shops and found at least Spar has an open webshop: https://shop.spar.ua/ . If anyone has an address to order for I'll try ordering some goods for the front line, bunkers or what do I know.

In the longer term I'll do what I already do to China:

I happily pay 20% more for small goods not made in China and in fact I try to avoid buying Chinese.

At the same time I'll happily pay even a bit more for Lithuanian goods after their brave stance the last few months. (Lithuanians, make sure "Made in Lithuania" is visible on everything you ship. You guys rock!)
Whether something is (statically) typed or not is more of a continuum than a binary.

Eg C tracks whether a variable is an int or a char. Haskell also tracks whether a function causes side effects or not. More sophisticated systems also track whether a function has to return eventually or could run forever.
Yes, exactly. And some of us have been subject to the whims of prosecutors in the past. It's relatively easy to say that you trust the US to do what is right compared to Russia, it's much harder to put your faith and your future in the hands of any government.
> Question everything, but unless you see it with your own eyes, dont rate it too highly and even if you saw something with your own eyes, have you been surreptitiously drugged, or are you just seeing some live performance with actors?

It’s good to be skeptical of all media these days, just as long as you aren’t too skeptical or contrarian just for the sake of it. That line of thinking has led to fantastical conspiracy theory thinking. One side refused to admit that COVID vaccines can potentially be harmful and have a nontrivial amount of risk. The other refused to admit any benefit and didn’t get vaccinated at all. If instead we were presented the full story, instead of 4 minute sound bites, I suspect the pandemic would have been over a long time ago. Same with the anxieties of WW3 in this case.

Is the media culpable if it makes a normal, rational person go insane?
>I have a hunch that there might have been a trend towards remote work even before the COVID

There was, I remember reading a paper that said it had gone from 5% to 10% of the working US population over the previous decade.
> The “Land Hemisphere” is 85% land.

Interesting. Not sure where you got that 85% figure though:

>> even in the land hemisphere, the water area still slightly exceeds the land area (with 53 percent water to 47 percent land)
It is pouring in money to the Ukraine state from other state's money printers. Donating to the government in this case seems extremely pointless. Ukraine does not need money they need AA and AT weapons a month ago.

If you want to donate I would try to find some small scale relief effort that probably has no free Central bank money raining over it.
That’s your point of view, and that’s fine.

Mine doesn’t involve the United States at all. Try putting yourself in the shoes of a citizen of Europe who wants to live in peace, but feels their community is under attack by a nostalgic Russian dictator with an inferiority complex.

Not resisting and not getting involved is what my grandparents did when the Nazis were rising to power. I’m not going to make the same mistake.
This made me giggle like a little girl. Oh sweet summer child...
I’m not a vegetarian and I still really hate that “if I wasn’t farmed I wouldn’t exist at all” argument because it’s really just an excuse to be shitty to other life forms.

The fact is if you didn’t exist then you wouldn’t care either way, so it’s a moot argument. The fact that you do exist changes that, not excuses it. Or in other words: we are not doing other species a favour by eating them.

It’s also worth noting that many of the species we far isn’t the natural evolution of that animal. They’ve been bread to be fatter, or more docile etc. Many of the species suffer from health issues due to breeding that their natural cousins do not. The reason a lot of these animals seem suited to farming is because man has bread them that way. This isn’t doing these animals a favour either. It’s purely for man’s own benefit.
[EDIT] While I agree, STRONGLY with this action,

I also worry that kicking Russia out of SWIFT, could make them partners with China and others in hastening the demise of the PetroDollar.
Not always. ;)
Specifically, if my_program.sh outputs some 1024 lines then it is still nonzero probability that your behave_differently.sh does not in fact behave differently.
It's been difficult to find the operational objectives[1] of the war laid out plainly, which ACOUP once again does expertly (as best as any expert can do at this stage, anyway).

The Siege of Gondor writeup[1] is worth reading by itself, but I think rereading it with Putin juxtaposed to Sauron would retroactively give LotR that much more relevance and gravitas.

[1] https://acoup.blog/2019/05/10/collections-the-siege-of-gondo...
If you're American, try to imagine what other states must've done in order to get Washington, Orgon and Idaho to seek protection from China: wars, massacres, genocide.

Can you imagine resettling the whole Mormon population of Idaho to the furthest corners of Alaska? A knock on the door awakens you. You're given half an hour to pack a single suitcase, and then your whole family is pushed into a cattle wagon going to Alaska. No food beyond a slice of bread per day, no other supplies while traveling there over three weeks. If babies die, their bodies are just thrown overboard by soldiers. When you arrive, you're assigned a mine to work in for free as slave labor and a dirt mound to sleep in.

That's what took in Eastern Europe to seek isolation from Russia: https://en.wikipedia.org/wiki/Population_transfer_in_the_Sov...
Banking Secrecy Is the Superpower of Kleptocracy
An issue that comes with the "when necessary and(/or) if we choose" is bringing a regional dependency that only benefit a part of the workforce.

For instance let's say the company is in Berlin, having an office there means employee will need to be at a commuting distance from Berlin wether they actually commute or choose not to. Recruiting someone in Amsterdam becomes a difficult decision, and employees in full-remote still have to pay Berlin area living costs just for the potential commute they could have to do.

And that's assuming online discipline is exemplary and you don't have a "left out" effect between those on premise and the others online.

Basically the choice would be between solving the privacy issues you raise, or solving the logistics/disparity issues raised by other solutions. I kinda feel like the privacy issues could be easier to solve than the others.
>On paper yes. They are obligated to join or whatever. In practice, the whole west has become so risk averse in last few decades

I also thought this. Would other NATO members really step in to defend Poland? I know the treaty obliges them to, but in reality would they?
The most important part in what you wrote:

> no sane person wants to shoot their peaceful neighbors and relatives

and this is the case for all Russians even most of the ones in the army in Ukraine, right now. People do not want war. Period. For a human being to go to war, he/she needs to be heavily indoctrinated to the point of partially losing is normal references. Even today, with heavily indoctrinated armies, only a small subset of the forces are effectively shooting bullets.

War is decided by crazy leaders (and I am polite) far away from the lines.
>because yes, NATO would attack back

That's what it says on paper, yes. That's the theory.
There isn't necessarily, but there is in practice nearly 100% of the time - enough so that it doesn't matter.
It matters of course, because if the people get pissed enough they'll topple the dictatorship, especially if the security services get disenchanted as well.
Ask HN: How does your company release software?
I’m working as a software engineer for an enterprise grade company whose core domain is not software itself. It’s my first company and I lack comparison how other companies, from smaller start-ups to larger software companies, release software and ensure quality. I’m mainly interested in how heavy- or lightweight the process is, who is held accountable and if you have a heavy-weight process what do you think is the main reason for that? Thanks for sharing your thoughts!
Have used both. Depends how you use them.

If you use jsonb of postgres to just dump things you don't query on, it's fine. If you try to cheat and dump your mongo schema into a jsonb field, you're gonna have a bad time.

JSON queries in postgres are, IMO, extremely nonobvious. It seems like any time we wanted to run some rather simple report that involved json fields, some poor dev had to spend ten or more minutes figuring out the correct syntax to do so. Mongo is an absolute breeze in comparison.

Person opinion? JSON doesn't belong in the db, make a proper schema. If you don't want to do that, or don't like or want to learn SQL, just use Mongo or some equivalent.
Well then, Russian soldiers and Belarus will see some nuclear fallout.

Right now the wind is blowing North.

https://earth.nullschool.net/#current/bio/surface/level/anno...
NATO attacked Libya in 2011, with disastrous consequences. It's not a defence alliance.
Not quite. They don't have complete control of the market to where they can bring on the onerous things that come with what we'd traditionally define as a monopoly, price gouging, etc.

They can just make it cheaper.
The Win95 UI was the result of pretty thorough formal-ish user studies. How many design iterations after that went through the same process ? Fairly close to 0 I believe.
If you were trying to find a physical copy of an important tax related letter, would you prefer to search for it in a folder dedicated to tax document from that year or from a room filled with every single piece of paper that you have ever received by mail in your life?

A pure tag system only works for small libraries, it requires far more discipline by properly tagging every single file, it does not scale and it does not work well when you collaborate with other people. It works well in situation where you can automate the tagging (eg. a collection of pirated moves) but is pure garbage for normal files that you typically use.

It's a lot easier to tell people to place pictures of karl in the "karl" folder than it is to make sure that every single picture gets properly tagged with the word "karl". I can imagine hundreds of different scenarios where it gets tagged slightly wrong. Typos won't be easy to fix because they will simply not show up in the search when you type it. How many files with "K arl", "Carl" or " karrl" are there? no one will know.
The number of countries that have fallen for that line paints a depressing picture of political comprehension among politicians. How have they - of all the classes in the world - not cottoned on to how this works?

It is a minor miracle when voters can get their own government to follow through on an inconvenient promise. Promises mean nothing when foreign armies are involved.
Ah, but determinism was implied. Remember, this argument was confirmed considering a Turing Machine.
That is incorrect. NATO policy is "no-first use" for nuclear weapons. The member countries individually can make decision. Nothing in NATO mandates use of nuclear weapons, just that they join in common defense.
Germany is virtually the sole power keeping the EU from collapsing on itself economically geographically and politically, even if France is the one with the nuclear arsenal.
I'm not American, and yes, most US presidents and army commanders and CIA pieces of shit should be brought to The Hague for their war crimes.
When companies often last less than 50 years, they have no interest in preparing for events that happen every 50 years. If they did, it only makes it more likely that a competitor would out-compete them.
What context are you seeing an embedded browser in?
I don't always use applications posted on HackerNews, but when I do, they're ones written in Rust.
I use macros way more often than dot. With a macro I can include the movement action of getting to the correct position before the edit takes place, I'm not sure if this can be done with the dot key alone.
I find it hard to understand the real world implications of this. As I understand it this is a research project aimed to improve future 2D rendering.

Would this somehow help improving Chrome's rendering performance? Right now Chrome has massive performance issues with rendering very large SVGs (zoomed in SVGs) and I am convinced that clipping could dramatically improve this.
This is a super good article.
The phrase "the free world" rubs me the wrong way. I'm obviously against what Russia is doing, any sane man would be. But as a middle eastern, the US to us has been 10x worse than Russia: They killed a million Iraqis, they killed Syrian civilians by bombing hospitals and schools. They overthrew a functional government in Libya, and they supported Syrian/Iraqi separatists (Kurds). They forcefully tried to build a military base in Lebanon. Not only that, but they also tortured, raped, and humiliated innocent Iraqis in Abou Gharib, without any major repercussions.

Just because the US did it, doesn't mean that Russia is justified or less wrong, both are wrong, and neither get to call out the other for humanitarian reasons.
Quite the difference between the few top level comments. This one shows an internal locus of control (he simply chooses companies that match) and the other one shows an external locus of control (they’re ruining it for us). Neat!
defaults.vim was and still is an abject idea that we sadly can't get rid off, now that it has been there for a few years.

The least desirable property of defaults.vim is also present in sensible or in system-wide vimrcs written by package maintainers: you get a black box where things are added/changed/removed without your knowledge or consent. "Your" so-called minimal setup is going to evolve over time, but not according to "your" needs.

We got so many support request related to that silly mechanism that's not even funny.
No, there's a 0% chance my implementation outputs 1 as that is only 1 byte long. If you outputted 1023 0s and then a 1 there would be a 2^-1024 chance. That probability is too small to practically happen. The heat death of the universe will happen first.
We'll deal with that when we have to, until then it would really hurt Putin's chances to wage this war for long.
> Putin is really clear that he won't tolerate NATO to expand to any more direct neighbors.

And so he starts the invasion which will effectively push every bordering country into running towards NATO?
> they just have not built hospitals

Didn't Biden explicitly say yesterday that they were preparing for the war and in fact built field hospitals, brought blood supplies, etc.?
I describe ours as a hippo’s ass.

Enterprise software also for reference. Huge cargo cult.
Least deranged partisan
An input box like SO's isn't discoverable though, it's not good for things that you "want but don't know exist yet"
Please, no. Someone else's vimrc is the last thing newcomers need.
Budapest treaty is pretty damn close to defence alliance in it's wording.

Why did Baltic states or Poland wanted into NATO so much? It's one more treaty you can show to media when shit hits the fan. One more treaty your supporters can use debating governments for help.

In reality, if Russia attacks a NATO member, it won't be automatic full-on NATO response. It will still be debates. But certain people will be much more uncomfortable saying „no we won't defend NATO allies“. Yet some will still say it.

Russia wants it's own NATO, with black jack and hookers. And countries joining the real NATO obviously won't join theirs.
What does “democracy” have to do with anything? If Biden doesn’t get reelected, it’s not going to be due to anything he does to Russia.
Strange comment.
> the idea that Ukraine has a Nazi government is a farce; for all of its considerable problems with corruption, Ukraine’s current government was democratically elected...

So were the Nazis, though.

I'm not arguing that Ukraine's government are "Nazis", just that despots and extremists can be elected too...
You're right that my example was flawed. I've updated it. There is however still nonzero probability that ./behave_differently.sh some_peogram.sh behaves the same as ./some_program.sh
As a relatively profane person I'm always baffled by adults who feign being unable to swear. What are they trying to signal with that?
On my Ultimate Hacking Keyboard I have a mapping of (left)space+q to produce Esc which for this combo I hit comfortably with my left hand thumb + ring finger.

On other keyboards I find fishing for the Esc key with the left ring or sometimes even middle finger good enough since it's so prominently singled out on the top left corner on all the keyboards I had yet to use, but it breaks the flow a bit more.

It probably helps that I'm not typing in proper form for the 10-finger system but only some hodgepodge approximation of it...
If you think the US has been worse for the Syrians than Russia’s indiscriminate bombing of its cities, I cannot take the rest of your argument seriously.
Futures markets and long term contracts don’t help people eat. You can’t eat food that doesn’t exist due to droughts, floods, freezes, fires, or pestilence.
thin clients have been attempted numerous times in history (remember the Sun ones?), but as far as I know none really succeeded?
According to news reports, crypto is being bought all over Ukraine right now.

https://www.cnbc.com/2022/02/24/ukranian-bank-suspends-e-cas...
Ukraine supplies 90% of U.S. semiconductor-grade neon