Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "python2"
-
Someone on the IP 127.0.0.1 has been creating a lot of bugs in my code, please beware of you notice any connections from that address.15
-
Don't know if it's up here, found it on r/ProgrammerHumor and thought it deserved to be shared :)28
-
Customer at a first meeting:
- "Didn't realize you're a developer, you're almost good looking!"
Never got a more bittersweet compliment.20 -
I accidentally created a bug that became an amazing feature at my last job.
It was for a program to read barcode tickets (we created software and web solutions for events), and to register the barcode sacnners to the computer I had to do some magic with USB-detection since it was not specified which brand the scanners would be (so no SDK would be available).
When the scanner was plugged in it would create its own thread so it wouldn't interfere with the UI of the program when it was reading/sending data.
Somehow I messed up with the thread termination for new scanners so it would accept to connect more than one scanner and it would work flawless since it was its own thread in the program.
When I tried to think out a solution for multiple scanners when planning it I got a headache and thought that's something for later. Turned out alright in the end apparently.8 -
When you've been getting lots of comments on your pull request and have to keep asking for approval.7
-
"It must work in IE6, we still use it in our offices."
While developing a JavaScript web app for a bank with 10 000+ employees. In 2014.8 -
Coolest project: I once worked for a customer who hosted an exhibition for a few thousand visitors in a big event arena in Stockholm.
They didn't want to use the existing ticket reading system on the arena so I had to build my own application compatible with barcode scanners (they said this about one week before the event).
It wasn't a complicated application to dev but with the tight deadline and no time to actually stress test it, it was the coolest thing to see hundreds of people streaming through the ticket station flawlessly.
Day 2 of the event I built a simple web application so I could see the flow rate of read tickets while I sat in the arena pub with a beer.6 -
Had to wake four people up at 2 am to fix a crashing service.
10/10 would deploy to production on Friday night again.24 -
Lmao I’ve never learned how to program. I’m just winging it and have been able to fool everyone the last 10 years.
Senior engineer checking in.11 -
At introduction of new class teacher asked which _one_ of the following isn't a programming language:
- Swift
- Pseudocode
- Haskell
- HTML
Took my chance on HTML, but apperantly pseudocode is less of a programming language according to him.30 -
Servers down.....
Everyone : Best day ever. 😎 Screw you guys , I'm going home.
Network Engineers : 😭😲😰2 -
”Are you planning on having kids in the near future?”
Literally (very) illegal to ask where I live. Too bad I was too young to understand the severity of him asking.
Worst place I’ve ever worked.8 -
Was scrolling through LinkedIn and had forgotten i wasn't on devRant. Just thought:
- "Man, these rants really suck." -
After working as a developer for 4-5 years I finally took up school again.
The teacher at our first programming course insisted that we named all our variables in our locale language (swedish) and always started arrays at index 1.18 -
Best and worst customer I've had: A bank.
Great because they had so much money for projects.
Unbearable because everything needed to work in IE6.6 -
Biggest dev insecurity?
Probably http://
It’s not secure at all, never feeling very confident when browsing that protocol.5 -
So, I was out cruising in my sports car the other day. Porsche, two seater, about 400 hp.
When I stopped at a red light I was next to a man driving his family of four in his Volkswagen. I revved my car to show my power, but he seemed unfazed by my superior engine. When the light became green I floored it, he didn't have a chance of catching up, I just left him behind and laughed. He's so stupid for driving that slow car.
I can't understand why anyone would ever want to drive a Volkswagen when they are just so obviously slow?
👆This is how you sound like when you compare languages only based on how fast they are.10 -
OMFG it happened again. I'm always very explicit with recruiters that I don't take full time employment while I'm studying. This one was very understanding about it and said he found a great match for my skillset.
I just had a meeting with the CEO of this great match of a company.
- "No, we only seek people who can work full time, let's keep in touch when you've graduated".
What the fuck, way to waste everyones time.10 -
Due to the coronavirus we are currently required to develop all our web services with SOAP and sanitise all our input for at least 20 seconds.2
-
What the fuck, it says on both my LinkedIn profile and on my CV that I'm a student but I can take on part time projects, and I also told a recruiter the same thing over phone (after he found me on LinkedIn).
Today I had lunch with said recruiter. Guess who had no clue I was a student?9 -
Few weeks ago I was having a few beers and messing around with a Minimax AI that could be used for different games as long as you fed it possible moves and win/loose-conditions. Could be used for like Tic Tac Toe on a 5x5 field, connect four etc.
I hadn't got it to work yet as I tried to implement alpha-beta pruning to optimize it. When I was playing against it I thought "Damn you're stupid, why would you even make that move" but still finished the game.
Before I knew it I had fucking lost. It outplayed me like 6 moves before I even knew what was happening.
And that's one of the top coolest feelings I've had as a developer, got destroyed by my own program.3 -
It’s actually pretty neat. I constantly suffer from impostor syndrome, so I always have keep learning to keep up the facade.5
-
A Geologist and a developer are sitting next to each other on a long flight from LA to NY. The Geologist leans over to the developer and asks if he would like to play a fun game. The Developer just wants to take a nap, so he politely declines and rolls over to the window to catch a few winks. The Geologist persists and explains that the game is real easy and a lotta fun. He explains, "I ask you a question, and if you don't know the answer, you pay me $5. Then you ask me a question, and if I don't know the answer, I'll pay you $5." Again, the Developer politely declines and tries to get to sleep. The Geologist now somewhat agitated, says, "OK, if you don't know the answer you pay me $5, and if I don't know the answer, I'll pay you $50!"
This catches the Developer's attention, and he sees no end to this torment unless he plays, so he agrees to the game. The Geologist asks the first question. "What's the distance from the Earth to the moon?"
The Developer doesn't say a word, but reaches into his wallet, pulls out a five dollar bill and hands it to the Geologist.
Now, it's the developer's turn. He asks the Geologist, "What goes up a hill with three legs, and comes down on four?" The Geologist looks up at him with a puzzled look. He takes out his laptop computer and searches all of his references. He taps into the Airphone with his modem and searches the net and the Library of Congress. Frustrated, he sends e-mail to his co-workers -- all to no avail.
After about an hour, he wakes the Engineer and hands him $50. The developer politely takes the $50 and turns away to try to get back to sleep.
The Geologist is more than a little miffed, shakes the developer and asks, "Well, so what's the answer?"
Without a word, the developer reaches into his wallet, hands the Geologist $5, and turns away to get back to sleep.3 -
Told the recruiter about 4 times before my lunch interview that I was a working student (I could only take part time jobs).
Just as we sat down and got our food he asked me where I currently worked, and I gently reminded him that I was still, in fact, a student.
He had this weir look on his face as I had tried to trick him into a free lunch, as all the positions he had was for full time jobs.
Still ate the lunch and had awkward small talk the entire time.6 -
Adding a feature to 18 000 undocumented lines of code, written in PL/SQL. Oh, did I mention it was just a single function?3
-
Apparently you make more money if you use spaces than if you use tabs
https://stackoverflow.blog/2017/06/...9 -
Took me longer than I'd like to admit before I realized why my function always returned zero.
Too quick with the constructor it seemed.6 -
Good to see instagram move to python3 without an exception. Literally that was smooth. Cheers to those who think Python is not scalable. 95 million photos on daily basis. 400 daily users.
https://thenewstack.io/instagram-ma...5 -
During mockup presentation where everything is perfectly vertically aligned:
Dev: "How should the surrounding content behave if the article is longer?"
Designer: "That won't happen."3 -
CAPTCHA meaning: "Completely Automated Public Turing test to tell Computers and Humans Apart".
Proof the the CS community is bad at creating acronyms.4 -
Some back info that you need to know for this rant:
1) I am a Canadain, so I spell 'color' like: colour.
2) Americans spell 'colour' like color.
Today I was debugging a Python file that I and my team of Americans and Canadians were working on. I ran the code and got an error that one of our variables was named incorrectly. I searched the code up and down for 3+ hours looking for the issue. After taking my lunch break I came back and read the file again. Then I realized it: I had started working on one part spelling color like colour, and then an American finished the project, spelling colour like color, so there were two different variables. This really pissed me off because we could have fixed it by deciding on a language before we started the project. I fixed it quickly and now we have a new rule at the office: always use American English when naming variables.
Moral of the story: decide which language to use for variables when working on a multi-national team.10 -
MATLAB sucks so bad. Why my university professors keep forcing us using that crap instead of Python?!20
-
Once worked for a guy who lectured me in front of the whole office because I didn't continued work at home after I stayed 3h unpaid overtime at the office.
I quit soon after that.3 -
Always use SELECT-query with the same conditions before you DELETE/UPDATE in a production database.1
-
Porting over code to python3 from python2 be like:
(Cakechat, in this case)
Day 0 of n of python 3 compatibility work:
This should be _easy_, just use six and do magic!
Day 1 of n:
Oh, true division is default instead of integer division, so I need to replace `/` with `//` in a few places.
Day 2 of n:
Oh, map in python2 behaves differently than map in python3, one returns a list, other an iterator. Time to replace it with `list(map())` then.
Day 3 of n:
Argh, lambdas don't evaluate automatically, time to fix that too.
Day 4 of n:
Why did I bother trying to port this code in the first place? It's been so long and I DON'T EVEN KNOW WHAT IS BROKEN BECAUSE THE STUFF RUNS WHEN I BREAKPOINT AND STEP THROUGH BUT NOT WHEN I RUN IT DIRECTLY?!
Day ??? of n:
[predicted]
*gives up*
I've had enough.4 -
Worked as a web developer on a really small agency and we always said to customers that were not designers so they need to provide us with a mockup if they want it fancy.
One customer wanted us to design a campaign site for an event and we asked for a design mockup.
"Sure, I'll send it right over!"
About 2 hours later a bike messenger knocked on our door and gave us a coaster from the merchandise. -
Favourite code editor?
Hands down, it’s actually Vim.
It’s mostly because I haven’t been able to exit it though. Actually it’s the only reason. I’m stuck. Someone please send help.9 -
the biggest lie in human history : "we will keep your information on file in our database and it may be evaluated with respect to other positions that become available in the future."3
-
Apparently the firewall at work has blocked access our git repo since there are too many consecutive requests to it.3
-
I've set up my server to only accept logins with SSH-keys, and permanently banning all IP:s that attempt login with passwords.
Now I can't stop watching the banned IP:s stacking up, it's like drugs to me.6 -
I'm currently reading a course in Project Management and I have yet to find an image in the course literature with a person that doesn't suffers from a headache.1
-
After hours of debugging and trying to find a solution online I got frustrated and started working on a different module, thinking will come back to it later. Next day when I Google the errors I find a similar question in stack overflow which might have a solution. Feeling delighted I check the question but no answers. So I see the date and the user who posted it, found out it was my colleague who was also debugging the same problem.
-
I once added a semicolon at the end of a line when coding in Python.
I’ve brought shame on my family.4 -
> be me
> work on a nice project with friends: A, B and C
> joined in a bit later, but before any real progress was made + we scrap the existing code, because it was Python2 or something
> decide on a framework
> A wants to create one himself, instead of using an existing one
> we fight for a little, but let A do his thing
> 2 months later
> been waiting the whole time
> +1000 lines on github, but still not finished
> "Wouldn't it be better if we would use the normal framework?"
> "No, mine is hand-crafted for that task"
> "But it is full of bugs"
> "If you find one major bug, we'll ditch my framework"
> finds major bug
> "That's fixed, just give me a min-"
> finds another bug
> "Thats just because you don't know how to use the framework"
- Documentation inside ONE gigantic README
- Library is missing the core features we needed/those which are implemented don't work
- Both B and C were on my side from the beginning (in that we should use "Already Existing Fully Documented Popular And tested Framework Which Does Everything We Need")
> "But i dont understand this framework so explain it to me"
> send him a few code examples + a tutorial??? (dont remember if i actually sent im the tutorial before i left)
> "explain it to me, i can't understand it"
> I CANT UNDERSTAND YOUR FUCKING FRAMEWORK DUMBASS
> ragequitted the server+project
To this day i still don't know, which framework they are using..
Also that Python 2 code in the beginning was because A didnt know the difference and copied (yes by hand) the code from atom to github without testing anything.4 -
Quitting my last job. I had been there for about 3 years and had a great time there.
It was only my boss and I, we were developing software and websites for events so we were quite often out meeting and partying with people, it kinda became a part of the job. We had a fridge always stacked with beer and champagne which was for us and our friends to use. The office was located in the middle of the most exclusive business and club district in the city, so I could use the office as I wanted during evenings to meet up with friends and drinking beer.
But it was expected to work a lot of overtime. I was single and young and really liked what I was doing so I didn't mind. But then I met the love of my life and started to spend more time with her. I couldn't stay and work as often and would rather be with her on weekends.
It became quite hard to live up to my boss's expectations and it always felt like I disappointed him if I didn't (or couldn't) stay for an after work, and when I did, it felt like I disappointed my new girlfriend instead.
Ultimately I felt I had to choose one of them, or I would definitely loose her. It was a no-brainer since I knew I couldn't keep working like that forever, and didn't want to risque a relationship because of work.
It took all of my courage to do it and I felt so bad because I knew my boss (and my friend) would feel like I betrayed him, but I knew it was the right thing to do.
I can still miss it sometimes, but I don't regret it.3 -
WORST interaction with management?
Wouldn’t it be more rare to find a GOOD interaction, am I right fellas?3 -
So i have been working with a so called python expert my manager on a project.
He has 3 years of more experience in python than me.
The best thing is he shows up everyday with random post from stackoverflow to fix our bugs everyday.
And if the code is in python2 he says that only difference is just put () around print and it will work
🤦♂️
He earns thrice as much i do3 -
These two strings walk into a bar and sit down. The bartender says, "So what'll it be?"
The first string says, "I think I'll have a beer quag fulk boorg jdk^CjfdLk jk3s d#f67howe%^U r89nvy owmc63^Dz x.xvcu"
"Please excuse my friend," the second string says, "He isn't null-terminated." -
Reviewing code in a project, found this one:
# Todo: Fix horrible parent member check. People may have been killed for better code
-- horrible code here -- -
I just had my first "Group project"-experience and holy fucking shit am I about to explode right now.
I messaged you one fucking week before the project is due and ask for your input that none of you contributed to and if that was too advanced for you imbeciles to handle then HOW THE HELL ARE YOU SUPPOSED TO SURVIVE THREE MORE FUCKING YEARS IN CS. THEN YOU HAVE THE DECENCY TO RESPOND SIX FUCKING HOURS AFTER THE PROJECT IS DUE AND COMPLAIN ABOUT THE WORK.
WELL GUESS WHAT YOU FUCKING WASTE OF MOLECULES, I ALREADY TURNED IT IN AND THE ONLY REGRET I HAVE IS PUTTING YOUR FUCKING NAMES ON THE PROJECT.
I DRAGGED YOUR SORRY ASSES TO THE FINISH LINE AND THEN YOU HAVE THE COURAGE TO ASK "WHAT TOOK YOU SO LONG"?
NEXT TIME AT LEAST HAVE THE COURTESY TO SPIT BEFORE YOU FUCK SOMEONE OVER4 -
About every project at my last job. Impossible to like any project with a boss that legitimately thinks frames and tables are a better option than learning css.
But why not, attribute styling on html-elements are the future indeed.7 -
I have started my first job as a web developer since February 1st. During the one month training period which is in progress, one of the training sessions was on Git and believe me Git is the most fascinating thing came to know me since I have joined computer science field. In love with it.2
-
Time to learn as mush as i can, Just Made Hello world Programs in 9 languages.
C#
C++
HTML
JavaScript
NodeJS
Perl
PHP
Python2
Ruby
If you Have some other things Tell me And i will try to learn it to33 -
Got an assignment in school to make an easy project in c for embedded real time processors with a free complexity level (it was really early in the course and many had never been programming before).
Since I've been working a few years in development I decided to create an own transmitter and receiver for an own protocol between processors (we had just spent a week to understand how to use existing protocols, but I made my own).
The protocol used only 1 line to communicate with half-duplex and we're self adjusting the syncing frequency during the transmission. I managed to transmit data up to 1 kbps after tweaking it a bit (the only holdback was the processors clock frequency).
Then I got the feedback from our teacher, which basically said:
"Your protocol looks like any other protocol out there. Have you considered using an UART?"
Like yeah, I see the car you built there looks like any other car out there, have you considered using a Volvo instead?1 -
The new iPhone is gonna have an odd number of pixels in width. I can already feel the anxiety of trying to achieve pixel perfection.7
-
Shoutout to all the sales people in every organisation: the thing that you are selling with so much pride, someone smarter than you is making it. Don't be an asshole to the developer.
-
What kind of sick joke is it that the url for camelCase on wikipedia is www.wikipedia.org/wiki/Camel_case2
-
Life is a constant battle of not knowing whether I want to quit programming forever, or if I just need 8 hours sleep.1
-
My last boss insisted on using tables instead of divs and then asked me to make it responsive (every damn time). Also, functions that were over 10k of lines.4
-
!rant
That level of satisfaction when you successfully port a Python2 Project to Python3 and implement proper backward-compatibility - without 2to3! -
I became good enough to be hired as a developer by reinventing lots of wheels and making mistakes. A lot of mistakes.2
-
Going to release the biggest feature I have implemented for Product I work on. Change in more than 150 files and it is very very critical.
Wish me luck..3 -
Lmao probably the time I worked 150 hours over two weeks (had to sleep on the job) for a project. During delivery I worked 09-22 during the weekend (unpaid) while my boss was out on his boat.4
-
What do you guys think about Visual Studio Code?
I personally like it, just wondering your opinions.11 -
Do we actually know how many people there are on devRant?
Just wondering to see which percent of the community liked the top posts.9 -
I don't know how many hours in a row it was, but one month I put down about 340 hours of work.
My boss had taken upon this massive project with a deadline at the end of the month. I basically lived at the office (I actually spent the night there more than once), meanwhile he was out sailing.1 -
I was trying to watch an instructional YouTube Python video (on my Android phone) while it was dark in my bedroom, and then I remembered that Youtube for Android doesn't have a damn dark mode... NOOOOOOOO!!! :( :(
Why did you do this to us Google!5 -
So what do you all believe the best first language is and why? I personally say Python or JavaScript because they are simple, and easy to understand8
-
I was making coffee this morning when one of my managers walked up and asked me if I could make a cup for him too.
I was like sure, anything to make you happy. (Maybe you'll lessen the amount of work I have to do today 😀)
I finished making both the cups of coffee and the brought his over to his desk. He drank some and then almost spit it out. He complained about how the coffee was not dark roast it was medium roast, and he could tell the difference and I should have known that.
I was like "well if you're going to complain about how I make your coffee go make your fucking own". (I didn't say that out loud though, I probably would have been fired!)8 -
Booting up my Windows computer at work after 1 year leave. I'm gonna do a Windows Update.
I suspect I'm not going to get anything else done today.6 -
201, an intro programming course using Python2. Prof was funny. She was a Redditor and slipped the casual troll face or derp face or other rage comic character in her lecture slides.
-
Cakechat.
Not going to deny Lukalabs' credit where it's due, it's an actually good NN chatbot. Works pretty decently even on my poor old Haswell i3.
But... the things you do, Lukalabs.
First off... PYTHON 2?!?! IN ${CURRENT_YEAR}?
Jokes aside, there's a lot of things that could've been done better, or in a more compatible way, or both. Such as:
tokenized_dialog_context = imap(get_tokens_sequence, dialog_context)
tokenized_dialog_contexts = [tokenized_dialog_context]
1. imap doesn't exist in python3, but whatever, doesn't make a big difference.
2. why wrap it in another array?
3. *two* variables, and the first one just used to create the second?
I will admit, Cakechat works well, but it's one of those things where if you try to run it on anything other than the recommended settings, it's not very fun.
Right now, I'm porting it to python3 with six, and making small refactor adjustments in random places to clean up the code.
(Official live demo at https://cakechat.replika.ai/, if you want to try it out.) -
Google Assistant in iPhone? Seriously? In the opposite way Siri should be introduced to android phones else I would be unable to understand this business decision!6
-
Fuck UPS and their API Documentation. Has anyone here ever integrated their API ?
Their API documentation doesn't mention any sandbox or testing accounts.
If I click on their create access key button, it takes me to a form which requires a real payment method and address which seems like it's meant for real stuff not testing.4 -
My upwork account is banned for sending too many proposals without getting too many jobs.
Got 2 jobs out of 35-40 proposals sent.4 -
DO NOT, i repeat, DO NOT USE "scapy.all" in python3.
I spend hours figuring this one out. In one commit i added tests and other tests not connected to my tests started failing. I ran the tests several times and also checked the rng-states, but everything was the same as on the commit before...
There was one additional error message i decided to check out, which was the result of "import scapy.all" (that's a module that contains all the scapy-exports). I removed that import and used the right packages and suddenly: all tests passed.
Fuck this inconsistent piece of crapware that has its python2-files in the pip3-repo and gave me that hell to debug.2 -
Pursuing knowledge in python, as my first "real" programming language (does bash count? 😂) - wish me luck guys!4
-
Once I was using rsync to copy some large files from a cloud to my local machine. So right after I started it, I went out for some coffee and when I came back it was not done. And to my horror I forgot to use --progress. For people who don't know what it does is , it only shows you how much copying is done. So now after about 45 mins of copying done , I had to stop it start all over again with --progress so that I can see the progress as it completed. 🤔2
-
When you write print(string), which type of people are you:
A) 1. ( 2. string 3. )
B) 1. () 2. string
C) Autocomplete guys
D) hodor
*applies for echo, printf, println, etc.
** python2 and c++ are discriminated on purpose9 -
I received devRant stickers a couple of months ago, but I forgot to post a picture. Would you guys believe me or I have to prove.4
-
Using Tkinter as my GUI when doing my compter science project instead of appjar or easygui. When the GUI isn't marked2
-
Just spent a lot of development hours today! Quite more than routine! Not even tired because had great sync with the partner dev! Cheers!
-
Not a single year passes that the problem of python2 vs python3, as a dependency, doesn’t bite me in the ass. Node modules frequently fail to build, awscli suddenly can’t find the python it needs because homebrew apparently hard-links to python3 in Cellar... Seriously, W T F?! Fuck you python!!!! You fucking assholes!!! Fuck you and go fucking die!!
-
The worst part about switching code from python 2 to python 3:
`map(myfunc, mylist)`, behaves differently, but won't throw an error. It will just show up as nothing.3 -
When we did a chatbot in my computer science lesson and seeing all the different attempts at it to work around problems1
-
!something annoying
I've always had this in the back of my head, and off lately it's eating me alive.
Why don't we just rename python3 to python and Python to python2?
no I'm not gonna alias it in my shell. I'm talking about renaming them in all the distros.
there've been talks about renaming python3 to python and marking it as the default for quite long, but nothing has come of it yet.
I get that a lot of shit is gonna go down if this happens rn, systems breaking, migrations, panic, a lot of systems still working on python2 but we need to migrate.
we've also been hearing a lot of speculation about "Python 4", from earlier this year.
WHAT IS HAPPENING UGHHHH
pls revolution now7 -
New piece of code which should work perfectly and solve your problem but it is not working just because you forgot to remove an old piece of code you were trying to fix the same problem! Fuck my life!1
-
We have a school project where we're supposed to develop a project for a company. In order to finish the project before our presentation I put in over 40h per week (on top of other classes). The only thing missing is the design, only placeholder buttons at the moment. Ask the designer 2 weeks in advance if he'll be able to provide me with the design: "Sure, I'll do it soon".
And now the presentation is in one day and the app looks like shit because we don't have any design for it. -
Trying to contribute to a translation project on Crowdin, then remembering that my 14 day trial is expired.
Why does Crowdin, a platform trying to help people get translations for their projects make you pay? Couldn't they have more of like a GitHub payment model (free for basic features, pay to get more)?1 -
Someone tell me why I picked Tkinter as my GUI when I could have used easygui and got the same marks. 🙃😅5
-
The highlighted lines are a part of a flask app I'm writing in Python2(not python3 because I'm a bit too lazy to fix few dependency errors). All functions work as expected and all templates are rendered individually, and routes are all defined. check_date checks for invalid dates like 32Jan, 2018. It returns 0 if date is valid. add_data basically returns 0 if it decides to add user data into the database(db).
The problem is that line 60 renders but lines 54,57 don't. Any ideas as to what might be going wrong.?
PS: I'm building this app for learning and not for a production environment...1 -
Python Developers, if you are working on a python project or Library developers(python)(3rd party) please move to Python3 there's no need to get stuck on python2. it's fucking horrible when those dependencies break.
-
Python3's asyncio is awesome.
In an IoT server we used python2 socket programming with multi-threading. Recently I have changed the socket layer to python 3 asyncio and performance was far better. I am not gonna use multi-threading anymore.
What do you guys think about asyncio?1 -
I just spent 6 hours trying to get JupyterHub working with Real-time collaboration.
Time. Fucking. Wasted.
Outdated or non-existent documentation. Weird conventions. Everything is just annoying.
Is it really just hard to push a complete product to production instead of an half-ass untested mess?1 -
I've been stuck with bootstrap in the last projects at work but I wish to break free. Been looking a bit on material design. What other UI frameworks do you guys use?7
-
why google???? I mean how hard for them to update a reference document. The reference of gmail api for python2 and python2 is in EOL. The first error I found for python3 is reported in 2015 on GitHub and now is 2019. I mean, seriously the bigB_Company don't have time to update their document. I scratched my head for an hour, what the fuck did goes wrong.
-
Not my fav because I'm not proficient in anything and don't consider myself a programmer. But, I use many languages day to day as a sysadmin.
I come across Perl enough to know I don't like how their modules and dependencies work. I have the most difficulty when dealing with this. PHP, Python, Ruby, and GoLang never give me as much trouble as Perl.
Also, coming across more Python3 dependencies, dealing with older Python2 environments, as stated by many others as well, is becoming more and more painful.
Maybe all of this can be solved with some unifying virtualenv for all popular languages/environments, supported fully by the underlying OS. -
!rant && needAdvice
I want to start learning python..
My question now is: Should I go with Python 2 or 3? I heard there are some rather major differences6