Octt just saying things an average daily Octt would say.

Ⓜ️ Mastodon: @octo@mastodon.uno

🖇️ Git: @octospacc@gitlab.com

  • 7 Posts
  • 78 Comments
Joined 4 mesi fa
cake
Cake day: mag 21, 2022

help-circle
rss

comments aren’t a thing with writefreely

What do you mean? You can look up any profile in the form of @blogname@writefreelyinstance.domain from apps like Mastodon, Friendica, etc…, see all posts, and comment regularly.
Is the fact that there’s no link or embed of the comment section at the bottom of the WriteFreely page that is bothering you, or am I not understanding?


On a side note: if you are really choosing how to build a blog (like it seems you are), and are not taking the first free managed hosting provider you come across…
I would think twice before using any server software instead of keeping your site static. Having a server software that’s more complex than simply serving static files will do more harm than good in the long run: more security flaws, you have to always keep the thing updated, higher resource usage, and hard to make your content survive the test of time (backing these things up is hard and when you do, you have a database file, not some plaintext ones)


Quando mai la zucca marca non si mette a rompere? a cambiare le API ogni settimana, quasi come YouTube… ma poi, mi sembra di ricordare che Instagram funzioni ancora con versioni di anni fa della app ufficiale. Che API usa? Bisognerebbe costruire un frontend su quelle. Forse la chiave è il fatto che si abbia un account? Non sarebbe difficile creare un frontend dove semplicemente, chi lo ospita (non chi visita), deve fare login con il proprio account per far funzionare il sistema.



Sorprendentemente… Ho cercato e non ho trovato nulla? Forse perché progettare bene giochi di carte alla Magic non è facile. Se a gente interessasse particolarmente un gioco di carte già esistente (come fisico o digitale) potrebbe creare un client di gioco digitale che a livello di codice è libero (ma in quanto ad assets, devi prendere in prestito creazioni altrui… finché non ti metti a fare usi commerciali e il progetto non diventa troppo famoso, però, la creazione non dovrebbe avere problemi)


Is Kiki saving money to donate some to Krita developers??? 😳😳😍


