jonathanvmv8f

joined 2 years ago
[–] jonathanvmv8f@lemm.ee 61 points 8 months ago* (last edited 8 months ago) (34 children)

OK, I am willing to break the ice here: What is this community actually about? I've been seeing these comics in my feed for the last 3 months and trying to connect the dots between the posts to get the idea behind the lore, but so far I'm drawing a blank apart from a hint that it could be related to Linux. Maybe I need to be a computer nerd to get the jokes or....I am not taking the community title seriously enough.

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

[–] jonathanvmv8f@lemm.ee 35 points 10 months ago

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

[–] jonathanvmv8f@lemm.ee 6 points 10 months 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 10 months 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 10 months 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 10 months ago* (last edited 10 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 10 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 10 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 21 points 10 months ago* (last edited 10 months ago) (22 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 10 months ago (1 children)

Though I appreciate the reply, I was looking for the difference between a remaster and a remake specifically. I think both of them should mean the same thing essentially.

[–] jonathanvmv8f@lemm.ee 0 points 10 months ago (4 children)

What is the difference between the former two?

 

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

Had to learn it the hard way too many times

 
 
 

Context: Newton personally believed in the concept of absolute space since it reinforced the idea of an absolute God, but the entire premise was proven false by what we know as 'relativity of motion' which makes use of Newton's laws of motion.

Excerpts from 'A Brief History of Time' by Stephen Hawking:

"... Aristotle believed in a preferred state of rest, which any body would take up if it were not driven by some force or impulse. In particular, he thought that the earth was at rest. But it follows from Newton's laws that there is no unique standard of rest."

"Newton was very worried by this lack of absolute position, or absolute space, as it was called, because it did not accord with his idea of an absolute God. In fact, he refused to accept lack of absolute space, even though it was implied by his laws."

 
 
 

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.

 
 
 

Didnt really pay attention to context or spelling, more like reading through words derived from a foreign language

 

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.

view more: ‹ prev next ›