News for hackers. Stuff that matters.

saqu

Pascal niki the robot adaption for JavaScript

https://s-a.github.io/TRY.js/?q=%7B%22c%22%3A%22this%5Cr%5Cn%20%20.do(%5C%22run%5C%22%2C%209)%5Cr%5Cn%20%20.do(%5C%22refuel%5C%22)%20%5Cr%5Cn%20%20.do(%5C%22turn%5C%22%2C%20%5C%22left%5C%22)%5Cr%5Cn%20%20.do(%5C%22run%5C%22%2C%2021)%5Cr%5Cn%20%20.do(%5C%22turn%5C%22%2C%20%5C%22left%5C%22)%5Cr%5Cn%20%20.do(%5C%22run%5C%22%2C%20%7B%5Cr%5Cn%20%20%20%20%20%20%5C%22direction%5C%22%3A%5C%22up%5C%22%2C%5Cr%5Cn%20%20%20%20%20%20%5C%22count%5C%22%3A40%2C%5Cr%5Cn%20%20%7D)%5Cr%5Cn%20%20.do(%5C%22run%5C%22%2C%2010)%5Cr%5Cn%20%20.do(%5C%22engineOff%5C%22)%5Cr%5Cn%20%20.do(%5C%22charge%5C%22)%5Cr%5Cn%20%20.do(%5C%22shutdown%5C%22)%5Cr%5Cn%20%20.start()%3B%22%2C%22t%22%3A%22it(%5C%22should%20be%20in%20the%20home%20box%5C%22%2C%20function()%20%7B%5Cr%5Cn%20%20robot.sensor.atHome().should.be.true%3B%5Cr%5Cn%7D)%3B%22%2C%22e%22%3A%7B%22robot%22%3A%7B%22position%22%3A%7B%22x%22%3A0%2C%22z%22%3A0%7D%2C%22energy%22%3A%7B%22current%22%3A200%2C%22max%22%3A200%7D%2C%22fuel%22%3A%7B%22current%22%3A0%2C%22max%22%3A65%7D%2C%22capacity%22%3A%7B%22current%22%3A0%2C%22max%22%3A0%7D%7D%2C%22homeBox%22%3A%7B%22position%22%3A%7B%22x%22%3A200%2C%22y%22%3A180%2C%22z%22%3A-20%7D%7D%2C%22walls%22%3A%5B%7B%22position%22%3A%7B%22x%22%3A200%2C%22y%22%3A80%2C%22z%22%3A-20%7D%2C%22scale%22%3A%7B%22x%22%3A100%2C%22y%22%3A160%2C%22z%22%3A100%7D%2C%22movable%22%3Afalse%7D%5D%2C%22stations%22%3A%5B%7B%22position%22%3A%7B%22x%22%3A0%2C%22y%22%3A20%2C%22z%22%3A80%7D%2C%22type%22%3A%22fuel%22%7D%5D%2C%22flowers%22%3A%5B%5D%7D%7D

( Read More... | no comments | on HN )
Re:Web Performance and Optimization in Rails ͘ on Wednesday June 03, 2015 @04:36AM (#9651270)
Rails and performance should not be mentioned in the same sentence. XD
Re:What software you use to be creative? on Tuesday June 02, 2015 @06:04AM (#9644870)
A list of graphic, video, audio and 3d programs. Would be nice to see some pull requests
This is an easy way to support plugins aka addons or packages within your node.js apps.
It is a commandline app documenting Javascript code.
I would appreciate help at https://github.com/s-a/beatproducer but at this time it is at raw development. In facto any contribution is welcome :)

Older »