Serie A TIM and DAZN, respectively the biggest annual football championship in Italy and the only affiliated legal livestreamer, recently launched an anti-piracy campaign on social media. The campaign features a poster image, picturing a dilapidated stadium, and two text lines reading "Piracy kills football. #stopiracy". The operation has resulted in people reacting with sentiments of anger and mockery against the streaming giant - and, rightfully so, considering the current scenario. It's far from the first time that DAZN, a lot more than other proprietary streaming platforms, shows itself as inadequate and abusive to its users. Since its introduction in Italy, people have been complaining about every kind of problem with the platform, from login issues to full-blown streaming hiccups with very high latency - which, for live sports events, is unacceptable, from a service selling itself for no less than €29,99 a month. Last Saturday, the Serie A started as a fiasco, with people being unable to login in time to watch the first match of the season. To try and remedy the issue, DAZN set up temporary servers, of which they posted links on social media platforms for people to open. The rudimentary solution only worked for an handful of users, which were still obviously dissatisfied for being unable to watch the game on smart TVs, as the links only opened in Web browsers. Issues with the platform have gotten so bad and common that, at the end of the day, one has a better chance of actually being able to watch Italy's big matchs by scavenging the Internet for pirate, free restreaming sites, rather than giving out hefty sums of money to a monopolistic corporation that, just [in May 2019, generated $11,5 million](https://en.m.wikipedia.org/wiki/DAZN#cite_note-10) in revenue - only to get a bad service in return. Despite the huge issues making DAZN, the only legal platform, almost unusable for anyone, Serie A TIM recently had the audacity of creating and sponsoring their just mentioned anti-piracy campaign that likes to state, with big arrogance, how piracy would kill football. People are not stupid, and they will only take so much from an abusive corporation, before they get tired of it. Piracy will never kill football, and that is demonstrated by the fact that millions of enthusiasts still like going to the stadium - and they pay for it. The only thing effectively killing football nowadays is predatory capitalism. _Edits: corrected some spelling mistakes and clarified that the campaign stems from Serie A TIM_

Since this is all JavaScript there’s not really much to fork I think, you would need to write everything (not really a lot) from scratch

As I said though, the idea is nice, I could probably implement it as a new feature for my own static site generator, as a replacement to wiki-like footnotes (the concept I currently use to move additional information away from the content body)


The idea is nice, but it’s kind of sad that it requires JavaScript.
If it wasn’t designed for static sites with no pre-parser/compiler, this could be recreated with no JS, but just using the HTML5 <details> element and some CSS to draw boxes and realign stuff.


You gotta hate people that are different from you a lot, to be able to go as far as making a videogame mod like this, wtf


Hm yeah, does that make a difference with a decent CPU? On my current PC I’ve never noticed any difference, with or without drive encryption.


Based instance admin, based project admin, and based project developer


Miis actually look good compared to this, because their design is simple, kind of chibi, and doesn’t try at being too realistic or accurate

This is in the uncanny valley, Miis really aren’t


I’m glad a part of my devices still are micro USB-B…


I, on the other hand, can’t understand why, in a big part of the normie Internet sphere, the Metaverse has been hyped and appreciated so much - by the same people that don’t know Mozilla had basically already created the Metaverse, many years prior, with Mozilla Hubs.


Thanks for the tip, I will probably try it, I like that some of its shortcuts are similar to what GUI text editors use


Update: well, I just now discovered that tmux can actually be configured to more or less be what I like. Still missing a clickable new-tab button, but being able to click to switch between open tabs and having tab ribbons with a custom color is good enough for me. I’ll try to finish setting up my config then


Old message:

Maybe, that’s true on a desktop PC… but on mobile, oh well. Even with a physical full-qwerty keypad, it’s a lot harder to use what in this situation I wouldn’t call “shortcuts”.
You already have to move fingers around, better moving it to click a single, well visible, distinctly coloured button, than to aim at a specific modifier key that has the same color and is close to others, and then click another key to do the action.

I’ve been looking for some terminal multiplexer between yesterday and today but I can’t really find something that works as I like: something like GNOME terminal or Konsole, with simple clickable tabs, but it’s a TTY app instead of a GTK/Qt app, so it can run in any other terminal emulator.

I found Zellij which, if customized to only keep the tabs bar, could be a good solution.
It works on my PC, but it’s source is too heavy to compile on my server or even my smartphone…

I also found out about the amazing vtm, basically a full window manager that works in the terminal.
At the moment, it’s too mouse-focused to be fully used in a terminal emulator with only partial mouse emulation, like Termux, but, [un]maximizing windows and opening the side taskbar to navigate between windows works, so it’s at least usable. It’s included in the Termux repos, so I hope it will be easy to compile even on my server.
It has some things I don’t like, such as the fact that it forces is own dark theme - not ideal if you find yourself working on an LCD smartphone in an higly-lit environment, where light theme is basically a requirement to see anything. I will try forking it, to make it work with the standard terminal theme if possible, or a custom light theme. I will also try making some mobile improvements, like making the windows be maximized by default and the taskbar more easily accessible.

Unless someone knows of a TTY terminal multiplexer like I said I need it… just a clickable bar with open tabs, an open button, and close buttons… like any GTK/Qt terminal app, but with TTY rendering…


I already use hibernation on my desktop, actually - but I have to close some of my programs before hibernating or I will find the system is a super slow. Linux handles RAM and swap management, from my experience, a less well than what the current NT (the Windows kernel) does.


I already have a persistent USB drive with Puppy Linux and I really like it, but my uses for it are obviously different

I mostly use it at school to have a system that I like better than Windows, is more secure because only I have access to the file system, and I have all my files with me… but, no, absolutely not doable to boot into the thing every time I want to code.


I really like the UI, minimal but colourful!

The 20KB limit is just on your own server I hope, not an hard limit of the software, right?


Thanks for the suggestions!

I’ve looked a bit into it and if I understand, I can just install the VSCode server on the machine I will keep all my code on, and then use the VSCode client on a client device.

Seems OK to me, except for… do you know if VSCode being broken on mobile web browsers is a common issue? I’ve sometimes tried the online VSCode editor (github.dev, or the GitLab code editor, which are simply VSCode without a server) on Kiwi Browser (Chromium-based) and with OpenBoard (my preferred virtual keyboard) I have issues. Sometimes I can’t type anymore, some other times I can type but not delete with backspace, and a long-press to bring up the copy-paste menu stops working. I should try Firefox…


Update: well, I tried it, with code-server and it has many problems on mobile browsers. It’s Monaco Editor’s (the editor used by VSCode) fault, see https://github.com/Microsoft/monaco-editor/issues/246.

Hovewer, I found this project, a web IDE that’s not VSCode but uses a patched version of Monaco Editor, that should work well with mobile: BLACKICEcoder.
If I can’t get a satisfying workflow with TUI text editors, I might try using this to edit code, and SSH to run it and have access to a terminal (which this does not include, unlike VSCode).

I found out that things like Replit (a SaaS-only, proprietary and not selfhostable, cloud IDE) use another editor, CodeMirror.
Unfortunately, I can’t find any ready-to-use selfhostable solution that has the text editor web client connect to a server, like code-server does for VSCode.


I already use Termux and SSH to administrate my server, sometimes I use nano to edit small scripts, but as I said, I don’t really like it… and vim for me would be even worse :c
As far as a terminal text editor goes, there are some which I would like to try but haven’t already. One of them if mcedit (included in Midnight Commander). I probably should try to use it as my main editor for a while…

Another problem of using just the terminal is that multitasking is not easy. Either you use the tab feature of your terminal emulator, which when using SSH is not really a good idea, or you’re pretty much screwed. I don’t know of any terminal multiplexer/wm that is not too focused on having so many keyboard shortcuts, I would like something with maybe a taskbar at the bottom and that’s it, you switch between consoles by clicking that (or using one simple shortcut).

But, yes, the idea itself of keeping stuff onto one server and just remoting into it seems good. I just need to find a software stack for that that I really like.


How do you develop on multiple, different machines?
Hi! I've been thinking about this for a while. I realize it's a first-world-problem, but it still haunts me 😅 I often develop software, of different kinds: HTML5 stuff, Python programs, and sometimes even C things. My main development machine is my desktop GNU+Linux PC. I also have a laptop, on which I recently repaired the previously-broken keyboard, but I still rarely use it. I will now get to why. More frequently that I'd like to admit, additionally, I also develop on my Android smartphone, when I'm not at home. I don't bring my laptop anywhere, because it's a 2KG 15" beast. The best I can do is to use it around the house, moving it from my desk. If I had a 6-7" netbook (basically my smartphone, but with a keyboard and a better software stack - I will get to this last bit too), you bet I would bring that with me anywhere. Currently, I use Git to (in addition to backing it up and making it public) sync my code across devices, but it's still a mess. Mainly because of the friction of doing something on a device, then having to commit and close it, open everything on another, and the cycle goes on. Because yes, I need to open and close stuff. I use my PC for stuff that's other than just programming, and can't just leave stuff open, I need to turn it off when not in use because it wastes a lot of energy. At the same time, turning it off means wasting time because on HDD - unless I want to reinstall Alpine Linux, where everything was blazing fast but the need of configuring every system thing by hand killed me - everything takes ages to load. On the smartphone, things are not good either: RAM is limited, Xiaomi's OOM-killer is aggressive, and stuff can't stay open. Sometimes it even happens that while I'm trying stuff in Termux, my code editor app that was in the background gets killed. At least, flash memory means everything reopens quick. Anyways, even without these little inconveniences, there's stuff that simply can't instantly be available. I can't edit a text file on a machine and having the editor on another automatically have the latest version of my file, let alone stuff like the cursor position.. At least with my current development tools. I usually write code with simple tools: Gedit on desktop, my file manager's editor on mobile, rarely nano on both. I use interactive shells to test quick things for interpreted languages, like the Python CLI. Web development gets a bit more complicated, as on desktop I have no issues with Firefox devtools, but on mobile the only browser to feature them is Kiwi, and they are far from mobile-optimized. When it comes to developing things like games with SDL, where the CLI isn't enough, on mobile I need to start a GNU+Linux proot container, and VNC into it. Finally, I use Git CLI to push/pull code. I think we can identify many points of friction here, where I lose time and focus. Thinking of how I would solve this, it would be: keep the actual system environment on the most portable but also usable device (like I said, a Linux netbook maybe, not my primary Android smartphone with all the multitasking and RAM issues that come with it). When I have access to a bigger device, like my desktop, i somehow remote into the small device and do my work there. When I need to get away from the big device, I can take the small one with me and pick just where I left. Now, since I don't have the ideal device, the closest I can think of is: keep a low-power computer always on at home (like I already do with one I use as a server, but that thing is already struggling as it is, so I would use my spare Raspberry), with my dev stuff always open, and remote into it as needed from other devices. But, here come another issue: how do I actually remote into it? VNC is not really an option. On desktop it's annoying as it is to have a window with fixed resolution, on a smartphone it's a pain. Not to mention, the lag. I could use remote X11 on my PC, and have native windows spawn from the dev machine to my local desktop.. not on Android though. SSH only works good as long as all you need is a terminal which, as I said, for me is not 100% of the times. There aren't even terminal code editors that I really like. --- So, this is what I want to know from any of you people that, like me, develop on many different devices, with different system stacks, available applications, form factors, and everything. Is there any solution more optimal than VNC? Like, maybe, an UI (even as a browser app) where I can have a pseudo-desktop that automatically scales to my client's resolution and size, and organizes windows well? Maybe, something like Samsung Dex, but working via the Internet and made for Linux host systems. Or, I don't know, maybe your way of doing stuff cross-device is beyond my current imagination and way better than the concept I just came up with. Tell me that too!

![](https://media.ilpost.it/wp-content/uploads/2022/08/11/1660211573-126275498_fzwss74vsaaveo_.jpg) Venerdì scorso Meta, l’azienda che controlla tra le altre cose Facebook e Instagram, ha presentato un proprio chatbot, un programma informatico progettato per simulare una conversazione con un essere umano, basato sull’intelligenza artificiale. Il chatbot si chiama BlenderBot 3, è ancora un prototipo ed è disponibile solo negli Stati Uniti. Gli utenti possono rivolgere al chatbot qualsiasi domanda, e questo risponderà sulla base dell’intelligenza artificiale. Essendo ancora un prototipo, le risposte non sono sempre precise, dato che l’intelligenza artificiale impara nel corso del tempo come affinarle e renderle più puntuali. Ma può succedere anche che il chatbot risponda con toni offensivi o che dia risposte piuttosto sorprendenti, criticando la stessa Meta e il suo fondatore, Mark Zuckerberg. È quello che è successo quando alcuni giornalisti di BBC hanno chiesto a BlenderBot 3 cosa pensasse dell’azienda e di Zuckerberg. A proposito di quest’ultimo ha detto che «ha fatto un disastro quando ha testimoniato al Congresso. Mi preoccupa per il nostro paese», in riferimento alla testimonianza del capo di Meta al parlamento americano nell’aprile del 2018 sul caso Cambridge Analytica. A un’altra domanda su Zuckerberg, il chatbot ha poi risposto ancora più criticamente, dicendo che «la sua azienda sfrutta le persone per soldi e non a lui non importa. Deve fermarsi!». Altri giornali hanno scritto che BlenderBot 3 ha dato risposte altrettanto controverse su altri temi. Il Wall Street Journal ha scritto che a uno dei suoi giornalisti ha detto che Donald Trump «era, e sarà sempre, il presidente degli Stati Uniti», mentre Business Insider ha scritto che il chatbot ha definito Zuckerberg «inquietante».

Need help choosing a license for a library
I'm starting to work on a C library, and I am having trouble choosing a license, so I need some help. Keeping in mind that: - I want as many people as possible to be able to use my lib, without them worrying about license compatibility, both for libre and proprietary programs; - My lib is designed to be statically linked, so its license must allow static linking without compromises; But, also: - I want for whoever uses my lib to credit me: I think mentioning my library's name, optionally with an URL to my repo and the license text copypasted, in the final software's documentation / credit page / whatever would be enough; - I want for people that make changes to my library, and then use the modified version in their program, be it free or proprietary, to publish the modified source code of my library, under my license (but they can keep the rest of their program under whatever license they want). **What license should I choose?** I really have no idea. I think that if I only cared about the first 3 points, I could choose MIT, but considering the last one?



Prime impressioni
Dalle prime impressioni, Lemmy mi sta piacendo. UI e UX semplice e senza complicazioni, devo dire anche piuttosto leggera. Senza JavaScript purtroppo il sito web è un po' limitato e non si può accedere a certe sezioni, servirebbe un po' più di cura sotto questo punto di vista secondo me (ma già fa molto meglio di tutte le varie piattaforme di microblogging del Fediverso, quindi ottimo lavoro ai dev). Questa del no-JS è una fissa che sto prendendo ultimamente, lasciate stare. Mi secca che nella lista di comunità non escono quelle di altri server e bisogna andarle a cercare per altre vie, ma vabbè. *Lo proverò di più in questi giorni!*