« first day (509 days earlier)      last day (3279 days later) » 
00:00 - 23:0023:00 - 00:00

12:08 AM
Hello everyone.
 
@crypticツ power with @ :D
 
12:43 AM
man, @WesleyCrushed, this guy really like you
 
 
4 hours later…
4:26 AM
morns! o/
 
 
1 hour later…
 
1 hour later…
7:07 AM
posted on September 21, 2014

New Cyanide and Happiness Comic.

 
7:41 AM
@crypticツ I still haven't received invitations to send.
 
 
1 hour later…
8:56 AM
 
 
2 hours later…
11:08 AM
 
so deep
 
11:45 AM
I have the feeling this room is much quieter in the weekends
 
it is, it ought to be
 
12:09 PM
All rooms are quieter on weekends
 
1:02 PM
specially on a rare sunny weekend like today
going to ride in cabrio
 
1:14 PM
this is especially fascinating
3
 
it is indeed
what would cause a font to be used more in certain browsers than other fonts?
 
this article cracked me up
> What else explains stupid moves like buying Minecraft and supporting the cloud fad? It's about self-confidence—Microsoft has none.
 
1:39 PM
fa-font request
Icon Request: fa-service
Context : Service catalog in IT company (Mail service, Network service, print service ,Hardware service, software service, ... so on)
?? any idea ?
i need a fa-font like this : encrypted-tbn3.gstatic.com/…
 
2:29 PM
@crypticツ damn, what is that? I need to check...
@CSᵠ done
 
user652649
2:52 PM
@Mr.Alien don't listen to her, she must have DDOS your site xD
 
3:08 PM
@SomeGuy so depressing haha, and did he meant sensational at one point? cuz he pronounced that as senational
:p
ohhh more bad, its sentiol
release anything today and it gets famous....
@WesleyCrushed I have no idea how she managed to get the root
 
user652649
root?
 
path
 
user652649
i think it happened because of too many requests
 
user652649
anyway with cache problem would happen anyway, but handled gracefully
 
user652649
aoe3?
 
user652649
3:17 PM
before it gets too late for you?
 
I am not handling my server these days as am hardly using it and yes, give me 10 mins, refactoring class
 
@Mr.Alien ossm!
 
user652649
what's the repo url anyway?
 
3:34 PM
 
user652649
    goto endInterval;
 
user652649
why this?
 
user652649
i'm probably not seeing its scope
 
user652649
but... shouldn't be enough putting
$rangeDetailed=' ( '.$start->format($format).' — '.$end->format($format).' )';

inside the elseif{} ?
 
wow this sucks
<?php echo $engine->var; echo $engine->var = 3; echo $engine->var;?>
 
3:38 PM
@WesleyCrushed haesn't have much sense now, it was supposed to cover more date formats.. ehh
 
and the new value gets altered to 3
I was expecting to get 1
 
@Mr.Alien wtf code
 
so how is this better then procedural
@CSᵠ just testing ;)
 
user652649
what @Mr.Alien ?
 
why does it alters the property value?
I thought that var and methods scope is limited to the class
so I think I need to use private
so that the property is not accessed
 
user652649
3:40 PM
lol
 
$engine->var = 3 is assignment
 
user652649
you are a bit confused
 
that would ouput first what is in engine var, then true (actually nothing output), then 3
 
@CSᵠ yes but I thought it wont update the value but it did
then its the private what I should use so that it cannot be altered
 
var is public in $engine class
that's why
@Mr.Alien exactly
 
3:41 PM
@wesabi
 
@Feeds funk you
 
1 message moved to Trash can
 
hehe
 
user652649
if you make it private not only you can't write it
 
user652649
but youd get an error too
 
3:42 PM
I'll delete that code block of mine as well
@WesleyCrushed yes I know that I cannot access a private property
I know that
now we can play
 
getter and setter for that
 
@CSᵠ thanks you too and ummm yea I want to use getter and setter but right now I dont need them as of now
@WesleyCrushed lets start
 
user652649
@CSᵠ anyway i may be the only in the world that likes how you write code
 
am free, let me know when you are free
 
user652649
that compactness is kind of beauty to me
 
user652649
3:43 PM
:D
 
@WesleyCrushed Tears in my eyes
 
@WesleyCrushed lol what? why?
btw, it's only a type of code i write
@Mr.Alien what?
 
user652649
i mean without unnecessary brackets, or wasted lines, like:

if()
{
echo a
}
else
{
echo b
}
 
user652649
i hate that :D
 
27 mins ago, by Wesley Crushed
aoe3?
 
