« first day (2411 days earlier)      last day (2850 days later) » 

00:01
-1
Q: systemd service: Is it possible to get the name of the user who triggered a power event?

kineI'm trying to modify the power-related service files that come with systemd (for example, systemd-reboot.service) so that they run another command before bringing down the system. I want this command to have access to the name of the user that triggered the power event. Is this possible through a...

@NathanOsman Cloning repo now...
gah.
this is going to be annoying.
I need to run apache as root. With regrettably no other way around it. :/
In a container?
Sidenote: Apache almost always runs as root so that it can drop privileges for the worker processes.
yes, in an isolated docker container, behind a firewall for a dev environment.
I just can't assume permissions will always be 777'd, and because this is a dev environment and files will be swapping in and out, the easiest way is to set apache to run as root.
well, unless i do bind-mounts but those are just painful.
00:17
Running things as root in a container is okay.
also...
Error:  Apache has not been designed to serve pages while
        running as root.  There are known race conditions that
        will allow any local user to read any file on the system.
        If you still desire to serve pages as root then
        add -DBIG_SECURITY_HOLE to the CFLAGS env variable
        and then rebuild the server.
        It is strongly suggested that you instead modify the User
        directive in your httpd.conf file to list a non-root
        user.
Or just use nginx.
can't.
trust me, i would.
I need to make as few changes to this docker container as possible.
minimize risk of breaking other people's environments.
00:18
Oh, you're running the workers as root.
Do not do that.
Kaz u scrub
Meanwhile, I accidentally tripped ACME's rate limit and now I am waiting for it to cool down.
Well, if you have an alternate solution that doesn't involve requiring permissions to be set very specifically
@KazWolfe Just use known UIDs.
@NathanOsman wat
00:19
@NathanOsman I can't guarantee everyone who uses this container runs as UID 1000
@TheWanderer Loop condition failed and it went crazy with API requests,
Let's Encrypt.
The free TLS certificate folks.
uh
but why ACME
confoos
Similarly, I can't guarantee everyone will be in the www-data group. Plus, users need to retain ownership over the files.
00:20
@TheWanderer github.com/ietf-wg-acme/acme (wrong link)
Name of the spec.
see my issue, @NathanOsman?
@KazWolfe That's more than Docker can fix.
Well, too bad. Docker or the container itself needs to be the one to fix.
You could do something twisted with NFS I suppose.
00:22
And I can do this through bind-mounts or running Apache as root.
Neither of which are too appealing.
Bind mounts are the way to go.
If both are difficult, do the one that doesn't open a massive security hole.
They open the same sized security hole.
Not if you're doing SSL termination in the Apache container.
Dev environment.
None of this is running in production?
00:23
I wouldn't even dream of using Apache root if this was going anywhere near prod.
I'm not that big of an idiot.
My faith in you is restored.
:D
Okay, never mind. Carry on.
The only thing that can get pwned is the docker container.
Or maybe the one directory I expose to it.
@AndroidDev so if I don't start a new instance, how exactly do I switch back to the main activity?
00:25
(which itself should never happen because I hope everyone using these containers has a firewall)
@TheWanderer Call finish() on the activity that you started after it?
@AndroidDev it's like two activites later though
I'm trying it now, but I don't have much hope
00:42
@AndroidDev OK I fixed the bugs. Just .finish() everything when a new activity is launched
Discovered file magic numbers and "file -i" command today. It's one of those "Wow Windows had me brain-dead and powerless I love Linux Now days" :)
Now I have my own Docker dilemma - I need to send a Unix signal to a process in another container.
FIFO pipe?
or Socket? just read about them haven't tried them yet though.
FIFO pipe works great between two bash scripts to eliminate race conditions I was experiencing.
@NathanOsman I canceled my Shaw Cable ISP 3 months ago and they gave me a $18 refund on the month. Today I got a final adjustment invoice for 2 cents. Haha They don't even make pennies anymore and I'll have to write a cheque for $0.02 and mail it for 85 cents :p
00:57
how can i ntfsreszise with no inconsistant ntfs check?
@NathanOsman You still here?
@NathanOsman I think I submitted the pull request correctly, not sure...
@WinEunuuchs2Unix here and there.. been busy lately, try and check in once and awhile
@AndroidDev just finishing supper.
01:13
@Mateo Oh hello. I almost forgot we were talking about you last night :)
When we get super busy it's kind of hard to check in regular like.
01:25
yep
is ubuntu on git?
You mean like all the source code?
Does anyone know the different types of files (text, image and audio I've got figured out) and what default applications are installed in Ubuntu to open them with? askubuntu.com/questions/912370/…
@NathanOsman did I do it correctly, or did I dun goof? :D
01:51
@craftxbox The kernel is
Ubuntu is just a collection of packages and a kernel
So are all Linux distributions
02:17
@AndroidDev The pull request is correct. I'll deal with it soon.
@NathanOsman Okay. I didn't increment the version code, so you might want to do that after the pull
0
Q: Is it time to ditch the .04 / .10 and Alphabetized Adjective Animals?

WinEunuuchs2UnixRelease numbering--14.04 LTS / 15.04 (odd numbers not LTS) 16.04 LTS / 16.10 are based on .04 being in April and .10 being in October. This habit means you are releasing something "ho-hum" on a given month just because it's that month. Worse yet something "big" you have has to be rushed out the ...

^^^ deja vu
02:28
hey hue,,, how's the hue business?
that's not on-topic on Meta
You should down vote it.
I will VTC it
OK... but please down vote it first
So you fixed the bug @TheWanderer?
02:29
I wonder what the down vote record is?
@AndroidDev nyes
@WinEunuuchs2Unix why
Read the last sentence to see why.
If I'm wrong about posting on meta at least I'll be right about getting lots of down votes :)
So much for the starwall being all @Zanna, now it's mostly @NathanOsman!
Downvotes are for disagreement on Meta
02:31
Well I'm not going to beg for down-votes... haha
I still think it's a great question.
ok maybe it's a decision disguised as a question.
well it has nothing to do with AU or SE though
The important thing is for Canonical to read it and do it.
I don't think Canonical actively peruses MetaAU
assuming they do
they probably don't
Someone from it might, but the BDFL might not.
There are some Canonical employees around here, I've bumped into them.
What is BDFL (Board of Directors Floating in La-La Land)?
02:34
Benevolent Dictator for Life ;p
haha
Sounds like North Korea's glorious leader... but still funny :p
Not sure there's anything benevolent about that fratricidal chap
Well he was educated in Switzerland just like Assad was educated in London. You really can't call a spade a spade in this global world.
St. Louis - Nashville playoff game has been exciting.... 1 minute left.
St. Louis won the game... and my Nashville cursed hat arrived finally by DHL today sigh.
03:00
Good news, everyone. I finally got the load-balancer upgraded on my server.
So the chat script thing should work more reliably now.
Although if you notice something in the next day or two, that's just me ironing out bugs.
03:29
"If you can't beat them join them"... If Ubuntu can't replace Android in the smartphone market maybe they can integrate our computers with Android?: askubuntu.com/questions/912385/print-android-notes-from-ubuntu
03:51
That was fast.
Especially for a Friday night.
04:36
@AndroidDev I'll be back in two weeks, then I'll say all kinds of silly things again :D
 
