« first day (1306 days earlier)      last day (3659 days later) » 

1:00 PM
Not sure. Latest change I noticed was CubeGeometry got changed to BoxGeometry. I am looking forward to their geometry overhaul. It will speed things up.
 
1:11 PM
!!> new Date('2014-05-03')
 
@ThiefMaster "2014-05-03T00:00:00.000Z"
 
anyone knows if all (non-legacy) browsers support YYYY-M-DD strings in the Date constructor?
 
no idea
 
@Schoening ^
took longer than expected :/
 
righteo, just sorted out my pension forecast!
now to try and rig the UK inflation rate to be more in my favour
 
1:17 PM
@rlemon // i'm an idiot, this is constructor stuff.
 
I wrote it then thought. hrm. these should move
 
 
It's a nice demo. But I am not 100% sure what you want to tell me with it. I can see one has the canvas size set. And the other scales with the body via css
 
@ThiefMaster not sure about some crap mobile browsers, but AFAIK that's the case on desktop
 
1:21 PM
HAMMAHTIME!
 
That one is freakin awesome :D And I see its all because the canvas is so small.
 
@OctavianDamiean BROOOOOOOOOO!!!!
 
Wait a minute. Is this some super epic effect or am I just being fooled by a lot of blurry circles that make it look like a liquid :D ?
 
metaballs.
 
1:24 PM
BBBBUUUOOOooOOOoOOOOOooOoOooOOoO!
 
Ahh ok
 
@Schoening basically loop over every pixel after drawing the circles with fading gradients. then check alpha channel and if it is < a threshold reduce it to a point
 
Is there a way to detect in angularjs wether click occured in certain area or not.
 
makes it look lava lampy
 
It is very nice :) I save that one hehe
 
1:26 PM
Don't want to mix it with jquery.
 
@Eugene certain area of what?
 
well for example I have certain clickable area where I want to detect click and if it was outside that area, then do something.
 
hi all!!
I've a simple question to ask, should I ask it ??
 
@Harish No, you obviously haven't read the rules.
 
wow
lol
 
1:36 PM
@Dimse 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.
 
that is x/y of the window not of the div though
 
is there any purpose to jquery's ui-first-child class other than use as a selector?
for convience?
like, if i try to reorder my li's and i take off this class and assign it to the "new" first-child, is there any harm in this?
@Loktar
 
@Eugene you get the fiddle?
cans omeone do me a favour, send me a picture using imgrl or whatever is usually blocked, see what theyve done to me proxy settings
 
The power to close questions comes with some unwanted attention at times
0
Q: Editable div ignoring `\n`

ManishI have a div with attr("contentEditable",true). The problem if I enter text 111111111111 2222222222222222 33333333333333333 It simply take 1111111111111111112222222222222222222233333333333 Why?

 
1:55 PM
@steffenhiller 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.
 
hi sexies
 
ello goregous
 
happy hump day
 
happy what a what day?
 
!!urban hump day
 
2:02 PM
@rlemon hump day The middle of a work week (Wednesday); used in the context of climbing a proverbial hill to get through a tough week.
 
wednesdays are humpdays
 
@adeneo You're sure \p{L} works in js regexpes ?
 
it's a day where you hump everything in sight
 
@dystroy - nope, never seen it used in javascript, going to test it now ?
 
I tested and failed, that's why I asked
In my experience there's about zero unicode support in js regexps
 
2:03 PM
@dystroy - I tested and failed as well, so I guess not ?
 
I let you change your comment ? Don't want to appear as a dick...
 
ah i got it :)
anyone feeling remotely charitable?
 
@DrogoNevets not me. You want a downvote ?
 
@dystroy - That ship has sailed
^^ :joke:
 
@dystroy no i want a picture that is usually blocked but am hoping ive got my proxy settings updated now (i can finally see peoples avatars at least!)
 
2:06 PM
and ?
BTW does somebody know if ES6 or ES7 is supposed to bring at least some decent unicode support in js regexes ?
 
@DrogoNevets yep. Will play with it a bit. Thanks.
 
@Eugene no worries
 
I can't for the life of me figure out why this is so popular
856
A: Is it possible to apply CSS to half of a character?