user652649
3:45 PM
@Mr.Alien ok
 
user652649
sorry
 
user652649
we have a job here
 
user652649
and it's not php
 
user652649
it's conquesting new worlds
 
whom he is talking to
 
3:45 PM
@WesleyCrushed that fucking sux, and is against psr-1&2
 
I would rather use echo (whatever) ? blah : blah2;
 
user652649
@CSᵠ many would say that's the best option
 
user652649
because of versioning systems
 
user652649
for example if you add a line:
 
@WesleyCrushed had an argument with a coworker about that...
 
user652649
3:47 PM
if()
{
echo a
echo b
}
 
user652649
you would have only that line modified
 
methods are the only ones allowed like that and kinda looks nice for them
 
throw stones at each other now
 
for anything else { needs to be on the end of the line
@Mr.Alien NO
throw Exceptions
:))))))
i also try to align with having code blocks for control structures but it's too fuking hard and seems pointless/useless
 
I prefer:

if
(x === 3) {
doFunction
(argument);
}
ugh stop messing with my whitespace
 
user652649
3:50 PM
i use all of them
 
however for very simple tasks i even while (foo) stuff(); no code block
 
user652649
as long it helps improving readability
 
user652649
@CSᵠ i also do:
while(foo){ foo(); bar(); }
 
user652649
if foo() bar() is very short
 
user652649
@Mr.Alien i'm waiting for you
 
user652649
3:51 PM
on es
 
