« first day (1780 days earlier)      last day (3393 days later) » 

00:44
I love how every Rich Hickey talk starts with defining things
user406009
There was some decent analysis of that at hackernews: news.ycombinator.com/item?id=10136263
"HN" and "Decent analysis" don't really work in the same sentence
user406009
01:06
Well, better than YouTube comments.
user406009
Anyways, I thought the commentors did have a point that sometimes a simple programming language can lead to more code and complexity in your application.
@Callum woah, sweet
@SomeKittens I didn't make it, just look at it for a while. Notice the 1.5% chance that a digit is '2' :P
ooooh
heh
I was going to make it, but then fell culprit to "Someone else will have made it"
I'm using it as a background for something at school in a few days, and I know somebody will notice.
@Callum mesmerizing
01:34
[object MouseEventConstructor]' is not a constructor
uh huh
uhhhhhh, wot?
u mad?
01:52
This is all the imagination I can think of to make it cooler and shit. codepen.io/CallumBarclay/full/PPoqmq
noob
user406009
Pretty decent improvement.
02:12
made it better :p
@Loktar Noice
m59
m59
anyone know much about WebRTC and NAT?
not really
there was a guy in here a while ago doing some hardcore WebRTC stuff though
m59
m59
I'm trying to track down a bug. I'm having some trouble with a WebRTC peer connection on a cordova ios app. I know I'll need a turn/stun server for production, but hadn't worried with it yet. I'm curious if somehow the iPhone could be doing some weird networking thing that browsers don't do.
@Patrick was that you?
@m59 whats the bug?
er
the problem anyways
m59
m59
02:28
It's strange. I can stream from ios to anything else, but not from anything (including ios) to ios.
Crazy hard to debug, though. Kurento Media Server handles most of it (too many responsibilities)
Kurento logs a bunch of stuff. I can see the difference for sure.
Still working on that local news app?
m59
m59
Went quite a different direction
(trying at least)
m59
m59
live broadcasting
Too much for me, imo, but my boss wanted me to try so here am I.
Like Meerkat & Periscope?
m59
m59
02:40
I pulled it off for browser/android, but iOS is awful and he and his family all use Apple, so it's going to really have to be released for apple first.
Yeah, though with a different purpose than those and made by a solo noob :)
different purpose?
m59
m59
more journalistic, I guess.
ah, so still news-y
m59
m59
Yeah. I actually think the idea is good, just needs more than me working on it. I'd love to see something YouTube, Periscope, Google, Facebook, Stack Overflow quality that brings together all the news in the world and makes it easy for anyone to contribute.
Like Reddit?
m59
m59
02:46
Not quite
Like reddit, but good? runs
m59
m59
A mesh of a some global news app / Reddit / Meerkat / YouTube would be on the right track.
anyway, I so want to work with a team. The stress is REAL.
Hope you get paid enough
m59
m59
naaahhh
I met an intern that thought my janky code was awesome and he makes more than I do lol
I'm going to get this thing on the Apple store somehow and then I'll worry with money :)
well, if you ever get tired of that trailer, you know who to call.
m59
m59
02:58
heheh. Thanks, man.
... trailer busters?
03:14
me!
03:53
Trailer busters seems like a tv show the Discovery channel might run
04:50
Isn't trailer buster just another name for a tornado in Kentucky?
05:40
Welp, we've finally shown tag badges don't mean anything: stackoverflow.com/help/badges/333/css?userid=1216976
Isn't it the fact that an positioned element with smaller z-index is below the positioned one with a bigger z-index?
@ZhengquanBai They should unless they have position: static, but I don't have a CSS badge so I might be wrong :)
the #wrapper is relatively positioned with z-index=-1, #inner is absolutely positioned with z-index=-2, since -1 > -2, shouldn't #inner be below #wrapper?
http://jsbin.com/huyicazete/edit?html,css,js,output
Where to apply for a CSS badge?
05:55
Don't use negative values for z-index :)
@ZhengquanBai You have to earn 100 upvotes on answers to questions tagged
positive values may not work either. jsbin.com/huyicazete/edit?html,css,js,output
Yeah, I would expect that to work as well
:) Cheers. I'm not alone
user3119231
06:12
morning:)
Child elements always are on top of parent elements
@SomeKittens Thanks. This drives me to learn more about how z-index works underneath the hood
user3119231
06:40
"Child elements always are on top of parent elements" I ever thought this is just up to the z-index
"element on top of another element" translates to "draw elements on bottom first"
for a long time, the complexity of windows was simply draw order and focus
@Maurize It creates a new stacking context
hi guys can we use Memsql with javascript?
user3119231
I like SomeKittens
I like AllKittens
user3119231
06:49
o/
user3119231
@Sajeetharan No, not as far as I and Google know.
@Maurize does breezejs provides the same features as memsql does
user3119231
@Sajeetharan can you simply tell me what you are trying to do?
We are building an analytics tool , need to do the caching in the client side when dealing with huge datasets
what should be the best option?
06:53
HAMMERTIME!
user3119231
I must really say, I am not the right man for this answer. Please wait until someone else with more knowledge in this theme, can give you an answer.
ok thank you
user3119231
maybe @Neil know an answer.
@Neil :)
anyone know where I can get the *.prototype.toJSON() polyfills?
07:03
@deostroll possibly here ?
@Cauterite I am looking at that...but seeing there is a Date.prototype.toJSON there, I thought there'd be stuff like String.prototype.toJSON, but no...
@deostroll what about line 210?
Me thots parsing json would not use eval...
line 504
i think the way it works is: it first checks whether the input is safe to eval — i.e. it contains only data, not code — then it evals it, because that's faster than parsing the JSON using pure JS
"The parse method uses the eval method to do the
parsing, guarding it with several regular expressions to defend against
accidental code execution hazards."
that is okay...my case is somewhat like...I need to convert csv to json...so I am looking for code that converts text like say "1.456e-3" to their js equivalents...
Me actually wants regex for those... :)
07:13
!!>parseFloat("1.456e-3");
@Cauterite 0.001456
@Cauterite That's not the way it works. It just parses it. Natively.
@RoelvanUden i'm talking about the polyfill, not the native JSON.parse function
Ah then yeah..
It's early.
Or it can even be that the text represents data that is hex ... so I find regex test as per case, and, compose my js object likewise....
...or at least I think thats what I need to do...
07:17
Lets delete this answer, stackoverflow.com/a/32305803/2025923
I am sensing there are some weird cases in converting csv to json...and I am not sure how to handle them...
@deostroll can you show me a sample CSV file that contains such anomalies? i'm not too familiar with CSV
they are not anomalies...I'll give an example of a csv line....
sno,question,answer,cat,subcat
1,How does photosyenthesis happen,0x0010,foo,bar
so i think your problem would be deciding which JSON data type to use for a given CSV cell
Okay...yep...so 0x0010 should I intrepret as normal js string or number...?
07:25
number
!!>parseInt("0x0010", 16)
@Cauterite 22
@Cauterite 16
you might have to provide the type info as additional parameters to your CSV->JSON converter
yes I agree...
simplifies a lot of things...
!!> typeof true
@deostroll "boolean"
cool...
Is Caprica actually a bot done by the SO team?
07:32
@deostroll Yes, no.
??? ex-SO team person then?
!!Is Caprica actually a bot?
@Cauterite Definitely
@deostroll caprica is a bot
It wasn't built by SO staff
It was built by the jQuery loving @Zirak
user3119231
Someone can do a @ to me? Want to show html5 notifcation
07:40
@Maurize AT
@Maurize
user3119231
thanks :D
user3119231
will use push request socket.io to give notification on user desktop. just have to find out if there is a option for android, too
since when the room is called javascript ball pit?
morning BTW
@Maurize GCM
user3119231
07:51
@Neoares You are back :o
yes I'm back
from holidays Q_Q
user3119231
Nice. Thought you are dead or something.
lol xD
I'm inmortal, sir
user3119231
Excuse me.
Excused
07:55
@Neoares nobody missed you ;)
how was it? :D
user3119231
@towc Sure, I did! :D
@towc awww thanks <3
(jk ofc)
@Zirak jsh suggestion: add a proper debugger interface, maybe make it even better. Pretty sure it's not exactly easy, but it would be sooo helpful
@Neoares nice :)
07:58
spain is beautiful :P
Hello am I allowed to ask something about jQuery or will the hatetrain rek me?
user3119231
You shall.
@Poteito we'll let you pass this time
@towc Thank you senpai.
Well I'm trying to print a <div> with jQuery but nothing happens the button works I tested it . What I user to print -> $('.warp').printElement();
08:05
:25410514 I asked before :D
what
yes I know, just trolling :d
@Neoares :'( You scared me.
most people use jQuery
or have used it once upon a time
I don't use js that often. Most of the time I do all the stuff in PHP
user3119231
@Poteito PHP 4 LIFE! o/
08:07
@Maurize \o
@Maurize lol. I'm already using PHP5!
@OliverSalzburg I see what you did there ;)
rekt o/
user3119231
Herr Salzburg, very nice, very nice.
08:09
So back to my problem. On an other page I successfully was able to print the whole page. But how do I only print an element ?
user3119231
@OliverSalzburg your company has a nice website.
user3119231
@Poteito what code do you currently have?
1 message moved to Trash can
@Poteito Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
I formated it :'(
user3119231
try again.
08:13
Backticks right ?
1 message moved to Trash can
@Poteito Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
Ok last try
user3119231
paste code - then ctrl + k
xDDDDDDDDDDDD
Nope
08:14
select the code, then control + K
1 message moved to Trash can
@Poteito Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
user3119231
I did xD
user3119231
paste it there, save and give us link.
user3119231
08:15
deutscher :D
I would write that as
Luxemburger :P
$(document).ready(function () {
    $('.drucken').on('click',function(){
        $('.warp').printElement();
    });
});
user3119231
^
08:18
wrong chat
@ivarni Ups I have it like this in my code I just forgot the paste the rest
The button is working i've tested with an console.log
I could fix it with inline listener but that's not how it should be :)
@MadaraUchiha okay, I am interested...tell me more...how is it hosted...etc etc...
08:39
@Maurize Which one were you looking at?
user3119231
@OliverSalzburg fairmanager.de
@Maurize Ah. That's our product page, our company page is not as nice ;) But, thanks :)
user3119231
@OliverSalzburg bm-designs.de even in work :D
@Maurize I've actually been on that page. From the Fallout JS console thing
user3119231
@OliverSalzburg oh, ok.
08:43
The header was different the last time I've seen it. I like it. Crossfade on the background images (instead of blending through white) would be nicer IMHO though
09:08
hi
<ul>
  <li onClick={this.addToArray} data-email={user.email}>
    <a> some name </a>
   <h5>some email </h5>
  </li>
