Slashdot Mirror


User: prog-guru

prog-guru's activity in the archive.

Stories
0
Comments
190
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 190

  1. Re:I've used it on Does Your PC Really Need a SysRq Button Anymore? · · Score: 1

    Careful, I think they meant it for emergencies only. I haven't use it in years but I don't think this calls all the rc.d stop scripts, nor syncs the disks.

    I found the sync disk (alt sysrq s) useful before shutting down a wedged system.

  2. Re:Leave CAPS LOCK ALONE! on Does Your PC Really Need a SysRq Button Anymore? · · Score: 1

    It's so you can tell SQL syntax from column names at a glance. Should get into using an ORM instead :P

  3. Better than ruby/gems on Helping Perl Packagers Package Perl · · Score: 1

    I usually download the tar.gz for a perl module, then it's a simple 'perl Makefile.pl && make && make test'. Install honors DESTDIR, so then I can package it myself, every time. If my distro ever does release an updated module, my package system should pick it up then.

    Gems on the other hand, I haven't been able to package at all. Best solution I've seen is Debian, they set up a 'quarantine' under /var/lib/gems, with it's own bin directory and everything, to keep gems away from Debian packaged ruby libs. Then you get to fight with vendoring, config.gem, initializers, etc. I got to the point on one app where I just gave up and copied the libraries into RAILS_ROOT/lib. I sure hope rails 3.0 improves this.

  4. Re:Google Groups or Astraweb on AT&T Dropping Usenet Netnews; Low-Cost Alternatives? · · Score: 1

    OTOH, I would like USENET posting to allow for mark-up text, such as LaTeX or MathML. That would be very useful.

    Or HTML, everyone would *love* that :P

  5. Re:Well... on When Does Powering Down Servers Make Sense? · · Score: 5, Funny

    (My datacenter charges about a buck a VA)

    A watt?

  6. Re:squirrelfish? on Next-Gen JavaScript Interpreter Speeds Up WebKit · · Score: 2, Funny

    What's next? rabbitelephant? curvaceous coelacanth? fishfishfishrabbitfish? duckduckgoose
  7. Re:Time for Railroads to make a comeback on Big Rigs Go High Tech · · Score: 1

    I have heard/seen the new aluminum cars? They are so quiet you can only hear the sound of the engine passing. And passenger trains are very quiet. The horn is still loud, even if the car is made of aluminum.

    They should build more monorails.
  8. Re:Ruby on Rails, is it a dying breed? on Practical Rails Projects · · Score: 1

    I've heard the same (.NET has Microsoft, J2EE has Sun). I was hoping it would be Apple for rails, since they were shipping it with their new OS, but that didn't seem to happen.

  9. Re:Already out of date? on Practical Rails Projects · · Score: 1

    I was thinking the same thing, in particular ActionWebService has been replaced by ActiveResource, and much of the controller/routing code seems to cater to REST URLs.

  10. REST on Keeping Customer From Accessing My Database? · · Score: 1

    I would see if setting up a REST interface might do it for them. It's not the low level SQL access they asked for, but with a library like ActiveResource they can work with it. Ethically, it's not much different for you than exporting a CSV or something.

  11. Re:Ugh on Nokia Unveils Shape Changing Nano-phone Concept · · Score: 4, Funny

    Now, if you're in a theater, your phone is off, and you're still wearing the earpiece, then yeah, you're a tool. Especially if it has a blue LED. That blinks.
  12. Re:Cross Database Joins?? on PostgreSQL 8.3 Released · · Score: 3, Informative

    I don't know, seems to me a cross database join is neither simple nor proper structure. If you are stuck with it schemas would probably work, painless in Active Record, perl DBI requires 'schema.table' syntax.

  13. Re:Mod parent way up! on First "Real" Benchmark for PostgreSQL · · Score: 1

    Don't do 1000 inserts in a row, the pgsql copy function kicks it's ass. I use it to do several thousand rows every 5 minutes in less than 5 seconds on each run all day (telephone records). mysql was the biggest support problem ever with the same dataset.

  14. Re:so... on Google Releases MySQL Enhancements · · Score: 1

    You should try sqlite, for me these days it's all postgres if I need real database features, or sqlite if it's something simple. sqlite is even bundled with current version of python, php, and it's easy to set up in rails.

  15. Re:Term Productivity on Time Saving Linux Desktop Tips? · · Score: 1
    Does anybody know how to prevent Screen from capturing the C-a keystrokes when in programs like Emacs?

    Do ctrl^A A to send ctrl^A to your app. I do wish they chose a different default sequence, I'm sure it can be changed, but why use the same default as every other program?

    If you're like me, you'll find yourself forgetting the ctrl^A trick in screen once in a while, and doing it outside screen once in a while too :/

  16. Re:Or just write it in perl on How To Write Unmaintainable Code · · Score: 1

    and what would a mail server be without a root exploit

  17. Re:DBAN. Learn it, Live it, Love it. on Data Still Left on Storage Devices for Sale · · Score: 1
    dd if=/dev/random of=/dev/sda bs=512 count= (get this from fdisk) will do the trick in a pinch.

    /dev/urandom is a bit faster. I also use that (in a shell script, to several files not a device) to test new filesystems. Being a cynic, I like to fill up a partition and delete all the data before I trust it :/

  18. Re:Found data on Data Still Left on Storage Devices for Sale · · Score: 1

    Perhaps the plans to build it were on his CIA NeXT drive ;)

  19. Re:You might hate Apache but.... on Why I Hate the Apache Web Server · · Score: 1
    It would also be nice if problems with one vhost didn't prevent the entire server from reloading the config. It should give a nasty error maybe, but the webserver shouldn't shut down the working vhosts, at worst it should leave it as it was before the reload.

    Check your configs with httpd -t or apachectl graceful. named, radiusd, many other daemons have a check option.

  20. Re:Property rights in the US of A? on Google Wins 'Typosquatting' Dispute · · Score: 1
    I guess a better (and also more truly capitalist) solution would be to create browser extensions which correct typos. If someone finds the typosquatters annoying they can just use such an extension.

    Seems like that can be taken advantage of by bribes^H^H^H^H^Hcontributions from the same companies spamming domain name space.

    Maybe they should make some kind of way I can save my favorite sites and come back to them later, like a bookmark...

  21. Re:Audio Books on Cassette Tapes On The Wane · · Score: 1
    The idea would be just to store a few hundred bytes of transient data - the position on the cd, for example

    Or 'they' could store how many times you've played it, no thanks.

  22. Re:Compiled Kernel not necessarily getting fatter. on Kernel Changes Draw Concern · · Score: 2, Funny

    And even then, I wish they could compress it somehow ;)

  23. Re:I'm still tired and coffee'd up to my eyeballs! on Daylight Savings Change Proposed · · Score: 1

    This would also be great for us tech workers, who get stuck an hour late often anyway. On the 5th day we won't be there for them to nag :)

  24. Re:not so simple on Adobe Acrobat Toolbar Worse than Malware? · · Score: 1

    Did you run latex 2x like some of the docs say? :/

    pdflatex might save you a step too.

  25. Re:What the hell? on Skype For Mac OS X and Linux · · Score: 3, Funny
    the big deal is that in this version... she talks back!

    Hope they fix that in the next version ;)