« first day (1917 days earlier)      last day (3049 days later) » 

12:17 AM
don't support IE 8. It's a bad decision.
 
They sent the EOL notification recently anyway
It's valid to say no
 
It's too old and even slow-updating environments are nearly free of it. MS is dropping security update support for it in 2 weeks.
And it's not even ES5. it's EcmaScript 3 and sooo broken.
it'll limit the amount of pre-written JS code you can use dramatically.
If you don't have the power to make that call yourself, you should be making that case to whoever does.
 
caniuse.com says IE8 usage is 1% of browser usage globally
 
Every time you hear about a PC having IE8 you need to openly mock them.
Have an IE8-tervention.
 
I want a RegExp that matches any n-digit number, except 19001949, is that possible?
 
12:30 AM
Does it have to be the RegExp or can it match, then check for the number?
@rlemon ping ping
 
bout time mofo
 
I just saw the notification lol
 
what will "controls" contain
and what will go in the map cells
 
So, since it's text based, not graphics, I was thinking that the map will be like a radar, with you in the center
 
@SterlingArcher has to be a regexp
 
12:36 AM
For zombies, nearby humans will make noises. Their bearing will flash red, more intense the closer they are in an X radius
For humans, I'm not sure yet
 
@phenomnomnominal ^(?!19001949)[\d]{8}
 
The controls I guess would be map actions. Attack human, ressurect zombie, attack zombie, build barrier, etc
 
where 8 is n
 
n can be 1-infinity
 
just concatenate the n in then
 
12:40 AM
/[^\D19001949]/
 
@SterlingArcher will you have an inventory?
 
@rlemon for humans yes.
I'll make that like a link to a modal or something
Inventory will need space, so it's own window probably
 
This is why I'm stopping designing for mobile. It will need too much screen space for anybody to enjoy it without a keyboard and a decent normal screen size
 
Hide the sidebar on mobile
Use gestures instead of keys
 
12:42 AM
Sidebar has critical things for players. Event logs will be crucial
 
@SterlingArcher this matches literally nothing
 
@SterlingArcher i.imgur.com/PqzrIuy.jpg
mobile mockup
 
Put the event log in a ticker on the bottom or something
 
And the squiggle is event log area?
 
yea
it is a tabbed menu
 
12:44 AM
@rlemon I will literally hire you to build that for me
 
events / controls
this is mobile first
as you expand view-area you move shit around
so they don't tab anymore, they stack
it is a shitload easier to make a mobile interface look good on desktop than making a desktop interface look good on mobile
 
So design on the phone first, then move up?
 
yes
 
That's the hard part.. I have to pull to my server to test on my phone :(
I may need to simply scrap my current design. The css is so messy
 
chrome has mobile emulation
 
12:46 AM
No fucking way
 
f12, ctrl + shift + m
I'll build you that interface
but I need to see a working version of the game so I know what kind of events / controls / crap you wanna see on it
 
@SterlingArcher so tomorrow it is then !! ?
 
So basically just add game stuff to the shit I have now?
 
yes
make it work ugly.
 
@Abhishrek unless insurance calls me back and i lose my car to the shop, yeah!
 
12:48 AM
html and css can always be changed
server -> client crap needs to work
 
@SterlingArcher we will still have My friend's dad's car :P
vOv :D
 
Ok yeah, cause the functionality wont change, just the event binding will
 
Also if you lose your car you have more reason to drink!
 
@Abhishrek word up!
 
@SterlingArcher word up ?
 
12:49 AM
@SterlingArcher I always like to look at this like building a mini API for myself to use
 
I suggest you do as well
build yourself an api to run your game from any interface
then I'll make an interface :D
 
What does that mean ?
 
!!urban word up
 
@SterlingArcher word up I comprehend what you are saying and verify that your statement is true, my good brother.
 
12:52 AM
lol
spot on
 
Seriously, right? Best definition ever
 
!!urban "word up" 2
 
@rlemon No definition found for word up 2
@rlemon word up I comprehend what you are saying and verify that your statement is true, my good brother.
 
In this example‌​, assign takes a URL as argument, but the purpose of assign is to take pathname as argument right?
 
do not learn from w3schools
 
12:53 AM
Hmm. I'll have to design my API then. I've only done login sessions and character creation thus far
 
but all of a sudden things make a lot more sense about your questions
..
 
host: "github.com"
hostname: "github.com"
href: "https://github.com/"
origin: "https://github.com"
pathname: "/"
 
