Wednesday, January 03, 2007

the definitive solution for browser shortcuts

YubNub able to accept hundreds of commands without adding any key before. The interface resemble that found in standard bash command line; for instance there're commands like "ls" returning a list of commands and "man" to call manual pages searchable with ease through embedded searching feature. mainly YubNub should be employed this way: say to make a currency conversion, so first of all I had simply to type in in the address bar a query (in this case 'currency conversion' should be ok), after the 'ls' (list commands) operator. Then the results show up and, let's say, I pick out a command called 'xe', now I need to look at the synopsis to figure out how input data, so type 'man xe'. As I understand how the command work, it's time to make a regexp to query: in this case 'xe' make currency conversion as needed and data must be input in this pattern; xe -amount 10 -from USD -to EUR. It looks like working on a linux bash shell but online. Anyway whenever we need social bookmark to get synched across a bunch of computer why not do the same for shortcuts? Plus the online platform make possible for developer to create and update new extensions while the already set up hotkeys are so comprehensive that most useful commands are ready to be deployed. Moreover people have built a lot of extensions for desktop OS, considering always multi platforms issues when coding. concluding it's even a trusted source of reference sites and search engines. The only complain is a lack of management for all the commands that sometimes looks just like clones of the same command or simply link to a personale page, of course

Rediscover how reading news


After TechCrunch covered the best (or ones of the best...) web 2.0 app out there I thought back to how I use to get fresh information from the web and, as for everything else, keeping up is always required.So far Rojo was enough to deal with all the feed subscriptions while the social layer provides tagging and rating system helping discover stories and store them. meanwhile I still point my browser to rojo daily but now i move even on to other services. I recover suddenly to look around Digg since when I had used to the service, was mainly technology centered and discussed anything else with poor coverage.By now it's a grown service that streamline the process of news picking with readers acting as editors as well; moreover the feedback system offer the ability to create threads of comments as seen in forums.these two piece of software help track your feeds(rojo.com) while keeping an eye on what people think of it, this way people may easier run into some interesting feed never heard before, then subscribe and keep track of news;the latter instead is something like a gate collecting any kind of stuff worthy to be known and when they really worth some visibility, being praised by sticking on the homepage for a while. They both deploy social layers to filter what publish on their homepage but therefore being an active user means spend time editing posts, tagging, and digging/mojoing headlines. Another family of service have an opposite approach to filtering, that is aggregation through a bot scanning the web for trusted sources and doing so looking at how much a blog post or news post is linked by others. This way a post with a lot of trackbacks is rightly considered popular, therefore ranked in the popular news; the most popular ones reach the homepage making all the process human-free and very accurate since many times news need a day more to show up in mainstream news channels. By the way I'm talking about Techmeme on cutting edge of tech, Memeorandum for politics and Wesmirch as gossip homepage.

Tuesday, January 02, 2007

sometimes chatting is addictive

last few months i missed to keep up with the latest nitty-gritty software available for symbian platform so last few weeks I made up for lost time. first the phone firmware had to be updated only by retailers therefore taking up weeks just for a 5 minutes job. anyway the most interesting part cover the software i found out: the new version of opera for mobile phone finally bring a decent internet experience on phones as I tested it for a while by now there's almost no complain regarding how they can make do so nice with an average hardware package close to what we can find on fifteen years old tower computer (I'm looking at 2nd generation UMTS phones and nokia 6630 in particular). besides the old set of weird programs like screenFTP, a nice piece of software able to convert files/text into sequence of jpeg files easy to catch by the built-in camera that every cameraphone bears, there is a lot more for mobile users now. I mean the clients provided by google for instance, gmail have close functionality compared to the standard web interface and gmaps is a good option for those like me who yet dont carry a gps...I miss a Gcalendar client as well since it's my favourite online calendar and synching is not like a charm sometimes: thanks to developer of zyb.com now there's a simple way to backup contacts and calendar entries even if they are still working on two way synch with Gcalendar, the interface is clean on i look at the mass of potential user of kinda online tool. Last words I wanna spend in this post are up to a geeky service provided by danish people who make possible to log into MSN with the standard IM client found in symbian phones. they set up a server which work as a static point for user login and status while on the move. works pretty well as tested for a few thumb chats last month. they can be found at chatnu.dk and I hope they set up a english version in the meanwhile since danish isn't so painless to translate in some bot. Recalling the title here, chatting have a new way to be addictive everywhere, whenever possible.

