danielsiepmann

@danielsiepmann@friendica.daniel-siepmann.de

Idealist, antifa, tries to be nice to earth, free open source software, Neovim, Nix, TYPO3, developer.

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

danielsiepmann, to random

A nice blog post explaining the different components like , , e.g. related to and .

Nice for people like me who never dog into that: drakerossman.com/blog/wayland-…

dantleech, to random
@dantleech@fosstodon.org avatar

Pretty happy with the tutorial generator/scripting/testing framework I've made in the past 2 days. It's got a deliberately simple architecture but does the job well and all the concerns I had have been mitigated (like f.e. the fact that it was editing versioned code). Now I'm in clean up and rename-things-so-they-make-sense mode.

Looking forward to scripting the tutorial tutorial.

danielsiepmann,

@dantleech Can you share a link? I'm curious and can't find a repository at github.com/dantleech

danielsiepmann,

@dantleech Ah okay :( I'm way too used to open source... Thought its something you build in your free time.

Anyway it sounds promising and I hope it will work out :)

danielsiepmann, to random

That's exactly why I am a big fan of open source right from beginning. It allows others to discover your ideas, thoughts and beginnings. They can share their thoughts and ideas or findings.

Sometimes someone knows something so you don't need to build the stuff on your own. And others might join your efforts to build something cool.

I never did something private first until it is "ready". But I gave up in that topic...
phpc.social/

danielsiepmann, to random German

Toller Vortrag von Rouven Czerwinski zu #Wayland. Ich habe mich da bisher immer drum gedrückt. Aber im Vortrag wird sehr schön erklärt, was es ist, wieso es entwickelt wird. Warum welche Probleme existieren, etc.

Würde ich allen empfehlen die bisher auch noch auf #X11 sind und sich der Thematik bisher verschlossen haben oder noch Vorurteile oder Halbwissen haben.

media.ccc.de/v/clt24-284-xorg-…

danielsiepmann,

@alexanderschnitzler Da hilft dir der Vortrag mit Sicherheit weiter :) kannst ja mal rein schauen.

Da wird auch erklärt wie der jeweilige support von GNOME, KDE etc. ist.

Zu skaling hatte ich bisher nichts gehört, hab das Video aber auch noch nicht ganz durch.

danielsiepmann,

@alexanderschnitzler Als skaling wurde dort weder im Vortrag noch den Fragen aufgegriffen.

danielsiepmann,

@alexanderschnitzler Ich bin da leider auch nicht im Thema.

Hab immer nur einen monitor mit ner normalen Auflösung.

Nur bei meinem alten MacBook das kein full HD kann brauche ich sowas. Wenn ich was präsentiere Spiegel ich den Bildschirm und mache mit xrandr nen scale Faktor an damit ich keinen schwarzen Rahmen habe.

Muss mal schauen wann ich auf wayland Wechsel und was da noch alles ansteht.

alexanderschnitzler, to random German
@alexanderschnitzler@mstdn.social avatar

Beim Arzt merkt man wie verbittert man im Alter werden kann aber nicht werden will.

Hoffentlich werde ich nicht so ein Motzkopp.

„Keiner will mehr arbeiten!“
„Es fahren keine Busse mehr!“
„Stadt viel zu voll!“
„…“

danielsiepmann,

@alexanderschnitzler Ich drücke dir die Daumen.

Ich rege mich auch immer mehr über immer mehr Dinge auf. Darüber selbst kann ich mich dann auch wieder aufregen.

koehnlein, (edited ) to firefox
@koehnlein@mastodon.social avatar

I had trouble with Content-Security-Policy reporting on a password protected staging environment in combination with Firefox. I found a nice solution and blogged about it:

https://www.koehnlein.eu/en/blog/2024/csp-reporting-basic-auth/

#CSP #Apache #Firefox

danielsiepmann,

@koehnlein Thanks for sharing :) I guess Firefox added a layer of security. It no longer passes basic auth in URLs.

It would ask you whether it was expected in order to be confirmed by a user. But that doesn't we to work for those inner requests.

Just as an possible explanation why your, and mine, favourite browser doesn't "support" that.

dgoosens, (edited ) to php
@dgoosens@phpc.social avatar

OK... here is a question ( but other communities are welcome to comment.

When building a decoupled app, do you consider the usage of something like
ClassWithAnnoyingName::class
(not to call the class, but to reference the name as a string and to simply avoid to type it out) as coupling?

IMHO, it is not

  • it is very trivial to replace with its string value if needed
  • it greatly improves DX
  • it greatly reduces errors because of typos

But what do you think ? And why ?

danielsiepmann,

@dgoosens To me coupling is a concept, not technical aspect. Referencing a foreign class is always coupling. The question is not whether it is a string or anything else.

I would try to avoid it. But I don't have any context. So I can't answer your concrete case as I don't know it.

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

If a website offers a machine readable version of its pages, what would you expect to get? JSON, JSON-LD, something else?

The idea is you have something like /events/my-event that gives you HTML, but you could get the raw data by accessing /events/my-event.json.

danielsiepmann,

@matuzo It depends? It could be XML, json, CSV, yaml.

We sometimes provide HTML, XML and PDF for the same page because of different consumers.

ErHaWeb, to php German
@ErHaWeb@phpc.social avatar

Today we got a first look at the new in the with @wowa_TYPO3. I love it already! Very cool what the teams have created in . Keep up the good work!

https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/13.1/Feature-103437-IntroduceSiteSets.html#feature-103437-introduce-site-sets

danielsiepmann,

@wowa_TYPO3 @ErHaWeb What is masterclass? Can I see something from this masterclass?

danielsiepmann,

@wowa_TYPO3 @ErHaWeb Ah danke :) Dann bist du ja richtig bleeding edge mit deinem Kurs. Find ich cool.

