« first day (1488 days earlier)      last day (3451 days later) » 

4:00 PM
 
If this breaks anything, ping rlemon and he'll correct it.
 
@BenjaminGruenbaum I really don't see what it has to do with culture and SE is pretty ignorant about what's going on here
 
I am pretty sure I only used it for mute, but I can't remember anymore
 
@BenjaminGruenbaum for some reason I don't see the ping (which is why) I'm looking now
 
Not ignorant
 
4:01 PM
@copy I really hope you're not offended or annoyed by this. You know I like you and like having you around here. I'm willing to try the advice I got. If you have any suggestions I'm interested in hearing them - I opened a room for discussion about this more than a week ago and not a lot of discussion went on.
 
Is there a JS debugger in Firefox
in which you can analyze what happesn on the page, step by step ?
 
@Basj It is in IE so....
 
@Basj Yes there is, you should really google these things before asking them here.
 
@BenjaminGruenbaum Nobody can easily figure out what's going on
 
@BenjaminGruenbaum I will. What's the name I should look? Step debugger ? Profiler ?
 
4:03 PM
@Basj debug JavaScript in firefox.
 
Nothing bad happened anyway, just a minor coincidence in my opinion
 
@copy that's true, if you have suggestions we can try them out. The point of the RO thing was to check if the advice on the RO number works.
 
@copy I'm not just talking about last week, I'm talking about the last few months.
A lot of people said it independently.
 
@BenjaminGruenbaum do you mean I should use an extension like addons.mozilla.org/fr/firefox/addon/javascript-debugger, or is there a built in thing ? What do you use @AwalGarg ?
 
4:05 PM
@BenjaminGruenbaum Meh, we always had our highs and lows
 
@Basj F12!!!!
 
@Basj seriously, look at the first google result for "Firefox debugger".
 
posted on November 12, 2014

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-3727700-1"); pageTracker._trackPageview(); } catch(err) {} New exclusive comic over at The Nib!

 
!!tell basj google firefox dev tools
 
4:05 PM
@BenjaminGruenbaum As I said, I don't see this working (but feel free to try and evaluate)
 
@copy thanks for the confidence, I'm skeptic too but I think it's worth a shot.
 
Whom did I want to mindjail today?
 
@JanDvorak I don't want to remind you about myself though ;p
 
great. it's possible to land on a comet in space and to live-stream it, but it's not possible to watch it WITHOUT FLASH?!
2
 
We just landed on a comet, and all Twitter can talk about is VS Connect :(
 
4:15 PM
@AwalGarg which tool do you use the most ? Firefox with Firebug ? without Firebug but built-in ? or Chrome ?
 
@Basj May I answer?
 
How do you feel about picking a new framework/library/language every month and coding a short (pretty identical) task with it - then comparing to other room regulars? I think it could be fun - kind of like the lounge jam but getting to play with new toys.
9
 
@Basj I used Chrome dev tools for debugging till now, and FF inbuilt dev tools for responsive web design. Now I am gonna switch entirely to the FF dev edition recently released.
 
@JanDvorak sure
 
@BenjaminGruenbaum I like
@Basj Chrome
 
4:17 PM
which one seems the best for you to analyse line after line what a JS produces on the page ?
 
@BenjaminGruenbaum I'm not a fan of frameworks tbh...
but worth trying
 
Languages
 
@copy what about em?
 
@Basj stay away from firebug. Use the inbuilt tools of the browser you prefer.
 
@Basj Put a breakpoint on the first line
 
4:18 PM
Also, that question is worthless.
 
@AwalGarg ok
 
@BenjaminGruenbaum Florian said meh about frameworks
 
or just trace manually from the starting data
 
So was that a meh about languages or a yay for languages?
 
The latter
 
4:18 PM
I think so too
 
@JanDvorak how to do that (remark : I did google, and tried, but there are little things that isn't so easy)
If I reload the page (F5), does it keep the breakpoints ?
 
for me - meh for frameworks, yay for languages
 
@Basj YOU CAN TRY THAT YOU KNOW??!!
 
@AwalGarg don't you think I did ;) ?
 
@Basj Yes, I think you didn't. Set a breakpoint, refresh, and see if the breakpoint stays. How can the answer not belong in the set of "yes"/"no"?
And I know lil things annoy. Don't restrict yourself from asking here, I would help as much as I can.
 
4:24 PM
I did in Firefox, but for an unknown reason the breakpoints were not very clear (were they set ? not set ? did I do something wrong? etc.)
Now I retried in Chrome, and then the breakpoint system is much more straightforward : in went in SOURCES, and by clicking on line number, there is a new breakpoint (a "BLUE" selector on the line number) and by refreshing (F5), yes, the breakpoints stay... Is it correct ?
 
@Basj indeed. That is correct. Now download the new FF developer edition, set the theme to light until you become fluent with dev tools. And you would be good to go.
 
@AwalGarg or I could stay with Chrome good breakpoint system ? what do you thinK?
 
@Basj If you don't want heavy debugging, sure. Or try both and go with the one you prefer. Debugging is not limited to breakpoints.
 
@AwalGarg Isn't there a "Run until current line / cursor" (ie breakpoint at current line) ?
 
I will credit a lot of my knowledge to dev tools. They are not just for debugging, but a free and open playground to fuck with things, to experiment. That is how I learn realize best.
@Basj that is what a breakpoint means.
 
4:29 PM
@AwalGarg yes, but if I want to run each line after another (example with a key shortcut like F8 F9 or something else)
I would need to set a breakpoint for each line ;)
 
@Basj step over lines.
read the documentation, or atleast hover over those buttons to see the tooltips?
 
@AwalGarg I did, but didn't find "Step over line" or similar. I have : Step over next function call, Step into next function call, etc.
 
You know, if you join from an incognito tab, we won't know you're here :)
 
