HNHacker News
TopNewBestAskShowJobs

gmurphy

1,792 karma · joined April 11, 2009

http://glenmurphy.com/
submissionscomments
gmurphy··on Serial-position effect
Me too! I've found that books with characters whose names begin with the same letter tend to cause me great confusion.

Names are just firstletter+garbage, which also means I can't recall any of the characters names when I've finished reading.

gmurphy··on Decaying but beloved, Tokyo’s Capsule Tower faces uncertain future
Tourists are weird by definition because people are interested in seeing the things that are different/unique relative to the context they are from, and those things get way more interesting if the locals find them normal because it highlights the cultural difference.

So I try not to take offense if visitors aren't interested in the same things I am - the real challenge is whether they respect the differences in those things.

gmurphy··on Spatial Keyboard Navigation
This used to be one of my favorite Google UI Engineer interview questions - how to implement something like this as a content script.

One of the fun "get away from math and into experience" bonus parts of the question was about how to deal with ambiguity - for example, if your elements are laid out like the 5 on a dice, and you focused on the middle element, which do you pick when you press left or right? What if you'd previously come from one of those elements?

gmurphy··on Every search bar looks like a URL bar to users
I designed[1] the Chrome Omnibox, and appreciate a lot of the conjecture in this thread and other places - I wish I was as devious as many people assume we were.

The short version is that while many users can differentiate, it's more a problem of WHEN they differentiate - Chrome's entire design philosophy was around speed, and the omnibox was designed so that we had a simple destination that a user could focus on when they had decided to go somewhere else, but before they had decided WHERE they wanted to go to or HOW they were going to get there, and then make it so they wouldn't have to think about the HOW. If their search term autocompleted to a URL so they don't have to go through search, that was a win. This same philosophy was what drove putting the most visited pages on the New Tab Page (which was a blank page in most browsers at the time).

Some users plan out their actions before they take them, but I wanted to make everything as streamlined as possible so you could interact with Chrome as you thought about what you wanted, and not making you wait until after.

[1] I was the designer and occasional engineer, but the entire team takes the credit - everyone was behind the idea from before we even started work on Chrome, and many smart people deserve more credit than I do for how good it ended up being.

gmurphy··on Show HN: A world map of 24x365 average temperature “fingerprints”
Double agree with this suggestion - as I've split my life between hemispheres, weatherspark has been enormously useful for explaining relative climates to new and old friends, but I always have to edit the comparison graphs myself to put summer in the middle before sharing so you can actually compare the differences.
gmurphy··on Teach Me PCB
Any tips on how to find/book those freelancers? I've been looking for similar help
gmurphy··on Teach Me PCB
I held off doing PCB stuff for a long time because the tools seemed incredibly complex and intimidating, and now I wonder how I ever did anything without it. The things I wish someone had told me:

- all a PCB is, is a flat version of your hand-wired prototype - all those crazy lines are just the wires - there's no special hidden EE magic until later

- the schematic editor shows your intent

- the pcb layout editor shows where things go

- the hard part is actually just finding schematic and layout editor files for the components you're using - github search is great for this

- you will make lots of mistakes and need a few goes - everyone does, debugging is half the fun, don't be afraid

- online PCB houses make those mistakes cheap

Things I have made with little more than introductory-Arduino knowledge:

- A wearable bluetooth ring: https://twitter.com/gmurphy/status/1372368637332389888

- A hall-effect volume control knob for my PC: https://twitter.com/gmurphy/status/1179831446204121088

- A long range garage door opener: https://www.instagram.com/p/B11m1y5J3qc/

- And currently working on a keyboard: https://twitter.com/gmurphy/status/1443048243101777921

Also, the debugging step for me got orders of magnitude easier when I got a set of PCBite probes - just drop them on and they mostly stay in place. e.g: https://mobile.twitter.com/gmurphy/status/136575328654495744...

gmurphy··on Ask HN: Where are all the old Show HNs?
I did a Show HN eleven years ago for something called Dropmocks, which was an early use of the HTML5 drag and drop API to make image sharing convenient - it sat at the top of HN for that weekend, got Techcrunch coverage[0] etc, which made me feel nice.

A few things happened after that:

- A startup took the open source code and put it up a day or so later and got a few million dollars in funding to do image sharing, which made me feel bad at the time, but they later disappeared so it's fine

- Larry Page got a bit annoyed that I didn't do it as a Google project, and Sundar/my boss had to explain that I was just a Chrome staff member who got a bit excited about a new API - both of them were correct

- I had to panic-build a content moderation system from the airport on my honeymoon in response to some unsavory content

- It eventually got to 3TB of stored data, which was fine until billing policy changes at my storage provider meant that my monthly costs would've gone from tens of dollars to hundreds or thousands of dollars

- My day job was more fulfilling, so after a few years I shut it down

