*** dafox has quit IRC | 00:06 | |
*** buZz has joined #maemo | 00:34 | |
*** buZz is now known as Guest378 | 00:35 | |
*** Guest378 has joined #maemo | 00:35 | |
*** Guest378 is now known as buZz | 00:37 | |
*** Pali has quit IRC | 01:59 | |
*** Kilroo has joined #maemo | 02:42 | |
*** Kabouik has joined #maemo | 02:46 | |
*** Kabouik_ has joined #maemo | 02:57 | |
*** Kabouik has quit IRC | 02:59 | |
*** BitEvil has joined #maemo | 03:05 | |
*** SpeedEvil is now known as Guest30245 | 03:05 | |
*** Guest30245 has quit IRC | 03:06 | |
*** BitEvil is now known as SpeedEvil | 03:10 | |
*** infobot has quit IRC | 03:19 | |
*** phlixi_ has quit IRC | 03:31 | |
*** r00t|home has joined #maemo | 03:36 | |
*** Juesto has quit IRC | 03:37 | |
*** Konsieur has joined #maemo | 04:11 | |
*** Kabouik_ has quit IRC | 04:14 | |
*** Konsieur has quit IRC | 04:20 | |
*** luke-jr has quit IRC | 04:22 | |
*** luke-jr has joined #maemo | 04:23 | |
*** luke-jr has quit IRC | 04:32 | |
*** luke-jr has joined #maemo | 04:32 | |
*** infobot has joined #maemo | 04:33 | |
*** ChanServ sets mode: +v infobot | 04:33 | |
*** Kilroo has quit IRC | 04:43 | |
*** luke-jr has quit IRC | 04:45 | |
*** luke-jr has joined #maemo | 04:45 | |
*** luke-jr has quit IRC | 04:48 | |
*** luke-jr has joined #maemo | 04:48 | |
*** tm has quit IRC | 05:31 | |
*** tm has joined #maemo | 05:35 | |
*** r00t|home has quit IRC | 05:38 | |
*** r00t|home has joined #maemo | 05:40 | |
*** florian has quit IRC | 06:51 | |
*** florian has joined #maemo | 06:52 | |
*** pagurus has quit IRC | 07:06 | |
*** pagurus has joined #maemo | 07:06 | |
*** merlin1991 has quit IRC | 07:25 | |
*** merlin1991 has joined #maemo | 07:25 | |
brolin_empey | Low 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 copy | 07:31 |
---|---|---|
brolin_empey | and 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 |
Oksana | Just make sure Google Sheets does not take over your computer ;-) | 07:43 |
brolin_empey | Oksana: Care to explain? I do not try to use Google Sheets on the N900 with only 256 MiB of main memory. :-P | 07:44 |
Oksana | As in, if Google Sheets can execute command in a shell on a server, then Google Sheets could potentially take over the computer? | 08:24 |
KotCzarny | using spreadsheet instead scripting+db to get automated data gathered seems like something done by someone completely computer illiterate | 08: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 IRC | 08:39 | |
brolin_empey | Oksana: 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 IRC | 08:40 | |
brolin_empey | I 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 #maemo | 08:41 | |
KotCzarny | why not cacti? | 08:41 |
brolin_empey | KotCzarny: cacti? | 08:42 |
KotCzarny | data monitoring software | 08:42 |
KotCzarny | with big flexibility and plenty of features | 08:42 |
brolin_empey | Actually, I think we are already using NewRelic on at least some servers; maybe that is relevant here? | 08:43 |
KotCzarny | might be, if it does similar thing, dont rewrite the wheel | 08:45 |
brolin_empey | I do not use BSD so I do not use wheel. ;-) | 08:45 |
KotCzarny | monitoring software usually use snmp to gather standard data instead of running random things | 08:46 |
brolin_empey | df is standard in *nix, not a random thing. | 08:46 |
inz | snmpd can be made to run random things on request :) | 08:48 |
*** spiiroin has joined #maemo | 09:10 | |
*** valerius has quit IRC | 09:22 | |
*** valerius has joined #maemo | 09:23 | |
*** Enrico_Menotti has quit IRC | 09:23 | |
*** Enrico_Menotti has joined #maemo | 09:23 | |
*** pagurus has quit IRC | 09:23 | |
*** pagurus has joined #maemo | 09:23 | |
*** dafox has joined #maemo | 09:25 | |
*** dafox has quit IRC | 09:49 | |
*** Pali has joined #maemo | 10:29 | |
*** florian has quit IRC | 10:35 | |
*** phlixi has joined #maemo | 10:38 | |
*** geaaru_ has joined #maemo | 10:38 | |
*** jskarvad has joined #maemo | 11:00 | |
*** ecloud is now known as ecloud_wfh | 11:04 | |
*** luke-jr has quit IRC | 11:44 | |
*** luke-jr has joined #maemo | 11:45 | |
*** luke-jr has quit IRC | 11:58 | |
*** luke-jr has joined #maemo | 11:58 | |
*** florian_kc is now known as florian | 12:09 | |
*** luke-jr has quit IRC | 12:40 | |
*** luke-jr has joined #maemo | 12:40 | |
*** FalconSpy has quit IRC | 13:23 | |
*** FalconSpy has joined #maemo | 13:23 | |
*** FalconSpy has joined #maemo | 13:23 | |
*** eMHa_ has quit IRC | 13:30 | |
*** eMHa_ has joined #maemo | 13:56 | |
*** r00t^home has joined #maemo | 13:59 | |
*** r00t|home has quit IRC | 14:00 | |
*** qwazix has quit IRC | 14:02 | |
*** jskarvad_ has joined #maemo | 14:19 | |
*** jskarvad has quit IRC | 14:22 | |
*** spiiroin has quit IRC | 14:44 | |
*** spiiroin has joined #maemo | 15:25 | |
*** eMHa_ has quit IRC | 15:58 | |
*** eMHa_ has joined #maemo | 15:59 | |
*** eMHa has joined #maemo | 16:01 | |
*** eMHa_ has quit IRC | 16:01 | |
*** Venemo has joined #maemo | 16:31 | |
*** florian_kc has joined #maemo | 16:50 | |
*** bob_ has joined #maemo | 17:31 | |
*** auenf has joined #maemo | 17:39 | |
*** kraft has quit IRC | 17:49 | |
*** auenfx8 has quit IRC | 17:49 | |
*** ced117 has quit IRC | 17:49 | |
*** chfoo[m] has quit IRC | 17:49 | |
*** {-0-} has quit IRC | 17:49 | |
*** peetah has quit IRC | 17:49 | |
*** KotCzarny has quit IRC | 17:49 | |
*** ced117 has joined #maemo | 17:51 | |
*** chfoo[m] has joined #maemo | 18:08 | |
*** Venemo has quit IRC | 18:22 | |
*** emerson is now known as 07IAAJ8B3 | 18:36 | |
*** qwazix has joined #maemo | 18:56 | |
*** qwazix has quit IRC | 18:56 | |
*** qwazix has joined #maemo | 18:56 | |
*** buZz has quit IRC | 18:58 | |
*** buZz has joined #maemo | 18:58 | |
*** buZz is now known as Guest24788 | 18:58 | |
*** Guest24788 has joined #maemo | 18:58 | |
*** Guest24788 is now known as buZz | 18:59 | |
*** parazyd has quit IRC | 19:10 | |
*** parazyd has joined #maemo | 19:10 | |
*** parazyd has joined #maemo | 19:10 | |
*** qwazix has quit IRC | 19:16 | |
*** qwazix has joined #maemo | 19:19 | |
*** qwazix has quit IRC | 19:19 | |
*** qwazix has joined #maemo | 19:19 | |
*** kraft has joined #maemo | 19:24 | |
*** peetah has joined #maemo | 19:24 | |
*** infobot has quit IRC | 19:27 | |
*** Milhouse has quit IRC | 19:34 | |
*** infobot has joined #maemo | 19:36 | |
*** ChanServ sets mode: +v infobot | 19:36 | |
*** dafox has joined #maemo | 19:52 | |
*** Milhouse has joined #maemo | 20:04 | |
*** KotCzarny has joined #maemo | 20:05 | |
*** Venemo has joined #maemo | 20:06 | |
*** eMHa has quit IRC | 20:10 | |
*** florian has quit IRC | 20:13 | |
*** florian_kc has quit IRC | 20:13 | |
*** dafox has quit IRC | 20:14 | |
*** dafox has joined #maemo | 20:15 | |
*** dafox has quit IRC | 20:26 | |
*** eMHa has joined #maemo | 20:56 | |
*** florian_kc has joined #maemo | 21:12 | |
*** geaaru_ has quit IRC | 21:18 | |
*** florian_kc is now known as florian | 21:22 | |
*** florian has quit IRC | 22:02 | |
*** jskarvad_ has quit IRC | 22:24 | |
*** dafox has joined #maemo | 23:22 | |
*** rhombus has joined #maemo | 23:33 | |
rhombus | I keep losing data on my N900 when I mount the device | 23:34 |
rhombus | as USB mass storage | 23:34 |
rhombus | and I thought I was doing everything properly | 23:34 |
sicelo | 'losing data' - how? | 23:35 |
rhombus | sicelo: I write notes using the Notes app | 23:35 |
rhombus | sicelo: I try to remember to save regularly | 23:35 |
rhombus | sicelo: but sometimes I just close the app | 23:35 |
rhombus | sicelo: normally, when I open it again, I see all my recent entries | 23:36 |
rhombus | but even if I close everything, attach the device, mount it as mass storage... | 23:36 |
rhombus | 1. I don't see the most recent version | 23:36 |
rhombus | and 2. when I unmount it and try and look at the notes file again, I get a message saying the file could not be restored | 23:37 |
rhombus | I just lost another day's worth of notes :( | 23:37 |
rhombus | Is there any way for me to recover this data? | 23:38 |
sicelo | no idea. that has never happened to me. i close the application without ever saving, and have never lost anything. | 23:39 |
sicelo | maybe you should consider a different application, e.g. Xournal? | 23:39 |
rhombus | sicelo: are you routinely mounting the N900 as a USB mass storage device, or do you move everything over the network? | 23:40 |
rhombus | I recall someone mentioning -- perhaps Jörg -- that you have to be very careful here or you can damage files | 23:41 |
sicelo | i 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 do | 23:41 |
rhombus | hmmm | 23:41 |
rhombus | sicelo: where are the files stored? I have a directory called .documents, but that seems to contain old versions of the files | 23:42 |
sicelo | Notes seems to save in the last directory you opened something from. | 23:43 |
rhombus | not in some default? | 23:43 |
sicelo | no | 23:43 |
sicelo | you can see the current save directory like so: | 23:44 |
rhombus | but Notes saves backup files somewhere, and those must be automatic... | 23:45 |
sicelo | gconftool-2 -g /apps/osso/osso-notes/default_folder | 23:45 |
sicelo | i 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 wrong | 23:47 |
rhombus | Ok -- so clearly is something wrong here | 23:47 |
rhombus | *there | 23:47 |
rhombus | Notes is saving in a hidden directory -- is that normal? | 23:47 |
rhombus | .documents | 23:47 |
sicelo | yes. normal | 23:47 |
sicelo | it is what you see as MyDocs/Documents in File Manager :) | 23:48 |
sicelo | and since you mount it to USB a lot, you would have notice. what is the host OS? | 23:48 |
rhombus | But in Filemanager there is no MyDocs | 23:48 |
rhombus | just Documents | 23:48 |
rhombus | and it contains different files | 23:49 |
rhombus | Just now it was Windows | 23:49 |
rhombus | but it has happened with Linux also | 23:49 |
sicelo | ok. scratch out MyDocs. N900/Documents in File Manager | 23:50 |
rhombus | do you mean Nokia N900? | 23:51 |
sicelo | i 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 Joerg | 23:51 |
rhombus | sicelo: I thought that's why he warned me to close everything before mounting via USB | 23:51 |
rhombus | which is what I just did | 23:51 |
rhombus | but then I couldn't find the most current state of the file on the host machine | 23:52 |
rhombus | and when I unmounted and tried to open it again with Notes, it gave me an error message saying the restore had failed | 23:52 |
rhombus | something can't be right here | 23:52 |
sicelo | if 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 situation | 23:52 |
rhombus | sicelo: I have the following files | 23:53 |
sicelo | here's a page you might want to get familiar with: https://wiki.maemo.org/N900_filesystem | 23:54 |
sicelo | and, https://wiki.maemo.org/MyDocs_folder | 23:55 |
rhombus | thanks | 23:56 |
*** Kabouik has joined #maemo | 23:57 | |
rhombus | can I change the default folder with gconftool-2? | 23:58 |
sicelo | i 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!