Better HN
topnewbestaskshowjobs
Log inSign up

bcoates

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

ben blueskylabs com
Submissions

comment 7y ago · link · parent

Sure. "don't use Kazakhfox, it's malware, we've submitted definitions to the AV databases" isn't a hard sell for your 99%+ audience.

Malware forks of open source projects (and closed-source software!) are not a new problem.

comment 7y ago · link · parent

Dynamic languages don't generally favor using a function/class over a plain-old-struct, so there's no conceptual advantage to calling

  class GetNoCacheDefaultCookieJarStrategy {
    ...
  }
  fetch('https://google.com', new GetNoCacheDefaultCookieJarStrategy())
over

  const my_usual_fetch_opts = {...}
  fetch('https://google.com/', my_usual_fetch_opts)
There are almost no uses of the strategy pattern that aren't equivalent to a trivial first-class function like a filter predicate or equivalent to a trivial plain-old-key-value-options-object, so the non-pattern version is stylistically preferred in the 99% case where it's not actually necessary.

comment 7y ago · link · parent

Yes? This isn't that complicated. You break it, and when competitive browser X refuses to do so, you sell the idea that browser X is compromised for all users everywhere (not just in Kazakhstan)

Stop thinking about the country with literally less than 1% of world internet users and start thinking of the reputational damage a less than charitable presentation of your collaboration with a totalitarian state against your users would do to the other 99%+ of your market.

comment 7y ago · link · parent

Is it cryptographically possible to not require randomness for an SSH server past initial key creation? If so it'd be worth doing, quality entropy is a hard ask for embedded/virtual systems.

comment 7y ago · link · parent

This is a good guide. One thing I'd add:

While you're monitoring for traffic/errors/latency throw in minimum success rate. Make a good estimate of how many successful operations monitored systems will do per minute on the slowest hour of the year and put in an alert if the throughput drops below that. You'd be surprised how many 0 errors/0 successes faults happen in a complex system, and a minimum throughput alarm will catch them.

comment 8y ago · link · parent

The Earth?

comment 8y ago · link · parent

Onboard internet provided by ground-based cellular or satellite already requires aftermarket hardware -- external antennas, routers inside the plane, and more.

It does require extensive testing and permission by the FAA (and the aircraft manufacturer, and the airline, and others) and extensive support teams in terminals but it's done semi-routinely.

comment 8y ago · link · parent

Exactly the same as the original is a shallow copy.

Deep copy roughly means "If I do `dst = deepcopy(src)`, modifying anything in the world I can reach through a reference from dst should have no side effect visible through src" which is a reasonable thing to ask in some special cases (a tree of plain old javascript values, a DOM node) but not reasonable in others (a database connection object, a file descriptor, a user-id)

Like, what should a deep copy function do if it reaches a reference to the global object? or a function that closes over some references in the object being copied?

The answer is always "it depends on what the object will be used for later and what specific behavior you want"

comment 8y ago · link · parent

Programs that use SharedArrayBuffers are already defective, so it's no big deal.

comment 8y ago · link · parent

Fundamentaly, deep-copy in Javascript is a typed operation and no "generic" deep-copy algorithm is possible--you have to know what meaning the value is supposed to have to copy it.

There's nothing inherently wrong with structured clone, but it's only for JSON-able objects with extensions for circular references and some built in value-like classes. It's also special-cased for safe transmission between Javascript domains so it has a bunch of undesirable behavior for local copies. (no dom, no functions, no symbols, no properties...)

Even primitive types can't be safely copied unless you know what they're going to be used for later, a nodejs file descriptor is just an integer but it's also a reference to an OS resource that can't be duplicated without a syscall.

comment 8y ago · link · parent

eval is by far the easiest way to run arbitrary code, but you can write eval yourself in any fully-general programming language. It doesn't actually give attackers any additional power.

