HNHacker News
TopNewBestAskShowJobs

greggturkington

469 karma · joined October 10, 2019

submissionscomments
greggturkington··on Browse the web like its 1999
Can you link to this please? Intuitively it seems every Core Web Vital would be improved by less code.

I found this post [1] but it seems a but outdated and references AMP, which Core Web Vital metrics are supposed to replace (right?).

https://danluu.com/web-bloat/

greggturkington··on Truth Social broke software rules, says copyleft group
Only ~60% of eligible US voters voted in 2016 and 2020, Trump lost the popular vote both times, "half of the country" did not vote for him.
greggturkington··on Lots to See in Firefox 93
Not gone, but that's the direction we're heading (hopefully).

> it may currently still be best to use a framework or library to present these, or to use a custom input of your own. Another option is to use separate date and time inputs, each of which is more widely supported than datetime-local

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/in...

greggturkington··on Is Ford about to reinvent the bicycle derailleur?
Fair gripes, although bikes have "dealerships" too that will typically help you select and maintain your steed.

The problem with lighted turn signals is that motorists don't expect them, and don't look for them. Pointing with your hand and head are just more safe and effective.

> how the bike should be totally custom

Ignore them. It should be what suits you, what makes you feel comfortable and safe when you ride.

> Why don't more people bike?

There's also not a lot of infrastructure outside of major cities (in the US). Unsafe for cyclists, annoying (at best) for motorists.

> the entire biking community, culture

Let's not paint too broadly, there are plenty of elitists, but big parts of the cycling community are inclusive; community rides, community maintenance co-ops, things like that.

greggturkington··on Is Ford about to reinvent the bicycle derailleur?
One drawback being how easy today's derailleurs are to adjust and tune with simple tools. Run the cable, set the High, set the Low, and you're done.

> the Ford derailleur appears to be aimed at the e-bike market

...and possibly pros? They mention Di2 in here, I don't know anyone (outside of Freds) that are riding Dura-Ace-level grouppos that actually do their own maintenance, so this probably won't be targeted to enthusiasts.

greggturkington··on Refined Hacker News
Do you understand what a "class" is in HTML? Do you understand that the class "commtext" doesn't appear anywhere in the source code for HN? The comment colors are controlled by classes like "c00" etc. Chrome has a tool called "DevTools" you can use that will show you. Here's the CSS for this site: https://news.ycombinator.com/news.css

Again, you don't understand it, but want to tell everyone else how easy it is...

> not respecting the guidelines is fine for me

in contrast I think everyone should be able to use the web, that it should be accessible. This isn't important to you, but sometimes you have to think about other people with a limited set of abilities in a compassionate way. The GP mentions "bad design" and I mentioned an objective measure: text that can't be read by someone without writing code.

greggturkington··on Refined Hacker News
> The rule is commtext { color: black; }

No it's not, it's more complicated: https://pastebin.com/aMYiGr05 (and there's no "commtext" class). So it's literally harder than you think, and you're presumably a developer. So how about the average user?

> It explains why it still is though.

Um, ok? And the building only has stairs because the architect didn't consider the needs of people that use assistive devices like wheelchairs. What's your point? "Why?" was not in question.

greggturkington··on Refined Hacker News
Yes, a custom CSS theme is easy to make, for web developers. https://pastebin.com/aMYiGr05

It's not for my friend, who's a contractor. He finds working with concrete to be easy though. I don't.

Being inaccessible on purpose doesn't change the fact that it's inaccessible.

greggturkington··on Refined Hacker News
Agreed, it's not accessible; if you write your own accessible theme, it will have an accessible theme.

Your apartment building doesn't have a wheelchair ramp? That's on purpose. If you don't agree with it it's trivial to buy a bag of concrete and build one.

