« first day (1622 days earlier)      last day (3312 days later) » 

2:00 PM
@GNi33 I like it for some stuff, I prefer docker/lxc for other stuff
 
yeah, docker is next on my list
 
@JanDvorak canvas is pretty trivial. webAudio I imagine isn't that bad (albeit never done audio)
 
if you use drupal, I can share you some stuff :P
 
@JanDvorak well, the feature detect functions are all here -> github.com/Modernizr/Modernizr/tree/master/feature-detects
 
function isCanvasSupported(){
  var elem = document.createElement('canvas');
  return !!(elem.getContext && elem.getContext('2d'));
}
 
2:01 PM
@Phorden don't
 
Modernizr just puts some other fancy stuff around it, like providing a global object for checks, it runs checks and puts classes on your page, if you want it to
not sure if it does anything more than that actually, it's fairly simple
 
function isAudioSupported(){
  if( 'AudioContext' in window ) return true;
  if( 'webkitAudioContext' in window) return true;
  .....
  return false;
}
 
:-D
That doesn't seem too bad :-D
 
yeah i did something. Gonna have to try it in my game.
Trying now in Safari
 
@rlemon var isAudioSupported = () => ['webkit', 'moz', 'ms'].some(x => (x + 'AudioContext') in window)
the always-forgotten some/every need some love
 
2:07 PM
@FlorianMargaine var isES6supported = `I guess so` || false
 
@ssube Dont' why?
 
@Phorden Because Backbone.
 
Not learning it for fun. Trying to learn if for work.
 
There's not much to learn, because it doesn't really do anything.
Your time is better spent avoiding it and/or using a different MVC framework.
 
syntax highlighting on miaou \o/
3
 
2:09 PM
@FlorianMargaine Also add the empty string?
 
medium.com/cool-code-pal/… am I the only one who thinks this is a terrible and misinformed article?
 
@KendallFrey true. My bad.
 
wait wat
 
@ssube Again, not because I want to. There are several major projects that the company I work at uses backbone for. I need to know it.
 
JS replace Node?
 
2:10 PM
Hi, does anyone know how to set height and width of a jQuery UI draggable clone ?
 
@oneandonlycore 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.
 
yea, I WTF like 100 times in that article @KendallFrey
 
> Node.js has come out on top in the JavaScript framework wars
eh
 
@oneandonlycore have you tried just setting the CSS style property?
 
@BenFortune what?
 
2:11 PM
@GNi33 Exactly.
 
Node doesn;t have an updated V8, therefore Node = no
or something
also joyent
 
> At the time of writing this, Node.js is now only 70.4% JavaScript. And not only does it now have C++ and its predecessor C (which is basically like running your app on 2 versions of Ruby, for you Ruby developers out there), but Node owners, Joyent, have also injected an unknown language called “Other,” threatening the maintainability by developers outside the company.
WHAT?
 
if node = no then de = nothing
 
> does it now have C++
WHAT ?
 
@JanDvorak yea .. ive defined it in a css class and tried to manipulate the height and width within the draggable start event
 
2:12 PM
@KendallFrey I have German heritage, and that's offensive
 
what the hell does this guy think node is?
 
yea I was just facepalming in the HTML room over this article
 
@NickDugger I do too, so suck it
 
had to share here
 
2:13 PM
> have also injected an unknown language called “Other,”
That part got me
 
God, the title is bad enough
 
apparently the author is a known troll.
in HTML / CSS / WebDesign, 3 mins ago, by Stephan Muller
I do not understand how you got that far without realizing she's a troll
in HTML / CSS / WebDesign, 2 mins ago, by mikedidthis
tbf it took me a while. As soon as I saw the authors name, I closed the tab.
 
yeah, I was hoping this was a troll article
 
> Yes, I forked jQuery
 
pretty much everything has to be a joke in there
 
2:14 PM
This guy can't even
 
Wait... there is so much wrong with the article, it has to be a troll
is Medium whatever not a troll site? If not, this article is out of place, because it has to be a troll
 
yeah, after reading some more paragraphs, it clearly is
okay, we can move along. nothing more to see here
 
How do you logout from npm? I did a npm login and now want my credentials to be NOT stored on this PC
 
if you still want to be offended though -> have fun
 
2:17 PM
@RoelvanUden delete something in ~/.npm/
 
@FlorianMargaine I presume it's the .npmrc file?
 