Monday, January 01, 2007

about blogging

I'm always on line, during the last year even i was, but sometimes simply the web doesn't fit, in particular a blog, for certain stuff people had better hold thoughts for themselves...anyway I'm back again as i kicked off, that is by the flock browser. I should say that geeky people and simple users shall enjoy a fully web 2.0 browser for a truly web 2.0 experience without mid-high knowledge of cutting edge on line technology. For instance I wonder whether i discovered flock or del.icio.us first, however thinking about the everage user it's likely to be flock the simplest way to figure out settings for social services in a single place. there're complains too for example del.icio.us features have not the same feedback as the firefox plugin does have, i mean when tagging there's no total items tagged count, which helps pick out the best consistent tag in a collection(besides that del.icio.us built-in is totally outdated in how it milk the API). Features like photosharing were good when flock launched however by now people demands a more cohomprensive file sharing service supporting any file type (I have in mind something close to allPeers, the firefox plugin)......nonetheless i was not interested by reviewing flock in this post!!but as im here Ill end up this review talking a lil about the wonderful search feature built-in: that's a reason why migrate from firefox in my opinion. I'd really like to see more services embedded into the searching results and now im thinking at more integration with advanced bookmarking services as furl and kaboodle along with del.icio.us.I see a good karma around this project and the best browsing experince is already here....just to be made up few steps further.

Tuesday, May 23, 2006

the black jack game


im gonna upload a tutorial with all planning and brief well organized into some html pages, plus a section with source code and executables


Tag:

Monday, May 22, 2006

last


no more on this issue...

Thursday, May 18, 2006

how to send feedback email pressing a keyboard button(WIN)

Introduction


i gonna have up to 3 remote desktop computer that need help desk; therefore im planning to set up a skype network to avoid chatting with slow typing people and then some tool that automate sending by email screen captures through a keyboard shortcut. To manage file sys samba could be enough and work great on both win,mac,linux .
Another option is Remote Desktop System, like VNC and sons; for windows and mac there's and embedded into OS tool the provide such a functionality Microsoft remote Desktop How to's

Create an automate-email feedback shortcut


ok, first of all, need to install an smtp server as service and Microsoft embed this tool in the "Internet information service" packages which is simply intalled through "Add/remove programs" panel -> Add windows components(on the left bar). Then get through set the SMTP server up for granted IP addresses SMTP server set up How to's
Ok now u have the SMTP running and able to get connected only by the local machine(the safer set up).
Here we need a tool to encode email messages with MIME type attachments(i want to send a jpeg with the email) and then a tool that actually carry off the email to the default address(me@example.com) using the SMTP server running on my machine.mpack & bmail -command line tool for DOS-
Assuming to have already Cropper installed(screen capture util), we have to write a batch file called with a keyboard shortcut to automate the whole thingBatch files FAQ
i'll put down the batch very soon to carry out this thread!


Tag:

Thursday, May 11, 2006

italian soccer is the best in the world


Pairetto a Dondarini prima di Samp-Juve:«Devi vedere anche quello che non c'è» - Corriere della Sera

tra Dondarini(arbitro corrotto internazionale) e Pairetto(designatore corrotto arbitri corrotti)
Guarda ti giuro se non c'erano i giocatori della Juve che mi aiutavano io non so come finiva

Monday, May 08, 2006

C++ compiler(gcc) basic how to's

gcc works as standard compiler for many languages, but here im just focusing on command line options used by c++ language, so
follows a simple command which compile a c++ source file called 'simple.cpp' which implements elements from the Standard Template Library(STL) ;in fact simple.cpp begins including header '#include' to make use of standard objects, as streaming output and so on.
_command:
gcc simple.cpp -lstdc++ -static -o simple
_explanation:
-l+stdc++ -> '-l' is the prefix for calling libraries followed by the name of the library u want to include(stdc++ in this case);
'-static' tells the compiler to link against the library in static mode(at load time), rather than in dynamic mode(at runtime)
'-o' specify the output file destination(the .exe extension is added by default)

That's all, just as quick reference after months without compiling anything!!!

UPDATE (compiling in WINDOWS environment with Win32 API)


