Site uses cookies to provide basic functionality.
Javascript rendering is set to off by default when visiting the site via .onion and .i2p domains. It can be enabled back again in user's settings section. Javascript rendering set to off means, that you can disable javascript in your browser now and the site will remain functional.
There is also IRC server now available via native IRC clients or non javascript web based one.
Fonts can be adjusted in user's settings section as well.
Check FAQ for more.

OK

Last night I did no work on the game. Nothing. Nada. Zilch. Instead I had pizza, played some games, and then promptly fell asleep. I didn’t realize how tired I was after 4am-2am-whatever-am nights over this weekend, and really the past few weeks, until I passed out in front of my PC while ordering an artillery assault. I needed the one-night’s rest. As a result today I’m awake and ready to get back into it.

Four minor characters from 19th century epistolary novels break free on twitter and converse with each other as well as any other person who engages with them. A new work of collaborative fiction between bots and real people. @MrsJewkes (Pamela; or, Virtue Rewarded), the bot/human hybrid @SergeantCuff (The Moonstone/Matthew Butler), @FredericaVernon (Lady Susan), and the […]

Back in September 2011, a group of McMaster business and engineering students started a project aimed to build a moon rover that would be run by the QNX operating system on a BlackBerry PlayBook - a Canadian initiative with Canadian technologies (QNX is 100% Canadian). Here is a link to the original article on CrackBerry.com from the beginning of the project: https://crackberry.com/forums-new-group-aims-put-blackberry-playbook-powered-rove..

Back in September 2011, a group of McMaster business and engineering students started a project aimed to build a moon rover that would be run by the QNX operating system on a BlackBerry PlayBook - a Canadian initiative with Canadian technologies (QNX is 100% Canadian). Here is a link to the original article on CrackBerry.com from the beginning of the project: https://crackberry.com/forums-new-group-aims-put-blackberry-playbook-powered-rove..

Busy day yesterday! Got a lot done. Switching light source from one entity to another proved to be surprisingly quick and easy. I was done with my emitter attribute in no time.

Hi All, Just finished working on the more complete fix. More importantly, the fix that I completed on Tue 27th has been approved by the marketplace and should be available to everyone soooooooooooon, once the changes have propagated through the marketplace systems. Hopefully this should be around Monday but I’m still at the mercy of the marketplace, in the meant time you can try and force the update but I’ve not had any luck so far with t..

Work, work - liza.io - 14 years ago - eng
Got a bit more sleep last night - went to bed at 2am instead of 3-4. The lighting saw a lot of progress. I think all of the core functionality we need thus far is in. There will be tweaking of lighting levels etc, but in terms of what it can do - it’s pretty much all good for the time being, although I’ve accounted for the possibility that we may need to add more to this later and made sure the code is fairly flexible. This meant that l..

caption id=“attachment_47744” align=“alignleft” width=“224” caption=“Breakfast.”] [/caption] [caption id=“attachment_47748” align=“alignleft” width=“225” caption=“My Friday night was more exciting than yours.”] [/caption]

A separate monitor is handy for showing tests results continuously while working. The paintbrushes are strictly optional. What follows is a somewhat rambling introduction to continuous, test-driven development, focusing mainly on Python and influenced by Clojure tools and philosophy. At the end, a simple script is introduced to help facilitate continuous TDD in (almost) any language. For the last four years I have increasingly foll....

A separate monitor is handy for showing tests results continuously while working. The paintbrushes are strictly optional. What follows is a somewhat rambling introduction to continuous, test-driven development, focusing mainly on Python and influenced by Clojure tools and philosophy. At the end, a simple script is introduced to help facilitate continuous TDD in (almost) any language. For the last four years I have increasingly foll....

A separate monitor is handy for showing tests results continuously while working. The paintbrushes are strictly optional. What follows is a somewhat rambling introduction to continuous, test-driven development, focusing mainly on Python and influenced by Clojure tools and philosophy. At the end, a simple script is introduced to help facilitate continuous TDD in (almost) any language. For the last four years I have increasingly foll....

I wanted a simple 'Like' button connected to my facebook fanpage. No stream, no faces, no counts, no nonsense. I couldn't find an easy and obvious way to do it. I spent more time than I would care to admit trying to figure this out and it turns out to be trivial. Go to Like Button developer tool. Set 'URL to Like' to your facebook page ( http://facebook.com/FacebookName ) Set 'Width' to '50' Uncheck 'Send Button' Choose 'Button Coun..

caption id=“attachment_47729” align=“alignleft” width=“223” caption=“Lighting notes…”] [/caption] I know, I know another post about lighting. I promise this will be over soon (I hope).