2 hours later…
06:53
0
Q: Is there a temperature sensing utility for linux that will read a ryzen 1700 cpu?

dondeeIs there a temperature sensing utility for linux that will read a ryzen 1700 cpu? I have been looking for such a utility and cannot find one. Psensor and xsensor does not work, nor does lm-sensor. The bios of the motherboard (GA-AB350M-Gaming 3) reads temps ok, but that is only when I am in the b...

mint (minor issue) but not possible it seems. close as bug/feature?
0
Q: why TOR fails to connect?

user230129I've installed tor on ubuntu. when I run it by torsocks bash, then I type tail -f /var/log/tor/log to get its statement and this is the result: May 05 21:56:46.000 [notice] Bootstrapped 10%: Finishing handshake with directory server May 05 21:56:48.000 [notice] Bootstrapped 15%: Establishing an ...

 
1 hour later…
08:20
UGH
like, I don't get arch irc lol
like if you aren't going to like aur why is it an official thing :thinking:
Hipsters!
;p
@Avery It isn't.
I know that it's kind of like PPAs in terms of officiality, but it's hosted by arch linux project themselves. That's what I mean.
@Avery It is explicitly unsupported and unofficial. There is no control over it which is why you should always read through the pkgconfig and install scripts.
> DISCLAIMER: AUR packages are user produced content. Any use of the provided files is at your own risk.
I know, but that's not bad enough to condemn the existence of the thing.
08:33
It isn't condemned, you were just chatting with a purist, I guess :)
which is 99% of the IRC lol
lol
there's that
a lot less people use IRC these days
arch irc is huge
then again community is hell (but I like arch or at least the concept) so... I might actually switch to FreeBSD if/when my arch setup dies.
08:50
lol
@Avery "Community is hell"?
tbh communitu/support is probably my big deciding factor
Arch has the best documentation in the Linux world. That counts for a lot.
@terdon usually, from what I've seen. IRC is more sane but esp. discord is problematic.
@terdon yeah, the wiki is AMAZING.
Oh, the forums are OK though. And so is Unix & Linux where Arch is very much on topic.
08:53
yeah, most of the times wiki didn't answer, UL, AU or arch/manjaro forums answered after a quick ducking.
I've found the Arch community to be quite helpful if you've done your homework first. It's a distro aimed at experts and hands on types, after all, so they have very little patience for "give me the codez".
(I'll drop by UL's room one day, but honestly am more familiar with community here, and try not to flood with off-topic stuff anyways.)
I'm not sure I'm ever on topic ....
@Avery The chat is far less active on U&L. There are a few regulars who are usually there but it can be silent for hours or even days sometimes.
09:38
@terdon chat happens if chat happens
One reason places like here and RA are active is cause we have a fairly optimal number of regulars
09:49
0
Q: Connect through OpenVPN to VPN - network disconnects