This isn't the eval attack where you accidentally pass attacker-controlled inputs into eval because of an escaping problem or something, the sole purpose of /run is to allow users to run arbitrary Lua in the UI

comment 8y ago · link · parent

It's just a painfully dumb metaphor, don't overthink it.

comment 8y ago · link · parent

Soon you'll see this linked from a Facebook post to prove that you can trust information posted on Facebook.

After all, if it was false they'd remove it!

comment 8y ago · link · parent

Farm labor is a tiny fraction of the cost of retail food. It's not material and there is no dilemma.

It is extremely material to the narrow profit margins of farms, so you see a race to the bottom with importing slave labor, terrible practices, etc.

But enforcing labor standards and minimum wages wouldn't add much to the average American's food bill, even assuming farms couldn't avoid some of the hit by using less or more productive labor.

comment 8y ago · link · parent

This is "have you tried turning it off and on again" not a conspiracy.

These extremely generic troubleshooting instructions have nothing to do with anything CBS all-access is or isn't doing.

Further down the page they tell you to clear your cache and history!

comment 8y ago · link · parent

This idea of "alignment" is absurd, countries have non-transitive border arrangements all the time. It might bring the always-questionable idea that the EU ever had a "single market" under scrutiny, but that's weird ideological posturing not a serious obstruction to Irish access to the UK market and vice versa.

comment 8y ago · link · parent

Either venturbeat changed the title to be more accurate or uploader editorialized "include" to "require"

comment 8y ago · link · parent

I think what they're describing is actually a glitch in the technical sense -- an untended output state caused by not being able to change all inputs exactly at the same time

comment 8y ago · link · parent

Is the point of this just to reduce visible jank, or to obsolete shadow-dom implementations by replacing them with lock->modify->unlock?

comment 8y ago · link · parent

Your zalgo convinced my chrome that half the sentences on this page needed translated from English to Vietnamese. Impressive.

comment 8y ago · link · parent

Some of the less reputable and saltier ad networks intermittently run a malware service that does a DoS on clients running blockers. 'uBlock Origin Extra' is a standalone tool by the same guy that works for me against it.

comment 8y ago · link · parent

Is there any reason to think that narrowband blue is worse than broadband blue? It makes for poor CRI when used as a light source but if the display blue is near the peak sensitivity frequency for blue it should result in slightly less total power being delivered to the eye than an equivalent blackbody spectrum white light.

comment 8y ago · link · parent

In a country with nationalized agriculture. With a socialist government for the last 19 years. Did Chavez and Maduro forget to redistribute all the wheat and dairy when doing their land reform?

Where exactly are these kulaks getting their butter and flour to hoard? Why have the PSUV and Maduro's planned economy not decreed their monopoly over?

comment 8y ago · link · parent

You don't need vast conspiracy of hoarders, wreckers, saboteurs and kulaks to explain John Oliver not caring about getting facts right (on any subject).

comment 8y ago · link · parent

Heroically buried lede 80% of the way down:

The East Cut name originated from a neighborhood nonprofit group in San Francisco that residents voted to create in 2015 to clean and secure the area. The nonprofit paid $68,000 to a “brand experience design company” to rebrand the district. [...] and one of the East Cut nonprofit’s board members is a Google employee.

Inverted pyramid is for those other newspapers I guess

comment 8y ago · link · parent

It's a SCADA system coordinating thousands of centrifuges, if it's not networked you may as well turn it off!

comment 8y ago · link · parent

At the API and system service levels the reason for all that goofy cruft is that businesses still use it, a lot, and are willing to pay fairly big bucks if and only if they get to keep it.

Adding Linux features is just more cruft added to the kludge. Sells more units, particularly in Azure, not particularly part of some sort of strategic direction then, say, the Distributed Transaction Coordinator.

The UI and OS-level shovelware stuff on the other hand is a nightmare that might kill the not-quite-golden-anymore goose.

comment 8y ago · link · parent

If this worries you go ahead and disable WebGL too.
1
91011
55