« first day (1721 days earlier)      last day (3230 days later) » 

3:00 PM
@BenjaminGruenbaum I'd love to hear one of your talks. Is your YGLF talk up yet?
 
@BenFortune no, only slides.
 
Does Anyone here have much experience with the create js libraries?
 
@Malco 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.
 
I've used TweenJS a little bit, but that's about it
 
Knu
we have min.js for minified files, what's the convention for heavily commented files?
 
3:08 PM
@Knu .js
 
.heavily-commented.js
 
Knu
I said heavily like almost every line
 
Or -comments.js
yourfilename-comments.js
yourfilename.js
 
I am having issues with the buttons that it generates as part of its output from Flash CC, in that when I change the buttons visibility from true to false and back again occasionally the hover and normal states of the buttons get switched
 
yourfilename.min.js
 
3:09 PM
was hoping someone here might have some insight
 
Does every line really need to be commented?
// returns the result of the mathematical equation 1+1
return 1 + 1;
 
@FlorianMargaine @rlemon happy FRiiiiiday
 
If it has a lot of architectural mumbo-jumbo, then, yes
 
Knu
depends on the complexity
 
// the first number 1
var one1 = 1;
// the second number 1
var one2 = 1;
// return the sum of the first one and the second one. Expect 2.
return one1.add(one2) ;
#enterprise
 
3:11 PM
@Loktar Teach me React :(
 
I forgot everything I knew on vacation! :P
 
Booooo
 
@Knu max.js
 
Everything is private
 
3:12 PM
@uselesschien :) good
let reddit burn
 
What am I going to do with my time if reddit burns?
digg?
 
@uselesschien I have a user script for that, so you better use goo.gl or something like that if you expect to actually trick me :D @PeeHaa wrote it.
 
glorified rss reader?
 
Knu
oh interesting @AwalGarg
 
@Cereal haha idk
I've been reading the happenings on /r/kotakuinaction
 
3:13 PM
@BenjaminGruenbaum Clicked expecting a link to the script...
 
@BenjaminGruenbaum Oh damn, user scrips.
 
@BenjaminGruenbaum mine and @AwalGarg's script works through goo.gl
 
Knu
name.min.js name.max.js name.js
 
I believe
 
they fired the creator of reddit gifts as well
 
Knu
3:14 PM
brillant, ashamed I didn't think about it
 
reddit upper management is going insane.
 
@BenjaminGruenbaum lol, I just turned it on to check, and you link was lit up. Guess it works throught goo.gl
 
@Loktar Trolls have been gilding people left and right, it's hilarious
 
dang, this is my second friday this week
what a good week
 
@Cereal I can see you clicked it, goo.gl has analytics.
Nice try though.
 
3:15 PM
@Knu then you are not a programmer. go jump off the bed and die!
 
Ajax request maybe?
 
Can also see @AwalGarg didn't click it
 
Knu
How do you know I am on the bed? 0.o
 
@BenjaminGruenbaum he (and I) both click it anyways for checking any false-positives (I think). But the script is there and it does work.
 
3:16 PM
@Cereal You still clicked it, maybe just to check :D
 
@Cereal did you just F12
 
For instance, my script false positives on github
 
@AwalGarg you didn't click it though.
 
I just built a userscript
 
Knu
ok now I need a version for npm, name.npm.js? (commonjs module)
 
3:18 PM
@Knu oh my non-existent god, just use .js
@Knu Sorry for triple ping
@Knu Quadruple. oh wait
 
@BenjaminGruenbaum yeah I am busy with some other stuff, just saw the context from Cereal's ping.
 
I think my script's broken actually
 
I think I did click maybe :/
 
Array.prototype.forEach(Array, document.all, (x) => x.style.display = "none");
 
it sure is
 
Knu
3:20 PM
@uselesschien are you talking about umd? Else you don't make sense.
 
@Knu umd?
 
Knu
I have different versions of the file, hence different names
 
How is that related to UMD?
@Knu oh
 
@uselesschien umd bro?
 
Universal Module Definition
 
3:21 PM
Oh, you call that umd. I call it roflolmao.
 
WTF happened to reddit?
 
@BenjaminGruenbaum They fired a very loved manager, everyone's raging.
 
@uselesschien You don't need the parens around a single parameter
 
3:23 PM
And they somehow only manage to make it worse and worse with every passing hour.
 
(x) => foo is the same as x => foo
 
@AwalGarg ik. but i like it thata way
 
@uselesschien you so weird
:D
 
Well, I actually am. :D
 
@uselesschien Array.from?
 
3:24 PM
@BenFortune idk es6
 
Hello everyone!
 
@Anton 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.
 
Hello you!
 
We've been waiting for you.
 
