« first day (908 days earlier)      last day (4047 days later) » 

10:00 PM
Hex is never shorter for integers
 
@Nexxpresso I didn't say he should be handholding you through the entire assignment but some pointers where to start would be appropriate.
 
@CherryDT Ah, you're injecting code, we do that too (and yeah it's hell ^_^) In that case you have to steal the focus if you want it back reliably across multiple websites
@CherryDT You can just do preventDefault though if it's for your specific checkbox and not the rest of the page
wait, that's not it
@CherryDT I meant stopPropagation
It should stop all the events that relate to the click from triggering after calling it in your more specific event handler
@CherryDT In IE if you support it that's e.cancelBubble = true ; instead
 
@BenjaminGruenbaum: Ah yes, I forgot about that, thanks... but the lack of IE8 support might become a problem. But for the other browsers it seems like a less ugly solution then checking for the URL.
@BenjaminGruenbaum: Oh.
@BenjaminGruenbaum: Oh great, cancelBubble works for IE8. Thanks a lot!
 
(where e is your event object)
You're welcome :)
 
user2157210
@OctavianDamiean hmm
 
10:04 PM
I am uploading to dropbox, the internet here is horrible though so its taking a while......
 
!!> 1000000000000000000000000000000000000000000000000..toString(16)
 
@BenjaminGruenbaum "af298d050e439800000000000000000000000000"
 
@copy The preinstalled Arch image is usable. It is a pure Arch base install (so following the Arch way).
 
@Nexxpresso is the link working ok?
 
user2157210
@BrandonGelfand what is your task?
 
user2157210
10:08 PM
yea
 
@OctavianDamiean Nice
 
i need to get the thing working, all the code is there
 
Anyway, it's 9 past 1 here, I'm off to sleep good night
 
the database isnt though
i need to set it up
 
I'll leave you with this: addyosmani.com/blog/…
 
user2157210
10:09 PM
and you got only 500 php files to know its structure?
 
my first error was time
 
Mhmmm, I'd like to port something to armv6h
 
user2157210
<?php
	mysql_connect("i think the hostname goes here","db name here","password here") or die(mysql_error());
	mysql_select_db("WEDJ i think..") or die(mysql_error());
?>
 
The question is what?
 
user2157210
wtf is this
 
user2157210
10:10 PM
sure he is a teacher
 
the db_connect
 
It should be something rather small.
 
user2157210
?
 
user2157210
i know its the db connect
 
it connects to the database, its where my hostname and login goes
 
user2157210
10:11 PM
ok didnt know that thank you
 
user2157210
..
 
> mysql_connect("i think the hostname goes here","db name here","password here")
rofl
 
hey, i had to guess til i got it right..
 
user2157210
first query is
 
user2157210
mysql_query("DELETE FROM parties WHERE (($time - time) > 86400)")
 
10:12 PM
It is deprecated though.
 
!!>(105^255).toString(2)
 
@Shmiddty "10010110"
 
!!>0+(150^255).toString(2)
 
@Shmiddty "01101001"
 
!!>150^255*0
 
10:14 PM
@Shmiddty 105
 
What'ye doin' buddy?
 
@Shmiddty 150
 
@Nexxpresso so i need to make a field called time?
 
!!>1^1>>4
 
@Shmiddty 1
 
user2157210
10:16 PM
i just wonder $time
 
is that sarcasm?
 
just fucking around with some ideas... I need to replace the top menu on beta.lemonmeme.com for the new version. I think a side menu with thumbnails would be better. jsfiddle.net/rlemon/kuEzt/2
whats the consensus
ofc not use stock bootstrap, that is just prototype
 
thumbnails are good
 
user2157210
guess you gotta have a field time yeah
 
what type?
text?
or time?
 
user2157210
10:19 PM
id use time
 
Did you hear the news about jsfiddle today?
:)
 
they're getting a real server so we don't suffer such horrible lag?
 
user2157210
but wtf should be in time
 
@rlemon they finally accept donations gittip.com/JSFiddle
 
user2157210
ok we do some hack
 
user2157210
10:20 PM
we delete that fucking line
 
user2157210
and never ever care about time again
 
which could lead to new servers :)
 
user2157210
doing homework nexx way
 
@BenjaminGruenbaum: Your solution works like a charm.
 
user2157210
their search.php just does a select * from parties
 
user2157210
10:21 PM
wtf
 
because it is searching for parties
 
Oh come on ... finish that upgrade ...
 
user2157210
yeah but
 
user2157210
time is the time the party takes place
 
user2157210
do you have any data to place in the database?
 
10:23 PM
nope
 
user2157210
wtf is this
 
a blank database with an information schema
 
user2157210
is the database in the zip?
 
couldnt find it
everything u have i have
 
user2157210
so you created that blank database?
 
10:24 PM
yes
then made a table called parties
 
@copy Do you use any printer with Arch?
 
Printing is bad for the environment
 