@Basj I dun remember the exact name, I guess it is the former.
 
Dear popcorn kernel stuck in my teeth: I hate every fiber of your existence D:
 
4:34 PM
I hate fibre too
Makes TP usage go through the roof
 
@KendallFrey bidet
 
@BenjaminGruenbaum @Shog9 @JonEricson
 
@AwalGarg I'll experiment more with these features! Thanks
 
@BenjaminGruenbaum bro... do you even incognito?
 
@Basj have you haven't seen it - watch codeschool.com/courses/discover-devtools
 
4:36 PM
@BenjaminGruenbaum There's also the transcript, but that doesn't update automatically. ;-)
 
I hate transcript lurkers
I feel so... watched ._.
 
@BenjaminGruenbaum waw looks pretty cool!
I'll have a try on this!
 
@SterlingArcher stop going to the gym
 
@BenjaminGruenbaum I usually read from the transcript. If you see me in the room, either I wanted to be visible, or I just deleted something.
 
No way. I have to look as good as @jAndy if I want to be a successful brogrammer
5
 
4:39 PM
@SterlingArcher also, go vegan.
 
Can't, I love meat too much.
 
And paranoid about news media
 
go vegan
 
And like jQuery
 
I've been tearing up some carrots and broccoli, but it just doesn't fill me up
 
4:41 PM
so interesting.. thats the way the room looks at me. Paranoid vegan that loves jQuery
 
@Shog9 don't feel bad, I literally do the stealth thing for a game I develop for when I don't want to be nagged by the players.
 
totally forgetting about whoredom
 
Also old and rich
 
If it makes you feel better I'm under the impression copy is a centimeter tall and has a billowing red cape
 
whoredom makes you old.. and rich
 
4:43 PM
@jAndy also - the game.
 
appreciated
 
@jAndy so you are more paranoid and love jQuery even more?
;p
 
You're welcome, now come up with ideas for a library/framework/language
 
4:45 PM
@AwalGarg it was superseded though
 
...react.js
@BenjaminGruenbaum may your keyboard shatter this very instant
 
Scala
 
APL
 
Scala sounds fun
 
@BenjaminGruenbaum DAMN YOU
 
4:48 PM
How about a userscript contest? cc @rlemon
 
@BenjaminGruenbaum jquery
 
@BenjaminGruenbaum what library/framework/language :P
 
32 mins ago, by Benjamin Gruenbaum
How do you feel about picking a new framework/library/language every month and coding a short (pretty identical) task with it - then comparing to other room regulars? I think it could be fun - kind of like the lounge jam but getting to play with new toys.
 
I'd like to build something in knockout.js
 
you clearly have too much time in your hands
 
4:49 PM
Their event handling looked pretty cool
 
^ (the one above the one)
 
@jAndy I want to learn more stuff, that's a way to do it.
@SterlingArcher knockout sounds fun, haven't played with 3 yet seriously.
 
