Details
-
AboutTrapped inside the read eval print loop.
-
SkillsNaN
-
Locationvoid
Joined devRant on 9/23/2016
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
-
@Glinkis Hey, he was standing behind _MY_ back...
-
@Drillan767 Your rant has been marked as a duplicate 🙃
-
@thejohnhoffer de nada..
I totally love the ‚surprise me...‘ feature 🙃 -
I am not sure if it suffices, but have you tried https://wiby.me ?
-
Why not teach a python to write python code?
I guess it would be ultimate fun! -
@Voxera How did you get rid of the perpetrator (asking for a friend 🤓)
-
If you run a du -h from the terminal in the same folder, the info window refreshes immediately and displays the size..
-
Well, not sloppy, but consequent.
Consider this: A scope in python is anything which is at the same indent or any indent more on the right.. (think of nested blocks)
> if True:
> x = 23
> # x is valid here
> # but not here
Now the twist: The for loop does two things at the same time: Declaring a variable and opening a new block.
Because the for loop itself is part of the outer block, the variable is declared there and will also be available in the outer block.
I feel this is the most logical behavior, never had any issues with it.
Try not to use single character variable names, and while you’re on it, do yourself a favor and use Python 3.
Python 2 is (very soon) unsupported, and contains many illogical pitfalls..
Btw: JavaScript has sloppy scoping, as variables from inner scopes are available outside (if declared with var) -
@bachmanity Suure. Yeahh. Right.
Any time when my colleges commit something where they „forgot“ to format the code to our guidelines I found the original SO post where it was stolen from..
Always did and always will.. -
„Why do you write such crappy code?“
- „Because the guy from StackOverflow said so..“
fml;
That happened to me last week.. -
*breathing heavily*
-
@okkimus very very very much. In C one would write this:
uint64_t btc = 0;
return btc - 1;
🤓 -
@Condor actually, it decodes to ‘rm rf /*’..
He forgot the dash.. 🤫 -
double base64 encode, respect..
Did you know that rm -rf stands for “read mail -really fast”? -
If compilers could scream.. .. .. it would be very loud in the office..
-
Hey nerd! Do you wanna be my friend? 😊
-
I leave my work laptop at work, so I won’t accidentally do some unpayed work at home 😊
So everything I develop for myself is done on my personal laptop.. -
@Michelle It really seams like that.. MacBook crushed between sofa and ass. Ouch.
-
I’ve seen this on twitter today..
But I’m still wondering how on earth something like that can happen? -
proper use of meme image!
-
@Codex404 No, no, it‘s not that easy I think.
Apple is a hardware vendor - if people see an almost full storage they’ll think: “Let’s buy a bigger iPhone next time”
On the other hand: the storage displays on iPhones and Macs have been broken for years now..
Quality software.. -
@AleCx04 The designer doesn’t really matter, you are right.
But she did a very good job on the Plan9 logo and the Go logo I think.
Taste is always different from person to person, so better not argue there 🙃 -
@Linux /var/log/messages feels more intuitive 😃
-
@g-m-f @Linux where can I find the system log on some windows machine?
-
Either buy some older MacBook (on eBay) where you still can upgrade Ram and build in some 2.5’ SSD, or buy some PC where drivers are available (ThinkPad, HP, Dell)
-
I agree with you that the logo of Rust is awesome.
But I definitely don’t agree that the Python logo is nice.
I also think the Go logo is pretty good.
BTW: It’s from the same designer who made the bunny-logo for Plan9. Neat. -
@J-2FA I switched to linux more than ten years ago...
But my Mom won’t, so...
Error messages in linux are also not really helpful!
But at least they tell you where things got wrong, so you always have some clue where the problem might be, or what to type into google.. -
If you’re really just one and a half year into programming, and already teaching, winning hackathons and such, you have accomplished a lot! Congrats, Respect. 🎈
Maybe you underestimate yourself?
Don’t do that, but be aware that learning never stops. -
Sometimes I use those websites aimed for scrabble players to find some nice names.
Or you could try the crossword sites.. -
Is you are lucky, you’ll make $2 profit in just 10 years 😆