The ‘list-colors-display’ function call displays a list of colors, how they look, and their RGB names in its own window.
(via Got Emacs?)
Author: grant
Setting up OpenGL with Ikarus on Cygwin 1.7
How are DLLs used on Cygwin 1.7?
Over the weekend I needed to set up a R6RS Scheme interpreter on Cygwin. It came down to either PLT or Ikarus. Both seem to be straightforward builds but I couldn’t make PLT happy so I went with Ikarus instead. It was a very simple and straightforward configuration and took maybe a minute to build. Once things were clearly working fine I figured I would try to get some of Ed’s OpenGL (box2d-lite and agave) demos running just for the fun of it.
Both of the programs depend on the GL and GLUT libraries. At runtime the correct DLL is loaded depending on the OS type. There wasn’t a setting for Cygwin so I added one. The thing was that I specified the wrong file name: /usr/lib/libGL.dll.a and /usr/lib/libglut.dll.a.
It was an uneducated guess in the first place. I figured there would be a one to one mapping. After Marco kindly kicked my butt on the Ikarus list though, by asking some basic questions like has it ever worked and have I checked out the difference in error messages, I got me thinking that I should have read up on this.
The Cygwin documentation here and the Redhat documentation here seem to explain it… Windows DLLs need additional information to be linked against. On Cygwin, when GCC sees .dll.a files it “knows” how to get the additional data out of them in case you want to link to Win32. Reading on in the Redhat documentation, it lists the DLL search path when you specify -L argument for GCC. In that list I saw that /bin is included. That surprised me.
It turns out that on Cygwin, DLLs that are not compiled to work with Win32 are located there. At least, this is my understanding. When you link to these DLLs though, the OpenGL demos work just fine on Cygwin with Ikarus.
Is this also your understanding? I need to dig in more to this topic.
I had been trying to get so many things working this weekend that I didn’t invest the amount of the time that this deserved, or most of those things for that matter.
DEBS 2010
Looks pretty fun!
Via the homepage:
The 4th ACM International Conference on Distributed Event-Based Systems (DEBS) builds on the success of first three editions from 2007. DEBS Conference success is rooted in five editions of the DEBS workshops held from 2002 to 2006 in companion with major conferences such as ICDCS, ICSE, and SIGMOD/PODS. The conference has received full ACM sponsorship since 2009.
The objectives of the DEBS Conference are to provide a forum dedicated to the dissemination of original research, the discussion of practical insights, and the reporting on relevant experience relating to event-based computing that was previously scattered across several scientific and professional communities. The conference also aims at providing a forum for academia and industry to exchange ideas, for example, through industry papers and demo papers.
Via caml-list:
-------------------------------------------------------------------------- Event-based systems are rapidly gaining importance in many application domains ranging from real time monitoring systems in production, logistics and networking to complex event processing in finance and security. The event based paradigm has gathered momentum as witnessed by current efforts in areas including event-driven architectures, complex event processing, business process management and modelling, Grid computing, Web services notifications, information dissemination, event stream processing, and message-oriented middleware. The various communities dealing with event based systems have made progress in different aspects of the problem. The DEBS conference attempts to bring together researchers and practitioners active in the various subcommunities to share their views and reach a common understanding. The scope of the conference covers all topics relevant to event-based computing ranging from those discussed in related disciplines (e.g., coordination, software engineering, peer-to-peer systems, Grid computing, and streaming databases), over domain-specific topics of event-based computing (e.g., workflow management systems, mobile computing, pervasive and ubiquitous computing, sensor networks, user interfaces, component integration, Web services, and embedded systems), to enterprise related topics (e.g., complex event detection, enterprise application integration, real time enterprises, and Web services notifications). The topics addressed by the conference include (but are not limited to): Models, Architectures and Paradigms - Event-driven architectures - Basic interaction models - Event algebras, event schemas and type systems - Languages for event correlation and patterns, streaming and continuous queries, data fusion - Models for static and dynamic environments - Complex event processing - Design and programming methodologies - Event-based business process management and modeling - Experimental methodologies - Performance modeling and prediction based on analytic approaches Middleware Infrastructures for Event-Based Computing - Federated event-based systems - Middleware for actuator and sensor networks - Algorithms and protocols - Event dissemination based on p2p systems - Context and location awareness - Fault-tolerance, reliability, availability, and recovery - Security issues - (Self-)Management - Mobility and resource constrained device support - Streaming queries, transformations, or correlation engines Applications, Experiences, and Requirements - Use cases and applications of event-based systems - Real-world application deployments using event-based middleware - Domain-specific deployments of event-based systems - Real-world data characterising event-based applications - Benchmarks, performance evaluations, and testbeds - Application requirements for next-generation event-based solutions - Relation to other architectures - Enterprise application integration - Event-driven business process management - Information logistics - Seamless integration of event-based mechanisms into middleware platforms
Adroit lucubration
Russian and Ukrainian localization files for DrScheme
Here is a link to a post on plt-dev about Russian and Ukrainian localization files for DrScheme.
They live here: russian-string-constants.ss and ukrainian-string-constants.ss.
Maven and Idea
Here is how to ask Maven to generate Idea project files for you:
mvn idea:idea -DjdkName=1.5
(via Maven)
ParEdit for Editing Lispy Languages
ParEdit (paredit.el) is a minor mode for performing structured editing of S-expression data. The typical example of this would be Lisp or Scheme source code.
ParEdit helps keep parentheses balanced and adds many keys for moving S-expressions and moving around in S-expressions.
That quote from EmacsWiki really undersells Paredit, though.
Paredit makes it virtually impossible to un-balance parentheses (aka round, square, and curly brackets).
This mode would be especially interesting for folks avoiding Lisp because of the nightmare of balancing parentheses is too much of an obstacle to overcome (in practice of course it really isn’t, even if you don’t use Paredit).
When You Just Can't Imagine…
Something to consider…
“I can’t imagine why anyone would need X” is a statement about your imagination, not X.
(via Dan)
Funny Java Standards
Swing is the GUI standard for Java. Clojure is the awesomeness standard for Java.
(via Stuart)