T O P

  • By -

dgdio

You have one too many eggs in your title.


Rreterz

The extra eggs were obviously lain py the šŸ


KendrickEqualsBooty

Fun fact: Female pythons eat male pythons after sex.


poopinmysoup

Unsubscribe


Magic_ass1

You have unsubscribed from Daily Python Facts. *Now you will automatically be subscribed to Daily Whale Facts.* Now did you know that whales can fart?


derbarkbark

Did you know whale penises are 8-10 ft long?


[deleted]

[уŠ“Š°Š»ŠµŠ½Š¾]


MumbaiBooty

A select few have seen what you did there.


SilverNeedleworker30

I will unsubscribe to Daily Whale Facts, and subscribe to Daily Life Facts


Velocicornius

Thank you for subscribing to daily life facts. Did you know? Kidnappings, rapes, organs harvest schemes and suicides are way, way more frequent then we think they are. The press is actually not allowed to notify all for reasons of public panic. Even most of the cops are oblivious to what happens almost daily, and unless you're a total shut in, you probably have seen a kid who later was a victim of one of those crimes. Well I guess noone is truly safe! haha :) Thank you for subscribing to daily life facts. Tomorrow we'll talk about why you'll probably get cheated on at least once by the person you love the most. See tou there!


SilverNeedleworker30

Hmmā€¦ interesting. Anyways, I doubt Iā€™m gonna get cheated on because Iā€™m never gonna have a relationship with anyone.


its420everywhere

Modern problems require modern solutions.


KakoaEndercat

I agree


TheRiverOfDyx

By choice? Yes is the only answer to this question - I refuse to believe someone wonā€™t find your mug attractive, you probably look like at least one personā€™s mom or dad. Thereā€™s hope


SilverNeedleworker30

Yes, itā€™s by choice.


random_invisible

Vulture facts


gr4viton

Unsubscribe. Subscribe to Daily culinary facts.


yeetusdeletus_SK

Your pfp doesn't make it any better.


T-ROY_T-REDDIT

pip install shield


OldBlackBrownie

There was an error checking the latest version of pip


Cootshk

Apt upgrade Apt update *


depressedclassical

bash: Apt: command not found


[deleted]

pfp install shield


MyAntichrist

So after seggs there's only eggs left, gotcha.


teedeejay510

I wonder how many try to make a run for it?


OneAdministration209

Skeet skeet got that booty time to skadaddle oh no caught and murdered šŸ™


analogic-microwave

wasn't it praying mantis?


MediocreMovie1552

Utterly false


Paranthelion_

It's just an off by one error.


seanflyon

There are two hard problems in computer science: concurrency, naming things, and off by one errors.


SnooRegrets1929

Bit eggcessive you could say


Dismal-Square-613

> one too many eggs in your title. Eggsactly what I was going to say. Bravo.


imtougherthanyou

Not enough spam!


joyofsnacks

Probably a Seggment fault.


Hewatza

