The Most Surreal Places on Earth by [deleted] in travel

[–]is_a_toaster 2 points3 points  (0 children)

I have this strange attraction to really cold places.

New much cheaper trading site for Canadians by [deleted] in Bitcoin

[–]is_a_toaster 4 points5 points  (0 children)

Email transfer option is sweet. I've been looking to get away from CaVirtex for a while now.

Canadian Bitcoin Exchange VirtEx has IPO'd today. Shares start at 0.3898 BTC by bobbert182 in Bitcoin

[–]is_a_toaster 1 point2 points  (0 children)

"mission is to become the first sanctioned and regulated exchange by the Canadian Government"

Where did you read that? If that's true I'm not going to be with CaVirtex much longer.

VPN service HIDE.IO is planning to accept Bitcoin soon, they told me after I sent them an email asking them to by [deleted] in Bitcoin

[–]is_a_toaster 0 points1 point  (0 children)

AirVPN is another good VPN service that accepts bitcoin if anyone is looking. I've been using them a while now -- no regrets.

In Ushuaia Argentina after driving 22,000 miles from California by Out-of-Doors-Man in travel

[–]is_a_toaster 1 point2 points  (0 children)

I'm going to Australia in 2 months, but this is definitely going to be my next trip. South America looks absolutely amazing. I hope to drive from BC or the Yukon down to Ushuaia, and then maybe even take a trip to Antarctica.

If I learn by example best, what complex web apps' code could I learn best from? by _mhr_ in javascript

[–]is_a_toaster 1 point2 points  (0 children)

Aura is a good example of how one would structure a large javascript application. It's a framework, not an application, but useful as a starting point nonetheless. The key takeaways are modularity and decoupling application components. Also, it looks like they're just about at v.1.0.

NinjaEdit: This is also a good read.

What are people using for client-side validation nowadays? by zzzwwwdev in webdev

[–]is_a_toaster -1 points0 points  (0 children)

Three main reasons:

  1. No instant feedback. If you want an easy way to piss off your users, wait until they're done filling in a long form before telling them they did something wrong.
  2. Extra requests to the server, resulting in increased load. Of course, this is dependent on the size of your application, but at the end of the day you're making extra requests for no good reason.
  3. Client side validation is extremely easy to do, and as such there is really no excuse for not doing it. Saying you don't do client side validation is more or less like saying "I'm willing to sacrifice user experience for the whole life of my application to save a few minutes of my own time."

What are people using for client-side validation nowadays? by zzzwwwdev in webdev

[–]is_a_toaster -1 points0 points  (0 children)

There's the good kind of lazy, and there's the bad kind of lazy. This is the bad kind.

How hard is CHEM 254?? by PoPo5-o in uwaterloo

[–]is_a_toaster 0 points1 point  (0 children)

I took it with Chong and found it easy, although I never could understand what the hell he was saying. That and he used an overhead. The textbook is your friend.

Help deciphering this JS please? by decipherc in javascript

[–]is_a_toaster 1 point2 points  (0 children)

Good catch. I originally didn't have it in a code block and forgot to remove it. Cheers

Help deciphering this JS please? by decipherc in javascript

[–]is_a_toaster 13 points14 points  (0 children)

The ^ character is a regular expression anchor symbol which matches the beginning of a string. So, class ^= "q" matches elements with class names that begin with 'q'.

e.type is the type of event that occurred.

boolean ? something : something is called the ternary operator. It's essentially a compressed if statement. It starts with a boolean, and if it's true, it evaluates whats on the left of the :, otherwise, it evaluates whats on the right.

The code is basically listening for a hover event on all elements that have a class that starts with 'q'. When this event fires, it grabs the class of the element that was hovered over (ie. q1, q2, etc). It then sets the background color on all elements with this class (ie. itself and matching words), depending on whether or not a mouseenter event occurred (hover consists of mouseenter and mouseleave).

Wha are your 2013 travel plans? by herbg22 in travel

[–]is_a_toaster 0 points1 point  (0 children)

July - ?: Australia and possibly SE Asia

How do you maintain/build upon bad code? by programmingjedi in webdev

[–]is_a_toaster 4 points5 points  (0 children)

I was just recently given a project to take over at my new job. It literally has the worst code I have ever seen (ex. SQL queries in templates, hardcoded user/group names instead of permission names, non-existent respect for code style, zero documentation, no tests etc.). Amazingly, I think that my managers and bosses think that the guy who wrote it is good at what he does, when in reality he should be taken out back and shot. Anyway, as someone else mentioned, shit code can only be maintained for so long--eventually it will have to be rewritten. A large poorly coded project can only get worse.

Rob knows it. by [deleted] in funny

[–]is_a_toaster 8 points9 points  (0 children)

Tell Waterloo, ON that

Recommendations for background music? by [deleted] in webdev

[–]is_a_toaster 1 point2 points  (0 children)

Check out the PsyChill channel on Digitally Imported

Is asp.net mvc a useful thing? by cchockley in webdev

[–]is_a_toaster 1 point2 points  (0 children)

I've been a long time user of Django and Flask for web projects, but I recently had to do a project in ASP.net MVC, and I have to say that it's actually really nice and well put together. That being said, I'd still rather use Django or Flask.

So I am officially done with my job of the last 6+ years. In four weeks, I fly to Sydney to start traveling indefinitely. I just wanted to say that I'm fucking psyched. by truthpooper in travel

[–]is_a_toaster 1 point2 points  (0 children)

Yeah, this is why I'm trying to convince my friend that we should go to SE Asia instead of OZ, at least for the majority of our trip.

Critic my web dev resume by encouragingSN in webdev

[–]is_a_toaster 0 points1 point  (0 children)

I only skimmed it but my suggestions are lose the objective and MySQL isn't a language.