Posts matching the query string: Tag=Programming.

My ratings (R) are from 1 to 9. My Dates are also permalinks. Click on the column headers to sort Jots. Feel free to use the address bar like a command line interface by setting the optional query string parameters: Dtm1 (10, 20, 30, YYYYMMDDhhmmss), Dtm2 (YYYYMMDDhhmmss), IsJot (Jot or Not), Tag (zero+ times), NotTag (zero+ times), OrderBy (PostForDate, PostTitle, PostLink, PostText, PostSource, PostRating, PostSize) & Desc(Desc), and Limit(integer).

  1. A Look Inside Wikipedia's Infrastructure TAGS: Cyber Tech. Databases. Open Source. Programming. TECH. Wikipedia.
  2. 10gen TAGS: Cloud. Computers. Databases. Free Libre. Google. JavaScript. Open Source. Programming. TECH.
  3. Cannot open Excel in Internet Explorer TAGS: Cyber Tech. Excel. Microsoft. My Stuff. Programming. TECH.
  4. Abbreviate Currency using Javascript TAGS: JavaScript. Programming. TECH.
  5. ghLibrary for JavaScript TAGS: Browser. Java. My Stuff. Programming. TECH. Time.
  6. Gmail Sidesteps the App Store TAGS: Cyber Life. Google. Programming. TECH.
  7. Intel's Ct software will make ordinary code work on forthcoming many-core processors TAGS: Computers. Cyber Tech. Hardware. Programming. Software. TECH.
  8. S-exp vs XML, HTML, LaTeX (was: Why lisp is growing) TAGS: Death. Philosophy. Politics. Programming. Psychology. TECH.
  9. A Robot that Navigates Like a Person TAGS: Artificial Intelligence. Biology. Brain. Evolution. Programming. Robotics. Software. TECH.
  10. Rich Internet Apps TAGS: Animation. Apple. Browser. Cyber Tech. Firefox. Google. Microsoft. Programming. Standards. Sun Microsystems. TECH. Videos.
  11. Maker's Schedule, Manager's Schedule TAGS: Cyber Life. Programming. Relations.
  12. Introduction to HTML 5 TAGS: Cyber Life. Cyber Tech. HTML. Images. Programming. Standards. TECH. Videos.
  13. SVG TAGS: Animation. Cyber Life. Flash. Images. JavaScript. Open Source. Photos. Programming. Standards. SVG. TECH. Videos.
  14. Reviewing "Ext JS 3.0 Cookbook" soon TAGS: Books. Images. JavaScript. Programming. Reading. TECH.
  15. Video: Douglas Crockford - The State and Future of JavaScript TAGS: Cyber Tech. IBM. JavaScript. Microsoft. Programming. TECH. Yahoo!.
  16. "Ext JS 3.0 Cookbook" by Jorge Ramon, a review by George Hernandez TAGS: Books. Cyber Tech. JavaScript. Programming. Reading Now. TECH.
  17. ASP.NET output that isn't HTML TAGS: ASP.NET. Cyber Tech. Microsoft. Programming. TECH.
  18. Is Process Killing the Software Industry? TAGS: Mind. Programming. TECH.