@RoelvanUden maybe, open the files, see if it's relevant
 
Looks like there was some kind of pass (obfuscated), let me try it out.
Yah, that was it. Thanks!
 
How does arrow syntax handle this scope?
 
It's like a function().bind(this)
 
2:24 PM
Nvm
 
Glad I could help. :-P
 
:P
My brain decided to skip a paragraph
 
@FlorianMargaine coldfusion is the bees knees man, you have to pay for a license. That means it's awesome!
If it costs money, it's quality. Tell THAT to Haskell.
 
MS Frontpage > javascript
 
Brunch > MS Frontpage
 
2:32 PM
Throwing up after brunch > Brunch
 
Throwing up before brunch > applesauce
 
Throwing up after fun night out > throwing up before brunch
 
I fucking hate this god damn touch pad.... as I'm trying my hand brushes it and changes window focus.
hot damn it is annoying.
 
@SterlingArcher That's called enterprise.
 
2:46 PM
more like enterPRICEY
 
I did some changes on the master branch, then checked out to mine and it asked if it should stash my changes. I clicked yes, and it rolled back some of my progress. If (how?) I apply git stash apply, is it going to get my work back?
 
yes
 
Are you using SourceTree?
 
@SterlingArcher What is source tree?
I'm using smartGit
 
its a program for git, but nevermind
 
2:49 PM
SourceTree fo life
 
we use sourcetree at work it's pretty awesome
Except when you have a huge commit. It crashes and you have to do multiple smaller commits
 
@SterlingArcher yeah same here I use it personally and introduced it here at work
 
can someone please tell me if this course is still relevant
 
its so much better than visual studios built in git handling
 
So, better than the smartGit? Better than the console?
 
2:49 PM
@lovetolearn eh
@StevensHaen cli is always king
 
> Released 19 Feb 2013
 
but sourcetree just simplifies a lot, its branching view is really nice
 
It's 2 years old now, but I'm sure a good chunk of data hasn't changed
 
@Loktar You could abstract this to pretty much any "X is so much better than visual studio's built in Y handling"
 
@GojiraDeMonstah 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.
 
2:50 PM
@Loktar .... until I have to do DB admin. then it is CPanel all day errday son
 
@rlemon haha
yeah I <3 cpanel/whm as well :P
but as I move away from standard lamp stuff its less and less useful to me
 
yea, node/nginx/Postgres I'm all cli now
:sigh: forever.js is super handy, but if you have a handful of instances running and all of them have a server.js it gets a little confusing :/
 
that screenshot is just a random ass one I found of sourcetree btw
@rlemon I assign different screens to each one
 
forever list
/usr/bin/nodejs server.js
/usr/bin/nodejs server.js
/usr/bin/nodejs server.js
/usr/bin/nodejs server.js
THANKS FOREVER!
 
lol
 
2:53 PM
nahh just killed em all and restarted the two I needed up
 
@Loktar I just love that we are introducing a git deploy service into our workflow
Which i love so much because it forces our development servers to be exactly up to date as production, including dev/prod switch statements in the application code
SO NO MORE FTP BABY!
 
@SterlingArcher hah yeah anything is better than having to FTP files for sure
 
I wish we were advanced enough to use a real deploy workflow... for now I have settled for develop and build repos for each project. The builds are either mini / ugly / obfuscated .js, or occasionally C# binaries.
 
When I do Local > Apply stash in SmartGit I get Stash failed (return code 1) Unable to refresh index w/ and w/out the index checkbox checked.
 
2:58 PM
@Loktar DONT YOU KNOCK MY WORKFLOW!
 
lol
 
I had heard the conventional wisdom about never never never ever keep binaries in your repos unless you absolutely had to, and then be ready for pain, but as long as you're overwriting and not trying to merge (which is impossible to do pragmatically) I haven't been bitten yet.
Interesting take on binaries in repos here --> softwarewhys.wordpress.com/2010/07/17/…
 
with is this always false:
"ember-view" in node.classList
 
@GojiraDeMonstah it causes too much data usage
 
when [0] === ember-view
 
3:00 PM
Couple quick questions about AngularJS's $cookieStore...
 
@JanDvorak Yes, if data usage is something you need to optimize for.
 
@Loktar but really. teach me!
 
1. why would they not have included cookie expiration? 2. what is the need to have cookie management in angular/$scope?
 
we need to get on hangouts, you and I, and I'll order you a pizza, and you can teach me proper workflow
 
