Category Archives: Uncategorized

F# for fun and profit

(I am in no way affiliated with the brilliant blog of the name http://fsharpforfunandprofit.com/. I wish I was, but no, I just remembered the phrase and used it as a headline, sorry.)
It is no secret that Øredev 2013 will be rich in terms of F# content. Recently there has been a surge in interest for this Functional First .NET-language with lucrative opportunities in many fields, finance especially. The conciseness and correctness of F# code makes it attractive for work that features clever algorithms and as a .NET language it of course benefits from the general richness of the platform.
You should, if you haven’t already, check out the following sites and the links from there.
http://tryfsharp.org
http://fsharpforfunandprofit.com/

Early Bird campaign ends in two weeks, Aug 15

Early Bird campaign ends in two weeks, Aug 15

We are proud of the program we have put together for Øredev 2013 and we are quite confident you will find the content interesting enough to at least consider coming to Malmö in November.

The thing is, our very lucrative early bird campaign is ending in two weeks, so if you are on the fence, this is the time to pull the trigger and make that reservation. It is easier to beg accounting for forgiveness than to ask for permission. It can’t hurt to at least ask.

More on groupware

I have been thinking some more about a simple email + calendar service for Linux. I have tried a couple of ready-made groupware solutions but they seem not QUITE right FOR me. I want to rip off the ideas that GMail has shown to be successful. Also, let’s not ignore the Not-invented-here syndrome.

To start with the GMail experience is one of simplicity. Compare and contrast with Outlook Web Access which is essentially a fat client Windows app shoehorned into a website.

Users

User accounts will have to be managed in an LDAP server, but if not in version 1, very soon after, the users and rights management will have to be done in the website for the Simplicity goal to be fulfilled. The LDAP database needs to be complete enough to be meaningful as a source for existing Linux phonebook management clients as well as access control for websites and e-mail.

Calendar

What I want is a simple calendar view, with a possibility to launch a few forms to add and update entries. Here I’d have to find something suitable online, but the issue here mostly is the backend. I’d need to find an iCal compatible server that has a database format that I can figure out and live with.  From here I have to export files to each user’s directory so that they can be indexed as needed.

Email

The e-mail site can be extremely “flattering” to GMail, if imitation is the greatest form of flattery, with folders on the left and the list of e-mails front and center.

Wiki/Intranet

For it to be a solution fit for a smallish company you also need the ability to create content pages and publish them in the system somehow. A Wiki, for sure and also maybe a blog and a general CMS. Orchard or some other .NET CMS should be quite able to handle this, the major issues are to get either of them running on Mono and how to set up a default configuration 

Search

Search has to actually work. This means I will have to find a way to index web content, e-mail and appointments and parse queries and submit them to Lucene or SolR to actually provide great results fast. My whole bitterness against the proliferation of everybody’s personal data is that GMail has removed such large sections of brain that are no longer necessary. Almost whatever it is you have been up to in life you can find it using GMail search as you were bound to have written or received an e-mail about it – and if that didn’t happen you probably wrote an e-mail to yourself about it on purpose in order for it to be retrievable using the GMail search. It is a wonderful way of life, except when you have just handed strangers that same ease of access.

Conclusion

So, I’m thinking:

  • OpenLDAP
  • OpenSSH
  • Dovecot
  • Postfix
  • iCal compatible calendar server, there are several.
  • Solr
  • Mono 3.0.11
  • nginx
  • Jetty (for SolR)
  • PostGreSQL (?)
  • Orchard CMS or DNN or Umbraco. Orchard preferred.
  • My code / stuff
    • Wrapper website that hosts settings, e-mail, calendar and CMS views. Handles sessions and the almighty search bar.
    • Search results view
    • E-mail listing
    • E-mail compose  
    • Calendar view (week, month, days – need to find component that does the rendering.
    • Appointment view
    • Account management – against LDAP
    • Account management – with SSH/certificates
    • External POP3 and SMTP accounts
    • E-mail indexer
    • Calendar indexer
    • Packaging
      • Packaging my code
      • Packaging config of other packages

Good times

As the climate approaches acceptability in Sweden it’s time for the annual Lightening of the Mood, which is what Scandinavians do when the hiatus of gloom occurs that follows the sun coming out of hibernation and the impermeable grayish lid of nuclear winter is temporarily lifted.

There are other things than weather to motivate the increase of joy:

There is a plugin for Resharper that works with NancyFx. Not breaking news, but nonetheless joyful.
https://github.com/NancyFx/Nancy.ReSharper

There is a NuGet plugin for MonoDevelop and Xamarin Studio:
https://github.com/mrward/monodevelop-nuget-addin

In general, xamarin studio and its new UI designer for iOS is a Huge Deal and should be explored if you are into iDevices but still want to use the Language of Honor and Heroes (C#, that is).

NewID

Many of the companies in the former Way Group have now fusioned under the name Jayway, among them my beloved Dotway.

My dear employer has gone from being the key part in a cluster of separate expert companies (Dotway being the finest in .NET, Jayway ruling the world of Java, Testway laying down the law in the world of testing and Leadway striving forward in project management with Realway soldering on (sic) in the embedded systems field)  and fusioned ourselves into one formidable entity under the name Jayway. To this end we are all gathered under the jayway.com domain and all previous references to Dotway should now be pronounced Jayway.