Better HN
topnewbestaskshowjobs
Log inSign up

dbushell

1,104 karma · joined Mar 3, 2012 (14y ago) · 76 submissions

https://dbushell.com
Submissions

comment 1y ago · link · parent

Node’s progress to modern stuff like ES modules has been glacial. Probably the primary reason Bun/Deno have any success. It is speeding up though, seems a fire was lit by competition.

comment 1y ago · link · parent

Yes, all of the criticism in my post is entirely invalidated.

No, the Deno runtime gets regular updates. I don’t think you read the article lol.

comment 1y ago · link · parent

Would such versions be much slimmer? Most of the binary is the V8 engine. The compatibility layers are largely thin wrappers around APIs.

Anyway, it does strike me as an odd pursuit regardless. Obviously they're seeing compatibility as opening the door for more potential customers. But as a dev, if I wanted Node compat I'd just use Node.

comment 1y ago · link · parent

Dahl doesn't strike me as a business or product person. He's a genius when left to tinker. I get the impression Deno is floundering because of business/VC pressure. I see the original promise of Deno being compromised in an effort to increase users/customers. The project is no longer focused on just making a good JS runtime.

comment 1y ago · link · parent

The "rug pull" I was referring to is more about the general Deno philosophy. It's gone from being a modern forward-thinking JS runtime, to being just a Node/NPM copycat with its own half-baked packaging system.

In regards to Deno Deploy I agree that scaling down is nicer, but they're extremely hush about it. Using Deploy for anything beyond a hobby project is a business risk.

comment 1y ago · link · parent

I hear that often, unfortunately it's just my name and I have too much equity in the domain!

comment 1y ago · link · parent

My original view on Deno and JSR was positive and optimistic (it's all there on my blog). I've been using it for years and I still use Deno because it has more convenient/ergonomic APIs than Node.

If Deno halving the Deploy regions twice from 35 to 12, and 12 to 6 doesn't convince you then I don't know what will

comment 1y ago · link · parent

The "replacement" is already being penned: https://www.w3.org/TR/privacy-preserving-attribution/

Which is just going to be in additional to 3rd-party cookies. Google's own study concluded removing 3rd-party cookies loses revenue and "privacy-preserving" tracking increases revenue: https://support.google.com/admanager/answer/15189422 So they'll just do both: https://privacysandbox.com/news/privacy-sandbox-next-steps/

comment 1y ago · link · parent

> This API collates information about people from multiple web origins, which could be a significant risk to their privacy. To manage this risk, the information that is gathered is aggregated using an aggregation service that is trusted by the user-agent to perform aggregation within strict limits. Noise is added to the aggregates produced by this service to provide differential privacy. Websites may select an aggregation service from the list of approved aggregation services provided by the user-agent.

Now that Google have back-tracked on removing 3rd-party cookies[1] I can't help but think any attempts to standardise tracking APIs is only going to add more data to the mix. This seems like yet another source to abuse.

[1] https://privacysandbox.com/news/privacy-sandbox-next-steps/

40.

Privacy-Preserving Attribution: Level 1(w3.org ↗)

3 points · by dbushell · 1y ago · 1 comment

comment 1y ago · link · parent

I'm curious if anyone here is hosting any user-facing websites or services on Deno Deploy? Where response times matter. I still have a handful of "if this, then that" type functions I POST to and forget. I tried to host small websites on Deploy but the cold start times and "time to first byte" performance were kinda brutal early on, even for my closest region.

comment 1y ago · link · parent

thanks!

comment 1y ago · link · parent

Indeed. It's the user's browser and experience, it's not up to the website owner. But it's frustrating to get bug reports when a 3rd party extension is the problem, not the website. Many visitors will just bounce blaming the website too.

comment 1y ago · link · parent

yep, it's in Grammarly's interest to namespace or scope their CSS in a way that doesn't conflict. Not doing it adequately goes both ways, website CSS could break their extension, or their extension could break the website.

comment 1y ago · link · parent

If only I could opt-out, disable, or uninstall those used by visitors to my website when the extension breaks it :(

comment 1y ago · link · parent

How do you deal with hostile browser extensions?

47.

Et Tu, Grammarly?(dbushell.com ↗)

279 points · by dbushell · 1y ago · 74 comments

comment 13y ago · link · parent

It sits underneath the first paragraph on smaller screens (I've since added an extra sentence at the beginning.) It was unintentionally confusing in this case.

comment 13y ago · link · parent

yes

comment 13y ago · link · parent

The "Take Action" link opens a modal giving three options:

1. appeal 2. change name

I forget the third... The appeal asks for links to prove your name like other social profiles, plus an option to upload 1 document (e.g. photo ID / passport). After submitting you're told to wait and find out the outcome of the appeal. They also link to the rabbit hole that is Google "help" pages.

51.

What is wrong with this message?(dbushell.com ↗)

91 points · by dbushell · 13y ago · 77 comments

52.

SVG Generation(svgeneration.com ↗)

3 points · by dbushell · 13y ago · discuss

comment 13y ago · link · parent

Thanks, great explanation. I'm finding Ember Data really nice to use from my experience so far. I look forward to seeing an official release and documentation. For the time being the source code is heavily commented if you want to see what can be extended.

comment 13y ago · link · parent

Correct.

55.

Ember Data and MongoDB(dbushell.com ↗)

23 points · by dbushell · 13y ago · 8 comments

comment 13y ago · link · parent

jQuery animate (and any JS animation) iterates over CSS properties by updating an elements style attribute. Updating the DOM at this rate forces repaint/reflows and is rarely going to perform well.

CSS transitions/transforms let the browser render once on separate layers. The animation frames can then be composited faster (and accelerated on the GPU).

Paul Irish has a great demo: http://paulirish.com/2012/why-moving-elements-with-translate...

comment 13y ago · link · parent

jQuery animate is terrible for performance. The demo lags at a few frames per second (and I'm testing on a Nexus 4).

CSS transitions are the method for this. Not without their own caveats, but usable. I've written extensively on the subject with this exact implementation of an off-canvas menu: http://coding.smashingmagazine.com/2013/01/15/off-canvas-nav...

58.

A Primer to Front-end SVG Hacking(dbushell.com ↗)

5 points · by dbushell · 13y ago · discuss

123