Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
User Journal

Journal Journal: Rant of the day: Mustek sucks

It's April 2003, and still your fucking GSmart 350 camera, bought a bit more than one year ago WHEN THE FUCKING OSX WAS ALREADY ON THE MARKET, hasn't got a driver working under OSX. It has a 'classic' driver, that simply doesn't work, and a crappy interface that no one supports (a USB device that is not plug&play...). We are not talking about a friggin' voltmeter, it's a digital camera! People use mac for digital imaging, you idiots at Mustek!

From now on, I won't EVER buy anything else from Mustek. That's it.

News

Journal Journal: On Cyberpunk Obsolescence, Quantum Computing Losers, et al.

Less than 20 years ago, there was this small "literary movement" composed by a bunch of loser sf-writers, university students, liberals, and the like. We, the herd, labelled it "cyberpunk". And today, the "cyberpunk" world is here all around us; they saw it coming as precisely as Leonardo saw the man flying.

Today, the SARS story is a perfect cyberpunk novel. Mad scientists working in obscure laboratories, creepy governments in "black operations", globalised mobs moving around the globe in a matter of hours, spreading mutated virus originated by playing with the "wrong toys" of nature, infecting over-populated cities... and it's all true, together with the minidisc I have in my palm, the internet I'm using to communicate, the portable HD in which I keep my course homework, the coming nanotechnologies for medical use, the semantic web, the ubiquitous computing, the globalised underground terrorism... creepy, isn't it ? :)

Sometimes, visions just happen. But anyway, I still loathe the "quantum computing" concept ;DDDD

Other things. I'm a bit burnt out; I really need holidays.
Link of the day: real geekdom (and a few visions)by Jon Udell reporting from the CTO Forum ... itemized electric bill, that would be really helpful :)
User Journal

Journal Journal: Whitespace rulez!

I know it has already made to the front page, but you must definately look at Whitespace (WARNING: geeky stuff).


... I mean, it's april 1st...


BTW... two years ago, I was living in Bologna, at my parents' home, I was unemployed, and I was going to see a gig by Fun Lovin Criminals.
Now, well, now I have Stefania. :)
I love you, nevill-bimba :*
United States

Journal Journal: **No Title**

They paved paradise
And put up a parking lot
With a pink hotel, a boutique
And a swinging hot spot
Don't it always seem to show
That you don't know what you've got
Till it's gone
They paved paradise
And put up a parking lot

They took all the trees
Put 'em in a tree museum
And they charged the people
A dollar and a half just to see 'em
Don't it always seem to show
That you don't know what you've got
Till it's gone
They paved paradise
And put up a parking lot

Hey farmer farmer
Put away that D.D.T.
Give me spots on my apples
But leave me the birds and the bees
Please!
Don't it always seem to show
That you don't know what you've got
Till it's gone
They paved paradise
And put up a parking lot

Late last night
I heard my screen door slam
a big yellow bulldozer
Took away my house and land
Don't it always seem to show
That you don't know what you've got
Till it's gone
They paved paradise
And put up a parking lot

-- Joni Mitchell, "Big Yellow Taxi"

Programming

Journal Journal: Dreamweaver source control explained

I know nobody will care, but I'm going to explain how the simple Dreamweaver source control process works, and how I made some decisions in designing my jEdit plugin.

The system requires to specify two root folders, a local one and a remote ("release") one.
When the user creates a new file locally, it's not uploaded until he decides to "check it in".
When the user chooses of working on a previously uploaded file marked as "checked in", DW operates the check-out of that file, i.e. the remote file is downloaded, overwrites the file in the same position (if it exists) and open it. More, a file with the same name plus the ".LCK" suffix is written aside the remote file, containing details of the user in the form "username||email"; this will block other people from checking-out the same file while he's working on it.
When the user is happy of changes, he operates the check-in; the file is overwritten on the remote dir and the LCK is removed. Until then, all the savings are operated locally, if not otherwise specified in the Preferences.

