How to Invert Screen Color on Mac OS X

Super dad movies No Comments »

Inverting your screen color can come in handy while writing in a dark room, or keeping your screen light output low while working in bed, like I do.

 

It also saves trees, so why not give it a try? I think it saves more energy than using http://www.blackle.com


Here we go, it’s very simple;


Hold down the key-combination “Command-Option-Control”

- and press the “8″. Your screen colors will automatically invert.



To change the inverted color back to the normal repeat the process.



This post is about saving enery, if you like that then why not retweet this post?

Thanks,

Bart



Posted via web from wiibart’s posterous


My first Fluxus livecode session

Super dad movies No Comments »
Yay, I got the audio working of the Fluxus software, so I decided to make a very raw unedited video. I think this can be my new addiction because I like art and coding and it’s all just great. I remember doing livecoding 20 years ago with my ZX Spectrum on the TV and my mother is still talking about that. Today I was playing with Fluxus at my mom’s plavce and she thinks it’s very nice. But I could only make a cube and change colours. Tonight I managed to get the audio input working. I even had email contact with Gabor Papp who made the software. He helped me to get it working, now that’s pretty amazing. There are many things that are interesting in livecoding so I think you will be seeing more from me about it in the near future.

Posted via web from wiibart’s posterous


I can’t get Batch request to work with ADO.NET Data Services, need help

Super dad movies No Comments »

We are using a ADO.NET REST service and it does not allow to update a record with many related records like a customer with orders or a playlist with its items. 

To avoid too many http requests I decided to look at ADO.NET batch requests.

But after a day of testing and googling I have not made any batch update yet, I did get a lot of unhelpful errors. The examples in the documentation don’t help much either and are also not very clear I must say. 

When I use following headers I get an 400 response with error JSON format as shown below;



MIME-Version: 1.0

Content-Type: multipart/mixed; boundary=batch(c8660a87-b5d3-40c3-ac52-bdeff069231e)

Accept: application/json


{

“error”: {

“code”: “”, “message”: {

“lang”: “nl-NL”, “value”: “Media type requires a \’;\’ character before a parameter definition.”

}

}

}


So I searched the Internet and found some examples that specify the boundary different, so I tried;


MIME-Version: 1.0

Content-Type: multipart/mixed; boundary=batch_c8660a87-b5d3-40c3-ac52-bdeff069231e

Accept: application/json


Now I get this 202 response (in xml)


<?xml version=”1.0″ encoding=”utf-8″ standalone=”yes”?>

<error xmlns=”http://schemas.microsoft.com/ado/2007/08/dataservices/metadata”>

<code></code>

<message xml:lang=”nl-NL”>The boundary delimiter ‘ –batch_c8660a87-b5d3-40c3-ac52-bdeff069231e’ is not valid. Please specify a valid boundary delimiter or make sure that the content length specified is correct.</message>

</error>

–batchresponse_ad73de2c-21dd-47c4-84ed-007aecb447db–

 

It seems like the boundary delimiter in de body is wrong, I have the body set like this;


–batch_c8660a87-b5d3-40c3-ac52-bdeff069231e

Content-Type: multipart/mixed; boundary=changeset_77162fcd-b8da-41ac-a9f8-9357efbbd621


–changeset_77162fcd-b8da-41ac-a9f8-9357efbbd621

Content-Type: application/http

Content-Transfer-Encoding: binary

 

MERGE /PlaylistItem(272L) HTTP/1.1

Content-Type: application/atom+xml;type=entry

 

{ SortOrder: 1 }


–changeset_77162fcd-b8da-41ac-a9f8-9357efbbd621–

 

–batch_c8660a87-b5d3-40c3-ac52-bdeff069231e–



So I’m lost, and by posting this article I hope someone can help me, and with that help others. You can comment on this article using your Twitter credentials using OAUTH


Thanks, 


Bart

 

 

 

Posted via web from wiibart’s posterous


I think I know how JSONP works

Super dad movies No Comments »

I had trouble understanding the concepts of JSONP So what I understand now is that JSONP doesn’t use XMLHttpRequest The client page just generates a script tag with the source to the remote site, then the remote site wraps a function around the json data?

Is it just as simple as that?

Here the link to the JSONP proposal by Bob Ippolito  http://bob.pythonmac.org/archives/2005/12/05/remote-json-jsonp/

Posted via web from wiibart’s posterous


How to send multiple photo’s (more than 5) with your iPhone

Super dad movies No Comments »

I’ve blogged some weeks ago how to send up to 5 photos from your iPhone. But there’s actually a way to send more than that simply by using the copy/paste feature. See the screenshots at the end of this post to get an idea how to do that. I posted all these photo’s to posterous and they made this post for me, and also made a tweet for me and also updated my blog and my tumblr. I love posterous…

See and download the full gallery on posterous

Posted via email from wiibart’s posterous


Enable DELETE, PUT, MERGE verbs in IIS5 / IIS6 for the .svc extention in when using a ADO.NET REST service

Super dad movies No Comments »
It took us 3 hours to find what caused the 403.1 error when deleting a record using a REST DELETE request to our ADO.NET Data Services back-end.
Because it took so much time I decided to write this little article and hope I can help anyone who encounters the same thing.
The problem exists in IIS5 and IIS6.
 
What you need to do to fix is the following;
  • Start inetmgr
  • Goto your website / virtual direcory
  • enable: access to script, read, write, script and execute rights
 
  • goto Configuration
 
  • Find the svc extention
  • remove the restrictions!
 

Posted via email from wiibart’s posterous


WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in