Better HN
topnewbestaskshowjobs
Log inSign up

lionleaf

97 karma · joined Sep 24, 2012 (14y ago) · 31 submissions

[ my public key: https://keybase.io/lionleaf; my proof: https://keybase.io/lionleaf/sigs/GGwMz4qQq-Z0L9ktOgWjgC3yUA8WjeZLnMZE8nfbdsQ ]
Submissions

comment 10mo ago · link · parent

Shadertoy might fit that category? Runs in the browser, are all fragment shaders and without a size limit afaik, but they tend to be small-ish

https://www.shadertoy.com/

comment 10mo ago · link · parent

Fun to see this on HN! :D

Apologies for the quick reboot of the servers. I learned from last time this happened and resized the digitalocean droplet.

comment 8y ago · link · parent

I really like the way Norway has done it. A couple of years back they introduced a law that to make non-competes enforceable the company would have to pay you a full salary for the duration that you're blocked out of other work. Non-competes has function, but it's far too cheap for the company and far too expensive for the employee. Now the employer has to consider whether it's a position it's worth to protect or not, rather than just put it in the default contract

comment 8y ago · link · parent

Well, duh, of course it is. Monitoring writes to memory would be pretty interesting

comment 8y ago · link · parent

Yeah, that's good to know. Anyone have some insight on the implementation of the Google Home mute button?

comment 8y ago · link · parent

I recently got a Google Home, and I've been thinking about how to potentially build a "is-the-microphone-actually-recording?" device. A basic one should be possible just by watching the power draw, but that would probably trigger if it decides to download a firmware update or whatever too. I expect this has been done before?

comment 9y ago · link · parent

Using the <iframe> "sandbox" property. At least stops things like alert('hey') and a full-page redirect

comment 9y ago · link · parent

That's something I've been thinking about. Webworkers don't have direct access to the Canvas though, but it seems like you can work around that by passing image data. Killing infinite loops would be great

comment 9y ago · link · parent

The dweets are stopped but not unloaded as you scroll away. You're entirely right though, needs some proper unloading.

Edit: Link to the issue https://github.com/lionleaf/dwitter/issues/66

comment 9y ago · link · parent

That is really cool! They are using a realistic 3D model of the persons face and eye-tracking in the VR headset to make a good guess at their facial expression, effectively reconstructing the face that's hidden by the headset.

Not something you can easily do as a consumer yet, but for high quality mixed reality production this seems like a great boon.

For an explanation of mixed reality videos are made I recommend this: https://www.youtube.com/watch?v=8T7ux3DXP_w

comment 9y ago · link · parent

Changed to sfz :)

comment 9y ago · link · parent

Makes me quite nervous too. So far each dweet is run in a sandboxed iframe loaded from a separate subdomain.

There are definitely things you can do, and I'm aware of some annoying ones. I'll just manually delete them at this point. Any security conscious person would view it with noscript and just read the javascript ;)

comment 9y ago · link · parent

Oh, that's cool! I like the integration with twitter

comment 9y ago · link · parent

Brilliant dweet! Part of the challenge is the manual minification. A larger textarea might be worth it especially as you can use linebreaks instead of ; for better readability

comment 9y ago · link · parent

Sorry about your lost dweet :( Accidental infinite loops while editing can be a pain. A "reload" button isn't a bad idea, or a "recover dweet draft" functionality.

comment 9y ago · link · parent

Oh, got the 500 error dump. It's the @ in your username, that'll teach me. For now avoid special characters in your username ;)

Edit: In case you were stuck in a 500-loop I quickly changed your username to H2O, hopefully it works now

comment 9y ago · link · parent

Didn't mean to post with that account. Oh well.

comment 10y ago · link · parent

"Supporting filesystems in persistent memory" (2014)

https://lwn.net/Articles/610174/

comment 10y ago · link · parent

Note that he in this pong example in particular every frame he gives the network and option to either go up or down, but no option for standing still. So it _has_ to be jittery.

But as the other people have commented, adding a small penalty on every move and giving it the option to stand still (along with some normalization?) might give a much smoother result.

comment 10y ago · link · parent

This is a big deal. It basically adds the two factors that made GearVR better than cardboard to any VR ready Android phone: OS integration and better IMU sensors. It basically puts high quality (but not cutting edge) VR in everyones pocket, all you need is a dumb holder with lenses.

My prediction is that this will play a huge role in mass adoption of VR!

comment 10y ago · link · parent

At the moment the resolution simply isn't there for multiple virtual high resolution displays. I did some math a while back, and if I wanted the 1080 display I had at work at the same distance from my eyes in virtual space, I would need 5k by 5k pixels per eye.

Add a high refresh rate and that's far higher datarate than we can handle right now. And you'd need display tech that's pretty insane.

While it's not a replacement yet, if you're happy with some oldschool low res displays it's probably fine. Someone should do the math of the resolution you'd get in some examples.

comment 10y ago · link · parent

Here a link to the sketch if anyone's interested: https://www.youtube.com/watch?v=WcU4t6zRAKg

comment 10y ago · link · parent

How are you subsidizing the heavy users when they don't cost more to the provider? Bandwidth is not a scarce resource.

comment 11y ago · link · parent

The reason geoengineering scares me: https://xkcd.com/349/

comment 11y ago · link · parent

I'm assuming it's Jebediah Kerman

comment 13y ago · link · parent

Reminds me of a TED talk[1] were he ends up discussion the use of git or similar tools in the government.

[1] http://www.ted.com/talks/clay_shirky_how_the_internet_will_o...

comment 14y ago · link · parent

Yeah, I'm really certain too. Some of them seem surprisingly private though, so no wonder people get scared. It's still a bad thing that friend banter from long ago suddenly shows up for all your new friends / colleagues / family to see...
12