« first day (696 days earlier)      last day (4477 days later) » 

17:00
And I was not apologing, I was asking " Are you SERIOUS ?? "
The subsection of society to contact:

 jQuery

This room is often empty cept rlemon. he's always here.
Now Waddler, what are you tring to do with your code ?
but back to the matter at hand. I need a quick fix for this Safari though.
thanks @CallumMcLean
Uploading a video file using some Ajax stuff ?
No problem. Seems to be low on activity recently.
17:01
what I'm trying to do is too show a simple animated GIF AFTER the user hits submit to upload a video. we are using youtube for the video on our site.
How do you upload this video ?
That is my question. You have a submit form.
When you submit a form, with uploaded content, you have to reload the page
If you don't use some fancy tricks
And if you use these fancy tricks
We have to know that in order to help you
since we are doing that, we don't have access to the bytes during the upload process, so I needed an indeterminate progress bar to show to the user while the page is uploading the video to youtube.
So you're intending to use Ajax to load data sent on the same page via a form?
0
Q: understanding nested arrays in Javascript

IrakliI want to create a nested array in Javascript but can't do the thing what I want, I don't know if it is even possible. Here is an example of what kind of array I want to create: var array = ['id1', 'id2', 'id3', 'id4']; Then I want to add new array for each id such way that id values stayed th...

17:05
Ok, why not warn the user before like " This video will be sent to Youtube. This might take several minutes. "
And then let things happend naturally ?

 jQuery

This room is often empty cept rlemon. he's always here.
customer didn't want that. We already have text in red mentioning that the upload may take a minute.
When is your checkFile() function launched ?
customer wants the user to see 'something' so that they don't think the page is broken. b/c the site users maybe won't be savvy enough to look at the address bar
it's attached to the Upload Video button, so it's fired when the user clicks it, after they have selected the file on his or her machine
document.forms.formName.onsubmit = function() {
     var spinner = document.createElement('img');
     spinner.src = "spinner.gif";
     spinner.onload = function() {
         document.getElementById('someContainer').appendChild(spinner);
     };
};
// then when the uploads done you just need to run
// spinner.parentNode.removeChild(spinner);
2
17:10
@rlemon spinner.className = 'spinner';
nsfw but totally awesome
@rlemon Chances are that with a long upload, if the customers are as non-savvy as Waddler suggests, anyone who sees the spinner for more than, say, 15 seconds are likely to think that something's wrong.
Okay a small poll
Should i quit college ?
@CallumMcLean only if the spinner sucks.
css: .spinner { display: block; margin: 0 auto; top : 300px; position: fixed; }
17:11
@rlemon Without visible progress, people tend to assume the worst =P
do the EA approach
@rlemon, does that attach the spinner to the form name and then it appends to the container (in this case, a div) when it's hit? Also, will this work even if it's a button type and not a submit type?
make a bunch of seemingly retarded "phrases" and cycle them
@Abhishek that depends on why you are quitting?
"putting the bits in a row"
"crunching the blast number packs"
"developing a standard way to eat pickles"
17:12
@Waddler YES It also does Coffee. For Sure. And with some Baileys in it.
Better than jQuery.
EA = Electronic Arts?
yea
@Waddler quitting college for work
and probably moving to canada nd getting better college there :-) [ hopefully ]
I would say if work is going to pay you a bunch of money, and work has a benefit for paying for college, then maybe. Are you on scholarship or loans?
nope
17:14
@Abhishek finish your studies man :p
@dievardump I will probably die if i do so :-/
in here
of tension and frustration
having the degree helps in this economy, but so does being really awesome at what you do.
I wouldn't have quit college to work retail, but a $50 - $60k / year job, I would have to consider it.
@dievardump it works because it is attaching to the SUBMIT action on the form, regardless of how (button + document.submit vs submit) it is done then?
brb
i have been so damn confused about this :-x
@abhishek get a yellow pad and write down the pros and cons; it sounds like you will still finish college one way or another

