« first day (456 days earlier)      last day (3332 days later) » 

8:00 PM
run that while you have the document open in Google Drive
google escapes EVERYTHING
 
Thanks :P
 
@TylerH me neither.
 
you would have to look and unwrap every string, and remove all of their formatting HTML
 
@mikedidthis oh right, we call them trunks in the US
we don't have those kinds of sales, though, AFAIK
 
rlemon.ca/dryermaster look in Chrome, then FF (and scroll)
 
8:00 PM
I would say you are missing out, but you aren't. I hate them. Sadly everyone else in the family loves thme.
 
notice FF has some funky transition crap
 
Scrolls worse in Chrome IMO
having my scrolling messed with pisses me off
 
guess what fuckers! I don't touch the scroll anymore
TAKE THAT
 
8:02 PM
doesn't matter, still pisses me off
 
you are all bitching about something non-existent
 
user652649
@mikedidthis cool
 
What's the URL bar thing to run JS on it again?
 
I would prefer this: wicky.nillia.ms/headroom.js
 
@rlemon thank you for removing it :D
 
8:03 PM
transition made me not need it
but in FF it isn't a smooth transition
 
@rlemon yeah for some reason the transition doesn't fire until after the scroll
 
:/
 
user652649
i would know the chip names behind those serial numbers @mikedidthis like, FX-9370 and FX-8350 are the same chip? or is it different?
 
@rlemon I'd look better in all browsers and fix the issue if you moved the text and didn't mess as much with the parent. I'll make a fiddle
 
jsbin.com/zabudapi/1 Why does this have a null value for index position 0?
instead of just starting at 1
 
user652649
8:08 PM
Sempron Duron means "always hard" in latin. sorry.
 
@TylerH you told it to start at 1?
x[1] is the first command, so x[0] is null
 
@ZachSaucier but line-height is .. so convenient
 
@ZachSaucier I told it to make the first number 1
so index position 0 should be 1
 
sparse arrays
 
Ah, I can 'Open with... > Editey' which is one of my IDEs.
 
8:10 PM
don't use them
 
but it's putting 1 at index position 1 instead
 
arr[i] = [i] is silly.
for (i = 1; i < 1001; i++) {
  x[i] = i;
}
you never set index 0
you create a sparse array and fill it
 
^^ what I said + some
 
change that to x.push(i)
 
I thought arrays always started at index 0
 
8:11 PM
you are doing this
 
changing x[i] = i to x.push(i) gives me 1,000 null values
 
@TylerH not if you tell them not to :P
 
var array = [];
var index = 1;
array[index] = index;
var x = [];
var i;
for (i = 1; i < 1001; i++) {
  x.push(i);
}
don't write silly JS
 
@ObiWanWesabi same family I believe.
 
I already advised you on [] > new Array
!!> var a = new Array(2); a.push(3); a.toString()
 
8:13 PM
@rlemon ",,3"
 
@TylerH does that explain it a bit better for you
.push says check the length and insert at the new appropriate position
because internally arrays are hash-maps
 
was about to ask about .push/go looking for a definition
 
also creating arrays using the new keyword comes with slightly more overhead
so if you have a sensible solution not using the new keyword, use it
 
@rlemon your CSS so broken xD
 
user652649
i think i'm buying the black edition anyway, it's just 30€ less
 
8:15 PM
@ZachSaucier :P so fix it for me
 
trying. Have to rewrite most of it
 
so .push is using dot notation
 
uhh
 
@TylerH this and this helped
 
okay .push is a method.
[] is literal. you can access items using []
!!> "123"[0]
 
8:16 PM
@rlemon "1"
 
almost anything can be accessed in this way
 
right
 
user652649
!!>(x=[])['push'](10); x;
 
for ARRAYS however you have enumeration so you can access them given their index in the *set
 
@ObiWanWesabi 1
@ObiWanWesabi [10]
 
8:18 PM
yea but that isn't assigment
!!> (x=[])['push'] = 10; x.push;
 
@rlemon 10
 
user652649
was just saying that you can always replace ".whatever" to "['whatever']
 
@ObiWanWesabi This was what I was about to ask after I said ".push is using dot notation" @rlemon
 
