HNHacker News
TopNewBestAskShowJobs

konstruktors

170 karma · joined May 27, 2011

See https://kaspars.net and https://github.com/kasparsd
submissionscomments
konstruktors··on Why is GitHub UI getting slower?
It feels very similar to Facebook UIs and everything under FB for Business (managing ads, Instagram comments, etc). Definitely because of React and the amount of client side rendering logic in general.

Which is crazy given how little interactivity and DOM state a site like GitHub actually needs to manage.

konstruktors··on Solar Powered Raspberry Pi Camera
Exactly. And I haven't found cheap charge controllers that support the voltage range of Li-ion packs (like 12.6V for a 3S pack or 16.8V for a 4S pack).
konstruktors··on Solar Powered Raspberry Pi Camera
It does use the built-in WiFi to connect to a WiFi network created by the mobile modem I placed at the neighbours house which has a permanent power supply.

I considered using a mobile USB modem attached directly to the Pi but that requires extra effort keeping it connected with something like a cron task that pings 8.8.8.8 and restarts the connection if there is no response.

konstruktors··on Solar Powered Raspberry Pi Camera
100Wp is probably a bit of an overkill but it does help during the winter season when there are multiple days with almost no sun. Also, there is plenty of shading from the nearby trees so I wanted to be on the safe side.

It would be nice to log the power consumption and the battery voltage but I didn't do it for this project.

konstruktors··on Solar Powered Raspberry Pi Camera
Author of the blog post here. I've used [this SIM800 Raspberry Pi hat](https://www.itead.cc/wiki/RPI_SIM800_GSM/GPRS_ADD-ON_V2.0) and it requires some additional GPIO toggling to enable the modem after a power loss. [Here are the scripts](https://github.com/kasparsd/remote-pine) for doing that and creating the PPP network interface.

The USB modems are nice because you get full control over the modem with the AT commands. I've used the Huawei E173 modem which can be easily unlocked and works great out of the box.

konstruktors··on New Macbook Pro power efficiency and time remaining
It's 76Wh in 2016 vs 99Wh in 2015 -- a 24% smaller battery. To have the same battery time, it must draw 24% less current than it did with the 2015 model.

Secondly, we should always compare watts instead of amps unless we know the batteries have the exact same voltages.

For example, for a battery life of 18h it must draw 4.2W on average (76Wh/18h). I don't think that's possible because only the 2016 MacBook uses that little power -- 4.1W (41Wh/10h).

konstruktors··on Sync OS X Photos to Anywhere
Here is the link to the actual PHP script https://github.com/kasparsd/photos-sync
konstruktors··on Creating the perfect GPG keypair
> And then you drop your key and lose it. Or it gets ran over by a car or something. Now what?

You can't have both, I think. With a physical key your only concern is the physical security of the key. One should print out the revocation certificate, though.

I don't think many people lose their home keys or get them run over by a car. It's just a matter of making that a priority.

konstruktors··on Creating the perfect GPG keypair
I think it's time we finally move to generating and storing secret keys on secure elements (Yubikey, NitroKey). This way we only need to worry about the physical security of the key and nothing else.

No air-gapped machine and a random flash memory stick (for storing the backup of the private key) can be considered as secure as the secure element.

konstruktors··on Invisible Click Tracking Using “Empty” UTF-8 Characters
Interestingly, none of those "zero-width" characters are allowed in IDN domain names http://unicode.org/faq/idn.html#22
konstruktors··on Invisible Click Tracking Using “Empty” UTF-8 Characters
Fixed it, thanks!
konstruktors··on Invisible Click Tracking Using “Empty” UTF-8 Characters
Not sure, haven't tested it.
konstruktors··on Invisible Click Tracking Using “Empty” UTF-8 Characters
Have a look at the request URL in this screenshot: http://kaspars.net/wp-content/uploads/2015/02/invisible-clic... Notice the escaped character there.
konstruktors··on Scientists Uncover Invisible Motion in Video
Someone should port it over to HTML using canvas, native video and lots of javascript.
konstruktors··on Microsoft mocks Internet Explorer haters in new ad [video]
Did you guys notice the OS X hand cursor when he tweets? Here is a screenshot: http://imgur.com/ll0fq
konstruktors··on How to Detect iPad Mini Using Javascript (new method)
Update: It looks like these values are reporting viewport width and height at the time of tab creation and are not updated on rotation.
konstruktors··on Death of CMS for Personal Publishing
A lot of people seem to be moving their blogs to one of the static site generators with posts stored (and versioned) in Dropbox or Git as Markdown text files. Does it actually increase the amount of content you publish and makes the whole process easier?