HNHacker News
TopNewBestAskShowJobs

Whitespace

1,650 karma · joined October 18, 2009

Tom Clark

My gmail/github usernames are the same as my HN username.

[ my public key: https://keybase.io/whitespace; my proof: https://keybase.io/whitespace/sigs/7n2v9-_GjHVZDiDsnzuqllzU_E7RYpr18hej2JZiG40 ]

submissionscomments
Whitespace··on Show HN: Hexagonal Minesweeper with multiplayer, geographic maps, zoom and pan
Twice I've started a new game and my first click is a mine.

Feature Request: can you ensure the first click is not a mine?

Whitespace··on Build a hit counter for Gatsby with React, AWS Lambda, and FaunaDB
I don't think this is at all in the spirit of hit counters of the past; IIRC they were an img tag that would be dynamically rendered serverside. Static markup » dynamic content.

Perhaps a more apples-to-apples comparison would be an img tag that returns an SVG, allowing CSS styling. You can still choose serverless backend, or you can use the tried-and-true apache/nginx with memcache, just like the 90s.

Whitespace··on I asked an online tracking company for all of my data (2018)
Even worse, nowadays there's only "accept" and "maybe later"
Whitespace··on Ask HN: How do people become experts?
> I've tried the deep dive thing a few times and always come out frustrated.

> Generally as a [hobbyist] ...

It sounds as though you expect that reading or doing something once will confer expert status. Instead, try to think of it more like a lifestyle.

If you study something every day for ten years — constantly trying out new ideas to test the limits of the field and your understanding, and teaching others how to get started to develop a deeper intuition and understanding of the basics — you will most definitely be an expert at the end of those ten years.

At no point will you necessarily _feel_ like an expert; that's just a label people give to those who live/breathe/dream a topic deeply for many years.

Whitespace··on Searching for 'VK' shows only a single result on DuckduckGo. Why?
Quoting it yields the expected result: https://duckduckgo.com/?q=%22vk%22&ia=web

Compare with Bing (where DDG gets its search results from) https://www.bing.com/search?q=vk

Whitespace··on Emotional resilience and burnout in leadership
Here's a handy link to the PDF, which is easier on the eyes than google docs: https://drive.google.com/file/d/1KaPv-yVxjLb8b4WlF0nsAA5b6ft...

This was a phenomenal read and led me to ask my own question: https://news.ycombinator.com/item?id=24265697

Whitespace··on First Impressions of Rust
That is not the same, because ownership of _account_ isn't enforced if it's just a string. Imagine someone else uploading qayxc-resume, for example.
Whitespace··on Can Archaeology Dogs Smell Ancient Time?
Without reading the article, I would answer a resounding "yes."

Dogs can be trained to smell _cancer._ That is mind-bogglingly cool.

Whitespace··on When you type realty.com into Safari it takes you to realtor.com
Visit a url with the same work in the title and the url, ie https://github.com/Whitespace/Glome

Close safari and reopen it.

Type in "Whitespace" then "Bookmarks and History" shows up. Highlight a result, then go to the end of the line and delete that work, thinking you'll be editing the url directly to get: https://github.com/Whitespace

It matches on the title and allows you to edit that, leaving you with the option to search on "Whitespace/glome: Glome! Powered by " which is extremely baffling.

My expectation is that it matches the url and allows me to edit it, which is something I do very often for github repos: type the name of the user, highlight a history result so https://github.com/ is filled out, then option delete the repo and type in the one I want to go to.

Whitespace··on Ask HN: What are your “brain hacks” that help you manage everyday situations?
Here are some tips for mentoring or pairing/collaborating with fellow engineers:

- Use whiteboards to discuss anything. This way you're solving an abstract problem without being bogged down by implementation (which should be very straightforward once the solution exists on the whiteboard

- Take notes liberally for everyone's benefit. During interviews and other whiteboarding sessions I write "Notes" down on the side with bullet points listing the requirements, keywords, or questions I have for future discussion. Of all the things I do, this gets the most praise from just about everyone: "this over here is really awesome!"

- Ask lots of questions in the beginning so you don't inadvertently make assumptions that they're too afraid to address. Often times it'll take 30 minutes for them to properly phrase it in a way that gives me enough context so I can start helping.

- Do a teach-back afterwards: "we spoke about X, Y, and Z, and tried 1 and 2. We saw that although 1 works, it is too clever to maintain because of A and B, so 2 is a better solution."

Whitespace··on FastQL: Smart GraphQL Caching and CDN
They seem to be similar to fastly in that I can pass an object_id to invalidate, and every object that contains it is invalidated. Invalidate-by-id is very powerful compared to invalidate-by-path, since I no longer have to remember which paths contain which objects.

But they go further than fastly because you don't have to annotate responses with object ids: https://fastql.io/docs/examples/mutation-update/#automatic-i...

This is extremely interesting and something I haven't seen before in an edge cache.

Whitespace··on An Interesting Pattern in the Prime Numbers: Parallax Compression
It wasn't exactly clear to me when I read the article, so here's my explanation:

- take a line of integers, color them black if prime, red otherwise

- hexagonally arrange them in a spiral (similar to Ulam's spiral)

- cut the hexagon into six equilateral triangles

- overlap the triangles (rotate where necessary)

- if any pixels are black, color the whole thing black, if none are black, color it red

- interesting pattern arises

- interesting pattern already exists as per http://oeis.org/A054521

Edit: They may be packing more than 6 numbers into a pixel, looks like 75. Unsure how that would look visually, but you extend the above to use 75 or any other number. Unsure why 75 was chosen, maybe it's the only interesting one?

Whitespace··on How I built a fast JavaScript framework
They compared Radi to React Stack, not React Fiber. That's being sneaky.

If you run the React Fiber demo, you'll see it's just as fast: https://claudiopro.github.io/react-fiber-vs-stack-demo/fiber...

Whitespace··on How to Slice a Bagel into Two Linked Halves (2009)
Here's George Hart's daughter Vi Hart making a Mexihexaflexagon, which is a kind of three-sided flat quesadilla: https://www.youtube.com/watch?v=GTwrVAbV56o

That family must have the best picnics!

Whitespace··on Nice Threads
Could have named this post: Pat yourself on the backpedal
Whitespace··on Why Trello failed to build a $1B business
Previous discussion: https://news.ycombinator.com/item?id=13839738
Whitespace··on DNS for Service Discovery in HAProxy
Anyone here ever used SRV records for local development? I really like the idea of running a local DNS server with port information built in instead of a full-blown service discovery/routing/service mesh setup.
Whitespace··on Clkscrew: Exposing the perils of security-oblivious energy management
Absolutely phenomenal hack. This is state-actor-level stuff.

I'm no expert, but iPhone might also use essentially the same ARM TrustZone/SecurCore tech as per [0].

If that's the case I wouldn't be surprised if we saw the same group targeting iPhones in a couple of months.

[0] https://en.wikipedia.org/wiki/Apple_A7

Whitespace··on [dead]
How exactly is this making the case? A more likely explanation is words like "douchebag" in the title are weighted lower in Bing and Yahoo.
Whitespace··on Ask HN: What are some indicators that a company will have an IPO or exit?
Background info: https://news.ycombinator.com/item?id=13688591
Whitespace··on How to shoot on iPhone 7
You can use the ooo app to zoom with one hand: http://thisalso.com/projects/ooo or https://itunes.apple.com/app/apple-store/id1182459078?mt=8
Whitespace··on Tank – A very high performance distributed log service
I don't see any information other than a claim that it's "engineered for optimal (very high) performance": https://github.com/phaistos-networks/TANK/wiki/Why-Tank-and-...
Whitespace··on Google’s look, evolved
- Stop forcing users to sign into google maps mobile just to save their home/work directions. They took that option away and it's infuriating to old farts like me that I will _deliberately have a worse experience_ just so I don't have to sign in

- Stop hijacking basic user interactions like the mouse click. On desktop, if you click the map it will reverse geocode where you clicked (and show you the nearest road to it.) Although I understand the utility of such a feature, I have never ever wanted that. I live in NYC and no one has a car. I just want to change focus off of the constantly expanding and moving navigation window thing. I search for something, then click the background, and now my search is gone. Then I click the location area to get my search back, and nothing happens. I click the background to get rid of the stupid useless direction window, and now everything is gone. Oh, except the thing I clicked is now reverse geocoded for me. Infuriating.

- I challenge people to do the following on desktop: share a location in the middle of a park (hint: drop a pin first)

Whitespace··on io.js 1.4 released – featuring debuggable ES6 promises
Probably due to V8 upgrade which contains an embargoed fix. These are usually critical bugs that remain undisclosed until major users (read as: large companies) have patched their systems.
Whitespace··on Oil droplets mimicking quantum behavior: How far can we push an analogy? [pdf]
Some background: https://www.quantamagazine.org/20140624-fluid-tests-hint-at-...
Whitespace··on How to reward skilled coders with something other than people management
Having just become a co-manager for ~50 engineers, this is really interesting and timely advice. I don't pretend to have all the answers about how to reward great engineers, so hearing more people speak about this is really useful to me.

My initial reaction is "reward them with more things they can say no to" but that ends up being project management-y if not outright manager-y. I'm very curious to hear more specific examples where this isn't the case.

If anyone in NYC and is in a similar situation to me, I'd love to meet up for coffee to share notes. Or in SF, for that matter (I'm here about once a month). Email in my profile.

Whitespace··on Visualising data structures and algorithms through animation
Since it took me a while to figure out, here's a hint: click on the card, then click the disclosure arrow on the lower left, then click around until you see "GO"

Example: http://www.comp.nus.edu.sg/~stevenha/visualization/sorting.h... » Click the > in the lower left » Sort » GO

Whitespace··on Show HN: 2048 without numbers
Obligatory "doesn't work in firefox" quote here.

As an aside, ever since I switched off Chrome (google is oppressive with google+) for safari/firefox a lot of newer, smaller sites have rendering issues. I guess it's the price I have to pay to be free of the beast that is Google.

Whitespace··on As much Stack Overflow as possible in 4096 bytes
I'm curious if a lot of the customizations re:compression could be similarly achieved if the author used Google's modpagespeed for apache[0] or nginx[1], as it does a lot of these things automatically including eliding css/html attributes and generally re-arranging things for optimal sizes.

It could make writing for 4k less of a chore?

In any case, this is an outstanding hack. The company I work for has TLS certificates that are larger than the payload of his page. Absolutely terrific job, Daniel.

[0]: https://code.google.com/p/modpagespeed/

[1]: https://github.com/pagespeed/ngx_pagespeed

edit: formatting

Whitespace··on How Quora Onboards New Users
I'm not sure if the author is trolling, but that's probably because I've been extremely livid at Quora for the past couple of days. I had an account from years ago, but now I can't do a single thing unless I follow 5 topics. I can't even read the first answer like an anonymous user can, and I can't access my profile page to delete my account. The only option I have is to go into developer tools and delete the modal from the DOM when I get linked to a question.

You can roll your eyes at me all you want, but I'm bring cantankerous for a reason: I have had an account for years and they locked me out, and I find that really rather offensive. I now have a worse experience than an anonymous user, which is just silly.

← PreviousPage 3 of 6Next →