This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java and have Dr. Raoul-Gabriel Urma & Richard Warburton on-line!
See this thread for details.
Win a copy of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java this week in the Agile and Other Processes forum!

Jane Jukowsky

Ranch Hand
+ Follow
since Mar 28, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jane Jukowsky

I am considering Java. My problem is that the only reasonable ORM Java comes with is eBeans (used in Play templates), and I can't figure out whether eBeans is alive or dead, as far as its market share goes.

More precisely, I want something ActiveRecord-like (read: rails-like) and preferably not based on Hibernate. Hate Hibernate, and hate it when it shows its ugly head though attempts at encapsulation.

Still, Java seems sensible and, of course, familiar. How would you compare the speed of development on Java/Play vs. Rails? I know you are not very familiar, so I am not sure why I am asking.. a gut feeling or a hearsay perhaps? You surely know more than me!
Lots of experience with Java; only basic experience with web. So whatever makes my work with web easier. Languages I think are less important.

Also, whoever has a better ORM. Is it true that with Slick, you have to explicitly map fields to columns, it's not done for you automatically? That would be a major bummer!
Thank you for your comment. You are right, I will be immersing in Scala very gradually, with the goal of learning it as I go, just using it as a slightly more elegant Java at first.

What I need to know - how is Play vs. Ruby as far as development time goes? Especially initial development time, because I am a web newbie and need to get up to speed fast.
Would you please elaborate on that? What does Rails do that Scala+Play does not?

(Other than Ruby being a dynamic language; but that' OK, since historically I've been a static language person, so I like the advantages of a static language: compile-time errors, refactoring, autocomplete, etc.)
Looks like you are right:

http://www.google.com/trends/explore#q=ruby%20tutorial%2C%20play%20tutorial&cmpt=q&tz=

So it boils down to speed of development. Can someone attest to the development speed of Play vs Rails?
Also, the client is in Seattle, so no shortage of programmers here. Microsoft, Amazon, Google, Expedia and many more are all here. Perhaps if the client was in a smaller town, manpower would have been a bigger issue.

Bear Bibeault wrote:
In my opinion the rest are either old-and-crusty technologies heading to the has-been dump (e.g. Grails, Rails), or niche technologies that few organizations will be able to easily accept handoff of (Scala, Clojure, other trendy but little-used languages).



Rails going to the has-been dump? Do you have a proof of that?

Rails has certainly gone down after the initial boom, but that was probably because of the GIL issues. Since then, it seems stable. (Also, I am leaning towards jRails so to speak, but don't know whether it's a good choice due to its strange obscurity)

I say, speed of development is my top of priority. If it's true that Rest is faster than Play, then rest it is. But is it faster?
Thank you for your advice!

chris webster wrote:Well, you forgot Clojure or full-stack JavaScript and MongoDB with Mean.io...]



These would be all completely new skills for me. I've heard Clojure is great after you overcome the initial parentheses shock, but I don't want to go there now.

You don't mention your client's needs here. Do they want/need a Java application, with the extra hosting costs and admin overhead?


Hosting costs and admin overhead for a Java app? How so?

Or would the "website" be something you could do with a simple hosted WordPress or Drupal installation?


Nope. Perhaps if I wrote very extensive plug-ins, maybe; but I think writing from scratch would be easier.


Do they have the skills to maintain the website in future e.g. if you choose something like Scala/Play?


They don't have any programmers at all, so they'd had to hire/contract accordingly. Given that Scala developers are few and cost more, that is a significant argument for me. (Although, scala programmers tend to be all around good programmers in my experience)


Do they need this done quickly, in which case Rails/Grails/Django might be the most productive option, even if they're not your first choice for your resume.


They definitely need this done quickly, which is a good argument for Rails. (I would have chosen Grails, but thought Grails is dead?)

I wonder if Play (either Java/eBean or Scala/Slick) is slower than Rails, and if so, why? The frameworks are said to be more or less equivalent?

Why is it not choice for my resume? Ruby seems to pay as high as Java per my job search, second only to Scala.