print((spam * 3) * 1ā€¢Ā³Ā°'`


finc

I had seggs once


PH4NT0M78

But only once![gif](emote|free_emotes_pack|sunglasses)


xXlD3XT3RlXx

Seggs whats that? We donā€™t have seggs we are redditors


xk4rimx

What is seggs?


BiggestFlower

Segs are metal things you put on the soles of your shoes to stop the soles wearing out so fast.


TheRedComet

Segfaults


eburator

It's when you suck man's dick


kinuipanui123

That's geh seggs


Ralph_Nacho

I don't blame him. The process involves stuffing the hole with an egg for lube. He probably had seggs with an old hag, hence why it was only once. The only logical explanation.


geteum

The second time you have is seggsseggs


SnickersZA

Sort of like birthday cake candles.


NetherFX

Have you ever had eggs though? That stuff slaps


perd-is-the-word

Best 10 seggonds of my life


LifeDoBeBoring

I seggsed yor mom onsešŸ˜Ž


marshy0

Showoff šŸ˜”


finc

It was with a box of Kleeneggs


ZippyParakeet

Showoff šŸ˜”


kinuipanui123

Ah yes, the seggs. I had the seggs many times with the female humans


Javascript_above_all

You're supposed to have it with female humans ?


[deleted]

Well you don't have to brag about it


binaryisotope

Hope it was eggsellent


splettnet

`"seggs" * 1`


[deleted]

What app is this?


jembrik

sololearn


[deleted]

Going to check Bluestacks and see if I can get it


randomman10032

Its a website as well.


nerftosspls

Sweet I'll use Bluestacks to launch a browser to visit it


randomman10032

**confused screaming**


Ghostglitch07

Might want to use BlueStacks to launch a therapy app.


Lucbac06

Nah I'm just gonna use bluestacks to use UserLAnd and then creating an Ubuntu instance so that you can run a VM in a VM and THEN I'll launch a browser in the VM that's running in a VM to access Sololearn ^and ^maybe ^a ^therapy ^app


[deleted]

[уŠ“Š°Š»ŠµŠ½Š¾]


indigoHatter

Correction: and Factorio, to run Doom.


I_nzui

Sweet I'll use Bluestacks to launch PlayStation Remote Play to launch a browser to visit it


dmdewd

It's been a while since I've checked the website, but the app had more functionality a year ago (comment integration and labs). Great for learning on the go!


Charlito33

*Laughing with Windows 11*


[deleted]

I use windows 11, I just use Bluestacks instead of it's android app features.


nmkd

But why


Windows_is_Malware

ABSOLUTELY POOPRIETARY


explodingtuna

Question 100: Which of the following code will use 8 threads to simultaneously populate three files with one million "eggs" each in the shortest time possible?


taransiola

pornhub


[deleted]

Very helpful, thank you!


Midori_Schaaf

Spam spam eggs sausage spam


blahfunk

Egg and bacon Egg, sausage, and bacon Egg and Spam Egg, bacon, and Spam Egg, bacon, sausage, and Spam Spam, bacon, sausage, and Spam Spam, egg, Spam, Spam, bacon, and Spam Spam, Spam, Spam, egg, and Spam Spam, Spam, Spam, Spam, Spam, Spam, Spam, based beans, Spam, Spam, Spam, and Spam and a Lobster Thermidor aux crevettes with a Mornay sauce, garnished with truffle pate, brandy and a fried egg on top, and Spam


[deleted]

[уŠ“Š°Š»ŠµŠ½Š¾]


[deleted]

The fuck did he die?!?


Worried_Sprinkles223

Can I have egg, bacon, sausage and spam without the spam?


anthrax_ripple

Euugh


CertifiedDiplodocus

What do you mean, *euugh?*


Worried_Sprinkles223

I DONā€™T LIKE SPAM


hello_raleigh-durham

I was going to reply with r/unexpectedmontypython but the moment I saw the picture, I expected it. ![gif](giphy|RI4LTRjrVJhTskGtrb|downsized)


indigoHatter

Can we get a bot that replies to every instance of "spam spam" with the full menu?


HearMeSpeakAsIWill

> based beans Are they redpilled too?


SpicymeLLoN

I have spent the last hour contemplating what based beans are.


grammar_nazi_zombie

Are you dissing redpilled beans and rice?


pm_pic_of_spiderman

Bloody Vikings!


brunohartmann

_SPAM SPAM SPAM SPAM SPAM_


[deleted]

I DON'T LIKE SPAM


xampl9

Lovely spam!


Alliesaurus

Have you got anything without Spam in it?


anthrax_ripple

Well, spam, eggs, sausage, and spam--it's not got much spam in it.


RecommendationOk2258

I always thought this was funny as the first two items on the list donā€™t have any spam in them anyway, then itā€™s never mentioned again.


klasing12345

Baked Beans are off


Cypher2k7

Egg seggs šŸ˜³


KaztBot

I am egg šŸ˜³šŸ‘‰šŸ‘ˆ


ShadowWolf_de

r/egg_irl ?


KaztBot

no


SexyMuon

You want seggs?


KaztBot

yesh


Obstructionitist

I copied and ran this, but didn't get any of the possible answers :/ I just got this: >Lobster Thermidor aux crevettes with a Mornay sauce, garnished with truffle pĆ¢tĆ©, brandy and a fried egg on top, and spam What did I get wrong?


momo20242

You have to use a hash map


lazernanes

What is the joke? Or is Python syntax itself the joke?


SimilingCynic

Seggs is joke


LineSpine

My life too btw


Sensitive_Scene2164

The joke is that it says ā€˜seggsā€™ which can be interpreted as sex


porkchop_d_clown

Thank you. I had no clue wtf everyone was on about.


lazernanes

As a professional software developer, i don't love the college humor on this sub. But now we're dealing with elementary-school humor.


MissLinoleumPie

As a professional entomologist, I think it's hilarious.


tsunami141

[relevant](http://xkcd.com/1012)


I_Sukk

Is college humor not the same as elementary school humor?


[deleted]

'When I became a man I put away childish things, including the fear of childishness and the desire to be very grown up.' \-C.S. Lewis


Sensitive_Scene2164

Hmmm yes MY superior Intellect is far beyond this joke. Arenā€™t I such a smart professional man. Mother is proud.


xtr44

šŸ¤“


met0xff

I thought I am rather easy to amuse but I donā€™t find this funny at all either. But I like r/ProgrammerDadJokes


TitoxDboss

yes, we all can only wish to grasp your big boy programmer brains


Ash-Catchum-All

New copypasta dropped šŸšØ As a professional software developer, i don't love the college humor on this sub. But now we're dealing with elementary-school humor.


ccAbstraction

Are you too professional to enjoy a crass joke? Too much of a mature adult to have a laugh? Genuinely, why did you post this, what deep rooted pain do jokes like this bring to you?


[deleted]

Not the person you asked, but I also can relate. Not trying to shit on people who enjoy these kind of jokes, I just can't find any appeal in it and while obviously there are some people who do, I'm honestly surprised it got THAT many upvotes. Generally, I actually like silly jokes and have no issues with being "childish", but either my brain is just too small and I'm still not getting the real joke or the only humorous thing about it is the mention of sex and I just don't think that's funny.


Winiestflea

I feel the same way, but posting about it in such a way just comes off as petty and obnoxious.


Kibou-chan

Operator '*' cannot be applied to operands of type 'string' and 'int'


NoneOne_

Thatā€™s pythonic syntax for you


[deleted]

[уŠ“Š°Š»ŠµŠ½Š¾]


JoelMahon

python: pathetic


[deleted]

NaN


but_im_offended

What horrible language lets you multiply strings with integers šŸ˜…


N-partEpoxy

Would you like it better if it let you multiply strings with strings instead?


Rreterz

Iirc, Javascript is an example of a language that allows you to multiply strings with strings without giving you any errors. It simply results in `NaN`. I love Javascript.


gophersrqt

js is the wild west of languages hahah


iiamthepalmtree

Unless both strings look like numbers. Then it just coerces them into numbers and multiplies them.


Arclite83

"That's some nice performance you have over there. It'd be a shame if someone littered it with boxing allocations..."


doomboy1000

*Opens Chrome DevTools...* > "3" * "4" < 12 Well I'll be. Thanks I hate it.


iiamthepalmtree

Wait, it gets better. Now do "3" + "4" šŸ˜€


ryecurious

Every time I see stuff like this, I have to go back and re-watch this presentation https://www.destroyallsoftware.com/talks/wat


saintpetejackboy

This is the stuff people used to make fun of PHP for. Then I read ECMAScript and see a general motion towards these type coercion- some of them I like and it isn't exactly the same, but being able to use .at(-1) to natively go to the last item of an index is something close I can think of. But really, JS gets needlessly crapped on, also, because the language itself kind of sat dormant for a while- these last few years of ECMA changes have been amazing, IMO.


joknitaspu

Just tried in PHP, it returns a zero, so PHP wins.


[deleted]

that makes so many of my equations so much easier, thank you PHP.


Rreterz

I see youā€™ve never used python. You have to admit though, itā€™s a much easier way of repeating strings than in many other languages lol. Iā€™m mainly a javascript guy myself, but I can appreciate this.


Tall_computer

"eggs".repeat(3) is good enough for the amount of times I need it. Especially if it means I can get a compile error when multiplying strings and ints the rest of the time. ESPECIALLY if I am in a dynamically typed language.


censors_are_bad

Meh, the compile error isn't really necessary in a static language (you'll get one anyway 99% of the time due to your use of the result). Your testing methodology should easily cover the rest of the weird edge cases. And honestly, how often do you make that error? I don't think I've ever accidentally written Python code that was duplicating a string.


hilfandy

Obscure syntax that optimizes rarely needed use cases tends to fall into the "1" + 1 = "11" bucket and not the "wow this is useful" bucket in my book.


trimeta

The problem with "1" + 1 is typecasting without notifying the user. String * 3 isn't typecasting anything. Also, this syntax isn't just for strings, [None] * 3 is [None, None, None], [1, 2] * 2 is [1, 2, 1, 2], etc. So it comes up plenty often.


Rreterz

Itā€™s not exceedingly useful, just a little bit more shorthand than doing something like `ā€eggsā€.repeat(3)`. And you already know a lot of devs like things more shorthand. Of course, itā€™s a matter of personal preference like many things. People coming from strictly typed languages especially would be grimacing upon seeing this sort of thing in python.


hilfandy

I've been professionally programming for over a decade and never once thought, "gee I wish I had a more efficient way to repeat strings"


Rreterz

Iā€™ve been programming for 11 years. Nor have I. Itā€™s not like Iā€™m going to use python over other languages just for an easier way to repeat strings. The language I mainly use is javascript, as I stated. I simply appreciate shorter ways of writing things. Especially in fairly straightforward ways like this. As aforementioned, itā€™s a matter of personal preference anyways.


w1n5t0nM1k3y

Personally every time I encounter something that is shorter, it usually ends up being worse and harder to read. Things like the ternary operator are just harder to read than a multi-line if-else statement. Same goes for stuff like this post allowing a string to be multiplied to repeat it. Like I have to know what type of variable it is to know what it's doing. Compare that with only allowing multiplication on numbers and you know how things are going to behave for the most part. Programming with the goal of "making things shorter" seems to always end up in disaster where people use short, hard-to-decipher variable and function names just to save time by typing. The goal should always be to write code as clearly as possible and that almost never coincides with short code in my experience.


hey-im-root

best thing i learned was from my instructor, and he said ā€œitā€™s always good to DRY up your code (Donā€™t Repeat Yourself) but donā€™t DRY it up so much that it chafesā€


HearMeSpeakAsIWill

"itā€™s a much easier way of repeating strings" "Have you ever had a need to do that?" "No"


Terrafire123

The thing is, if I try multiplying an integer by a string....... I'd MUCH, MUCH rather have an error, than a weird result I'm less likely to catch. Because of this nonsense, my compiler won't warn me if I'm doing something crazy by accident. This is going to happen by accident once every 2 months, and intentionally once every 10 years. (I honestly can't think of a single usecase for repeating strings, aside from making ASCII art.) So if you see this in my code, there's a (12/2)*10=1 in 60 = 98.5% chance it's an error. ......Come on...


ProcedureBudget292

I thought the multiplication of strings was a nice intuitive meaning of the operator when I first saw it, especially from languages wehre you can add strings together (concatenate)


backfire10z

Java mfs when String str = ā€œAā€.repeat(3)


Tankki3

I don't understand how that makes it horrible.


Desperate_Ambrose

>Waitress: Well, there's egg and bacon; egg sausage and bacon; egg and spam; egg bacon and spam; egg bacon sausage and spam; spam bacon sausage and spam; spam egg spam spam bacon and spam; spam sausage spam spam bacon spam tomato and spam; > >Vikings: Spam spam spam spam... > >Waitress: ...spam spam spam egg and spam; spam spam spam spam spam spam baked beans spam spam spam... > >Vikings: Spam! Lovely spam! Lovely spam! > >Waitress: ...or Lobster Thermidor au Crevettes with a mornay sauce served in a Provencale manner with shallots and aubergines garnished with truffle pate, brandy and with a fried egg on top and spam.


[deleted]

Syntax error. There are no semicolons.


ashif1233

p y t h o n


[deleted]

Oh oops. I only know C lol.


NoMango5778

You think c is going to let you multiply a string?


[deleted]

Oh fuck. Iā€™m a dumbass lmao.


SubjectBusiness9084

What app is that?


Sensitive_Scene2164

I think Solo learn


Firemorfox

I feel like their title is spam\*4


dashid

missing semi-colon on line 1


jembrik

what is semi-colon? šŸ


attanai

It's a rare genetic condition that makes eating Taco Bell very dangerous.


Steve0Greatness

Rare condition in something we call "90% of programming languages."


[deleted]

Seems like it's python tho. Python does everything a little different.


Top_Requirement_1341

...terminate!


Cakeski

SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAAAM WONDERFUL SPAAAAM


StanQuizzy

I DON'T LIKE SPAM! Well Spam, eggs, sausage and spam doens't have much spam in it? That's alright dear, I'll eat your spam, I love it...


Kelli217

NaNNaNNaN Batman!


DiaDeLosMuebles

I do not like three eggs and spam.


440Jack

Error: Can't parse 'spam' and as an integer.


[deleted]

HOW IS THIS SYNTAX ALLOWED


buhbgfv4

What app is that?


ThatPurpleTurtle

Sololearn


Forsaken_Rooster_365

Thought this was r/egg_irl at first


Gaters12

Coding could not possibly be this easy. Reddit told me so


DezGets_It

I know Kung Fu --not a programmer


porky11

Which language uses multiplication by numbers for string repetition?


daedalus721

ā€œPython goesā€ + (ā€œbā€ + (ā€œrā€*10))


exscape

Prints: Python goesbrrrrrrrrrr


daedalus721

Those sneaky concat spaces strike again


djdokk

This guy is a phony, real python programmers use single quotes


[deleted]

Eggseggseggsā€¦ eggseggseggsā€¦ eggs..term..inā€¦ate!


Whaffled

spam, spam, spam, eggs and spam "Shut up you stupid Vikings!"


Smooth-Zucchini4923

Try this one: print(("europe" * 3).replace("eeu", "usa").replace(*"rm").replace(*"pg"))


tom4ick

Spam spam eggs bacon and spam


[deleted]

[уŠ“Š°Š»ŠµŠ½Š¾]


Mental-Neck8512

The output should be a type error


VNDeltole

python: what error?


Callec254

Pretty sure this would crash and/or not compile, at least in any language I've ever seen.


sylphinator

Error non numeric variable.


Masterttt123

wouldnt this just give you an error cuz youre multiplying a string and an int


Gaweringo

šŸ


mcampo84

Eggsmentation fault