« first day (1970 days earlier)      last day (2992 days later) » 

12:00 AM
hmm have to rewrite the functionality, but it will fail if you turn js off
 
you're on the javascript channel
 
you still need to worry about if js is turned off
html things floating inside a php thing that can trigger a js thing
 
you can put an anchor tag inside your tr and make it fill the area with css. no I'm not going to do it for you.
 
but how would you make the vertical tableing work properly?
3 columns
 
not a chance I'm doing your work for you
 
12:04 AM
it's for part of a class i'm doing
 
then I'm doubly not doing it for you
 
can't i pick your mind for it?
 
is there a good conversion tool?
 
I am starting to feel like I'm being trolled
 
12:07 AM
i'm a parents basement troll
 
so can anyone help me figure out how to phrase such a google query? "Sort algorithm with skipping elements"?
 
user3972139
got help on stackoverflow jsfiddle.net/yxErC/30
 
ironically, here's the problem expressed in an SO answer stackoverflow.com/a/2519226/1178921
 
user3972139
asked the questions and did not get shot down :D
 
user3972139
and banned for lack of rep
 
user3972139
12:12 AM
good day :D
 
!!tell BenjaminGruenbaum youtube Lil Dicky - Sky Hooks
 
@rlemon Command lil does not exist. Did you mean: lol (note that /tell works on commands, it's not an echo.)
 
holy shit, off the hook man.
 
that's the fifth drink song
 
12:14 AM
@deltree ah, sounds like you don't need a sort, you need to build the array in the right order to begin with
e.g. add a, then add all the subelements of a recursively
 
and if the array is given to me, rather than built?
 
identifying element #1 or event the last one is basically impossible without iterating over each element. So I end up tin the ugly position of iterating over the entire array for each element in it
 
@deltree build it over again, maybe
 
still requires me to O^n it
or whatever the notation is
 
12:23 AM
That isn't even a valid expression
O(n^2)?
That's a basic primitive search algo
 
yeah, it's n^2, i miscounted like an idiot
 
@KendallFrey hop in ?
 
english?
 
he wants you to vid chat naked wit him
 
@KendallFrey hop into the hangouts
 
12:31 AM
@KendallFrey I'm at least here
 
I didn't know they had a new album coming out yeeess
I would join Hangouts but am working :( trying to implement redux so I can start using it at work instead of reflux
redux is pretty fucking awesome actually (reflux isn't bad per se) but, Dan is the man.
 
@Loktar hop in we will pair program ;-)
 
Admit it... which one of you is this: imgur.com/HZnUwT8
3
 
12:46 AM
Nobody else wants to join the hangout?
We're not having a pity-party this time
 
!!youtube me first and the gimme gimmies over the rainbow
 
@ndugger are these hangouts monthly/weekly scheduled or something?
 
Just random times when we feel like it
 
1:05 AM
it isn't sexy enough
 
should've been on fire
quietly smouldering
 
m59
What's the approach for wrapping a function with an Observable, like you can do with Promises? I need to make a function that returns an Observable which calls getUserMedia(options, onSuccess, onError). fromCallback won't work because of the strange format of the parameters.
 
@phenomnomnominal haha exactly!
wish I could update my comment to say "It isn't hot enough"
 
join hangouts, plebs
 
1:28 AM
@KendallFrey I keep looking at this and laughing. I need to reorder a set of data based on some criteria. I'm pretty sure that's the definition of the word sort.
 
1:58 AM
hellloooooooooo
 
need help figuring out why my .open method is not pulling a different quote whenever i click class name
 
@user2763557 Welcome to the JavaScript chat! Please review the room rules. Pleasedon'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.
 
please note, this exact url and key works and the page works when I use .getJSON
but .open isn't doing it, what am i missing?
 
hello i'm watching backbone.js tutorial now on Lynda .can you suggest me a good way to practice it myself ? like online code challenge ?
 
2:15 AM
Make a google search clone
6
 
clone?
 
@deltree You described a pattern similar to one I've encountered before, and the best solution I know of is not to sort in the conventional sense (swapping elements until they're ordered) but to recursively enumerate elements.
 
2:55 AM
Hi, I recently saw a post about someone implementing jQuery selectors in less than 400 characters, but I can't find that post. Was curious if anyone knows the post or the github related to that project.
 
and just for kicks tutorialzine.com/2014/06/…
jquery's not special anymore
 
Not that.. I just wanted to check out that guy's source.. I think it works on ie6.
 
neat, lmk if you find it
 
3:10 AM
nvm... it's not legacy compliant, but still neat anyway: github.com/duckinator/tweetthings/blob/master/tweetquery/…
Could be useful to use with some jquery plugins without having to bring in jquery as a dependency.
 
lol it uses queryselector like I said :)
 
