Better HN
topnewbestaskshowjobs
Log inSign up

kortex

8,487 karma · joined Feb 1, 2017 (9y ago) · 2,549 submissions

Submissions

comment 7y ago · link · parent

Not of myself, but here's an example of the inward K snare (the most common, there are other inward hits such as a snare roll) https://youtu.be/DRk5QkDit2c

It's just a matter of practice to make a K sound the same inward as outward. Then you can manage your air seamlessly, like circular breathing.

comment 7y ago · link · parent

> realistically, a passenger-carrying aircraft would need large cylindrical tanks on the wings for safety reasons, but also with increased drag.

Precisely. Any weight savings of energy density per wt of hydrogen are offset by the poor energy/volume, plus the need for cylindrical tanks for stress reasons. Wing fuel tanks are roughly wing-shaped, meaning no increase to cross section. Hydrogen would require sets of cylinders, which add walls which add weight yet don't directly aid the engineering constraints, or exist outside the current flight envelope, adding drag.

Maybe some big advancement in construction methods could allow synergy of hydrogen tanks walls with aircraft structure, but you are still stuck with 1/3rd volumetric density of energy, meaning larger cross section, more drag, and more fuel usage.

https://en.m.wikipedia.org/wiki/Energy_density#/media/File%3...

comment 7y ago · link · parent

Entropy. It's easier to just not involve carbon at all via some hydrogen cycle than to burn it and have to capture it, or extract it from the air/water.

As I mention elsewhere in this thread, hydrocarbons will dominate the air travel industry long after most others have converted. The less carbon in flux, the better.

comment 7y ago · link · parent

Totally agree. Airliners have a fuel fraction (fuel wt / total wt at takeoff) around 50%. Half the gross weight of the entire system is fuel. And that's with liquid, room-temp, atmospheric pressure fuel that's easy to transfer and can fit into every liquid-tight nook and cranny. Furthermore, you can pump it around for weight trim.

I don't see hydrogen in any form, including hydrides, meeting these criteria. Not to mention, the entire distribution infrastructure is tooled out for liquid hydrocarbons.

Synfuel is expensive compared to fossil fuel, but not dramatically so.

You're currently looking at ~$0.64/L for FF jet fuel, ~$0.95/L for biodiesels, and $1.15/L for fully synthetic fuels eg Fischer-Tropsch.

https://s3.wp.wsu.edu/uploads/sites/192/2018/01/Bann-Seamus-...

comment 7y ago · link · parent

My take on energy storage is this: Ultimately, hydrogen is more scalable than almost any other energy storage method, save sodium/air batteries (if we can figure that out) and using electric vehicles as batteries (dependent on consumer behavior to scale).

- lithium has scarcity issues which will only get worse with electric vehicles - liquid batteries likewise require some more rarer elements, corrosive enough to require - underground storage (of air pressure, CO2, etc) requires caverns/mines on site - pumped hydro has even tighter site constraints - biofuel/synfuel is decent for mid-to-long term storage, but slow to generate - flywheel has energy density issues

Hydrogen, your main limits are basically steel for tanks, and some rare metals in catalytic amounts.

There hasn't been enough incentive in energy storage deployment to push the scaling up and costs down. But I think we are closest to an "embarrassingly parallel" deployment of hydrogen as energy storage.

comment 7y ago · link · parent

Carbon-free. Synthetic hydrocarbons and biofuels still give off carbon dioxide. Hydrides are just a vector for hydrogen.

The advantage of hydrides over hydrogen is you don't release all the flammable gas at once, improving safety.

comment 7y ago · link · parent

Readability trumps just about all else in software dev, so I am 100% with you there on variable name limits and lack of syntax extension.

```[a-zA-Z_][a-zA-Z0-9_]*``` is such a universal and useful convention that I find myself using it even when the domain allows other characters (bash, Xnix filenames). Obviously this is English-centric so I would include other language constructs if I were in a country with another dominant language.