brb
am studying for a degree in electronics and communication. Which is quite far away from what i do for most of the time on my day
17:20
@rlemon fuuuu I'll be frustrated and... "too motivate" for the rest of the afternoon..
There have been times when I've been flat-out rejected for a job because I don't have a degree. But there have been other times where high-profile recruiters called me looking for an interview.
@Waddler Here is the EA approach jsfiddle.net/XgVFt
dont mind my code
@rlemon try to submit submit submit
17:23
1 min ago, by rlemon
dont mind my code
@RyanKinal thats cause you are a pro
idk if i am x_x
@rlemon I know, I just found the effect cool
@Abhishek Yeah, but I wasn't always a pro. You have to represent yourself as a pro, and do the best work you can. Continue to learn (whether for a degree or not).
hmm
thats true
nice @rlemon should have a youtube channel
17:27
why youtube
you can always check out rlemon.com
didn't know you had your own site.
and I got rickrolled
3
:)
my only other "notable" site would be lememe
the degree represents that you were committed to a goal and finished
yea I have no degree, and like Ryan pointed out there have been times where not having it is a killer - however if you can get the interview, degree or not. just impress them with your passion and knowledge and you should be fine.
I mean, no degree, but still working in CS, it has to be possible.
@rlemon as a matter of fact , most people in this room which dont have degree posses more knowledge then those who have degrees :D
17:34
@rlemon HATE YOU
@Abhishek not sure
Yes, probably. I was going to bring that up. As I have two degrees, and I'm seeking @rlemon's advice. #humbled
@FlorianMargaine :-x i was talking about people I have met in real life when making that statement
and i had a feeling you would comment on that o/
hello everyone, i would like to know how to implement sortable html tables in the simplest way. preferably without having to download anything, and being able to reference external scripts.
17:37
@dievardump wow!!
@FlorianMargaine hows learning nodejs going ?
@rlemon the page reloads when the upload is complete, do I still need to worry about removing the child?
I am on my lunch break and am about to end it and give your solution a try.
@Waddler nope
@Waddler it is a concept only - code would need a lot of work
look at lememe s loading gifs
positioning sucks but meh
@dievardump this requires me to download things, and its not really focused on table sorting
@InbarRose what do you mean sorting
btw when u are here Florian , just wondering why are you writing code .cc file ?
17:39
@InbarRose That's right. And that's why it wasn't directed to you.
@dievardump sorry, was just right after i asked.
@rlemon i want to be able to sort html tables. like tablesorter.com/docs
@InbarRose I know. But we're on a chat...
Trying to hire a python/database/webservice nerd. Atlanta is best, but Denver, Austin, Birmingham (AL) are OK. [email protected]
is there a python Room ?
dunno
Yes there is
I remembered that ThiefMaster like Python, so I checked on his current rooms. BINGO
@rlemon philosoraptor is hilarious
17:46
@InbarRose and you want a pure js solution, no external libraries.
@dievardump thank you infinite for showing me fontawesome btw :P
[ it was ur share thingy when i met fontawesome ]
@Abhishek Thanks to @FlorianMargaine
He showed it to me 1 day before I show you
[wow that was a good example of event propagation ]
thanks florian :D
Can I see all the messages I posted ?
@rlemon yes, i want to be able to just put the code in the body.
17:49
@dievardump ?
@InbarRose have you tried anything yet?
yes, i was linking to an external sortable.js but have realized there are many security concerns
now i just want a simple sortable table script that i can include in my html reports.
@Abhishek fontello.com
better than FontAwesome
what security concerns?
(It includes it)
17:51
FOMG I AM IN LOVE
@rlemon all of the code that places spinner-genererate, is it in notifier.js?
@Abhishek Just stay calm
no
@Waddler notifier.js is a separate project of mine
it produces those OSD type notifications
@dievardump u have no clue how many uses i just thought of em l3
oic. I saw it in the javascript calls. OSD is short for what?
+ its kinda hard mate to do so :-/ i am on too many pain killers
I am using jQuery in this project
thanks.
Note: the demo on jsfiddle is old and shitty and actually broken version of the code - I have made a note to update that :P
@Abhishek haven't done much
but I've grasped the concepts now
17:56
:-) thats good :D
@InbarRose jsfiddle.net/rlemon/TXF9S that uses jQuery (actually was one of my first ever scripts with jQuery so it might suck)
I think I tried using onclick before and that didn't work too well for me. my problem is specifically with mac hardware and the version of safari there.
@InbarRose i'm sure you can with minimal modifications pull a pure js version out of that.
@Waddler onclick works everywhere
I'm sure it does. I think the problem lies with how submit is handled by Mac Safari.
when I cancelled the upload, my div was showing just fine.
@rlemon thanks, i will look into it.
17:58
what is your code like - it shouldn't matter mac safari - submitting a form is pretty basic.
0
Q: Safari (PC vs Mac)

WaddlerConsider the following Javascript: //show the loading animation div function showUploadAnimation(){ if(navigator.appName != "Microsoft Internet Explorer"){ $('#loading_animation').show(); } else{showUploadAnimationIE();} } //for IE... function showUploadAnimationIE() { var pb = docum...

