Skip to main content

Home/ Coders/ Contents contributed and discussions participated by David Corking

Contents contributed and discussions participated by David Corking

David Corking

Ten Things I Hate About Object-Oriented Programming - The JOT Blog - 13 views

  • we spend much of our time bouncing back and forth between … lots of little methods. This is sometimes known as the Lost in Space syndrome. It has been reported since the early days of OOP. To quote Adele Goldberg, “In Smalltalk, everything happens somewhere else.”
    • David Corking
       
      My first and continuing experience in Smalltalk (and Ruby and everywhere else.) Interesting to here 2 experts say the same thing!
  • I believe that to make further progress we must focus on change and how OOP can facilitate change. After all these years, we are still in the early days of OOP and understanding what it has to offer us.
    • David Corking
       
      The key message of the piece.
  •  
    Some after dinner humour, with a serious point
David Corking

Stevey's Blog Rants: Execution in the Kingdom of Nouns - 2006 - 0 views

  • For the lack of a horseshoe, EquestrianDoctor.getLocalInstance().getHorseDispatcher().shoot();
  • the stories all take a definite shape: object construction is the dominant type of expression, with a manager for each abstraction and a run() method for each manager. With a little experience at this kind of conceptual modeling, Java citizens realize they can express any story in this style.
  •  
    The nursery rhyme looks familiar, but how realistic is it? Smalltalk and Self appear at first glance to be in danger of this kind of horror, especially Smalltalk where every object has a class, yet a Smalltalk statement consists largely of verbs. Yegge seems to have missed an important detail in his analogy - verbs are not functions - they are symbols (selectors) that resolve to a function (method) when they are looked up (depending on ... whatever - Smalltalk the class of the receiver, CLOS the types of the arguments and so on). C and FORTRAN don't have verbs, they just have functions (actions).
David Corking

Gizmodo - Computing Classic: The 1954 SAGE Protected the US From Invasions That Never C... - 0 views

  • many of the fighters carried nuclear tipped air-to-air missiles, so it would have been a bit of a turkey shoot. Until, that is, all of the EMP from the exploding missiles and bombs rendered SAGE unusable.
  •  
    The design, build, and coding for this 1954 vacuum tube computer system is an utterly remarkable feat.
David Corking

Selenium web application testing system - 4 views

  •  
    "automate web app testing across many platforms. " Fascinating new open source tool
David Corking

Emacs, TRAMP, Ubuntu « What You're Doing Is Rather Desperate - 2 views

  • edit your ~/.emacs to include the line: (setq tramp-default-method "ssh")
  •  
    Remote editing with ssh - no need to tunnel X11 over ssh. This reminds me of a question that puzzles me: for those of us that use multiple machines, is there a failsafe way to have a master .emacs file for them all? Where do folks store it? On a web server, ftp, NFS directory, a favourite home directory, or a USB stick? Is there a low effort way to sync it: rsync, unison, a custom shell or Emacs lisp script, or a manual scp?
  •  
    Remote editing with ssh - no need to tunnel X11 over ssh, or cope without your window manager. This reminds me of a question that puzzles me: for those of us that use multiple machines, is there a failsafe way to have a master .emacs file for them all? Where do folks store it? On a web server, ftp, NFS directory, a favourite home directory, or a USB stick? Is there a low effort way to sync it: rsync, unison, a custom shell or Emacs lisp script, or a manual scp?
David Corking

torta - where is my disk space being used? - 0 views

shared by David Corking on 23 Jun 09 - Cached
  • it analyzes the file system directly and generates a Flash file that you can load locally or remotely on any Flash-supporting web browser. Torta uses Gordon, a library that provides flash generation functionality.
  •  
    A very nice graphical front-end for 'du', in Common Lisp. I have tried it - it is trivial to use with SBCL. Version 0.3 works very well on the native Linux filesystem of my laptop, and on its VFAT (Windows) filesystem, provided I mount it with iocharset
David Corking

CocoaDev: AmbraiSmalltalk - 0 views

  • I can't imagine building a user interface intensive application through this technique. It would be extremely cool if they could integrate Interface Builder,
    • David Corking
       
      This Smalltalk company seems to have reified the Cocoa UI toolkit beautifully. Judging by the Ambrai website, there don't seem to be any retail Smalltalk compilers in the pipeline. However this could be a great lesson in how to reify John McIntosh's new Objective-C bridge for Squeak, or Etoile's Smalltalk library, if it hasn't been done already.
David Corking

Google Wave Developer Blog: 1 Wave Sandbox, 5 Hours, 17 Awesome Demos - June 2009 - 0 views

  •  
    Wow!
David Corking

Capture it in a unit test | Plum Street - 0 views

  • Get rid of the comment. Make a unit test that demonstrates the setup and expected results in such a clear manner that it’s obvious what the requirement was.
  •  
    Short and sweet.