It is but you can't get around that when you run a business.
 
@Nexxpresso Unknown column \'lat\' in \'field list\'?
 
user2157210
thats from the create party
 
user2157210
10:26 PM
im on it
 
table called field list with field called lat?
 
I don't have a printer, so no
 
OH DUDE THAT'S AWESOME! A little raspberry appears in the top left corner when booting.
 
user2157210
INSERT INTO parties (name, lat, lon, time)
 
user2157210
there we got the the
 
user2157210
10:27 PM
strucutre
 
user2157210
name
 
can someone please inspect this question and vote for reopen, i've changed question's formatting
0
Q: How to build simple jQuery image slider with opacity or sliding effect?

BarlasSome of us might not want to use ready plugins because of their high sizes and possibilty of creating conflicts with current javascript. I was using light slider plugins before but when customer gives modular revise, it became really hard to manipulate. Than i aim to build mine for customising ...

 
parties table
 
user2157210
latitude lon whatever
 
user2157210
time
 
user2157210
10:27 PM
yeah we only got 1 table
 
thanks
 
fields in table will be name lat lon time
 
user2157210
yeah
 
@OctavianDamiean HOLY SHIT
 
user2157210
make them tex text text time
 
10:28 PM
wht type should be set for it?
 
user2157210
maybe workks
 
ok one sec
Unknown column \'ip\' in \'where clause\'
 
user2157210
yeah yeah
 
user2157210
we are not that far
 
10:29 PM
@copy Yea, such little gimmicks cheer me up. :D
 
user2157210
we need a users table it seems
 
user2157210
with some admins
 
user2157210
we just delete that part
 
user2157210
do you think your teacher will see that
 
user2157210
10:30 PM
will he care?
 
he wants the thing operating
users and all
because each party has users
i cant change a thing in the code
 
user2157210
ok
 
user2157210
so users has 3 columns
 
user2157210
as it seems
 
the table parties
what type should it be?
 
user2157210
10:32 PM
no the table users
 
MyISAM is wht it is set to be atm
ok, i will make a table called users
 
user2157210
you got a table parties now you need a table users
 
user2157210
// New user, add to table
		$query =
			"INSERT INTO users " .
			"VALUES ('" . $ip . "', 1, " . $partyID . ")";
 
1 is a feild?
field*
 
user2157210
seems like
 
user2157210
10:33 PM
i have to go through the php data to find the names
 
so ip and 1 and partyID are the fields?
 
user2157210
no one field is named
 
user2157210
ip , IDONTKNOWYET , party
 
user2157210
that are the field names
 
ok i will stick 1 for now, and change it when we find it
 
user2157210
10:35 PM
and there is another table
 
user2157210
playlist
 
LOLOLOLOL something went wrong... wedj.gelfandtech.com/party.php
only tht is broken though
nothing else atm
 
user2157210
its good
 
user2157210
isAdmin
 
user2157210
is the fieldname
 
10:37 PM
so replace 1 with isAdmin ?
 
user2157210
yeah
 
Unknown column \'party\' in \'field list\'
you think there is is a new table?
 
user2157210
i dont know
 
user2157210
yet
 
user2157210
10:38 PM
Users has ip , isAdmin , party
 
user2157210
right?
 
partyID
not party
 
user2157210
has to be party
 
// New user, add to table
$query =
"INSERT INTO users " .
"VALUES ('" . $ip . "', 1, " . $partyID . ")";
so what is partyID >
 
user2157210
that are the values
 
user2157210
10:39 PM
inserts the ip into ip
 
ah, ok
 
user2157210
1 into isAdmin
 
Alright, enough for today. Laters.
 
user2157210
help me octavian
 
10:40 PM
ok new table called playlist :D
apparently
 
user2157210
table playlist atleast has partyID, isPlaying ,rating , time
 
user2157210
i know
 
HAVE ... TO ... STOP ... THINKING ... ABOUT ... CODEGOLF
 
@copy Exactly, better think about something small I can try to port to armv6h
 
10:42 PM
@copy Or think about your girlfriend. Hangout nao.
 
user2157210
@OctavianDamiean help me with this ..
 
user2157210
is alot of reading work
 
With what?
 
CAN'T ... FIRST ... for(i=256;i--;)putstr(27030>>(i&15^i>>4)&1) ... 3 CHARACTERS LESS
 
user2157210
and thinking i cant think
 
user2157210
10:42 PM
building his database out of the php scripts of his webpage
 
For gods sake, you're kidding? Me!? PHP!?
 
so column name id ?
 
user2157210
yeah we need a id
 
user2157210
in parties
 
user2157210
i think
 
10:43 PM
parties or playlist?
 
user2157210
parties
 
user2157210
@rlemon rlemon you can php
 
user2157210
and you got time
 
10:44 PM
It's towards 1 a.m. and I've been torturing my brain with Latin all day, I'm not going to molest it with PHP.
 
