« first day (1715 days earlier)      last day (3236 days later) » 

12:18 AM
document.body doesn't always scroll
document.documentElement
or window
@Deep
i.e. you're just attaching to the wrong container.
 
ah ok.
 
personally I would attach it to window
 
what about body.onscroll?
is that better or worse than addEventListener?
 
same
well, for these purposes it is the same
do window.addEventListener('scroll', fn);
 
WHERE THE FUCK DO I MAKE A CORDOVA ISSUE ?
#ragequits development
 
12:20 AM
Alright, thanks! :D
 
@Abhishrek github.com/apache pick the right repo
report the issue
don't be a noob.
 
ISSUES
dude, learn how to github
 
do it for me ?
The issue is damn simple ... if you are using windows phone thumbnail.path will be an absolute filesystem url to a file, which you must not use because now getting that file again requires a completely messed up extra step, what you are getting is a file or rather a reference to the file, creating a blob will do the task, rather it makes much more sense to do it.
 
12:23 AM
seems they've disabled issues on github (wasn't even aware that was possible)
my bad
 
Oh dear lord lemon
 
@rlemon Github is 7 years old. It has 9 mil users. On average, there are 3.5k new users every day. Perhaps he is one of the lucky 3500 today!
 
@Sheepy no, no i know how to github... its these insane repos
 
@Abhishrek Oh they are insane, true. I don't know any real software that is sane.
 
@Sheepy hello world is perfectly sane.
@rlemon i still have no clue where to make an issue.
it may be 5 am brain though
so i am going to bed.
 
12:27 AM
I've noticed Github and SO on job sites.... there was nothing like that when I was hunting before.
 
@Abhishrek Hello Worlds are programs, sure. Hard to say they are software.
 
@rlemon github.com/apache/cordova-plugin-contacts/pull/65 before i slept this i did this lol
 
heh, I have Abhishek muted. Forgot when I did that
 
@taco It happens
 
I generally only do it to lazy or people who annoy me
 
12:42 AM
Chrome crashes on opening dev tools
x_x
 
https://stackoverflow.com/questions/31029318/difference-in-declaring-javascript-objects
Sneaked in bounty before the question could be closed :-(
 
@uselesschien Well then, don't open them
Try opening your browser in incognito mode to disable extensions
 
@taco A system restart solved the problem for me. :)
 
Eh. It's gonna happen again
 
12:57 AM
I tried creating a new profile, with no extensions, and it still crashed.
So, it's probably not the extensions.
 
Good idea, but yeah incognito mode would've saved you some time
 
Maybe it's the universe telling you that you're not cut out for development :x
or maybe the guy that created the bug. who knows
 
lol
@AwalGarg ur uni offers a os dev course?
 
@uselesschien AwalGarg is afk: night
 
Anyone ever used the Raphael JS lib?
 
@taco It got too sarc for me! Anyways can you help me out?
 
@uselesschien god knows what they offer. I am just going there to hide from btech.
 
Hi guyz, is there a better way to do this: https://jsfiddle.net/Enissay/bru34mpm/
(modify a copy of a string/var in only one line)(is there any function like clone() ?)
 
1:23 AM
@AwalGarg But it's still BTech, CSE that you chose, right?
 
@uselesschien BCA
It is programming + physics + lite CSE
 
oh
Have you considered IIIT-H?
The CSE course there is said to be the best
in India
 
@uselesschien no because 1) I didn't knew it existed until now :P
 
damn..
 
basically I chose bca because it is said to take less time from life
 
1:28 AM
the course duration?
 
3 years
but not that
just the study hours and pressure etc.
 
> from life
oh
 
So no one any good with Raphael? I just need some help with transform matrix's
 
Jun 21 at 8:23, by Puneet Chawla
Dear all, there is no need to ask anything. Just share your query. If anyone knows then will give answer.
 
How do I set a an image into a path to fill, like the CSS background-size: cover; property? With Raphael js.
And stuff on transform matrix if my first query doesn't work
 
1:33 AM
@Rahul make a fiddle
 
@uselesschien yeah overall it will very likely be less hectic for me. the syllabus is also mostly programming related so there is that...
Only thing I hope is it doesn't involve writing loads of stuff on paper.
 
@AwalGarg dude, the course at iiit-h is all-things-programming. Less theory, more coding. And coding contests, OSS, linux kernel dev are a common place. Many students participate in GSoC.
 
But I don't want to go to hyderabad :(
 
@uselesschien jsfiddle.net/8qudLkw0 I've made the fiddle. How do I fit it in the red box? Please.
 
1:46 AM
@Rahul You can do something like this.. jsfiddle.net/8qudLkw0
But if you want to scale..
to the dimensions of the box, wait, letme try
 
Hello all!
 
@uselesschien I don't see any difference?
 
> in this day and age it isn't mandatory to put yourself in exile for 2 years in Class 11 and 12 only to realize that you could have picked up everything on your own in any case.
 
y they no tell parents
 
1:47 AM
@AwalGarg ikr :/
 
@uselesschien Thanks but; I've tried this before. I basically want to see the whole image in that display. Any ideas? A bit like how background-size: cover works.
 