David Corking

Steve's Squeak Enhancements - 0 views

  • The photos publisher will produce the html files necessary to share your photos. It will copy the original images to the target web site folder as well as create image thubmnails that look pretty nice. It will create the subdirectory folder structure as required. The
    • David Corking
       
      Who says you can't do scripting in Smalltalk?
  •  
    Nice set of applications here
David Corking

Squeak Bug/Fix Reporting on Vimeo by Ken Causey - 2008 - 0 views

  •  
    It is always important to know how to submit a bug report. It doesn't help that every community has different expectations, and every bug tracking system has a different layout. In Squeak, the learning curve is long but shallow. In this 23 minute screencast, Ken Causey starts with some bug hunting tips, and explains how to make a Smalltalk changeset file that is numbered, documented and compressed. He then shows how to submit this to the Mantis server on bugs.squeak.org.
David Corking

Functional Programming Has Warped Me - Blaine Buxton - 0 views

  •  
    This is pretty :)
David Corking

Object Vs Model - 0 views

shared by David Corking on 11 Jun 09 - Cached
  • Data Hiding simply doesn't make sense with regards to a reflective system where the data must regularly be updated by observers of reality (i.e. by one or more actors) and where the data inherently comes from the outside. This is, perhaps, one source of ObjectRelationalImpedenceMismatch?. Relational is designed for modeling data that came from an outside world whilst object-oriented is designed to... well... create and manipulate objects
    • David Corking
       
      why data hiding makes no sense in some programs
  • You can make them work together until you try to add virtualization - abstract objects for which the associated data isn't known.
David Corking

Remember Smalltalk? | Gartner Blogs 2008 - 1 views

  • 2) If you are BIG fan of dynamics languages (closures, meta programming, and all that cool stuff) then consider giving Smalltalk a look.  You might like what you see.  Its like Ruby but with bigger muscles.  You think Rails is cool? Check out seaside. In the end we’ll see a up tick in Smalltalk momentum over the next few years. 
  • Please don’t talk about Smalltalk. I enjoy my competitive advantage over the Java/NET crowd
  • Where Smalltalk really shines recently is in field of web applications due to its dynamic nature (live upgrading, debugging etc.) and because its shortcoming are not relevant here.
  • ...9 more annotations...
  • On the Desktop - Dolphin creates 500k exe’s with ease - its a 1 button click (you just have to follow some of their easy put things in packages rules).
  • Remember LAN MAN? OS2? Both were heavily endorsed by Gartner.
  • I laugh when people say poor performance on older hardware was a mjor Smalltalk weakness. We routinely delivered applications that ran on 386 and 68020 processors with 8MB RAM. And yes, they were quite snappy. No, the reason Smalltalk didn’t catch on is because Sun spent more money on Java marketing than was spent on all computer languages combined, since the dawn of time.
  • I’ve listened personally to whiny ROR programmers groan and whine about PHP devs LEARNING ROR and undercutting them.
  • I didn’t fall for it for the marketing. I fell for WORA, for the language/runtime separation, for the multi-vendor approach (Sun never wanted to be the single provider for any Java centric product niche, and in fact was never the leader), for the comprehensive set of vendor-neutral APIs for all sorts of execution environments/applications,
  • For now I would like to see more use of Smalltalk like constructs in Java (Groovy).
  • Smalltalk must have sofisticated CASE tools, business process simulation tools, large development environments etc. etc. etc.
  • I stayed to teach Smalltalk since 1993 and am very happy about this information. Each academic year, we produce a small group of new Smalltalkers in the Czech Republic.
  • Joe Barnhart // Apr 4, 2009 at 2:48 pm At the company where I work, we have used Smalltalk for 19 years. Our tiny team of programmers has beat the pants off of competitors who employ teams 100 times our size.
  •  
    trend spotting
David Corking

Moving to Symbian S60: One Year Later - 0 views

  • too many ways to develop for Symbian devices: native code, WRT (web run-time) widgets, Java, browser-apps, etc.
    • David Corking
       
      What disadvantage did he find with having choice? Fragmented community, inconsistent UI, difficulty integrating with 3rd party apps, something else?
  • 5-9 clicks just to add a calendar item.
  • disjointed software updating -- which requires a Windows PC in older Nokia devices -- that leaves many North American users without fixes to serious issues for all but the most popular of handsets.
  • ...7 more annotations...
  • there really isn't something as stable and capable as the Symbian OS (yet).
  • Check with your home or renter's insurance whether they will or not before purchasing high-end models.
  • Nokia's Symbian devices do not always use the same software as Samsung and LG's Symbian devices.
  • Battery life is better with Nokia E-series devices; much better.
  • This platform is fun, but is in major transition; something like what Palm is going through with Palm OS 5 and webOS.
  • phone as a laptop/MP3 player/GPS/web server replacement
  • definitely had its points where I wanted to turn back to the Palm Treos
