« first day (959 days earlier)      last day (2829 days later) » 

11:01 AM
Got it party !
 
11:13 AM
jsfiddle.net/g5u7dpr8 Now I have to add some cool effects to it :D
 
aahh, what is happening
 
@MethodMan :D Whatsup?
 
:P I was moving my mouse around your fiddle and things started moving XD
 
11:32 AM
haha, I want to add some effects
 
12:02 PM
ahoi
@MethodMan Have you maybe any idea how I can move/swap the backgrounds as well?
 
12:35 PM
@Duikboot I would look for a hover event in jquery but it wouldnt be pretty :/
 
crl
mouseover?
 
12:53 PM
I fixed it almost8
jsfiddle.net/g5u7dpr8/5 I just need now move the large image to the small as well from the current hovered item
 
1:34 PM
autoomplete not working on jquery lone
clone
:(
 
Abe
can someone kill me please
System Update Readiness Tool for Windows 7
600mb
what the fuck are you even doing microsoft
 
1:50 PM
hi everyone
i am facing problem with border of <tag>
in beetween border is looking big
please suggest some fix for this
you can see console for style applied to <tr>
any solution for this problem??
 
Abe
Which will come first, visual studio or 2016? #visualstudio #microsoft #programmers #developers https://t.co/TD2Wp3GsrB
 
2:11 PM
@cimmanon y u delete valid message? :P
 
because its not what i thought it was.
 
@BoltClock Thanks! I certainly did
 
0
Q: Gulp-sass breaks when changes are made to imported file

Muhammet I am using gulp-sass to compile sass. I have main.scss and grid.scss in the same directory. main.scss is watched by gulp watch. grid.scss is imported to main.scss and compiles without errors when main.scss is saved. The problem is when I make changes to grid.scss and save gulp-sass breaks an...

 
2:28 PM
Hi All, quick one, Anyone know how to embed header fields into a url? Specifcally I'd like to turn the curl request: api.spotify.com/v1/me/tracks"; -H "Accept: application/json" -H "Authorization: Bearer <token> to one URL string. That doable or am I barking up the wrong tree? Thanks!
 
hmm whats the most efficient way to search through the dom $('body') and get the parent element of found text? I read that this is more efficient than jquery though: document.getElementsByTagName("*"); but its kinda annoying since it also selects the header tags not just body.
 
@MethodMan document.querySelectorAll("body *")
unless you want to check the body tag itself...
 
OHI.
@Abe you wanna become my english teacher?
 
@Dramorian Hi Dramorian, if there is too much space between the content and the border it may be the padding attributes you need to check. Hope that helps.
 
@ZachSaucier Well what I'm doing is making a chrome extension that searches the page for specific things and applies css to its parent div. I feel like a complete noob since it took me +-4 hours to figure out how to access the DOM of anything other than the damn popup.html
 
2:37 PM
:)
 
... cries
 
31
A: What's the best way to animate an illustration for the web?

Zach SaucierGIF For most simple animations, a GIF is a good way to go, especially when the creator is more comfortable making them compared to other methods, the animations don't require much interaction, and the animation doesn't need to have a dynamic width. GIFs can be as detailed as the illustration yo...

 
Abe
2:49 PM
@Purify what did i write wrong
 
@ZachSaucier Im digging your afro mod
 
tanx
 
crl
3:14 PM
document.body.querySelectorAll('*')
 
@Abe was a super srs question
 
