1.4k
u/humblevladimirthegr8 May 06 '21
Damn girl, did you see how hard he used `git checkout` on your repo? Someone's gonna put up some pull requests.
744
u/PM_BiscuitsAndGravy May 07 '21
Felt cute, might merge later.
298
u/delvach May 07 '21
I'd fork it.
218
u/PM_BiscuitsAndGravy May 07 '21
Just gotta commit.
97
u/UltimateKingCold May 07 '21
I hate all of you, I'm checking out to my own personal development branch.
16
63
u/larsmaehlum May 07 '21
Or you can keep several stashed away where nobody will ever see them.
45
4
51
u/-------I------- May 07 '21
Better be careful! Some guys got harassed and ultimately fired for making this joke at Pycon.
43
u/Background-Adagio-97 May 07 '21
That’s fucking sad. It’s a fucking joke, people need to get over themselves.
18
u/artanis00 May 07 '21
What they need to do is quietly report it to the appropriate authority (starting with the convention organizers in this case) so that a measured response can be made.
Escalate carefully, because once it's on the Internet all you're going to get is an execution.
→ More replies (1)6
9
May 07 '21
What the actual... That whole story is what is wrong with all the general social justice and culture warring, everything has to immediately escalate to maximum outrage.
The shocking part is that the story is from 2013, and the climate seems to not have recovered at all, but rather gotten worse.
15
107
u/alphadeeto May 07 '21
Sorry, he's in my .gitignore list
21
u/CollieOxenfree May 07 '21
Ah yes, the part of the movie where there's some tension due to a failed merge, so she blocks him and they go without speaking for a while. Until one day, she notices an anonymous merge request to fix a merge conflict on the relationship branch.
23
15
u/luckor May 07 '21
Push, push, push! Don’t pull out!
1
u/iceman012 May 07 '21
Pushing repeatedly without ever pulling is terrible practice.
→ More replies (2)1
7
4
1
May 07 '21
A woman loves a man who knows when to pull out. Not sure about the request part... Seems kind-of beta.
208
May 06 '21
[removed] — view removed comment
12
→ More replies (6)5
u/The_32 May 07 '21
!ShakespeareInsult
16
u/Shakespeare-Bot May 07 '21
Thou art a errant, dizzy-eyed lout.
Use
u/Shakespeare-Bot !ShakespeareInsultto summon insults.6
u/delta4zero May 07 '21
!ShakespeareInsult
5
u/Shakespeare-Bot May 07 '21
Beauty starv'd with [your] severity.
Insult taken from Romeo and Juliet.
Use
u/Shakespeare-Bot !ShakespeareInsultto summon insults.
568
u/TobyWasBestSpiderMan May 06 '21
Finally a love story with some realism
279
u/CatOfGrey May 06 '21
Reminds me of the occasional story where the two people had an affair, but never communicated by email. They just signed on to a shared email account and edited the same draft over and over.
43
18
6
u/LaDivina77 May 07 '21
"foldering", and Manafort was fucking around with it once upon a time.
→ More replies (1)2
2
u/Furoan May 07 '21
If Tales from tech support is any guide, what would happen is that they would keep their shared file in a ’deleted items/recycle bin’ type folder, and then after a computer crash lose contact when the computer tech tries to free up some space to fix the mess they made of Firefox with 23,600 add on search bars. Without that file, they don’t even know each other’s email address.
Bonus points if the tech is the romantic rival.
1
u/Ceddy_D May 07 '21
Do you remember what it’s called? I’m intrigued.
2
u/CatOfGrey May 07 '21
I think the first time I saw this plot device was on NCIS, which is terrible at presenting technology.
They are a big abuser of the "I'm getting hacked, so I must type really fast" meme. Looking back, I am surprised that they wrote something this clever.
I had also "discovered" this on my own, using my Hotmail account as cheap cloud storage and a reminder notepad separate from my work.
0
May 07 '21
[deleted]
→ More replies (2)45
u/Duuqnd May 07 '21
That reminds me a bit of the chat system on the old ITS operating system that was used at MIT's AI lab in the 60s and 70s. Two people's terminals would get connected together so that anything typed on one would appear on both. Problem was that they also shared a cursor so both couldn't type at once.
26
u/CollieOxenfree May 07 '21
Damn, they had multiplayer notepad back in the 60s?
14
u/celexio May 07 '21
People using technology are becoming more stupid by the day because they no longer have to come up with creative ways of using what they got that was nos designed with the purpose of what of what they want to do.
So basically programmers are making the world more stupid by creating solutions for all purposes.
→ More replies (4)7
May 07 '21
I was thinking about this the other day and my understanding was that things have become too complex to just naturally learn through fixing ones own problems. If back in the 60s an appliance broke my grandpa would go and fix it. now when something breaks it’s either a quick fix or something too complex or requiring special parts. The complexity ramp (of day to day repair) has been broken and it serves as a learning block and to make things seemingly more daunting.
I think the same thing occurs with coding. As someone who just started learning that block was a massive first step. However if I had begun to use computers when coding was less complex the difficulty would have built along with me.
I see this with hacking especially the bar for entry is soooo much higher than it used to be. Because it takes so much more effort before you can have any reward it’s again another barrier to learning. I think the lack of natural complexity ramps are what is making people stupid and less inclined to learn new things.
→ More replies (2)11
1
658
u/pl9870 May 06 '21
And then they break up once they learn they were using different versions of Python. The end.
183
u/setibeings May 07 '21
Seems like a legitimate reason to break up. Whichever partner is still on Python 2.x clearly lacks the ability to get over things.
48
u/theLastNenUser May 07 '21
It feels like even 3.5 -> 3.8 would be enough of a reason at this point. I cannot count the number of times homebrew broke my virtual envs until I got pyenv
17
u/setibeings May 07 '21
I just use pipenv, and then force anyone who wants to use my stuff to use pipenv, because let's face it, the moment my little utility has a dependency, using pipenv is easier than other options.
6
u/Ue_MistakeNot May 07 '21
So much drama with pipenv though...
It also has a lot of drawbacks. Flit, poetry, Fonda, they all have. Nowadays I dropped all those fancy extra layers and just use pip-tools to generate a standard requirements.txt in the root folder and a bunch of other specific requirements-(test|dev|lint|...).txt in a requirement directory for what it who ever needs those. I got loose and pinned reqs in one quick step, and everything can understand requirements.txt format.
It makes tooling and sharing much faster and much easier.
→ More replies (7)2
218
u/meygaera May 07 '21
Or one used vi and the other used Emacs
115
u/darthalex314 May 07 '21
Or one used tabs and the other used spaces.
15
u/Roflkopt3r May 07 '21 edited May 07 '21
I still don't get that debate at all. Tabs are superior in every way.
Fewer key presses for creating and removing them
Everyone can adjust their visual width for themselves
Yet auto-settings are generally consistent so that the "space will always show it as its intended" rarely provides any benefit either
It seems to me that space proponents generally fall into one of two camps:
Grouchy old people who suffered through bad tools back in the days and want everyone else to suffer too
Hipsters who just want to be different
→ More replies (2)6
u/notable-compilation May 07 '21
Fewer key presses how? It's one, whichever way you do it. Same key as well.
4
May 07 '21
I think they mean pressing Space however many times. Old tools probably wouldn't convert a Tab press to multiple spaces unless maybe it was some Emacs macro thing.
→ More replies (1)0
May 07 '21
[deleted]
2
45
May 07 '21
[removed] — view removed comment
42
May 07 '21 edited Jun 16 '24
fertile tie innocent boat stocking aloof market sleep apparatus axiomatic
This post was mass deleted and anonymized with Redact
→ More replies (3)15
u/Thomas_Pereira May 07 '21
Ahhh compromise… choosing the only solution that makes nobody happy… my favorite concept
→ More replies (1)8
43
u/bond7o6 May 07 '21
They'd end up both using evil-mode and living happily ever after. It'd be the whole arc of the second season(/sequel).
31
u/jonahhw May 07 '21
In fair Verona where we lay our scene
I'd say Two households both alike in dignity, but we all know that vim is better
11
14
7
1
1
19
u/nonpondo May 07 '21
One of them accidentally opens vim and is never able to read the others messages ever again
1
112
161
u/TrustInButtsMcGee May 06 '21
Not gonna lie, this would work on me IRL.
25
u/A_CGI_for_ants May 07 '21
These days pandas docs be lookin a little thicc...
12
58
u/grassytoes May 07 '21
How do people deal with Jupyter notebooks and version control? It's always saving meta data such that even if you don't change any code in the notebook, it's marked as modified.
I've taken to routinely doing a 'git checkout the_notebook.ipynb' each time I'm done using it.
39
u/trimeta May 07 '21
Jupytext, sync a .md and/or .py file with the .ipynb, then check that version into the repo. All the weird timestamps (and cell outputs...) are stripped away.
8
29
u/molly_jolly May 07 '21
*.ipynb is the first item in my gitignore. If you want to know what's in my notebook - and I say this for your own sanity - set up a meeting with me and I'll walk you through it.
4
3
u/drkztan May 07 '21
I'm wrapping up my computer vision MSc, one of the modules' staff LOVED having assignments delivered on jupyter. These were GROUP assignments.
I have never hated something so fast.
4
u/FountainsOfFluids May 07 '21
Is Jupyter actually used by some segment of programmers? I remember hearing about it a long time ago, but it just doesn't get talked about much in my circles.
13
u/Tundur May 07 '21
Data science, as the meme would suggest. It's basically just a pandas/matplotlib/pyspark engine, and it's great for walking through complex analysis visually.
2
u/FountainsOfFluids May 07 '21
Ah thanks. That explains it.
5
u/Tundur May 07 '21
No worries, everyone forgets that data science is basically programming. The government has us in the same census category as museum curators and electoral observers.
2
u/grassytoes May 07 '21
I'm currently debugging a function in a large project. If I work with the plain .py files, then every time I test the function I have to deal with a few seconds of imports. In a notebook, I do the imports once, and calls to the function are near instantaneous.
They are also good for presentations with pretty graphs to people outside the group.
3
3
2
u/DanShawn May 07 '21
You can use nbconvert to clear meta data. I just run a command before committing.
1
u/OddBeing May 07 '21
I use nbdime which allows you to ignore parts of a notebook (e.g. outputs) when diffing.
1
1
u/cgarciae May 08 '21
Most projects don't deal with it and you end up with very heavy repos if you have many notebooks.
0
May 07 '21
[deleted]
1
u/cyleleghorn May 07 '21
Yeah... Doesn't jupyter support importing/sharing functions and snippets and output across multiple notebooks to solve this exact problem? Then again, excel supports that too, and I still see shared excel files with a million different sheets, so people are gonna do what they can do in the fewest number of clicks
49
u/Responsible_Version May 07 '21
And then one day, he updated pandas in the shared environment, for no reason, which started a series of updates from which there was no going back.
Unknown to the pip starter, this broke something somewhere, not for him but for her. He knew that he fucked up. He didn't save the requirements.txt for the rainy days to come. He thought she will not notice. But she knew something was wrong. He had created a separate virtual environment, which he claimed was for experimental notebooks!. But she just assumed that this erratic behaviour was due to him not able to reproduce results from paper published in prestigious conference. He might have started self doubting himself, which was the toll every data scientist had to pay.
But just few days later, when she tried to reproduce her old results, while in a meeting with her manager, she realises what had happened. She broke with him, not because he fucked up, everybody fucks up in the jungle where Pythons lurk. She realised she needed to be with someone who was stable, who respected her environment. And he was the opposite of stability. He was the person who was using pre-builts of Python 3.10 in his spare time.
4
68
u/MurdoMaclachlan May 06 '21
Image Transcription: Twitter Post
Vicki Boykis, @vboykis
Producer: Pitch me.
Me: It's a heartfelt romance about two data scientists who have never met, but leave each other carefully-commented notes in a shared codebase, falling in love in the process. It's called "The Jupyter Notebook."
Producer: Get out.
I'm a human volunteer content transcriber for Reddit and you could be too! If you'd like more information on what we do and why we do it, click here!
27
1
59
u/dabbinthenightaway May 06 '21
My roomie is a data wizard. I showed him this and he just breathed out his nose and said "That's terrible."
10
16
23
u/Duranium_alloy May 07 '21
Girls say they want to find a Python guy but they always go for C++ guys.
→ More replies (1)7
17
u/razieltakato May 07 '21
It's kinda like this book: S.
Two people exchange messages in the sidenote of a library book (The Ship of Theseus).
The plot circle around the writer of The Ship of Theseus, and that's what makes this a genial masterpiece: the book in your hand is not the S., It's the The Ship of Theseus... So the history it's not on the book, it's on the sidenotes. The book is also a character of the history.
It's a really great experience, totally worth the time invested.
9
4
u/ijmacd May 06 '21
Bit of a tangent, but does anyone have a good Jupyter host which allows sharing of notebooks?
4
u/arkalsekar May 07 '21
Nbviewer Jupyter is All you Need.
2
u/ijmacd May 07 '21
Ahh thanks!
After doing a bit more reading it seems that GitHub actually just renders .ipynb files too.
→ More replies (1)1
4
4
7
u/SK_DanielleSummers May 07 '21
That's basically how my relationship started. Except via jira tickets! We were in different departments in totally separate buildings miles apart! We became close friends then fell in love. We've been engaged almost a month and I'm the happiest I've ever been!
2
6
u/nubenugget May 07 '21
I'll watch it.
We can see it from both of their POVs and watch as they switch jobs in a desperate effort to find each other.
3
3
May 07 '21
Until they both make git commits to the same notebook, one makes a pull request to master first creating a merge conflict when the other tries to pull updates. Unable to resolve the git conflicts they tragically fork their repo
2
2
u/tmntfever May 07 '21
I honestly did this with my first girlfriend. Before we were dating, she found out that I was "the best Xanga designer" in our school, as I illustrated, designed, and coded a ton of people's sites already. So naturally she asked me to make one for her.
So I designed one for her (Paul Frank Themed) and she loved it. She even asked me how she could make changes to the wallpaper and music player herself, so I showed her how and also left comments on the code to assist her.
I don't remember who started it, but after a while we started using the code for conversations. It was helpful since it allowed us to chat during school, without being in the same classes. This was before it was popular for kids to own phones, and texting was expensive as hell.
Eventually we started dating, it lasted for a few years and then broke up like most teenagers. But it was a very interesting start to a relationship. Very "You've Got Mail"-esque.
2
2
u/alelock May 07 '21
But they end up hating one another when she find out he uses spaces... Not tabs.
4
3
May 07 '21
Surprise twist, she only uses jupyter notebooks to find the simps, her true love language is javascript 😎
3
2
2
u/chrisplusplus May 07 '21
"Data scientists".
Ask me how I know you're a college student with no real world experience.
1
u/bansawbanchee May 07 '21
Lmao.. yea bro. I'm a full stack developer you didn't know. Def not a software engineer.
I inhale all these new Javascript frameworks!
/s
1
1
1
1
1
1
1
1
u/WesleySnopes May 07 '21
Could make for a decent book for a very narrow audience. Too much reading a screen for a movie.
1
1
1
1
1
u/ChaoSXDemon May 07 '21
Lol there are companies that actually pay engineers to convert that into real product code =P
1
1
1
u/douira May 07 '21
That's why it's called a book, you're supposed to write about your feelings and share special moments. Interwoven with brilliant ML code.
1
1
1
u/Panda_hat May 07 '21
And in the middle they find out they’re both dudes causing drama before eventually working things out.
Brokecode Mountain.
1
1
1
1
1
1
1
1
u/VinceGhii May 07 '21
Ngl.. i'd watch it.
10
May 07 '21
Nobody thought you were going to lie.
1
u/VinceGhii May 07 '21
I'm a java developer... i'm a simple men... i don't know why is thought that i have to add the "ngl".
1
1
u/bankrobba May 07 '21
I wish I had the balls to list Notepad++ as a Skill on my resume.
3
u/Grouchy-Post May 07 '21
I dont get it, im guessing OP has no clue what jupyter notebook is used for
1
u/dont_dick_hide_prick May 07 '21
It's like Notepad.exe but fancier, made by the company named Jupyter, right?
1
1
1
u/baseball2020 May 07 '21
They found each other because they were introduced by the k nearest neighbours
1
u/StarkillerX42 May 07 '21
x = 2 + 3 # Adds two and three
y = x + 2 # Want to get a coffee sometime?
574
u/chillerll May 06 '21
I would love to see a movie like that.