HNHacker News
TopNewBestAskShowJobs

dmitriid

7,372 karma · joined February 19, 2008

submissionscomments
dmitriid··on Konsta UI – Mobile UI Components Built with TailwindCSS
> So, the same as Tailwind then?

Worse.

With Tailwind you have a consistent set of classes scoped usually per component. Thos p-x, m-x, and others don't change from component to component or from project to project.

Hell if I know what `.chip-text__content` is, how it's different from `.icon-button__content`, why it interferes with my CSS, and what other 15 CSS classes I need on top of that to make it work.

dmitriid··on Konsta UI – Mobile UI Components Built with TailwindCSS
> Then just use CSS at that point, since the classes literally just map onto CSS properties anyway

CSS is definitely a write-only language. I've yet to see anyone understand CSS in a large system and refactor it. You end up with dozens and hundreds one-off classes and overrides everywhere.

dmitriid··on Safari 16.4 is an admission
> It was running Android 2.3.3, but could be upgraded to Android 4.1.2.

> The latest Firefox version to support this version of Android, Firefox 68.11.0, was released July 27, 2020, 9 years later.

Android 4.1.2 was released in 2012, a year later.

The latest version of iOS for iPad 2 was 9.3.6 released in 2019, 8 years later.

Apple's support for its mobile and portable hardware far exceeds any other manufacturer.

And though I agree that it's a sad state if affairs, but very very very few people will have the knowledge and the skills to install unofficial unsupported versions of whatever on their phones and tablets.

dmitriid··on Konsta UI – Mobile UI Components Built with TailwindCSS
> Why not just use Web Components as the core?

Because web components suck and are an overkill for what should really be the job of Scoped CSS (now indefinitely delayed because of web components)?

dmitriid··on DOJ Preps Antitrust Suit to Block Adobe’s $20B Figma Deal
Home electronics shop in Sweden https://www.elon.se/vitvaror

Since 1967

dmitriid··on Implant lets those with severe paralysis send texts with just their minds
So, how long before the company goes out of business and leaves patients stranded?

See what happened to ocular implants from Second Sight https://www.bbc.com/news/technology-60416058

dmitriid··on Safari 16.4 is an admission
> Of course there aren’t.

Indeed

> we would have to build it as a PWA for Android and native for iOS. We’ve consistently chosen not to do that.

Translation: PWAs and their purported advantages are a myth

> But, with these recent Safari changes, it might be enough for us to finally consider building PWAs.

And they will invariably suck.

Edit: It looks like the only "argument" for PWAs is "but on iOS the people have more money". (They also use much more powerful devices than most Androids out there). So the "argument" for PWAs is "we can't even pretend to care about 70% of the addressable market, and even with the purported advantages we can't even begin to think of building these amazing PWAs that would open the doors to people on non-expensive devices etc. because those people have no money and those people dont have powerful phones"

dmitriid··on Safari 16.4 is an admission
> I think I and every other developer has been saying this for many years.

Nope. Most developers haven't been saying this. Also, it's bullshit.

I keep saying this: Android is 70% of world's market share. It has none of the "holding back the web" fully enjoying the Chrome monopoly with all its Chrome-only non-standards.

And yet there are literally zero "amazing paradigm shifting world shattering on par with native" PWAs that we hear that Apple is holding back.

dmitriid··on Safari 16.4 is an admission
> Out of Edge/Firefox/Chrome/Safari, Safari is the furthest behind in functionality

Of course it hasn't. Because in your mind "functionality" is "whatever Chrome ships".

And if you pretend that Edge is a separate browser, then Chrome on iOS is a separate browser.

> If a website does break, you'd blame the website even if Safari was at fault.

There are about zero websites that a user visits daily that break in Safari.

Of those that do break yet another near zero are those that break more than some visual glitch.

And of those that have significant functionality broken ... about 99% of those on a yet another Chrome-only non-standard.

> It's also hard for any end-user to see the absence of functionality, or a useful application that never got built because it was too difficult or didn't have the underlying functionality required.