For very small teams, it works. There isn't any version control capability, or any diff tool, but it doesn't need any serious third-party product like CVS or ClearCase, it doesn't need to be correctly configured (I still remember how many days SourceSafe took to my previous project leader), and it doesn't need a server process to be running on the remote machine. The average Joe MacromediaUser will find it pretty cool.

But nobody's perfect, and even this little tool has its flaws.

Stupid thing number one: the remote file is marked read-only while checked out, BUT if a user really wants, the FTP PUT command (from inside DW!) will overwrite the file anyway. Understandably, this is one of the first FAQ you find on the support site... =8-O

Stupid thing number two: the PUT command is in the same menu as check-in/out, and also in the same toolbar; even worse, they are just one aside the other in the toolbar and one above the other in the menu. It's human to be wrong, but to continue is devilish. The only thing missing is a big red arrow with the sentence "Please ruin your daywork, use this interface" written on it.

Stupid thing number three: if you locally rename a checked-out file, and then check-in, a file with the new name will be uploaded, leaving the old one ghostly floating on the remote server with its LCK. It's then up to goodwill to clean the files, increasing the chances of something going wrong ("Ooops, I thought that file was useless, but it wasnt't").

Stupid thing number four: it's possible that you create a few new files locally, work on them for days, then, when trying to checking-in everyhting, you find that some file with the same name as one or more of yours already exists. You can just rename it, but what if that script is referenced by name (GET anyone?) from inside one of the other freshly uploaded scripts? You have to lose time playing with find & replace. Again, chances of screwing something increase.

I don't want to promote chaos in my plugin, thus I decided to eliminate these behaviours.

- A file won't be overwritten if not correctly checked-out by the user. If you are so sure you need to replace that file, take your responsabilities and do it manually.

- renamed files will be uploaded immediately, and will completely replace the old named ones. If you want to copy entire pages, feel free to use Ctl-A Ctl-C and then Ctl-V on a new buffer. I won't assume you're smart and organised, dear web developer, because I know I'm not.

- a file will be uploaded (and checked out) as soon as it's saved for the first time in the local directory. This won't eliminate the possibility of problems, but it should reduce the odds. Actually, this could be difficult to do with the current jEdit API, thus I'm still thinking about it.

- in other circumstances, check-in and out will always need to be explicitly requested. I.e., when a buffer is changed and saved, it won't be automatically uploaded. It would be dangerous and would make difficult to implement the "undo checkout" action.

- plugin version 2 (this summer?) could implement a simple version-control mechanism, just storing checkin dates & times.

Ok, enough playing, back to work :)

United States

Journal Journal: Just thinking

Got this photo as wallpaper now; it's from Laos, one of the many battlefields of "secret" USA wars. It makes you think of how beautiful the world is, and how stupid the men who live on it. We can't do anything but imagine how Baghdad was, a city probably as old as Rome, before decades of colonial wars and dictatorship; and we're going to bomb it anyway, because oil economy just doesn't care.
User Journal

Journal Journal: Quick News

Had a couple of interesting "unreal" experiences, that I'll soon describe here...
The jEdit "Sourcerer" plugin development (aimed at Dreamweaver source-control compatibility) is going well, I hope to release the first version in a couple of weeks, if my assignements don't take much time...

Ah, you MUST see Vagabonding.com. It's one of the best sites I've seen in months.For you geeks out there, it also has really beautiful RSS, with photos.

This takes me to another thing. The semantic web is growing, but it seems the real developers are not drooling for it. The good (and free, as in speech) news aggregator are all written in new, high level languages (.NET, pure java), no one seems to bother coding a "simple good ol' " windows version. Syndirella and NewsGator (a great plugin for news aggregation in Outlook) require the f***ing .NET framework, 20 mb that I'm not going to download. Sorry, I'm not going to slow down my machines and all my apps just for a news aggregator. For the same reason, I'm not going to run a server like AmphetaDesk or Flock/Jetty, what I really need is just a client application to fire up when *I* want (and that won't crash like BottomFeeder, HeadlineViewer or HotSheet). Another service in background? No thanks.