David Corking

Dr. Dobb's | Q&A: When Mobility and Open Source Collide | March 28, 2009 - 0 views

  • The web browser is a good example, on a pc it may make sense to ask a user to find, click, type, and browse the web or look for a service. In a mobile, converged product, you need to help the user be present with the service even or especially when they are driving or have the product in a pocket or handbag, and requiring them to constantly select 'yes' or to type in forms etc. are real headaches for a consumer.
  • We will not provide a store front, but will help the community create multiple online stores from which they can generate revenue for themselves and the developer.
  • At the other end of the spectrum, you see hoards of teenagers in the U.S., Europe and Asia happily texting one handed, using predictive text.
    • David Corking
       
      No: they do NOT use predictive text - we 40 somethings might - but the kids uset text speak. How does a kid text rom an iPhone in his pocket?
  • ...7 more annotations...
  • Focus on the whole experience, meaning you need to be inclusive of display sizes, input methods, and form factors when you design and develop your applications and services.
    • David Corking
       
      How much time does a Symbian app developer have to put in to considering all the different Symbian phones on the market?
  • .Net CF
  • expanding this functionality with QT libraries, Adobe AIR technology
  • StyleTap has a Palm emulator that allows you to run thousands of Palm applications on Symbian products
  • Red Five Labs has a runtime for Symbian OS which ensures Microsoft .net applications can be fully supported.
  • many people around the world are not buying and cannot afford a PC.
  • The Symbian Foundation is helping to do this by ensuring we lower the barrier for entry for software developers.
  •  
    Really interesting interview with Symbian boss
David Corking

Dr. Dobb's | Smartphone Operating Systems: A Developer's Perspective | March 30, 2009 - 0 views

  • The industry stewards have countered Apple's move with their own application stores, so there's a huge opportunity to write the "killer app" for one of several smartphone platforms.
  • 40 MB to less than 4 MB of free RAM
  • one-app-at-a-time requirement complicates any implementation of a copy-and-paste mechanism.
  • ...45 more annotations...
  • As a security sandbox, the iPhone OS permits only one third-party application to run at a time, and not in the background.
  • adding some useful Bluetooth profiles that supported stereo headsets, data synchronization, or the ability to implement multiplayer games would be usefu
  • iPhone OS 3, that provides some of the missing features mentioned here, such as the A2DP profile for Bluetooth, voice recording, and copy-and-paste.
  • Have to learn Objective-C; is only smartphone platform that uses it.
  • Competitors will soon catch up on the UI.
  • embed navigation and GPS plotting into applications.
  • provide their own map content
  • The OS now supports the use of accessories connected to the iPhone either through its 30-pin docking connector or wirelessly via Bluetooth. Now that the device has been "opened", you can expect an entire ecosystem to build up around the device, much like the iPod has.
  • peer-to-peer connectivity using Bonjour
  • developers can now allow users, from within the application, to purchase and obtain new content
  • No voice dial.
  • A client-server mechanism provides access to low-level system resources, and in fact the kernel itself is a server that parcels out resources to those applications that need them. This transaction scheme allows applications to exchange data without requiring direct access to the OS space.
  • C/C++ for porting existing UNIX applications, and Java to port Java ME MIDlets. As mentioned previously, the software stack offers several run-times that offer application development using WRT widgets, Flash, and Python. The primary programming language for the platform is Symbian C++,
  • Handango has managed the wide-scale distribution of Nokia applications. In February, Nokia announced plans to launch its Ovi Store, which sells applications, videos, games, pod-casts and other content, similar to Apple's App Store. The store will be accessible by Nokia S60 smartphones in May.
  • Non-standard Symbian C++ has steep learning curve, with special idioms to master. Large number of Symbian APIs to learn, since it contains hundreds of classes and thousands of member functions.
  • BlackBerry Device Software executes multiple applications simultaneously
  • Manages multiple e-mail Exchange e-mail accounts, along with support for POP3 and SMTP, and e-mails can have file attachments
  • FIPS 140-2 compliant, and supports AES or Triple DES encryption sessions via BlackBerry Enterprise Servers
  • BlackBerry Device Software has enhanced the capabilities of the platform with its own Java virtual machine (JVM), along with new Java classes that offer multitasking capabilities and UI enhancements to go beyond the capabilities of Java ME.
  • You can also take existing Java ME code and add specific BlackBerry classes to make a hybrid Java ME application
  • don't intermix MIDP 2.0 and BlackBerry API calls that perform either screen drawing or application management.
  • The catch to writing an application that uses BlackBerry API extensions is that it ties the application this smartphone. However, this is no worse than using the unique Java classes found in Google's Android.
  • Apple promotes the design goal that applications should accomplish one purpose.
  • no Flash support, and you can't download files.
  • For non-Exchange users, Apple's MobileMe online service, after some fits and starts in 2008, now supports the push of e-mails and changes to the calendar and contacts.
  • The iPhone 3G can work in tandem with Microsoft Exhange Server 2003 and 2007 to support enterprise operations.
  • Cocoa Touch is a subset of Apple's Cocoa,
  • Cocoa Touch components manage most of the writing to the screen and playing media, yet there are APIs exposed that let you access the accelerometer and camera.
  • Quartz engine is identical to the one found in Mac OS X
  • Only a select few higher-level frameworks have access to the kernel and drivers. If necessary, an application can indirectly access some of these services through C-based interfaces provided in a LibSystem library.
  • the SDK provides Dashcode, which is a framework based on a Web page composed of HTML and Javascript. You can use DashCode's simulator to write and test your web application. You can also use several other third-party frameworks to write web applications, and debug these with Aptanna Studio's tools.
  • Made by HTC, the G1 is the first smartphone using the Android platform.
  • e-mail program (which makes use of Google's Gmail), a mapping program (using the company's Google Maps), and a browser that uses WebKit, not Google's Chrome web browser
  • Android is not Java ME, nor does it support such applications
  • ability to both browse and manage multiple IM conversations. On the other hand, such heavy use of the smartphone's CPU shortens battery life significantly. Maybe Apple is on to something in limiting the number of applications that the platform can run.
  • On the positive side, the Android APIs support a touch interface (and the G1 has a capacitive touch screen), but not any multi-touch gestures.
  • copying text from the web pages is the browser isn't allowed
  • The advantage to Android's use of a different bytecode interpreter is that the DVM was designed so that multiple instances of it can run, each in their own protected memory space, and each executing an application. While this approach offers stability and a robust environment for running multiple applications, it does so at the expense of compatibility with Java ME applications.
  • Seasoned Java programmers will find the Android SDK an amalgam of Java SE and Java ME methods and classes, along with unique new ones
  • compile the Java code to generate Dalvik bytecode files, with an extension of .dex. These files, along with the manifest, graphics files, and XML files, are packaged into an .apk file that is similar to a Java JAR file.
  • The certificate that you use to generate the private key does not require a signing authority, and you can use self-signed certificates for this purpose.
  • The Developer Phone provides access to a shipping Android device without the cash outlay or contract contortions required when developing for the other platforms.
  • in February the site began supporting priced applications. Google allows developers to take seventy percent of the proceeds.
  • it's possible that you might pick up a malicious application before it is detected by the user community.
  • Open source, open platform: if you hate the mail program, some third-party is writing a better one.
  •  
    Lengthy developer's overview of Symbian, Mac OS X iPhone, Blackberry, Android. This talks about the leading app platforms except Java ME and Windows Mobile, though it does explain how Blackberry and Symbian support Java ME.