if you want to support ie6, you have other problems
 
... that's what happens when you build software for financial institutions. :(
 
@Pete use zepto instead
 
no....no it isn't
financial institutions that use ie6 don't understand the meaning of the word security
 
3:12 AM
^
 
Hard to change because their clients are elderly people, etc... and still run xp.
 
xp is well beyond 6
 
also xp is no longer secure either
 
agreed, but that would require rational thinking.
 
3:14 AM
I would have to tell them no on ethical grounds @Pete
 
Is it a chinese financial institution?
 
Nope... They do have a migration path to IE11, but it's going to take years...
 
@deltree you're right. We should just stop supporting XP.
@Pete why not just a different browser..?
 
It's an external facing application, so they can't force the end users to change browsers
 
At least display a warning for those using them obsolete potatoes.
 
3:19 AM
That's there, but there's still a minority that uses legacy browsers that they want as clients.
 
You work for them full time?
 
Nope, contract... so not really too bad a deal. Just need to work through it until it ends
 
@Pete I totally get things taking years, but there is one rule in tech. Timelines go out the window when security is on the line.
 
They know the risks... Just got to make all the validation on the server side as good as possible.
 
things take years because you need to make room to support sudden crazy security changes that have to happen but to put security changes on hold in the name of other things is against my ethical obligation to the people who's data I'm responsible for.
 
3:24 AM
Agreed. Thankfully all the data I work with is public knowledge.
 
then you have an excuse for not feeling obligated to put your foot down
but I would never play that. I worked for Boeing and NASA. I don't play games with security.
 
user2620028
3:40 AM
@rlemon you wouldn't happen to be interested in a system76 laptop would you? I am getting rid of mine for a desktop at home
 
already have a kudu
 
user2620028
yeah thats why i asked, i remember you saying months back you were thinking about getting one for your wife
 
3:51 AM
rlemon is married??
 
He isn't
 
Oh, I get it. Cap.
 
Good Night folks.
@SomeGuy @AwalGarg ping me up
on hangouts
 
Done
 
Oooo, new be nice or else welcome message :D
 
4:02 AM
@monners o/
 
@Abhishrek \o
 
4:55 AM
Serious question can you download google chrome in China considering Google is banned?
 
Well, yes. It's mirrored in a zillion locations.
Or just download Chromium.
 
@littlepootis hello friend! How is India going? Have you ever been outside of India?
 
where!
 
Richmond, VA. Some 7 years ago.
 
5:04 AM
OMG I have been to Virginia I believe Richmond
That means I have to go to India sometime
 
@William you might want to reconsider that
 
@littlepootis it will be fun. In fact I live 3 hours away from Richmond.
I have been to Costa Rica it can't be worse then that.
 
It depends on which part of India you're planning on visiting
 
What is the best part of India to go to?
 
Oh, that's nice!
@William Any place other than the cities
 
5:10 AM
what is the closest place to you that is cool?
 
is it possible to make asynchronous content crawlable by Google without having to do anything server side?
 
@ray9209 what do you mean by asynchronous content? If there is nothing done server side but static content it wouldn't be that crawlable.
 
@William Araku Valley, it's a really good place to be in during winter.
 
The caves and water look awesome.
What does 0x4572696b mean on your twitter?
 
Also, it's 450mi from here.
@William It's hex
 
5:16 AM
for what? Clever
 
Hex for "Erik"
 
That's cool. Does the empty font have zero width characters?
Or are they just transparent? What would you use it for?
 
@William I mean suppose you have content on your webpage that is loaded from the server asynchronouusly (on some event i.e. click) and you want the updated page after that content is loaded to be indexed in Google, can you do that just with javascript?
 