This bullshit argument has a very good counter-argument that trumps everything you pretend is true: https://news.ycombinator.com/item?id=34907860

> At the end of the day this all ends up harming the user.

At the end of the day what you think harms the user has about zero relevance. Because people bemoaning Safari's perceived deficiencies rarely know what actual real breathing users want: https://news.ycombinator.com/item?id=34517503 (and of course browser vendors have no intention of giving us that)

dmitriid··on Safari 16.4 is an admission
> How would explain the enormous numbers of serious bugs, or the fact the Safari had slipped well behind Firefox

Of course it hasn't slipped

> A browser full of bugs does not lead to a good user experience and the expense it imposes on developers is enormous.

I'm one such user. I've been using Safari as my daily broswer on desktop since at least 2011, and I'm an iPhone user.

I've yet to encounter these bugs that lead to bad user experience. And no "only works in Chrome" is not a bug.

dmitriid··on Safari 16.4 is an admission
iPad 2 is from 2011.

Please show me a single device from 2011 that "other vendors" aka Google or even Mozilla support [1].

Not saying it's a good thing, but spite and hatred shouldn't replace facts.

[1] Probably apart from desktop. And even there: windows 8 was released in 2012. Chrome droped support for it in 2022, Mozilla will drop support for it this year.

dmitriid··on Safari 16.4 is an admission
> Given the context of his years of butting heads with Apple, I can understand his frustration.

I can't.

He has an intense irrational hatred towards Apple. But during all the years of him working at Google he never ever accepted any criticism towards Chrome and Google. The moment he went to work for Edge, he wrote a piece that leveled some criticism at Chrome but then kept on bashing Apple, and only Apple.

