« first day (1815 days earlier)      last day (3135 days later) » 

11:00 AM
guys mysql blob is not accepting file larger than 1.6mb while the max_allowed_packet = 64MB
 
@DeepakSRautela 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.
 
IIRC, the blob length and packet size are two different settings. not sure though
 
1 message moved to Trash can
@lateek35 Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com or pastie.org
 
@MadaraUchiha I'm not sure of how to write this DZ.api(id, resolve));
 
11:08 AM
1 message moved to Trash can
@lateek35 Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com or pastie.org
 
@rlemon "ted ex talks where I talk about warren buffet - account" haha
 
Uh i can't make work the CTRL + K :/

http://hastebin.com/uridasigal.js
 
crl
when you paste
multiline code there's a button "fixed font" there  __
                                                                              \____>
 
45 degrees south of that
 
:26101161

    function test(){
    	console.log('Tanks !');
    }
 
user3119231
11:15 AM
 
11:27 AM
user image
2
 
@Tacticus 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.
 
Morning
 
11:44 AM
@Tacticus great first message
 
i want to get current time like eg : 10:00, 04:36, 11:01 ....etc
i tried var d = new Date();d.getDate() // this giving me just single digit date but not time
 
because date is the number of month
 
@Neoares in what sense?
 
@KendallFrey You use C# right?
 
I mean, getDate() returns the day of month
 
11:47 AM
getTime giving me // 3564546757 :(
 
@BenFortune All the time
 
you should use d.getHours() + ":" + d.getMinutes()
aprox
 
@Simply number of milliseconds since the unix epoch, I think
 
Do you happen to know a decent way of getting a screen capture a few times a second? I've tried gdi+ and Graphics.CopyFromScreen but they both seem to lag quite a bit.
 
except that's wrong
@BenFortune My only experience with that was several years ago, and I used that same method
 
11:49 AM
Oh :(
 
I think there are lower-level Windows APIs that will do that
 
You reckon it'd help if I split it and did it in parallel?
 
so if worst comes to worst you can probably use P/Invoke
 
I P/Invoked the gdi+ stuff
 
@BenFortune hm, good question. Maybe?
 
11:50 AM
@Simply d.toLocaleTimeString()
 
I tried DirectX briefly too, but it got real complicated real fast.
 
@BenFortune In.. C#?
 
@RoelvanUden Aye
 
@BenFortune Here you go github.com/Deathspike/Hansha
@BenFortune BitBlt works under Windows XP, Vista and 7 and is slowest.
 
Hi all
I'm making a page containing MCQ type questions. I want that if user inputs question, then the user should provide 4 options to that question as well. If the user do not enter options for the question, he should get an alert. I did this by using BLUR event on Question input but it would trigger when the user is entering options as well. Is there any way i can add exception to fire Blur event with exceptions for those intended ANSWERS input box.?
Thanks in advance!!
 
11:53 AM
@TusharShukla 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.
@TusharShukla 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.
 
@BenFortune Dekstop Duplication API works under 8+ and uses DX
 
@TusharShukla 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.
 
Jesus christ cap
 
@rlemon ^
 
@BenFortune Do note that I still need to fix Desktop Duplication API. It currently leaks pixels for some reason. If you can fix it, PR highly appreciated ;-)
 
11:54 AM
@RoelvanUden I was looking at that, but it doesn't capture fullscreen apps does it?
 
@BenFortune Depends on the flag under which it runs. Protected content flag enabled = black screen.
You can strip the flags from running processes with some clever hooks, but I don't have code for it
 
I also only have a basic understanding of C#, don't expect any PRs :)
 
Even with basic understanding, you might stumble upon the problem :P
@BenFortune If you want to make some kind of Steam-like screen capture you quickly move into the world of injected C code to hook into the swap buffer functions to copy it out manually (because of the way it works is more efficient then). So, depends on your use case.
 
SharpDX is what I tried too, having no knowledge of directx or c# doesn't help :p
 
I only have basic DX knowledge, probably why it has a bug :-P, but yes, knowing C# helps :D
 
11:58 AM
@lateek35 I don't understand the question
 
@Cereal Thank you, can i get in 12-nours time instad of 24 hour
 
@RoelvanUden What's the code licensed under?
 
@phenomnomnominal TFL;DR
 
@BenFortune Uhm. MIT. I forgot to include that file apparently. Do whatever you want with it; I just highly appreciate the knowledge if you figure out why the DX core leaks pixels :D
 
@RoelvanUden I'll credit you if I can get DesktopDuplication working properly :)
 
12:01 PM
I'm making a page containing MCQ type questions. I want that if user inputs question, then the user should provide 4 options to that question as well. If the user do not enter options for the question, he should get an alert. I did this by using BLUR event on Question input but it would trigger when the user is entering options as well. Is there any way i can add exception to fire Blur event with exceptions for those intended ANSWERS input box.?
 
crl
12:17 PM
!!learn acronym acronymfinder.com$1.html "\w"
 
@crl Command acronym learned
@crl Command acronym learned
 
