jonathanvmv8f

joined 1 year ago
 

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 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 0 points 1 month ago (1 children)

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 (3 children)

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.

 

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.

 

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.

[–] jonathanvmv8f@lemm.ee 5 points 2 months ago (8 children)
  1. For Linux enthusiasts, how do you decide which distro you would like to try out next among the plethora of options that are available? The difference I perceive between majority of distros gets smaller the more I try to understand about them.

  2. What are the minimum issues I am likely to face using the most beginner friendly distro like Mint for programming and light gaming?

  3. How customizable is the GUI in Linux Mint specifically? What if I want a start menu like Windows 10 with the app list and the blocky app tiles? What about those custom widgets I see in hardcore Linux users' desktops?

  4. I heard there is no concept of file extensions in Linux. How am I supposed to work on my projects that I imported from my Windows machine that do contain extensions?

Bonus: Who creates those distro icons in color coded ASCII in the system info command in the terminal?

[–] jonathanvmv8f@lemm.ee 0 points 3 months ago

I am seeing this comment right after I finished 'Life is Strange'...

Tap for spoilerI think I will stay away from time travel for now

[–] jonathanvmv8f@lemm.ee 0 points 4 months ago

On a completely unrelated note, I had a first glance at the thumbnail of this article and I was convinced the photo was taken in real life until I noticed the 'cybernetic seam' on the subject's face. I almost couldn't recognise this as an in-game screenshot and I already consider myself adept in recognising such images.

 

Just a shower thought. Seeing how these structures took decades to build in their times, and that too entirely with manual labour, I was wondering how long these architectural marvels would take to be built in this post modern era with the help of our technological advancements.

Imagine the world has dedicated its focus and the entirety of its resources on building just one Pyramid as quickly as possible out of the same materials and in the same location as the original ones. The medium of construction has no constraints but the end result must be indistinguishable, structure and composition wise.

I would love to hear how the process would take place in addition.

 

I believe lighting plays a very important part in making a scene realistic when it comes to creating one artificially, like in 3D modelling. That is why I also think the lighting of these AI generated images is the prime source of what impresses people about these images since no matter how unrealistic or distorted the subject is, the lighting makes it look like a natural part of the background. This is clearly different from photos like from poorly Photoshopped ones where the subject feels deliberately inserted into the scene from a cutout.

I am interested to understand how LLMs understand the context of the lighting when creating images. Do they make use of samples which happen to have the exact same lighting positions or do they add the lighting as an overlay instead? Also, why is it that lighting doesn't look convincing in some cases like having multiple subjects together etc.?

[–] jonathanvmv8f@lemm.ee 0 points 4 months ago

Is it good to be engaged enough to be recognised in Lemmy? I don't know if the big players around here are just spending their entire day on Lemmy as many people on Redditors do. There is a small part of me that too wishes to be recognized as an active member in this community but I don't want it at the expense of my real life.

 

I was only caught up with the news to its release date and didnt bother to check on it since then. I don't plan to play it, but rather to check on the headlines and reviews surrounding it since I've heard some negative comments about the game. I know about the recent trends of the gaming industry but I was kinda hoping for Starfield to be better since I really dig the concept of open world and space exploration games.

[–] jonathanvmv8f@lemm.ee 0 points 5 months ago

Though I know very little of enum and never used it before, I think this is what I needed. I couldnt imagine there would exist a type exactly for this purpose since I could consider adding or deprecating data later in time. I would need time understanding how I need to restructure the current JSON object to accomodate enums, but I think it will be worth it. Thanks for you time!

[–] jonathanvmv8f@lemm.ee 0 points 5 months ago

Ive heard about enums before, but I never really paid attention to them since I never got a need to use them in any of my projects till now. I think this is exactly what I need. Ill research more on it

Thank you so much for your help

 

I have a JSON object with a huge array of nested objects. Let us assume it consists of records of license plates for vehicles. It would contain necessary fields like licenseID, issuingState, dateOfIssue, driverID etc.

What I am having problem with is how I should store data that is only used for exceptional cases, like a field for representing if the license plate is for foreign embassies (isEmbassyOwned) or if it is owned by a government entity (isGovernmentOwned) or if it is a learner license (isLearner) etc alongside fields with data types other than Boolean which would be empty or 0 and likewise when there is no information on that field. Let it be known that these exceptional scenarios would occur in less than 10% of total object instances.

I am facing confusion as to what format would be best for storing such type of data keeping balance between minimizing storage consumption and being human readable. Should I declare the fields for all objects regardless or only include them when they are not empty? Should I store them in a dedicated array instead, or maybe just introduce some code value to be used by a switch case operator in the interpreter? Or is there some other implementation I am not aware of?

 

I saw people complaining the companies are yet to find the next big thing with AI, but I am already seeing countless offer good solutions for almost every field imaginable. What is this thing the tech industry is waiting for and what are all these current products if not what they had in mind?

I am not great with understanding the business point of view of this situation and I have been out from the news for a long time, so I would really appreciate if someone could ELI5.

 

I am planning to create an open source project for a web application whose entire premise is to provide an otherwise paid service for free, so I am not planning to commercialize the project. This project is also a passion project. I seek to improve my skills by working on the application and I am not looking forward to expand it as an organization nor invest more time or resources into it than necessary.

However I want to know if I could ask for voluntary donations which support me on a personal level and not for the project itself. I want to consider it as a passive income and I don't care how much I receive in donations as long as I am doing it ethically and someone is willing to donate for this purpose knowingly.

If it is possible for me to ask for donations this way, how would it impact the domain of my website? Could I use .org for it being non-profit overall or would I need to use .com for asking for donations to be used for personal expenses in any manner? Or would I need to use a specific domain for this situation?

 

One year and 1.5 months to be more precise.

Suggest me some things I should look check out or look forward to now that I am back online.

 

I'm talking about things like approximate location, file/album specific media access, system wide camera and mic access, camera/mic use indicator, permission logs, data safety page for apps in play store etc.

Who are they trying to fool here? Any person who is truly aware about privacy knows Google cannot trusted in this domain. I don't believe Google just decided to turn 'not evil' in one night and bring all these additions that actually have any impact on us end users. Google might just as well have the same access to our devices' data if not more and they wouldn't mind letting third party apps have access to it. Operating at such a humongous scale globally, being the lifeline of nearly all individuals and industries and predating off them as their primary source of revenue, they have complete power to ignore or silence the privacy minded individuals like us, yet they bothered to implement and provide us these features.

I cannot come up with any reasonable answer for this apart from what I think of this as some sort of publicity stunt to compare themselves with the privacy features Apple introduced in their softwares. What are your thoughts?

[–] jonathanvmv8f@lemm.ee 2 points 1 year ago (1 children)

TIL they show ads for guns. What exactly do they advertise?

[–] jonathanvmv8f@lemm.ee 2 points 1 year ago (4 children)

Wait, is using GBoard with blocked internet access actually private? I read other people say it is like a keylogger, and probably would bypass the internet restriction.

view more: next ›