Details
-
Aboutstill learning, to stupid to learn to code by myself
-
SkillsHTML, CSS, JS, BASH, Linux, Python, no SQL :D
-
Github
Joined devRant on 7/23/2017
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
This year I'm asked to teach Python with a GUI, but I've never used a graphic interface with Python. The chosen GUI must:
- Have an IDE, a sort of "drag and drop builder"
- Be capable of building software with forms, menus and multiple windows.
- Work with Windows 7 at least.
- Work with Python 3+
Any suggestions?
So far I tried:
- Tkinter: comes with the language (point in favor), but wasn't really able to make it work. Has no proper IDE, tried to use a builder called PAGE but doesn't seem to work.
- WxPython: didn't really play much with it. I've read some articles, but that's all.
- Qt: used several years ago with Ruby. Has an IDE (point in favor), but never tried with Python. This is my winner so far, the one big problem being the amount of stuff to install to properly work.15 -
It was friday evening and almost everyone in office had left. I was assigned a bug related to some of my code changes. I called my senior to help me debug (has three years of experience, whereas me having only one year exp, who is also a very good friend of mine *always helps in debugging*).
So the code goes
switch (someEnum) {
case One:
doSomething()
// no break
case Two:
t.x = someEnum
break
case Three:
.....
}
I had recently added new enun One and was reciting the code logic to him as we were looking through code.
Him: Hey you haven't set t.x in case One. How did you miss that?
Me: No look, I haven't but a break on it. It will go ahead and set it in next case.
Him: What are you talking about? if the someEnun is One why would it execute Two case. Lets copy that line up there and try it locally.
Me: No no no wait. Are you saying that groovy doesn't need breaks in switch (Me being new to groovy but good with Java).
Him: Why would you need break in switch case even in Java?
Me: *stares at him*
Him: I'm going to execute a psvm right freaking now.
Me: *while he writes the psvm* Why did you think there were breaks in switch in any code?
Him: Shut up. *writes psvm code cursing me everywhere*
*executes code*
No way. Really??
Me: Tell me why do you think are there breaks in switch.
Him: I though they were to get you out of switch block and not execute the default block.
Me: So were you coding switch until now without breaks?
Him: I don't know man. I'm starting to doubt all the switches I have ever written.
Me: Anyway that's not the problem, so moving on.
*a while later*
Him: If a interviewer would ask me how would you rate yourself in Java. I would be like "Well I worked on various projects for 3 years in Java, but didnt know why we put breaks in switch. So you figure it out yourself."
One of the best moments in office.8 -
Ms fanboy I used to know used to brag about his 10gb of Skype history.
What he hears: I'm so social and cool and stuffs.
What I hear: I've given about 10gb of personal data to Microsoft and several intelligence agencies.
It's all about perspective.12 -
Huge congrats to @linuxxx for being the first ever member of the devRant community to reach 100,000++
This is an awesome accomplishment and @linuxxx earned all of his ++ with awesome stories and has represented everything the devRant community is about while getting there.
So once again, congrats @linuxxx, and thanks for everything you have contributed to devRant!52 -
I changed my Wi-Fi name to Syntax Error and made some changes to the configuration. I wanted to disable the admin page at the 2.4Ghz connection, but I got kicked out at 5Ghz as well. So I couldn't log in anymore and resetting the router didn't helped.
So I called the ISP if they can restore it to factory settings, but the guy on the phone didn't understand a thing I said. He said to me: "Sir I don't exactly understand what u say, but I can see an Syntax Error. Do you want me to fix it." And I laughed and I laughed.. I told him that's the Wi-Fi name but ofcourse he didn't got the joke. I called again and got someone else on the phone. He's resetting the router in a one minute call.
Had some fun this morning.10 -
Friend: What's that?
Me: DuckDuckGo. It's my default search engine.
Friend: Try using Google instead, it's better.
Me: But Google spies on you.
Friend: So?
Me: Don't you care about your privacy?
Friend: It's not like they are going to kill me. It doesn't matter.
Me: *mumbles* typical muggle...
I'm surprised that people could care less for their privacy. I would ban all things google, but I need google docs.
Also, my idiotic school requires gmail and google classroom. Oh, and did I forget to mention we have to use chromebooks!97 -
F in Internet explorer stands for fast!!
U in client stands for understanding!!
C in iPhone stands for customizable!!
N in US stands for net neutrality!!
B in devRant stands for boring!!20 -
Massachusetts Institute of Technology (@MIT ) should consider giving scholarships to eveyone who can pronounce and spell Massachusetts correctly.6
-
OMFG. Here's a self-rant for you all...
So, working on a JS library to build widgets, I five across some weird behaviour where I expect `$.ajax.apply()` to pass something to the chained `.done()` method, but it comes out differently.
Fuck. Right, time to visit StackOverflow and glean some knowledge.
I post a question, complete with examples and descriptions and a little midget unicorn in the corner for world peace.
Come back a bit later to see what's happened, and nobody understands my damn question!
So I proceed to debate a few points with some other devs, going back and forth for a while, but still nobody knows what I'm asking.
Fuck. Time for a JSFiddle...
Copy code from the jQuery docs and start modifying it to show what I was working with... Now suddenly is all working as the docs say.
O.o
So I go look back at my own code again to try work out what's actually going on.
Turns out I completely missed MY OWN CODE.
Fuck me.1 -
Learning Philosophy.
It is the most important thing for anyone to do to.
Everyone has one either implicit or explicit.
Learning metaphysics, and then more specifically epistemology has greatly increased my ability to process new information and build better models of the world around me. -
I hate asking for help on here as this place is mostly not intended for that but fuck it for now, I need help on this one!
Installing Arch isn't working for me. Installing any other Linux system (debian or RHEL based) works great.
I've seen some things online about EFI files and so on but I honestly don't understand what that stuff is (about).
Help.16 -
Which asshole designer and stupid website owners decide to embed 110 trackers on a single page!!
I mean sure some ads add their own trackers....but THIS is beyond shit
R.I.P Privacy17 -
Today we got the following (approximately, don't remember it literally) error message on a windows server:
Please turn on your computer. Updates can't be installed while your system is turned off.
Genuinely; de WUT?!10 -
Got a math exam tomorrow but learning about it-security and pen-testing is a lot more interesting.
Building a remote for the projectors in your school can also be a source of fun :P2 -
TFFW you regret the decision of using “truecrypt” on a hard drive back in 2012......... and then forgetting the key...92