HNHacker News
TopNewBestAskShowJobs

darsham

56 karma · joined May 24, 2013

submissionscomments
darsham··on The Pirate Bay down, forever?
I think you misunderstand. They never hosted any content, they only linked to it. What we're saying is that the torrent database was upgraded from plain old filesystem storage of .torrent files to a more efficient/specialized database.
darsham··on Flying with Machine Guns?
He's playing against the ridiculously bad AI in that video. Here's the more impressive "mortars only" style in the LieroX remake:

https://www.youtube.com/watch?v=kx3ivYFY4ig#t=67

I had a couple of years at uni where we played this on LAN in one of the computer labs during every lunch break. We even made some maps!

darsham··on Things You Should Know About Tor
>you're masking your origin IP to the remote address by trusting one of a couple hundred volunteer exit nodes

No! When using Tor, you are not trusting any single node, and that's the whole point. The exit node does not know your IP or anything else about you, and the other nodes do not know what server you're communicating with. And you should never send any personal information over Tor, such as your credit card, because the end server would be able to identify you and steal that information (and why would you trust the end server? The idea is not to trust anyone when using Tor.)

darsham··on Cicada 3301
The Wikipedia article does a bad job on giving any larger perspective, that is, the fact that this is a drop in the ocean of hacking and cryptography wargames. [1]

[1]: http://www.wechall.net

darsham··on Real-time lightning map, worldwide
It's huge. Normally, the curvature of the earth would make it impossible to detect anything at such distances. But the ionosphere's lower levels act like a waveguide [1], (and this tells you which frequencies you should listen on to take advantage of this).

The craziest phenomenon of this kind is whistlers [2]. Lightning strikes can be heard on radio at a point on the earth exactly symmetrical to the source, using the equator as plane of symmetry. In fact, the signal bounces around back and forth between the two points, following a line on the magnetosphere. The ones closer to the poles have longer paths, and their frequencies can get spread out over 3-4 seconds as they bounce around.

[1]: http://en.wikipedia.org/wiki/Earth%E2%80%93ionosphere_wavegu...

[2]: http://en.wikipedia.org/wiki/Whistler_%28radio%29

darsham··on How to Fold a Julia Fractal
Thanks (and thanks to the other replies !). So a complex number has a single representation when using real and imaginary parts, but an infinity of representations if you use angle and magnitude (just add or subtract 2π radians). I guess that should have been clear from the article, I just needed to sleep on it.
darsham··on How to Fold a Julia Fractal
Maybe someone can help me understand this. On slide 39 of the first slideshow, it says :

"For any irrational power p, there are an infinite number of solutions to z^p=c, all lying on a circle."

This means that most of the solutions have an angle larger than a full circle, right ? But if complex numbers can be represented as the sum of the real and complex parts, how can their angle be superior to 360 degrees ?

darsham··on Chladni Patterns
According to Wikipedia :

"Like many claims in the cymatics community, the hypothesis that the carvings represent Chladni patterns is not supported by scientific or historical evidence.[citation needed] One of the problems is that many of the 'box' carvings are not original, having been replaced in the 19th century following damage by erosion."

Citation needed indeed, but there's no academic research about this extravagant theory anyways, and with my foray into the subject, I just found the patterns to be decorative geometric shapes with a coincidental resemblance to Chladni patterns.

http://en.wikipedia.org/wiki/Cymatics

darsham··on Google updates logo, moves 'g' and 'l' by one pixel each
The descriptions are wrong, the letters were moved right not left. Anyways, the new one is more balanced. Quite the zen garden.
darsham··on Benford's law
Here's my explanation : assuming random distribution, the probability of finding a star at a given distance is proportional to the area of the sphere having that radius. So it follows a square law.

Correct me if I'm wrong, but I think any function with an increasing rate of change (ie. second derivative > 0) will yield a distribution with the same ordering of digits as Benford's if random numbers are taken from it.

