shawn42
shawn42 on Hacker News
Posted by
shawn42 on Wednesday May 10, 2017 @11:41AM
from the spin.atomicobject.com dept.
Posted by
shawn42 on Thursday May 04, 2017 @03:36PM
from the blog.codeship.com dept.
Posted by
shawn42 on Thursday April 27, 2017 @11:24AM
from the spin.atomicobject.com dept.
Author of the article here. This implementation of A* was me playing around. It is definitely not optimized for either Ruby or Crystal It was merely a chunk of Ruby code that I had lying around. You are right about the unsorted queue being a hack around Array, but it was part of another experiment of using a "Fast Stack"[1] for the A* algorithm. It allowed me to swap in other Queue implementations easily.
The point of the article was merely "How much work does it take to port Ruby to Crystal" The performance differences were just fun to see, not the intent.
If I get time, maybe I'll run this through jRuby+Truffle as a comparison, that would be interesting to see.
[1] https://github.com/SteveRabin/JPSPlusWithGoalBounding
Sweet. I'm glad to see progress on this already.
Neat. Thanks for posting that. Hopefully, that process could be cleaned up and streamlined as a lot of it would be repetitive boiler plate.
Posted by
shawn42 on Wednesday December 07, 2016 @10:59AM
from the spin.atomicobject.com dept.
I think it's important to keep in mind that the OP is a consultant not a developer at a product company. I'm sure they end up working with external development teams that can't simply be dismissed (or fired), but must be worked with for the good of the customer.
Simply saying "bad management" or "bad hire" takes too narrow a view on software development. The OP is a developer trying to get work done with the team, not a manager with authority over the others.
Nice! I really like the art style; but isn't >2D Simplex noise patented?
I like your idea here. I think the downside of this approach is you must scale your random data points by a scaling factor to get them in a known range.
Unintentional, that's what happens when you write a toy not intending to publish it. Article has been updated with credit.
(Author here): One approach is to use multiple layers of noise configured with different parameters. By joining multiple layers you can give the appearance of things like ocean, flatlands, and mountains.
Also, cannot recommend Amit Patel's stuff enough. That guy is a fountain of knowledge for all things gamedev.
Posted by
shawn42 on Thursday January 29, 2015 @03:04PM
from the spin.atomicobject.com dept.
Supporting some sort of JIT in Ruby is a long time coming. Glad to hear it!
I wonder how this "soft typing" would affect things like method_missing magic and the like. Would it be an optional runtime option to enforce the implicit interface?
2.1 changes how the method cache works. It is now hierarchical as opposed to the old global cache.
+1
I wonder if anyone has a branch of what the "refined" activesupport would look like.
Posted by
shawn42 on Friday June 08, 2012 @09:56AM
from the spin.atomicobject.com dept.
Posted by
shawn42 on Wednesday February 22, 2012 @10:14AM
from the spin.atomicobject.com dept.
Having worked in both of these situations, I completely agree with this post. Even with the adoption of "Corporate Agile", our large teams were not able to get near the efficiency of a smaller 4-6 man team.
I think another point to look at would be the level of scrutiny that goes into hiring another member of a dev team of 5-20. A 100 dev team is usually hiring by resume via HR with less focus on culture fit and in-depth technical knowledge.
Posted by
shawn42 on Wednesday January 04, 2012 @09:58AM
from the spin.atomicobject.com dept.
I like it! It really helps, especially in writing concise tests.