greggturkington··on Refined Hacker News
Reddit had large, high-contrast text and tap targets. Downvoted comments did not have their color contrast reduced. If we're getting specific, HN does not look that similar.
greggturkington··on Refined Hacker News
There's "bad design" (subjective) then there's "fails to meet accessibility standards" (objective). HN would not pass WCAG 2.0 AA for a large number of reasons. Tap targets and illegible text being big ones.

It doesn't matter if you can zoom into text when downvoted comments have so little contrast with the background (#ddd over #f6f6ef). The "X minutes ago", "hide", "edit" comment header links even fail without zooming.

greggturkington··on What if there were no ad blockers?
This is known as "cognitive accessibility" and often neglected. MDN has a good writeup on it and mentions ADHD specifically.

https://developer.mozilla.org/en-US/docs/Web/Accessibility/C...

greggturkington··on Windows 11: Just say no
To be fair it was partially related to a bug in Chromium, and was fixed in 2017

https://github.com/Microsoft/vscode/issues/22900

greggturkington··on A search engine that favors text-heavy sites and punishes modern web design
I'm searching for information on "dog".

Your suggestion of "dog facts" returns 6 pages from the same domain, dogquotes.com. It's unreadable on mobile because it's so old, all the facts are unsourced, and often wrong:

> Never assume that a barking dog won't bute [sic], unless you're absolutely certain the dog believes it too.

Also on the 1st SERP, this odd blog post ranting about 4th amendment rights [1], "Media Glamorization of the Psychopath" [2], and this (image-heavy) page about dolphin encounters in the Bahamas ("Sea Dog Facts" is a link on the page).

    1. http://www.rexcurry.net/drugdogsdan.html
    2. https://www.metaphoricalplatypus.com/articles/psychology/psychopathysociopathy/media-glamorization-of-the-psychopath/
    3. https://www.dolphinencounters.com/education/
greggturkington··on A search engine that favors text-heavy sites and punishes modern web design
What "fundamental redeeming quality" about uninstalling AIM from Windows 3.x motivated making that the 3rd result for "dog"?

The 5th result is a tutorial on CSS. This search engine decided it's relevant because it has "dog" in the URL. Is that a better reasoning than Google's? https://htmldog.com/guides/css/beginner/

Core Web Vitals ranks sites higher that perform well. Text-heavy sites that are also optimized and relevant would already perform well.

greggturkington··on A search engine that favors text-heavy sites and punishes modern web design
Wouldn't this just skew towards really old sites?

The third search result for "dog" is this page on how to remove AOL Instant Messenger, published in 2002.

https://sillydog.org/netscape/kb/removeaim.html

No one wants to see newsletter signup popovers, but "modern web design" includes good performance and relevant content. (The search engine itself takes about 2 seconds to first contentful paint, not great.)

greggturkington··on Show HN: Imba – I have spent 7 years creating a programming language for the web
I write CSS everyday and I had no idea what "fs" meant.

"fz" is the typical shorthand used for font-size (at least by Emmet-style autocompleters). "fs" is used for font-style instead.

greggturkington··on Apple iPhone charger teardown: quality in a tiny expensive package (2012)
Can you believe a new iPhone 5 only included a 5W USB-A power adapter?!

Compare that with an iPhone 10 5 years later, which came with a beefy 5W USB-A power adapter.

greggturkington··on Do we need a Scrum Master forever?
And they may be unreliable due to cherry-picked or otherwise non-representative samples of typical cases.

This being a perfect example. Jedberg never heard of Spotify using Scrum "for 10 years" but they'd been using it the whole time, as confirmed by jedberg.

greggturkington··on Do we need a Scrum Master forever?
> Spotify uses agile and some of the teams use Scrum

Wait, that contradicts what you just said. Your friend that works there hasn't mentioned Scrum in 10 years!

Thanks for confirming that there are teams at Apple using Scrum, like I said. Dev teams at Apple are pretty insular, I'm surprised your friend knows about what every team is doing! Hopefully we can trust them more than your friend who was wrong about Spotify.

