@aleks@hachyderm.io
@aleks@hachyderm.io avatar

aleks

@aleks@hachyderm.io

Code, Bike, Run.
All Cars Are Barricades.

Interests: (computational) linguistics, type theory, logic, software engineering, music, respectful parenting, and tasty things.

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

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

Funktionale Programmierung leichter erklärbar als objektorientierte?

aleks,
@aleks@hachyderm.io avatar

@ewolff @gerritbeine Das ist außerhalb von Haskell und vielleicht Scala kaum üblich. Man kann in von Lisp bis JS, von Rust bis Kotlin funktional programmieren, ohne zu wissen, was ein Monad oder eine Typenklasse ist.

alanz, to random
@alanz@social.coop avatar

Unpopular opinion: I really dislike the UI style of the magit pane, which is taking over for everything. It gives no feedback on location, the evil bindings don't work well, and it uses a different paradigm from the rest of emacs.

aleks,
@aleks@hachyderm.io avatar

@alanz Do you mean transient?

fasterthanlime, to random
@fasterthanlime@hachyderm.io avatar

lmao love you too traefik

aleks,
@aleks@hachyderm.io avatar
rose, to random
@rose@503junk.house avatar

deleted_by_author

  • Loading...
  • aleks,
    @aleks@hachyderm.io avatar

    @rose Once you're done, may I recommend Thelonious Monk's "Complete Riverside Recordings"

    See you next week.

    aleks, to python
    @aleks@hachyderm.io avatar

    My biggest gripe with ? A dozen of them: pip, pyenv, virtualenv, venv, virtualenvwrapper, wheel, conda (miniconda, anaconda, wtf do I need?), poetry, pipx, easy_install/setuptools (remember distutils?), pipenv (wait, didn't I have this one already? Oh no, that was pyenv, totally different), pdm, requirements.txt, pip-tools, zipapp (it seems superzippy is not a thing anymore), …

    Wait, what's a dozen?

    mcc, to random
    @mcc@mastodon.social avatar

    A problem I have is, I am at a place with soldering where I can solder but I do not feel confident soldering, and I don't know how to get from A to B because the only way to get confident would be to do a lot of it. But I don't do any of it. Because I don't feel confident. I'm afraid I'll break something.

    aleks,
    @aleks@hachyderm.io avatar

    @mcc Get yourself kids. I'm constantly fixing electronic toys…

    aleks, to random
    @aleks@hachyderm.io avatar

    Today in "Am I uploading my very sensitive personal data to a legit German government site, or is this a phishing attempt?"
    This is the URL I'm supposed to use:

    extranet.xy-cd.de:4443/ausschreibung/f?p=11102:20100 (redacted exact URL for privacy reasons. You get the idea.)

    How did I know it's legit? Easy: the server was down.

    aleks,
    @aleks@hachyderm.io avatar

    @psycodepath You see, later that day, the server came back up again, and I had to:

    • download a form
    • print it
    • sign it
    • mail it

    I'm glad they let me scan and E-mail it, though I've had the "download the form, print it and send it via snail-mail" treatment, too (specifically, that's how requests for parental leave support [Elterngeld] work in my state).

    Oh, and how did I know the server was legit AFTER it was back up?

    The site ran on .

    SheDrivesMobility, to random German
    @SheDrivesMobility@norden.social avatar

    deleted_by_author

  • Loading...
  • aleks,
    @aleks@hachyderm.io avatar

    @SheDrivesMobility Auch im Radsport denken die Leute vermehrt übers Klima nach—dort wird's nämlich auch langsam spürbar ungemütlich (Hitze im Sommer, extreme Unwetter).

    Insbesondere Gillaume Martin und der jüngst tödlich verunfallte Gino Mäder haben sich für bessere Klimamaßnahmen gerade im Sport eingesetzt. Da muss wirklich ein Umdenken stattfinden. Dass gerade professionelles Radfahren so umweltschädlich ist…

    https://www.kath.ch/newsd/dem-radrennfahrer-gino-maeder-lag-der-klimaschutz-am-herzen/

    aleks, to Kotlin
    @aleks@hachyderm.io avatar

    Fixed that pesky bug by… running everything synchronously!

    Concurrency is hard, let's go shopping…

    aleks,
    @aleks@hachyderm.io avatar

    …meanwhile, that new 16-core CPU I just bought.

    afilina, (edited ) to random
    @afilina@phpc.social avatar

    Let's try something fun. When coding, what part do you start with? If other, please specify in replies.

    aleks,
    @aleks@hachyderm.io avatar

    @afilina Yes, absolutely. Like Lego. Just need to make it all fit together, and the compiler tells me what I'm doing wrong.

    Which also means that I'm hopeless in dynamic languages. The only ones I've been able to write any non-trivial code in are like Lisp, and also . But I do it the same way there: I write the signatures first, and keep types in my head, or in docstrings right above the functions.

    Fischblog, to random German
    @Fischblog@chaos.social avatar

    Ihr habt sicher mitbekommen: das Kreuzfahrschiff "Norwegian Dawn" durfte tagelang keinen Hafen anlaufen, weil angeblich Cholera an Bord war.

    Dass die Behörden so drastisch auf den bloßen Verdacht reagieren hat mehrere Gründe. Hier erkläre ich den ganzen Hintergrund der Geschichte:

    https://www.youtube.com/watch?v=NYEkpv7GwpY

    aleks,
    @aleks@hachyderm.io avatar

    @eliasp @Fischblog Mit einer schönen Prise "Nach mir die Sintflut" (man ist ja zu Schiff).

    aleks, to random
    @aleks@hachyderm.io avatar
    jmcrookston, to random
    @jmcrookston@mastodon.social avatar

    I did not make this. I merely laugh at this.

    aleks,
    @aleks@hachyderm.io avatar
    simonmic, (edited ) to random
    @simonmic@fosstodon.org avatar

    Seen on the mail list: Did you know,

    include <->.journal

    includes all numerically-named journal files, like 2024.journal.

    oddities

    aleks,
    @aleks@hachyderm.io avatar

    @simonmic Ooh, neat. I just explicitly enumerated the files before.

    hledger is so awesome. I just had to do my entire accounting for the last 1½yrs (because I'm a lazy slob) and thanks to hledger's rule files, it took just one evening.

    aleks, to random
    @aleks@hachyderm.io avatar
    SheDrivesMobility, to random German
    @SheDrivesMobility@norden.social avatar

    deleted_by_author

  • Loading...
  • aleks,
    @aleks@hachyderm.io avatar

    @eliasp @SheDrivesMobility So so? Sind die Ergebnisse einsehbar?

    Und werden auch neben dem Radweg liegende Gefahren miteinbezogen, wie z. B. parkende Autos in Dooringreichweite?
    In Tübingen ist das in der Wilhelmstraße ein riesiges Problem.

    aleks, to random
    @aleks@hachyderm.io avatar

    While visiting Poland I alwost submitted a bug report to @organicmaps as I wasn't seeing contour lines on my map at all, even though I always have the topographic layer active!

    Then it occurred to me: there are no contour lines on the Great European Plain, silly.

    Fischblog, to random German
    @Fischblog@chaos.social avatar

    Könnt jetzt in der Ebola-ist-harmlos-Diskussion natürlich ganz unschuldig fragen, ob das nicht die Langzeitfolgen relativiert.
    Aber neee... 🙄
    Glaub Trolle haben einfach mehr Spaß an Social Media. 😅

    aleks,
    @aleks@hachyderm.io avatar

    @tobi82 @Fischblog Nur zu etwa einem Drittel. Der Rest dann schon.

    aleks, to rust
    @aleks@hachyderm.io avatar

    Bored? Get lost!

    I finally made something in and and using : a maze generator that successfully keeps the kids occupied for minutes at a time! (Due to its handy PDF feature that allows you to print mazes)

    https://aleks.bg/maze

    Sheril, to history
    @Sheril@mastodon.social avatar

    “Vote NO on Woman Suffrage” 🙄

    Not ancient , but just a century ago.

    Source: State Archives of North Carolina

    aleks,
    @aleks@hachyderm.io avatar

    @Sheril 100 years? Try 50—at least in quaint little Switzerland. Here are a couple of posters. I've included translations in the alt text.

    (YES, Switzerland gained women's suffrage in 1971)

    mcc, to random
    @mcc@mastodon.social avatar

    Rubbing eyes I may have just committed myself to rewriting a Haskell program in 6502 assembly.

    aleks,
    @aleks@hachyderm.io avatar

    @mcc Can't offer advice on 6502. That stuff seems like arcane magic to me. I consider Java low-level because it has primitive types.

    aleks,
    @aleks@hachyderm.io avatar

    @mcc I'd suggest a while true loop then (or onher infinite loop construct). Keep a stateful output pointer and some (presumably stateful) way to compute the next x. You'll need an eager break condition, since you can't just wait and see how hungry the caller is anymore. Or maybe plug that logic into the while loop's predicate, depending on what you want to do.

    aleks,
    @aleks@hachyderm.io avatar

    @mcc Yeah, that code is pretty obscure. Typical mathsy code using tuples instead of records etc. Good luck!

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