« first day (2220 days earlier)      last day (2748 days later) » 

1:06 PM
hi
 
1:18 PM
hi
why important is this fcitx? why we need this?
 
Hi all, is it a good idea to start a 'Sys Admin' group, in case of a spam wave, or any other Linux related issues. So that we can help each other?
 
@Anwar we dont. it is a language input thingy for asian languages
 
@blade19899 why restrict it to linux sys admins?
 
@Rinzwind hmm... but we have ibus for that i think? why is this being pushed ?
 
@blade19899 there's already a few around
 
1:21 PM
@TheXed just an idea. It might be available for everyone that has knowledge on the matter
@JourneymanGeek Where?
 
donno, I'd like to say serverfault but the chat part of the community moved elsewhere
 
@Anwar yes and you want to must fun about it?
guess who created ibus? >:-D
 
idk. redhat?
 
No. Huang Peng, a chinese so wtf we need fcitx for D:
if he is chinese you' d expect chinese in ibus :D
ah hmmm
HMMM
fcitx is older than ibus :+D
 
wait... wat?
 
1:26 PM
@Anwar it got revived Here read this -> blogs.gnome.org/happyaron/2011/01/15/…
 
whats wong with fcitx?
 
@blade19899 I very much doubt that a spamwave could ever target Linux sysadmins in particular.
 
@Anwar here is the answer to that q: github.com/lyfeyaj/sublime-text-imfix
 
@Rinzwind answer it then :)
 
nope
>:)
 
1:29 PM
y?
 
already on it duh ;-)
done
 
what about Rstudio? :)
Fcitx == Free Chinese Input Toy for X o_O
 
yeah the other acronyms are funny too
" Fitx (Fun Input Toy for Linux)"
 
all of them are from Chinese devs.
 
yeah and it is weird they decided to drop support for chinese-ibus :P
 
1:42 PM
we use ibus based engine to write phonetic bengali here. It's buggy in KDE.
hope we get an engine for fcitx soon
I need your opinion about all the answers on that Q^
Is there any sensible answer ?
 
user136984
Why have 2 people VTCed this as off-topic?
 
user136984
3
Q: How to insert embedded YouTube player into LibreOffice Impress?

Paranoid PandaIn PowerPoint one is able to insert a YouTube embedded player by providing the program with a link so that the video can be played from within the actual slide rather than one having to open it in a browser. But I haven't been able to find such functionality in LibreOffice Impress. Is there such...

 
user136984
I wish people would actually read the Help section. At least they should read the rules before VTCing.
 
user136984
1:57 PM
I wish people who VTCed incorrectly would get some message.
 
They just read the first two lines
 
@ParanoidPanda ftfy
 
user136984
@terdon: FTFY? For The Funny Yodellers?
 
FTFY: Fixed That for You
 
user136984
@terdon: What did you fix?
 
2:01 PM
@ParanoidPanda Count the close votes
 
user136984
@terdon: Ah! Right! Thanks! :)
 
@terdon My customers are having issues with spam and updating spam assasins rules doens't always do the trick
 
user136984
Anatidaephobia is the fear of ducks watching you wherever you may go.
 
which are some alternative login methods other than password available for ubuntu?
 
2:15 PM
@Anwar I think that is pretty much it?
other then no password?
 
it seems there are face-recognition and finger-print based authentication system for ubuntu
 
This looks interesting though...
@Anwar probably if you have the appropriate hardware...
 
askubuntu.com/a/376958/61218 this answer has two links. 1 is a wordpress blog with zero post another is a link to a chinese (don't know the lang actually) site
wow! that's a spam
 
@Anwar Oh? Why?
 
Oh I flagged it for mod attention...
 
2:22 PM
Indeed. Thanks.
 
It was a surprise to me too!
@TheXed Thank you :)
 
2:43 PM
Could be that the domain expired?
 
second link?
 
0
Q: Can someone elaborate for me the rule on using the back tick for emphasis?

L. D. JamesIs there a rule against which markdown codes are allowed in formatting text for easy reading? It's my impressing that a lot of text that is displayed that isn't code is displayed using code tags to control the way it's output. Is it alright for me to say, I have these four items, apples, orange...

 
user136984
3:47 PM
@cl-netbox: That image you sent me seems to be too small for me desktop. It is forced to stretch and then it doesn't look as nice.
 
anyone around?
 
4:28 PM
maybe
some of us hide in the shadows
 
@ThomasWard why does ps only display 2 processes
 
user136984
BOO!
 
user136984
:P
 
PID TTY TIME CMD
2447 pts/4 00:00:00 bash
2486 pts/4 00:00:00 ps
 
