Tuesday, May 19, 2009

squid localhost

I installed Squid earlier this week to track all the http traffic.... effectively web scrapper. I stumbled on one issue that took more than 2 hours to debug...
http_access allow localhost

was needed so that my local machine traffic can be peroxided.

After the traffic started flowing, stumbled on issue that the 'dynamic' web content is not cached. While this can make sense as proxy, Squid is not usable for my use. I wish this feature was provided as charity at-least.

The data is binary - not plain text. This makes it difficult to parse easily...

I had to resort to Firefox extension slogger on firefox 2.0 (instead of the latest as of today 3.0.10). This combo did work and got my task done.

online Browser 'emulators'

http://www.xenocode.com/browsers/

Sunday, May 17, 2009

Java vs C/C++

It is interesting to note the differences between the Java vs C/C++ schools of thought. I am sure there might be pundits who might have more knowledge and stronger affinity towards either of these languages - still this is my views (ready to be corrected as needed).

Commonality:
  1. It is interesting to note the similarities and dissimilarities of portability of C & Java programs.
  2. Both C & Java are implemented in multiple architectures.
  3. Both languages have big industry support, total ecology support, Application Developer community, standards organizations, training, education, books, tutorials, conferences, seminars - and religious followers
  4. Both are available free of cost (GNU - open soruce)
  5. Both C/C++ code and Java code supports each others calling others and be called by the other language.
C++ :
  1. Some of C++ application domains include systems software, application software, device drivers, embedded software, high-performance server and client applications, and entertainment software such as video games.
  2. Several groups provide both free and proprietary C++ compiler software, including the GNU Project, Microsoft, Intel, Borland and others.
  3. C++ was developed starting in 1979 as an enhancement to the C programming language. C itself is a general purpose programing language developed in 1972. Meaning - this is available for longer time - to be mature as compared to Java.
  4. C provides compilers for each architecture where the same source code can be recompiled as needed. java approach is to provide single compiler and have JRE for different platforms.
  5. C some times provides cross compilers that come in handy for rare/new architectures.
  6. This author believes there are more architectures that has C compilers than the availability of JRE.
  7. C was designed to be compiled using a relatively straightforward compiler, to provide low-level access to memory, to provide language constructs that map efficiently to machine instructions, and to require minimal run-time support.
  8. C was therefore useful for many applications that had formerly been coded in assembly language.
  9. ISO & ANSI standard
Java:
  1. Memory management (NO memory leak that C/C++ programs are notorious for)
  2. Garbage collection
  3. Language is not standardized - pretty much propitiatory spec

Monday, May 11, 2009

Local advertisers directory from Indian monthly magazine

Local advertiser Category:
  1. Appliances
  2. Beauty
  3. Books
  4. Classes Language
  5. Classes Computers
  6. Classes Dance
  7. Classes Music
  8. Counseling
  9. Education
  10. Entertainment
  11. Events
  12. Fabrics
  13. For Sale
  14. Grocery
  15. Health
  16. Insurance
  17. Jewelery
  18. Legal
  19. Loans
  20. Music
  21. Organizations
  22. Professional Services
  23. Psychic
  24. Radio/TV
  25. Real Estate
  26. Restaurants
  27. Services
  28. Spiritual Growth
  29. Sports
  30. Tax & Accounting
  31. Travel
  32. Video
  33. Weddings

Free stuff adverticements

  1. Wikipedia
  2. Linux
  3. Free Licenses (product, content, arrangement of facts)
  4. LilyPond
  5. open street
  6. GNU
  7. Open Source personalities

Cholan features

Features that might be interesting for customers
  1. Gold price
  2. Currency exchange value http://www.x-rates.com/
  3. News (Bay Area, Tamilnadu; Politics/entertainment/sports)
  4. Technology updates
  5. Google Search bar
  6. flight schedules and possibly current flight status
  7. Weather info for Chennai and one bay area city
  8. Tamil Day calender info including raghu kalam etc
  9. Local Events
  10. Map
  11. Job from your company and your target/dream position
  12. http://www.chennaiiq.com/astrology/english_date_to_tamil_date_conversion.asp
  13. http://www.tamildailycalendar.com/ has physical daily calendar leafs as image
  14. http://www.chennaiiq.com/astrology/tamil_panchangam.asp

