Thursday, 19 November 2009

docs and news

besides the usual links for the stuff hosted on scribd

http://www.scribd.com/doc/22741568/Telecommunication-Electronics
http://www.scribd.com/doc/22741277/slides-Microprocessor-Based-Systems-48-32-bit-division-algorithm-flow-chart
http://www.scribd.com/doc/22740990/Elettronica-Applicata

we also have great news! Due to popular deman of nobody, all the slides published on Scribd will be ALSO published on SlideShare, to achieve maximum visibility!

http://www.slideshare.net/ProjectSymphony

here is the new outstanding link! don't worry we'll keep both upload systems -- older slides have been uploaded to slideshare and kept on scribd -- newer slides will be published on both!

Enjoy it fully!!!
Vittorio

Thursday, 12 November 2009

BEWARE of Nintendo DS FAKES

Pay lot of attention when purchasing a Nintendo DS videogame on Internet, eBay in particular... if the price is too good to be true, it's most likely a fraud.
The general advice is that everything that comes from china/hongkong is fake, that is, is a pirated version of the game built in mocked up ds cartrige. While it is true that 99% of what comes from those places is fake, importers can bring faked games worldwide, so geographic scanning is a no go.

There are ways to tell if a gamecard is fake (http://www.pocketgamer.co.uk/r/DS/feature.asp?c=2191) but untill the game is arrived you have no way to determine it.

Well no more, thanks to the DSi!
In fact the dsi has shrunk a little its slot, so that good games can enter, but fake ones cannot!
So every fake ds game on ebay will have "for DS/DSL but not DSi"

GOTCHA! IF YOU SEE THAT WARNING STAY AWAY FROM THAT AUCTION

Vittorio

Saturday, 7 November 2009

another xcode goody

Xcode is a really good IDE and you never end to delve into his internals!
Today i have found how syntax highlighting works! Every type of language has its own syntax definitions and its own file where such definition is specified.

ALL files are found here

/Developer/Library/PrivateFrameworks/XcodeEdit.framework/Versions/A/Resources/

The syntax for the syntax (all puns intended) is quite symple and quite commented considering that they're internal files.

by tweaking the Pascal syntax file specification i was able to fix a nasty glitch that was affecting the single line comments present in FreePascal files -- a // comment was ignored by the syntax highlighter and printed in black, while as a comment should be printed in green (colors may vary according to configurations)

Add
"xcode.lang.comment.singleline",
at line 101 of file Pascal.xlangspec to fix the glitch!

There might be more fun in tweaking these files (or bricking xcode) but i simply hadn't time to dedicate! If you know other tweaks post them in the comments!

Vittorio



All the projects here are under a Creative Commons 3.0 licence! You can use and distribute them as you like (just quote the author so he knows his work is not useless)!

If you wish to get in touch with me write at projectsymphony@gmail.com