« first day (1416 days earlier)      last day (3521 days later) » 

slm
1:18 AM
@Gnouc - hey congrats on getting to 20k!
 
@slm: Thanks.
 
slm
1:34 AM
@Gnouc -keep up the nice work!
 
@slm: I'll try my best. Hoping to learn more from you and other great guys here.
 
slm
With the excellent answers you've been creating you're in that category as well now 8-)
 
1:50 AM
And @slm, I see that you are working at Qmetric, with a member here, right?
 
slm
2:03 AM
@Gnouc - no I just left that company, now working at Citrix
yes Patrick works there as well
 
2:19 AM
Oh, I see information in your linked profile :)
Congrats to your new job!
 
 
13 hours later…
2:50 PM
@Seth smuxi - Smart MUltipleXed Irc apparently
Looks like it was called Gnosmirc before.
For GNOme SMart Irc Client
Smuxi is a marginally less horrible name than Gnosmirc, so I suppose that is an improvement.
These names don't have much to recommend them, except the usual one of all made-up words. they are really easy to search for.
 
3:09 PM
I've stepped off the deep end finally. I was building kde kf5+plasma5 from the release but now am building directly from the kde git repos. <3 gentoo.
 
@casey Brave
 
@strugee Sarge????
Surely you must be joking. That's not even wheezy - 1. It's wheezy - 4.
 
3:24 PM
Does anyone know an efficient way in kde to bring up the window of an app? I can grep for the process and know the name of the app. But bringing it into plain sight is not so easy.
 
@FaheemMitha the magic launcher thingy can do it
I forget its proper name. I think it defaults to meta-F2
Not the K menu launcher. The other one.
@FaheemMitha ah, it appears to be called the "run command interface"
Default is Alt-F2
 
Won't this just bring up another instance? And suppose there are multiple ones? How does it choose?
 
@FaheemMitha No, you can search for window titles. Then it'll give you an 'activate running window on workspace N' option
 
@FaheemMitha if you have hot corners (or edges) setup, you can assign one to "show all windows" and then pick the window you want to bring to the top
 
