#software humor
Explore tagged Tumblr posts
Text
mentalisttraceur don't get mad at someone else's software before it turns out the problem is in your own software challenge (impossible difficulty)
9 notes
·
View notes
Text
Developer: I consent.
Language: I consent.
Isn't there somebody you forgot to ask? [Every other developer who has to read this code after you.]
10 notes
·
View notes
Text
True
27K notes
·
View notes
Photo
#playstation#gaming#video games#funny#skeleton#ps1#psone#retro#90s#90's#nineties#tech#nostalgia#nostalgic#king's field#from software#dark souls#demon souls#lol#humor#meme#spooky#playstation 1#retrogaming
19K notes
·
View notes
Text
#punstars#puns#punny#humor#jokes#pun#joke#bad jokes#dad jokes#bad puns#computer jokes#programming jokes#python#software engineering
1K notes
·
View notes
Text
Thousands of replies and no one has properly helped OP!
First, since Python won't let us have an if-elif chain that's as long as we need in the source itself, we need a way to generate it. Generators are perfect for this, and very Pythonic:
def _is_even_branches(): yield 'if a == 0: return True' number = 1 while True: yield f'elif a == {number}: return False' number += 1 yield f'elif a == {number}: return True' number += 1
That generator never finishes, which is good design because it lets the calling code control how high to generate.
Next, we're going to need a better Python - but we can optimize by just implementing the subset of Python that we need: it only needs to interpret lines in the form `(if|elif) a == <integer>: return (True|False)`:
def _is_even_evaluator(lines, a_value): for line in lines: condition, body = line.split(": ") if_or_elif, a_name, equals, number = condition.split() assert if_or_elif in ('if', 'elif') assert a_name == 'a' assert equals == '==' # `int` raises ValueError if it can't parse if int(number, base=10) == a_value: return_, result = body.split() assert return_ == 'return' assert result in ('False', 'True') return eval(result) # The above `eval` is safe # so long as you don't turn on # Python's optimization option # (which skips all asserts).
And now, finally:
def is_even(number): if number < 0: number = -number return _is_even_evaluator(_is_even_branches(), number)
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
Any ideas on how I can work around this?
4K notes
·
View notes
Text
#programmer humor#programming#geek#nerd#programmer#technology#computer#phone#mac#windows#os#operating system#website#web development#dev#developer#development#full stack developer#frontend#backend#software#hardware#html#css#meme#despicable me#gru#joke#software engineer#apple
200 notes
·
View notes
Text
the current status of FLOSS
103 notes
·
View notes
Text
Software authors experience a similar struggle, but luckily we are more likely to have liberating accidents with "rm -rf".
I often wonder what happened to authors of unfinished fanfictions.
170K notes
·
View notes
Text
If you elect me as your dictator, all Archived repositories on GitHub/GitLab/Codeberg/etc will be required by law to say why they are archived.
The penalty for non-compliance shall be a light (for I am merciful) public flogging, repeated only once a month (for I am merciful) until compliance is achieved.
For those who cannot muster even a sentence of explanation, several generic but sufficient explanations will be made available for you to copy-paste from (for I am merciful), such as
"this package is still perfectly good, but I am no longer maintaining it",
"I have realized there are flaws in the design which are best solved with an alternative API/workflow/etc",
"this was just experimental, it's probably still very broken" and
"this has been superseded by a superior [upstream | 3rd-party] solution".
20 notes
·
View notes
Text
#Finance#Business#Work Meme#Work Humor#Excel#Hilarious#funny meme#funny#accounting#office humor#consulting#dark humor#coding#codeblr#cs#computer science#software engineering
149 notes
·
View notes
Text
my boss is like, make a pull request, and I'm like ok, and then a week later, he's like why haven't you updated (whatever), and I'm like, because it's in a pull request you have to approve, and he's like oh I haven't gotten around to looking at that.
like no shit.
check your pull requests before complaining I'm not doing anything. I can't merge with master myself here, buddy, old pal.
49 notes
·
View notes
Text
transition goal<3
#did i post this already i forgot#transgender#gender#gender envy#queer#trans#trans representation#lgbt#transition goals#lgbtqia#gnc#soulsborne#from software#ftm#mtf#transmasc#transfem#trans people#trans joy#gender euphoria#toilet humor#is it toilet humour ?#admin is not a native english speaker#admjn likes a bit too much talking about himself in third person#[cuno voice] ADMIN ISN'T THIRD PERSON !! ADMNI IS FIRST FUCKING PERSON#anyway
21 notes
·
View notes
Text
#comic#comics#comic strip#webcomic#webcomics#funny#humor#humour#comedy#emoji#web comic#indie comics#software engineering#4 panel comic
46 notes
·
View notes
Text
That moment when you get free basic SEO from TechLogic Softwares and feel like a no one can beat me! 😂
#memes#digital marketing#meme#funny shit#lol#funny#haha#humor#best memes#dank memes#funny memes#relatable mem#online marketing#marketing tips#smm services#social media marketing#seo#webdevelopment#seo services#artwork#website#techlogic softwares
29 notes
·
View notes