Journaling on estrip is easy and free. sign up here

Tinypliny's Journal

tinypliny
My Podcast Link

11/16/2011 07:35 #55521

Undo any last action in Linux?
Category: linux
Sometimes, I accidentally move files into folders. However, I am uncertain what files I moved (because I wasn't paying attention when my stylus accidentally dragged and dropped that file into some nearby folder). So I know that something has changed in the directory but I am not sure about what has changed. In windows, I could easily right click and undo whatever the last action was - rename/delete/move. Where is this undo functionality in Linux??

If there isn't a way, is there at least a log that logs all these events so I could check it and see what was changed?

Am I missing some obvious way to do this? Ctrl-Z does not cut it.
tinypliny - 11/18/11 21:59

data exceed the size of the drive



this must be my dumb and dumber day... I have no idea what you are saying!!? If you start copying 10 gigs of data into a drive of say 4 gigs, it gives you a warning that the drive space is inadequate. Copying stops with a small buffer of space remaining on the destination drive. If you undo all this the copies files are just deleted.
paul - 11/18/11 21:38
I still dont' see what happens when the data exceeds the size of the drive. I get it with moves but not copies. I guess it probably works most of the time if directories never meet that condition.
tinypliny - 11/18/11 21:26
Its exactly like the undo option in chrome or any word processor for text. All recent actions in a session are potentially un-doable.

I think you are thinking about linux when you ask this because linux assumes you are smart enough and know what you are doing and there are no step-backs. But when your stylus is either a) not very precisely controlled (because your stylus company just doesn't care about linux enough), or b) maybe its too sensitive and you sneeze moving some folder inadvertently because you are in the nautilus gui, you have no way of knowing what changed...

It doesn't happen often but it does sometimes and is agonizing without an undo option. I posted in Ubuntu forums where people actually bother to answer and someone told me that Dolphin (KDE's file browser gui) has the undo option.
tinypliny - 11/18/11 21:20
% then a program started to fill your drive

I am not sure I understand this bit. If you copy a folder with gigs of data, you can still undo it. Windows will just delete the copy you made. Every time you do a rename, delete, copy or move anywhere, the context menu item for the corresponding undo rename, undo delete, undo copy or undo move becomes active and you can immediately go back to the original state. In any one session, if you have several such actions, ALL of them can be undone one by one stepping backwards.
paul - 11/18/11 21:14
I dont even understand how undo could work under all situations. Say you copied a folder with gigs of data, then a program started to fill your drive, then you undo? What happens?
tinypliny - 11/16/11 20:34
Nautilus is an awful file browser. Compared to the one in windows, it really feels like it came from the 1980s.

paul - 11/16/11 20:10
I never do anything with Nautilus or the GUI so I have no idea. I don't think there is a way.

11/15/2011 20:49 #55520

Ikea proxy in Buffalo
Category: buffalo
Ikea might have turned down Buffalo but two canny blokes from our city spied the Ikea-craziness haunting everyone's eyes and decided to do something about it. Take a guess? No, they didn't rush out and buy mass tranquilizers to shoot at everyone. Your guess was fun but thankfully, wrong. The truth is less dramatic. They set up a website called myikeaplace dot com instead.

And how did I know about this charming entrepreneurial story? They left no apartment building behind. I have been seeing their flyers and hearing hushed whispers about my ikea place dot com ALL over my building, and beyond today. I can even hear the lady who hangs out in the balcony in the next building (a.k.a, beyond) smoking like a chimney and talking about it.

So I had to go and check out their website and it is quite an interesting business model. You just submit your ikea orders on their website. They go all the way to Pittsburgh, do the shopping for you and bring back whatever you wanted with them. You can then go fetch whatever it is you ordered in your ikea-craze from their garage professional storage rental on Ellicott.

What a nifty idea... I think I can definitely push my rickety cart from their warehouse to my flat. Maybe I should stop bitterly stalking the ebay seller who ditched my sale and get those LED lamps I want from our very own buffalo ikeamongers.

metalpeter - 11/16/11 19:53
Well most of there stuff you put together any ways right?
tinypliny - 11/16/11 18:10
People cross the border to haul furniture back? Sounds like a pain. I would rather live without any. Which I do.
metalpeter - 11/16/11 16:35
Interesting Idea... I think Ikea skipped Buffalo for a good reason.... They have one one the way to Toronto and one near Pittsburgh is there a 3rd Not sure... But the point is People who really like them will go there or order stuff on line... Besides Buffalo is more of a Pier 1 place any ways? HA.... Seriously though I doubt the little bit extra money they would make would be worth opening up another store... I think some of the art of the stuff is by the store itself?

11/15/2011 08:32 #55515

The 20 Times Tables: 18
Category: goals
Continuing the "mastering first grade when you are in graduate school" series.
The 18 table.
  1. Starting with 18
  2. 36
  3. 54
  4. 72
  5. 90
  6. 108
  7. 126
  8. 144
  9. 162
  10. 180 -20 + 200
  11. 198
  12. 216
  13. 234
  14. 252
  15. 270
  16. 288
  17. 306
  18. 324
  19. 342
  20. 360

11/14/2011 23:14 #55513

Surgical
Category: music
detachment?



1.42 minutes of Celldweller awesomeness
metalpeter - 11/16/11 19:53
wasn't this band it was some kind of music you dance to... Don't even know if it was this type of dance music...think it was some other type of dance music but not sure......
tinypliny - 11/16/11 18:05
You went to a party where French students were dancing without shirts and Blue Stahli was playing?
metalpeter - 11/16/11 16:39
Long story short on that is (e:ladycroft) had I party and the french students would dance with out shirts and someone said something along the lines of they aren't gay that just how french people are.... It is one of those you kinda had to be there thing they weren't bashing them just kinda explaining it... That reminds me of this interesting drink think it was like soda pop and wine think that is what I had...
tinypliny - 11/15/11 20:24
LOL, that is hysterical. Blue Stahli, Celldweller and Pendulum have been my favourites since forever. And I am not even French.
metalpeter - 11/15/11 19:49
Music like this for some reason seems like it is written for gay dance clubs (or french guys HA.... About 5 people on this site might know the reference or maybe just 2 not sure) Then it is also for non gay dance clubs..... Or would that be a Rave and things that glow.... But I don't dance so maybe I don't get it.....
tinypliny - 11/15/11 19:08
Shirtless in a club somewhere? I guess that is the kind of music I like then.
metalpeter - 11/15/11 17:53
Feel like a should be shirtless in a club some where.... HA.... Kinda reminds me of the movie Tron..... Or maybe even a fetish show at Diablo or somewhere?

11/14/2011 15:09 #55510

Where is R installed on Linux?
Category: r statistics
Simple yet frustrating question for those who want to view the code behind the base functions.

whereis R



Turns out R on linux is installed in the following directory structures:
  • /usr/bin/R : this is the executable binary
  • /usr/lib64/R

ls


bin COPYING etc include lib library modules NEWS NEWS.pdf SVN-REVISION
  • /usr/include/R

ls


Rconfig.h Rembedded.h R.h Rinternals.h Rversion.h
Rdefines.h R_ext Rinterface.h Rmath.h S.h
  • /usr/share/R

ls


encodings java library licenses locale make R sh texmf
  • /usr/share/man/man1/R.1.gz : possibly the manual pages