Abe
:(
 
1
A: XMLHttpRequest POST response with "Location" header not accessible to javascript code in cross domain situation

user3400592Sending header "Access-Control-Expose-Headers" with value "Location" from server enables javascript client to receive "Location" header in CORS exchange.

This guy is a saint
 
Abe
@Purify
$a = 100;
$b = 200;
$a += $b;
echo $a;
 
@Abe i ask a question and people bite my face off.
 
3:24 PM
Hey :3
Just got myself enough points to join the chat.
 
Abe
@Purify in the php room the knowledge level is extremely high and therefore they don't like noob questions :B
extremely high = most of people there are the actual creators of the language
 
o_o
 
Abe
a big part of php7 was born in the actual SO php room
like 70% of new features were introduced by the room members
 
Wow :O
 
Abe
anyway welcome @GauthamSK
 
3:29 PM
Thanks Abe!
I'm new to development
I've just uploaded my first website that I've developed. But even If I google the domain in specific it only shows up at the bottom.
Any tips?
 
@feniixx they're just CSS animations and translations
but there's a ton of shitty JS scripts that load the site before those play
 
(he's a vamp Ty; just a heads up)
 
And Zach knows his shiz.... 4 real. I fell for one yesterday :(
 
@TylerH Damm, so there's no plugin to create such things?
 
@MethodMan you fell for a vamp? Aw that's so cute ♥
5
 
3:35 PM
@feniixx I'm not sure what you mean by plugin
 
@BoltClock gettin married soon <5
 
@Abe too bad it will still 100% suck
 
Abe
@TylerH also your mum 100% sucks
 
For example particles.js creates a animated background... @TylerH
 
@Abe she definitely doesn't do anything else because I don't have any younger siblings
@feniixx that's called a library, not a plug-in
 
Abe
3:37 PM
so she sucks 10000% to compensate
 
and there are some that help you but you still need to know what you're doing
 
Oh, sorry then @TylerH
 
@TylerH thats not the only way to avoid having babies :p
 
what you mean?
 
there aren't any libraries out there where you can just pick from a list like "oh I want a car to slide across the screen"
 
3:38 PM
@feniixx theyre talking about anal feniixx. Thats what they mean
 
@TylerH But there could be...
 
@cimmanon let's just say my parents are not the kind to do that for fun
@ZachSaucier well yes we could have lightsabers too but we don't
 
> for fun
wut
 
i'm sure with css you could make a car slde across the screen
 
@TylerH Ok
 
3:39 PM
Oh sorry @feniixx I thought you were asking the important questions
 
@TylerH let me rephrase: you can still put a penis in a vagina and not get pregnant
 
css is rich in beautiful editing features
 
@TylerH mausercodes.github.io/lightsaber.js there's an extension for that
 
@cimmanon orly
 
@MethodMan wtf?
 
3:40 PM
@ZachSaucier oh no, I mean real life lightsabers
not images of them
 
( ͡° ͜ʖ ͡°)
 
hmmm...
 
@cimmanon thank goodness for that or I'd have a couple hundred kids
well I guess not, since pregnancy is a ~9 month thing
 
does anyone know if you can render things in css like shapes
 
3:40 PM
@TylerH there might be a library to calculate that
 
@GettingNifty what does google say?
 
@GettingNifty that's just begging for lmgtfy
 
@GettingShwifty
 
> Being ignored by 14 users
 
i'm sure you could, but the question is if you can use css to take car.jpg and run a render loop
 
3:42 PM
@BoltClock That's an awesome stat to see
 
@GettingNifty the answer is yes
 
do u know if its okay to have 1 foreign key referenced to 2 primary keys?
 
all foreign keys have to go through customs first
 
@treblaluch a table can only have 1 primary key?
 
@TylerH then why do you need a library that does it
it already does it
html can't do that html is mark up
 
3:43 PM
@ZachSaucier Sadly I can't look up users ignoring someone, only users someone is ignoring
 
css communicates with html, as does javascript, php
 
not sure if slow or trolling
 
@GettingNifty php doesnt communicate with html >.>
 
@ZachSaucier I didn't paste the stat here for nuffin
 
...
are you sure
you're wrong
 
3:44 PM
@cimmanon i have this table asset which has foreign key asset_type_id in which i should refer to 2 tables SOFTWARE & HARDWARE am i making it correct?
 
php just works from the server
 
@GettingNifty You've had a lot of jobs, sheesh. And showing them all on your SO profile xD
 
javascript and css are embedded ont he website
 
@treblaluch not enough information to answer that.
 
i don't know that's strange
they all work from the server
.php, .js, .css files accent .html
 
3:47 PM
^ does this guy make any sense to anyone else or is everyone ignoring him? :p
 
so u cant help me >.< tnx by the way
 
you should know i'll bet you're a moderator trying to ban me
 
not sure how to tell you this, man, but programming languages don't really have accents ;)
 
yeah they do php sounds like it has down syndrome
 
@treblaluch i didnt say that, you just havent provided enough information for anyone to give you an answer
 
@ZachSaucier on_the_off_chance: splendid;
would use
 
oh you have to have web-kit installed to do animations in css3
 
@cimmanon Clearly, you people aren't
 
@cimmanon alright I'm with you about this guy
 
3:52 PM
who would like to show mr. nifty the door?
 
i'll bet you will
flashy mactacular
how much is someone paying you a day 20 bucks
 
crl
🚪
 
@cimmanon here is more details hope you can help :D
ALTER TABLE `asset`
ADD CONSTRAINT FOREIGN KEY (`asset_type_id`) REFERENCES `hardware` (`hw_id`),`software` (`sw_id);
 
@treblaluch well you have to write 2 separate foreign keys, you cant have 1 foreign key point to 2 tables
 
A foreign key cannot reference more than one primary key. You'd have to normalize hardware and software somehow
 
3:58 PM
so my logic is very wrong T-T
 
yes.
 
why can't you create a table union
 
@GettingNifty what do u mean?
 
crl
you have a compound key?
 
@treblaluch ignore him, he has no idea what he is talking about
 
4:01 PM
@treblaluch look up polymorphic associations
 
@GettingNifty the point of a library is to speed up writing code so that you save time
 
@treblaluch can you give me a tl;dr of what you are doing and what stack you are using?
As far as I can tell you're describing polymorphism
if a relationship can be from multiple tables you ll need to keep track of the id + the type(table name)
that way when you query it you can find it based off of those 2 values
 
@Kitler what is a TL;DR?
 
too long didn't read
a summary
 
computer<-installed<-asset<-hardware/software would this do?
 
4:06 PM
lol no
what language/db are you using
 
php/mySQL
 
No frameworks?
No orms?
 
codeigniter :(
 
sadness :P
propel right?
why people still use CI is beyond me, project's been on life support for ages
 
what is propel? thats what our professor told us to use
 
4:09 PM
it's an orm
 
like codeigniter?
 
no
ORM = Object-relational mapping/er
it helps you query your db
 
like notepad++?
 
no it's a library
 
@TylerH -.-
@treblaluch are you being serious?
 
4:13 PM
@Kitler why people use mysql is beyond me :p
 
like yeah never had encountered it. only using notepad++ or netbeans
 
Why people confuse orms with text editors is beyond me
 
@Kitler probably because they aren't taught about ORMs or what they are or ever use them
 
they can at least google/think before talking
 
true
 
4:14 PM
i thought you gave up on your orm :p
 
but its so easy to just associate ORM, CMS, IDE, SDK because they all kinda are described the same way
 
@TylerH I posted what orm stands for :P
@cimmanon partially, raw sql in places orm for easy querying in others
 
yeah but that doesn't necessarily mean anything :-P
 
it doesn't mean TEXT EDITOR
 
especially since your description is missing a noun
:-P
 
4:15 PM
brb need to fall on a sword
 
@Kitler you know you want to join the dark side, development free from orms ;P
 
lol sorry bout that but not much knowledge here
 
@treblaluch I only ask that you google before talking :p
 
i did and i thought its like notepad++ my first impression >.<
 
i think you guys are confusing him by introducing orms when he doesnt even know how he should be designing his tables in the first place
 
4:17 PM
> 1. nazi thor cat said ORM, I don't know what that is I ll compare it to something random.
2. nazi thor cat said ORM, let me google and ask if I don't understand
@treblaluch which one of those ^ do you think is the right course of action
@cimmanon his brofessor told him to use it
+ if he's using CI it comes with it's own built in orm
 
so CI sucks?
 
yup, but you're stuck with it
Did you look up polymorphic associations?
 
Polymorphic association is a term used in discussions of Object-Relational Mapping with respect to the problem of representing in the relational database domain, a relationship from one class to multiple classes. In statically typed languages such as Java these multiple classes are subclasses of the same superclass. In languages with duck typing, such as Ruby, this is not necessarily the case.
 
did any of that make sense to you?
CREATE TABLE assets (
    id integer NOT NULL,
    asset_id integer,
    asset_type character varying,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL
);
 
i only understand relationship from one class to multiple classes
 
4:22 PM
3 messages moved to Trash can
 
:(
 
so what should be my asset_type?
 
Your asset_type would be either "hardware" or "software"
So you can retrieve the row that the asset refers to
 
whats the pasty website again i upgraded my os
 
so its like a foreign key or just enum?
 
4:25 PM
SELECT *
FROM "hardware"
JOIN "assets" ON "assets"."asset_id" = "hardware"."id" AND "assets"."asset_type" = "hardware"
@treblaluch It's a varchar
it's just a value
 
so dont need to add constraint for asset to hardware/software?
 
@treblaluch it should be foreign keyed to an asset_types table
 
1 message moved to Trash can
@cimmanon no no
 
beat me to it
 
just be aware that mysql is shitty and you cant have unique constraints on text types (primary key, unique) over a certain length
@Kitler yesyesyes
 
4:28 PM
you're assuming asset types are stored in the db
 
and they should be
 
what's the added value?
 
asset is a table i normalized from hardware and software
asset is needed to be referred in installed table so that they will connect to computer table
 
slap an index on em
 
otherwise whats going to stop him from having an asset type of 'Hadrware'?
 
4:28 PM
shouldn't you have a table just for types
 
ah le user error
active record deals with this :P
 
I only took one semester of databases so iunno
and it was in mysql
 
asset_type would be asset_type_id in that case
 
@Kitler surrogate primary keys make baby jesus cry
 
so fa on it's name value as opposed to the id?
 
4:31 PM
unless the thing youre foreign keying to is going to change, you shouldnt use a surrogate primary key
 
How do I write the sitemap.xml?
 
With your keyboard
 
LOL
Is it necessary?
 
a keyboard? well it makes things a lot easier
2
 
=_=
 
you could theoretically use a mouse. wait until one of us says the right word, then right click on it with your mouse and hit copy :p
 
@Kit
what should i do?
 
@treblaluch go back to your prof and tell him you didn't understand a single word he said
 
Haha
How're you all?
 
hahahah
 
4:37 PM
Like seriously we ever wrote the solution for you -.-
i m off got work to finish
 
@Kitler "work" aka "goats"
 
Hi.
Guys, I'm developing a website, with Bootstrap 3.
 
it says i must specify port but i did... and i was getting a different error
 
And this is what the structure is like:
 
i havea backup
 
4:39 PM
<div id="wrapper">
    <nav></nav>
    <div id="body"></div>
    <footer></footer>
</div>
What I want to achieve is,
If the body doesn't have enough content,
I want the code to flush the footer to the bottom of the page, regardless of the footer's height.
 
@Kitler hope i can find a database therapist or something >_<
 
I haven't set a height for the footer.
 
@HassanAlthaf Google css sticky footer
 
@HassanAlthaf thats called a "sticky footer"
 
Well, I don't want it to stick there permanently.
I tried the table and the flex model method.
 
4:40 PM
when do you not want the footer at the bottom of the page
 
when enough content is there,
well
let me show you a live example
 
but by virtue of having "enough content", the footer would be at the bottom of the page by default?
 
i suck at explaining
Well,
When the body doesn'th ave enough content to keep the footer at the bottom
I want it to stay at the bottom
 
thats still called a sticky footer
 
if the body's content manages to completely cover the page
 
4:42 PM
css bottom align to body?
 
float bottom i think
 
then
push it down
 
3 mins ago, by TylerH
@HassanAlthaf Google css sticky footer
41 secs ago, by cimmanon
thats still called a sticky footer
 
yeah thtas what i mean
 
4:43 PM
BTW it's called a sticky footer
 
18
Q: How can a variable-height sticky footer be defined in pure CSS?

Alan H.The key to note here is the height of the footer is not going to be fixed, but will vary with its content. When I say “sticky footer,” I use it in what I understand to be the common definition of “a footer that is never higher than the bottom of the viewport, but if there is enough content, it w...

That is what I tried.
Didn't work.
Table method worked, but messed my entire content up.
 
You tried the accepted answer?
 
have you tried not using bootstrap?
 
because the accepted answer does what you want; puts the footer at the bottom, and if the body is big, it pushes the footer down
 
1
Q: jQuery autocomplete not working on clone

MahadevanCurrently working on jQuery autocomplete & clone. In the beginning before clicking the add more button, the original field is working fine, but when I click the add more button that is clone the row that time auto complete not functioning. Here is this my HTML code <div class="cloned-row1"> <...

 
4:45 PM
I think all the room regulars have probably answered a sticky footer question on main
@Feeds lol
 
@Mahadevan Without looking at your actual code. Do you know how event binding works?
 
@HassanAlthaf try float: bottom; or position:relative; in CSS
 
yes bit i know
 
Because it looks like you are trying to bind to elements which are not in the DOM yet from your intro
 
oh ok
 
4:48 PM
@Kitler your application shouldnt be enforcing the rules for your database, the database should be doing that. what happens when someone does an insert/update to the database directly?
@treblaluch there is no "float: bottom"
 
@cimmanon they don't because you restricted access to that X-D
 
@treblaluch For which element? I already have relative position for the footer.
 
vamp warning @PeeHaa
 
tnx @ZachSaucier
@Mahadevan Also not sure why you link that
 
4:51 PM
 
I just gave you something to look into
Go research and make us proud
 
sure
 
I should write a userscript to give a warning anytime someone directs a message towards someone on my vamp list
 
@treblaluch uh huh, there is no "float: bottom"
 
Uh oh!
 
4:53 PM
@cimmanon sorry >_< assumed there is
 
@ZachSaucier why do you want to be warned when someone is talking to someone you're ignoring?
 
not me warned, warn them
 
oh
that's spam and I would kick you for it TBH
 
@treblaluch Ty, but I believe that is for fixed to bottom footers?
 
user image
5
 
4:55 PM
@TylerH lol
 
@cimmanon can i ask you for advice for my database?
in private message
 
@treblaluch sure, we can start a private room
 
"private"
 
Ugh, my code all of a sudden is now intermittently selecting this whole text field
 

« first day (959 days earlier)      last day (2829 days later) »