There is also xwit and wmctrl
At least one of those should work if you want to script this.
(I'd try wmctrl first).
 
3:37 PM
^^^ kwin should interface with that nicely
 
@derobert Ok, I'll try it.
That seems to work. Thanks.
 
@FaheemMitha That's.. an interesting name.
Anyone but me see anything... wrong with this ad?
 
-a and -R are the options you want to look at @FaheemMitha. -a activates by switching to the desktop the window is on and raising it and -R brings the window to the current desktop and activates it.
@Seth maybe that person really is a guru and installed GNU/Linux on their iphone?
 
@Seth Well, I think someone has a long way to go to guru status if they're trying to use a phone without turning it on first...
@casey I hear Linux has been installed on iPods, so maybe?
 
@derobert How can you tell its not on? Can you install Linux on an Iphone?
Maybe the phone isn't relevant to the guru thing. Maybe the point is that smart and cool people use iphones.
@Seth Both those names sound a bit weird to my ears. Gnosmirc sounds like someone throwing up, for example.
 
3:49 PM
@FaheemMitha Well, at least the screen isn't. And typically when the screen isn't, neither is the touch sensor...
 
Then again, LT apparently once thought Freax was a good name for his kernel.
@derobert I'm impressed you can tell so much about a screen in half-profile. Maybe it is in power saving mode?
 
@FaheemMitha phones these days have really good viewing angles
 
@casey oh
 
though I will add my motoX can will turn on a very small portion of the screen when a notification comes in and and there won't be much to see, though If i touch the notification I do get a bit more of the screen to light up.
 
@casey That's pretty fancy. I didn't know these gadgets could turn on a bit of the screen.
 
4:07 PM
@casey Yep. Can fairly clearly see the screen on my Nexus 5 from looking almost parallel to the screen. Viewing angle must be almost the entire 180.
Colors/brightness is a little off, but can still clearly see its on.
Also, I bet it was off because that makes the photo shoot easier, and then you don't have any rights to clear...
(Who owns the copyrights to that phone desktop background? The icons? Etc.)
 
Trying to connect via ssh tunnelling for this smuxi thing. Debug error:
2014-08-25 21:42:13,341 [Main] INFO Smuxi.Frontend.EngineManager - Connecting to: tcp://127.0.0.1:7689/SessionManager
2014-08-25 21:42:13,747 [Main] ERROR Smuxi.Frontend.Gnome.EngineManagerDialog - System.Runtime.Remoting.RemotingException: Tcp transport error.
There's a lot more, of course, but does anyone have any idea what is wrong here?
 
Sounds like a question for the site.
 
@derobert mmm
 
4:38 PM
Hmmm. Anyone know of a fast and reasonably secure PRNG command-line program that'll output more than 2GB? OpenSSL's rand command seems to have a 2GB limit.... And cat /dev/urandom doesn't do more than ~15MB/sec on my machine...
/me wonders if encrypting /dev/zero is fast enough
OK. openssl enc -e -in /dev/zero -K 9e53befe67efab7bf5e2dfcb2cfb8b8e -iv 1b9704f8cf1b8dbd7150791ffed0d9aa -aes-128-ctr | pv -pterb > /dev/null gives ~300 MB/sec. So that's fast enough. Obviously, I shall use a different key and IV.
 
5:00 PM
success!
 
@Braiam ?
 
@FaheemMitha the reliable power grid of my country decided to be not-so-reliable while I was installing systemd
@derobert I switched my 32-bits debian to 64-bits live
 
Ah.
@Braiam Sounds like its time to get an UPS...
 
@derobert I want to buy a real one... not the thing that sell here
 
@Braiam You can't get an APC or similar there?
 
5:08 PM
@derobert no, only brands that you never heard about...
 
5:23 PM
@Braiam So, not really so reliable, after all.
@derobert R has a random number library, which is fairly good.
Not sure what PRNG means though.
Oh, pseudorandom number generator
 
@FaheemMitha not at all
 
Ssh trivia question: I have an entry in .ssh/config.
Host some_name
Hostname some_ip_address
ForwardX11 yes
Never mind, found the explanation.
Ditto for the smuxi thing. I really am dumb sometimes.
 
5:45 PM
 
Wow, that's a lot of choices. And it doesn't even mention znc.
 
Amazing how fast it decided "OMG ALL MY SECTORS ARE BAD!!!"
 
@derobert How did you make the graph?
 
@FaheemMitha Insert -> Object -> Chart
 
libmeanwhile.... wtf...?
> libmeanwhile1 - open implementation of the Lotus Sametime Community Client protocol
 
5:59 PM
@derobert same, my nexus 7 and moto X are very nearly 180 degrees
probably about 178 before glare obscures the screen image, at least in my current lighting situation
 
6:12 PM
Can someone explain to me how this question got marked as a dup?
1
Q: Top show high CPU on process but idle on load average

Jahanzeb AliI am running FreePBX on DigitalOcean VM. I am facing some call dropping issue in Asterisk. When looking at "htop", "top" and FreePBX GUI, I see different results of CPU utilization and can't understand if my VM is OK or needs attention w.r.t CPU. Load average shows nearly idle system while CPU ut...

I honestly don't see it. There are 2 processes using a combined total of 85% CPU, the load average should be a lot higher than 0.00
 
at first that's exactly what the asked
 
@derobert oh
@casey You have two phones?
 
Ah, with the original question, I guess at a glance, I can see how it might have seemed like a dup. but reading the whole thing and looking at the screens to me makes it clear what is being asked.
 
@FaheemMitha nexus 7 is a tablet
 
@casey oh
 
6:18 PM
he seems to ask why when a process has 74% of usage his load average is 0
astericks is sleeping so it doesn't count towards the load averg.
 
It might have been sleeping at that exact moment when top inspected the process, but the fact that the CPU % is > 0 indicates that it has been running
 
twice?
 
Also, top only inspects the main thread when looking at the status. if any of the threads are active, it'll still show S
 
6:45 PM
Hi @Patrick
 
/me waves
 
@derobert well, i decided to ask a different question about the smuxi server.
I just can't get over that name.
@Patrick so you have @slm working with you now?
 
@FaheemMitha Yes, we work together. And not together, as he's half way across the country :-)
 
@Patrick 21st century working-together.
He's still in NY then?
 
As far as I know :-)
 
6:59 PM
Shame, you don't get to hang out at the pub then.
I guess, since that is the US, that would be bar instead.
 
we have pubs in the US, and they are generally either English or Irish themed establishments. Good to know the location of when a good futbol game is on.
 
@casey futbol?
I decided to annoy @Braiam and add the debian tag to this.
 
Hi all, do I need to have static IP set for my host in order for the KVM to run?
 
@FaheemMitha needs more evil laugh ;p
 
@FaheemMitha >:(
 
7:11 PM
@Seth Muhahhahhah :-)
 
@FaheemMitha That's better ;p
 
So, should I follow that pages advice? That is the question.
 
@Seth I know approximately what runlevels are, but doesn't the system go through multiple runlevels on the way to the "final" runlevel?
 
that lists 3 "multiuser" run levels.
That was all I was getting at.
 
7:17 PM
Or does it just go into one runlevel? I don't know the mechanisms involved.
 
