« first day (2141 days earlier)      last day (3120 days later) » 

21:00
btw you're all welcome to submit pull requests :D
Now you do :)
However, that's not the problem.
Yup, we've got circular imports.
from AwooCore import VERSION
...and then...
import AwooUtils
They are importing each other.
so how do we unbreak
21:02
Move the VERSION, etc. to a separate file.
So that AwooUtils doesn't need to touch AwooCore.
maybe i should join in the debugging party - im having issues with json file
193
Q: Circular (or cyclic) imports in Python

XolveWhat will happen if two modules import each other? To generalize the problem, what about the cyclic imports in Python?

> 'import' and 'from xxx import yyy' are executable statements. They execute when the running program reaches that line.

If a module is not in sys.modules, then an import creates the new module entry in sys.modules and then executes the code in the module. It does not return control to the calling module until the execution has completed.

If a module does exist in sys.modules then an import simply returns that module whether or not it has completed executing. That is the reason why cyclic imports may return modules which appear to be partly empty.
^ @KazWolfe
0
Q: Ubuntu: Immovable .tmp file on network drive with no PID

Boxbottl;dr version: I have a localdb.kdbx.tmp file on a local network drive that I can't move/delete/copy/overwrite/open/etc. All attempts, sudo or otherwise, throw a "Device or resource busy" error. Running fuser and lsof shows nothing; as far as I can tell nothing is actively accessing the file and ...

@KazWolfe Don't move to external file!
i'm moving the get version/apikey/everything over to Utils
21:06
Simply put everything you want to directly run in the AwooCore.py file (everything that is not a class/def) inside if __name__ == "__main__":
Ah, so apparently json is a dum dum and can't deal with single quotes in 'Property Name' , but only deals with "Property Name" in double quotes
That is already enough not to execute it when importing the module and breaks the circle.
It's good practice anyway.
brb
okay, well i'm not sure how to avoid this circular import.
because i need to give the bot to AwooUtils
It werks !!! yay
21:14
AwooUtils makes a bunch of calls to bot, which is defined in core.
Can somebody give me a complex command with kind of complex quoting ? i need to test a few things
brb just cheating
back
@Serg command in what language?
@ByteCommander shell , bash
And what exactly do you want to test and how complex?
21:25
@ByteCommander I'm reading json file with commands into python script and giving commands to subprocess
{
  "1":["nautilus"],
  "2":["firefox","google.com"],
  "3":["virtualbox"]
}
that's the json file
So...?
I still don't get what kind of complex command you want... Probably you have to be creative yourself.
IT'S ALIVE :D
Cool Song. It's called "Nachtschicht" though (typo in title)
(means "night shift" in English)
Aaaand I have working python code. Yay . . . .now the question is do i take a break, or do i go update my old answer
21:37
@Serg update! :+)
how is that spam?
@Seth links to a amazon page about a notebook
35 secs ago, by Seth
how is that spam?
I call that spam
I call it VVVLQ, but not really spam.
21:39
As long as this works for answering the question, i'll consider it non spam. Otherwise - spam
I've written about this on meta by the way
so he's spamming for amazon? heh
@Seth what if he is the seller on that link ?
@Seth promoting a product IS spam. No matter how you look at it.
@Serg so you are going to assume a seller on Amazon, in India, goes out of his way to post an assumed question on an English site instead of a person needing help providing us with the type of machine he has?
@Rinzwind How is he promoting it?
21:46
@Seth by advertising the link
it adds totally NOTHING to the post.
let me put it in another way: what would happen if EVERYONE on AU instead of posting the details posts a link to amazon?
@Seth well, the type of machine could be mentioned in plain text, without link, right ? Which is what most people do. At best we could edit it, and see if he tries to edit it back in. If he does, well there's clearly something shady going on
again: this is spam.
@Rinzwind link to the question plz ?
see the NAA a few lines up
user136984
@Serg: Wow! I thought you were someone new for a moment there because of your profile picture change! :D
user136984
21:49
Also, I tried なと today and really loved it! Have you tried that?
@ParanoidPanda I joined the wolves to confuse everybody. Now there's 3 wolves in the chat , @ByteCommander , @KazWolfe and @Me
woof!
@ParanoidPanda no , never tried. How is it ?
user136984
@Serg: Very nice, it is fermented soya bean.
Sounds slimy.
user136984
21:52
It has a sort of slimy texture, and makes you feel a bit like a spider making a web because it will go round the table and just look like a spider web! But a nice one! :D
user136984
I really like it, but apparently there are a lot of Japanese people who can't stand it, and most Europeans can't stand it. So I am special! :D
@ByteCommander That link you posted there looks like the Range Extender is not configured. Anyway, I left a comment on that one, plus a VTC.
aha, okay...
Sounds like a good guess.
@Seth i think the url is an affiliate link
22:05
@ByteCommander that's what i was working on ^
@Serg DAT CODE.
hmmm, mousing over the right edge of the screen huh . . .
hellow fellow
hows it going...
22:14
@Serg Looks nice, but MTL;DR
@ByteCommander RTFMing is alway long
I wonder what fancy new features Restone 2 will include???
But RTFCodeOfOthers sucks
yay, somebody downgoated me on U&L
sempai noticed me ?
goat wars
22:16
@Serg I hate it when I get downgoated...
@Serg not me! :=)
and the question is already closed as dupe anyway so it's much too pointless
seth gave up on me? :*(
yay the command handler works @NathanOsman :D
the code is convoluted af, but it works
22:24
so now, making the code less weird
coding it 1st in a weird way is weird in itself >:-D
it's open to pull requests :D
that if someone is really bored and wants to work with god knows what my code became
I am on a holiday :=) no coding for me this last week >:-D
nom nom time
(translation: im having lunch)
00:32 here.
I am having snacks :=D
22:33
@KazWolfe I'll see if I have time later.
it works so i'm not concerned
to get me into another 5 hours of olympic games
i wonder. because i have to use another event for chat, should i just merge the two into one "plugin" handler?
i need to keep my breakfast time , because last two days i woke up later than I was supposed to
I'm sitting in front of a Bluetooth keyboard connected to my phone. So I can type faster than I otherwise could with my phone but I don't have access to a PC right now.
Just FYI :)
22:34
I sleep between 10 am and 2pm @serg X:
evening
0
Q: What to do when the OP refuses to provide clarification?

