dmethvin

Joined 16 years ago

Karma
2,736
Submissions
468
Member since
Feb 19
[ my public key: https://keybase.io/dmethvin; my proof: https://keybase.io/dmethvin/sigs/pw6fnhJ4hnh71_6xDqUydXLPbPVOD8MoH-V4VZqGJaY ]
View on Hacker News

Recent submissions

Comment · 3 years ago
Comment · 5 years ago
Okay, I'll take a little time to brag. The word count challenge here got my interest at the time, so I whipped up an assembly language version of it and iterated several times, trying to figure out the value of switching different registers. In the end, I took second place:

https://github.com/jagregory/abrash-black-book/blob/4028269f...

However, there's an interesting story behind this story. David Stafford, who came in first, posted that he thought he had the fastest solution and bet $100 that nobody could beat it. I posted my code which was significantly faster, and David tweaked it further to eventually win the challenge. Like a true person of honor, he did pay the $100 and I cashed his check.

Comment · 6 years ago
> If CSS was designed the way it is just to satisfy the constraints of 1996, then maybe that gives us permission 20 years later to do things a little differently.

Yeah, just like we can choose which side of the road to drive on or pick any arbitrary character encoding for an 8-bit byte.

Comment · 7 years ago
This has a lot of really serious implications. I built a form for a charity that allowed users to buy a subscription but include an additional donation amount. Chrome was sometimes filling that field with the two-digit year. The charity got a lot of complaints and it ruined the trust relationship with the donors who didn't understand what was happening and thought it was intentional.
Comment · 7 years ago
AMP is just a set of conventions and limitations that, when followed, make for a fast site. Anyone can make a fast site if they follow similar rules. Most sites don't do that because either the developers want to use something that's "nicer" to code but a lot bigger, or because the marketing department insists on loading 12 different tracking and analytics progams--when they probably only use one or two.
Comment · 7 years ago
Yes, things are changing rapidly everywhere on the stack, but it seems that with front-end dev the same two things are left behind with each generation: performance and accessibility.

Each time we get close to making performant and accessible web sites easy for mortals to develop, some major disruption in the force occurs and well-crafted solutions no longer work in the new environment. So people reinvent them, poorly, and it takes another four or five years before things catch up.

I think many designers and developers prioritize their own needs or preferences and fail to advocate for what users really want. No user wants a web site or app to take 10 seconds to load on their phone, yet most do. Users don't care if your app is written in React, Angular, or served from a WordPress site. They just want to be able to use it.

Comment · 7 years ago
I wasn't able to find any working examples from the homepage, even with the updated link. Can you link directly to a demo page or two that uses the library, rather than a Github repo with code that uses the library?
Comment · 8 years ago
I don't think they want control over the browser market, just the browser users on Windows. People are less likely to ditch Edge if it is more compatible with the way Chrome and Safari work (including the ability to run Chrome extensions). That means they have more visibility and control over those users.
Comment · 8 years ago
It's important to express the underlying reasoning for the policy: things with similar size and speed can be together, dissimilar things should be separated. Cars and bikes/scooters are not the same, and streets need to separate them via dedicated lanes. If not, those users are going to choose sidewalks as the lesser of two dangers.
Comment · 8 years ago
Comment · 8 years ago
Quite often you have to manually do the task at least once to determine how to automate it. That tells you your upper bound on how much time can be saved.

If for example it only took 15 minutes of manual work it's highly unlikely that the payback of automation would occur any time soon. That's especially true because the 2nd or 3rd time there may be different special cases and you'd have to go back and change your automation.

Comment · 8 years ago
Comment · 8 years ago
I completely agree that you can do a lot with jQuery or even plain DOM and JS. It's often the right way to go when there's already back-end structure like Wordpress, Drupal, or ASP.NET and you just need simple things like form validation.

The benefit that frameworks offer is exactly that structure that jQuery doesn't provide (and was never designed to provide). A long-lived SPA needs good structure. If you aren't good at understanding how to create it yourself a framework can save a LOT of work.

Comment · 9 years ago
Here's the 990: http://990s.foundationcenter.org/990_pdf_archive/463/4634857...

See the bottom of PDF page 8 under Independent Contractors and the bottom of page 27. Note that p27 is NOT saying that all that money went to John Steele, just that he is an interested person in the transaction.

It looks to me like "Nautilus Ventures" is a for-profit that actually publishes and the non-profit pays that entity. All the operating expenses are there so the 990 doesn't really tell you what they spent.

Comment · 9 years ago
That would cost Apple a lot if those people had Apple Care. Better for Apple if the minority people who perceive a problem come in and ask for a replacement/

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton