MrOzwaldMan

joined 2 years ago
[–] MrOzwaldMan@lemmy.ml 0 points 2 months 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 -1 points 2 months ago

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

 

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 4 months ago (5 children)

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

 

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 5 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 4 points 5 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 5 months ago (2 children)

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

[–] MrOzwaldMan@lemmy.ml 3 points 5 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 5 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 7 points 5 months ago

Thanks will keep in mind next time it happens

[–] MrOzwaldMan@lemmy.ml 1 points 5 months ago (2 children)

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.

[–] MrOzwaldMan@lemmy.ml 3 points 5 months ago (1 children)

My second pair of eyes was in an another country for business stuff so I had to solve it all by myself and because of the frustration, i wrote this post. Sorry about that

 

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.

 

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

 

i need to import HtmlClient and router, thank you.

 

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

 

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.

 

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?

 

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

 
 
 

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

view more: next ›