David Corking

Mobile Wiki Server for iPhone - Welcome - 0 views

  •    April 26th 2009 1.3.5 Pending Approval
    • David Corking
       
      Does this mean "pending approval by Apple for the app store"?
  •  
    I can't see the point of having a wiki web server in your pocket but that is probably my failing. Maybe it is handy as a private notebook you can also share informally. This is the first finished Squeak application for the iPhone.
David Corking

iSqueak Wikki: Home of the iPhone/Touch port of Squeak - 0 views

  • iSqueak: Squeak for (i)Touch Devices (Squeak) wins 3rd Place in the ESUG Innovation Awards Here's a video of iSqueak in action∞ Here's a audio track discussing the iSqueak development∞
  •  
    This is a living breathing ARM port contributed by John McIntosh in 2008 and forward. I wonder if there are any Squeak apps in the iTunes App Store yet.
David Corking

Dr. Dobb's Update : Editor's Note What's One More Operating System, More or Less? - 0 views

  • In this regard, SymbianOS may have a leg up on Apple's App Store and even Nokia's Ovi Store, in that the "Symbian Application Inventory" will be free for developers. That's what you call "incentive," but is it enough?
    • David Corking
       
      Before it attracts app developers, it has to attract hardware integrators. There is plenty of hardware out there, but isn't this selling in far lower volumes than Linux or the proprietary smartphone OSes. As far as I can tell, it has attention from the biggest smartphone integrator of them all: Nokia, who, as far as I can tell, uses it in the best selling N95 family. This ratchets up the competion with Apple and RIM another notch.
  •  
    This Symbian system (aka Psion and Nokia S60) was well loved for its well though out personal organizer or PIM applications. Now, smartphone users seems more interested in e-mail, music and games. I am interested to see if Symbian OS still has a profitable niche. Symbian is a market leader in the new market.
1 - 20 of 40 Next ›
Showing 20 items per page