jamis
Playing “what if” with “if” – exploring a consequence of Ruby's grammar
Write It When You Need It
It's Not Your Fault – The Role of Environment in Burnout
Avoiding the Trap – Learning to Recognize Burnout
The Poverty of Constraints – Two Proverbs That Preach Productivity in Poverty
“Being a Good Neighbor” – Thoughts on the Role of Compassion in Business
“Don't Feed the Hamster the Whole Stalk” – A Parable about API Design
“The weakly-flowing stream” – don't let constraints kill your momentum
Living with your eyes open – learn wherever you are
Four Korean proverbs applied to software development
Re:Don't Assume It's Difficult Until It Is
on Sunday January 10, 2016 @09:54PM (#10878488)
Thanks for stating it more clearly than I did! You've nailed it. It's always bothered me when people dismiss their ability to learn a thing, because they think some part will be difficult. They really have no idea. Yes, the task as a whole will have difficult parts, but we as individual human beings are far more capable than we give ourselves credit for.
Don't Assume It's Difficult Until It Is
“Recover the Widgets” – WebGL Game Prototype
Avoiding “Call Super” with Callbacks
Don't confuse an integration API for an internal API
Upsilon Mazes
Representing toroidal grids and mazes
Fifteen minutes – doing more in smaller chunks
Test-last vs. test-first: testing what you should have written
Re:The Dynamic Def – abusing Ruby's def statement
on Sunday October 18, 2015 @12:18PM (#10408647)
Agree about debugging. To my thinking, though, there are two types of "programming": professional (for day jobs, where debugging, testing, and maintainability matter), and recreational (where the point is to just explore new things and try crazy stuff that no one in their right mind would ever "really" do). This "def" stuff falls into the latter category.
Honestly, I wish there were more people doing posts about recreational programming topics. WhyTheLuckyStiff was one of the last great recreational Rubyists. I miss that kind of no-holds-barred exploration.
Re:The Dynamic Def – abusing Ruby's def statement
on Sunday October 18, 2015 @11:50AM (#10408528)
Thanks! I'm not the first to talk about using IRB for interactive fiction, but I think I might be the first to do so using nested defs. :) IRB-based Zork would be awesome! I hope someone does that.
The Dynamic Def – abusing Ruby's def statement
The Dynamic Def – abusing Ruby's def statement
Stuck? Try changing the channel
Re:Generating Word Search Puzzles
on Saturday September 26, 2015 @04:10PM (#10284268)
The article links to my github repository for a wordsearch utility I wrote (here: https://github.com/jamis/wordsearch) and it includes a description of a technique for embedding a message in the unused letters of a wordsearch puzzle.
Re:Generating Word Search Puzzles
on Saturday September 26, 2015 @01:22PM (#10283681)
Backtracking works well to try and fit words in tightly, but (especially in cases where the words just BARELY fit) it can take a long time to generate the puzzles. I'm sure that judicious use of heuristics could prune unprofitable branches more quickly and speed things up, but I've not explored those optimizations at all.
Re:Generating Word Search Puzzles
on Saturday September 26, 2015 @01:09PM (#10283626)
Good point. I was relying mostly on the words being sufficiently complex that the odds of them appearing by chance would be small, but enforcing that assumption would be a good exercise.