skysight-inc/HackerNews huggingface dataset:
This comment is in praise of this idea I promise.

I think I could pick apart about half of these and show how they aren't needed,

and the showpiece example is particularly weak since sed can do that do that entire pipeline itself in one shot, especially any version with -i.

You don't need either grep or sponge. Maybe sponge is still useful over simple shell redirection, but this example doesn't show it.

One of the other comments here suggests that the real point of sponge vs '>' is that it doesn't clobber the outoutput until the input is all read.

In that case maybe the problem is just that the description doesn't say anything about that. But even then there is still a problem, in that it should also stress that you must not unthinkingly do "sponge > file" because the > is done by the shell and not controlled by executable, and the shell may zero out the file immediately on parsing the line before any of the commands get to read it.

This makes sponge prone to unpleasant surprise because it leads the user to think it prevents something it actually has no power to prevent. The user still has to operate their shell correctly to get the result they want, just like without sponge.

So it's a footgun generator.

Maybe it's still actually useful enough to be worth writing and existing, but just needs some better example to show what the point is.

To me though, from what is shown, it just looks like an even worse example of the "useless use of cat" award, where you not only use cat for no reason, you also write a new cat for no reason and then use it for no reason.

But there is still something here. Some of these sound either good or at least near some track to being good.

I like it.
I couldn't agree more. I guess when you can't hack it and are literally told by employers that you do "not have the technical skills for the job" as this woman was, you can fall back on your gender, sexuality, race, marital or parenting status to make waves and garner sympathy from a society that increasingly values the right combination of these over merit.
Roundabouts generally require a driver to look in a direction other than their direction of travel, to determine if it is safe to go. They are also designed to reduce the amount of time any given vehicle has to actually stop if there is no reason to. However, to keep the flow, a driver must check if there is incoming traffic. This varies based on left/right side driving countries. Lights for pedestrians might help, but then the benefit of continual traffic flow is reduced. There are more considerations that can make it work, but I often see this point (my first sentence) overlooked.
I think by object he means "reference type" - the only good thing about Java's primitives is that at least it has some value types somewhere!

Almost every decision in Java feels like it was chosen to waste memory. Even using less than int size ints is hard, because it makes you write explicit casts everywhere, which doesn't prevent bugs, but then makes overflow wrap silently, which encourages them.
I thought I would never surpass my 1600 hours in Factorio, but I reached 2200 in Satisfactory in half as many years of playing.

No, I do not let either game idle, as I consider it cheating.
The fate of the company after it has been taken private doesn't matter as far as "fiduciary duty" is concerned.
Sounds like you might just have ear wax problems?
IME best predictor of "success" is the prestige/brand of the candidates have before they entered the program. It's based on candidate selection, not ability. But with the VC model there is pressure to grow, so they lower the bar and accept people who aren't transitioning from prestige background; PHD's/name brand schools or companies... and shocker they struggle to find a job.

They are scams because they juke the stats. They hire their own graduates to up placement rates & deceptively determine there own exclusion criteria to remove data of people who didn't get placed.
Bullshit. They state quite clearly that they want to annex part or even whole of Ukraine.

Sure what you say may have played the role also. But Putin wants "glory days" of SU back. That's why he continuously tried to expand Russia (and Russian influence) since he came into power.

It's about him being a power broker on international scale and not another has been dictator of 3rd world country.

Nato was just used as an excuse. Because of the submarines and ballistic missiles, It doesn't matters where weapons are.

And nothing excuses them for what we are seeing what is happening on the ground.
I take it you're highly invested in Twitter stock given how confident you are it's going to go up by more than 20%?
>It's quite likely that {place} is a good place to live because there aren't too many people who live there.