@rlemon eh I dont know anything abotu continuous integration coworkers set that up always
 
3:01 PM
Internally, just trying to keep dev / test / qa servers up to date, I'm finding it easier to do a pull than FTP or similar.
 
but yeah I can show you my front end workflow
 
@Loktar well then invite a co-worker over for a pizza party!
 
haha
so I finally started using tmux
and it dings!! I love it.
 
really?
 
screen never dinged at me via ssh
 
3:02 PM
I'm thinking of ditching Unity
 
@rlemon yeah dude, I've never had an ssh session ding
 
I just need a good tiling wm
 
@Loktar started tweaking the conf yet?
 
wondering if I can setup a ding when my name is mentioned on irc
@ssube haha no just launched it pretty much, watching some tut vids
 
3:03 PM
export {Class}; is compiling to exports.Class = Class;. Anyone know how to get it to module.exports = Class with Babel?
 
module.exports = Class
lol
 
K... seriously... I've just witnessed a web page confirming a successful login by firing a g***darn alert...
 
Kill it with fire
 
@rlemon What?
 
dude, module.exports = Class works.
class Class {

}
module.exports = Class
 
3:05 PM
@Loktar lemme grab the gist with my conf
 
translates into (snipped)
var Class = function Class() {
  _classCallCheck(this, Class);
};

module.exports = Class;
 
@ssube duuuude I an have a pane with nicklists for IRC
 
@rlemon I wanted to use the ES6 export though.
 
this is really cool, way better than screen
 
@ssube awesome thanks
 
changes the hotkey to ctrl+a
 
have a meeting one sec
 
Got it anyway
 
export class Class {

}
 
3:06 PM
export default Class;
 
var Class = exports.Class = function Class() {
  _classCallCheck(this, Class);
};
 
@rlemon That works too, thanks :) I prefer my exports at the bottom though
 
yea that is just moving shit around ;)
 
user4330208
proof 3 digit hex rocks
 