In fact even though I have the ability (languages supporting unicode and a QMK keyboard) to use symbols, e.g. Greek letters for math, I don't, because I know it's a hassle for anyone else.

> You can use virtually any character as part of your variable name.

> invent new syntax

are a hassle and anti-pattern for the same reason.

comment 7y ago · link · parent

Inward snare inhale is where the real fun begins. Though, I find over many loops I end up with TOO much air, so I have been working on the outward-inward-snare, which is an exhale snare that sounds like the inhale snare.

comment 7y ago · link · parent

Or, the pg-13 version:

Bum bum tits ticklenipple bum tits

comment 7y ago · link · parent

You could probably do something crude on an M4. Here's a fairly performant face detector in tensorflow: https://github.com/iitzco/faced

You'd probably need to roll your own lightweight face vectorizer though.

comment 7y ago · link · parent

Huh. So you are saying if I have 2 pairs of identical shoes, A and B, if I wear A for T months, then B for T months, by alternating every day I should get >2T months out?

comment 7y ago · link · parent

Heap sort vs insertion sort.

comment 7y ago · link · parent

Nope. Light is a 5D wavefront. Each x,y,z of origin in the real world is actually a sum of photons from many directions, scattering to many other directions. So you have two angular components. At times, phase matters too, and frequency, so each photon needs perhaps 7 parameters to capture its state, (x,y,z,θ,φ,ψ,λ).

On top of that, you have diffraction effects in the optics, chromtic aberration, and even some birefringence effects.

Algorithms exist which can detect if an image has been cropped, and what region of the original it came from. I'll leave as an exercise to the reader how that works :) hint: keyword is "media forensics"

comment 7y ago · link · parent

Additive white gaussian noise is quite well studied and pretty easy to remove with processing. So even if those last few bits are "just noise", if that noise is well-behaved, on the whole image you still have more information.

There's also the effect of pixel well depth. I forget the exact interplay, but I believe this usually ends up being the limiting factor before ADC resolution.

comment 7y ago · link · parent

Diffie Hellman. There are all kinds of schemes for Alice and Bob to share keys over a hostile channel. A brief secrets exchange isn't the same as an encrypted pipe.

Once you have authentication, you can send whatever control signals you want in the clear, as long as they are signed.

Message: set foo to baz Author: kortex Checksum: 0x1337ace5 Sig: 0xdeadbeef

The endpoint checks for message integrity and authentication, and executes or rejects.

The difference is cables are waveguides from A to B. Radio is a common bus.

comment 7y ago · link · parent

Dedup and encryption are 90° orthogonal. Encrypted data should look like uniform noise from every conceivable direction. Just the fact that blocks persist between encryption runs is leaking sigint.

I think a better approach, if you want to have versionable files, but encrypted outside of the client, would be to do something with diffs, similar to Git, or perhaps staged dockerfile builds, depending on whether it is binary or text data.

comment 7y ago · link · parent

It started with the (vaguely somewhat plausible) notion of the acid ash hypothesis. Foods when fully oxidized can have a more acidic or basic ash, depending on the constituent elements. Phosphor and sulfur oxidize to the phosphate and sulfate anions, which are acidic, while calcium, magnesium, sodium, and potassium cations form hydroxides/carbonates. The theory goes that to maintain buffered pH, the body has to cations from somewhere, leaching it from bones.

Nowadays we know that most pH regulation is done with carbonate/bicarbonate via respiration, with ion transport managing electrolytes.

The alkaline diet has devolved to just throwing "bad" foods in the acidic bucket and "good" foods in basic, irrespective of chemistry:

https://waterforlifeusa.com/wp-content/uploads/2017/08/alkal...

comment 7y ago · link · parent

You joke, but cascade failure ain't no laughing matter, either. Emergency plans aren't for fair weather, they are for sh!tstorms. I don't want to say "we are too reliant on the internet" because it's cliche and connectivity is just part of growing the modern world. But we sure as heck need several layers of backup plans in case things go sideways.

