Better HN
topnewbestaskshowjobs
Log inSign up

bcoates

5,109 karma · joined Jun 27, 2012 (14y ago) · 1,639 submissions

ben blueskylabs com
Submissions

comment 3y ago · link · parent

This article is borderline incoherent and written as WoW roleplay for some reason.

(this is from memory plus the less-incorrect looking sources I can find; I'm probably wrong about something but less wrong than the Wikipedia)

The corrupted blood effect is a relatively weak, short lived negative effect ("debuff") that appeared on one of the players in a group trying to fight Hakkar. This effect did a modest amount damage over time, lasted a few seconds, and would (and this is very rare for the time in the game) spread to nearby players, each player getting their own countdown starting from the time of infection.

While the debuff cured itself automatically after a few seconds, it didn't cause immunity, so if two or three players stood next to each other, they would re-infect each other over and over again.

The strategy to defeat Hakkar was to do this intentionally, preserving the short-lived disease until the team could use it against him -- there was no "panic" and nobody was confused about how the debuff worked -- understanding it was necessary to attempt the fight.

It was not possible to spread the disease by fast traveling.

What actually happened was an "exploit" (or clever strategy or cheating, whatever you want to call it): A player with a summonable pet could get their pet debuffed, then put away the pet -- freezing time for the pet preserving the contagious debuff. That player could then bring out the pet anytime in the fight they needed to have the debuff to use against Hakkar. Much easier than intentionally juggling the effect.

Nobody put away their pet in a panic to protect it not knowing how the debuff works, that's not a thing for several reasons.

Someone performing this exploit, by accident or experimentation, found out that the debuff was not restricted to portion of the game world where Hakkar is, nor restricted to the team members fighting him.

They then intentionally released debuffed pets in crowds, and more significantly, released the information about how to preserve and transmit the short-lived effect.

This is important: the only way the corrupted blood effect spreads (between in-game cities, for example) is by intentional action, its a griefing weapon, not a emergent property like a disease. Once it's out in public and you don't need to qualify for a high level raid group to see it, however, it's easy to transport and deploy.

The Wikipedia article makes it sound like "Azeroth" is a single virtual space that things can spread within; this is not the case, there are a hundred-odd (named) servers each with their own mostly identical world (only the players are different). Nothing can spread between these servers but information; they are totally independent.

The way the disease spread and persisted over time was memetic: while the condition would self-persist in a few virtual cities on a few servers on its own [1], Blizzard could fairly easily fix this, what was less simple to deal with was the masses of players intentionally preserving or re-acquiring from scratch the debuff and gifting it back to any crowd of players they could come across, on every server in parallel.

This was unusual because the game has few to no ways for players of the same side to grief/harm each other, so lots of players jumped on the opportunity to be the bad guys. Also, the non-participating players could not do anything to deter or stop the players intentionally repeatedly introducing the debuff -- this was fixed in the later, by-design, zombie plague which made the infected (temporarily) a third side hostile to and attackable by all other factions, even in otherwise enforced no-PvP zones.

There was no singular "Hard Reset" (though Blizzard may have experimented with unscheduled server reboots). A server reboot is disruptive to players mid-dungeon or mid-fight so they are usually scheduled in advance.

At no time was a player's, or the world's state or progress rolled back to before anything. Rolling world server reboots were used to apply patch 1.8 that altered the encounter to prevent the spread but that was the normal process for patching at the time.

[1] It may have been possible for two NPCs standing next to each other to bounce the debuff back and forth. Maybe it was just transit terminals where the game was constantly dropping in unsuspecting players, I don't remember. The primary vector was dense clumps of players and intentionally stored pets.

comment 3y ago · link · parent

It really depends on the decision! For example, the mass of pages the Supreme Court has spent on ERISA could possibly count as a method of state-sponsored torture.

I totally understand being over the whole deal, but if you actually care about the issue the PDF itself is more coherent and readable than almost all the pre- and post- decision commentary which is mostly predictable, information-free nonsense.

comment 3y ago · link · parent

If my childhood experiments with anything amenable to a screwdriver are anything to learn from, you'll learn more from breaking it than looking at it. We can always use all those pointless atomic bombs we spent billions on to sterilize it from a safe distance if things get out of hand.

comment 3y ago · link · parent

It's not at all legalese. Part of the reason the whole publication is so long is that each of the justices was fully aware that it'd be read by law students, interested citizens, etc. for decades to come and wrote out in longhand what legal scholars could just assume as background knowledge.

Each section was written to persuade the reader that the author's position is correct, and nobody gets appointed to the US Supreme Court without being really damn good at putting together a clear persuasive essay. These are extremely smart people with a small staff of very smart editors trying to convince you their position is the only right one; it's not like an insurance contract or EULA designed to "baffle 'em with bullshit".

If you've got a few hours to spare and even a modest level of background knowledge about American history and the current controversy involving racial quotas it's very readable. If it leaves you more ambivalent than before you started it's probably because they're arguing over a genuine public controversy where intelligent people operating in good faith can come to very different conclusions.

comment 3y ago · link · parent

AIEO is a thing, baby. Did you not think a system that gathers effectively all its input from the web would just be left alone by hostile actors with almost zero costs and millions to billions of dollars of upside?

Welcome to the big leagues, OpenAI. Google (search and display ads) has basically lost the war against adversarial input, maybe you can do better.

comment 3y ago · link · parent

Some particular build of Chromium and Chrome are vastly different systems. A lot of this is philosophical; The Mozilla way is to support standards and tut-tut at websites for doing overtly malicious things like looking at user-agent or asking for widevine, the Chromium way is to treat the web as a hostile actor and offensively subvert anti-user behaviors.

Any modern browser that doesn't actively fingerprint as either most-common Chrome on a laptop, most-common Android browser, or most-common iPhone is written by such hopelessly naïve nerds that they shouldn't be trusted with user-facing software with real security considerations.

comment 3y ago · link · parent

Uh, early 2000s? There was very much 24/7 news media back then. Mature internet news, immature social media, multiple 24/7 national news channels for most major countries and languages...

I daresay most teens in the early 2000s were aware of such minor news events as Sept. 11 and the subsequent decade of global war.

Your stereotypical Millennial news junkie that the Wapo is crying about moving on with their lives was minted in this era of hyper-pervasive media.

Note that the actual non-news media of the early 2000s, and the period pieces that remake it, mostly ignore this reality and are culturally set a decade or more earlier. This is a sort of 'the Simpsons' effect where creators in their 30s and 40s who don't realize how much the world has changed produce media about their childhood set in the present.

comment 3y ago · link · parent

No, we have a problem with the news selling those fictional things as real. Turn off CNN or OAN wherever you get your firehose of algorithmically generated nonsense from and they magically go away.

comment 3y ago · link · parent

I got distracted by this throwaway line: "That included white nationalist Richard Spencer, who used to write for Breitbart"

As far as I can tell the Grauniad has (in multiple articles) confused him with a different guy of the same name who wrote a few guest articles.

comment 3y ago · link · parent

I mean, who wants to feel like they work at a bullshit job where nothing matters? If you can sell putting on a show of dramatic urgency at any level you'll find lots of buyers (at least until the disillusionment sets in)

comment 3y ago · link · parent

Brake pads were made of, not just possibly-contaminated-with, asbestos in that era, so assuming you lived somewhere with cars it wouldn't be a significant source.

(but don't inhale rocks, they are bad for your lungs)

comment 3y ago · link · parent

I think this is a hoax/joke?

The performance test is bizarre, and literally nothing in the development guide ever shows anything but single-thread serial code for i/o.

What, exactly, happens if a second user accesses the website while a request is processing?

Also the docs don't explain how fibers are being used -- what is the scheduling strategy? Is there even more than one fiber?

comment 3y ago · link · parent

Also it's not obvious that it works the other way.

The only requirement of the flash reset operation is that it consistently causes bits to read as 1 and that the normal write operation allows them to read as 0 again; it doesn't actually follow from that that an erased-but-not-reprogrammed block will have cell charge levels that are indistinguishable from each other based on the pre-erasure charge level.

comment 3y ago · link · parent

As mentioned in the article, that's not reliable. Drives have lots of overprovision blocks and there's no way of consistently forcing them to be used; and drives might mark blocks as too questionable/worn to reuse and never reset them.

Also a standard failure mode of SSDs is refusing to accept writes, so you'll have to handle that case.

comment 3y ago · link · parent

That hasn't been my experience at all. Working around slow, unreliable NAT devices (all of them) causes stuff that runs over ipv6 (these days, almost anything that uses significant bandwidth) to work better and faster for me.

comment 5y ago · link · parent

Attackers have a practically unlimited number of IPs to use if they want to do a brute force password attack.

comment 5y ago · link · parent

This advice is not great! From the top:

Flat promise chains aren't fully general (you'll need a lot of trivial helper functions to do anything other than sequence of single operations). This is fine because you shouldn't be using nontrivial .then()s outside of utility code.

Alternate advice: always use async/await for asynchronous control flow.

Request limits, toobusy, and several other pieces of advice assume you're throwing a single node process on the internet directly. Do not do this, you probably want at least an nginx or other battle-ready front end proxy, and probably want a CDN and/or load-balancer too. Configure these correctly to not send overlarge, weird, slowloris, etc., requests through to the node processes.

The thing about express letting API attackers create exotic objects is genuinely scary, and if true makes me want to not use express anymore or at least install a middleware to drop requests that try it.

Describing anti-XSS measures as 'escaping' is a little questionable, you should be using proper tools for generating machine-readable information, not string concatenation or (shudder) interpolation. Build a DOM, convert it to text, send it out unmodified.

IP level rate limiting simply doesn't work, at least not in the trivial "just use bouncer" way described.

It's unexplained what you could possibly use object property descriptors for to obtain security benefits. They are not, in general, a security perimeter. If attacker is running code in your context, attacker has won.

uncaughtException is difficult to use correctly, error prone, and has little to offer in general. The default behavior does the right thing. uncaughtExceptionMonitor lets you do a little extra logging before crashing if you like and is less of a footgun.

Much of the rest of the advice is generic web application security recommendations.

comment 5y ago · link · parent

Bizarre. on V8 this seems to be an underlying limit on Function.prototype.apply -- and in the REPL, it's not even deterministic, somewhere in the neighborhood of 123,125. (side effect of optimization?) It's enforced on the caller side as well, the empty function with no arguments still throws when apply'd too large an array.

It's not at all clear to me why this would be a necessary limit to exist, as functions can't reasonably have more than a few hundred formal parameters so passing 100,000 would always imply using unspread or arguments on the receiver, which could surely trivially handle arbitrarily sized arrays.

comment 5y ago · link · parent

Yeah, the airport provides the Internet uplink and contractually it can be as locked-down and broken as they like. Boingo just manages the WiFi infrastructure and payment/login. Usually they're extremely lazy and just use a DNS service with business-style blocking rules and unblock popular stuff one at a time when people notice and complain.

comment 5y ago · link · parent

The reality is that cellular data, satellite data, rogue WiFi, and fixed wireless all exist.

Transparency and Auditability are real, but they absolutely require endpoint security.

If you don't control the endpoint you don't know if it has an LTE chip, and if you do control the endpoint you don't care.

DPI security middleboxes for the enterprise are always and without exception snakeoil and/or checkboxware.

comment 5y ago · link · parent

Nah, middleboxes are garbage. The security features they claim to offer are all snakeoil checkbox-ware, businesses and government agencies/state-controlled telcos use them because they have a nominal compliance obligation to do a thing so they buy a middlebox that they can wave their arms at when the auditor/commissar comes around.

Generalized "optimizer" middleboxes don't actually work in real world performance testing, with the possible exception of machines that apply dumb global queue discipline to fix a defective buffering device somewhere else in the network, but these don't need to do packet inspection at all, just byte-counting/early-drop.

Traffic shaping mostly only works in the endpoint, but aside from that, all you need is src/dest/byte count to do as good as traffic shaping as it is possible to do without being circumvented trivially (by the far end, without the users knowledge, thanks to the web letting the server script the client)

If you want to run a totalitarian state, do what actually competent totalitarian states do and take over the endpoints.

comment 5y ago · link · parent

Loadable modules aren't part of the C spec. Whatever the meaning of &func in 2 different modules potentially compiled by 2 different compilers is is specified by the ABI.

CFI is a breaking change to the contract the Linux kernel makes with kernel modules, but it doesn't have anything in particular to do with C the language.

comment 5y ago · link · parent

It's also known as "security audit evasion" and is the kind of thing you might do to hide a hostile system on a network.

You should never intentionally do it to your own systems. If you see something like this deployed assume it's either malice or laziness.

comment 5y ago · link · parent

I think the way this is presented (including in the Wikipedia article) is overly confusing and leans too much on irrelevant game-theory issues.

Adding a route to a road network does not itself reduce total capacity, of course. It's actually a queueing theory issue--misusing a road as a dysfunctional queue by putting more cars on it than can get through causes head-of-line blocking and allows cars taking the congested, shorter route to obstruct the clear, longer route. (this is concealed in the Wikipedia article by describing the travel time as Travellers/100, the latency of a fast, very wide road queueing into a narrow intersection.)

Cutting the route can "solve" the problem by eliminating that particular congestion source, but only in the case of an extra, redundant shortcut route.

Other options -- like rate-limiting at the start point, or queueing separately for the shortcut route (an express lane), or forbidding queuing on the main road for the shortcut at all, both fix the general case and this case in specific.

The general version of the issue is: When you build a network, never queue in the core. Either drop traffic early and often at the point of congestion, or rate limit as close to the source as possible. Or change links at random and hope your network reconverges into a less broken state, I guess.

comment 5y ago · link · parent

The hinting on Computer Modern Sans is broken to the point of unreadability at default font size on my system

Windows + Chromium + ~200dpi display, default (1.5x) display scale

comment 5y ago · link · parent

Neat! Is the idea to subscribe to the websocket directly from frontend code or from an application server?

It sounds like it's the latter, which seems like an unusual use case for websockets. (or at least I can't think of anything else that does ws for a server-to-server API)

