jonathanvmv8f

joined 1 year ago
[–] jonathanvmv8f@lemm.ee 2 points 4 months ago* (last edited 4 months 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

[–] jonathanvmv8f@lemm.ee 1 points 4 months 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.

[–] jonathanvmv8f@lemm.ee 2 points 4 months 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'.

[–] jonathanvmv8f@lemm.ee 24 points 4 months ago* (last edited 4 months 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.

[–] jonathanvmv8f@lemm.ee 0 points 5 months 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 5 months 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.

[–] jonathanvmv8f@lemm.ee 0 points 5 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.

[–] jonathanvmv8f@lemm.ee 0 points 5 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

[–] jonathanvmv8f@lemm.ee 9 points 5 months ago (3 children)

BTW it's cake day for what was supposed to be a throwaway account

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

By the looks of the image, you opened this post on your laptop, opened the camera app of your phone, took a screenshot of the app and took ANOTHER screenshot of the app along with the preview of the previously taken screenshot and finally posted it.

I guess it's your first day too

 

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

 

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 5 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?

 

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

 
 
 

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.

 

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.

 

What if I am just imagining the high pitch sound in my mind whenever I hear about or think of tinnitus just like how someone tells you to imagine a whale and you form a mental image of a whale? I don't pay attention to the noise while I'm busy doing stuff but once I think about it, it is as hard to stop noticing it similar to being told to breathe manually, and it gets very annoying after some time. Is it what tinnitus really is?

[–] jonathanvmv8f@lemm.ee 9 points 6 months ago
 

My latest personal project would look like this:

view more: ‹ prev next ›