« first day (452 days earlier)      last day (3336 days later) » 

m59
12:33 AM
@ObiWanWesabi when I grab something like a blog post from the database, would it be typical to go ahead and get the author's info (at least the immediately relevant stuff?
As opposed to making a a different ajax request for user info?
 
m59
12:49 AM
Not sure why I tagged you, Wes. My bad :) I guess I can't write mysql without thinking of Wes, lol.
 
m59
1:34 AM
WesSQL
 
A couple days old, but arstechnica.com/security/2014/07/… WordPress vulnerability
 
 
2 hours later…
3:56 AM
morning @all
 
 
1 hour later…
user652649
5:20 AM
the less queries you do, the better gets performance. so if you use join JOIN authors ON rows.authorID = authors.ID will be better @m59
 
m59
6:03 AM
@ObiWanWesabi yeah, I debated it out with my wife and determined that one ajax call with one query is probably the thing to do.
thanks for the affirmation :)
 
 
1 hour later…
7:07 AM
any JS guys here?
 
I'm on mobile
So kind of here
 
ummm, can you see this?
$("#id1").find("p").not("div").each(function() {
   console.log($(this).get(0)); //Object
});
does return all the tags in console.log
but when I alert it shows
object html paragraph element
so what does that mean?
 
Why would you alert anything?
 
just to show OP who doesn't understand console.log
 
posted on July 26, 2014

New Cyanide and Happiness Comic.

 
7:09 AM
Well, alert runs to string() on everything
toString()*
 
ohh let me try
or am doing something foolish
 
@Mr.Alien bro can ajax post be used in an external js file?
 
Erm, what I'm telling you is that alert already runs to string() on everything
 
@Vicky why not?
 
Not that that's what you have to do
 
7:13 AM
and if it can be used can it be used to post dynamically generated values?
 
:| I suck haha, leave it as is
 
The toString() is why it doesn't show the actual element
 
@Vicky using php?
 
nope am using xhtml and primefaces components
<tbody>
<ui:repeat value="#{recCourses.selcourse}" var="sel">
<tr id="tr#{recCourses.selcourse.indexOf(sel)+1}">
<td class="left">#{sel.cname}</td>
<td>#{sel.ccode}</td>
<td> <input type="button" value="Schedule" id="button1" class="sch" name="Schedule" disabled='disabled' /></td>
<td><input type="button" value="Schedule" id="button2" class="sch1" name="schedule" /> </td>
<td> #{sel.status}</td>
<td>#{sel.score}</td>
<td><input type="submit" value="Remove Courses" id="r#{recCourses.selcourse.indexOf(sel)+1}" class="rem" name="remove " /> </td>
 
umm no idea, if its php, we pass the content type in header
 
