jonathanvmv8f

joined 1 year ago
[–] [email protected] 2 points 1 month ago* (last edited 1 month ago) (1 children)

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

[–] [email protected] 1 points 1 month ago (5 children)

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.

[–] [email protected] 1 points 1 month ago (1 children)

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'.

[–] [email protected] 24 points 1 month ago* (last edited 1 month ago) (25 children)

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.

[–] [email protected] 0 points 2 months ago (1 children)

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.

[–] [email protected] 0 points 2 months ago (4 children)

Who's the guy in the second panel? I swear I've seen this guy somewhere recently and it's been seriously bugging me

 

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.

[–] [email protected] 8 points 3 months ago
 

My latest personal project would look like this:

[–] [email protected] 4 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

 
 

For me, it is any city/building construction game like City Skylines, Two Point Hospital, Planet Zoo etc.

[–] [email protected] 2 points 4 months ago

I need more blog posts like these...

[–] [email protected] 4 points 5 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.

 

You would be immortal and all basic amenities essential for physical survival would be provided. You can have the age of your body according to your choosing and your mind won't blow off by accomodating endless amount of memory.

You can choose anything you desire and that too at any instant which may or may not exist in real life, like an endless supply of something or a companion with the same immortality powers as yours, but you won't be able to change it in the future and there would be no going back. Also you cannot alter your mind in any way that would enable to let you tolerate living for eternity or not get bored of things.

Ideally you would want to have everything just to be sure but by asking you the minimum requirements, it would making it more interesting to know what you think you could do without or what matters to you the most.

[–] [email protected] 0 points 1 year ago

Yeah, I didn't consider this reason, but it is plausible.

 

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?

[–] [email protected] 3 points 1 year ago (1 children)

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

 

Is this some sort of a convenience feature hidden behind a paywall to justify purchasing their subscriptions or does generating the codes actually cost money? If the latter is the case, how do applications like Aegis do it free of cost?

 

I am completely new to the realm of self hosting. I don't know a single thing about how I can self host stuff. Regardless, I have the curiousity to learn it by myself but I don't know where to start. I cannot find any sort of wiki or FAQ articles, nor do I have the ability to ask the forum for every single problem or doubt I encounter during the setup. Can someone direct me to a beginner friendly site that teaches all there is about self hosting and all the questions and misconceptions that come with it?

Additionally, is a self hosted server only accessible inside my home? What about accessing the services outside, like Bitwarden or Nextcloud apps that require syncing and availability of data wherever I am? If it is useless outside, there would be no point for me personally to self host in the first place since I am perfectly fine with using cloud services for now and the convenience that comes with it. Plus, no one else in my family cares about self hosting and I don't wish to spend the effort to convince them to in vain, so setting up a server for convenience of everyone at home is also out of the question.

view more: next ›