« first day (1729 days earlier)      last day (3242 days later) » 

jrg
12:00 AM
That looks like it'd work even on a Windows host.
 
@NathanOsman Upvoted!
 
@jrg In theory yes.
 
> Even checking /sbin/init is not technically sufficient since the init program can be customized at boot time.
 
(and close vote retracted)
 
@NathanOsman could you elaborate?
 
12:01 AM
And I don't know why people are voting to close...
It's not a dupe.
I left a comment.
 
Not any more...
 
@terdon I can add a parameter boot=/bin/whatever to the kernel boot line and use whatever executable I want.
 
@NathanOsman using a processor emulator to check kernel ? did i get that right ?
 
Rinzwind's old answer was the best until now... We should dupe that one to yours now!
 
@Serg Yes :)
 
12:02 AM
@NathanOsman Ugh, of course, init != kernel, stupid terdon.
 
@Fabby for the currently running OS, uname still is the best option, IMO
 
@NathanOsman ----- ^
so if you add that, we can dupe Rinzwind's answer to yours!
 
@NathanOsman well played, sir, well played
 
>:)
 
@muru Well, yeah, for the one you're running, it's trivial.
 
12:03 AM
If someone wants to add that, that's fine.
I'll be AFK for a few minutes.
 
@NathanOsman You know that issue I was having with big transfers between my desktop & laptop? Turns out it was our router.
We got a new one with the cable, and it's been just dandy since :)
 
Awesome.
Yes, routers can be a little tricky sometimes.
I used to have one that refused to work properly with my Kindle Touch.
No amount of configuration or repositioning would make any difference.
As soon as I got a new router, it worked flawlessly.
 
@NathanOsman Done!
Now edit the title of the question and then dupe Rinzwind's answer...
 
I'm back now :)
 
jrg
I am still trying to figure out HOW we got someone to delete their home directory.
 
12:11 AM
@NathanOsman :P
@jrg :D
 