1:59 AM
@Rahul I don't think it's possible with Raphael JS.
 
@uselesschien Best way?
 
@Rahul Overlay SVG
 
Thanks for your help.
 
Hello!! Is someone of you familiar with Computability and especially with reduction?
Could someone take a look at my question:
0
Q: It is not recursive

Mary StarTo show that the language is not recursive we have to reduce the Halting problem to the above one, right? I have done the following: We suppose that $L$ is recursive. That means that it can be cmputed by a Turing machine $T$. We will reduce the Halting problem to $L$. For this reason...

 
@AwalGarg They'll never understand
@Rahul Maybe there's some SVG pro somewhere jsfiddle.net/toa3z1c0/1
ask on SO
 
2:36 AM
@AwalGarg good morning
Am up and now an amazing bug awaits me
 
so i have a heisenbug
when i set backgroundImage it works sometimes and sometimes it doesnt
no errors are thrown
but setting an image works just fine
 
anyone good at jquery ui modals?
how do i hide the modal text by default?
 
@Abhishrek o/
 
anybody gonna help me debug this bug?
funny enough the thing doesnt even appear in inspector so its as if the style never got applied
if only visual studio was a real debugging tool with breakpoints and stuff, i'd fix it
 
2:50 AM
@Abhishrek is there a console log error?
 
@php_purest nope
What i think is happening is the blob is not yet on disk
 
@Abhishrek works fine then
 
@php_purest no it doenst
my images aren't getting rendered
the same approach used to work perfect in an app used for the sole purpose of displaying images
something has to do with contacts
 
@Abhishrek that's what happens when you expect CSS to work sanely.
 
That's what happens when you don't use vim
 
2:52 AM
@AwalGarg its not a bug in CSS
 
then the image is pointed in the wrong location
 
Does anyone know how to restrict access to particular routes in react-router? I want to check if the user is logged in before allowing access to a particular route. I thought it would be simple, but the docs aren't clear how to do it.
 
@php_purest @AwalGarg As far as i understand what happens is when i call the getter for .thumbnail the os asynchonously places the contact image in the temp dir of the app
but since its an async operation, a race condition arises
add to that the suckiness of IE
and it all makes sense doesnt it ?
 
how large is the image?
 
I debugged 3 race conditions related heisenbugs yesterday.
I suck at debugging DB issues I think.
 
2:55 AM
@Abhishrek can you fiddle it?
 
ofcourse not
 
aww, db issues - go to the language chat, not client side chat
 
@uselesschien holy awesome
 
@Abhishrek look at the src, there may be an error there
 
2:58 AM
@php_purest You do know you can create a db engine using javascript jQuery, don't you?
 
@php_purest none sir
 
why would you?
 
lol I like how php is trying to help shrek and shrek is following :P
 
Smh.. how to strikethroo?
 
---foo--- -> foo
 
2:59 AM
@AwalGarg i have already done what he has said
 
@AwalGarg ikr
 
client languages are meant for client stuff ONLY
 
i am now running the app in single step
and the race condition disappears
 
@php_purest what is a "client language"?
 
so i am correct -_- it is ie.
 
2:59 AM
javascript, html, css, ...
 
javascript is not a client language at all.
and html and css are not programming languages in the first place
 
one very important lesson i learnt about cordova today is that the abstraction they do is purely bullshit.
 
it is too
 
I made a cross-platform pong game with JS yesterday
 
There can be much better and sane abstraction, if only a "real" platform maker company was investing money on it.
I mean the windows code is totally untested and being shipped for like 3 versions of cordova -_-
 
3:01 AM
there's much better server side languages than javascript
 
there is nothing like server side language or client side language
 
@Abhishrek Atom-shell's much better
 
@uselesschien chrome dev tools smoke it
smoke it bad
and smoke it worse again
and then smoke it once again just for the heck of it.
 
I know
 
3:03 AM
and so does visual studio tools for C#, they even smoke out chrome devtools at some places
 
@AwalGarg one more bug
clap
it breaks history api too
okay i have had enough.
 
I am listening to se-radio.net and it is pretty good.
 
@AwalGarg you had a windows phone right ? use mix-radio
if u havent ..
you will start loving it
and then you will get addicted
this is really frustrating
 
3:27 AM
how do you have the text in a div hidden by default?
but whn it opens in a modal it's shown?
 
magic
 
@AwalGarg you are magical
i'm usin g the jquery modal
 
@php (∩ ͡° ͜ʖ ͡°)⊃━☆゚. * ・ 。 ᵀᴴᴱ ᴳᴬᴹᴱ
 
how did you do that?
 
magic
 
3:30 AM
lalalala
 
how do you put the image into the chat like that?
 
tell me pls
 
You just did o.O
 
You need to have a Stackoverflow Pro Account for that.
 
aww, upload
 
@AwalGarg does my home screen look childish ?
 
3:34 AM
@Abhishrek very
 
Unreadable
 
@Abhishrek yes, it does
 
@AwalGarg funny part its actually my lockscreen :D
 
sherku
 
