@gundersen@mastodon.social avatar

gundersen

@gundersen@mastodon.social

Frontend and backend developer in Oslo, consulting for Clave, sailing, dancing and tinkering during my free time. Father of twins 👶👶

This profile is from a federated server and may be incomplete. Browse more on the original instance.

zachleat, to random
@zachleat@zachleat.com avatar

I too would like to announce that I am not on the bluesky board of directors

gundersen,
@gundersen@mastodon.social avatar

@fox @zachleat by method of elimination, that means I...

gundersen, to firefox
@gundersen@mastodon.social avatar
ahl, to random
@ahl@mastodon.social avatar

What an Oxide and Friends last night! @bcantrill and I were joined by the one and only @AndresFreundTec to talk about his discovery of the xz backdoor. It’s an incredible story… so great to get into the details with Andres. Definitely check it out (or on the pod tomorrow).

https://youtu.be/jg5F9UupL6I

gundersen,
@gundersen@mastodon.social avatar

@ahl xkcd needs to update the comic to be interactive using a js physics demo: click any dependency and it dissappears.

Edent, to android
@Edent@mastodon.social avatar

I can't stand the trend for icons to be constrained in little white circles. And all the designs are so flat and boring. They become indistinguishable.

I can highly recommend this app - Iconeration.
https://codeberg.org/kaanelloed/Iconeration

It allows you to load any graphic as an icon. So all the apps on my phone now have larger, more colourful, and non-geometric icons.

gundersen,
@gundersen@mastodon.social avatar

@Edent at least you have circles, on Samsung phones we have squircle icons!

ernie, to random
@ernie@writing.exchange avatar

The red circle-slash is one of our most pervasive symbols. It’s everywhere. Yet we struggle to explain it.

Today’s @tedium ponders this icon of prohibition.

https://tedium.co/2024/03/09/red-circle-slash-no-symbol-history/

gundersen,
@gundersen@mastodon.social avatar

@ernie @tedium as a European I find it strange to refer to the no-parking sign as the Ghostbusters symbol, it would be like referring to dinosaurs as the Jurassic Park animals.

schizanon, to webdev
@schizanon@mas.to avatar

Every decade or so I rediscover this feature of HTML and think it's weird how no one uses it. What a weird API, it only works when the <img> is a decendant of an <a> tag, because it's combining the hyperlink of the <a> with click positioning on the <img>.

image/png

gundersen,
@gundersen@mastodon.social avatar

@schizanon and it's still supported in all browsers? I want to use this for something now, even knowing that it's not at all accessible

Edent, to random
@Edent@mastodon.social avatar

Can I own my identity on the Internet?

It's good that Signal is (slowly) moving away from phone numbers as an identifier. But even things like email addresses and domain names rely on the whims of 3rd parties.

Is there a way to have a stable, self-owned identifier, which doesn't rely on fragile and complex cryptography?

https://shkspr.mobi/blog/2017/02/can-i-own-my-identity-on-the-internet/

gundersen,
@gundersen@mastodon.social avatar

@Edent I find this a fascinating problem. It might be useful for a few people to own their identity, but I suspect the majority of users don't want to. People forget their passwords and misplace their keys all the time. If they are the sole owners of their identity, then that identity would be lost forever. If you lock yourself out of your home you can always call a locksmith or break a window. If you lose a private key nobody can help you.

zachleat, to random
@zachleat@zachleat.com avatar

did I win

is this winning

gundersen,
@gundersen@mastodon.social avatar

@zachleat I am looking at exactly the same metric today, after a switchover yesterday. I wish it could tell me the ratio of function to static hits though.

tomw, to random
@tomw@mastodon.social avatar

It bugs me that to get a hairline border in you have to specify it as 0.5px

