Open Side Menu Go to the Top
Register
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

02-11-2013 , 03:43 PM
Haven't tinkered with it yet but by default my VB seems to only let me go up to 1600x1200 for the Windows Guest. Won't tinker with it untill the Win install/security runthrough is done
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-12-2013 , 01:26 PM
Quote:
Originally Posted by Shoe Lace
My mind is officially blown. Virtual box has support for multi-monitors where the second monitor is launched in a new VBox window with its own size control. Couple that in with discovering seamless mode and it's the holy grail for development.

Seamless mode removes all of the window borders and desktop background so it just looks like you're running apps natively in your host OS except with the style of the guest OS's shell.

Now I can finally develop with 2 monitors in peace and have a browser open in the guest so I can use browser extensions that auto-reload on certain file changes to have live feedback.
Its not bug free tho... if you have too many windows open it starts to spaz out sometimes.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-12-2013 , 02:44 PM
Full screen works now 1920x1200. Required installing the guest additions thingy.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-12-2013 , 03:35 PM
I think I see what you mean Wooster, occasionally things get crazy like... windows get hidden behind other windows and the only way to fix them is to move the blocking window out of the way.

There's also occasional sizing issues where the rect size of the second monitor isn't being fully utilized for guest apps (it's like it's locked into a small non-seamless window's size), but this problem usually fixes it self magically.

Overall I can't complain too much though, it's a huge leap forward in productivity from before.

clown, the guest add-on also lets you share your clipboard too if you enable it in the vbox settings.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-12-2013 , 03:42 PM
Has VirtualBox largely caught up with VMware at this point for workstation purposes? Anyone use both extensively?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-12-2013 , 04:04 PM
Quote:
Originally Posted by candybar
Has VirtualBox largely caught up with VMware at this point for workstation purposes? Anyone use both extensively?
VirtualBox I've found to work much better for development than VMware ever did. A true your mileage may vary moment, but I've found VirtualBox much easier to get onto the network and such.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-12-2013 , 04:15 PM
VB is super easy, VMWare was kind of annoying with the signup to download etc. Advanced network config was also a bitch and required downloading some obscure tool that seemed to be hard to get on purpose.

I dunno if there's a Vagrant/Chef/VeeWee setup for VMWare which is what makes VB so great for (headless+portforwarded web) developing.

Can't see any issues with VB so far running a GUI Win7. Only downside is that I think the addons are proprietary but VMWare is fully so there's that.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-12-2013 , 04:32 PM
VBox's networking was the easiest thing I've ever seen. Just set it to bridged adapter and boom, you're on the network with a local IP.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-14-2013 , 06:23 AM
Q: Does this look like a good opportunity?

http://losangeles.craigslist.org/lac...608699867.html
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-14-2013 , 09:42 AM
If you want to learn word press it might be worth looking into because then you're getting paid to learn. Extra $ is always nice and the demands are close to non-existent in terms of hours per week.

The tone of that makes me think they want someone fresh out of high school who doesn't mind working for like $9/hour as a "web designer" though.

Would be funny if you got hired and after 2 weeks you wrote a DSL in clojure that let their secretary replace half their development team.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-14-2013 , 07:31 PM
Quote:
Originally Posted by Shoe Lace
If you want to learn word press it might be worth looking into because then you're getting paid to learn. Extra $ is always nice and the demands are close to non-existent in terms of hours per week.

The tone of that makes me think they want someone fresh out of high school who doesn't mind working for like $9/hour as a "web designer" though.

Would be funny if you got hired and after 2 weeks you wrote a DSL in clojure that let their secretary replace half their development team.
Of course, I want to be that guy...

Using Lisp makes you a good programmer about as much as using C makes you a systems engineer.

Last edited by daveT; 02-14-2013 at 07:47 PM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-14-2013 , 08:16 PM
I just purchased a custom domain name for my GF for valentines day. This may backfire
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-14-2013 , 09:07 PM
Quote:
Originally Posted by daveT
Of course, I want to be that guy...

Using Lisp makes you a good programmer about as much as using C makes you a systems engineer.
I only added in the last part because I know you work in clojure and it's well known for being one of the best DSL creating languages.

You remember this from last year?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-14-2013 , 09:48 PM
02-14-2013 , 09:55 PM
Quote:
Originally Posted by daveT
Seems like both are using the same thing, Overtone.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-14-2013 , 10:23 PM
It's a little disconcerting that the first most basic function in express.js doesn't match the API: http://expressjs.com/api.html#app.get

Code:
app.get(name)

Get setting name value.

app.get('title');
// => undefined

app.set('title', 'My Site');
app.get('title');
// => "My Site"
How the hell does app.get('/myroute', someFunction) work according to that API?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-15-2013 , 01:21 AM
Quote:
Originally Posted by Shoe Lace
Seems like both are using the same thing, Overtone.
Yeah, but one is just giving a quick overview and the other is creating an entire Bach piece with it while breaking down the sonic side of music theory.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-15-2013 , 01:28 AM
suzzer,

not sure i understand your question.

i would say that it sets the instance variable "/myroute" to the value "someFunction".

then presumably there's a handler that maps requests for /myroute to a call to someFunction.

edit: oh, uh... i would expect app.get(arg1, arg2) to be an error, or to ignore arg2, or to expect to have two values to stick into arg1 and arg2.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-15-2013 , 01:35 AM
Quote:
Originally Posted by suzzer99
It's a little disconcerting that the first most basic function in express.js doesn't match the API: http://expressjs.com/api.html#app.get

Code:
app.get(name)

Get setting name value.

app.get('title');
// => undefined

app.set('title', 'My Site');
app.get('title');
// => "My Site"
How the hell does app.get('/myroute', someFunction) work according to that API?
Just a wild guess, but it looks like someFunction should return a string that is concatenated to the end of the app object (or url) and they wanted to show that specifically happening without using the function because the function may be too hard to understand in lesson one?

So, you have something like

Code:
someFuction(){
    return 'My Site';
}

app.set('title', someFunction());
app.get('title');
// => "My Site"
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-15-2013 , 03:02 AM
suzzer,

i think you're either reading or writing 'get' when 'set' is intended.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-15-2013 , 04:02 AM
http://expressjs.com/api.html#app.VERB They're doubling up the get() function, which is just kind of weird. Get with two arguments is analogous to an HTTP get request (it maps the route to the function). But get with one argument is some kind of standard getter/setter.

Anyway I worked through that. Scoping in node/express is pretty weird. But I guess they have to be so that the modules will play nice to each other. It took me a while to figure out what the exports object was all about.

It looks like you definitely need to pick some kind of helper framework like jQuery or underscore to handle stuff like inheritance and doing your own JSON requests.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-15-2013 , 04:41 AM
Quote:
Originally Posted by suzzer99
http://expressjs.com/api.html#app.VERB They're doubling up the get() function, which is just kind of weird. Get with two arguments is analogous to an HTTP get request (it maps the route to the function). But get with one argument is some kind of standard getter/setter.
this is hella dumb.

Quote:
Anyway I worked through that. Scoping in node/express is pretty weird. But I guess they have to be so that the modules will play nice to each other. It took me a while to figure out what the exports object was all about.
it's probably javascript's fault. there's no scope like no scope!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-15-2013 , 09:07 AM
I wouldn't really say it's dumb. Overloading is pretty common in every language. I think that's the only time he does it in express too.

I think it was more important to keep app.verb() working consistently while also keeping the typical get/set syntax familiar for properties on app itself. If you stick with Express you'll see that a lot of decisions he makes is for the sake of keeping the api easy to use while keeping productivity at a maximum.

Also you don't need fancy libs to do inheritance in JS. You have a few options. Don't forget since node is running on v8 you have guaranteed access to all of ES5's features. So using the "new Object(x)" features is fine. There's also the good old prototype based inheritance which works out of the box, I prefer this way but with JS there's usually 100 ways to do anything so it's rarely a case of one way being better than the other.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-15-2013 , 10:33 AM
**** writing algorithms because they make me feel stupid.

Suzzer, how accurate was my guess then?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-15-2013 , 12:38 PM
Quote:
Originally Posted by Shoe Lace
I wouldn't really say it's dumb. Overloading is pretty common in every language. I think that's the only time he does it in express too.

I think it was more important to keep app.verb() working consistently while also keeping the typical get/set syntax familiar for properties on app itself. If you stick with Express you'll see that a lot of decisions he makes is for the sake of keeping the api easy to use while keeping productivity at a maximum.

Also you don't need fancy libs to do inheritance in JS. You have a few options. Don't forget since node is running on v8 you have guaranteed access to all of ES5's features. So using the "new Object(x)" features is fine. There's also the good old prototype based inheritance which works out of the box, I prefer this way but with JS there's usually 100 ways to do anything so it's rarely a case of one way being better than the other.
I read up on all those different types of doing inheritance, and everyone seems to have a different solution for stuff like deep copying, performance, and adding properties that are or aren't enumerable, etc. Every time I found a method that was supposed to work, somewhere in the comments there was some major drawback. I think I'd just rather let the framework figure that out for me.

Also what do you use to make JSON calls to a REST back end server? Do I have to write my own JSON get method?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote

      
m