ugh... $('#loading_animation').show();
seriously.
it's the only jQuery I see and it's selecting an ID and showing it
I agree with you 100%; unfortunately for me, I can't just tell my boss to tell the customer: "hey, we couldn't get it to work on mac safari.
oh, did I do that wrong then?
#rookie
no I just dont get what the hell you are doing here
if(navigator.appName != "Microsoft Internet Explorer"){
    $('#loading_animation').show();
}
else{showUploadAnimationIE();}

}
if( NOT IE )
use jQuery to show the element
ELSE
show the same element without jQuery but append a image to it
why use jQuery at all in the top case?
that line of jquery code didn't work with IE9, so I had to sniff around it.
18:02
impossibru
jquery is what I know to use.
why not use jquery in the top case?
@Waddler Why pull in an extra library when you can do the same thing without one?
function showUploadAnimation() {
	// get the container and create the nested image.
    var pb = document.getElementById("loading_animation"),
		img = document.createElement('img');
    // clear any contents of the container left over
    while(pb.hasChildNodes()) {
		pb.removeChild(pb.lastChild);
    }
    // set the src of the image, this initiates the load of the image.
    img.src = '../images/loading.gif';
    // listen for the load event to attach it to the DOM, this will ensure you don't show a partially loaded image.
There, that should work everywhere
no jQuery included
you probably want to set the display of pb in the onload event as well.
@CallumMcLean because I don't know any better. #rookie
Then I suppose this boils down to the old dictum, "Learn JavaScript before JQuery" =P
18:08
@rlemon I still am in love with that.
@Waddler just always remember, jQuery is like 9000+ lines (uncompressed)
it is a beast... so using it will always mean you have to include the entire library.
so is it really saving you anything? you save yourself writing like 100 lines of code but you include ~9000????
yeah. it's just that I usually have so much work to do, when I get home I either continue to work OR I am too exhausted to do any thing else.
My impression of jquery is that it's a library that makes JS easier to work with.
@Waddler would you tell your doctor it's ok that he doesn't actually know how to do the surgery because "he is too busy to learn?"
jQuery is a tool - nothing more. you need to know how to build a house before you pick up the tools and start hammering.
language agnostics and scope are key
fair enough.
start there
18:10
toolkit heum heum
I'm in a "Get stuff done" environment at work.
but yes, I see your point @rlemon
Don't wanna lose you, don't wanna loooose
@Waddler that is fine and all... and don't stop using jQuery if you need RAD (Rapid application development) - however it is still your responsibility to learn the language before all of this. take a week and seriously envelope yourself into it and you'll be master in no time.
don't know JS well and uses jQuery === 3 weeks development time
spends a week learning js, then uses jQuery === 1 week learning, 1 week developing. life time of rejoice knowing you are not a Lazy SOB who stands on the shoulders of giants :P
@dievardump Fantabulous =D
Hiya everyone
@rlemon I got 80+ heart on my share it, I can't believe it O_o
but like 1200 views
$4.95? That's good =)
Plate of what, though?
does anyone know how to get more then 64 results using Google search API
18:17
@TimeToThine It's deprecated, isn't it?
@Callum not sure but I want all of results, which is in billions
@CallumMcLean sight unseen. buy then i'll tell you
@rlemon Caveat emptor.
easiest way I could find after weeks of research is to go to each page of search and grap links using a utility
@rlemon its awesome, good work if you made it !
@rlemon your using third party animation in it, thought it was your own solo from scrartch :P
18:22
See the 'Optional Query Parameters' section here:
https://developers.google.com/custom-search/v1/using_rest#WorkingResults
@CallumMcLean yup someone should me that before, but then I will have to use JSON to request it again
@TimeToThine Yes.
You cannot retrieve more than 100 results anyway.
@CallumMcLean I need million of URL's tho :S
Unfortunately, the free access is limited.
Pay for a business account.
developers like to develop or hack, they dont like to pay :D Lol
In that case I will stick with, going to each page of search and grabbing URL's might take 10 hours but its effective
18:25
anyone know of any html table sorter i can simply copy&paste into my html file, i do not want to use external files, as these are html report files that should be stand-alone. file size is not an issue. just need it all to be tidy in one file, and be able to have a sortable table, extra features like filtering arent required, but that would be nice too. :)
@TimeToThine I would disagree. Quality must prevail over scrounging.
@CallumMcLean custom google search engine does return huge results tho, there must be a hack around
@InbarRose If it's important, you can find an external library and copy the contents into your file. It'd be a horrible solution, but it'd work.
@rlemon : codepen.io/dievardump/pen/GniHD «- no JavaScript
@TimeToThine It does return huge amounts of results... if you pay for it =)
18:28
@CallumMcLean i have been looking for one, but its hard to find.
@InbarRose You could always find an external one and host it somewhere yourself. Even in a Dropbox account.
o/ @Loktat
@CallumMcLean I never paid for anything online :)