jrg
I'm a little shocked that it hasn't happened before today (That I'm aware of)
 
@jrg Wait - wut?
 
That was funny!
 
jrg
but seriously, that's not cool.
 
What happened?
 
jrg
12:11 AM
@NathanOsman dunno exactly. I showed up near the end.
 
(I wasn't here earlier.)
 
cat /dev/urandom > /dev/kmem
 
Oh hang on, supper. I'll read the transcript later.
 
It was me!
Dammit. And it was completely unintentional.
@jrg :(
 
jrg
Hey, it's ok. Nothing terrible happened, this time.
I'm still surprised that it hasn't happened before though.
 
12:14 AM
@NathanOsman You could try to deduce the ABI from a hex dump of a random executable
 
jrg
The way we throw The Command around, I would have expected it to have happened a long, long time ago.
 
@NAthanOsman as I understand Mudit added rm command to delete his homefolder to .bashrc or something like that. IT's been a long day
 
Now everyone VTC this one as Nathan's answer is better...
 
jrg
Like, I've been worried about that happening since uh, day one.
 
(Rinzwind is going to go apeshit when he comes back from holidays)
 
12:15 AM
And that's how it happened. Giving a screenshot since I've deleted the offending message.
 
jrg
@Fabby No, it isn't a duplicate!
 
In my defense, I did tell them not to do it. Quite emphatically.
 
@Fabby you're kidding , right ?
 
@jrg Now it is...
 
jrg
One is "How do I tell what I'm running?", the other is "How do I tell what I was running?"
 
12:16 AM
@Fabby What? Why? One asks about the current OS and another about an OS stored on a disk.
 
Nathan's now is both...
 
Its a more interesting question if you have to determine the current OS running from a single file compiled for that OS
 
So the better answer... >:)
 
holly cockroaches , it's 3:18 am
I better get some sleep guys. see you later ! o/
 
Anyway, Mudit's reaction to the deleted home directory was:
 
12:18 AM
uname -a == cat /proc/version
 
Oh, there were just some files... Did this command touch my system???"
 
@Serg xD
 
@crasic Only on the running system
 
@Serg 02:19 here!
 
@Fabby You're joking...---we--- you actually deleted someone's home directory? o.O
 
12:19 AM
G'night everyone!
 
@Fabby Yes, at least. I felt really awful for the poor guy. I was very relived when I found out he didn't lose anything important.
 
@RPiAwesomeness he did it himself!
 
OH BOTHER FORMATTING
 
@RPiAwesomeness No, I did. With the user's help.
 
@terdon Ah >.<
 
12:20 AM
The rest of the room is as innocent as a newborn wombat.
 
I did an rm -rf /*;bak once...
 
@terdon can one uname on a non-running system?
 
@crasic No, which is why we were having trouble finding an answer. :)
 
@crasic nope...
 
Watching New York Rumble vs Boston Whitecaps. Poor Rumble, they're getting creamed.
 
12:21 AM
I assume these are teams of some sort?
 
I currently have a embedded rtlinux and cygwin running so I can't troll the OS for fun files
 
Croquet?
 
is System.map in /boot on grub systems?
 
@crasic You\re chatting from an embedded system?
 
Well I can, but currently win7
Arm9 aint no joke
 
12:22 AM
@crasic GUIs and all?
 
No graphic output, but I can curl ;)
If I tunnel through it does that count?
 
Heh, no :)
 
@terdon How about checking the latest boot log
 
I was imagining an embedded system running a full GUI browser.
@crasic For?
 
for a linux version
 
12:25 AM
$ sudo grep -i linux /var/log/boot
$ sudo grep 64 /var/log/boot
$
Apparently not.
Actually, you might be on to something there.
 
check wtmp
 
Loads of files in /var/log have relevant strings, trying to choose one now
 
just screw it and grep every file for a few strings
 
Yeah, that's what I did
Found loads, /var/log/wtmp was one of them
 
It will at least tell you the last version that ran
 
12:28 AM
Yup and that's good enough for 99.9% of cases.
 
you can probably troll through the actual image under /boot to see if there are a few magic bytes or something
 
That might be worth an answer.
$ sudo grep -im 1 "Linux version" /var/log/kern.log
Jun 15 23:08:30 badabing kernel: [    0.000000] Linux version 4.0.0-1-amd64 (debian-kernel@lists.debian.org) (gcc version 4.9.2 (Debian 4.9.2-16) ) #1 SMP Debian 4.0.2-1 (2015-05-11)
Could someone confirm that works in Ubuntu?
 
oneeee sec
gotta boot up a machine
 
@crasic Nah, don't bother, I've got a vm too.
 
Jun 22 08:47:40 Archon-Ubuntu-Desktop kernel: [    0.000000] Linux version 3.13.0-55-generic (buildd@brownie) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015 (Ubuntu 3.13.0-55.94-generic 3.13.11-ckt20)
@terdon ^
 
12:31 AM
Damn!
 
more detailed than uname
 
@terdon ?
 
What's ckt20? o_O
 
No idea >.<
 
@RPiAwesomeness I was hoping for a 64 vs 32 bit string.
 
12:32 AM
Ah
 
Like: 4.0.0-1-amd64
 
It should be amd64...
I mean, it's a 64 bit CPU
 
Of course, what I meant to say was "Thanks @RPiAwesomeness for running the command I asked for"
 
Its a debian rev number
the -1
 
@terdon ;)
 
12:32 AM
4.0.2 = Kernel version
-1 = package revision
-ckt20 is a package rev number as well
 
Yeah, but what's the ckt20? Some kind of Ubuntu thing?
 
yeah, for whatever reason they bumped the rev to ckt20
 
No idea!
 
OK. So Debian shows architecture but Ubuntu doesn't.
 
Its wherever this string is coming from
I'm not too sure
probably in the kernel
you compile with the rev number and it spits that out. The ubuntu devs have a different build config
 
12:34 AM
@terdon So, how's that 4.x kernel going?
 
So far so good
 
Curious if it's worth the risk >.<
 
what does it give you?
 
I'm on a Desktop though and with old hardware so I don't have any issues.
@crasic No idea to tell you the truth. I haven't even checked the changelog.
 
the biggest feature I'm waiting for is a mature LXC
 
12:40 AM
Hmm. OK, for Debiam-based systems you can also check the dpkg logs:
grep -c amd64 /var/log/dpkg.log
If that's not a tiny number like 3 or 4 (for the odd multiarch thang) you should be running a 64bit system.
That only helps for amd64/x86 systems of course.
 
no time to recompile kernel, time to test peripherals by accessing memory directly
this should end well
using cat/echo with /dev/mem is like using a bludgeon to hit a power button
 
@jokerdino - livelovepasta.com/2011/05/nutella-mug-cake thought you might like it
 
@NathanOsman You know how we were talking about charsets and standards a while back and you said that UTF-8 had become pretty much the standard?
Just found a place where it isn't.
Freenode IRC
 
Oh?
That's an interesting discovery.
 
Working on an IRC bot as part of my Beam.pro bot project and I think it's returning ISO-8859-1
Least ways, it's returning something that isn't UTF-8 :P
And it's annoying
Or rather, it's just a little bit more work I have to do and a little bit uglier code :P
Whoa! My Beam.pro chatbot made the Monday issue of the Team Dubstep News.
Why, I have no idea. But it did!
o.O
 
1:30 AM
Man. That thing with Amazon seemingly reloading itself a ton is really annoying. It lags Firefox on my desktop. Something tells me their programming either has a memory leak (somehow) or is simply badly designed.
Because it's really bad
 
 
1 hour later…
2:53 AM
[ SmokeDetector ] Bad keyword in title: Cleanse FX A Weight Loss Cleanse by jenniferbeals30 on askubuntu.com
 
 
2 hours later…
4:29 AM
[ SmokeDetector ] Bad keyword in body, blacklisted website: It includes phosphatidylcholine by reubegorby on askubuntu.com
 
4:39 AM
Morning guys
 
5:18 AM
@NathanOsman thought you'ld get a kick out of this: "Queue is the worst word in the English language. 80% of its letters are redundant."
 
kos
Morning o/
 
5:41 AM
He @kos how are you
o_O
 
kos
@A.B. Not bad! Today I'm going to sit in front of the PC all day because I have to work here
@A.B. How about you?
 
To answer questions on the phone is not fun. I come later to my PC. and I've just missed my bus.
 
@hbdgaf Heh, good one :)
 
also, cryengine is on linux now...
 
The title of the last spam question was "It includes phosphatidylcholine". Call me stupid, but whenever you can't pronounce something, chances are you don't want to indiscriminately stick it in you. Especially when you're told to do it by a question posted on a website about Ubuntu. Slightly suspicious.
 
6:25 AM
0
Q: User-specific font problems in different applications

devnullI have a font-problem with different applications under ubuntu 15.04 (KeePassX, Google Chrome, Pidgin, etc.). In the first picture you can see that the font of the window title is ubuntu but the items below are some other font. In the second picture the whole dialog is in the wrong font. It shoul...

 
6:40 AM
I am not sure but let me know is this ok (helpful)?:-
0
A: How can I determine the OS architecture (32-bit or 64-bit) from a file on a disk?

PandyaI've tried following from ISO: Mount ISO on /media/cdrom and then /media/cdrom/casper/filesystem.squashfs at /mnt (ISO rooted at /mnt). OR If you have live disk then you have / of OS mounted by cdrom Following command print architecture: $ ls /mnt/lib/modules/*/kernel/arch x86 Conclusion: ...

 
 
1 hour later…
7:55 AM
Is this wrong?
-1
A: OpenJDK not working

A.B.For some reason the desktop file for OpenJDK is not installed, even though this file is listed. $ apt-file list openjdk-7-jre | grep desktop openjdk-7-jre: /usr/share/applications/openjdk-7-java.desktop openjdk-7-jre: /usr/share/applications/openjdk-7-policytool.desktop $ ls -l /usr/sha...

 
8:11 AM
@A.B. reading
Upvoted... I need one here
@Pandya You need to test on a 32-bit system too and provide both values...
;-)
 
@Faby thx and done
 
@NathanOsman That's why they use numbers in ingredients in the EU for all the additives they add... No one would eat cookies with Sodium ethyl para-hydroxybenzoate but'll happily eat E215!
@A.B. On the bus yet?
BTW: you can change ... to ! (makes it less suspicious)
 
@Fabby at work
 
8:31 AM
0
Q: Does kali distro not use /etc/environments file?

Mindaugas BernatavičiusI appended a path to /etc/environments file and now it is like so: mindaugas@Kali:~$ cat /etc/environment | tr ":" "\n" PATH="/usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /sbin" I logged out and logged in again. But my $PATH did not change: mindaugas@Kali:~$ echo $PATH | tr ":...

 
@Fabby what ls /lib/modules/*/kernel/arch outputs for you?
 
I am not sure that this command could work:
> cat /dev/sda >/dev/sdb
Can anyone verify this answer?:
2
A: How can i easily clone my entire System?

FrantiqueBoot from a live system, plug in the new HDD via USB (or another (s)ata cable, depending on your hardware), and start a 'Terminal'. Check what is the path for your old HDD (probably /dev/sda), and the new one as well (/dev/sdb), and issue this command: sudo dd if=/dev/sda of=/dev/sdb Please r...

 
/lib/modules/3.13.0-32-generic/kernel/arch:
x86
/lib/modules/3.13.0-49-generic/kernel/arch:
x86
/lib/modules/3.13.0-51-generic/kernel/arch:
x86
/lib/modules/3.13.0-52-generic/kernel/arch:
x86
/lib/modules/3.13.0-54-generic/kernel/arch:
x86
/lib/modules/3.13.0-55-generic/kernel/arch:
x86
@blade19899 That would work!
@Pandya Because the new answer by Nathan is better: it gives a possibility of doing it on an on-line and off-line system!
 
8:47 AM
@Fabby How then? cat just displays the content of a file it can read in? to clone an entire system would mean, it needs to be able to read every file that user has on his system?
Or am I missing something here?
 
Well, you would need to be root to do that, but it'd work...
I can't see any way it would not work...
Oh! I know: it wouldn't preserve the file attributes!
So it would work for root, but not for any other user....
>:)
Good catch!
 
@Fabby but OP of this question want to determine only from mounted disk not running OS! and what is future of this or this for it?
 
@Pandya Rreading
@Pandya I'm not telling you what to do... None of the duplicates will be deleted... They'll all stay where they are, but the other one will come higher in the search results...
Feel free to vote "leave open"
;-)
 
@Fabby Was that directed to me? :/
 
9:03 AM
your awk please =)
 
@blade19899 Yes, I already left a comment on that answer...
 
@Fabby Just refreshed that page ;)
 
@blade19899 ;-)
 
cat would be a very strange tool for this
 
@JourneymanGeek Thats what I was thinking
Compiling qTox, I get the following error:
> src/video/videoframe.cpp: In member function ‘bool VideoFrame::convertToRGB24(QSize)’:
src/video/videoframe.cpp:124:35: error: ‘av_free’ was not declared in this scope
av_free(frameRGB24->opaque);
^
src/video/videoframe.cpp:125:34: error: ‘av_frame_unref’ was not declared in this scope
av_frame_unref(frameRGB24);
^
src/video/videoframe.cpp:126:34: error: ‘av_frame_free’ was not declared in this scope
av_frame_free(&frameRGB24);
^
src/video/videoframe.cpp:129:31: error: ‘av_frame_alloc’ was not declared in this scope
 
Oli
9:19 AM
@blade19899 Looks like you're missing ffmpeg (development headers or otherwise, not sure)
 
@Oli I just installed ffmpeg and run make, but still same error
> ffmpeg:
Geïnstalleerd: 7:2.7.1~trusty
Kandidaat: 7:2.7.1~trusty
Versietabel:
*** 7:2.7.1~trusty 0
500 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
7:2.4.3-1ubuntu1~trusty6 0
500 http://ppa.launchpad.net/kirillshkrogalev/ffmpeg-next/ubuntu/ trusty/main amd64 Packages
 
Oli
You'll need the development files, not just the binary. libavcodec-dev looks like it might help but that's obviously libav-based not ffmpeg.
 
@Oli Already installed ?
@Oli Reading...
 
good answer in need of upvoting over bad answer!
 
> Cannot add PPA: 'ppa:jon-severinsson/ffmpeg'.
Please check that the PPA name or format is correct.
 
9:25 AM
Someone is going to try and clone his system with cat /dev/sda > /dev/sdb @JourneymanGeek @blade19899
(which is a neat, but bad idea...)
 
@Fabby That's what i was thinking
 
Please upvote the other answer...
 
9:41 AM
@A.B. I'm on mobile so can't awk
 
@Serg o/ =)
 
Oli
@Fabby Not sure linking to a distribution is neccessarily a link-only answer. Could certainly be a little more instructive but if their site dies, even the most informative answer based on Clonezilla will be useless. Same goes for Ubuntu and every answer on the site.
 
@Oli :D True!
(though I had to read it twice to understand...)
Think about the average 12-YO when you post comments as your mastery of the English language is somewhere in the 99 percentile...
(and we're not native speakers)
:P ;-)
@Oli Read it 4 times now and it's a beautifully constructed sentence, but OTT for even me at a first glance...
 
9:56 AM
0
Q: Package deb dependency problem

user120736I had created Debian package for an application using CPack.. efsagent.deb created..Bt while trying to install the package using the command 'dpkg -i efsagent.deb ' it fails with following error: dpkg: dependency problems prevent configuration of efsagent: efsagent depends on libssl (>= 0.9.8); ...

 
@Fabby ._.
dd if you must
fresh install + rsync + clever package dumps if you can
 
@JourneymanGeek I agree!
 
(this is vaguely how I backup my systems)
 
I have 2: System back-ups (boot a customised CloneZilla partition on an external HDD)
Data backups (BackInTime now, but going to have a look at TimeShift)
Yes, I've tested restores already! ;-)
 
I need to set up properish backups for my linix boxen
Windows backups are solid
My temporary fileserver's fedora, and there's a bunch of selinux settings I don't remember
System's 99% transient data tho
 
10:18 AM
(main copy of windows backups. I then make 2 more, some long running downloads, test VMs...)
 
10:31 AM
We'll compiling qTox on 14.04 is not gonna work :(
On to 15.04(virtualbox - I'm going stable only from now on)
 
@JourneymanGeek Laughing at your convincingly-breaking-a-system-for-a-non-technical-user
 
oh god
That one
Amusingly? The answer was actually something I dug up and was too embarassed to post.
So I basically told guys on chat "meh, free answer"
 
Another one: open the registry, manually change the keyboard to something that doesn't exist, log off.
netx logon: BSOD.
 
Thank god I never actually did that one.
 
Too bad!
 
10:36 AM
Oh, the beauty here is BSOD on demand.
 
A few in there I've done as well...
SysInternals BSOD
 
I wasn't very happy about that ;p
 
Wallpaper with a fake desktop.
@JourneymanGeek What happened?
 
Family politics ;p
 
Ah! Not work Politics! Good then!
 
10:40 AM
Well. I was working for my dad then
so kinda both
As I eventually told him "I'm happier fixing stuff than breaking them"
THIS is the right kinda sneaky ;p
 
Just upvoted it for the last comment!
;-) :P
 
If I recall correctly I posted the rest and then I was like.. waiiit a minute...
 
I can't edit this one: Dosen't and adaptor ...
instead of "doesn't" and "adapter"...
and the answer is spot on: 3 days ago my laptop fell off the passenger seat on the floor of the car when I hit the breaks...
... hard enough to unseat the drive from its SATA connector (so it didn't boot any more)...
When I reseated the drive, it just worked!
(whew!)
 
Oh
THIS one
I have a few 30 gig 2.5 inch HDDs I use as spares
I tend to just stick em into spare systems as needed
 
Using velcro?
 
10:52 AM
naw
generally super short term use
so I just put them inside the case, flat ;p
(actually, I have that drive in a homebrew nas setup I'm testing
 
user136984
What do I do if I meet a really friendly Boghog which wants to be friends, but I don't like its language, what do I do? I would feel really bad if I had to hit it to stop it biting me in loving friendship, so what do I do?
 
(and since my brother's moving out, I can do the build at his place and smuggle in the system later)
0_0
 
user136984
Do I just put armour on my thighs?
 
@ParanoidPanda Don't bother about armour: take a SPAS-12 to it...
 
11:05 AM
qTox on Ubuntu 15.04 compile error:
> ux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o closures.o src/platform/statusnotifier/closures.c
src/platform/statusnotifier/closures.c:23:25: fatal error: glib-object.h: No such file or directory
#include <glib-object.h>
^
compilation terminated.
Makefile:2253: recipe for target 'closures.o' failed
make: *** [closures.o] Error 1
 
user136984
@Fabby: The point was sort of that I didn't want to hurt a Boghog that wanted friendship, it would feel morally wrong to kill something because it really liked me and wanted to be friends... Perhaps if I used armour which would mean that I would not feel the pain, but the biting on their would translate to a vibration or sound which I could then understand, so that I could communicate with them, what do you think? :D
 
I like Space Opera with lots of shooting... ;)
 
user136984
:D
 
@ParanoidPanda a BFG9000 would do the trick too!
 
user136984
11:10 AM
Oh dear... All this thought of Boghogs has made my thighs saw...
 
user136984
Well, I have found a good place to post my odd questions! :D
 
user136984
0
Q: How to deal with a friendly Boghog without hurting it, and maintaining a postive relationship

Paranoid PandaIn the Hickhiker’s Guide to the Galaxy: Mostly Harmless, on the planet NowWhat there are the Boghogs, and their way of communicating is to bite each other very hard on the thigh, so my question is, if I were to ever encounter one and I wanted to have some sort of friendship with it without either...

 
user136984
Let's hope that they have a more humane way of dealing with a friendly Boghog than @Fabby's ways... :P
 

« first day (1729 days earlier)      last day (3242 days later) »