hhh wrote:
merelyjim wrote:

# Thanks to corenominal for making the distro that we all use! Someday, I promise to learn your screen-name instead of copy-and-paste it into place. Not today, you understand... tongue

core, as in a processor (dual core, for example), nominal, as in satisfactory (not overheating, for example).

HTH

You might want to check the definition of 'nominal'.

@moore.bryan
Do you have the Xlib headers installed?
Should be libx11-dev

3

(7 replies, posted in Off Topic / General Chat)

Thanks for trying it out. I intended it to give an easy way to undo the most recent changes, basically just like "undo" in a word processor (for the "I just installed 4 apps to test and now I want to get rid of them, but I forgot the package names of the first two" or the "I just uninstalled a list of things i didn't think I needed but something broke and I don't remember the names of any of them" or the "I screwed something up, I just want it back the way it was 1hr ago" situations). Maybe I don't understand what you are suggesting (feel free to correct me) but what would the advantage be of what you are suggesting over say apt-get auto-remove? Do you mean just so you can find the the point to get back to more easily? BTW, how long was the list it gave you?

4

(7 replies, posted in Off Topic / General Chat)

Well, seeing other people complain about the no undo option inspired me:
I wrote an interactive script that will let you roll the system back to a particular point in time. I tested it out to undo the miro debacle and it seems to work just fine.
http://crunchbanglinux.org/pastebin/215
Just save it as rollback and chmod +x it.
As always, feedback appreciated.
cheers

