Slashdot Mirror


User: graznar

graznar's activity in the archive.

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

Comments · 26

  1. Re:Real use on RubyGems' Module Count Soon To Surpass CPAN's · · Score: 3, Informative

    Here's a quick list just off the top of my head: * YellowPages.com * All of the 37signals apps (Basecamp, Campfire, etc.) * Hulu * Scribd * LivingSocial * Penny Arcade * GitHub * Twitter (backend powered by a ton of stuff but their frontend is mostly Rails) * Chow.com * Oracle.Mix * Shopify * Justin.tv * Crunchbase There are a ton more public facing and even more (as you mention) sort of "behind the firewall" type stuff. Ruby (especially Rails) has stepped up as a pretty major contender in the web development arena. :)

  2. Re:Hi, the author here... on Ruby In Practice · · Score: 1

    Yes, let's all have a good laugh at my surname. I picked it out myself after all. I kid. I get that a lot. :)

  3. Hi, the author here... on Ruby In Practice · · Score: 2, Informative

    Looks like the stock is getting slim over on Amazon, so if you want to order it still and they're out, hit up the Manning site: http://manning.com/mcanally/ Thanks!

  4. Re:Yes, in fact, RoR DOES suck (WARNING: RANT.) on Twitter Reportedly May Abandon Ruby On Rails · · Score: 2, Informative

    You're obviously very misinformed or your information is out of date or something.

    1) Yes, it copies things into your Rails directory. Know how to fix that little upgrade problem? rake rails:update. Done. They made a task to do exactly what you describe.

    2) There are plugins available that do all the things you describe, but the Rails framework is meant to be a very slim platform to build applications on. If you want all the bells and whistles, look up things like ActiveScaffold, Magic Models, etc. The point of Rails isn't to make an application for you like Joomla or something; it's a framework/platform to build things like Joomla on top of.

    3) Again, plugins. It isn't Rails job to generate your HTML designs for you.

    4) It's as close to MVC as you're going to get on the web. It IS MVC in a loose design pattern sense, but of course I'm not a purist so who cares.

    5) You don't have to use mod_rewrite. Rails has extremely rich routing. You can make any URL point to any controller, action, and even provide custom parameters to that action dependent on the URL. I don't think Rails has used mod_rewrite in something like 3 years. Even further, most heavy duty deploys of Rails these days use nginx, not Apache or Lighty as you describe.

    It seems that your opinions are based on an old version of Rails or something. So, I adjure you to go check out the new version. It's matured a lot in the past 1.5-2 years.

  5. "Professional work" on Wicked Cool PHP · · Score: 4, Insightful

    ...too flippant for a professional work.

    You picked up "Wicked Cool PHP" and expected a really stodgy, professional work?

  6. GoDaddy has a special page... on Registerfly's Accreditation Terminated by ICANN · · Score: 1

    Go to http://godaddy.com/registerfly and get a special rate and they'll petition ICANN directly for you.

  7. Re:i'm hoping... on Jack Thompson Faces Disciplinary Hearing · · Score: 1

    despite being a Christian, which is hardly the minority

    I'd really like to know America you're living in. There are "Christians" (like Mr. Thompson) floating around (e.g., I think about 50-60% of Americans claim to be Christian), but Christians, i.e., Jesus-following, God-loving, Bible reading Christians, have dropped to about 30% (or lower...that was in 2001).

    I would, though, like to find this America you speak of.

  8. Re:A suggestion: on Podcasts of University Lectures? · · Score: 1

    Sure, it's not right for every situation. We don't have classes over 100, and in classes that approach that number, you simply have homework every class. If you don't turn in the homework (or at least a piece of paper with your name on it or a blank worksheet), then you don't get counted present. Tedious? Yes. Makes the student be responsible? Definitely.

  9. A suggestion: on Podcasts of University Lectures? · · Score: 5, Insightful

    So what methods can be used to provide these pod-casts for the students who actually attended class?

    An attendance policy? Miss class 6 times, you fail. That's the policy at my university, and it works.

  10. Ruby is a good choice on Teaching Primary School Students Programming? · · Score: 1

    Ruby is readable and pretty easy to grasp. There's even a free text, Learn to Program by Chris Pine, which takes the reader through the baby steps of learning to program.

  11. There's Hope! on Computer Job w/ No Computer Degree? · · Score: 3, Informative

    I started a CS degree and quit about 9 credit hours into it. I suck at math, but I've been programming since I was 12. I've had about 4 jobs doing computer/sysadmin work (two of them at large colleges), have programmed freelance for some time, and I'm now writing a book for Manning Publications on programming (along with a self-published book also).



    All while getting a degree in Theology. :)



    Don't fret about the degree; you just need the skills and mindset to do it.

  12. Re:Python to Ruby on Web Development with TurboGears and Python · · Score: 1

    Well, if you use Unicode then either Python based framework would probably be btter. Also, there are in general a lot more tools and libraries to help you on your way with Python coding than with Ruby coding.

    Probably (depending on what you're doing), but there is an extreme lack of plugins/extensions/whatever for Django and TurboGears when compared with Rails.

  13. Re:No, it came from a PHPtard. on Ruby For Rails · · Score: 1

    Er, no. They only share instance variables; you can still have separate local variables. How are you to get data into the view if you don't share it? Sheesh. And what method is a million miles long? has_and_belongs_to_many? Would you rather he name it something semantically meaningless like "h_a_btm" like PHP or Java would?

  14. Re:Rails needs to be more mature on Ruby For Rails · · Score: 1

    Ah, I was talking about your reference to a query like this: INSERT INTO foo VALUES(NOW());

    In that case, you CAN do it... http://wiki.rubyonrails.org/rails/pages/StoredProc edures

    BUT! That's not the Rails way. See this entry on DHH's blog.

  15. Re:RoR -- Made for Java Devs on Ruby For Rails · · Score: 1

    The main advantage to PHP programmers is structure and lack of SQL. If you've ever used PHP for web development, you get annoyed with SQL really quick (especially if you're doing complex updates). It's much simpler to use ActiveRecord to off-load all that stuff. There are other advantages, too, but that's the big one that I, as a former full-time PHP dev, see as the biggest.

  16. Re:Rails needs to be more mature on Ruby For Rails · · Score: 1

    Uhhh...

    Support for saving database records using database function. In other words, I want Rails to automatically perform a query that looks like this...

    Create a column called "created_at" and Rails does it automatically according to which db adapter you're using. No function call (on your end) needed.

    - Apache integration is still too immature. I don't know about Apache 1, but Apache 2 integration using FastCGI doesn't work *at all*. The documentation on the website about Apache integration is very messy: different pages suggest different things. After much research I found out that

    I think the Agile Web Development with Rails book addresses this and I know that my book does, but either way that configuration is quickly becoming a thing of the past. FastCGI is slow, cumbersome, and hard to configure compared to using mod_proxy and pointing at a bunch of Mongrel (a Ruby/C based web server) instances. If you must use this setup, then look here: http://wiki.rubyonrails.org/rails/pages/FastCGI

    If you really want the best setup, look here and here.

    Documentation is still too immature. While the API references are pretty good, the Wiki is very messy (see Apache integration).
    Agreed and work is being done on that, but don't discount Rails because of the bad wiki. Hit up Planet RubyOnRails, Planet Ruby, and RubyCorner: Ruby blogs are where the info is. If you like what you see, shell out the money for one of the books. I don't know if Ruby for Rails is a great place to start, but however you think you'll learn best, go with it: learning the language first (Ruby for Rails), learn the language from the framework (Agile Web Development with Rails), or a quick (50~ page)run through and then Rails (Mr. Neighborly's Relevant Ramblings, Thoughtful Theories, and Pointed Pontifications on Ruby and Rails -- my book).

    -Jeremy

  17. Re:.net and java on Americans Are Scarce in Top Programming Contest · · Score: 1

    I can't say that I know a single person who actually knows the two languages that TC works with...

    For all you guys who didn't get the joke, .net isn't a language (OTOH, C# and VB.NET are) and the language name is Java (or JAVA?), java is the compiler.

    At least I think it was a joke; maybe it was just a troll. Either way, now you know.

  18. Re:Why "managed" == "denial" on Don Box: Huge Security Holes in Solaris, JVM · · Score: 3, Interesting

    There is great value in a "managed" system like the Java VM. It gives us an extraordinary amount of safety that we are frankly unaccustomed to.

    Which I'm guessing your misinformation leads you to believe that .NET doesn't afford?


    There is also obviously no way we can do everything that way. For hot code, we work at lower levels, put in more work, and (for now) accept the additional risks. Note that the constant stream of ugly worldwide security problems is gradually but now noticeably decreasing our apetite for doing everything that way.


    Right...for "hot code" .NET developers use Interop to access lower level APIs and interfaces.


    As far as I can tell, by allowing unmanaged code in the runtime, .NET gives you only the worst of both worlds.

    I'm not really sure why you're wailing on .NET; security is a holistic effort. Your sysadmin needs to disable access to dangerous operations; the developer needs to put in place security measures (regardless of what language); the user needs to know how to operate software.

    JNI does essentially the same thing as Interop. People who have been using JNI in its originally intended context don't see this, but some people use JNI to access lower level interfaces and APIs (such as shared memory, native APIs, etc.).

    Now, of course, I'm sure you'll gloat about the proverbial "sandbox" that Java offers, but you fail to realize that .NET has this also. Try running an assembly off a remote store or even run a method through a remote channel. .NET's standard security is pretty high. It respects system permissions and principals, so I'm not sure why people keep saying it's some sort of apocolyptic risk.

    Unmanaged isn't any different than writing a program and using JNI to talk to it.

  19. Well... on If Windows Came to PPC, Would You Switch? · · Score: 1

    No.

  20. MSDNAA...? Prior Art? on Sun Files For Patent on Software Licensing Method · · Score: 2, Insightful

    I hope they know this is the same scheme that the Microsoft Academic Alliance uses...

  21. Re:U r teh suXORs. on The Web Programming CD Bookshelf · · Score: 1

    ahem...that's 1337 H4ax0r thank you very much.

  22. Re:Makes me glad on Corporations Suffer Microsoft Activation Bug · · Score: 1
    Hahahaha.. Seriously, I'd love to see some decent sized organizations with Open Office. If I could find one organization with atleast 30 people all using open office, then I'd be one step closer to convincing the CEO that we could go Open Office.


    80% of my school uses open office. there's 35 people in my class...maybe you should do some more statistical research before you try to convince your CEO. :) it might help your case ;)
  23. avoidance... on Watching Kids Via Mobile Phone · · Score: 0

    [sarcasm] hey wow! i have one of these nifty cell phones and i don't EVER have to talk to my kids! i used to have to tell them "come home right after school!" and "be home by 9!" whenever they'd leave for hours on end, but now i can just sleep through the whole process. [/sarcasm]

    what's next, a cell phone that makes lunches too?

  24. huntsville on Meet The Leonids · · Score: 1

    wow...they're going to be in huntsville? i live perhaps 30 minutes from there. does anyone know if they are offering a sit-in or something like that so locals can watch it easily? i called but they gave me the run around. if they do, i'll take pictures to share! :D

  25. interesting... on Building Anonymous-Friendly Computer Libraries? · · Score: 3, Insightful

    hmm i agree that the users rights should be protected. but maybe the RAM disk is a little bit of over kill. i think potentially it could be solved at a software level rather than having to reload the OS into a new location. theoretically, browsing habits can be covered easily at the software level with many programs available on the internet. i sure wish the CoDC would come up with something for this. :)