ArbelNow on GitHub as a Plugin! Feel free to fork and improve. Demo | Download Zip Part1: Basic Solution Demo: http://jsfiddle.net/pd9yB/5 This works on any dynamic text, or a single character, and is all automated. All you need to do is add a class on the target text and the rest is taken...

It's "now on Github", but it's just ten lines of CSS ?
Someone should create a proper plugin with cssHooks so you could just do

$('.collection').css('fontColor', ['#fff', '#000'])
 
@adeneo because everybody can understand the question. That's a huge factor. Combine that with the fact many developers don't immediately see a solution... and pretty images...
 
@adeneo ok, i'll make it
 
2:13 PM
@dystroy - But common, do I really need to download ten lines of CSS from Github ?
 
you probably can use gulp and browserify to do it for you
 
@adeneo i would guess its more than CSS, surely the JS would, by default, take the content and put it in the data attribute?
 
@DrogoNevets - There's a rather poorly written script that splits the text into spans as well
 
@adeneo havent looked to o closely, cant for the life of me figure out why one would want to do that
 
@adeneo ಠ_ಠ
that's all ^ that does :P
 
2:18 PM
@DrogoNevets - I think the OP was trying to duplicate a logo
@rlemon - I know, and Greensock has something called splitText that does the same, but it's properly written
 
hehe mine probably isn't written any better :P
 
@adeneo dear, don't look at my repos
 
@rlemon - yours is a lot better written than this
jQuery(function($) {
    var halfstyle_text, halfstyle_chars, $halfstyle_el, halfstyle_i, halfstyle_output, halfstyle_style;

    // Iterate over all class occurrences
    $('.textToHalfStyle').each(function(idx, halfstyle_el) {
        $halfstyle_el = $(halfstyle_el);
        halfstyle_style = $halfstyle_el.data('halfstyle');
        halfstyle_text = $halfstyle_el.text();
        halfstyle_chars = halfstyle_text.split('');

        // Set the screen-reader text
        $halfstyle_el.html('<span style="position: absolute !important;clip: rect(1px 1px 1px 1px);clip: rect(1px, 1px, 1px, 1px);
 
funny, the splitText concept is almost identical to mine
which is a rip of some jQuery plugin
> Why is jQuery needed here? Welp, lets take care of that..
 
2:22 PM
"Oh great. Just what the world needs- another freaking jQuery plugin."

-Paul Irish
hahaha
 
@FlorianMargaine - He's credited in the source as well
Thanks to Paul Irish - paulirish.com - for the feedback.
 
Anyway, I was just suprised that such a basic answer could get so many upvotes so fast, even if it does have a lot of images, is available on Github and what not.

The question is actually not that bad, it would be a great excuse to create a plugin that could take any gradient style that the background could, and apply it to the text, and cssHooks would be awesome, maybe extending the color animation in jQuery UI etc.

Instead someone posted ten basic lines of CSS, like seven times with different variations, and got 800+ upvotes ?
 
@adeneo reddit
 
and a lot of rep for it too
 
2:31 PM
@adeneo @PaulIrish was here a few times
Aug 21 '13 at 19:22, by Paul Irish
@Loktar BRO U LIFT?! ;)
 
Aug 21 '13 at 19:31, by Loktar
we are all @FlorianMargaine damnit
that's weird
 
@BenjaminGruenbaum - didn't know that, I knew he had been active on SO, but not in the chat
786
A: jQuery's jquery-1.10.2.min.map is triggering a 404 (Not Found)

Paul IrishIf Chrome DevTools is reporting a 404 for a .map file (maybe jquery-1.10.2.min.map, jquery.min.map or jquery-2.0.3.min.map, but can happen with anything) first thing to know is this is only requested when using the DevTools. Your users will not be hitting this 404. Now you can fix this or disab...

 
Yeah, just hopped on once or twice, so did resig
 
Jon Skeet visited the C# room once.
 
Jon Skeet is the C# room
 
2:35 PM
He was just after a hat I think, but still.
 
he must be a TF2 player
 
Jon Skeet visited a non existent site once, now its called stackoverflow.
 
@AbhishekHingnikar nice one ! :)
 
share some code-pen love guys -_-
 
user1596138
2:42 PM
Lmfao
 
user1596138
 
@user2254487 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.
 
good morning gentlesirs
 
user1596138
Guy asks if writing his own OS will make him 1337, Jeff Nelson replies and says I created Chrome OS. Still unknown. Priceless
 
Writing an OS doesn't make you 1337, but it does teach you a lot about how computers work.
 
2:44 PM
@AbhishekHingnikar - My cat is better, I made mine with HTML only, hand coded
 
user1596138
@KendallFrey Irrelevant. Jeff Nelson himself replied and was just like "didn't work for me"
 
user1596138
That's the funny part hahaha
 
I made some cats too
 
user1596138
Because I had no idea who he was either.
 
2:46 PM
@adeneo yeah right u hand coded that .. i know you are smart enough to do that with code :P
 
@Loktar :D
 
@Loktar awwwww bless, but my cat is cuter!
 
@Loktar nice :D
 
will gen diff ones
 
pxly took almost minute to load it
 
2:52 PM
weird
maybe due to all the requests?
or traveling across the ocean to you from texas idk :P
 
no maybe because my router is being a retard
 
nah took me next to no time
 
@adeneo @Loktar's Cat is better imho
 
haha
 
2:56 PM
just to make this clear for me once and for all... is Cat a shortname for something or is it the whole name?
 
Catheryn
 
Catherine
 
damn
almost
 
Catheryn is a cool spelling
 
@Loktar that's a very french name
 
2:57 PM
I thought for sure it would be Catwoman
 
okay, thougt so :)
 
"Catherine Loktar, do you take for spouse Jason Loktar?"
 
BEST cat!
this si the cat that won pet of the week the other day!
 
@FlorianMargaine - I agree, Loktar's is a cool cat!
 
user1596138
3:04 PM
@adeneo Get out of my fucking dirt
 
@Jhawins
 
if that is your "fucking dirt" where do you keep the rest of it?
 
user1596138
@rlemon I use it all for 1 purpose. All dirt is fucking dirt
 
@DrogoNevets except you see only clicks inside square. I need to find out whether it was outside. Plus it might be not such an easy element. What if position relative or absolute.
 
so you just fuck dirt? you don't even buy it dinner first?
 
3:06 PM
I have a patch of fucking dirt
its where I lay during the fuckings.
 
that is why men have hairy asses. keeps the fucking dirt out of there.
 
exactly
 
but what about missionary?
 
@Burntforest 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.
 
user1596138
@KendallFrey Not my prob
 
3:10 PM
huehue
 
user1596138
Just try very very hard not to push any of that dirt into.... Anyone
 
user1596138
I can see potential problems both ways
 
posted on May 14, 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) {}

 
@adeneo this is jQuery. I'm sorry. Forgot to specify, that we are talking about angularjs.
 
3:16 PM
@Eugene - Does it matter, it's the same principle ?
 
@adeneo when it comes to directives and abstract work, where you are not referencing elements directly, IMO it does matter.
 
@Vadimo 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.
 
@Eugene - Good luck with that !
 
@adeneo exactly. :)
 
