« first day (19 days earlier)      last day (132 days later) » 

6:26 AM
@copy Why ? Suggestion to make it less ugly ?
(in fact there is this problem that part of the html is template generated and part of it is js generated)
 
Get rid of 1) Generated JavaScript 2) JavaScript in templates completely
 
Of course that's the way to use csp, but how would you send page related data (most often authentication+right+time related) ? additional pure json query ?
 
Oh wait, that template is rendered on the server?
Well, that's tough, I'm definitely not the right person to ask
 
And I thought that would be the first time I'll keep a template engine... In all my previous attempts I finally decided it was simpler to stop using templates and just send static html and generated json...
 
Yes, that would be simpler and cleaner
Well, cleaner if it was making a round trip to the server to fetch the json
Ah, I don't know
 
7:23 AM
@dystroy you'll still need to pass variables to your html, so you need a template engine
 
@FlorianMargaine Usually I generate JSON, based on standard parameters (either get or post)
 
so the html you send back is nothing but divs, and you fill in the content from your JSON?
 
7:39 AM
I find myself needing to have nested templates, and I haven't found a decent library to do that yet
You can do it with underscore, though it's not very conventional
One of the parameters to the template has to be another template that gets called
 
@FlorianMargaine yes, it's usually the layout
 
 
5 hours later…
12:13 PM
How many developers does it take to solve a cryptic riddle?
 
I can't follow the stream in the JS room....
 
12:40 PM
Pfff...
$(this)[0].getAttribute('src') is, ahem, the opposite of smart. Use this.src or $(img).attr('src') if you really want a $. — dystroy 1 min ago
Seriously...
$(this)[0].getAttribute('src')
 
@dystroy JS room got retarded again, yesterday.
 
@NickDugger Yes, the users whose name starts with a "a" again ?
 
Not sure who you're refering to. The person I was talking about starts with a "z"
 
12:59 PM
> They're an infestation here
Do I miss something ? Why is it not flagged ?
 
What/where/who?
 
in JavaScript, 2 mins ago, by Cerbrus
They're an infestation here
If I understand, it's about turks in germany. I hope I misunderstood
 
1:14 PM
lol, It's politically incorrect, but not really flag-worthy.
 
 
1 hour later…
2:41 PM
@NickDugger it's blatant racism. Of course it's flag-worthy.
 
I guess it's just my sense of humour.
 
 
1 hour later…
5:07 PM
The JavaScript room is terrible
 
5:20 PM
Thanks Obama Zigi
@m59 That guy last night ended up with 16 downvotes: stackoverflow.com/questions/9592461/…
 
5:46 PM
@m59 When I posted the above, he was suspended.
and it's mostly @BenjaminGruenbaum doing the rollbacks
 
m59
6:07 PM
Yeah, I saw Benji's rollback script :)
 
aw, I missed it
I love it when humans try to fight scripts.
the shorter the better
 
6:24 PM
@Loktar I've almost completely stopped using VS
takes too long to load
ST is up in half a second
 
I hate VS
but they use it almost exclusively where I work :?
 
well, I do use it for legacy support
 
and that was half the battle with using task runners
 
I've been thinking of trying out IntellJ
 
people didnt like loading up the CLI
 
6:25 PM
winforms without VS is murder
 
oh yeah definitely
I mean you need vs for some stuff for sure
but for html/css/js I stay away from it personally
just too heavy
 
not for web :/
even c# backend.
not sure how ASP.NET integrates with VS (stayed away from it)
 
