|
Back in december of 2004 I started a new life from zero. I was 22 years old without any money, education or connections. I borrowed my mothers computer and started to learn HTML and internet marketing. That is now 7 years ago and each year I publish an annual report. Main highlights from 2011 My [...]
|
|
Back in december of 2004 I started a new life from zero. I was 22 years old without any money, education or connections. I borrowed my mothers computer and started to learn HTML and internet marketing. That is now 7 years ago and each year I publish an annual report. Main highlights from 2011 My [...]
|
|
Today we’ve added support for our new HTML5 widget to the oEmbed endpoint. Aside from a brand new user interface with lots of improvements, the HTML5 widget doesn’t require Adobe Flash anymore. That means the widget will load much faster and finally work well on most mobile platforms, including Android & iOS. And we won’t stop here. We’ll continue to improve the new widget in the coming months.
|
|
Today we’ve added support for our new HTML5 widget to the oEmbed endpoint. Aside from a brand new user interface with lots of improvements, the HTML5 widget doesn’t require Adobe Flash anymore. That means the widget will load much faster and finally work well on most mobile platforms, including Android & iOS. And we won’t stop here. We’ll continue to improve the new widget in the coming months.
|
|
Rectangles, Trapezoids, and Simpson’s I just wrapped up a semester of calculus TA duties, and I thought it would be fun to revisit the problem of integration from a numerical standpoint. In other words, the goal of this article is to figure out how fast we can approximate the definite integral of a function $ f:\mathbb{R} \to \mathbb{R}$. Intuitively, a definite integral is a segment of the area between a curve $ f$ and the $ x$-axis, where..
|
|
Rectangles, Trapezoids, and Simpson’s I just wrapped up a semester of calculus TA duties, and I thought it would be fun to revisit the problem of integration from a numerical standpoint. In other words, the goal of this article is to figure out how fast we can approximate the definite integral of a function $ f:\mathbb{R} \to \mathbb{R}$. Intuitively, a definite integral is a segment of the area between a curve $ f$ and the $ x$-axis, where..
|
|
Rectangles, Trapezoids, and Simpson’s I just wrapped up a semester of calculus TA duties, and I thought it would be fun to revisit the problem of integration from a numerical standpoint. In other words, the goal of this article is to figure out how fast we can approximate the definite integral of a function $ f:\mathbb{R} \to \mathbb{R}$. Intuitively, a definite integral is a segment of the area between a curve $ f$ and the $ x$-axis, where..
|
|
Hi all, new version 2.9 is now live on the marketplace. Thanks for everyone who helped with testing the beta. Special mentions go to: derausgewanderte (load errors) Ro (& fix, landscape view issues) Pia (crash dumps for close bug) Andrew h (picture errors) Hil Hughes (pin articles feature req) Simon H (smaller font sizes for titan) Tezza gerry Pat bjorn Who all spotted bugs/gave detailed feedback without which this release wouldn’t h..
|
|
Simple Single Pass Doubly Linked Flat Tree Building Algorithm
-
donatstudios.com
-
14 years ago
-
eng
A hierarchy is a common structure, especially for structuring pages in web development. A problem with hierarchies is they often need to be flattened to be stored in a relational database, and then expanded again after being pulled out. An Example Hierarchy Top level item Sub Item Sub Sub Item Sub Sub Sub Item Sibling of "Sub Item" Top level as well A common and simple way to store them is with a table structure similar to the fol....
|
|
Simple Single Pass Doubly Linked Flat Tree Building Algorithm
-
donatstudios.com
-
14 years ago
-
eng
A hierarchy is a common structure, especially for structuring pages in web development. A problem with hierarchies is they often need to be flattened to be stored in a relational database, and then expanded again after being pulled out. An Example Hierarchy Top level item Sub Item Sub Sub Item Sub Sub Sub Item Sibling of "Sub Item" Top level as well A common and simple way to store them is with a table structure similar to the fol....
|
|
As a fan of unit tests for bug checking and development (where applicable) I always have a doubt that even though my tests pass they might not be written correctly. This is especially true where you write the tests after development rather then following TDD. Regardless you can still stress your code by doing some mutation testing. It’s essentially a way of testing your tests. Quite a few mutation testing frameworks are out there such as ..
|
|
The MIT has created xv6: an operating system for learning purpose This works better and takes less time to create a working environnement for xv6 on Mac Os X, than the recommandations proposed on Tools used in 6.828 simply run this port install i386-elf-gcc port install qemu And change the Makefile like this: -#TOOLPREFIX = i386-jos-elf- +TOOLPREFIX = i386-elf- -#QEMU = +QEMU = /opt/local/bin/qemu-system-i386 -CC = $(TOOLPREFIX)gcc +CC = $(..
|
|
To say that node.js has enjoyed a great deal of positive publicity in the last few months would most certainly be an understatement. New node.js-related projects are popping up all over the place, and there seems to be this notion that if you aren’t using it you’re not cool enough. Over the Christmas holidays, I sat down to sort out my photo library and I wanted to make a web photo gallery to share the images with family and friends. Bein....
|
|
To say that node.js has enjoyed a great deal of positive publicity in the last few months would most certainly be an understatement. New node.js-related projects are popping up all over the place, and there seems to be this notion that if you aren’t using it you’re not cool enough. Over the Christmas holidays, I sat down to sort out my photo library and I wanted to make a web photo gallery to share the images with family and friends. Bein....
|
|
Last year was awesome. Some highlights included: Finally travelling out of WA for the first time since 2005. First being sent to Melbourne by the Panasonic Insider Crew and then attending EB Expo in Queensland with a media pass from iiNet (and with Jess!)
|
|
EDIT – This has now been resolved. All the below searches should work correctly, with the exception of XCompositeGetOverlayWindow. I am adding that to the index to be refreshed sometime in the next month or so. Well thanks to some sample searches being thrown against the codesearch index I can finally start tuning issues that have cropped up. The main issue I have currently is searches returning no results where you would expect some. So..
|
|
It’s important for programmers to continuously challenge themselves in order to avoid creative and technical stagnation. In the spirit of the new year, back in 2012, I compiled twelve month-sized resolutions to help avoid that stagnation. I’ve updated that list for 2023. Each month is an annually renewable technical or personal challenge: Go analog. Stay healthy. Embrace the uncomfortable. Automate. Learn more mathematics. Fo..
|
|
Last month we attended Music Hack Day London 2011. A special one, Music Hack Day was born in London 3 years ago and we were happy to attend a hack day again in it’s homeland. Picture For those who do not know of Music Hack Day, it’s a great weekend-long event aimed at music and sound hackers. Anyone can attend the event for free, and their goal is to conceptualize and develop innovative hacks of either software or hardware.
|
|
Last month we attended Music Hack Day London 2011. A special one, Music Hack Day was born in London 3 years ago and we were happy to attend a hack day again in it’s homeland. Picture For those who do not know of Music Hack Day, it’s a great weekend-long event aimed at music and sound hackers. Anyone can attend the event for free, and their goal is to conceptualize and develop innovative hacks of either software or hardware.
|
I don’t usually make New Year’s resolutions let alone publish them but I thought I’d go for it this year. If nothing else it’ll make me feel a bit guilty not keeping to them. 1. Get weight down to 80kg – Over the last couple of years my weight has drifted up from around 85kg … Continue reading 2012 New Year’s resolutions
|
|
And a Pinch of Python Next semester I am a lab TA for an introductory programming course, and it’s taught in Python. My Python experience has a number of gaps in it, so we’ll have the opportunity for a few more Python primers, and small exercises to go along with it. This time, we’ll be investigating the basics of objects and classes, and have some fun with image construction using the Python Imaging Library.
|
|
And a Pinch of Python Next semester I am a lab TA for an introductory programming course, and it’s taught in Python. My Python experience has a number of gaps in it, so we’ll have the opportunity for a few more Python primers, and small exercises to go along with it. This time, we’ll be investigating the basics of objects and classes, and have some fun with image construction using the Python Imaging Library.
|
|
And a Pinch of Python Next semester I am a lab TA for an introductory programming course, and it’s taught in Python. My Python experience has a number of gaps in it, so we’ll have the opportunity for a few more Python primers, and small exercises to go along with it. This time, we’ll be investigating the basics of objects and classes, and have some fun with image construction using the Python Imaging Library.
|
|
It's a great addition to the article, and it's great to have an easily portable one. Incidentally, you are not the first. Redis (an in-memory data structure server written in C) has had an indexable skiplist as part of it's available data structures for over 2 years.
|
|
Automation is good. People make or break a project. Thanks Joel . Coding the right tests is hard, but infinitely valuable. “Cutting edge development” describes the processes and principles, not the technologies. Software must be tested in a representative environment. Knowing the gaps between marketing and reality in your vendor’s software is valuable. The timing of a discussion directly influences its outcome. Metrics are useful but can b..
|
As usual, here are my predictions for what will happen in 2012. Last year I played it pretty safe and was right on
|
|
I have this horrible habit, where when I have an idea, I usually start by ordering a domain. And when I'm brainstorming, I might come up with around 30 ideas for domain names of a particular idea, which I narrow down to about 3-5. But horribly, I can't decide which one is the best (some people tell me it's because I'm a "libra"), so I end up buying all of them.
|
|
Deploying a sufficiently complicated application into a corporate environment involves navigating a sea of paperwork, getting all the appropriate “approvals” in place, co-ordinating with department managers to get time slots from their staff, and so on. Knowledge silos On Release Day all the right people from the various departments - DBAs, application server administrators, server administrators (both Windows and Unix), desktop support, ..
|
|
I have this horrible habit, where when I have an idea, I usually start by ordering a domain. And when I'm brainstorming, I might come up with around 30 ideas for domain names of a particular idea, which I narrow down to about 3-5. But horribly, I can't decide which one is the best (some people tell me it's because I'm a "libra"), so I end up buying all of them.
|
|
Started with Matt Powell, a childhood friend and hardware genius, Bison Box creates performance computers with design as a top priority. The website, bisonbox.
|
|
We’re quite eager to get to applications of algebraic topology to things like machine learning (in particular, persistent homology). Even though there’s a massive amount of theory behind it (and we do plan to cover some of the theory), a lot of the actual computations boil down to working with matrices. Of course, this means we’re in the land of linear algebra; for a refresher on the terminology, see our primers on linear algebra.
|
|
We’re quite eager to get to applications of algebraic topology to things like machine learning (in particular, persistent homology). Even though there’s a massive amount of theory behind it (and we do plan to cover some of the theory), a lot of the actual computations boil down to working with matrices. Of course, this means we’re in the land of linear algebra; for a refresher on the terminology, see our primers on linear algebra.
|
|
We’re quite eager to get to applications of algebraic topology to things like machine learning (in particular, persistent homology). Even though there’s a massive amount of theory behind it (and we do plan to cover some of the theory), a lot of the actual computations boil down to working with matrices. Of course, this means we’re in the land of linear algebra; for a refresher on the terminology, see our primers on linear algebra.
|
|
My last two posts focused on general game development topics, but no longer. It's the end of the year, time to look back and review before looking forward to the new year! Digital Art First off, some fun diversions. In my pursuit of an art minor at Ohio State, I took a digital art class autumn quarter. The instructor let me use software I was already familiar with, so I didn't learn much. But the class gave me the motivation to plonck my ..
|
|
I've been hooked on Node.js for the last 2-3 months. I've been doing some small projects for fun in Express, and at first I used the SASS complier that ships with Express by default. That framework is pretty limited and TJ Holowaychuk pointed me towards Stylus, a much better sass complier for Node.js. I tweeted something about Stylus a couple of days ago which resulted in a fellow countryman, named Jokull Solberg (www.solberg.is), showing m..
|
|
Personal/Work-Related Events: I started my new job of Dean of Technology in January. Basically twice the work but the same money. Most of the time it’s a thankless job (because you have to deal with complaints and bitching from everyone), but there is the odd job perk such as flex time and attending social events and conferences. I think the best part is that my official job description has a section that requires that I possess Stron..
|
|
Personal/Work-Related Events: I started my new job of Dean of Technology in January. Basically twice the work but the same money. Most of the time it’s a thankless job (because you have to deal with complaints and bitching from everyone), but there is the odd job perk such as flex time and attending social events and conferences. I think the best part is that my official job description has a section that requires that I possess Stron..
|
|
I read a great quote in I’m feeling lucky . It described a note sent from one Google employee to another as he handed over a piece of software. Here’s what I’ve done. Here’s how it’s running. Here are some things to look at. Here’s what’s going to go wrong if it goes wrong. Here are the steps to turn it off. These five points would be invaluable documentation to any new code or functionality. Imagine how much time could be saved if you..
|
|
I've been hooked on Node.js for the last 2-3 months. I've been doing some small projects for fun in Express, and at first I used the SASS complier that ships with Express by default. That framework is pretty limited and TJ Holowaychuk pointed me towards Stylus, a much better sass complier for Node.js. I tweeted something about Stylus a couple of days ago which resulted in a fellow countryman, named Jokull Solberg (www.solberg.is), showing m..
|
|
I’ve been playing SWTOR. Not nonstop (hey, this isn’t Guild Wars 2 we’re talking about), but regularly. This isn’t a review. I’m not far enough along for that. This is just a very quick post expressing my appreciation for the RP elements of the game.
|
|
How to use javascript event bindings to make callbacks cleaner
-
thomashunter.name
-
14 years ago
-
eng
It's common practice to start writing a bunch of nested functions in JavaScript. This tutorial describes a way to keep your code clean while doing so.
|