darsham··on The Hobbit House (2012)
The frame and rafters seem solid (as long as you don't stress it too much), but it seems inevitable that the roots of plants will pierce the plastic layer, and rain will drain though the roof.

I know it's heavy duty plastic, but the roots of small plants can crack rock.

It's hard to tell from all these 200x200px pictures, but is the plastic the first thing on the ceiling? If that's the case, you might patch it up as it gets punctured or replace whole sections of it. I'm very curious as to how the house and vegetation will evolve on the long term, because this is pretty much my dream house.

Edit: After looking at the rest of the website, it becomes clear that they know what they're doing. I'm still curious about the details.

darsham··on The Hackaday Prize
A lot of people were afraid that HAD would go downhill after being taken over by SupplyFrame[0]. I find all the initiatives they've taken so far were pretty good and this space prize sums it up pretty well.

[0] http://hackaday.com/2013/07/25/hello-from-supplyframe/

darsham··on Virtual ANS – Simulator of a Russian musical synthesizer from the 1950s
This is very cool. The core of the code should be pretty simple, here's an article on how to play an image using windowed fft :

http://www.ohmpie.com/imageencode/

Then just add some standard chorus+reverb processing, possibly a bit of distortion.

There are other programs that do this kind of thing (Photosounder, MetaSynth), oddly not so much free software.

As a side note, it's kind of odd that the coloring in this gui lays out the light spectrum with the low frequencies in violet and the high frequencies in red.

darsham··on WiFi light painting
I've always wondered if it's possible to build a video camera that films on the microwave spectrum instead of the visible light spectrum. Would such a tool would allow you to "see" wi-fi access points ? I guess they would look like bright, pulsating sources of light, and they would be visible through walls.

I did a bit of research on the subject, and they don't seem to really exist. It's possible that the longer wavelength poses technical difficulties. The individual receptors are too big and you can't cram them together at a sufficient density. Also, the lensing and shielding needs to be completely re-thought.

There's a 2012 paper called "Portable Real-Time Microwave Camera at 24 GHz" but i couldn't access it (not in academia).

darsham··on Shadow DOM
I don't really agree with this critique. HTML defines the structure and content, CSS defines the style and appearance, and JS defines the behavior. The model is clear and even somewhat elegant.

Yes there is overlap, that is inevitable. Yes, you can always make it ugly and there are old vestigial features that you probably shouldn't use. These standards have a long, complicated history, but the end result is surprisingly consistent.

The different layouts in CSS (inline, block...) are powerful tools once you get used to them. They solve the problem of reconciling different layout models that are useful in different situations. And that's one hell of a problem that won't go away, even in alternate utopias. In fact most of the complaints here are just about practical solutions to inevitable problems.

darsham··on The Sound of Sorting – "Audibilization" and Visualization of Algorithms (2013)
This is pretty mind-bending. When you know a little about the algorithm being played, it does feel like taking a dive inside the processor. But maybe a different synthesis method, with a richer timbre would make the videos that much more interesting. Use a simple Karpluss-Strong string simulator fed into a standard chorus+reverb, pan each note according to its position in the visualisation, and we'd be taken to a freakishly higher level of immersiveness.

Maybe I'll look at the source and see if I can apply this.

darsham··on How does the authentication in the new UK £1 coin work?
The problem is, when pressing the coins it might be difficult or impossible to apply such a layer properly.

If the verification is done with a part of the electromagnetic spectrum that somewhat penetrates the coin, then you'll need a very thick, "obvious fake" layer. I am not a physicist so this is just vague speculation.

darsham··on Valve replaces Steam Controller touchscreen with new analog face buttons
They probably just mean "physical". I've noticed "Analog" gets abused in that way a lot.
darsham··on 2048
Working fine here with Firefox on Win7.
darsham··on The Europa mission is real and could very well happen
Advertisement ? It's borderline a space horror movie, no irony here...

The mockups of mission branding and press conferences were rather well made though, so I can imagine why you'd get that impression.

darsham··on How to meditate
OK, I'll bite. Meditation allows you to gain an otherwise impossible level of control over somatic functions (heart rate, pressure). That's why it's often used by freedivers to learn to hold their breath for example, and, to a greater extent, it's used in static apnea to help you hold your breath for a ridiculous amount of time (see Jacques Mayol).

That doesn't mean it's only useful to static apnea champions, though. The potential uses are wide-ranging, perhaps stress control and introspection is what most people can get from it.

darsham··on How We Built a Cutting-Edge Color Search App
Reminds me of TinEye's multicolr demo [0] that searches through CC-licensed images on Flickr. Their multiple color feature was really nice (however they don't have shuttershock's keyword filtering.)

I wonder if anyone ever bought TinEye's color-search-engine-as-a-service [1]. The as-a-service model seems really awkward for something that requires so much integration, and this new shuttershock feature (developed from the ground up) seems to confirm this.

[0] http://labs.tineye.com/multicolr

[1] http://services.tineye.com/MulticolorEngine

darsham··on Belgian professor in cryptography hacked
Your link is indeed broken but some google fu led me to find these entries proving your point :

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-017...

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-209...

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-492...

They cite HN among a plethora of other references, though.

darsham··on Anti-ageing compound set for human trials after turning clock back for mice
This seems to be a pretty big deal, but the article gives off the impression that mithocondrial aging is the only reason that we age. In fact there are many other aging factors that have not been linked to mithocondrial aging (and have, agruably, no relationship).

Some other factors I recall studying are

- gradual DNA damage, which is quite inevitable

- collagen degradation, which affects the eyes and all cartilaginous tissues.

darsham··on JavaScript particle simulator
It's nice to see this up here, I've been a fan of your work since the milkdrop days. Is that when you started making shaders ? I gotta say MD2 was one of the best shader playgrounds i've ever used and it's how i was introduced to shader programming. You should do cinematic special effects :)
darsham··on VNC over gif
you're probably thinking about this (which now 404s): http://cryptogasm.com/webcams/

Don't know why it was taken down. Here is the old thread : https://news.ycombinator.com/item?id=5543465

which mentions the Content-Type "multipart/x-mixed-replace" technique used to constantly update jpegs in the browser.