« first day (2175 days earlier)      last day (2777 days later) » 

@Zacharee1 you forgot to add \t to it
 
@Zacharee1 Maybe remove the narrow part entirely
 
@RPiAwesomeness whaddaya mean
 
Sorry, the narrow bit of the sand.
Make it more rounded instead of coming to a point
 
hmm
we'll see if I can actually do that
timewise
 
12:06 AM
@Seth working version is on github now
 
@Serg wut
 
user image
4
@Zacharee1 you forgot to add a "\t" symbol to the meme
 
Spaces with soft-tabs
 
oh
 
Can I just say, that python's string.format() method pisses me off sooooo much
 
12:09 AM
@Serg but liek srsly
 
$ man humor
No manual entry for humor
 
@Serg you need to enable the Universe repo
 
@Serg Why? It's great.
 
@ByteCommander I come from C background. I understand %.02f , {0[1]:02f} is confusing
 
o_O
wtf is that??
 
12:13 AM
    def update_label(self):
        time_tuple = ( gmtime().tm_hour,gmtime().tm_min )
        label_text = '{0[0]:d}:{0[1]:02d}'.format(time_tuple)
        self.app.set_label(label_text,"")
        glib.timeout_add_seconds(1, self.callback)

    def callback(self):
        self.update_label()
 
ewww
 
Why do i need '{}' if it's already supposed to be a formatted string ?
 
@Serg I'm sure your string is wrong or at least longer as it would need to be.
And you can still use % formatting anyway.
 
@ByteCommander taken from official documentation - format takes tuple
 
Or this f"" thing, however it is called.
 
12:16 AM
@ByteCommander I thought you were cursing xD
 
@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.
    def update_label(self):
        label_text = '{0}:{1:02d}'.format(gmtime().tm_hour,gmtime().tm_min)
        self.app.set_label(label_text,"")
        glib.timeout_add_seconds(1, self.callback)

    def callback(self):
        self.update_label()
 
@Serg E.g. like this:
 
That's a bit simplified
 
>>> 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
 
12:23 AM
The % is a string thing, not a print thing.
It works in Python 3 as well.
 
@ByteCommander OK, then how do you suppose i use the % thing for formatting my stuff above ?
again , string.format() , at least according to documentation , doesn't use the % formatting ,they use {}
 
>>> print("it is %02d:%02d o'clock" % (2, 27))
it is 02:27 o'clock
However, string.format() is to be preferred over % formatting nowadays IIRC.
 
@ByteCommander that is correct
 
@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
 
The print has nothing to do with it!
>>> list("it is %02d:%02d o'clock" % (2, 27))
['i', 't', ' ', 'i', 's', ' ', '0', '2', ':', '2', '7', ' ', 'o', "'", 'c', 'l', 'o', 'c', 'k']
See? No print anywhere.
 
12:31 AM
@ByteCommander OK, you kept saying i can use % formatting in string.format() , yet you're clearly using only print()
 
There is no function call.
Just "template string" % (values, tuple)
Like string modulo.
It does neither need a .format() nor a print().
@edwinksl Do you know how the % formatting is officially called?
And how the f"template string" stuff is called and works?
 
@ByteCommander well, that's what i needed ! Thanks
 
:)
Okay, time for some sleep. Good night.
 
Now that i am happy with this indicator, i guess i can do my homework
@ByteCommander good night then :)
 
12:50 AM
Credit to James for this one:
This makes so much sense I'm surprised it didn't occur to me earlier... #iPhone7 https://t.co/YxpxdvvJZQ
So that's why they killed the headphone jack.
 
@NathanOsman Ooooooh . . . so it's all about $$$ and their service . . .
Air Pay or whatever ?
 
Hi all :D
 
hey
 
@Serg have you installed Ruby documentation?
hey @SeverusTux!
 
12:54 AM
@IanC I don't think so, i only got the shell and interpreter
 
I was thinking about installing it, but read somewhere it makes Ruby really slow
like, not Ruby the interpreter, guess the irb
would be good though, to have a quick "man" reference to the classes and methods
I'll have to study a bit of OOP again
 
@IanC ok, so i installed rdoc just now
$ 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
 
is gem like a Ruby Apt-get?
just for Ruby applications?
 
I think so
Python also has it's own package manager, pip
 
so you can use "man" to access the Ruby methods now?
or rdoc method?
 
1:08 AM
not yet apparently
something is not working still
 
dont you have to update the rdoc database or something?
so it will fetch the documentation?
 
@Serg great
thanks
@NathanOsman eh, someone said Apple made royalties or something off of every lightning device sold. That seems more likely.
 
