#codeblr
Explore tagged Tumblr posts
devotedlystrangewizard · 14 days ago
Text
i think everyone should program at least once just so you realise just how fucking stupid computers are. because theyre so fucking stupid. a computer wants to be told what to do and exactly that and if you make one typo or forget one detail it starts crying uncontrollably
18K notes · View notes
moose-mousse · 3 days ago
Text
Weird... I have always heard and used "Garbage in, Garbage out" as an error handing strategy
If the input is bad, do you:
A: stop the program and report an error?
B: Do the actions wanted on the input and just output the data
For example, a function "Bitshift x to the right" I would expect to have a GIGO error handling.
Where the function "Multiple by 2 X times" I would expect to not finish the calculation and instead make an error if for example the number was too bit to store in the return value
These are the same operations. Only difference is the name! :D
And they need different error handling :3
Since these models aren't great at judging the validity of sources, they'll cite propaganda. Or satire.
So it's like humans, except people think it's an authority figure and are less critical of it.
Here's a very relevant concept from programming:
88 notes · View notes
ceaselessbasher · 1 year ago
Text
Me upon discovering an online game that helps you learn git: haha I've been using git for years now, I could skip ahead many levels, methinks hahaha no, no, I'll be humble and start on level 1
Me on level 5: You can do what??? There are commands for what???
13K notes · View notes
getbreaded · 2 months ago
Text
Tumblr media Tumblr media
One of those days when working at the desk seems like too much.
Can't believe the semester is almost over, it's been the most challenging one yet, and I still have exams and projects to deliver. (⁠+⁠_⁠+⁠)
I just want to go to the beach and read man
333 notes · View notes
cheekios · 1 year ago
Text
Last Cartridge of Insulin
This is an URGENT REQUEST as I cannot go a day without insulin. Currently I am unemployed through no fault of my own. I do not have insurance so I will have to use GoodRx. My insulin is called Afrezza. It costs around $450-$490 depending on the pharmacy I go to.
Goal: $450
CA: $HushEmu
Tumblr media
Currently I cannot drive because my only pair of perscription glasses are broken. So I will also need help with ubers. Please.
I’d like to stress that not taking insulin daily is deadly. This is a medical emergency. Begging for this request to be filled.
Informative read:
https://www.healthcentral.com/condition/type-1-diabetes/how-long-can-a-diabetic-go-without-insulin
Tumblr media
2K notes · View notes
sondercrow · 2 years ago
Text
So python is apparently unable to handle if-statement with more than 2996 elif’s, which is fair, however, it’s really limiting my implentation of an is_even function
Tumblr media
Any ideas on how I can work around this?
5K notes · View notes
unpremeditatedstudies · 8 months ago
Text
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
11.26.24 —> 11.27.24
Oh hey Tumblr,
A little bit of a photo dump for the blog today. I went to office hours to pick my professors brain about some homework that I am turning in late. The love of I have for professors that are chill people is absolutely boundless.
Yesterday I went to a cafe that resembles a train car and I got a miso caramel latte? I thought it tasted good.. but then the more I drank it the more decisions I regretted.. kept me caffeinated though.
Happy Thanksgiving to those who celebrate <3
352 notes · View notes
orthogonal-slut · 4 months ago
Text
linux is just such a good special interest. it is a never ending hyperfixation; there is always a new rabbit hole to get lost in.
no matter how much i research, how much i read, i discover something new. i don't think i spent a day not learning ever since i made the switch years ago.
linux really tickles my autism in the best way.
187 notes · View notes
vanilla-voyeur · 6 months ago
Text
Computers be like "omg bestie so true" and it's just the number 1
383 notes · View notes
study-diaries · 2 months ago
Text
Introduction To HTML
[Note: You need a text editor to do this. You can use Notepad or Text Edit. But it's so much better to download VS Code / Visual Studio Code. Save it with an extension of .html]
HTML stands for Hyper Text Markup Language
It is used to create webpages/websites.
It has a bunch of tags within angular brackets <....>
There are opening and closing tags for every element.
Opening tags look like this <......>
Closing tags look like this
The HTML code is within HTML tags. ( // code)
Here's the basic HTML code:
<!DOCTYPE html> <html> <head> <title> My First Webpage </title> </head> <body> <h1> Hello World </h1> <p> Sometimes even I have no idea <br> what in the world I am doing </p> </body> </html>
Line By Line Explanation :
<!DOCTYPE html> : Tells the browser it's an HTML document.
<html> </html> : All code resides inside these brackets.
<head> </head> : The tags within these don't appear on the webpage. It provides the information about the webpage.
<title> </title> : The title of webpage (It's not seen on the webpage. It will be seen on the address bar)
<body> </body> : Everything that appears on the webpage lies within these tags.
<h1> </h1> : It's basically a heading tag. It's the biggest heading.
Heading Tags are from <h1> to <h6>. H1 are the biggest. H6 are the smallest.
<p> </p> : This is the paragraph tag and everything that you want to write goes between this.
<br> : This is used for line breaks. There is no closing tag for this.
-------
Now, we'll cover some <Meta> tags.
Meta tags = Notes to the browser and search engines.
They don’t appear on the page.
They reside within the head tag
<head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="Website Description"> <meta name="Author" content="Your Name"> <meta name="keywords" content="Websites Keywords"> </head>
Line By Line Explanation:
<meta charset="UTF-8"> : Makes sure all letters, symbols, and emojis show correctly.
<meta name="viewport" content="width=device-width, initial-scale=1.0"> : Makes your site look good on phones and tablets.
<meta name="description" content="Website Description"> : Describes your page to Google and helps people find it.
<meta name="author" content="Your Name"> : Says who created the page.
<meta name="keywords" content="Website's Keywords"> : Adds a few words to help search engines understand your topic.
_____
This is my first post in this topic. I'll be focusing on the practical side more than the actual theory, really. You will just have some short bullet points for most of these posts. The first 10 posts would be fully HTML. I'll continue with CSS later. And by 20th post, we'll build the first website. So, I hope it will be helpful :)
If I keep a coding post spree for like 2 weeks, would anyone be interested? o-o
161 notes · View notes
quizzicalbr0wsblog · 4 months ago
Text
Tumblr media Tumblr media Tumblr media Tumblr media
2025-03-18
databases + doodles
207 notes · View notes
a-fox-studies · 5 months ago
Text
Tumblr media Tumblr media
February 27, 2025 • Thursday
--- 30 days of productivity • COLLAB CHALLENGE WITH @studaxy • Day 20/30 ---
💛 Axy's study time: 0h
💙 Iris's study time: 4h
[Axy's sleep time was like 17h lol but in their defense they were sick and terribly sleep deprived]
Made some IT notes. I'm not drastically lagging behind on that subject anymore :)
🎧 On the Run — Glass Animals
Tumblr media
213 notes · View notes
zoeythebee · 6 months ago
Text
You, hey you. You right there. Amateur developer. Your stuff sucks right now doesn't it? Can't get a single project off the ground because you are still learning and you make a lot of dumb mistakes? And since you naturally want to be a good programmer, you want to start over and do it again but better?
Don't do that.
Whatever you have to do, I am BEGGING you. Finish that first project.
I want you to make it SUCK. I want the code to be a disaster. I want it to have bugs. I want it to have scrapped features that you just couldn't figure out. If you make it simple enough, a project held together with chewed gum and prayers, while not being a good or even competent it will be a finished one.
Why?
Because if you keep improving, but keep starting over. The logical end point is that you will be a good programmer with no finished projects. It's going to take YEARS. And eventually you will struggle to find motivation, burn out hard, take a SEVERAL month long break. Revaluate your whole life. And come to the stunning, crushing, horrifying realization that all those youtubers and influences you have watched that have told you to "start really really small". Were right.
Unfortunately, you are a good enough programmer that starting small isn't fun anymore. And actually FINISHING your first project is going to feel like pulling out your own teeth. And it's going to suck. And you are going to hate it.
And then you are going to attempt to warn others to skip all the hardship, tell them to start small. Start bad. Don't make the same mistake.
And hopefully, HOPEFULLY they will listen and go down the better path.
270 notes · View notes
getbreaded · 28 days ago
Text
Tumblr media Tumblr media
Trying to make it through. Didn't go to my CompSec exam, I'll go on the second date, but in the back of my mind I'm thinking I made a huge mistake in prioritizing this project over everything.
Oh well, too late now
207 notes · View notes
cheekios · 1 year ago
Text
I will be homeless in less than 1 hours
Tumblr media
I have to stress that my apartment wants me gone. Why you might ask? Because I’m one of the few tenants in the entire apartment complex that pays $1300 for rent meanwhile everyone else pays $1800-$1900. They want me out to the extent they don’t accept any late fees from me, but accepts from other residents. I asked the apartment manager why, she couldn’t give me answer. It’s the norm to have until the 5th of the month to pay rent but not for me.
Goal: $775
CA: $HushEmu
I have to stress I’m not lazy or useless. I had a job despite having multiple disabilities. I’m not asking for a cookie or a pat on the back but its not easy. One small inconvenience really can set you up to be on the streets. Especially if you’re not privileged to have a good paying job with benefits. Like INSURANCE. Or parents that give a crap about you.
In my case the catalyst for this was simply my glasses breaking that snowballed me to eviction. I am legally blind and I have to thank diabetes for that. I cannot see without my glasses so it would be quite literally deadly for me to be on the roads. Ultimately I lost my job from “job abandonment”
I am asking for community support to stay housed. While I make this unfortunate transition. All I have is this community. There are ways beyond financial support that can help me. $1-$2 makes a significant impact
You can:
• Post on my behalf on all your platforms
• Urge your moots with large followings to reblog/retweet my posts
• You can interact fully with my posts to add traction
With the state of the world as it is right now. We need less apathy and more empathy. Please don’t ignore.
Tumblr media
2K notes · View notes