S. LWhen I connect using openvpn 'my-config-file.ovpn' the network disconnects, I'm using a non gui ubuntu so there's no network manager with a gui. I do all in shell, I heard to read on splitrouting, policy routing, but they're a bit too advanced for me and I don't know if these are my issues, eithe...

 
1 hour later…
10:49
@JourneymanGeek me neither.
huello
11:07
0
Q: My "a" key is busted. I want to map to nother key .

BrendanI've looked through lot of posts.. they mostly seem to refer to special keys .. Perhps I'm just not understnding.. but I hven't figured it yet. thnks. cinmon 17 64b.

hmmm "special" has an a >:-D
added some a's :P
11:58
0
Q: commande pour configurer service dhcp en ubuntu

Mourad Bouhamibonjour,monsieur madame ma question est sur la commande de configurer de service dhcp avec plusieur pool d'address du debit different mais avec le meme nom de pool. et merci d'avance

12:46
hue
Hi. I'm outside in the cold thanks to the building fire alarm.
I'm not usually up this time of the morning :P
13:06
nice
6AM tho
not that early
5am when it started.
And I would politely remind you that it's Saturday.
:P
I'm not usually up for another five hours.
Someone really burnt their food.
Back to bed now.
13:43
rip
was that a report of the last 24 hours @NathanOsman ?
14:26
Hello guys how you doin?
14:53
@TheWanderer rip indeed
@ErTR Not bad, although Android Studio has been fighting me like there's no tomorrow recently :/
@AndroidDev I'm sure it is better than the old Eclipse days
@ErTR Well, I wasn't working on Android projects back when you had to use Eclipse, but I can imagine it wasn't fun, with all the plugins and whatnot. But I had to completely reinstall Git yesterday :(
15:19
HALLELUJAH! I finally got Android Studio to stop complaining about AppCompat!!!
cheers
@SergiyKolodyazhnyy @TheWanderer So much for Chrome being a CPU hog... Gradle is using 100% of my i7 3740QM @ 3.58GHz!
Quad core, eight-thread!
@SergiyKolodyazhnyy you can change the value of $HOME ;-)
rinzwind@schijfwereld:~$ echo $HOME
/home/rinzwind
rinzwind@schijfwereld:~$ HOME="test"
rinzwind@schijfwereld:/home/rinzwind$ echo $HOME
test
if I change that to something with a " and a space it could spell trouble
@NathanOsman Google deprecated the standalone SDK manager in AS 2.3! That's so stupid. The new integrated one is bad :(
@TheWanderer Your app has memory leaks too!
@TheWanderer Shame on you :D --^
@TheWanderer - You'll be seeing a pull request from me as soon as I fix your code :)
16:25
@Rinzwind would be better if you posted that as comment under the answer. As for the value of hime being changed . . . well that's intentionally being stupid or malicious . . . Which is a corner case and for that question is irrelevant
But I'll add that as edit
naa nobody does that I hope :D
@AndroidDev what's Gradle ?
Gradle is an open source build automation system that builds upon the concepts of Apache Ant and Apache Maven and introduces a Groovy-based domain-specific language (DSL) instead of the XML form used by Apache Maven for declaring the project configuration. Gradle uses a directed acyclic graph ("DAG") to determine the order in which tasks can be run. Gradle was designed for multi-project builds which can grow to be quite large, and supports incremental builds by intelligently determining which parts of the build tree are up-to-date, so that any task dependent upon those parts will not need to be...
@SergiyKolodyazhnyy It's a necessary tool for building Android apps
ah. well I'm not doing any Android development so far
@AndroidDev \o/
16:40
@Zanna It was driving me up the wall. It would complain that anything related to AppCompat didn't exist, but then it would compile just fine without any errors! Gah! Well at least I got it to work properly now...
On another note...
I installed AdBlockPlus yesterday, and it has already blocked 400 ads.... wow.
@NathanOsman You were right. Gmail does use 300MB of RAM!
17:02
@AndroidDev dont use adblock plus. use ublock origin.
adblock plus sells tracker spots to corps
Gah! How do we wriggle out of corporate clutches...
ublock origin is untouched... for now
When I try to answer easy questions, nobody upvotes me anymore.
ive never gotten an upvote m8
However, when I try to answer hard questions, nobody upvotes me either.
To get upvotes, we need to answer intermediate questions.
I think SE users need to be more generous with their votes, especially when it is not money.
17:27
Anybody having a better idea how to remove this Chromium malware that redirects requests to malicious site?
let him post content of /etc/hosts
unlikely the issue but you never know
to proof it is an extension: start chromium from command line with the no extension option
--temp-profile
@craftxbox Even though it's open source?
its opensource?
didnt evenn knokw that
@craftxbox Yep, under GPLv3 --^
where IS this source code
17:38
@craftxbox Well, here's the source for the Chrome extension: hg.adblockplus.org/adblockpluschrome
They have a page telling you how to get it: adblockplus.org/source
user136984
Been a busy day for me! I've just publicly performed a play with my theatre group. Although I think that the comical character I was playing got to me because someone got their lines a bit wrong and said my cue so I came on at the wrong time with all my comedy! :D Meaning I actually came on stage twice to do that bit because I did it early the first time and got kicked off the stage.
@ParanoidPanda Well it wasn't you fault that your cue was said at the wrong time
user136984
No, but I should have realised before that people were getting that scene confused with the one later on as they were quite similar and the lines had been mixed up once before. So I probably should have waited for more than just my cue.
user136984
But ah well, it did add a certain touch of extra comedy to the show which everyone now agrees was quite nice. :D
user136984
So I'm kinda glad it did happen.
user136984
17:48
It wouldn't be quite the same without bad comedy following me around everywhere. :P
@ByteCommander Evan finally explained to me in a comment what he was doing with this question: askubuntu.com/questions/912532/mail-mynameeeee and I tried doing what he was trying to do in my computer and it worked, so I edited the question (he is using the mail terminal program) and nominated it to be reopened. Please review the question.
@karel I voted to reopen
@ByteCommander Cheers.
ok ok...
@ThomasWard According to a comment from the OP I edited this question: askubuntu.com/questions/912532/mail-mynameeeee which was closed for being unclear and even got it to work on my computer, so I voted to reopen the question. Please review the edited question.
17:54
@ParanoidPanda and you played a panda? :=)
@karel voted for reopen.
that last comment needs to be in the Q though
@Rinzwind Cheers.
campai!
ahhhhhhhhhhhhhhhhhhhh crap
0
Q: Linux Ubuntu Server - sudo chown -R user:user /