Imagine writing "Apple gutted Mozilla's chances" (https://infrequently.org/2022/06/apple-is-not-defending-brow... when it's well known that Google was first and foremost who gutted them (https://threadreaderapp.com/thread/1116871231792455686.html)

And so on and so forth.

He's vitriolic and spiteful, but sadly well-known and moderately influential.

dmitriid··on Safari 16.4 is an admission
> But PWA-specific features weren't high on the list

You see, the goalposts on what "PWA-specific features" are are moved all the time. Because everyone selects their own set of features to wave about as "the one true support for PWAs".

Meanwhile Android has 70% of marketshare in the world, and none of the imagined PWA restrictions. And we've yet to see a single amazing PWA there that Apple is purportedly stopping from happening on iOS.

dmitriid··on Konstantin Tsiolkovsky
They weren't afraid to dream on a grand scale.
dmitriid··on Konstantin Tsiolkovsky
> - a set of a AGIs that are more or less benevolent

I remember one of the AGIs in the books decided to transcend, asked his humans, took the time to drop off humans who didn't want to at another habitat, and only then transcended.

Somehow this alone struck me as "huh, they really are benevolent"

dmitriid··on Apple orders entire supply of TSMC's 3nm chips for iPhone 15 Pro and M3 Macs
Because those customers rarely have anywhere to go. because those customers would dump TSMC the instant there would be a better proposition?

Apple is the customer you want to maintain goodwill with.

Hell, there were times when Samsung was experiencing issues with sourcing their own chips for their own phones because they sold everything to Apple.

dmitriid··on Apple orders entire supply of TSMC's 3nm chips for iPhone 15 Pro and M3 Macs
I'd put heavy quotes around "failed".

There was a general slump in the smartphone market, and Appel was the only one increasing their sales in some months.

dmitriid··on Let's build a Chrome extension that steals as much data as possible
Unfortunately I cannot find the exact article describing this now.

There were a few over the years. If I can find one, I will update you with the link.

Meanwhile Google has settled for $85 million in this case https://eu.usatoday.com/story/money/2022/10/05/google-arizon... A whooping 0.6% of their profir for 2022

dmitriid··on Let's build a Chrome extension that steals as much data as possible
https://www.theverge.com/2020/8/26/21403202/google-engineers...

Edit: a better article https://www.businessinsider.com/unredacted-google-lawsuit-do...

Short quote:

--- start quote ---

Jack Menzel, a former vice president overseeing Google Maps, admitted during a deposition that the only way Google wouldn't be able to figure out a user's home and work locations is if that person intentionally threw Google off the trail by setting their home and work addresses as some other random locations.

Jen Chai, a Google senior product manager in charge of location services, didn't know how the company's complex web of privacy settings interacted with each other, according to the documents.

--- end quote ---

dmitriid··on Let's build a Chrome extension that steals as much data as possible
GDPR does not mandate the popup (which in most cases is even illegal under GDPR).
dmitriid··on Let's build a Chrome extension that steals as much data as possible
> No other company I can think of has invested in such a rigorous Privacy review and support structure in an attempt to reduce risk.

In recent court cases Google employees admitted they have no idea where user data is stored (specifically location data), which systems have access to it, and how to fully turn tracking off.

80-90% of Google's revenue comes from online ads. There's a huge conflict of interest between Google's business model and whatever "arbiters" pretend they want to block.

And of course the number of privacy things that Google pioneered is minuscule to non-existent. Google has been dragged into caring about privacy against its will, kicking and screaming, by government actions like GDPR and CCPA.

Facebook poaches Google's privacy people because Facebook is the only one of mega corps who are worse than Google, and wants to continue its practices as much as Google.

dmitriid··on Launch HN: Moonrepo (YC W23) – Open-source build system
> The second reason is we wanted something language agnostic and not proprietary.

You will end up developing your own yaml-based DSL that is incompatible with everything else, has weird limitations and poorly documented constraints... just like any other YAML-based system.

And by the time you'll have written a 1000-line YAML (where half of the file is nothing more than awkwardly quoted and escaped bash scripts) and realise that YAML cannot be split into reusable files, it will already be too late.

Oh. I just saw that you already use a custom non-standard extension of YAML with `extends` so there you are

dmitriid··on Microsoft is now injecting full-size ads on Chrome website
> In fairness, they only show the message on their website,

And all of their apps which conveniently "firget" user selection: https://twitter.com/dmitriid/status/1625756307297914883

dmitriid··on Why do modern pop songs have so many credited writers?
> it doesn't make sense to me that people get to live off the work done once, then repeated

> whomever owns the NFT receives auto-blockchain royalty payments for the underlying asset

It doesn't make sense for someone to do work once, then get money all the time that's why you want to automate the process of doing the work once and then getting the money all the time in perpetuity

dmitriid··on Babel is used by millions, so why are we running out of money? (2021)
> Not really. Said companies could just refuse to support them and only develop for Apple TV, Firestick and Chromecast.

See, your attitude screams "I'm rich, I'm young, I can afford to upgrade to latest technology whenever".

I mean why should companies support anything older than 3 years? Right? Right?

> No, but you implied that the reason why people couldn't access them was monetary. If people aren't on benefits, then presumably they have enough money to purchase a second hand iPhone or Android that can run chrome for less than £100.

You assume too much.

> Yes, if it is economically cheaper to do.

Again. Not everything is, or should be, driven by profit.

> Are they all still running Windows XP?

You'd do well to learn how long Windows XP was supported, and why (hint: released in 2001, supported until 2015, absolutely final end of support was in 2019).

> The basic truth is that it is simply uneconomical to support everything.

The basic truth is that:

- no one is talking about supporting everything

- depending on where you work and product you build, you may need to support obsolete and outdated devices for numerous reasons: from goodwill, to secondary and primary market needs, to the sheer fact that manufacturers abandon their devices just a few years after release while millions of people still use them.

Oh. And those "cheap Android phones" you're talking about? Pray that they don't run something like UC browser, the one of the most popular browsers in Southeast Asia, which is likely to be several years out of date and with weird support for anything.

And those TVs that companies souldn't support? 30% of TVs sold worldwide in 2017 were Samsung TVs. That's 30 million units.

dmitriid··on Babel is used by millions, so why are we running out of money? (2021)
"I'm young and rich, and I can't understand why the rest of the world caters to other people than me" is a position, for sure.

No matter how amazingly technologically savvy you are, if your smart TV is more than just three years old, it's already running a deprecated browser that in all likelihood never be updated. And nearly all apps on modern smart TVs run in the browser, so yes, companies will have to support that (if their apps run on those TVs. Think Netflix, Spotify, even probably Apple's integration with Samsung).

