Journaling on estrip is easy and free. sign up here

Tinypliny's Journal

tinypliny
My Podcast Link

09/20/2011 05:18 #55172

Save takes longer in gedit and gnumeric
Category: linux
Pedestrian observation but hitting Ctrl+S or the save button in linux (on gedit and gnumeric)"^ is always followed by a longer delay in saving the state of whatever program I am in (specifically programs that I use for writing and composing longer documents)"^ compared with windows. I have no idea why. My linux machine is substantially faster than my windows machine so this delay can't be because of disparity in drive-accessing speeds.

It could be that windows is just telling me it has saved the state of the program sooner than it really has and that Linux doesn't report the state being saved until it really has finished saving. But this is just speculation.

I know it isn't a big deal. A few extra seconds isn't much but it does adds up when you are writing a really long document and have fallen into the habit of saving multiple times as you write. Hitting Ctrl+S is almost second nature to me when I start writing. Having to wait a good chunk of time more in linux for even minor saves is somewhat annoying.

I wonder if anyone else has noticed this strange lag. I have seen it in Crunchbang, Ubuntu, Fedora and numerous other distributions I have tried. Every distro has the same annoying longer delay for saving (on gedit and gnumeric)"^.


^and some other apps that I will continue to list as I keep a closer watch on this issue: Gummi is now in the list.

"EDIT after comments: Please click that small comment bubble below and see the comments to this journal. (e:Paul) gave me some very useful suggestions about getting to the root of this problem. Thankfully, its not the operating system or even the hardware on my computer (two things that I was hoping it wouldn't be, because I can't change them without considerable effort).

The problem apps are gedit and gnumeric. I have found a substitute for latex composition with a live preview already: Gummi! And it is 100x more fabulous. Gnumeric will be hard to replace. I don't know what program comes even close to the awesomeness of Gnumeric. OpenOffice (Libreoffice) calc is a pale shadow for the particular way I use Gnumeric.

"Thanks, Paul. If every linux newcomer had a patient friend like you, I think the transition to the OS would be so much more painless. :-)
tinypliny - 09/22/11 17:06
The thing has a 600 page manual. :::link::: in PDF: :::link:::

Fine, 597. But still.
tinypliny - 09/22/11 16:30
This is so insane: :::link::: I hope to goodness you didn't mean him when you said "people that seem like you"!!
tinypliny - 09/22/11 11:05
It has a preview mode as well. :::link:::

Very handy if your latex skills don't really rank up there with the pros.
tinypliny - 09/22/11 10:18
:) I have already changed a few shortcuts and was reading that alias page. Are you spying on my screen?!
paul - 09/22/11 10:17
Wow, being able to make functions for aliases or shortcuts sounds even more useful :::link:::

You can even execute external commands :::link:::
paul - 09/22/11 10:14
I just created a 53M text file as a test case. I bet you could totally familiarize yourself with emacs. It has a cult like following of people that seem like you. Plus seriously opening a 53M text file and saving no prob is quite amazing. Plus when you think about it, isn't totally configurable what you are looking for.

I think these aliases sound much easier to use then 10 million individual shortcuts :::link:::
tinypliny - 09/22/11 09:34
I am on emacs now and being slightly overwhelmed with choices.
tinypliny - 09/22/11 02:53
I hit this page: :::link:::

Kind of complicated way to change something as simple as keyboard shortcuts. You and (e:uncut) can argue away to glory, but the fact remains. Linux and programs written for linux are either somewhat weird or complicated or both or just plain confusing to someone whose first computer had a gui and that gui was win 95.
tinypliny - 09/22/11 01:14
I think I did try out emacs in the past but was completely put off because of its alien and unfriendly keyboard shortcuts - that I had no idea how to change at that time. I will give it a whirl once more.
tinypliny - 09/22/11 01:13
I have trouble with measly 500k files.
tinypliny - 09/22/11 01:12
Wow, a 53M text file. What on earth is it? The whole internet packed?
paul - 09/22/11 01:10
I was thinking about it and I think maybe you would like emacs. It is great for editing huge files. I was able to instantly open and save a 53M text file that was killing gedit.
tinypliny - 09/21/11 16:22
Yes, everything that uses the GTK toolkit does seem to have a problem. And that is pretty much everything I use apart from whatever starts with an R.

