HN user

bretthopper

3,467 karma

http://twitter.com/swalkinshaw

Posts57
Comments265
View on HN
acceptmarkdown.com 3mo ago

Accept: Text/Markdown

bretthopper
4pts0
github.com 3mo ago

Quien – A better WHOIS lookup tool

bretthopper
100pts45
www.seriouseats.com 12mo ago

There's a Reason Bar Ice Looks Better Than Yours (and You Can Fix It)

bretthopper
28pts4
benword.com 1y ago

Don't Tolerate Unsolicited Spam

bretthopper
2pts0
kentonshouse.com 3y ago

Kenton's House

bretthopper
2pts2
shopify.engineering 3y ago

Adventures in Garbage Collection: Improving GC Performance in Our Monolith

bretthopper
12pts0
www.vice.com 3y ago

The Mysterious Case of the Fucking Good Pizza (2021)

bretthopper
3pts0
sirupsen.com 4y ago

Neural network from scratch

bretthopper
208pts38
www.theatlantic.com 7y ago

How AI Found Flint’s Lead Pipes, and Then Humans Lost Them

bretthopper
4pts0
www.theringer.com 8y ago

The Sabermetric Movement’s Forgotten Foremother

bretthopper
1pts0
engineering.instagram.com 10y ago

Instagram and Android: Four Years Later

bretthopper
1pts0
developers.google.com 10y ago

Streamlining the Sign-In Flow Using Credential Management API

bretthopper
7pts1
nathanbarry.com 10y ago

Solving the cash problems from self-funding rapid growth

bretthopper
138pts20
m.signalvnoise.com 10y ago

Employee benefits at Basecamp

bretthopper
1pts0
github.com 10y ago

Fisticuffs – data binding framework for Swift, inspired by KnockoutJS

bretthopper
3pts0
zyan.scripts.mit.edu 10y ago

Timing attack against HSTS to sniff browser history in Chrome and Firefox

bretthopper
257pts94
www.bellingcat.com 10y ago

MH17 – The Open Source Evidence

bretthopper
3pts0
geoff.greer.fm 11y ago

Burnout is in the Mind

bretthopper
11pts6
raiseyourflag.com 11y ago

Show HN: Raise Your Flag – Start an awesome career without a degree or diploma

bretthopper
27pts9
techblog.thescore.com 12y ago

Benchmarking JSON Generation in Ruby

bretthopper
23pts14
www.bbc.com 12y ago

Grand National 2014: Humans beating horses in race to get faster

bretthopper
1pts0
grantland.com 12y ago

DataBall

bretthopper
94pts14
github.com 12y ago

Bedrock: a modern WordPress stack

bretthopper
82pts42
samsaffron.com 12y ago

Demystifying the Ruby GC

bretthopper
2pts0
roots.io 12y ago

Twelve-Factor WordPress App

bretthopper
2pts0
www.igvita.com 12y ago

Optimizing TLS Record Size and Buffering Latency

bretthopper
10pts0
googledevelopers.blogspot.ca 13y ago

Speed up your sites with PageSpeed for Nginx

bretthopper
3pts1
www.scientificamerican.com 13y ago

Is the Free-Radical Theory of Aging Dead?

bretthopper
1pts0
davidsimon.com 13y ago

Stray es and politicos

bretthopper
1pts1
www.garann.com 13y ago

You keep using that word "meritocracy"

bretthopper
49pts96

You are missing a few things about the Ruby based CLI:

1. dependencies for Gems are specified in the gemspec file and not the Gemfile. See https://github.com/Shopify/shopify-cli/blob/main/shopify-cli... for example. There's a few non-development dependencies.

2. since it's difficult to package up a Ruby gem for distribution, maybe dependencies were vendored directly in the codebase: https://github.com/Shopify/shopify-cli/tree/main/vendor

This isn't meant to be a comparison of the number of dependencies or anything. Just pointing out a few nuances to how the Ruby dependencies were handled.

I'd guess very hard. But just refactoring the WordPress codebase isn't enough, you'd ideally want every plugin to adopt the new API as well... Although you could always keep this implementation as the fallback behaviour.

I'm highly in favour of this, but wanted to point out an important implementation detail in case people don't want to look through the code.

Since WordPress doesn't have a database abstraction, SQLite integration is done by transforming the SQL query strings meant for MySQL. This not only means doing regexp matches with string replacement, but trying to emulate MySQL functions with either SQLite equivalents, or in the worst case, in PHP application code.

There's about 4-5 very predictable comments already that boil down to: "you’ll end up building a framework"