and every response IS technically JSON sooooooo I'm on a roll
 
w3schools is basically the AIDS of webdev
 
can we set the bot to autokick anyone who links w3schools
 
12:54 AM
SO answer also says the same.
 
w3schools is outdated and often wrong information. just don't go there. use MDN instead.
It's just there to get clicks and ad revenue
 
@overexchange problem with w3schools isn't that they are always wrong, it is that they are often wrong on little things, and often show bad coding practices or omit other important data.
as someone learning, you don't know what is a bad thing and what you can take as good
 
> The Location.assign() method causes the window to load and display the document at the URL specified.

If the assignment can't happen because of a security violation, a DOMException of the SECURITY_ERROR type is thrown. This happens if the origin of the script calling the method is different from the origin of the page originally described by the Location object, mostly when the script is hosted on a different domain.

If the provided URL is not valid, a DOMException of the SYNTAX_ERROR type is thrown.
 
so it is better to use a public wiki like MDN
think of it like this, w3schools is closed, and is wrong 3/10 times, MDN is public and is wrong MUCH less than that, and when it is wrong it is quickly corrected by the community. meanwhile w3schools sports a long standing history of being slow to correct mistakes/omissions
which sounds like a better resource?
 
W3schools uses inline event handlers in their examples
That's all you need to know
 
12:58 AM
@SterlingArcher front end libs. hammer.js and possibly GSAP if we want any animations?
hammer.js is for touch/slide events
 
@Quill display the document at the URL specified ? If current value of href is "https://github.com/" then location.assign("expects a path name ex: rlemon") but not URL like www.google.com
 
!!tell overexchange mdn location.assign
 
hammer.js?
 
@SterlingArcher google it
 
1:01 AM
ahhhh
are native touch events too tricky?
It should be a simple left right up down event, is that worth a lib?
 
@SterlingArcher pain in the ass
like Dates
 
ah, moment
"it's just worth it"?
 
think things like, swipe left / right to open menus
 
swipe up / down to close modals
shit like that
 
1:02 AM
This is why I'm not a web designer lol
 
> When the assign(url) method is invoked, the user agent must run the following steps:

Resolve url, relative to the API base URL specified by the entry settings object and let parsedURL be the resulting parsed URL.

If this is not successful, throw a SyntaxError exception and abort these steps.

Location-object navigate to parsedURL.
@overexchange this is the spec
maybe it will help
 
@rlemon so what are your rates/requirements?
 
and I URGE you to refer to the spec / guides like MDN when researching these things
 
I'm not making you work for free :P
 
@SterlingArcher lets make a fun game?
I'm not interested in money
 
1:03 AM
sex?
 
I wanna see what rouge looks like (with her clothes on ofc :P)
did you ever show me?
 
Probably not, I have no pictures lol
 
she on social media? snag a pic from there? idk
 
Lemme see what I can do lol
 
you've been "seeing" her for a while, I'm curious what she looks like
all I know about her is her hair colour, her occupation, and a bunch of stuff I probably shouldn't know :D
 
1:05 AM
LOL
She's dying her hair actually, so it probably wont be red when I take a pic for you
maybe like a darker red
 
:O
but red hair is the best hair
 
inorite
 
*on women
 
multipass?
 
I'm so into redheads :D gf tried it, doesn't like red hair on herself.
@Luggage Lee Loo (?) omg.
 
1:07 AM
LOL
 
2.9
 
I need to do some planning
 
hit me up if you want any help
I'm just sitting here having some beer and watching TNG
 
The Next Girl?
Lemme hop on G+
 
S4E25, data is macking on some girl.
so actually, yea
 
1:09 AM
He's fully functional.
 
@rlemon Its a sad episode
 
I know
 
@Luggage thats from season 1 with tasha yar or with the borg queen in first contact
 
he becomes fully functional a few times
 
this is like my 5th pass on netflix. probably 15th watch through total
 
1:10 AM
calling
 
@rlemon around same x)
did you watch stargate too ?
 
SG1 I have on DVD (full box set)
SGA I have dl'd
SGU I don't want to discuss because fuck SGU
 
@Luggage I can't tell you how many times I've objected to it, and get overturned by my bosses.
 
@rlemon good fuck SGU, or bad fuck SGU?
 
Ehhh.... SGU was entertaining, but yeah, it was bad and was cancelled before it had the chance to even get good lol
 
1:12 AM
Object to, or lay out a case?
 
