@edgren@mst.airikr.me

edgren

@edgren@mst.airikr.me

Man (han/hans/honom). Född 1985. Bor i Sverige. Älskar fotografering, integritet och öppen källkod. Tootar på både svenska och engelska.

Male (he/his/him). Born in 1985. Lives in Sweden. Loves photography, privacy, and open source. Toots in both Swedish and English.

#nobot

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

leahawasser, to random
@leahawasser@fosstodon.org avatar

Time zones are hard. How do y'all from Europe do it?! 🤣

edgren,

@leahawasser You stay in 1 timezone 😆 That's how I do it.

atomicpoet, to random
@atomicpoet@atomicpoet.org avatar

It looks to me that, quite soon, all Google image results are going to be generated by A.I.

And that pisses me off.

edgren,

@atomicpoet

Rule nr. 1: You do not use Google.
Rule nr. 2: You do not use Google!
Rule nr. 3: You DO NOT use Google!!

edgren,

@atomicpoet Since there's much better alternatives than Google like Qwant and SearxNG, I don't myself like an ass 🙂

kev, to random
@kev@fosstodon.org avatar

An American friend of mine thinks beans on toast is disgusting. So to all none Brits (as we find it delicious)…is it disgusting to you?

Side note - I find it astonishing that someone from the country that invented “cheese in a can” can find this “dish” disgusting. 😂

edgren,

@kev Haven't tried that one, but want to. It looks delicious 😋

joel, to ps1graphics
@joel@fosstodon.org avatar

Just spent more time than I'd like to admit creating my own game covers for the games I'll play on my :blobcatderpy:

GIMP with a file open of a game cover of the game Alundra
gallery view of 8 game covers in long game box format

edgren,

@joel Olala 😃 I have to buy one of that thing too!

edgren, to php

The more I'm thinking about it, the more I consider it.

I want to add a map for my bicycle rides, but I can't find any good PHP maps. The PHP versions of Leaflet on GitHub are no good. They don't work at all. They just gives you errors like "can't load class" or something like that.

So even if I am against it only to challenge myself, I consider using Leaflet in JS for airikr.me/biking.

Or do you have any solution in PHP that works out of the box?

#leaflet #php #js #javascript #opensource

edgren,

@derickr Same here, especially on my weather service Serenum (https://serenum.org). But this time, I want to challenge myself by getting Leaflet and displaying a path in pure PHP 🙂 But if that doesn't work at all, I'll be forced to use JS 😟

edgren,

@derickr I've read that you can load the tiles with PHP since they are in PNG. So far so good, but after that painting the track will be the hardest part, if not the impossible one.

You can use GD to add strokes, but letting these strokes follow an array of coordinates. That will make it very hard, if not impossible.

edgren,

@derickr That would be awesome! Thanks 😊

edgren,

@derickr I'm trapped on step 3. What shall be installed with composer install and in what folder?

edgren,

@derickr Works very good! But I only get this output. My track is not visible. Have I missed something?

edgren,

@derickr The track is not visible on the map at all. Seems like it get the tiles.

How do you get the track to the map?

edgren,

@derickr Just saw the PNG files with the track visible now 😆

Works perfectly! But I have 1 question. How to make the track thicker? Either that or to set opacity on the map. I think changing the thickness of the track is easier to do, right? Or just changing the tiles 😊

edgren,

@derickr Thanks. Will try that

edgren,

@derickr I am more happy with the result now, but I want to censur my home by adding an ellipse. But I don't know how exactly your script works.

Read the comment on https://gist.airikr.me/airikr/5128ea615a914e9480b673e33893c9e7

edgren,

@derickr Oh, ok. Thank you for pointing it out 🙂

Oh my. That is way too advanced for me 🙈

edgren,

@derickr Yeah, and I suck in advanced math 🙈 Many thanks! 😃

Yes, enjoy the Saturday evening 😊 I will enjoy the night some northern lights photography.

edgren,

@derickr The result for 1 track: https://airikr.me/biking-track:1714935180?lang=en 🙂

Might add some more styling to the page, though.

edgren,

@derickr Haha, you mean it's too small/pixelated? 😄

ambivalena, to random Swedish
@ambivalena@mastodon.nu avatar

A Pine-troll on the run at dusk.'

I can´t help but wonder what they are up to at night.

edgren,

@elaterite @ambivalena Or you just could make up a fire instead 🙂

RL_Dane, to random
@RL_Dane@fosstodon.org avatar

Crossing my fingers for @Codeberg
🤞🤞🤞🤞🤞

edgren,
oliverandrich, to firefox
@oliverandrich@fosstodon.org avatar

I have to agree. The last update of #firefox improved the page loading speed significantly. 😍

edgren,

@oliverandrich Nice! Is it version 125.0.2 you're talking about?

RL_Dane, to random
@RL_Dane@fosstodon.org avatar

I can post instructions later for anyone who wants to know how, but I figured out how to use the #AuroraStore to revert the #GoogleCamera / #PixelCamera app to the version before the horrendously dumb UI redesign.

It's wonderful to have my old camera app back. So much more convenient.

edgren,

@RL_Dane Why not Open Camera?

joel, to random
@joel@fosstodon.org avatar

Here is my

Fetched from https://data.natty.sh/fedi-circles/

There's also , from https://circle.grasserisen.de/

It is interesting to see the slight differences and I wonder how they work exactly

image/png

edgren,

@joel What does it base on? Most contacted?

doktorzjivago, to random Swedish
@doktorzjivago@mastodonsweden.se avatar

deleted_by_author

  • Loading...
  • edgren,

    @doktorzjivago Underbar kommentar!

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