but that makes it sound like you don't understand what i means.
.push uses dot notation? but arr[1] = 1 doesnt?
 
user652649
var coord = element[vertical ? 'offsetTop' : 'offsetLeft'];
 
8:20 PM
that doesn't make sense logically speaking.
they are two different things, not really comparable.
 
that's why I'm asking about @rlemon because it seems I don't understand it
 
user652649
same as:
var coord = vertical ? element.offsetTop : element.offsetLeft;
 
for me .dot notation is when you have ['whatever'] and you turn it into .whatever
 
for assignment yea that is true.
 
but then there's the case where you're using a method which is always .whatever
right?
 
8:22 PM
but .push is access, it is calling the method.
you can also call methods using bracket notation
 
okay
 
enumerable objects HOWEVER allow you to access them via index.
 
x['push']
 
x['push']()
you still have to 'call' it
 
right
 
user652649
8:23 PM
for automated refactorings it's better if you don't abuse the literal notation
 
the full thing would be x['push'](i)
 
user652649
since automated refactoring won't work there, it's a string
 
6
Q: What does enumerable mean?

PatrickI was directed to MDN's for..in page when it said, "for..in Iterates over the enumerable properties of an object." Then I went to the Enumerability and ownership of properties page where it said "Enumerable properties are those which can be iterated by a for..in loop." The dictionary defines en...

 
I understand what enumeration is
I do wonder how it's different from what you said at first, though
 
@ObiWanWesabi bracket notation*
 
8:24 PM
!!> "123"[0]
 
@TylerH "1"
 
user652649
ya, that
 
isn't that enumeration as well? I mean there's an index and 1 is at index position 0
 
!!> var arr = []; arr.foo = 'bar'; arr[2] = 2; arr.toString();
 
@rlemon ",,2"
 
8:24 PM
!!> var arr = []; arr.push('foo'); arr.push(2); arr.toString()
 
@rlemon "foo,2"
 
arr.foo creates a non-enumerable property on arr
!!> var arr = []; arr[0] = 1; arr.toString()
 
@rlemon "1"
 
but numbers are handled special.
 
I thought arrays handle all types of content the same. numbers, strings, booleans
 
8:26 PM
in other languages this is easier to distinguish between. JS is strange in this regard.
@TylerH not using bracket notation
it isn't a index lookup always, it is property access
v8 internally will try to handle it.
but it isn't clear to the dev. don't do it :P
 
when you say v8 you're referring to Chrome's JavaScript interpreter specifically? Or just as a catch-all for browsers
 
Chromes js engine
but I mean all engines in that statement
 
kk
 
user652649
@mikedidthis

.GroupBoxList > :any(article,section,aside,nav) > :-webkit-any(header,footer,div)
                          ^
                          (the actual groupbox)
 
bracket notation is useful for dynamic stuff.
 
user652649
8:29 PM
markup for a list (one or more) of i.imgur.com/jazNKth.png
 
I don't think I understand it yet; I just need more exposure/examples/experience with it
 
user652649
looks legit to you?
 
behind-the-curtains logic for JavaScript is still esoteric to me
 
say you wanted to dynamically call something but only had a string of it.
var foo = {
  bar: function() { return 1; }
};
var method = "bar";
// how do I call foo.bar() given the dynamic method name ???
^ for Tyler, I know you know Wes ;)
 
user652649
the .GroupBoxList container is there for mere styling purpose
 
8:30 PM
reflect all the things
when reading my code, you'll often feel as though you're looking into a mirror
 
user652649
currently it is :any(article,section,aside,nav).GroupBox > :-webkit-any(header,footer,div)
 
@CarrieKendall because it is beautiful just like me!?!?!
2
thanks! :D
 
complimenting my code? i'll take it ;)
 
user652649
@CarrieKendall when i look at my code i think of rehab
 
when I look at my JS I am happy. when I look at anyones HTML I am annoyed, when I look at my CSS I laugh at how much it bothers @ZachSaucier
no consistency either.
some places use px, other em, some places use hex, other rgb
:D
 
8:32 PM
I decided to scrap your CSS wholly BTW
 
