Skip Navigation
The experience that made me hate programming, but that's all on me
  • 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.

  • The experience that made me hate programming, but that's all on me
  • 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.

  • The experience that made me hate programming, but that's all on me
  • In those kinds of situations you need to remember to try to break the problem down into simpler sections to identify where the problem lies.

    Learned that the hard way.

    One of the first steps would be to run SELECT * FROM mainWorkSpace WHERE user_id = @user_id and see if that returns anything.

    It's one of those situations where if i write something, i forget it because it is doing its thing and about selecting everything, i should've done that and it's my mistake.

  • The experience that made me hate programming, but that's all on me

    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.

    116
    i need a PDF for Think by Judith Boss

    i need because Mcgraw system for reading the book sucks cheeks.

    6
    General Programming Discussion @lemmy.ml MrOzwaldMan @lemmy.ml
    Help suggesting the design.

    I am currently making my portfolio site using, Angular, and Bootstrap (with custom CSS), and I really need help designing my website.

    I'm learning Full-Stack Development, but I have done enough to become a Front-End Developer.

    Please suggest any changes, and I will make an updated post with the progress.

    6
    Should I become "privacy-focused" despite my data before I was "privacy-focused" was used or sold?

    For example, I have been using Google or Apple for 7 years, and seeing that I was fingerprinted, tracked through third-party cookies, etc. I want to switch to a more private option.

    But is it worth it? They know about me, they have now AI that can just use the behavior pattern for the last 7 years and still track me.

    Again the question comes, should I become "privacy-focused" despite my data before I was "privacy-focused" used and sold?

    25
    General Programming Discussion @lemmy.ml MrOzwaldMan @lemmy.ml
    (Discussion, JS) Look at the solution of a problem in Code Wars, then my code. Both achieve the same thing.

    I am beginner who thought before doing the String Methods section of the course "You know what, let's test my skills". And boy my skills were tested. After I completed the challenge my jaw dropped, with the solution.

    Had/Have this happened to y'all. Where you make something complicated and found out that there was a simple solution?

    Solution !

    My Code

    !

    15
    Exploring the Idea of Creating a Home Server with My Old PC.

    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

    25
    "Can I Obtain an Individual Certificate for Red Hat RH124, or do I have to complete the entire RH EX200 Exam?

    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:-

    • https://www.redhat.com/en/services/training/ex200-red-hat-certified-system-administrator-rhcsa-exam
    • https://www.comptia.org/certifications/linux

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

    2
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)MR
    MrOzwaldMan @lemmy.ml
    Posts 13
    Comments 114