« first day (1173 days earlier)      last day (3768 days later) » 

user1125394
12:03 AM
@Retsam is it necessary to jump on the block on the left side, to go further?
 
user1125394
never managed to pass
 
user1125394
I'm 1 millimeter short else
 
12:22 AM
user image
2
 
12:34 AM
@Kallewallex YES
 
12:45 AM
Anyone know how to make a <input type="file"> select folders?
 
user1125394
you can select multiple files with holding ctrl, but whole folder, good question
 
user1125394
 
user1125394
 
user1125394
1:53 AM
> We employ a team of 24/7/365 server specialists at GitHub
 
user1125394
!!> 24/7/365
 
@ctrl 0.00939334637964775
 
2:11 AM
Wow, that's impressive uptime.
 
2:53 AM
Happy new year!
 
@BenjaminGruenbaum Turns out I already have milk. Oops.
 
4:39 AM
Happy new year <3
 
5:00 AM
 
Happy new years
 
Same to you @rlemon
And happy new year for all!!
 
Happy New Year, everyone! :)
 
5:26 AM
Happy new year, eastern time zone!
 
i'm trying to make random cloud generation, specifically shading from white to black right now, but for some reason i get very little grey, mostly black and white. pastebin.com/5VVeUyAG
also changing stuff around with lightmax just makes vertical lines or makes it so it doesn't matter.
 
5:55 AM
@nderscore happy new year :)
 
Happy new year, central time zone!
 
yay
 
6:50 AM
anyone know how to edit a plist file with javascript?
 
7:20 AM
Holy shit i have 1BTC !
and i didn't even knew :$
 
you're rich!
well, roughly 820 USD richer at the moment according to bitcointicker.co
 
dude i was with $200 left in bank this is amazing
i feel rich <3 in india thats over 40k :D
827 USD = 51191.30 Indian Rupee
 
8:20 AM
Congrats!
How do you happen to have 1BTC?
 
Happy = Time; Happy.new.yearJan Dvorak 4 mins ago
 
9:11 AM
 
9:25 AM
hi any one is here
i have a problem with js
 
!!welcome vipul
 
@vipul 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.
 
ok
i have a problem with javascript when my page is load then my code is working perfect and when i click on some button or link then on same page i update some part and script is not work
 
Should I make a guess first, or I should see the code first?
@VIPULPARMAR If I have to guess, I'd say you're trying to attach an event handler to an element that doesn't yet exist, in which case you should use event delegation.
!!tell vipul jquery on
 
9:55 AM
my problem is i use js for sorting when page is load then bind data in repeater that is in update panel and when i click on link that is outside of update panel to bind another data then sorting is not perform.
 
@SomeGuy worked with dev.pikapay.com
they never paid me xD ... atleast thats what i thought.
 
Nice! Congrats!
 
10:29 AM
Sometimes my VIM crashes.... :-(
 
10:40 AM
http://jsfiddle.net/FShmW/69/
why this jeditable not working>
 
user1125394
11:03 AM
@rlemon nice. what about a ray-tracer now:)
 
http://jsfiddle.net/FShmW/70/
why this jeditable not working onblur not working not lost focus.
problem with selectable. how to solve that.
 
11:24 AM
Hum... what's the logic of new Date().getYear() returning 114 (yes I know I should use getFullYear) ? Who thought this would be useful ?
It's a little as if the creator of js, having seen how wtf Date was in java, tried to make it wtf-er...
 
years since 1900
makes less sense since y2k
 
user1125394
makes as much sense than counting from JC..
 
Hi in 2014 !
 
11:59 AM
Happy New Year everybody!
11
 
@ctrl Except you have to follow this convention when you code, even if you don't like it. When would you use the years since 1900?
 
@dystroy to display a two-digit year before 2000
used to be useful
 
@IonicăBizău mine never crashes
 