!!acronym btw
 
@crl you suck
!!forget acronym
 
@FlorianMargaine Command acronym forgotten.
 
12:21 PM
i don't intend to spam or something but since this is the first time i am using this chat feature, just wanted to know if my question was seen and ignored or if there is some other issue with my question!
 
Either no one knows, or the person that knows doesn't care
 
crl
!!learn acronym "https://www.acronymfinder.com/$0.html" (\w+)
 
@crl Command acronym learned
 
!!acronym milf
 
crl
12:22 PM
!!acronym MCQ
 
> man I love fishing
 
> MILF Man I Love Fishing
wut
 
Multiple Choice Questions, i'm sorry, i should have mentioned before
 
it's a very SFW website...
in PHP, 39 secs ago, by tereško
paradox sale (some actually good discounts): http://store.steampowered.com/sale/paradox_2015/
@Loktar @rlemon @SomeGuy ^
 
12:25 PM
Neat, thanks!
 
thanks
 
I'll pass, though. I haven't played on Steam for quite a while
 
nothing on there I must own
 
crl
@TusharShukla you should try to make a small jsbin to show us
 
@KendallFrey imgur.com/a/sqNYY
fucking crazy
planets man.
 
12:28 PM
Always fascinates me that it's a hexagon on top
I read why at some point in my life, don't remember what it is
 
which planet is that?
your anus?
 
@RoelvanUden I love you
 
@FlorianMargaine Cassini flyby of Saturn's mysterious "hexagon"
NOOOOOOOOOOO!!!!!!
forgot my headphones at home again
 
@rlemon ah, so, Saturn, not your anus
 
I'm buying a second pair for work
@FlorianMargaine too clean
 
12:33 PM
@rlemon babe I know you shave your hole ;-)
 
this is the shortest film ever to be nominated for an Oscar
 
wtf
I get so many ads on youtube now
like, 30s ad for every 1min video
 
crl
adblock plus
 
is lame
 
The problem with adblock plus is all the sites I visit need money to stay running
Except youtube
google's rolling in money
 
12:40 PM
Is important for security, privacy, and power savings
 
google isn't the one I care about on youtube ads
the main content creators rely on youtube for a source of revenue
 
I was under the impression creators got virtually no money from ads
 
EFF has made Privacy Badger now, it tries to only block the tracking ads
 
I don't mind an ad now and then
 
Also, I don't want to get influenced to buy things I don't need
 
12:44 PM
but I do mind when I have more ads than the actual content
 
So basically only punish ad networks that try to invade your privacy and let other ones through
 
@Cereal they get money, but only if you click on the ad or watch it for a few seconds
can't remember how long
look it up
 
I thought it was like 0.001 cent or something, is what I meant. Some obscenely low number per view
 
also, youtube users choose the ad types they put on their channel (or no ads)
@Cereal nahh, it is more than that. but yea you need like a million views to make worth mentioning money
 
Maybe I'm thinking of spotify per listen
 
12:45 PM
but most of the top 'creators' do have those views
 
Anyone here have suggestions on how to stop biting my nails?
 
ipecac
 
Cut your nails every day, get something else to bite (chewing gum, …)
 
:26101990
@MadaraUchiha I mean, I don't really see how to translate this part into javascript :
function makeApiCall(id) {
    return new Promise((resolve, reject) =>
        DZ.api(id, resolve));
}

It might be a noob question but I don't know where to put my code to do some operations with data I retreive from the api

function makeApiCall(id) {
    return new Promise(function(resolve, reject) {
        DZ.api(id, resolve);
    }
}
 
12:48 PM
!!acronym ipecac
 
@Cereal Apply red chilly on your nails, every time you'd bite them, you'd remember not to bite them again :D
 
@Cereal it isn't an acronym
 
@Cereal Start smoking instead
 
crl
bad suggestion
 
@rlemon woo, quantum physics on an astronomical scale!
 
crl
!!> var x; eval('x=3'); x
 
@crl 3
 
@BartekBanachewicz Maybe op isn't satisfied with your answer
 
Speaking of quantum physics, here's a thought experiment I really like:
 
12:55 PM
shitty op
 
!!wiki quantum immortality
 
In quantum mechanics, quantum suicide is a thought experiment, originally published independently by Hans Moravec in 1987 and Bruno Marchal in 1988, and independently developed further by Max Tegmark in 1998. It attempts to distinguish between the Copenhagen interpretation of quantum mechanics and the Everett many-worlds interpretation by means of a variation of the Schrödinger's cat thought experiment, from the cat's point of view. Quantum immortality refers to the subjective experience of surviving quantum suicide regardless of the odds. Keith Lynch recalls that Hugh Everett took great delight...
 
tl;dr: Your conscious can't experience it's own death, and therefor experiences the realities in which it doesn't die
user image
2
 
Hi guys
 
@Cereal nice :)
 
12:59 PM
Hello
 
@Rams 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.
 

« first day (1815 days earlier)      last day (3135 days later) »