@WesleyCrushed i kinda got that's not very nice and don't do it anymore, xcept when codegolfin`
 
user652649
idgaf
 
user652649
honestly
 
user652649
:D
 
NVM
btw, the primo guy there just stole my answer...
 
user652649
3:54 PM
but he made it shorter!
 
user652649
:D
 
user652649
@Mr.Alien biatch
 
@WesleyCrushed wait, pizzas , 5 mins
 
user652649
@Mr.Alien no problema
 
user652649
now he's probably eating 2kg of pizza in 5mins because he can't wait to play age of empires
 
4:11 PM
super burp, lets start :p
 
user652649
ahahaha
 
user652649
i knew it
 
user652649
@Mr.Alien password for the aoe3 game is "alien"
 
why pwd?
 
user652649
because people keep joining in
 
@WesleyCrushed always spilling my secrets! Yeah, the chat transcript has a 3-5 sec throttle, so quickly pressing the refresh button on the stats page will cause it to hit throttle and then fail to fetch page, and everything else falls apart. /cc @Mr.Alien
 
user652649
@crypticツ you haxxor
 
1337!
 
user652649
:D had to search the meaning
 
user652649
31337
 
7:09 PM
*facepalm*
 
user652649
i'm not in the 1337
 
all your base are belong to us?
 
user652649
never heard of it either
 
user652649
why was my if() starred
 
lol @WesleyCrushed doesn't know 1337
I was like 8 years old when I already knew
 
user652649
7:13 PM
@Asko good for you
 
user652649
you are my master
 
user652649
teach me
 
user652649
please
 
while(1) { shell_exec('shutdown'); }
 
user652649
i'm an haxxor now??????????????????????!!!!!!!!!!!!!!!1
 
7:14 PM
yes
 
user652649
guys i need help for creating a php orm. seriously, you can save me from depression. i'll be forever grateful for that @crypticツ @CSᵠ
 
Just use Idiorm and be happy.
it's my goto ORM
 
user652649
i tried doctrine which i think is the best available
 
user652649
still doesn't fit my needs
 
user652649
(or my taste)
 
7:20 PM
and what of Idiorm?
lol @ your taste
 
what's an ORM?
 
seriously?
@crypticツ do you even make websites, like, at all?
 
user652649
that code mixes a dbal and a orm together => it can't be good code
 
@Asko I like legos
 
user652649
@Asko will you ever stop being a monumental asshole
 
7:22 PM
sigh, I bet you do.
@WesleyCrushed umm, let me see, no?
 
user652649
also, @crypticツ is in the 1337
 
It's ok I have no soul. I can't have hurt feelings.
 
user652649
i couldn't resist
 
user652649
i kicked him
 
user652649
ahahahhahahaah
 
7:25 PM
Does anyone have experience with creating html pages dynamically?
 
I have a quick qestion, but it's not worth posting
 
user652649
@crypticツ dbal = pdo, ORMs are tools for mapping results of queries into objects
 
lol
 
user652649
but they include also tools like query builder and things
 
7:26 PM
I still think Idiorm is a fine machinery tho'
 
user652649
what i want to do is creating a query builder
 
Good luck.
How's that for a constructive answer!
 
user652649
not bad
 
user652649
better than idk "lol you fool"
 
user652649
my idea is this, describe db tables and their relationships, like so:
$c = new Table("customers");
$a = new Table("customer_addresses");
$c->defineRelationship($a, "customer_addresses.customerID = customers.ID");
 
user652649
7:31 PM
that's a join
 
user652649
then a second set of classes should take that "db description" and allow to describe what parameters are available for query
 
guys
seriously
 
user652649
and a third set of classes should allow executing the actual query, using the said parameters
 
user652649
this shit should just generate the sql string, not working directly with pdo
 
user652649
easy peasy
 
user652649
7:34 PM
^ LOL
 
@Vladimir read room description
 
Ah, ok
So I should just ask
When I create an html element with this code:
$div = jQuery('<div/>', {
class: 'panel',
text: "Hello "
});
I see the div is created on page, but when I see page source I don't actually see
<div class="panel">Hello</div>, but only the code above. Why is that?
 
user652649
you need to add it to document first
 
Yes, I forgot to mention that I do that also $div.appendTo('#box'+id);
You meant this, right?
 
user652649
i don't know
 
user652649
7:47 PM
i don't use jquery
 
@Vladimir because the div was dynamically created client-side, the HTML you see in the view-source is what the server sent.
You can view-source as the page has generated
 
user652649
unless you watch the source with devtools
 
@crypticツ @WesleyCrushed When I use devtools I see <div class="panel">Hello</div>, but when I use "View page source" I only see this:
<script>
$div = jQuery('<div/>', {
class: 'panel',
text: "Hello "
});
$div.appendTo('#box'+id);
</script>
 
user652649
so what?
 
When check out reddit for example, I only see something like <div class="panel">Hello</div>, not how it was created
@WesleyCrushed Well, I doubt if I'm doing this correctly?
 
7:54 PM
What's the question
 
Is this the proper way for dynamically creating html elements
 
yes
It is a proper way
depending on what you want to achieve
 
@StephanMuller I have a database where different posts are stored, and I want to display them
 
I don't see a problem with it like this
 
*I want to read all of them and display them, and also I want every post to have its own page where I can later load comments
Ok, I am glad this is fine, it's a relief
but now I want to know how it is done the other way?
Any idea?
 
8:05 PM
If this works for you stick with it, it's fine
 
@WesleyCrushed so... ORM?
what do you need help with
 
user652649
any help
 
user652649
designing, mostly
 
didn't know exactly that i was doing that, but i created recently a lot of query builders for a company...
 
@StephanMuller Ok
 
8:09 PM
which used MongoDB
loved working with mongo, has PCRE and JS builtin engine
so
what do you have @Wes
 
user652649
@CSᵠ really? :D
 
user652649
well basically i want to represent a database with objects
 
user652649
and put them together (OUTER|INNER JOIN)
 
user652649
then there should be a way to define table columns that can be used for queries
 
user652649
like $table->createFulltextSearch("somefield")
 
8:12 PM
yeah, ORM, shmORM, term for other ppl
 
user652649
so that in a later moment that can be used in an actual query
 
what db you use?
can you pick that?
 
user652649
mysql
 
NOOOOOOOOOOO
ok, never want to speak with you
 
user652649
eat a dick
 
8:13 PM
..unless... yuu have nothing to do
with picking that
 
user652649
i don't think mongodb can handle my 50gb dbs i have
 
user652649
50gb without indexes
 
@WesleyCrushed it can without a hiccup, but you have to have the hardware for it
and it can have multiple servers
anyway, not necessarely the best pick
depends on the type of data you have
and what you usually do with it
(not what you want to do with it)
Posgres would be my recommendation , latest version
@WesleyCrushed so.. why mysql
 
user652649
yeah but it doesn't matter the dbms
 
8:16 PM
it doesn't handle 50gb that well
 
user652649
i'm talking of plain sql
 
@WesleyCrushed what? why?
 
user652649
i just want to generate sql, doesn't matter if they are going to be used on mysql or postgres
 
ok
moving on
 
user652649
also
 
user652649
8:17 PM
i know postgre is cool
 
user652649
but i'm stuck on mysql for some reason
 
user652649
afraid to change
 
user652649
it's lot of data
 
btw, you aware of Laravel's ORM type sql model?
 
user652649
yes
 
user652649
8:19 PM
it sucks :P
 
user652649
also, it's too integrated with domain layer
 
user652649
i want to keep them separated
 
user652649
mapping and domain
 
user652649
doctrine is closer to what i want to do
 
user652649
but i have the feeling it can be designed better
 
8:21 PM
ok..
 
user652649
but i tend to not get inspired to anything that already exists
 
user652649
and just do what i think it's better / logic
 
user652649
if you are interested giving me some help and i hope you are i'll give you more details about it
 
user652649
brb 20'-30' want to buy something with unhealthy grease in it to eat
 
user652649
and beer ofc
 
hah thanks :P
I didn't think I would get much love for that in the chats honestly
 
you won't, but I downvote people all day, hahaa
 
in the JS room I did :P
well rlemon and benji want the notice
which Im not opposed to a notice really, just targeting jquery isn't the right way imo
So what if i choose knockout or angular instead, and those are not tagged in question? what if i link to an external library that is not tagged in question..? In my opinion if we're going to implement something then it should be general. Don'target... — T J 9 hours ago
his comment summarizes my thoughts on it really
 
@easwee is that SomeGuy?
;)
 
8:48 PM
hah :D
 
Everyone, I have a jquery ajax question if anyone is interested to answer.

http://stackoverflow.com/questions/25963654/jquery-ajax-keeps-multiplying-the-profile-layout-after-entering-a-comment

thanks :)
 
@JamesSmith generally speaking try to let a little more time pass before posting questions in chat. That way we don't have to waste our time answering if someone on Q&A already is
 
user652649
back
 
user652649
@crypticツ i got two crispy mcbacons
 
user652649
and they are gone
 
9:02 PM
@WesleyCrushed that sounds awesome
 
user652649
for a lot of time mcdonalds stopped making crispy mcbacons :( so stupid since it's the only actual good meal at mcdonald's
 
user652649
but now there's a special edition (found out now)
 
I don't know about that. I quite enjoy fast food (I'm a fatty at heart)
 
user652649
it's called "gran crispy mcbacon"
 
user652649
but looks about the same size of the old one to me
 
user652649
9:07 PM
once i was so hungry that i faked to have guests at home. i bought 10 crispy mcbacons. i had to buy 10 cokes too, for not creating suspicion
4
 
user652649
it was time to confess that to someone
 
user652649
please don't laugh of me
 
i'm not gonna lie, its extremely hard not to laugh at that
 
user652649
ahah
 
its a great idea though, totally gonna use that one day
 
9:15 PM
!!learn fattie <>http://chat.stackoverflow.com/transcript/message/19016655#19016655
 
@rlemon Command fattie learned
 
!!fattie
 
user652649
ahah
 
7 mins ago, by Wesley Crushed
once i was so hungry that i faked to have guests at home. i bought 10 crispy mcbacons. i had to buy 10 cokes too, for not creating suspicion
 
@WesleyCrushed robo?
ten minutes?
 
user652649
9:17 PM
@easwee robo?
 
user652649
ok
 
@WesleyCrushed make platoon
i'm ingame
 
user652649
@easwee @rlemon t4 right
 
w/e you want
 
@WesleyCrushed did you eat all of them that day?
 
user652649
9:20 PM
@ZachSaucier i could have ate 20 of them actually
 
lol
drink all the drinks?
 
user652649
no, those were drank in several days
 
user652649
@ZachSaucier ahahah
 
> His dad would be proud. Oh wait.
 
10:10 PM
continue as guest
vs
continue as a guest
vs
continue without signing in
thoughts?
 
10:20 PM
as a guest
 
Anybody implemented google custom search pagination before via their api?
I'v got things setup, titles are displaying and the numbered links are showing, but I'm not sure how to build the url the paginated links should link to.
I mean is it something a long the lines of /search/?q&q=facebook&s=2
 
thanks stephan
 
10:38 PM
Hey guys
 
user652649
 
user652649
it's such a pleasure watching this video
 
that's like the third time it was posted here :P
 
why is the not selector messing things up?
 
user652649
10:50 PM
 
MLM
@SethTaddiken Your example works fine for me. What do you mean by "messed up"?
 
5th now
 
I want to have the parent list items in the navbar to use the navUnover animation to make things smoother but not the sub items
the navUnhover animation isn't working becuase of the not selectors @StephanMuller
Hover over the "Ignis" item to see the drop down
I can make a clearer example if needed
 
Well first of all, you're using the same id multiple times
bad idea
also, I haven't seen a:link in ages, what did that do again?
 
00:00 - 23:0023:00 - 00:00

« first day (509 days earlier)      last day (3279 days later) »