I the past couple of months, I didn't have much time to work on the site(s), but now I'm back on track. Since last weekend, I experimented a bit with AI, tried out various differents models/apps/services and prompts for automating common tasks like collecting content for programming cheatsheets, and converting cheatsheets from Markdown to HTML. Unfortunately I had to realize that most offline AI apps/models are pretty trash, they either crash constantly with larger models, are extremely slow, or miss the option to attach documents (which is important for converting a cheatsheet). I tried Ollama's new online service too, but it requires registration, and also asked for a valid phone number, I just refused to provide that. I ended up with Proton Lumo, which does a not perfect, but decent job at both information collection and cheatsheet conversion. I also made use of the new Projects feature (covered in last week's news post), made some prompt aliases, which aren't necessary but make prompting for repetitive tasks more convenient.
I also managed to finish another Java cheatsheet, the one about arrays, which you can already access in the beta version of both the original and Min site:
https://fosseryweb.codeberg.page/@beta/cheatsheets/java/array.html
https://fosseryweb-min.codeberg.page/@beta/cheatsheets/java/array.html
If you notice any bug or typo, feel free to drop a comment.
I also tested the original site with the new Servo and Pale Moon releases, but nothing changed, there are still the same compatibility issues.
The last 2 planned Java cheatsheets (Lists, Maps) will probably be available in the next 2-3 weeks if everything go as planned, then I focus on the other stuff, like making the sites more offline-friendly, writing the contribution guide and Privacy Policy, etc.

#FOSS #FosseryTech #FosseryWeb #FosseryWebMin #OpenSource #Website #AI #ArtificialIntelligence #Programming #ProgrammingCheatsheet #Cheatsheet #Java

Java Array - FosseryWeb

The most basic data structure to store multiple piece of data of the same type.

While focusing on code refactor, bug fixes and minor improvements in the last update, this update brings much more exciting changes, including randomized quiz questions, option to download all programming cheatsheets per language, and more.

RANDOMIZED QUIZ QUESTION

This one is the most requested feature according to the User Survey, and now it's here, in fact, I went even further then originally planned. I didn't just randomize the questions, but also the answers to the individual questions, so you might get the same question when taking the same quiz multiple times, but with different answer options, including different correct answer (e.g. for the "Which Linux distro is Debian-based?" question, the correct answer isn't always the same, since there are a ton of Debian-based distros out there)! In each quiz, 10 questions are chosen randomly each time from a pool of question, and within a question, 1 correct and 3 incorrect answers are also chosen randomly. There are 54 possible questions for the Linux quiz, 55 for HTML-CSS-JS quiz, 26 for "Programs, services, FOSS quiz" (I'll add more questions over time).

All quizzes: https://fosseryweb.codeberg.page/quizzes/

> Wait, what? Programs, services, FOSS quiz? What happened with the Privacy quiz?

See reply ๐Ÿ˜‰

#FosseryWeb #FosseryWebMin #Quiz #WebDev #Website #FOSS #OpenSource #FosseryTech

Games - FosseryWeb

Are you bored? Check out some games.

Last week I shared a survey, in which you could tell your opinion about FosseryWeb, and choose a feature/improvement you would like to see the most.

In case you missed it, you can still submit it: https://cryptpad.disroot.org/form/#/2/form/view/5L0eQZFQ1-oS3tpRCgt838ibvIcVIdDxclJQ-PaACs8/

Let's see the answers per question:

Which site do you use?

- Original FosseryWeb - 3 votes
- FosseryWeb Min - 1 vote

How often do you use it (approximately)?

- Daily - 0 votes
- Weekly - 1 vote
- Monthly - 1 vote
- Very rarely - 2 votes

Which feature do you use the most often?

- Password generator - 1 vote
- Username generator - 0 votes
- CSS code minifier - 0 votes
- Articles - 1 vote
- Quizzes - 1 vote
- Programming cheatsheets - 1 vote
- BrainlessGPT - 0 votes

Which new feature/improvement would you like to see the most?

- Randomized quiz questions for all quizes and better questions for Privacy quiz - 3 votes
- Java cheatsheets - 1 vote

The rest (Python and SQL cheatsheets, download all cheatsheets of a language, JS object and DOM maniplation cheatsheets, improved keyboard navigation and screen reader support) got 0 votes. I may or may not implement those. But if you would like to see those features/improvements too, you can drop a comment.
For now, I'll implement randomized quiz question and better Privacy quiz question first, then Java cheatsheets (you can write topics you would like to see covered, in comment).

What do you like the most about FosseryWeb?

- "The owner of the website." - Thanks, I appreciate it!
- "The quizzes, because they are fun :DD" - Glad you like them. They will become even more fun soon when questions will be randomized.

Do you have any concerns about the site (e.g. privacy, something not working as you would expect, etc.)?

- "Not really."
- "No, i love you Man ๐Ÿ’›" - Love you too

Is there anything you dislike about the site?

- "No, definitely not!"
- "Why would there be?"

Anything else you wish to share?

- "Yes, I am a Saab J 35A fighter jet." - Good for you, I guess