The author of this article directly addresses that common trope, so these comments are lazy. In fact, this article has a very nuanced but important rebuttal to that argument:

no, you’re going to write an app instead of a framework.

The one caveat this article doesn't mention is worse handling but they replied in the comments about it. And handling matters way more at higher speeds, plus they commented the extra weight matters more for steep climbs too.

You make a good point and I do agree. Also at any bigger company, no one person's experience is completely representative. It depends on the person, manager, team, org, etc. There's no way any one person could know everything about a company.

But my comment wasn't really about cultural or org issues (which can be much more subjective); it was more about specific facts that are binary. I'll read people say something like "x company is rewriting everything in Go because Rails is slow" when it's not true at all.

Over the past year I've slowly started to realize this as well. What changed? Working for a company that is publicly known enough for people on HN (and Reddit) to comment about it. It has been hilarious and scary to read comments from people who don't work at the company say completely inaccurate things like they are facts.

In this case, it's easy for me to recognize they are wrong. But what about other topics (or companies) I don't know much about? I have no easy way of recognizing inaccuracies so I default to mostly accepting them. Sadly, you need to be skeptical of almost everything you read even when the person sounds like they know the subject matter.

Bookmarklets I Use 6 years ago

I was using the "Remote Sticky" bookmarklet in Chrome for 1-2 years now but when I moved to Firefox I switched to an add-on which does it: https://addons.mozilla.org/en-CA/firefox/addon/kill-sticky/

The benefit of using the add-on in Firefox is it a keyboard shortcut (that you can customize). So now instead of having to find+click a bookmarklet, I just hit cmd+shift+k on most sites I visit.

I figured I'd activate it again and test it first... and of course it's way better now! Consistently getting around 40ms now so I'll keep it enabled and try again :)

I really wanted to like and use NextDNS but my latency was ~200ms vs maybe 10-40ms for my ISP resolver. I'm fine with paying a bit of a latency price for the extra features and privacy, but not that much. And I'm located in Toronto, not somewhere remote.

For the people commenting that this wouldn't work over the long run (or the past ~10 years of the bull market), the article says this:

Spitznagel included a chart in his letter showing that a portfolio invested 96.7% in the S&P 500 and 3.3% in Universa’s fund would have been unscathed in March, a month in which the U.S. equity benchmark fell 12.4%. The same portfolio would have produced a compounded return of 11.5% a year since March of 2008 versus 7.9% for the index.

So, yes this shouldn't be 100% of your portfolio (same with any fund), but a similar strategy might be successful in a small % of your portfolio as a hedge.

I'm working remotely for a month right now and needed a monitor there to work. I had two ideas:

1. bring one in a suitcase on my flight

2. just buy one locally once I got there

I decided to just bring my existing 27" monitor and wait until the day of my flight to try and pack it... Of course it was about 2 inches too long for a standard large suitcase.

I quickly found a (physical) store which sold a cheap 23" Dell monitor and bought it. It easily fit into the suitcase and I've been happily using it for 3 weeks now. Only downside was going back to 1080p :(

I don't doubt the 90%. You can tell they don't care really care about desktop so it doesn't have the heart system.

Yeah I'll eventually build my own Anki deck. I'm spending a month in Mexico right now so that's definitely helping too :)

There's a lot of meta discussion about learning languages but I'd like to thank the author for two great tips in particular:

* using the desktop version of Duolingo

* the shared Ankiweb decks for <x> most common words in <x> language

I've been slowly learning Spanish via a few short classes and intermittently using Duolingo on my phone.

I'm not even sure I knew a non-mobile version of Duolingo existed until now and it's so much better. Even though I knew that turning off the work bank was better for learning I didn't do it because typing on my phone sucks.

And I had never used Anki before but earlier today I downloaded it and a top 5000 Spanish word deck and already went through my first lesson.

Even these two small things will help me a lot so thank you.

I don't really know what that $74k average number is based on, but it's nowhere near accurate for the large companies they've mentioned in Toronto (which is what matters since the article is about them).

I work for a tech company in Toronto and no single engineer in the company would make less than that (maybe some recent grads). I also know from my network that Uber, Amazon, Google, etc have been raising the average salary in Toronto.

The new 2019 Mazda3 has inset the screen and pushed it further back so you can't touch it and it's not even a touchscreen. I've been researching the car and it comes up in every review. The reaction seems pretty split on it so far even though everyone knows why Mazda has done it (less distraction, safer). It's a pretty bold move considering most other cars and touch and even going with bigger Tesla-style screens.

https://www.motorauthority.com/news/1121372_why-mazda-is-pur...