[-] jonathanvmv8f@lemm.ee 0 points 2 weeks ago

For further context, the website is virtually completely local and could be self-hosted. Aside from hosting the project itself, there is no central server to manage any aspect of the users' interaction with the site or allow communication with other users. There is no sensitive data stored barring the name of the user for which a pseudonym would be just as acceptable.

I think mentioning the ToS and privacy policy is pointless for creating an app like this. If it is possible, I would rather write them myself or omit them altogether.

43

I don't know what to write in both of these pages before I publish my project. I would greatly appreciate if someone would help me in this regard as I know nothing about the legal side of hosting open source apps nor do I want to spend too much time on this.

For context, my project is a web app that I specifically made sure to be as private as possible. All data generated by the user is made to be completely stored locally in the browser with no trackers or analytics installed. The data can be modified and deleted as per the user's will along with the ability to import and export the data as JSON files. A local account is required to save progress else the data will be wiped on exiting the site and the core functionalities of the site do not depend on whether an account has been created or not. The only privacy risk would be occasional loading of external resources like image links which I couldn't find a viable alternative to.

Frankly this is just a small side FOSS project which I do not intend to capitalise on. I still want to mention the TOS and the Privacy Policy just in case, but I couldn't be bothered to write all this legal matter by hand.

28

I am working on a small web app that stores user data locally using indexedDB which can be imported/exported by making use of JSON files. Since I plan on adding updates to the site, I want to know what best practices I should follow to make sure my app can allow importing of user data from older versions. It could be related to how I should define the properties of my user data object to make it future proof, or any library or tool I could implement that would make this migration process easier.

Do keep these points in mind:

  1. I am using NextJS to build this application and Dexie to manage indexedDB
  2. Without going into details, the user data file makes use of heavily nested objects and arrays and most likely won't fit in a cookie or even in the local storage API
  3. This web app acts as a proof of concept which must only make use of the aforementioned core technologies, regardless of whether more efficient alternatives exist or not.
[-] jonathanvmv8f@lemm.ee 35 points 1 month ago

I like to think that he forgets, keeps trying and then makes a new post about it

[-] jonathanvmv8f@lemm.ee 6 points 1 month ago

I would really like to get more about the 'business megaformal' option if I knew what it was called in real life

[-] jonathanvmv8f@lemm.ee 2 points 1 month ago

It was nice to have someone take this stand and I fully support this. People switching over to Linux already have their own stuff to deal with and need time to accustom to their new environment, and forcing them to embibe 'FOSS' philosophy and other strong opinions as held by others in Linux communities is only going to turn them off.

[-] jonathanvmv8f@lemm.ee 3 points 1 month ago

The Emptiness Machine by Linkin Park.

Listened to it for the first time two days ago and kept it going since

[-] jonathanvmv8f@lemm.ee 2 points 1 month ago* (last edited 1 month ago)

This is why [...] better

Sorry, what's the subject of that?

I was just referring to my original question i.e. how I should write comments in my code to explain its working if I have already done so in the code itself

[-] jonathanvmv8f@lemm.ee 1 points 1 month ago

Interesting to see your opinion on how commenting shouldn't be mandatory. I specifically go the extra mile to ensure my code is readable for everyone, by naming my variables and functions to be as self-explanatory as possible and breaking down long expressions to store chunks in variables. This is why I was feeling confused as to what more I could add to explain my code better, though I must admit there are still considerable complex portions in some of my projects that would appreciate similar simplification.

[-] jonathanvmv8f@lemm.ee 2 points 1 month ago

I believe you confused the 'how' of commenting the 'why' with 'why' of commenting the 'why', if that makes sense.

I am already aware of and totally agree with the need to document your code in this fashion for the convenience of others and self. What I am troubled about is its implementation in real life. How does one write comment that explains the 'why' of the code? How would I know if I haven't accidentally written something that explains the 'what' instead or anything that is simply redundant? It seems like this portion is left out 'as an exercise for the reader'.

[-] jonathanvmv8f@lemm.ee 24 points 1 month ago* (last edited 1 month ago)

Asking as a newbie programmer: how do you suggest we write comments that explain the 'why' part of the code? I understand writing comments explaining the 'what' part makes them redundant, but I feel like writing it the former way isn't adding much help either. I mean, if I created code for a clock, is writing "It helps tell what time it is" better than writing "It is a clock" ?

It would really help if someone could give a code snippet that clearly demonstrates how commenting the 'correct' way is clearly better than the way we are used to.

