« first day (1657 days earlier)      last day (3298 days later) » 

1:47 PM
I have a Moto X (2013)
best non-nexus android phone (imho)
as it is essentially a nexus phone with 2 or 3 moto features but otherwise stock android
...though the 2013 version is still on 4.4 :/ My Nexus 7 just got 5.1 yesterday
 
2:07 PM
@casey Thanks for the tip. I'll check that.
 
@casey how good is their batery life?
 
2:34 PM
@Braiam the moto X (2013) makes it through the day no problem but you will need to charge it nightly unless your usage is very minor and you have good towers around you
I don't know how the current version (2014) compares in that regard
 
@casey Why are the towers relevant? It spends less time looking for a signal?
 
@terdon cell towers
the worse the signal, the more battery is spent
 
Yes, why? Is the phone working to clean the signal or is it working to find towers or what?
 
increasing the radio strength to reach the tower
 
Ah, they can do that?
That seems strange. How can you increase the strength if you're receiving? I guess that's only for sending.
 
2:49 PM
@terdon Dunno. Could be both. It would know if it was not connected to the network.
 
2:59 PM
@terdon I presume some kind of heartbeat
 
@terdon worse signal reception means higher broadcast power (more batter usage) and if you are on someone elses towers (roaming), AT&T phones at least, will constantly look for its own towers at great expense of battery life
@Braiam you could probably get 2 days out of the moto X in theory. I have location stuff turned on, high precision GPS, google now and some other constant battery drains turned on and still get a day out of it
 
3:32 PM
@casey nah, signal strength is bad here... like very bad
 
@FaheemMitha i've no experience with the E or G models, just the X
 
@casey Ok.
The X does not appear to be currently available here, though I have not tried hard to find it.
Weird, the Moto E has an IPS screen. Is that right?
 
@Braiam I can sympathize. My old place had at best 1 bar of service. Still better than the people who come here with T-mobile to realize that true T-mobile towers stop at the county line and the AT&T towers here will only give 2G data to them. Those phones also want to constantly find home towers and have terrible battery performance.
and according to my friends that constant ATT roaming isn't cheap for T-mobile to sustain because they've all been contacted by T-Mobile and asked to switch to another carrier :)
 
4:12 PM
@casey shopping for stuff is a pain.
 
5:12 PM
@terdon Finished watching that debate (if you want to call it that). Malcolm really is a babbling idiot. Poor old sod.
The Bishop guy isn't much better.
 
5:30 PM
@Braiam well, Debian isn't the best choice for everyone.
 
@derobert I think I might go to a Debian release party Sunday.
 
7:00 PM
@Tim he explains the facility dmesg uses and how logging works, mentioning both log levels and categories (though only briefly mentioning the latter)
 
Tim
that doesnt explain the diference betw /var/log/kern.log and /var/log/dmesg
 
it does. dmesg is a kernel logging facility and kern.log is a syslog output file.
syslog is configurable, it can put stuff in any file you want. you configure it with categories and log levels
e.g. category mail, log levels except debug -> mail.log
all categories, log level debug -> debug.log
any application can write to syslog
through its API
and he specifically mentions that syslog picks up the kernel logs (and your syslog setup is likely putting those in kern.log)
 
@Tim kern.log is managed by (k|r)syslog, dmesg is managed by the kernel ring buffer directly
 
