sorted by: new top controversial old
[-] MrOzwaldMan@lemmy.ml 0 points 1 week ago

For me it's just the brain doing unnecessary calculations to see how this ui element was made. Why unnecessary? because when it calculates, it's the time after work where it starts calculating, like brain, you're tired, stop it.

[-] MrOzwaldMan@lemmy.ml -2 points 1 week ago

It's not you investigating, it's just the brain calculating and coding how it was made in the language I learned.

48

When you're on a website or an app, you look at something (a post, or a part of a UI), and your brain just starts calculating how this was made in your own language.

Like brain, stop, I'm tired, I don't need the calculations right now.

[-] MrOzwaldMan@lemmy.ml 7 points 2 months ago

Usually, it’s more sane to embed formatting in the string itself rather than having styling separately defined (i.e. CSS, kinda).

like this: <b>Bold Text</b>?

47

It must be a pain to make a text box with the ability to add bold, italic, heading, etc. you know? All the bold text, italics, and headings would need to be saved in a database column to be retrieved later in their correct positions.

I don't know, I am doing internship learning C# ASP (started 2 months ago), and just got a "Shower Thought" while making an edit post function.

[-] MrOzwaldMan@lemmy.ml 2 points 3 months ago

I posted the entire function where the issue was occuring and it was trying to solve the function and not the query.

[-] MrOzwaldMan@lemmy.ml 3 points 3 months ago

Thanks for sharing your experience, who knew a frustrating post written by me would give me lessons which i am going to take to heart.

[-] MrOzwaldMan@lemmy.ml 5 points 3 months ago

I would like mine blue with an army's helmet.

[-] MrOzwaldMan@lemmy.ml 3 points 3 months ago

Assuming you’re coming from a linear programming and OOP background, then data (incl. SQL) kinda sucks because it’s not always clear how to apply existing concepts. But, doing so is absolutely critical to success, perhaps more so than in most OOP environments. Your post isn’t funny to me because I’d be laughing at you, not with you.

That's correct, I have done a lot of OOP in Java and C#, and the internship I'm doing is with C# and ASP.Net.

If a variable is fucked, the first questions you should answer are, “Where’d it come from?” and “What’s its value along the way?”. That looks a lot different in Python than SQL. But, the troubleshooting concept is the same.

You see, I wasn't thinking clearly at the time, wasn't looking at the right place, and like the post says, I've finally looked at the right place and made me feel frustrated. The frustration was at myself not at programming.

[-] MrOzwaldMan@lemmy.ml 1 points 3 months ago

I was talking about this date which was used to display the date assigned by the user, but the column was not displaying with the date because I wasn't asking sql for the date (if you've looked at the query), so yeah, a stupid mistake caused for a stupid angry post.

[-] MrOzwaldMan@lemmy.ml 1 points 3 months ago

This often happens when I’m tired or overworked. Maybe it's because of this and the frustration of the situation that had me (idk the word) go angry and write this post.

[-] MrOzwaldMan@lemmy.ml 7 points 3 months ago

Thanks will keep in mind next time it happens

[-] MrOzwaldMan@lemmy.ml 1 points 3 months ago

I pasted my code multiple times and didn't give me that answer. Maybe it's because you only copied the query and not the code that i wrote.

132
submitted 3 months ago* (last edited 3 months ago) by MrOzwaldMan@lemmy.ml to c/programming@programming.dev

Title before edit: I hate programming, why did i choose this field

TL;DR: Stupid mistake, made by hours waste.

Basically, I was extracting date from the SQL db, and it was not displaying. I tried everything, heck I even went to chatgpt, and copilot. Two and half hours of trying every single thing under the sun, you know what was the issue?

SELECT task, status, id FROM mainWorkSpace WHERE user_id = @user_id

I FUCKING FORGOT TO ADD 'date' TO THE DAMN QUERY. TWO AND HALF HOURS. I was like, "Ain't no way." as I scrolled up to the query and there it was, a slap in the face, and you know what was the fix?

SELECT task, status, date, id FROM mainWorkSpace WHERE user_id = @user_id

Moral of the story, don't become a programmer, become a professional cat herder instead.

-14
submitted 4 months ago* (last edited 4 months ago) by MrOzwaldMan@lemmy.ml to c/programming@programming.dev

The 'technologies' will be replaced by their respective icons.

-14
submitted 8 months ago by MrOzwaldMan@lemmy.ml to c/linux@lemmy.ml

Im a MEAN Stack developer and require the following:-

  • MongoDB (with MongoDB Compass)
  • Express
  • Angular
  • NodeJS

I need those for my web development job and projects.

I have experience with Ubuntu and Fedora based distros and wanted to use Arch Linux because i like the way Hyprland looked. Just tell me how to install mongodb, the rest can be done with npm.

168
submitted 1 year ago by MrOzwaldMan@lemmy.ml to c/memes@lemmy.ml
766
submitted 1 year ago by MrOzwaldMan@lemmy.ml to c/memes@lemmy.ml
29
submitted 1 year ago* (last edited 1 year ago) by MrOzwaldMan@lemmy.ml to c/linux@lemmy.ml

I have my father's old work PC (one of those Fujitsu Siemens models) from yesteryears. It features:

  • OS: Ubuntu 23.04
  • CPU: Intel Core i7-4770 (I forgot the clock speed in GHz).
  • RAM: 8 GB DDR3 1600MHz (Single Channel).
  • Storage: 128 GB SSD (installed in 2020) & 1 TB HDD (also installed in 2020).
  • Graphics: NVIDIA GeForce GT 620 (or was it GTX?).

I am considering using it as a file server since my laptop only has a 256 GB SSD, and I need more space to store my files on the old PC. But the question is, do I need a home server? When is a home server necessary?

Any sources or information on how to set up a file server with a PC would be greatly appreciated.

Vocabulary and Grammatical Errors were improved and fixed by ChatGPT because English is my 2nd Language

15
submitted 1 year ago* (last edited 1 year ago) by MrOzwaldMan@lemmy.ml to c/linux@lemmy.ml

I am nearing the completion of RH124, and I am contemplating taking the exam to obtain a certification for my CV. I plan to schedule it for the end of the month (31st August), allowing me enough time to thoroughly grasp the material while still experiencing some time pressure.

However, there seems to be no standalone exam for RH124. Instead, I must also complete RH134 in order to qualify for the EX200 exam and become RHCE and RHCSA certified. Is there a way to acquire the RH124 certificate independently? I wish to include it on my CV, secure a job, and subsequently learn RH134 while on the job.

Additionally, I am curious whether RH124 alone is sufficient to pursue CompTIA Linux+. Does RH124 cover scripting and BASH, despite these topics not being mentioned in the course? I would greatly appreciate an answer to this question as well.

Source:-

(Vocabulary and Grammatical Errors were improved and fixed by ChatGPT because English is my 2nd language)

5
submitted 2 years ago by MrOzwaldMan@lemmy.ml to c/memes@lemmy.ml

Steven Universe S4 E22

view more: next ›

MrOzwaldMan

joined 2 years ago