HN user

gary4gar

440 karma

Ruby on rails Freelance Consultant

Posts27
Comments140
View on HN
eng.uber.com 10y ago

Uber’s Highest Query per Second Service Using Go

gary4gar
8pts0
blog.golang.org 10y ago

Coarse Grained Language and Locale Matching in Go

gary4gar
2pts0
news.ycombinator.com 10y ago

Ask HN: How to Improve our API's documentation

gary4gar
1pts0
news.ycombinator.com 11y ago

Ask HN: Going from Redis to MySQL. Good idea?

gary4gar
20pts51
www.businessinsider.com 13y ago

13 Badass Immigrant Entrepreneurs In Tech

gary4gar
1pts0
emmet.io 13y ago

Emmet shows-off super-charged way to write HTML & CSS

gary4gar
2pts1
www.youtube.com 13y ago

Ask HN: How do make video like these?

gary4gar
1pts3
andrewchen.co 13y ago

Visual Basic, PHP & then Rails. Is Node.js next?

gary4gar
2pts0
www.firstpost.com 13y ago

Twitter removes client names from tweets

gary4gar
2pts0
www.gaurishsharma.com 13y ago

Migrating existing Wordpress Blog to AppFog

gary4gar
4pts0
msdn.microsoft.com 14y ago

An Introduction To Domain-Driven Design - MSDN

gary4gar
1pts0
my-symbian.com 14y ago

Reasons Not to Buy a Windows Phone 7

gary4gar
2pts0
www.gaurishsharma.com 14y ago

This is why you should Pay me more

gary4gar
1pts0
www.marketwatch.com 14y ago

Slideshare acquired by LinkedIn

gary4gar
58pts7
github.com 14y ago

WebOS's JavaScript framework enyo is now OpenSource

gary4gar
77pts6
blog.errorception.com 14y ago

Writing Quality Third-Party JS: The First Rule - You DO Not Own The Page

gary4gar
9pts0
jedi.be 14y ago

Devops a Wicked problem

gary4gar
2pts0
i.imgur.com 14y ago

Ask HN: Typo in Facebook's HTTP header "X-Cnection: close" intentional?

gary4gar
9pts4
i.imgur.com 14y ago

Google is now a certificate authority?

gary4gar
2pts2
speakmyname.biz 14y ago

A tool to stop other people from mispronouncing your name

gary4gar
1pts0
www.bitrebels.com 14y ago

10 Signs That You Need A Social Media Detox

gary4gar
1pts0
www.gaurishsharma.com 15y ago

This is Why I love technology

gary4gar
1pts0
plus.google.com 15y ago

Google's search results are not relevant, example: PDF

gary4gar
12pts18
news.ycombinator.com 15y ago

Ask HN: How important is "unobtrusive javascript"?

gary4gar
3pts1
www.h-online.com 15y ago

IPv6 Deployment story of heise.de(one of the biggest news sites in Germany)

gary4gar
37pts9
news.ycombinator.com 15y ago

Ask HN: Why not fix JavaScript?

gary4gar
33pts46
www.gaurishsharma.com 15y ago

My love/hate relationship with JavaScript

gary4gar
2pts0
   Print the CLA, sign it and scan it (or use a camera to photograph it) and e-mail it to hello(at)robovm.com. Include your GitHub user name in the e-mail.

print & scan in 21st century...really?
    Work on the Ruby interpreter is weirdly silo'ed off and mostly done by Japanese developers, so there's a significant barrier to entry for any enterprising C developer to roll her sleeves up and get hacking.
This is wrong. Ruby Developers welcome contribution in any form. Also, they have various resource to get started:
    Official Contributing Guide: http://ruby-doc.org/core-2.1.1/doc/contributing_rdoc.html
    Ruby Hacking Guide: http://ruby-hacking-guide.github.io/
    Book on ruby internals: http://www.amazon.com/Ruby-Under-Microscope-Illustrated-Internals/dp/1593275277
    RubySpecs: http://rubyspec.org/
Further, incase you are stuck. you can post on the mailing-lists. someone will surely help you get started.

Ruby v2.1 have a improved GC which helps a LOT with performace. You can know about Performance changes in these posts:

    http://tmm1.net/ruby21-rgengc/
    http://tmm1.net/ruby21-oobgc/
And 2.1.1 is point release, so only contains bug fixes. It doesn't contain new features.

It would be nice to get these patches in core as part of ruby 2.1.1 so others don't need to patch & recompile ruby from source.

