[-] [email protected] 7 points 1 week 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>?

49
submitted 1 week ago by [email protected] to c/[email protected]

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.

[-] [email protected] 2 points 1 month ago

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

[-] [email protected] 4 points 1 month 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.

[-] [email protected] 5 points 1 month ago

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

[-] [email protected] 3 points 1 month 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.

[-] [email protected] 1 points 1 month 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.

[-] [email protected] 1 points 1 month 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.

[-] [email protected] 7 points 1 month ago

Thanks will keep in mind next time it happens

[-] [email protected] 1 points 1 month 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.

[-] [email protected] 3 points 1 month ago

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

[-] [email protected] 3 points 1 month ago

Thanks for sharing that, I've learned my lesson from you and the others in the comments

[-] [email protected] 2 points 1 month ago

Agreed. Sorry for my post, it was written in frustration of the situation

133
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]

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 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]

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

1
submitted 7 months ago by [email protected] to c/[email protected]

i need to import HtmlClient and router, thank you.

42
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]
9
submitted 8 months ago by [email protected] to c/[email protected]

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

12
submitted 9 months ago by [email protected] to c/[email protected]

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.

116
submitted 9 months ago by [email protected] to c/[email protected]

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?

17
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]

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

100
submitted 11 months ago by [email protected] to c/[email protected]
462
submitted 11 months ago by [email protected] to c/[email protected]
18
submitted 11 months ago* (last edited 11 months ago) by [email protected] to c/[email protected]

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 ›

MrOzwaldMan

joined 2 years ago