I, for one, hope there is a secret society of HAMs lurking as mild-mannered employees at every telco and ISP, ready to wire things back together when they short out.

comment 7y ago · link · parent

That's cheap by pharmaceutical standards and expensive by pigment standards.

About right for exotic engineering applications though.

comment 7y ago · link · parent

It's a strange turn of events, especially when you consider the long-standing ties between chaos magick culture and strongly left spheres, like the Beat movement, cacophony society, and industrial subculture. Of course the early internet had much of this anarchic influence and hacker culture has been colored by anti-establishment, disruptive and radically progressive ideas, in particular radical free speech. "You can't stop the signal". This is a big part of the background early 4chan spawned from.

Now it's fascinating to see the alt-right and fascist-lite communities, fundametally authority-based philosophies, try to co-opt ideas like chaos and "meme magick".

On one hand, it seems what started as a joke/critique of fascist ideology steeped i heavy irony, has moved on while being picked up unironically. On the other hand, it's getting ever harder to tell the difference between genuine beliefs and those parodying them, once obvious satire has gotten boring, and the only way to get a rise is to make a more convincing charicature of the target.

comment 7y ago · link · parent

A real engineer would use no microcontrollers, and leverage the physical properties of the materials at hand to automatically lower and raise the toast. https://youtu.be/1OfxlSG6q5Y

comment 7y ago · link · parent

No, it is truly a different chemical form, as evidenced by the shift in NMR spectrum.

Isomers often have an energy barrier between the two forms which can be overcome under certain conditions. Infamously, thalidomide easily converted between isomers, even if it was prepared chirally, it would convert in-vivo to the teratogenic form, due to a loose alpha hydrogen.

Usually, it's something like a chemical rearrangement, like the alpha hydrogen popping off then another attaching, inverting chirality.

At some point, this barrier can be low enough that it's very sensitive to these rearrangements, even a tiny fraction of acid or base can swing it.

comment 7y ago · link · parent

There are energy recovery wheels, which take advantage of some sort of adsorbent to transfer humidity from the outbound to inbound stream and recover some of it (or the reverse, keep indoor air conditioned)

comment 7y ago · link · parent

Correct, it collects carbon in the form of CO2 and "un-cracks" it back to hydrocarbons. Likely Fischer–Tropsch process.

comment 7y ago · link · parent

Yeah I was really curious to check these out but I couldn't even make it past the first paragraph with each scroll tic taking several seconds. Need to check it out on desktop as now I'm curious why it's so un-performant.

comment 7y ago · link · parent

Well played. I noticed neither until you pointed them out. Certainly would have missed it in a code review.

comment 7y ago · link · parent

I've started using type hints with python and they are amazing, not just for historic code, but improving my productivity in real time (especially in conjunction with an IDE). I think what's great is when you use hints, you get benefits in linting, but you can also get away from it when you need to. With mandatory types, you are always having to work in the type system. Best of both worlds. But not everyone is as excited about or as thoughough with them as I am.

comment 7y ago · link · parent

I read that to mean "uses [a] physics", meaning a specific reaction chain, not physics the entire field. Kind of like talking about "battery chemistry" meaning Li-based, Pb-based, etc., does not mean "the field of chemistry".

Could it have been worded better? Sure.

comment 7y ago · link · parent

As a data scientist, I disagree strongly on this. Writing "typical" application code, sure, jupyter is (probably) overkill. But for cv, nlp, data sanitizing, etc, you are constantly iterating over algorithms and visually viewing the output. Multi-stage pipelines just require rerunning a cell.

Caching to disk is cumbersome for data that's usually junk.

Cells and integrated vis is such a massive leap forward that using plain old text feels like banging rocks together.

comment 7y ago · link · parent

Couldn't we use something like KL divergence to measure the difference between a given bulb's spectral distribution and a perfect black body?
1
808182
85