I have a serious gripe with synaptic:
1) counter intuitive UI. Not in the sense that you can't figure it out but in the sense that it disregards conventions. Think of the first time you used it, leftclicking a checkbox gives me a context menu? Selecting install tells me what it is going to install, and clicking apply tells me again? Not a showstopper, but definitely not the best first impression for someone new to the linux world.
2) Missing function. Why is there no "undo" or "rollback option"? It keeps a history of what it has done (file>history iirc) so why is there no option to undo the last install? Or better yet, why is there no option to just roll the system back to a particular point in time (obviously there could be issues with rollbacks that would require reinstalling a package that is no longer available, but other than that what would be so hard)? Wouldn't that be easy to implement? Or what about the search, why is it limited to very basic string matching? I realize it is basically just a front end for apt, but wouldn't it be nice if it could classify the kind of packages instead of mixing langauge support, developer tools, utilities, libraries, metapackages, main packages and so on into one nasty list that leasve the noob scratching his head and wondering which package to select to install the app? (of course this is assuming he has managed to figure out the name of the app he wants to install.) I realise this last point is a little unfair insofar as synaptic is built on top of a database that basically assumes the user knows the name of the package he wants to install, so perhaps I'm pointing out a limitation of the Debian repo system in general rather than just synaptic. 
3) and this is the big one, I never know what it is actually doing. If I install a package and then turn right around and tell it to "uninstall completely" often there will be lots of dependencies that got installed with the package still installed: You can't just undo an install. This ties in to the no "undo" option. It would be so easy, it already keeps track of what was installed when, why not give an option to completely uninstall something, including all the dependencies that it dragged in? Better yet, I tried to install miro the other night. It installed a big list of dependencies, then threw an error installing miro itself (sounded like an offline repository). Now I have to go through and find the dependencies myself and manually uninstall them all. What a friggin PIA. (I suppose I will just drop back to apt-get autoclean actually but that sort of defeats the point of a gui, n'est pas?). Or how about when I  unistall some package and it comes back and gives me a list of things that it is going to uninstall with it. What if i'd like to keep one of them around (even if it is technically broken)? Can't you give me an option other than okay or cancel?
Believe it or not I really like the debian package management system. I just wish 1) it had a slightly friendlier gui (i mean, it is a gui, it's meant to be intuitive and friendly) and 2) that it was a little more predictable. As it is I see very little advantage of using synaptic over the cli apt tools. Actually I prefer the cli tools because at least then I know what they are doing.
I suppose this is just a poorly worded rant, but any thoughts, or is it just me talking about something I don't understand?

and if you based it on sidux you could ship with smxi to let the user painlessly install them if he wants

7

(4 replies, posted in Tips, Tricks & Scripts)

Some windows on some desktops: http://i727.photobucket.com/albums/ww276/wmdiem/superpager_screenshot1.jpg
Same zoomed in on Ooo: http://i727.photobucket.com/albums/ww276/wmdiem/superpager_screenshot2.jpg
Like 1 with an extra window or two: http://i727.photobucket.com/albums/ww276/wmdiem/superpager_screenshot3.jpg
Zoomed in on Opera: http://i727.photobucket.com/albums/ww276/wmdiem/superpager_screenshot4.jpg

And yes slashdot and random code are my two cures for productivity. ; P

In the time I should have been dissertating, I've managed to put together a prototype fullscreen pager.

Features:  Thumbnails of all windows (instead of outlines); rtclick  to get a bigger image of the window, dragNdrop windows on any desktop (try to click near the center of the window for best results), can accomodate up to 12 desktops.

If you want to try it out it is located in the patebin. There are two scripts /usr/bin/superpager (at http://crunchbanglinux.org/pastebin/210 )and /usr/bin/superpager-display (http://crunchbanglinux.org/pastebin/211). This is of course beta quality so there are  lots of little quirks and such to be stomped out, but from my testing it is usable. You should keep in mind that the first time you run it (or the first time you run it after a long pause) if there are a lot of windows open, it will take it a few secs to come up, so don't panic.
It depends on: wmctrl, perl-tk, imagemagick, and xwininfo & xwd (both part of x11-utils i believe, you shouldn't have to worry about these).

Anyway, feedback welcomed and appreciated.

9

(23 replies, posted in Off Topic / General Chat)

Toolz wrote:

>  how would you pass a checksum of the *encrypted* file - you know, to fox the eavesdroppers - how big would that checksum be? I just want to smoke out any that are well-versed in information theory here...

Do you mean to ask, how big would a checksum/signature have to be to be truly unique to the file, to ensure that there is no possible collision?
I'm not well-versed in information theory, but it would seem to have to be as long as the original file to guarantee that there is no possible collision.

10

(23 replies, posted in Off Topic / General Chat)

Did you follow the link? file wouldn't help, in cases like that, because both files are postscript. Even if you were only generating files that followed some particular syntax you still have a huge amount of checksum collision, even if you specify file size. If you send enough information to avoid or resolve checksum collisions, I'm pretty sure you will (in any interesting case) be sending about as much information as a well compressed version of the original file and using many, many times more processor cycles.

11

(23 replies, posted in Off Topic / General Chat)

tawan wrote:
ShaqArif wrote:

Surely there's not enough information contained in the checksum for you to be able to recreate the original file?  Otherwise we could use that to create the most incredible compression algorithm...

It doesn't make the file from the checksum smile

It makes random files of the bit length you specify, which is then checksummed and compared to the original checksum. When you hit the same checksum you have the original file, without downloading it.

Dosn't this violate some major rule of information theory?
I didn't think checksums were unique to a file of a particular size. I just thought they were statistically unlikely, so that the odds of a couple errors in a transfer compensating for one another (so the checksum comes out right, even though the file is corrupt) were negligably low.
If it isn't mathematically undetermined, then wouldn't it just be easier to write an algorithim that will work backwards, rather than guess and check?
Maybe I just misunderstood the process.

EDIT: This page has links to two Postscript files of the same size with the same with the same MD5, and also happen not the be gibberish: http://th.informatik.uni-mannheim.de/Pe … ollisions/

iReact wrote:

Wow.  I like them both.

If I had to lean, I'd go for Transmission as it's more minimalist and lean (IMO, I could TOTALLY be wrong and never know it).

It's not just an impression. Transmission is written in C and Deluge is in Python. Transmission has a significantly smaller footprint (considered as a %). That said Deluge is hardly bloated, so even a 50% savings isn't too big a deal on a well equiped system. 
http://brainstorm.ubuntu.com/idea/8186/
Vuze on the otherhand is just evil.

I'm in the process of writing a network manager that will detech when wifi starts to crap out and reload the module. I posted a (now very out of date and primitive) version earlier on the forum (if you are interested let me know an I can post the current, much improved, version). It isn't really a great fix, because things have to get bad before it tries to reload it, and then you lose networking for a couple secs while it actually reloads it and reconnects, but it is better than having to stop what you are doing and manually bring it down.

It sounds like the idea of syncing the online and offline versions got nixed, but if it isn't it would be cake to write a webscraper to cache the most recent versions of the pages assuming there is an index.
Anyway, I really like the idea of an offline help, especially one that includes help on setting up networking (the real catch22 for online manuals).

I know it's not helpful, but I was laughing really hard reading over these posts (in the i've-been-there-before way).
Best of luck.

16

(22 replies, posted in Off Topic / General Chat)

why is it a stumbling block? Can't you just install openbox, then uninstall xfce?

17

(22 replies, posted in Off Topic / General Chat)

+1 on the sidux idea. I've been using it and I'm really impressed.
I think starting from sidux, running the smxi script to get the non-free stuff, then installing openbox, conkey, lxpanel, etc, copying your #! config files over, and adding any other highend aps you need (e.g., claws, gimp, etc) from the sidux/sid repos would probably give a pretty close experience.
You could even make a script to do it in case someone else want to imitate it.

18

(7 replies, posted in CrunchBang Talk)

danny wrote:

want to hack a fax machine? easy, cello-tape four sheets into one continuous sheet of paper, now feed it into the fax, the fax on the other end might end up in a loop in which case it will run out of paper pretty quick and if your quick you can cello-tape the two ends together and make it into a roll and that fills the memory with blank empty nothing. Dont forget to leave it on repeat dial. Rofl. wink

Right but if you wanna be a real a$$ you will color them solid black before you start, then instead of just printing a bunch of blank pages (which can be reused) but it will run out of ink/toner/whaterver it uses in addition to ruining all the paper in the feeder. : P

19

(7 replies, posted in CrunchBang Talk)

anonymous wrote:

Why does CUPS need port 631 anyways? I use a printer, so Id rather not stop running it.

for network printers

20

(472 replies, posted in CrunchBang Talk)

Name:  Acer Aspire 5315-2153
Processor:  Celeron 1.7GHz @ 530MHz
RAM:  1 GB DDR2 SDRAM
HDD:  80GB Hitachi HTS541680J9SA00
Optical Drive:  CD-RW / DVD-ROM combo
Graphics: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (I don't know whether it was something I did or not, but I had some issues with this not giving any acceleration, and I had to make sure both libgl1-mesa-glx and libgl1-mesa-dri were installed which seems to have fixed it)
Sound:  Intel Corporation 82801H (ICH8 Family) HD Audio Controller
Network:  Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (I'm running 8.4.1, so I had to compile a patched madwifi for this, looking forward to updating to 8.10 and ath5k); NetLink BCM5906M Fast Ethernet PCI Express
Other:  3 x USB2.0,

If you know what you are doing or are willing to do the research, in order to reduce your memory use after boot (and reduce boot time) you should look through /etc/rcX.d directories (especially rc2.d) and see if things are getting started that you don't need. Just make sure you actually know what you are doing before playing around or you may end up taking out something important.
To keep something from running rename it with a K instead of an S (the README in the directory explains). If you don't use bluetooth often, you can pull that out. If you rarely print, pull out cupsys. Rarely have to use removable media, pull out ivman. All these services can be started manually if you need them.
Same idea for openbox's autostart.sh (although nothing in there will really screw up the system if you mess it up, that I can think of at least).
I don't know how much you will be able cut out (or whether it will be worth the inconvenience of having to start the stuff manually) but if you are hell-bent on decreasing the footprint this is a place to consider.

Snowpine makes a good point, make sure you are checking the mem used by applications, not the total. htop show both in different colors. You shouldn't worry about linux keeping a big cache, but it is perfectly legitimate to try to reduce non-system mem use (the less memory being used by apps the more linux can use to cache).
And, just fyi, windows from XP does the same thing but actually caches things ahead of time with prefetch (XP) or superfetch (Vista, 7?, which predicts when you will need what in memory). This is why Vista starts out after boot with such a high reported memory use, which hardly increases as you start opening apps: The app was already loaded into memory.

thanks. I'll give it a spin.

if you mean the options in the menu, mainmenu > preferences > openbox config > gui menu editor || edit menu.xml
at least these were the options in 8.4.1 they may be in a different place or have different labels in the later versions.
If it isn't there you can start it with the command obmenu (from a terminal or from the alt+f2 run dialog)

@Mich--A straight through ethernet connection will be MUCH faster than wifi. even though wifi is rated for over 1/2 the speed of fast ethernet, between noise, attenuation, and other traffic, you are lucky to get a connection that is 32mb/s, and in my experience it isn't uncommon to be in the teens or even single digits. And the crossover should be full duplex. All this applies to the older abg tech, if you have n I have no idea how they compare.
This post brings up a couple of questions I have that someone might be able to answer:
1) do you need a crossover cable on a modern NIC? Or will cards autodetect and flip the pin-out?
2) Is there a really simple (minimal config) linux ftp server do do this sort of thing? (just check off to allow anonymous login, specify a root directory, and add an interface to bind to)? I really like using ftp on local networks, because it is soooooo easy to use once it is configured, but I (in my limited experimenting) haven't found one for linux that is simple to configure.
Of course I could find the answers to these myself, but I thought that if someone knew offhand I could save myself the trouble, cheers.

I'm totally unfamiliar with the interface. How well does it integrate with #!? E.g., does it detect and classify the apps you actually have installed? does it leave everything else on the desktop alone (like your panel and dock)?