assuming want to compile under windowsXP an indipendent executable linked against standard Microsoft DLL using GCC compiler released with CygWin;
gcc win.cpp -mno-cygwin -lwin32k -o win
_Explanation:
win.cpp -> c++ source file
-m -> hardware models & configuration -> no-cygwin -> dont link against Cygwin API
-l -> options for linking -> win32k -> DLL win32 API
-o -> output file (otherwise output to stream out)

UPDATE (avoiding include the '-lstdc++' option) & (compiling with custom header)

'gcc' command invokes just the frontend of the compiler, but if u need to compile just C++ source files, it's a best practice invoking 'g++' command insted; this way it's no more needed the '-lstdc++' option which is included by default.

When splits code in multiple files organized by headers, u need to pass the implementation file to the compiler just before the source file storing the 'main' entry point. Assuming sample.cpp the implementation file, sample_app.cpp the entry point file, the command to pass comes:
g++ sample.cpp sample_app.cpp -o sample

Saturday, May 06, 2006

test tagging (to delete)

try using technorati tagging system tag:testtag

Friday, April 28, 2006

uncle's hardware

i figure out two choices upon this:
  • Sell my desktop, therefore replace it with new hardware for me(budget->350+400=750)
  • find out a used or new desktop either mac or win affordable for my uncle(up to 500)
thinking of upgrading my desktop anyway, i'd better trade it with my uncle as it still reach a good value.

Wednesday, April 19, 2006

flash in a open environment...

