News for hackers. Stuff that matters.

gary4gar

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.
Re:Binary Transparency for Firefox on Wednesday March 29, 2017 @07:56PM (#13991730)
What's wrong with just doing SHA1?
How is this different from https://github.com/RobotsAndPencils/buford?
Re:DuckDuckGo ES6 Cheatsheet on Tuesday February 23, 2016 @03:18AM (#11157357)
Tried the Golang cheatsheet, the rendering is broken. lots of <br> tags

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

Re:Running costs for running a web app on Sunday January 10, 2016 @01:16PM (#10876351)
What about High availability, auto-scaling & avoiding single point of failure?

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

Re:RAML – RESTful API modeling language on Thursday September 10, 2015 @04:33PM (#10200373)
What are you using for ref docs? https://developer.spotify.com/web-api/get-album/

Ask HN: How to Improve our API's documentation

Hello, We have an ReSt API that have been in use internally &amp; now we have started opening it for our partners.I have done the initial documentation by parsing our server logs to get the params, then tried the requests in POSTMAN. Once I had the params &amp; responses, I documented them on http://developers.punchh.com/Now, the docs there are 90% correct but sometimes they are out-of-date,...

( Read More... | no comments | on HN )
Re:JRuby 9000 released on Wednesday July 22, 2015 @01:55PM (#9931196)
is it faster than MRI?

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

We are building a SaaS backend for restaurants using Rails. We integrate directly with POS, so each POS keeps sending customer orders that we store for later processing. we have this POS integration going at about 1,000 locations which send us about 3 Million individual customer orders on monthly basis.for this write-heavy app, we store all orders in redis which is working beautifully. We are...

( Read More... | 51 comments | 20 points | on HN )
Re:RubyMotion 3.0 Sneak Peek: Android Support on Wednesday May 28, 2014 @05:58PM (#7813225)
does this work on all android versions?
Re:Ubuntu 14.04 released on Thursday April 17, 2014 @12:12PM (#7604474)
Downloading via Bittorrent! Getting 12.04 LTS with great speeds.
Re:RoboVM: Native iOS apps in Java on Saturday April 12, 2014 @07:02PM (#7579522)

   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?

    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?
Re:Ruby Garbage Collection: Still Not Ready for Production on Friday March 28, 2014 @04:43PM (#7489860)

    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.
Re:Ruby 2.1.1 is released and Ruby turns 21 on Monday February 24, 2014 @12:18PM (#7291953)
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.
Re:Ruby 2.1: Out-of-Band GC on Thursday January 30, 2014 @06:27AM (#7150073)
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.

Re:Microsoft SkyDrive is now OneDrive on Monday January 27, 2014 @10:06AM (#7130611)
UbunutuOne & OneDrive are quite similar names which might cause confusion for microsoft
Re:Support for Ruby 1.9.3 will end on February 23, 2015 on Friday January 10, 2014 @08:25AM (#7036439)
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
Re:Fedora 20 released on Tuesday December 17, 2013 @09:10AM (#6921127)
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

Re:AngularJS 1.3: a new release approaches on Sunday December 15, 2013 @02:42AM (#6908709)
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
Re:Why would an ISP not offer up-to-date Ruby support? on Sunday December 15, 2013 @02:33AM (#6908696)
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
Re:AngularJS 1.3: a new release approaches on Saturday December 14, 2013 @10:07PM (#6908196)
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
Re:Rails 3.2 Performance: Another Step Slower on Wednesday November 27, 2013 @03:40AM (#6807139)
You are doing god's work with Discourse & improving rails/ruby to support 50/ms response/per request.

Thank you!

You can use Google Visualization API, its really easy to use.
Curious to know what are thing in "ruby proper" that make it slow?
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.
Re:One VM to Rule Them All on Tuesday September 10, 2013 @07:37AM (#6359396)
Interesting. Wondering, if the ruby implementation they wrote for demo available? Want to play around with it. How do I install it?
Re:Top Sites Built with Ruby on Rails on Saturday August 24, 2013 @09:54AM (#6268646)
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.

Older »