« first day (1068 days earlier)      last day (3873 days later) » 

3:01 PM
Hmmm. This sounds a lot like the JS room...
> but slowly petered out under the weight of flame wars, mass-n00bocide, funny cat pictures, or just boredom waiting for the next big thing.
 
hi everyone
 
Hello
 
:), even though that burger has a face its still making me hungry
 
(better with the title)
 
I couldn't find the number
 
3:07 PM
see the previous number, add 1
 
Mmmmm. Burger. I think I'll have a burger for lunch.
 
@FlorianMargaine And if it doesn't exist?
 
Didn't he make that joke before?
 
@Neil as shown above, it does
 
@FlorianMargaine In this case.. otherwise.. divide by zero, baby
 
3:08 PM
ahhhhh! started music and forgot headphones were turned up 100%
dubstep intros are not forgiving for that
 
@naddame 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.
 
@copy He's made similar jokes.
It closely resembles the "certified random" comic
 
crazy that it's only 5 years old
 
Indeed
 
3:17 PM
that guy from the talk Zirak linked yesterday really REALLY hates atwood and joel
and has some compelling reasons for feeling that way
if you have an hour to watch it, I suggest doing so.
 
It's understandable once you read more and more of their stuff.
Did you see the second talk I linked to?
 
no sorry it got lost in the transcript
link again?
 
One of the better ones I've seen.
 
@RyanKinal youtube.com/… watch the entire talk
but that starts at a really good point
@Zirak 4 minute talk. my kinda talk.
 
@rlemon Will do. When I'm not at work.
 
3:19 PM
@rlemon subtitles suck
 
:clicks "watch later":
 
chiggin chiggin chiggin
 
@Zirak there are just so many bad talks
I stopped looking them up myself.
watched some guys talk the other day about why we should wrap every API we use so our app code doesn't touch it directly.
 
Today I noticed some code that's been live on a large retail client's website for almost two months which causes the main navigation on every page to be hidden until after 3 seconds after page load for ~50% of users. Must resist urge to break people's fingers.
 
3:27 PM
@copy That is a great talk. One of my favorites too.
 
everyone is running around like decapitated chickens
 
of all the comments on that blog post I feel this rings true for the majority of users, and is also why I'm so not on main site as much.
> Without StackOverflow I am not able to meet deadlines.Thanks StackOverflow.Thanks a lot.
this is code for "Without stackoverflow I would have to write my own code, which i'm incapable of" - or at least that is how it rubs me
how many of you have considered a position in teaching... so you know.. you can teach students how to actually learn.
 
I think of it as more of "When I run into a problem I haven't experienced before, a google search brings me to StackOverflow where I find out how others have already found ways to deal with the problem without having to waste time figuring it out myself."
 
Professors are really underpaid and you have to write papers and students under 20 are just annoying
 
@copy y no subtitles ffs
 
3:36 PM
@rlemon but that assumes everyone wants to be a developer
some people just have a job to do and need to get it done
 
no, just no.
if that is your attitude you are a bad programmer and I don't want to work with you
@CharlieBrown if you are in the position of "developer" you should want to be a developer
 
@CharlieBrown Then they need to consider a career change.
 
not me
good lord
 
if i was a doctor and didn't want to be a doctor so didn't learn how to be a doctor I wouldn't be a doctor for very long (or at all)
 
Yeah, if your a developer, and your calling yourself a professional.. 100% on board
 
3:38 PM
just because you tickle the keyboard doesn't make you a "developer"
 
great analogy, let me expand on that
 
@rlemon if you were a dr you would also go to communities all the time to look things up
 
I think what Charlie's saying is that some people are just doing it to feed themselves (because programming is good money), not because they want to program.
 
Dr.s don't teach themselves about every disease they encounter
they look up what others have done and researched
 
@Loktar probably, but that ruins my point with the doctor example
 
3:39 PM
if your a doctor, i agree. if your a EMT, you need to know exactly what will correct the issue and nothing more, b.c your NOT a doctor
 
(some) people in programming just want answers without understanding
@Loktar as a doctor does it benefit you to know just how to treat a issue without understanding the issue or the cause?
 
Its the same with programming, there is a definite difference between copy and pasting code, and looking up the correct way to do something, or even the algorithm behind it.
 
copy+paste coders
 
I've pulled my hair out with issues before that after tons of searching found the solution on SO
 
using other peoples code is fine and well, if you have the ability to understand it, or at least have an idea how it all works.
 
3:40 PM
its a fantastic resource.
 
but even developers have limits too. I am using Node for some projects, but I don't want or need to understand the C behind it
 
it is, but it is also used as a crutch for underqualified developers
brb lunch
 
In the end it doesnt matter tbh. The end user never looks at a product and says "I wonder if they followed all the proper programming practices when making this, hope they werent a copy paster" :P
 