7:36 PM
@casey there is a /var/log/dmesg on my system
@Braiam like most answers on Super User, that one is just wrong. /var/log/dmesg/proc/kmsg
/var/log/dmesg (at least on Debian, I haven't answered that question because I'm not sure Ubuntu is the same) comes from /etc/init.d/bootlogs
do_start () {
        # Save kernel messages in /var/log/dmesg
        if which dmesg >/dev/null 2>&1
        then
                [ -f /var/log/dmesg ] && savelog -q -p -c 5 /var/log/dmesg
                dmesg -s 524288 > /var/log/dmesg
                chgrp adm /var/log/dmesg || :
        elif [ -c /dev/klog ]
        then
                [ -f /var/log/dmesg ] && savelog -q -p -c 5 /var/log/dmesg
                dd if=/dev/klog of=/var/log/dmesg &
                sleep 1
                kill $!
... that's where it comes from on Debian.
Quite a bit different than the dmesg command (which reads from the kernel ring buffer), or /var/log/kern.log
 
@derobert is that distro / kernel / init system dependent ?
 
@casey That's a Debian thing. I'm guessing the same on Ubuntu, but I haven't checked.
 
e.g. I don't even have a /dev/klog, but I do have a /dev/kmsg which as output that isnt quite what dmesg displays, but is very close
 
Init system doesn't matter. Its just a shell script that is run at boot up.
 
well, that does depend on an init system that runs init.d scripts, which is not all of them
but I'm sure debian will keep around a systemd service to do the same
 
7:43 PM
@casey Yeah, that's only if dmesg (command) isn't around—I think that's probably very old compatibility code.
 
but in any case, the contents of /var/log/dmseg are kernel derived whereas the other log files are syslogd derived but can contain information from the kernel in addition to userland
 
@casey all the ones on Debian do. If you configure you system not to run the distro's boot scripts, well, hopefully you know what you're doing. Else that's one of those times Unix lets you keep the pieces.
 
true
 
@casey yeah, except for the journal, which is systemd instead of syslog. Actually syslog is now systemd → syslog on Debian.
 
on debian by default, but it doesnt have to be
e.g. my systemd starts up syslog-ng to handle syslog logging
 
7:46 PM
right. you can change the config.
I've got a persistent journal configured on my systems. Not sure if that's the default now; it wasn't before.
 
yea, I have no idea what is default for my setup anymore. going on 4 years since the initial install and sometimes I wonder what I'd get if I did a fresh install with the same features...
 
only 4? :-P
 
this box, yes. I have older
still 4 years is long enough that mdadm + lvm + grub legacy (and due to situational constraints having to get a PCI wifi card up during the base install to contiue) was a bit of work. Now that + whole disk encryption is just a checkbox to mark during the install :)
 
@derobert heh, systemd disables that:
systemctl status bootlogs
● bootlogs.service
   Loaded: masked (/dev/null)
   Active: inactive (dead)
 
my /var/log/dmesg file dates back to the last time I booted into OpenRC instead of systemd
 
7:59 PM
mine a little more than a year
 
well I just stumbled upon a good reason not to use turbotax
 
@casey use mint!
I mean, I don't even live in US
 
if you want to amend a return that isnt the previous tax year, you cannot do it online and have to download turbotax for windows to process the file!
granted, it would probably work fine in WINE, but that isnt the point
 
Big Victory @spolsky! @EFF Busts Podcasting Patent Using Prior Art Found at @AskPatents http://bit.ly/1EiCNhX http://bit.ly/1yjidx0
cool
 
its always satisfying to see a patent troll have their patents nullified
 
8:08 PM
@derobert how useful do you find the OTG feature for your phone? I assume your phones have that.
Having watched a video of this, I'd say being able to attach a keyboard and mouse to the phone could be quite useful.
 
8:25 PM
@Braiam Right, true. But Ubuntu 14.04 in that question doesn't use systemd. Or wheezy.
@FaheemMitha I've used it, errr... maybe once or twice. Just to play with it.
 
@derobert So not so useful? I'd have expected it to be more useful.
 
Attaching a keyboard can be useful. More to a tablet. But I have a Bluetooth keyboard to use.
BT mouse as well, if I wanted to pretend the tablet was a laptop
 
@derobert With your phone? So it doesn't need a USB keyboard? You use wireless?
 
yes. Bluetooth works fine.
 
@derobert Ok. I've never seen a bluetooth keyboard. Have they been around long?
 
8:28 PM
as long as computers have had bluetooth
 
mine isn't new... it's like at least 5...
 
though before that were wireless keyboards using other bands
 
@derobert I presume upstart would do something similar
 
besides unregulated 2.4 ghz/bt
 
some wireless keyboards still do use proprietary protocols
 
8:29 PM
true, but the hassle of needing a usb dongle however small will keep me from ever purchasing one
 
@Braiam I think systemd does that because of journald, upstart didn't have a logger AFAIK.
 
I've earlier had bad experiences with wireless devices.
Signal connection problems. Battery issues in the devices.
 
I want to propose that any questions tagged kali-linux only be visible to other users that have posted in that tag. let the blind lead the blind but keep us blind from it
 
@FaheemMitha Yeah, eventually batteries will run dead.
@casey LOL
 
@derobert First law of thermodynamics. It's a bugger.
 
8:36 PM
that would be the second law, it'll bring down the end of the universe upon us
perhaps not the end, but at least marking a time upon which time ceases to be important
 
and perhaps not us, it's a long time from now.
 
almost certainly not us, our species will manage to kill itself off well before that sets in
before even the sun decides to do the job for us
 
but you can be sure until then, we'll keep getting beginner questions from elite hackers^W5kr1pt k1dd135 who failed to follow a simple HOWTO.
Sorry. Spelled that wrong.
 
@casey yes, second, sorry.
@casey personally I give homo sapiens sapiens a century or two at most.
It would only take another war like WW2, except with nukes.
 

« first day (1657 days earlier)      last day (3298 days later) »