I'm thinking of building a file server that will be storing a bunch of media files. So, probably will use RAID 5 or something. Probably in the 1-3 terabyte range to start.
What OS should I use for that? If Linux, would Slackware be a good choice? I'm hearing good things about Solaris and ZFS, so I'm also considering using that.
Also, I might decide to put a couple thin terminals around the house. I'm wondering if the file server should also be running the X sessions, or if I should get another heftier box for that.
I would think that large corporations and government agencies generally care about the legality of their software. So, you might see most of the initial movement towards OO there.
What I said has nothing to do with the DUI case. Why do you think that keeping military technology closed has any relevance to whether or not a company can keep "trade secrets" out of court?
Over who? Everyone else. China, Russia, Iran, North Korea, etc.
I don't see a reason why China should have access to all the internal military projects going on at Lockheed, Boeing, etc. Let them build their own technology - they're quite capable.
There's zero reason to have military software and technology publically available.
It only generates enough javascript to work with the prototype javascript library. Most of the javascript that you can easily use with Rails is in that library (i.e. it's not automatically generated). And if you don't want to use Rails helpers, you don't have to.
do ||.. end is basically equivalent to { ||... }, so I'm not sure where you're going with that.
Personally, I find the block approach to be more clear. The other method is what C / C++ / Perl / Python probably do, but blocks are a big reason of why I like Ruby.
Using blocks makes it really clear when the HTTP connection is open and when it is closed. Same with doing a database transaction or a File operation.
Rails supports many-to-many relationships as well. And provides support for many other relationships (see acts_as_list, acts_as_tree, acts_as_nested_set, etc).
And not linux software raid?
Has anyone heard anything bad or good about Solaris's ZFS?
I don't know why I would need a 64-bit CPU, let alone two of them for a simple file and/or X server.
I'm thinking that stability and quality are much more important than speed here.
But thanks for the information.
I'm thinking of building a file server that will be storing a bunch of media files. So, probably will use RAID 5 or something. Probably in the 1-3 terabyte range to start.
What OS should I use for that? If Linux, would Slackware be a good choice? I'm hearing good things about Solaris and ZFS, so I'm also considering using that.
Also, I might decide to put a couple thin terminals around the house. I'm wondering if the file server should also be running the X sessions, or if I should get another heftier box for that.
Along those lines, get Ship It, another book in the same Pragmatic Programmer series.
Honest. Get it.
In later versions of Gnome, nautilus doesn't have spatial browsing on by default.
Also, if you start the gconf-editor, there should be an option in one of the nautilus configs to disable spatial browsing.
Um, Gnome has font management. Not sure what you mean by 'clipboard usage'.
I would think that large corporations and government agencies generally care about the legality of their software. So, you might see most of the initial movement towards OO there.
Ruby on Rails is not "all about generated code". Not in the least.
If you have only followed a tutorial where they had you generate some starter code, then yeah, I can maybe see how you would think that.
You don't have to use scaffolds though -- they're only there if you want them. Sometimes I use them and sometimes I don't.
AFAIK, there's an option to turn off the AA for fonts in the gnome control center window for fonts.
What I said has nothing to do with the DUI case. Why do you think that keeping military technology closed has any relevance to whether or not a company can keep "trade secrets" out of court?
Over who? Everyone else. China, Russia, Iran, North Korea, etc.
I don't see a reason why China should have access to all the internal military projects going on at Lockheed, Boeing, etc. Let them build their own technology - they're quite capable.
There's zero reason to have military software and technology publically available.
You're kidding right?
..
Come on, think. Why wouldn't the DoD want to release the software that controlled our nukes, subs, satellites, NORAD, jets, simulations, etc.?
MAYBE SO THAT THE UNITED STATES RETAINS ITS MILITARY TECHNOLOGICAL SUPERORITY
God, honestly.
GTA:SA wasn't censored in the least.
They included AO material in a game that wasn't AO. And got busted.
It only generates enough javascript to work with the prototype javascript library. Most of the javascript that you can easily use with Rails is in that library (i.e. it's not automatically generated). And if you don't want to use Rails helpers, you don't have to.
Just answering the question in your subject: http://wiki.rubyonrails.com/rails/pages/RealWorldU sage
The tutorials obviously don't go much beyond the basics, because they are *tutorials*.
I see you work for the Microsoft. How's work at the Microsoft? Are you enjoying being part of the Microsoft?
I wrote an ajax search box in about four lines of code. I'm sure Rails did not help me at all.
It doesn't take long to be able to write a loop in a language, and btw, the Ruby way to write a loop would be something like
container.each { |element| # something }
or
10.times { |i| puts i }
But it does take a while to learn how to use all the assorted libraries and frameworks that a new language gives you.
What the hell?
Rails has three modes:
Honestly, that was a really misinformed and inflamatory comment.
do || .. end is basically equivalent to { || ... }, so I'm not sure where you're going with that.
Personally, I find the block approach to be more clear. The other method is what C / C++ / Perl / Python probably do, but blocks are a big reason of why I like Ruby.
Using blocks makes it really clear when the HTTP connection is open and when it is closed. Same with doing a database transaction or a File operation.
The rockets that NASA use are really expensive. These alternative forms are not.
You can easily do custom SQL with Rails.
Rails supports many-to-many relationships as well. And provides support for many other relationships (see acts_as_list, acts_as_tree, acts_as_nested_set, etc).
(ActiveRecord *already* splits business logic between the DB and the application.. hint.. where are the column names and types declared?)
i gration.html
In the Ruby Migration script, in my projects at least.
See http://api.rubyonrails.com/classes/ActiveRecord/M
Because your last example doesn't close the HTTP connection. And it's not exception safe.
File.open("my_file") do |f|
f.read # do stuff with it
# if exceptions are thrown, the file will be closed
end