« first day (1959 days earlier)      last day (3007 days later) » 

1:02 PM
I opened browser.html inside browser.html :D works like tabgroups in old FF
 
@FlorianMargaine @Loktar have your bowl?
 
@rlemon o/
 
@rlemon omg completely forgot
 
@rlemon can you check hangouts for a minute.
/cc @FlorianMargaine
 
When a function is difined like: var datePickers = function(){ .. } is there a way to call it with the name datePickers?
 
1:12 PM
...
!!> var foo = function(){ console.log(1) }; foo()
 
This is not my code: jsfiddle.net/ga2mmn23/10 but I was wondering if it that is possible. Line 85.
 
@rlemon "undefined" Logged: 1
 
Thanks both!
 
@FlorianMargaine wouldn't it be awkward if we gave conflicting advice :D
 
1:15 PM
@AwalGarg chrome://browser/content/browser.xul in Firefox
 
@Zirak except that it doesn't actually work
 
It sort of does, sometimes, maybe
 
Lol that effect
 
@Zirak the browser.html uses a magic servo preference to disable some parts of same origin policy to make things work
 
1:17 PM
Oh my
 
their scrollbar is so sexy <3
 
@awal noob
using a tp link router when you can use your own pc as one
 
@littlepootis my own PC doesn't keep running all the time, but my router does.
 
I thought you keep it running all the time..
 
you thought wrong, now go stand in the corner
 
1:30 PM
Hello
I have a one question, Can you help me ?
From
[{"BRAND_ID":1,"BRAND_NAME":"TEST 1"},{"BRAND_ID":2,"BRAND_NAME":"TEST 2"}]
To
{1:'TEST 1', 2: 'TEST 2'}
I want to convert like this
How Can I do it ?
 
!!> var arr = [{"BRAND_ID":1,"BRAND_NAME":"TEST 1"},{"BRAND_ID":2,"BRAND_NAME":"TEST 2"}]; arr = arr.map(o => o.BRAND_NAME); arr.unshift(void 0); delete arr[0]; Object.assign({}, arr);
 
@AwalGarg {"1":"TEST 1","2":"TEST 2"}
 
@AwalGarg I am testing it now
 
@Chicharito err, sorry, that's not a very good way :/ I was kidding. Didn't even test it. Please find another method :)
 
@AwalGarg This doesn't work bro
Object {1: "TEST 1", 2: "TEST 2"}
I want like this bro
Can you help me ?
 
1:39 PM
@rlemon <3
 
@AwalGarg Help him out bro
 
@AwalGarg yea bro don't be a dick
 
@mikedidthis 2.9
 
@Chicharito I can help you bro if you can get me a bro job
 
I want to convert like this ( bla to bla2 )
 
1:43 PM
@AwalGarg that's... gay
 
a = [{"BRAND_ID":1,"BRAND_NAME":"TEST 1"},{"BRAND_ID":2,"BRAND_NAME":"TEST 2"}]
b = {a[0].brand_id : a[0].brand_name, a[1].brand_id : a[1].brand_name}

like this?
 
@michaelbr92 Welcome to the JavaScript chat! Please review the room rules. Pleasedon'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.
 
@AwalGarg dude you want him to give you a brojob?
brrrooooo
 
@FlorianMargaine I realized that just now and it is too late to edit :P
 
@AwalGarg "brojob"
 
1:44 PM
@michaelbr92 Yes
 
what I meant is, just ftr, a job which gives me "bro life"
 
@AwalGarg suuuure.
 
@AwalGarg whatever you say bro
 
@Ch
@Chicharito that what you wanted?
 
@FlorianMargaine @Zirak #no-homo bro
 
1:45 PM
choo choo
 
#no-bromo
 
#no-flagger
seriously..
 
@michaelbr92 I use jsGrid, this is for it
 
Ridiculous
@mikedidthis Ohai!
 
No appreciation for the aesthetics of brolationships
 
1:46 PM
<3ro
 
@SomeGuy \o
 
BroooooooooooooOoOoOoooooOOOOoooOoooo!
 
what happened? inb4 flags
 
Anonymous
did somebody say
 
@mikedidthis Where have you been?
What have you been up to?
 
1:46 PM
@SomeGuy something something your mom
 
Hahahaha
 
Anonymous
AESTHETICS
 
@mikedidthis that's not broesque
 
Anonymous
美学
 
@FlorianMargaine support is pretty good. Would you say its safe to use developer.mozilla.org/de/docs/Web/API/DOMParser?
 
1:48 PM
why would I know?
 
im talking about the domParser() function
 
before I google, does anyone know if chrome extensions has a module system?
 
i.e. why are you pinging me?
I don't know you
 
lol
 
