« first day (1866 days earlier)      last day (3074 days later) » 

12:08 AM
@Zirak nice. although this looks like something I'd use find for
 
@rlemon do you know anyone who went by Lazarus?
 
12:28 AM
well, just bought my PC. god help me
 
@jumpstracks don't recall, why
 
12:46 AM
R9 Fury X, i7-6700k, M.2 500GB SSD, 3TB WD-Black HDD, 16GB DDR4, 1440p 144Hz monitor... gonna be fun
 
$ ?
 
48 pieces ...
not sure if i can eat that amount in one meal
 
1:01 AM
they used to have french fry parties
because food is so expensive in Japan
 
give an example
 
First world problems: Don't know what to game to install first from my newly purchased bundle
 
1:17 AM
Anyone know the game Town of Salem? Is that coded in javascript?
 
@KyleAldridge 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.
 
Probably not
@KyleAldridge flash
 
Ah, i see a lot of javascript codes so wasn't sure
inside the game
after logging
You are right though, thanks
 
Does anyone want a Hospital Tycoon gift code? I probably will never play it.
 
tycoon bleh
if nobody wants though ill ask a friend
 
1:25 AM
It's not like I'm trying to get rid of it
 
game old as hell too
 
It looks like a terrible game lol
 
theme hospital was the best
 
1:38 AM
@KendallFrey : imgur.com/gallery/8N2y1Nk how accurate would that be ?
 
1:49 AM
@KarelG 6.5
 
Hey, how many points do you guys usually get a day on stack overflow? I'm trying to build some experience and thought I'd start with building my rep on here.
 
you don't get rep in chat
 
In questions I mean
 
Rep is useless
 
@KyleAldridge 0
unless you count trickle rep
 
1:57 AM
Whats trickle rep?
 
trickle? rep?
tldr im lazy
 
@KyleAldridge rep that comes from old answers
 
whats wrong with doing that?
 
nothing, you aren't even doing it
passive rep income
I get ~10-20/wk
 
thanks
 
2:10 AM
@KyleAldridge though better question: Why?
grinding rep isn't the best ROI for your time
 
hi, I was wondering is there a js obj for all the countries in the world?
 
@someki
 
@StanleyDharan ...?
 
@SomeKittens Freelancer sites usually ask for some background experience, I have a hard time trying to show off stuff when my design skills suck, I'm mostly a back end developer but dipping in javascript lately.
 
it'd just be faster to make one yourself
 
2:13 AM
@SomeKittens I'm reading over an assignment and my prof said this; gyazo.com/c05aa1b1f199bf2c6a77d2dab6dc3e94
 
@KyleAldridge you'd do MUCH better writing up some personal projects and throwing them up on GitHub than SO rep. Been there.
 
I did pretty much everything but I wasnt too sure what she meant by the js obj thing
 
@StanleyDharan ok, and what's stopping you from looking up "list of countries" and turning that into a JS array?
 
@SomeKittens I was just wondering if there was one built into JS
 
2:14 AM
No, there is not one built in
 
oh okay thanks
ill do it later when I finish the rest of my assignment, thanks
 
^ there is an API you can use
 
@StanleyDharan She said that it was in a file in the root of the project she handed out.
 
@rism I guess its an old pdf, the zip didnt contain any files
 
top-level-domain-names.js
 
2:15 AM
besides the instructrions
 
@SomeKittens alright, thanks for that. I'll still try to grind some rep, maybe 30 a week and just build that up as an extra to showcase. My issue is, virtually anything I think of is already created in a better format than I can do, frameworks, ecommerce systems, email scripts, do you have any recommendations for things to build as a showcase on github?
 
@StanleyDharan I'd also hazard a guess that your professor is willing to answer questions of this nature
 
wait
are there 3+ persons with same assignment ?
 
@SomeKittens yah but its kinda late and I wouldn't get a reply till mid-day tmwr and I have plans so thats why I came here, might aswell do some work on it while im free
@KarelG I doubt anyone from my class* each class has its own assignment
 
1) Help out with existing projects. "Oh, I fixed $BUG and added $FEATURE to $THING_INTERVIEWER_KNOWS" is a nice bit of credibility.
2) Depending on what you want to focus on, build a game or blog engine - both things that allow you to showcase skills and can be fairly unique.
 
2:19 AM
who's rism then ?
 
no clue^
 
he has pretty accurate information ...
> StanleyDharan She said that it was in a file in the root of the project she handed out.
 
