IRC log of #maemo for Monday, 2017-05-08

siceloi can see the menu, and currently set to Large. Even when I choose Huge, size remains the same00:00
Enrico_Menottisicelo Ehm... I realise I don't understand the difference between X Terminal, osso-xterm and xterm. From some googling, I've seen X Terminal = osso-xterm, if I'm right, and that's what comes with stock Maemo. But what about xterm? (Sorry for my ignorance.) :)00:01
siceloyou can install xterm from repos. works exactly like on your pc :)00:02
bencohsicelo: it works here00:03
bencohI wonder which font you're using (I used fixed) ... I dunno whether it works (or works the same way) with truetype/freetype fonts00:04
*** Sicelo009N has joined #maemo00:07
*** LauRoman has joined #maemo00:07
sicelohttp://paste.debian.net/931229/ - what i get when i start xterm00:08
Sicelo009Nnever dabbled in xfonts before. but i think i can troubleshoot this one00:13
*** florian has quit IRC00:19
*** Sicelo009N has quit IRC00:20
Enrico_Menottisicelo I had to search for a while, but I eventually found xterm in the extras repository. But no documentation?00:28
*** florian has joined #maemo00:29
siceloman pages you mean? Maemo does not have them :)00:35
siceloto save space evidently (although you can install a man page application .. not sure what it does exactly)00:35
bencohsicelo: right, I had to add misc to my x11 font path00:37
bencohxset +fp /usr/share/fonts/X11/misc should be enough00:37
bencoh(you can also change your xorg conf, but... do one single mistake there and maemo will fail to boot)00:38
bencoh(and I had to add misc/fixed fonts to n900 since I don't think they're packaged in maemo)00:39
bencohor you could probably try using a different fontset00:39
*** shentey has quit IRC00:39
siceloi definitely don't have /usr/share/fonts/X11/00:39
sicelomaemo sometimes ... :)00:40
bencohmine are built from the iso10646/utf8 fixed font set00:40
*** geaaru has quit IRC00:40
bencohyou can probably copy it from (pretty much) any system running Xorg00:40
sicelocopied from pc?00:40
siceloah yes00:40
bencohI might have built it from source a long time ago, but yes00:41
*** LauRoman has quit IRC00:41
*** xy2_ has quit IRC00:43
sicelobencoh: there is xfonts-base which seems to contain them .. 8MB on rootfs though00:58
*** kraft has quit IRC01:13
*** kraft has joined #maemo01:13
*** rosseaux_ has joined #maemo01:21
*** Pali has quit IRC01:22
*** eMHa_ has quit IRC01:22
*** Oksana has quit IRC01:22
*** warfare has quit IRC01:22
*** rosseaux has quit IRC01:22
*** rosseaux_ is now known as rosseaux01:22
bencohyou can always add a symlink I suppose (hope?)01:32
*** xy2_ has joined #maemo01:33
*** cyteen has joined #maemo01:41
*** Oksana has joined #maemo01:42
*** warfare has joined #maemo01:42
*** Pali has joined #maemo01:43
*** Kilroo has quit IRC02:14
*** xy2_ has quit IRC02:17
*** Kilroo has joined #maemo02:17
*** buZz has quit IRC02:33
*** Pali has quit IRC02:37
DocScrutinizer05manpages?02:47
DocScrutinizer05~jrtools02:47
infoboti heard jrtools is http://wiki.maemo.org/User:Joerg_rw/tools02:47
DocScrutinizer05http://wiki.maemo.org/User:Joerg_rw/tools#proper_bash_and_tools02:49
DocScrutinizer05apt-get install man-db-n90002:49
*** florian has quit IRC02:55
*** atk has quit IRC03:00
*** atk has joined #maemo03:00
*** cyteen has quit IRC03:14
*** infobot has quit IRC03:20
*** infobot has joined #maemo03:22
*** LouisA has quit IRC03:46
*** sunshavi has joined #maemo03:48
*** buZz has joined #maemo04:06
*** buZz has joined #maemo04:15
*** LouisA has joined #maemo04:34
*** LauRoman has joined #maemo05:12
*** LouisA has quit IRC05:36
*** vahe has joined #maemo06:10
*** AndrewX192 has quit IRC08:00
*** spiiroin has quit IRC08:18
*** spiiroin has joined #maemo08:25
*** AndrewX192 has joined #maemo08:50
*** dafox has joined #maemo09:01
*** vahe has quit IRC09:19
*** LauRoman has quit IRC09:19
*** atk has quit IRC09:19
*** Oksana has quit IRC09:19
*** warfare has quit IRC09:19
*** LauRoman|Alt has joined #maemo09:19
*** warfare has joined #maemo09:19
*** vahe has joined #maemo09:20
*** atk has joined #maemo09:23
*** Oksana has joined #maemo09:23
*** dafox has quit IRC09:30
*** sunshavi has quit IRC09:37
*** dmth|intevation has joined #maemo09:49
*** arcean has joined #maemo10:11
*** arcean has quit IRC10:26
*** eMHa_ has joined #maemo10:27
*** frals has quit IRC10:38
*** frals has joined #maemo10:38
*** frals has joined #maemo10:38
*** florian has joined #maemo10:41
*** geaaru has joined #maemo10:45
*** Kabouik has joined #maemo10:53
*** cyteen has joined #maemo10:59
*** Pali has joined #maemo11:52
*** Kabouik has quit IRC12:22
*** Pali has quit IRC12:23
*** Pali has joined #maemo12:24
*** timeless has quit IRC12:24
*** timeless has joined #maemo12:25
*** ecloud has quit IRC13:07
*** ecloud has joined #maemo13:17
*** vahe has quit IRC13:23
*** eMHa_ has quit IRC13:24
*** turnit has joined #maemo13:25
*** turnit has quit IRC13:44
*** xy2_ has joined #maemo13:50
*** LouisA has joined #maemo14:01
*** hurrian has joined #maemo14:07
*** hurrian_ has quit IRC14:09
*** cyteen has quit IRC14:17
*** Kabouik has joined #maemo14:30
*** eMHa_ has joined #maemo14:58
xesoh please... https://arstechnica.com/security/2017/05/theres-a-spike-in-android-apps-that-covertly-listen-for-inaudible-sounds-in-ads/14:58
*** eMHa_ has quit IRC15:05
*** eMHa_ has joined #maemo15:08
*** chadi has left #maemo15:10
*** at1as has joined #maemo15:28
DocScrutinizer05huh?15:32
DocScrutinizer05april's fool?15:32
DocScrutinizer05ohnoes! that's serious I guess15:32
DocScrutinizer05http://www.shopkick.com/15:36
*** vahe has joined #maemo15:36
DocScrutinizer05btw is that just me? my brain explodes, parsing >> Enabling the file effective capability bit implies that any file permitted or inheritable capability that causes a thread to acquire the corresponding permitted capability during an execve(2) (see the transformation rules described below) will also acquire that capability in its effective set.<<15:37
keriolinux documentation lul15:38
*** xes_ has joined #maemo15:43
*** xes has quit IRC15:46
* DocScrutinizer05 wishes man pages (e.g man ip) would clearly state which capabilities the process needs to have granted to execute particular commands15:51
DocScrutinizer05/me also wonders why on his suse system >> saturn:~ # getfattr `which ping` ;-->$ZILCH;     saturn:~ # getcap `which ping`  ;--> /usr/bin/ping = cap_net_raw+ep <<15:54
DocScrutinizer05selinux, apparmor?15:54
*** louisdk has joined #maemo16:07
DocScrutinizer05ooh ok. getfattr --match=.* does the trick16:22
*** cyteen has joined #maemo16:25
*** xy2_ has quit IRC16:31
*** L29Ah has quit IRC16:57
*** florian has quit IRC17:14
*** cyteen has quit IRC17:17
*** Kabouik has quit IRC17:28
*** dmth|intevation has quit IRC17:31
kerioDocScrutinizer05: meanwhile freebsd can block raw sockets in jails even if you're literally uid 017:45
kerio:317:45
DocScrutinizer05suresure17:45
kerioit actually does so by default17:45
kerioyou have to reenable raw sockets17:45
kerioadmittedly there's no granularity there17:46
DocScrutinizer05for your leisure: https://people.eecs.berkeley.edu/~daw/papers/setuid-usenix02.pdf (dates back to 2002 or somesuch)17:46
kerioye but try freebsd tho ;o17:46
DocScrutinizer05and https://superuser.com/questions/710253/allow-non-root-process-to-bind-to-port-80-and-44317:46
kerioit's like if linux was actually sane17:46
keriothe whole init system is written in bourne shell ;o17:47
keriothe installer too17:47
DocScrutinizer05>>systemd, the new service supervision and init system that can be found in some Linux distributions, is intended to do what inetd can do. However, it doesn't use a suite of small self-contained programs. One has to audit systemd in its entirety, unfortunately.<<17:47
kerioit does have some pretty heavy monolithic parts17:48
keriolike zfs17:48
keriobut zfs is actually well written17:48
* DocScrutinizer05 wonders if fremantle ubifs supports xattr17:49
keriowe should migrate fremantle to zfs17:49
*** eMHa_ has quit IRC17:49
DocScrutinizer05start with nuking optification!17:50
kerioit only requires a hard minimum of 64mb17:50
keriowhat's 25% of your total ram, after all17:50
*** eMHa_ has joined #maemo17:55
kerioDocScrutinizer05: i think we can't freebsd, it doesn't have any filesystems for raw flash17:57
kerio:(17:57
keriowait i lie17:57
kerioit has a nandfs17:57
DocScrutinizer05I bet you do, here17:57
*** sunshavi has joined #maemo17:57
DocScrutinizer05I think freebsd is on a lot of embedded stuff17:57
kerioare those embedded things actually running with just raw flash tho'17:58
kerio?17:58
DocScrutinizer05no idea17:58
kerioi thought the usual nowadays was eMMC17:58
kerioDocScrutinizer05: btw i still haven't figured out how asterisk works :<18:03
*** cyphase has quit IRC18:12
*** cyphase has joined #maemo18:16
bencohkerio: you could always load freebsd from nand and boot with an emmc-located rootfs anyway ;)18:18
keriosure18:18
bencoh(load kernel* from nand)18:18
kerio...and use the internal nand as L2ARC ;o18:19
bencoh:D18:19
keriopraise the zfs18:19
bencohriight, this device has too much ram to spare18:19
bencohlet's add some dedup18:20
DocScrutinizer05LOL18:20
keriohey, the iphone is getting a copy-on-write filesystem18:21
* DocScrutinizer05 wonders if a fs based on hashing single blocks (4k) instead of whole files might work18:21
keriohashing?18:22
bencohzfs dedup is probably not whole-file-based already18:22
kerioyes, it's block-based18:22
keriowith the size being (up to) the dataset's recordsize or (exactly) the zvol's volblocksize18:23
DocScrutinizer05what btrfs and git do: store files only under their hash'name' and have the directory refer to those. automatically de-duplicates18:23
keriothat's not really what btrfs does18:23
kerioi'm pretty sure that btrfs is also block-based18:23
kerioand no, it doesn't automatically dedup18:23
DocScrutinizer05hmm, probably you're right18:23
DocScrutinizer05git does, though18:23
kerioit does refcounting if you snapshot and clone18:23
kerioand you can copy and tell it to not actually write the blocks18:24
DocScrutinizer05I know how btrfs works18:24
DocScrutinizer05in general18:24
keriowell, zfs also has an optional block-level dedup18:24
keriowhich i believe is not avaliable in btrfs (yet?)18:24
DocScrutinizer05don't know18:24
DocScrutinizer05I only seem to recal btrfs does dedup, no idea *how*18:25
DocScrutinizer05I was assuming, probably incorrectly18:25
bencoh/dev/null is a pretty good dedup option18:25
kerioit's not dedup in the way people would think of it18:25
kerioit's like...18:26
kerioopportunistic dedup?18:26
DocScrutinizer05anyway block level hash/dedup seems like a smart approach18:26
kerioglobal dedup is probably a bad idea tbh18:26
keriounless your needs are very peculiar18:26
DocScrutinizer05hm?18:27
keriohow often do you think you'll have block-aligned duplicated data in your filesystem?18:27
keriowith the block being quite big by default, like 128kb18:27
DocScrutinizer05more often than you think18:27
keriosure if you copy a container you'll have perfect deduplication18:28
DocScrutinizer05huh, who's using 128k blocks?18:28
keriobut you can just do it explicitly with a snapshot and a clone18:28
kerioDocScrutinizer05: the default recordsize for filesystem datasets in zfs is 128k18:28
keriowhich means that the blocks are up to 128kb18:28
DocScrutinizer05zfs, meh18:28
kerioyeah better to use the cheap penguin clone with the broken parity redundancy :^)18:28
DocScrutinizer05huh?18:29
kerioraid5 and the like18:29
* DocScrutinizer05 heads out18:29
DocScrutinizer05can't see raid5 in embedded18:30
DocScrutinizer05no raid at all, to be honnest18:30
keriostriping could be an option if having more storage devices ends up being cheaper than having one bigger storage device18:31
kerioalthough that's probably seldom the case18:31
DocScrutinizer05doing hash over a block in buffer before writing it to storage, then slightly modify metadata though seems a feasible approach18:31
DocScrutinizer05just add one layer of redirection/abstraction, where dir entries don't list block numbers for a file but rather they list block hashes18:33
keriowell, log-structured filesystems count as copy-on-write18:33
kerioand there's *no way* you're doing full dedup on an embedded device18:33
DocScrutinizer05aha18:33
keriothat one layer of indirection ends up requiring either a lot of round trips to nonvolatile storage or an ungodly amount of ram18:34
DocScrutinizer05huh? why?18:34
keriobecause every block has to be in there18:34
DocScrutinizer05no18:34
kerioyes18:35
DocScrutinizer05I *could* implement that shit in bashscript even18:35
DocScrutinizer05and it just writes 4k files called /.storage/7d643nfcj64393774fhswke7318:35
DocScrutinizer05and when said file already exists then no write18:36
DocScrutinizer05a 40k file /foo/bar would actually resemble a "symlink" of sorts, pointing to 10 block file like /.storage/7d643nfcj64393774fhswke7318:37
DocScrutinizer05writing a second identical file /foo2/barX wouldn't create any data blocks but only generate same "symlink" list of 10 data block file hashes18:38
DocScrutinizer05and writing a 4GB all-zeroes file would utomatically colape to only one data block18:39
DocScrutinizer05since blockN=block2=block18:40
DocScrutinizer05118:40
kerioi mean18:43
*** chfoo[m] has quit IRC18:43
keriothe usual recommendation for zfs dedup are *five gigabytes* per tb of storage18:43
kerioof ram, that is18:43
DocScrutinizer05I'm NOT talking about zfs18:43
keriobut i'm sure you could do it in shellscirpt18:43
kerio*script18:43
*** Wizzup has quit IRC18:45
*** Wizzup has joined #maemo18:46
*** chfoo[m] has joined #maemo18:46
*** dafox has joined #maemo18:47
DocScrutinizer05I'm talking about basically doing a md5sum (or sha*) over a 4k block in filesystem buffer and then writing it to a "regular" filesystem under the name of that hash18:48
DocScrutinizer05then create a file with the name that was originally meant for that 4k block, and write the hash name into it18:49
DocScrutinizer05you're free to call that a "symlink" since in fact it works pretty similar18:50
DocScrutinizer05just this "symlink" has a list of file destinations instead a single one18:50
DocScrutinizer05and for read you concatenate the symlink destination data18:51
DocScrutinizer05when ever any process writes a block with same hash (aka same content) then the data block already exists and thus doesn't need to get rewritten18:52
DocScrutinizer05the problem with this approach is to *delete* data blocks. You need to do a garbage collection of sorts, or alternatively you had to count links just like with hardlinks18:53
DocScrutinizer05probbaly the GC can get simplified when each unlink() appends the list of hashes to a journal, so the GC only needs to check those data blocks for other links pointing to them18:55
*** xy2_ has joined #maemo18:56
DocScrutinizer05or you implement refcount just like in inode based fs18:56
DocScrutinizer05("symlink" since in fact it works pretty similar) for files <4k it actually IS a symlink18:58
DocScrutinizer05yes, you need some RAM for the GC. But not for regular use19:02
DocScrutinizer05it's slower than a 'normal' fs - unless you have duplicate blocks in a file19:03
DocScrutinizer05deduplication is pretty much instant, it basically comes for free19:05
DocScrutinizer05except for the hash calculation19:05
DocScrutinizer05thinking about it, I wonder if ubifs works similar already19:06
*** xes_ is now known as xes19:08
*** platicus1 has quit IRC19:08
*** platicus1 has joined #maemo19:13
DocScrutinizer05thimk about all the read-modify-write procedures that edit files and then write them back completely under a "new" name. They only need to write the changed 4k blocks, reusing the already existing unchanged blocks19:14
*** L29Ah has joined #maemo19:19
*** dafox has quit IRC19:19
DocScrutinizer05PoC perfectly feasuble in less than 100 lines bashscript, for a   hashfs-read /foo/bar|hashfs-write /foo/bar2; hashfs-ls /foo; hashfs-rm /foo/bar   (without the GC though)19:23
*** platicus1 has quit IRC19:24
*** xorly has joined #maemo19:25
*** cyteen has joined #maemo19:25
*** platicus1 has joined #maemo19:28
*** platicus1 has quit IRC19:38
*** platicus1 has joined #maemo19:40
*** L29Ah has left #maemo19:56
*** L29Ah has joined #maemo20:01
*** norayr has joined #maemo20:12
*** cyteen has quit IRC20:22
*** cyteen has joined #maemo20:32
*** eMHa_ has quit IRC21:03
*** spiiroin has quit IRC21:06
*** vahe has quit IRC21:12
*** geaaru has quit IRC21:13
*** louisdk has quit IRC21:17
*** spiiroin has joined #maemo21:19
*** LouisA has quit IRC21:19
bencohhttp://maemo.org/packages/view/qmledit-qmlpreview/ seems nice :)21:39
*** eMHa_ has joined #maemo21:41
*** xy2_ has quit IRC21:42
*** xy2_ has joined #maemo21:50
*** auenf has quit IRC22:04
*** auenf has joined #maemo22:04
buZzanyone have a link to try that hildon port to devuan?22:12
*** xy2_ has quit IRC22:15
*** xy2_ has joined #maemo22:16
*** herekun has quit IRC22:25
*** norayr has quit IRC22:29
*** heroux has quit IRC22:59
*** heroux has joined #maemo22:59
*** pagurus has quit IRC23:04
*** pagurus has joined #maemo23:05
*** crazyguy` has joined #maemo23:13
*** florian has joined #maemo23:19
*** xy2_ has quit IRC23:20
*** crazyguy` has quit IRC23:25
*** heroux has quit IRC23:27
*** crazyguy` has joined #maemo23:28
*** heroux has joined #maemo23:39
*** crazyguy` has quit IRC23:52
*** crazyguy` has joined #maemo23:57

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