@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.

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

@forteller jeg tror det er Bjølsen?

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...

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.

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 #Android 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 #OpenSource 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!

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!"

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.

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

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!

#NorskTut #Snø #Bil #Tråd

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 🤣

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

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.

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.

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

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.

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?

simevidas, to random
@simevidas@mastodon.social avatar
gundersen,
@gundersen@mastodon.social avatar

@simevidas hurray, finally!

schizanon, to webdev

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

gundersen, to random
@gundersen@mastodon.social avatar

It's wild to think about how short human history is. For example, the iron age started approximately 1200BC, which means that if you are 32 years old you have been alive for 1% of the time humans have used iron. If you are 54 years old then you have lived through 1% of horses being domesticated, the wheel being used for transport, written language and living in towns. 🤯

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

@Tusky I have limited timeline notifications, so I don't see all favorites and boosts in the app, but I still get android push notifications! Any way to fix this?

gundersen, to webdev
@gundersen@mastodon.social avatar

Why do all third party scripts, like gtm or hotjar, have some weird minified script tag that adds a script tag to the page? Why create the script tag using javascript when it could just be included in the page itself? See for example this hotjar script.

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

Er det første april i dag???

image/jpeg

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