Scala, Clojure, Erlang, OCaml, C++, Rust, Go, J, Lua, R, Julia, Rebol
 
I'm changing my vote from Scala to Clojure, also it's a lisp so @FlorianMargaine would be happy.
 
@BenjaminGruenbaum let's define the "task"
@BenjaminGruenbaum meh. Common lisp > clojure
but yeah, better than scala
and I'm voting OCaml. I have no idea what this language even looks like.
@copy no Ada?
 
4:51 PM
@FlorianMargaine any ideas? It should be as big as an interview question and should be vaguely practical.
 
How 'bout a VFX competition, double dare ya all mfs
 
@FlorianMargaine write a distributed map reduce function in erlang!
 
@CapricaSix silly lemon.
 
@CapricaSix did you just tell me to go fuck myself?
 
@FlorianMargaine Yes
 
4:52 PM
@FlorianMargaine I believe she did.
 
I believe I did Florian.
 
Bob.
My name is Bob.
 
The bot is gaining sentience.
 
Sponge Bob.
 
4:52 PM
Obligatory ref:
 
Bob is running the bot
 
@BenjaminGruenbaum hehehe
anyway
 
Hello eveyone, I hope someone can help me with this. I need to find examples that generates forms for DATABASE creation using javascript. What I mean by databases is just creating a form with inputs like "database name" and after that a button that says "add table" and then "add columns" and then "add column values". I know how to generate forms with javascript, but what I'm looking for is some sort of best practices in this scenario. Something like recursive form generation
 
@JavierQQ23 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.
 
especially given the nature of the languages, I think the task should have some possible concurrency
 
4:53 PM
Spongebot
 
"possible", i.e. not forced
 
Tom and jQuery
 
Tom and jAndy
Sitting in a tree
 
Tom and kFrey
 
@JavierQQ23 why recursive? Also, I'm not sure the JS is the harder part here - how would you represent it in your backend?
 
4:55 PM
I'd love it
 
@jAndy But you're vegan, so you couldn't eat his meat
 
well its not the best term to explain it. I just want generate a form with javascript in order to create a database
 
and you like jQuery who is an enemy of Tom
 
I know how to use javascript for this, but I'm not sure if there's some examples of it. I want something like phpmyadmin database creator
 
I think I have to make some things clear about my opinion on jQuery some day :p
 
4:57 PM
jQuery 1 was nobody's enemy. jQuery 2 is the friend of redundancy.
 
@jAndy We don't want to see your nudes with jQuery. Sorry.
 
@BenjaminGruenbaum how about a css minifier similar to this one? github.com/Ralt/cssminify
the state machine is barely 150 lines in Go
 
Also it's embarrassing they still haven't figured out how to work requestAnimationFrame into it although I haven't checked for a while.
 
@FlorianMargaine I'm game.
 
@BenjaminGruenbaum I lose.
 
4:58 PM
@BenjaminGruenbaum ok. Who's in?
 
@Sippy it's not about losing, it's about learning a new language.
 
Any of you guys decent at C++? Just looking for recommended reading that a JS dev would appreciate.
 
@BenjaminGruenbaum No I lost the game.
 
jQuery was a very nice bridge from like 2009 - 2011, imo the best way this could have been done in the big picture. Nowadays I think libs/frameworks like jQuery are just clutter and debris and will eventually die in unimportance
 
@FlorianMargaine I think we should wait until tomorrow and vote on it etc.
 
4:59 PM
The game.. oh dear
 
@Peter 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.
 
@ErikReppen C++ Accelerated
 
@ErikReppen "The C++ Programming Language" is a very decent book.
 
@BenjaminGruenbaum let's make a gist for ideas?
 
@FlorianMargaine I thought about using meta.so but I don't think that's appropriate
If only we had CMs here to weigh in
 
5:00 PM
if you want a challenge, you can go on codegolf.SE
 
doo hasht ferlorn
 
If you want a challenge, learn REBEL
 
@BenjaminGruenbaum meta is fine if it's about the site. JS room contest seems "about the site"
Just be aware that you may attract gawkers
I mean, more gawkers
more of us
 
@FlorianMargaine I want a JS room monthly challenge, not a codegolf.SE question.
 
how to force integer casting? (int(var))?
 
5:03 PM
|0 (i think, not sure)
 
returns "int is undefined"
 