Sunday, May 10, 2009

URL Shortenning Space

URL Shortening space:
  1. http://www.longurlplease.com/ - has json api
  2. http://snurl.com/& http://snipurl.com/ - drag to browser toolbar, API, multiple ; stats: users, clicks & links
  3. http://snipurl.com/ - 2M in March 09
  4. http://bit.ly/ search capability, bookmarklets, preview plugin, mobile, google spreadsheet/gadget integration, track amazon affiliates clicking
  5. http://urlborg.com/a/ provides stats
  6. http://buk.me/ firefox tool, reverse lookup
  7. http://cli.gs/ - you can use 2 diff cligs to track the same info from different sources, geotagging (target different info for different geographical locations)
  8. http://budurl.com/
  9. http://burnurl.com/
  10. http://href.in/
  11. http://www.ponyurl.com/
  12. http://1url.tw/
  13. http://lnk.by/
  14. http://ow.ly/
  15. http://www.bit.ly/
  16. http://u.mavrev.com/ - urlshort released as open source
  17. http://post.ly/
  18. http://tcrn.ch/
  19. http://awe.sm/
  20. http://unhub.com/

Web 2.0 revenue stream

Revenue Streams:
  1. subscription
  2. advertisement
  3. transaction fees
  4. volume and unit selling
  5. syndication and franchise
  6. sponsorship and co-marketing