7:14 AM
hmmm
everything happens am able to get the value to be posted in a variable
and when i alert the variable it shows the value
but my ajax post alone doesnt work
:\
will show u my ajax post
$( document ).on( 'click', '.rem', function () {
var id=this.id;
var r="t"+this.id;
var rid="#t"+this.id;
var val1=$(this).closest("tr").find('td:eq(0)').text();
var val2=$(this).closest("tr").find('td:eq(1)').text();
var code=0;
alert(val2);
$.ajax({
url: "addcourse",
type: "POST",
data: { "code": code, "value": val2},
success: function(data) {
console.log(data);
}
});

$(this).closest("tr").hide();
$('.flat1 tr:last').before("<tr class='"+r+"'><td class='left'>"+val1+"</td><td>"+val2+"</td><td><input type='submit' value='click here' id='" +id+ "' class='ch' name='remove '/> </td></tr>");
 
I have no idea with primefaces and all stuff, I've shared one simple example for php here stackoverflow.com/questions/5004233/…
 
@Mr.Alien yes bro i ave searched through all the questions in SO
and examples on the net
is my aax post correct?
i have posted my code above
addcourse is my spring servlet
 
I said I've no idea about these primefaces spring and all stuff :)
you can ask in JS room
see if they can help you
@SomeGuy finally he got the console.log and I get a tick
 
@Mr.Alien thanks for the help bro will try in a js room xD
 
cool :)
 
7:21 AM
@Mr.Alien too many flight crashes recently is that the work of your alien friends?
:P
 
nah, we don't kill people, hence we are learning human religion on this site
 
 
user652649
@m59 with your wife? xD
 
I love when I insult jquery answers providing CSS solutions
@ObiWanWesabi o/
 
user652649
morning!
 
7:34 AM
morning bro
 
user652649
@Mr.Alien seen this? github.com/WesNetmo/neon-css
 
whats that?
 
woooo, released a framework?
let me see that
 
user652649
framework for creating web apps / backends, dashboards of any kind
 
user652649
7:35 AM
i didn't actually released yet
 
user652649
but working on it :D
 
so its like, select the option and create things on the site?
 
user652649
it's pretty much done, need to put all the things together
 
great ya
 
user652649
no, it's "a theme" for making web apps
 
user652649
7:36 AM
do you know xaml?
 
user652649
like that :D
 
user652649
or xul
 
user652649
but html5 and using only modern technologies
 
nah, if I learnt xul, I'll start creating plugins for fox as I did for chrome :P
I started chrome plugins cuz they were using js
 
user652649
also xul uses js :P
 
user652649
7:37 AM
it uses more js than chrome's plugins xD
 
but I need to learn, will give a shot when I get free time
 
looks like vb
 
user652649
theme is customizable
 
user652649
7:39 AM
this is just a basic theme
 
hmm
 
user652649
and i will make plenty of them :D
 
user652649
also, totally responsive
 
:D I'm not getting time to release my blog
 
user652649
works on my android's chrome like a charm
 
7:41 AM
I can't think to work on these things unless I am sure that I'll get free time
@ObiWanWesabi nice :D
oh yes, 338 more to go for 60k
 
user652649
lol, whore :D
 
I provide quality
:D
will be right back, its 1pm and I haven't brushed my teeth yet :P
 
user652649
:P
 
m59
@ObiWanWesabi yeah, she lets me blabber on in great detail. I learn from conversation, so talking about stuff helps me work it all out in my head.
 
played sc2 yest, around 7 games, lost all under 10 mins
 
m59
7:49 AM
night bros!
 
@m59 night
 
user652649
@m59 :D
 
user652649
anyway it's not that obvious
 
user652649
if data is a lot, you also have the other option
 
user652649
there is no best solution, you should get your code ready for all possible solution
 
user652649
7:52 AM
and then check which works better
 
user652649
like if you have Article and User (author) entities
 
user652649
you should have three datamappers
ArticleMapper, UserMapper, ArticleAuthorMapper
 
user652649
so you can select entities singularly, or with a join, using the third option
 
user652649
gn anyway, see ya
 
user652649
8:14 AM
@Mr.Alien i'd finish it one week only if i had the time
 
user652649
it seem that i'm playing but it's actual work that already existed since long time
 
user652649
and that only now i'm putting together in something reusable and standard
 
user652649
so far i made many prototypes, at least 4
 
user652649
never had enough time to finalize it :(
 
I start many projects, and than scrap when am about to complete
 
user652649
8:17 AM
the first i made ran in xulrunner :D
 
user652649
so, long, long time ago
 
user652649
i was part of a team that was supposed to create a web operating system
 
user652649
it didn't go well :D
 
user652649
but we were so cool
 
user652649
i guess i have some screenshots somewhere
 
8:19 AM
I have many projects which are left in the middle
 
user652649
my projects include various frameworks that i put together in many years
 
user652649
my best work is my js dom framework
 
user652649
basically a jquery with dom standard syntax
 
user652649
i use it all the time but i should complete many things
 
user652649
the day i will do it, old browsers would be dead already xD
 
user652649
9:03 AM
talking of which
 
user652649
POLL: in your opinion, how many years it will take to get rid of those browsers that aren't updated automatically? including old MSIEs, smartphone browsers, etc?
 
9:31 AM
Hi, is anyone online?
I need some design review. :)
 
10:06 AM
Guys, how to create a DIV which is as long as the page, and it expands if the div has content more than the page size?
@ObiWanWesabi until all the computers which have old browsers get corrupt, they will use the same old thing. Perhaps, 10 years?: )
 