"Screenshot of my homescreen set as lockscreen"
pisses people off xD
i thought it was evil
> cordova run windows -- --phone --device
 
3:35 AM
mildly irritating at best, and very much childish attempt :D
 
my lock screen:
pay no attention to the design
does anyone like it?
 
how to customize the alt text
 
is your dp yours?
 
@php_purest your attempt at humor is worse than indian humor.
 
3:44 AM
i still have a flip phone :'(
 
@uselesschien what phone is that
 
a flip phone
 
@AwalGarg Tab 4 7.0
 
nice
 
can someone help me figure out how to target the body section of a dialogue box?
http://api.jqueryui.com/dialog/
 
3:49 AM
@php_purest stop... your humor kills kittens
 
@Abhishrek intentionally
 
@php_purest #dialog ui-dialog-content
dude, read
 
@uselesschien i tried skimming it
ui-dialog-content:"text", kills it
 
@php_purest kills it?
 
ui-dialog-content:"text",
@uselesschien show please
 
3:54 AM
@php_purest wtf is that
 
@php_purest that is neither valid json, nor js.
 
i'm trying to target the text area with it
 
Is that CSS?
 
no, jquery
 
lol wut
 
3:55 AM
sheer brilliance
 
Show me your code.
 
text could be form...details...big picure...
 
lalalala
 
> php_purest: <some code>
> me: this is not valid javascript
> erik: is that css?
> php_purest: this is jquery
 
I'm building a modal with dynamic content that populates from 2 different variables
 
3:58 AM
@php_purest you cannot use - in an identifier.
 
what?
 
you make a div#dialog with the content
 
aww, all the html
 
@uselesschien shut up php code is valid
 
yes, and jQuery automagically converts it into a modal when you .dialog
@AwalGarg you can't use it in php either
but everything is valid in php,
it has no spec.
 
4:00 AM
@uselesschien php is my friend
 
a spec is in development for php
 
By facebook
and co.
 
it works on my side, i just can't seem to hide some stuff by default
 
4:06 AM
It shouldn't work
Is your dp real?
 
whose dp?
 
@php_purest yours
 
i'm only showing the html basic, and the function
 
I'm talking about your display picture
the thing beside php_purest
also known as profile picture
 
on a page load it displays text in a normal div, instead of hides it, then it shows the modal, and on close it hides the text for some reason
 
4:10 AM
answer my question senpai
 
that is my impression of sheldon cooper
my sense of humor has a lot to desire according to @AwalGarg
@uselesschien why do you ask about the DP?
 
@php_purest because it's funny?
 
i was told to take a picture of myself smiling for my git, and ppl liked it
@uselesschien do you see what i need to do?
 
@php_purest can you please stop flagging stuff? Those posts are obviously welcome in this room - else they'd have been flagged or otherwise removed by the room owners by now
 
4:23 AM
@phenomnomnominal your music's so good :)
 
@JonClements is there a down star, or do I just have to flag for I don't like it feedback?
 
If you don't like it, well, don't flag. Flagging is for offensive posts.
 
There's no down star... one post you flagged was pinned by the room owners (and has 38 stars against it) - I'd have no idea why you'd flag something announcing their child's birth...
 
flag in chat - downstar
a baby being born isn't es related
 
If it's genuinely spam/offensive, then flag it. If you personally just don't happen to like it - don't.
 
4:29 AM
how do i say i don't like it?
 
You just did... there you go - feel better now?
 
yep, with flags i say i don't like things
like a down vote
 
That isn't good, it's nothing like a downvote
 
@php_purest please read my sentence starting with "if it's genuinely..."
 
@JonClements where's the down vote button then?
@FlorianMargaine how is your chat message about your baby ES related?
 
4:32 AM
There is no down-vote
@php_purest oh god
 
@uselesschien why not?
a star is an up vote
 
Ignoring is a downvote :)
 
not good enough
in my opinion
!! tell @JonClements stars, and flags aren't good enough
 
does anybody know how to modify the looks of alt text in an image ?
 
4:42 AM
@Abhishrek Add props to img
 
no
 
img { font-family: "Comic Sans"; }
 
i was worried if alt will now be a shadow dom element.
but than realized that would break half the web :x
 
@php_purest it is. when babby is born, there is a probability he will grow to contribute to ES
 
okay doesnt seem to work
 
4:46 AM
Bitwise or 0 does the same thing as Math.floor() right?
 
no
 
i want the text to be absolutely centered.
 
!!> Math.floor(-.1) === (-.1|0)
 
@AwalGarg 0
 
@Abhishrek text-align: center doesn't work?
 
4:48 AM
@AwalGarg false
 
@uselesschien nope
 
o wait vertical centering
 
@Charly ^
 
it seems that alt text is a shadow dom element
 
mmk
 
4:48 AM
and that too inline
@IonicăBizău thank you for flat color
function randomFlatColor(){
	return 'rgb(' + COLORS[Math.floor(COLORS.length * Math.random())] + ')';
}
maybe you should add this too.
and call it Unicorn :D
--nvm-- i just read your colors file ... you must call it Unicorn
instead of just no arguments
 

« first day (1715 days earlier)      last day (3236 days later) »