ChronoveSo, i accidentally gave all permissions of my system to another user who doesnt have a password, nor a home directory. I have complete physical access to the computer running, and im currently logged in via SSH with key into the system as my user named "chronove"... the user chronove had access ...

oh oh :X
@craftxbox Thanks for the suggestion! uBlock Origin seems to be faster :)
user136984
@Rinzwind No, but the cop I played ate about 13 doughnuts a day and we had a big momma style fat suit. :P
17:59
13? :X when I was in the US I could not even finish 3 :P
and then I had enough for the whole 9 days I still was there :X
user136984
Well then, seems that you and I have different sized bellies. :P
yeah
I am average though >:) little bit overweight some might say
1m74 and 90 kilo :=)
@Rinzwind Another n00b mistake?
@AndroidDev hmm >:) a you need to re-install mistake
0
Q: Creating bash service on Ubuntu 17.04 with systemd

user3593475 I am running Ubuntu 17.04 64-bit and I would like to setup syncthing and two more applications to be started after the machine boots without requiring someone to log in and manually start them. I have installed all applications into the following directories: /home/msa/syncthing/ /home/msa/min...

0
Q: Ubuntu Unity randomly crashes, and then the command 'unity' isn't recognized

AwesomecupFor the last bit, unity (and perhaps other things?) would crash after something like 20-30 minutes of use. First my launchbar would disappear, all of the upper right hand icons disappear and then all my programs freeze. If I press my power button, the login/shutdown/restart screen shows up but...