I sent a screen shot of it
 
ah, just read that
well, use that file :-)
 
yah, but the zip only has the pdf and a screenshot of how its gunna look when I'm done, im guessing I downloaded the wrong version or my prof forgot to include it
 
2:22 AM
@KyleAldridge Make an OS
 
yah i just downloaded the wrong version found it :D
@copy making an OS requires knowing assembly right?
 
an OS in php meeeh
gotta get into node.js, learning javascript first
 
@StanleyDharan Yes
 
@KyleAldridge I'm learning JS right now!
 
it's 3 o'clock and a co-worker sent me an email about a problem with the test server.
i was like are you working right now ? Right now
uhm, you can write an OS without knowing assembly
just use libraries
i've been following this project lately: github.com/ryanra/RustOS
 
2:26 AM
really?! i never knew that
I always thought it required assembly and I never knew how to approach learning it so I kinda dropped trying to learn it
Okay so I found the js file with the countries and codes but im not exactly sure how to implement it
only time I've ever mixed js and html together was when I just used the script tag
 
@KyleAldridge Also don't use PHP
 
isn't there alot of jobs in PHP though?
 
that's relative
A lot people uses PHP for server language due of lack of alternatives. There are better alternatives, but they're slightly more complex than PHP
 
My goal is to eventually be able to make around $2k a month from free lancing with a couple partners.
 
@KyleAldridge yes and no
 
2:32 AM
but i don't prefer PHP. I would pick other languages for my server. But if a client wants PHP, then yeah ...
 
There are jobs in PHP - and the folks hiring are usually more desperate because the good hackers have moved on to other languages.
so you're paying for it with less job opportunities in the future.
 
do you call developers as "good hackers" ? :p
 
There's a lot of jobs for coders, period.
 
Hey guys
I'm trying to teach kids how to program.
Is there something between Scratch and Phasor.io?
Or something that teaches kids to program using Phasor.io?
 
@KarelG i am jack's complete lack of surprise
 
2:48 AM
@Seanny123 When I teach, I try to stay away from things that dumb down programming itself and instead focus on thinking like a programmer
@KarelG hm?
 
@SomeKittens what tools do you usually use for that?
I'm thinking of throwing the kids at Khan Academy
That way they at least have some visual feedback other than text
 
@Seanny123 mix of lecture & code lab
Teach a concept, have them write it. Usually no lecture is longer than 15 minutes
 
@SomeKittens what context do you teach in?
 
classroom?
 
i teach on the streets.
lessons are hard and unscheduled.
 
2:53 AM
lol
I was more wondering about the demographic
My kids are going to be in grade 10-11
 
Coding bootcamp
 
ah, that's why you can go hardcore on them
 
Hardcore?
 
My elitist view: if they aren't programming at grade 10, they are behind.
 
Yeah, hardcore wasn't the best word choice.
I mean, not having visuals and whatnot.
I'm worried that if I make them type in a console, they're going to bail on me
 
2:55 AM
are these people that want to program or will you have non-programmer students?
 
@Seanny123 Oh, I totally had a slidedeck
we also did live coding where the class told me what to write.
 
"twitch writes fizz buzz"
 
Oooooh, good idea with the people telling you what to write
 
Though my favorite exercise didn't involve computers at all
 
@Luggage do it
 
2:56 AM
What's your favourite exercise?
 
some form of stretching, i assume.
</pervert>
 
does fapping count
 
we came up with a couple silly interview questions - nothing that should take more than 3 minutes to write. We had the students pair up, and write down (in English, on paper) the specific steps required to solve that problem.
 
My students are going to be on the fence about the whole thing, like I was when I was there age. I was into the idea of making computer games, but never really knew where to start and was just generally lazy.
* I predict
 
They traded papers with another team (so they only had the instructions, not the problem statement) and had to implement that in code (ok, so I guess that part had computers)
 
2:57 AM
that's a really cool idea
 
Never seen so many lightbulbs go off simultaneously
lesson: Computers are dumb and don't know your intentions - just what you tell them.
@Seanny123 In that case, canvas?
 
Never heard of that
googlin now
Oh, JS canvas.
Yeah.
Khan Academy uses that.
 
one thing I really like about teaching JS is that every computer already has an execution environment on it.
 
I agree with your assessment
 
half a dozen execution environments
@Seanny123 these are students that chose programming or were given programming?
just curious. i have absolutely no (worthwhile) advice on teaching programming
 