@Eugene - The point being, why would you define such an event handler in a directive? The document is always available, just attach a regular event handler, you can still use those with crap like Angular.
 
3:21 PM
So after a long discussion I've chosen a good name for the project and it's also free as a domain name! I'm thinking of giving the project site (talking about everything related to the project, such as issues and feature requests) an org domain and the site a com. Is it good practice or should I choose different names for them?
 
You sure you need to confuse your potential users with two sites right from the beginning ?
 
^
I think you're over thinking it
 
Yeah, just get one domain name
 
@needaname domain name should be related to the content.
@needaname what your site is about to show to users?
 
Umm... for clarification, the first site content will only be about the project/software, whereas the second one is separated, a multi-biased Discussion Platform, Q&A and the likes, akin to Reddit, Stackoverflow, Quora but a bit different, and just connected to the first by the fact it's based on its software.
If I understand from your comments, It's logical to separate them, right?
 
3:30 PM
You can separate them like stack and give the links to connect them .
 
@Harish Subdomains?
 
@needaname why not just subdomains or simple paths?
 
@Eugene - Tada -> jsfiddle.net/adeneo/LGjUx
 
@needaname exactly.
 
@OctavianDamiean o/
 
3:32 PM
o/
 
moving to Salzburg in about 2 months :)
how are you doing?
 
NOOOOOO!
Wrong city mate ...
 