Citation needed. Intuitively to me, it seems that {place} is a good (or bad) place to live because of a lot of reasons, not just one, as you suggest.
Small streets can be difficult but often in the U.K. you just get a thick dashed line across the road when you need to give way in a normal place. That’s usually sufficient to figure out which street takes priority over the other (intersections where the middle isn’t part of one of the roads are uncommon) and where to give way.
There is also question of market demand... There is not telling that those shares actually sell at market price.
One can equally argue that opens sourcing Twitter algorithm and building trust would bring incalculable number of new users, have a profound impact on their ad business and not to mention, cut down their competitor's moat. People will flock to Twitter like bees. Ad revenue + subscription would skyrocket.

So, it can go either way and can be argued either way.
I'm not seeing anything in your comment that actually refutes the substance of what Wong said.

Volunteering to show your own oppression receipts isn't evidence against the idea that people from many political poles thing the platform is institutionally biased against them. It actually reinforces his point. Particularly when he takes pains to point out that anyone running this kind of circus is always going to find out that no single stable system or rules are going to be adequate to address behavior that surrounds discourse with limited accountability.

I frequent at least one sub where trans-skeptical discussion is certainly present (/r/JordanPeterson , in spite of the fact that it's largely a political fun-house mirror now more than a venue for discussing his work). I see that kind of discussion regularly. You may want to consider that something else is going in the sub you're referring to. Particularly considering it's one in which apparently both lowering the age of consent and trans-skeptical topics are a staple (the potential behavioral red flags almost throw themselves).

> ratio of trans to aoc posts that get removed is like 10:1).

What's the ratio of trans posts that don't get removed to those that do?

What's the ratio of shitposts where the frame is ultimately about how one should behave towards trans people vs posts that are courteously principled with the obvious point of exploring what gender/sex actually are and how might know?

What's the ratio of worldview to discourse?
This mirror, shone back on everyone else, casts a far darker image.
You're not the richest man in the world. It works different if you happen to be though.
Did beanie babies go away 100% after they tanked? Did the tech industry go away after the dot com bubble burst? Has crypto gone away after the roller-coaster of the past few years?

NFTs may have some potential but at the moment it's just speculation driven by greed: as long as I can get the next guy to buy this JPEG for 1 gajillion, I don't mind spending my lfe savings on it. Which history has taught us never ends well.

IMO, the crash will trim off the speculators and leave NFTs to possibly develop organic usage. For now, I maintain it's just a solution begging for a big enough problem to justify its price.
No, leveraged buyout means you use the equity of the company purchased as the backing for the loan.

If you borrow from somewhere else it’s just a buyout.
It is not really just M1, this pattern is very specific to hardware category on HN.
you're confused. It's not the law that said boards have duty to maximize shareholder value, it was Jack Welch, gone but not soon enough.
komorebi dev here. I can't tell you the number of times I've wanted to just write my own take on sxhkd[1] for Windows and use that to manage my own keybindings for komorebi instead of ahk.

You can just as easily write your own/use another hotkey daemon or PowerShell scripts to handle komorebi's configuration and keybindings, in that sense there is no dependency on ahk at all. However, the inertia around ahk in the Windows ecosystem is undeniable and it's in the interests of making adoption and onboarding easier that the project provides example ahk files and has invested in an ahk code generation library.

My thoughts on the dominant hotkey daemon in the Windows ecosystem aside, I remain convinced that the famous bspwm socket communication architecture[2] is the best way to handle both configuration and keybindings for a tiling window manager that has been proposed to this day.

Unfortunately I have to concede that there is a certain configuration burden that comes with komorebi, which is amplified in some cases by having to write/maintain ahk. This configuration burden is largely due to the highly fragmented nature of Windows application development that is discussed often on HN and it is inescapable.

With this in mind, the next release of komorebi (currently available on master) will invest even more heavily in automatic configuration generation.

A separate repository of common application-specific configuration tweaks[3] (in YAML!) has been created which I and others from the komorebi Discord server are contributing to, with the goal of having the edge cases for as many applications as possible fully documented so that a comprehensive configuration file can be generated[4] for the user which ensures that every (major) Windows application behaves as expected under a tiling window manager.