thats okay. I probably won't use what you show me, but I will look over it and see where I might improve
 
I try to write my CSS in the most predictive way possible; for me code is successful if it doesn't work until 10 years after deployment :-D
 
honestly, for larger stuff, I'd just pay one of you guys to do it
I'm not a designer, nor do I care to be one
@mikedidthis I'm on a mini holiday until tuesday
so beer night is any night you want
 
i like to design but i guess i'm not a designer either
i like to play with cool tools, libraries, methods, etc which quite often happen to be design-related
 
@ZachSaucier hey thats really cool!
 
8:37 PM
@Loktar haha, thanks. Shared a while back. Trying to work out the kinks in IE so I can actually use the thing
 
user652649
 
nice, didnt see it before, love the effect
 
only change height/padding of the nav, don't mess with anything else
changing position with animations is always ugly
 
@rlemon Friday is still good for me, even better if you can start earlier :D
 
heh I've actually been messing with animation positions all day
finally got the offcanvas menu sliding nicely
 
m59
8:41 PM
dang, dangitty, dangit
 
user652649
sup
 
m59
I finally settled in on SASS and it hath failed me.
SASS doesn't have import-once
that's insane.
 
$modules: () !default;
@mixin exports($name) {
  @if (index($modules, $name) == false) {
    $modules: append($modules, $name);
    @content;
  }
}
lol.
 
@Loktar Doesn't play well with scrolling xD might want to make the off canvas nav fixed
 
Less imports once
@ZachSaucier yeah thats the next task
 
m59
8:43 PM
@Loktar exactly. It should just be native
 
just getting it to fly in was my goal today
 
m59
import-once is way better than the other
 
@Loktar what am I looking at?
the navbar?
 
resize it to a smaller size and then yea
the toggle button will appear
waiting on a new logo image from the designer
thats why the header squeezes weirdly currently but that will be fixed with the smaller logo image
 
by the way, Loktar, adding "Menu" by the hamburger icon gets a lot more usage
 
8:44 PM
eh I don't have control of the design unfortunately :?
 
I recommend it for all websites not focusing on younger people
xD
 
I'm just remaking the designs they gave me... like for example the dropdowns SUCK
I hate drop down menus with sub menus and so many options
 
I actually don't mind the dropdown
 
usability nightmare imo
 
they look okay
 
8:45 PM
@rlemon you're not a designer xD
 
@rlemon if you look at that site.. and all the options
thats my complaint really
 
user652649
@mikedidthis github.com/WesNetmo/neon-css/blob/master/docs/BoxGroup.md check this out when you have time, mainly about naming
 
I don't mind the dropdown.
 
yea, I also don't like the nested
 
and the sub menus lol look at our current site
 
8:46 PM
@Loktar ya, no focus
 
@ZachSaucier I did lead a SQA department for ~5 years
 
there is no indication of submenus even
I added the indicator because I couldn't take it.
 
I'm probably actually more qualified than you to judge a website ;) as funny as that is
 
@Loktar I prefer this one (just glancing at it)
 
user652649
id' rather not using Box but instead Frame, which sounds less generic
 
8:46 PM
but I do agree the menu sucks
 
what what do you mean?
 
user652649
also box is used by widgets like checkbox and could be confusing
 
prefer the main one I linked, or mine?
 
@ObiWanWesabi apples and oranges.
 
@Loktar ouch
 
8:47 PM
they should look almost exactly the same, I just have indications of submenus at least
 
@Loktar main one, more visuals showing what user should do. Yours has too much text ATM
 
ooh yeah one sec
 
yea that menu without indicators is horrible
 
user652649
@mikedidthis i thought you were one that used to spend days naming css classes :D
 
thats the page we are turning responsive :P
 
8:48 PM
Ah
 
its not my page or anything just a random page we are testing it on
 
so they weren't the same page
 
@ObiWanWesabi nope, that shit got tired quickly :D
 
no, was just illustrating the horrendus menus on the live one
 
@ObiWanWesabi I would imagine Boxes would also make sense, but then the Box class confused me.
 
8:49 PM
@Loktar sizzling summer sales, yay \o/
 
haha
 
(removed)
 