(as if you couldn't just do modulo 100)
 
is ARM part of one of these processor architectures?
X	X86
P	PowerPC
S	SPARC
A	Alpha
M	MIPS
H	HPPA
 
12:05 PM
!!wiki powerpc
 
:Not to be confused with IBM PC or its clones. PowerPC (an acronym for Performance Optimization With Enhanced RISC – Performance Computing, sometimes abbreviated as PPC) is a RISC instruction set architecture created by the 1991 Apple–IBM–Motorola alliance, known as AIM. PowerPC, as an evolving instruction set, has since 2006 been renamed Power ISA but lives on as a legacy trademark for some implementations of Power Architecture based processors. Originally intended for personal computers, PowerPC CPUs have since become popular as embedded and high-performance processors. PowerPC...
 
hm, it's not?
 
then the answer seems negative
 
user1125394
why does this always end with 4 0's:
 
user1125394
!!> var x=[]; for (var i=0;i<10;i++) x[i]=(Math.pow(16,12)*Math.random()).toString(16); x;
 
12:11 PM
@ctrl ["2921ea69cb80.7","280e92f7a2e8.98","ecf7ff7d3ec.f8","c6a9c5ea6a02.68","26355a2‌​9b9d1.2","5d83dbdd843d.d","14fe70146bbd.f8","bb72428e1246.5","9b2639cf1b01.f","fe‌​f50fd2e8ed.38"]
 
user1125394
hmm wait
 
:-D
 
user1125394
!!> (Math.pow(16,12)*Math.random()).toString(16)
 
@ctrl "cc68a3c070d1.b8"
 
user1125394
on Chrome it's much diferent
 
12:12 PM
different levels of precision?
hmm... is that against the spec?
 
user1125394
seems so
 
user1125394
!!> var x=[]; for (var i=0;i<10;i++) x[i]=Math.floor(Math.pow(16,12)*Math.random()).toString(16); x;
 
@ctrl ["93004d35be88","b701bb30eb87","fb86abbb611a","7e088fb2b84e","bb55d8f61545","ab‌​a9a5f269a0","90a8304bf3c7","f94503e9a789","529c62ee7571","add42ef04681"]
 
user1125394
^ this on Chrome will return something like:
 
user1125394
["66a743110000", "23cc84280000", "f98bda3d0000", "e7bdb9770000", "424a18d00000", "8724d5ef0000", "69e7e1200000", "88750ece0000", "1269a9480000", "2d001afc0000"]
 
12:14 PM
@JanDvorak math random not found in spec
 
!!spec random
 
user1125394
they don't talk about precision
 
> Returns a Number value with positive sign, greater than or equal to 0 but less than 1, chosen randomly or pseudo randomly with approximately uniform distribution over that range, using an implementation-dependent algorithm or strategy. This function takes no arguments.
so, I'd say it follows the spec
Chrome's distribution is approximately uniform, just that it's way more discretised
 
user1125394
yep ok
 
user652649
12:42 PM
 
when I edited out the spam URL, it was swiftly rolled back
 
@IvoWetzel what happened to orbit :?
 
 
2 hours later…
2:36 PM
posted on January 01, 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) {} Happy new year!

 
3:07 PM
new year, new facts!
 
@rlemon Yeah, I've read about her
She definitely isn't a n00b :p
 
headshot! Yissss! Achievement Unlocked!
it is wrong to make fun of real war.
but then we put imitation battles in the hands of 9 year olds with headsets.
so idk what morality is anymore.
on reddit...
Q: What trends or products do you think will die this year ?
buried down in the posts: 2013 calendar.
I laughed
hahaha
 
3:54 PM
docs.angularjs.org/error$injector:cdep?p0=PaginatedArray%20%3C-%20pixter‌​DataInterCeptor%20%3C-%20$http%20%3C-%20$compile
 
Guys
Can you please update me with everything about Bitcoin?
 
4:16 PM
@EnglishMaster dogecoin.com is better
 
4:32 PM
I have a problem.
 
Yeah what
 
I have an httpInterceptor which relies on a service in angular which relies on HTTP itself :-/
how do i resolve this ?
I have a service called paginated array which interally calls the paginated data from the web-server. Now I wish to create objects as soon as the http request is intercepted and these objects will have paginated Arrays associated to thjem
 
5:03 PM
posted on January 01, 2014 by Victor Rodriguez

Watch This Freaky Gyro Cube Balance Perfectly, Defying Gravity All Google wants for Christmas is a bunch of scary ass robots. Clearly, the big ticket items under the tree are Big Dog and the rest of the Boston Dynamics nightmare menagerie. But if Larry and Sergey are still looking for a stocking stuffer, this freaky balancing cube might be just the thing. Cubli, a project out of the Dynam

 
Anyone know if Skulpt runs into the same limitations as JS with files because it uses JS?
And if it does, anyone know of any client side scripting languages that do not run into problems accessing files(Not including JS)?
 
@NoahHuppert well, yeah -- there might be Python bindings to HTML5 web storage, but that's not arbitrary socket/stream-based disk I/O on any file the user has permission to read/write
 
