@Pol@mathstodon.xyz
@Pol@mathstodon.xyz avatar

Pol

@Pol@mathstodon.xyz

Research, analysis, development, reproducibility. Keywords about me: STEM, piano, nature, bikes, swimming.

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

ramsey, to php
@ramsey@phpc.social avatar

Polished Happy People

Pol,
@Pol@mathstodon.xyz avatar
Pol,
@Pol@mathstodon.xyz avatar

@ramsey

Some others...

  • Panic, Haste, Panic
  • Pretty Hard Programming
  • People Hate Programming
  • Please Hire Professionals
  • Poorly Handled Programming
hywan, to random
@hywan@fosstodon.org avatar

Time to test https://obsidian.md/. Any feedback?

Pol,
@Pol@mathstodon.xyz avatar

@hywan
We are using our own Hedgedoc server instead.

ploum, to random French
@ploum@mamot.fr avatar

Je suis accro à la fonction "heatmap" de Strava qui recense sur une carte tous mes trajets à vélo/en course (et je peux filtrer par année ou activité).

Une idée de comment faire cela de manière opensource ?

Lecture concomitante: https://ploum.net/la-pedale-et-le-territoire/index.html

Pol,
@Pol@mathstodon.xyz avatar

@ploum

Je pense que @dantleech a créé un logiciel pour ça...

krzyzanowskim, (edited ) to random
@krzyzanowskim@mastodon.social avatar

I've been doing work from home WRONG for the whole time!

Pol,
@Pol@mathstodon.xyz avatar

@krzyzanowskim Me too !

horuskol, to php
@horuskol@phpc.social avatar

Working on my based static site generator.

I've introduced a pipeline flow to it which uses middleware to pass the list of generated files along. I found an interesting approach to building the pipeline - took a bit of squinting to really understand how the chain works.

I'm not sure if there'll be problems if there's a lot of files or middleware - but it's sufficient for my own purposes, for now.

https://github.com/SavvyWombat/caxton/blob/1884dd7468192170f9a59ca40d8e1afe88222619/caxton#L59

Pol,
@Pol@mathstodon.xyz avatar

@horuskol
@phpc
That's the usual pattern.

Basically, this is a reducing operation. You could rewrite this using array_reduce quite easily to add more semantic to your code.

librecast, to random
@librecast@chaos.social avatar

One of the cool initiatives that NLNet ( @NGIZero) does in conjunction with @EC_NGI and @nixos_org is the Summer of Nix, from July until October 2023.

https://github.com/ngi-nix/summer-of-nix

Why is this cool? Because folks who are at varying levels of Nix Expertise come together and learn how to package Nix.

Liblibrecast, lcrq and lcsync are now packaged.

Many thanks to this years team of for packaging us! Albert Chae, Anish Lakhwara , Dominic Mills, @jleightcap and @nerves

🎉

@EC_OSPO

Pol,
@Pol@mathstodon.xyz avatar

@librecast @NGIZero @EC_NGI @nixos_org @nerves @EC_OSPO @jleightcap @aynish Are there any plan to submit this work upstream on NixOS/nixpkgs ?

Pol,
@Pol@mathstodon.xyz avatar
dantleech, to random
@dantleech@fosstodon.org avatar

