I am passionate about connecting innovation with freedom, envisioning a future where technology uplifts everyone. Dedicated to coding and software development, my goal is to create meaningful advancements that enhance our liberties.

  • 0 Posts
  • 18 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle

  • Don’t worry too much about it if it doesn’t make sense to you. It can be really valuable if you’re deploying a substantial amount of IoT devices on the edge with no to little possibility to do over the air upgrades reliably or when the cost of failure is high (i.e. a technician has to be on site to fix it). So, sometimes you just want it to be running as stable as possible for as long as possible without management.



  • To add to all great comments here I have one that I’ve used for ages and not seen mentioned here: lftp

    It supports many protocols for ftp like over ssh and allows for shaky connections with resume and back in the days when this was more common I used to just run it in the background to download huge files that took days to download and it would gracefully just reconnect/resume/retry until done.


  • It works the same because the value of the last expression in the for loop is not used for anything. It’s the side effect of that statement that counts. Eg, the value of i is checked the next time the for loop is executed by the condition check. Try replacing i in the condition check instead with i++ or ++i and you would see different results.

    Something like: for (int i = 0; ++i < 10;) { ... }







  • @JustusWingert

    @technology @leopardboy @nyan

    My guess is that this actually regarded as a feature in the wider #fediverse. At least in the Mastodon community it is. Toots not being searchable/indexed and you discover topics and people to follow by looking for hashtags and organically setup and control your own home feed. This, leading to much frustration for many who’ve moved over from Twitter.

    Reasons being that it should not be easy for big tech (and others) to just slurp up and make peoples data open publicly for a wider audience through public search engines. A level of privacy and owning ones own data has been a priority over the inconvenience of not being as discoverable.

    Of course the same thinking does not apply or map equally well to the #threadiverse as it does to Mastodon. I’m sure there are workarounds and a way to make this more seamless for users, but this is just getting started. It was never an issue when everything was on a small number of instances which everyone knew about.




  • As a single developer taking on a passion project you go with what you know.

    Also it must have been near impossible to have foreseen the insane explosion of popularity that has happened here the last few days.

    Even then if you build something for passion you choose something that make you happy to use, however esoteric or impractical that may be to others, or how it would be perceived. Most probably it was never thought to be exposed in such a massive way, and certainly not as soon after the project was started (we’re talking month(s) here).

    Anyhow, for this project from the looks of it it is working fantastic.

    Personally I’ve not used PHP for years but now I’m actually intrigued to take a new look at it.


  • It is a conversational tool that can generate decent code if properly prompted but it lacks for the most part enough context. For it to be really useful it has to be able to be trained on my entire project that I’m working with, not just a single file or function.

    What I miss is the ability to “chat with my project”. I.e. have the whole project in the trained context, and then reason about architectural changes, pros and cons, have suggestions for refactoring, help with complex renaming schemes and moving code, etc.

    It would be super interesting to be able to give instructions like:

    • Organise my files by dependency and the logic they implement.
    • Or something like, create web components from common input elements in my html pages.
    • Where is the user auth code implemented?

    Things like that.


  • I’ve been thinking a bit about this lately since the Reddit migration started. I believe it could be solved at the client level at least. Unifying magazines over instances and behind the scenes pull in and follows twin magazines at other instances and presents them in a single abstract magazine.

    There are probably reasons why you at the server level or user level want the low level community access and behavior we have today but judging of all comments and how we typically behave as humans I would say that is rather the unusual case not the mainstream.

    Such users could easily then opt in at the instance level and everyone else looking for a more “centralized” experience can still have that through the client app.

    No doubt it would take some work but I believe it is very doable given my understanding of the Activity Pub protocol and how it works today.