Hello JavaScript. Welcome to Anton.
Yes, we've been waiting for you.
 
3:25 PM
!!s/Anton/Jackass/
 
@BenFortune Hello JavaScript. Welcome to Jackass. (source)
 
Knu
>> uselesschien instanceof Insane
 
Plz advice any books or tutorials for beginners about JS Engines in browsers. I'd like to understand whats "under the hood" and how JS works inside
 
Do you know JS from the outside first?
 
@Knu uselesschien implements Insane
!! do you think I'm insane, cap?
 
3:27 PM
@uselesschien Certainly not
 
I think Node and/or V8 have some blogs about them.
 
!!do you think he's useless though?
 
@MadaraUchiha Not at all
 
:2425300 I'm tring my best)
 
Knu
there's no bot to answer so…
 
3:27 PM
@CapricaSix Oh, I love you.
 
!!do you REALLY though?
 
@BenFortune Not at all
 
@uselesschien I think she has a thing for you.
 
!! do you have a thing for ben?
 
@uselesschien By all means
 
3:29 PM
!!are you just a horny old maid?
 
@KendallFrey All signs point to no
 
well, so far they've all pointed to yes
 
@BenFortune I figured I'll do it anyways so here gist.githubusercontent.com/awalGarg/7cb7a730cf485d404c0c/raw/…
I made what again?
 
You made especser.
 
