Better HN
topnewbestaskshowjobs
Log inSign up

bulatb

1,130 karma · joined May 28, 2012 (14y ago) · 734 submissions

I'm easy to find. <my first name>@<my last name>.com
Submissions

comment 1mo ago · link · parent

Block it at your web server before it reaches PHP. Ctrl+F "nginx" or ".htaccess" in this thread for configs.

comment 1mo ago · link · parent

By corrupting memory and causing the CPU to jump from the intended instruction to a different one controlled by the attacker, at which point their instructions control what your process does next. Getting shell does not mean getting it to feed a spicy string to system(), it means tricking something in the process into overwriting memory with bytes that, if read as instructions, tell the CPU to make a system call to spawn a different process running arbitrary code.

You could do that to an internet-connected toaster with a JPEG. The system() function has nothing to do with it.

comment 2mo ago · link · parent

Some tools will automatically ignore commits in a .git-blame-ignore-revs file. Git itself can "blame --ignore-rev <hash>" or "blame --ignore-revs-file <file>" since version 2.23.

  git commit -m "Autoformat source files"
  git log --format="# %s%n%H" -1 >> .git-blame-ignore-revs
  git add .git-blame-ignore-revs
  git commit -m "Ignore autoformat commit in blames"

  cat .git-blame-ignore-revs
  # Autoformat source files
  0a1b2c3d...

  git blame --ignore-revs-file .git-blame-ignore-revs code.src
Git can use it automatically too:

  git config blame.ignoreRevsFile .git-blame-ignore-revs
  git blame code.src
Though git-blame may fail or crash if blame.ignoreRevsFile is set but the file is missing (hence "config", not "config --global"). Since version 2.53, a configured ignoreRevsFile can be missing if the value starts with ":(optional)".

comment 2mo ago · link · parent

Ninja edit, sorry. I'm glad we got to salvage this from where it might have gone.

I can't keep writing now but I will try to organize some thoughts and come back later.

comment 2mo ago · link · parent

> humans do have that capacity, but our system is explicitly set up to give the most power to the greediest among us

My argument is that we don't have that capacity. The system that we have is what we have because it's what has self-assembled and would self-assemble every time if we ran it again.

I may be wrong, but that's what I'm claiming.

If we want a system different than what self-assembles, we should first admit what self-assembles, and admit it's not because of individuals not doing their part or whatever. The system is the way it is because the natural laws it follows lead it to that state. This is where the whole idea of coordination as a simple answer fails.

People won't spontaneously all accept an unappealing, morally unpleasant, complicated explanation of why things aren't better when a simple, pleasant, satisfying, even righteous explanation is available and fits their preexisting worldview.

I am tired of the moralizing arguments[0] from people sabotaging their own causes, blaming people who are doing something that might work instead of sabotaging harder. If I misunderstood and that's not you, I'm sorry.

I should have been less snippy at the top either way.

---

[0] https://news.ycombinator.com/item?id=42560779

comment 2mo ago · link · parent

I am saying human nature is the reason "just coordinate" has not resolved this problem, and denying human nature keeps us from coordinating on this problem doesn't help.

Ugh, this is like my catchphrase now, but: "If everybody just" is a description of a problem, not a solution. Specifically a problem that exists because they haven't justed and will never just, no matter what could happen if they just.

Coordination metaproblems where coordination problems that exist cannot be solved because of human nature are a consequence of human nature interacting with the laws of nature.

comment 2mo ago · link · parent

Of course, and I'm not saying that. Coordinated action is so stupidly effective that it barely even matters what you do, and long as you all do it together.

That doesn't mean it's possible for every problem. There's always a coordination cost. The larger your per-person cost times the number of people you need, the more unlikely the coordinated action is to happen. Spontaneous coordination is an oxymoron and improbable by definition. It's a situation where the system doesn't do what's energetically favored and instead does something else that isn't.

Ascribing agency to systems is a human bias. Ascribing it to groups of agents is both human nature and the fallacy of composition. Blaming individuals instead of looking at the system and the context is both human nature and the fundamental attribution error. This is one of many places where the bucket leaks.

Currently some groups with low coordination costs (and so high leverage) are coordinating to increase coordination costs for the groups that oppose them, using tactics that are independently high-leverage, multiplying their effect so much that they can make the opposition's costs effectively unbounded. Human nature makes the opposition wilfully, aggressively deny this and insist their costs are low and people are just bad and lazy. (Somehow, everybody being bad and lazy all at once does not reflect on human nature.)

The argument about coordination costs is more or less uncontroversial when projected into any other subject. It's only controversial here because of human nature. It's another leak.

Your opposition's agency is concentrated and yours is dilute. Human nature tilts the playing field, diluting yours and concentrating theirs. Accept this and adjust your strategy, or lose.

comment 2mo ago · link · parent

On no other issue would this type of wishful thinking be accepted.

If I pour some water in a bucket and come back to find it's all leaked out, and do this every day for all of human history and always get the same result, I don't conclude the water wouldn't leak if it just tried a little harder.

There's a hole in the bucket.

comment 2mo ago · link · parent

The brightest minds in STEM are often loudly, proudly, confidently wrong on every single thing except their narrow specialty in STEM.

Many of the people still rejecting climate change are scientists and engineers whose egos make them obligate contrarians.

comment 2mo ago · link · parent

I think they meant "no way," but maybe it's a joke about the Norway problem? YAML famously confuses Norway's country code ("NO" or "no" without quotes) with unquoted "no" meaning Boolean false.
12345
25