@ParanoidPanda falls backwards, lands on the "BURN IT" button, and accidentally watches a ball of fire destroy ParanoidPanda's computer
whoops.
@William because you aren't using it right
ps all
    % ps
      PID TTY          TIME CMD
    27011 pts/1    00:00:00 zsh
    27124 pts/1    00:00:00 ps


    % ps all
    F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
    4     0  1330     1  20   0  15820  2056 -      Ss+  tty4       0:00 /sbin/getty -8 38400 tty4
    4     0  1334     1  20   0  15820  2096 -      Ss+  tty5       0:00 /sbin/getty -8 38400 tty5
    4     0  1348     1  20   0  15820  2096 -      Ss+  tty2       0:00 /sbin/getty -8 38400 tty2
    4     0  1349     1  20   0  15820  2060 -      Ss+  tty3       0:00 /sbin/getty -8 38400 tty3
^ just an example :p
 
4:34 PM
@ThomasWard doesn't display the firefox window I have open is that normal
 
@William betcha ps -aux will show it at some point
you should probably read up on the ps manpage
ps -e also would probably show the process
 
@ThomasWard so how do ps -aux and top vary
 
throws @William at manpages, because he's got other more important Ubuntu Server things to fix right now before answering questions
 
I don't understand this linux thing vary wel
 
@William I don't use top so I can't help explain much about the difference, sorry.
Also in the middle of fixing an issue in ubuntu right now
 
4:39 PM
what issue?
 
nginx package upgrades broken
 
sounds annoying
 
it is. but it's in the process of being fixed :P
 
user136984
@ThomasWard :D
 
urgh this was a painful one to fix >.<
 
user136984
4:46 PM
@ThomasWard: Those errors about the patches are back again and the quilt import -p1 you suggested didn't help.
 
user136984
@ThomasWard: Also, I have another question for you, I downloaded the package with pull-lp-source gnome-contacts trusty and it has downloaded into a folder called gnome-contacts-3.8.3. But I need to update it with these patches to version 3.8.4, what do I do about the folder? Especially in the patches where it talks about the location of the file and that folder with the old version number in it.
 
user136984
It's my first time doing something like that.
 
@ParanoidPanda unless you're updating the package entirely to 3.8.4, you should be pulling in only the patches to the 3.8.3 folder. When you edit the changelog entry, though, with dch to do 3.8.4-... it'll automatically rename the folder.
@ParanoidPanda as for the patches, I'd need your entire working directory plus the individual patch files to debug further.
sorry, but there's only so much I can do without just doing it myself
esp. while i'm working to address the fallout from the failed nginx updates that went out last night :/
 
user136984
5:01 PM
@ThomasWard All you would need to do is run pull-lp-source gnome-contacts trusty and then a quilt -a push. I'm not having a problem with the patches that I am trying to apply, only the ones that were already there when I got the source.
 
user136984
But I understand if you are busy.
 
user136984
@ThomasWard I think I'm meant to be updating it entirely, what's the difference?
 
user136984
I'm meant to be upgrading the package version to the .4 bug fixing release.
 
if you're upgrading the package version itself, start with the 4.8.4 tarball, add in the Debian packaging directory (after quilt pop -a to make sure it doesn't keep "I've applied it" lying around), then see what patches do and don't apply.
and alter the packaging accordingly.
Which, strangely enough, is the procedure for out-of-sync-with-Debian nginx version bumps in the development releases heh, when we're not merging with Debian.
 
user136984
@ThomasWard: Ok, I think that that's probably what I'm meant to be doing. I don't know, what do you think? :)
 
user136984
5:08 PM
@ThomasWard: Could you just have a quick look at the bug report and let me know if you think I'm meant to be doing a full package upgrade to it.
 
user136984
:)
 
at my earliest convenience, sure.
 
user136984
Ok
 
Good evening everyone!
 
@ParanoidPanda yeah you should have probably started with the 4.8.4 tarball, then copied in the old packaging to try and see what patches do or don't apply.
and then remove the patches which aren't relevant, or fix them if they still are
 
user136984
5:33 PM
@ThomasWard: Right! Thanks for letting me know! :)
 
Ooh! Scaleway added a datacenter in Amsterdam.
 
It is 100% coincidence that I am both a moderator, and the most qualified person to have written an answer on this question...
shrugs
 
Obligatory +1.
 
heh
and I state it's a coincidence because within the span of several hours, I closed the question as offtopic because it was a bug report. Reopened the question, and posted an answer as the "solution" to be "UPDATE!", because that's the answer then. And they had already filed a bug heh.
log on that'll be a "what the hell happened here..." thing :p
drifts back into the shadows, and lurks
 