user652649
10:20 AM
10 years, dear god
 
user652649
i want to believe it will take few :(
 
user652649
@HassanAlthaf html{height:100%;} body{min-height:100%;} body > .yourdiv { min-height:100%;}
 
10:59 AM
@ObiWanWesabi no luck.
 
11:26 AM
@ObiWanWesabi Around 5 years in my opinion.
But the question is where
In many parts in South America, they aren't even using smartphones yet.
 
11:53 AM
Hi.
 
12:08 PM
 
user652649
@SecondRikudo ha! @patsyissa ^
 
ASR
12:28 PM
what is the meaning of ul li a
ul>li>a
 
12:47 PM
@ASR a directly inside li directly inside ul
 
1:18 PM
hi
 
posted on July 26, 2014

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-3727700-1"); pageTracker._trackPageview(); } catch(err) {}

 
user652649
sup!
 
nothing much. Wedding today but there is surprisingly little going on this morning
 
user652649
i'm surprised that there is still people that get married :D
 
why do you say that?
 
user652649
religiously talking
 
user652649
1:49 PM
:D
 
!!play games or code
 
code
 
!!are you alive?
 
user652649
boobs
 
:(
sonofa
 
1:51 PM
@ObiWanWesabi let me know if you want to talk about it off site then
 
user652649
no no thanks :D i respect everybody's opinion tho. was just saying that in these screwed days i'm surprised that there's people that believes it's important to get time for that
 
user652649
i'm thinking to buy age of empires 2
 
@ObiWanWesabi are you only able to code in HTML/CSS?
 
user652649
but playing it alone would make me sad... i don't think my mates still want to play it :(
 
any one aware of LATEX? Want to write a^m^2
?
 
1:58 PM
This is only for HTML, CSS and Web Design Mahesha.
 
sorry didnt get chat room for LaTeX, ans since many times in chat rooms (mostly C#, ASP.NET and JS) people talk free about anything (well this chat room might be an exception), I used to ask many thing
sorry anyways
but still if u know please reply
 
@HassanAlthaf and here u go my friend its stackoverflow, global community lives here, never say no, just rock on,

http://chat.stackoverflow.com/transcript/message/17929977#17929977

love these chat rooms so much :)
 
@Mahesha999 zirak already told you
 
@rlemon yeah I know...
 
Yo room 29074
 
user652649
yo
 
user652649
for a very little amount of time i thought this would have worked
 
user652649
::-webkit-scrollbar-button:start:increment::before{}
 
user652649
lol
 
2:25 PM
All I do is close, close, close no matter what
 
@ZachSaucier Don't forget about the precious downvotes! :)
 
ASR
ul li a=ul>li>a is this right?
 
"precious", hah. I probably lose 20 rep a month to downvoting bad answers
 
user652649
ul li a (all <a> descendants that are descendant of a <li> that is descendant of <ul>)
ul>li>a (only <a> that are children of a <li> that is child of <ul>)
 
user652649
the difference is "descendant" and "child"
 
3:08 PM
@ZachSaucier this month i've lost 12 to downvoting and 150 to bounties
 
user652649
 
user652649
does it look modern now? xD
 
not bad, not bad :P
 
user652649
\m/
 
4:10 PM
wake up
 
no
 
@ZachSaucier title is funny
@PeeHaa lazy pigs
 
@Mr.Alien yes. Yes I am
 
yes, yes I know that
 
4:16 PM
:P
 
user652649
5:01 PM
@Mr.Alien yessir, sir
 
user652649
 
@ObiWanWesabi Where's the CSS?
 
user652649
not ready yet :D
 
lol
93 commits, no CSS
 
user652649
yeah i used the online editor
 
user652649
5:14 PM
especially for the preview of the .md files
 
user652649
and of course because installing git is antilazy™
 
5:33 PM
Hey @ObiWanWesabi and others: I am working on something that will be embedded on other websites (no iframe if possible). When embedding I will also provide my own css to the embedded elements. Would it make sense to reset all styles on my embedded elements in some way?
 
user652649
if you don't like the iframe solution then it must be a server sided solution, right?
 
user652649
not <script src="......"></script>
 
user652649
because if it's <script> it would be terrible imho
 
user652649
i'd use both an iframe and php api
 
I want to do a <script> which loads this on sites
@ObiWanWesabi Why is script terrible?
 
user652649
5:37 PM
are you talking of embeddable comments, like disqus right?
 
yes
 
user652649
because writing in the page directly causes the problem you want to solve :P
 
user652649
it's not useful to anyone doing that way
 
user652649
including seo
 
ok another question. Is there any way where safari is allowed to set cookies on 3rd party iframes?
 
user652649
5:39 PM
you need an iframe and a small host script that allows the embedded page to run things in the main page
 
user652649
via window.postMessage for example
 
user652649
idk about safari
 
hmmmm actually elem.postMessage may actually work (if it allows sending both ways)
 
user652649
i'd do that way, provide a <script src="..."> that document.write (or smt) an iframe
 
user652649
and set a listener that handles communication between host and guest
 
user652649
5:43 PM
basically the same of what you want to do, but without the css annoyances :P
 
tnx will dick around
 
user652649
feel free to bug me for seo if you are interested
 
user652649
i think many people don't like disqus or facebook especially for the poor seo
 
@ObiWanWesabi I will most likely will bug you just for that
:)
 
user652649
:D
 
user652649
5:47 PM
and for other things i can be helpful for xD
 
"Good guy Wes ™"
I want you people in here to have a look at the entire thing either way before opening up for beta at some point
 
user652649
i'm waiting for it! :D
 
:-)
 
