« first day (1475 days earlier)      last day (3475 days later) » 

10:00 AM
@DrogoNevets Has something to do with them being designers and not usability experts.
 
and I bet its only because they are husband and wife
@Sippy oh apperently they are too
 
1 box as opposed to 3 says otherwise :P
You should have 3 boxes that behave as one.
 
@Sippy mmhm!
i agree
 
I'm lucky in that they don't employ designers here lol
We have one programmer who kinda knows what he's doing with sass and less
 
@Sippy we have a few, and they are good at what they do, but they make usability decisions based on....fancy?
 
10:03 AM
@DrogoNevets Programmers should always be the ones who build usability into applications because out of devs and designers, devs have the most exposure to using the system.
 
Kewl / Yuck: I got jQuery silver
 
Designers should wear pointy shoes, have ice-gem haircuts and know how to apply css styling.
 
Also, Mornin'
 
@Cerbrus hai
What's jquery silver?
 
10:05 AM
Like mjolnir, but not quite as good
 
oh well i guess ill just shut up and pretend that im ok with it
 
suggest me a short variable name for "sanitizeImmediate"
 
hi all
 
That should've been long closed already
(typo)
 
10:07 AM
@DrogoNevets Noooo!
@AwalGarg that is short ..
 
@Sippy :( I need shorter :P
 
Don't shorten things unless they're retardedly verbose.
Why? :D
Let a minifier make it shorter if you need a min source
 
Is there any way in javascript jquery, to "wait for all js activity finished" before executing some code?
 
@Sippy so I can type less :P
 
@AwalGarg: "sI", but don't get confused with the standards institute
 
10:09 AM
@Sippy our line manager, etc arent in so not got much choice
 
What si a good way to have states and countries in angularjs app. a resolve for an API ?
 
Seriously though, @AwalGarg: Don't bother shortening var names. Just minify before publishing
 
@DrogoNevets TAKE UP ARMS!
Sometimes you just have to tell a designer they're stupid
We have a sword in my office for that.
 
0
Q: javascript / jquery script to check browser support bootstrap code

YogeshI have developed website in Bootstrap but as we know it doesnt work on IE8 and below. I want a script who can find where browser support bootstrap or not so we can redirect website to other website like from www.google.com to m.google.com

 
@Sippy that's funny
 
10:11 AM
I should make it clear, we don't hire designers for internal applications which is what most of the dev team work on. There are designers who work on our external site.n
Not that you'd know it.
 
easier said than done, when both designers are not only the best designers we have (and they are!) but also husband and wife
 
Yikes
 
@DrogoNevets Uff.. I would still at least debate it with em
Figure out why they think one box is a good idea.
Actually I have a great idea
Use bootstrap's input grouping css and make three boxes into one box, with lines.
All win.
 
Anyone with AngularJS experience here ?
 
@AmoghTalpallikar Probably :D
 
10:14 AM
@AmoghTalpallikar Yup
However,
!!tell AmoghTalpallikar welcome
 
@AmoghTalpallikar Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@Sippy "because its better for the user" and "we've done the research"
 
@CapricaSix: I did ask. scroll up a bit. so I wanted to confirm :)
@Cerbrus: Ideally, How do you get a list of states and countries for dropdowns in a form for an angularjs app ?
 
There are a lot of ways to do that...
What we use in our app, is a "create" call to our web api, which returns a empty, say, employee
That employee contains a list of available countries
 
@DrogoNevets I'm assuming they think that you can't make 3 boxes behave as one.
Have they heard of Javascript before? :D
 
10:19 AM
@Cerbrus: You do that in the resolve for the view ?
 
Aye
 
anyone here used redis with node?
 
    .when("/employee/create/:newId?/:parent?", {
        title: 'FormEmployeeAdd',
        controller: "employeeEditController",
        templateUrl: "app/management/employee/employee-create.html",
        resolve: {
            employee: ["Employee", function (Employee) {
                return Employee.create();
            }]
        }
    })
 
@RahulDesai "Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help."
 
Employee is a $resource
 
10:21 AM
Whats your backend ?
node?
 
ASP.Net
 
I am using redis module in node. its not allowing me to create a client
 
Web api
 
I am getting this error
Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED
 
@Cerbrus Do you create a table for countries and states ?
 
10:22 AM
We have a countries table, yes
 
@DrogoNevets I think honestly, because I'm a cheeky whippersnapper, my next question would be "Yeah? What research is that?"
Cos I know that 1 box is a stupid idea.
 
so wherever you take address, you put foreign keys to a country ?
 
The user will find it hard to know what the input should be if you use 1 box, whether they type 30-92-41 or 409212
 
<select ng-model="employee.countryId" ng-options="c.key as c.value for c in employee.countries"></select>
 
Or use slashes
 
10:24 AM
We use employee.countries to populate the select list
 
And you could use a placeholder but literally half your userbase will be using a browser that doesn't support placeholders natively
 
And employee.countryId is what gets saved
 
And then you gota fuck with a polyfill it's just a lot more hassle.
 
thats the primary key in the country table ?
 
Aye
 