I hope that other Windows tiling window manager developers can use these YAML definitions in the future to handle the same edge cases in their projects so that eventually there will be a tiling window manager of every flavour (bspwm, i3wm etc.) available for Windows users where having to manually accommodate and compensate for the non-standard behaviour of individual applications is a thing of the past.

[1]: https://github.com/baskerville/sxhkd

[2]: https://github.com/baskerville/bspwm#description

[3]: https://github.com/LGUG2Z/komorebi-application-specific-conf...

[4]: https://github.com/LGUG2Z/komorebi/#generating-common-applic...
The problem is, this plan applies much broader than Musk, and penalizes even the “good” activist/takeover artists.
Exactly, I did a bit of work in a jet engine test cell as an asside to my main coding duties. The elec eng that I worked under had state machines and labview as far as the eye could see. I wouldn't put myself in a situation where I was relied upon for designing anything. But debugging / technician duties I was fine, hook an oscilloscope up to that engine? Help with thermocouple calibration? No problems.

One thing I will mention though, I've always found elec engineers to have a higher work rate that software devs. Always.
To explain the title:

> a limited duration shareholder rights plan, often called a “poison pill,”

> Under the new structure, if any person or group acquires beneficial ownership of at least 15% of Twitter’s outstanding common stock without the board’s approval, other shareholders will be allowed to purchase additional shares at a discount [until] April 14, 2023.
Yes, interesting how the facts don't change.

If you'd like to challenge the facts, do so. Pointing out that facts have been posted before in response to the same questions, doesn't change the facts.

Unless you think we can't trust BBC and Reuters...?
> id :: a -> a
> id x = x

That's "echo".
Better Internet Series: Architecture and Open Standards
The Google Search team officially considers -, "", and so forth to be optional signals from the user. I find Google ignoring - with pretty high frequency.
How Silicon Valley is helping Putin and other tyrants win the information war
That's a good point. Just like the best tool to use is the one you have at the time, mobile infantry would be more than likely to have AT4s only. I vaguely remember a section of 9-12 men would carry only two AT4 equivalents, and we were supposed to use both against the same target.

Once the tanks get bogged down, then anti-tank platoons would be deployed with the heavier gear.
Rookie mistake: the fact that a stock was once higher is no indication whatsoever that is "worth" that much. That was then, now is now.
In some cases the env shebang is basically mandatory. If you use virtualenv in a Jenkins job's workspace with a long job name, you can end up with shebangs that are longer than the kernel can execute (about 127 characters on most systems[1]). The solution is to rewrite the virtualenv-created scripts to use the env shebang, and set the PATH to the virtualenv bin directory before executing the scripts.

[1] https://stackoverflow.com/questions/10813538/shebang-line-li...
It closed $.18 above initial offer price in 2013.
> company can't pay a dividend to some shareholders but not others

But it can sell shares to some and not others [1]. (This was a landmark decision [2].)

[1] https://law.justia.com/cases/delaware/supreme-court/1985/493...

[2] https://en.wikipedia.org/wiki/Unocal_Corp._v._Mesa_Petroleum....
People here in Venezuela used the same excuse, "Oh Chavez doesn't know about it", it being corruption etc, as if there weren't hundreds of reports/testimonies appearing in newspapers/etc every single day.

What's next, Xi doesn't know about the organ farms? Hah.
Is it though? I imagine say a staff developer with decades of experience, you could check a reference and verify that the candidate did hold a stated role for x years. That seems probably more of a positive signal than doing a leetcode exercise.

Edit: I think I just found my new BS company test. If rationality, sanity, and pragmatism doesn't prevail, I don't want to work there.
The standard rumor is that the Chinese vaccines do not work as well, either at slowing down the spread or at reducing the severity of the effects, as western vaccines (whether Pfizer, Moderna, J&J, or Oxford/AstraZeneca). So, the feared effects of having most people get it are worse than here.