[0] https://techcrunch.com/2010/11/22/dropmocks-chrome-designer/

gmurphy··on Earthquake in Melbourne, Australia (9.15 AM 22nd Sep 21, AEST)
Like most of the earthquakes I felt in the bay area, I spent most of it thinking it was an unbalanced dryer in the final stages of its cycle.

It roughly felt equivalent to the 2014 Napa Quake (which was also a 6). For normally geologically-quiet Melbourne, however, this would be the strongest quake ever recorded.

gmurphy··on Strange domain names that developers bought
It does a client-side guess based on vowels, and then hits the server for an authoritative version. The server has a word:syllables map I derived from the CMU Pronouncing Dictionary.

In the "segue" case, it looks like the dictionary lists two pronounciations, one as 'seg', so it uses the lesser of the two. Not sure that pronounciation is valid, though.

Thanks to you and frosted-flakes, I pushed a fix for the back button issue - good catch, I appreciate it.

gmurphy··on Strange domain names that developers bought
One night a few months ago, after two large beers I imagined up a domain name that was SO PERFECT that I HAD TO BUY IT and swore that this time, unlike all the others, I was TOTALLY GOING TO DO SOMETHING WITH IT.

The next morning, looking for an excuse to not get out of bed, I actually followed through:

https://haikupotamus.com/

gmurphy··on Eigengrau
From the related links in this article, I learned that Visual Snow[1] is not what everyone sees at nighttime or when they close their eyes, as I have, for as long as I can remember. I just figured our eyes cranked their ISO sensitivity up.

[1] https://en.wikipedia.org/wiki/Visual_snow

gmurphy··on The California Exception
I was so mad at their cancellation dark patterns I cancelled my otherwise-useful subscription. I live in California, but still didn't see an easy way to do it, so I swapped my billing method to PayPal and then cancelled it in the PayPal UI, which worked great.

You then have to deal with weeks of constant spam from the NYT about the failed billing process, further cementing the my view that cancellation was the right thing.

gmurphy··on My three-year-old has taught me the value of talking to strangers
I'm also from Melbourne, and have lived in California for fifteen years. I put what you describe down to how often people move in America vs Australia.

In Australia, many people tend to stay in the same city for most of their lives, whereas America is full of people who go to high school in one state, university in another, and work in more - even those who stay in the same state often move cities (America has way more cities with way fewer people) they are constantly making new friends.

This means things like: in my 20s in Melbourne, parties tended to consist of friends who've known each other for a long time. In America, the host often didn't know everyone at the party because the invitation is open.

Canberra is actually a little more similar to America - most who live there came from somewhere else, so the social situation is much more open.

gmurphy··on 68k.news: A Netscape 1.1 makeover of Google News
When I looked at it before it had a Netscape-gray background; now it's white (updated? different browser? experiment?) and so doesn't capture that same feeling at all
gmurphy··on 68k.news: A Netscape 1.1 makeover of Google News
Nostaliga really kicked in here - seeing things like this for the first time, and feeling the unfurling of the future and a thousand new ideas in front of you, one so new and beyond all of your sci-fi expectations, and yet so real.

I feel so incredibly fortunate to have been old enough to see and understand the start of all of this, and later, to be a part of all of it.

gmurphy··on Holiday Hacking – Tracking my heart rate while playing Call of Duty
It's like when you read something hilarious and respond with lol in chat, but you don't actually laugh or even smirk, or like reading an exciting book without ducking and weaving - over time you just increasingly get more efficient at separating mind from body for different types of activities/inputs.

It does vary by person/activity though - I can ride a rollercoaster with a unmoving body and blank face and be having the time of my life, but cannot watch cringe-worthy things on TV without physically seizing up. Others are the other way around.

gmurphy··on Build a Two-Way Pager with Lora
Ahh, all those things I see when Arduino is doing its thing - I have some reading to do - thank you for putting me on this path!
gmurphy··on Build a Two-Way Pager with Lora
I 3D print them - quick prototypes I use my own printer, for more durable/nicer plastic stuff I go through Shapeways (~$20), and for the metal stuff I get them CNCed through 3D Hubs ($150). Here's an example of a volume controller I made:

https://twitter.com/gmurphy/status/1179828311049945088