I have a very elementary problem with Jedit. I can't figure out how to change the space between lines in the text area. Under global options > text area, I can change everything else. Right now, the text area is so crowded that its giving me a headache. Do you know how to increase the spacing between lines?
paul - 09/21/11 14:28
Seems like anything that used the underlying gtk code is going to have the same issue. Gnumeric, gedit, gummi all have the G in common.

What wrong with jedit? It cross platform and there are lots of plugins?

You could probably try any of the kde apps like kwrite, etc.
tinypliny - 09/21/11 14:25
Trying out Scribes. thus far, no delays.
tinypliny - 09/21/11 13:49
Guess I spoke too soon. Gummi has the same delay problem. *Sigh*
tinypliny - 09/21/11 09:36
Done!
tinypliny - 09/21/11 09:34
heh, I also said that it bothers me only when I write really long documents. That kind of limits the range of programs in both windows and linux, doesn't it? I guess using nano to compose my thesis or make the multipage tables didn't occur to me. Downloaded jedit yesterday specifically for testing this problem.

Humpty Dumpty fell from the wall a long ago, (e:uncutsaniflush). All the kings horses and men tried to do was to get a good breakfast out of him. They couldn't.
paul - 09/21/11 09:34
You should probably update you journal to not slam an entire family of OSes for a failure in a specific family of apps.
uncutsaniflush - 09/21/11 05:33
I love how "Linux" and " whatever program I am in" ended up being just gedit and gnumeric. I think that Humpty Dumpty has much to learn from you.
tinypliny - 09/21/11 04:30
I tried that and it is instantaneous in nano. There is hardly any delay. Gedit has massive delays (~5 seconds) for ~40 kb file (not unlike that bug report you linked). I disabled all my gedit plugins and the problem persists. Gnumeric also has a similar delay but not as massive as gedit. Jedit has no such delay. You need to see it to believe how absolutely annoying it can get! I think it is a bonafide bug in Gedit as well as Gnumeric, something perhaps to do with how they are implemented.

RStudio has no such delay. Nor does R.

(e:uncutsaniflush), the write speed of the harddrive on my both my laptops are the same. I use ext4.

(e:carolinian): Gedit and Gnumeric, mainly. Occasionally other programs, but definitely not RStudio, R and Nano. I will keep a watch.
paul - 09/20/11 20:37
You could try this. Open the file in something like vi or nano from the command line. Then save. In nano its ctrl+o

If its fast then its your program, if its still slow then its your computer.
paul - 09/20/11 18:45
Maybe this? :::link:::
paul - 09/20/11 13:46
:::link:::

Processor: Intel Core i3 CPU 530 @ 3.32GHz (Total Cores: 4), Motherboard: ECS H55H-M v1.0, Chipset: Intel Core, Memory: 1808MB, Disk: 300GB Seagate ST3300622AS, Graphics: Intel Core IGP 256MB, Audio: VIA VT1708S, Monitor: DELL P2210H

For this brief disk testing we ran IOzone through the Phoronix Test Suite on clean installations of Ubuntu 10.04 LTS and Windows 7 Professional x64. The first test looks at the IOzone performance on a 4GB write with different record sizes.

On average, Ubuntu 10.04 atop the EXT4 file-system with the Linux 2.6.32 kernel was 26.5% faster than Windows 7 x64 with its NTFS file-system.

carolinian - 09/20/11 13:01
What application?

Save speed is as much do to the application as it is due to OS (and in many cases much more so).

If you have a massively long document and you save it in OpenOffice, you're basically writing the entire document out in very complicated XML text and then doing a zip on it. If you save a comparable document on MS Word using a binary format, the large document would save orders of magnitude faster.
paul - 09/20/11 10:19
Also considering google provides nothing for "save speed" linux vs windows I call shananigans.
paul - 09/20/11 10:14
For someone who is so obsessed with evidence based information, this screams subjective. I save like every 3 seconds and its instantaneous. Maybe you computer is just crap. Then again I am using an SSD.

It doesn't make sense that linux would be slower as it is the OS behind the servers on most of the web applications that you use and it needs to be super fast to support operations of all the users.
uncutsaniflush - 09/20/11 05:59
No, i haven't noticed but I'm not obssessed by time. And I don't use Windows at home just professionally.