5:52 PM
@eldergreek <3
 
Thanks for teach me, i han been edited the question, a greeting! — Pablo Pérez-Aradros 8 hours ago
<3
hai @Rinzwind
 
hey
@ThomasWard +1 :D
and I made eldergreek smile it seems :S
 
6:09 PM
Can I attempt a DoS attack on any volunteers? I promise to turn it off if it works...
I just want to expermint...
 
Erm... set up a VM?
 
I want to see if it works outside my network...
 
Set up a VM outside yout network then :P
 
attacking my own VM is easy...
 
Whew!
I almost locked myself out of my own server.
That would not have been fun at all.
 
6:13 PM
@NathanOsman what OS?
 
Ubuntu 16.04.
 
physical access?
 
I thought AllowUsers added to the list.
 
rule of thumb
don't upgrade your Ubuntu during class if you haven't done so in months
 
@TheXed gives the FBI servers IP...
 
6:18 PM
@IanC lol...
 
good afternoon everyone!
 
I am not stupid
 
@IanC if I did Anonymous would be proud of me...
 
man, is it just me that thinks the positioning in CSS is a bit tricky to understand at first?
 
6:19 PM
@IanC no, I do too
 
@IanC Wait until you get to flex-box...
 
is it good practice to use the margin to position a box? Or should I always use top,right,bottom,left?
I've seem it done with margin a couple times
but doesn't sound like the way it should be done
unless it's minor adjustments inside another div
 
user136984
I love this song! :D
 
@IanC What do you mean by position?
Margin should be used to add spacing between an element and its siblings.
Padding should be used to add spacing between an element and its children.
Top, bottom, left, and right are used with absolute and relative positioning, IIRC.
I don't think they do anything for static positioning.
 
6:31 PM
children which is a synonymous of the objects content?
I thought it didn't make much sense to use margin to position, unless you had for example:
a nav bar and some links inside it, and wanted to make minor adjustments on the links position
then it would make sense to use margin
but for the nav bar itself, it didn't seem like a good way to handle its position
 
6:42 PM
But since its a fresh system, he does not lose anything by reinstalling right? — saviour123 3 mins ago
looks sketchy
 
@David now only 10k+ visible
but not by me :)
 
Lol
 
I need to do my 4 Pull Requests for the free Hacktoberfest T Shirt within the next days.
Does any of you have a GitHub project you want reviewed?
I'm looking for mainly Python and Java, but Bash, C#, HTML, CSS etc are also ok. I can also reword documentations or add German translations.
 
@ByteCommander sounds like you should visit Code Review for things to do
 
I need GitHub PRs.
Currently polishing @Serg's powerflowy indicator.
 
6:50 PM
@ByteCommander good, lemme know if you need any help with that, i should have some time today
 
@Serg You could help me find out what dependencies it has on a fresh Ubuntu install.
It seems not to need python-appindicator, but python-gi is also not enough yet...
 
some people don't have python-gi installed, learned that from experience, So it is necessary
 
Yeah, but it's not enough.
@Anwar because it does not track you (at least they claim that) and because it has lots of cool features like bang commands to redirect your query to different sites and a great number of instant answers.
For example, did you know that DuckDuckGo has a built-in JSON lint tool (validator and pretty formatter)?
Just search for "json lint" to make it show up.
 
7:22 PM
Ooo, JSON, me gusta
Also . . . somebody messed up with reimaging our macs in the labs - the wifi is on by default O_o so it connects to both University ethernet AND guest wifi , which is what I consider a security hole
 
@Serg Polished README (and fixed comment in your script head) already available at github.com/ByteCommander/power-flow-indicator
Now digging through do codez...
 
@ByteCommander did you open a pull request yet ?
 
No, I'll do that when I'm finished.
 
@ByteCommander WolfBot
 
Wodowut?
 
7:30 PM
also , why symlink stuff O_o just mv the file
 
Then you have to mv the icon too.
 
sorry i was typing two messages at once and didn't erase the thingy
 
@ByteCommander Kaz has a chat bot in python called WolfBot
 
Yeah, I know.
That "wut" was about the first revision of that post...
@Serg ALso, symlinking keeps a clean directory structure and */bin/ only contains actual executable files, no directories and no clutter.
The complete project folder with all resources and docs (and .git maybe) can then be located anywhere else, like in /opt or in your home dir.
Erm... @Serg, You didn't even bother to rename the indicator class, you just copied over LockKeyStatusIndicator! o.O
 