Andrea LazzarottoI think the title says it all, however I am referring in particular to this question. The situation goes like this: I see an answer that I might be able to answer however it lacks some details I need to know I leave a comment asking for clarification The OP basically says: hey, answer my questi...

...and balancing both on my lap is... tricky.
@Rinzwind I used to do the same, but because everybody is unhappy about my behavior like this, i need to change it
so i did
but now i am relapsing
holiday... olympic games ... I have no choice >:-D
Next week I go back to work though so .... problems there :D
ok. back later. snack time.
22:36
Sleep is for when I'm really bored :D
my phone still believes my headphones are on when they are not, I'm seriously considering my chances on rooting it since it's already screwed up anyways
you should root anyways
What model?
it's not dangerous, really
@KazWolfe not always.
22:37
MotoG, first generation
I know of at least one app that doesn't work on rooted phones under certain conditions.
the bootloader can be unlocked through the motorolla website, seems safe (as long as the MOD is safe)
@NathanOsman Microsoft Lumia 950, with a display dock...all your problems would be solved...
I think i found a way to get mouse location from python Gdk . . . gonna add that to my answer real quick . . .
actually . . .no . . .
let me beautify my answer first
@TheXed lol, no.
I'm an Android guy.
22:39
@NathanOsman I think bank apps don't work on rooted phones, would have to walk to the bank again :p
some do, some don't.
Actually i want to get a display dock but they are so stinking expensive...
@IanC right, good point.
@IanC its called use your web browser...
@KazWolfe has a fair point though. I can use my banking app on a rooted phone. Though not to pay, just for balance checks, deposits, etc.
22:40
@IanC but then again I never log into see what my bank balance is...I just have faith that my wife hasn't drained my account and left me with nothing...
hahaha
Must. Resist. Joke.
I don't look it very often neither
@NathanOsman oh go ahead...we are all friends here...besides what can I do other then smack you with a imaginary rainbow trout...
22:41
@TheXed thing with net banking is that many banks force your browser to install some lame extensions
@TheXed /me slaps you with a halibut
@KazWolfe /me cowers in a dark corner...
but I'm still tempted to root it, even with the bank app issue, the freedom that comes with it :O
@IanC THAT is a red flag.
I don't install stuff on my computer because some company wants me to.
"hey its me ur isp, pls install this HTTPS root ca"
22:44
Over my dead body.
Our ISP wouldn't activate our Internet unless we installed their "security suite" and tools.
@NathanOsman I didn't use net banking on my computer because of the extension they wanted to install
That machine is no longer running Windows :D
you bypassed their "security suite" filter?
see, if my isp did that to me, they'd be confused as hell
and i wouldn't help
"yeah so i downloaded your EXE and it's not opening"
"when i click on it, it opens up my file window"
"where's the start menu? i don't see one"
"how do i reboot my computer?"
"i already said i don't see a start menu."
23:00
:D
Do that on a headless Arch Linux server
guys, sort of stupid question, but I always installed from source using checkinstall, to be able to easily uninstall things compiled from source
@ByteCommander ohmygod yes
with make install isn't there a way to remove what you installed?
"i downloaded your exe but i can't click on it"
I mean, I'm always more tempted to build from packages for the easy of uninstalling, but it can't be as complicated as I think to remove when you install from source, or upgrading would be a pain in the ***
23:06
and that's why there should be uninstall scripts
@IanC Usually it is make uninstall to remove
there should be a uninstall script on the Makefile then?
That's what I have used in the past to remove after I ran the make install from source
well, guess checkinstall will keep its place on my "install from source" routine
if you were really paranoid you could read the Makefile and see where everything went to manually delete it right?
I am going to download a source file right now and see.
23:12
@KazWolfe However, you have to explain why a noob like "you" is sitting in front of an Arch server then... Also tricky.
@ByteCommander "my friend installed this and said it's better"
"and now i can't get to the internet"
no sorry
"and now i can't get to the Google/the YouTube/the Gmail/the Facebook"
you have to include the word "the" before the site so you look really nooby
That's too much work for me. It's easier to go find another provider
user136984
Well, goodnight folks! Bean a fun slimy bean eating day! ;)
23:18
sleep well, Mr. Panda
are we gonna turn panda into a wolf, @serg?
@KazWolfe And then after a few sentences, tell the support person, "I think you do not really know a thing about this. Could I please talk to a real technician?"
@KazWolfe nah, he doesn't seem like wolfy type, keep him as panda
@ByteCommander omfg
i just burst out laughing and caused all the other devops to panic :D
23:21
client: "can i talk to your supervisor?"
me: "yeah, sure." *makes hold music because lolz*
@IanC I did a test run on the source files for mate-terminal and mate-common, and the build for mate-terminal could not detect mate-common after running sudo make uninstall removed it. I couldn't see anything in the Makefile saying where it installed anything to.
me: "Hi, thanks for holding. I'm my manager, how can I help?"
:D
You have to hum the hold music yourself!
"Do you see anyone around you with long beard and glasses ? Maybe someone who has car plate UNIX in his office ? Yeah, put that guy on the phone "
client: "what, no. I want a supervisor!"
23:23
@Terrance is there any "uninstall: " line in the Makefile?
me: "Yeah, you have the supervisor on the line. How can I help?"
@IanC I couldn't see any
client: "transfer me to your supervisor or i'm terminating my service"
me: "k" *actually puts him on hold*
me (deeper voice): "Hi. This is Kaz' supervisor. How can I be of assistance?"
client: "Finally! You need to fire Kaz. He's terrible. Either way, I fixed my own problem by $steps_that_i_told_him. Thanks for nothing"
@Terrance thats weird, maybe "make" has some internal uninstall procedure? I thought the uninstall was a script made by the developer
me (regular voice): "Thank you and have a great day! Your account has been locked and your files are being e-mailed to you."
client: *click*
23:26
@IanC I couldn't tell ya. All I know is that it works if I need to remove an application that I installed from source, given I kept the source files.
real story or just fiction?
bit of both
i am my own supervisor, and i did fake being my super once to get a client, who got his account terminated because I saw a ToS violation
OK, is spotify good ? can I get like japanese music there ?
23:28
i think so...?
@Terrance

    "If you're lucky, running make uninstall will work. It's up to the library's authors to provide that, however; some authors provide an uninstall target, others don't.

    If you're not lucky, you'll have to manually uninstall it. Running make -n install can be helpful, since it will show the steps that the software would take to install itself but won't actually do anything. You can then manually reverse those steps."
apparently the uninstall can be missing on a makefile, and you would have to manually remove it
but good to know about this make -n install, just in case of emergencies
nuuuu mods
i could've learned magic :(
@IanC When I used make uninstall last time, I believe I had messed up dbus stuff afterwards...
23:44
@IanC Yeah, I guess that can help if you need. It is good to know. =)
If somebody tells you that you're great, you can answer "Thanks for the praise/accolade/commendation/plaudits/laud" - which word would be most appropriate here?
thanks for the compliment?
^--- this

« first day (2141 days earlier)      last day (3120 days later) »