#FosseryWeb #FosseryWebMin #Website #WebDev #FOSS #Privacy #OpenSource #FosseryTech

A new Timeline page got added to both FosseryWeb (https://fosseryweb.codeberg.page/timeline.html) and FosseryWeb Min (https://fosseryweb-min.codeberg.page/timeline.html) where you can take a look at how these sites improved over time, and what are the future plans for the sites.

Speaking of plans, I just created a survey where you can tell your opinion about the site, and there's also a question, where you can choose a feature/improvement which you would like to see the most. You can also write your own idea, which I'll add to the answers, so others can vote to it. The more vote a feature/improvement gets, the sooner it will be implemented. Most questions are optional to answer.
https://cryptpad.disroot.org/form/#/2/form/view/5L0eQZFQ1-oS3tpRCgt838ibvIcVIdDxclJQ-PaACs8/
The survey is available via Disroot's CryptPad service. Here you can read Disroot's Privacy Policy before answering the survey: https://disroot.org/en/privacy_policy
I set the survey to allow both anonymous submissions and providing a username optionally, account creation is also optional.

#FosseryWeb #FosseryWebMin #FosseryTech #Survey #Website

Timeline - FosseryWeb

Let's take a look at the evolution of FosseryWeb!

I just made a huge code revamp and bug fix update to FosseryWeb, with the main focus in making the code more clean, maintainable in the long run. (It used to be kinda messy.) I also fixed a few minor bugs, and implemented other smaller improvements. The update focuses on the original FosseryWeb (https://fosseryweb.codeberg.page/), but some change are made on the Min site (https://fosseryweb-min.codeberg.page/) too. Also, many changes are inspired by the Min site (especially the code organization part).

VISIBLE CHANGES

- Utilities renamed to utils (to match new URLs), games to quizzes (to better match the actual content)
- Add hooks to articles and About page (on FW Min too), merge hooks with headings (to make design cleaner)
- Sidebars on article pages updated, social links are removed, a link pointing to the "Social links" section of About page sidebar (which appears on the bottom of the page on mobile) is included instead (on FW Min too), to reduce efforts of updating social links in the future, avoid potentially outdated social links
- Link to Min page added to footer, social links removed, only a single "Social links" link is included, also pointing to About page sidebar
- Reduced space between card image and card heading, increased space between card heading and "requires JavaScript" label on menu pages
- URLs changed for most pages (due to changes to code structure, see "Code changes" section of this post), old URLs point to "redirect" pages where the new URL of the given content is linked. If you have some pages other than the home page bookmarked, make sure to check whether it's affected by the change, because those "redirect" pages will be removed in a few weeks. Sorry for the inconveniences!
- Headers and footers can now load with JavaScript disabled on all pages

Read more in comments

#FosseryWeb #FosseryWebMin #FosseryTech #FOSS #OpenSource #Website #WebDev #WebDevelopment

I started to develop a minimal version of FosseryWeb 1-2 weeks ago, with the aim of Dillo and NetSurf compatibility, I just "finished" the site (in the sense that all articles and cheatsheets are available there).

In the beginning, it was a bit challenging to find ways to implement the planned design in a way that it isn't broken in the above mentioned browsers, but actually it was a fun challenge, it was a bit like a "don't use modern CSS features" challenge lol. I had to make some changes to the originally planned design to make it work, but hope you like it.

Besides the compatibility thing, I also made the site as lightweight as possible, by including only the necessary CSS styles for each page (mostly), and only include images where it's necessary (e.g. in a few cheatsheets).

https://fosseryweb-min.codeberg.page/

If you noticed a bug or have any recommendation, feel free to drop a comment.

I'm aware of some article/cheatsheet download issues mentioned on the Known issues section of the About page (https://fosseryweb-min.codeberg.page/about.html), but I couldn't find a solution for those yet (some of those are browser-related, so I can't really do anything about them I guess). I could solve the Dillo issue by including Markdown files in zip, but even then, unzipping it is one extra step, so it wouldn't be any better than right clicking on the link imo.

#FosseryWeb #FosseryWebMin #MinimalWebsite #Website #WebDev #Dillo #NetSurf #FosseryTech

FosseryWeb Min

The minimal version of FosseryWeb, designed to be compatible with any (GUI) browser, including Dillo and NetSurf (mainly tested in those).

JavaScript cheatsheets are now available on FosseryWeb Min:
https://fosseryweb-min.codeberg.page/cheatsheets/js/
(I know it's a bit ironic on a minimal JS-free site, I just thought I make these available on the Min site too, since I already made them for the original FosseryWeb earlier.)

#FosseryWeb #FosseryWebMin #MinimalWebsite #Programming #ProgrammingCheatsheet #FosseryTech

JavaScript cheatsheets - FosseryWeb Min

A programming language to handle user interaction on websites (e.g. like, comment, registration).

CSS cheatsheets - FosseryWeb Min

A frontend language to style HTML elements and customize the layout of the website.

HTML cheatsheets - FosseryWeb Min

A markup language to create elements of the website.

Articles - FosseryWeb Min

Some articles in various Linux/FOSS topics I shared on Odysee/Mastodon.