@mikedidthis bbbuuurrnn
@rlemon They don't
 
1:48 PM
@rlemon they don't
 
:(
 
@Zirak fu
 
code duplication here I come!
 
@FlorianMargaine Bro :(
 
@FlorianMargaine that's not broesque
 
1:49 PM
@rlemon you can still use browserify
 
@FlorianMargaine well I see you here often and you did give some good feedback every now and then so...but that was a funny answer : )
 
it's like 3 util functions -- I'll look into it later
 
@mikedidthis b-b-but he ninja'd me twice today already!
 
@SomeGuy you alright? servants doing their job?
 
Old man still has some tricks
 
ty
 
@mikedidthis Haha, yeah, I'm doing fine
Still the same old complaints about how terrible my college is
 
never change
 
Anyways I will ask this to everyone then: If you were me, would you use the DOMParser() function? It says it is an experimental technology yet the support goes all the way back to IE9
 
@Asperger it's fine to use it
 
1:51 PM
!!s/my (college) is/Indian $1s are/
 
@AwalGarg Still the same old complaints about how terrible Indian colleges are (source)
 
It basically converts a string to dom in memory
 
yes, and it's much better to use that than a lot of other things
so, go ahead
 
Good to know
 
@mikedidthis Oh, are you going to have time to work on Habitify in the next few weeks?
 
1:54 PM
@SomeGuy I should be able to squeeze it in
2
 
Phrasing
 
Hey guys
 
Also, hurray!
 
anybody here uses npm or bower
couple of quick questions
 
check this out guys: jsfiddle.net/z5ych00z
Imagine how much faster this is than using innerHTML or innerAdjacentHTML
Now we just append the thing. Although didnt test it yet
 
1:56 PM
@AlexanderSolonik I use them, shoot
 
@awal hey ok
so say i have a new project
very tiny project
so say i need two plugins
one is waypoints.js and the other inputhistory.js
so i use the CMD
 
Did you guys know that you can create a battery status app using the official battery api?
 
navigate to my project directory
and type in the CMD
npm install waypoints
npm install inputhistory
 
Can you write full sentences please.
 
@BenFortune ok
 
1:58 PM
@BenFortune there is worse. Ive seen people posting word per word :D.
 
I like that haiku
 
so then in my project i have no modules folder and inside that all the plugins and thier additional folders ... is that how its supposed to be ???
 
By the way, Im relatively new to the web programming world. Im in an internship and well what happened is that I got my first small job but had no way to test the website for the different browsers and devices. Only the most recent firefox, chrome and edge. I didnt get any devices for testing purposes neither did I have access to things like browserstack. I thought companies have good testing environments?
 
@AlexanderSolonik yes. Although you might want to use the --save flag if you are maintaining a package.json for your project.
 
@Asperger You thought wrong.
 
2:04 PM
Mr Awal are u there ?
6
ok
 
@RoelvanUden but isnt it pretty unprofessional?
 
Mr. Awal
 
this made my day, thanks dude
 
@AlexanderSolonik You should read the basics of npm. It has a decent man page, and you can pick it up with docs.npmjs.com/getting-started/installing-npm-packages-locally
 
@Asperger Yes and no. If the customers are happy, then it's fine.
 
2:04 PM
@AwalGarg Mr Awal, bro, dude
 
One more dumb question
 
@Zirak sup kind sir
 
@RoelvanUden well it was for our company directlyand not for a customer. I dont deal with real customer projects yet.
 
what is the package.json file in a nutsheel
 
@Asperger The world is a mediocre place filled with mediocre people
 
2:05 PM
Hello fellow coders.
 
@Asperger Then it's a controlled environment and totally irrelevant :)
 
@AlexanderSolonik it is a file with meta data about your project. more info on the link Mr. Zirak bro just posted ^
 
Is there a way in JavaScript to determine the file size of an image by it's link, also it's mime type? I guess something with HEAD request
 
Thanks Bro !!
Your the Bro ..... errr Man !
 
2:07 PM
I feel like I need to tell them the following: "I need devices to my disposal for testing purposes or at least a virtual testing environment like browserstack"
 
Glad you found what you're looking for, Mr. Alexander bro dude
 
:D
ok i will look at those pages thanks
so when you upload your final project
say a simple website , do you keep the nodemodules folder or delete it ?
 
They are my superiors but I think I need to tell them. We cant deliver fully functional websites if we dont do some real testing. The responsive project ive finished doesnt work on various versions of safari, ie8, or other browsers because I had no efficient ways to test it
 
@AlexanderSolonik you don't need to, you can run npm install after uploading
 
@FlorianMargaine how do you pronounce "Awal" in that tongue twisting french accent?
 
2:09 PM
@AwalGarg "awal"
 
@FlorianMargaine you know what sucks?
 
bro jobs
5
 
@Zirak ya true but how do I explain that to my superiors?
 
Urge to make indian accent joke
Rising...
 
I mean I learned a lot from stackoverflow and especially about good practice coding from you guys and I cant even apply that knowledge
 
2:10 PM
@Asperger most people/frameworks have stopped supporting ie8.
 
@Zirak <3
 
haha perfect
 
@FlorianMargaine you probably already noticed but... raw.githubusercontent.com/libuv/libuv/v1.x/docs/src/fs.rst fuck github
 
unless your building a e-commerce website or something .. you would't want to look below IE9
 
2:11 PM
@AwalGarg yes :)
 