Other that, anything that improves performance is a welcome change.

Ruby 2 is almost dropin replacement for Ruby 1.9.3. so upgrading should be easy & backwards compatible with following exceptions

    Incompatibility
    There are five notable incompatibilities we know of:

    The default encoding for ruby scripts is now UTF-8     [#6679]. Some people report that it affects existing     programs, such as some benchmark programs becoming very slow [ruby-dev:46547].

    Iconv was removed, which had already been deprecated when M17N was introduced in ruby 1.9. Use String#encode, etc. instead.

    There is ABI breakage [ruby-core:48984]. We think that normal users can/should just reinstall extension libraries. You should be aware: DO NOT COPY .so OR .bundle FILES FROM 1.9.

    #lines, #chars, #codepoints, #bytes now returns an Array instead of an Enumerator [#6670]. This change allows you to avoid the common idiom "lines.to_a". Use #each_line, etc. to get an Enumerator.

    Object#inspect does always return a string like #<ClassName:0x…> instead of delegating to #to_s. [#2152]

    NEWS: https://www.ruby-lang.org/en/news/2013/02/24/ruby-2-0-0-p0-is-released/
I would encourage you to try out ruby2 today, you will be surprised how easy the upgrading process is. Plus, your app will run 20% faster due to performance improvements
Fedora 20 released 13 years ago

Ruby Devs, Take note, Fedora 20 has ruby 2 & rails 4 available. to get started with rails, all you need to do is:

   yum install rubygem-rails
and Bam, it will install latest ruby, rails & other dependencies. That's not all, they have more than 2thousand ruby related packages(all recent versions).

Fedora seems to have one of best ruby support. Way to go!

https://apps.fedoraproject.org/packages/s/ruby

I am currently reading "Web Application Development With Angular". Its a well written book geared towards who already know angular basics. That's why I suggested O'Reilly book as its introductory which explains angular core concepts.

Another book worth looking at is: Recipes with Angular.js which is covered under Leanpub Unconditional Return Guarantee. so if you don't like the book. 45 days of purchase you can get a 100% refund.

    https://leanpub.com/recipes-with-angular-js
so you can try the above, if you don't like the other two

Try the following

    - AngularJS http://shop.oreilly.com/product/0636920028055.do
    - Web Application Development With AngularJS http://www.packtpub.com/angularjs-web-application-development/book

Sad fact is MRI even with no matter how much effort we put in would never would be able to match GCs of battle tested VM like JVM.

so I am wondering, it makes sense to stop designing a VM & just focus on language. Perhaps, something like Truffle can be used to do the optimizations for you. Ruby on truffle is already 4-5x faster than MRI. And the ruby implementation was done by an intern in just 6months. All because power of JVM.

        https://twitter.com/headius/status/362616159897534465
        http://www.oracle.com/technetwork/java/jvmls2013wimmer-2014084.pdf
Something to keep in mind.

Interesting. Wondering, if the ruby implementation they wrote for demo available? Want to play around with it. How do I install it?

Instead of full rewrite, migrate to JRuby. From sysadmin standpoint, an rails app running on JRuby is java. so you can submit .WAR file to them & they can deploy it like a normal java app running on the JVM.

Exactly.

Maybe this makes sense on Chrome OS. But for other main stream OSes like Windows, User accounts should be best left on OS. maybe a quick way to change profiles but that should be limit. Any further than this would be just reinventing the wheel & duplicating the features(parental control for example) that are already present in Modern Operating System.

on a related note, has anyone noticed memory usage of Google Chrome? Its crazy bonkers?

This obviously is cause of language barrier. It seems bug reporter didn't have any evil intentions but was just trying to get attention of facebook so this can be fixed. so I think he should paid. maybe you can ask for an apology for tampering user data as he was wrong on that part but still he did discover a valid flaw in facebook's iron clad security.

Learning by Doing.

I suggest you to start building something. If you have no idea what you want to build, ask your family, friends or co-workers for a neat idea that solves a problem & try to build it. if you are unsure about your skills, then pick a dead simple idea. complexity of idea is not important. More importantly, the satisfaction taking an idea & turning into reality is amazing.

This is how you will go from a novice learner to experienced developer that ships code that people actually use.

OMG! Yet Another Release Candidate?

Ember team, release it already. Its going to be fine. if there any bugs left, you can follow it up with minor bug fix release. More Importantly, not having a stable release does hurt the adoption of framework. Just Saying