@FaheemMitha That's what I can't remember :(
 
@Seth Ok.
 
@FaheemMitha no
 
@FaheemMitha: The system only boot in to one runlevel
 
@Braiam So it only hits one run level at a time? What if you switch runlevels?
Does such a script then execute again?
 
7:22 PM
@FaheemMitha a run level switch runs all of the stop scripts in the current level and then all of the start scripts in the new level
 
@Gnouc Ok. Thanks for the reply.
@casey So it would stop it and then start it. But in the example, there is no stop.
I looked at the Debian init scripts. They all look horribly complicated.
I don't want to spend half a day trying to write my own.
 
@FaheemMitha: You must write your own, if you want to more controls
You can see my updated answer for an example
 
@Gnouc bummer
 
oh wow, SE is down
 
@FaheemMitha look at a simple one like /etc/init.d/hwclock.sh. This just defines a function that takes an argument then a switch to handle the argument being "stop", "start", etc, then the main code calls that function
 
7:27 PM
otherwise, you can get an example from /etc/init.d directory
 
Chat was down just now, at least for me. But just for a minute.
 
> Stack Exchange is currently offline, we'll be back shortly!
 
Bang: Stack Exchange is currently offline, we'll be back shortly!
 
heh:
> if we get here, that means even the offline pages on sstatic are offline
in the source code to the offlline page. they're down hard :-)
 
These init scripts seem to automatically background themselves. Is that a feature?
@Patrick ?
 
7:29 PM
the offline page is offline
 
Are these outages scheduled?
 
sometimes.
 
@Patrick Oh, something unexpected happened?
 
@FaheemMitha middle of the day? i highly doubt it
...middle of the day US time
 
  1 test()
  2 {
  3     case "$1" in
  4         start)
  5             #START command here
  6             ;;
  7         stop)
  8             #STOP command here
  9             ;;
 10     esac
 11 }
 12
 13 test "$@"
 
7:30 PM
Just keep an eye here: twitter.com/StackStatus
@StackStatus
Status updates for the Stack Exchange network, including http://t.co/VY1vdMiR. You can also find more detailed updates on http://t.co/uCcZjNx5.
272 tweets, 1.5k followers, following 1 users
yay onebox.
 
that is about the minimalist example for an init script
 
@casey that doesn't look too complicated, actually.
 
@FaheemMitha: Look at /lib/lsb/init-functions for more details about init function
 
@Gnouc ok
@casey Thanks.
 
@Seth check samba or nfs-mount ;)
 
7:33 PM
@Gnouc maybe put some of that in the answer.
Does U&L currently have much stuff about roll-your-own init scripts?
And we're back.
Gosh, I was starting to have withdrawal symptoms.
how does DR do on this front?
 
@FaheemMitha: Updated, add a link to good explanation of /etc/rc.local usage by Gilles
 
A minor firewall change had some very ill effects, we have reverted and are digging into the issue.
 
@casey you could add that, or similar, as an answer
@Gnouc Thanks. does the smuxi server example script look reasonable?
 
7:49 PM
@FaheemMitha: You mean usable?
 
@Gnouc Right
 
I think it's OK
 
@Gnouc Ok, thanks. You could copy it into the question, in case the blog post disappears.
 
Although it does not use init function, it uses start-stop-daemon directly
You can read man start-stop-daemon for more details
 
Hmm, it would need its own user.
Are special user/groups normal in this kind of usage?
 
7:56 PM
@FaheemMitha: It depend on you
 
@Gnouc ok
 
@Braiam ouch.
 
then I'd have to have a separate post-inst script for creating the user/group.
 
You can use nobody :)
 
8:12 PM
@Gnouc I can?
Isn't that reserved for backup?
 
You can, proftpd also use nobody as default running user.
 
@Gnouc Oh, good to know.
 
nobody seems important... for being a nobody D:
 
@Braiam Huh?
@Gnouc are there a lot of 'nix fans in Vietnam?
 
8:43 PM
1
Q: "Firewall" for X applications

Vi.I don't want proprietary Skype directly accessing my Xorg server. I've already taken measures securing filesystem, network, processes/IPC, but there still a plenty of spying possibilities using X alone. Currently I use Xvfb+x11vnc+vncviewer, but it is not convenient: copy&paste works poor, no sy...

 
9:17 PM
@Gilles seems doable... but I wonder if anyone would take the effort when people is starting to move to wayland
 
So, do the init scripts automatically handle backgrounding, or is the writer on his/her own?
 
also, if I'm not mistaken the xorg protocol need a bunch of unnecessary things to be compatible
 
@Gnouc what do you think of the Gentoo script posted below?
The eend things looks peculiar. I don't recognize that.
 
9:34 PM
@Braiam does Wayland actually work now?
with real applications, I mean, not just glxgears
 
@Gilles without a xorg-xserver in between? no
at least I haven't tested going full wayland way
but saw several packages that depends on specific libraries of wayland
 
9:58 PM
In KDE from time to time I do something to make the screen turn into a bunch of tiny icons. can anyone tell me the command for that?
 
drs
10:09 PM
I don't think U&L is the place for this very well-written question. ServerFault? SuperUser?
 
@drs don't ever send non-professional production (aka personal, testing, development) questions to Server Fault
 
drs
@Braiam I guess that's open to discussion?
 
10:25 PM
@drs No. SF is a very exclusive crowd. But I asked an SF mod about this particular question and he said yes.
 
drs
@Gilles ah, k
 
10:52 PM
do we really need the tag? Should it be synonymized to ?
 
@Gilles seems that that is the actual usage of the tag
 
11:48 PM
@Gilles suggested the synonym
@Gilles isn't easier just retag that question? unix.stackexchange.com/tags/scripting/synonyms
 
@Braiam retagging won't handle other questions where someone might create the tag
 

« first day (1416 days earlier)      last day (3521 days later) »