Better HN
topnewbestaskshowjobs
Log inSign up

geelen

1,748 karma · joined May 1, 2010 (16y ago) · 67 submissions

Submissions

comment 1y ago · link · parent

Same issue here. Is it geolocked maybe?

comment 4y ago · link · parent

> We are also very excited about D1 as a way to bring a subset of data closer to users in order to deliver faster experiences. We hope this will be a way to bring the benefit of edge computing to larger organisations who cannot simply rearchitect everything to run on Workers.

I am also excited about this :)

comment 4y ago · link · parent

Yeah, so you can always opt-in to strong consistency by transferring execution to the primary (see the "Embedded Compute" section of the blog). Then it's pretty much exactly the same as a DO.

comment 4y ago · link · parent

Yes, which is why Pages has some dedicated logic to help preserve assets that were "seen in the last version now gone". Unfortunately, the "cache everything" setting at the CDN overrides that. We should probably be clearer about that in the docs, and potentially we could autodetect that setting when you register your custom domain, hmmm...

comment 6y ago · link · parent

I have not! It was never such a pressing issue that I investiaged a dedicated solution. But given that we're already using Cloudflare, and that this is a solution to a much bigger problem (global coordination + actual storage), but it works really nicely for our smaller usage, it felt like a nice way to dip a toe into this new model.

comment 6y ago · link · parent

Beta invites are definitely flowing now, but I'd recommend pinging someone on Twitter or elsewhere with a quick description of what you're going to build. I think they had so many signups they're worried about opening the floodgates, but on a case-by-case basis there's plenty of room. Maybe?

7.

Durable Objects in Production(linc.sh ↗)

134 points · by geelen · 6y ago · 56 comments

comment 6y ago · link · parent

This is more a discussion topic, really interested if someone can explain to me how this email looks legitimate (beyond the information in the replies already)

9.

New GitHub phishing attack due to missing DMARC(twitter.com ↗)

26 points · by geelen · 6y ago · 5 comments

10.

Webpack from First Principles(youtube.com ↗)

6 points · by geelen · 10y ago · 1 comment

11.

Making an Interactive Music Video with WebGL(medium.com ↗)

43 points · by geelen · 11y ago · 2 comments

12.

CSS Modules(glenmaddern.com ↗)

281 points · by geelen · 11y ago · 90 comments

comment 11y ago · link · parent

Holy shit that's perfect. Gonna need to do some work to make sure it performs ok as you type, but that's just the sort of thing I was looking for!

comment 11y ago · link · parent

Yep! I really wanted this, but it's a bit more work. HTML5 canvas has a `measureText` method but it only returns width, so there's a few cases where the text will escape the box. The logic is really simple for now, but I'll hope to improve it in future.

Would you mind submitting an issue with a screenshot of your text not rendering correctly? https://github.com/geelen/typeslab/issues

15.

Show HN: TypeSlab – simple, shareable typographic posters(typeslab.com ↗)

138 points · by geelen · 11y ago · 37 comments

16.

JavaScript in 2015(glenmaddern.com ↗)

417 points · by geelen · 11y ago · 125 comments

comment 12y ago · link · parent

Well, the problem with having foo and foo--bar but not both is that contextual overrides become a problem. Having both of them solves that but clutters things up.

This is a technique to better express your styling intent through markup. Instead of <div class="x x-y z"> you have <div x="y" z> - two namespaces instead of one.

comment 12y ago · link · parent

You can definitely do this, though I think "data-am-" is better to avoid conflicts. React ignores unexpected attributes at the moment, but can't forever with Custom Elements (since it can't know what valid attributes for new elements are).

We've got an open discussion on this point, if you want to contribute there: https://github.com/amcss/attribute-module-specification/issu...

19.

AM – Attribute Modules for CSS(glenmaddern.com ↗)

129 points · by geelen · 12y ago · 55 comments

comment 12y ago · link · parent

No good reason. I'm going to experiment with toggling the element's style instead of adding a class. But because of the way GIFs are rendered, that's an O(n) task on every frame (so is the CSS style recalculation, of course, but I think the browser's CSS engine will be faster than my JS).

comment 12y ago · link · parent

Nope, has to be triggered by a user action (like a tap), and can only play full screen. Also, if you loop a video, the control bars flash up then fade away each time it loops.

comment 12y ago · link · parent

Nah man GIFs are my spirit animal

23.

A Polymer element for flexible GIF playback(geelen.github.io ↗)

148 points · by geelen · 12y ago · 77 comments

24.

Metaquery and the end of Media Queries(glenmaddern.com ↗)

16 points · by geelen · 12y ago · discuss

25.

Real-world benchmarks(gist.github.com ↗)

8 points · by geelen · 13y ago · 2 comments

26.

CSS filters, GIFs, and performance(medium.com ↗)

75 points · by geelen · 13y ago · 17 comments

comment 13y ago · link · parent

Wow. Did you guys miss the point or what.

28.

Preflight Nerves - A HTML5 filmclip matching the lyrics with live tweets(tweetflight.wearebrightly.com ↗)

2 points · by geelen · 13y ago · discuss

29.

Webapps for Data Scientists - Building your first CRUD(blog.kaggle.com ↗)

58 points · by geelen · 13y ago · 3 comments

123