@phenomnomnominal SGU was an abomination
disgrace to the StarGate franchise
like the 3rd movie
 
It had no chance to not suck. If they weren't stuck on some ship, the'd be on earth where they have been given all the technology of the asgard at the end of Atlantis. That's a stupid situation for a show to be in.
As if keeping the existence of 3+ intergalactic starships from the public wasn't ridiculous enough.
 
Man, custom elements + shadow DOM is amazing... this lib that I'm writing (that's for personal use) makes html so much better
 
!!youtube sleepwave the wolf
 
1:16 AM
@Loktar @GNi33 @BenFortune
 
<ui-tree>
	<ui-tree-folder data-name='Root'>
		<ui-tree-file data-name='Hello World'></ui-tree-file>
		<ui-tree-file data-name='Foo Bar'></ui-tree-file>
		<ui-tree-folder data-name='I am a folder'>
			<ui-tree-file data-name='Wat is luv'></ui-tree-file>
			<ui-tree-file data-name='Pls'></ui-tree-file>
		</ui-tree-folder>
		<ui-tree-file data-name='Lorem Ipsum'></ui-tree-file>
	</ui-tree-folder>
</ui-tree>
 
We have two unit tests that fail based on the time they run...
 
lol
 
One of them fails between 7 and 8pm
the other fails at 13 minutes past any hour
FUCK
 
write tests for your tests
 
1:19 AM
need tests for my coworkers
 
expect('it to not be between the hours of 7 and 8 pm')
 
there's a codeless code one like that
something about timezones
!!/youtube right to rise wilson
 
> var prototype1 = Object.getPrototypeOf(location);
     undefined
> location.hasOwnProperty('assign');
     true
> prototype1.hasOwnProperty('assign');
     false
> var prototype2 = Object.getPrototypeOf(history);
    undefined
> history.hasOwnProperty('go');
    false
> prototype2.hasOwnProperty('go');
    true
 
