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
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuck
Buy Now
Search - "python"
-
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.17
-
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.18 -
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 -
Can we please stop with this shit... its seriously annoying...
Like "master" and "slave" are literally the perfect terminology to explain what is being described... please leave ideology at home...11 -
"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.9 -
So I've started my Python adventure and made an app that lets me know what's my next lesson in school. It shows lesson, subject and time.9
-
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.5 -
Me: you should not open that log file in excel its almost 700mb
Client: its okay, my computer has 4gb ram
Me: *looking at clients computer crashing*
Client: the file is broken!
Me: no, you just need to use a more memory efficient tool, like R, SAS, python, C#, or like anything else!5 -
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 -
sudo apt-get random-tool
Traceback (most recent call last):
Aborting because there's a fork in the spoon compartment on line 43 in main
Error this script only works on Python 2.7 and maybe 4.1 on line 59 in main
Missing symbols when trying to decipher Sumerian recipe for steamed vegetables on line 67 in main
Cannot open shared object: Your OS is a bully and is hiding my files on line 98 in main
Are you sure all directories matching ^(/)?([^/\0]+(/)?)+$ are in your $PATH on line 268 in main
Your computer is kind of vibrating in an annoying way on line 332 in main
Failing because I'm feeling insecure please hold me on line 587 in main
I'm feeling confused about my sentience when running TensorFlow models on line 682 in main
FUCK
HAS ANYONE EVER MANAGED TO JUST FUCKING INSTALL A PYTHON BASED APPLICATION WITHOUT DEBUGGING RANDOM COMPUTER STATE SHIT AND DEPENDENCIES FOR THREE HOURS?16 -
USB-C (or Type C) origin story:
Manager: okay let's see your presentation
Developer: bring usb-key
* Inserts key *
* Nope *
* Flips key, tries again *
* Nope *
* Flips key, tries again *
* Nope *
Developer: ahhhhhh , NEVER AGAIN!
5 months later
"USB forum publishes new specification"11 -
Has anyone ever done this?
Open devrant
See no new posts
Close devrant
Open devrant
Wait what...
Close devrant
Open Reddit
Sees nothing interesting
Open devrant
Okay... Need a tech break...14 -
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 -
Servers down.....
Everyone : Best day ever. 😎 Screw you guys , I'm going home.
Network Engineers : 😭😲😰2 -
Was scrolling through LinkedIn and had forgotten i wasn't on devRant. Just thought:
- "Man, these rants really suck." -
So my IT department at school accused a student (referring to him as MR) I know of taking down the Wi-Fi network.
MR, who I see at student tech support every once in a while, has zero fucking advanced technical knowledge. They thought he took down the network from his PHONE.
The FBI was even getting involved investigating him. 90% of the kids in this school can't even troubleshoot OneDrive, so I find it INCREDIBLY hard to believe a student here did anything.
THE FUCK AM I WITNESSING?19 -
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.14 -
Yes. Please. Stop putting hidden files in my home directory. It's not the place for it.
https://0x46.net/thoughts/2019/...15 -
Wrote a python script to fetch details of amazon products to monitor price differences.
The script is only 50 lines, which is why I love python!8 -
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 -
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?11 -
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 -
Apparently you make more money if you use spaces than if you use tabs
https://stackoverflow.blog/2017/06/...10 -
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 -
When you see a Java devotee using Python and they're doing something like this:
array = [1, 2, 3, 4]
for n in range(0,len(array)):
print(array[n])
At least I get to tell them "hey it doesn't have to be so hard just do it like this:"
array = [1, 2, 3, 4]
for n in array:
print(n)14 -
People always asked me how I got started with Python, I always have to come up with a reason to hide the fact that I started using it because I like the name13
-
sometimes I hate python....
Ive just chased down a bug where a simple string saved in a simple dict sometimes came out as a f*cking tuple(!) when I needed it!
turned out that at some point this dict got updated with values from some other dict. And at some other point, I decided it was a great idea to rewrite that update code into individual setter's instead ... and of course forgot to remove one the trailing comma's, thus creating a perfectly legal tuple .... *sigh*
No errors, no warnings - just plain corrupt data....11 -
I used to think Electron apps were gonna do great and make it more accessible for companies to produce high quality programs with ease.
Oh boy I was wrong. All it did is enable big companies with the ability to refactor all of their software to run 5 times slower, consume 10 times more memory and kill your battery 20 times faster.
I fucking hate all of this prototype fast optimize later bullshit. Can I get some value for my dollar? How come technology is just being degraded for the same of "ease of programming".
You save programming time but sacrifice end user time, cus our time just doesn't fucking matter.11 -
Him: Relation databases are stupid; SQL injections, complex relationships, redundant syntax and so much more!
Me: so what should we use instead? Mongo, redis, some other fancy new db?
Him: no, I have this class in Java, it loads all the data into memory and handles transfers with http.
Me: ...... Bye!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 -
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.9 -
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 -
I feel like the whole CoC debate is just:
"Stop using harmful language!"
"F*** you! How else can I tell you that your commit sucks donkey-b***?!"
"You are banned!"
"I'm taking all of my work with me, you c****!"
"No you are not"
"Yes I F***ing am"
Maybe we can reach a compromise, where we can insult bad coders, just not on the basis of their race/gender/sex? Or, fork a version of the code base for "inclusive-sjw-types" and another for "loud-mouth-a**-holes"?
Like it's really a debate on work ethics. Positive change negative reinforcement...14 -
Always use SELECT-query with the same conditions before you DELETE/UPDATE in a production database.1
-
Haven't written Python in months. Noe I have to go back through a couple hundred lines and remove all the ;s 😂😂8
-
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. -
Finally after waiting on the dashlane team to make a linux version of their application, I got tired and made it into a desktop application in a semi-hacky using the Jade-Application-Kit from the manjaro team <3
https://github.com/asosnovsky/...
(shameless plug)
I feel like I should photopea next, would make a kind of "photoshop" for linux. :D9 -
Apparently the firewall at work has blocked access our git repo since there are too many consecutive requests to it.3
-
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
-
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 -
On Python,You create a gun module, a gun class, a foot module and a foot class. After realizing you can't point the gun at the foot, you pass a reference to the gun to a foot object. After the foot is blown up, the gun object remains alive for eternity, ready to shoot all future feet that may happen to appear.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.
-
ARGGHHHH Python!!! why the hell is this a thing... if I specify a default argument, I want it to be a default argument, not get carried over....13
-
Coworker: so once the algorithm is done I will append new columns in the sql database and insert the output there
Me: I don't like that, can we put the output in a separate table and link it using a foreign key. Just to avoid touching the original data, you know, to avoid potential corruption.
C: Yes sure.
< Two days later - over text >
C: I finished the algo, i decided to append it to the original data in order to avoid redundancy and save on space. I think this makes more sense.
Me: ahdhxjdjsisudhdhdbdbkekdh
No. Learn this principal:
" The original data generated by the client, should be treated like the god damn Bible! DO NOT EVER CHANGE ITS SCHEMA FOR A 3RD PARTY CALCULATION! "
Put simply: D.F.T.T.O
Don't. Fucking. Touch. The. Origin!5 -
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
-
I find it ironic that some python devs hate on nodejs because of npm modules. But then go ahead and create a virtual environment for every new python project.5
-
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 -
Everyone talks about their hate of js but like python is honestly just as bad.
- shitty package manager,
* need to recreate python environments to keep workflows seperate as oppose to just mapping dependencies like in maven, npm, cargo, go-get
* Can't fix python version number to project I.e specify it in requirements
- dynamic typing that gets fixed with shitty duck typing too many times
- no first class functions
- limited lambda expressions
- def def def
- overly archaic error messages, rarely have I gotten a good error message and didn't have to dive into package code to figure it out
- people still use 2.7 ... Honestly I blame the difficulty of changing versions for this. It's just not trivial to even specify another python version
- inconsistent import system. When in module use . When outside don't.
- SLOW so SLOW
- BLOCKING making things concurrent has only recently got easier, but it still needs lots of work. Like it would be nice to do
runasync some_async_fcn()
Or just running asynchronous functions on the global scope will make it know to go to some default runtime. Or heck. Just let me run it like that...
- private methods aren't really private. They just hide them in intelisense but you can still override them....
I know my username is ironic :P13 -
When you think you've either found a bug in Python, or you're going insane, so just to double check, you make two mutually exclusive assertions that could never both be true, and yet, your tests still pass.
I think it's time to find a new job.9 -
I fucking love Python
It just works :)
Half an hour for a nice evening side project.
Even faster than Twitter takes for approving an app.
im waiting now 1 week...6 -
Thank you Syncex for one of the best powershell scripts ever. This literally sped up my laptop and surface :35
-
2 things today are greatly annoying.
1. I see one more fucking Wix ad, I'll ram an entire cow through someone's anal cavity.
2. GPU drivers decided "I feel like FUCKING YOUR SHIT UP TODAY"
God, why.6 -
About 3 years ago, my girlfriend had this laptop that she got from her University. She had to give the laptop back to get reset, but didn't want to lose all of her data on it, and a backup would be around 750GB.
So I suggested that I would backup the laptop (was thinking to just dd an image and go from there). So I plugged in my mobile USB and external hard drive, and started the imaging process. Given the amount of data and setup, the process should have taken about 5hours. So we left it there for 5h.
Please be mindful that at this stage in my life I knew very little about boot processes, oses, and hardware.
5h after. The laptop screen is black and it ain't responsive. Not sure what happened, the dd process was completed, but the laptop refused to boot into windows. Tried a number of boot tools, and spent a crazy night hacking at the machine. But the university had some of sort of fail safe to not allow anyone to boot into windows if someone opened bios without entering a password. Whatever this was, I spent over 12h trying to either open mount the windows partition with a Ubuntu usb or mount the corrupt dd image on my laptop.
Long story short, after throwing at it a number of fixes. I was able to mount the image, copy out all of her personal data, and reinstall a new version of Windows on her laptop. The university didnt understand why the laptop was already reset. She still mentions this to me anytime I want to take a "custom approach" to software lol3 -
Just realized:
We got to a point where I transpile typescript to react to es6 to plain es5. Just so that the browser could compile the code to bytes.
Sort of ridiculous. It's like translating a book from English to French to Spanish to Russian just so that we could create a Slavic interpretation of the book.3 -
Started learning python couple of days back.
My feelings right now
How the fuck I miss this language for so long time?13 -
[dead tired, installing Fedora]
[sets root password]
[10 minutes later --> cant get password right]
I fucked up the goddamn root password.
It's gonna be a long night.4 -
I just replaced 180 lines of Python with 5 lines. I want to smack the author but that would be workplace violence. Funny how if you import some built in libraries you don't have to basically write it's entire functionality and can just use it. I am so ready for this week to be over.3
-
Dear devs,
I’ve been seeing a lot of comments bashing python. I’d like to know the moment when you went “wow fuck this shit” with python.
My biggest gripe is in large ish projects, because of the dynamic typing things are so hard to debug and narrow down. If it had static typing then python would be the best, but then if it had it it wouldn’t be python in the first place I’d venture.
Go!20 -
I present: Every developer when something inconveniences them during a really bad time.
FLIP THIS TABLE (ノಠ益ಠ)ノ彡┻━┻
FLIP THAT TABLE ┻━┻ ︵ ლ(ಠ益ಠლ)
FLIP ALL THE TABLES ┻━┻彡 ヽ(ಠДಠ)ノ彡┻━┻7 -
2018 dev goal #1: ✔️
This week I learned Python 3, as in most of the syntax. Not yet any development, but that will come tomorrow onwards.
Oh, and I hate the funky type system, which is almost non existent and so flexible that I don't know if it's just bad or I simply don't see why I should want it this way.
Please enlighten me why you think Python is great or just plain snake crap.
Did I mention snake case being common practice? And that Python doesn't know real private properties, methods, etc.? How does that work?17 -
When I landed my dream job in 2009 (which is also be my first job in the industry), I had no clue about python. The company just asked me three months after starting with them for something related if I'd like to join the automation team. It sounded like fun to me, so the company paid for me a private remote instructor for a week. Then I went across the world to the main office to work directly with our automation team for two weeks. I picked it up quickly and well (or so I thought) and was churning out scripts for a few years.
Through a series of unfortunate events, I and many others no longer work there. Five years later, I have a renewed interest in Python so I take online courses to relearn it. Why is it so much harder this time around? I do remember it, but not in great detail nor as well as I did, but I'm baffled that I'm struggling so much the second time around.
It's only Python! Still getting enjoyment out of it as I did before though.3 -
I've been a Python user and contributor for 10+ years. Somehow, after seeing so many fights on the Python mailing lists in the past few months, I have mixed feelings about the language itself.
The binary on my laptop is still the same, but using it feels different.6 -
I officially do not know what the fuck I'm doing.
I can't stay focused on any language to learn and it frustrates me so much.
I want to learn Python but my head is always like why don't you do something like php or HEY why not fucking do JavaScript or some big boy languages like c or something, hey wb that Java project due for school?
And then even when Im doing Python my brain is like "ayyo you should learn machine learning, tkinter AND beautiful soup. .oh WAIT YOU SHOULD LEARN PYTHON 3 INSTEAD OF 2, while you're at it why not install vim instead of atom?" And it's just really frustrating cause I want to build apps but my brain keeps telling me I need to learn something else before I can make anything good it's a repeating cycle and it's just very frustrating8 -
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.8 -
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 -
Just sitting here in class, when all the sudden my profs code shows up in the schools hall for no apparent reason....2
-
Just got a rejection letter.... I haven't applied to a job in a year. These guys took their sweeet-ass time.... lol3
-
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 -- -
TIL Python doesn't really give a fuck about semicolons -.-
So after spending the past couple years almost exclusively using C# and Unity I decided to come back* to Python for no real reason except wanting a change of pace.
I almost ripped my hair out backspacing semicolons I kept putting in out of force of habit after having worked in C# for so long
Well guess what... I just learned (purely by accident)... Python couldn't care less. I feel internal conflict if that makes sense.
TBH now I'm randomly putting in semi-colons at the end of some statements just because I can and I want to abuse this freedom ^_^
Yeah yeah it's not very "pythonic" or pretty but screw that
* I started programming in Python back in high-school but switched over to C# + Unity after graduating and pursuing indie-gamedev.
Note: After some searching I realize you can use semicolons to have multiple statements on the same line but I never really needed to do that during my time with Python so I didn't even remember it was even a thing7 -
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
-
So I own a small business that is a licensee of about a few hundred other ones. I wanted a mail list from the corporate office and they wanted to charge me. (we already pay them hundreds if not thousands a month) So I wrote a python script to scrape their website and get the info for free. I love programming!3
-
So after exactly 30 minutes of building a basic interpreter (yes I'm back on the interpreter wagon) in python, I have once again come to the conclusion that python can go fuck itself with its backwards and inconsistent syntax with needlessly over worked and backwards data structures...
Would rather work in fucking COBOL at this stage...3 -
What's up with all of these unstable updates at the same time from Google and Microsoft?
First Microsoft releases an update that deletes My Documents
Then chrome on windows gets updated with a "eat your disk in addition to ram usage" that freezes my PC.
Like whatever happened to testing before releasing, least some minimal testing...
Then again, it's a fucking Microsoft product... -.-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.
-
Python is a fucking joke. "Readability" disguised as 150+ magic methods and values. Virtual environments to hide shitty dependency management. Strings that may or may not act as comments. No correlation between package and module names - install Pillow; import PIL. **kwargs instead of options=dict(), because why separate function arguments from arbitrary extra data? And finally, the only way to have tkinter on Windows is to install IDLE, so that some fucktard can stick their shitty app right up yours ...7
-
What kind of sick joke is it that the url for camelCase on wikipedia is www.wikipedia.org/wiki/Camel_case1
-
I use arch?rant i am a poser i actually just use manjaro love you all not really a rant i use arch i use arch linux4
-
Is it just me, or are there any other devs, that just can't get going with python?
Every time, I try to do something, that is supposed to be simple, the language be like, "Bitch, hold on. I know I'm supposed to be the most simple language there is, but here I am again, to fuck you over. Your welcome.".
According to my friends, its actually just me.12 -
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.2
-
"Hey, I think I'm getting the hang of HTML."
>decides to play around with boilerplate template
>opens .HTML file
me:1 -
So, I'm obviously very intelligent when it comes to hardware!
Me, being this "intellectual," fucked up one of the cables (and by that one of the pins snapped off) connecting to the motherboard. Wanna know the consequences of this idiocy?
My front audio/USB ports are NO LONGER WORKING! I'm now reduced to using a USB audio adapter and ports in the back of my computer.
Christ, now I remember why I never fucking touch the hardware inside my computer.17 -
Whenever Python 4 eventually comes out, I hope it doesn't break too much. Otherwise, based on the current trends, we'll end up with Python 2 vs 3 vs 4 arguments, battles, and books, and THAT would be a fun mess to deal with... :\
-
I've heard a lot of nice things about python so today I decided to check it out and HOLY CRAP this is an amazing language! Really makes me wonder why I didn't look into this sooner!
Seriously though! I looked at the documentation and official tutorials for like 30 minutes before writing a selection sort algorithm using only six lines of code. I'm quite mind blown.8 -
I'm learning python3 right now, advises or exercises to practice? I want to learn machine learning. I'm developng on elixir for now. But I hear good stuff about python.7
-
I love pipes in R. Really wish more mainstream languages would adopt that *looking at you python, nodejs-tc39, rust, cpp*
Just something about doing
data %>% group_by(age) %>% summarize ( count= n() ) %>% print
As oppose to
print(summarize (group_by(data, age), count=n()) )19 -
Been writing some Python apps for the last weeks and I really enjoy the language. I got all the basic stuff down but not sure how to progress to learn the more advanced stuff. What even is advanced stuff in Python and where can I find information about it?
I'm thinking about creating an API, any advanced techniques I could benefit or use for that?10 -
Nothing ruins my day like having to touch up python scripts. I'm predominantly a Java dev and never learned Python properly so every time I do it its THE WORST3
-
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 -
Sometimes I wish I could clone myself 3 times and start a company. Not that I think that I'm that smart, I'm fucking clueless most of the time. But because it's so hard to find people who freaking READ THE DOC!2
-
At what point can I claim to not be a script kiddie anymore?
Like, I've built compilers, and interpreters for an excel-like syntax, I refactored a pdf-parsing library from the ground up. I managed databases and wrote protocols for communicating with hardware.
But most of my experience is with python / nodejs / golang. It is only recently that I started playing with C and rust for actual efficient system code.8 -
When I was starting with Python at work I was very confused about identifying what is function, class, module, object instance, etc. just by name so I asked my colleague with PHP background to follow PEP8 and use meaningful names for objects. He's like okay and the next day I find this:
class vv(models.Model):12 -
# what's new in Python 3.6
https://docs.python.org/3.6/...
# and I gotta plug https://talkpython.fm/
... -
That moment when you know Python, and start in a serious national competition. You expect god knows how hard tasks....and all of a sudden you realise that all of them are in turtle...rip2
-
Python drives me nuts. Can we just have 1 environment to run python. Virtual environment or conda environment. Hard to switch from notebooks to ide's because you need to reinstall the packages for that environment3
-
After a solid month of development. My model has finally reached 94% accuracy. And it appears to still be good (without the need to retrain) as new data keeps coming in :3
Oh gawd... I was waiting for this to get this good :32 -
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 I actually prefer npm to most other package managers (with the exception of go's package handling).
Like you need to look no further than to pip's hell of package management, to start appreciating how clean npm is.
***Shots fired***6 -
I've tried to give it many chances, but I just don't think Python will ever be for me. Even "quick and dirty" scripts are faster for me in a statically-typed language with static syntax checking and sensible code completion.8
-
Serverless.... More like "I want to sound cool so let me blackbox my backend with this premium service and pretend I don't have a server".4
-
After my Python-question was marked as Duplicate on StackOverflow I realized that the problem was wrong indentation....1
-
Which version of Python are people working with these days? Is there enough support for Python 3.x to use that or is it better to stick with Python 2.7.x for the time being?7
-
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.7 -
Now, this is some next level shit in python (or I just don't know about it yet).
Anyway, I only discovered this thing lately4 -
So the other day, I was working on some Python project when there was this bug that kept transforming. Like seriously, I would turn from "bool not defined" to "function does not exist" to literally "file does not exist"... within the FILE. And when I fixed them, new bugs kept popping up, and I couldn't find anything that was a problem. Nothing. There was this one function in there that, if I changed even the comments in there, would break. And so.... I turned off Atom and turned it on again. ( ha ) Didn't work. I restarted my computer. I copy pasted the file into another file. I used another IDE. I restarted GHCI. I restarted Jupyter Notebook... and after 6 hours... I found that it was because an if statement has a comparison between a bool and a bool, with a = in the middle. (not ==). I swear I almost threw the computer on the floor.2
-
After a long year of going back to school for a masters. And working my ass off in networking events and internining. I can finally call myself a data scientist by job :D
-
Anyone else tired of the good old "Python 3.x will never be useful blahblahblah everyone uses 2.7 yadayadayada" bullshit?3
-
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
-
A couple of weeks ago my work email got hacked, I found out because he/she was sending phishing mails to yahoo emailaddresses, but they couldn't be delivered because they were marked as phishing.
I've immediately changed my password and turned on two-factor authentication, shared my story with my boss and now we use two-factor authentication for every service where it is possible.2 -
Python file truncate instead of actually deleting file contents...
there goes a weekend of log backups.. FML -
All this talk of javascript fatigue, and yet when tools like parceljs come out people still regress to webpack... I don't get it10
-
I tried to install a simple Python package today for a simple 10 line program and spent over an hour installing dependencies and reading documentation.1
-
Best: take a job as a data analyst. 1 year later, re-write and re-deploy the entire backend following correct security concentions and well-hashed-out data models.
Worst: attempt to backup a hard drive using dd, just to accidentally brick the laptop (because it had some security layer the school put to prevent just that)
Bestest: use knowledge acquired at my "best" story to nuke windows on bricked laptop. Then extract the leftover data using dd and a series of recovery tools. -
So I'm in a scenario I'm uncomfortable, need some encouragement from fellow devRanters. (Looong post)
I've been working at this startup for about 10mths (since I graduated). They have been really good to me since the start, and overlooked some fuck ups I did at first.
But now I've been way more experienced , picked it up really quick. And I've basically redesigned several of their admin solutions and data products. Also, I'm basically their entire data analysis team now. I do backend (node, PHP, MySQL) and analysis for them (stats, deep learning, python, big data packaging for clients).
But seeing as I've moved in their company, and have been consulted on several major decisions, as well as built a really good relationship with some of their clients. I still haven't seen a raise, moreover I've been told that I'm expected to work from 8am to 5:30pm (9.5hrs no overtime pay). Which really pisses me off, since I know I'm worth more than what I'm paid (about 40k a year).
My brother (who's also a dev) suggested to tell them that I'm not happy at work due to this. And quit if they don't react well.
How should i bring this up? Should I really quit? This is all new grounds.8 -
We had a tutorial on how to use spark/Hadoop.. part of the tutorial was the installation instructions for Ubuntu vms.
The Prof insisted we used an older version of Hadoop (v2.1.5), so naturally this required pulling older repos and older versions of java.
Naturally, some of the people in the class got some namespacing issues and garbage left from uninstalled packages.
Now, the tutorial was geared towards business/math people, not com sci. So most of the people didn't understand why apt didn't let them run certain commands (even though it very clearly just asked for them to run autoremove or autoclean, like in the "error message"). When the Prof and their "experienced TA" saw these messages, their recommendation was "make a new fresh vm".
The fuck? I heard that, run over and was like no. Just run the suggested command, it's literally a simple issue. And the guy didn't believe me. I had to sit him down, show him how I literally typed what the console was asking for, and everything just worked... The guy's response was "well that's Linux for you, its really complicated and can never trust anything, this time it worked, but next time it might not". Dude... Do you even know what you are saying? Like you are a supposed expert, least have some understanding of the package manager you are using. Maybe things will then be less "schrodinger cat".
God damn I can't wait to be out of this stupid fucking school. Never going back to academia.1 -
I feel bad for ranting about this.
So I just came out of a projects where a teammate was really slow. It's not that they weren't trying, like I was sitting across from them and can see them working. But seriously fing donkey balls, SO SLOW and subpar, it wasn't slow and steady to win the race, it was slow and steady to just barely pass.
Like we had two weeks for this project, we've had all of the planning done, now on the last 4 days it was just finishing up the implementation. And everything to come out of this person would take ages, slow everyone else done, and would need to be redone by someone else.
I really do feel bad for hating, cuz this person is doing there best and it's just not good enough. They listen, pay attention, but it's like they can't improve.
It just sucks... Because their ambition and effort is not being paid off and is pulling us down...3 -
me: [fiddling with ideas for practicing HTML forms]
college: you wanna practice development, huh?
me: ...yeah?
college: fuck you. i have shit for you to look at which overrides what you want to do. LOOK AT ME!1 -
I now understand why people say python is such a damn hard language to keep big projects. I'm so hell lost in all those code indentations and lack of conventions!!!!
GET ME BACK TO RUBY PLEASE I BEG AAAAAAA4 -
Am I the only one that can't get into Python? Any tips would be appreciated. I've been debugging a 2.7 legacy application at work but the language is so finicky and the errors are so vague.2
-
Pandas groupBy cumcount() function cracks me up every time I see it. Dask has one too: http://dask.pydata.org/en/latest/...
In general Python libs are so inconsistent with their function names, especially data sci packages.
Abbreviations rule supreme. They could have at least add an underscore for this one if that's the standard. cum_count over and out1 -
I am currently running a heavily modded version of Ubuntu 18.04. I remove gnome applications, installed xfce with sddm for my login manager, plus removed a bunch of their pre-installed applications. I mostly use AppImages and snaps for installations with occasionally using apt for packages I am too lazy to build or are not in snap form.
I have been contemplating switching to Arch/Antegros/Manjaro. Mostly because I am crazy and heard that I could get a performance boost and I like being more in control of my own software.
My question is this, does it make sense for me to switch distros? Also, I'd like to have a close to the metal Arch install, but last time I did that I got annoyed with configuring too much from the bare bone, took me like close to an hour of setup, it was not hard, just really tedious.... Is Antegros/Manjaro have options to be really close to the bare-metal? Is there maybe a really good install script that I can just tweak some basic settings for?5 -
Every fucking time I start win10, I need to make sure I have task manager running on the side. Otherwise some sort of random windows process starts spirilling out of control and needs to be killed. Fucking hate windows.1
-
Started working with a startup. They have one Dev guy, who for some reason is using both python 3 and 2 in the same git repo, and had no requirement.txt or anything to really track dependencies....
For fuck sake, the Dev guy is actually intelligent, but really freaking messy.. why can't he have this basic thing done...2 -
!rant
Julia's mutlithreading macro is soooo awesome and clean for when you want to do computation work :33 -
When i have to take an hard decision, this python script always helps.
import random
print(random.choice(hardDecisionOfLife))2 -
Well, I've decided to go ahead and switch to Linux Mint (Cinnamon) and mess around with it to see how I feel.
Hopefully, if I don't screw anything up, I can jump ship from Windows 10.7 -
I feel like there should be a rule 34 for nodejs. If you can think of it, there is probably a nose module for it. Take for example PHP.js it's a thing...1
-
Python is really beginning to turn horrible now. Legacy codes...argh!! why don't developers move already to python3? and all those horrible third party dependencies for only 2 which somehow break after even some mending. God save them. Horrible night.2
-
When you send out an email on tuesday and in the weekend you receive a response. And have to wait again for a reply..1
-
For all of you who are thinking of starting your python journey, I highly recommend the book fluent python by Luciano Ramalho, it covers almost everything to get you up and running, aswell as alot of good tips and tricks3
-
"So, what can I do today that is far out of my league yet I'll screw with anyway for the hell of it?"
>XAMPP
And, as predicted, THE SKY IS FALLING AND NUKES ARE DROPPING BECAUSE WHEEEEEEEEEEEEEEEEEEEEEE IMMA DUN FUCK THIS UP2 -
I kind of admire that python doesn't work properly unless you indent and keep your programming neat, but some people tend to just like their programming without indentations. Wew idk2
-
Any people using Julia here for something real. Like analysis or building applications? Is it worth learning or should I stick to python and cpp ?3
-
The amount of digits Python can handle is staggering...
I stopped at 100 000, because I felt that I had proven my point. That's approximately 330 000 bits! (And yes, I had to use Python to be able to calculate that number)
Doesn't work with floats, though...4 -
Guy blackmails the whole scrum team that he wants to work on a python user story, because he loves python and that's what he's good at.
Then in a week writes about a hundred lines of code, didn't hear about pep8 and complains about the speed of the code.
Used re.seach instead of re.match. In half an hour there is a 100x speed-up. He loves python.3 -
What is Python good for? (I had to use it for the first time today and used it to process some audio input but i don't know what else to do with it)1
-
Opinion: Julia will not catch on, because the two language problem is not a big issue for most people in the industry, and most python data scientist will refuse to migrate.
-
When working with a customer and he says that the implementation can wait for a bit. But then decides that there needs to be a temporary implementation in 2 days. And it can later be implemented the way it should be.. Thanks for letting me know on time! #timeVeryMuchWasted
-
Need to run my Python app on a server with no internet access. Fine. Windows machine. Fine.
I'm developing in Cygwin in Windows. Damned nearest thing to Linux, development is a lot easier.
Turns out Cygwin is its own build environment. Fine, I switch to Power Shell, install Python, set up virtualenv, pip install everything.
Copy entire repo folder to target system. Copy Python installer. Install 3.6 fine. Create virtualenv in copied folder. Run python, pip modules are all installed. Fine. Test run works.
Run my shit. "No module named...." It wont see my submodule.
.........
dafuq?
I wont even tell you what a fucking pain in the ass it is to try and convert Python scripts to exe files. This shit does not need to be so damn complicated.12 -
!Dev rant
So tired of meeting people in my generation who literally live to just freeload. Like some of us are actually trying to get shit done in life and yet here you are, just being a lazy fuck who for some reason thinks they're still in highschool and need to not give a god damn shit about anything else.
I've basically got to a point in my life where I have no idea why am I friends with someone thinks it's okay to punch another grown man in the balls after they changed a song, get to a yelling match with another person over a boardgame, sit in the one way that will definitely break the fucking couch.
But then!!!
When I'm at your house, and I change the music on the Spotify, you kick me out because I'm crossing the line? Also, they almost kicked my friend for wearing the wrong shirt (it had minions on it, they hated that movie)... The fuck.
Like you want respect, buddy you gotta earn it. You literally live off welfare and your parents and your girlfriend parents money. You are a fully capable non disabled straight white male, who hasn't aimed higher in their professional life whatsoever. I know people who had every sad story in the book thrown at them, and yet they have achieved twice what you did.
And after all of that, you feel like it's your right to be a shithead, and tell others how to act.
Go fuck yourself.2 -
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. -
Create a very large website that I don't give up on immediately.
F to pay respects to those fallen HTML files.3 -
When dealing with people that think the IT helpdesk solves all problems with custom software they didn't build or use.. and the helpdesk of the software sucks (long waiting times, almost impossible to get the right guy,..)
-
Say what you want about npm and node_modules, it is much better than other package management systems like pip.
Least I don't need to create an entirely new installation of nodejs every time I want to build something new that might depend on some packages that depends on an 0.0.1 version lower of another package that is used by a different project I currently have to also maintain.
P.s. I do love python overall and it's ecosystem, the package management and version control are sheer garbage.2 -
So a few rants ago I had Raleway used as a font in my (somewhat odd) visualizations for something I was working on, and now I've moved to using Roboto for heading/title elements.
Raleway's still in use for regular text, though. Both seem pleasing on their own, so I'm curious what it'd look like when both are used on the same page.1 -
Python can be a bit weird when it comes to the scope of variables. I once spent a weekend banging my head over an issue in the code, only to figure out on the following Monday that I hadn't passed a variable to the function, and it was picking up that variable and a different value of it from somewhere else... WHERE AND HOW1
-
Facebook has me scratching my head quite a lot lately, but I've strongly disliked them for years.
Much left to be desired on terms of user support, management, etc. Ironically, speaking of users, Facebook was invaded with lunatics that shy people away from the website to this day.
TL;DR: Facebook has always been a disappointment one way or another. -
>starts project
"Alright, gonna keep this nice and tidy."
[several hours later]
"I've made very little headway, CSS is everywhere, and everything KEEPS BREAKING!"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.
-
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?10
-
A mix of both python 2 and python 3. 4 entry points (although, this was done for the sake of microservices).
All in 1 big monorepo. Hosting a site in mostly static form (i.e each page had it's own index.html with completely different headers and footers, no templates). -
Am learning python programming; any pointer to exercises, challenges or projects i can use for practice.5
-
I have this weird problem when I try to call a shell command with python. I'm trying make a path o linux with forward slashes but once the string gets built it either has no forward slashes or too many or non-uniform slashes across the whole path. This is so frustrating. Eventually the path doesn't get recognized at all.
-
Just found this glorious rant about a controversy I completely missed in 2016.
https://eev.ee/blog/2016/... -
Question: what's your opinion on Julia? It seems promising, the macro syntax is neat. But would you use it for data analysis/management or general purpose development?
-
Exponent of string,
What tf does this mean?.. I'm currently learning python in our university's elab and one of the questions, asks me to do this... Can someone tell me what is it?.. I've never heard something like that😐9 -
2 hours after resolving compatibility issues:
The following specifications were found to be in conflict:
- opencv==3.2.0 -> *[track_features=blas_openblas]
- opencv==3.2.0 -> harfbuzz=1.3 -> freetype[version='2.7|2.7.*'] -> libpng[version='>=1.6.22,<1.6.31']
- pillow==6.0.0
Well done for today. I'm going for a beer. Ah..almost forgot. Fuck you Anaconda and fuck you Python docs.1 -
Working on a batch image editor in python as my most recent time killer project. Started out using PIL for py2. Port over to pillow on py3, and one of the core pillow functions exploded my computer.
It memory leaked and took every last kb of unused memory!
Guess Im stuck using py2 -
What is must important to know for python beginner? I'm new new about it just start it Print and calculate, so what i have to know first to start python programming??2
-
Anyone give some fucking good instruction to learn python, i really want to learn it :(( maybe there is some secret to learn it??4
-
I just finished my first commit of "3D Rendering Engine" <-- Best way I can call it I think.
QUESTION:
If I have a list of nodes with x, y, z values that I am projecting to a 2D plane, how would I rotate the whole list around the top (y) axis?
I am using python
If you are interested, here's the GitHub Repo:
https://github.com/hamolicious/...10 -
If you are a Python developer then you had better use 4 fucking spaces. NO TABS! Die in a fire if you use tabs. And even god can't save you if you use 1 space.9
-
Working on image identifier program on python want to add machine learning in the program need help.....suggestion plz1