Forgot your password?

typodupeerror

Comment: Re:ron paul is economically illiterate (Score 1) 1797

by rycamor (#37817300) Attached to: Ron Paul Wants To End the Federal Student Loan Program

left to its own devices, the market will naturally, i said NATURALLY, gravitate all power and wealth into the hands of a few.

As versus what we have now? How many trillions in bailouts (leading to nice fat bonuses for the Wall Street oligarchy) will it take to convince you otherwise?

More powerful government == more opportunities for corruption. Yes, NATURALLY.

Comment: Re:Android? (Score 2) 219

by rycamor (#37664908) Attached to: Google Starts to Detail Dart

Seems to me DART is meant to replace the ubiquitous PHP/Javascript combination. Think about it: quick prototypes with untyped code, moving to static typechecking wherever wanted, Server-side and client-side execution, built-in HTML5 DOM library. Its features may be unexciting, but they could provide an easy escape from PHP/Javascript hell without too much learning curve.

If that is Google's primary target with DART, it may prove to be a very strategic move.

Comment: Re:Consulting (Score 1) 735

by rycamor (#37639188) Attached to: Ask Slashdot: Does Being 'Loyal' Pay As a Developer?

This has always worked out well for me at some level or other. If you make it clear that your reason for leaving is not a negative one (IE. hating your boss/job/whatever) and that you are willing to do whatever you can to help them make the transition, usually employers are quite reasonable about such things. One of my former employers (a branch of a very large company) still contacts me occasionally even 4 years after my departure.

Never burn bridges, but never limit yourself due to feeling sorry for your employer.

Comment: Re:I just migrated... (Score 1) 171

by rycamor (#37458386) Attached to: Why You Shouldn't Panic About Closed Source MySQL Extensions

Having migrated a few applications from MySQL to Postgres, the truth is, it will be painful, but the result is you will be a LOT more confident in the quality and manageability of your data. Start here

PostgreSQL has all the datatypes that MySQL has, and more (see especially the ), and usually with far less limitations. Any character type can be up to 1GB in size if needed, for example.

The biggest sources of pain will likely come from character set handling (some MySQL oddities there) and MySQL's ready acceptance of NULL where it really shouldn't occur. Learn to love grep, sed and the 'iconv' utility.

There are conversion utilities that will get you part of the way there with a DB structure dump, but they will hardly do justice to a complex database. You will have to reengineer your system--in fact you will want to, since PostgreSQL has many capabilities that you cannot take advantage of in MySQL.

Triggers and stored functions are a little less 'wieldy' in Postgres, but far more capable once you get the concepts. For one thing, MySQL re-compiles all stored procedures for every instance of a connection (making SPs in PHP web-based apps almost pointless). One caveat: Postgres does not have 'true' stored procedures in the sense that they cannot span multiple transactions. Thus they are called functions, but aside from the transaction limitation, they are far more capable than MySQL stored procedures. For example, result sets from functions can be treated exactly like result sets from tables, and nested inside other queries and views, even in the FROM clause in ways that MySQL still does not allow. Full referential transparency.

Postgres has many more indexing options than MySQL, which you will want to explore for performance tweaking.

Postgres has the RULE system which allows for query rewriting in much the way that Apache's mod_rewrite allows for URL rewriting. It is a powerful tool, allowing you to potentially get rid of tons of stored procedure code. In some ways it works like an alternate triggering mechanism, but it is very lightweight.

BTW, one way you might consider handling your migration is using PostgreSQL's new foreign data wrapper or SQL/MED functionality, which can allow you to query a MySQL table from within a PostgreSQL DB (read-only for now, but excellent for importing tables interactively)

Comment: Re:Science (Score 1) 330

by rycamor (#33889732) Attached to: Sir Isaac Newton, Alchemist

A while back (June 5 2009) Tom Levenson was talking about his book, "Newton and the Counterfeiter: The Unknown Detective Career of the World's Greatest Scientist," on Science Friday http://www.npr.org/templates/story/story.php?storyId=105012144. A caller asked the Levenson about Stephenson's work. Levenson said that the Newton's voice was so plausible that he had stopped reading them until he had finished his own book.

Very interesting to note. I had been wondering about that part of the story.

Also, don't give up reading the trilogy! It gets better and a lot of the pieces don't come together until the final book.

Absolutely!. I am at the last 100 pages right now and it surely does not lose steam. Nor punk. (OK, I'll stop now)

QOTD: Silence is the only virtue he has left.

Working...