HNHacker News
TopNewBestAskShowJobs

gary4gar

440 karma · joined March 6, 2011

Ruby on rails Freelance Consultant
submissionscomments
gary4gar··on Ask HN: How do you handle QA at a startup with no QA team? Genuinely curious
Everyone does QA at a startup. There is no dedicated QA. If you're a developer, you're doing QA. Product, whatever your job title is, you're doing QA.
gary4gar··on Binary Transparency for Firefox
What's wrong with just doing SHA1?
gary4gar··on Push notifications from Go with Apple's new HTTP/2 protocol
How is this different from https://github.com/RobotsAndPencils/buford?
gary4gar··on DuckDuckGo ES6 Cheatsheet
Tried the Golang cheatsheet, the rendering is broken. lots of <br> tags

https://duckduckgo.com/?q=golang+cheatsheet&ia=answer&iax=1

gary4gar··on Running costs for running a web app
What about High availability, auto-scaling & avoiding single point of failure?

Might not be that important in your case, I am guessing.

gary4gar··on RAML – RESTful API modeling language
What are you using for ref docs? https://developer.spotify.com/web-api/get-album/
gary4gar··on JRuby 9000 released
is it faster than MRI?
gary4gar··on RubyMotion 3.0 Sneak Peek: Android Support
does this work on all android versions?
gary4gar··on Ubuntu 14.04 released
Downloading via Bittorrent! Getting 12.04 LTS with great speeds.
gary4gar··on RoboVM: Native iOS apps in Java

   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?
gary4gar··on Mathematicians find way to put 7 cylinders in contact without using their ends

    they built a wooden model to demonstrate their answer — although Bozóki notes 
    that the model doesn’t verify the result because manufacturing errors 
    are much greater than any errors the computer could have made.
What's the point, when its not practically possible?
gary4gar··on Ruby Garbage Collection: Still Not Ready for Production

    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.
gary4gar··on Ruby 2.1.1 is released and Ruby turns 21
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.
gary4gar··on Ruby 2.1: Out-of-Band GC
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.

gary4gar··on Microsoft SkyDrive is now OneDrive
UbunutuOne & OneDrive are quite similar names which might cause confusion for microsoft
gary4gar··on Support for Ruby 1.9.3 will end on February 23, 2015
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
gary4gar··on Fedora 20 released
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

gary4gar··on AngularJS 1.3: a new release approaches
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
gary4gar··on Why would an ISP not offer up-to-date Ruby support?
DreamHost is mostly used for LAMP stack. you might want to Use heroku which offers first-class ruby support.

    https://devcenter.heroku.com/categories/ruby
gary4gar··on AngularJS 1.3: a new release approaches
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
gary4gar··on Rails 3.2 Performance: Another Step Slower
You are doing god's work with Discourse & improving rails/ruby to support 50/ms response/per request.

Thank you!

gary4gar··on Show HN: goworker – a faster, Resque-compatible background worker
You can use Google Visualization API, its really easy to use.
gary4gar··on Ruby 2.1 Garbage Collection to Address Criticism on Large Scale Deployments
Curious to know what are thing in "ruby proper" that make it slow?
gary4gar··on Ruby 2.1 Garbage Collection to Address Criticism on Large Scale Deployments
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.
gary4gar··on One VM to Rule Them All
Interesting. Wondering, if the ruby implementation they wrote for demo available? Want to play around with it. How do I install it?
gary4gar··on Top Sites Built with Ruby on Rails
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.
gary4gar··on Upcoming 'Supervised User' Feature of Google Chrome
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?

gary4gar··on Facebook vulnerability 2013
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.
gary4gar··on Ask HN: Learning Ruby beyond Codeacademy
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.

gary4gar··on Ember.js 1.0 RC7 Released
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

Page 1 of 5Next →