it's about a week that i've been dealing with osflash focusing on figure the best workflow on the way.
That's getting me bored when i'd got to carry out the basic set up of a ant build file, which implied a basic knowledge of java to take over ant build tool. Well now im able to say i can get on an automated building process through that.
About coding Actionscript, now im studying in depth the Natural Entry point method explained well by the great people at flashant.org
It's simpler since i needn't "static main function" as entry point anymore neither Registration method used before to assimilate the target movieClip to the root(stage),plus im able to load external file through the frame(as a *.fla) provided by *.xml file compiled via swfmill; to get the whole thing done i simply -clip import- the mtasc compiled classes into the swfmill file, therefore:
compile all classes in a file,
then compile the xml with swfmill (keeping in mind to import the classes' swf file into it). It's done!

Sunday, April 16, 2006

Technorati Tags How to's

To associate a post with a Technorati Tag all you have to do is tag your post by including a special link in the body of your post. For example:
<a href="http://technorati.com/tag/%5Btagname%5D" rel="tag">[tagname]<a/>

The [tagname] can be anything, but it should be descriptive. Please only use tags that are relevant to the post. You do not need to include the brackets, just the descriptive keyword for your post. Just make sure to include rel="tag".

You do not have to link to Technorati. You can link to any web page that ends in a tag - even your own site! For example, these tag links would also be included:
o <a href="http://apple.com/ipod" rel="tag">iPod</a>
o <a href="http://en.wikipedia.org/wiki/Gravity" rel="tag">Gravity</a>
o <a href="http://flickr.com/photos/tags/chihuahua" rel="tag">Chihuahua</a>

Once you have posted the tagged post, there are two ways to have your post included on a Technorati Tag page:

* If your blog software is configured to ping Technorati, congratulations! You're done!
* If your blog software does not support automatic pinging, or if you haven't set it up yet, or if you're not sure, you can manually ping us here. You might also want to configure your blog software to ping us automatically so you don't have to do that every time.

Your post should appear on the page in a few minutes (up to an hour during periods of intense activity). Thank you for helping to build the real-time web.

Saturday, April 15, 2006

(02:08-4/15/06) I FIND OUT WHY I CANNOT GET FLASHOUT WORKS

(02:08-4/15/06) I FIND OUT WHY I CANNOT GET FLASHOUT WORKS, CAUSE I NEED TO UPDATE JAVA FROM 1.4 TO 1.5 THEN browsing on flashout website I found a video tutorial about setting up the whole thing

(10:34-4/15/06) i checked the java Virtual Machine(VM) installed and the software development kit included(SDK) and all of them meet the requirements to make FlashOUt working out well but it's not going so. therefore i think of reinstall the whole eclipseIDE which has been installed without the needed care, considering the actual circumstances.

(16:12-4/14/06)Finally i compiled ActionScript code under linux

(16:12-4/14/06)Finally i compiled ActionScript code under linux without ever touch flashIDE i passed this command to mtasc where the "'main" flag seem to be cause of success this way:


mtasc test.as -swf /home/rah/workspace/FlashOS/build/test.swf -cp /usr/local/bin/MTasc/std -main

note: "-swf" flag- test.swf is a compiled flash file of your choice used by MTASC to "frame" the class "-cp" flag- class path means path to standard core macromedia classes(choose std or std8 for flashMX or Flash8 respectively) "-main" flag- will automaticaly call static function main once all classes are registered.


I copy the test.as actionscript code as future reference and for its simplicity as example:
* @author rah:test.as */
test {
private var scopeRef:MovieClip;
test(scope:MovieClip){
scopeRef = scope;
scopeRef.createTextField("tf",0,100,100,800,600);
scopeRef.tf.text = "Hello world!!"; }
static function main(){
var test:test = new test(_root); }

(4/13/06)I HAVE ASDT 0.0.8 WORKING ON ECLIPSE 3.1.1

(13:15-4/13/06)working with a free open source flash IDE seems to need enough skills to take over the whole workflow the most important thing is a working flash compiler apart from anything else, therefore im gonna fix this right now

OSFLAsh in progress(4/12/06)

  1. Install an IDE where host all needed tools ECLIPSE

  2. Install an ActionScript Development tool(ASDT) for ECLIPSE get it from the eclipse IDE using the update panel

  3. Install the open source flash compiler(MTASC) and link at the ECLIPSE using the preference panel

Wednesday, April 12, 2006

TCP/IP tweaking

ifconfig eth0 -mtu 1412(default is 1500)
or editing /etc/ppp/option

Tuning TCP for Linux 2.4 and 2.6



The maximum buffer sizes for all sockets can be set with /proc variables:


	/proc/sys/net/core/rmem_max       - maximum receive window
/proc/sys/net/core/wmem_max - maximum send window


These determine the maximum acceptable values for SO_SNDBUF and SO_RCVBUF
(arguments to setsockopt() system call). The kernel sets the actual memory
limit to twice the requested value (effectively doubling rmem_max and
wmem_max) to provide for sufficient memory overhead.



The per connections memory space defaults are set with two 3 element arrays:


	/proc/sys/net/ipv4/tcp_rmem       - memory reserved for TCP rcv buffers
/proc/sys/net/ipv4/tcp_wmem - memory reserved for TCP snd buffers

These are arrays of three values: minimum, default and maximum that are used to
bound autotuning and balance memory usage while under global memory stress.



The following values would be reasonable for path with a 4MB BDP (You
must be root):



echo 2500000 /proc/sys/net/core/wmem_max
echo 2500000 /proc/sys/net/core/rmem_max
echo "4096 5000000 5000000" /proc/sys/net/ipv4/tcp_rmem
echo "4096 65536 5000000" /proc/sys/net/ipv4/tcp_wmem


All Linux 2.4 and 2.6 versions include sender side autotuning, so the actual
sending socket buffer (wmem value)
will be dynamically updated for each connection.
You can check to see if receiver side autotuning is present an enabled by
looking at the file:


	/proc/sys/net/ipv4/tcp_moderate_rcvbuf

If it is present and enabled (value 1) the receiver socket buffer size (rmem value) will be
dynamically updated for each connection. If it is not present
you may want to get a newer kernel. Generally autotuning should not be
disabled unless there is a specific need, e.g. comparison studies of TCP
performance.
If you do not have autotuning (Linux 2.4 before 2.4.27 or 2.6 before 2.6.7) you may
want to set the default tcp_rmem value (the middle value) to a more
accurate estimate of the actual path BDP, to minimize possible interactions with
other applications.



Do not adjust tcp_mem unless you know exactly what
you are doing. This array determines how the system balances the total network
memory usage against other memory usage, such as disk buffers. It is
initialized at boot time to appropriate fractions of total system memory.



Tuesday, April 11, 2006

AAC to MP3...how? tools please!

i post this just as memo, 'cause i'm not gonna look up the web about this issue now, maybe later, but i want to hold this task to playback some hiphop albums from iTunes store on Linux: is there a likely way that takes up minutes?