News for hackers. Stuff that matters.

Skoofoo

Microsoft is trying to monopolize an industry? Stop the presses!

I wish Microsoft never entered the video game industry in the first place. They made it worse for everyone for their own profit.

Re:An 'in' operator for Ruby on Monday February 15, 2016 @08:36PM (#11107368)
One of my favorite aspects of Ruby is that everything is an object with methods. Adding global operators/functions like this would only complicate the language.

> But we also -- perhaps more often? -- ask questions like "Is this item part of this group?" We are asking a question about the item.

Here we are actually asking the group a question about itself. An item would not know a group's contents.

Re:The Rails Doctrine on Tuesday January 19, 2016 @04:15PM (#10934092)
Tools don't necessarily become less useful with time.
Re:Ruby: The Last Eight Years on Tuesday May 12, 2015 @05:42PM (#9535129)
The best guide to Ruby that I've seen is "Programming Ruby: The Pragmatic Programmer's Guide". http://ruby-doc.com/docs/ProgrammingRuby/
Re:My Weird Ruby on Friday March 06, 2015 @07:02PM (#9160340)
Ruby is duck-typed, so it is advantageous to write code and tests that are not tied to classes at all.

http://www.poodr.com/ goes in-depth about this.

Re:Ask HN: Freelancer? Seeking freelancer? (March 2015) on Sunday March 01, 2015 @10:07AM (#9127252)
SEEKING WORK - remote

High-quality custom web apps. Effective interface design, good code w/ Ruby on Rails, emphasis on agility, long-term provision of maintenance.

http://bytesofmight.com

You can achieve this effect in any common language with a Makefile.
Re:Show HN: Yeah, a Ruby video game framework on Monday August 18, 2014 @04:49PM (#8194594)
Early on I took a close look at Pixi.js, though it turned out to not be the right fit for the project. However, it is planned for Yeah to have an interchangeable WebGL renderer at some point, similar to Pixi.js and Three.js.
Re:Show HN: Yeah, a Ruby video game framework on Monday August 18, 2014 @04:11PM (#8194380)
Thank you for the kind words!

Great suggestion, I will add all those to the README soon; in the meantime here it is:

IRC channel: Freenode #yeahrb

Email: [email protected]

Issues: https://github.com/yeahrb/yeah/issues

Re:Show HN: Yeah, a Ruby video game framework on Monday August 18, 2014 @04:06PM (#8194348)
I think that this framework will be ideal for sprints like Ludum Dare.

Please do write about any questions, suggestions, issues, and bugs via GitHub issues, or to my personal email: [email protected]

Re:Show HN: Yeah, a Ruby video game framework on Monday August 18, 2014 @03:35PM (#8194171)
Thanks, I did not catch that before. I hope that the confusion will subside after Yeah becomes more well known.
Re:Show HN: Yeah, a Ruby video game framework on Monday August 18, 2014 @03:32PM (#8194155)
Gosu is a library that provides the basic building blocks for a video game, while Yeah is an opinionated framework designed to be fast to build games with. It is similar to Sinatra vs Ruby on Rails.

A major feature of Yeah is a Processing/HTML5 Canvas-like drawing API. http://rdoc.info/github/yeahrb/yeah/9f065a6/Yeah/Display

Yeah is in early development; more time-saving constructs and functionality are in the works (animated sprites, collision detection, touch controls, etc).

Yeah compiles to JS now, though it is platform-agnostic - in the future it will also compile into PC executables and mobile apps.

Re:Show HN: Yeah, a Ruby video game framework on Monday August 18, 2014 @02:38PM (#8193866)
Author here. Make sure to check out the examples and docs! This is alpha-stage software, but there is roughly enough functionality to build a complete modern video game.

Please ask me any questions you have! Feedback is appreciated.

Re:Lotus, a web framework for Ruby on Monday June 23, 2014 @03:30PM (#7934016)
Vienna is a Ruby web front-end framework that looks promising. https://github.com/opal/vienna
I thought I knew how to write good Ruby code, but then I read "Practical Object-Oriented Design in Ruby". http://www.poodr.com/
Re:Primer: Shaders on Sunday April 06, 2014 @11:18AM (#7541210)
Have been going through those to learn how to build out the rendering for my game framework. Awesome stuff! Your tutorials have saved me a lot of grokking time.
Re:Opal: Ruby in Your Browser – the Basics on Saturday April 05, 2014 @10:47AM (#7537207)
You have to drop down to JavaScript at some point, though in practice you would not write this much JavaScript mixed with Ruby in an app. The joy of using Opal is having the JavaScript wrapped away in a module, letting you use pure Ruby for your app.

The author used a lot of JavaScript here, likely for teaching purposes, but he could instead have used pure Ruby to interface with canvas using opal-browser. https://github.com/opal/opal-browser/blob/master/opal/browse...

Re:Zed: The Next Phase on Wednesday April 02, 2014 @11:00AM (#7515971)
One option is building an open source framework to be the base for your commercial projects. Rails and Django started this way.

What XChat does is charge for the official Windows binary[1] while being open source. I think something like this would be a good option for Zed.

[1] http://xchat.org/windows/

Re:WebGL raytraced eye on Tuesday February 25, 2014 @02:49PM (#7299967)
The game's physics, visuals and sound actually seem to be thoughtfully designed. It has an open yet secluded feel that can be compared to Minecraft or other historically successful games.
Re:Honest Android Games on Sunday February 02, 2014 @04:49PM (#7167753)
The games that were in the Humble Android Bundles seem to all fit the criteria and tend to be wortwhile. https://en.wikipedia.org/wiki/List_of_Humble_Bundles
Re:Ember.js is driving me crazy on Tuesday January 28, 2014 @01:14PM (#7138664)
The issue is that JavaScript is being given a larger load to carry than it was designed to hold. We need to upgrade to using Ruby with Meteor-esque frameworks, and fast.
Re:Show HN: LightPaper for Mac – Free Markdown editor on Friday December 27, 2013 @06:06AM (#6970235)
The best markdown editor for me would be a minimal web app (vertical split, implicit URL generation, no settings). There is no particularly good solution for efficiently writing and sharing Markdown notes.

Older »