@AlexanderSolonik ya but what about safari 6-8 and mobile webkit browsers such as safari mobile etc? Those are things I simply couldnt test
 
just thought it was funny.
 
@Asperger That in order to do your job you require access to certain tools. If you don't have access to them then you can't make the best products possible for them.
Allow me to rephrase: There are things that are essential to your job, like wrenches and hammers. If you don't have them then they shouldn't expect their tables to be straight or their houses to stay standing.
 
@Zirak im just in an internship but you say I should just be direct to them?
 
@Asperger Just ask for these things
 
2:12 PM
I decline your request of allowing you to rephrase
 
FreeBSD is better than Ubuntu and all major distros at being Unics
 
@Zirak I will, also I liked the example you just gave with the hammer and wrenches.
 
nobody cares
 
@Asperger Now kiss
 
:D
 
2:15 PM
( Í¡° ͜ʖ Í¡°)
 
choo choo
 
I dont know why, but the more I learn, especially about best practice, the more enemies I make.
 
FUCK YEA IT ALL WORKS!
 
huzzah
 
ugly af, but it works!
 
2:16 PM
 
[Insert Kendall's mom here] ^
 
That was a funny comic
 
@Zirak oh dang
 
How can I create an expression to be repeated a "fixed"/"known" number of times in AngularJS? For example: ng-repeat="item in 5"
 
Who's Dan!?
 
2:17 PM
But there is too much blood. You got to act like a sir! (if anyone knows the sir meme)
 
Don't you speak of Dan!
 
You just called out his name!
 
Yeah but I was thinking about you.
I was just throwing off the ninjas
 
Sorry I doubted you (• ε •)
 
Anyone multibooting several different OSes (Win, unixes) on UEFI? Mind sharing your partitioning scheme?
 
2:21 PM
Hello guys, any of you have html5 and jqgrid experience ? i have a display question related
 
Well eval is the most evilish evil that ever eviled in the web universe
 
@Joseph forget jqgrid
Coding a grid in javascript is pretty easy.
 
So I watched a movie last night... Lucky Number Sleven
Shockingly amazing
 
can we paste pictures in here ?
 
2:23 PM
@littlepootis gpt, but I am assuming you meant table and not scheme. then look at that bin I created.
 
@SterlingArcher Love that film
 
@BenFortune what a twist!
 
The twist is amazing
 
Well I decided to stop watching movies after having been traumatized by star wars 7
 
I was wondering why that horse story in the beginning was relevant
 
2:25 PM
> The first time someone calls you a horse you punch him on the nose, the second time someone calls you a horse you call him a jerk but the third time someone calls you a horse, well then perhaps it's time to go shopping for a saddle.
 
@Asperger I didn't know you were traumatized that easily
 
@BenFortune I just love how he basically spent the first 45 minutes of the movie in a towel lol
 
It's honestly one of the few films that throws me way off haha
 
@rlemon 10 bowls
 
@Loktar u.u
 
2:28 PM
\o/
 
GOD DAMMIT THAT WASNT EVEN AIMED AT ME
 
lol
 
user image
3
check out that high res
 
wow
nice one
 
@RoelvanUden yes, it all started with kylo ren taking off that mask.
 
2:28 PM
@rlemon Nice.
 
@RoelvanUden did you see the movie?
 
@Asperger Yeah.. it wasn't so bad.
 
@rlemon fool me twice, ok, I'm retarded, but fool me 3 times and I will punch your bean back the moment I get to Canada.
But I will have a prompt apology beer at hand.
 
@RoelvanUden well it was a obvious remake of episode 4 + they wanted kylo to surpass darth vader.
 
2:33 PM
@Asperger And that traumatized you?
 
needs a better interface and some more testing / notifications / sanity to it all
but it works!
 
@rlemon oooh hosting snippets on gist?
nice
 
@RoelvanUden the storyline was bad. Protagonist learned the force so fast that it pretty much rendered the entire jedi academy as useless. Also the soundtrack was nothing like the previous ones. Ya it did traumatize me lol. So im only sticking with anime from now on.
 
@ton.yeung no, it's an extension that you put in a matching regexp (for what page(s) it runs on), and a gist id, and it will import the scripts from the gist into the pages on load
 
@rlemon nice one
 
2:37 PM
need to do some more work before I publish it, like only execute js files and css files, and attempt to add some order / options like nowrap head/body to it
but then yea. done and done
 
How long did it take you to program this?
 
few hours
in total, worked on it here and there since yesterday afternoon
 
@Asperger Oh you had expectations. That's where it went wrong. Always remember, Hollywood delivers action and flashy graphics. For a good and sensible story, you often should not expect too much. Idem for Star Wars 7. I loved the visuals. It looked absolutely fantastic.
 
@RoelvanUden that is the current predicament im in. The stories are getting worst year by year.
 
@Asperger At least you already found anime :-P Everything pales in comparison of the anime gems.
 
2:41 PM
@RoelvanUden indeed! I pretty much saw nearly everything. One of my favorites is one punch man and code geas. Good soundtracks and nice stories.
 
@ton.yeung Perfect Bones?
@Asperger Yeah I wouldn't ever put One Punch Man under the "Good story" category. Also, nearly "everything"? Do you know all the anime? I doubt that O_o
 
I mean im even fine with 8 bit gameboy style movies with extremely bad graphics and chiptunes as long as the story is cool
 
@ton.yeung I'll be looking it up when it gets out. Couldn't find much information other than the announcement though :P
 
@RoelvanUden pretty much everything good ya, except for the random stuff like sushi police.
 
@Asperger How much have you seen then? Must be in thousands of series?
 
2:43 PM
clannad was one of my favorites and also elfen lied
@RoelvanUden probably around a few hundred already
 
@ton.yeung I'll wait for it :-)
 
that's very, very, very far from everything
 
I left out the random echi stuff
 
Indeed. I'm at 680 series and I'm nowhere near "everything"
 
@mikedidthis so uhh, wanna make ma an icon for this extension :D ??
 
2:44 PM
I used to read mangas (scans) at some point in my life, I must have read ~5000 of them, and it was far from everything
 
There are a lot of bad animes
 
@Asperger So you mean you've watched many popular ones :P
@Asperger kemono no souja erin, shin sekai yori, too? :P
 
@RoelvanUden all popular ones and the non popular good ones
+ recently Corpse Party
 
@rlemon k, what extension?
 
@RoelvanUden ya I did
 
2:45 PM
@ton.yeung Haven't been there for ages.
 
@AwalGarg kind sir plz share bin url thx
 
@Asperger Just saying that there are literally thousands of series.
@Asperger A few hundred is not even near all
 
Ya but after I nailed down the good ones things entered into the school + echi or random territory
 
@littlepootis jsbin.com/fodoquvezu/edit?output, mine is [null,"swap",null,"arch",null,null,"home",null,null,null,null,null,"vms",null,n‌​ull,null,null,null,"dev",null,null,null,null,null,"windows",null,null,null,null,n‌​ull,null,null,"data"]
 
2:54 PM
@rlemon shiny
and it is called?
 
unnamed :/
 
@rlemon this name sucks
 
I'm calling it my snippet manager, but that is boring
 
Gister Roboto
 
Gistporter?
like, gist + importer
idk, I suck at naming things
 
2:56 PM
Yeah but how can you ignore the Archer themed Fister Roboto reference?
 
"You get the Gist"
 
Get out
 
Gist out
 
@SterlingArcher Make me
come on, that name's awesome. It describes what it does
kinda
 
2:57 PM
@SterlingArcher Fuckin do it m8
 
@rlemon I'd use it. 10/10
 
You cheeky cunt I'll rek u
@BenFortune have you listened to Ghost?
 
@SomeGuy it'll cost you $1
:D
 
ere lad, let's fisticuffs
 
morning everyone
 
2:58 PM
@rlemon I'll give you three fiddy
 
rabble rabble rabble rabble
 
:tips hat forwards and raises fists:
 
@rlemon give me name asap
and not my mothers name before you get smart
 
@mikedidthis help me think of one! :D
 
2 mins ago, by Ben Fortune
"You get the Gist"
np
 
2:59 PM
4 mins ago, by Sterling Archer
Gister Roboto
yw
 
@mikedidthis hi!
 
@rlemon sure, and whilst I am at it, should I write the extension as well
smh
 
GrabGist
@mikedidthis sure, that options page is ugly af.
have at er
 
Note to self: Don't let lemon do any marketing
 
Gisticuffs
 
2:59 PM
lmfao
 

« first day (1959 days earlier)      last day (3007 days later) »