#codeblr
Explore tagged Tumblr posts
orthogonal-slut · 5 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.
197 notes · View notes
bigger-nerd · 2 days ago
Text
My grandfather once described a computer as “the ultimate smart aleck”. In his words, the computer KNOWS what you want it to do, but simply *chooses* to do what you *said*, rather than what you *meant*. They’re very mean that way
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
29K notes · View notes
a-fox-studies · 1 day ago
Text
Tumblr media Tumblr media Tumblr media Tumblr media
August 1, 2025 • Friday
🎓 Bachelors Final Year Series — Week 1 🎓
Hello! I'm in my third and final year of my bachelors degree so i decided to make a weekly series about it :) I spent this week looking for internships and it's been very intimidating lol. And also started studying for a bit as well, I've been having very interesting classes (except for AI, those classes are very boring T-T). Being in my third year feels very scary, but I gotta stay strong and hope for the best. I've got this :))
🎧 Side Effects — Stray Kids
Tumblr media
24 notes · View notes
vanilla-voyeur · 7 months ago
Text
Computers be like "omg bestie so true" and it's just the number 1
393 notes · View notes
maddiem4 · 2 days ago
Text
Actually, forgive me everyone, I'm gonna be annoying on main about this one.
When it comes to programming languages, you don't actually need to include a concept of Null. Some do (like Java), and it's caused so many problems that Tony Hoare called it his "billion dollar mistake." Because not all bad ideas look obviously bad at first. Sometimes they seem probably-good, were conceived with the best of intentions by smart people, get copied around as new languages borrow concepts from existing ones, and it's only after 2+ decades of track record that people start looking around and saying "yeah that led to a lot of production outages and wasted work, huh?"
Okay, so... you don't need to couple functions with data. Some programming languages do (like Java), and it's caused a lot of issues, from serialization to debugging. It doesn't seem obviously bad when you first start programming, and the original intent was to protect your data from getting mangled. It's only after awhile of arguing about which class a method should be attached to, struggling to understand and managed the internals of objects through opaque layers of bad APIs, and trying to understand chains of cause and effect cascading through references that you might say "hey, this would be a lot easier if my data was just data and my functions were just functions." I don't know if it's a billion-dollar mistake. It's hard to directly implicate it in disastrous outage events. The tax that classes have is mostly paid in development, or by outages being longer, or by bad libraries staying in use way too long because they breed superstition about replacing them. That's a lot harder to estimate in financial cost, even in a handwavey way. But I think a lot of programmers will look at this list with grim familiarity and say "yeah I pay that tax all the time, it fuckin' sucks bro." And they're right!
Tumblr media
59 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
moose-mousse · 7 months ago
Text
Ok. I am going to let you in on a secret about how to make programming projects.
You know how people write really good code? Easy to read, easy to work with, easy to understand and very efficient?
By refactoring.
The idea that you write glorious nice code straight is an insane myth that comes from thinking tutorials is how people actually code.
That is because programming is just writing. Nothing more. Same as all other writing.
The hobbit is ~95000 words.
Do you think Tolkien created the Hobbit by writing 95 thousand words?
Of course not! He wrote many many times that. Storylines that ended up scrapped or integrated in other ways, sections that got rewritten, dialog written again and again as the rest of the story happened. Background details filled in after the story had settled down
Writing. Is. Rewriting.
Coding. Is. Refactoring.
Step 1 in programming is proof of concept. Start with the most dangerous part of your project ( danger = how little experience you have with it * how critical it is for your project to work )
Get it to do... anything.
Make proof of concept code for all the most dangerous parts of the project. Ideally there is only 1 of these. If there is more than 3 then your project is too big. ( yes, this means your projects needs to be TINY )
Then write and refactor code to get a minimum viable pruduct. It should do JUUUUUST the most important critical things.
Now you have a proper codebase. Now everytime you need to expand or fix things, also refactor the code you touch in order to do this. Make it a little bit nicer and better. Write unit tests for it. The works.
After a while, the code that works perfectly and never needs to be touched is hard to read. Which does not matter because you will never read it
And the code that you need to change often is the nicest code in the codebase.
TRYING TO GUESS AHEAD OF TIME WHAT PARTS OF THE CODE WILL BE CHANGED OFTEN IS A FOOLS ERRAND.
( also, use git. Dear god use git and commit no more than 10 lines at once and write telling descriptions for each. GIT shows WHAT you did. YOU write WHY you did it )
Is this how to make your hobby project?
Yes. And also how all good software everywhere is made.
385 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
sam-studies · 12 days ago
Text
you ever remember something cringe and just want to rm -rf /* your mind? because same
20 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
339 notes · View notes
r4mc0des · 19 days ago
Text
just endure the suffering (data structures and algorithms)
Tumblr media
6 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
orthogonal-slut · 17 days ago
Text
sometimes coding is just blankly staring at my monitor and hoping the bug fixes itself
46 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
study-diaries · 3 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
182 notes · View notes