is there a better way to get distance / angle ?
by better I mean, doesn't use Math.sqrt or Math.atan2
 
I have no idea, but that looks badass
 
@NoahHuppert Java and Flash, being plugins, are able to do arbitrary file I/O on disk in theory, but I think only Java actually lets you, and only then, if you run a webstart desktop application... Applets are in theory sandboxed similarly to JS
if you have to do arbitrary file I/O on the user's disk, you probably need to be shipping a desktop application of some sort
 
user1125394
5:17 PM
jnlpee
 
and by "arbitrary" I mean the same level of access as you'd have in, say, a C# or C++ desktop application -- read/write bitstreams to any file
if you can get around that requirement at all, you can still use sandboxed JS
 
Hmm, the whole reason I'm asking this is because I'm trying to make auto reload app that doesn't require a desktop app. Is there any way to launch or have the user agree to launch an application from the web?
 
@NoahHuppert auto reload? it's not clear from that description what exactly you're trying to do
but both Java and Microsoft .NET have mechanisms for running their respective desktop applications from the web fairly easily, yes.
!!wiki ClickOnce
 
ClickOnce is a Microsoft technology that enables the user to install and run a Windows-based smart client application by clicking a link in a web page. ClickOnce is a component of Microsoft .NET Framework 2.0 and later, and supports deploying applications made with Windows Forms or Windows Presentation Foundation. It is similar to Java Web Start for the Java Platform or Zero Install for Linux. Description The core principle of ClickOnce is to ease the deployment of Windows applications. In addition, ClickOnce aims to solve three other problems with conventional deployment models: the dif...
 
When you change a file locally for local dev, the webpage reloads.
 
user1125394
 
Didnt see that... Ill check it out
 
user1125394
but chrome-only
 
:( still cool.
 
> BROWSER_NOT_SUPPORTED
 
user1125394
5:28 PM
> browser sucks :p
 
I'm a born-again Firefoxian after using Chrome for years... it went something like this: Chrome was great; I got a job; workstation at work has ridiculously low RAM, which Chrome gobbles up eagerly; Firefox gobbles it up slower; use Firefox at work; like Firefox at work; use Firefox at home for consistent experience; done
in between there somewhere is probably something about Firefox's JS performance reaching some kind of parity with Chrome after several years of v8 absolutely pwning everything at the beginning
 
user1125394
chrome doesn't seem to scale well with many tabs
 
it really doesn't... on my 32 GB desktop, I couldn't care less, but on my work computer, I practically have to use lynx as a browser to avoid swapping
 
ask for more ram?
 
5:36 PM
HAHAHAHAHAHAHA... you have a great sense of humor
 
user1125394
java already takes half :)
 
> I need more RAM so I have a better web experience!
 
in fact, the people who I could go to in order to have a dialogue about that sort of thing would laugh at me and would not take my request seriously
because they know that the ultimate decision-makers who would be able to actually give a yes/no answer would always say no
 
would the company care if you put some more ram into your machine on your own?
 
5:38 PM
let me put it this way: if I opened the case, an armed security officer would be at my desk within seconds
 
user1125394
@AbhishekHingnikar hmm weird design
 
user1125394
you could have id's and link them, would be lighter
 
!!wiki "Military-industrial complex"
 
Military–industrial complex, or military–industrial–congressional complex, is a concept commonly used to refer to policy and monetary relationships between legislators, national armed forces, and the military industrial base that supports them. These relationships include political contributions, political approval for military spending, lobbying to support bureaucracies, and oversight of the industry. It is a type of iron triangle. The term is most often used in reference to the system behind the military of the United States, where it gained popularity after its use in the farewell addr...
 
5:40 PM
@ctrl its an unwanted bug
 
user1125394
ok fine
 
either in chrome dev tools or well most likely my code xD
 
 
1 hour later…
user1125394
 
user1125394
!!mdn Array.isArray
 
user1125394
o, as usual the second answer is the best
 
user1125394
7:24 PM
is there a way to remove and get like java's map.remove(key) //returns value and remove
 
user1125394
because delete in js doesn't
 
user1125394
nvm gotta do it, other way, making a new object
 