<ul>
(list of users ^ ) in react how to get the email ?
I mean I can do e.target.dataset.email but e.target can be the a or h5
Anyone know why only my phones rear 4k camera doesn't work with getUserMedia?
@ShaneLarson 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.
@ShaneLarson you need to select a different source (i.e. the front camera)
look at "Selecting a media source"
I selected the back cam
b, in the mirror, d, when trippled, p, in the mirror q
09:15
html5 offline question...is there a way for me to identify and convince myself that my webpage has been cached?
@ShaneLarson navigate with your phone here; simpl.info/getusermedia/sources
see if you can select the rear camera from here
I got a post with screen shots and the details, one second.
0
Q: 4k Rear Camera shows a blank output when using Chrome getUserMedia

Shane LarsonI have a Droid Turbo(Android) that has a 4k rear camera. I went on https://simpl.info/getusermedia/sources and the front camera worked fine and looked like this. http://postimg.org/image/pv69h1d3l The back camera however just showed a blank output like this. http://postimg.org/image/pzyrk91k5 ...

okay
and really stupid question: but it works with the stock Camera app?
That's not even a question
it kind of is
:3
09:26
Is anyone doing the misdirection thingie?
@deostroll If you use Application Cache, try window.applicationcache.status. This is the best I know. I strongly advise against checking browser cache because you cannot control it at all.
just append ", right?" and it becomes one
what if I just s/it works/does it work/ ?
actually i don't think anything needs to be changed
perhaps it's colloquial, but it's valid imo
12 hours ago, by SomeKittens
user image
09:35
@AaronHarding yes it does
@ShaneLarson okay
i was just making sure you knew it wasn't a hardware issue :c
It's a weird issue
I noticed after going on the simpl.info demo my camera app won't open without a error.
Get a camera busy error even though I don't have it being used anywhere.
10:05
@AaronHarding after I have my front camera load/work on simpl.info, my camera gets the is busy until I restart my phone, even if I close all my apps and try.
hm okay, well i don't know much else form here. good luck!
Thanks, this sucks lol
10:20
Freakazoid was fantastic
11:14
Guys question about webpack
Webpack can combine modules from node_modules and from your own project and bundle them into one (or more) files
However, what do you do in development? How does your application access the node_modules scripts without the bundler?
Do you just expose node_modules to be web public?
crl
crl
11:33
reddit is broken or it's me? I've edited my subscriptions, refreshed, hard-refreshed, and the top bar still displays all the old subscriptions
sorry if it doesn't belong here :)
11:49
@crl Working fine for me
for react, how to create a simple non persitant immutable data .. only on server side. so that instead of passing the data as props 2-3 levels down I can use a mixin and share the data with state ?
hallo hallo
@MadaraUchiha you... bundle in development too :/ (without minification ofcourse)
I was actually experimenting with a little sync implementation of require I homemade a few days ago and transpiling only module definitions to require calls with destructuring with esperanto, and using it in firefox without any other bundler or whatever. It was somehow working perfectly for the 30 minutes I played with it. Haven't got time to look again.
user3233318
Hello
ayeePhon
user3119231
eifon?
12:05
must watch this till the end youtube.com/watch?v=jiQaS2kokjM
nice tribute
@AwalGarg Actually if you use the devtools: 'eval' option it minifies pretty fast (and includes sourcemaps). We minify in dev as well.
@ivarni why add the complexity though?
There's also a webpack-dev-server that handles hot reload and stuff
@AwalGarg I guess we figured since it's fast enough we might as well use it and discover any wierd minification bugs early
Didn't really see a reason to micro-optimize it
Because there are minifier bugs around, as demonstrated here
I dunno. I don't like webpack. Not any other bundler or whatever, actually. I just strictly dislike the current ecosystem of tooling in the JS land - I might be biased. I think it is needlessly complicated, and the complication is to be accredited to FUD, cargo-culting and script-kiddies trying to look cool.
12:18
I like webpack slightly more than browserify atm, but I'm not a fanboy of either. I just feel we don't have much choice atm.
When you combine the webpack dev-server hotloading with React redux it gets pretty sexy though. Swapping out code while keeping all state is pretty neat.
I see it a wee bit differently. It is the design strategy that allows you to keep state separately, and apply a state object to a particular view/rendered page at anytime. You can probably do that yourself with maybe 5 lines of code in a reasonably modern environment. The idea is great though, for sure. I'd be happier if it wasn't tied to react.
morning everyone, you ready for a fun day of inane and contextless javascript questions?
discussions are never inane when JS is involved
they say if you take the first letter of inane and contextless javascript questions and put them in a gigantic string, you'll eventually have all of shakespeare's works
Or a rick-roll
12:30
rickroll would come first, I'm guessing
Oh hey, Meteor can use postgres now, now it's much better
somewhere in PI is Rebecca Blacks' Friday.
let that sink in..
Secretly, PI is rebecca black's friday. The illuminati are indeed crafty
@ivarni amazing link
most examples of react hat loader uses webpack .. I dun feel very webpack-ish either but maybe some day I have to learn because #work
12:35
Anyone want to try to work out what this does: jsfiddle.net/phenomnomnominal/9y2h82fv/6 (it's for the thing @SomeKittens posted)
i'm partial to the Phi javascript library, infinite storage using the index to find the digit in which to load any information
@phenomnomnominal it generates CORS request errors
@Cauterite yes, because the request it makes isn't real
I'm saying can you work out how it does that.
is webpack the only solution to hot loading?
@phenomnomnominal your basicSalt is very carefully crafted
reminds me of that encoder I wrote which makes it almost impossible for script kiddies to read client side code.
@phenomnomnominal only thing I am curious about, you hand crafted the salt of generated it with code?
of course
it pulls characters from the string that is passed to the blob for the Worker
I'm confused about this and arrow functions in a certain context... Meteor.bindEnvironment around a callback should change the this in the callback, so what happens if you use an arrow function? What does this become?
12:51
@corvid So it has come down to this!
anybody know this ?
https://www.webrtc-experiment.com/screen-sharing/
why this is not working on mobile chrome ?
@Simply mobile chrome may not like plugins
:(, actually that requied one extension, but i cant install extensions on mobile, I'm trying to implement screen sharing on mobiles possible ???
@Simply without a plugin? i don't think so or you could take over the phone of anyone who accesses that page
It would be a huge hole in security
12:57
screen sharing != remote desktop
ok, then you'd know what another was doing on their phone.. still not a good thing
you mean do use websockets or something like that?
screen sharing is kind of… not within the scope of a webbrowser
I've done this on desktops
web browsers, seems like its pretty hard to implement on mobile browses
@phenomnomnominal I'm pretty impressed; i still can't work out where fetch is defined
@Cauterite fetch is a global haha

« first day (1780 days earlier)      last day (3393 days later) »