HNHacker News
TopNewBestAskShowJobs

GeorgeHahn

1,105 karma · joined March 4, 2013

All-around generalist. Systems engineer.

Usually in Minnesota, USA. Send me a note, let's grab coffee.

happy.ice6107@fastmail.com

submissionscomments
GeorgeHahn··on Fun with the Windows Subsystem for Linux
I think many of us who use Windows take for granted the number of tools we use to cover over our pain points.

I use Msys2, Cmder, a bunch of custom tool builds, and some Powershell scripts. This setup works great; I'm productive with it and my command line feels fantastic. However, I have been tweaking my setup for years. WSL makes all of that learning, setup, and tweaking unnecessary.

All of your tools are available out of the box, and you don't have to configure anything, hunt down binaries, or make your own builds.

This isn't about making you and I more comfortable - we already are. This is about making it easier for other devs to find a happy setup on Windows.

GeorgeHahn··on Fun with the Windows Subsystem for Linux
There are official builds of nano for win32 (Cygwin). In my experience, they work quite well - especially when paired with Cmder/ConEmu.

https://www.nano-editor.org/dist/v2.5/NT/

GeorgeHahn··on Jarvis: an Amazon Echo clone in your browser
Development kits are expensive due to low sales volume, no cost optimization, and buyers' price insensitivity. There is a huge amount of value in having a known good implementation on hand when designing hardware or firmware. Additionally, having the development kit means your firmware team can start developing before your hardware arrives.

If you have a good relationship with them, sales reps will often give or lend development kits.

GeorgeHahn··on Nima Gluten Sensor
> $5 per capsule

https://nimasensor.desk.com/customer/en/portal/articles/2138...

> capsules are not reusable or recyclable and will need to be disposed of in the trash

https://nimasensor.desk.com/customer/en/portal/articles/1925...

GeorgeHahn··on ESP8266: A $5 microcontroller with wi-fi that runs Python
No onboard USB kills it for me, especially at that price point. For something in that price range, I'm more interested in the ESP-210 - it's tiny and has USB-Serial built in.
GeorgeHahn··on Sprout Life
Anyone who enjoys this sort of work may also like the book Complexity by Waldrop, which covers the history of Complexity theory through the eyes of the people who created it. It's a really fun story that's inspirational and intellectually satisfying.
GeorgeHahn··on Show HN: A high-tech floating Christmas tree with more than 2000 RGB LED's
Alternatively, if you need a bit more power, there's Fadecandy from @scanlime: https://github.com/scanlime/fadecandy
GeorgeHahn··on Back to 28: Grub2 Authentication 0-Day
Summarized nicely by @whitequark on Twitter:

the details of this are amazing. by pressing backspace you overflow a variable, which overwrites the return address with zero & jumps

the code at address zero Just Happens to be a valid self-modifying loop (!) that also Just Happens to jump somewhere into grub_rescue()

GeorgeHahn··on Show HN: MarkRight – Electron-powered GitHub-flavored Markdown editor
Wonderful! This works perfectly on my HiDPI Windows 10 laptop (as opposed to MarkdownPad, which requires an ugly hack).
GeorgeHahn··on CDC warns coffee workers of hazardous chemicals
Ditto. I usually roast outdoors, but I think after this I'll add some flexible ducting to my Behmor just to be safe.
GeorgeHahn··on Show HN: Micro web framework for low-resource systems – live example on ESP8266
Doesn't look like it [1]. Certainly a skilled team though!

[1] https://twitter.com/EspressifSystem/status/65372641801515827...