Laptop batteries are more of a joke when you can't replace them, Spend 3k on a laptop, battery is 50% after a year or so, well, I guess it's time to ask company for a new laptop then (or not in my case, i'll just keep using it until the keys fall off).

Pol,
@Pol@mathstodon.xyz avatar

@dantleech I miss them too. I remember that changing a keyboard required a screwdriver, 8 screws to remove, and 5 minutes top. Try to do that now with those new ones...

Pol, to random
@Pol@mathstodon.xyz avatar

The Nix project statistics will never cease to amaze me...

Pol, to random
@Pol@mathstodon.xyz avatar

Am I the only one who finds USB-C to be an example of poor design and a complete failure?

Pol,
@Pol@mathstodon.xyz avatar

@dantleech The small and thin design of this connector, while convenient because it's almost standard, can sometimes make it feel less sturdy than other connectors. This might make it more prone to damage in case of rough handling... On my Thinkpad, it never seems to be firmly inserted and it always seems to be wobbling.

The worst part is the central "strip" in the female part of the port. If this strip is damaged or dislodged, it can cause connection problems. Furthermore, buildup of dust and debris can also cause issues.

I'm not a big fan of Apple but I have to admit that their lightning connector is "lightyears" ahead (pun intended!).

Pol, to random
@Pol@mathstodon.xyz avatar

I just added a new feature in the Nix PHP builder that will create the proper PHP environment based on the composer.json file. That feature is a work in progress, but works pretty fine already.
Basically, the idea is to read the composer.json, extract the required extensions and instantiate a PHP environment containing those extensions.
Inferring the adequate PHP version to use could be a nice to have.
Find the code and examples at: https://github.com/loophp/nix-php-composer-builder/#extra-work-in-progress

Pol, to random
@Pol@mathstodon.xyz avatar

I've created a builder for PHP/Composer based applications for Nix, find it here: https://github.com/loophp/nix-php-composer-builder/
Feel free to test it, break it and report feedback !

nebucatnetzer, to random

@linuxmatters How is or different from a normal VPN I setup on my home router? Especially if I self host it?
So it sounds like it does the same but just routing the traffic dedicated to the “LAN” which one could do with other VPN solutions as well.
I feel like I’m missing something obvious here.

Pol,
@Pol@mathstodon.xyz avatar

@nebucatnetzer @linuxmatters No need to open any port, simplicity to add new devices, nice android/iphone application.

Pol,
@Pol@mathstodon.xyz avatar

@joy @nebucatnetzer @linuxmatters @zerotier it would be nice to have a comparison between zerotier and Tailscale.

Pol,
@Pol@mathstodon.xyz avatar

@joy @nebucatnetzer @linuxmatters @zerotier ZeroTier and Tailscale both offer peer-to-peer mesh VPN technologies. They use different protocols to offer a functionally similar service. ZeroTier’s protocol is custom, while Tailscale uses the industry-standard WireGuard protocol for its data plane.

Conclusion: I'll use Tailscale.

nebucatnetzer, to RaspberryPi

deleted_by_author

  • Loading...
  • Pol,
    @Pol@mathstodon.xyz avatar

    @nebucatnetzer My router is a Raspberry on NixOS, I love it... it works so beautifully !!!

    ramsey, to random
    @ramsey@phpc.social avatar

    I haven’t posted on Twitter since last December, but I had been keeping the account around “just in case.” I now believe “just in case” will never happen, so I’ve deactivated my account. Goodbye to 16 years of community-building, networking, learning, sharing, and more. Most of it was fun and awesome for me. Onward to the new social experiment. Long live the Open Web!

    Pol,
    @Pol@mathstodon.xyz avatar

    @derickr @ramsey Same for me, I removed all my tweets, private message, then deleted my account! No regret, I like Mastodon, especially thanks to this Elk client (https://main.elk.zone/).

    Pol,
    @Pol@mathstodon.xyz avatar

    @derickr @ramsey I bought a one month subscription to a service to do it for me... I can't find the name anymore :(

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

    I cannot configure watch faces on my Sense2 without disabling my ad-blocking DNS server on my phone. It pretends there is no internet connection at all of it cannot reach Google ad servers.

    There is no reasonable justification for this. I would say "shame on them" but this is Google. If they had any shame, the world wouldn't be as fucked as it is now.

    So I'll just say "avoid Fitbit products, because they are mandatory ."

    Pol,
    @Pol@mathstodon.xyz avatar

    @Crell can't you just whitelist some specific domains? Besides that, I totally agree... What a fucked up world driven by marketing rules...that's the reason why I can't live without a PiHole in my network.

    sanityinc, to random
    @sanityinc@hachyderm.io avatar

    Use an open web browser, or lose an open Web.
    https://www.mozilla.org/en-GB/firefox/new/

    Pol,
    @Pol@mathstodon.xyz avatar

    @sanityinc have you tried the multi container extension ? I can't live without it !

    Pol,
    @Pol@mathstodon.xyz avatar

    @otfrom @sanityinc but this is precisely what I do in Firefox ! You should try it!

    Pol,
    @Pol@mathstodon.xyz avatar

    @unhammer @sumek @otfrom @sanityinc Never used it, going to test later. Thanks for all these valuable information!

    compositor, to random
    @compositor@wayland.social avatar

    Welcome to Wayland.social: the successor to X.com.

    Pol,
    @Pol@mathstodon.xyz avatar

    @compositor Bouhohahahahaha ! Nice one :D

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