Also, in the US, the CDC estimates that for every 10 people who get it who were confirmed/counted, there were 32 who were not counted. Since many states have had >20% of their population confirmed, that suggests that >85% of many US states have already had Covid-19, vaccinated or not. The ratio of "immunologically naive" in China is probably much higher.

Not saying that makes it a sensible or even moral policy, just that's the most likely scenario as to why they are doing it.
Income tax definitely disincentives work. Source: my life. In the current economic situation I could easily take on another 40/hour a week job. If I do that I only get to keep just over half of the additional pay my extra job would supply. It's not worth my time to work for half my 'hourly rate'. So now there's an extra job vacancy.
Ask HN: Ethics of a carnivore diet?
I hear a lot of people here talk about the ethics of meat consumption and I tend to agree that it would be better to produce less emissions. However I have also heard people who had autoimmune issues get much better from trying a carnivore diet. I have some such issues that make me want to try this but I also want to consider the impact this will have on others. If I am eating meat to maybe solve a medical problem then maybe that is less bad than somebody who eats it just because it tastes good, but on the other hand the lifetime impact of somebody eating essentially all meat is significant for carbon. Thoughts?

Btw I hope that in the long term lab grown meat will make this less of a problem.
AME's telegram community group chat, feel free to join:

https://t.me/joinchat/EZApW5aGXzWBl9vG
The urge to exert authority that the author speaks of in the beginning is disturbing. Having seen how they do it in China first hand, I am horrified to imagine the fate that awaits Taiwan if China ever takes over. The pent up (falsely based, imho) anger amongst PRC people toward Taiwan and its friendly people is difficult to overstate. If this (Shanghai) is how they treat their own locals, imagine how they will treat estranged “citizens” who have dared to think they have lived under a better system for all these years.
Who would you rather decide?
They certainly had no problem with selling to Saudi Arabia.
> don't think it is so vague as to be meaningless

It's not, particularly in the context of takeover defenses. There were cases in the 80s where Delaware ruled that only shareholder interests--not all stakeholders'--can be considered when a Board uses its "business judgment" to deploy a poison pill. But shareholders can have aims other than maximizing profit, and companies are free to respond to them.
I'm not acting at all, I'm just nailing down what a hostile takeover bid is because there seems to be some lack of clarity about that.
"Have you ever wanted to process a file through a pipeline and write the output back to the file?"

Personally, no. I prefer to output text processsing results to a different file, maybe a temporary one, then replace the first file with the second file after looking at the second file.

awk '{do_stuff()}' 1.txt | sort -u | column --table > 2.txt
less 2.txt
mv 2.txt 1.txt

With this sponge program I cannot check the second file before replacing the first one. The only reason I can think of not to use a second file is if I did not have enough space for the second file. In that case, I would use a fifo as the second file. (I would still look at the fifo first before overwriting the first file.)

mkfifo 1.fifo
awk '{do_stuff()}' 1.txt | sort -u | column --table > 1.fifo &
less -f 1.fifo
awk '{do_stuff()}' 1.txt | sort -u | column --table > 1.fifo &
cat 1.fifo > 1.txt
Which enlightened search engine did you switch to that doesn't bias results?
> How does rand being a crate make Rust ”internet era“ in any way?

Having an boundlessly large and thoroughly unauditable trusted computing base is extremely "Internet" -- or "webscale" to be more precise.
BlackRock Will Manage USDC's $50B Reserves Following $400M Raise
And these scripts allow me to mold Windows into something more usable, no need to jump ship.
they->the
You'd prefer omniscient care providers? Me too! Know any?
Try https://you.com - private and also feature rich
So non-competes are only for people who can afford a house. I guess it makes sense to give up some freedom for the privilege of owning property.
I bet there would be a whole lot of people that would join elon-twitter.
Is this not what you are looking for? From the man page of env(1)

> The -S option allows specifing [sic] multiple parameters in a script.

> [...]