@William they're just spaces
Jan 25 at 3:45, by Willem D'Haeseleer
Sup folks, I'm looking for a font where all the glyphs are actually empty ( a space if you will). I want to use it to put invisible text behind actual text so that I can have more control over exactly what will be matched on a web page by the default chrome search functionality.
 
@ray9209 it won't be indexed by google unless you take special precautions. I don't understand do you or don't you have access to the server(other then static content).
@littlepootis that seems fairly evil. I actually did something similar before. Do you have a use case/example page?
 
5:20 AM
i don't have access to the server
 
@William there's one in the repo
 
so I guess I have to download it. No biggy. meant if one was live.
 
there's isn't one live, but wait
 
@William 2 methods i have currently looked at (hashbangs and pushState()) require having access to the server
 
rawgit doesn't work, damn
 
5:22 AM
yes rawgit is fairly stupid tried that before
 
You'll have to install it..
 
@ray9209 yes I believe there is no way sorry.
@littlepootis you should make it into a @font-face web fonts
 
@William he just wanted a font
 
Don't you use metric there I noticed you gave me miles?
so it appears you use both like us
Here is what I did to alter selection in browsers jsfiddle.net/96joLeae/6
 
We use both miles and kilometers (maybe that's just my state). There aren't even synonyms for kilometer and centimeter in my native language, but there are for miles and inches.
 
5:34 AM
confusing...You should add more to hilo.js.org
like examples and stuff
 
Should have. But I've abandoned that project.
 
:( so what is you favorite language/project/library then?
 
C, Vanilla JS (I hate modern libraries; I use the tiny ones)
 
@littlepootis C is nice although I have never done anything serious in it. What is your favorite JS library then? In terms of light ones I think github.com/madrobby/zepto is cool.
 
The problem with most libraries is that they're bloated.
@ded's libraries are cool
 
5:43 AM
does anyone know how to do a 3 column div table where the coluns match horizontally?
 
I guess. I mean jQuery isn't the answer but at the same time jQuery is a lot faster
@acoder why not a table?
 
@William Hilo is ~3 times faster than jQuery 1.x
 
@littlepootis show me some tests then I'll believe you. Not to mention your api pages are laking.
 
if someone has javascript turned off it won't work to do a hyperlink on the row
 
what is ded's
@acoder ? Give me some example code or a picture. JS shouldn't took of hyperlinks unless you are doing something seriously wrong.
 
5:45 AM
@William Dustin Diaz
 
<a> is a fall back for what I'm doing
 
@acoder I need some code otherwise I can't really tell what you are doing. What have you tried?
 
echo"<a href='?$url' onclick='return false' onmousedown='swapContent(\"$href\", \"$url\", $div)'>$link_text</a>";
will work regardless of javascript but be slightly different
 
@acoder so that's good to have a fallback what is the problem then?
 
i can't get it to work if wrapping a <tr> in it
 
5:51 AM
@acoder Yes you have to put the link inside the table and then do display:block
 
i'm trying to do a 3 column block
just do a preset width/height?
 
@acoder You could also use alternatives to emulate a table but otherwise there is no way with one link to link an entire table
 
alternatives?
 
you could do something similar without using display:table because it does have poor browser support.
@acoder You could also use position:absolute and have the table width:100% and height:100% of table.
You have not tried much so I would say you are being a Help Vampirish
 
that works, do i need any special libraries?
or is it built into css?
 
5:58 AM
which one?
I gave 3 options
 
@acoder browser support is poor but yes you can simple add a <a href> around the tags in the example
 
how is it poor for browser support?
 
but ie8 is the first supported version
 
6:03 AM
aria just became a lot slower.. why
 
thanks mentor @William
!!magic
 
cap ded
 
how did she die? Was she banned?
@acoder there is one other that would work also. It should work to IE6maybe even 5
involves position relative and position absolute
 
would it be worth it william?
i'm intending it for androidhtml
 
@acoder here is an example it requires substantially more code. jsbin.com/nicuzumatu/2 Just stick with what you have is a good idea
 
6:09 AM
Did browsers start optimizing themselves for jQuery?
 
@William can i see the code also?
 
@littlepootis no jQuery has optimized itself for browsers?
@acoder I sent it to you.
 
They no longer use Sizzle
 
I didn't know that although not that suprised.
 
jquery hasn't been optimized for ajax for some reason
 
6:11 AM
wtf does that mean
 
Wow, clever.. now I get it. They don't operate on an array anymore if only one element is selected.
 
smart probably speeds everything up
 
Giving them an advantage over hilo in tests, which loops over even one element arrays.
 
@CapricaSix Please come back
 
that's not as good, so i think i'll div it
that way you can click on anything in the row
 
6:15 AM
fine with me IE7 isn't even listed on a lot of stats now. It's funny how much 5 years change everything. I remember haslayout on IE6.
 
@William thanks for all the help
i wonder how many people still disable javascript
 
@acoder you are lucky I am on spring break otherwise I wouldn't be helping you
I disable javascript in firefox.
 
@William i disable firefox over politics
 
@acoder do you mean you don't use it at all?
 
i boo it
 
6:17 AM
I disable js for most sites
something is very wrong
wat u do browser vendors
 
who pootis?
 
everyone betrayed me
 
@acoder a game character
@littlepootis o/
 
@Abhishrek \o
 
what happened to the French Exam ?
 
6:22 AM
would you disable it even for simple js stuff?
like ajax
 
@acoder SO is annoying to browse without JS because they have this huge header at the top. FB is basically useless with out JS and those are the only 2 sites I use really.
I sometimes use Gmail without JS
 
@Abhishrek I performed so bad
 
:-/
 
so it's good to do a fallback to good ol html like i showed earlier?
 
All I hope is that the evaluator doesn't kill himself
 
6:25 AM
helllo do you know what is the google web design pattern like flat design?
 
@littlepootis you didn't really do better or worse then jQUery
@acoder yes its a great idea actually
Google is even retarded not providing nonjs fallbacks
 
@William well, two years ago, Hilo was faster than jQuery (mind you, it's the same version (1.9.1)).
 
if that's a good idea, i'm puishing classes to the front end with procedural on the back end
 
@littlepootis John Resig seems like a pretty smart cookie not to surprised
 
@FastSnail material design
 
6:28 AM
ohh yes thanks
 
@William of course
 
and building a lightning talk called "the two classes you probably don't know about"
processed
unprocessed
 
or detect crawlers and serve them a different content
 
@littlepootis you will get banned from Google then if they catch you
 
Only if you serve something different
 
6:30 AM
well that is what you said
 
But considering the fact that they execute js
oh, wait
that's a typo
lol
 
just think: frameless frames
 
hashbangs are retarded
i absolutely hate sites that use them.
Which google does
it completely wrecks everything if you try to disable js
 
hello what are the design patterns available like flat,material ?any reference ?
 
6:43 AM
@littlepootis Cap lives on.
 
@CapricaSix :D
 
6:58 AM
uzbl's very lightweight
!!afk tf2
 
@acoder littlepootis is afk: tf2
 
!!afk sexy ;) ;)
 
crl
7:15 AM
@littlepootis Comment ça mal?
 
@crl littlepootis is afk: tf2
 
user3119231
morning
 
7:38 AM
morning baby
 
user3119231
weird
 
how much knowledge should i have when they say "experience with react,backbone,angular" ?
 
user3119231
This is totally sick, but funny: sadanduseless.com/2015/05/men-and-cats
 
Solid production experience I'm guessing.
 
user3119231
"stay calm bro I'm just getting a pic of us for facebook" cdn77.sadanduseless.com/wp-content/uploads/2015/05/worst17.jpg
 
7:49 AM
@Maurice no, get used to it
 
crl
@FastSnail say 10 years experience
 
@crl I realized too late that my vocabulary is too poor
> 10 years experience in Angular
 
crl
ô pauvre :/
@littlepootis that's the joke
 
wt? 10??
age should below the 25 and 10 year experience .wtf?
 
crl
what's wrong with starting programming at 15?
 
7:55 AM
I started at 8
 
user3119231
started at 9
 

« first day (1970 days earlier)      last day (2992 days later) »