not even users, business owners care even less
 
Motives matter, results aren't the whole story.
 
3:41 PM
As I play any game on Steam I know I have never personally though that. "Fuck I hope team meat didn't didnt just copy and paste their code"
 
are my users paying me money... yup.
 
I think a better analogy would be teachers. Some go to it because they want to be a teacher, because they want to teach kids, help the future, etc etc. Some go there because it's a job and that's what they're stuck in.
 
i think most of the regulars on here *want* to write great code, to be great artisans. we want to make it better.
were the 1%
 
It's sad, but it's reality.
@Loktar heh, when playing games I usually try and map it into designs... "I wonder how they made this interact with that"
 
Reality is upsetting.
 
3:43 PM
yeah true. I just think saying you dont use SO because you feel most people on there need code to finish deadlines is silly.
While it may be true, thats a pretty crazy way to look at it
 
I'm at a fortune 100 company right now, we have 200 developers on staff. 197 of them are great people, but just want to come to work, do their job and go home. They don't care to optimize a for loop until the end of time.
 
idc what they are going to use my code for tbh. I just like helping people. Plus it validates me personally.
@CharlieBrown thats the story of every dev I've worked with here
no one has cared about programming beyond it being a job
it is definitely irritating at times
 
I mean, the graphics and gameplay in reality are really sick, but the story is more confusing than Inception's.
 
@SomeGuy I think the maker was a copy paster though
 
Hahaha
 
3:46 PM
the AI has too many issues
 
Bugs are to be expected in this big a project, though
 
yeah true
 
I actually wish I had the time to deep dive into everything, but F... there is a lot of stuff out there. And frankly, I like beer. And Sex. So my freetime is limited.
 
doesnt seem like a lot of testing was done though
I mean what at least two other projects were started.. and then wiped out totally
the dinosaur program kicked so much ass too!
 
Hahahaha
 
3:48 PM
0
Q: how to request a script more than once in wordpress

dramaseaCan I ask how I can request a script more than once in wordpress. For example: for($i = 0; $i < 2 ; $i++){ wp_enqueue_script('alerthello.js', 'example.com/example.js'); } I expect the code to display two hello, but it display one only instead.

 
typical large corporation
 
Yeah, they don't give a shit about the quality of the product, really.
They know everyone's going to just take it anyway.
 
yeah just what "sells"
so lame man
> people are the new dinosaur, delete dino app.
 
Hahahaha
XD
People are the new dinosaur. XD
 
lol
 
3:50 PM
most of the time, they dont care, b/c they are just gonna change their mind and rewrite in a year anyway (for internal apps)
 
4:01 PM
recursion remains supreme!
@nderscore 73 bytes
muahahaha
 
@BadgerGirl didn't know the story
 
posted on September 18, 2013

Back in April I reported that ticket sales for our Mobilism conferences weren’t going too well, and that Mobilism 2013 might be the last one ever. I also promised an update in September. Well, it’s September and here’s the update: there will be no Mobilism 2014. That is, there will be no two-day conference about the mobile web in May. Maybe something else will happen: we

 
@Shmiddty nice! I finally sucked it up and made a quick solution last night because I couldn't sleep. I'll be happy if I can get it under 100 :P
 
4:17 PM
!!> [a=0, b=[a], c=[b,a], d=[c,b,a], e=[d,c,b,a]]
 
@Shmiddty [0,[0],[[0],0],[[[0],0],[0],0],[[[[0],0],[0],0],[[0],0],[0],0]]
 
@CapricaSix mind blown
 
@Rigel 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.
 
AngularJS Question
I have a contenteditable

How can I get the contenteditable content and pass it to <ng-if> ?
 
user1596138
4:36 PM
 
user1596138
What is that arrow for??
 
user1596138
It stays there even if I move tabs around. I slipped and hit some shortcut and now I'm confused.
 
4:50 PM
@Shmiddty this is the best I came up with last night -_- f=function(x)"{"+x+" 0}";print([0,a='{0}',b=f(a,_=' '),c=f(g=b+_+a),d=f(g=c+_+g),e=f(d+_+g),e,d,c,b,a,0].join('\n'))
 
Today I discovered console is undefined in IE9- if F12 developer tools are not open.
I've been struggling for hours to know why the hell my page only worked when they were open.
 
@vzhen bind the content to a property on the scope
 
Yummy! Salad.
 
Poll: Code blocks inside blog posts.
Vertically fully expanded or fixed height with scroll bar?
 
@Å imeVidas Fully expanded if not too long.
If it gets too long, you're doing it wrong.
 
5:05 PM
Example: Last code block in this blog post
 
Fully expanded
 
^ agreed
 
