Better HN
topnewbestaskshowjobs
Log inSign up

bcoates

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

ben blueskylabs com
Submissions

comment 12y ago · link · parent

Location: Santa Monica, CA

Remote: Yes

Willing to relocate: Yes

Contract or remote/local part-time OK.

Technologies: Nodejs, C++, AWS, C, Python, C#, PHP, low level networking (particularly wireless), systems programming (mostly Linux and NT), embedded systems, databases, distributed systems, project management, development team management, testing, build/package engineering, operations/systems administration, more. I've worked on almost any level of computing that doesn't involve an oscilloscope.

Email: ben@blueskylabs.com

Resume: I'm leery of becoming recruiter spam; email me a few words about your company or project and I'll reply promptly.

comment 12y ago · link · parent

What's not-ok about linking a do-everything platform library?

comment 12y ago · link · parent

works for me, surge notifications and all

comment 12y ago · link · parent

zSeries have transactional memory -- it'd be interesting to see that used for opportunistic multithreading in node.js.

comment 12y ago · link · parent

No grand conspiracy is needed.

The purpose of the government is to be a place you can go, when you need to obtain someone else's money to spend on someone other than yourself (and if you're doing it right, keep a bit for yourself).

The purpose of finance, is to be a place you can go, when you've been given someone else's money, and need to find something to spend it on (and if you're doing it right, keep a bit for yourself).

The interests are so perfectly aligned no external coordination or policing is needed -- the system just works.

Naturally everyone involved is buddies with each other, and taking care of your buddies so that they can stay in a position to take care of you is just human nature. Even less sleazily, if you actually want to get something done inside the system, the only source of actual competence is the insiders -- it's not like there's some priesthood of uninvolved experts that have the slightest clue how to manage things. Financial regulatory capture isn't so much a tragedy as the only way anything could possibly get done.

comment 12y ago · link · parent

If he's talking about games and therefore mass market Intel micros, he's roughly right. 1990ish just-plain-VGA gives you 640x480x4bit or 320x200x8bit. You'd generally use the latter for games.

comment 12y ago · link · parent

I have no idea how popular the translated versions are, but the English-language bookstore I visited on a tourist street in Beijing had a decent selection of Orwell but no 1984 or Animal Farm (you'd probably have the opposite problem in a US bookstore, with those two available but none of his Socialist stuff.)

Also missing from the 20th century canon in an decently-sized bookstore were Catch 22 and The Catcher in the Rye but that might be more a regional taste/popularity/vulgarity thing.

comment 12y ago · link · parent

An example of basic concurrency I have great difficulty doing correctly in Java:

  n = 0;
  avg = 0;

  function twothings() {
    thing1(function(ret) { ++n; avg += (ret - avg)/n; });
    thing2(function(ret) { ++n; avg += (ret - avg)/n; });
  }
I want to dispatch two I/O operations to run concurrently and have their completions modify some shared state in a serializable fashion, which can be read at any stage in the process and have a valid result. I shouldn't need to give up on nondeterministic simultaneous execution or faff about with locking mechanisms to get this.

comment 12y ago · link · parent

It's not just the extra lookups -- static in express is deceptively dog-slow. For every request it processes, it stats every filename that might satisfy the URL. This results in an enormous amount of useless syscall/IO overhead. This bit me pretty hard on a high-throughput webservice endpoint with an unnoticed extra static middleware. I wound up catching it with the excellent NodeTime service.

Now that I look at it, there's a TOCTOU bug on the fstat/open callback, too: https://github.com/tj/send/blob/master/index.js#L570-L605

This should be doing open-then-fstat, not stat-then-open.

comment 12y ago · link · parent

I'm a non-frontend dev who uses node.js for server/systems/embedded work.

My preference for node is based primarily on its sane concurrency model. I basically use it as a handy scripting language for doing rapid prototyping of libuv programs. My on-paper plan is to fall back to libuv and C if I find myself really stuck for CPU, but this is something that's never actually happened to me. (I have had to abandon or modify libraries with performance pathologies, though)

There are other libraries with in other languages the same sane model but they tend to be ecosystems within the language community that aren't compatible with the rest of the language. Doing concurrency both correctly and performantly in Java, in particular, is a pain in the ass.

comment 12y ago · link · parent

In a camera, light bounces from a light source, off an object, into receptor, with at least one aperture in the path to ensure that light arriving from different directions reaches different sensors. These sensors collect light from some area over time which can be recovered as information (chemically or electrically). Light passing through an aperture is subject to diffraction (which rules out a perfect square beam of light) and possibly other distortions, and the sensor may or may not be a perfect, uniform square, but in any case it's all equivalent to a perfect point in space that receives undistorted, refractionless light then applies a filter and integrates it over time and area.

The underlying physical phenomenon that allows integration to happen is the ability for a film grain or ccd cell to count up incoming photons.

These ideal sensors may be arranged on a grid, but the filter that maps source light to sensor value won't look anything like non-overlapping square boxes.

comment 12y ago · link · parent

No, that's awful. Right now "worthless unwanted crap" cleanly self-identifies itself by hostname, so I can opt-out trivially with a browser extension. Hosting it alongside the content makes that much harder.

comment 12y ago · link · parent

I'm guessing the developer tasked with implementing this didn't have access to any other device-unique state, and getting the hardware team to have a new unpredictable value flashed onto each device was impractical.

comment 12y ago · link · parent

The big advantage would be that we're not limited to the exhaust velocity of combustion (which is inherent to using your reaction mass as fuel). If we can lase it hot enough to double the exhaust velocity, the rocket equation says we only need about a square root of the original amount of propellant and power, because almost all that fuel was lifting the rest of the fuel.

To move from the 85% propellant of rockets to 15% (somewhere between a fighter jet and a train, according to the article) we have to increase exhaust velocity of whatever we're pushing down to push us up by 12x.

comment 12y ago · link · parent

Whatever happened to transmitted power designs, like using a ground-based laser to lift a payload? If you can leave the powerplant on the ground and only send the power, you no longer have to lift the fuel, just reaction mass.

comment 12y ago · link · parent

In early-bound, single-dynamic-dispatch languages it makes a small amount of sense, as x.fn() is the only syntax for a dynamic dispatch against object x and fn(x) uses at most compile-time information to determine what fn gets called.

comment 12y ago · link · parent

It checks out, I put in TempleOS and got out Genesis: "We have dreamed a dream, and there is no interpreter of it."

648.

In Soviet Union, Optimization Problem Solves You (2012)(crookedtimber.org ↗)

1 points · by bcoates · 12y ago · discuss

comment 12y ago · link · parent

If this interests you, you might like the book "Red Plenty".

It alternates between novel and essay about Khrushchev-era USSR, when people on both sides of the curtain thought there was a pretty good chance that the Soviets would succeed, if not as a Socialist Utopia at least in economically overtaking the west in output and quality of life.

Also, this excellent essay about the computational aspects of Gosplan, the USSR's mostly human-powered predecessor to Cybersyn: http://crookedtimber.org/2012/05/30/in-soviet-union-optimiza... (which is where I learned about Red Plenty)

comment 12y ago · link · parent

I don't mind the binary protocol that much, but the apparent assumption that every endpoint is a fat stateful cache (push, multiplexing) is madness.

Have they actually worked out how to implement a HTTP/2 front end cache in the face of ill-behaved clients, crashy servers, and the way wireless breaks a lot of the assumptions that would make "one big TCP session" a good idea in the first place?

If TCP+TLS handshakes are so expensive, wouldn't it be a better investment of everyone's resources to work on an L3 protocol for setting up a fast second session? Leave the multiplexing to packet people.

comment 12y ago · link · parent

How would that work?

You could sign that you trust your next-to-last hops to deliver traffic to you but transitive delivery isn't guaranteed and not every chain of valid hops is actually workable as a route capacity-wise. A completely signature-valid route with near 100% packet loss isn't much better than an undeliverable leak.

comment 12y ago · link · parent

Terrestrial fixed wireless is commonplace in the US. Prices generally start at a few hundred dollars a month, speeds from ones to hundreds of Mbps.

There is competition to Cable and DSL for Internet access, but most operators avoid the low-margin retail space they operate in.

comment 12y ago · link · parent

A good place to start is to refuse to cooperate with evil. The justice system depends on the active and passive cooperation of the general public.

Do not call the police. If the police wish to speak with you, on any matter, politely decline. If a known police or corrections employee tries to do business with you or at a place you work, inform them that their kind are not welcome here.

Don't underestimate the extent to which people are driven by the need to be welcomed and accepted by society. Shunning is a powerful tool of social control.

If you're more the "positive" type, consider encouraging your company to drop its official or unofficial policy against hiring felons (I'm making a reasonably safe assumption here). There are subsidies, tax credits, and insurance programs that might help your case, but it's easier to just not bother. Be the troublemaker that makes it easier to do the right thing.

comment 12y ago · link · parent

The various normal forms are named for the kinds of invalid data they reject, so they can be used as a design process to ensure the higher level goal (that "a database schema should be able to represent only valid data")

comment 12y ago · link · parent

What benefit do banks get for being multi-nationals exposed to every country's laws instead of just doing one bank per country? I thought that this was the norm for regular businesses.

comment 12y ago · link · parent

It looks from the article that this results in bounded-time concurrent reads and writes, even in the worst case, as long as resizes can complete often enough to not be overwhelmed by the writers, is that correct?

This looks huge for smoothing the latency spikes out of software networking on Linux.

comment 12y ago · link · parent

/bin/sh is the shell called by system(3) and used by portable scripts bundled with packages. Those things can't use anything but standard sh anyway, so having them run bash is overkill. "Don't use bash as your /bin/sh" isn't the same as "don't use bash as your interactive shell" or "don't write bash scripts"

comment 12y ago · link · parent

I was with you until "Cap-and-trade is a sound market-based solution". It's goofy market cargo-culting of something that isn't a market. If you want a policy intervention to burn less coal, end policies that are de-facto mandates to burn coal. If you want a policy intervention to build more nuclear plants, end policies that are a de-facto ban on nuclear power plants (and switch to policies that are a mandate to build nuclear power plants, unless you have some actual plan to move from a mandate-driven energy infrastructure to a free-market one). You can't expect policies to lower co2 emissions in general in the face of policies that mandate emissions in the specific because the specific always beats the general.
1
212223
55