Better HN
topnewbestaskshowjobs
Log inSign up

xani__

25 karma · joined Oct 18, 2022 (4y ago) · 37 submissions

Submissions

comment 3y ago · link · parent

Yeah the same concept of "if statement", very smart /s

comment 3y ago · link · parent

It probably wont... till someone fires the one in 10 actually useful one and remaining ones will just fold down

comment 4y ago · link · parent

That makes it a bit harder, most people don't have access to accurate power measurement device.

Kinda shame USB hosts don't have that functionality

comment 4y ago · link · parent

> Interruptions don't scale, just as single backbone networks don't scale (CSMA-CD anyone?) and modern networking has shifted to star topologies.

The difference is that packet has max length and therefore can be mixed with other senders, not be infinite monologue that chokes whole traffic in the network

As for interrupts, you just need to queue them instead of them causing collision. Notice the need for question and let the other side finish the sentence, as what they say next might be answer to question

comment 4y ago · link · parent

Yup, and that is how ultrasonic heat pumps work!

JWST has one

https://webb.nasa.gov/content/about/innovations/cryocooler.h...

basically, make a standing wave of gas in a pipe and the peak of pressure will be hotter than the valley. Put the thing you want to cool in the valley, radiator in the peak, and voila, a heat pump.

comment 4y ago · link · parent

To elaborate, the tube is tuned right below where in closed box the speaker would lose efficiency, so the frequency shift is 180 degrees, and as it takes air from behind it (which is shifted by 180 so it gets to 360 total). But that causes the frequency curve to drop steeper below that.

There is also variant of that where instead of pipe hole there is an extra passive membrane

https://en.wikipedia.org/wiki/Passive_radiator_(speaker)

comment 4y ago · link · parent

> Interesting side note - using the "basic" frequency/amplitude slider section, you can tell if you have any hearing loss in a certain ear at a certain frequency, as well as high frequencies in general.

If you're on headphones maybe but might "only" be shit speakers

comment 4y ago · link · parent

Pretty much, I'm scrolling for few minutes and every demo is more impressive than the previous one.

And the part about sound bouncing in the room is basically "acoustic room design 101" and beautifully illustrates how shape and dampening of the room can massively change how it sounds

comment 4y ago · link · parent

It's an art of its own where you need to account for absolutely everything. Like does the 0.1C fluctuation on your sensor is actual change or just the noise of the sensor flipping the last bit or two of the ADC ? Hell, in right conditions you can use that noise to extract extra resolution over time.

Or how vibration on a cable can induce sensor noise because you have 2 conductors in a long line creating capacitor with capacity modulated by vibration and because of that change of capacitance there is a current induced in it.

Or how every sensor is a temperature sensor and anything else it senses is just extra.

comment 4y ago · link · parent

My SSH key is on hardware token. How HTTPS tokens would be more secure ?

Other question would be I guess "why we don't just use HTTPS client cert auth instead of silly tokens" ?

> Security-wise, most people don't use SSH securely and may fall victim to MITM.

The whole things sounds like "okay so some of you are incompetent, let's put some measures that annoy the ones that are"

comment 4y ago · link · parent

> Is there an argument for why non-expiring tokens are a bad idea that I'm missing here?

it's a band-aid on other people not being able to secure their system. Band-aid that solves nothing as if token valid for a week or a month leaks you're still fucked.

Now no expiry at all is a problem (you don't want someone digging out token from 2 years ago from somewhere to still work), but the node actively using service should be able to re-generate its own one.

Then you could also get away by super-short tokens (say week) that app just re-generates every few days.

For example app can use tokenN to generate tokenN+1 and have both of them be valid at the same time for a period (so app cluster have time to propagate the new access token before old one expires)

And so any leak of old data would be no threat, you wouldn't need to have months-long human-regenerated tokens, and it would be more leak-proof as just having week old token would be inconsequential.

Vs "bother someone every 6 months to click thru the stupid panel and put the key in right places just so your infrastructure keeps working". MS already does that in other places, it's aisine

12