[-] jonathanvmv8f@lemm.ee 0 points 1 month ago

I got my gaming rig recently and played all the releases up to Rogue only this year. I assure you my specs are modest enough and it's just the game that is poorly optimised. Even Watchdogs 2 ran better than this.

[-] jonathanvmv8f@lemm.ee 0 points 1 month ago

Unity was the game I was most hyped for, especially because of its graphics and bigger maps. I even went to speedrun through the last three games to catch with the lore and begin playing it as soon as possible.

Alas, my PC couldn't meet up with the heightened hardware requirements and I had to give up after barely finishing the tutorial with the awful frame rates even with the settings set to minimal.

117

I recently learned about LocalSend and was intrigued by how it functioned by only using the WiFi network of the devices. I did not know my LAN had these capabilities.

Now that I've learned about it, I am excited to know if there is anything else I can do with it. Perhaps there could be a way to send prank notifications to all the connected devices, create a private chat room, or have custom LAN parties.

I genuinely do not know anything about how WiFi or LAN in general works in this matter. Is it possible for me to build my own applications that make use of these features? If so, I would love to get a direction on what resources or guides I should be looking for. If not, I would still be happy to use similar pre-built applications.

[-] jonathanvmv8f@lemm.ee 0 points 1 month ago

Thank you so much! I checked that he starred in the show 'Severance' which I just watched recently, which is why I could recognise his face.

159

cross-posted from: https://lemm.ee/post/41811290

I think the use of this meme format already counts as one

408
submitted 1 month ago* (last edited 1 month ago) by jonathanvmv8f@lemm.ee to c/memes@lemmy.world

I think the use of this meme format already counts as an example

31

I haven't used Photoshop in my Windows machine for a while. I only used it to do occasional stuff to my photos that simple photo editors cannot do.

When I opened the app, I was greeted with a banner and a dialogue box stating "this Adobe app is non-genuine and will be disabled soon". (Both were written in Japanese though the original app's language is set to English. I think it has something to do with my VPN.) I couldn't figure what the buttons said but one seems to redirect me to an Adobe subscription page and the other simply closes the app.

I don't have experience pirating stuff like this. I got help from another friend long ago in downloading the whole suite of Adobe products from what I think is a Russian source. I am pretty sure they told me to set up firewall restrictions for the app as well, and I haven't touched the installer or anything similar since then. I don't know if there is something I can do about this or if I should download an 'updated version' of the app from some other source.

343
295

cross-posted from: https://lemm.ee/post/41350739

918
submitted 2 months ago by jonathanvmv8f@lemm.ee to c/memes@lemmy.world
498
21
submitted 2 months ago by jonathanvmv8f@lemm.ee to c/linux@lemmy.world

cross-posted from: https://lemm.ee/post/40063668

As a Linux newbie, all I know about Arch Linux is that it is a DIY distro where you assemble the entirely of the OS by scratch. Somehow it feels like it is too easy than it needs to be, even if it is primarily meant for experienced users. I imagine it to be less like building your PC from parts bought from the market and more like building each and every component of the PC by scratch along with building the PC, which I assume to be much harder for the average consumer. It seems absurd how it is possible for a single person to incorporate the innumerable components required for functionality in a personal system that does not crash 100% of the time due to countless incompatibility errors that come with doing something like this.

I would like someone to elaborate on how it feels to 'build' a system software by yourself with Arch and how it is reasonable to actually do so in a simple language. I do have some experience in programming, mainly in webdev, so it's not like I need a baby-like explanation in how this works but it would be nice to get to know about this from someone who could understand where this confusion/curiosity is coming from.

9

As a Linux newbie, all I know about Arch Linux is that it is a DIY distro where you assemble the entirely of the OS by scratch. Somehow it feels like it is too easy than it needs to be, even if it is primarily meant for experienced users. I imagine it to be less like building your PC from parts bought from the market and more like building each and every component of the PC by scratch along with building the PC, which I assume to be much harder for the average consumer. It seems absurd how it is possible for a single person to incorporate the innumerable components required for functionality in a personal system that does not crash 100% of the time due to countless incompatibility errors that come with doing something like this.

I would like someone to elaborate on how it feels to 'build' a system software by yourself with Arch and how it is reasonable to actually do so in a simple language. I do have some experience in programming, mainly in webdev, so it's not like I need a baby-like explanation in how this works but it would be nice to get to know about this from someone who could understand where this confusion/curiosity is coming from.

view more: next ›

jonathanvmv8f

joined 1 year ago