greggturkington··on Do we need a Scrum Master forever?
And here's a version that's 8 years more recent [1]

> The foundation of the model is the squad and it acts like a Scrum team.

The Spotify model resembles Scrum@Scale which is why I mentioned it. Scrum is a development methodology.

1. https://www.pmtoday.co.uk/spotify-scaling-agile-model/

greggturkington··on Do we need a Scrum Master forever?
Nope, talking about Scrum
greggturkington··on Do we need a Scrum Master forever?
Oh, so you're going based on a few anecdotes. Well, not even anecdotes, just a lack of mentions.

Its easy to find official blog posts of these companies and other major enterprises describing how they use Scrum, that are much more recent than 10 years ago.

I'm shocked you've never heard of the "Spotify Model" which has been compared to Scrum@Scale. Ask your friend!

greggturkington··on Do we need a Scrum Master forever?
Facebook, Apple, Google, Yahoo, Spotify, many major enterprises, presumably many readers of this article.

Why do you think it was a fad that died out 10 years ago?

greggturkington··on NSA Mobile Device Best Practices
A defendant was compelled to use their face to unlock their computer in a recent case (2021) [1]. The reasoning given by an analyst:

> requiring a defendant to expose his face to unlock a computer can be lawful, and is not far removed from other procedures that are now routinely approved by courts, with proper justification: standing in a lineup, submitting a handwriting or voice exemplar, or submitting a blood or DNA sample

Contrasting the logic used by a judge in a similar case in (2019) [2]:

> If a person cannot be compelled to provide a passcode because it is a testimonial communication, a person cannot be compelled to provide one’s finger, thumb, iris, face, or other biometric feature to unlock that same device

Ars has a summary of more cases [3]. It looks like in several instances state courts allowed the devices to be unlocked using biometrics, but the rulings were reversed at the federal level. In many cases a warrant was required.

1. https://archive.is/i2Bx9

2. https://archive.is/px2Qz

3. https://arstechnica.com/tech-policy/2020/06/indiana-supreme-...

greggturkington··on Filtering out newsletter signup forms embedded in web articles
I keep a long list of these I can contribute. The authors need to take more advantage of fuzzy attribute matching. Really go after those patterns you see frequently from Mailchimp and other major newsletter vendors first!

    [class*="mc_embed_signup"]
    [id*="mc_embed_signup"]
    [class*="FreeNewsletter" i]
    [class*="inline-newsletter"]
    [class*="newsletter-article"]
    [class*="newsletter-form"]
    [class*="newsletter-signup"]
    [class*="newsletter-tout"]
    [class*="newsletter-widget"]
    [class*="NewsletterCard" i]
    [class*="NewsletterSignup" i]
    [class*="newssignup"]
    [id*="SignupForm" i]
    [id*="signupWrapper" i]
CSS isn't so simple anymore though, with CSS-in-JS we're moving away from deterministic class name. We can still target other attributes with CSS though, which I don't see used in these lists nearly enough, for example data attributes:

    [data-title*="Mailchimp"]
greggturkington··on Learn CSS
The vw introduces the accessibility bug. Your can add whatever other units to it you like, the issues remain.
greggturkington··on Learn CSS
Never use viewport-relative units (like vw) for text sizing, it is not a best practice for accessibility (part of the reason it's not in the examples here).

Modern browsers handle zoom just fine, regardless of units. We use rem in case a user has set their own preferred base text size (the same reason we don't use viewport-relative units).

greggturkington··on Tesla Makes More Money Trading Bitcoin Than Selling Cars
Shame they didn't research that before they bought $1.5 billion in BTC.

Presumably they're donating all their profits from their BTC purchase to carbon offsets? Otherwise it's all worthless posturing.

greggturkington··on Vue 3 drops IE11 support plan
Is anyone working on enterprise-level apps that see a significant number of conversions from IE11 right now?

I'm surprised to learn a framework the size of Vue was still supporting it until now.

Page 1 of 5Next →