gmurphy··on Build a Two-Way Pager with Lora
I went through a few KiCad tutorials (it's improved a lot over the past few years), and a lot of trial and error. With PCBWay and JLCPCB making it super cheap and delivered in a few days, it means you don't have to worry about mistakes so much.

My process is largely:

- mock it up with arduino boards

- mock it up on a breadboard with straight chips wired up like an Arduino but without all the stuff I don't need

- make a KiCad design that matches that

- make the PCBs, realize I made a few holes the wrong size, make more PCBs

- build, test, use

- plan to do it without the Arduino parts, but then give up after trying and failing to make Atmel Studio do anything

gmurphy··on Build a Two-Way Pager with Lora
I love Lora - our apartment's garage remotes have a range of about 5 meters, and the gate opens super slowly. This is annoying for us and everyone around us as we live on a business street, so have to either be parked across a footpath, or block traffic in the street while we wait for it all to happen.

So I rigged up a bunch of stuff using some RFM95 Lora modules, relays, and a smattering of crypto, and now I can start my garage door opening from several blocks away. Now by the time my car gets there, it's ready for us to drive in.

It started as breadboard/feather mess, but has progressed over time as I've taught myself PCB design to make ever-smaller remotes. It also means I can make multiple remotes, and put them on each of my bags, bikes, cars etc.

https://www.instagram.com/p/B11m1y5J3qc/

gmurphy··on Show HN: Dyna-Kinematics – A 2D physics simulator with some unique features
This is great! One very naive (I'm trying to learn) question:

You have a fixed timestep for good reason, which works great if you're displaying by doing interpolation (your display frames lag the physics and are 'catching up' to them), but in some cases where you want low latency in response to player input you might want extrapolation (your display frames are ahead of the physics engine).

I believe people typically do extrapolation by projecting forward any motion in a linear fashion, but it seems this would result in occasional weirdness like geometry intersection. One solution might be to run the physics engine at a fixed timestep for the 'real' changes, but let the graphics engine use the physics engine at a non-fixed timestep to do the extrapolation, where the results of that simulation are not taken into account for the fixed timestep frames.

Is that possible in Dyna-Kinematics, and/or am I talking nonsense? :)

gmurphy··on SmileBASIC 4 for Nintendo Switch
The Pocket C.H.I.P. was built around PICO-8

https://shop.pocketchip.co/collections/frontpage/products/po...

gmurphy··on If a MacBook Pro runs hot or shows high kernel CPU, try charging it on the right
Totally agree - Turbo Boost Switcher has dramatically changed how I use and like my 16" MBP - no more fan noise, no more burning fingers or blanket, and practically no noticeable difference in performance (e.g. Destiny 2 runs fine with it off).
gmurphy··on I made my own PCBs with a 3D printer
FWIW PCBWay generally gets my weekend orders to me within the week, and costs about the same as JLC ($5 for 5 boards plus $15 shipping). In some cases I've put an order in on Friday night and gotten them on Tuesday.
gmurphy··on MacBook 16-inch Fan Noise (2019)
FWIW, disabling Intel Turbo Boost (using Turbo Boost Switcher) has solved all my 16" MBP fan noise issues with no noticable performance impact for my daily tasks - you can even disable it in Bootcamp Windows (by setting CPU to 99% in power settings) and still get good framerates in Destiny 2.
gmurphy··on Real-time SFO plane location
One of my favorite personal projects was to do this with an ADS-B receiver, Raspberry Pi, Android App, and a laser projector to show overhead flights on my ceiling:

https://twitter.com/gmurphy/status/891863458005655553

It made practicing forgiveness for loud airplane noises much easier :)

gmurphy··on The Trippy, High-Speed World of Drone Racing
Slight and continuous adjustments, though with a proper RC controller you can make faster and more accurate adjustments, so maintaining altitude would be much more accurate than all the wobbling you saw in the video :)
gmurphy··on The Trippy, High-Speed World of Drone Racing
It's a 2g frame and camera mount I designed - you can download the plans here (the button next to the QTY selector): https://armattanproductions.com/pages/product_details/12158

The TX is a Jumper T8SG + FrSky M9 gimbals and recased into a 3D printed case I made. Haven't finished it yet (waiting on a third iteration to be printed), so writeup when I'm done :)

gmurphy··on The Trippy, High-Speed World of Drone Racing
I design and build my own quads, though I'm not a particularly great flier. The thing I love about the hobby is that it combines three key things:

* The control joy/mastery feeling you get from activities like car racing, riding a bike on technical terrain, playing a game, or flying a plane[1].

* A sufficient risk/reward profile; you risk smashing a $100 device, which is expensive enough to be interesting, but low enough not to be paralyzing

* The gearhead thrill of ordering, rebuilding, designing, and discovering new combinations of equipment

In my case, I want to optimize for quietness and unobtrusiveness, which means aiming for lightness, which is its own set of fun design problems - I'm currently down to 25 grams for a brushless FPV setup[2]. Now I'm on to redesigning the RC transmitter[3], since I want one with nice gimbals that takes up as little space in my bag as possible. The set of things you can do is endless.

[1] I hooked up an RC controller and went FPV with my home flightsim setup. It was fun, but there's a reason RC sticks are tiny - you need to move them around a lot more frequently and quickly than in a plane: https://twitter.com/gmurphy/status/832698732361551872

[2] https://www.instagram.com/p/BaSymwPH7XJ/

[3] https://www.instagram.com/p/BdnapxGltfw/

← PreviousPage 2 of 6Next →