!!>25.3|0
 
@AwalGarg 25
 
Hey guys. I have a quick angular question, is it possible to change the url to match a model value? I have a list with a set of filters and I would like to change the url whenever someone changes one of the filters and the application to load those filters upon load if there are any
 
!!tell Julo0s5 google javascript convert to integer
 
user1596138
!!afk lunch
 
Welcome back @Jhawins!
 
@Shog9 hi!
 
0
Q: JS Room Monthly Challenge Voting

Benjamin GruenbaumWe at the JS chat room want to throw short monthly challenges where everyone gets the same task in a new language/library/framework. The idea is to learn a new technology, code something fun and share knowledge, opinions and experience. The scope is meant to be rather small. It's something one s...

8
 
Sounds good
 
5:14 PM
@BenjaminGruenbaum "it uses a none JS technology" none -> non
 
also might want a link to the chatroom
in case everyone isn't aware it exists and is part of SO
 
hi guys
 
Hi @Mosho
 
5:15 PM
@BenjaminGruenbaum long time no see
 
Totally, are you ordering out?
 
I'm torn
 
@florian @BenjaminGruenbaum Thanks guys.
 
!!nudge 100 call pizza (:P)
 
5:22 PM
@towc Nudge #1 registered.
 
@BenjaminGruenbaum It looks like people are assuming the output will go to a question on the main site or somthing. I assume you mean people to drop links to their projects in chat, if anything.
 
Seems more like the kind of question you might see on programming puzzles and code golf than SO though. — Martin Smith 12 mins ago
Why not just use a new tag on Programming Puzzles?
 
31 mins ago, by Shog9
@BenjaminGruenbaum meta is fine if it's about the site. JS room contest seems "about the site"
 
@SterlingArcher I think he meant for discussing the topic of a JS room contest.
Not for implementing a JS room contest.
@Shog9 ^
 
Technically it's not implementing the contest. It's just informing people. The answers look like topics/challenges, so answers that aren't a challenge will probably be removed/downvoted. Answers (from what it looks like) will be either in repo form, or if qualified, SO Q/A form
But clarification would be nice
 
5:35 PM
Seems weird to actually run these contests from Meta
 
@BenjaminGruenbaum Interesting idea
 
@JonEricson I'm on mobile atm but I see your point
Can anyone edit?
@SecondRikudo make suggestions :)
I didn't think of a SO Q/A form, just a chat thing. I mainly wanted a zero friction poll :p
 
sounds like bar trivia, but with code. How will questions be ordered (votes, submission date)? Where will solutions be kept?
 
Question of the month will be pinned, I'm thinking about opening a repo and then taking PRs
No ranking or ordering, just coding for fun
 
What's the motivation behind specifying a language for each challenge?
 
5:49 PM
for an example
 
@ssube learning new stuff
 
fair enough. Sounds interesting.
Will it only be mainstream(ish)/"useful" languages, or super obscure stuff too?
 
do you count haskell mainstreamish, or super-obscure?
 
@ssube whatever you want to learn.
 
@JanDvorak It's definitely not super-obscure. That seems more like your 2d bitmap-based languages from the ninth page of the esolang wiki.
 
5:56 PM
@BenjaminGruenbaum added an answer :)
 
@ssube Piet isn't super obscure
 
@BenjaminGruenbaum where'd you put up your conversation with Shog again?
 
can we use this joke anymore?
or is it done
 
6:09 PM
@SecondRikudo in the question
 
@FlorianMargaine the question?
 
@SecondRikudo you were talking about the discussion wrt the monthly challenge?
 
@FlorianMargaine No, about his email discussion on the incident.
 
Yes, where? :P
 
6:13 PM
@BartekBanachewicz this is what I was trying to achieve yesterday. Ended up using moving divs in the end codepen.io/MateiGCopot/full/PwoqXE
 
user1596138
@BenjaminGruenbaum would you have a pinned challenge in the room or somehow utilize the event system? Or is everything to be posted on Meta? I'm confused about where the challenge is actually held.
 
user1596138
Err wait I think the answer to my question is in the comments I'll read first.
 
Keep the challenges in the repo's README?
 
Neil deGrasse Tyson.. so nerdy he's cool
 
@Jhawins Pinned in the room, challenge in GH repo, authors make PRs. I think.
 

« first day (1488 days earlier)      last day (3451 days later) »