Better HN
topnewbestaskshowjobs
Log inSign up

gary4gar

440 karma · joined Mar 6, 2011 (15y ago) · 173 submissions

Ruby on rails Freelance Consultant
Submissions

comment 4mo ago · link · parent

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.

comment 9y ago · link · parent

What's wrong with just doing SHA1?

comment 10y ago · link · parent

How is this different from https://github.com/RobotsAndPencils/buford?

4.

Uber’s Highest Query per Second Service Using Go(eng.uber.com ↗)

8 points · by gary4gar · 10y ago · discuss

comment 10y ago · link · parent

Tried the Golang cheatsheet, the rendering is broken. lots of <br> tags

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

6.

Coarse Grained Language and Locale Matching in Go(blog.golang.org ↗)

2 points · by gary4gar · 10y ago · discuss

comment 10y ago · link · parent

What about High availability, auto-scaling & avoiding single point of failure?

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

comment 11y ago · link · parent

What are you using for ref docs? https://developer.spotify.com/web-api/get-album/

9.

Ask HN: How to Improve our API's documentation

1 points · by gary4gar · 11y ago · discuss

comment 11y ago · link · parent

is it faster than MRI?

11.

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

20 points · by gary4gar · 12y ago · 51 comments

comment 12y ago · link · parent

does this work on all android versions?

comment 12y ago · link · parent

Downloading via Bittorrent! Getting 12.04 LTS with great speeds.

comment 12y ago · link · parent

   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?

comment 12y ago · link · parent

    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?

comment 12y ago · link · parent

    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.

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

UbunutuOne & OneDrive are quite similar names which might cause confusion for microsoft

comment 12y ago · link · parent

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

comment 12y ago · link · parent

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

comment 12y ago · link · parent

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

comment 12y ago · link · parent

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

comment 12y ago · link · parent

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

comment 13y ago · link · parent

You are doing god's work with Discourse & improving rails/ruby to support 50/ms response/per request.

Thank you!

comment 13y ago · link · parent

You can use Google Visualization API, its really easy to use.

comment 13y ago · link · parent

Curious to know what are thing in "ruby proper" that make it slow?

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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

comment 13y ago · link · parent

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.
123456