3:09 PM
blarg people breaking my code :(
 
Your code broke on itself
 
that's highly likely
 
Thoughts: Yarp, that be JS.
 
Thoughts: that is more code than I expected. [x]
 
3:18 PM
Thoughts: What will I have for dinner tonight?
 
Crab Cakes
 
stackoverflow.com/questions/29281986/… "I am looking for a trick to put my website in fullscreen mode without human interaction."
Good luck xD
 
user4330208
That sounds difficult.
 
It's not possible
 
"Press f11 to win the internet".
 
3:22 PM
Well, he could train a monkey to hit the "fullscreen" button, removing the "human interaction"...
But that'd be cheating
 
user4330208
Couldn't he just create a new broweser and make it look like chrome so when people download they think they getting the real thing but its really his virus full screened browser
 
Would training the monkey count as human interaction though?
 
@BenFortune: Damnit, yea.
 
user4330208
With a virus, anything is possible.
 
3:36 PM
why does w3c make so many of these special dumb arrays that we have to convert:
var dArray = Array.prototype.slice.call(mutation.addedNodes);`
 
user1596138
@SuperUberDuper Context?
 
@Jhawins ^ this
 
he doesn't like the fact that nodeLists are not arrays and therefore do not have their methods
 
user1596138
Actually I meant "whats the context of this code?"
 
@Cerbrus does it, though?
 
3:37 PM
MutationObserver added nodes
 
user1596138
Oh ok
 
Tbh, I never quite understood the raison-d'être of nodeList. Which magic properties do they have that an array of elements doesn't have?
 
Live updating, iirc.
 
Oh, that makes sense
 
21
Q: Difference between HTMLCollection, NodeLists, and arrays of objects

user1032531I've always been confused between HTMLCollections, objects, and arrays when it comes to DOM. For instance... What is the difference between document.getElementsByTagName("td") and $("td")? $("#myTable") and $("td") are objects (jQuery objects). Why is console.log also showing the array of DOM...

felix does a good job explaining it
 
3:42 PM
Okay, that cleared things up, except for one thing: If we're querying the DOM, how is it possible that a non-Element node would be present? (thus creating the difference between nodeList and HtmlCollection)
 
but they should be arrays :) why not
 
why should they be arrays?
@Kippie comment node, text node, etc
 
I always thought text nodes were elements as well
 
so we can work with them like a pro without having to convert them to be useful like an array
 
Everything should be arrays. Because LISP.
 
3:44 PM
they are the contents of an element
[Constructor(optional DOMString data = "")]
interface Text : CharacterData {
  [NewObject] Text splitText(unsigned long offset);
  readonly attribute DOMString wholeText;
};
@SuperUberDuper so they should do away with two collection types because your use cases doesn't need them?
 
Time to head home. Thanks for the explanation(s), lemon
 
cause I can hardly find much use for them except in most basic tests
 
I need a vacation so bad. My hair is gonna go grey at the age of 22 because my stress levels are so high. Or I can just get drunk.
 
or just eliminate the stress.
 
^
 
3:49 PM
I can't quit my job
 
not saying it is easy, but it is possible.
 
/almostajoke
 
Find a diff one then quit!
 
you can make your job less stressful.
in other news, I hate front end development :D
 
user1596138
@NickDugger you can come watch me do intake gaskets and cuss at pieces of metal. Should be entertaining at first
 
3:51 PM
Everyone should review my resume; docs.google.com/document/d/… -- I made edits to it last night
 
user1596138
Me and Nick both need new jobs... Me and @Nick team up and make the most off-topic / random startup where no one even knows what we actually do.
 
fuck start-ups
 
Should be var nickDugger = new FrontEndDeveloper(), no?
 
@NickDugger that is one.. unique looking resume
 
@Retsam when working with 'classes', I tend to do normal caps
 
user1596138
3:52 PM
@NickDugger we make a start-down
 
@Loktar that bad, huh?
 
> - I Use javascript to develop user interfaces and increase site interaction.
You need to word smith :P
 
fuck, I just wanna go home
 
user1596138
@Loktar At the same time I kinda like the way he worded the second two jobs
 
user1596138
Clear and concise lol mine is too much
 
3:53 PM
eh I think it doesnt sell him hard enough
 
user1596138
> Designed and developed interfaces from client requirements, using Photoshop, HTML, and CSS.
- Designed and developed user interfaces for custom web applications.
 
user1596138
These are the same tho..
 
I can't talk much I havent updated my resume in a LONG time
but resumes are retarded anyway
so archaic
 
user1596138
Shit mine got kinda weird
 
I'll make more edits to it tonight, then
 
user1596138
 
@Loktar heh, I used yours as inspiration at some point
got me my first job out of school
 
yeah that was a looong time ago
like 2011 or 2012 maybe?
 
user1596138
lol don't send that shit anywhere
 
@FlorianMargaine hah nice man!
 
yup... I got out of school in 201... 2?
 
3:55 PM
that was the last time I really revamped my resume lol
 
@NickDugger Wordpress should be capitalized throughout, I think; Javascript should be capitalized in the snippet Loktar quoted, "Clients included: Small businesses, Non-profit organizations, and a university." shouldn't capitalize "Small" or "Non"
 
@NickDugger whats wrong with startups?
 
@SuperUberDuper been there; done that
 
@Loktar since then I'm using a LaTeX resume
@Loktar margaine.com/CV_Florian_Margaine.pdf much better imho, and also much easier to maintain
 
@FlorianMargaine I remember you mentioning that actually.. i was going to look into doing that
 
3:57 PM
maintaining that is a breeze, it's all plain text
 
@FlorianMargaine hah nice, doesn't look bad
 
with some similar-to-html markup
 
@FlorianMargaine none of those are real words
 
only one small issue I see is "langages de programmation" is hyphenated and on the next line
 
a bunch of em have got squiggles, too
 
3:57 PM
but it looks pretty fancy
 
@Loktar yeah LaTeX tries to make it as good as it can
 
user1596138
@FlorianMargaine its plain text? I got a pdf
 
whats wrong with this selector?
'[id=foo],[:not(#Script)]'
 
@Jhawins I generate a pdf from plain text
 
user1596138
Oh latex
 
3:58 PM
hold on
 
oooh I see, makes more sense
 
user1596138
I'm upstairs making coffee so I'm mobile
 
I really need to update my resume at this point
 
I don't have a resume
 
free webinar starting in 2 mins hosted by Oreilly Best Practices and Components with React
 
3:59 PM
Well, at least I will before I next need it. I still have my Highschool Job listed on it.
 
user1596138
I do mine on Google Docs/Drive
 
user1596138
Easy to update/share in real time from anywhere
 
This chart is the only interesting part of my resume, really.
 

« first day (1622 days earlier)      last day (3312 days later) »