... y u delete :(
...nvm
 
3:39 PM
You made nvm too? Grate awal sir
 
don't grate me please
 
damn stalker
I abolished quora btw. It depresses me.
That place is full of "wanna be westerners" from my country.
 
Depresses? It's full of IITians?
@AwalGarg ikr
 
@uselesschien and that
 
3:43 PM
25% of all posts I come across on Quora are somehow related to IITs.
 
pretty much the most horribly misinformed community on the Internet after the people in youtube's comment sections.
 
@AwalGarg haha, yes
 
@uselesschien Im dissapointed
 
tl;dr, Greek startup can't pay Atlassian due to banks shutting down in crisis, ask for credit. They then grant the credit, but say they're shutting down their services. Then they deny the credit request.
Wtf is with Google's naming? Nexus 5 > Nexus 6 > Nexus 5 2015
 
Talk about ECMAScript..
 
3:53 PM
LG will be building it? \o/
 
Fucking love my G3
 
@BenFortune Why so small? :|
 
@MadaraUchiha It's the only image I could find of it
 
I did something horrible today. My sister ( 3y older than me) needed to learn a very small amount of python for a school project. I started teaching her. She liked it and continued reading about it... I feel so bad for her
 
@towc teach her PHP
 
3:57 PM
no, I would probably have to suicide after that
 
@towc What's so bad about that
 
@BenFortune very nice
he is probably confusing python with haskell
 
Nothing too bad about that. It's just that I know that quite a few of us hate python, and thought I'd joke about it
 
> hate python
 
Nobody here hates Python, most people haven't even tried it
 
can confirm : I don't hate Python
(and didn't try)
current status: writing a Bayesian Estimator of SO question quality from their title...
next status: wondering why I did it
 
What? Who hates Python?
 
@DenysSéguret That's a cool project
 
@copy Some first results (before combining probabilities) :
Analysis took  1m48.335105956s
4422149 questions
2555569 bad questions (57.8%)
260544 tokens found
Nb tokens in at least 400 questions: 4527
Most frequent words:
|  #  |         Token        | Questions | Closed | Bad Q. |Avg BAS |
|:---:|:--------------------:|-----------|--------|--------|--------|
|   1 |python                |     83430 |   5.6% |  42.2% |    4.7 |
|   2 |what                  |    126269 |   9.6% |  44.2% |    4.6 |
|   3 |string                |     97925 |   5.0% |  43.7% |    4.6 |
 
4:13 PM
I don't know! Someone somewhere hidden in this room hates python. I just dislike it
 
@towc why
I personally don't dislike python, I just think it's boring
 
I won the ny times game.
 
@Luggage Well. Most people did, right ?
 
@DenysSéguret How do you determine bad question?
 
My in-laws have two cats. One is a regular cat, hiding under chairs, batting at your ankles and running through the house. The other is a complete moron - deaf, half blind and no drool control to boot. She's the sweetest thing, and much more adorable than the other, regular cat. Python's the regular language that does regular programming things. JavaScript is the idiot we all love more for being so.
@DenysSéguret 77% never got a "no" answer.
@Luggage You and everyone else who's ever written a unit test
 
4:16 PM
@afonsomatos I just think that people use it when they really shouldn't
 
I did 5 NOs. I wanted to make sure all three numbers were involved in the rule once I thought I knew it.
I don't write tests..
:)
 
@towc It's a programming language, what do you mean when they shouldn't.
 
@copy Sorry I didn't precise, it's just a choice I made. I compute a score for every answer as the number of votes plus 2 if it's accepted. A bad question there is a question which didn't have at least one answer with a score of at least 4
 
it's so accessible that even who doesn't know anything about computers can use it quite easily. Not a big problem, but then I see all of those python examples by people who had no idea what they were doing
 
This will probably be tuned
!!afk incoming baby
 
4:18 PM
@towc So you don't actually hate the language, you hate inexperienced people who use it?
 
I'd love to say: "programming is for everyone at any time", but I think you still need a tiny bit of prep
@afonsomatos yes. But that's caused by the language being too accessible, right?
 
I've got dishes duty. Recommendations for a good tech talk to watch while washing?
 
You can almost see the same pattern in js, but very diminuished
 
@towc That's not true.
 
It doesn't make sense to hate a language because it's too accessible.
 
4:19 PM
You also need a genetic malfunction that would make you like and understand it.
Not joking here.
You can walk like a developer, you can quack like one, but if you don't find it passionate, you aren't worth much.
 
@MadaraUchiha are you referring to the two humps paper?
That was retracted
 
@copy Awesome talk, already seen it.
...actually I think that was the first DefCon talk I saw (on Google Video, remember that?)
 
before we get in an argument and everyone hates me. Have a cat pic:
 
aaawww
 
4:21 PM
@copy I also really liked hammock-driven-development
 
Then pick another Rich Hickey talk
 
@AwalGarg The result of my script testing
 
@copy works for me
 
posted on July 03, 2015 by Alex R. Young

If you use npm private packages then there's a very serious data leak that you should be aware of. Metadata for private packages was accidentally made available from the public replication endpoint. I've included the full announcement below: We need to notify you of a serious security incident that was

 
Woo, fixed it
criticism me cap'n
 
4:56 PM
1to1prototypes.com/tester/example1.htm .. Here's my sample page , I'd like the user to be able to download all the selected files with one link instead of having to click on all the files individually. Any suggestions?
 
@anath2 Page doesn't load
 
@Cereal Do you have webgl enabled ?
It has some 3d content
@Cereal Here's the link again :- 1to1prototypes.com/tester/example1.htm
 
apparently I'm an outlier
 
@Cereal anyone who's written a unit test has an advantage here
though -3 -2 -1 breaks your theorem
 
I state positive numbers
> 3 positive numbers
 
5:07 PM
Right, and -3 -2 -1 would be Yes! but No! by your theory
 
Ooooooo I thought I tested that
 
It's all good, I'm just nitpicking
How long have you been coding?
 
I dunno, 7 years, give or take
 
impressive!
 
Not very, I don't spend long on any given language
Every new project has a preferable toolset. C# for GUI programs, Processing for image generation, ruby for backend, etc
So I don't feel like I know a anything very well for the time spent
 
5:14 PM
Yep, I know that feeling. Do you have a favorite?
 
I have a soft spot for lua.
 
I love the idea of JS for everything, but C#, I must admit, is better at some things.
I've never used Ruby, but I'd like to have a reason.
 
I think part of the reason I like ruby so much is I use Sinatra as a framework. So instead of having all those rails helpers, I've actually written all my helpers myself, so it's very much "mine"
 
I don't know if this is common, but Ruby looks good to replace shell scripts.
It's trivial to call other processes but you have a 'real language' to deal with the procedural flow.
 
I reminisce about actionscript a lot. That would have been my first experience with programming (because what 14 year old doesn't want to make sick flash games)
 
5:23 PM
I opened up some of my first MS Access games the other day
good old VBA
 
haha, access. powerful but horrible
 
I only saved one of my flash creations
I think it's on deviant art somewhere
maybe I can find it
 
so powerful by putting so many tools into one system, but that's what makes it a nightmare to do development in.
 
kind of like IDEs
 
it was an IDE, too.
 
as you know
 
My SO question quality bayesian estimator now works. Now I must integrate it in Chromoso
 
chromoso?
 
5:45 PM
my chrome extension filtering bad questions from SO
 
Ahh
Just delete all of them, problem solved
Anyone know how the size of a font is measured? is it diagonally?
Corner to corner? Midpoint to corner? Height only?
 
user2620028
measured by point i believe :P
 
byy point?
 
It's the height, but I'm not sure which
x height maybe
 
user2620028
@cereal i was actually being cheeky but if you want to know the answer then en.wikipedia.org/wiki/Point_(typography)
 
5:49 PM
@AwalGarg around ?
 
you spin my head right round right round
 
Like a record baby, right round right round
 
WHEELS ON THE BUS GO ROUND ROUND ROUND
 
ROUND AND ROUND
 
lookin like a fool with your pants on the ground
 
5:54 PM
that's not my pants! This is a cell phone!
 
6:08 PM
posted on July 03, 2015 by CommitStrip

Today, Intel is back on CommitStrip! They’re building an interesting platform for the Internet of Things, with their Edison technology and the Curie module, specifically designed for the creators of devices. Visit the Intel Developer Zone for access to Developer Kits and support, and maybe find a solution to work in peace in the open space ;).

 
> npm ERR! registry error parsing json
npm ERR! registry error parsing json
npm ERR! registry error parsing json
 
6:30 PM
Oh lol
Github doesn't false positive
I have 'rlemon' as one of the keywords for my link check
 
Is there an alternative registry for name picker malfunction ?
 
6:55 PM
@afonsomatos how did you manage to get so much honor on codewars?
 
@Cereal lol
 
@JanDvorak I used to do a lot of codewars katas in javascript, and also in python when I was learning it.
 
so, grindwork?
 
yeah
paper and math shit (although I didn't understand the term grindwork, so I assume it's work hard?)
 
I am having hard time with jekyll-import
 
7:04 PM
@Mr_Green Your problem is in the word before last on the sentence you've posted.
 
I am aware that I should write this line in command prompt "$ ruby -rubygems -e 'require "jekyll-import";"
but what about the code which is present below?
where should I write it?
 
ASCII Code sequence for blinking text in bash is not working (or being ignored by the terminal). Does anyone know how to get around this? (It's only for learning purpose, not production of any kind)
"\033[5;31;40mERROR: \033[0m\033[31;40mSomething went wrong.\033[m"
 
@MadaraUchiha you mean the problem is with "jekyll" ?
no offense but I hate riddles when I am stuck somewhere in programming.
 
@Mr_Green I gave jekyll 2 tries
Didn't like it in any.
 
yeah
I am trying "jekyllnow" as explained in SO blog
looks easy but got stuck in exporting posts
 
7:18 PM
So I was going to order a pizza today.. and guess what, they offered two for the price of one.
No additional cost :)))
 