also, be respectful of tab spacing
or use spaces :(
 
Yea, you might want to convert all tabs to spaces.
Some people are just way behind and use tabs instead of spaces.
 
or just tab-size: 4
TABS > SPACES!
 
5:08 PM
^
 
this is a very important topic for all programmers
lets spend the next month arguing about it
 
@rlemon only in Go do I respect that
 
spaces > tabs
 
really, it is moot - but if you are going to display code on a webpage it is your responsibility to handle tabs as 4 spaces not 8
 
5:11 PM
And this cat is wearing a watermelon.
my argument is once again valid.
 
@CharlieBrown I repeat my question. The previous is not clear enough

I have a ng-model. I.E foo.text, this ng-model is not sync update to my db
Then I want to compare this ng-model with the user current input

How can I compare this foo.text to the current input in ng-if?
<ng-if="foo.text == ???">
 
@OctavianDamiean i.imgur.com/ao9rW70.jpg
@Zirak ^
 
@vzhen same answer as before, bind the input to another property on your model
<ng-if="foo.text == foo.anotherpropertyonyourmodel">
 
@rlemon Oh my ... Canada ...
 
@bigbitecode 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.
 
5:15 PM
Before I start developing what I just thought of I'd like to ask y'all if this doesn't already exist.
 
@CharlieBrown and only for that reason i dislike ngular a lil
 
A JS function callstack visualizer. Does anyone know of something like that?
 
your code is disintigrated
though how angular people wan't it is supposed to be super dooper awesome
but following that is impossible
 
@OctavianDamiean trace.gl
 
@rlemon Cheers! You've saved me quite a shitload of time. :D
 
5:18 PM
'morning
 
@OctavianDamiean watching the video, it actually looks pretty handy
 
I want it for the SO chat bot.
Should make things a bit easier.
 
If I'm designing a "thing" like a video player with a bunch of doodads and wizbangs, should I hardcode the outer height/width and have everything inside be percentages?
@rlemon WANT NOW
 
@AbhishekHingnikar not that im a big fan of angular, but that example provides an abstraction and decouples your view from your data, so I think it shows where angular is useful
 
@SomeKittens $15 is not much
after watching that video I might buy it
 
5:20 PM
if you could use the if statement directly against an html element, then you lose testability, b/c you cant test your javascript models then
 
I wish they had an interactive demo
also, I could just get the company to buy it.
 
Holy fuck that looks awesome!
 
@OctavianDamiean you are into rpi programming?
 
I'm into keeping it clean of dust.
 
lol
I have a device that communicates via modbus (rs232) and I want to interface it to a rpi so the rpi will drive the HMI as a webapp
 
5:23 PM
@CharlieBrown Pure angular code is a myth... and like every myth its awesome
 
@mikedidthis brother?!
 
probably is a myth, and ive never created anything I would call 'pure angular'
 
where did you go?
 
i doubt its possible, but more importantly that its not practical
 
< pure angular >
 
5:24 PM
same
 
(any help on the css)?
 
buh dum tsh
 
i tried to start colorbay.me and pixter.in/beta in pure angular they all endup being backbonish
@SomeKittens what do u want :D
 
@SomeKittens percentages with mins set
 
CSS best practise: If it works, be happy and don't try to change it
 
5:25 PM
always set a min
 
@copy ... thats a horrible practise
 
but in the end, the framework can give you some productivity boosts if thats what you need. you just deal with its idiosyncrasies
 
working code > not working code
 
@CharlieBrown well i wrote perfectly modular javascript code
my boss found it too complex
and he wrote stuff like
$("x").hide();
$("x2").hide();
$("x3").hide();
$("x4").hide();
$("x5").hide();
 
@rlemon Sweet, thanks. I'll need to dig through some CSS in the next few days for sizing.
looks like EVERYTHING is hardcoded
 
5:26 PM
@AbhishekHingnikar We're talking about CSS here, not a programming language
 
width: 100%;
min-width: 125px;
^ @SomeKittens stuff like this
 
@mikedidthis yea, where did you go and why did you never join us on TS?
 
@SomeKittens can u show me ? what u want help with
and if lemon says i believe :D
 
@AbhishekHingnikar It's for work...
 
because if some knuckle head decides he wants a 200px wide player...
 
5:27 PM
well, thats always a consideration too, you must consider your external audience (the users) and your internal audience (your fellow devs)
but yeah, some people suck
 
@SomeKittens so what exactly is your requirment ?
 
working code
 
for what ?
 
web stuff
 
@rlemon SHTAP
 
5:28 PM
They want to make the view video interface 1.5x bigger
 
on ur works homepage ?
 
No, in the app itself
 
.video {
  height: 150%;
  width: 150%;
}
.video * {
    zoom: 1.5;
}
done and done
 
@rlemon that will kill his performance
 
@AbhishekHingnikar and your lack of getting a joke will kill the humor... but that doesn't stop you from not getting it .
 
5:29 PM
infact .video{ transform-origin:center center; transform:scale(1.5); } is better option
@rlemon meh i knew u were joking....
i just dont want him accidently writing it :$
 
user1125394
string params [0,2]; < what does this C'ish instruction do?
 
I trust SomeKittens to not be a moron :P
 
@rlemon well, we're talking about CSS here
 
@SomeKittens what i suggested will work performantly :P but video will be pixelated (x
@SomeKittens show us a sneak peak atleast
 
@AbhishekHingnikar Bleh. That won't work, given the class nesting of this page.
There's a 30-day free trial: zaption.com
 
5:32 PM
@SomeKittens the video on the zaption site ?
 
No, that one's static (which is silly, but we're working on it)
 
meh you are out-of-luck especially since i saw the span pool
with a flood of !importants , yuck
ps sublime-video's css should have something that decides max-video size tinker it
 
user1125394
string[,] names = new string[5,4]; so this is a multidimentional array in C, 5 col, each one with 4 rows?
 
Are you still looking at the home page?
 
@SomeKittens your site should wait for images and fade in once they are loaded
 
5:35 PM
@SomeKittens
top: 214.5px !important;
height: 550px !important;
left: 463.5px !important;
width: 976px !important;
 
user1125394
int[][,,][,] inception;
 
thats how they are setting the video size in center... using javascript!
 
@SomeKittens also the mouseover on the about pages should 'fade to colour' not snap to colour
 
@rlemon some feedback here please colorbay.me
please .. me begs
 
takes too long to load
 
5:37 PM
any suggestions how i reduce that ?
 
don't make me download ~3mb of data ;)
 
@AbhishekHingnikar where did you find that?
 
I like how the progress bar gets maybe 10% of the way before it's done and fully loaded
 
serve images from different domains
the 'down' arrow from the main frame is a tad buggy
or appears to be so
it disappears
 
Images should be more compressed and it downloads the same font in 2 formats
 
5:39 PM
single pages apps should have a return to top button
and each section should have a button to slide to the next section
but DONT fuck with the scroll
yea, and from the home page click on the down arrow to get to features, scroll back up, click on the arrow again (just to prove it is still there) scroll to the bottom of the page, return to the top, arrow is gone.
why?
who was the brainchild behind that one?
 
@SomeKittens chrome inspector
just inspect the video
// the controls are <svg> so u should be able to find the video tag
 
@AbhishekHingnikar ...on our website. Was that still the homepage (which I told you has nothing to do with the page I'll be working on)?
 
other wise $("video")[0];
@SomeKittens yeah i assume u use same thing for video no ?
 
No, it's COMPLETELY DIFFERENT
 
in the ipad, the red dot under timeline obscures the text, drop it down 3px.
 
5:43 PM
@SomeKittens yeah but inspector should help :P
 
also, brb
 
rule of thumb : chrome inspector is your best friend it lets u edit css in real time
 
on scroll up the animations should reset
 
@rlemon :-) okay
 
I like seeing them a second time when I scroll down.
and that is all of my visual feedback for now
 
5:43 PM
:D thank u so much :D
 
!!tell RyanKinal youtube pumped up kicks dubstep
 
Always a good video :-)
 