koehnlein, (edited ) to php
@koehnlein@mastodon.social avatar

Continued a #TYPO3 feature idea which is nearly four years old. I'm curious to see if it finds its way into version 13.

https://review.typo3.org/c/Packages/TYPO3.CMS/+/65032

danielsiepmann,

@koehnlein Would you be willing to share the idea?

danielsiepmann,

@koehnlein Thanks :)

monsieuricon, to random

I've been admining Linux systems for 25 years, and I still have to check which one it is every time.

danielsiepmann,

@monsieuricon It is the same as cp. So src trgt. Not sure why it is so hard to remember.

One copies file to somewhere or links one file to somewhere.

ocramius, to random
@ocramius@mastodon.social avatar

Possibly weird idea: record all past review feedback as part of git blame metadata.

I find that a lot of "we'll do it later" or "acceptable tradeoff" is lost in comments detached from git itself :|

danielsiepmann,

@ocramius Maybe git-scm.com/docs/git-note could help you to add this info to git.

danielsiepmann, to programming

Today I could start #programming for a new project. I applied the learnings from @matthiasnoback workshop regarding #software architecture.

And well … It works good so far. And so many more things now make sense and work, e.g. TDD. I thought TDD doesn't make sense, except for some cases. But now with a different point of view to how to create and structure software … it now works. I could develop the current project fully #TDD.

I can highly recommend his workshops :)

irgendwiejuna, to random German

Immer wieder wird angemerkt, dass Mastodon zu ernst, zu humorlos, zu irgendwas sei und dass man besser bei X und seinen Kopien aufgehoben wäre.

Keine Ahnung, woher das Gerücht kommt. Hier ist eindeutig der bessere Ort.

danielsiepmann,

@irgendwiejuna, @leah hatte das letztens auch.

Und es war wie du beschreibst. Hier gibt es vielleicht mehr Menschen mit anderem Humor. Humor der nicht auf Kosten anderer geht. Menschen die mehr nachdenken und daher auch andere aussagen hinter belanglosen posts sehen.

Und Menschen die auf sowas hinweisen. Das finde ich aber gut und nicht schlecht.

raito, to random
@raito@nixos.paris avatar

Usually, April's Fools is reserved for jokes, but I have a shitpost that looks like an April's Fools which is not a joke.

Unfortunately, I have more and more responsibilities in life and complicated scheduled requirements spanning across many calendars shared with SO, friends, work and etc.

To juggle with all of that has become more and more impossible, especially while trying to preserve my own energy levels and burnout.

1/n

danielsiepmann,

@raito I wish you all the best. Hopefully you find a proper solution/approach and keep your promises as well as the health.

danielsiepmann, to php

Really cool to see the final 0.7.0 of #TYPO3 content blocks available github.com/nhovratov/content-b…
So many great things made it into the release.

I'm looking forward to see the integration into TYPO3 itself.

froemken, to random German
@froemken@mastodon.social avatar

Nach langem Überlegen habe ich mich im Rahmen meines beruflichen Werdeganges für WordPress entschieden. Endlich eine stabile API, ein sicheres System und ne super einfache Composer-Integration. Danke an den Stand beim Cloudfest. Ihr habt mir die Augen geöffnet.

danielsiepmann,

@froemken Das hat gedauert. Hab überlegt ob es da wirklich nen Wandel gab. Ob das ironisch war.

Aber ich hab den 1. April nicht ganz vergessen.

Ich glaube das war heute der erste Scherz.

array, to random
@array@fosstodon.org avatar

The story of my life when developing some web project is mostly always the same: I can surf on the code waves for a while... And then some apparently minor, silly detail got me stuck for hours. Now it's been a Vue component that refuses to display a selected placeholder by default, so you don't have to stare at an empty select bar. Yes, I've tried that already but no dice. Will I make it? Yeah, or bust. :D

danielsiepmann,

@array I still have the same issue after doing it as full time job for a couple of years now.

I guess this will always come up from time to time.

Wish you all the best :)

array, to programming
@array@fosstodon.org avatar

I have a silly question for you, Fedi. I have a 1:N relationship between artists and countries table. I know countries may change, but let's assume that it's a fixed list for now. What would you do to retrieve the countries data to use in a form to create a new artist: query the DB, or just declare a constant array in the form view, and why? Thank you in advance. :)
#Programming #Database

danielsiepmann,

@array You could encapsulate the data in a collection class where each country is a class instance.

You than can store it the way you like. Static php code, load from a json, yaml, whatever file format, or database.

That's where the repository pattern may help you as all your code calls the single method of the repository. The repository encapsulates the logic where data is coming from.

That would always work and you can Start with a static array hidden inside the repository. Enrich it, e.g. if you want to have language iso code or other data attached. And later offload to a database table for on the fly edits through some other interface.

I hope that helps?

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