Oren Eini

CEO of RavenDB

a NoSQL Open Source Document Database

Get in touch with me:

oren@ravendb.net +972 52-548-6969

Posts: 7,575
|
Comments: 51,188
Privacy Policy · Terms
filter by tags archive

Creating demos

time to read 1 min | 103 words

I just spent the last five hours evaluating all sorts of application to produce flash demos.

{Interestingly, there is no free software on this front, only expansive one :-})

I couldn't find a single one that would allow me to do a flash demo easily. Most of them created the content easily enough, but editing it was pure hell.

Macromedia Captivate is so close to what I need, but for some strange reason is didn't track my mouse, making it totally impossible to work with.

Anyone can recommend on a good solution?

time to read 3 min | 458 words

Well, I'm ready to show you what I've done so far.

It's an alpha version, so it has many some problems.

Features:

  • Support NHibernate 0.5
  • Support on-the-fly translating from HQL to SQL including error reporting.
  • Support viewing the returned object graph
  • Support viewing the returned data base results
  • There is no save button - see Tog
  • Support configuring from multiply resources (*.cfg.xml, *.config, *.exe,*.dll, *.hbm.xml)

Known problems:

  • You must put your assemblies in the same directory as NQA - this is related to .Net loading non-GAC assemblies. There are solutions out there, I haven't the time to look at them.
  • The TreeListview that I'm using currently as my object viewer is very buggy if you try to do uncommon things such as double clicking on a column to auto expand it. I'll replace it as soon as I'll find a new one that I can use.
  • Code highlighting is not working due to my inability to use an of the free offerring and lack of time to create my own. There is some highly inefficent highlighting on the SQL results windows, but even that is not good enough.
  • Sometime there is a problem if you configure from several resource that contain the same information. NHibernate throws an exception on that, I've not decided what I should do about it. Options are:
    • Leave as is - what I'm doing now, let the user know that they made a mistake, leave it up to him to fix it.
    • Silently ignore - Means that the configuration may not be what the user expected.
    • Silently succedd - The "last one in - wins" scenario.
    • Something else I didn't think about... ?
  • The sample DB is MS Access "grocertogo.mdb" (the only thing that I'd on my computer during development :-)

Planned features:

  • Generating code/mapping/table schema base on supplied files or some GUI editor - for this I would have to have a code editor, so if you know one that I can use, or just can help me with making  ScintillaNET usable to me, I would be very grateful.
  • Some UI modifications, I'm not sure that I like the current UI, it seems a bit clumsy to me.
  • Moving to NHibernate 0.6
  • Add timing so you can see how inefficent your code really is :-)
  • Viewing the log4net output from NHibernate
  • Add a menu to the tree, so you can remove files more easily (right now you need to press "Delete")
  • Refactor the code :-)

Usual warnings apply, alpha code, use at your own risk, all your bases belog to us, etc.
Feature requests, bug reports are welcome if I manage to find a winforms bug tracking software that doesn't use MS Sql :-)

[Update: You can get the files at the project site: http://developer.berlios.de/projects/nqa/ ]

Enjoy. ;-)

time to read 1 min | 194 words

I'm currently developing an application that need to display source code (XML & Sql).

Most of the works goes into the UI, I rarely touch the back-end, just put stuff in the UI to make it nicer to work with the application.

I desperately need stable control for source editing (syntax highighting a must, code completion would be nice.)
Currently I'm at a loss.

I tried RichTextEditor and ICSharpCode.TextEditor but both doesn't work for me.
I need a configurable editor that can handle XML, C# & SQL, support word-wrapping (where ICSharpCode.TextEditor failed) and that I can actually understand how to use (Which was the deciding point of not using RichTextEditor).

I would've gone with ScintillaNET but while I'm certain that it can support my needs, there isn't any documentation about using it.

The second control that I need is a TreeListView (you know, a tree with columns) but all the controls that I've found so far were buggy. (I tried everything that I found in Code Project

These UI problems are holding me from going on with the interesting stuff :-(

Unbelievable!

time to read 1 min | 186 words

Update: The Issue has been resolved thanks to Mike Griffin. See here for the details.

I just downloaded MyGeneration to test it.

I install the software, and selected Launch MyGeneration in the setup prompt.

So far, everything is normal. What wasn't normal that nothing seems to happen for longs minutes, and suddenly I'm feeling sever memory pressure.

When I finally got taskmgr to load (took nearly 30 seconds) I discovered what the problem is.

I was swapping! Swapping!
I've 1GB RAM excatly because of this!

Take a look at Taskmgr's report:

That's right, 260MB just sitting there.
And peek memory usage of 500MB just to load the bloody application.

I've run stress tests on my machine that didn't use that much memory.

I know about moore's law, but this is ridiculous!

Uninstalled, good riddance.

Finally Googled!

time to read 1 min | 144 words

I've been noticing a lot (relatively) of traffic in my blog.
Most of it from google, and most of it apperantly due to people spelling mistakes that match my own.
'The Incridibiles' post seems especially popular.

I just run a search on my name, and I'm the number one result for "Ayende Rahien".

Not a good ranking on Google Suggest, but I'll work on it. :-)

"You might have mail." -- Tech Support Slogan

"Learning is acquired by reading books; but the much more necessary learning, the knowledge of the world, is only to be acquired by reading men, and studying all the various editions of them." -- lord chesterfield, 1752

[Listening to: A Thousand Miles - Vanessa Carlton - Be Not Nobody(03:58)]
time to read 2 min | 348 words

Here is a demo of my current project, an IDE for NHibernate.

I hope you'll like it.

 

"When you reread a classic you do not see more tin the book than you did before; you see more in you than there was before." -- clifton fadiman

"How was Thomas J. Watson buried? 9 edge down." -- Tech Support Slogan

"Computer and car salesmen differ in that the latter know when they are lying." -- Tech Support Slogan

FUTURE POSTS

  1. Optimizing the cost of clearing a set - 2 days from now
  2. Scaling HNSW in RavenDB: Optimizing for inadequate hardware - 4 days from now

There are posts all the way to May 14, 2025

RECENT SERIES

  1. RavenDB News (2):
    02 May 2025 - May 2025
  2. Recording (15):
    30 Apr 2025 - Practical AI Integration with RavenDB
  3. Production Postmortem (52):
    07 Apr 2025 - The race condition in the interlock
  4. RavenDB (13):
    02 Apr 2025 - .NET Aspire integration
  5. RavenDB 7.1 (6):
    18 Mar 2025 - One IO Ring to rule them all
View all series

Syndication

Main feed Feed Stats
Comments feed   Comments Feed Stats
}