Archive for November, 2011
Ever since I started using twitter people have been accusing me that I talk too much. In the early days pretty much everyone told me this whenever we would meet in person, as more and more slovenians poured onto twitter and the whole thing has become a bit more mainstream it’s not that big a [...]
Music and The Zone
A lot has been said about The Zone – that magical place where doing something you love becomes instantly self-rewarding and you pull yourself along until you emerge on the other end. Slightly confused, a bit shaggy and you wonder why on earth are you hungry. In fact, a couple of hours passed since you [...]
A turing machine in 133 bytes of javascript
The fact it took me 20 lines of javascript to implement a nondeterministic turing machine simulatorlast week kept me up at night. All weekend. Too much code for something so simple and I kept having this gut feeling implementing a basic version shouldn’t take more than 140 bytes. Sunday afternoon I sat down for about [...]
On writing every day
Yesterday someone mentioned on twitter that it’s amazing how I write a blogpost every day, especially considering the quality of my posts. Leaving aside for a moment considerations that this might have been an epic case of sarcasm … writing a post every day isn’t that difficult anyway. When you think about it, everyone probably [...]
Comments Off
Nondeterministic turing machine simulator in 23 lines of JavaScript
Felt like doing some coding last night and since my friends were just trolling me about codegolfing a turing machine simulator(they need it for a term paper), I decided to do just that. At first I wanted to make it super simple, 10 lines of code max … and I failed. What better way to [...]
TEDxYouth Ljubljana report
Sunday saw the eighth TEDxevent in Ljubljana and through immense luck I was able to attend despite forgetting to reserve a ticket. Twitter is kind of cool like that, you ask if there’s any way to sneak into a sold out event happening the next day, somebody says they don’t need their ticket and then [...]
Best blogging week I have ever had
Somewhere around June this year I set a challenge for myself. I wanted a sustained 20k visitors every month on swizec.com by the end of the calendar year. The only real step towards this goal was to start blogging regularly. At first I would blog exactly twice a week on specific days, eventualy I started [...]
Strangest line of python you have ever seen
The other day @HairyFotr and @zidarsk8 were doing some codegolfing with implementations of nondeterministic finite state machineand asked me to blog their results. For those of us who often forget what all of this computer science mumbo jumbo means, here’s a quick explanation from wikipedia: In the theory of computation, a nondeterministic finite state machine or nondeterministic finite automaton [...]
Why I only work with startups
As a freelancer with a tinge of an online presence I often get to be picky about whom I work with. In a sense this ties into my post about the mindset of the current generation- I’m not picky because I get so many offers, I’m picky because I like to enjoy my work. This [...]
I suck at implementing neural networks in octave
A few days ago I implemented my first full neural network in Octave. Nothing too major, just a three layer network recognising hand-written letters. Even though I finally understood what a neural network is, this was still a cool challenge. Yes, even despite having so much support from ml-class … they practically implement everything and [...]
