silon4
Re:Google's Python style guide
on Thursday April 19, 2012 @12:42PM (#3863873)
Personally, in my own code I also like to put pass at the end of all blocks. It's more consistent, and it also makes auto indent in the editors work properly. Anyone else?
Re:
on Sunday April 15, 2012 @06:09AM (#3843310)
Abusing javascript as a semicolonless language is a bad idea (Go also).
If you wish to have a langage without semicolons, design your grammar properly, not add kludges to the lexer.
Re:Rust - a new programming language from Mozilla
on Tuesday April 03, 2012 @12:25PM (#3793590)
I'm waiting for python to fix "from __future__ import braces". Or at least make "pass" mandatory for end of block
Re:RESTful thinking considered harmful
on Friday March 30, 2012 @11:24AM (#3776375)
POST /orders/42?pay=1
POST was always about actions, not just resources.
Re:Critical Google Chrome hole plugged in 24 hours
on Friday March 09, 2012 @12:42AM (#3683074)
If it's a flash problem, I don't think Chromium has flash at all.
Re:How the Boehm Garbage Collector Works
on Saturday February 11, 2012 @01:41AM (#3578746)
If RAM is precious, you shouldn't use GC anyway. It typically has 2x memory use overhead to reduce GC performance cost.
Re:Why Facebook Connect Shouldn't Be Your Only Sign-in Option
on Friday February 03, 2012 @11:07PM (#3550184)
I like the same model. (send password change token to email).
BrowserID from Mozilla may help here too.
Re:Google Kills Android Menu Button, Replaces It with Action Bar
on Saturday January 28, 2012 @07:11AM (#3521908)
Me too :(((
Re:Python-Dev: Adding braces to __future__
on Monday January 02, 2012 @11:34AM (#3416380)
Agreed, but there's a solution.
Emacs recognises the end of a block by using "pass" to end the block. This makes it reindent properly. It's not the official python style, but I prefer to write code that way. Try it, it's not bad.
Re:Scientists' proposed calendar synchronizes dates with days
on Sunday January 01, 2012 @01:41PM (#3413500)
Or the zeroth month.
Re:Linux Mint 12 “Lisa” released
on Saturday November 26, 2011 @03:06PM (#3280561)
For me, broken Alt+Tab that switches applications instead of windows is a non-starter. And the top application menu bar.
The rest is OK and I can learn/adapt.
Re:Linux Mint: The new Ubuntu?
on Friday November 11, 2011 @02:43PM (#3225863)
>they're basically cloning OSX bad habits: instead of switching between windows on Alt+Tab they're now switching between apps (across virtual desktops!).
This is THE reason why I will not touch gnome-shell/unity. Too bad, because I could get used to most other stuff (except unity's menu bar on top) and I believe it has potential. Multiple displays and virtual deskops are a minor annoyance that can be improved.