FWIW, I don't have a lot of web-development experience, and I'm learning Play for Scala with Slick right now, which is fun but it's also a fairly steep learning curve. YMMV.


What did you find to be the hardest thing to learn? Are you coming from a dynamic language background?

BTW, is it true that eBean is nearly dead, and Slick requires you to explicitly map fields to columns, no convention over configuration?


I am a veteran Java programmer with very little web experience. I need to develop a website for a client. Not sure how to approach choosing a framework.

*Grails: I've played with it before, seems very intuitive to me (after I learned to debug its cryptic errors), but it seems its market share is incredibly low. Wonder why?

* Rails: little familiarity, but (please correct me if I am wrong!) seems to have more 3rd party libraries for everything, has AJAX built into the framework, its ActiveRecord pattern is most intuitive? But still suffers from Global Interpreter Lock, at least to a degree; and, being a Java programmer, I fear leaving the JVM

* JRuby on Rails: better for me than rails, but heard somewhere that it does not work as well (why?) and, more importantly, the popularity of Ruby is very low: http://www.google.com/trends/explore#q=ruby%20on%20rails%2C%20jruby%2C%20scala%2C%20play%20framework&cmpt=q&tz=
Wonder why?

* Java + Play: I get the benefit of the familiarity, but, to the best of my understanding, no scaffolding? I want to scaffold CRUD! Also, the documentation seems lacking and/or outdated. For instance, I am having a hard time configuring my Eclilpse to work with it, and I've spent half a day on it. One would think there would be a ready current tutorial. Plus, Java for some reason does not have an ActiveRecord ORM that I like, as far as I can tell (ActiveJDBC comes somewhat close to it)

* Scala + Play: Probably the best solution, but now I am going to hit too many learning curves at once: Scala, web, Play, Javascript, template language, sbt, etc. Slick looks good though!

* Python/Django - nah. I'd rather go with Rails.

* Anything else I've left out?

What's the "I agree" sentence in my signature? (I have not been here for a log time!)
5 years ago
For example, what can Ruby and Scala do that Java 8 can not, as far as functional programming goes?
5 years ago
1. On one computer, I have two webcams, but they both show as one vfw:Microsoft WDM Image Capture (Win32:0). When selected, it prompts user to choose the actual camera. Can I suppress that and choose the right camera programmatically?

2. On another computer, I have a working logitech camera, but JMStudio | Capture does not even want to show the whole left part of the screen dedicated to "Video", i.e. it shows options for audio only. How do I get it to do video when this whole part of the screen is disabled?

3. All I need is, capture still images from webcam. Are there easier ways of doing that??

Thanks!
9 years ago
C:/Ruby191/lib/ruby/gems/1.9.1/gems/ruby-debug-base-0.10.3-x86-mswin32/lib/ruby-debug-base.rb:1:in `require': 126: The specified module could not be found. - C:/Ruby191/lib/ruby/gems/1.9.1/gems/ruby-debug-base-0.10.3-x86-mswin32/lib/ruby_debug.so (LoadError)
from C:/Ruby191/lib/ruby/gems/1.9.1/gems/ruby-debug-base-0.10.3-x86-mswin32/lib/ruby-debug-base.rb:1:in `<top (required)>'
from C:/Ruby191/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.5/lib/ruby-debug.rb:5:in `require'
from C:/Ruby191/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.5/lib/ruby-debug.rb:5:in `<top (required)>'
from C:/Ruby191/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.5/bin/rdebug-ide:6:in `require'
from C:/Ruby191/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.5/bin/rdebug-ide:6:in `<top (required)>'
from C:/Ruby191/bin/rdebug-ide:19:in `load'
from C:/Ruby191/bin/rdebug-ide:19:in `<main>'


The ruby.debug.so and ruby-debug-base.rb exist. What's up with that?
9 years ago
As you can see below, copying from COM1: to CON:, from the same device and within seconds, sometimes works fine, sometimes does not. What sometimes fixes it is a "^C" and then another copy command. It's as if sometimes we start listening to the port at a wrong moment in time, and it can't come to its senses until we retry. What's up with that?

BTW, this COM port only has RXD, TXD and ground pins.



9 years ago