/srv/irclogs.ubuntu.com/2015/10/21/#ubuntu-discuss.txt

lotuspsychjegood morning to all01:37
Bashing-omlotuspsychje: o/ ... Is better now .. shift change !01:40
lotuspsychjehi there Bashing-om :p01:40
lotuspsychjeBashing-om: im early, so you cant run away yet lol01:41
Bashing-omlotuspsychje: Oh well .. I have 20 minutes yet befor I start think'n bout exit stage right .01:42
lotuspsychje:p01:42
lotuspsychjelets see whats new in ubuntu land01:43
Bashing-omlotuspsychje: We have had our dillies .. ask daftykins ! Seems settled down recently .01:46
lotuspsychjehmmm01:46
lotuspsychjehttp://www.phoronix.com/scan.php?page=news_item&px=R9-290-Ubuntu-15s01:51
lotuspsychjeseems like we gonna have screen issues on 15.10 also01:51
lotuspsychjehi philipballew02:33
Bashing-omOk Me eyes is crossing, and mind doing unwonderful things . Time to exit stage right . Yall take care of my light work .02:35
philipballewlotuspsychje, hey02:35
lotuspsychjesweet dreams Bashing-om02:35
philipballewlotuspsychje, up to anything fun in your part of the world?02:39
lotuspsychjephilipballew: im browsing softpedia linux news :p02:41
philipballewanything good lotuspsychje ?02:41
lotuspsychjehttp://linux.softpedia.com/blog/ubuntu-15-10-now-supports-steam-controllers-after-being-patched-494941.shtml02:43
lotuspsychjereading randomly02:43
lotuspsychje!isitoutyet05:55
ubot5Not yet!05:55
lordievaderGood morning07:47
lotuspsychje!wily08:45
ubot5Ubuntu 15.10 (Wily Werewolf) will be the 23rd release of Ubuntu. Discussion in #ubuntu+108:45
lotuspsychjefriday d-day08:46
TJ-Apple pie day :)08:51
lotuspsychje:p08:51
lotuspsychjebbl09:22
lordievaderThat's odd, usually it is a thursday.10:02
TJ-Impressive! OnceMe is still messing it up 12 hours later.10:48
OerHeks:-)10:48
cfhowlettTJ-, no he was here yesterday.  more like 24.  I THINK he's doing some fairly high level stuff with only a noob level of understanding. that's just like my opinion, man.10:50
TJ-cfhowlett: I know, but I was telling him how to do the ecryptfs stuff 12 hours ago and left for bed with the joke tthat the way he was going I'd likely see him at breakfast-time still working on it :)10:51
cfhowlettsometimes the best thing to do is ... back away.  at least he did his backups.10:52
Ben64any of you fine people good at java/android programming11:07
TJ-Depends what you mean by 'good' :p11:19
Ben64trying to move bits around11:19
TJ-literal, digital BInary digiTs ?11:20
Ben64and write it to NFC tags. instead of the normal binary 1,2,4,8,16,32... it goes 262144...33554432,1024...131072,4...51211:20
TJ-Big-endian?11:21
Ben64uh... maybe?11:21
Ben64http://hastebin.com/ipubivageg11:21
Ben64thats the order, from right to left the bits represent11:21
TJ-looks like it just needs to bit-shift to adjust from structure format to CPU11:22
Ben64hm11:23
TJ-e.g. 262144 >> 18 = 111:24
Ben64but that wouldn't work for everything11:24
TJ-No; I assume the NFC structures have different elements, which require different shifts11:25
Ben64nfc just gets raw data written to it11:25
TJ-lines 1-8 look like they are 1 byte using >> 18, lines 9-16 a byte using >> 10, etc11:26
Ben64at first i thought it was encrypted, because i couldn't find a pattern11:26
Ben64then i found a way to write the raw data to the nfc using my phone, and put a 1 in every place and recorded the value11:27
TJ-You need the tag specs for the tags you're working with. Maybe the NFC Forum has them, or you may need manufacturer/card specific specs11:28
Ben64what do you mean specs11:28
TJ-specifications for the tag data, usually NDEF11:29
Ben64yeah it doesn't do that, its very basic11:29
Ben64first two blocks are all that matter for this, just has 64 bits of information11:30
Ben64and just a number in hex11:30
TJ-http://nfc-forum.org/our-work/specifications-and-application-documents/specifications/nfc-forum-technical-specifications/11:30
TJ-If you're working with something non-standard you'd need the manufacturer specs. that detail the data layout and meaning11:31
TJ-Your data looks like, MSB first: 41-48, 49-56, 57-64, 1-8, 9-16, 17-24, 25-3211:34
Ben64just need to change 1234567890(decimal) to 100100100101100000001011010010 to 1001000000000000000000000000010000000101101001000000001100101 to 1200000080B48065(hex)11:38
Ben64took 4 minutes by hand :|11:39
Ben64and i think i made a typo11:39
TJ-LOL ... so split your decimal up into bytes, then bit-shift and insert the bits with an AND mask into the result11:40
Ben64not sure i understand that11:44
lotuspsychjeoO11:44
TJ-Ben64: something like this http://paste.ubuntu.com/12885228/12:07
Ben64oooooh12:14
TJ-Ben64: that was a bit too simplistic - after the bitwise AND the shift value needs to be adjusted to account for how far into 'input' the bits already are. you may need to move some bits right rather than left, too, to get tot heir absolute position in nfc_data12:16
Ben64yeah12:19
TJ-probably more like this, although these values seem to give the wrong result compared to what you gave earlier: http://paste.ubuntu.com/12885276/12:20
Ben64yeah some are still not in the right position but looks tweakable12:22
TJ-If you test with the value 3735928559 (0xDEADBEEF) you can see where the bits end up in the result12:29
Ben64how did you come up with the mask12:30
Ben64deadbeef = 3735928559 = 11011110101011011011111011101111 -> 0011011100000000000000000000000011000000101110110110111110101011 = 37000000C0BB6FAB12:37
Ben64the java comes up with 6F0003000000BB, which is missing a lot of bits12:39
TJ-yeah, as I said, you'll need to figure out the bit shifts correctly. I'm not sure you can do it that directly because NFC generally uses big-endian, although your pastebin seems to indicate byte-wise is little endian.12:44
TJ-This might be closer, assuming it is using little-endian. http://paste.ubuntu.com/12885429/12:51
Ben64281474976710655 gives an output of -ff00fcc0000112:54
Ben64should come out to FFFF3F00C0FFFFFF12:54
Ben64closer than before for sure12:54
Ben64not sure if the negative is avoidable12:55
TJ-if its called with 1,2,3,4 in sequence you can see the way the input maps to the output, and it looks correct for that least significant byte12:57
TJ-the -ve sign is because in Java all numbers are signed. You can ignore it12:57
TJ-if you call the program with 1,2,4,8,16,32,64,128,256,... you can check each bit position translates correctly, and adjust the algorithm if needed12:58
Ben64good idea12:58
TJ-you've got to cope with the NFC data format not mapping directly to 8-bit blocks, it appears to take the first 2 LSbs out first, then takes blocks of 8 bits at a time12:59
Ben64the nfc tag has 28 blocks of 4 bytes each13:00
Ben64the first two are the only ones that get any data13:00
TJ-Ben64: a bit of trial-and-error, but this seems to be swapping the bits correctly: http://paste.ubuntu.com/12885839/14:07
Ben64oh thats a lot different from what i came up with14:08
TJ-I realised the bits in each byte need order reversing, because it isn't true big-endian - can't just do a byte-order swap.14:09
Ben64hmm, doesn't seem to work at least here14:10
TJ-huh weird; the last 2 bytes of the result never get set. I only tested with the first 4!14:11
Ben64http://paste.ubuntu.com/12885866/ this worked except for the very last test14:11
TJ-ahh, no, just the last byte that doesn't get processed14:12
Ben64yeah it turns into -800000000000000014:13
TJ-I thought the bit mapping had to match the original pastebin? in that, the bit-order is least-significant first for each byte, rather than little-endian where it'd be most-significant first14:14
Ben64it does match14:14
Ben64tried 2^0 through 2^4714:15
Ben64only 2^33 is wrong, because of it being signed14:16
TJ-I can't see how the sign would affect 2^33, long is 64-bit14:28
Ben64because 2^33 gets moved over to 2^6314:29
TJ-oh, I see what you mean14:31
TJ-swap the System.out.println(Long.toString() ) to be System.out.format("%016x\n", nfc_data)14:32
Ben64:o14:35
Ben64works perfectly14:36
TJ-without a bit-order-swap it doesn't make sense, at least, the bit-order doesn't match the original pastebin14:40
Ben64how doesn't it?14:40
Ben64oh maybe you saw it left to right instead of right to left? i thought i said right to left14:40
TJ-the order of the bit-value increasing low-to-high. I assumed the first 'bit' (line) was the first bit on the wire14:42
Ben64the order is 1 10 11 100 101 111 .... and so on in binary14:44
Ben64scanned them into the system and wrote down what the output was from the system14:44
Ben64oh wait no i did 1 10 100 1000 10000 10000014:44
daftykinshey folks18:04
daftykinsdid our favourite encrypted /home and broken install customer from last night come back?18:04
OerHeksYes, he did.18:05
TJ-Oh yeah! was here at midday18:05
daftykinsoh dear Tux, was it painful?18:05
OerHeksWhen finished, he was anxious about the backup drive, if it gets stolen18:05
daftykinslast i saw he asked if a clean install to his / partition would be ok18:05
daftykinshahaha - we all know all he's got is cat pics like me ;)18:06
OerHeksSo i said, "ssd or hdd can both be encrypted"18:06
OerHeksSo how are you t'day, mightmares about encryption?18:07
daftykinsi think it would've gotten to that stage had i seen that user again today :)18:08
daftykinsall good here thanks, went out for a lunch with some friends then got to play with a new toy at a clients...18:09
* daftykins fumbles for a pic18:09
daftykinshow are we all doing?18:09
daftykinshttps://www.dropbox.com/s/zojfkvnxq744qxv/IMG_20151021_160816.jpg?dl=018:10
OerHekswow 7"18:10
daftykinsyep ideal for their almost-2-year-old18:11
daftykinshey i don't make much of what Apple are branching out into... https://www.dropbox.com/s/ndqwrjcjz8x3t31/IMG_20151021_185124.jpg?dl=018:11
daftykins:D18:11
OerHeksgreat ...18:13
OerHeksMS makes openssh opensource .. http://news.slashdot.org/story/15/10/20/1925226/microsoft-publishes-openssh-for-windows-code18:13
daftykinsooh!18:14
daftykinsoh Tux he's back...18:19
TJ-Is this my new nickname!?18:25
OerHeksTuxJ-18:26
daftykinsXD18:26
* TJ- rolls penguins18:27
daftykinsi prefer to sharpen them18:29
TJ-Wow! OnceMe reminds me of my father - if something can be done opposite to common-sense, it is!18:39
daftykins<OnceMe> TJ-, *I* am your father...18:40
daftykins"nooooooooo!"18:40
* TJ- digs a big hole and sticks 'father' back in it!18:40
OerHeksI remember, i was 8 years old, my father tried to fix the radio/cassette/recordplayer, when he was done, he had a pile of parts in his hand.. they weren't needed at all :-D18:42
daftykinsd'aww18:42
OerHeksfunny thing is, all worked18:42
daftykinsO_O18:42
daftykinsamazing18:42
OerHeksYes, so my logic got screwed up, now you know18:42
daftykinsis it me or have we particularly got some really stubborn users lately?18:43
daftykinsis winter bringing them all out of the woodwork somehow?18:43
OerHeksi just looked at the full moon calendar .. 6 days to go18:43
TJ-I think it's a conspiracy18:44
daftykinsoh no, not another full moon18:45
OerHeksi wanted to reply: ijar, thanks, but i am not going to suggest that url.18:45
daftykinswe'll get all the other utopic (14.10) holdouts ;)18:45
daftykinsjpds: yay18:49
OerHeks:-)18:50
daftykinsjpds: we were just discussing a coming full-moon which might bring all the rest of the 14.10 users out of the woodwork to be told they're EOL ;)18:50
jpdssigh18:50
daftykinsbut yeah, in just the last week i'd say the users are getting more awkward with us18:51
daftykins"i won't follow your link i want you to check this one" is just pants-on-head retarded to me18:51
Bashing-omdaftykins: My attitude for those difficult: Like the Bible says, shake the dust from your feet, and just walk away .18:53
daftykins*nod* i really do need to make some progress on letting those go :)18:54
jpdsMaybe we're just too nice as a community18:56
daftykinswell we all know i have my grumpy days!18:56
Bashing-omWell, I say, as a "community" they need to learn/be taught to get along .18:57
daftykinsit must say something that people running all the other distros flock there :)19:01
daftykinsDosTuMai: wb19:12
DosTuMaiThankies.19:12
DosTuMaiI have home-made duffnuts.19:17
daftykinswhat be they o019:17
DosTuMaiDoughnuts.19:18
DosTuMaiWith apple filling stuff that was messy to make. So tasty. Not as awesome as muffins, though.19:20
EriC^^i made doughnuts a couple times19:21
EriC^^( uploads mandatory pics )19:21
daftykins:D19:23
daftykinsi'm always saying how we can't really get proper doughnuts here, no company that specifically does 'em19:23
DosTuMaiThey're so easy to make!19:24
daftykinsmeh, effort :P19:25
DosTuMaiPffft, you're saying this to someone who bakes every morning before work...19:25
EriC^^http://imgur.com/iIIuqvg19:27
EriC^^they're real easy daftykins , but the part about dipping in oil and stuff sucks19:27
EriC^^my favorite to do is muffins or cupcakes, they're really easy and you dont need to wait for them or dip in oil or anything19:28
DosTuMaiThere is no bacon involved, so it's not that awesome...19:28
EriC^^and you can eat them like couple days later even, the doughnuts go bad the other day19:28
EriC^^lol19:29
EriC^^that was the first time they worked19:29
DosTuMaiThat's why my weight surprises my doctor... baked goods don't last even an ottosecond in my vicinity...19:29
EriC^^i didn't make them that much though cause it takes a lot of time and stuff19:30
EriC^^i tried lemon tart once it was pretty gross lol19:30
EriC^^but somehow edible19:30
wileeeheh, more powdered sugar please. ;)19:31
DosTuMaiUse too much lemon? I usually add a little lime and more sugar than the recipe suggests.19:31
wileeehere is a local bakery, my fave is the bacon maple bar, about once every couple of years. http://voodoodoughnut.com/doughnuts.php19:33
DosTuMaiThe company name gets my vote! =D19:34
wileeeit's a social cultural scene maaaan19:34
DosTuMaiOregon or Taiwan... umm, too far away.19:36
daftykinsEriC^^: :D19:38
daftykinsDosTuMai: before work!? someone sounds like a morning person :P19:38
DosTuMaiNot really, insomniac is closer to the truth. o_o19:38
daftykinsoh nasty19:40
daftykins < OnceMe> I think my usb is corrupted from some reason but its a fresh win819:40
daftykins^ even the flash drive wanted to get away :(19:41
DosTuMaixD19:41
daftykinsfrom the user, not Windows ;)19:41
daftykins(just for the record ;) )19:41
TJ-Wow! we seem to be going for a record for awkward/misleading support requests20:36
daftykins:D20:36
daftykinsit's one of those days20:36
OerHeksTJ-, i read that post earlier, but he was gone20:36
daftykinsi shall henceforth refer to this day as Wobbly Wednesday20:36
OerHeksmaybe i should have answered, so co-helpers knew20:36
OerHeks:-(20:36
TJ-It's been a wobbly week20:37
OerHeksYes, werewolf-week20:37
OerHeksLoLz20:37
OerHeksHAAAAAUUUUUWWWWWWLLL20:37
DosTuMaiMiaaaauuuuuuuu~~20:37
TJ-OerHeks: yeah, me too, I left it because the user was obviously doing things that were bound to break the system, and not even realise it20:37
DosTuMaiI mean, hawooooo?20:37
OerHeksPayday today, shopping tomorrow20:38
daftykins\o/20:39
daftykinswhat are we getting? :)20:39
DosTuMaiUbuntu phone? xD20:40
TJ-I don't believe it! Are those other channels deliberately feeding people to us!?20:40
daftykinsit's almost tempting to idle in them to find out20:41
OerHeksTJ-, probably that Elementary guy was suggested to upgrade, so he took a chance on us20:44
OerHeksor elementary is dead like #ubuntu-nl most of the time.20:44
TJ-possibly; that's the thing with a fork/derivate; there isn't the mass of users to provide a round the clock IRC help cover20:45
TJ-when you think how many millions use Ubuntu and yet the core helpers is probably no more than 25 ?20:45
OerHeksTJ-, that is what i noticed back in 2009 too .. so i thought, i stick in here, maybe i am to any use.20:46
OerHeksmost issues are solved trough askubuntu and forum i guess20:46
daftykinsi genuinely think that most of our 'customers' are people who are unwilling to help themselves20:48
OerHeksYou might think that, hence the level of quality of the question.20:49
TJ-sometimes I think the problem is more that they get lost in the wealth of reading they do, and quickly get confused. So many forum/blog/articles with random undated/unversioned instructions with no pedigree or rationale20:49
TJ-It takes a LOT of experience to pick the good instructions from the bad20:50
OerHeksTrue.20:51
daftykinslol this guy20:51
daftykinsTJ-: i was going to suggest an fsck next for this one, any better thoughts?20:51
daftykinsfsck from live session that is20:52
OerHeksi am so glad with askubuntu, with lettersize to important answers and the green icon to show a verified answer.20:52
TJ-daftykins: to remount r/w the OS will do an fsck in initrd20:52
TJ-daftykins: if it is constantly happening I suspect a memory fault, or a process/kernel module failing20:52
daftykinsso it would've already tried, or?20:52
daftykinsmmm memtest was gonna be another thought20:52
TJ-Yes, it should have, else it wouldn't be possible to fully boot20:53
daftykinsah ok20:54
OerHeksXenial Xerus21:01
OerHekshttp://www.markshuttleworth.com/archives/147921:02
TJ-what a load of pure tosh!21:02
daftykins:S21:03
OerHeksI like it.21:03
OerHeksThis werewolf thing is my most un-favorite one, i guess.21:04
OerHeksYes, i noticed nvidia-prime                                  0.6.2linuxmint1  too , from a mint ppa21:05
EriC^^xenial xerus21:06
EriC^^srsly?21:06
TJ-How is it even supposed to be pronounced?21:07
TJ-I'm just going to nickname it Little Porno21:07
daftykinsmaybe we should say 'the release we can't pronounce' -> TRWCP21:08
EriC^^i wonder what it means21:08
EriC^^this is a xerus http://imgc.allpostersimages.com/images/P-473-488-90/40/4050/38ALF00Z/posters/james-hager-cape-ground-squirrel-xerus-inauris-grooming-kgalagadi-transfrontier-park-south-africa.jpg21:09
EriC^^xenial means Hospitable, especially to visiting strangers or foreigners. friendly.21:10
TJ-That's Genial surely?21:10
EriC^^nope, https://en.wiktionary.org/wiki/xenial21:10
EriC^^it's pronounced ze-nial21:11
TJ-and everyone familiar with Xen hypervisor will pronounce it XN-E-AL not ZeeeKneeAl21:11
Bashing-omWhere I come from that is pronounced "dinner" .21:11
EriC^^lol21:12
daftykins:D21:12
TJ-Looks more like a rodent to me21:12
TJ-We shoot them21:12
EriC^^it's a squirrel21:13
TJ-So, lets call it Squirrel Dinner21:13
daftykinsmmm, ubuntu squirrel dinner21:13
EriC^^lol21:13
TJ-Bets on how many "how to pronounce XX" guides appear?21:13
TJ-That's a USD, not a USB :)21:14
daftykinsXD21:14
daftykinsput your USD on a USB21:14
TJ-as long as its an XX USB :p21:14
TJ-I prefer the porno angle; more tongue-in-cheek :D21:14
TJ-"Mark Shuttleworth, the Ubuntu XX poster boy" :)21:15
daftykinswily's already bad enough, i'm sure someone had a factoid about 'willy'21:15
OerHekswilly wonka21:15
TJ-Willy was a watchdog, sitting in the grass, along came a snake and bit him on the ... ask no questions tell no lies, I saw a beggar-man doing up his... flies are a nuscence, bugs are even worse, and that is the end of my clean... verse!21:16
=== DosTuMai is now known as GLaDOSTuMai
TJ-wow! major bug in do-release-upgrade just fixed in time for Wily release21:41
daftykinsD:21:44
daftykinswhat did it do?21:44
TJ-A bug I worked on/traced a few weeks ago where packages failed during install --configure (postinst script) stage with a particular permutation of systemd/upstart/sysv-init scripts, turns out it also affected do-r-u because it shipped a private copy of invoke-rc.d that had no awareness of systemd, so many package upgrades were failing with error 10021:49
daftykinsoh wow, private copy?21:53
TJ-yeah, a copy of the script included manually ages ago, rather than pulling in the latest21:53
daftykinsi'm trying to imagine how annoyed jog1 would be if he/she came back with a clean install that still had issues ;)21:54
TJ-it's going to need a 0-day SRU and a change to the meta-release config on the servers to get the fix out in time to not break the install images21:54
TJ-I'm sure the jog1 issue is the API mismatch21:55
daftykinswe really have had a day of the other-distros21:55
daftykinsmaybe i should pop into #debian with a question sometime soon... :)21:56
OerHeksNo, a mint ppa, i googled that issue. mint users suffer the same.21:56
TJ-They won't let me in!21:58
daftykinsare you banned? :o21:59
TJ-The chap with the mismatched gcc libs finally got sorted out in ##linux; and told not to mix .debs :)21:59
OerHekshe comes in as root21:59
EriC^^~root is banned? :o22:00
OerHeks~root@2a02:bla bla bla22:00
TJ-No... they auto-block any user with a hostmask that matches *!root*@*22:00
daftykinsah22:00
EriC^^that's stupid22:00
TJ-Yup22:00
TJ-Well, there loss! I used to help out in that channel a lot22:00
TJ-s/there/their/22:00
EriC^^that's silly, how should somebody be warned not to use root if he's a newbie22:00
OerHeksI used to hang there, to see users switch from #debian to #ubuntu with the same issue but then provoking ubuntu22:01
daftykinsXD22:01
daftykinsi remember you used to warn us22:01
OerHeksor the way around, that is also funny22:01
TJ-The thing is, it *isn't* even root, because most have the ~root which means it hasn't been confirmed by an identd, and even if it were, where's the proof the identd isn't using a mapping, and EVEN THEN... where's the proof 'root' == UID 0 ?22:01
OerHeksTJ-, admit, you like to tease22:02
TJ-Hell yes! I am challenging incorrect misconceptions and assumptions.22:02
TJ-I log-in as root... but NOT as UID 022:02
OerHeksI like that too .. "oerheks" assumes i am a woman :-D22:02
OerHeksbut wikipedia is right.22:02
daftykinsso another username is the actual root user, your root is another non-root user? XD22:03
daftykinss/another/a/22:04
TJ-Yes, UID 0 has a randomly generated username22:05
TJ-UID 1000 maps to 'root' and 'tj' :)22:05
daftykinso022:05
daftykinsis it truly so bad to warn users that come in as root@ in #ubuntu though, given it's more a new user ground?22:06
TJ-no worries warning them; but pre-banning entry, especially to Debian, supposed a fully community oriented distro?22:08
daftykinsoh that case is definitely too far22:09
TJ-Altering the username of UID is actually a good wau of smoking out some bad code that relies on username not UID22:09
TJ-s/of UID is/of UID 0 is/22:09
daftykinsoh dear the "when's it out?" is beginning :(22:31
TJ-it has been out for ages :D22:32
OerHeksis it out ?23:13
OerHeks:-D23:13

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!