die('rlemon has left the room');
 
user2157210
i know how late it is but i started helping and cant just stop now
 
That's on you. ;)
I'm a certified asshole, I can.
 
I need a web designer who wants to design my webpage for no money. but I will give them credit! and possibly help them with issues out of guilt for a while.
 
user2157210
i can do this @rlemon
 
user2157210
10:46 PM
let me desing your webpage
 
no.
 
user2157210
why not?
 
@rlemon I'd do it for lemons but I don't even have the time to do my own ...
 
user2157210
@BrandonGelfand ok we can create parties now great :)
 
@OctavianDamiean I just suck at actual web design.
 
10:46 PM
yes
 
I used to be good... but then I got lazy.
 
i am working on songs
 
user2157210
@rlemon Y u no let me design
 
@rlemon I feel you bro!
 
@Nexxpresso because you're creepy man.
 
user2157210
10:47 PM
but but i can
 
!!s/creepy/14/
 
user2157210
make big image of lil kim in middle?
 
@Shmiddty @Nexxpresso because you're 14 man. (source)
 
new error
Unknown column 'name' in 'where clause'
 
it's a shame really. I have an idea of what I want but can never take the time to get a proper prototype up
just a shitty shell.
 
user2157210
10:48 PM
guess we need name in playlist
 
nope
songs
in the table songs :D
 
@rlemon Best idea is to wireframe it at least.
 
user2157210
yeah i just saw
 
user2157210
table songs
 
user2157210
name and artist
 
user2157210
10:49 PM
let me search for more
 
I need to sit down with gimp and just fucking 'design' it old school. then start trying to mimic that.
 
WOHOO!!
 
maybe that will help?
 
user2157210
songID
 
10:49 PM
look!!!!
 
@rlemon I dislike gimp. Used PS for too long
 
click add song
 
Well or that, however I'm not a big fan of designing it in a graphics program just to recreate it.
 
@Shmiddty so did I. but then I really forced myself to get into gimp because I decided I wanted to stop pirating software
 
it can search!
 
10:50 PM
I generally just wireframe stuff.
 
@OctavianDamiean idk, maybe it will help me stay focused?
at this point it's a stale project I started almost a year ago :/
 
What do you mean? Wireframing or actually designing in gimp?
 
user2157210
@BrandonGelfand we need songID in playlist
 
gimp
 
user2157210
10:51 PM
and genre in songs
 
Well yea, any kind of progress is good. :)
 
i've 'drawn' out by hand a few times different designs and never happy with them
 
0
Q: Have I put too much into my tooltip showing and hiding functions?

James DonnellyTonight I decided to revamp some code I wrote a few months ago. One part of that was to do with showing (and hiding) tooltips. The functions are called with: jQuery(element).showTooltip('HTML'); jQuery(element).hideTooltip(); The old code $.fn.showTooltip = function(text) { /* Remove any ...

 
@AmaanCheval is waiting for a couple of months already on my website so he can steal from it.
 
user2157210
thats why you got photoshop licenses
 
user2157210
10:53 PM
gimp sucks :(
 
paint.net rules!
what are we talking about?
 
I also make the big mistake to let myself dragged away by other projects. I keep buying stuff like the RPi and get all excited about them and then I forget about the old projects.
 
gimp doesn't suck. I will say it again, just because you fail to utilize a tool due to lack of experience does not mean it sucks.
 
Yea gimp is pretty badass actually.
 
so far I have been able to get by with GIMP doing everything I have done with Illustrator and PS
 
10:54 PM
I use gimp and Inkscape though.
Love Inkscape.
 
@Nexxpresso I have to go in a few
 
user2157210
i never understand inkscap
 
user2157210
@BrandonGelfand ok another tabel votes
 
user2157210
dont forget it
 
k, i will be back in an hour or so
will u still be on?
@Nexxpresso ?
 
10:56 PM
Here's some gimp-only images I made back in my Android-fanboy time. odamiean.deviantart.com/gallery/27255599
 
user2157210
votes (ip, songID, isUpvote, party)
 
user2157210
nah
 
user2157210
i will be in bed
 
user2157210
sorry
 
if i give u my email
 
user2157210
10:57 PM
VALUES ('$ip', '$id', '0', '$partyID')"
 
can u email me the rest
 
Oh yea @Nexxpresso
 
woah woah woah
no need to get comic sans involved
 
user2157210
@BrandonGelfand i hope you can do the rest alone
 
gross. marking presentations...
 
user2157210
10:58 PM
normally i would have just told you where you can find those things
 
@SimonSarris heh, Comic Sans ALL THE THINGS!
 
user2157210
but you got the complete database structure now
 
user2157210
i think
 
@Nexxpresso where does it get the songs?
 
@OctavianDamiean i'm sure you can do something fun with him codepen.io/rlemon/pen/yHwqD
 

« first day (908 days earlier)      last day (4047 days later) »