DateTextLinkSourceTagsNote
20080722 141922 Z How To Encourage a Young Teen To Learn Programming? ask.slashdot … 0452225&from=rss Education, Family, Inspiring, Kids, Programming, Relations, Sad, TECH The content here is all in the Slashdot comment thread. Interesting, hopeful, and yet sad in a way. It's like techies trying to remember what it was like to be young and human. You can tell the comments from those who are parents or who have taught.
20090410 125648 Z Changing a Non-IDENTITY column to IDENTITY and vice versa www.sqlserve … les/T-SQL/61979/ Databases, Microsoft, Programming, SQL, TECH Maybe useful later.
20090518 212959 Z They Write the Right Stuff www.fastcomp … ode/28121/print? Programming, Space, Standards, TECH A bit about the programming at NASA. I talked with a former NASA programmer years ago. He said it was the work and job that he was the most proud of.
20090611 123109 Z The First Few Milliseconds of an HTTPS Connection www.moserwar … ds-of-https.html www.reddit.c … ttps_connection/ Browser, Cyber Tech, Programming, Security, Standards, TECH File away.
20090730 184222 Z A few HTML 5 goodies Cyber Tech, HTML, Programming, Standards HTML 5: A vocabulary and associated APIs for HTML and XHTML [http://dev.w3.org/html5/spec/]
HTML 5 Reference: A Web Developer’s Guide to HTML 5 [http://dev.w3.org/html5/html-author/]
HTML 5: The Markup Language [http://dev.w3.org/html5/markup/] HTML 5 [W]
HTML5 Quick Reference Guide [http://www.veign.com/reference/html5-guide.php]
Misunderstanding Markup: XHTML 2/HTML 5 Comic Strip [http://www.smashingmagazine.com/2009/07/29/misunderstanding-markup-xhtml-2-comic-strip/] When can I use... [http://a.deveria.com/caniuse/]
20090922 180426 Z A Stick Figure Guide to the Advanced Encryption Standard (AES www.moserwar … to-advanced.html www.reddit.c … nced_encryption/ Comics, Images, Programming, Security, Standards, TECH This reddit comment had it right: "Worst XKCD ever!"
20091020 195310 Z C++ in Coders at Work gigamonkeys. … /coders-c++.html www.reddit.c … those_who_never/ Programming, TECH Usually these sort of articles are of an "A v B" type, but this one is about why some folks dislike the programming language C++. The simple explanation of the success of C++ is not that C++ was great at being object oriented, but that it was backwards compatible with C. Lots of folks say that Objective-C (1986) also backward compatible but is better than C++ (1983). However C++ is much more popular Objective-C because the latter didn't give it away enough.
20091020 195959 Z How to Write Unmaintainable Code www.geocitie … aintainable.html Funny, Programming, TECH I dug this one up from some old bookmarks and I'm filing it here. The author is sick and funny.
20091112 003351 Z The Go Programming Language www.youtube. … ch?v=rKnDgT73v8s Google, Programming, TECH Ooh. One of the most exciting new programming languages in years. They had me at no parentheses for if statements!
20091116 162049 Z REPLACE Multiple Spaces with One www.sqlserve … les/T-SQL/68378/ Beauty, Programming, SQL, TECH A beautiful elegant solution for a problem that most other folks solve with loops or tables or some ugly row by agonizing row (RBAR) solution. REPLACE(REPLACE(REPLACE(OriginalString,' ',' þ'),'þ ',''),'þ','').
20091207 194503 Z Coding Practices www.omninerd … Coding_Practices ask.slashdot … tices?art_pos=24 Programming, Standards, TECH I love articles on coding practices and conventions.
20091208 153706 Z Standard ECMA-262, 5th edition www.ecma-int … rds/Ecma-262.htm developers.s … proved?art_pos=1 JavaScript, Programming, Standards, TECH Whoot! After 10 years, this is finally out. JavaScript 1.9 in Firefox 4 should be ECMAScript 5 compliant. JScript 5.8 in Internet Explorer is still on ECMAScript 3. Funny to see the battle between IBM's 754r and Douglas' DEC64 still raging.
20091218 163303 Z Ten years of .NET - Did Microsoft deliver? www.theregis … t_net_noughties/ developers.s … omises?art_pos=5 Computers, Microsoft, Programming, Sun Microsystems, TECH I must have blinked, because given the article and the comments, you'd think that Java lost the war and Microsoft .NET has won.
20100118 213645 Z Programming with proportional fonts is great m-mz.postero … ith-proportional developers.s … Fonts?art_pos=26 Programming, TECH Proportional may read 14% faster, but as one comment mentioned, code needs to emphasize punctuation more than regular reading. The only way for a user to know is try it out. My current fixed width font is Consolas.
20100125 203119 Z How to use CSS @font-face nicewebtype. … e-css-font-face/ CSS, Programming, Standards, TECH So near --and yet so far. Firefox 3.6 supports Web Open Font Format (WOFF), but we still have to wade through OpenType Font (OTF), TrueType Font (TTF), Embedded OpenType (EOT), and SVG fonts.
20100205 165411 Z Laying out SQL Code www.simple-t … utm_campaign=SQL Programming, SQL, TECH, Writing Some good points, but it seems like he's having too much fun!
20100216 155306 Z wtfjs.com http://wtfjs.com/ http://ajaxian.com/archives/wtfjs Cyber Life, Funny, JavaScript, Programming, Sad JavaScript humor.
20100308 193545 Z The Problem with Passwords www.alistapa … -with-passwords/ CSS, Cyber Life, Cyber Tech, Programming This article by Lyle Mullican deals with one particular problem: People commonly want to reset passwords reset because they think they've forgotten it. Presented are two options of showing the user their password, without losing the familiar masked password text field.
20100316 182114 Z Top 10 Things That Annoy Programmers www.kevinwil … noy-programmers/ Cyber Life, Life, Mind, Programming, TECH So true.
20100505 162026 Z RGraph: HTML5 canvas graph library based on the HTML5 canvas tag http://www.rgraph.net/ ajaxian.com/ … graphing-library Cyber Tech, JavaScript, Math, Programming, TECH I saw RGraph since at least August of last year. I think HTML5 is coming around: Movement toward less Flash, more HTML5, and browsers becoming more HTML5 compliant. Of course Ext JS and the other frameworks will probably be boosting their charts too.
20100927 220835 Z Notepad++: Linebreaks in Regular Expressions blog.microug … -in-regular.html Open Source, Programming, TECH, Text So lame! As an UltraEdit user trying out Notepad++, at first I thought the issue was the difference between the PERL style regular expressions used in UltraEdit and the POSIX/SciTE style regular expressions used in Notepad++. Instead the issue is that Notepad++ doesn't find handle linebreaks with s+. Who knows how else regular expressions are broken in Notepad++?
20101012 013109 Z How to Estimate Software james-iry.bl … te-software.html www.reddit.c … timate_software/ Funny, Programming, TECH 2 weeks. That's how we roll.
20101201 204500 Z Server-side JavaScript the untold story by Ulrike Mueller jsconf.eu/20 … ipt_the_unt.html Cyber Tech, JavaScript, Live Action, Programming, TECH While the Client-Side JavaScript (CSJS) is well known, the Server-Side JavaScript (SSJS) is not. Personally, I like JavaScript and why not use it on the server-side? I like the last line of Urlike's bio too: "Beside server-side JavaScript, she spends a lot of time with high-scale architecture concepts and NoSQL databases." demandware.com.
20101207 195344 Z Strategies for becoming a better programmer blog.develop … Paul+S.+Boodhoo) Inspiring, Programming, Self Improvement, TECH Not just for programmers.
20110429 204705 Z JSONx publib.bould … onandjsonx05.htm www.reddit.c … ng_jsonx_an_ibm/ Funny, Programming, Quirky, Sad, Standards, TECH "JSONx is an IBM® standard format to represent JSON as XML". Madness!
20110518 183129 Z JavaScript emulator lets Linux run in a browser tab www.geek.com … er-tab-20110517/ Browser, Computers, Cool, JavaScript, Operating System, Programming, TECH Emulate an OS in a browser tab using JavaScript? Good geeky coolness.
20111014 195525 Z RIP Dennis Ritchie (1941-09-09/2011-10-08) Computers, Death, Inspiring, Obituaries, Operating System, Programming, Sad, TECH Alas, I never got "The C Programming Language" signed by Dennis Ritchie (1941-09-09/2011-10-08). Thank you for C and Unix and their descendants. May the legends grow and the code remain concise.
20130731 201647 Z Your app makes me fat seriouspony. … app-makes-me-fat Cyber Life, Food, Mind, Programming, Psychology, TECH TLDNR: We have limited cognitive power. Use it up and you will suck. So make things as simple as possible.
20131126 182334 Z Raspberry Pi FAQ http://www.raspberrypi.org/faqs Cool, Gadget, Hardware, Inspiring, Kids, Programming, Software, TECH If you have a hands-on techie kid/adult, then Raspberry Pi makes for a seriously excellent gift for just $35.
20140627 163000 Z Revision Control georgehernan … isionControl.asp My Stuff, Programming, TECH I redid my page on Revision Control [http://georgehernandez.com/h/xComputers/zMisc/RevisionControl.asp]. It was originally mostly about Mercurial, but is now about both Git and Mercurial.
2008-06-24t18:26:42 Z | TAGS: Cyber Tech, Databases, Open Source, Programming, TECH, Wikipedia
A Look Inside Wikipedia's Infrastructure
A Look Inside Wikipedia's Infrastructure [http://www.datacenterknowledge.com/archives/2008/Jun/24/a_look_inside_wikipedias_infrastructure.html] [VIA: http://tech.slashdot.org/article.pl?sid=08/06/24/1552225&from=rss]

Wikipedia is one of the top 10 busiest sites on the planet. Caching seems to be the big trick.

As I see it, in such context Wikipedia is more interesting as a case of operations underdog - non-profit lean budgets, brave approaches in infrastructure, conservative feature development, and lots of cheating and cheap tricks (caching! caching! caching!).

Some quick stats:

I liked this insightful tidbit from the slashdot thread:

Most of Wikipedia is a collection of static pages. Most users of Wikipedia are just reading the latest version of an article, to which they were taken by a non-Wikipedia search engine. So all Wikipedia has to do for them is serve a static page. No database work or page generation is required.

Older revisions of pages come from the database, as do the versions one sees during editing and previewing, the history information, and such. Those operations involve the MySQL databases. There are only about 10-20 updates per second taking place in the editing end of the system. When a page is updated, static copies are propagated out to the static page servers after a few tens of seconds.

Article editing is a check-out/check in system. When you start editing a page, you get a version token, and when you update the page, the token has to match the latest revision or you get an edit conflict. It's all standard form requests; there's no need for frantic XMLHttpRequest processing while you're working on a page.

Because there are no ads, there's no overhead associated with inserting variable ad info into the pages. No need for ad rotators, ad trackers, "beacons" or similar overhead.

I like the principal of minimal database calls, but it's so funny given how popular Web 2.0 and AJAX are.

2008-07-25t16:07:00 Z | TAGS: Cloud, Computers, Databases, Free Libre, Google, JavaScript, Open Source, Programming, TECH
10gen
10gen [http://www.10gen.com/] [VIA: http://www.technologyreview.com/Biztech/21127/?nlid=1235&a=f]

10gen [10gen.com] has just arrived as an open-source alternative in the cloud computing arena (apps and data hosted on a hundreds of servers knitted together to form a cloud or grid or virtual super computer). There are of course the big players like Google App Engine (GAE) [http://code.google.com/appengine/], Amazon Web Services, Yahoo, and IBM, as well as smaller players like KickApps [kickapps.com].

As an example of its open-source nature, 10gen has an open-source, scalable, object database instead of a relational database. Contrast this with GAE's proprietary BigTable that uses GQL and no joins. One of the cooler things about 10gen is that it uses JavaScript! Lately I've been loving using JavaScript for both client-side and server-side coding. Contrast this with GAE's use of Python with Django. Both 10gen and Google say that they'll support other languages later.

Personally I'm torn because while 10gen just got $1.5 million in venture capital, Google is more of a sure thing.

2008-08-01t17:53:20 Z | TAGS: Cyber Tech, Excel, Microsoft, My Stuff, Programming, TECH
Cannot open Excel in Internet Explorer

It is fairly well known that you can easily turn simple HTML tables into Excel files by giving it a different MIME with code like the following: Response.ContentType = "application/vnd.ms-excel";. Greg Griffiths writes about it in "MS Excel", which also include other methods of getting Excel files to a user via browser. There are other cheesy methods such as generating a CSV and so on.

However, I recently ran into the issue where the MIME-change version was working for all browsers except for Internet Explorer. Furthermore, it worked on IE7 for the LAN but not the Web. I did the usual scouring the Web via Google and MSDN, but was unsuccessful. What finally led me to the solution was the little nugget about how Response.AddHeader() had to be used before any other output. That's when I dug through the various includes on the pages and noticed that way up on top there was some cache code. I just elimated that and BAM! All is well! Another case of needing to minimize settings in includes.

Here is the simple test page I made in ASP JavaScript. Note the cache code that I commented out that fixed the problem.

<%@ language="javascript" %>
<%
Response.Buffer=true;
Response.Expires = -1;
//Response.CacheControl = "no-cache";
//Response.AddHeader("Pragma", "no-cache");
Response.ContentType = "application/vnd.ms-excel";
Response.AddHeader("Content-Disposition", "attachment;Filename=ExcelTests.xls");

Response.Write("<table>\r\n");
Response.Write("    <tr>\r\n");
Response.Write("        <td>a1</td>\r\n");
Response.Write("        <td>b1</td>\r\n");
Response.Write("        <td>c1</td>\r\n");
Response.Write("    </tr>\r\n");
Response.Write("    <tr>\r\n");
Response.Write("        <td>a2</td>\r\n");
Response.Write("        <td>b2</td>\r\n");
Response.Write("        <td>c2</td>\r\n");
Response.Write("    </tr>\r\n");
Response.Write("    <tr>\r\n");
Response.Write("        <td>a3</td>\r\n");
Response.Write("        <td>b3</td>\r\n");
Response.Write("        <td>c3</td>\r\n");
Response.Write("    </tr>\r\n");
Response.Write("</table>");
//Response.Flush();
%>
2008-09-28t14:20:38 Z | TAGS: JavaScript, Programming, TECH
Abbreviate Currency using Javascript
Abbreviate Currency using Javascript [http://groups.google.com/group/comp.lang.javascript/browse_thread/thread/16e76a4c1ce38b0f?hl=en]

This may not be commonly used but I thought it was a beautiful bit of code by Dr JR Stockton on 2008-09-27.

S = "$1000000000"
S = S.replace(/(0+)$/, function(a, s) { var L = s.length
  return ['','0','00'][L%3] + ['','K','M','G','T','P','E'][(L/3)|0]}) 
//S is now "$100M"
2008-10-10t17:44:10 Z | TAGS: Browser, Java, My Stuff, Programming, TECH, Time
ghLibrary for JavaScript

Every programmer has their own little library, their own little bag of tricks accumulated over the years. For the past few weeks I've been reviewing JavaScript libraries for several reasons:

Except for the simplest of sites, it seems that the days are slipping when you could make a site with your own HTML, CSS, AJAX, and JavaScript on the client-side, plus whatever on the server-side. See http://www.surveymonkey.com/sr.aspx?sm=fXLiKcnKlD6cO5bRe961aBB6NCCWytRyY3rParAYmwA_3d. Now it seems that you have to use a library, as in the old build v buy argument. It's not simply for pretty stuff but for serious business stuff like data grids. They're calling them {AJAX | Widget | Web App} {Toolkits | Frameworks} these days. You can simply call them JavaScript libraries on the client-side, but on the server-side it's usually some other language generating JavaScript, CSS, and HTML for the client-side.

The top client-side JavaScript libraries are (in rough order):

  • Prototype JavaScript Framework
  • jQuery
  • Ext
  • Script.aculo.us
  • Yahoo! User Interface (YUI)
  • Dojo Toolkit
  • Midori
  • MochiKit
  • qooxdoo
  • Rialto
  • Spry

The top server-side "JavaScript" libraries include:

There are libraries with more specific uses that are often included. Here are a few arbitrary ones:

  • Datejs. For dates.
  • Some Lightbox [W] variation for pretty pictures.

The namespace collision issue shouldn't exist (that's what namespaces are for), except that many of these libraries extend or prototype the native global objects in the JavaScript language. Luckily so far I've only seen two major collisions:

My main emphasis was on language-level code. Why? The things you do with JavaScript change over time but the language itself should be solid. As I've mentioned, some of the libraries modify the native global objects in JavaScript and cannot be found with a namespacee. This can produce code that might be very difficult to debug. Some of the native gloobal object prototyping done by the these libraries have been implemented into the official JavaScript on Mozilla, especially with Array and functional/lambda programming. Since not everyone uses Firefox, I've tried to include some of the new stuff into the library so the code will work on other libraries. (I've noticed that JScript on Internet Explorer has not changed much, which has its good and bad points.) A search in the topic pulled up some goodies like these (in no particular order):

I broke up my personal JavaScript common library into two parts.

2009-04-13t15:46:12 Z | TAGS: Cyber Life, Google, Programming, TECH
Gmail Sidesteps the App Store
Gmail Sidesteps the App Store [http://www.technologyreview.com/communications/22424/?nlid=1943&a=f]

The article is about mobile apps and the blurring distinction apps on mobile devices and web apps on mobile devices. I can see my company, ICLOPS [iclops.com], making mobile web apps in the near future.

This paragraph summarizes the technologies involved:

These features include a graphics tool called Canvas, "persistent storage," and an "application cache," explains Shyam Sheth, product manager on Google's mobile team. Canvas is something of an alternative to the popular Adobe Flash software that's commonly used to create graphics and animation on the Web. Persistent storage provides a way for data, originally on a remote server (such as Google's e-mail servers), to be stored locally, on the device. The HTML 5 application cache keeps important information about an application on the device that allows it to open quickly, as if it were running directly on the hardware instead of remotely. The iPhone version of Gmail uses only HTML 5, whereas Android uses a combination of HTML 5 and Gears (a Google software add-on that enables its Web apps to run offline).

This paragraph explains a major reason of why to do it. Cross platform programming is annoying!

Sheth says that there are a number of advantages for developers who build mobile applications via the Web. While there are only three major operating systems for desktops that developers need to learn, there are tens of mobile-device platforms with various different requirements. Applications can be built on the Web and need to be modified only slightly for different mobile devices. "Given the number of platforms we have in the mobile space," says Sheth, "we really need a unifying platform . . . That's why Google is so heavily investing in the Web becoming the common platform."
2009-04-21t15:27:39 Z | TAGS: Computers, Cyber Tech, Hardware, Programming, Software, TECH
Intel's Ct software will make ordinary code work on forthcoming many-core processors
Intel's Ct software will make ordinary code work on forthcoming many-core processors [http://www.technologyreview.com/computing/22517/?nlid=1961&a=f]

Nice. I was recently mentioning to some folks that we can't really take advantage of hi-core, hi-memory, hi-processing, hi-width, hi-parallel, etc. because the ease of use isn't there yet.

When it comes to writing computer software, there is a huge difference between "multi" and "many." Mere humans can write good software for the current breed of multicore processors that have two to four processing units inside a single chip, although this still requires extra skill and patience. The next step is many-core processors with sixteen to hundreds of cores--too many for any programmer to efficiently command. That's why later this year, Intel will release from its lab a research project called Ct ("C for Throughput") that will automatically make standard C and C++ compilers work with many-core processors, starting with Intel's first new graphics processor in many years, code-named Larrabee, which is scheduled to ship in early 2010.

It'll be like automatic garbage clean up.

Larrabee will not be a separate graphics chip in the same sense that an nVidia or ATI GPU is. Yet if Larrabee and Ct work as predicted, the days of discrete graphics processors may soon be over.
2009-06-21t23:37:19 Z | TAGS: Death, Philosophy, Politics, Programming, Psychology, TECH
S-exp vs XML, HTML, LaTeX (was: Why lisp is growing)
S-exp vs XML, HTML, LaTeX (was: Why lisp is growing) [http://harmful.cat-v.org/software/xml/s-exp_vs_XML] [VIA: http://www.reddit.com/r/programming/comments/8u72o/erik_naggums_wonderful_rant_about_xml/]

A sweet post on why XML sucks that's also garnished with thoughts on things like the metric system, George Bush Jr., date formats, and gun control. The issues of solutions being more troublesome than the problem they were supposed to solve is key. So is the issue of group-think.

Farewell Erik Naggum [http://en.wikiquote.org/wiki/Erik_Naggum] (1965/2009).

I believe C++ instills fear in programmers, fear that the interaction of some details causes unpredictable results. Its unmanageable complexity has spawned more fear-preventing tools than any other language, but the solution should have been to create and use a language that does not overload the whole goddamn human brain with irrelevant details.
2009-06-30t14:50:04 Z | TAGS: Artificial Intelligence, Biology, Brain, Evolution, Programming, Robotics, Software, TECH
A Robot that Navigates Like a Person
A Robot that Navigates Like a Person [http://www.technologyreview.com/computing/22946/?nlid=2140]

Ah ha! The engineers have been caught reverse engineering from nature again. Imitation is the highest form of flattery.

The robot consists of a wheeled platform with a robotic "head" that uses two cameras to capture stereoscopic vision. The robot can turn its head and shift its gaze up and down or sideways to gauge its surroundings, and can quickly measure its own speed relative to its environment. The machine is controlled by algorithms designed to mimic different parts of the human visual system. Rather than capturing and mapping its surroundings over and over in order to plan its route--the way most robots do--the European machine uses a simulated neural network to update its position relative to the environment, continually adjusting to each new input. This mimics human visual processing and movement planning.

Reverse engineering nature is the way to go because nature has complex systems that evolved over thousands of years.

2009-07-10t19:13:15 Z | TAGS: Animation, Apple, Browser, Cyber Tech, Firefox, Google, Microsoft, Programming, Standards, Sun Microsystems, TECH, Videos
Rich Internet Apps

Just a quickie tech review:

2009-07-28t17:36:24 Z | TAGS: Cyber Life, Programming, Relations
Maker's Schedule, Manager's Schedule
Maker's Schedule, Manager's Schedule [http://www.paulgraham.com/makersschedule.html] [VIA: http://tech.slashdot.org/story/09/07/27/1528201/Managers-Schedule-vs-Makers-Schedule?art_pos=28]

The article is right on.

My spin on it is related to multi-tasking. We can do complex things (that involve multi-tasking) if we can simplify them so that we are effectively single-tasking. EG: Driving is composed of multiple little tasks that we have to time slice between very quickly. For a new driver these are actually multiple tasks, but for an experienced driver these tasks have been simplified into a single task: Driving.

To translate this into Paul Grahams model: Managers are doing one task (managing and meeting), and makers are also doing one task (making). The thing is that meetings interrupt the maker's single task but are simply part of the manager's single task.

Having meetings at the beginning (or end) of a day (or week) is a simple solution.

2009-09-28t16:29:36 Z | TAGS: Cyber Life, Cyber Tech, HTML, Images, Programming, Standards, TECH, Videos
Introduction to HTML 5
Introduction to HTML 5 [http://www.youtube.com/watch?v=siOHh0uzcuY&feature=sdig&et=1254036170.89]

A video by a Google developer about HTML 5.

First he briefly discusses how it took a while for people to gel a few older technologies into AJAX, and how HTML 5 will probably be implemented faster than that. He also mentions that the web (not Web) environment is different now and needs HTML 5, especially with mobile devices and faster Javascript.

The rest of the video looks at 5 aspects of HTML 5 and shows simple example code implementing those aspects. The 5 aspects he covers are:

  1. SVG and Canvas. Lower level control of graphics.
  2. video. Not Flash, Silverlight, or VML, but native video support.
  3. geolocation. Especially with mobile devices.
  4. app cache and database. App cache is like a super browser cache. DB is an off-line DB that uses SQL statements.
  5. web worker. Similar to AJAX.
2009-10-20t17:23:51 Z | TAGS: Animation, Cyber Life, Flash, Images, JavaScript, Open Source, Photos, Programming, Standards, SVG, TECH, Videos
SVG

It's annoying and vexing that although Scalable Vector Graphics (SVG) [W] has been around for 10 years now, it's not implemented in browsers in a standard fashion, especially Internet Explorer. See:

Until properly implemented, we have to use cheats like embed, object, and iframe in non-IE browsers. IE can show SVG by using stuff like svgweb [http://code.google.com/p/svgweb/] which converts the SVG into Flash. I love Inkscape for SVG images, and there should be more tools for SVG videos, charts, etc.

2009-11-10t15:03:22 Z | TAGS: Books, Images, JavaScript, Programming, Reading, TECH
Reviewing "Ext JS 3.0 Cookbook" soon

There's a new book Ext JS 3.0 Cookbook by Jorge Ramon. There are several cool things about this: One is that now there are more than 2 books on Ext JS out there (I already have "Learning Ext JS"). The other cool thing is that the publisher, Packt Publishing [packtpub.com], is sending me a complimentary copy of it so I can review it!

Ext JS 3.0 Cookbook by Jorge Ramon

2009-11-10t16:19:59 Z | TAGS: Cyber Tech, IBM, JavaScript, Microsoft, Programming, TECH, Yahoo!
Video: Douglas Crockford - The State and Future of JavaScript
Video: Douglas Crockford - The State and Future of JavaScript [http://developer.yahoo.com/yui/theater/video.php?v=crockford-yuiconf2009-state]

An hour long speech by Douglas Crockford of Yahoo, but you can also just read the transcript too. Some very nice stuff in there:

2010-02-19t04:02:47 Z | TAGS: Books, Cyber Tech, JavaScript, Programming, Reading Now, TECH
"Ext JS 3.0 Cookbook" by Jorge Ramon, a review by George Hernandez
Ext JS 3.0 Cookbook [http://www.amazon.com/gp/product/1847198708?ie=UTF8&tag=georgehernand-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=1847198708]

A few years back, I was looking around for a JavaScript library for building interactive web applications. I took a list of JavaScript libraries [W], read some reviews, and tried a few of them out. Eventually I settled on Ext JS for several reasons, but what really whetted my appetite was their samples and demo page. Their samples were elegant, powerful, and usually worked on any browser. If you have acquired a hunger for Ext JS, then Ext JS 3.0 Cookbook by Jorge Ramon, can certainly serve you a good number of dishes.

Ext JS 3.0 Cookbook by Jorge Ramon

When I learned Ext JS, there were no books. I had to learn by playing with the product and by using resources on the Ext JS [extjs.com] website. The examples on site are almost pure code and no explanation (the code is self explanatory!). The API documentation is good but terse and dry with few examples. The forum is excellent and is probably the greatest Ext JS resource --it's like talking to Ext JS experts about your specific problems. As on of the few books on Ext JS, the Ext JS 3.0 Cookbook is a welcome resource. It has examples and explanations!

The set up of Ext JS 3.0 Cookbook is useful and simple. Related "recipes" are organized into chapters. A recipe is a specific task of something you want to do with Ext JS. Each recipe is set up, pictures are provided if applicable, then the ingredients (code) is put together step by step. Specific things are emphasized, and explanations are given of how it works.

Ext JS 3.0 Cookbook is a great way to jump start a new programmer on Ext JS. The programmer should already know HTML, JavaScript, and client-server interaction across the Web. This book would have been quite useful when I started learning Ext JS, but even now it covers parts of Ext JS that I haven't used yet.

Overall, if you need to get a good foothold on Ext JS, then I recommend Ext JS 3.0 Cookbook (2009) by Jorge Ramon and Packt Publishing. If you're using Ext JS and it can help you get over that one little point that you've been stuck on for a few hours, then it's worth it.

2010-04-26t16:30:40 Z | TAGS: ASP.NET, Cyber Tech, Microsoft, Programming, TECH
ASP.NET output that isn't HTML

One of the first things I needed to do with ASP.NET was output a non-HTML page, i.e. change the HTTP output. An ASP.NET generic handler file (*.ashx) does just that. You can output text (*.txt, *.json, *.xml, *.html, etc.) or binary (*.jpg, , *.mp4, *.swf, etc.) or just about any electronic file you want to. BTW, it is trivial to do this in Classic ASP, but .NET allows some fancier stuff too.

2011-05-12t17:25:19 Z | TAGS: Mind, Programming, TECH
Is Process Killing the Software Industry?
Is Process Killing the Software Industry? [http://developers.slashdot.org/story/11/05/11/0358233/Is-Process-Killing-the-Software-Industry?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+Slashdot%2Fslashdot+%28Slashdot%29]

Imaginative code is more important than tested code.

We all know by now that Test Driven Development is a best practice. And so is having 100% of your code reviewed. And 70% unit test coverage. And keeping your CCN complexity numbers below 20. And doing pre-sprint grooming of stories. And a hundred other industry 'best practices' that in isolation seem like a great idea. But at the end of the day, how much time does it leave for developers to be innovative and creative? A piece on O'Reilly Radar argues that excessive process in software development is sucking the life out of passionate developers, all in the name of making sure that 'good code' gets written. 'The underlying feedback loop making this progressively worse is that passionate programmers write great code, but process kills passion. Disaffected programmers write poor code, and poor code makes management add more process in an attempt to "make" their programmers write good code. That just makes morale worse, and so on.'

Page Modified: (Hand noted: ) (Auto noted: )