haha
 
3:34 PM
Hahaha
 
Oh Oh.. dangerous near to Munich
 
So, a structure like this:

meta.website.com <-- only related to the software, everything else off-topic
website.com <-- network-wide activity
programming.website.com <-- only questions about programming

or

website.com <-- only related to the software, everything else
programming.website.com <-- only questions about programming
 
I'm in Munich a lot actually
 
What's dangerous near to Munich??
 
next Sunday for example
 
3:35 PM
I'm doing fairly well.
Playing EVE like a bauce and stuff.
 
oh hey
found a job at another company
moving in 3 months
 
@FlorianMargaine Which company?
 
editor of an open source solution :)
 
yeah, just like me ;)
 
@needaname yess..
 
3:37 PM
I'll be able to contribute to their Open Source CMS, pretty stoked about that
 
@GNi33 which one?
 
Pimcore
 
@Harish Thanks
 
@FlorianMargaine I've seen that before somewhere. I can't remember where
 
@needaname most welcome.
 
3:37 PM
@SomeGuy maybe I showed you
 
:)
 
anyway, pretty big userbase
and friday for r&d, sounds fun
 
Nice
 
@needaname anything else that you wanna disscuss about?
 
!!s/./SPAM/g
 
3:40 PM
@jAndy Could not process input. Error: invalid quantifier on line 229
@jAndy SPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAM‌​SPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMS‌​PAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAM (source)
 
@Harish Not for now but you're welcome to discuss about anything
 
you are in job?
 
@Harish Atm nearly jobless. Well, now I started a small local business that is giving some money. Still broken and that's why I made this piece of software and its related site, so to talk, to change this country's situation.
@Harish What about you?
 
@needaname don't want to get the job 9-5. wanna make money from home?
 
Wow, that Octotree chrome extension is pretty amazing.
 
3:45 PM
That's why I'm trying to do something from home in this industry.
The software you made, what it is all about to do to make you money?
 
@Harish Well it depends..I've tried but got nowhere in that field :/
 
@needaname what technologies do you use?
 
Would you say this is a good way to Pause my animation?
var pause = false;
	    var render = function () {
	    	if(!pause) requestAnimationFrame(render);
	    	renderer.render(scene, camera);
	    }
	    render();
 
@adeneo I don't agree with your last statement, but this is just me. Everyone got their own opinion.
 
I guess I should encapsulate renderer too so it does not execute one more time
 
3:51 PM
@Eugene - My last statement?
My last message was a fiddle with an Angular hack to make it working, do you not agree with the Fiddle ?

http://jsfiddle.net/adeneo/LGjUx/
 
The software I made is basically a community driven Discussion Platform that can also be used as a Q&A, Voting and Idea Crowdsourcing. They are essential in the mission to change this country's political and economical situation. In that site pretty much will be discussed, especially ways to break in the political system, change it, discuss the changes to be made, including voting. New technologies will be introduced in the change. This will all be handled by the community.
 
@adeneo I was refering to message where you pinged me.
 
@Eugene - So do you disagree with the fact that you can use event handlers with Angular, or that Angular is crap ?
 
Where I make money? It's not that my first aim is to make money, but donations will be accepted and there is a revenue system comprising of ads, post booster, shop etc.. All the money won't simply go to me, but instead be shared amongst the participants who manage to enter into politics and mostly to pay for the political/economical projects.
 
@AnaElBembo 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.
 
3:54 PM
I don't want to make that much money, just to be fine and bring a change.
 
Welcome @AnalBomb
 
O.O
 
no wait, that wasn't it?
 
:D
 
@adeneo last statement in referenced message.
 
3:55 PM
Welcome @AnaElBembo ?
 
welcome
 
@needaname is there any other site that is similar to yours?
 
I will also take part in the change, but not inside politics, from outside.
 
@Eugene - So the crap part then ? Angular is crap !
 
@Harish As far as I know there are similar sites, but not worth the time customizing the crap out of it to fit my needs.
 
3:57 PM
@adeneo again, this is your opinion.
 
your idea is great, wishing you good luck for that!
 
I tried that path but I ended up with crap.
Thank you :)
You may take part when I launch the site.
 
let me know when launch.
 

« first day (1306 days earlier)      last day (3659 days later) »