user1125394
10
Q: if (key in object) or if(object.hasOwnProperty(key)

Lorraine BernardFor sure these conditions produce the same result: if (key in object) if (object.hasOwnProperty(key)) Is there any reason to prefer one way to another?

 
user1125394
well I'm always doing if (obj.key) {...}
 
hi there
I'm using socket.io and Node.JS.
I wanted to know if using io.sockets.on('message', function () {...}); is possible and would listen to 'message' event on all sockets?
 
7:35 PM
@EranBetzalel check the docs
 
@JanDvorak I know that it'll work with io.sockets.on('connection', ...), the docs doesn't specify if it supports any other event.
 
I'd say it doesn't support any event it doesn't specify it supports.
 
what about custom events?
 
only if you trigger them manually as well
 
of course
 
7:41 PM
which you don't
 
but.... I do :)

on my client.
so if I emit a 'message' event from the client, you say that I can capture it on the server using io.sockets.on('message', function () {...})?
 
Rhetorical question: what if one of the clients fires a connection event? I don't think the sockects should notify its handlers, then.
but, you can make your own dispatcher
(if any socket fires this event, fire this event on allSockets as well)
 
yeah, that's one way of doing it, but that strike me as 'very weird'...
I know I can use io.sockets to emit a global message to all of my sockets, why can I listen to a message on the same global scale?
 
of course, you can just attach every listener to every socket :-)
 
user1125394
doesn't like socket.io for those types of things ^
 
7:47 PM
or, you can use sockets as the event dispatcher, but you need to redirect the events from each sockect there
I guess
 
ammm.... I think I'll go with the trial and error methodology here...
 
elaborate?
 
I'm not sure what you mean...
 
user1125394
elaborate on your methodology, probly
 
user1125394
if you are really stuck, and use socket.io for transport fallbacks, there's maybe sockJS
 
8:01 PM
I use socket.io to implement a chat...
 
user1125394
you could go with websockets if you're not worried with the <1% of unsupported browsers
 
@ctrl also, crappy mobile ISPs
(I'm looking at you, Vodafone)
 
user1125394
ah right some routers and proxies too
 
8:17 PM
I think I'll start with socket.io as I'm very new to JS and Node.JS
BTW, here is my current chat project: github.com/eranbetzalel/WordRun.
It's more of a long lasting learning project - don't expect much :)
CU
 
Joe
8:41 PM
happy new years people
 
anyone good at regex ? Need small help
 
@vongolashu ya say
 
I have this string of url
 
#DEL http://rapidgator.net/remove/index/id/b568c3b2f0ab2d8dd9076deb27ecf2b5/up_id/a215e15e47e1421087c71073772b5744
http://rapidgator.net/file/b568c3b2f0ab2d8dd9076deb27ecf2b5/[AOT]Neon_Genesis_Evangelion_01[720P][DVD][NACHI].mp4-MUX.mkv.html


From this I want to remove the first URL
#DEL http://rapidgator.net/remove/index/id/b568c3b2f0ab2d8dd9076deb27ecf2b5/up_id/a215e15e47e1421087c71073772b5744
aka both urls are one after another with a linebreak, I just need the 2nd url and wish to remove 1st URL using Regex (the 1st url can be diff then that example)
but will follow same url pattern
 
8:47 PM
I think I deleted your file
 
LOL
lmao
 
give me a minute
 
Joe
anyone use requirejs - trying to do some debugging, but i dont know where it puts all my objects in the dom - thoughts?
 
damn you @copy you really deleted the file
 
Don't forget kids: Piracy is bad
 
8:51 PM
'will this help regexr.com?37rah
 
@RohitAgrawal damn so plain and simple, did the job
tested in notepad++
though need to add a linebreak as well at end of it
as the 2nd link has a linebreak before 1st link
 
it worked @RohitAgrawal thanks, just added a \r?\n
 
test is #DEL(.)+[\r\n]
 
:) really gratefull for the quick help
 
8:58 PM
your welcome
 
9:11 PM
You posted this an hour ago and it was closed back then too. stackoverflow.com/questions/20873031/… . It was a duplicate question then and it is a duplicate question now. — Benjamin Gruenbaum 59 secs ago
-_-
 
user1125394
9:26 PM
 
user457812
9:57 PM
Your removal of spaces from around operators disturbs me.
 
user1125394
nvm I did shit
 
@BenjaminGruenbaum :/
that answer is just horrifying
the scenario is about storing things in a database. if you have a better snippet of code please provide it. this is the best coded solution in the entire website. less blabbering, more code please. — penta 2 hours ago
 

« first day (1173 days earlier)      last day (3768 days later) »