3:02 AM
They are students that will choose to make an Explorable Explanation or game.
So they're in the middle.
They don't know what programming entails (bashing head on keyboard, googling, lots of crying) but they like the outcome.
 
alcohol and drugs
but i guess you have to keep that part a secret for now
let it be a nice surprise
also, yes, the googling and crying
 
My favourite coding story is my friend doing a hackathon in Downtown Toronto. In the middle of the night, one of his coding partners takes a step outside, comes back rubbing his nose and being really jumpy.
 
!!afk battling traffic
 
allergies.
 
I've never had those effect from Claritin.
 
 
2 hours later…
5:27 AM
Anyone knows if jsreport can live in the same server where the application is?
 
0
Q: Asynchronous Request Within a ForEach in node.js

BannermanI am new to node.js (and to request.js). I'd like to get the body of a website back from a specific url with different paths (in the example below http://www.example.com/path1, http://www.example.com/path2, etc.) and log this data in an object with a key/value mapping (siteData[path] below). va...

Anyone willing to make this into a Promise canonical?
Explain how and why to use Promise.all() with conjunction with collection.map()
 
5:49 AM
@rlemon Oh, damn. Trying again soon?
Do you know what went wrong? Not enough place for air?
 
If anyone from here have used jsreport before, please help me
0
Q: Install jsreport in the application server

feniixxCan jsreport be hosted on the same server where the application is being executed? jsreport website has this schema to describe how it should work: I've installed jsreport in the app server, and added the following code to the app: Code: var jsreport = require( 'jsreport' ); jsreport.boo...

 
@MadaraUchiha Yeah, gimme a sec
Do we have a canon "What's a promise" to link to?
 
6:18 AM
0
A: Asynchronous Request Within a ForEach in node.js

SomeKittensLooks like Promises are the right tool to get the job done here. Instead of a callback, we'll create a new Promise object that will resolve when the job is done. We can say "once you're done, do some more stuff" with the .then operator: var rp = require('request-promise'); rp('http://www.goog...

 
@SomeKittens Promise.all() is not bluebird exclusive.
It's in the native promises as well.
 
it is?
I thought it wasn't
 
Also
> using [Array.prototype.map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/R‌​eference/Global_Objects/Array/map) which
 
nope, you're right
 
(There are others like that ^)
 
6:20 AM
razzum frazzum
updated with link to MDN
removed Bluebird reference
 
@SomeKittens Let me slip an edit in
 
sure
 
i suggest to go through Programming: Principles and Practice Using C++ , for learning programming after that you can switch to any language ..
 
Goodmorning all.. I have to build a website and I doubt whether to use Angular for it. I am in doubt because I am not sure that search crawlers will find all the pages...
 
I don't know... I often have to tell js newbies that, no, variables are not pointers, running var a = 'foo', b = a; b = 'bar' does not make a === 'bar'. And then we have the "constructor/prototype is not class" problem.
 
6:38 AM
Guys, how often is the data query updated?
 
This article might be of your interest @Martijn
 
@feniixx Does this also apply for other search engines or only for Google. And do you know this is already active? This post is more tham a year old.
 
Also checkout prerender.io
 
morning
 
@Martijn Uh, just do it?
bikeshedding is always the best way forward!
 
6:51 AM
Well I need to convince my superior, so I need to be convinced as well, otherwise I cannot convince him :) And what does bikeshedding mean :P?
 
@Martijn No, that only applies for Google, and yes is already active..
prerender is a great solution for AngularJS SEO problems though
 
@Martijn "Google says Google's tool works with Google's search" <- I'd say they're an expert on things.
 
@feniixx Do you know a source where this is written?
 
@Martijn other search engines literally do not matter
 
7:02 AM
@Martijn That is the official blog... also you would check out this ng-learn.org/2014/05/SEO-Google-crawl-JavaScript
 
Guys, why can't comments contain: "What have you tried?"
 
Hi.
What are practical uses of JS?
Anyone knows any practical uses I could try out and practice?
 
@feniixx Thanks. So I should be save when building my site in Angular if I want to be found by Google. Should I pay attention to some settings? Or can I just use the default routing mechanism?
 
@HassanAlthaf wadjumeen by "practical uses"? Do you know what JS is?
 
Yes.
By practical uses, I mean uses other than the extremely common uses such as form validation
 
7:13 AM
Well fundamentally JS is behaviour... vrs structure vrs style.
 
Like, if you take, PHP for example.
 
So "practical uses" is essentially anything that requires behaviour (in the browser world)
 