i'm using express.js and i want to know if i can actually use router.get('/*', function(){}) twice in teh same code or note
 
1:34 AM
hasOwnProperty is overrated
'foo' in myObject is what the cool kids do
 
@JoeSaad context?
 
@JoeSaad No
just call a function with your other stuff inside of the first one
but you're probably overwriting it if you have it multiple times
or express might throw an error
 
Owned property is different from enumerable attribute(foo in myObject) of a property
 
not always
 
What is owned property? Am not sure. as per the above examples using history and location.
 
1:39 AM
i'm having a list of callbacks where i put them all in promises.. promise.then().then().then() ... in my last then, i just want to render the jade file, however the router.get() doesn't work again ...
the problem is that it is not giving me any errors, it just doesn't go inside it anyways
 
Because History class owns go property where as instance name location owns assign property
 
!!> [].hasOwnProperty('hasOwnProperty')
 
@Meredith "false"
 
!!> 'hasOwnProperty' in []
 
@Meredith "true"
 
1:42 AM
basically in my last then() i want to render, and I know i can't render without the res.render() within the router callback... any ideas please!!!!!
 
'hasOwnProperty' in [] - true, says enumerable. But you know it sits in Object.prototype, so inherited property
 
in doesn't test for enumerability
 
what does in test for?
 
If the property is in the object or its prototype chain
 
1:46 AM
!!> 'length' in []
 
@Meredith "true"
 
[].length isn't enumerable
 
Hey I've got a Javascript loop I don't understand if anyone could help out, that'd be awesome.
 
@npav42 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.
 
1:48 AM
This is the codepen: codepen.io/npav/pen/xZXxqe
It works, but I don't know why what for (c in cars) does or how it works.
 
any ideas please?
 
var arr = [1, 2, 3];for(prop in arr){console.log(arr[prop]);} I dont get length property in this loop
 
Correct
 
Are you saying that purpose of for..in is to retrieve enumerable properties where as prop in obj for ownership of property?
 
in doesn't test ownership
It literally just tests if the property is in the object
 
2:23 AM
Is there anyway to have a block element inside a table?
Kind of like this:
--------block--------
---cell---|---cell---
 
Cool ? ^ (on tablet the top bar just goes away)
 
Is that a Windows app?
 
@DemCodeLines works on everything,
the screenshot is from windows
 
2:51 AM
@SterlingArcher now I'm all riled up.
:D
you bastard
 
3:03 AM
I very much enjoy this image
 
3:14 AM
@SterlingArcher the answer was: /(?!.*19001949)[\d]+/
 
user5137948
3:31 AM
What is wrong of this code in Jquery?
 
@Alex 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.
 
user5137948
if(!#idname.length){}  // I want to say if "idname" isn't exist
 
@Alex you haven't actually selected anything
 
if( !idname ) {
is actually valid however
*in modern browsers
 
user5137948
well I want to use .lenght
 
3:36 AM
why
id's are singular
you have 1 or 0
 
@DemCodeLines No you cannot. Table can only have rows. Blocks either go into the cell or go outside the table.
 
user5137948
because I need to check existing (even for old-browsers)
 
my point stands
 
then if ($('#idname').length) {}
old browsers don't exist anymore
 
user5137948
:-)
 
user5137948
3:37 AM
ok
 
@Alex Your code is not jQuery. There is no jQuery in it.
 
MS doesn't support IE<11
So you don't need to
 
user5137948
mersi
 
That's a really bad argument. Sure MS doesn't support it, but quite a few people use it regardless.
 
the argument is that checking an ID shouldn't need jQuery :D
 
3:38 AM
If those people cared about what MS supported, they would have upgraded long ago.
 
about 1% and soon to be less with the recent end of support announcement from MS
They care. I hear it talked about a lot by non-IT people.
 
@Alex And you should ask stackoverflow or google first: stackoverflow.com/questions/31044/…
 
@Luggage Again, the 1% that use it are either not technical or they are forced to use it because their company applications rely on IE-specific feature.
 
Supporting IE 8 is the wrong thing to do.
 
3%, actually, if you count IE 9 and 10.
 
3:39 AM
I don't. IE 8 is special
it's a previous generation and unreasonable to support anymore. IE9 is fine.
 
Well, IE 9/10 is becomming special like IE 8 now.
Even 11 is heading that way.
 
Yes, and that's the right thing.
 
Indeed
 
but as a programmer, I can work with 9. it's at least ES5
 
Me too. Well, depending on the job ;)
 
3:41 AM
a few polyfills and maybe a transpiler and you can use modern JS on ie9
not so with 8
 
How about Edge?
 
What about it? It's the current gen and auto-updating like chrome. what's not to love?
 
I just delivered a site for UAT that use flexbox, server sent events, and notification api.
 
Als, in some ways it's ahead of chrome in ES6 support
 
Biggest problem with Edge is that it has no extension, no ad-blocker.
Otherwise it is fast, it is light, it has arguably best ES6 support, and I think it got great UI.
 
3:43 AM
@DemCodeLines spending more than 1% of the time to support 1% of the people is dumb. If you can support them without spending more than that, go for gold. In general, I've found you can't.
 
IE8 is what the nazis used.
ISIS upgraded, though.
 
I am not saying you should support them, simply saying that just because MS doesn't support anymore doesn't necessarily mean all those people will move.
 
No, but new development should not target IE8.
If someone MUST use IE8, theny'll need a VM so the rest of the world isn't locked into 2004.
 
@DemCodeLines I didn't think people should support them BEFORE MS stopped supporting them. Now there is just one more reason.
 
@DemCodeLines And if you keep supporting them, they will never move.
 
3:46 AM
Chrome.. for then you can't update IE.
 
My policy is simple. I let the client know it is expensive to support them, which is true. A few of them reluctantly pay, because they really really need it on IE 8. Most don't.
 
IE11 in quirksmode
 
Ney. Even MS said screw quirk mode, we will remove those code and that is enough to make a new browser.
 
removed in ie11 or just edge?
 
user5137948
Why stackoverflow doesn't let us to mark (for copy/pasting) text from the output-emulating (under that textarea for writing answer/question)?
 
3:51 AM
Edge.
But I think they may have better done that with IE 11.
 
so that's fine. ie11 is still usable on a lot of old sites with compatibility settings
 
So they claim. Which is true... but their claim is based on enterprise features.
 
Well, my points is it's often possible to be pretty up-to-date if you have a competant IT department to make sure you are set up right.
IE11 should make everyone happy for now.
the corporate people with old apps to support, i mean
 
Let's ask DemCodeLines whether his / her site will be browsed on a well controlled corporate network with a competant IT department.
@DemCodeLines So, do you think you can give up IE 8 and use IE 11 quirk mode instead? Because if you can, you may get it delivered faster by not using quirk mode!
 
4:02 AM
As a developer and designer, at some point you have to decide what's more important: availability to everyone with decent UX or great user experience to decent amount of people. In this day and age, significantly more people are familiar with technology and choosing the right browser for themselves than they were a decade ago. So...
 
Wow. That's a good answer. XD
Why, then, there is still not much people use Android Firefox >_<
 
and IE 8 is so far on one side of that spectrum that it's a choice that makes little sense anymore
less capability, ahrder to developer for and debug in and a small and shrinking market share
 
Looking good ?
the Woo BOo part houses menu controls and stuff
 
IE 8 may be far in the long tail, but the tail is still longer. Those who are still on IE 8 (or before!) is very unlikely to be moved.
 
looks good. what are the tabs?
Not in my experience. Hospitals are finally getting off their asses and stamping out the few remainiang ie8 machines
and deploying chrome, in several cases.
It's rarely encountered.
The reason new development should not target IE 8 is that those machines should not exist anymore and instead of paying to update machines (or just install a chrome) they are paying a develoepr to waste his or her time.
It's a costly stupid move and happens because people don't speak up.
 
4:11 AM
Hi everybody ;)
 
@CUZPAINIDSFN 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.
 
Only windows XP can't get newer than 8.
 
i thought xp could get ie9
 
@KevinB Nope. XP = IE 8
 
That's what i said.
ohh, i see. missed a message.
Option A: cripple new development with an IE 8 requirement. Option B: Install chrome on the one remaining XP machine.
XP is older than most cars on the road
 
4:16 AM
I thought Chrome said that they won't support XP. I see that they extended the deadline XD
 
who still uses IE8 ?
 
No one.
XP is older than Justin Bieber
 
Good question. None that I know of, really. Not even my China friends, the last holdouts of XP.
 
why you're talking about it then :D
 
my boss did for a really long time. then one day he left his laptop on while out on vacation so we updated it for him
 
4:18 AM
we were talking about IE 8 and I was pointing out that only windows XP is so old it can't install newer.
 
it was a running joke, he'd say our apps look like shit, and we'd blame his browser
 
@Luggage Not that old. XP is Aug 2001 which makes it only 14 years old. Not even an adult yet.
And IE8, the main subject, is Mar 2009, around the age of a cute little child in (our) early primary school.
 
for me i only do IE10 fallbacks in my apps
anyone here is into hard functional programming ?
 
I quite love Lisp when I was in university. But then I got a Java job.
 
4:26 AM
okay, you're not doing JS front and back end ?
 
Hmm. Those god damn brackets must have influrenced my coding style.
My title says I am an analyst. I am not supposed to do much frontend work.
 
They get into your head and leak out of your face in the form of a beard.
 
Indeed XD
Why is it that our web developer failed to optimise his HTML5 banner and I stepped in and improved the image quality by two grades in the same size budget, when that is not supposed to be my job, can only be explained by that I am a sheep not a human.
While we are talking about this... do you guys and gals studied / use UML?
 
studied, yes, use no.
 
ok.
 
4:37 AM
@Luggage editor stuff
The tabs can be either flow editor or you can write code there too / or use VPL inside the nodes of flow
That gets deployed to your local network ... Cool and fast way to prototype IoT ( bonus is it debugs in place so when debugging you can debug the entire project deployed on multiple devices as if it was a single machine )
 
4:57 AM
@Sheepy tell your boss to hire me remotely ? Should completely make you analyst ;-)
Add-on you can always say hey boss I analyzed that our web developer sucks !
 
 
It's hard. The best dev we worked with went to play music. The second best dev is now doing wedding makeup. I may give up programming once I get a child, too......
 
5:20 AM
Another problem they once have is Chrome's font size limit. We developed a dynamic map, but client want smaller text than the limit. Frontend team says impossible.
Solved that by applying a scale transform.
 
lol @Sheepy there was a lil better option than that
canvas :P
 
No way. They will have to redo the whole map.
Compare that with a simple one line style and a similar adjustments to server side code.
 
5:46 AM
@Sheepy well true :3
I was obviously joking, although maps api itself has canvas layers or something iirc
 
6:02 AM
Hey! Firefox 45 got class and subclass! Its ES6 support climbed ahead of Edge at 85%! kangax.github.io/compat-table/es6
Features are very similar. Firefox class not as complete as Edge but it support basic stuffs like default param and destructuring.
 
 
1 hour later…
7:08 AM
o/
 

« first day (1917 days earlier)      last day (3049 days later) »