As for governments, you assume that it's only "people on benefits" that use outdated or deprecated technology. And you assume that governments will run through acquiring and updating millions of iPads once every few years. Because iPads and browsers on those iPads also get deprecated (a 7 year old iPad Pro while fully functional is no longer supported).

dmitriid··on Poor schemas, poor cataloguing: why music tagging sucks
Disclaimer: I work at Spotify, but not at music ingestion and classification.

I can give you a very high level overview of why it's the case.

Simply put, they are different songs, and it's near impossible to recognize that they are the same song (at least not efficeintly across the entire catalog) due to a combination of any, or even all, of these factors:

- they are on different albums. The albums might not be attributed to the artist. Or be a compilation, and attributed to many other artists

- they may come from different sources and copyright holders

- the metadata may be wrong, or just different (metadata is supplied by copyright holders, and it's often ... weird)

- they may very well be considered different songs by most catalogs (a Japanese bootleg version that is 3 seconds longer is different from the European Best Of release etc.)

- everything is the same except some of the people on the record (e.g. arranged by a different person, so attribution and royalties come into play)

- ids, hashes, lengths, musical structure, or whatever internal systems use to identify, match, combine, and display music may all be different, or different enough to be classified as different songs

- there might be not enough music classified in the genres you listen to to present you with a large enhanced playlist. This is an issue for most non-western music because western music is largely understood, catalogued and matched for most of mmore-or-less popular genres. And even there it probably mostly applies to US nad British music. You're looking for African jazz? Good luck. Internally it's likely just one big lump of music dumped by music providers.

dmitriid··on Poor schemas, poor cataloguing: why music tagging sucks
Because music is as messy as humans, and whatever we catalogue is arbitrary at best.

See Every Noise: https://everynoise.com/

Is modern chamber music different from modern classical, and why? How different are Polish free jass and free imporvisation? Canadian black metal and Norwegian black metal and Dutch black metal?

To some, there's no difference. To others, there's a world of difference.

Here's more on the difficulties: https://everynoise.com/EverynoiseIntro.pdf

dmitriid··on Babel is used by millions, so why are we running out of money? (2021)
As others have pointed out, IE is a poster child. There are many, many outdated browser versions and devices beside IE.

If you have 200 million users, 0.25% is 500 000 people. You may think it's not much, but most cities on Earth have fewer people than that. And it's 0.25% IE, and 0.25% QQ, and 0.25% that Samsung browser from 2014, and... And suddenly you have 5 million people using outdated browsers.

And when it comes to government agencies, "afford" does not mean "profit" because you can't measure everything in terms of profit. And no, not every "boomer" has the money to upgrade their 2012 Android phone bought for them by their kids. And not every millenial sports the latest iPhone. Etc.

--- start quote ---

In the middle, a young woman sits on a hard plastic chair. She is surrounded by canvas-bags containing her worldly possessions. She doesn't look like she is in a great emotional place right now. Clutched in her hands is a games console - a PlayStation Portable...

Walking behind her, I glance at her console and recognise the screen she's on. She's connected to the complementary WiFi and is browsing the GOV.UK pages on Housing Benefit.

https://shkspr.mobi/blog/2021/01/the-unreasonable-effectiven...

--- end quote ---

There's a reason ADA exists: it's because people only view everything through the lenses of "how much profit do I get from these people even if I am government"

dmitriid··on Babel is used by millions, so why are we running out of money? (2021)
> The free market enables the collective desires of humanity to determine how to allocate scarce resources.

No. No it doesn't. Free market gives rise to companies Nestle who monopolise access to clean water and sell it at profit, all future be damned.

> Luckily history provides numerous examples of the flaws of such things, if you are willing to study and understand the consequences.

Indeed. History has also shown that unrestrained free market is the worst system there is, and has shown it again, and again, and again.

← PreviousPage 3 of 34Next →