|
Surprisingly, "\-\-" is not allowed inside XML comments
-
www.databasesandlife.com
-
13 years ago
-
eng
I was slightly surprised today to check XML containing the following for validity, and to see the following error from the validity check: Low-level XML well-formedness and/or validity processing output Error: -- in comment I mean basically this error does what it says on the tin, I mean, the string “--” is indeed not allowed in comments. To quote Wikipedia :
|
|
ImpactJS has a really cool screen shaker plugin written by Killbot, which I used during the first iterations of this game. The project has now changed quite a bit and the screen shaker was no longer working exactly as I needed it to because the camera follows the player entity as it moves instead of being constantly positioned at 0,0.
|
|
Last time we investigated the k-nearest-neighbors algorithm and the underlying idea that one can learn a classification rule by copying the known classification of nearby data points. This required that we view our data as sitting inside a metric space; that is, we imposed a kind of geometric structure on our data. One glaring problem is that there may be no reasonable way to do this. While we mentioned scaling issues and provided a number ..
|
|
Last time we investigated the k-nearest-neighbors algorithm and the underlying idea that one can learn a classification rule by copying the known classification of nearby data points. This required that we view our data as sitting inside a metric space; that is, we imposed a kind of geometric structure on our data. One glaring problem is that there may be no reasonable way to do this. While we mentioned scaling issues and provided a number ..
|
|
Last time we investigated the k-nearest-neighbors algorithm and the underlying idea that one can learn a classification rule by copying the known classification of nearby data points. This required that we view our data as sitting inside a metric space; that is, we imposed a kind of geometric structure on our data. One glaring problem is that there may be no reasonable way to do this. While we mentioned scaling issues and provided a number ..
|
|
While creating a mixed silverlight and xna WP7 application I started to add in page transitions with the silverlight toolkit. For the…
|
|
Today marks the end of my first week at The Starter League. Two weeks ago I stuffed a bunch of flannels in my suitcase and hopped on a flight to Chicago.
|
|
Saving game state with HTML5 localStorage and JSON - a rough working draft
-
liza.io
-
13 years ago
-
eng
I am typing this while bouncing on the couch…happily. I have just written the messiest localStorage setup that anyone could probably ever write. Ever. This thing is cringeworthy. But I’m happy. Because it works. And it works like this.
|
|
Flying in the face of midterms and other IRL issues, Lemma boldly marches on! Spawn Point Graphics I realized you need a way to know where you'll respawn if you die, so I added some spawn point graphics. Got the idea from Borderlands. Actually can we talk about Borderlands? Man, every time I play a good game I have to resist the urge to start incorporating its ideas into my projects. If I ever announce that Lemma will feature randomly gen..
|
|
A proposito di TypeScript vi segnalo Thoughts on TypeScript, il miglior articolo che ho letto finora sul nuovo nato in casa Microsoft. I’m happy that regular JavaScript can be written in TypeScript and still benefit from some of the type checking provided by the TypeScript compiler. That means writing TypeScript can actually help people learn JavaScript, which makes me happy.
|
This site had the wonderful idea to generate resumes from Github. I like this idea. The more time passes, the more invaluable to the…
|
|
Gathering and Charting Temperatures using RRDTool and Highcharts
-
blog.tafkas.net
-
13 years ago
-
eng
tl;dr Checkout the charts on my RaspberryPi ** For quite a long time I was looking for a way to monitor and record th temperature and humidity at my apartment. What was missing was a convenient, preferably wireless solution. After receiving my RaspberryPi I started to look into that more intensively. USB-WDE1 Receiver The USB Weather Data Receiver USB-WDE1 wirelessly receives data from various weather sensors of ELV at 868 MHz.
|
|
A feature thats glaringly missing within Django and common in many other frameworks including many Java frameworks and Rails is connection pooling for your database connection. As most Django users are Postgres users the default answer is to use something like pgPool or pgBouncer. This are tools that you can run that will persist a connection to your Postgres database intended to offer: Connection Pooling Replication Load Balancing Its....
|
|
A feature thats glaringly missing within Django and common in many other frameworks including many Java frameworks and Rails is connection pooling for your database connection. As most Django users are Postgres users the default answer is to use something like pgPool or pgBouncer. This are tools that you can run that will persist a connection to your Postgres database intended to offer: Connection Pooling Replication Load Balancing Its....
|
|
The new stable series of the Midgard2 Content Repository library was released recently . This version builds on the long-term supported Ratatoskr series, adding some new features: Asynchronous I/O operations with the content repository Easier migration from the Midgard1 series Asynchronous I/O is important when the content repository is used in persistent applications like desktop software or Node.js, where Midgard can be used vi....
|
|
Numberphile posted a video today describing a neat trick based on complete sequences: The mathematics here is pretty simple, but I noticed at the end of the video that Dr. Grime was constructing the cards by hand, when really this is a job for a computer program. I thought it would be a nice warmup exercise (and a treat to all of the Numberphile viewers) to write a program to construct the cards for any complete sequence.
|
|
Numberphile posted a video today describing a neat trick based on complete sequences: The mathematics here is pretty simple, but I noticed at the end of the video that Dr. Grime was constructing the cards by hand, when really this is a job for a computer program. I thought it would be a nice warmup exercise (and a treat to all of the Numberphile viewers) to write a program to construct the cards for any complete sequence.
|
|
Numberphile posted a video today describing a neat trick based on complete sequences: The mathematics here is pretty simple, but I noticed at the end of the video that Dr. Grime was constructing the cards by hand, when really this is a job for a computer program. I thought it would be a nice warmup exercise (and a treat to all of the Numberphile viewers) to write a program to construct the cards for any complete sequence.
|
|
On Saturday, we hosted Story Hack Boston along with P2PU and Mashery at the MIT Media Lab. About 50 people from content and technical backgrounds joined us to create new story telling experiences. The crowd was pretty evenly split, which made for a lot of awesome collaboration.
|
|
On Saturday, we hosted Story Hack Boston along with P2PU and Mashery at the MIT Media Lab. About 50 people from content and technical backgrounds joined us to create new story telling experiences. The crowd was pretty evenly split, which made for a lot of awesome collaboration.
|
|
Visual Studio Test Explorer: Automatically Execute All Unit Tests Only
-
juri.dev
-
13 years ago
-
eng
|
|
Comment on Rating Bruce by Falling in love with Springsteen’s music | BillSaysThis
-
billsaysthis.com
-
13 years ago
-
eng
that I didn’t play any other album but this one for months. That was when I fell in love with Bruce’s music! Share this:TwitterFacebookLike this:LikeBe the first to like this. This entry was posted in [...]
|
|
Update theres a more recent post that expands further on where to start optimizing specific queries, and of course if you want to dig into optimizing your infrastructure High Performance PostgreSQL is still a great read For many application developers their database is a black box. Data goes in, comes back out and in between there developers hope its a pretty short time span. Without becoming a DBA there’s a few pieces of data that m....
|
|
Update theres a more recent post that expands further on where to start optimizing specific queries, and of course if you want to dig into optimizing your infrastructure High Performance PostgreSQL is still a great read For many application developers their database is a black box. Data goes in, comes back out and in between there developers hope its a pretty short time span. Without becoming a DBA there’s a few pieces of data that m....
|
|
It turns out it is non trivial (afaict) to include a tree of files (a directory) in a python distutils data_files argument. Here’s how I managed to do it, while also allowing the programmer to include manual entries: NAME = 'project_name' distutils . core . setup( # ... data_files = [ ( 'share/ %s ' % NAME, [ 'README' ]), ( 'share/ %s ' % NAME, [ 'files/somefile' ]), ( 'share/ %s /templat..
|
|
It turns out it is non trivial (afaict) to include a tree of files (a directory) in a python distutils data_files argument. Here’s how I managed to do it, while also allowing the programmer to include manual entries: NAME = 'project_name' distutils . core . setup( # ... data_files = [ ( 'share/ %s ' % NAME, [ 'README' ]), ( 'share/ %s ' % NAME, [ 'files/somefile' ]), ( 'share/ %s /templat..
|
|
java.util.logging.ErrorManager: 4: Unable to create [c:pache-tomcat-7.0.30 -Dcatalina.home=c:pache-tomcat-7.0.30\logs\]
I was getting this error recently, and found that it was caused by having a trailing backslash on my CATALINA_HOME variable. i.e. Incorrect: set CATALINA_HOME=c:pache-tomcat-7.0.30\
Correct: set CATALINA_HOME=c:pache-tomcat-7.0.30
|
|
Hi all, Been a hectic couple of weeks with some family weddings and working hard on the day job. Got some time yesterday to work on a couple of new features and fixes for the Wp7 and Win 8 versions of BBC News Mobile. Windows Phone Fixed intermittent issue where the app showed error info when reading certain stories, thanks to everyone who let me know about this. Hopefully improved the accuracy of the image selection for the stories..
|
First step is to tag a picture with #movietime in Instagram. This recipe uploads the picture to Facebook.
|
|
After js13kGames I went back to the main project I was working on and decided to change pretty much everything. The good thing is that I still had some usable code. The “bad” thing is this updated idea involved a lot of UI, which I haven’t really done much before. When I say “bad” I actually mean awesomely challenging, which it has been.
|
|
Hi all, I’ve just put the finishing touches to my new app that’s been alive for a while now as a personal project. Over the last couple of weeks I’ve put in the final push to get it up to scratch and get it published. If you’re a current user of http://hypem.com or a fan of new music, then hopefully this will be right up your street. The app pulls together the latest music charts from The Hype Machine and combines it with artist infor..
|
|
So I use one of the famous Herman Miller Aeron chairs in my home office. I love it primarily because the mesh seat prevents swampass , but of course overall it is a highly ergonomic chair, nicely adjustable, rugged, and holds its value well. My specific chair was made in 2000 and I bought it used on craigslist for $250 in 2009. Today exactly the 12-year warranty finally expires. About two weeks ago it suddenly broke. A thin rod broke f....
|
|
Kevin Poulsen Answers Your Questions Kevin Poulsen Kevin Poulsen is the news editor of Wired.com and author of Kingpin: How One Hacker Took Over the Billion-Dollar Cyber Crime Underground (February 2011, Crown), the story of the white hat hacker Max Vision and his turn to the dark side of the for-profit carding underground. Poulsen is a former hacker, whose best known hack involved penetrating telephone company computers in t....
|
|
Kevin Poulsen Answers Your Questions Kevin Poulsen Kevin Poulsen is the news editor of Wired.com and author of Kingpin: How One Hacker Took Over the Billion-Dollar Cyber Crime Underground (February 2011, Crown), the story of the white hat hacker Max Vision and his turn to the dark side of the for-profit carding underground. Poulsen is a former hacker, whose best known hack involved penetrating telephone company computers in t....
|
|
Kevin Poulsen Answers Your Questions Kevin Poulsen Kevin Poulsen is the news editor of Wired.com and author of Kingpin: How One Hacker Took Over the Billion-Dollar Cyber Crime Underground (February 2011, Crown), the story of the white hat hacker Max Vision and his turn to the dark side of the for-profit carding underground. Poulsen is a former hacker, whose best known hack involved penetrating telephone company computers in t....
|
|
Bruce Schneier Answers Your Questions Bruce Schneier Bruce Schneier will answer questions topics ranging from the SHA-3 competition to the TSA to trust and society to squid. Internationally renowned security technologist Bruce Schneier has authored twelve books -- most recently Liars and Outliers -- and hundreds of articles, essays, and academic papers. His influential newsletter "Crypto-Gram," and his blog "Schneier on Secur..
|
|
Bruce Schneier Answers Your Questions Bruce Schneier Bruce Schneier will answer questions topics ranging from the SHA-3 competition to the TSA to trust and society to squid. Internationally renowned security technologist Bruce Schneier has authored twelve books -- most recently Liars and Outliers -- and hundreds of articles, essays, and academic papers. His influential newsletter "Crypto-Gram," and his blog "Schneier on Secur..
|
|
Bruce Schneier Answers Your Questions Bruce Schneier Bruce Schneier will answer questions topics ranging from the SHA-3 competition to the TSA to trust and society to squid. Internationally renowned security technologist Bruce Schneier has authored twelve books -- most recently Liars and Outliers -- and hundreds of articles, essays, and academic papers. His influential newsletter "Crypto-Gram," and his blog "Schneier on Secur..
|
|
Panel - Connected Chaos: Evolving the DCG/Hackspace Communication Landscape
-
www.defcon.org
-
13 years ago
-
eng
Connected Chaos: Evolving the DCG/Hackspace Communication Landscape Panelists: Blakdayz Moderator Anarchy Angel Anch Dave Marcus Nick Farr As hackers, we have access to tremendous informational power. At our individual hackerspaces and DCGs we build communities of like minded hackers that push the limits of technology. But have we gone far enough in building a global hacking community that celebrates diversity and un....
|
|
Panel - Connected Chaos: Evolving the DCG/Hackspace Communication Landscape
-
www.defcon.org
-
13 years ago
-
eng
Connected Chaos: Evolving the DCG/Hackspace Communication Landscape Panelists: Blakdayz Moderator Anarchy Angel Anch Dave Marcus Nick Farr As hackers, we have access to tremendous informational power. At our individual hackerspaces and DCGs we build communities of like minded hackers that push the limits of technology. But have we gone far enough in building a global hacking community that celebrates diversity and un....
|