Keep in mind require.main's "scope" is app.js, so you'd have to do require.main.require('./src/groups.js'); if you want access to the groups lib.
require.main will always be app.js for plugins, since plugins are only called by NodeBB.
I personally use Arch linux for my personal computing.
At work I use Windows 7 since we do development using the .Net framework and require IIS.
Every once and a while I will boot into Windows 7 at home to play a game that isn't on Linux, but it is rare.
Arch Linux (who would have guessed?), just on LANs I use windoof 7 for gaming, because rebooting for every game that isn't ported is annoying...
Arch Linux ARM on my Raspberry
Ah, and my toaster doesn't use any linux distro yet, shame on me!
Ubuntu 12.10 (oh boy, 14.04 is out, I should upgrade) on my laptop
12.10 on my desktop
Raspbian on my Pi
I dual-boot Windows on my laptop when I need to use MS Office... which is also rare
I don't have a favorite, though I tend to gravitate towards distros that use APT. Right now, I have Fedora 20 on the main desktop, with about 20 different Linux/BSD distros running as Guest OSs on it, courtesy of VirtualBox.
My only notebook has Linux Deepin 2013 on it, which is a pretty good desktop distro. The 2014 edition is shaping up to be even better. Screenshots here.
@planner Wow, Linux Deepin 2014 does look pretty slick. I had seen the 2013 a couple times while I was surfing the web but never really got interested in it. Is it debian based?
Currently all Windows 8.1 (Even Windows Phone 8.1 :O)... I'm keeping my eye out for the latest ElementaryOS release, which will be based on Ubuntu 14.04, to dual boot on my laptop.
Work PC is Windows 7
Work laptop is Windows 7 dual boot with Elementary OS
Home PC is 8.1
Raspberry Pi is openelec
I have used Arch Linux a lot in the past, had it as my main distro for a long time but missed gaming so i switched to windows os. I don't miss the regular updating with Arch one bit!
I easily migrate between OSX on my work laptop, to Windows 7 on my work pc, windows 8 on my home laptop and Ubuntu on another machine at home. I am thinking about checking Linux Mint out thogh.
My ideal is os x. I use it on my mbp and I find I'm most productive when working on my Mac. On my main PC I run Windows 7 for gaming then reboot to Ubuntu (upgraded to 14.04). I prefer anything with a true command line..
Like @Schamper I am also keeping my eye on ElementaryOS.
I've always been a windows person. Linux scares me
Sissy! Why not just change you name to sissybunny? :wink2:
alright the reeeaal reason is that somebody has to test NodeBB on windows, and I've taken the liberty of doing that. taking one for the team and all that
Yeah, pretty soon we'll make him "Internet Explorer Quality Assurance Team (of 1) Lead"
@psychobunny yet I have reported quite some Windows specific bugs..
Haha actually, @psychobunny has only just started to develop locally on his box -- prior to that, he was working remotely on our development server
Ubuntu 12.04 / W7 Ultimate as dual boot.
Related to Ubuntu I can only cite:
When the screen is locked with password, if I hold ENTER after some seconds the screen freezes and the lock screen crashes. After that I have the computer fully unlocked.
This bug affects 3 people
I feel sorry for them ^^
@frissdiegurke At least it looks like they fixed it pretty quickly