@PeeHaa pin it when you post
 
Good point @PatsyIssa
 
user652649
5:50 PM
anyway, how about php api?
 
It's on the list :)
 
user652649
:D
 
any of you toyed around with ember?
 
Nope I suck at JS
 
^^ thank god someones with me
 
5:58 PM
:P
 
scope still confuses me
 
x.x
@Mr.Alien any new projects recently ?
 
@PatsyIssa only premiums for now, let some money role in, than back to open source ;)
 
cool
 
6:13 PM
what about you?
 
learning ember
 
for learning or you got a project so force learning?
 
both
new work uses ember with a rails back end
and i have a freelance project, a one page app
so might as well do it with ember
 
hmmm, so you have to study rails too
 
yup
Looking forward to it tbh
 
6:24 PM
good, I am not peeping into new things
 
I have to prepare a list of ideas for an app
 
whats the concept?
 
I won't be working on client code before finishing my concept
Have yet to come up with one :P
 
posted on July 26, 2014 by Chris Coyier

Dave Rupert does an in-depth analysis of his own responsive site to figure out where he's at, identify places to improve, and evaluate the idea going around that responsive design is at fault for bloated websites. Says Dave: Expect RWD to add ~10% Direct Link to Article — Permalink… RWD Bloat is a post from CSS-Tricks

 
yea but whats the topic?
 
6:25 PM
anything
 
lol
 
the last developer to join them made a course scheduler
It's being widely used over here
 
ohh I see, even I wanna make task manager, a lil utility but only if I have free time
@SomeGuy can you create offline apps with phonegap?
 
 
1 hour later…
7:47 PM
hello
 
hola
 
8:06 PM
@Mr.Alien Of course
 
thanks, I knew, but Mr_green wanted to confirm :)
 
8:55 PM
hello was wondering if anyone could help me with a minor CSS issue im having
 
has a:visited been discontinued?
 
nope
 
duh typo
@mr.alien sorry for wasting your time
 
is that in lvha order?
 
 
3 hours later…
11:35 PM
Is there any advantage to running a site on a local server instead of simply opening the html files in a browser?
 

« first day (452 days earlier)      last day (3336 days later) »