One factor, oh great tiny scientist, that you may have overlooked is the actual hard drive. What it is spinning at? Many laptops use 5400 rpm drives to conserve power. Most desktop boxes use 7200 rpm drives. Slower speeds equate to slower write speeds.

And there is the question of what file system you are using. Some are faster than others.

But I'm sure you are right, it's all Linus Torvald's fault.

09/18/2011 08:46 #55166

Linux Bugreport Rap
Category: linux
If something isn't broken
don't go tinkering and fixin'
for you could be shot to hell
without so much as a token

But if something really is awry
there is little point in being shy
fire those irate bug reports
at upstream and downstream ports

You will be ignored (or rarely not)
your bug report could be cold or hot
but what really matters is just that
You filed it. Give yourself a pat!

09/17/2011 15:45 #55162

Science on organic foods: what needs to be done.
Category: science
Attached is the article I linked in my comment to (e:paul,55115). It reviews the state of science that is investigating if organic foods are really as good for people as many believe. It outlines the limitations of current studies and lays down some guidelines for how future studies might address this question better.

Intervention studies are the gold standard for evidence. Population studies generate statistically tenable hypothesis. :)

(e:Heidi), this PDF is for you.

::READ PDF::

tinypliny - 09/18/11 14:28
But let's assume for now that the summary article is correct and that organic farming is really capable of producing just as much or even more than conventional farming in terms of output. Why are the prices so high then? Comes back to your question about why the organic cauliflower was $4.59. Somewhere along the whole organic-can-indeed-feed-the-world-view and the poor-cannot-afford-organically-farmed-produce is a gap in understanding or something that is going wrong. What is it? I want to be able to understand it someday.
tinypliny - 09/18/11 14:09
Too much to read. Too little time.
tinypliny - 09/18/11 14:08
% I mean there could be the argument that it allows us to feed a larger population, etc but not better for you.

yes, the sole reason for not farming organic was enabling mass production of more food and bringing down costs. But (e:heidi) linked this synthesis article in your post about how organic could achieve the same. :::link::: I read it but I need to hunt down the real references from that article when I get sometime. It opposes the view that fathers of the green revolution (and prominent Nobel scientists) held, so I need to see the references for myself.... Maybe in a month I will get around to reading and assimilating the alien literature.
paul - 09/18/11 13:44
How can not adding something be a fad. Its is not a new way of doing something, it is saying - do it like people did before, don't do anything and just leave them as is, the way nature intended and the way animals ate them for millions of years.

It just doesn't make sense that adding carcinogenic chemicals and poisons can make it be better for you. I mean there could be the argument that it allows us to feed a larger population, etc but not better for you. I mean why not dip all of your strawberries in rubbing alcohol too, just to be safe.
tinypliny - 09/18/11 13:35
How is a fad different from a bandwagon?
metalpeter - 09/18/11 10:57
To be honest I think that might be a bit to much to read at this time.... But here is my thoughts

-Is not using chemicals better yeah sure
--But does shorter shelf life cause other problems
--Isn't it odd that all these food recalls they go back and they find plants at fault.... Of course that kinda makes sense since you often don't cook them and most stuff would be killed by the cooking fully of meat...

Now I have heard that organic stuff tastes better?
-I don't agree cause you know what you like.... This is the same thing people pull with made at home sauce .. Just cause it is homemade doesn't mean it is better... One of those companies is amazing and if that is what you are used to it is better... Just like if you eat McDonald's yeah Burger king is better Quality and Sportmen's is even better but you won't like it....

-Now mentally you think oh yeah this is good so maybe it does...

To me organic isn't a fad... It is a movement it is a badwagon people get on like hating on Dallas or something... Now that doesn't mean if you eat organic you follow that..

09/11/2011 18:15 #55143

Rubinstein interprets Chopin
Category: music

There is some indescribably exquisite melancholy about the slower version of Chopin's Waltz in B minor, Opus 69. Evenings are calmer with Rubenstein's interpretation of Chopin.

image
I want to learn the piano someday. And when I do, I want to learn all my favourites among his nocturnes and waltzes till I can play them with eyes closed. Someday. Certainly.
tinypliny - 09/12/11 20:42
hahaha, this is pure black and white love. ;-)
uncutsaniflush - 09/12/11 20:38
Thank you for sharing this. 11T1his one of my fav1e versions of the piece. Rubenstein was a great interpreter of Chopin. And this is a bit of great writing by Chopin.