(Maybe there's some other unit you can use? Not sure)

gundersen,
@gundersen@mastodon.social avatar

@tomw I have to test tomorrow, but I seem to remember fractional pixel borders rendering weird on high dpi screens. I run my 4k laptop monitor at 75%, and it produces the weirdest glitches on some sites

jaffathecake, to random
@jaffathecake@mastodon.social avatar

This always catches me out:

When specifying grid-template sizes, if values aren't wrapped in minmax(), then they're implicitly minmax(auto, value).

So 1fr is implicitly minmax(auto, 1fr).

If you actually want 1fr, you need to use minmax(0, 1fr).

https://codepen.io/jaffathecake/pen/BabrWqa

gundersen,
@gundersen@mastodon.social avatar

@jaffathecake I've stumbled across this and found it really strange too. Why doesn't mimmax(auto, 1fr) limit it to max(1fr), isn't that the point of mimmax??? MDN has the answer, of course: "If max < min, then max is ignored and minmax(min,max) is treated as min". What?!?!

https://developer.mozilla.org/en-US/docs/Web/CSS/minmax#syntax

jaffathecake, to random
@jaffathecake@mastodon.social avatar

Yay! React 19 will have custom element support! https://github.com/facebook/react/issues/11347#issuecomment-1899140345

gundersen,
@gundersen@mastodon.social avatar

@jaffathecake feels a little late? At this point I prefer preact over react

nixCraft, to random
@nixCraft@mastodon.social avatar

A strong password 😂

gundersen,
@gundersen@mastodon.social avatar

@nixCraft "we don't store you password in plain text, we store it in text/xml!"

jaffathecake, to random
@jaffathecake@mastodon.social avatar

The BBC news theme is 24 years old and still an absolute banger https://youtu.be/xxqTXlMVizg?si=IRnu1CQKKbM__Fr7

gundersen,
@gundersen@mastodon.social avatar

@jaffathecake like Bill Bailey said, it sounds like an apocalyptic rave. The BBC theme must be the only news jingle with remixes

https://youtu.be/vc9xLvrV_Zw?si=VCAUkrlyW434KnWq

gundersen, to random
@gundersen@mastodon.social avatar
rem, to random
@rem@front-end.social avatar

Am I forgetting something here. I thought the referrer header (actually "referer") sent the whole URL.

But I'm testing in both Firefox and Chrome and it's only sending the origin.

Was I wrong? Or did the specs change?

gundersen,
@gundersen@mastodon.social avatar

@rem I think browsers recently decided to only send origin for cross-origin requests, as a security precaution. So you will get the full url when navigating between pages on the same domain, but not when following an external link.

gundersen, to Oslo
@gundersen@mastodon.social avatar

Er det første april i dag???

image/jpeg

forteller, (edited ) to norge Norwegian
@forteller@tutoteket.no avatar

Dette er din årlige påminner om at det ikke går an å satse på bilen i Norge. Vi har nemlig snø her flere måneder hvert eneste år, og da går det ikke an å kjøre bil!

Og vi kan ikke legge opp samfunnet vårt til at folk skal være avhengige av å gjøre noe de ikke kan gjøre nesten halve året!

gundersen,
@gundersen@mastodon.social avatar

@forteller jeg sykla til jobb i dag, antok det kom til å gå fortere enn å ta bussen. På vei hjem holdt jeg en snittfart på 10km/h på ubrøyta sykkelvei forbi Helsfyr, og da syklet jeg likevel fortere enn bilene på E6 🤣

forteller, to Oslo Norwegian
@forteller@tutoteket.no avatar
gundersen,
@gundersen@mastodon.social avatar

@forteller jeg tror det er Bjølsen?

mattwilcox, to random
@mattwilcox@mstdn.social avatar

Do you think we could get more developers interested in if we framed it as a "style config file"?

Think of it like YAML with an enhanced syntax. To target specific blocks of your code, just give those code blocks a name, then use that name in the CSS config file. You can re-use the same config block on multiple mark-up elements, and config blocks can be any size or complexity you like. It's excellent for DRY principles because of this, along with "style inheritance"

gundersen,
@gundersen@mastodon.social avatar

@mattwilcox now I want to invent yss, which is css formatted as a yaml file, just to see how horrible and painful it would be.

surma, (edited ) to random

Let's say someone sets an alarm for 2.30am on the night daylight savings kicks in (i.e. in America, the clock jumps from 2am to 3am).

When should the alarm go off? Why?

(I also only learned today that the switch to and from DST happens in the same moment across all timezones in Europe. Meanwhile, in the USA, each state does it the same time, in their local timezone.)

gundersen,
@gundersen@mastodon.social avatar

@surma I love the thought of a wave of time traveling across the US during spring and fall. For an hour two timezones will be at the same time, the the wave propagates and the next two timezones are at the same time.

zachleat, to random
@zachleat@zachleat.com avatar

Watching https://github.com/nodejs/TSC/issues/1445, looks like CommonJS packages in Node.js will need to add a "type": "commonjs" to their package.json to have compatibility with this flag (and possible future compatibility if/when Node swaps to ESM by default without the flag).

via @mcollina

gundersen,
@gundersen@mastodon.social avatar

@zachleat @mcollina so this does not affect files inside node_modules, so it won't break every npm package everywhere?

kaiserkiwi, to webdev
@kaiserkiwi@corteximplant.com avatar

Every time I want to implement a share icon I struggle with the decision if I should use something that's closer to Android or somethings that's closer to iOS/macOS.

I like the iOS/macOS version a bit more, but the Android version makes more sense I guess? But if you open the page/PWA on iOS it may seem out of place. 🤔

It's quite annoying that pretty much everything has a standard icon everyone understands but sharing has about 20 different icons.

gundersen,
@gundersen@mastodon.social avatar

@kaiserkiwi as a daily android user I really mislike the share icon, it is too abstract. The weird thing is that it's not a new complaint, I found this article when looking for my favorite share icon, which I won't spoil, as it's at the end of the article

https://www.fastcompany.com/3031872/why-isnt-there-a-standard-share-button

jensimmons, to random
@jensimmons@front-end.social avatar

CSS Nesting!

About that requirement for a &amp; or other symbol... it’s no more. Learn all about it.

AND help us make one final decision about the syntax, by reading example options, and taking a one question survey.

https://webkit.org/blog/14571/css-nesting-and-the-cascade/

gundersen,
@gundersen@mastodon.social avatar

@jensimmons this is fantastic news! I could live with the & limitation for elements, but not having it is so much better.

As for the poll, option 2 makes sense to me, as that is the order it is written in. I honestly didn't know that sass/less followed option 1, I guess I've never stumbled upon this situation.

zachleat, to random
@zachleat@zachleat.com avatar

Referenced at @hugoconf today:

https://blog.cloudflare.com/new-dev-docs/

Cloudflare (in 2022) migrated from Gatsby to Hugo to work around almost hour-long build times (for a project with 1600 markdown files).

It makes me think of the Jamstack pivot to include on-request rendering models that sacrificed the benefits of SSG to solve problems introduced by slow build tooling. In this case, Cloudflare swapped back to Hugo rather than over-complicate their architecture.

(reminded of https://www.zachleat.com/web/build-benchmark/ too 🫣)

gundersen,
@gundersen@mastodon.social avatar

@andydavies @zachleat fascinating read! I love this quote:

"In 2022, IKEA.com had over three billion sessions, which is around 100 sessions per second (roughly a low G on a guitar). "

gundersen,
@gundersen@mastodon.social avatar

@andydavies @zachleat now I want to hook a speaker up to Google Analytics and make a tone based on live traffic info 🤔

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • ngwrru68w68
  • ethstaker
  • tacticalgear
  • osvaldo12
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • Youngstown
  • everett
  • InstantRegret
  • slotface
  • rosin
  • provamag3
  • kavyap
  • GTA5RPClips
  • Leos
  • modclub
  • cisconetworking
  • Durango
  • khanakhh
  • cubers
  • normalnudes
  • anitta
  • tester
  • megavids
  • lostlight
  • All magazines