Don't let ppl tell you there is a Edinburgh vs Glasgow divide btw; it's only 50mins via trains that run late at night so it's easy to nip across for the evening.
Also check out http://opentechcalendar.co.uk/index.php - that has more Edinburgh events at the moment but it's very early days for this site and more are being added all the time. (Disclaimer: That's my project.)