I recently had a chance to try out blitz.io (or click my affiliate link thing and get me some free tests), a new load-testing tool from…

Python requests is the de facto HTTP package for Python, nice API, wonderful documentation. I had the need to sign my requests and to change the header after the request was built, [here is hooks](http://docs.python- requests.org/en/v0.10.7/user/advanced/#event-hooks), simply call a function pre_request and your are done: def auth_sign(req): user_id = '4f47a5f21aebcedff3001234' secret_key = 'C21LHQ5R4RVO2U2UMTEZ' timestamp = str(int(time.mk..

Simple. - tomforb.es - 14 years ago - eng
I like things to be simple. So I wrote my own blog software to replace the rather un-simple WordPress. Its not that WordPress its hard to use or install, far from it, Its just got a lot of bloatware in my opinion, so I replaced it with Simple. Simple uses MarkDown to format posts, an aims to be as s...

Simple. - tomforb.es - 14 years ago - eng
I like things to be simple. So I wrote my own blog software to replace the rather un-simple WordPress. Its not that WordPress its hard to use or install, far from it, Its just got a lot of bloatware in my opinion, so I replaced it with Simple. Simple uses MarkDown to format posts, an aims to be as s...

Over the past couple of days I’ve been experimenting with JavaScript lighting in Impact. It’s been…a process…and it is still very far from complete, but I feel like I’m making progress.

Third Party - www.craigpardey.com - 14 years ago - eng

Sometimes your code needs to call a static method in a 3rd party library and unit testing  suddenly becomes difficult, particularly when that static method requires context in order to work. Enter the insulating class (also known as a Facade). Create a new interface that declares a method with the same signature as the static method you want to delegate to Create a new Facade class that implements the interface Replace the calls to the ..

Hi all, So sat on the train back from London today I was frustrated to find that I couldn’t read any articles on the BBC News Mobile app. This was swiftly followed by the realisation that I would have to fix this ASAP and the cancelling of my plans for the evening. I’m going to look to publish a fixed version this evening and hopefully it will get through the certification process in the next few days. In the meant time please be patien..

I’ve been doing a lot of work with timers and multiple entity spawning, as well as modifying entity attributes on the fly based on player input. It’s been very interesting - and possibly the most interesting part is that it hasn’t been that hard. Yet. That’s a very present “Yet”, just so you know. It will get harder. To get my head around what has to happen in-game I’ve been sketching and jotting things down on paper in the notebook I origi..

Goodbye Bend - amerine.net - 14 years ago - eng
Goodbye Bend, Hello Portland! My wife and I have lived in Bend for nine years, last month we spent our last weekend there together and just spent my last few days in Bend working on Ruby on Ales 2012. When siting here reflecting on all that’s happened in that span of time it’s hard to not smile about all that we’ve done. The year 2003 feels so close yet it was nearly a decade ago… Everything we counted as part of our lives was in or nea....

Over time, I've started noticing a trend: as humans we have a great aversion to pain. Okay, that doesn't really make me a master of the human mind, but it's still a starting point. Hearing this, an appropriate response would be suprise: how could it have possibly taken that long for me to come to that realization? I suppose the real issue isn't that people don't like discomfort, but that I'm starting to see the things that people are willin..

Problem: Prove that generalized versions of Mario Brothers, Metroid, Donkey Kong, Pokemon, and Legend of Zelda are NP-hard. Solution: http://arxiv.org/abs/1203.1895v1 Discussion: Three researchers (including Erik Demaine, a computer science professor at MIT famous for his work with the mathematics of origami) recently finished a paper giving the complexity of a number of classic Nintendo games (the ones I loved to play). All are proven NP-h..

Problem: Prove that generalized versions of Mario Brothers, Metroid, Donkey Kong, Pokemon, and Legend of Zelda are NP-hard. Solution: http://arxiv.org/abs/1203.1895v1 Discussion: Three researchers (including Erik Demaine, a computer science professor at MIT famous for his work with the mathematics of origami) recently finished a paper giving the complexity of a number of classic Nintendo games (the ones I loved to play). All are proven NP-h..

Problem: Prove that generalized versions of Mario Brothers, Metroid, Donkey Kong, Pokemon, and Legend of Zelda are NP-hard. Solution: http://arxiv.org/abs/1203.1895v1 Discussion: Three researchers (including Erik Demaine, a computer science professor at MIT famous for his work with the mathematics of origami) recently finished a paper giving the complexity of a number of classic Nintendo games (the ones I loved to play). All are proven NP-h..

Problem: Remember results of a function call which requires a lot of computation. Solution: (in Python) def memoize(f): cache = {} def memoizedFunction(*args): if args not in cache: cache[args] = f(*args) return cache[args] memoizedFunction.cache = cache return memoizedFunction @memoize def f(): ... Discussion: You might not use monoids or eigenvectors on a daily basis, but you use caching far more often than you may know. Caching the resul..

Problem: Remember results of a function call which requires a lot of computation. Solution: (in Python) def memoize(f): cache = {} def memoizedFunction(*args): if args not in cache: cache[args] = f(*args) return cache[args] memoizedFunction.cache = cache return memoizedFunction @memoize def f(): ... Discussion: You might not use monoids or eigenvectors on a daily basis, but you use caching far more often than you may know. Caching the resul..

Problem: Remember results of a function call which requires a lot of computation. Solution: (in Python) def memoize(f): cache = {} def memoizedFunction(*args): if args not in cache: cache[args] = f(*args) return cache[args] memoizedFunction.cache = cache return memoizedFunction @memoize def f(): ... Discussion: You might not use monoids or eigenvectors on a daily basis, but you use caching far more often than you may know. Caching the resul..

I woke up last night after a weird dream and wrote this down (I guess falling asleep with your laptop open on the bed comes in handy), editing typos etc out this morning. Rereading it today I can barely remember any of the actual dream. I wish I could make it come back and find out what happened.

Today we’re officially announcing our JavaScript API for the new HTML5 SoundCloud Widget. To use it, just insert the script tag on a page…

Today we’re officially announcing our JavaScript API for the new HTML5 SoundCloud Widget. To use it, just insert the script tag on a page…

As I’ve gotten over my jetlag I’ve been ramping up the JS work again. There are now two projects to work on and I won’t be posting much about the second one specifically, but will still be writing about the general JavaScript learning progress as well as posting Gwen updates.

Eclipse - www.craigpardey.com - 14 years ago - eng

I had an annoying problem on Windows 7 x64 with Helios x64 where I had pinned Eclipse to the taskbar but would see two icons whenever Eclipse was running. I found that the following workaround works with the option “Always combine, hide labels” for taskbar buttons. You must specify a -vm argument in your “eclipse.ini” file (in your Eclipse directory). The -vm argument in your “eclipse.ini” must point to the bin directory of your JDK or ..

If you are interested in node, you know that NodeJS uses an event driven I/O model and it is single threaded, so it is not meant to be working multi-core. However, by using the clustering support, you can bump your applications speed. I will give a a plain hello example, however consider that you will never send just hello world to anyone in the world without any background processing like database connections, cache connections, file opera..

I hate giving promises for things I can’t control. I can promise that I will attend a party or that I will set aside time to help you with your problem. I cannot promise that the party will be fun or that your problem will be solved. Giving promises on effort is honest, giving promises on outcomes is dishonest. A team that commits to an estimate is promising something they cannot control.

Over 3 months ago we started the “Hacker Time” initiative (see here) and now it is time for a recap what’s happened so far. From the outset…

Open Advice - bergie.iki.fi - 14 years ago - eng
I seem to have not blogged about this, but Open Advice , our book on Free and Open Source Software: what we wish we had known when we started , was published last month. The book was edited by Lydia Pintscher and includes essays from 42 authors , many of whom you'll recognize if you tend to go to FOSS conferences. The LWN book review concludes: Open Advice is a book that will be helpful to those who are new to FOSS, but, becaus....

Open Advice - bergie.iki.fi - 14 years ago - eng
I seem to have not blogged about this, but Open Advice , our book on Free and Open Source Software: what we wish we had known when we started , was published last month. The book was edited by Lydia Pintscher and includes essays from 42 authors , many of whom you'll recognize if you tend to go to FOSS conferences. The LWN book review concludes: Open Advice is a book that will be helpful to those who are new to FOSS, but, becaus....

Over 3 months ago we started the “Hacker Time” initiative (see here) and now it is time for a recap what’s happened so far. From the outset…

Open Advice - bergie.iki.fi - 14 years ago - eng
I seem to have not blogged about this, but Open Advice , our book on Free and Open Source Software: what we wish we had known when we started , was published last month. The book was edited by Lydia Pintscher and includes essays from 42 authors , many of whom you'll recognize if you tend to go to FOSS conferences. The LWN book review concludes: Open Advice is a book that will be helpful to those who are new to FOSS, but, becaus....

Problem: Write a program that shuffles a list. Do so without using more than a constant amount of extra space and linear time in the size of the list. Solution: (in Python) import random random.seed() def shuffle(myList): n = len(myList) for i in xrange(0, n): j = random.randint(i, n-1) # randint is inclusive myList[i], myList[j] = myList[j], myList[i] Discussion: Using a computer to shuffle a deck of cards is nontrivial at first glance for..

71 visitors online