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 3"
-
I was looking for about a month for a laptop. Then on this one magical day I open kijiji and see a Toshiba Thinkpad T450s with 20gb of ram, 138 ssd and an i5-6300U cpu going fo 500$ (value 2000+).
My first thought was. Okay. Scam alert. But you know. What if?
So I call up this person. And its a girl who got a pc from her bf, but really she wanted a mac so she is selling it.
This straight up blew my mind. I decided, fuck it. Got 500. Ran to her. Ran a systems check on the laptop. Checked for any attempts at opening it up. Checked the harddrive. Checked the ram. Everything is solid.
Long story short. Thank god for apple fangirls!34 -
Substitute Teacher who apparently majors in Java sees my copy.
T - Your programs are incomplete
M - You mean ?
T - Where are the braces ?
M - Its Python
T - It works ?
M - Yes
T - It works on linux ?
M - Yes -_-8 -
Finally did it. Quit my job.
The full story:
Just came back from vacation to find out that pretty much all the work I put at place has been either destroyed by "temporary fixes" or wiped clean in favour of buggy older versions. The reason, and this is a direct quote "Ari left the code riddled with bugs prior to leaving".
Oh no. Oh no I did not you fucker.
Some background:
My boss wrote a piece of major software with another coder (over the course of month and a balf). This software was very fragile as its intention was to demo specific features we want to adopt for a version 2 of it.
I was then handed over this software (which was vanilajs with angular) and was told to "clean it up" introduce a typing system, introduce a build system, add webpack for better module and dependency management, learn cordova (because its essential and I had no idea of how it works). As well as fix the billion of issues with data storage in the software. Add a webgui and setup multiple databses for data exports from the app. Ensure that transmission of the data is clean and valid.
What else. This software had ZERO documentation. And I had to sit my boss for a solid 3hrs plus some occasional questions as I was developing to get a clear idea of whats going on.
Took a bit over 3 weeks. But I had the damn thing ported over. Cleaned up. And partially documented.
During this period, I was suppose to work with another 2 other coders "my team". But they were always pulled into other things by my Boss.
During this period, I kept asking for code reviews (as I was handling a very large code base on my own).
During this period, I was asking for help from my boss to make sure that the visual aspect of the software meets the requirements (there are LOTS of windows, screens, panels etc, which I just could not possibly get to checking on my own).
At the end of this period. I went on vacation (booked by my brothers for my bday <3 ).
I come back. My work is null. The Boss only looked at it on the friday night leading up to my return. And decided to go back to v1 and fix whatever he didnt like there.
So this guy calls me. Calls me on a friggin SUNDAY. I like just got off the plane. Was heading to dinner with my family.
He and another coder have basically nuked my work. And in an extremely hacky way tied some things together to sort of work. Moreever, the webguis that I setup for the database viewing. They were EDITED ON THE PRODUCTION SERVER without git tracking!!
So monday. I get bombarded with over 20 emails. Claiming that I left things in an usuable state with no documentation. As well as I get yelled at by my boss for introducing "unnecessary complicated shit".
For fuck sakes. I was the one to bring the word documentation into the vocabulary of this company. There are literally ZERO documentated projects here. While all of mine are at least partially documented (due to lack of time).
For fuck sakes, during my time here I have been basically begging to pull the coder who made the admin views for our software and clean up some of the views so that no one will ever have to touch any database directly.
To say this story is the only reason I am done is so not true.
I dedicated over a year to this company. During this time I saw aspects of this behaviour attacking other coders as well as me. But never to this level.
I am so friggin happy that I quit. Never gonna look back.14 -
Came home to visit parents
Dad - Internet on my laptop isn't working (I switched him on a Ubuntu platform because he picked up a hobby of mining for viruses while doing..... "research" )
Me - did you mess with your networking settings again
Dad - (Defensible sounding) Noou
Me - (looking at settings, networking is switched off)
Me circa 3am - writing a python script to check for this automatically cos fml this is basic
Thanks for listening10 -
Omfg this fucking guy!!!!
Context:
We are going through a major refactor of some of our backend components. I was tasked with cleaning up our ML code while another guy was tasked with cleaning up the general CRUD side of the backend, let's call him DA for "dumb ass".
** At 11pm
DA: I am getting a strange error from your backend. Look:
"Invalid call: method=PUT expected=[POST]"
Me: you need to send a post request not a put request
DM: no, it's not that. I am sending the right thing
Me: ... Let me see...
* 15min ish of testing *
No, it works fine on my version, 1.1.0 what's your version?
DM: I'm on 1.1.0.
Me: send me code?
DM: *send
"request.put(..."
Me: you are sending a PUT... It's literally in the screenshot. Send a Post
DM: I am
Me: no, send a Post
DM: I don't understand, I am sending the request
Me: it's a post not a put
DM: but...
Me: it's a post not a put
Me: good night!!!!!!14 -
Popularity of programming languages according to the DRRDSI (DevRant Rubber Duck Selling Index):
1. JS
2. Java
3. Python
4. C#
5. PHP
6. C++
7. Ruby
8. SQL
9. Swift20 -
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 -
1) Stop going to univershity
2) Started python coding at home from online courses.
3) Got the best paid job among batchmates.14 -
That weird moment when you don't understand what ++ or -- means in devRant cause you Python developer15
-
Story of my life. Staying up all night to work on something that gets postponed or cancel
Source: http://commitstrip.com/en/2013/...4 -
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 -
“Writing tests is a waste of time, we should rewrite it in language x instead”
- Colleague that took 3 hours to install Python8 -
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 -
I'm a Python dev, yet 99% of my work over last 3 weeks has been JS. How do js devs not sit in the corner of a room crying at the end of a day?28
-
How to debug Python, for beginners:
1. Carefully read the exception message. Repeat it to yourself 3 times, slowly.
2. Step away from the computer. Ideally, lie down somewhere.
3. Close your eyes, take 10 deep breaths.
4. You will have found your mistake.6 -
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 -
Yes. Please. Stop putting hidden files in my home directory. It's not the place for it.
https://0x46.net/thoughts/2019/...15 -
1. Started to program Python 3
2. Thought of doing a little program just for fun
3. Now 1 1/2 years in developing state with nearly 3000 lines of code and 11 modules
4. Python skills :)14 -
Waisting some times on codewars.com
~~~~
3 kyu challenge:
Given a string with mathematical operations like this: ‘3+5*7*(10-45)’, compute the result
~~~~~
*Does a quick and easy one liner in python using eval()*
*sees people actually writing some 100 lines parsing the string and calculating using priority of operation*
Poor them...
(Btw, passed to lvl 4 kyu thx to this)14 -
Me: *Has 3 difficult exams to study for and hours of work*
Also me: I should try my hand at encryption in Python.7 -
When you group asks you to write some code to kick two people out of the team randomly.... and you are one of them :(7
-
Ahhhhhhhhhhhhbhhbhhhhh
Finally!!!!!
Oh..
My.
F*ing...
G****t
It finally worked!
Holy shit!
I figured out how to make it work. Only took me like 3 weeks. But it works so smoothly now.... Holy f.13 -
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 -
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 -
Yesterday I installed the linux subsystem. Wrote some python code, but it never run no matter what. It was always the same sintax error. I got pretty desperate after finding no solution on google and decided to reinstall the linux subsystem, erasing everything I made.
Turns out the problem was that python pointed to python 2.7 instead of 3. I'm not a smart man.7 -
Ok, so I was working with Python, I wanted to make a simple chatbot. I spend hours trying to figure out what was wrong, until it hit me... the prints weren't indented.8
-
That weird moment when you write a Python script and errors pop up everywhere, only after an hour of debugging (pulling hair out) to find that you started putting a semicolon at the end of each statement again.3
-
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 -
My favorite languages are
1. Python (3)
2. PHP
3. JavaScript
4. Ruby
5. Java
Honorable mention: C++
Can anyone agree?42 -
Pushed my first own open source project to Pypi as a python package.
Used tox and travis for the first time.
Feeling proud and super content 😊.
I'm in the process of creating another open source package, which has as dependency the first one 😅.
I love Python.6 -
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 -
So im getting pretty good at python, so can anyone offer me some basic projects I can attempt?
Oh and it's my birthday today! (August 4th) I'm 18!13 -
Wrote a python script and debugged in about 3 hours. Script saves a colleague 20 hours per week. #resumeworthy9
-
More of a college prank
We had this professor who used to send at least 3 emails to us about non sense stuff. Irritated i wrote a Python script that sent her 10000 emails everyday. The emails stopped!!12 -
Getting stuck on a problem for 1 and a half hours when you realise Python was aliased to python version 2.7 instead of 3 :(3
-
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 -
Worst CMS: Joomla.
Worst IDE: Eclipse.
Worst language: Python 2. (Python 3 brought many improvements to many annoyances there)9 -
My colleague unknowingly uses the word "paralyze" for "parallelize". When is the good time to correctly him? So far he has successfully paralyzed my code.4
-
>Instructions in the manual -
1. Install Python 3.5
2. After installation is complete, open a new terminal/command prompt window and run 'pip install pandas'
3. Done!
>Client
1. Installs Python 3.7.2
2. Types Python in command prompt, types 'pip install pandas' there
3. Raises a hue and cry over the program not working because the instructions were not clear
Smfh...1 -
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 -
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
-
Yes Forbes. I definitely believe that Deepin is one best glorious Linux. No way China has anything to do with it :3 👍10
-
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
-
What do you wanna become? / What are you?
1. PHP Developer
2. Python Developer
3. Node.Js Developer
4. JavaScript Developer
5. Java Developer
6. Android Developer
7. Other (please mention in comment)71 -
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 -
Goals for 2018:
0. Finish some side projects
1. Take python skills to the next level
2. Start a new bigger project.
3. Dive into machine learning2 -
Worked for the US federal government. Stuff couldn't be used unless it had been approved. Had to us Python 2.6. Python 3 was out by then. Basically anything brand new or even new within the last 5 years wasn't allowed, but was expected to make apps that represented modern web apps.2
-
When you're writing in Python and forget which brackets to use but you're too lazy to look it up so you just pick one and hope it works.
372 ERRORS. -
human : Merry Christmas :)
js : console.log("Merry Christmas")
python 2 : print "Merry Christmas"
python 3 : print ("Merry Christmas")
bash : echo "Merry Christmas"
c++ : printf("Merry Christmas")
java : System.out.println("Merry Christmas")
html : <div> Merry Christmas </div>
add in for your favorite languages...23 -
If I do it in python : Finish in one day!
If I do it in C++ :
1 week for installation and configuration
3 days for coding
Another 1 day for troubleshooting...
But I will still prefer do it in C++.5 -
Recruiters call me and be like "I'm looking for a Python Developer to work in London with 5 Years of experience - Is that something you'd be interested in?"
I respond with - "Sure.. only if you can tell me where the f**k you found the word Python on my CV or ANYWHERE online."
1 - I've got ZERO experience in Python...
2 - I've got 3 Years experience in development regardless of being in anything Python related...
3 - I live 1-2 hours away from London...
Come on guys - Do you even read CVs before you blindly call? How shit are you!?
If I spent all my time calling candidates that had no relevance for the role I'm recruiting for (most likely to get call times up) back when I was a recruiter, my boss would have my nuts for lunch for making the agency look bad.5 -
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 -
Thank you Syncex for one of the best powershell scripts ever. This literally sped up my laptop and surface :35
-
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 -
Spend almost 3 days translating a library from js to python, 2 hours to upload it to PyPI, 10 seconds realizing, that there is already a library that does the same thing + something a friend of mine is working to achieve. I am so fucking done...
(At least I some new learned stuff in JS and Python)1 -
How do you usually learn a new language?
My way is to start a project, then figure it out as I go.
I find that books and tutorials are usually better reserved for learning concepts or frameworks.2 -
1 - Writing a 20 lines Python module in 15 minutes approx.
2 - Accidentally deleting this module.
3 - Taking 1 hour finding a way to generating source code from the compiled PYC Python file.1 -
Many people know Kaiser Chiefs song Ruby
So yesterday my uncle sang that song this way:
Ruby Ruby Ruby Ruby,
Java Java Java Java
Python Python Python Python
...
That is freaking stupid, it made my day, though)
Besides, that 3 are my fav langs)2 -
How do you tell someone that they are wrong without sounding like a douchebag or coming out as aggressive?12
-
Worst part about getting a new laptop: losing all my stickers
Best part of getting a new laptop: New Stickers!1 -
I like coding in a way that anyonr who comes into my code base can understand whats going on. That way more people can maintain the code base.
However, I HATE having people in my code base. Since they leave shit undocumented, and have 10 variables called "data" "items" "o" "p" and another 20 methods called "processData" "convertItem".1 -
Ahh it's been a while since I've posted.. My skills with python are getting better (I'm a beginner) and I know for everyone else it's probably nothing but my first big project/idea I came up with was to program a simple rock paper scissors game that prints if you win lose or tie. I got the input and random output right without having to look anything up and that actually makes me proud of myself which is rare but for the printing out you win, lose, or tie I looked it up but I'm noticing that I'm getting better.
Then today I made a coin flip script that returns heads or tails in like 2 minutes and the only reference I used was my own code!!
Thanks if anyone actually read it I envy a lot of you for doing it for a living and I can't wait to do it too :)6 -
Going to spend this whole August, studying Python.
Any tips or suggested route to get the grasp of Python? Should i start at 2.7 then 3 or just go directly to Python 3?12 -
Just got a rejection letter.... I haven't applied to a job in a year. These guys took their sweeet-ass time.... lol3
-
Just sitting here in class, when all the sudden my profs code shows up in the schools hall for no apparent reason....2
-
1. Building stuff is awesome!
2. It's creative work that actually makes cash
3. I like writing algos and math4 -
I’m developing a fairly sophisticated desktop app in Python with PyQt5 as the widget set. Because my partner insists that all the kids these days love Python.
Piss on Python. And that goes double for PyQt5.
I’m on the absolute hardest section of the app. It’s a fairly complex import of data from PDF reports. There are so many different parts that I decided to go with a wizard.
So, I built a QWizard in Qt Designer. It generates a C++ .ui file, but you just truck it over to the command line and run this pyuic5 command, and it converts to a handy dandy Python class. Woo. You can subclass it and consume it from your Python script.
Sounded SO MUCH EASIER than writing the wizard from scratch. But OH NO. I need to do custom validation on my custom text control at every stage to control when the Next and Finish buttons are enabled, which means I gotta overwrite some damn event.
But I can’t. Because I can’t subclass the individual pages. Because they’re part of the same damn file and the wizard offers no access to them.
I’m almost certain that I’m going to have to completely redesign the wizard so that it’s pages are in separate files, which means I have to recode the bitch as well.
The cherry on top is that there’s zero documentation for this specific thing. None. No QWizard documentation exists for PyQt5 (if there is, they’re doing a damn good job of hiding it), so I have to read the documentation for PyQt4. Not the same animal. Close, but different. Even with the differences aside, this documentation is minimal and useless. “We’re going to tell you in very general terms what you should do, but we’ll give you zero idea how to do it. And we know the very common code method you’ll want to try first won’t work.”
And getting at this stuff when you do it in Qt Designer is WAY different. And all that documentation is in C++. Because apparently you HAVE to speak C++ if you want any real info about PyQt. Because that’s perfectly reasonable, right?
So, now I’ve lowered myself and posted a question on Stack. Because, hey, once you get past the power-tripping, mouth-breathing, basement-dwelling, neck-bearded high school punching bags picking apart your question rather than, I dunno..., BEING HELPFUL, sometimes you can get good info there. Sometimes. They seriously saved my ass at least one time.
But yeah. Fuck Python. Fuck everything Qt.18 -
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 -
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
-
FUCK MY LIFE!
MY DEPARTMENT IS IN SEARCH OF 3 PYTHON DEVS (1 expert, 2 "normal") FOR DEVELOPING AUTOMATIC THINGS!!! I would seriously apply because it's like my first dev job without having attended University.
But only for two years... After that I have to reapply for my old job.. but it's two (expert 3) salary groups up from mine...
What to do?
Also fuck python but I would learn it for God's sake21 -
The simplicity of Python still amazes me even after 3 years of development.
Recently started using Flask!
One word WOW. -
I wanted to rant but I just been moved from a governemental project in Python 2, to a shiny one on Python 3. Have a good day you too!
-
!Rant
Having been working with JavaScript so intensively, I have a newfound appreciation for Python. It really is an elegant language.
I'm looking forward to returning to Python one day in the near future.3 -
I love python, but I hate dealing with python dependencies, especially on Windows.
I was tinkering and researching with neural networks, so I wanted to try out pybrain. I wrote my project, with pybrain installed via pip, and tried to build it.
Oh, what's that? Pybrain doesn't work with python 3? Well I'll download the version that's supposed to. Oh, that version has a deprecated numpy api? Let me just install those other resources. Oh, that requires a broken module that has no publicly available source?
Let's try python 2. Oh, now that's working, I just need to export environment variables for some "bls source". Some quick Google searching and the only solution that would work is building a bunch of cywgin modules by hand. That's fine, I have an ubuntu partition.
An hour later I'm compiling FORTRAN dependencies on Ubuntu.
Coding time: 1 hour
Dependency time: 3 hours6 -
I love my job. Minus that 1 stupid guy who I don't understand how he was hired. And minus one of the managers messaging me after hours to do work. Everyone else is alright, need to find a way to hide from that manager and work on projects exclusively with other managers D:
Anyone else ever felt like hiding from management? Lol2 -
1.Get my SOLIDWORKS cert
2. Microsoft Certs
3. Microsoft Python Cert
4. Buy a 9 string
5. Have my album ready for August
... Any other suggestions for a somewhat beginner Python Dev3 -
Is it ethical to charge a client for the runtime of a computation? I.e. cpu time?
I usually don't, since it doesn't cost me anything to leave my machine running overnight. But a few of my friends told me that I should.
More context:
I do sometimes freelance work for professors as an RA. At times you need to leave a script running for like +5 hours. During which I just either procrastinate or go to the gym or sleep. The energy cost for computer running is barely a dollar.
I get charged by the hour per work in my timesheet, or sometime for a negotiate price which is also usually computed by the estimated work time it would take.5 -
Just started today with Python 3. I don't know but I really start to like the language. Its not to difficult and it has nice syntax. Currently I'm working on a little financial overview generator. It parses the CSV file from my bank and sorts it into categories. Really fun to make. Do you guys made some nice projects in python?4
-
Started learning Python from Java, C#, Objective-C, Swift.
It’s like Rocket Engineer who have to build a car. It’s easy but you have to learn almost everything from the beginning.6 -
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 -
I just dealt with a 3 nested "if" statements in SQL. There is no indentation so I am quite frustrated since each "if" spans up to 2-30 lines.
I now understand why Python white space is significant3 -
I've been using python in my work for about the past 2 years. I came from c++ and I still don't know how I feel about it. What do you think about python?18
-
Switched from Python 2 to Python3 a while ago. The biggest challenge for me is still remembering to use print as a function.2
-
Mechanical engineering at my college loved coding
He did a 3 month python course ended up getting a full time job as a developer at a reputed company
Have the will and anything is possible2 -
Anyone who willingly uses Python 2 and doesn't try to convert it to Python 3 will be shot on site.3
-
My 2018 goals:
1. Graduate from the Deep Learning Nanodegree.
2. Get better at Python.
3. Learn C++.
4. Learn more about Machine Learning and AI.6 -
What the absolute hell is going on with Python 3 releases?? Can anyone explain this
Python 3.5.9 - Nov. 2, 2019
Python 3.5.8 - Oct. 29, 2019
Python 3.7.5 - Oct. 15, 2019
Python 3.8.0 - Oct. 14, 2019
Python 3.7.4 - July 8, 2019
Python 3.6.9 - July 2, 2019
Python 3.4.10 - March 18, 2019
Python 3.5.7 - March 18, 201911 -
1) Keep improving Java skills
2) Keep learning Python
3) Learn Docker
4) Finally use my Raspberry Pi -
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... :\
-
Okay! Got my numpy pdf, theano pdf and my theano deep learning pdf! It’s time to get reading for 1111111111111111111111111111111111111 hours. Wow! I’m really getting deep into “deep learning” learning! Ok, I’ll quit now...2
-
I refused to get into python pretty long but yesterday it happend. I got the py. :')
Coming from Java/Netbeans I tried installing it again (for personal projects), but since Apache took over and Java 10 got released I never seemed to be able to accomplish a clean IDE install.. I gave up while I wanted to turn a current python programmer to java and, again, Netbeans fckd me over. I tried IntelliJ again afterwards but Netbeans seemingly fcked over the whole JDK installation too, so I gave up for real.
Everyone in my vicinity told me about python and it's coolness. I just.. no.
No {}, no semicolons, indentations are relevant... idk. I did not want to, but some part of me still wanted to try it. I want to work in the infosec branche so it definetly should be one of my interests shouldn't it?
So I tried yesterday, installed PyCharm and in literaly minutes (of course with trusty Stack Overflow behind me) I had a Qt based GUI which functioned as a basic webbrowser. I was intrigued. Well, I took like 100 times that time to get a working .exe out of my .py with all dependencies, but with the help of mentioned python friend I also got this to work. Python is cool now, I guess... ;b -
Rant...ish? It's more mixed feelings...
Had my first day yesterday at a new job in a big company. I came dressed really nicely in a suit and tie. Went to orientation with everyone new coming in.
Felt like I made the right choice to up my effort in dress code.
Met with my manager, was led to my team. Everyone is dressed casually. Unshaved. Giving me hate stares.
Felt out of place. But kind of happy that I can try less.
Still. What's up with programmers and being toxic to people dressed nicely o.0 I don't need to look like I came out of crunch time every single day to prove my worth...
It's really weird getting these looks. It's almost like highschool all over again. When I let my mother dress me and looked like the nerdiest kid on the block...
Then again, today I'm wearing sneakers and causal clothes. I either feel like I cave in to peer pressure... But at the same time I don't mind it. Erghhh... Still hate this...
Mixed feelings... I donno.7 -
I'm actually starting to see my skills advance.. I'm able to be given a basic topic and do it as long as I have the formula or whatever is needed in my head or planned out
-
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
-
Started to learn java! Loving it so far.. Coming from Python 3 i thought this was not gonna be easy but so far so good.. Can someone give me some advice or tips on what to tackle next after java?17
-
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 -
I recently started using Python 3, was using Python 2 for a while, and I know it's stupid but I kind of feel guilty not using 2 anymore, anyone else feeling that way? I mean Python 2 was my first real coding experience after mandatory C classes from an utterly garbage teacher, it was liberating and fun... Anyways, it can't be just me feeling stuff like this8
-
1. Study C and Python
2. Learn NLP and ML
3. Participate again in one hackathon and kick their ass after winning it
4. Get one awesome internship
5. Master algorithms and DS -
This happened while I was still learning how to program back when I was 13. Python 3.5 I think, was having an Issue with regex, for the first time ever I did something I was tired to listen: read the documentation. After fixing my issue I felt great with myself like I never had(to this day :( )
No that I write it is way lamer than I though, well what can I say I was younger and more stupid 🤷♂️ -
Sending email to client (the following is a short version of it)
"
Dear Data Evaluation Team,
Here is a link with the password to the data export for the questionaire.
You will find in there 4 sections:
1. Utilization Report
2. Question List
3. User Responses to questionnaire
4. Summary of responses
"
Email from client
"
Thank you data team.
I see that the user responses have some ids for the questions. Can you please give me the full question text, where is it?
"
My response
"Section 2, Question List"
Like really? Did you just not f*ing read the email and just jumped into the data export blindly. I wrote some fucking docs for a reason. -
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 was ranting about overusing classes on python, then I noticed I'm a person that creates new functions for 2-3 lines of codes for no reason..5
-
I'm doomed.
My first production worker script is making multiple active attribute of a user. My script should be able to deactive the old attributes if there is new one.
Months ago, this issue occured. My teammate from team A take over the script to investigate since I am busy working with team B.
Yesterday, I found out that I, myself, overwrite the fix my teammate made for that because of a new feature.
I have to clean up the affected records on production on Monday..and i have to explain to my manager. T.T
LPT: ALWAYS PULL REPO before developing new feature... -
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 -
Currently writing a book about Python 3. Anyone have anything obscure/helpful that Python does that you might not have found in tutorials?5
-
This is interesting coming from the man who build the biggest IP conglomerate in the world. A man who actively tried to kill open source. Looks like he got into his senses at his old age. Although, he is talking about AI models only, not software as a whole.
Yes ML/AI models are software. -
the best part of Python is that while debugging others code you don't have to beg to indent the code :32
-
Excel plus CSV into word with mail merge into outlook to send.
Lovely integration.
I wanted to do it the hard way.
Postgresql database + python script.
I have no idea what I'm doing, but isn't that the best way to learn?1 -
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
-
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
-
I've been meaning to work with the Spotify's Python API 'Spotipy'. Any good suggestions to make anything cool with it? Can include Machine Learning, IOT, etc.7
-
Guys, a company's HR mailed me for a position that requires strong experience of ">3 years in Python with C or C++".
Does it mean Python and C/C++?
Or do they need someone who is using C/C++ to write Python?
I have some experience with adding Python support to C++ code. Does it count? 😁8 -
Be developing in python 3
$ pip install <library>
Don't understand for hours why it doesn't work
I should alias pip3 -
Anyone else tired of the good old "Python 3.x will never be useful blahblahblah everyone uses 2.7 yadayadayada" bullshit?3
-
To all the people who complain about writing a delete or update query. Not to talk you down, but seriously. STOP WRITING RAW QUERIES AND USE AN ORM!9
-
Lets make sure that we are always using the latest software! Keep things up to date#
..... (new version of bulma.io comes out)
..... (Updating libraries...)
.....
Why is the website all fucked up looking?
Shit they changed the padding level on like everything?!
..... Reverting back to older version, fuck that idea.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
-
I used speech recognition package of python in one of my projects. It is working properly but it is not recognising some words, like if I say my name so it will print something else, printing 2 as doose, 1 as drone. To sum up, it's not considering few words.
I tried some amendments like set the language to english-india.
language =en-IN
But after this also, same problem arose.12 -
I had a 3 day long weekend and I ended up spending them on learning python and watching some cs50 videos. Good weekend I suppose!5
-
All this talk of javascript fatigue, and yet when tools like parceljs come out people still regress to webpack... I don't get it10
-
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. -
Ok so I studied Computer Science in college, even got my pretty little associate's degree saying I didn't eat shit.
Decided to work in ops and not as a dev because life finds a way
End up being asked to write code at work anyway because I know enough to not break everything1 -
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 -
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 -
Finals will be finally over.
Todo list:
1) Finish Witcher 3
2) Work on Python projects
How long did you spend for witcher 3?
I'm 100 hours into it currently.4 -
I really regret switching to manjaro. So many things keep breaking, like my laptop won't sleep anymore, it stays up, whenever I plug in another display I get an error thrown at me. Among other weird behaviors (all screen related) that I can't seem to fix and make the experience feel like I'm running a very clunky win-poop machine.
On the other hand, setting up a very custom sddm theme and installing certain software like hadoop, rust, gimp, xfce tweaks and other things was such a breeze D: just "yay hadoop" and 90% of the work was done.
Grhhh... Wondering if I should accept defeat, and maybe switch to Linux MX or spend hours fixing what probably is a display driver issue that's pissing me off 😠2 -
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 -
Today I wasted 3 hours writing a script on a python for a girl. That time was supposed to be used for my job. I should find a girlfriend soon 😂😂😂 this habit is killing me.6
-
I am looking to switch from Ubuntu (once again).
I already used Fedora and Arch in the past, while Arch was my fav, its just too much of a hassle to setup. But I keep finding tiny things that annoy me on Ubuntu.
So anyhow, what do you use/reccomend and why?13 -
Listening to a conversation between Juventus, Milan and Inter fans, it's like listening 3 programmers discuss who is the best language between Java, Python, and C#.
Of course, it's JS the best language :P :(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 -
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
-
Designed a person detection and tracking algorithm based on RCNN and lukas-kanade object tracking algorithm in openCV python.
Need help in cases of occlusion any suggestions?4 -
!Worst, being put on the project a day before release
!Best, finding and fixing all the data model issues before release, so that the next time I have to pull stats about the system, everything actually makes sense, as all foreign keys and indexes would be explicitly defined for once.5 -
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 -
!rant
Started learning Python today, whats ur opinion on Jupyter? I thought it to be quite nice:)
Also, Python 2.7 or 3? Im using 2.7 right now. Is the transition from 2.7 to three all that big?7 -
Is it just me who thinks python Kivy is an annoying piece of shit to use? I mean, I'm fairly novice so this may br easy but the pong tutorial they have didn't explain the steps they took and point 0,0 is the bottom left rather than the top left. I get that it uses the Kv files and stuff but it's a pain in the ass to learn. I used pygame instead :/ kinds regretting not committing.. your opinions on it?2
-
Making cheat codes with cheat engine -> making games with game maker -> learning Python freshman year of high school -> ap computer science -> 75% of a computer engineering degree and 2 internships, soon to be 3!
I'm almost a programmer! -
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
-
Can someone example to me why do people use a VPN when not on public wifi? Like you are already at home with your own private network.
Like the moment you log into Facebook or Twitter or medium or to check your Gmail/outlook whatever, all you are doing is making is making it very clear to the host companies that you are inconsistently paranoid. Because all the sudden the person who's home address is in Seattle, work and home phone are in Seattle and all of their communication is done with people in Seattle. Has their web traffic location encrypted unknown.
Yeah your packets might be encrypted, but you are still spreading enough self identifying information by merely existing on the web.
At the end of day it seems more like a illusion of safety that these VPN sell. At the cost of a good dollar and slower internet speeds.
Unless you got some actual trade secrets and sensitive information, the f is the point for you to use one?18 -
I just took up a challenge to convert an image into a file with its RGB values and then an opposite script which reversed the process. I can't believe how in the zone I was.
I plan to add split work loads with multithreading and a user-friendly CLI parser.2 -
So a rant ago I was actually ranting because I couldn't think of how to do anything and such. Fair reminder I'm still kinda new so I decided to program small stuff to build me up so I can learn. AND I JUST MADE A PASSWORD GENERATOR ON MY FIRST TRY!!5
-
Okay, I have seen my share of useless classes, but this takes them all out. This tutorial will literally be around 4 to 5 functions, and about how to set different options.... Literally useless...1
-
Why is it such a pain when I have to install all my external modules of Python for PyCharm? JetBrains products are cool, but this,... literally had to remember all the modules from scratch.1
-
Pythonista!
A curated collection of python scripts of all kinds - from the fun and silly to the more complex and sophisticated. A small toolset to enable easy usage of scripts from the repository is also underway.
Check it out here -
https://github.com/pyista/...1 -
Its soo annoying when u have Anaconda installed with all the shit packages and when u IDLE run the python and import packages it gives errors and when u try to pip install them it says request all ready satisfied in anaconda!!!!😭
-
I'm almost done with my Python course and after I'm gonna study more like the tkinter module, the sql module, the socket module, etc (I'm sorry if they aren't called modules still kinda new to all of this talk) And after I feel I've learned what I need I'll move on to Ruby Programming!6
-
Fucking google 2 step auth and their lack of customer service.
I have my account setup with my phone and a backup email account. No backup keys, since I only found out about those today! Thanks for letting me know this late in the game -.-
And yet. After I made a clean install of the os on my laptop. Tried to log back into my account. I am not getting text messages or emails to my backup emails (even though its allegedly sent.... And no its not in the junk mail) to validate my 2 factor auth.... Like fuck you!!!
If you gonna give us the ability to fort knox our accounts. At the bare minimum have some customer support to at least be train to answer a phone and tell me if your servers are having an issue or something. Im so in the fucking dark here and cant access shit.1 -
Recently we got a new project assigned and as always you are hyped, really really hyped...........
We were supposed to find all kind of driver updates (especially bios ones) for all devices the company owns. So first of all we thought:
EAAAASY! A little bit of web crawling, regex, etc.
.
.
.
.
B
U
U
U
U
T
!
We were sooooo soooo wrong these fucking manufacturer websites are absolutely awful to crawl or parse and nowadays there are no proper FTP Servers or something else anymore you could use to get the information. Every subsite is little bit different...
While coding and literally brute forcing possible urls (there was some kind of vague pattern) we learned AGAIN to appreciate proper developed and designed websites. Especially by devs who may have some more usage scenarios in mind for their site than simple human clients.
So thank you to all of you awesome web developers who design proper websites and web tools!
All in all it took us 2 weeks to come up with a proper solution (by the way we are a smal team of 3 devs) which somewhat works reliable and can deal with site changes etc. -
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 -
!Rant
Just spent almost an hour trying to figure out why my computer won't display on my tv monitor (because the best smart TV is a PC). I tried everything, unplugging the graphics card and using the motherboard, tried another tv, tried different sockets. Tried another graphics card etc.
Eventually, without notice, after plugging it to a regular PC monitor, it started working. No clue why. But it works now so I'm happy. -
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.
-
!rant
I am teaching some friends python, so i would you comment here challenges to do in it (eg. Python TicTacToe). All difficulties would be appreciated.7 -
Most angry? Not sure but generally get angry at my own short comings.
Like:
"duh you missed a semi-colon again you douche and it took you 3 days of debugging to realise! Just start writing python already!"3 -
Django vs laravel for restful api ? Or any other framework ?
With a lot of req per sec
I'm so comfortable with laravel but don't mind using Python
Tnx <39 -
Completed units where the faculty chooses to specifically code in python.
Gets MIPS assembly code thrown at us for 3 weeks only.
Goes back to Python...
Next Unit jumps to Linux, spends 8 weeks on Linux, gives all the students a 10 page assignment in Javacc worth 20% , linked to a 46 page doc they must read and learn on their own... -
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
-
!python/ORM
Someone got quality tutorial/blog about Sqlalchemy ?
Even tho I am dealing with py+flask+sqlalchemy last 3 years I am still able to get super confused about contexts/syntaxes.
(Model.query vs session.query(Model), etc.)
😪3 -
Have anyone work on chatbot with python? I want to start this project any help will be highly appreciated. I am newby to AI8
-
Is a masters in statistics worth it?
A bit of background:
I got my bachelor in actuarial math (statistics for insurance risk), then found machine learning and got a couple of gigs in software development and data engineering. I became my previous employers the go to guy for questions about data integrity and structure.
Now I am heading to a new job that specializes in ML for gambling. And while I love the math, I really see myself doing more software development and system architecture work (with some analysis). I already started this masters program, so I got less than a year to finish, but starting to feel like its a waste of my time, but also, I dont want to just quit it.1 -
I saw this quiz. This is Python, right?
I ran this and got '3 44' although I'm not completely sure why the 44. I can see the obvious correlation between 'values [0]' and 'v[0]'. Aside from that I'm not sure.
Can anyone explain this to me?5 -
In India you learn c and c++ languages as beginners at first year of your college in diploma or engineering and you learn python at end of your engineering like 4th year for engineering and for diploma it's 3+3 means at 6th year. Here if you really want to be something you must self-learn.1
-
Damn feeling really happy. Finally I am able to understand and make my custom workable middleware in python. It took me 3-4 days to code authorization process 😓
-
Jr dev: I need to log in to servers via ssh and run commands.
me: [posts link to Fabric web site]
Jr dev: Does it support python 3?
Gee...here's an idea. Why don't you try READING THE FUCKING DOCS?!?!?! -
When your code gets out of control because you have one script talking to another and you make it have 10+ arguments and the entire time you're writing it you're thinking "this is just for now, I'll fix this later. I'll do this with JSON or something. Just need to get this to work first."1
-
For some reason installing python 3.6 broke my NPM commands so i couldnt install any modules globally. The only solution I thought of was reinstalling windows, so the full day of work has been reinstalling everything
Fun times4 -
What's your top 3 progressing languages/favorite editor?
(I choose Python, C++, and Applesoft Basic. & Notepad++ for the editor.)8 -
I wanted to fix ugly unittests of parser's function that uses some shitty workaround instead of intended unittest.mock.mock_open, but it turns out mock_open cannot mock different content for each file. Cause you know, noone needs it anyway.
-
If you're a web developer OR python developer, what are the top 3 concepts you should understand like the back of your hand?11
-
When the only thing that standing between you and finishing your app is WebRTC!
BAHHHHHHH, I don't know why, but this thing is kicking my butt. Spent like 2 weeks now trying to get it... Anyone on the community got any good links for how to use this? Because I am losing my mind here D:4 -
I was taught Perl and Java in just under 3 months during my Master's in Computational Biology which fueled a dislike towards these, so I self-taught myself Python and JavaScript in my free time and loving life now!1
-
!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 -
Reading over a note I left myself "Numbers returned will be slightly off due to new implementation and the Fuck that we use a different dataset"
Oh boy. This was there for 2 weeks, Im so lucky no one saw this. -
I frequently run out of programming ideas. Could anyone tell me a fun project they have done.
I know Python 3, ruby and some C++4 -
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). -
I'm currently writing a discord bot using the discord.py library and I cannot decide how to structure my code.
I was thinking of writing it in modules, with a core script that would load any valid module class that would include an array of all the event hooks it wanted, whether it wanted to send messages and so on.
It's a nice way to practice python after my last working bot that I wrote in (Sit down for this) PHP using an outdated and abandoned wrapper (Yeah, event-based programming in PHP, I know)
Are there any better ways to do this? I really don't want to hardcode all the functions in, only to have it fall apart later after adding another feature...1 -
May I know the best python open source framework to develop speech recognition from scratchquestion python 3 devteam machine learning speech recognition devtea deep learning java artificial intelligence10
-
Anybody out there know best library in Python for visualising a robot’s path graphically given its X and Y coordinates? Turtle is way too boring... please help...2
-
im in my finals and we are having a course that requires project in python ,django to be specific , i downloaded a four hour python video for over a month, i ve been feeling reluctant to watch it, felt python is too simple to take such time , just continued with my django 🤣😂😂😘
-
On the topic of mesh networks
1. Anyone know of a good non-cloud dependent mesh network system under $300?
2. Anyone every attempted to setup their own with libremesh or with prototype-cjdns-pi?1 -
Anyone ever bought a laptop from ststem76 or from purism? I'm looking for a good laptop for development and gaming. (I'm a Linux fanatic btw)7
-
Went through 60 python packages to see which fails installing on the serve. Took hrs as I have no terminal access but just via jenkins pipeline. So "edit/gitpush requirements.txt and wait" many times. Eventually looped them 1 by 1 in shell. By end of day got the list that installs.
Finally sent the whole list....with confidence
-Takes full 10 mins & Fails......
(panic mode starts)
+Changed the sequence = fails, somewhere else
+1 by 1 again = installs.....
+few random without the culprit =works
+again, whole list = fails, somewhere else
Need to sleep, brain's thinking of eagles1 -
Gahhhh.... This side project I have been working on for the past 3 months is basically finished. However, the production build of the project seems to be breaking a key read abstracion I built. God damm it.
Can't blame anyone but me, because I should have tested this on production months ago!! -
This is by far the best calculator code ever written
https://github.com/AceLewis/...
Also, love the start
if 3/2 == 1: # Because Python 2 does not know maths
input = raw_input # Python 2 compatibility2 -
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 -
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 -
!rant
I'm working on my Python book and am debating deleting this chapter on Python 2 vs Python 3. It is not an attack or slander against either version. It's simply a high-level explanation of why there are two major versions, which one I'm using, and concluding by basically saying it doesn't matter which you learn because it's the same language with many internal differences. I mean, in terms of syntax differences, Angular 1->2 is worse than Python 2->3.
I'm just not sure if the chapter is worth keeping. This is a brand new book from scratch, being written square in the Python 3.x development cycle. I even plan on introducing the Py3.6 string interpolation syntax. Has the Py 2 vs 3 war calmed down enough yet to toss it or is it still a necessary evil to keep dragging it up?2 -
Can anyone suggest me ML and deep learning projects as my final year project..??
any suggestions .... appreciated7 -
This summer I'll have 3 free weeks. I know Java and Python quite well, but I dont know any frameworks yet. What do you recommend?5
-
Okay so I've been programming for around a few months learning python. I'm a slow learner so I try to stick with a learning schedule that suits me and i do got it, but I've come across a problem that keeps happening.
When will I know when to use certain functions like len(), range(), Or even modulas %. Because I forget they're there and im worried its going to effect me from being better.
Another problem while I have some of your attention is i dont know when to use math in my code really well but I've been getting better at that so I'm gonna practice a little bit for that.3 -
Hi Guys! Currently I'm learning backend web development on freecodecamp.com. Before this I've learned python, just for fun, but I 'painfully' enjoy both. I'm working on an other field now (cnc machining), but I tought I could become a developer. Now I've lost my confindent because a few article on Quora. There a guy (and not only he) said, technicly it'll take over my life. Unbelievable amount of extra time exclude working hours, stress and 18 hours working days. My long plan was to be an independent freelancer, with an easy working schedule (I don't want to be rich, jus have a food valanced life). I've been hoped in a fairy tale? It'll drain my life?4
-
I learned Python3, HTML5, CSS3, JavaScript and Bootstrap 4. I also did some web design project. But I think I need more practice for being a good programmer. Now, I need A platform that will give me some design or programming exercises for practicing. The platform can be any website or android app. I don't looking for something that will say, "design a calendar or make a calculator" or something like that. I'm looking for more specific task. Example for html:- I need all tags and attribute based task. so that I can learn everything properly. something that will say do the array task in JavaScript, do the h1 task in html. I want to see the result of an exercise if I failed in that exercise. So that I can learn from there. I want to make sure that the exercise will cover all topic of that language. so that I can learn everything topic of a language.
IF YOU KNOW ABOUT THAT KIND OF APP OR WEBSITE THEN PLEASE HELP ME. I'M NEW IN PROGRAMMING.16 -
Just found this glorious rant about a controversy I completely missed in 2016.
https://eev.ee/blog/2016/... -
!rant (am I doing this right?)
I want to dive into Python, but I read that python 2 won't be maintained by 2020. Should I pickup Python 3 or work with Python 2?
Slight background notice: I am a developer right now. I swap between Java and Javascript for most of my job. I'm familiar with the fundamentals of programming and am just looking for a language to automate some tasks or just explore. Python looks lightweight and open to a lot of potential projects, like AI (which I guarantee will take a while for me to grasp).5 -
I've spent probably 2-3 hours working on this MAC Address lookup script.
Only 100 lines and I think it's decently documented.
https://repl.it/@RiderExMachina/...
Of course, I made a really quick version in Batch within 5 minutes that works decently well, but I'm more proud of this version... -
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?
-
I'm working on a simple Flask project. But when I try to work with the database I got an error called "No module named MySQLdb". I also got error when I try to install "mysql clint" with this command:-pip install mysqlclient. So I searched for the solution of this problem but every time I find someone told to download "MySQL client" from this website:-
https://lfd.uci.edu/~gohlke/...
But the "MySQL client" file is no longer available on that website.
please help me by giving that file or any other way. You can also check my project from here:-
https://drive.google.com/file/d/...
unfortunately, my operating system is Android 6.0
Here is the code:-
from flask import Flask,render_template, request
from flask_sqlalchemy import SQLAlchemy
app= Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = "mysql://localhost/codingthunder/"
db = SQLAlchemy(app)
class Contacts(db.Model):
sno = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(80), nullable=False)
phone_num = db.Column(db.String(14), nullable=False)
mes = db.Column(db.String(120), nullable=False)
date = db.Column(db.String(12), nullable=False)
email = db.Column(db.String(20), nullable=False)
@app.route("/home")
def home():
return render_template("index.html")
@app.route("/about")
def about():
return render_template("about.html")
@app.route("/contact", methods=['GET','POST'])
def contact():
if(request.method=='POST'):
name=request.form.get('name')
email=request.form.get('email')
phone=request.form.get('phone')
message=request.form.get('message')
entry=Contacts(name=name,phone_num=phone,mes=message, date="2019-09-01 12:06:20", email=email)
db.session.add(entry)
db.session.commit()
return render_template("contact.html")
@app.route("/post")
def post():
return render_template("post.html")
app.run(debug=True)4 -
When one server request goes through and second one fails😥 and then you start contemplating life because the only thing that you thought will stick around with you till the end says ' Uncaught in Promise '!
-
Web development -
Caution: boring question
Have anyone worked on anything like a form builder like by giving a name generating a table with default columns and new folder for controller , models inheriting a base class that can provide a CRUD functionality ?
In my company they have a cool module builder that allow you to add any field email ,file, password,connector field - connect two modules one 2 one relationship clonable field many to many built on php.
I tried and created one using python Flask framework but without restarting app the routes are not getting registering asked in stack overflow got downvoted
Any thoughts?3 -
Hi there,
As some of you might know I am Computer science student and does a lot of C# practice and development in my free time!
But recently I am in love with python and wanted to learn it ( side by side with C#). So does anyone have any suggestions of books to learn python from basic?5 -
Six hour of intensive training with Python. Every hour there is something so "WHAT THE F*** COME FROM THAT MAGNIFICENT S**T!?" in my head....
-
!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