maybe this is what i needed https://developers.google.com/web-search/
@CallumMcLean no - because the report files need to be stand-alone. no dependancies
18:31
It is, however, deprecated. Also, in the ToS:
** You agree that when using the Service, You will not, and will not permit users or other third parties to...incorporate Google Search Results as the primary content on your Property or any page on your Property; **
@CallumMcLean I just need it for myself and need millions of URL's for just once
What for, may I ask?
Out of curiosity?
@dievardump Ouch =P
@CallumMcLean its something related to marketing
Something related to marketing, requiring vast amounts of URLs...you're not selling viagra or life insurance, are you? =P
Lol not really, i just got an effective idea that can help me to bring thousands of people to any website I want :)
18:37
@TimeToThine I think I hear the sound of internal alarm bells... =P
Lol I will hear them when I get what I want :D Lol
Not sounding reassuring =P
am still not sure how can use deprected api tho
can you help me find a tutorual please
Documentation.
https://developers.google.com/web-search/docs/
Don't you guys are interested in getting a real Avatar ?
18:42
@dievardump Nothing interesting to have, really =P
@rlemon it works in IE9; the div only shows after I cancel the upload
but the div only shows after I cancel the upload in Chrome, Firefox, Safari (windows)
Yes but that's not aesthetic a conversation with these default avatars
That's true.
I must get round to it =)
@CallumMcLean where can I download its dll, or is it getting referenced using Google and dont need dll
Im pretty sure I have used parent() correct, but it wont work for me?
http://jsfiddle.net/ANygj/
18:46
It's not a DLL. Import it thusly:
<script src="https://www.google.com/jsapi"
type="text/javascript"></script>
Lol its a joke, even this one is getting me 32 results :L
better demo?
@rlemon looks good, why your making them
@TimeToThine The returned data does contain a moreResultsUrl entry...
18:53
@rlemon it's functioning the same now on my local as my current code. Now I need to upload it to our test environment and see how it works on Mac Safari.
@Waddler should be the same
this is all dom core
no proprietary methods or experimental features
I hadn't set the style display in the onload as you had mentioned the first time I ran it.
OMG... 3Mo
The file produced with the Sencha
@Waddler still confused
@dievardump which sencha product?
19:06
@Waddler i tried this but nothing changed

searchControl.setResultSetSize(google.search.Search.LARGE_RESULTSET);
posted on September 11, 2012 by miraculous1

While there are relatively few expensive laptops that have a Retina screen, practically all mobile devices have a high density screen. And if you think this is just an Apple-thing, you’re dead wrong—all Android phones and tablets, the Amazon Kindle Fire, the Playbook, and Windows Phones have high-density screens. On the enterprisey side of things, [...]

@Feeds too frigging old
@Abhishek help me naa
@rlemon how did you displayed that notification as I can't see your using any div for notification message at all
or is it something in that Notifier.js
never mind, got it
@TimeToThine that comment was for something else. not for you. apologies.
@FlorianMargaine ExtJS 4 + JSBuilder2
shitty things
19:16
oh, yeah
erm I wish if there was someone like me
19:43
@rlemon Just had one of the mac safari users in the office test it and no dice, it still didn't show until I cancelled the upload.
dammit, why do I even watch that stupid game -.-
@GNi33 Which game would that be?
Football, world championship qualification round
Austria - Germany
@GNi33 oh btw, not going to dotjs.eu, too expensive, and I can't really spend a lot these times
is it that expensive?
19:48
100€
well, that's not that bad
but the train is what costs the most <<
yeah. the company would pay the whole trip for me, so i'm considering to go
woah... goal, didn't expect that :O
it'd be 200€ for the train
so... that's lot all in all, can't really spend so much these times, I just moved in :p
and taxes are coming
@GNi33 oh that'd be nice
yeah, just thougt it would be a great opportunity to meet you in person :)
19:51
@Waddler get independent users to test it.
@FlorianMargaine you on a mbp?
@rlemon i am
mine's older than @GNi33's tho :p
haha, how do you know? :D
well, mine is over 1 year old
yours came like.. a month ago?
19:53
yep, but it was used before, it's my notebook for work
so i have no idea how old it is actually
not a retina, that's the only thing i know :D
19:53
@FlorianMargaine OMG i didn't check my account
wow...
i guess it's the generation before the current
@dievardump you shouldn't worry much, you don't have to pay the living taxes
@FlorianMargaine yes but I have 1000euros of taxes to pay
because of your salary?
And... I was In Lyon the 1st of January... so I have the living taxe to pay
19:55
I'm in a small IT consulting shop, that was my independent user. what's funny is that the (old) code worked on an older mac book with an older version of safari.
Yes because of my salary
1000€... you earned a lot
hum I was at 28k, something like that
19:57
yes
Yes I found it really strange also
k, I know how much taxes I'll pay then :|
Because... I didn't work all the year
but that still seems a lot yeah
19:57
I changed work 2 times
That's weird
I'll check it when I go back in France
yeah, you have 4 years if there is a mistake to be corrected
That's possible my first employer did a mistake when he declared me

« first day (696 days earlier)      last day (4477 days later) »