OK. I'd simply use .deb installer if i knew how to bloody use it
@ByteCommander that was on my list of to-do things :)
 
7:37 PM
:D
 
ok, so since I've time, I'll do cod review too
 
man, I wish the tutorials I'm following on webdesign were in the middle ground of someone learning those stuff from scratch and someone learning those with some programming background
I waste a bit of time on silly exercises of concepts I already know.. but well, at least it's better than just checking the documentation once in a while and having to fit the missing pieces everytime I use the language
I finished HTML&CSS, now on JS to get ready for the first website on my VM, not sure what it will be about though
 
The "What" is more important then the "How", you should find that out first.
Otherwise you'll end up with a blank white page anyway.
 
I'm open to suggestions, I just wanted to practice those stuff I'm learning :p
Maybe a page for exposing my programming projects?
not that I've many, just one indicator on GitHub so far
Or sort of a blog about programming
where I write about things I learn about
 
v(^_^)v
 
7:43 PM
well, gotta check a place, might have to decide on where to move to in the next 3 days
see yall later!
 
@ByteCommander what is usually well known. "Make me an indicator that does blah and blah". How part is more fun - sometimes you have to get creative to make something work
 
Yeah but "I want to make a website, but I have no idea what to put on it" is bad.
I did that once, my github.io page is the outcome. Better don't look at it, it's really boring and bad.
 
@ByteCommander that's a typical issue. Making up your own ideas is hard. Most of my scripts ( 99% ) are all came out of AskUbuntu questions, where requirements come from users, and I implement stuff
 
@ByteCommander but doing nothing is worse. I did nothing. Guess what I have to show for it. Nothing.
any idea is a good idea when you're beginning. Do something.
5
 
agree
Also, if you're bad at generating ideas, outsorce that task - ask on forums , ask in chats, stuff like that
@ByteCommander ok, so keep working on powerflow , I'll go fix up other repos. Let me know before you wanna fork any of the other ones, so that we don't have to mesx with merging edits
 
7:54 PM
@Seth but beginning with no idea at all is worse
@Serg I resolved quite many git merge conflicts today at the office, I think we could handle that :)
 
@ByteCommander well, i'll trust your enthusiasm >:)
 
Btw, I fear you won't recognize your powerflowy any more once I' done...
so much to do
 
@ByteCommander as long as it works and does the job, its ok. Rule #1 of ajile - it must deliver value to customer.
 
Sounds Dutch...
("ajile")
 
agile actually
i can't spell
 
8:01 PM
I know ;)
 
hm... has anybody used a Pi to build a weather station yet?
also i think Hacktoberfest screwed up. I ordered a shirt but did not make four PRs.
 
my raspberry is collecting dust so far
 
Yeah, we're doing some kind of Scrum at work as well...
 
that's one of agile methods
 
8:07 PM
@Serg What exactly is the dbus call doing in powerflowy?
 
$ file hectane
hectane: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-armhf.so.1, not stripped
$ ./hectane
-bash: ./hectane: No such file or directory
Argh... not this again.
Can't run an executable for some stupid reason.
$ ldd hectane
	not a dynamic executable
It's not even dynamically linked to anything.
You know what would be nice?
If the kernel actually told me what the problem was.
Maybe gdb can help here...
 
1
Q: Behavior of Site when Marking Test Questions as Duplicates / Commenting on Test Questions

UTF-8I just wanted to review first posts and got this one. A few days ago, I already came across that quesiton by normally browsing AskUbuntu. I knew that the wording of the question was exactly the same of the one I came across a few days ago so I concluded it's either a verbatim duplicate or a test...

 
@ByteCommander it refreshes the dbus info. For whatever reason, UPower daemon has unreasonably long time out before it refreshes ( or before new device gets connected ). That's why you sometimes see questions on AskUbuntu here saying "Why does my battery indicator show wrong power usage?". If you have a battery monitoring script for example ( did that couple times ) , and you set to show notifications at 10% or 20% it might not work, because of UPower not showing every percent
so it might go down from 23% to 18% and your notification will never show up
so the dbus call ensures that we get information properly, reliably, and on time
 
Ah, I see...
Code that isn't self-documenting should be commented
 
@ByteCommander I'm pretty sure it's clear what it's doing there
       self.run_dbus_method(
                    'system', 'org.freedesktop.UPower',
                    battery_path, 'org.freedesktop.UPower.Device',
                    'Refresh', 'None'
                    )
 
8:20 PM
if one knows dbus...
 
method name is 'Refresh' so . . . what else the confusion might be about ?
 
Oh, and you used the same "method" variable there for two different things. Baaaad practice :p
 
