Posted on June 30, 2008 by michaelangela
Very useful. Sometimes some flv conversion tools don’t include info that is vital for playback. In this case, the seekbar wouldn’t show up in the player until after playback finished. I’ll be testing to see if this resolves it but either way, this is good to know. The first hint was this post stating that [...]
Filed under: cool, flash, flex, flv, linux, one-liner, python, shell, tip, tool | No Comments »
Posted on June 26, 2008 by michaelangela
Excellent comparison and info on free DNS reporting tools which come in handy when DNS is doing what it shouldn’t… at least not what you think it should! In the end I used intoDNS, CheckDNS.net, and pingability.
Free DNS Report alternatives
Everyone that runs a web server or even a site needs to run a DNScheck from [...]
Filed under: cool, dns, education, tip, tool | No Comments »
Posted on June 15, 2008 by michaelangela
I like autocomplete. I also like it when the compiler (or IDE) tells me I am doing something wrong BEFORE I compile. Flexbuilder is my AS3 compiler of choice. Although FlashDevelop 3 has come a really long way. It’s PC only though.
Anyway, just did some reading about Enums in AS2. This bit of [...]
Filed under: as2, as3, education, flex, tip | No Comments »
Posted on June 15, 2008 by michaelangela
I like autocomplete. I also like it when the compiler (or IDE) tells me I am doing something wrong BEFORE I compile. Flexbuilder is my AS3 compiler of choice. Although FlashDevelop 3 has come a really long way. It’s PC only though.
Anyway, just did some reading about Enums in AS2. This bit of [...]
Filed under: as2, as3, education, flex, tip | No Comments »
Posted on June 15, 2008 by michaelangela
Well I wasn’t making a game but I just went through what the author describes: finishing up the app, gotta set up the preloader. I did a manual version of this but I like this idea. However I am not using FlashDevelop. I am in the Flash IDE for compiling. I have thought of [...]
Filed under: as3, dev, flash, flashdevelop, flex, tip | No Comments »
Posted on June 10, 2008 by michaelangela
I have to say… if you EVER have to code in AS3 for Flash, using Flexbuilder is just downright awesome. Code completion (that ignore case unlike the Flash IDE), refactoring support, all kinds of goodness in general. Man… even things like searching for references to a particular function throughout the code base of the project. [...]
Filed under: as3, dev, flash, tip, tool | No Comments »
Posted on June 7, 2008 by michaelangela
Some very helpful and good steps on getting consistent color out of your photoshop setup. Uncheck that convert to sRGB before you save as well! We’ll try it out and see.
The Mysterious “Save For Web” Color Shift | Web Design Blog: Web Design & Innovation in web standards : Viget Labs
What we’re doing here won’t [...]
Filed under: cool, photoshop cs3, tip | No Comments »
Posted on May 8, 2008 by michaelangela
that are more or less ready to use. The list is at the following link.
Empty Thoughts: Django Blogging Apps
People ask about blogging apps for the Django platform all the time. I
have not investigated each and every one of these, but so far I still
feel pretty confident that not one of these is fully [...]
Filed under: blog, django, tip | No Comments »
Posted on May 7, 2008 by michaelangela
So you get the dreaded illegal mix of collations:
Pythoneer » Convert MySQL table to utf8
Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE)
What do you do? Not too bad fortunately. And if you’re working with Django, it’s a little bit easier. Launch the shell with python manage.py shell. Then in the shell do something like [...]
Filed under: cool, django, orm, python, snippet, tip, tool | No Comments »
Posted on May 7, 2008 by michaelangela
Just making a note…
Extending Django’s database API to include full-text search (Mercurytide)
Filed under: api, django, orm, tip | No Comments »
Posted on May 4, 2008 by michaelangela
Pretty cool. Just making a note of it.
SWFUpload News | SWFUpload
SWFUpload is a small JavaScript/Flash library to get the best of both worlds. It features the great upload capabilities of Flash and the accessibility and ease of HTML/CSS. See it in action….
* Upload multiple files at once by ctrl/shift-selecting [...]
Filed under: dev, flash, tip, tool | No Comments »
Posted on May 1, 2008 by michaelangela
Just a tip. I loaded it but haven’t put it through it’s paces. But it’s still cool to have and XCode does syntax hilighting now. I am not sure if it did before.
Xcode actionscript3 code completion
As I really like to work with Xcode as my primary IDE, I created my own code completion for [...]
Filed under: as3, cool, tip, tool, xcode | No Comments »
Posted on April 30, 2008 by michaelangela
A good tip and set of instructions on how to show the date in the menu bar so you don’t have to click, hover, etc.
How To: Display Date in OS X Menu Bar - PaulStamatiou.com
While getting things settled down on my MacBook it became apparent that I did not want to rely on [...]
Filed under: cool, osx, tip | No Comments »
Posted on April 25, 2008 by michaelangela
Doesn’t work:
ids=request.GET['ids[]‘]
Does work:
ids=request.GET.getlist(’ids[]‘
A typical Facebook friend invite sends the ids to be invited to your site as an array in ‘ids[]‘. Normally, you can pull values out with just request.GET['key']. But since the value of this particular key is an array and not just a string, you can’t (at least I wasn’t able to) just [...]
Filed under: dev, django, facebook, python, snippet, tip | No Comments »
Posted on April 24, 2008 by michaelangela
I had heard about passing by reference vs. passing by value. Here is a case of passing by reference.
In [76]: a=[1,2]In [77]: b=aIn [78]: b.append(3)In [79]: aOut[79]: [1, 2, 3]
That’s not what I was looking for. I was hoping to get ‘b’ to be [1, 2, 3] leaving ‘a’ unchanged. Oops. It passed ‘a’ to [...]
Filed under: cool, dev, one-liner, python, tip, tool | No Comments »
Posted on April 24, 2008 by michaelangela
Here is a good discussion on concatenating Django Querysets. Very helpful! It also introduced me to itertools. This leads to some other talk about itertools. Very interesting!
The jist though is like this:
How do you concatenate two querysets? - Django users | Google Groups
import itertoolsq1 = Model1.objects.all()q2 = Model2.objects.all()for thing in [...]
Filed under: dev, django, orm, tip | No Comments »
Posted on April 24, 2008 by michaelangela
Not sure where I saw this, but if you have an OS X Finder box open to, say, upload a pic to Facebook, if you hit Command-shift-G, it’ll give you a box you can paste a path in. You can also type the path in and it should give path completion so I’ve heard.
Nifty.
Filed under: osx, tip | No Comments »
Posted on April 22, 2008 by michaelangela
I sure wish there was something like this for Eclipse and Aptana! Perhaps this could be a start? Here’s to hoping…!
Facebook Platform Developer Forum / TextMate FBML plugin
Put together a start of a TextMate Bundle for Facebook. Does some cool stuff, like code completion and doc lookup. If anyone wants [...]
Filed under: cool, dev, facebook, fbml, plugin, textmate, tip, tool | No Comments »
Posted on April 22, 2008 by michaelangela
Django snippets: Referer-checking view decorators
Here are a couple of Django decorators for limiting access to a view based on the request’s HTTP_REFERER. Both raise a Django PermissionDenied exception if the referer test fails (or a referer simply isn’t provided).
The first, referer_matches_hostname, takes a hostname
(and port, if specified) and matches it against the referer’s. [...]
Filed under: deep-linking, dev, django, snippet, tip | No Comments »
Posted on April 20, 2008 by michaelangela
I have not been able to find any info about 1and1 and http compression. It’s a shame as it really reduces bandwidth, increases transfer speed, etc. Fortunately this little script does a really nice job of it. It’s in PHP and it works a treat on 1and1. With a bit of rewrite magic I should [...]
Filed under: 1and1, gzip, modrewrite, php, snippet, tip, tool | No Comments »
Posted on April 18, 2008 by michaelangela
You can use this to set up a Facebook User within you Django app. This of course uses the middleware which is optional as described here.
Django snippets: Little middleware that create a facebook user
Install **PyFacebook** package.
After make all steps in tutorial above, put this code in your [...]
Filed under: dev, django, facebook, python, snippet, tip | No Comments »
Posted on April 17, 2008 by michaelangela
So far I haven’t really used Django for “web sites”. It’s really been used as a data backend. Well the time has come for some web stuff. It’s set up to use a dev, staging, and production server. All is well and good. But each has a different media server. In Django, how do you [...]
Filed under: dev, django, tip, tool | No Comments »
Posted on April 17, 2008 by michaelangela
This podcast with Thomas Burleson probably has the best description of MVC with Flex, why to use Cairngorm, challenges of using Cairngorm, why to use the universal mind extensions, the problem of view locators and how to work with those, etc. Good stuff. I wish there was a transcript of this.
UMEvent, UMCommand, Callbacks, and other [...]
Filed under: cairngorm, cool, dev, education, flex, mvc, tip | No Comments »
Posted on April 17, 2008 by michaelangela
Just a note to remember… blogging from textmate… wow. One more reason to get it…
Andrew Powell’s ColdFusion, Flex, Java, and AJAX Blog
OK, so a lot of Mac users use TextMate for everything from text editor to IDE. I didn’t realize this until recently, but you can blog directly from TextMate. If [...]
Filed under: cool, textmate, tip, tool | No Comments »
Posted on April 17, 2008 by michaelangela
Recently I have had trouble doing any updates in Eclipse. Buckminster always failed with a 404 not found. My current Buckminster Update Site is:
http://download.eclipse.org/technology/buckminster/updates
Later I found this bit:
Nabble - Eclipse - Buckminster Dev - Has something changed on buckminster update site?
yes, something has changed. Eclipse 3.3.2 was released and Buckminster headless-site.xml was updated [...]
Filed under: dev, eclipse, tip, tool | No Comments »