PHP

Support group for those afflicted with PHP. Don't ask to ask, ...
Oct 26, 2016 13:30
It worked by appending 0s, thanks guys
Oct 26, 2016 13:27
I'm trying to use the result with javascript: new Date($time); doesn't seem to be accurate
Oct 26, 2016 13:24
@DaveRandom but echo time() doesn't produce 13 digit timestamp..
Oct 26, 2016 13:20
Hey guys, how to print out a timestamp that looks like: 1138683600000 ?
 

JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
May 13, 2016 19:56
@ssube hmm, thank you
May 13, 2016 19:54
what's happening here, did I stumble into the "determining consent" chatroom? I thought this was for javascript discussions..
2
May 13, 2016 19:49
is there any possible method to capture an html5 video frame without canvas?
Oct 6, 2015 15:28
@BenFortune whats confusing about it
Oct 6, 2015 15:23
please someone help.. after i deobfuscate a code.. there is a ton of regex and mini-functions that unravel the full functions. whats the process for understanding this? rewriting it by running the mini-functions manually?
Oct 6, 2015 14:52
speaking of regex, does anyone know how to make sense of deobfuscated code? even after it's deobfuscated, there's tons of unintelligible regex..
Sep 14, 2015 16:50
breakpoint, i'll try that, thanks
Sep 14, 2015 16:49
anyone know how to find out which script is capturing key events?
Sep 12, 2015 02:52
nvm i dont it's possible what i was doing
Sep 12, 2015 02:05
everything i've tried so far looks crappy
Sep 12, 2015 02:00
any idea how this could be done with code?
Sep 12, 2015 01:58
but i can't figure it out
Sep 12, 2015 01:58
you would think you could simulate this somehow
Sep 12, 2015 01:57
red and cyan anaglyph 3d works by filtering colors per eye..
Sep 12, 2015 01:56
man wth
Sep 12, 2015 00:34
maybe cube map is the only way to do it..
Sep 12, 2015 00:32
@rlemon i would much rather do with straight pixelshader than with a cubemap. I can removed reds with script like this: pixelshaders.com/examples/sampling-color.html but can't seem to turn the reds to black or transparent..
Sep 11, 2015 23:12
@rlemon maybe im wrong, this article is saying you can make your effects using it as well, I'll see where this leads me. thanks
Sep 11, 2015 23:10
@rlemon i was reading about threex.coloradjust a couple hours ago, it's a library of predefined effects, it doesn't help you actually make the effects yourself. It provides a red-to-cyan but not a red-to-black as I'm trying to achieve..
Sep 11, 2015 23:05
@ecarrizo lol "javascript", i'll get hundreds of upset viewers. i just added "shaders" and "pixel-shaders"
Sep 11, 2015 23:03
@ecarrizo more tags, good idea i'll try that
Sep 11, 2015 23:00
can stackoverflow questions be blocked/suspended? ever since someone commented that my question was stupid, like an hour ago, noone has viewed it since
Sep 11, 2015 22:55
@KendallFrey yes, color conversion is not handled in any of them that I can see. thank you though
Sep 11, 2015 22:49
I was hoping to add a pass with the effectcomposer airtightinteractive.com/demos/js/shaders/preview, but it's not one of the predefines. so I don't know where to start now
Sep 11, 2015 22:46
how to convert red -> black when post processing in threejs, that's the question :)
Sep 11, 2015 22:45
trying to convert colors while post processing in threejs, anyone have experience with this?
Sep 11, 2015 22:43
no threejs experts in here?
Sep 11, 2015 22:18
0
Q: How to convert colors when post processing a VideoTexture in threejs

bushdiverHow to convert colors (red or cyan ) when post processing a VideoTexture? I want to convert red -> black and cyan -> black. Or i this done with a filter of some sorts?

Sep 11, 2015 21:16
0
Q: How to block colors when post processing a VideoTexture in threejs

bushdiverHow would I go about blocking colors (red or cyan ) when post processing a VideoTexture? Where would I start with this?

Sep 9, 2015 21:51
@Tigris you want to see your gf's friends list?
Sep 9, 2015 21:44
is there another way to get the 2d context of canvas other than getContext?
Sep 9, 2015 21:38
anyone spot canvas.getContext from here?: mxr.mozilla.org/comm-central/search?string=getcontext
Sep 9, 2015 21:37
@Callum i found this mxr.mozilla.org/comm-central trying to find canvas.getContext now..
Sep 9, 2015 21:35
@Callum i would have to download release and decompile to see source?
Sep 9, 2015 21:33
@Zirak i dont know, i just work here
Sep 9, 2015 21:32
@Zirak im using firefox nightly, think this would still apply?
Sep 9, 2015 21:31
@Callum because it has depth
Sep 9, 2015 21:30
@Callum yah exactly
Sep 9, 2015 21:29
3D touch means pressure sensitive events btw.. need a forcetouch event..
Sep 9, 2015 21:28
anyone know where i can find the source for the canvas element? trying to find out what happens when you getContext..
Sep 6, 2015 21:12
@ZahidSaeed you've got to attach the script you're clearing to the elements themselves obviously ( and iterate through the list when you do the timeout)
Sep 6, 2015 20:57
holy geez, jsfiddle only supports three.js r54. thats ancient
Sep 6, 2015 20:56
im setting up a jsfiddle real quick, but looking for video that will work with crossOrigin="anonymous" tag set
Sep 6, 2015 20:50
@towc i don't see how this is easy unless I'm completely missing something :(
Sep 6, 2015 20:49
@towc no the bar is static, i meant when I use rays that's what the range is ( I have to comput that into video progress percentage.. )
Sep 6, 2015 20:48
@towc it's hard to say.. the position.x is at 0 but the plane width is set to 8.. when i hit the bar with a raycaster it ranges from world space from -3x to 2x