GeorgeHahn··on LogMeIn acquires Lastpass
KeePass [http://keepass.info/] has worked well for me across Firefox and Android, though I haven't tried it on Chrome.
GeorgeHahn··on The sky's gone dark
Perhaps it would be possible to do positioning from balloons that reference ground stations or stars. It would be more expensive than the current systems but cheaper than a fully ground based system.
GeorgeHahn··on Windows 10 Free Upgrade Available in 190 Countries Today
I have observed the same issue over the past few months. It's a dealbreaker of a problem: instead of running the application you asked for, more often than not you are directed to the application's website.

I've been able to avoid this problem by replacing the start menu with Classic Start Menu, but that comes with its own set of issues (lag, funky focus interactions, and inability to launch some metro apps). So far, this is the only issue that has me thinking about downgrading.

GeorgeHahn··on Oculus Rift
This exists: http://www.aliexpress.com/item/2015-Newest-Vmsart-X1-windows...

15.1x8x1cm x86-64 computer with a built in 3000mAh battery

GeorgeHahn··on Firefox Bugzilla: Remove Pocket Integration
Do you know what happened to the reading list that existed in Nightly for a while?
GeorgeHahn··on Firefox Bugzilla: Remove Pocket Integration
What happened to the native Reading List? It was in Nightly for a time, but it appears to have disappeared recently.

I love Pocket, but I was looking forward to migrating to a setup where my data was kept private.

GeorgeHahn··on NirCmd – a multipurpose Windows command line tool
I used the same solution until I found Audio Switcher - https://github.com/davkean/audio-switcher. I prefer it because it sits in the tray where it's more accessible.
GeorgeHahn··on Spotify Introduces Video Clips, Podcasts, and Activity-Based Playlists
Sadly practically unusable on high DPI screens
GeorgeHahn··on Spotify Introduces Video Clips, Podcasts, and Activity-Based Playlists
Soundrop was the best music discovery service I've used in my life, and it shut down as a result of Spotify killing their app platform. Still searching for something even close to comparable.
GeorgeHahn··on NodeMCU v2 – Lua-based ESP8266 development kit
I sell a bunch of these modules on Tindie too! https://www.tindie.com/stores/George/

I only know what I've read. That said, take a look at the FCC certification document for the ESP-12: https://fccid.net/number.php?fcc=2ADUIESP-12&id=253176

Notice that it is certified as a "single modular" device.

The FCC requires that single modular devices be totally self contained: http://www.lsr.com/white-papers/fcc-guidance-on-transmitter-... https://www.fcc.gov/oet/ea/presentations/files/oct09/Modular... [PDF]

The ESP-12 module does not have onboard voltage regulation. Thus, it is not totally self contained and its certification is meaningless.

Regardless of the above discussion, these modules do not have a marked FCC ID, so any certification they do or do not have is meaningless.

Like I said, I only know what I've read. I don't understand how they reached certification without onboard voltage regulation, but they did. I don't know if that means the certification will be voided, but I certainly wouldn't want to be selling a product using these modules right now.

GeorgeHahn··on NodeMCU v2 – Lua-based ESP8266 development kit
This is incorrect. No currently available module has passed FCC modular certification. The ESP8266EX chips themselves have passed certification, but that's only one part of the process. The 'certification' reached by the ESP-12 module is suspect. Additionally, I've yet to see an ESP8266 module marked with a legitimate FCC ID (which is required for a certified module).
GeorgeHahn··on NodeMCU v2 – Lua-based ESP8266 development kit
The ESP8266 has an Xtensa processor (IP from Cadence, originally Tensilica). As far as I'm aware, all Espressif wifi ICs use this core.
GeorgeHahn··on NodeMCU v2 – Lua-based ESP8266 development kit
I don't believe there are any ESP8266 modules with FCC modular certification yet.

I prototyped a CC3200 module but stopped working on it when it became apparent that the ESP8266 was here to stay. It's a simpler chip with fewer available GPIO pins and less processing power, but it can be packed into a much smaller area than the CC3200 (CC3200s require 3 separate power inductors!).

It's important to note that the ESP8266 may well be more open than the CC3200! Much of the CC3200's functionality is packed into a binary blob from TI, and the chip runs this code on a second core that you don't have any control over.

GeorgeHahn··on How is Javascript used within the Spotify desktop application?
Very true. There are a few options in that space: Clementine (https://www.clementine-player.org/), Tomahawk (https://www.tomahawk-player.org/), Mopidy (https://www.mopidy.com/), Fidelify (http://fidelify.net/, not OSS), Soundbounce (http://soundbounce.org/). (Raise a glass to SOVND, my personal project that I killed when I got fed up with libspotify.)
GeorgeHahn··on How is Javascript used within the Spotify desktop application?
While I'm appalled by some of the recent changes Spotify has made, I'm really impressed by how easy it is to work on their desktop client. I can't even imagine how nice things must be when you have the real source, automatic live-reload, and don't have to muck around with concatenated or minified JS/css/handlebars files. This setup can't be good for memory usage, but it rocks for development!

For anyone who's curious, it's easy to take a look under the hood from the Spotify installation folder. (Windows users can find it at %APPDATA%/Spotify/)

The Apps directory is full of *.spa files. These are zip files; if you extract them to folders with the same names and delete the zips, the application will still work, but you'll be able to edit the code.

The zlink directory is the most useful. This holds the main UI and much of the logic that powers it. Search through main.js in this directory for the Session.prototype.isDeveloper declaration. If you force it to return true, the Spotify UI will refresh when you press F5 inside it. Now you don't have to close and reopen every time you make a change! This will also add some miscellaneous UI embellishments (they aren't terribly useful and can be disabled by hardwiring logic elsewhere in main.js).

Initially, I thought the about directory would be a handy sandbox to mess around in, but then I realized that you can easily add new apps! Integrating them into the UI takes a bit of effort, but you can easily get to them by putting the app URI into the search bar (spotify:app:___). (Each app's URI is defined within the its js file. Make sure you give it a unique name in its manifest, too.)

Additionally, you can open cef.pak and devtools_resources.pak with a text editor and mess around (though they're not terribly useful).

NB: If you're really motivated, it shouldn't be too hard to set up a complete development environment for this. I was able to quickly dump most of the concatenated files to zips - all I needed to do to finish was to cut off some of the module wrapper code and reformat directory paths. I quit when I accomplished my goals of shuffling the UI around, but if you're interested, I have a simple concatenated files dumper at https://gist.github.com/GeorgeHahn/0deef2fb0d392ef507dd.

It takes a bit of mucking around, but it's not too hard to achieve a legacy-UI feel (volume on the left, no lyrics button, de-uglified media control buttons, compact playlist/track lists, etc). Of course, this will get ruined the next time Spotify updates, so you should block updates and make backups if you want to keep your changes.

GeorgeHahn··on The dangers of resetting everything at once
Forekast event so we don't forget to look out for 787s falling from the sky: https://forekast.com/events/5547023b666b770ea12b0000
GeorgeHahn··on Open Sourcing Visual Studio’s GDB/LLDB Debug Engine
Doesn't this replace VisualGDB?
GeorgeHahn··on DIY FPGA-based HDMI ambient lighting
Sorry, I should have been more clear. I was talking about power efficiency.
GeorgeHahn··on DIY FPGA-based HDMI ambient lighting
This is more efficient, cheaper, and has lower latency than your solution. It's also way cooler.
← PreviousPage 2 of 3Next →