MrOzwaldMan

joined 2 years ago
[–] MrOzwaldMan@lemmy.ml 0 points 3 weeks 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 3 weeks 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 2 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 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 4 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 (2 children)

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 (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.

 

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.

 

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.

 

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

 
 
view more: next ›