comment 5y ago · link · parent

In general data races can break program invariants, violate memory safety and do other undefined behavior.

In C++, data races can cause jumps to invalid addresses and the compiler will assume data races away and delete checks that are redundant in the single-thread case. The equivalent problem happens in most languages where data races are possible (two Python threads writing at once can put a value into an impossible/illegal state)

An ordinary race condition is just an observable effect of the nondeterministic progress of threads, so it's possible to have a truly benign race condition, so long as the correctness of the whole program doesn't depend on the outcome of the race. I/O causes nondeterminism anyway, so it's not really practical to avoid all ordinary races.

comment 5y ago · link · parent

IMHO, what's needed is a way for appliances to obtain a real, permanent global domain name (and therefore certificates, email, etc.).

There's a bunch of mostly-obsolete rules that assume domains are held by organizations with full-time staffs (like whois contact records, per-domain ICANN fees, UDRP, etc.) a tld like ".thing" that allows non-humans to claim permanent global names on a first-come-first-serve basis would let autonomous hardware devices integrate with the existing infrastructure without hacks and exceptions. Maybe a ccTLD could be convinced to do this?

comment 5y ago · link · parent

Is there an explanation of how it works aside from just "It's a GAN"?

I'm guessing it's generating a GAN on frames, and navigating around it (at random?) synchronized to the music, like the transition animations at https://www.thisfuckeduphomerdoesnotexist.com/ , I'm curious if there's something else to it

