Anafroj
@Anafroj@sh.itjust.works
- Comment on After Radio Silence, Kbin App Artemis Shuts Down 11 months ago:
This. Nothing is more difficult than understanding someone’s else code and architecture, and even if you manage that, you’re now stucked with the choices somebody else made and nobody wants that (we want to make our terrible choices!).
More than a final app, the best thing to publish as FOSS is libraries extracted from it to help other developers build there own products faster. That’s something other may want to maintain when we abandon it. And on top of that, it still help to publish your app using this lib to serve as practical example about how to use your it, of course.
- Comment on Some instances have gone down recently, did we miss any? 1 year ago:
As a trader, I would say this is a minor correction and we really should not read much into it. :) (of course, this is not a financial graph, but I’ve seen the similar patterns of impulse/correction in many graphs that measure opinion and/or human activity)
- Comment on Cost-cutting tips? 1 year ago:
That’s the same thing. :) If you reduce computing cost, you reduce the need for costly hardware and you reduce the need for energy, thus you reduce the amount of money needed to build and run your setup. There’s a saying in (software) engineering : “reducing energy consumption and increasing performances requires the same work”.
- Comment on Cost-cutting tips? 1 year ago:
Basically, yes. You can configure most cron program to mail task output to you (it’s usually done by setting the
MAILTO
variable in the crontab, provided sendmail is available on your system).So basically, I do things like:
0 9 11 10 echo 'lunch with John Doe at 12:20'
It sends me a mail, and I can see the upcoming events with
crontab -l
. If it’s not a recurring event, I then delete the rule. - Comment on Cost-cutting tips? 1 year ago:
My favorite cost cutting tip is to avoid big webapps running on docker, and instead do with small UNIX utilities (cron instead of a calendar, text files instead of note taking app, rsync instead of a filehosting dropbox-like app, simple static webserver for file sharing, etc). This allows me to run my server on a simple Raspberry Pi, with less than 500mb of used RAM in average, and mininal energy consumption. So, total cost of the setup:
- Raspberry Pi : 77€ x 2 = 144€ (I bought two to have a backup if the first one fails)
- MicroSD 64gb : 13€ x 2 = 26€ (main and backup)
- average energy consumption : 0.41€ (2kWh) per month
With that, I run all services I need on a single machine, and I have a backup plan for recovery of both hardware and software.
Getting used to a UNIX shell and to UNIX philosophy can take some time, but it’s very rewarding in making everything more simple (thus more efficient).
- Comment on What is the level of detail possible for 1:72 figures with PLA? 1 year ago:
I have both a resin printer and a FDM printer, I can confirm the price difference exists, but is not prohibitive (resin is about 2x PLA). The difference of quality is mind blowing, though (in favor of resin printer). If you’re building an army, I assume you will have many pieces? If so, the difference of printing time is also mind blowing in favor of resin printer. The resin for that being that if you print 10x the same mini or your build surface, with FDM it will take 10x the same time (the printing head must move to cover each point) while with the MSLA (resin printer), it will take… 1x the same time. That’s because each layer is flashed from a PNG image, so all points of a layer a created at the same time.
An other thing to know, though, is that resin printing is way more messy. You will manipulate toxic products, that you can throw in the sink, we need gear to cover your hands and face, and resin ends up everywhere and is near impossible to clean. But it’s worth it, especially if you’re into minis. :) FDM, on the other hand, is unbeatable for functional prints (because those resin prints are damn fragile, and tend to not be perfectly at the scale you designed).
- Comment on Modernizing an Ender 3 1 year ago:
Oh, I see. Yes, that may very be a matter of point of view. For me, modding the printer is part of the fun, not something I do to try desperately to stay on the cutting edge. :) The RepRap dream of “printers that can reproduce themselves” never fully materialized, but modding is the next best thing.
- Comment on Modernizing an Ender 3 1 year ago:
Are they still sold, anyway? I mean, sure, someone who has no printer should buy a more recent one. But that was not the subject, here : the question was if it was needed to replace an Ender 3. I certainly would not, personally, it would be throwing out a perfectly good printer for incremental upgrades. Of course, it depends on the usage. For someone who uses their printer professionally to serially print all day, sure, it’s probably worth it upgrading. Me? I really don’t care if my prints are slower. I really don’t find the Ender 3 hard to get a print right either. But I’ve been printing since the wooden Printrbot Simple about a decade ago, maybe I’m just used to it.
- Comment on Do any of you use Raspberry Pi’s ? 1 year ago:
I’m using a pi4 8gb as my server, with a pi4 2gb as backup in case the first one dies. It’s a very classic server, running postfix/courier-imap for mails, lighttpd for web, bind9 for dns, ergo for irc, sqlite3 for databases. I also use fail2ban for IDS and cron to run tons of various task. All of that is hosted on a Gentoo linux OS.
The one thing I don’t want to use is docker. I love docker for development or for deploying the main app at work, but it makes managing updates a nightmare for handling multiple services on my server (most your containers probably contain vulnerable software due to lack of system updates), and it eats resources needlessly. Then again, it’s made possible because I avoid the big webapps that usually need it.
- Comment on Harness launches Gitness, an open-source GitHub competitor 1 year ago:
At the very least, it means the CEO doesn’t understand the domain. It may be because he sees this part of the business as secondary and less important, or because it was developed so fast he didn’t have time to grasp the concepts, probably he was not a driving force in that effort. I certainly hope the tech side is more aware. Without more proof of CEO implication, I certainly would not bet on that horse to survive in the distant future, though.
- Comment on Harness launches Gitness, an open-source GitHub competitor 1 year ago:
Actually, I do use git bare repos for CD too. :) The
ROOT/hooks/post-update
executable can be anything, which allows to go wild : on my laptop, a push to a bare repos triggers deploy to all the machines needing it (on local or remote networks), by pushing through ssh to other bare repos hosted there, which builds and installs locally, given they all have their own post-update scripts ; all of that thanks to a git push and scripts at the proper paths. I don’t think any forge could do it more conveniently.For me the main interest of forges is to publish my code and get it discovered (before GitHub, getting people to find your repos hosted on your blog’s server was a nightmare). Even for the collaboration, I could do with emails. That being said, most people aren’t on top of their inbox, in which mails from family is mixed with work mails and commercial spam in one giant pile of unread items, so it’s a good thing for them we have those issue trackers.
- Comment on Harness launches Gitness, an open-source GitHub competitor 1 year ago:
^^
Oh, my apologies, Sourceforge! Say hi to Myspace for me!
- Comment on Harness launches Gitness, an open-source GitHub competitor 1 year ago:
That’s the name we use to designate software like GitHub, GitLab and similar, which provide repositories hosting and tooling like issue trackers. It’s supposed to be named because of SourceForge, the oldest of such tools, although I didn’t hear the term “forge” before the last 5 years or so, long after SourceForge demise, so I imagine there is a bit of nostalgia in this name (not sure who is nostalgic of SourceForge, though 😂). The wikipedia page : en.wikipedia.org/wiki/Forge_(software)
- Comment on Harness launches Gitness, an open-source GitHub competitor 1 year ago:
The worst part is that this is a direct quote from Harness’ CEO, not from TechCrunch author. :) Maybe they have a great product, I don’t know, but it certainly feels like an amateurish launch. :D
- Comment on Harness launches Gitness, an open-source GitHub competitor 1 year ago:
There hasn’t been a new Git repo launch in almost a decade
Am I the only person annoyed they seem to mistake repositories for forges? It’s already annoying when casual users say “git” for “GitHub”, but those guys actually want to build a forge, explaining they’re going to do better than anyone else. Maybe start by properly using the terms?
- Comment on Modernizing an Ender 3 1 year ago:
Has there been so much going on in the market? I’m still using my Ender 3 and I’m not sure what I would add to it, it serves me well (I already added a BL Touch, in the early days I got it, and a glass bed, although I don’t see much different with that last part). It’s just doing the job perfectly. 🤷 That being said, I only use it for functional printing. I way more often use my Elegoo Saturn (a resin printer), as I use it to print my tabletop minis.
- Comment on Looking for emotional support .. 1 year ago:
That sucks, sorry for you to have to go through that. Do you already know modeling/sculpting? If not, that’s the perfect time to get into it, and really be able to do anything with your printer when you get it. :)
- Comment on Fediverse or Decentralisation? 1 year ago:
I’m sorry to say that, but you get you’re definition wrong. “decentralized” means “which has no center anymore”. ActivityPub is decentralized. The usual criticism of the Fediverse by peer to peer networks such as Secure Scuttlebutt or Dat is not that ActivityPub is not decentralized, but that it will eventually “recentralize”, like client/server models tend to do, when one instance capture all the traffic (like Gmail with SMTP, we already see signs of that with mastodon.social, but we’re still very far from it to be a center). I think that maybe you’ve been exposed to that argument and misunderstood it?
What you really want to say is that ActivityPub is not p2p. You can criticize the fact that there is a server/client model behind it, which means that users don’t really own their data and can lost it if the server goes down - that’s a valid criticism.
To which I would answer that it’s a tradeoff. :) ActivityPub is built on top of HTTP, the well known protocol on which the web is built. This makes it dirt simple to build an ActivityPub app. The difference of adoption rate between SSB, Dat or IPFS and ActivityPub has nothing to do with luck. It’s HTTP and JSON, it’s just simpler to build on top of ActivityPub. Not only that, but it’s a w3c standard. Which means, for people like me who have been burnt by building apps on top of the Beaker Browser only to see it abandoned, that we can trust there won’t be any rug pull. That matters.
And of course, you can also… run your own server (look into self-hosting if you’re interested in that, there’s a vibrant community here on Lemmy about that). If you run your server, then you own your data and the other servers become your peers. The idea that only big companies can have server is a very centralized way of thinking.
- Comment on What's your preference for a text chat server (e.g. IRC/XMPP/Matrix/Zulip/etc.)? 1 year ago:
Yep, as often, the extension of the standard comes from non standard features developed here are there (as you can see in the participating organizations block, most of the big names are working on this). The difference in ircv3 is that you can expect to see all those features everywhere, instead of having this software implementing this feature, that other one having that other feature, and you have to choose which one is the most important for you. Basically, it’s a rebase. :)
- Comment on What's your preference for a text chat server (e.g. IRC/XMPP/Matrix/Zulip/etc.)? 1 year ago:
They do maintain the simplicity of the line oriented protocol, so I’m fine with that. :)
That’s the strongest point of IRC, IMO, and why it’s kept so simple : every instruction is a line, period. It makes it incredibly simple to build on top of it. You don’t need to introduce a dependency to a project that probably will be abandonned in a few years, at which point you’ll have to rewrite your codebase to use an other dependency, for a few years. You just open a TCP connection, you read lines from the socket and write lines to it, each line is its own instruction structured in well known fields, and that’s it. It’s so simple!
As long as IRCv3 sticks to that, they have my blessing. :)
- Comment on What's your preference for a text chat server (e.g. IRC/XMPP/Matrix/Zulip/etc.)? 1 year ago:
The good news is that with ircv3 being worked on, it may soon(ish) be quite dusted. :) It adds features like reply threads, history from when you weren’t connected, message editing and deletion, and more!
- Comment on Be honest folks, how bad are y'all's resin build plates? 1 year ago:
Thanks for letting me know. :) Gladly (i guess), I gave up quickly and kept it dirty. With my second resin printer, I similarly learned to really really be cautious! I now have two pairs of gloves, one for before washing the print, and one for after. It sort of does the trick, but the desk on which the printers sit is still a mess (a bit less so since I use a silicon cover on top of it and make sure to manipulate things only in that area).
- Comment on Be honest folks, how bad are y'all's resin build plates? 1 year ago:
I’m more annoyed by the state of my pastic lid, to be honest. No amount of IPA have ever succeeded in making it clean. 😂
- Submitted 1 year ago to 3dprinting@lemmy.world | 0 comments
- Comment on Ideas for self-hosted services 1 year ago:
Take back the control on your data, that’s the whole point… :) Where are you regularly saving data? Those are the prime candidates. Look at self-hosted alternatives for those services. I know big webapps hosted in docker containers managed by kubernetes is all the rage around here, but you can often find Unix style equivalent for such services, the main advantage of putting it on a server being to be able to access it from multiple devices. But you do you, if you prefer hosting big webapps, that’s fine too. :)
- Comment on What do you prefer for a self hosted calendar? 1 year ago:
I organize my crontab by having group of tasks (the programs, the holidays, the housecleaning, etc), and the events (the non recurring tasks) come last, so I just list the crontab (
crontab -l
) and the list of things to come print to the screen, that block being at the end of the file.I don’t know if there is a program that lists like “what is coming this month” if you really want to filter out the rest, but it should be easy enough to write, given the format of cron rules:
crontab -l | grep '*' | awk '{print $4 "," $3 "," $2 "," $1 " " $0 }' | sort -n | grep -E "^$(date '+%-m')"
crontab -l
: list the crontabgrep ‘*’
: keeps only rules (removing blank lines and comments)awk […]
: print the whole line ($0
), prepend by the 4th field (the month), the 3rd (the day), the 2nd (the hour) and the 1st (the minutes)sort -n
: sort everything numerically, so that all tasks are now in their execution date orderdate '+%-m
: prints the current month, not zero padded (thanks to the ‘-’)grep -E ‘^’
: keep only lines which starts with the current month number
This could but refined further to display dates in a more friendly format. But as usual, Unix is your friend. :)
- Comment on What do you prefer for a self hosted calendar? 1 year ago:
I’m going to pass for the crazy person around, but so be it : cron.
Cron can be easily configured to send mails (
MAILTO
variable when using standard cron), providedsendmail
is available on the system. If a command called by cron outputs anything, it will send a mail with the content, which is useful by itself to warn when something goes wrong with a cron task, but also allows to do things like this:0 9 28 9 * echo birthday John
It’s really easy to get used to the syntax, it’s just going from more precise to less precise, so it’s “minute, hour, day, month, *”. The last one can usually be ignored (it’s the day of the week, I must have used it twice in my life). So here, “0 9 28 9”, you read it backward and it gives : September, 28th, 9:00. Piece of cake when you get a bit of practice. And cron is everywhere, so no need to install anything. Although, since I run it on my laptop, I use fcron, which has a nice feature to run ASAP tasks which should have ran is the computer was not shut down. This way, I never miss an alert.
I use it for recurring notes (like birthday, paperwork, house cleaning tasks, holidays, etc), but also as reminders of specific dates when I expect a delivery, have a meeting, etc. For the most important messages, I make it use a script that will make a destkop notification (with notify-send) and have a voice read the message (with mimic). And of course, I also use it to actually launch programs. :)
- Comment on What will be the top active post on lemmyworld/c/fediverse on 1/9/2033 at 11am GMT (while we are at it we can also already try to answer it) 1 year ago:
2033 is maybe a bit too far for me. :P Here one for 2027 : “Y (previously known as Reddit) finally shuts down after failing its pivot to b2b AGI support board. CEO says the world doesn’t deserve Y anyway.”
- Comment on Would you agree to algorithm-generated timelines if there were sufficient tools to check whether the timeline on an instance work as promised? 1 year ago:
Bluesky already implemented that
Oh really? Awesome. I’m still not going to use a generalist social network, but they’re doing it right. :)
although most users will just stick to the default one
Yeah, indeed. My taste for tinkering may be showing, I should acknowledge it’s not something widespread. 😅
- Comment on Would you agree to algorithm-generated timelines if there were sufficient tools to check whether the timeline on an instance work as promised? 1 year ago:
I would one up that suggestion : what could be awesome would be to allow users to choose which sorting algorithm they use, and possibly tweak it. This would allow people to share the sorting logic they like, and there would be no trust issue, since you can verify the logic is respected by changing it.
Not sure how realistic this proposal is, though, because this could lead to performance issues if users submit too complicated sorting logic, which could be exploited to DoS an instance. On the other hand, it could be solved with a timeout mechanism : “if your query takes more than 100 ms to load, we kill it”. And also, you can’t just let users run arbitrary SQL, obviously, so this would require to implement some sort of meta-language safely transpiled, this would be the real challenge.