BTW, are you testing me? Are you expecting me to make some comment on your love of piano music as another example of your black and white thinking?? Well, I won't do it. So ha!!
tinypliny - 09/12/11 19:59
LOL, I don't think Paul would ever agree to going out waltzing. hehehe At least I would be really surprised if he were interested. I don't know about (e:TK). Isn't he coming back? Maybe I could ask him and see what he says. I know partner dancing is mostly about couples dating etc. but that's not what I want from dancing. Its a lot of fun really, when you have a partner who doesn't judge you, is forgiving of the faults and is genuinely interested in the dancing rather than some crazy mission to be the best dancer in the world or something.
metalpeter - 09/12/11 19:49
The Point I never got to was yes there are tech dancers where the steps are very you must do this and then that and then this and both people have to be on the same page.... But honestly I think you could learn a lot just from seeing people do a waltz (I assume they vary based on the speed of music)... The thing is if you dance and you have to think step then why do it... Yes there is a point where you have to think about it until you get to that certain level but unless it is for like a big event where everyone will do the same dance (wedding or cruise maybe) then you have to feel the music?
metalpeter - 09/12/11 19:46
I not being a dancer my self I get that there are people who do the dance school thing. But I think partner Dancers are really need to be done with someone who is more then just a dance partner or is only your dance partner... What I mean is that people go out dancing together... Not that I know much about latin and swing dance but I think there is an intimacy thing in those "forbidden or saucy" dances or even slow dances that just works as a couple and might not work as two singles.... With the exception of like you and Paul or even (e:TK)....
tinypliny - 09/12/11 19:36
You know (e:metalpeter), if you would come with me to a waltz class I would totally be up for it. :)

In salsa, everyone was already paired up when they came to class. Many didn't want to rotate and some did it very reluctantly. The remaining could care less about whether I was getting the steps right, or were too judgmental and focused on what I was doing wrong. The one person who was really supportive while dancing with me stopped coming. But everything went really downhill when the teachers stopped dancing with me and decided they needed to practice more with each other. I waited for one of them to dance with me again for a whole two months but they never did.

I was bald back then. There were all these hair flicks and styling and moves that were just not do-able. I kept waiting for the class to turn slightly more singles friendly with more individual dancing. I dropped numerous hints but that never happened. The whole class made me feel more alone than I have ever felt before in my entire life. I actually cried regularly coming back in the snowstorms after some of my last classes. Some of my walks back from the classes were some of the most depressing moments I have ever had in Buffalo.

I don't think I want that kind of stress again.
metalpeter - 09/12/11 19:10
You just need one of those book Models to dance with....HA... You know when I was in grammar school part of Gym was a Square dance... Didn't like it then still not fond of it but it was a very small portion ..Thankfully .... No way I could do any of it cause if I could I would be on some show like glee or some musical no one has ever heard of....
tinypliny - 09/12/11 19:05
On second thoughts, I am not sure I want to get into the whole partner-dancing agony once more. I have had enough aches with salsa.
tinypliny - 09/12/11 18:58
The waltz is one of my top favourite classical styles.
tinypliny - 09/12/11 18:57
Unfortunately, no. Not yet, anyway. :) The ballroom classes are not in walking distance. I think if it were not for this impediment I would have learnt the waltz a long back.
metalpeter - 09/12/11 18:51
But can you dance a Waltz ? Just wondering.....

09/11/2011 15:59 #55141

Crossing over.
Category: the odes
They chose perfectly.
image
I wish they didn't give him the corny helmet in the end though. He has way too gorgeous hair.

LOL: They really do make a lovely pair. :)
tinypliny - 09/13/11 11:44
I read Jane Eyre 8 times when I was transitioning from 12 to around 17. I though it was a rather funny novel and remember smiling at many points.
matthew - 09/13/11 11:27
X-men, and Jane Erye.
paul - 09/13/11 00:49
I don't understand this?
tinypliny - 09/11/11 16:28
on the other, he really was the best Mr. Rochester EVER. Probably the one "villain" that everyone universally likes.
tinypliny - 09/11/11 16:21
Yeah, totally. I thought the same. I couldn't believe it considering how much I like mcavoy.
matthew - 09/11/11 16:10
I'm totally "team Erik".