A rambling blog from Arron, a scrawny little dork who likes to code. ;)
Saturday, March 18, 2006
Other GUIs for .NET?
I'll be honest with you: they suck. Bad. wx.NET has an API that is only comfortable to C++ programmers, and System.Windows.Forms is basically a slightly cleaned up version of MFC.
While this is OK--no API is perfect--they're not really interesting enough to warrant a blog post for each individual one. While they are powerful APIs, they are also APIs that are showing their age. I wouldn't use them unless it was absolutely positively a requirement, which it often is. Still, I hate's em. Damn, do I hate's em.
I know people say the right tool for the right job, but if the right tool happens to be a feces-covered shovel, well, hell, you're screwed either way, right?
Guess I just like living on the edge of new technology.
Monday, March 13, 2006
Minor msbuild modifications for Boo.
Those of you using #dev 2.0 and Boo and wondering where your .pdb files went and why you couldn't debug inside of #dev, well, its fixed now, but you'll have to copy the Boo msbuild lewt from svn over to #develop 2.0's addin directory.
I think what happened is, Daniel (Boo #develop hacking hero) had a modified copy of the boo msbuild stuff to make sure that it emitted debug info, and when he upgraded to the latest and greatest svn version of boo, he lost those modifications. Anyway, fixed now, so no harm no foul.
These'll probably be my last few modifications for awhile, unless something heinous pops up while I'm coding something.
Sunday, March 12, 2006
Oops!
Author: bambooWhen I first checked in anyall.boo, the tests were passing, so I'm not sure what to make of that message. Looks like a minor bugfix I made to the anyall module last night exposed another problem, but I'm not sure if its a problem in Boo or in the module. Since its probably in the module there's no point in trying to debug it. ;)
Date: 2006-03-12 15:53:09 -0500 (Sun, 12 Mar 2006)
New Revision: 2167
Removed:
boo/trunk/src/Boo.Lang.Useful/Functional/
boo/trunk/tests/Boo.Lang.Useful.Tests/Functional/
Log:
any/all were not formally approved and the tests were not passing
Rant
What actually bothers me is the first half of the message -- that they weren't formally approved. I don't mind in particular that they were removed because the testcases were failing; its my bad for checking in the minor fix without running the unit tests.
But the first half of his message brings to light one of the most irritating things about Boo development. The major reason I stopped contributing code to Boo in the first place was that patches were just kind of dangling on JIRA with feedback from users, but in general ignored by bamboo. My given-when, Doug's given-when, the BOO-1 custom unit patch, Boo.Lang.Useful contributions, ckknight's optimized for-loop, are just kind of rotting as the codebase gradually change and the patches become out of sync.
Its very depressing--a lot of the people that have attached bugfixes to JIRA issues and contributed modules for Boo.Lang.Useful review that have been ignored in general. Nobody wants to write a patch that doesn't at least get looked at; it feels like a bit of a waste of your time, since the feasability of maintaining your own copy of Boo with the patch is very unlikely.
With SVN access, I was kind of hoping I could change some of that by at least working with the Useful contributions, updating the patches and merging the ones that seem the most popular, but if its going to take formal approval then everything is in the same situation it was before.
But, it is bamboo's baby, so the choice on how to handle the situation is ultimately his. I should probably take a bit of a break from hacking on Boo and find something else to do for awhile.
Sidenote: The one majorly annoying things with RTF input forms on a webpage is that you can't press tab and indent text. Tab has been historically reserved for jumping over hypertext elements in a web page, which means that some editors have simply adopted "indent" and "deindent" buttons on the toolbar.
Blogger doesn't have those.
Kinda hoping that the "threat" of XAML/WinFX encourages better user interface design on the web. XUL is nice but aside from the one Amazon.com XUL browser everyone uses to herald The Coming of The XUL, there's not much else using it.
I pine for the day I can press tab while editing a document in a webpage and stuff works like a real text editor.
Friday, March 10, 2006
Boo, life, etc.
I got Boo SVN access. My first commit was a feature, BOO-675 I think, basically better delegate adaption. Boo is smarter now.
In .NET 2.0, the Thread constructor has can accept two kinds of delegates. One of them is parameterless, one takes one object as a parameter.
This meant that Boo had ambiugation problems with this kind of code:
t = Thread( { print 'Boo!' } ) because it wasn't sure if the closure was a ThreadStart delegate or a ParameterizedThreadStart delegate. I modified the scoring system so that Boo would check a callable (closure, first class function, etc) compared to any delegates it might match. In the example I just gave you, the scoring algorithm would give higher precedence to ThreadStart instead of ParameterizedThreadStart, since ParameterizedThreadStart takes one parameter, while ThreadStart takes no parameter--and this matches, perfectly, the callable, that does not accept a parameter either.
In the case of t = Thread( { i| print i } ) Boo would pick ParameterizedThreadStart instead, since they both match the best (one parameter!)
I also added the any() and all() functions. BOO-604. Here's a quick self-explaintory sample.
import System
import Useful.Functional from 'Boo.Lang.Useful'
class Vector:
public X as int
public Y as int
static id as int
def constructor():
id++
def constructor(x as int, y as int):
self()
X = x
Y = y
def ToString():
return "Vector #${id}; (${X}, ${Y})"
Above:
get:
return X >= 0
vectors = []
r = Random(DateTime.Now.Second)
gimmie = { return r.Next(-5, 5) }
for index in range(10):
vectors.Add(Vector(gimmie(), gimmie()))
#for the sake of argument let's say this is a videogame.
#we're making sure none of our vectors are in the negative, since that means they're underwater or something.
result = all(vectors).Above
if result:
print 'All vectors above ground'
print result
else:
print 'There are vectors not above ground!'
print 'The following vectors failed.'
print result.Failed
#Let's assume this is a vehicle coordinate system. At least one of the vehicle's vectors has to be above ground
#for it to be working correctly.
result = any(vectors).Above
if result:
print 'At least one vector above ground'
print result
else:
print 'None of the vectors above ground!'
print 'The following vectors failed'
print result.Failed
Here's some sample output.
There are vectors not above ground!
The following vectors failed.
[Vector #10; (-2, 0), Vector #10; (-4, 2), Vector #10; (-4, 0), Vector #10; (-5,
-1), Vector #10; (-5, 1)]
At least one vector above ground
Passed (5): [Vector #10; (3, -1), Vector #10; (2, -3), Vector #10; (2, -3), Vect
or #10; (4, -3), Vector #10; (3, 4)]
Failed (5): [Vector #10; (-2, 0), Vector #10; (-4, 2), Vector #10; (-4, 0), Vect
or #10; (-5, -1), Vector #10; (-5, 1)]
Its a bit more useful in actual practice.
EDIT: oops. You'll notice I made a juvenile mistake with the id. I meant to have a private _id property to go with the static id property, but I got bogged down in tracking down a bug I found in the any/all implementation concerning null values. Tch. Oh well. Go ahead, laugh, jackass.
The upside is that the anyall module is now minus 1 bug. ;)
Dolla Dolla Bills
Haven't gotten much love on the code front, lately. Not surprised--the usual suspects seem to be busy or not in desperate need of a code mercenary. However, the prospect of having to float a resume'--an actual, genuine resume'--on somewhere like Monster.com does not strike a chord with me. Hopefully something comes my way, as I'm not looking to get my fingers into anything seriously long term--I like the short-term hit-and-run kind of stuff, myself.
We'll see what happens.
Saturday, March 04, 2006
Subliminal advertising: YOU WILL HIRE ME.
I'm available, again, for short term .NET-based contracting work.
I'm a very discreet software engineer, as some of you may not know. What it means is, if asked, I'll be sure not to rattle you off as a reference when asked about previous employment opportunities. I understand that, on the Internet, anonymity is preferred in a great number of situations.
As a result of this, though, I've given up on carting a resume' around (never updated the one I had, anyway) and typically like to say that I know what I'm doing when dealing with:
Languages:
- C#
- Boo
- Windows.Forms
- wx.NET
- GTK#
- 1.1
- 2.0
- ADO.NET
- COM interop (RWAR!)
- XML
- SQL
- Sockets
- Webservices
- Reflection
- In general, the requisite technologies needed to build and maintain.NET application.
- I have experience in exposing Boo as a scripting language.
- I also have minor experience in writing technical documentation, but am confident that I can deliever concise, easy to understand documentation on demand.
and I have dabbled with (and can learn more on demand for)
- ASP.NET (cavaet: I am /not/ good at making things look pretty)
- Code Access Security
- IronPython
Typically I charge a flat rate. I like doing this because people can come to me with small problems and not feel like they've been gutted like a pig afterwards. However, if the work is in flux, or you estimate that you'll need X amount of man hours to make the magic happen, I can quote you on some hourly figures if you give me the sufficient information required.
I'm also down with "profitable charity work," like software bounties for your favorite open-source .net applications. I prefer these software bounties to be very precise due to the constantly changing nature of open source projects, and some project mantainers being hostile to patches from strangers. ;)
email / jabber: l33ts0n@gmail.com
My cell is available on request.
Sunday, January 22, 2006
GUI frameworks available for .NET: GTK#
As a special note, GTK#, the toolkit I'll be talking about, just recently had a new release. I'm going to be discussing an older version because I have not really had a chance to explore this version in depth.
Now we're going to discuss...
GTK#
A binding to the graphical user interface called GTK+, GTK# is easily a step above the rest when it comes to API quality and expressiveness, when you consider the alternatives. On the pecking order, GTK# comes in closely behind WinFX, and way, way ahead of S.W.F and wx.NET. I'm going to ignore GTK+ entirely, and write this blog post as if GTK# was the whole kettle.
GTK# uses a container based layout system, which is basically a fancy way of saying that you drop down a container, tell it how you want it to layout your controls, then start flinging those controls like spaghetti onto an artist's canvas. Although this sounds pretty haphazard in theory, its possible to make a beautiful and usable user experience using GTK#.
GTK# uses an xml-based serialization format, called Glade, that enables an abstraction between user interface design and wiring up the controls to the data-driven back-end. Unfortunately there are very few graphical designers that support GTK# and Glade, and so inevitably you have to rely on The One True Glade Designer. Its got an awful user interface and should not be used to judge the abilities of GTK#, because it falls short. Very, very, very short. Midget short.
There's plenty of base controls, in particular the powerful TreeView that allows for different styles of data visualization. However, there is a distinct lack of convience when dealing with GTK#: although virtually nothing is impossible due to the robust way GTK# is built, some of the most commonly repeated idioms do not have any convient shortcuts, which means that for even some of the simpliest scenarios--like simple listboxes filled with text--require an inordinate amount of effort given the task you want to accomplish. It would be nice if GTK# shipped with a lot of prefabbed controls for the most common user interface idioms, but that does not seem to be the kind of development paradigm they're going for.
GTK# is crossplatform in theory, but the platforms with the strongest support are really just various Linux distributions and of course Microsoft Windows. It can run under Mac OSX, but I have been told that it is not a pleasant experience by some. Not having a Mac, I can't really say anything more. I myself have successfully gotten GTK# programs to run on Windows and Ubuntu without recompiling.
There's a lot of things that seem to be amiss if you touch on GTK# after having done WPF development for awhile; most notably, you can't arbitrarily place a control inside of a control: you'll have to "paint" it by hand yourself, and, as far as I know -- I haven't done anything beyond *drawing* the controls -- wire up the events as the parent control receives them. It is nothing brutal, but the time spent custom painting controls could be better spent doing something--anything--else. Most toolkits suffer this flaw, so if you have no experience with WinFX, then custom drawing is standard. Other things WPF developers will find lacking is "styling" and the magic of the, uh, what'chu'call'it, DataContext, I think, but that's about it.
All in all, its a pretty good toolkit if you need to write an application targeting Mono and any of the platforms it supports. I think if a lot more effort was put into making the API more agile then it could see itself being on common footing with WinFX. It compares quite nicely at its current state, however, so don't dismiss it outright. ;)
Score: 7/10
Monday, January 16, 2006
GUI frameworks available for .NET: WinFX
Each blog will focus on just one user interface framework. Let's get it started.
Windows Presentation Framework (WPF)
When you first look at the API, it is mindblowing -- there is shit everywhere, and the inheritance and interface definitions are off the chain. For a moment it seems like one big cluster fuck, but this is one of those situations where examining the API without using it is a Bad Thing To Do. After a few hours working with it, I began to realize the reason there were so many interfaces and inheritances trees was to keep things simple. You only implement what you need, nothing more. This is a startling contrast to most of the UIs that have .NET bindings (including Win32 itself), where there is generally a huge base class with lots of overriable methods and properties. At first glance it seems like a sweet deal, but then you run into "ok, what is the absolutely minimum number of virtual method/properties I have to override?"
I really began to appreciate the design when I started to do more complex stuff. I needed a "Icon List" control, which is basically a panel that holds a bunch of icons, with optional text beneath each icon. There's no such convience control in WPF, so I realized I had to make one by hand. It only took minutes to get the basic functionality in: the main panel, to hold all the icons, was a WrapPanel. Each of the "icon" elements was basically a Canvas with an image on it. The best part was when I realized I wanted to add "tagging," support, all I had to due was plop a text box down, anchored to the bottom of the Canvas... and I was "done" so to speak.
"Styling" controls is really easy, and in fact one of the things I really like about the WPF. One style can apply to any kind of UIElement, really, which are the building blocks of user interface controls. So you can apply the same style to a radiobutton and a textbox and achieve the same result. Really cleans things up quite a bit.
The fact that any UIElement can be placed inside of another UIElement becomes invaluable after spending a few days with it. It makes compositing controls a real killer feature. This is to be expected, though, since WinFX is a "next gen" API and isn't carrying the baggage of backwards compatibility, so it has no other choice but to be better than the current toolkits or die trying.
There's other goodies I haven't had time to jump into, like DataContext, a really sweet way of data-binding. Basically this is how you tell UIElements to interpret your class/structure. Then all you have to do is supply your object and things work like magic.
Still, there are some serious downsides: documentation, for one, is pretty much nonexistant. The API is in constant flux as well, since every CTP makes a few dozen breaking changes. I would not ship software targeting any given CTP of WPF right now, but software that doesn't have an "offical" release until sometime next year is a good canditate, in my opinion. I know that I'm using WPF right now to develop something.
Score: 9/10
Friday, January 13, 2006
Back in the game again.
Thursday, January 05, 2006
Opera > Firefox?
Popular Technology.net: Opera is Faster, More Secure and More Compliant than Firefox
Now, I'll be the first to say that Opera is a very good web-browser, but this guy does more harm than good to its community. You notice right in the beginning that something wayward this way comes, with the fucked up metric of using vulnerability count as a blanket way to consider how secure a software product is. In reality, I think most of us would take ten (10) javascript vulnerabilities that with infinitely looping javascript prompts over 1 (one) 0-day exploit like this one.
Unfortunately, the article only gets worse from there, and ends on the less-than-subtle note of him/her/it arbitrarily declaring Opera the best browser. What pains me the most is that some potential Opera users are going to read that blog entry before they try the browser itself and immediately be put off by the attitude of smug superiority justified by a random link and a short pithy two-three sentance paragraph.
Personally Opera has a lot going for it, but until we're able to write extensions for it -- there are some that exist for Firefox like Scrapbook, and Location Navigator, that I cannot live without -- I'll be sticking with Firefox on point, with Opera covering the flank until it gets a bit more experience in the field.
For people who don't like customizing the browser (quite a number of people), Opera is on it like white on rice, since the "out of the box" experience everyone always oozes on and on about is much better than Firefox's.
Wednesday, December 21, 2005
Extension syntax for Boo
I've been thinking about properties and mixins. Take the following example, with my completely made-up syntax.
mixin System.String:
Words as (string):
return self.Split(' ', ';', '.', '!') #Doesn't work, no implict conversion to char
As far as code goes, its pretty simple. Infact, this could easily be a method.
def Words(target as string):
return self.Split(' ', ';', '.', '!')
Then you, know, Words("Hello, world!") is just as effective as "Hello, world!".Words.
But sometimes, being able to do something one way doesn't necessarily mean its better than doing it another way. This kind of syntax blends very well with the way of the OOP, and allows for a better visual recognition of what object is being manipulated.
The flip side is, of course, "Is Words part of System.String, or an extension?"
My answer is, "Does it matter?" Do you really need to know wheither its an external function or an instance function? Well, that would be my answer in an ideal system, where extensions showed up when you used reflection on a type. Right now, they don't, though, so knowing the difference between an extension and instance members is important if you plan on doing reflection-based operations on a type at runtime - you'll have to root around in some namespaces for those extensions rather than just checking the members of a type.
Tuesday, December 20, 2005
Hey, you!
Monday, December 19, 2005
Thanks, Blogger.
Ugh. I think I should get a new blog somewhere else. That's ridiculiously pathetic.
Attack of the WinFX December CTP!
The WinFX December CTP has been dropped to the public at large. The one big change I'm sure everyone has noticed by now is that, aside from a few minor tweaks, the "mini language" of XAML has been removed entirely. Bits and chunks have been removed piece by piece, but the December CTP finally sees the removal of the last straggling hold-outs.
If you're not sure what I'm talking about, here's a snippet from Chris Sells' blog:
Or, rather, you would be seeing a snippet, if Blogger's posting control what's it didn't suck an incredible amount of ass. Infact, I just had to copy and paste the text here to note-pad and back, because Blogger's state of the art RTF control forgot to close a tag. Thanks, bitch. Anyway:
http://www.sellsbrothers.com/writing/avbook/changenotes/Wpf09-05CtpTo11-05CtpChangeNotes.htm
Its under the general section.
Anyway, thank God.
By making the format more rigid in terms of syntax it means that XAML won't become the kind of mess the SVG spec turned out to be; and as someone who once wrote a SVG-to-VG transformer, I know exactly the kind of pains in that spec. Taking the "convenience" out of the spec means that there's no ambiguity or multiple ways to parse one attribute.
These file formats aren't meant to be written by hand, damn it. Tweaked? Sure. WRITTEN? No. Its harder to automate this junk when there are seven different *valid* ways to write something. The easier it is to programmatically consume XAML the more tools will crop up that can read/write XAML and modify it.
No, sorry, VIM is not a good example of a tool. I mean *REAL* tools, like Sparkle, Cider, #develop.
Sunday, December 18, 2005
Wikipedia founder 'shot by friend of Siegenthaler' | The Register
Andrew Orlowski apparently spent several hours on Wikipedia today trying to track down something to make Wikipedia look bad. Took him awhile, but he finally found something in the revision log: vandalism claiming that the Wikipedia founder was murdered by a friend. Like all incredibly bad journalists, he cropped out of the revert time, so even though the vandalism was corrected within minutes, he decided to "only" take a screenshot of the edits, rather than the edit times.
Ahh, quality journalism from The Register strikes again. Tell me why I shouldn't trust Wikipedia more than those guys, again?
Read more at www.theregister.com/200...
Friday, December 16, 2005
Nemerle, a hybrid functional / OO langauge for .NET
For the sake of brevity, I'll model this blog post after the things I don't like about the language, and modifications I would make. There are too many things about the language I really like, so starting off like that would really eat up some time.
To get one thing straight, I'll pop up this disclaimer: I know nothing about functional programming. At all. I just tend to drill into a language, ignoring the design methodologies that went into and whatever. So, make no mistake: I have no idea what I'm talking about.
Things I would change:
- The match construct throws an exception if there is an unmatched item. This is suprisingly useful in theory; in practice however the exception provides so little detail that its barely worth it. It should at least spit out what the match variable was. C'mon man, gimme a hint or something, Christ.
- The match construct syntax. The match construct is powerful - it is easily the sweetest thing I've laid eyes on. But the syntax is the ugliest I've ever seen. Personally, I would just totally rip Boo's "given when" syntax and call it "match when" and whistle innocently. The problem with the match syntax is that its completely foreign to everything else in the language for no apparent reason. I cannot think of one reason for the syntax to be laid out in such a hard to type (finger acrobatics, maximum!) and hard to stare at manner. It looks like a twitchy, "shit, let's just do what the old guys did" implementation. I'd 21st century-ize that sucka.
- Explicit return statements. Recently, a pattern I've developed is using return statements to avoid processing the rest of a method without having to drop an exception. This is extremely handy for methods that can return null, or a default object. This seems thoroughly impossible with Nemerle, unless you're willing to use the match construct at the very beginning of a method. This of course means two or three relatively small match bodies, and then one huge match body for the "rest" of the method. I like implict returns, but I wanna be able to be explicit, too.
- N10005. The reason Nemerle sample code is littered with ignore() functions. The reason sample code scrolls an entire screen of N10005's because nobody wanted to type ignore() everywhere. Man, that might be cool or hip when you're running on a framework where every return value is important, but some of the time all it this return data is, is extracellnous information that we don't need. I don't really wanna type ignore(). I'm sorry. I don't. I'm lazy.
- Fuse braces and indentation. Boo/Python really turned me on to indentation based syntax. Hell, I was going to indent anyway. I would fuse'em in Nemerle: start a block with a brace, end a block with a brace. Otherwise, use indentation for syntax. There we go. Kung-fu with both syntaxes, now. Nemerle offers an -i switch, but that's almost as good as not offering indentation-based syntax at all.
Anyway, that's it. There. I posted a blog entry. Now, don't expect another one for awhile.
Wednesday, November 30, 2005
A Boo survival guide.
Tuesday, November 29, 2005
Me vs my professor.
A little introduction
Recently, it became required curriculum to take a "PHP and Linux Security" course. Never-you-mind the fact that we never had enough time to either go indepth in PHP or Linux Security very much during the session aside from a very broad and ultimately useless overview of both concepts. I'm not sure whose clever idea it was, but it wasn't a very good one to combine two completely different subjects into one amalgamation that can barely be taught in a semester.
So, the course has gone as I expected - slow, meandering, and without any real substance since its been divided between "Here's Linux" and "Here's PHP," and it comes time for final exams - except they're final projects instead, for some as of yet unnamed reason.
The Project
The professor seems very laid back, and in the beginning that was alright -we were verbally instructed to create a "PHP and MySQL" webpage, and then at the end he mentioned something randomly about homework. Yes, he gave homework the same day he told us about our final project, assigning them both to be due on the same day, which is of course an immediate priority conflict: one of them has to take precedence. They're not hard, per-say, but they are time consuming, an issue compounded by the fact that this isn't the only class I have to take. He is of course the only teacher still giving out homework so late in the term.
So, today was one of the alloted days to give presentations. Two people, who were obviously basing their presentation of existing PHP projects, went first: one smart foreign fellow was creating a CMS for the commpany he worked at to handle task tracking, and one other dude who had developed forum software for use with his associates. The rest of the projects were obviously from scratch and incomplete, judging by the quality of the one other I saw, and the people shaking their head and saying, "I'm not done yet" or "its not presentation quality." Hey, no sweat. We all have other classes, too, right?
The Presentation
Me? I volunteer. I'm done. I did the smart thing: I based my website off an existing template that came with the book for the course, whose author gave his blessing for modifications. I transformed one of the template sites to an ad-hoc image gallery, nothing really fancy but to be honest that's all I had time for, between those magical things called other classes.
So, when I'm done, what's the first thing he calls me on? You got it: the template. Well, that's great, except in his verbal "I-didn't-write-it-down-so-there's-no-proof" instructions he said we should consider using the examples in the book as templates. I can't quite tell him this to his face of course, because its incredibly insulting to call him out like that in front of the class, and the project is worth 35% of the final grade. I'm no sucker.
Gotta retaliate though (I have an ego), so I start quipping good development practices, like "a good programmer knows how to reuse code" and the typical, as the polite conversation almost turns into a debate. I had already queued up a logical argument on the issue of web development in general, when he suddenly distracts me with a copyright question. I hadn't removed the template author's copyright from the HTML page. I tell him its OK, since the author gave permission. He said I should have taken out the copyright notice. In hindsight I should have probably made a seperate 'credits' section and named him there, but I had more important stuff to do.
wtf?
Still, totally caught by suprise by the nature of his comment, I mumble the knee-jerk, "Uh, questionably legal area?*" and the class starts an ad-hoc discussion about it. By then I had lost my opportunity to argue the issue of using a template in my favor, though the professor still looked pretty displeased when I got up to go back to my seat.
I believe I saved quite a bit of face, though.
Sheesh.
In only two hours I'm probably going to have this same situation with another professor: the assignment didn't say to create our own data structures, so I logically used the tried-and-true STL data structures instead.
I've made a grave mistake assuming my professor's are all aboard the logic train.
*This is the only thing I remember from my CyberEthics class, even though the semester hasn't ended yet.
Boodle news update
I've been watching (and using) #develop 2.0 for awhile, and there's no beating it for IDE-style Boo support: at all. Or, at least, not with Boodle (on Windows) anyway, so I won't hold any delusions of grandeur. Its pretty obvious though that the Boo community now has an awesome IDE to take advantage of, since extending #develop 2.0 (as opposed to 1.1) is awesomely easy, and its got a rock-solid core that hasn't crashed on me since rev 5-something.
Hence, I'm "downgrading" Boodle to a very neat, tight text editor for Boo files with code completion and pleasant syntax colorization.
I'm not the type to look directly into the sun and pretend its a galaxy away.
Sunday, November 27, 2005
Migeul de Icaza on a "web aware" Gnome.
As a follow up to yesterday's web-based desktop communication engine, I wanted to comment on a few ideas that we have been bouncing around.It sounds like a pretty rocking concept, but I think he's missing the logical jump from a lot of seperate little webservers to one unified interface for working with your desktop.Clearly the HTTP end-points on desktop applications would be useful to invoke an arbitrary set of methods on each application. I envision a system in which we can remotely manipulate desktop applications through HTTP. The same idea that I pitched a few years ago on top of CORBA.
The difference this time is that writing the client code is trivial, unlike the previous attempt where writing the client code to talk to a CORBA server was very difficult.
But in addition to this HTTP-based RPC interface, it would be nice to make the GNOME desktop Web-Aware.
How does he want picture sharing to work?
Here is where the problem arises: people want to look at the pictures right away, or they want copies of the pictures, or they want me to tag them or annotate them. All of those at once.
The Solution: F-Spot coult have a "File/Web Share" which would basically run an HTTP server. In the particular case of F-Spot it can just embed our embeddable web server and expose the pictures with an ASP.NET application.
Every application embed a webserver? That's going a bit overboard.
I think a web-enabled Gnome desktop would do better to have simply *one* web interface that other applications could plug into. Surfing to http://localhost/web could bring up a user interface that would have the most common modules visible by default - pictures, video, audio, files - with applications registering and providing their own modules on demand.
I think that would be a bit better than every application doing their own thing and getting it half-assed. It also lowers the barrier of entry from "embed webserver, design webpage, ..." to "register a module in the Gnome web interface and just start sending out HTML on demand."
Hell, it could even use REST for communicating user actions back to individual applications that've registered with the Gnome web interface.
Saturday, November 26, 2005
stupid website splash
NO NO NO.
You click on the drop-down bar instead. That's innovative, huh?
You know what the best part is? When you click on a drop down item, instead of going to the site, you're presented with a button to click instead.
Do you know where it goes? To nintendowifi.com, HAR HAR HAR JOKES ON YOU.