Every time I order pizza I have to reevaluate my life
 
I don't why people like pizza, it jams shit (AFAIK)
 
"I should be at the gym right now. But instead, I'm eating pizza"
 
gym is for losers, I do finger exercising
 
Speaking from experience, if you eat pizza every day for weeks, it does indeed jam shit
I let a manager for a local pizza place crash on my couch last year
got a free pizza every day
 
7:20 PM
I ate only once, and that happen
from then I stopped
 
weird
 
exercising your fingers is a really important workout which makes women crazy btw
 
I excercise my tongue
 
me too, eating :)
.. your mom
 
I laugh
Because my mother's gross
3
 
7:21 PM
oh god I laughed so hard right now
 
Hahahaha
 
She used to drive me to the gym at ~ 6am every morning, and I had to stop because the smell would make me nausious
She's an incredibly kind woman but oh god
 
shit, I wrote a huge line of code in window cli instead of ruby cli
 
@Mr_Green You can copy from windows cmd
 
I did, using mark, but it is acting weird
need to type again
 
7:26 PM
@Mr_Green copy, paste in notepad, fix formatting, copy, paste in ruby cli
 
TNG Is epic hillarious at times
 
hmm ok
 
Europe is pretty hot at the moment :/
 
@ivarni Europe is also pretty big.. It's not hot here
Or you were talking about the Jupiter Moon?
 
Europa
 
7:35 PM
Or you were perhaps talking about an island?
 
Well, western Europe then, just didn't expect to see 36 in northern France. I guess western Europe is abnormaly hot enough to pull the whole thing into the "hot" category
 
@ivarni I'm in portugal, and it's like what, 25? 23?
 
I just heard Barcelona hit +40 two days ago
So perhaps consider yourself lucky?
 
That's almost as hot as Kendall's mom
 
She steal all the sun does she?
But you're right, weather.com/forecast/news/…, there are some tiny spots that aren't covered in glowing pink color
 
7:39 PM
Yeah, she's a big lady.
 
Your mom is a big man.
 
No, dude. She's a female.
 
1
Q: Ruby on rails importing wordpress from jekyll error

fscoreI am trying to import from my self-hosted wordpress blog to Jekyll and have the xml file test.wordpress.2014-08-05.xml. I am running the following command for that- ruby -rubygems -e 'require "jekyll-import"; JekyllImport::Importers::WordpressDotCom.run({ "source" => "test.wordpress.2014-08-05.x...

^ the same problem for me. any help?
 
@afonsomatos Well.. thanks for clearing that up I guess
 
7:58 PM
no good support for importing posts in jekyll.
 

« first day (1721 days earlier)      last day (3230 days later) »