Affiliate Networks:
  1. Commission Junction (http://www.cj.com/ )
  2. Link Share (http://www.linkshare.com/ )
  3. Google Affiliate network (http://www.google.com/ads/affiliatenetwork/ )
  4. ShareASale (http://www.shareasale.com/ )
  5. ClixGalore (http://www.clixgalore.com/ )

cool Web2.0 free technologies

http://en.wikipedia.org/wiki/Prototype.js
http://en.wikipedia.org/wiki/Script.aculo.us
http://en.wikipedia.org/wiki/Jquery
http://livepipe.net/
http://www.phpflickr.com/
http://www.fpdf.org/
http://magpierss.sourceforge.net/
http://keithdevens.com/software/phpxml
http://www.phpcaptcha.org
http://www.openx.org/
http://tinymce.moxiecode.com/
http://openinviter.com/

Sunday, April 26, 2009

Browser Home Page Hosting Companies

_service Start Location Funds Features
allyve Septi 07 Hamburg, Deu auto login email, social networks
DevHD Novi 6 Atherton, CA profiles, bookmarks, and accounts from sites like Twitter, Yahoo, GMail and Friendfeed,
igoogle Mayi 2005 Mountain View, CA 100M Framed Photo, GoogleGram, Daily Me, Free Form, YouTube Channel, Personal List, Countdown, 1Club.FM Free Internet Radio Player, chat
Netvibes septi 5 Paris, Fra 16M RSS/Atom feed reader, local weather forecasts, calendar, bookmarks, notes, to-do lists, searches, POP3, IMAP4 (Gmail, Yahoo Mail, Hotmail, and AOL Mail), Box.net, Delicious, Meebo, Flickr photos, podcast
Pageflakes Jani 6 SFO 4.1M RSS/Atom feeds, Calendar, Notes, Web search, weather forecast, del.icio.us bookmarks, Flickr photos, Facebook, YouTube, Twitter, email
Pageonce Mayi 7 Palo Alto 1.5M consumers manage their online lives and marketers
start.io Aprii 8 LA, CA Really what I am looking for here
Skyspine
Sthrt Mayi 8 Orlando, FL email, games, news, weather, RSS
Webwag
Yahoo.com

Homepage managers

Company
allyve
Sept 07 Hamburg, Deu
auto login email, social networks
DevHD Nov 06 Atherton, CA
profiles, bookmarks, and accounts from sites like Twitter, Yahoo, GMail and Friendfeed,
igoogle May 05 Mountain View, CA 100M Framed Photo, GoogleGram, Daily Me, Free Form, YouTube Channel, Personal List, Countdown, 1Club.FM Free Internet Radio Player, chat
Netvibes sept 05 Paris, Fra 16M RSS/Atom feed reader, local weather forecasts, calendar, bookmarks, notes, to-do lists, searches, POP3, IMAP4 (Gmail, Yahoo Mail, Hotmail, and AOL Mail), Box.net, Delicious, Meebo, Flickr photos, podcast
Pageflakes Jan 06 SFO 4.1M RSS/Atom feeds, Calendar, Notes, Web search, weather forecast, del.icio.us bookmarks, Flickr photos, Facebook, YouTube, Twitter, email
Pageonce May 07 Palo Alto 1.5M consumers manage their online lives and marketers
start.io Apr 08 LA, CA
Really what I am looking for here
Skyspine



Sthrt May 08 Orlando, FL
email, games, news, weather, RSS

Wednesday, February 25, 2009

test credit card numbers

http://www.darkcoding.net/credit-card-numbers/

Mastercard


5319102646488048
5554045695790927
5420785565098057
535062919819 1489
5364910660550103
5266885983175565
5127777973679285
5134390185169342
53 52939626094017
5246447622892145

VISA 16 digit


4716199183296349
4532403205442598
4532250279599237
4916155288242768
4 916812073252853
4556856972591320
4916157249446876
4556682778375621
4716855 350718544
4024007113770027

VISA 13 digit


4024007138692
4556993857876
4539171318010
4716131052059
4916288396420

American Express


373916861716856
371906407786184
346109491188258
348456375430415
377 920540490509

Discover


6011433427081739
6011141225017066
6011000161904358

Di ners Club


30154328942171
36825836097004
30035751184078

enRoute


214995752390545
21 4900870983569
214977085904481

JCB 15 digit


180018863853838
210092038614494
180044389176363

JCB 16 digit


3096945339422458
3088174569704085
3158536520063915

Voyager


8699260277 62364
869941024295722
869935132433050

Sunday, February 22, 2009

some websites

http://younoodle.com/
http://www.tradevibes.com/
http://www.ycombinator.com/
http://www.heyzap.com/
http://www.lunch20.com/
http://www.clickpass.com/
http://www.synthasite.com/
https://secure.logmein.com/home.asp?lang=en

Saturday, February 21, 2009

Proximity info sharing

If I tell the train/bus conductor that I need to get down at a specific stop, can the conductor wake me and ensure that I get down at the right place.

Can we replace the 'conductor' in the above example by a smart device using bluetooth technology that can talk to my cell phone with bluetooth.

Update: Feb 21, 2011
Using Android aGPS, we currently have this available. yourehere

Tuesday, January 20, 2009

C printf debug

printf("__LINE__=%d __FILE__=%s\n", __LINE__, __FILE__);

Standard Predefined Macros

http://gcc.gnu.org/onlinedocs/gcc-3.2.3/cpp/Standard-Predefined-Macros.html
__FILE__
This macro expands to the name of the current input file, in the form of a C string constant. This is the path by which the preprocessor opened the file, not the short name specified in #include or as the input file name argument. For example, "/usr/local/include/myheader.h" is a possible expansion of this macro.
__LINE__
This macro expands to the current input line number, in the form of a decimal integer constant. While we call it a predefined macro, it's a pretty strange macro, since its "definition" changes with each new line of source code.

__FILE__ and __LINE__ are useful in generating an error message to report an inconsistency detected by the program; the message can state the source line at which the inconsistency was detected. For example,

     fprintf (stderr, "Internal error: "
"negative string length "
"%d at %s, line %d.",
length, __FILE__, __LINE__);

Monday, January 19, 2009

wubi

wubi - Windows-based Ubuntu Installer creates a 'loop device' -

In Unix-like operating systems, a loop device, vnd (vnode disk), or lofi (loopback file interface) is a pseudo-device that makes a file accessible as a block device.



unetbootin

unetbootin is Universal Netboot Installer
UNetbootin allows for the installation of various Linux/BSD distributions to a partition or USB drive, so it's no different from a standard install, only it doesn't need a CD. It can create a dual-boot install, or replace the existing OS entirely.

QEMU

qemu.exe -L . linux.img
http://www.h6.dion.ne.jp/~kazuw/qemu-win/qemu-0.9.0-windows.zip -the package is ~6MB and is small. This emulated version can live side by side with Windows like vmware fusion for Mac

Wednesday, January 07, 2009

selenium core : Technologies used

cssQuery - http://dean.edwards.name/
cssQuery() is a powerful cross-browser JavaScript function that enables querying of a DOM document using CSS selectors. All CSS1 and CSS2 selectors are allowed plus quite a few CSS3 selectors.

scriptaculous - http://script.aculo.us/
script.aculo.us provides you with easy-to-use, cross-browser user interface JavaScript libraries to make your web sites and web applications fly.
What's inside? animation framework, drag and drop, Ajax controls
DOM utilities, and unit testing. It's an add-on to the fantastic Prototype framework.

xpath - http://code.google.com/p/ajaxslt/

xpath is part of ajaxslt: Pure javascript implementation of XSLT and XPath

AJAXSLT is an implementation of XSLT in JavaScript. Because XSLT uses XPath, it is also an implementation of XPath that can be used independently of XSLT. This implementation has the advantange that it makes XSLT uniformly available on more browsers than natively provide it, and that it can be extended to yet more browsers if necessary.

AJAXSLT is interesting for developers who strive aggressively for cross browser compatibility of their advanced web applications.

This implementation of XSLT operates at the DOM level on its input documents. It internally uses a DOM implementation to create the output document, but usually returns the output document as text stream. The DOM to construct the output document can be supplied by the application, or else an internal minimal DOM implementation is used. This DOM comes with a minimal XML parser that can be used to generate a suitable DOM representation of the input documents if they are present as text.

jsunit - http://www.jsunit.net/

JsUnit is a Unit Testing framework for client-side (in-browser) JavaScript. It is essentially a port of JUnit to JavaScript. Also included is a platform for automating the execution of tests on multiple browsers and multiple machines running different OSs.

strands - http://www.xucia.com/strands-doc/overview.html

Strands adds coroutine and cooperative threading support to the JavaScript language that enables blocking capabilities for asynchronous event callbacks. This makes asynchronous code refreshingly readable and comprehensible.

Dojo toolkit - http://dojotoolkit.org/

The Dojo Toolkit is an open source modular JavaScript library (or more specifically JavaScript toolkit) designed to ease the rapid development of cross platform, JavaScript/Ajax based applications and web sites.

Prototype: http://www.prototypejs.org/

http://prototype.conio.net/ ??

Prototype is a JavaScript Framework that aims to ease development of dynamic web applications.


Saturday, November 29, 2008

dropbox list

3lotusmedia
AccuLink
ADS
alg
AlphaPhiFoundation
amazinggrace
artisticphotocanvas
BarnesMcInerneyDropbox
BiggyPix
bizmonitoring
blazefiletransfer
Breuckmann459571
burningdervish
cabe
caledlaw
canvasone
chadgreenlee1113963
cleanrun
Clitho
digitalsilverimaging
Documents
Donman
dpd
dtSearch
ebscomedia
ECB
epc
ESNMFTP
everydaylivesdeliveries
FinePrintImaging
freqmastering
globallt
halvorbodin
HawkArtDropBox
hotdishadvertising
HotelTravelCheck
ICDLGraduateSchool
ImperialPrinting
ImprintDigital
IndependentWomensVoice
inition
inquirerbox
JaysonNoftle569037
Jive
joshKelleytoremember
kubu
LazyMask
mainehomedesign
MajorProductionFund
MGIPERTH
morganjames
Mumbian
ndkdenver
nerepro
newvision
OLP2008
patrickmediagroup
plan
polishyourimage
polkadotpotato
PostUp
pravda
predisc
Printingmethods
Protograph
pvp
RiverviewSystems
selfbuild/
SendUsYourStory
sftfactory
SIGNSbySaenz
spectre
stingraytacklecompany
STLHE
sydac
teamdropbox
Texcast
thehonigcompany
TheModernFirm
tigerfish
tlac
ToolStudiosDrop
UKlocations
unitedgraphics
UploadBox
vincentpress
vivid
WowStuff706654
ZSpotlight

Blog Archive