Byatool - byatool.com - Programming By A Tool
General Information:
Latest News:
Google Closure: An Enter Key Press 21 Jun 2013 | 06:34 pm
Real quick thing which was getting the enter key to be handled on press in an input/textbox… though probably other things. This assumes that 13 is the universal id for the enter key. Not sure if ther...
Clojure: Chaining Lamba Expressions that Act Like Partials 9 May 2013 | 09:30 pm
Really simple one. Say you have a chain like this: Pretty normal, and boring… and not super easy to read. Now this might happen only to someone who is rather new to Clojure (ME), but I figured I’d po...
JavaScript DSL Because I’m Tired of Writing If.. If…If… 17 Apr 2013 | 06:44 am
A little while ago a co-worker had expressed a dream of his to create some kind of language agnostic standard for validation. Without actually listening to what he meant by that, I set forth on doing ...
Common Lisp Macro to T-Sql Experiment 16 Mar 2013 | 06:40 am
So just another jump into the unknown, I wondered great wonders about creating a macro in Common Lisp that would just print out what I type between the () into T-Sql. Essentially, I want to type this:...
Common Lisp and Reader Macros… You Better Sit Down For This 6 Mar 2013 | 04:38 am
Fair warning: I only learned about reader macros today, so my terminology may suck. Well, most likely it would still even if I had a couple weeks. So it will suck more. Say, 20% more suck. In case yo...
Euler 3 Just Got Lisped Up 3 Mar 2013 | 03:40 am
“What is the largest prime factor of the number 600851475143?” One thing I’ve learned so far from the euler stuff is that if seems too hard, I’m doin’ it rong. What I initially did is go from 2, trie...
Common Lisp and How It Conquered the Euler Problem 2 27 Feb 2013 | 08:35 am
So yesterday I took down Euler problem 1. Yeah, I’m just that good. In fact, only something like 250k of the entire world population (7 billion or so) got it right. That’s not even including people li...
Project Euler: Question One… And A Pointless Macro 26 Feb 2013 | 08:21 am
So for the something of it I am going to see how far I can get in the Euler Project Problems (Not sure if I should have capitalized “problems”). Basically finding solutions to questions no one has eve...
Common Lisp: Intro to Macros… Because I Only Know Enough for an Intro 18 Feb 2013 | 01:52 am
SPECIAL NOTE: I am extremely new to Common Lisp, and macros. I’m willing to bet that anything shown here can be improved. Been reading through Paul Graham’s On Lisp which is probably not a real “Int...
TDD – Test First: A Javascript Story 3 Feb 2013 | 09:30 pm
You might be wondering a great many things as you begin to read this most epic of epic things. I can only give you some of the answers you seek, and some that you don’t even know you need. I’m mysteri...