You can create some nice enterprise apps, or command line apps.
Oh
I see.
I've been using JS, but indirectly for about 2 years.
(With jQuery).
 
There's kinda preference to use html5 mode, but you should also checkout prerender.io, if you really need to build your website under Angular right now, then you'll have to use 1.x, but if it can wait a little bit for Angular 2, maybe next year spring season @Martijn
 
Is the reason for the release of Angular 2, the release of ES6?
 
7:17 AM
You could use phantomjs to take snapshots too @Martijn
 
@feniixx I want to use 1.xx We don't have the time to wait for 2.x
 
Is it really necessary to use AngularJS?
 
Angular is dope. ;]
 
No, but I like the features angular offers me... directives, modular setup, easy communication with the server
I can also use just Razor / MVC
 
Yeah, it really offer great features... well you don't have to worry about SEO that much, Google's crawler is up to date, and prerender.io or phantomjs will help you, just check them out
 
7:43 AM
@HassanAlthaf Start with Greasemonkey. Have you ever wanted to adjust a frequently visited website's layout or wished your browser to automate some repetitive task?
If not, first stop browsing sheepishly and observe what you are doing and think.
 
Not really.
lol
I dont browse for fun, I only do when there is a need to.
lol
 
@HassanAlthaf do you use an adblocker? (I do, there is no shame in accepting that you use one)
 
what you mean by adjusting a website layout?
 
@Awa No, why?
 
@HassanAlthaf any kind of browser extension?
 
7:46 AM
Not anything special
Lol
I have a proxy extension to enable proxies when I need.
And an extension that helps on tweepi.com
 
helps on what? how? what does it do?
 
For fun or for need doesn't matter. I have multiple scripts that save image galleries page by page. I have a script that login to a tough login page that "cleverly" defeat the browser's autofill.
 
@AwalGarg It just saves some clicks for me. :P
 
I write javascript database for my hobbies.
 
python is powerful for scraping website
 
7:48 AM
I just actually suck at thinking of what to code lel.
 
code for money
 
But when I do have an idea, I do get creative.
 
@HassanAlthaf And there aren't any other websites you use with which you would want the same kind of help? Or any kind of help, for that matter?
 
@happy Eh, I don't have the time for that.
@AwalGarg No, not really. I use very limited amount of websites.
 
@HassanAlthaf good for you
 
7:49 AM
Regularly^
Most websites are replaced by Smartphone apps.
 
@HassanAlthaf Most smartphone apps have a lot of javascript, if not pure javascript.
 
website are just tools, not ends by themself
 
@HassanAlthaf then you are a noble wise man, to whom I'd advise this: disable JavaScript, and never write JS. Learn assembly and stick with it.
The browser land is not for ya
 
And we write cross-platform apps with.. exactly. JavaScript.
 
7:50 AM
Oh.
You can create apps using JS for mobile?
wtf i never knew that
 
Yes.
 
javascript is the future.. maybe just not in the browser
 
Yes. Look into Cordova.
At work we use it exclusively to create apps. It's cross-platform over iOS/Android/WP.
 
Wtf.
Wow.
 
Which is useful.
 
7:51 AM
I write desktop apps with JS too. For commercial use.
 
Of course it also works on things like FireFox OS etc.
 
Wow, using Cordova? @Sheepy
 
And indeed, look into Electron or nwjs for desktop apps using JS
 
Damn, nice.
 
Bah. As a Firefox fansheep, even I steer away form Firefox OS.
 
7:52 AM
Modularize your code and you have a brilliant ecosystem that can target web, mobile AND desktop. From one shared code base.
 
I have been dreaming of a language like that.
Didn't know it already exists.
 
Although I agree with @RoelvanUden and really like JS, it is important to understand that it is not JS which is helping here. It is the ecosystem and the wide availability of APIs.
 
^ concur
 
Yes. JS has induced a lot of companies like Google to contribute to it.
 
wat
 
7:54 AM
?
 
exactly
 
Please tone down the "lol"s and "wtf"s. This is not MSN.
 
(y)
I wish SO had emojis. ;]
 
thanks netscape. @HassanAlthaf I wish you will listen to @AwalGarg plzzzz
 
7:56 AM
Is ColdFusion JS?
 
@HassanAlthaf Be imaginative. (οΏ£Ξ΅οΏ£*)
 
@MadaraUchiha collection.map()? Doesn't sound like native JS :/
 
See, here you have a need. That can be fulfilled by JS.
 