@ByteCommander what ?
 
    def run_dbus_method(self, bus_type, obj, path, interface, method, arg):

        if bus_type == "session":

            bus = dbus.SessionBus()

        if bus_type == "system":

            bus = dbus.SystemBus()

        proxy = bus.get_object(obj, path)
        method = proxy.get_dbus_method(method, interface)

        if arg:

            return method(arg)

        else:

            return method()
 
also, that's too much of a stretch, we'd have to comment everything for those who don't know appindicator, and those who don't know os module, and python in general ;)
 
8:22 PM
First it's a string, later a function.
 
@ByteCommander sorry, i still don't understand what you're saying here
 
The "method" you get as argument is a string, right?
 
yes , so ?
 
But the "method" you get from proxy.get_dbus_method(...) is a python function/callable.
 
yes, and ?
 
8:24 PM
Two completely different things shouldn't share the same name in the same scope.
I mean, it's technically possible, but really bad practice and confusing.
 
what it does it finds that method for the interface. Tell me how would you get that callable
 
The algorithm is ok, I'm just complaining about the variable naming.
Here is how I refactored it:
    def run_dbus_method(self, bus_type, obj, path, interface, method, arg):
        if bus_type == "session":
            bus = dbus.SessionBus()
        elif bus_type == "system":
            bus = dbus.SystemBus()
        else:
            return None

        proxy = bus.get_object(obj, path)
        dbus_method = proxy.get_dbus_method(method, interface)

        return dbus_method(arg) if arg else dbus_method()
 
I still don't understand what was the problem with strings vs callable
 
The problem is that you use the same name for two different, unrelated things.
Like if you use your mug for both coffee and motor oil.
You can do it, but it's eeewww...
 
ah, method = proxy.get_dbus_method(method, interface) this ?
 
8:29 PM
Yup.
 
OK.
 
8:56 PM
@ByteCommander I disagree. Do something, don't wait for an idea.
I waited for an idea, and it got me nothing whatsoever.
 
And what would you have been able to do without any idea instead of waiting for one?
 
Learn something.
You learn by doing.
And you might even get a good idea while you are doing.
 
@Seth @ByteCommander there's a professor called Peter Elbow. His technique is basically freewriting - you set timer for 15 minutes and start writing. Anything goes, just keep going, spill out your thoughts onto the paper. This might sound absurd, but it's quite effective, and this is what i use in my writing practice a lot. Now, when it comes to code, sure you might want to have an idea, but working on something is also good way to start.
You eventually start thinking "How can I make this thing cooler? what else i can implement" ,
 
Exactly. You want to make a website? Then do it! Don't worry about what to put on it. You're doing this for the fun and learning experience.
 
@Serg Pushed my "basic" refactorings and filed pull request. Will need to have another pass tomorrow to add some features and make some little architectural changes this requires. But that can be a different PR. After all, I need to make 4 PRs this month.
 
9:04 PM
Gah. Octoberfest.. No time :(
 
4 PRs in 4 days, that's doable.
@Serg in such situations, I usually achieve a nearly meditative state of complete mental vacuum...
 
Lemme see if I can get 1 out today.
I did finish most of my schoolwork.
 
afk for a moment or two...
 
@ByteCommander why did you change this part ? energy_rate = entry.replace(" ", "").split(':')[1][:-1]
 
9:28 PM
Also <> around label text ?
eh, ok
 
@Serg oh, oops. That was for debug only >.<
 
@ByteCommander it's ok, i like it
lets keep that
 
also , i am doing pep8 checks so wait with pull requests
 
should mostly be formatted as specified there...
 
user136984
9:41 PM
> Scientists have designed a new prototype battery that mimics the structure of the human intestine -- BBC: Gut instinct drives battery boost.
 
I'm back
 
@ByteCommander ok, pushed it back. Had to split a few lines in two since it was over 80 char limit , and one error unresolved, which can be ignored
If you didn't know hat I'm blabbering about, I'm using autopep8 utility
pep8 and pep_check
uh oohps, that's actually called pep8 and autopep8. pep_check is my own bash function
 
derps
 
@NathanOsman Were you going to submit a PR for UTT? 'cause I need to update the version number. Shouldn't conflict with your changes, but good to know.
 
@Seth I haven't touched anything yet.
 
9:55 PM
Ok, great.
 
Sorry, it's been crazy.
 
No, no problem at all.
btw, if you wanted to do the project a great favor sometime, help me figure out how to move from distutils to setuptools, so we can snap it. That would make updates 200 times easier.
 
@ThomasWard herps
 

« first day (2220 days earlier)      last day (2748 days later) »