Jul 27
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
Posted in Super dad movies | No Comments »
Jul 26
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
Posted in Super dad movies | No Comments »
Jul 24
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
Posted in Super dad movies | No Comments »
Jul 17
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
Posted in Super dad movies | No Comments »
Jul 09
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
- Find the svc extention
- remove the restrictions!
Posted via email from wiibart’s posterous
Posted in Super dad movies | No Comments »
Recent Comments