:)
I wonder how difficult it would be to create a wireframe of him doing this dance
then skin it with everything under the sun
moose doing that dance would be funny
 
lol, agreed
 
5:50 PM
@AbhishekHingnikar Yeah, I'm a web developer. I know all this
 
@SomeKittens :-> thats how i usually fix legacy css
 
It's not "legacy" as it was written a few weeks ago. It's just not written with extensibility in mind.
 
user1596138
Does anyone on here use BTC?
 
I sometimes use BBQ.
 
5:54 PM
The BT x86 assembly language instruction stands for Bit Test and was added to the x86 instruction set with the 80386 processor. BT copies a bit from a given register to the carry flag. Example: copy the third least significant bit from EAX to the carry flag BT EAX, 3 BTS (Bit Test and Set) operates the same, but also sets the bit in the register, while BTR (Bit Test and Reset) resets it, and BTC (Bit Test and Complement) flips it. References
 
@Xedret 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.
 
@Jhawins nope.
 
@Jhawins I used BTC and LTC before...
 
if it is what I think it is i used it back in the 80's but it didn't clear up the rash.
 
user1596138
There's just so much BS now days. It'd take me at least a week to legitimately buy 1 coin right now.
 
user1596138
5:58 PM
You have to verify a bank account and shit, which takes 2-3 business days. Then some places even have you upload a picture of your ID and they want all this crazy information. No way.
 
!!color fafafa
 

« first day (1068 days earlier)      last day (3873 days later) »