18:08
2
Q: Enable natural scrolling on ubuntu 17.04 with gnome-shell

daveoncodeI've installed gnome-shell on ubuntu 17.04 and it works perfectly, but I'm having an hard time trying to enable natural scrolling using the trackpad. It works perfectly out of the box in unity, but in gnome despite I activated the natural scrolling in system settings, it does not work. I also cre...

new answer is same as the previous one posted
flag? how?
@Rinzwind Ask ThomasWard to launch one of his intergalactic ballistic missiles, and/or request that he equip his class 15 LAZORZ.
@ParanoidPanda only 1 thing that popped up: he wrote a mail saying he would not start extra things to combat terrorism
18:24
@KazWolfe - Did you accidentally delete all the stuff in here? Because it's empty: github.com/KazWolfe/fakehackerscreen
user136984
@Rinzwind: Well, if that's the only real thing in there then it's not a very important leak...
18:43
@AndroidDev pls
@TheWanderer Yes?
user136984
@AndroidDev Ah, an IGBM, good thinking. ;P
19:01
Well.
That was quite the morning.
I can imagine :)
Were you able to go back to sleep?
Yes, thankfully I could sleep in.
Time to get those new changes into NitroShare.
I wonder how @Seth is enjoying LFNW.
@NathanOsman zacharee1 had like 5 memory leaks in his app :)
I fixed it for him
19:13
LOL.
Apparently​ they even beat Arch at rolling.
@NathanOsman so far I'm having a blast. Unfortunately the SUSE cert thing is actually tomorrow and I don't think I can get back.. dang. But I listened to another OpenSUSE talk. It's pretty cooling.
@NathanOsman They were the exact same type of leak that I accidentally put into Nitroshare before I found the alternative method to do it.
0
Q: Function System() using Octave

Luan RI have done a shortcut to open LTSpice simulator on terminal, to open the program typing "ltspice", I used the alias command and the path of the program and saved to bashrc. It's working pretty good on terminal, but when I try to use the command system('ltspice'); it returns, sh: 1:...