its a hassle to try and do it w/o VS
I hate asp.net but again.. its what they use where I work :(
 
I have to write my JS in VS, because my coworkers think that there will be compatibility issues if I write it elsewhere. I don't think they fully grasp our work.
 
...wat
Compatibility issues due to editor?!
 
6:28 PM
hah
maybe the spacing/tabbing will be off and make them angry
 
Kind of makes sense, if he edits the files outside of VS, it can't be imported into VS anymore
 
I don't even know... all I do know is that their understanding of some things is frustrating.
erm, lack of understanding is more like it.
 
@copy .js files?
95% of people who work in tech are idiots
 
samsung partnered with oculus to create a VR headset
 
@SomeKittensUx2666 Yes (well, not necessarily, but you can never know when it comes to VS)
 
6:32 PM
@copy nah editing JS files are fine outside of VS
I've done it for years
 
No wires++
but limited to the Note 4--
 
@SomeKittensUx2666 yeah that is really cool
in fact the project I'm working on right now I have a bunch of less files and I use an ST package that compiles the less to CSS and copies it directly into the project folder
saves me a ton of time, and to them they just see normal CSS
 
How does that work when they edit the CSS?
 
well they haven't had to yet :P
but yeah they will need to use the less files
or mine will just be throw aways for this project maybe idk
only took an hour to setup the vars+mixins I needed, mostly just saves me time
but yeah good point Ill have to think that one over.
 
Our designer does all his own SCSS
So I never have to touch it
 
6:37 PM
bleh yeah id mess with SCSS if you didnt have to install ruby as well
I just know the people here would push against that
already was an uphill battle to adopt gulp/bower
 
Aren't you the lead, though?
 
for front end
but I still have to work with backend devs
and VS is a HUGE part of the workflow
the projects are all really tightly integrated so far with .net unfortunately
so for them to setup the project to dev they have to do npm install/bower install
and they are like meh.
but that article is really promising, makes me a little jealous though, they get point and click functionality for gulp/bower
 
@Loktar just get a preprocessor. We use "Prepros" here at work to compile our Less files upon save
 
oh thats not the problem, I already have less integrated on some of the other projects in the gulp process
I was saying if I went to scss and they had to install yet another dependency (ruby) they would probably be annoyed
 
Ah, yeah
 
6:42 PM
LESS is roughly equal to SASS
I'm just used to SASS
 
I really like Less honestly. I don't do anything terribly crazy with it though
mostly just nesting, mixins, and vars
 
That's the point
Heck, I just use nesting mainly
 
I like SCSS, it's close to LESS syntax but has a few more powerful options
the transition was dead simple
 
@rlemon what, specifically is better?
I'm curious
 
there are some good points in there
there was another blog post outlining other things as well
tbh I don't use enough features to care, but if the syntax is almost identical and one is better, i'll use it
 
6:57 PM
I forgot about this room for a while lol
 
I wrote a function in LESS that generates a grid. Other than that, it's just your average nesting, mixins, and variables
 
Was watching zigi and other dude talk in other languages and got bored, thought everybody ran off xD
 
@PeeHaa welcome
 
@SterlingArcher That's close to the reason why we're all in here today
 
\o/
 
6:59 PM
welcome to EcmaScript, AKA star-sexually-questionable-things-kittens-says!
 
tnx
 
The js room when zigi is in room 17
 
I take back all of the bad things I've ever said about this room.
 
@FlorianMargaine are you still working out?
Nobody is updating the sheet
 
7:02 PM
@Jhawins get in here.
 
Today's question: How does JSBin's console settings enabler work?
does Remy just define a getter?
Dave is ready.
To edit settings, type this string into the console: offb9t3
d[ o_0 ]b
> offb9t3
jsbin.settings can how be modified on the console jsbin-3.18.35.min.js:2
undefined
 
@SomeKittensUx2666 it was awesome
 
What was his average response time?
 
in JavaScriptists, 12 hours ago, by Benjamin Gruenbaum
And this kids is why you need JavaScript, to win at idiotic edit wars :D
Well, my script polled at 4 seconds intervals, he usually rolled back every 2 or 3 intevals.
I kind of left the script running for a while - I thought the edit war was done at like... 50 and then when I came back it was at 120
 
7:05 PM
@SterlingArcher he claims he forgot about console.log
document.write() was just for a simple example; I would never use it on a real website. Honestly, I completely forgot about console.log() and now I'm feeling a bit silly. — Daniel Gulliver 7 mins ago
 
So what were the reasons we couldn't just get rid of ziGi again?
 
@BenjaminGruenbaum holy crap :P
140+ edits
 
It was a really simple script anyway
@Retsam for one thing, we can just talk to eachother here
 
@Retsam He's like the clap, keeps coming back
 
cc @Jhawins
 
7:10 PM
in JavaScriptists, 8 mins ago, by Jhawins
Alright. Same chick is pissing me off but now it's just bullshit
But not if you start like this again
Seriously
 
@BenjaminGruenbaum Having to migrate the entire community away to deal with one problematic member doesn't really seem like an ideal solution.
 
user1596138
Hey what
 
Migrating is a very rough term for 'speaking in this room' :P
 
user1596138
7:11 PM
I was mobile
 
@Retsam It seems to have worked
 
It worked for a month
 
user1596138
@copy lol what? I can complain about stupid office problems like that. It's not unreasonable and I'm careful to not seem sexist, cause ya know... forking an such.
 
'dongle' is sexist!
so especially don't say it between two consenting adults.
 
I love how @Shmiddty and @Jhawins barely intersected at their highest activity period and Josiah sounds really sexist to Shmiddty :P
 
7:13 PM
@Retsam 100% agree
 
@rlemon you wanna kick him - kick him. I really don't care.
 
@SomeKittensUx2666 I mean, this works fine for the existing community; but anyone who might have joined the community is going to go into the JS room, find the "ziGi comedy hour afternoon" and not be inclined to stick around
 
user1596138
@BenjaminGruenbaum Wait, my name sounds sexist or I sound sexist?
 
You sometimes sound sexist, not in a bad way imo though since it's all shitz and giggles
 
user1596138
I have gained a certain amount of respect for others who may not see things the same way as me. When I first showed up I was like Zigi and others who insisted others shouldn't see what I say as offensive if I don't mean it that way, but man is that silly.
 
7:15 PM
@Jhawins Sure you can, but that's just a bait for annoying people to start a massive discussion that lasts 2 hours and nobody actually cares
 
@Jhawins You came off as extremely misogynistic when I was first introduced to you
 
Yay JS room is racist again
 
Huzzah..
 
Now they're talking about Jews
 
user1596138
So... At least I try now sometimes :P. But I can totally see why anyone in the room would've seen me as sexist when I first showed up. And for a few months
 
7:15 PM
Awesome
 
user1596138
@Shmiddty ^ I agree with you :P
 
Stereotypes and stuff
 
Won't be long until Godwin's law is invoked
 
Probably
 
Godwin's law... why do I know that term.
 
7:16 PM
We should invite Zhegan here, he's been in the JS room the longest
 
I know flags are looked down upon for pestering the mods, but can we start flagging the racist messages?
 
Godwin's law was invoked hours ago
@Retsam absolutely.
 
I'm very close @Retsam
 
@SterlingArcher internet
@Retsam just mute and move on? Or ignore it and discuss here
 
user1596138
7:17 PM
@copy I'm sorry but I don't think that's my fault. Why you wanna bust my balls over that? I say a lot of things that would be better to make a fuss over than this.
 
that is the wrong idea. "turn the other cheek" works when some asshole cuts you off on the road, not when there is an offense you see on an almost daily basis
 
I'm a fan of Godwin's Law of Time Travel. "As the amount of time-traveling you do increases, the probability of Hitler winning World War II approaches one."
 
lmao what..
 
user1596138
@Retsam That or trash them depending on the user. Dugger did a very flag worthy joke earlier but I just binned it
 
Parkinson's law is my favorite
 
7:20 PM
Cole's Law is mine
 
better drop of bit of pastis than forget to drink it?
parkinson > alzheimer
 
@Jhawins In my opinion you can be an asshole as much as you want, but should try to avoid moving the room topic to some smalltalk for a longer time
 
user1596138
@BenjaminGruenbaum Great term! I always thought there would be a word for that
 
(pastis = alcohol)
 
Oh also the razor that's not Occam's , whats its name
 
7:21 PM
Hanlon's?
 
Hanlon's razor!
Yeah
 
user1596138
@copy ...Now I'm an asshole? I unshrunk you because I figured maybe I overreacted, but literally every time you ping me it's this bullshit. If I'm understanding this message correctly I'd say we should go back to the old way, ignoring.
 
I have no idea what it means, but I've heard the term before
 
@FlorianMargaine parkinsons causes memory loss too
 
@Jhawins "you can be an asshole all you want" !== "you are an asshole" , just saying you can be one and he wouldn't care
 
7:22 PM
Ah. "Hanlon's Razor: Never attribute to malice that which is adequately explained by stupidity."
 
..
 
@Jhawins I actually implied that you're not one
 
I haven't ignored someone in ages
 
same
 
@Jhawins look who's butthurt :P
 
user1596138
7:23 PM
Then you are far superior to me in understanding english lol
 
Ignoring someone is just confusing yourself
 
@Jhawins he's German, that is an accomplishment :P
 
@SomeKittensUx2666 Just the other day I set a record for fastest ignore
 
user1596138
@BenjaminGruenbaum I am butthurt!! Haha it's Copy
 
7:24 PM
I literally just spoke, le random person saw my name, and pinged me asking me to solve his problem
 
Oh, I remember that
I think we should probably start muting users who do that
 
Cole's Law: Thinly sliced cabbage
5
 
Lemon's Law: Fuck you all, I'm out.
 
@SomeKittensUx2666 The python room actually has a strong cabbage culture.
 
@BenjaminGruenbaum lol
 
7:27 PM
Man, swift can be so frustrating sometimes :/
@FlorianMargaine it does, they start discussions with cbg X
Go there and say "cbg everyone!" - see what happens
 
I know, a friend is a regular over there
 
yea i sometimes pop into the python room
cabbage language is messed, always throws me off at first
 
I should probably pop in there.
 
@rlemon did you ever finish that websockets node thing at work?
 
still working on it
but version 1 was released
 
7:30 PM
we insulted each other as "yam you tomato" for a few days with that friend
 
it will probably be my focus for the next year +
 
@SomeKittensUx2666 oh wow I just now got it I feel so slow.
 
need to make it more stable, add some features, move it off the beaglebone, etc.
 
user1596138
Ok I'm done that's it I promise hahaha
 
m59
7:53 PM
Do you guys mind if I use your usernames in a demo?
 
my username is my real name... I don't really care
although I don't think you'll use my name
 
m59
Just the first part :)
I can't have spaces and brevity kinda matters for the demo.
 