comment 5y ago · link · parent

1. Windows 95, as opposed to Win3.x/DOS. 100% worth the hardware/software compatibility pains for GUI/multitasking/multimedia/PnP that just worked, an amazing thing at the time (and honestly, in retrospect, giving the preposterous unstandardized diversity of PCs & their peripherals and software in that decade)

2. SQLite, vs fopen and hand-parsed files for any random data storage that didn't rate a full blown remote DBMS. Never using sscanf again!

3. NodeJS. Memory Safety, Thread Safety, No Deadlocks, No build system nonsense, credibly scalable I/O concurrency, and only ~an order of magnitude slower than C? Absolutely worth the nightmare syntax and (then) lack of decent libraries. As soon as npm came on the scene (0.6?) Java ceased to have any reason to exist.

4. Uber. It's like a taxi, but the UI doesn't suck, and they tell you when the car is coming, and the car actually arrives, and they'll pick up in areas other than the 30% of the city and 50% of the day and 60% of the population that taxis are willing to cover in LA!

5. Linux network namespaces + associated tools. So many things I used to have to do on dedicated boxes/VMs, or multiple network interfaces, or single-purpose network equipment. Worth it for per-process ovpn tunnels alone, but you can scale it up to crazy elaborate SDN schemes if you need to. Blows away almost every middlebox and hypervisor networking tool.

6. AWS. There were lots of stick-a-host-on-the-internet services before, but nothing like this: software provisionable, software networking, reliable host-to-host and host-to-storage networks, no lead times... There are credible competitors now but it was a gamechanger for anyone working at the servers > fingers > datacenters scale.

7. This one's kind of goofy, but TimeSnapper. It just takes a screenshot of my display. Every 10 seconds. And saves it into a time-and-keyword searchable database. You can't remember exactly how you fixed that thing 5 months ago that's broken again? I can. The best productivity tool you can get for $40 with the possible exception of 1440 post-it notes.

1
678
55