IRC log of #maemo for Wednesday, 2018-10-17

*** dafox has quit IRC00:06
*** buZz has joined #maemo00:34
*** buZz is now known as Guest37800:35
*** Guest378 has joined #maemo00:35
*** Guest378 is now known as buZz00:37
*** Pali has quit IRC01:59
*** Kilroo has joined #maemo02:42
*** Kabouik has joined #maemo02:46
*** Kabouik_ has joined #maemo02:57
*** Kabouik has quit IRC02:59
*** BitEvil has joined #maemo03:05
*** SpeedEvil is now known as Guest3024503:05
*** Guest30245 has quit IRC03:06
*** BitEvil is now known as SpeedEvil03:10
*** infobot has quit IRC03:19
*** phlixi_ has quit IRC03:31
*** r00t|home has joined #maemo03:36
*** Juesto has quit IRC03:37
*** Konsieur has joined #maemo04:11
*** Kabouik_ has quit IRC04:14
*** Konsieur has quit IRC04:20
*** luke-jr has quit IRC04:22
*** luke-jr has joined #maemo04:23
*** luke-jr has quit IRC04:32
*** luke-jr has joined #maemo04:32
*** infobot has joined #maemo04:33
*** ChanServ sets mode: +v infobot04:33
*** Kilroo has quit IRC04:43
*** luke-jr has quit IRC04:45
*** luke-jr has joined #maemo04:45
*** luke-jr has quit IRC04:48
*** luke-jr has joined #maemo04:48
*** tm has quit IRC05:31
*** tm has joined #maemo05:35
*** r00t|home has quit IRC05:38
*** r00t|home has joined #maemo05:40
*** florian has quit IRC06:51
*** florian has joined #maemo06:52
*** pagurus has quit IRC07:06
*** pagurus has joined #maemo07:06
*** merlin1991 has quit IRC07:25
*** merlin1991 has joined #maemo07:25
brolin_empeyLow priority but interesting/novel problem to solve: Is it feasible to programatically insert the output of a shell command into a cell in a spreadsheet in Google Sheets?  My use case: I have a table (spreadsheet in Google Sheets) for tracking the resources of servers of a company.  One of the columns is for the amount of disk space actually used in the container as opposed to the maximum size/allocated size.  Currently I manually run df in a shell and copy07:31
brolin_empeyand paste part of the output into the table but it would be neat to automate this process so it could run regularly, such as every week or month.07:31
OksanaJust make sure Google Sheets does not take over your computer ;-)07:43
brolin_empeyOksana: Care to explain?  I do not try to use Google Sheets on the N900 with only 256 MiB of main memory. :-P07:44
OksanaAs in, if Google Sheets can execute command in a shell on a server, then Google Sheets could potentially take over the computer?08:24
KotCzarnyusing spreadsheet instead scripting+db to get automated data gathered seems like something done by someone completely computer illiterate08:34
KotCzarny'oh, hey, just run this vbs in your excel, dont worrry, it's a completely safe and harmless'08:36
*** alien2003 has quit IRC08:39
brolin_empeyOksana: I was thinking of having a scheduled task on a computer I control run a script/command that runs df on the containers, filters the output, and somehow updates the cells in Google Sheets.08:39
*** spiiroin has quit IRC08:40
brolin_empeyI think it may be possible but I have not researched it because the priority is too low but this problem interests me so I took the time to ask here.08:41
*** alien2003 has joined #maemo08:41
KotCzarnywhy not cacti?08:41
brolin_empeyKotCzarny: cacti?08:42
KotCzarnydata monitoring software08:42
KotCzarnywith big flexibility and plenty of features08:42
brolin_empeyActually, I think we are already using NewRelic on at least some servers;  maybe that is relevant here?08:43
KotCzarnymight be, if it does similar thing, dont rewrite the wheel08:45
brolin_empeyI do not use BSD so I do not use wheel. ;-)08:45
KotCzarnymonitoring software usually use snmp to gather standard data instead of running random things08:46
brolin_empeydf is standard in *nix, not a random thing.08:46
inzsnmpd can be made to run random things on request :)08:48
*** spiiroin has joined #maemo09:10
*** valerius has quit IRC09:22
*** valerius has joined #maemo09:23
*** Enrico_Menotti has quit IRC09:23
*** Enrico_Menotti has joined #maemo09:23
*** pagurus has quit IRC09:23
*** pagurus has joined #maemo09:23
*** dafox has joined #maemo09:25
*** dafox has quit IRC09:49
*** Pali has joined #maemo10:29
*** florian has quit IRC10:35
*** phlixi has joined #maemo10:38
*** geaaru_ has joined #maemo10:38
*** jskarvad has joined #maemo11:00
*** ecloud is now known as ecloud_wfh11:04
*** luke-jr has quit IRC11:44
*** luke-jr has joined #maemo11:45
*** luke-jr has quit IRC11:58
*** luke-jr has joined #maemo11:58
*** florian_kc is now known as florian12:09
*** luke-jr has quit IRC12:40
*** luke-jr has joined #maemo12:40
*** FalconSpy has quit IRC13:23
*** FalconSpy has joined #maemo13:23
*** FalconSpy has joined #maemo13:23
*** eMHa_ has quit IRC13:30
*** eMHa_ has joined #maemo13:56
*** r00t^home has joined #maemo13:59
*** r00t|home has quit IRC14:00
*** qwazix has quit IRC14:02
*** jskarvad_ has joined #maemo14:19
*** jskarvad has quit IRC14:22
*** spiiroin has quit IRC14:44
*** spiiroin has joined #maemo15:25
*** eMHa_ has quit IRC15:58
*** eMHa_ has joined #maemo15:59
*** eMHa has joined #maemo16:01
*** eMHa_ has quit IRC16:01
*** Venemo has joined #maemo16:31
*** florian_kc has joined #maemo16:50
*** bob_ has joined #maemo17:31
*** auenf has joined #maemo17:39
*** kraft has quit IRC17:49
*** auenfx8 has quit IRC17:49
*** ced117 has quit IRC17:49
*** chfoo[m] has quit IRC17:49
*** {-0-} has quit IRC17:49
*** peetah has quit IRC17:49
*** KotCzarny has quit IRC17:49
*** ced117 has joined #maemo17:51
*** chfoo[m] has joined #maemo18:08
*** Venemo has quit IRC18:22
*** emerson is now known as 07IAAJ8B318:36
*** qwazix has joined #maemo18:56
*** qwazix has quit IRC18:56
*** qwazix has joined #maemo18:56
*** buZz has quit IRC18:58
*** buZz has joined #maemo18:58
*** buZz is now known as Guest2478818:58
*** Guest24788 has joined #maemo18:58
*** Guest24788 is now known as buZz18:59
*** parazyd has quit IRC19:10
*** parazyd has joined #maemo19:10
*** parazyd has joined #maemo19:10
*** qwazix has quit IRC19:16
*** qwazix has joined #maemo19:19
*** qwazix has quit IRC19:19
*** qwazix has joined #maemo19:19
*** kraft has joined #maemo19:24
*** peetah has joined #maemo19:24
*** infobot has quit IRC19:27
*** Milhouse has quit IRC19:34
*** infobot has joined #maemo19:36
*** ChanServ sets mode: +v infobot19:36
*** dafox has joined #maemo19:52
*** Milhouse has joined #maemo20:04
*** KotCzarny has joined #maemo20:05
*** Venemo has joined #maemo20:06
*** eMHa has quit IRC20:10
*** florian has quit IRC20:13
*** florian_kc has quit IRC20:13
*** dafox has quit IRC20:14
*** dafox has joined #maemo20:15
*** dafox has quit IRC20:26
*** eMHa has joined #maemo20:56
*** florian_kc has joined #maemo21:12
*** geaaru_ has quit IRC21:18
*** florian_kc is now known as florian21:22
*** florian has quit IRC22:02
*** jskarvad_ has quit IRC22:24
*** dafox has joined #maemo23:22
*** rhombus has joined #maemo23:33
rhombusI keep losing data on my N900 when I mount the device23:34
rhombusas USB mass storage23:34
rhombusand I thought I was doing everything properly23:34
sicelo'losing data' - how?23:35
rhombussicelo: I write notes using the Notes app23:35
rhombussicelo: I try to remember to save regularly23:35
rhombussicelo: but sometimes I just close the app23:35
rhombussicelo: normally, when I open it again, I see all my recent entries23:36
rhombusbut even if I close everything, attach the device, mount it as mass storage...23:36
rhombus1. I don't see the most recent version23:36
rhombusand 2. when I unmount it and try and look at the notes file again, I get a message saying the file could not be restored23:37
rhombusI just lost another day's worth of notes :(23:37
rhombusIs there any way for me to recover this data?23:38
sicelono idea. that has never happened to me. i close the application without ever saving, and have never lost anything.23:39
sicelomaybe you should consider a different application, e.g. Xournal?23:39
rhombussicelo: are you routinely mounting the N900 as a USB mass storage device, or do you move everything over the network?23:40
rhombusI recall someone mentioning -- perhaps Jörg -- that you have to be very careful here or you can damage files23:41
siceloi don't mount usb storage much lately, but i've done that lots of times in my 7 years of ownership. never lost a note. yes, i probably don't use them as much as you do23:41
rhombushmmm23:41
rhombussicelo: where are the files stored? I have a directory called .documents, but that seems to contain old versions of the files23:42
siceloNotes seems to save in the last directory you opened something from.23:43
rhombusnot in some default?23:43
sicelono23:43
siceloyou can see the current save directory like so:23:44
rhombusbut Notes saves backup files somewhere, and those must be automatic...23:45
sicelogconftool-2 -g /apps/osso/osso-notes/default_folder23:45
siceloi am no expert, but from what i've seen, there's no separate backup. Notes just (tries to) cleanly save to the actual file each time. i could be wrong23:47
rhombusOk -- so clearly is something wrong here23:47
rhombus*there23:47
rhombusNotes is saving in a hidden directory -- is that normal?23:47
rhombus.documents23:47
siceloyes. normal23:47
siceloit is what you see as MyDocs/Documents in File Manager :)23:48
siceloand since you mount it to USB a lot, you would have notice. what is the host OS?23:48
rhombusBut in Filemanager there is no MyDocs23:48
rhombusjust Documents23:48
rhombusand it contains different files23:49
rhombusJust now it was Windows23:49
rhombusbut it has happened with Linux also23:49
sicelook. scratch out MyDocs. N900/Documents in File Manager23:50
rhombusdo you mean Nokia N900?23:51
siceloi wonder if you're not guilty of saving to Documents while it's mounted via USb, which is probably what may have been meant by Joerg23:51
rhombussicelo: I thought that's why he warned me to close everything before mounting via USB23:51
rhombuswhich is what I just did23:51
rhombusbut then I couldn't find the most current state of the file on the host machine23:52
rhombusand when I unmounted and tried to open it again with Notes, it gave me an error message saying the restore had failed23:52
rhombussomething can't be right here23:52
siceloif you write to Documents (or anywhere else that's accessible via File Manger) while the drive is mounted via USB, you will of course end up with a tricky situation23:52
rhombussicelo: I have the following files23:53
sicelohere's a page you might want to get familiar with: https://wiki.maemo.org/N900_filesystem23:54
siceloand, https://wiki.maemo.org/MyDocs_folder23:55
rhombusthanks23:56
*** Kabouik has joined #maemo23:57
rhombuscan I change the default folder with gconftool-2?23:58
siceloi don't know how Notes will like that. you could try.23:59

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