19:33
@NathanOsman - Want me to do a second pull, this time on main with only perms bug fix?
@AndroidDev Nope, that's fine.
@NathanOsman OK. Just curious, why does it still show that the pull request is open if you already accepted it?
I'm new to git, so forgive my ignorance :)
I merged it into a different branch.
The pull request should be closed once it gets merged into master.
Ah. Now, if I want to make any other changes, should I also direct them to the "dark-theme" branch?
No, each new change should be a separate branch.
It is good practice to keep things separate as much as possible.
19:44
Oh, okay. And then each separate branch gets deleted when you merge the changes into master?
By the way, you can actually switch branches on the fly in Android Studio's GUI
You just pick a different branch from the drop down, and hit checkout
Now I see why devs love VCS
Much better than keeping duplicate copies of your code in a separate folder :)
Well, that's more or less what git does, just in a more intelligent and automated way.
@ByteCommander Maybe so, but it does it behind the scenes so you don't have to worry about it. On another note, if you haven't tried uBlock Origin, you really need to. It's insane how much it speeds up page loading and the smoothness of scrolling.
using it for months...
I especially like how you can easily create custom rules to remove specific HTML elements on the page by simply clicking them.
20:37
setTheme(new Settings(this).getTheme());
...which reduces a lot of duplicate code.
20:48
0
Q: ALERT! /dev/sdb2 does not exist. Dropping to a shell!

lewis4uInstalled Ubuntu-server on my laptop and when i rebooted i get this message: Is there anything I can do to fix this? Can someone help?

user136984
21:15
Well, goodnight folks! :)
21:30
@AndroidDev "accidentally"
21:41
What sucks about other rooms in SE is that they're typically silent and empty
:/
@NathanOsman Great! (I was thinking about doing that too, but there wasn't that much code being duplicated that I thought is was necessary.)
@NathanOsman Sorry for the noobness, but how do I pull your updated version into my fork?
@AndroidDev ordinarilly, yes - but there were some other things I wanted to fix at the same time, like having the default settings duplicated in other places.
So your pull request made me do something I was putting off anyway :D
@AndroidDev If you can wait a few hours, I'll get this all pushed into master and then you can pull from there. I can get the exact command if you need it.
Ideally, you want the master branch on your fork to match the master on the original repository.
That's why branches should always be used for new features - so that your master branch can always be synchronized with mine.
@NathanOsman Sure, no problem. If you could provide the command though, that would be helpful. (It's kinda dumb that you can't do that through the web UI... I noticed that's been a feature request since 2013)
Yeah - GitHub is a little bit simplistic in the features it provides for merges.
By the way, sorry if I messed up the code formatting for you - I prefer opening brackets on a new line below the statement, rather that on the same line with it
21:55
Yeah, I wondered about that.
I was able to get it all fixed though.
It makes the diff a lot cleaner.
But it's your repo, so I'll respect your preferred formatting style :)
Thanks :)
22:11
Looking at the star wall it seems like there's been whole lot of fun discussions going on ?
Yesterday.
You missed all the fun yesterday.
Yeah. A mod was logged into Smoke Detector,
And George The Dev was present
The room has been mostly dormant today
Yeah, I've been MIA lately a lot, unfortunately
22:45
Ugh
@AndroidDev I noticed that's like the only thing you actually changed in my onStop methods lol
And y u remove my SuppressWarnings?
Guys
Should I try to make an SE chat wrapper?
I'd like a burrito wrapper
That'd be a nice tool to have
ugh . . . I've sequence detector for my floor switches and I've up/down counter to drive the elevator car . . .now i somehow need to figure out which sequence detector got triggered, and send the elevator car to its respective floor
Now, how in the world do i do that ?
Hire a student from Berkeley and tell them you're against gun control. There's your trigger.
@SergiyKolodyazhnyy what are you doing
Wait
23:11
@TheWanderer Well, in all fairness, you would have seen the memory leak warning if you didn't suppress the warnngs.
Chrome Android has a downloads page?
@AndroidDev before I Suppressed them, I didn't see the warnings
I also thought I'd deleted those variables...
Since I ended up not using them
@TheWanderer Well, I'll tell you the same thing I told Nathan. If you prefer your brackets on the same line as the statement, I'll be sure to but them back that way before I pull request - how's that? :)
@AndroidDev that's good
But I still don't know why you changed them, and only them
@TheWanderer Because I modified all the onStops to print the exceptions
I didn't modify much else,
other than commenting out a few unused variables
and fixing the memory leaks
I have to remember to pull those changes before I make any more
23:25
@TheWanderer I think AS has a dedicated pull button, but I could be mistaken.
Oh Android.
PreferenceActivity.getPreferenceManager() is deprecated. How do I get the PreferenceManager now?
/facepalm
So. Frustrating.

« first day (2411 days earlier)      last day (2850 days later) »