they are a good company and pay the bills, just need some TLC on their pages
our main company page isn't too bad imo, infogroup.com
 
I don't see any hamburger icons
am I going blind
 
eh actually it is a bit bad nm
the drop shadows on the dropdowns suck
 
user652649
8:50 PM
.BoxList.GroupBoxList .Box.GroupBox
.BoxList.PanelBoxList .Box.PanelBox
or
.FrameList.FrameGroupList .Frame.FrameGroup
.FrameList.FramePanelList .Frame.FramePanel
 
@Loktar we work with a company that pulls in almost $200M a year, their website is unusable broken
 
haha yea true
you showed me it
 
stackoverflow.com/questions/24840471/… been waiting days to close this one (had a bounty)
 
@Loktar ohh there are many
@Loktar necousa.com this one.
 
@ZachSaucier cherry popped
 
8:51 PM
yup thats the one I saw
so bad...
 
NECOUSA dryers is HUGE, the parent company is HUGE-ER
 
@ZachSaucier I thought you couldn't close a question with a bounty
or is it just open bounties?
 
like hundreds of millions in revenue. hundreds of employees
 
just open - hence why I had to wait
 
think someone could hire a dev?
 
8:52 PM
flagged as OT, at least
@rlemon do they know they need one?
 
@TylerH mods don't close bounty questions too often - want people to get the bounty first
 
go ahead and just randomly pick a website from that dealer list
9/10 are poor.
and the 1/10 decent one still isn't very modern
(neither is our site I know.)
 
@rlemon gods, 4 of those are awful, the other 2 are bad/not good
of the first six
 
@TylerH scroll down
there are more
 
8:54 PM
no thank you X-P want to save my eyes
 
damn, I have a typo on the web link
 
I mean honestly, agri.chiefind.com/default.asp designed for the 800x600 resolution and none others
 
@rlemon LOL ouch
that site looks like its out of 2002
 
@ObiWanWesabi I found the problem: in IE it takes into account the parent's perspective when doing js calculations jsfiddle.net/ChhUn/3
 
bye all; thanks for the JS help
 
9:02 PM
Anyone know how to fix it? ^^ in IE (any newer one) it calculates the mouse position wrong. It should be (0,0) at top left and (300,300) in bottom right
@TylerH a couple minutes late by my watch. See ya
 
user652649
tried using transform:perspective ?
 
that only works in webkit correctly. The rest we have to do some iffy stuff stackoverflow.com/a/24899875/2065702
I'll try it tonight to see how cross browser friendly it is
 
user652649
@ZachSaucier jsfiddle.net/tCxbE
 
user652649
you probably need to sort out the scrolling offset tho
 
@ObiWanWesabi that's still not giving the correct mX values...
 
user652649
9:11 PM
it's because it's doing it also outside the red box, no?
 
user652649
it gives correct values here
 
user652649
0 to 300
 
user652649
msie crashed
 
user652649
NO WAY
 
9:15 PM
hah
 
user652649
for normal use it isn't that bad now
 
user652649
but developer tools suck a lot
 
user652649
still crashing massively
 
jsfiddle.net/tCxbE/3 seems to work for me
I'll just go with that
can still use the perspective property as well
thanks @ObiWanWesabi :)
 
user652649
cool :D
 
9:29 PM
turns out the transform origin is still messed up in IE xD I'll fix it after we play some volleyball (yay vacation!)
 
user652649
ha :D have fun
 
10:26 PM
Is there a way to compare the current date to a date in a mysql field?
So far I've got CURDATE() >= startdate but that doesn't seem to work. startdate is written in the format yyyy-mm-dd and is stored in a date field.
 
10:41 PM
nvm I think that does work
 
 
1 hour later…
user652649
11:49 PM
@joshhunt compare how?
 
user652649
like single days or spans of months?
 
user652649
!!google mysql datediff
 
user652649
check these links
 
Thanks, just gotta do some tests but I think it is working now
Tried reading the docs but there is so much info and a lot of it isn't clear to me
By compare I mean compare days, so if today's date >= startdate it would return that row
 
user652649
11:59 PM
you don't use >= that way
 

« first day (456 days earlier)      last day (3332 days later) »