And yes, I could pay for a commercial service, like Radio... but I'm trying to have as many open source programs as possible, for ethical (and legal, you know software piracy IS a crime) reasons.

Almost two years ago, excited by this "new" RSS thing (heaven for a news-junkie like me), I was planning to write a client. The project didn't really start, basically because other things were happening in my life. My friend Giulio wrote a small java app, then he went fed up with the stupid Sun htmlToolkit, and he too had other things to do. In the meantime, the "blog phenomenon" has come up in the press (and when the press comes, it means is really big), but a good client is still not there :(
NewsIsFree will remain my choice for a long time, I fear.
User Journal

Journal Journal: Test 2.0

Another run, another result.... I think I spotted the "right" questions, where the answers really change the flow.
It's funny.  Laugh.

Journal Journal: Yet Another Simpsons' Line

"The metric system is a tool of the devil! My car gets 40 rods to the hogshead, and that's the way I like it." -- Grandpa Simpson
Apple

Journal Journal: What the newspaper should do more often... 1

... is to admit their errors, as I'm going to do now :)

I was wrong: the Developer Tools WERE there, after all, buried under a sub-sub-submenu.

Thus, I'm still critical of Apple's "megapatch", Redmond-stile, control-freaky policy; and I'm still critic of their policy about Java, although they are really investing on it.
Apple

Journal Journal: Apple "windozed" 1

"Great! Apple gives the Developer Tools bundled with its new computers!"
Beeep! Wrong answer.

When you buy a iBook 14'' (for 1500 quids, not small money), Apple presumes you're Yet Another Public-School Teacher, so it gives you a stupid encyclopaedia preloaded... aaaand stop. Developer Tools? Please download them. Or do Apple a favour and buy the PowerBook, you greedy bastard.
ah, and they require Mac Os 10.2.3, announced the first week of December, BUT not loaded on machines ordered a week after and assembled & delivered about 4 weeks later. So please, also download the 60mb ComboUpdate, full of stuff you don't need (bluetooth enhancements, iSync upgrades). Now, you'll have probably downloaded about 500mb of stuff, and ONLY NOW your machine is ready to welcome the Java 1.4 preview (that obviously require the update AND the Tools)... Man, isn't this sooo Redmond...
Programming

Journal Journal: Last Madness... 1

... writing a plugin for jEdit, one of my favourite editors. It's free, open source, pure java, with a lot of plugins, and I use it quite often, mainly for web development. It's slower than, say, UltraEdit, but more powerful on the long run; and, overall, it's GPL.

The problem I have is, it doesn't still support the check-in/check-out feature of Macromedia Dreamweaver, and I will need that in a few weeks time. It seems nobody already wrote this thing, so I shall do it by myself :)

Being in java, and being my task almost trivial (when a file is checked out I'll write another one, that will be deleted at checkin), it shouldn't be so difficult... I hope :) the main problem will be, as usual, time! :)))
Now I'm reading a lot of docs to understand jEdit interface and plugin requirements, meanwhile trying to figure out a proper design. As always, if anyone's interested, he'll be welcome :)

Ah BTW, yesterday was my birthday. They're 24 now. Older? Sure. Wiser? Maybe. :)
User Journal

Journal Journal: Almost Recovered... 1

... from the pity state I've been put into by a cold. Basically, my health collapsed under the study-work-study-work 7-a-week routine. Result: two days in bed, screwed the project at work, always late... at least, everybody seems happy with me. Stefi feels a bit sad, for I can't spend enough time with her (and we live together!), but we knew this time will have happened, sooner or later. Puff.

1000 thanks to my grandmother Cristina for have been so great to me, as always :)

And mind you, folks: sunday is my birthday! 24! I'll be almost as old as Carlo! well, not *so much*, of course ;DDD

(Giulio, I promise I'll write you in few days. I swear it on the iBook ;))

Slashdot Top Deals

An authority is a person who can tell you more about something than you really care to know.

Working...