tag:blogger.com,1999:blog-34998638280391507072024-02-19T06:43:17.245+03:00saveabendWhen a Tandem, or HP NSK program crashes, it creates a memory dump file called a SAVEABEND file.
When my brain crashes, it adds an entry to this blog.Aymanhttp://www.blogger.com/profile/08469152582879981718noreply@blogger.comBlogger57125tag:blogger.com,1999:blog-3499863828039150707.post-70280782151623706342008-11-14T22:12:00.004+03:002008-11-14T22:17:31.838+03:00JSyntaxPane on dzoneGreetjan Wielenga posted a very cool entry on dzone here. It is very cool with nice screenshots and a mini how-to.Many Thanks Greetjan.I haven't blogged for a while. I'll try and keep up with writing a bit more than Java Code.Aymanhttp://www.blogger.com/profile/08469152582879981718noreply@blogger.com4tag:blogger.com,1999:blog-3499863828039150707.post-68472784495481735402008-07-17T21:22:00.002+03:002008-07-17T21:27:49.594+03:00Back to Bahrain! and a JSyntaxPane fixWell, this is my last day in Jeddah, and tomorrow I'm on my way to Bahrain, inshallah.I had some time at the hotel, and since they have very good high speed in-room internet, and I got my laptop, I fired up Ubuntu, got the latest NetBeans loaded and upgraded, and fixed an outstanding issue with JSyntaxPane. So now, it is bug free :-)Aymanhttp://www.blogger.com/profile/08469152582879981718noreply@blogger.com2tag:blogger.com,1999:blog-3499863828039150707.post-39714142079570330862008-07-07T21:47:00.004+03:002008-07-09T14:16:09.148+03:00Darken web pages for easy readingPersonally, I prefer reading light text on dark background. Most web-pages use black text on white background, including this blog. I'll probably change the theme on this blog later, but I'm actually lazy because of this amazing tool. All you need to do is drag it on your bookmarks toolbar, and voila! One click, and all the text in the page will be grey on black, and links blue on black.This Aymanhttp://www.blogger.com/profile/08469152582879981718noreply@blogger.com6tag:blogger.com,1999:blog-3499863828039150707.post-2924654182198408412008-07-02T12:33:00.003+03:002008-07-02T12:40:10.869+03:00Great LeadersJoel Spolsky has a great article about Bill Gates, and being a great leader. It's not that long and definitely worth reading.The main point is, to be a good and successful leader, you have to know what your company / department / ministry / whatever is doing. You must have passion about what you are doing. How many times have we seen unfit managers who have no clue what their sub-ordinates areAymanhttp://www.blogger.com/profile/08469152582879981718noreply@blogger.com1tag:blogger.com,1999:blog-3499863828039150707.post-20908923488687661792008-06-29T12:34:00.001+03:002008-06-29T12:40:37.369+03:00JSyntaxPane with more LanguagesSome more free time and I had time to fix Java and Groovy Lexers to have better String handling. The older versions did not process String Escape Characters properly.I also added Property file and SQL lexers and did some refactoring by moving the lexers in their own package. The Build file was modified to also build the Java lexers from the flex files (you need the JFlex.jar file in your ant/libAymanhttp://www.blogger.com/profile/08469152582879981718noreply@blogger.com5tag:blogger.com,1999:blog-3499863828039150707.post-55055951293121221712008-06-23T12:39:00.006+03:002008-06-23T14:14:05.261+03:00JSyntaxPane new version - now with auto indentation and undo/redoI had some more free time to work on JSyntaxPane. I did some refactoring, that should not change the way to use it though.Refactoring was done by creating a new SyntaxDocument to store the Tokens, instead of having the SyntaxView store them. The former way was actually very stupid!The Document should know about its own tokens, and the View gets the tokens from the Document. That is how it is Aymanhttp://www.blogger.com/profile/08469152582879981718noreply@blogger.com2tag:blogger.com,1999:blog-3499863828039150707.post-91544008162057034492008-06-18T15:22:00.003+03:002008-06-18T15:37:32.927+03:00JSyntaxPane is bornBased on demand (can't say popular, yet), I just created a Google Project for JSyntaxPane. The NetBeans project is located as the main download.You'll find the source under the src folder of the archive.Here is a break down of what the classes do and how you can use the library in your own projects:The SyntaxTester is a NetBeans created Main application you can use to see and test how syntax Aymanhttp://www.blogger.com/profile/08469152582879981718noreply@blogger.com5tag:blogger.com,1999:blog-3499863828039150707.post-79390853107955495272008-06-16T11:54:00.010+03:002008-06-16T13:49:40.446+03:00Java Syntax Highlighting with JEditorPaneI've been playing around with implementing a Syntax Highlighting / Coloring Editor or Text control in Java Swing. Just for fun. It would be part of TranScope to edit scripts, mostly Groovy, and to view some TAL / DDL and XML. That was both hard, time consuming and a hell-of-a-lot of fun and rewarding experience. I'll summarize what I did, and if there is demand publish my final code as a Aymanhttp://www.blogger.com/profile/08469152582879981718noreply@blogger.com9tag:blogger.com,1999:blog-3499863828039150707.post-83775332464835153212008-04-07T09:31:00.009+03:002008-04-07T11:22:34.835+03:00TranScope and XerializeIf you have no idea what XML, Serialization, or if you only think of Java as the coffee, then leave now. Or just continue if you are curious.I've been working on a Pet Project for some time now. It's written in Java, using NetBeans, Swing and with Scripting done in Groovy. It's a very generic Transaction Reader and Simulator.Why? It is just Fun! I'm learning a lot by working on it, and its Aymanhttp://www.blogger.com/profile/08469152582879981718noreply@blogger.com9tag:blogger.com,1999:blog-3499863828039150707.post-12390427439419475172008-03-28T20:34:00.002+03:002008-11-13T06:59:16.311+03:00Never in Bahrain!Only in America. And it actually does happen. I've seen people do that.Of course in Bahrain or the Gulf, we get full-time, live-in maids to get us cups of water...Aymanhttp://www.blogger.com/profile/08469152582879981718noreply@blogger.com2tag:blogger.com,1999:blog-3499863828039150707.post-42735078472421611382008-03-28T19:50:00.004+03:002008-03-28T20:12:25.072+03:00Efficiency ?I hear this kind of conversation among women all the time, in almost the exact same sequence:A: Salam, how are you doing?B: Salam, very good. and you?A: Good Alhamdilla. How's X?B: She's good. ... and this "how are you" continues for some time... It's not the main purpose of the call / conversation at all. Just a preliminary... now, back to A, talking to B.A: Do you know, Y?B: Yeah, she's Aymanhttp://www.blogger.com/profile/08469152582879981718noreply@blogger.com1tag:blogger.com,1999:blog-3499863828039150707.post-7775543700729087042007-12-13T09:19:00.000+03:002007-12-13T09:25:13.566+03:00You know Vista REALLY sucks when...... when Microsoft is giving away Visa Ultimate for free.Seriously. They are giving it, or any of the other junk they create, Office, Works, or others. The catch? They will monitor you using it. .. It is called the Windows Feedback Program, and is available in the US only.They must be desperate to have someone, anyone, use Vista. They do want to see how did they miss up so badly I guess. PlusAymanhttp://www.blogger.com/profile/08469152582879981718noreply@blogger.com0tag:blogger.com,1999:blog-3499863828039150707.post-24965769126943713862007-12-09T11:51:00.001+03:002007-12-09T12:05:38.521+03:00Attention to DetailsI heard this some time ago: In pre med school the Professor was standing upon a corpse with all the new "Doctors-to-be". He says: "There are two very important lessons I'll give you today... Lesson One: you should not be afraid or disgusted of the body, or the dead body.... “At that time he proceeded by inserting his finger into the corpse ass hole and extracted some stuff...Then he proceeded: Aymanhttp://www.blogger.com/profile/08469152582879981718noreply@blogger.com1tag:blogger.com,1999:blog-3499863828039150707.post-18805749303224857962007-11-12T13:42:00.000+03:002007-11-12T14:11:40.791+03:00VictorMagic - No more pixelations!If you enlarged or zoomed too much on a photo before you will notice pixelation effect.Because all photographs and most pictures are actually a grid of very small picture elements, or pixels, when you zoom in, you see these ugly rectangles. Just like zooming in too much on a photo on a book or newspaper reveals the dots. With a vector drawing program, like Adobe Illustrator or Inkscape or Aymanhttp://www.blogger.com/profile/08469152582879981718noreply@blogger.com2tag:blogger.com,1999:blog-3499863828039150707.post-2421345851390259192007-11-09T13:08:00.000+03:002007-11-09T13:23:19.500+03:00Blueberry Muffins - Take 4Week 4 was finally a success....Correct Muffin mix. Ingredients were all there, including an egg, which I don't remember needing. And no ants...Here they are... And they taste grrreeaat.Aymanhttp://www.blogger.com/profile/08469152582879981718noreply@blogger.com3tag:blogger.com,1999:blog-3499863828039150707.post-4618283082230470252007-11-08T19:16:00.000+03:002007-11-08T20:34:42.341+03:00Blueberry Muffins - Take 3I love muffins. Specially when baked fresh. Betty Crocker Muffin Mix is really delicious and very easy to make. It doesn't need a whole lot of equipment to make, just a bowl and a spoon, which means it is also easy to clean up afterwards. I used to get them from Al-Jazeerah Supermarket when I was in Bahrain, but did not see them since we moved to Jeddah, until about four weeks ago. So I tookAymanhttp://www.blogger.com/profile/08469152582879981718noreply@blogger.com0tag:blogger.com,1999:blog-3499863828039150707.post-36238440515137142802007-11-05T16:11:00.000+03:002007-11-05T16:20:36.830+03:00One Month to WW IIIWell, according to the Adnan wa Leena prologue, World War III was in 2008...اندلعت الحرب العالمية الثالثة عام 2008Makes you think how time flies ha? When I first saw that in the 80's, it seemed so far away. And now it is upon us.Well, hopefully the prophecy is wrong. It has to be. I don't yet see the cool robots nor the weird looking flying machines anywhere!And I don't know where القلعة Aymanhttp://www.blogger.com/profile/08469152582879981718noreply@blogger.com4tag:blogger.com,1999:blog-3499863828039150707.post-57835413941793942762007-10-19T11:28:00.000+03:002007-10-19T11:54:30.794+03:00rsizr - Intellegent Image Resizingrsizr is a very innovative web-based application to intelligently resize images, without loosing much details. Instead of dupkicating or removing some columns or rows of pixels from an image, it uses a technique called Seam Carving to duplicate seams in an image that contain most details, or to remove the seams that contain least details. Even Photoshop (c) does not have that capability, Aymanhttp://www.blogger.com/profile/08469152582879981718noreply@blogger.com4tag:blogger.com,1999:blog-3499863828039150707.post-56412238622050575382007-10-03T21:33:00.000+03:002007-10-03T21:41:04.507+03:00Using Command Line? Try thisIf you use Windows Command Line, or Unix Shell / Terminal, and miss the GUI stuff, then here is a cute little utility application you may find very nice. It's called hotwire-shell. It nicely blends some of the GUI aspects and the power of the command line.Basically you will have a text entry with auto-complete for commands, file-names, directory-names, full history, and a top Window for the Aymanhttp://www.blogger.com/profile/08469152582879981718noreply@blogger.com0tag:blogger.com,1999:blog-3499863828039150707.post-22801398665078618822007-10-03T14:47:00.000+03:002007-10-03T15:31:56.949+03:00Let the Tortoise help you create a Time MachineWhat the hell am I talking about? Fasting got into me? not really. I am talking about a software tool that you can use to create a "Time Machine". To the Past only. Imagine you can store every single version of a file, and can easily get back older versions of the file. Then you can compare your current version with any old version, or compare any older two versions. This is the Time MachineAymanhttp://www.blogger.com/profile/08469152582879981718noreply@blogger.com4tag:blogger.com,1999:blog-3499863828039150707.post-56133075921040182472007-09-26T23:45:00.000+03:002007-09-27T00:07:19.624+03:00Vista Ultimate CrapAfter months and months of waiting for the Vista Ultimate Extras, finally one such Ultimate Extra appears yesterday. Windows DreamScene.What is it? Just an animated Wallpaper. A High Definition video... It comes with 5 animated wallpapers. They do look good, but that's it, and you will probably get bored of watching it after like 7 seconds. Totally useless. And why the wallpaper? I'd Aymanhttp://www.blogger.com/profile/08469152582879981718noreply@blogger.com4tag:blogger.com,1999:blog-3499863828039150707.post-72269605113873402362007-09-21T13:47:00.000+03:002007-09-21T13:53:47.484+03:00Fly over Bahrain, or anywhere on Earth, with GoogleGoogle Earth 4.2 has a great little easter egg. Just press Ctrl-Alt-A (must be Capital A) and you will be presented with a screen to choose your aircraft, and location. And then you can happily cruse around or crash your plane in the ocean. It is GREAT fun.There are already tons of info on how to use it. I will not repeat them here.A nice quick start guide is here.Have fun!Aymanhttp://www.blogger.com/profile/08469152582879981718noreply@blogger.com4tag:blogger.com,1999:blog-3499863828039150707.post-74335765794310196382007-09-16T13:44:00.000+03:002007-09-16T20:05:56.672+03:00On Bahrain TV Ad-DawwarI don't usually watch Bahrain TV. But last night while flipping channels I noticed this Bahrain TV show. I don't want to even start to critique the program. That's not the point of this entry.Anyway, the program is Live and you call and get some questions about Bahrain or Heritage and you win some prizes.At some point, the two presenters Abu Abdulla and Zahra Arafat where talking about the Aymanhttp://www.blogger.com/profile/08469152582879981718noreply@blogger.com5tag:blogger.com,1999:blog-3499863828039150707.post-60850136640140068292007-09-02T13:40:00.000+03:002007-09-02T14:06:45.228+03:00Arabic on SE M600iI love my M600i. The keyboard is great, and the phone is generally very good and nice interface. The only issue I had is that it did not come with Arabic Fonts. So I initially was forwarding the Arabic SMS I get to my old K600 to read them. Stupid, I know. I saw some Arabic enabling software, but was to thinking it was too costly. I did not find anything usable, until now. It's free too!Aymanhttp://www.blogger.com/profile/08469152582879981718noreply@blogger.com0tag:blogger.com,1999:blog-3499863828039150707.post-52242205150119830252007-07-22T14:47:00.001+03:002007-07-22T15:03:18.933+03:00Fine use for the One-Laptop-Per-ChildThe One Laptop Per Child, OLPC, was a project started at MIT some time ago by Nicholas Negroponte. Its main goal was to create a durable laptop that can be used in harsh environments by children. It was supposed to cost about US $100.From their website Our goal: To provide children around the world with new opportunities to explore, experiment and express themselves.It took sometime for the Aymanhttp://www.blogger.com/profile/08469152582879981718noreply@blogger.com2