10:28 AM
If I wanna learn vanilla
Would a node.js application with a JS front end be a good way to cement some principles?
 
If you want to learn about vanilla, some botany related study should do :P
Personally, I wouldn't mix node and front end when learning JS. Learn one, then the other, so you can more easily separate the different environments
 
@Cerbrus Bloody good idea!
@Cerbrus Okey dokey :)
 
botany related study
buhaha
 
@Sippy a little bit too complicated.
Just begin by the beginning : Do a calculator
Then a rich text editor
 
I already know how I'd do both those
Need to learn a little bit higher up than example apps I think
But not sure how high
 
10:39 AM
Knowing how to, and do it right, is not the same thing
 
@Sippy they do know it, and i wish i was like that, it doesnt help i have to keep everyone happy atm as there is a promotion coming up for grabs soon that im going for
 
@DrogoNevets Eugh, I feel ya.
Fuck it, do it, then change it when people complain it's not usable and they get stroppy and tell the users they're wrong.
 
@Sippy well i now have 9 people from various sources (friends, family and acquaintances - ie you) who all say 3, plus the DD website suggests using 3 (doesnt mention having it behave as one) so i have the moral high ground at least
 
fuck you all
 
@DrogoNevets No DD wouldn't, but if it doesn't behave as one then it's not a comfortable usability experience for the user because they have to type 2 characters then change box, so if they're not a power user who knows how to use TAB and SHIFT TAB, that can be very tedious.
And especially on a mobile device that doesn't have power user features, just fucking irritating.
 
10:47 AM
@Sippy yes! but anyways ill plod on doing it wrongly for now
 
Yeah haha
I feel your pain
 
http://stackoverflow.com/questions/26650847/date-picker-not-working-‌​in-ie-11?noredirect=1#comment41905588_26650847
 
its nice to have feelings validated by "strangers" though :) so thank you
 
Who was that prick discussing with me yesterday that a datepicker is sexier than 3 input boxes?
 
@AwalGarg we are not tlaking about date pickers
 
10:49 AM
@AwalGarg We're not talking about datepickers, prick ;)
 
@DrogoNevets we will, just now
I think it was you @Sippy
 
Also if you still think 3 input boxes > datepicker, you're in dire need of usability training
It was me.
 
@Sippy no you are :P
 
Three boxes works for you because you are a power user
You are not coding for power users.
 
a date picker is better than 3 boxes
 
10:50 AM
I just checked, most major websites use those 3 boxes only
but in a better way
 
Like?
 
hold on
^this
 
Awful
 
this is from gmail signup
 
It works on a form
But that's a one time use form for each user
What about a form that you have to enter data into 100 times a day?
Fuck boxes
 
10:52 AM
@AwalGarg still awful, the validation reporting on that would look like gonorrhea
 
@DrogoNevets gonorrhea hahahaha
 
Just 92 rep to go for 20k :D
 
@Cerbrus Woooo!
 
this is the validation report
 
10:53 AM
Gz :D
 
@Cerbrus give me some answers and ill upvote them for ya
ok so its reporting
A) backwarsds (people read left to right in english)
B) only one at a time
as i said, awful
 
@DrogoNevets what backwards?
 
@AwalGarg Month before day makes no sense in Europe.
 
@DrogoNevets: Serial upvoting will only be reversed
 
Not supportive of the users locus of control.
 
10:54 AM
so the first error there is you have left month empty
 
@Cerbrus We both upvoted something :P
 
@Cerbrus well the thoughts there :P
 
But one or 2 answers from this list: stackoverflow.com/users/1835379/cerbrus?tab=answers should do :P
 
repwhore!
Burn him!
 
i did 2, now i own you!
 
10:55 AM
@DrogoNevets I have not yet selected it. It can't just validate shit like that. Otherwise every form would show ugly red (roses) on page load.
 
Yeaaaa I hope that upvote hurts
 
@Sippy: I feel the burn
 
stackoverflow.com/users/3459110/… <-- I am there too... :P
 
The burn of reputation :P
 
10:56 AM
Because you are working out your internet muscles.
dat burn
@AwalGarg I will not upvote you until you understand that usability is contextual.
 
just 152 left to reach 1500 :D
 
@AwalGarg how can they not validate that month has not been selected?! its pretty simple
anyways back to doing things wrong!
 
52 :P
 
@Sippy I thought we were discussing birthday fields only :(
 
I never said birthday D:
 
10:58 AM
@Sippy what is the thing that requires entering a date 100(!) times a day. Seems like you should solve this problem first.
 
It's an internal application
Lol
For a business.
 
eh so the number of users would be pretty limited, I guess.
 
Yup.
 
@AwalGarg start dates for employees
 
I think the only app I have that has a large number of users is the tills application
 
10:59 AM
training dates
dates where X was achieved
 
Which probably has ~1000 users
 
y u no clear it in the first place lol
 
he was
 
I've said 100 times I only write internals :D
 
why is it so bad to use "async : false" in ajax query?
 
10:59 AM
ok
 

« first day (1475 days earlier)      last day (3475 days later) »