is the SO bot still alive? we could just ban emoji ish stuff trough regex
 
@happy: Good luck.
 
7:57 AM
@HassanAlthaf You can use greasemonkey to inject an emoji menu into SO chat that use unicode misc symbols.
 
@Sheepy Yes, it can. But I guess only I'll be able to see that.
πŸ˜€
 
Why? Can't you see me? οΌˆβ—•(ο½ͺ)β—•οΌ‰
 
Wait nevermind.
 
Guess not γ„Ÿ( β–”, β–” )ㄏ
 
Emoji's have their own code.
 
7:58 AM
@Cerbrus imagine all the problem for code block and ..
 
Yup, I think I can try that out.
Thanks for the idea. πŸ‘
 
@HassanAlthaf Have their own code, exactly. Check this unicode list: fileformat.info/info/unicode/block/…
 
I thought I had to replace text like :) into images.
 
will one end with a mms crash? >)
 
Do I have to implement a Chrome plugin?
 
8:00 AM
google what sheepy said, "greasemonkey"
 
Its for Firefox I believe?
 
JUST GOOGLE FFS!
 
Greasemonkey
Greasemonkey is a Firefox extension that allows you to write scripts that alter the web pages you visit. You can use it to make a website more readable or more usable. You can fix bugs that the site owner can't be bothered to fix themselves. You can alter pages so they work better with assistive technologies that speak to a web page aloud or convert it to Braille. You can even automatically retrieve data from other sites to make two sites more interconnected.
It's for Firefox?
 
Let me see. Bot is not here.
 
8:01 AM
Thats what I google'd.
 
Try "Greasemonkey for Chrome"
 
@HassanAlthaf what'd you do if you knew of a hotel in Sri Lanka, but wanted one in India? Would you just keep googling "hotel" or append "india" to that?
 
Oh, we have tampermonkey
Wow. ;]
Thanks guys. ;]
 
@HassanAlthaf And, in case you haven't already, try the fileformat.info link I pasted. You will be amazed at what unicode offers.
πŸ‘β€πŸ‘β€πŸ‘
 
@AwalGarg collection.map() where collection is an array
 
8:11 AM
@MadaraUchiha oh, ok
 
@MadaraUchiha did you mean Promise.prototype.map?
 
@FlorianMargaine No, I mean Array.prototype.map()
Promise.prototype.map() isn't a thing (natively, anyway)
 
fun fact, Spidermonkey implements all Array.prototype methods statically on Array too. So you can do Array.map("foo", ..) instead of [].map.call("foo", ..). I wonder why the hell is that not standardized.
It is one of the best non-standard things Spidermonkey has ever done.
 
propose it :)
 
8:20 AM
It is proposed.
 
did she say yes?
 
no, she is a bitch (dear future flagger, please see context)
 
Oh... Madara is blue !
Congrats (yeah, I guess I'm late)
 
@DenysSΓ©guret The grats are still trickling in, you're not late :)
 
Cool
BTW, I didn't knew enough the candidates, I could only issue 2 votes. I'm sure it's to late to fix that
 
8:27 AM
OMG
Congrats @MadaraUchiha ^^
 
@BenjaminGruenbaum Thanks :)
You in Amsterdam yet?
 
Told ya to run :)
 
@MadaraUchiha congrats !
 
Yeah, I'm there since yesterday - it's awesome
Anyway - back to getting up and finding food - just wanted to check how the elections went.
We'll celebrate next week with a beer :)
 
@BenjaminGruenbaum Don't miss the two museums!
 
8:31 AM
Not going to them - this is my 7th time in Amsterdam - it's 3 museums by try way - the stedlijk is great too :)
I've been in all 3 last year (in Rijksmuseum twice) and also the year before. The temporary exhibits don't look very exciting this timr
 
@Sheepy ty
 
Code doesn't have to throw an error to be wrong. Declaring a variable twice is wrong. — Cerbrus 10 secs ago
Typical early morning SO...
 
> pice of code
it's like "school of fish" but for code
 
Oh oh oh, I am late! Congratulations! :D
 
8:49 AM
@Sheepy Thanks :)
 
Let's have a small firework~ πŸŽ‡πŸŽ†πŸŽ‡πŸŽ†
 
@Cerbrus He has a point though, you should also explain why it's wrong
 
o/
@MadaraUchiha wohooo! Congrats!
 
:) Thanks
 

« first day (1866 days earlier)      last day (3074 days later) »