@IanC AHA, i found it
sudo gem install rdoc-data && sudo rdoc-data --install
Then you can do something like : ri File
or ri Array
 
cool!
did you find it laggy?
 
Um . . . Not really, i don't see much difference
 
1:24 AM
great, I'll install it
was using Ruby's website as a reference so far, but typing ri on terminal will save me a good time
 
Trust me, typing it in terminal is far better than using web version. I hated all the Java documentation simply because it was only on the web
 
I know, I like having the documentation on my computer, better if I can quickly access it through terminal
hate when libraries don't make at least a .pdf documentation available
I don't think Gtk for example have a downloadable doc
 
nice!!
your app is getting famous :)
I don't think I even know how to change workspaces haha
 
@Serg nice. I wasn't happy that unity turned that feature off out of the box.
workspaces i mean
 
@RobotHumans Eh, workspaces are more for advanced users, no ?
 
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
 
1:58 AM
but what workspaces change? the launcher pad, background, theme?
 
@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
 
oooooh
I get it now
 
for me with multi-head it was a way to organize work/windows maximized and not alt-tab.
 
man, I remember this on ubuntu a long time ago
it had a square icon on the panel
 
i keep turning it back on. it's getting buggier on turning itself off now during updating b/c it's not the default
 
2:00 AM
@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
 
I might start using it, I'm usually full of windows opened too
I remember it was default a long time ago @RobotHumans, wonder why they took it off
 
"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.
 
@ByteCommander i think it is just called %-formatting
 
third desktop would be a pile of recipes i always plan on making open in a bunch of tabs.
 
@edwinksl @ByteCommander It's just called printf format string
Gosh . . . I've done no homework so far . . .
 
2:08 AM
grrrrr. why are WISPs a thing?!
 
@KazWolfe there should be a schroedinger in your handle given your profile description
 
> tfw when your WISP offers speeds "up to 20x faster than Dial-Up!"
 
2:22 AM
"Ruby Community Standard
Indentation

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???)
 
I've no problem with that - I already use spaces, not tabs
2 spaces ? eh, sure. I prefer 4, but that's just my python habits kicking in
C kernel style also requires 4 i think
 
@IanC heh, i am in the camp of 2 spaces, no tabs
 
I'm feeling so left out right now.. no one else on team-tab? :p
damn, gotta start getting ready for work
 
team tab is abbreviated TT
 
2:37 AM
Hmm... How would I split an 18x6in. PDF page into two 8.5x11in. pages for printing?
 
Android nougat is AWESOME.
Used it for like 5 minutes and it's so much awesomer.
 
in The Nineteenth Byte, 9 mins ago, by ΛεγίωνΜάμμαλϠΟΗʹ
Hmm... How do I split an 18x6in. PDF page into two 8.5x11in. pages for printing?
:P
 
@Seth i am miffed it isn't nutella
 
well, nice talking to you all, good night!
 
2:55 AM
@edwinksl lol. That would have required a deal with whoever makes Nutella.
 
anyway, #nutella4lyfe
 
@edwinksl peanut butter on one side (the sort that's just peanuts, nothing else), nutella on the other. Add cold semi sweet chocolate chips...
 
@JourneymanGeek mmmmmmmmm tasty
 
am i the only one who hates nutella?
 
I know, it sounds like a sin, adultrating nutella ... but it will blow your mind
There's only one thing that would make it better, but we don't have a good seeded batch loaf recipie, nor can I find the stuff I used to get...
 
3:01 AM
@JourneymanGeek i wonder how well nutella goes with kaya
 
@edwinksl Science!
I can't eat kaya tho
 
@JourneymanGeek allergy?
 
I don't eat eggs (or meat)
 
oh that
well i will conduct the experiment one day for science then :p
 
@KazWolfe yes.
One thing Android needs is OxygenOS's ability to pull down the notification shade without putting your fingers all the way to the top of the screen.
 
3:20 AM
Guys, need research help. What were people using before telnet ?
 
i think telnet was the first standard
 
@Serg Raw UDP packets >:)
Actually, not really.
But I thought that was funny.
 
:D
 
before then, i'd guess it was mostly proprietary implementations.
 
I'd assume you just attached a serial terminal directly
 
3:25 AM
seems as though telnet was the first
or, well, maybe not telnet as we know it today, but the ARPA predecessor..?
 
yeah , I don't see anything else online on that
 
well, as telnet predated the internet...
when your isp has a horrible website, you kinda lose all faith in it...
 
Tommorow I'm going overseas D:
 
@Edity where to ?
 
(Korea :P)
 
