@ByteCommander how do you use the % formatting though
Docs say :
> This section contains examples of the str.format() syntax and comparison with the old %-formatting.
> In most of the cases the syntax is similar to the old %-formatting, with the addition of the {} and with : used instead of %. For example, '%03.2f' can be translated to '{:03.2f}'.
> The new format syntax also supports new and different options, shown in the follow examples.
>>> print "I have %d apples" % 4
I have 4 apples
>>> print "An apple costs %0.2f dollars" % 0.5
An apple costs 0.50 dollars
>>> print "Thanks for visiting %s market" % "Example"
Thanks for visiting Example market
@ByteCommander Two problems: that's python2 and I am not using it for print function. Print function might have old formatting alright, but i need it for indicator, not for console
@ByteCommander Again, you're misunderstanding what i am trying to do. I am not using print() function because it goes to indicator label, not to stdout
$ sudo gem install rdoc
[sudo] password for xieerqi:
Sorry, try again.
[sudo] password for xieerqi:
Fetching: rdoc-4.2.2.gem (100%)
Depending on your version of ruby, you may need to install ruby rdoc/ri data:
<= 1.8.6 : unsupported
= 1.8.7 : gem install rdoc-data; rdoc-data --install
= 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!
Successfully installed rdoc-4.2.2
Parsing documentation for rdoc-4.2.2
Installing ri documentation for rdoc-4.2.2
Done installing documentation for rdoc after 40 seconds
I suppose. It was one of those things that set linux apart from windows for me. Now linux loses it and windows gains it. Felt like a step backwards for me.
@IanC You can enable them in Settings -> Appearance -> Behavior , and then use shortcuts to switch between them. Oh, and there's also a command-line way
@IanC basically , it's like having x number of different desktops. You throw firefox on one workspace, then maybe have terminal on the other, and so on and so forth
@RobotHumans I use dual-screen and workspaces , because i constantly have tons of windows open. I'm blind as a bat, so have to have maximized windows everywhere
"convergence" and keeping a phone from rendering multiple desktops by default.
@Serg well, i like it b/c i can have say... an ide and a browser on google/SE open on one v-desktop and a browser open to eddb on one screen and a music playlist or movie on the other. so i can toggle from working on something to "secondary rig supporting my elite dangerous gameplay" without mucking around with windows.
Indent your code with two spaces per logical level. Really, it's that simple. Unlike in some other communities, there is no contention in the Ruby community over whether to use two, four or eight spaces. Everyone is happy to use just two. Furthermore, never use tabs, which includes the practice of mixing tabs with spaces. "
Not like I'm going to follow this rule anyways hahaha @Serg @edwinksl
the ruby interpreter don't even require indentation anyways, so it should be fine to use either (except tabs AND spaces, are there people who actually do this heresy???)
not honestly sure if it works on pages, and you need to have a phone assinged to your account for "validation" (so they can sell more personal info to advertisers)
@edwinksl Don't know. I saw @andrew.46 said he upvoted the answer. before that I hit the cap yesterday. and I was searching for an answer whether it is -10 if an unupvote occur from same user who upvoted after cap reach, I asked him to unupvote and re-upvote later. to see the effect. Someone might misinterpreted that I guess :)