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,585
|
Comments: 51,218
Privacy Policy · Terms
filter by tags archive

Regex riddle

time to read 1 min | 36 words

I'm building regex-es that build regex-es here, which makes my head spin

Here is a riddle for your:
regex.Replace("C:\\*\\ayende?","\\\\","\\\\")
Without running it, what is the result? (Here is doesn't matter whatever the code is C# or Boo.

time to read 1 min | 95 words

I'm currently investigating a sweet little language call Boo. I've been totally blown away by it's abilities. It's so cool that I just can't belive that I didn't know that such a thing exist. It totally blows away C# in terms of ease-of-use.

There are some cavats currently, mainly due to the fact that the language is still in beta, but already it has some great potential.

The double damn is that I just spent three or four hours coding, and lost it all just as I was about to finish because of #Develop.

Boo!

time to read 1 min | 186 words

I'm interested in learning dynamic languages, but I don't want to leave the CLI, so I decided to investigate IronPython. I started reading about it, then I got (somehow, no idea how) to Boo.

Read the manifest.

After reading this, and considerring that this is the first non C-derived language that I'm planning to learn (VB & Pascal aren't really that different. Different syntax, same way of thinking) it looks way cool.

 

"Stewardesses is the longest word typed with only the left hand." -- Fact of lifes

"Boat: A hole in the water surrounded by wood into which one pours money" -- Definate Facts

"The most beautiful thing we can experience is the mysterious. It is the source of all true art and all science. He to whom this emotion is a stranger, who can no longer pause to wonder and stand rapt in awe, is as good as dead: his eyes are closed." -- Albert Einstein

[Listening to: רגעים - ברי סחרוף - סימנים של חולשה(03:48)]

 

time to read 2 min | 392 words

Here is a five minute guides to using NQA:

  • Open the application, there shouldn't be any setup neccecary. Just unzip it anywhere and let it start running.
    NQA saves its settings to a file at "%APPDATA%\NHibernate Query Analyzer\Data.sqlite.db" and this should be completely transperant to the user.
  • Go to Project>Add Files and choose an assembly.
    The assembly must be in NQA BasePath (best thing to do would be to copy it to the same directory as NQA's executable). If the assembly contain "*.hbm.xml" resources then the mapping would be loaded into NHibernate. If the assembly contain a "*.cfg.xml" resource then the setup is done. If the assembly doesn't contain "*.hbm.xml" or "*.cfg.xml" then you will need to add those manually. If your application uses App.config, you can add it directly.
  • When you added all required information then the HQL Query text box should become enable and you should be able to execute HQL Queries.
    An assembly with the classes, a configuration file {either App.config or "*.cfg.xml"}, and the mapping files "*.hbm.xml" - Those can be embedded in the assembly or added seperatedly.
  • Any HQL query is a valid and would result in the following actions being taken:
    • Executing the HQL query and displaying the returned object graph.
    • Executing the resulting SQL and displaying the raw results from the database.
    • If an exception occured, the Error Log tab would be displayed, with it's details.
  • If you want to explore the sample project, you need to add two files, "Ayende.NHibernateQueryAnalyzer.SampleDb.dll" and "Ayende.NHibernateQueryAnalyzer.SampleDb.dll.config" to the project, at this point NQA will allows you to execute queries on the database.
    You can see the mapped classes in the Configuration tab, under Class Mapping
time to read 1 min | 174 words

 [via you've been HAACKED[Via Scoble]

http://www.molly.com/2005/01/15/the-accidental-blogger/ THE ACCIDENTAL BLOGGER is what I'm going to call what happens when a blogger writes a post that accidentally becomes far more important to their site than ever intended. I certainly never intended that racing frogs and the death test would be among my more popular threads, but there you ...

I am not a native English speaker (in fact, I don't get to speak much English. Only when the ICRC comes to visit) so I make a lot of spelling mistakes (and I hate spell checking).

Because of this, I made some pretty horrible typing mistakes, and appernatly they are generating the most views from google searches:

The Incridibiles

Read Habbits

Laptob

time to read 1 min | 123 words

I bought this book because I was certain that it was dilbert-in-a-book. The book is supposed to be about an ERP implementation in a company, and the start was really promsing.

The problem is with the rest of the book, which then digress to the characters acting in totally unbelievable ways (whatever-it-takes-to-please-the-client, for example) and the book stops being fun.

The worst part of it that the book is trying to sell you the author's point of view regarding the way we should develop software. I'm not saying that it would be a good way to do so, but somehow I felt like reading some of  Karl Marx's works.

All in all, I didn't like it very much.

time to read 1 min | 69 words

 Well, it seems like a made a really stupid goof and logged to the wrong server trying to do this.

The Subversion repository is now open and can be anonymously accessed at: svn://svn.berlios.de

Just execute  svn checkout svn://svn.berlios.de/nqa 1

1 It may take a few hours for the site to display this, by the time you'll read this, it should already be online and working.

time to read 1 min | 168 words

Well, I've fixed some bugs (mainly UI ones, and one regarding a mistake I made writing the mapping files).

New stuff:

  • Now using NHibernate 0.6
  • Got rid of the TreeListView and wrote a custom control to display object graphs
  • Many bug fixes

I opened a project at BerliOS Developer Logo for NHibernate Query Analyzer, the adress is: http://developer.berlios.de/projects/nqa/

I choose berlios.de over SourceForge.net because berlios.de offer Subversion access with all the features of SourceForge1.

1 Update: The Subversion repository is now open and can be anonymously accessed at: svn://svn.berlios.de

Just execute svn checkout svn://svn.berlios.de/nqa.

FUTURE POSTS

No future posts left, oh my!

RECENT SERIES

  1. Production postmorterm (2):
    11 Jun 2025 - The rookie server's untimely promotion
  2. Webinar (7):
    05 Jun 2025 - Think inside the database
  3. Recording (16):
    29 May 2025 - RavenDB's Upcoming Optimizations Deep Dive
  4. RavenDB News (2):
    02 May 2025 - May 2025
  5. Production Postmortem (52):
    07 Apr 2025 - The race condition in the interlock
View all series

Syndication

Main feed ... ...
Comments feed   ... ...
}