> Without the '-S' parameter the script will likely fail with:

> . . . /usr/bin/env: 'perl -w -T': No such file or directory

I actually ran into this problem last week and just used the absolute path with an argument (/usr/bin/python3 -u) instead of passing an argument to env, and I added a TODO comment to figure out how to do this better. Now you made me find the right way :)
> institutional investors [] don't need to pay taxes on [] gains.

Elaborate
The open source approach is appealing to me. I guess I'm not sure that the consulting will necessarily follow though.

Are there other ways an open source approach can help find funding? Our team would really like to work on this idea more, but there isn't a clear road to profitability. Most people just want to join grants with us, which works, but I feel like we shouldn't be funding on grants forever.
Just a small comment about sponge: looking at the example, it's doing "sponge file", not "sponge > file". Given that, it's totally up to sponge to decide when it's going to open the output file.
Another major part of the problem is that driving on highways and since 2018 also Bundesstraßen (basically, Landstraßen with regional importance) costs tolls, and truckers try to save toll wherever they can.
One use case where #!/usr/bin/env can go wrong is with cron jobs. They don't typically pick up the same path as an interactive login or shell. So it's easy, for example, to get get a python 2 interpreter when you were expecting python 3 with "#!/usr/bin/env python"
That’s correct. Which is why “fiduciary duty” arguments aren’t very good.
...the Chinese seem to ignore the global play here: as Covid is endemic in the rest of the world and variants will keep emerging just like they do for common cold (it's basically just a new addition to the bundle of viruses that give the "common cold", but unfortunately with higher mortality since humans haven't been exposed to it), they'll have to isolate themselves from the rest of the world FOREVER! How about all the people who need to travel internationally often?

Let's stop this nonsense and come back to thinking solutions and measures in the "open international borders" context we enjoyed before. A new minor virus shouldn't make us change our ways!
Tor and cryptocurrency are completely different things; one is about freedom of expression and communication; the other is about removing what little accountability and transparency exists in the world financial system. Sure, people should be able to move small amounts of money anonymously, but the amount of power financial insitutions have by virtue of their ability to move trillions of dollars around means that at the very least there should be a right for the public to see how those affairs are conducted.
This is an impressive project as it's not just a reimplementation but is back compatible.
great response, thank you. I found the booklet and am reading it.
Your arguments sum up to "society makes me feel bad for spending my money on expensive things" and, you know, that's a you problem. No one forces you to spend money on your kids' college or to live in an expensive neighborhood. I still don't see how any of this justifies "widening the gulf".
You needed the CDC to tell you that you should isolate, wear masks, get vaccinated?
Stopping and start every block also burns more fuel, increases pollution (cars emit most when accelerating), increases brake and tire wear, and makes drivers more frustrated and aggressive.
https://you.com lets you like/dislike sources to see what you trust
From one dad to another - cherish this time with your child. It goes SO fast.
Ah, my bad, thanks for the correction! I think I might have got that timeline confused with some other feature haha.
Question: when does anyone have "right of way" at a red light? The rest of the intersection will have green lights. Certainly they have right of way over those facing red lights. So when can a bicycle ever proceed through a red light?

>>This new law means that when an intersection is clear and they already have the right of way, bicyclists ages 15 and older may now treat stop signs as yield signs and treat stop lights as stop signs.

This law also seems rather self-defeating. If you are taken out by a car/bus/truck then evidently the intersection was not "clear", you shouldnt have proceeded and are at fault for the accident. Maybe cops will be handing out fewer tickets to bicycles? Was that ever really a problem?
Fair enough. Could be the size of the area, lack of resources, and bad luck until suddenly a jackpot?

For all I know, maybe the bones at camp are used to make soup… /shrug
"Just pick the cream off the top, even though you're supposed to be their instructor."

Because that's totally moral and ethical? No conflict of interest at all. What a neat hunter trick. Also, tell them you're their fairy auntie, that'll disarm the marks even more.