3:39 AM
Daym, i nice
 
True Korea or False Capitalist Pig South?
 
I wonder what I get from my 300 rep
 
Does Windows include ssh now ?
 
no
but you can get it under WSL
 
@Edity where in korea?
 
3:42 AM
/facepalm The Island and the Capital of Korea.
 
@Edity island?
 
@Edity first time?
and yeah what island? jeju?
 
so... seoul?
 
yep
@edwinksl correct
 
please note that the bomb shelters are located in the subways. Head there immediately when the sirens sound.
 
3:43 AM
BUGOGI I'M COMING FOR YOU
 
@Edity first time to korea?
i had a great time last time i was there
highly recommended
 
@edwinksl wrong
 
@Edity heh nice
 
protip: don't play with knives.
my table is full of holes
 
WOOHOO TOP 2% THIS WEEK
 
3:45 AM
do we want to know why you were playing with knives
 
@edwinksl boredom and because i have skill
i'm perfectly fine. my table is not.
 
I'm the top 2% this week
 
brb getting sockpuppets
 
i don't know what that means, but woohoo!
 
@KazWolfe hmm. polishes banhammer
 
3:47 AM
hey, they're all legit users.
with histories on the site
 
Now that I know about Ubuntu, let's answer a few questions
 
more seriously. I find knowing your audience and posting thinking of that >>>> any cheap trick ;p
 
brb failing at art. again.
 
4:03 AM
okay, i've convinced myself that splurging on a nice tablet was a complete waste.
 
4:18 AM
anyone know of any way I could link a facebook group to a mailing list?
 
@Seth Use Facebook Mail(tm)? /s
 
link?
oh. hah.
 
Who needs email or internet when you have Facebook?
in all seriousness, i don't think there's an easy way to do that, as FB doesn't give out user data like email.
You could use Private Messaging, but users need anonymous messages enabled
 
eh, I just have a group that would mostly prefer to use facebook to communicate but several that don't have FB and won't get it too.
Which I sympathize with
 
yeah. i don't think that there's an easy way...
If you have a FB group or something, you could probably set up a "listener" bot to post...
 
4:22 AM
yeah, it's group
 
nevermind... Add this to the mailing list.
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)
on an unrelated note... I NEED MORE 7960s!
 
@KazWolfe bleh
I hate FB...
Maybe I can get them to use groups.io.
 
you and every other non-grandmother.
private forum hosted on a secure VPN?
 
we need a fb group for AU chat
jk
 
@edwinksl @Seth kick the peasant pls <3
 
4:29 AM
the edits -.-
 
i cant type. my keyboard is stupid
or my hands are stupid. honestly not sure
probably both. the batteries in this thing are definitely dying.
 
4:45 AM
I've said it before and I'll say it again. Walking into Stack Overflow is rather like walking into a locals-only bar. — Matthew Taylor Sep 5 at 13:18
true
 
[ SmokeDetector | MS ] Bad keyword in body, link at end of body, pattern-matching website in body: Which Will Be The Most Effective by devinbeilens on askubuntu.com
 
@edwinksl i think that's all SE sites.
None of them seem too noob-friendly.
 
yeah agree
:(
 
You kinda have to earn your way in, I think
 
it is kinda abrasive
 
4:55 AM
which is kind of against the ideology of the SE model.
in gaming, until PoGo came along and I became a decent site member, it was hard to grab a foothold there.
once that happened, suddenly... i was welcome
AU sorta had the same issue. The only site that didn't have that was Lifehacks, but I was there for the closed beta
 
seems like a hard problem to solve :/
 
5:11 AM
first!!!!1!!
lol we should do that. post first comments on spam xD
 
?!?
I just figured out a glitch XD
 
5:28 AM
hi all
 
@Anwar uh, not sure why your answer for compiling got downvoted once :/
 
[ SmokeDetector | MS ] Link at end of body, link following arrow in body, pattern-matching website in body: Foods That Ramp Up Your Metabolism? by mikenjeur on askubuntu.com
 
im having trouble viewing trash bin from terminal.
 
@Jodamo117 what problems?
 
i'm just entering wrong command
its for a edx class
 
5:41 AM
@Seth LOL.
Now where was it that did that...
I have a really cool YouTube video being processed...
 
@edwinksl I am not entering the correct command I assume.
 
@Jodamo117 what commands did you use
 
@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 :)
 
@edwinksl cd /trash
 
@Jodamo117 it is at ~/.local/share/Trash i believe
 
5:51 AM
thank you
 
I found not one but THREE glitches
 

« first day (2175 days earlier)      last day (2777 days later) »