Skip Navigation
Pro tip - you can type  on macOS with option + shift + k
  • You need an apple device for it to render correctly

  • How is your consciousness/mind structured?
  • You jump everywhere and like pushing things off table too?

  • Anyone self hosting on Mac mini M1/M2?
  • I was thinking more like just having dockers on macOS

    But running a Linux like asahi is an option

  • Anyone self hosting on Mac mini M1/M2?

    I currently have a server, a Dell T310 with an SSD in it and 12Gig of ram (weird config, I know I messed up but it works fine so I can’t be bothered to change that for now), with all my dockers running in it.

    It runs mostly fine, with Debian 11, a VPN so that I can block public ssh and allow it only on the VPN network, an nginx proxy to have services like a forgejo and a music library (ampache).

    However it can’t run a Minecraft server with more than a single person on it without stuttering ; so I was considering changing it maybe next year, after more than 3 years of services, for something beefier but also consuming less W/h (current consumption is 80W), and since I already have a Mac for work I was wondering how suitable a Mac Mini M1/M2 would be for a homelab?

    Does anyone have such a configuration and how does it work for you? Any hurdle that you should be aware of?

    29
    How is your consciousness/mind structured?

    I’ve been thinking about it for a while now, and just realized how weird it is, after trying to explain it out loud to a friend who’s also neurodivergent.

    I’m curious to know if it’s a common experience with other neurodivergent individuals.

    My mind has three different depths:

    • a very conscious one, capable of conjuring images and sounds from the void, capable of manipulating at will said images, morph them, move them… I can think « words » and have them be real in my mind
    • a conscious but closed one: I can put words in it but without acting on them, only watching them. This one is the weirdest of all. There is a difference for me when I think about « dog » and just « look at the idea of a dog ». There are some things I don’t want to consciously think about (like things that makes me sad or depressed) so instead of thinking about them I’ll put them in this zone. They exist but it’s very different from having the words out loud in my mind, as if I was thinking inside my own mind. It’s like I’m in a museum watching thoughts behind plexiglass
    • the dark zone, where I put things I don’t want to think about at all, things I want to forget. It’s literally a foggy dark place made of some kind of fluid darkness with no thoughts shining in it, I have to consciously want and try to pull things from it

    A while ago, I read somewhere that the mere thing of being able to conjure images was « rare », like only 25% of people on earth can do it. Somehow I linked this idea to people being neurodivergent but I have no proof or source and I may just have made things up in my sleep or under the shower.

    TL;DR: how does your mind works? Mine is weird

    12
    Aptoide becomes first non-Apple iOS store
  • The AltStore: am I a joke to you?

  • Trouble v3 has been released
    github.com GitHub - folke/trouble.nvim: 🚦 A pretty diagnostics, references, telescope results, quickfix and location list to help you solve all the trouble your code is causing.

    🚦 A pretty diagnostics, references, telescope results, quickfix and location list to help you solve all the trouble your code is causing. - folke/trouble.nvim

    GitHub - folke/trouble.nvim: 🚦 A pretty diagnostics, references, telescope results, quickfix and location list to help you solve all the trouble your code is causing.
    0
    The most likely next word
  • What do you mean, I’d love to see ai design a potato

  • Removed
    Apple Patent Hints At Foldable iPhone With Self-healing Screen
  • You can solve both of those problems by using a folding case/cover for your phone.

  • What adblocker are you using on iOS?
  • How does that go battery wise?

  • What adblocker are you using on iOS?

    I’ve finally picked up an iPhone about a month ago, and have been loving the experience.

    However I’m now thrown into an ad-full world again (I used to have a browser blocking many if not most ads on the android), so I’m wondering, what adblockers do you use (may it be safari extension or entirely new browser for my fellow Europeans)?

    54
    Bitwarden has launched a new authenticator app
  • Good luck getting your vault compromised.

    Unless you have a weak password or the vault isn’t encrypted (which it is, AES256 iirc and you might be able to change that on a self hosted version), I don’t see that happening.

  • Bitwarden has launched a new authenticator app
  • Because you can enable totp on your Bitwarden account and it would be dumb to store the password and totp for your biwarden vault in your vault?

    Also it can act as a stepping stone for non Bitwarden customers, before getting their own vault.

  • How RCS on iPhone Will Make Texting Better for Everyone
  • IIRC at least textra is also able to peruse RCS, though I’m sure it goes through google servers too

  • NixOS forked
  • Last time I checked they were working on forgejo runners / actions!

  • I'm giving up — on open source - Blog
  • And they justified with

    I'm having a mental health crisis right now. What I said was wrong, I could not see that a few days ago. Take whatever you want from that. I am sorry. Please stop piling on now that I have removed everything. I am seriously ill and need to stop being involved in anything for several months.

    (Leaving the end out as it can be triggering, talking about death)

    I don't know what to make of this.

  • Thunderbird's New Rust Integration: The Future of Email Clients?
  • I think I'm more fed up with people making those quotes "rust will change everything" when, in fact, it will rule out many if not most memory corruption as you said. Reading your comment, I see now it's the mentality "everything need to be in rust" that bothers me the most, which in fact means "rust can bring memory safety" and not "rust will replace everything". Alas I'm seeing it used times and times again as the latter instead of the former.

  • Thunderbird's New Rust Integration: The Future of Email Clients?
  • I'm getting fed up about all those articles "rust x something: the future?", "I rewrote <cli tool> in rust it's now memory safe". I get the rust safeties and all, but that doesn't automatically make everything great, right ? You can still write shit code in any language that can RM -rf all your disk, or let security gaps here and there without intending to.

  • What're some of the dumbest things you've done to yourself in Linux?
  • I mounted a disk of a server in rescue mode, since I needed to extract everything (the provider didn't have the option to dump everything as a zip). Then installed an FTP server, added a user/pass, it worked.

    But I couldn't access the files of the original disk, even though I could see them. So I just chgrp/chown the original files, since the disk was just "mounted" in the rescue disk /mnt, I thought it was alright (at the time I thought permissions were volatile, stored separately from the files). I could now download the entire disk, yay!

    Upon booting the original disk again, a bunch of errors: shell not starting, tools not running, because they were owned by user and not root...

    Well we reinstalled all the server from scratch that day.

  • C++ coroutines do not spark joy
  • Yes, alas C++ is fun, but very quirky. Perhaps too much. For big (new) projects I wouldn't recommend it. People are trying to fix it but it's hard and without breaking old features I don't think it will be possible to make it better and improve it even more.

  • C++ coroutines do not spark joy
    probablydance.com C++ Coroutines Do Not Spark Joy

    C++20 added minimal support for coroutines. I think they’re done in a way that really doesn’t fit into C++, mostly because they don’t follow the zero-overhead principle. Calling a…

    C++ Coroutines Do Not Spark Joy
    8
    Type inference was a mistake
  • I entirely agree. It all depends on context, preferences, goal and probably other things.

    I found the article interesting even though I don't entirely agree with all of it!

  • What is your favorite Nintendo platform?
  • I love the Nintendo DS. Slips right into your pocket, can play anywhere, a huge catalog of games, easy to add an R4 to it. It can even play GBA games!

  • ArkScript - a scripting language in C++
    github.com GitHub - ArkScript-lang/Ark: ArkScript is a small, fast, functional and scripting language for C++ projects

    ArkScript is a small, fast, functional and scripting language for C++ projects - GitHub - ArkScript-lang/Ark: ArkScript is a small, fast, functional and scripting language for C++ projects

    GitHub - ArkScript-lang/Ark: ArkScript is a small, fast, functional and scripting language for C++ projects

    Hello!

    I've been working on this language for the past 5 years, ArkScript, which is:

    • as small as I could (language wise, 10 keywords, nothing I deemed too specific/useless)
    • running on a VM, compile once run anywhere, just ship your bytecode
    • can be used as a scripting language on its own, like python (though it's not its strength)
    • easy to embed, made in c++ 17 with simplicity in mind

    I'm currently working on the v4 (I screwed up with the semver), redoing the imports syntax, and currently cleaning the code and rewriting all the unit tests using boosr-ext/ut.

    I'm open to criticism, suggestions, discussions on how to enhance it, or just questions on that weird project.

    2
    Did you find Tear of the Kingdom difficult?

    I played BotW a lot, and really loved it. I feel like the beginning of the game was relatively easy compared to TotK, I died a few times trying out things, discovering the game and possibilities ; in TotK I died a lot and still do even with good gear and armour (1*-2* armors, 30-40+ damage weapons). You could say it's skill issues and I would agree with you as I am not a pro player and play games once a week maybe, however I feel like the difficulty curve is far greater in TotK. That has affected how I view the game to the point that sometimes I think I dislike it (even though the new powers are the best thing they could have added, with the verticality of the world) ; that might also have to do with the much darker ambiance of the game, which can feel frightening (to me) to the point going underground is hard.

    Is it just me? Should I just "git gud"?

    36
    Finished assembling my dream GBA (SNES themed)

    New clear black shell to fit the IPS screen v3 from funny playing (no soldering needed! This is awesome, I can control the screen with just a touch on the GBA logo). I also added a rechargeable usb c battery, so far it is already lasting 2x longer thanks when I used AA (6 hours in, with a single charge, and medium brightness + sound).

    Next steps would probably be:

    • cleanAmp, because I noticed some kind of white noise with my headphones plugged in
    • GBA accelerator to replace the stock clock (and make grinding in Pokémon Ruby faster probably)
    5
    Altenswoop, 34 keys + 2 encoders wireless split with pinky cluster

    I wanted to experiment with a better pinky column, as for me using the bottom row with the pinky felt awkward and sometimes painful. Thus I created an alt version of my arkenswoop (swoop based), and named it the altenswoop because my brain thinks it is very original and funny. It will take some getting used to, and I'll need to get batteries for this prototype too!

    Is there a proper name for this kind of pinky formation? I've seen this elsewhere too, and I'm calling it pinky cluster in reference to the thumb cluster but it doesn't feel right

    Edit: I forgot to add a link to the PCB files: https://github.com/SuperFola/arkenswoop (under pcbs/3x5_nw_pinky_cluster)

    16
    Enhanced push protections features for everyone coming to GitHub!
    github.blog Enhanced push protection features for developers and organizations

    Introducing two new secret scanning push protection features that will enable individual developers to protect all their pushes and organizations to gain insights and trends across their repositories.

    Enhanced push protection features for developers and organizations
    0
    I made a subsonic client to listen to my music, as a complete beginner with Flutter!

    A few days ago I had this urge of making my own music player, since I have a Subsonic capable server (ampache) to host and serve music. I've been using DSub, which has a lot of features that I don't use, but works very very well. Alas it isn't "up to date" in terms of design.

    So I made my own, heavily inspired by Android 13, Material 3 enabled, has dynamic colors / system theme fallback (a small thing that goes a long way, I didn't want to make an half baked customisation screen, since Android already has one why not use it?)

    This was my very first Flutter and Dart experience, and I must say it was very enjoyable! The docs are awesome, there are a lot of plugins to choose from, hot reloading... I know now that I needed that feature, it's a must have to iterate quickly! I might have reduce the amount of time I slept the past few days but it was very well worth it.

    Here is demo video https://imgur.com/a/SwOxcij (it has changed a bit since then, mostly on boarders/padding, by a few pixels at most but still relevant ; more up to date pictures on the readme of the github repo)!

    https://github.com/SuperFola/FlSub (the code might not be perfect, but I did my best as a backend developper)

    0
    Admins, lemmy 0.18.3 has a bug which stops instances from federating properly
    yiffit.net PSA for Lemmy instance admins: in backend v0.18.3 there is a bug that causes your instance to stop federating properly and to stop sending out outgoing messages - Yiffit.net

    This new version introduced a system so that your instance stops sending out content to other instances that are supposedly dead / offline. Unfortunately for some reason there’s false positives. When I checked comparing the results from a curl request vs the information in our Lemmy database I found...

    3
    A modern C++ and (somewhat) generic roguelike
    github.com GitHub - SuperFola/pataro: A generic and modular Roguelike game on top of libtcod - I'll be back soon, just need a break!

    A generic and modular Roguelike game on top of libtcod - I'll be back soon, just need a break! - GitHub - SuperFola/pataro: A generic and modular Roguelike game on top of libtcod - I'll be ...

    GitHub - SuperFola/pataro: A generic and modular Roguelike game on top of libtcod - I'll be back soon, just need a break!

    Two years ago I started to follow RogueBasin's roguelike C++ tutorial, a somewhat outdated tutorial in term of good practices and C++ version, but very on point in term of roguelikes.

    My goal when I started Pataro what quite ambitious: I wanted to make a modern C++ roguelike from the tutorial, and write an updated version of said tutorial to help the community! Even better (or worse, in term of choosing your goals) I thought I could make a modern C++ roguelike library for people to use.

    I got the first 9 parts of the tutorial working pretty smoothly, having set up an architecture inspired by Bob Nystrom about game architecture with roguelikes in mind (great talk by the way: https://www.youtube.com/watch?v=JxI3Eu5DPwE). Then I got to a big hurdle: saving and loading. Having used a lot of polymorphism, it makes quite hard to load correctly things and I stopped there.

    !progress as of june 2021

    Then a few weeks ago, I picked up the project again, with a much lower set of goals in mind:

    • finishing to implement the tutorial from RogueBasin
    • ease the configuration of the project, so that people can pick parts of it or just make a roguelike from it
    • fix a bunch of problems related to the map and how it is used to be able to extend it and modify it (imagine being able to have spells that could alter the map)
    • rearchitecture a few more things because it's still very rough on the edges
    • modernize the C++ code (again)

    Progress as of july 2023

    0
    Tip-of-the-week/cpp readers, an RSS feed is now available!

    I follow (probably too many) a bunch of news source regarding programming, and a few weeks ago I started putting everything in a RSS reader, so that I can a single feed/app to go to (instead of remembering every day/week to check x, y, a websites), so I made a script for totw/cpp to help them generate an RSS feed when a new tip is posted.

    It might need a few more tweaks to be perfect (markdown to html to XML CDATA sometimes messes up), but it works well and I can finally enjoy reading tips easily anytime, and so can you!

    1
    [Suggestion] rewriting lemmy http links to community links

    When scrolling on Lemmy I often stumble on links from people that don't use community syntax (!c@server).

    It would be appreciated for those thinks to be rewritten automatically to avoid the browser opening, and instead staying in Voyager.

    Implementation could be tough though: do you need to prefetch the page, parse it and check somehow that it's a Lemmy community? Or have a list of known servers to rewrite those links? Both could prove tedious to maintain.

    7
    Inbox tab doesn't show counts for each category

    Voyager puts a red dot on the inbox tab, so I go there expecting to see if it is 1/2/more messages, if I have unread notifications... but there are no indication that I still have a notification once I click on the tab.

    It would be great to add a count of each type of notifications, or if it isn't possible just a bubble next to the corresponding type!

    Thanks for the app, it is wonderful so far

    3
    Latest pcb revision of my Arkenswoop arrived today!
    imgur.com Arkenswoop

    Discover the magic of the internet at Imgur, a community powered entertainment destination. Lift your spirits with funny jokes, trending memes, entertaining gifs, inspiring stories, viral videos, and so much more from users like lexplt4.

    Arkenswoop

    The Arkenswoop is a Lord of the Rings themed revision of the swoop by jimmerricks (which is a revision of the sweep by David Barr, which is a revision of the Ferris by Pierre Chevalier (yes I found that chain of revisions funny so I included it in its entirety)).

    Don't worry it isn't just a themed put on it, I added hotswap support, keeping the reversible design and wireless support. I also removed the LEDs, having no use for them ; they are also a huge power draw when in wireless. Encoder was moved a bit to the bottom because it was interfering with the nearest keycap (and the key became stuck upon pressing it, I found it funny at first).

    Alas I also screwed up: the switch plate holes are a bit too big (longer than wider) ; easy fix for now was to put some tape and voilà, every holds as the holes are tighter. I might print another plate with smaller holes but for now this is more than fine.

    https://github.com/SuperFola/arkenswoop

    0
    I screwed up but dont know how/what
    imgur.com imgur.com

    Discover the magic of the internet at Imgur, a community powered entertainment destination. Lift your spirits with funny jokes, trending memes, entertaining gifs, inspiring stories, viral videos, and so much more from users like lexplt4.

    imgur.com

    3 days ago I setup fail2ban. Nothing fancy, just reading the logs of my docker containers where it applied.

    Then 2 days ago my server crashed out of nowhere, nothing in the f2b logs (I thought I had banned the entire internet by mistake), doing a nap just tells me port 80 and 443 were open (a few more should have been for Plex).

    The same happened yesterday and I pulled the cable just in case I was being hacked (I'm paranoid but not too much), and looked in it. usually I ssh from my local network into the server, but couldn't this time, so I put a screen on it and it was quickly flooded with systemd failures and ext4 errors.

    I reformated the disk a few months ago and ran a SMART, it told me the disk was fine, no error detected. It is a chonky 2TB disk and I have at most 150gigs used (movies, music, backups waiting to be transferred on daily basis to other servers/media, dockers).

    Where should I look? I know how to work with Linux but when looking for a problem like this, except using systemctl status/restart I'm lost.

    13
    SuperFola SuperFola @programming.dev

    ArkScript lang developer, split keyboard fanatic

    Posts 19
    Comments 96