Sure
Good luck explaining it
 
"so... this guy is 'some'"
 
8:08 PM
my first name is actually just 'r'
 
user image
5
this is just epic
 
m59
@rlemon alright, zombie.
 
0
Q: What happened to: "What benefits are there to native JavaScript development?"?

Benjamin GruenbaumI was reading this question and answer this morning and I noticed it disappeared now and I get an error page with "removed for reasons of moderation" What happened to the question and why? I recall it having 6K views and some activity today (A friend of mine wrote a popular answer there and he ...

 
@BenjaminGruenbaum ping me if you got an answer
I don't have 10k rep on programmers.se...
 
Me neither :P
 
8:20 PM
only 4k, and I haven't answered in a long time
 
8:36 PM
6
A: What happened to: "What benefits are there to native JavaScript development?"?

Thomas OwensI've fixed this. The question was originally migrated here from Stack Overflow in November 2011. It was closed today (3 September 2014) by 5 members of the community as being "primarily opinion based", which I agree with. However, when I was cleaning up other rejected migrations that were not ad...

 
@Zirak thanks
 
m59
9:05 PM
@rlemon did you get the joke?
or just not very funny at all?
well, maybe both haha
 
 
3 hours later…
11:55 PM
sciencedaily.com/releases/2004/10/041022104658.htm my god I love the time we live in
 
.
.
Oh snap. Actually read the article.
 

« first day (19 days earlier)      last day (132 days later) »