« first day (1099 days earlier)      last day (3863 days later) » 

7:01 PM
I am reading mysql doc and I feel confused between DATETIME versus TIMESTAMP
any explanation would be greatly appreciated :)
 
ok @Martin. thankx . i will test... :) thankx
 
hi @HamZa
 
TIMESTAMPS you can do the ON UPDATE CURRENT_TIMESTAMP Magic
@Happyninja this might shed some light
 
@Orangepill thanks, I am checking it right now
 
@Happyninja Hi there !
 
7:10 PM
@HamZa been a long time heh
 
@Happyninja yup, I've been busy with studies ...
 
@HamZa doing good?
 
@Happyninja yup ! I've been learning C & Java with some other stuff
 
@HamZa nice :)
 
@Happyninja And you ? I also didn't see you around here :P ?
 
7:14 PM
@HamZa I'm doing some techical support as part of my job and I've been busy working on web contract, and now I am working on a tool for internal use within our business
 
@Happyninja cool, keep it up
 
@HamZa you too
 
thx
 
7:34 PM
I know this is the php room but anyone wanna take a little break and do some javascript...
 
@benlevywebdesign why not
 
0
Q: Have a form drop down(spinner) and trying to change the value of the selected spinner(drop down)

RylieXI'm using this Android-like UI framework called Fries from jaunesarmiento. (google it if you have never heard of it) I am using a form spinner in a few places on my demo app which is essentially a form drop down in android terms and I want to be able to change the value of the selected spinner. ...

@Happyninja thanks!
seems easy(but not to me) right?
 
@benlevywebdesign when you say change the value of the selected item, where do you want this change to reflect? Is it within your anchor?
 
yes I did
 
7:40 PM
when you click or tap on the spinner(drop down) I want to change to what was clicked on or tapped on
 
okay
 
does that make sense?
so in my example in the fiddle lets say you click or tap on the spinner and select "daily" I want it say "daily" instead of not being able to show the selected value
 
@benlevywebdesign if I understand it correctly you will also need to store that somewhere right?
 
I guess...
 
@crypticツ seems your link on the pact http://tiny.cc/chatroom-pact is broken..
 
7:49 PM
@reikyoushin it's not setup yet
I just put it there to store, until we link it in the room description, then it will properly redirect to the pact file
 
@crypticツ oic.. ^_^
 
maybe unrelated but there is an error from within jsfiddle itself on line 31 from documentation.js
 
@Happyninja well on a regular form that has a drop down field when you select something other than leaving the default option selected does it really store something
 
@benlevywebdesign it doesn't but there is already a mechanism there. Like it's a form so you can serialize it. Now you don't have this mechanism so it need to be stored right?
 
Ah I see! So then yes I do
and I'm not sure what that error is on line 31
 
7:53 PM
@benlevywebdesign "Uncaught TypeError: Cannot call method 'addEventListener' of null"
 
I have to go through the code and figure out why though
 
right now I don't think its affecting anything we are trying to do at the moment so I'll worry about it in a second
 
@benlevywebdesign imo it is a bit related because your code doesn't run without the file
 
ah
ok ill look into in at the same time
well that code just allows the spinners and other android like UI to work on a desktop browser so it doesn't change anything when the file isn't there and I am on mobile device
 
8:03 PM
@tereško damn good article
 
well the error isn't showing up in the original file on the fires website?...
 
@benlevywebdesign "Using Mac, the industry choice platform" <<< lolz
 
@HamZa hellooo!
 
@reikyoushin yooo !
 
8:12 PM
i'll be here for another 8 hrs.. ^_^
 
heh, the difference in time zones ...
 
@HamZa its 4am here. >.<
 
@reikyoushin 22:-- here :P
 
0
Q: How to store the data and improvise these tables?

vep tempThese are my tables, first 'wallpapers' table which will be storing the unique details about all the wallpapers on the site, second one is 'wallpaper_categories' in which I'll be storing if it is categorized as wallpaper or just a photo taken which is tagged as photography, and the third one in w...

 
@happy I fixed the errors so now there are none
 
8:28 PM
room topic changed to PHP: Discussion for all things PHP. Before participating in this chat read this page: tiny.cc/chatroom-pact [php]
 
user652649
@crypticツ evening
 
morning
read the rules bitch! =oP
 
user652649
> Greet with "good morning" (or other non day-time based greeting) regardless of your local time. See UGT.
 
Is #1 limited to those? I like pastebin too.
 
user652649
i just can't say "morning" at 22:30
 
user652649
8:30 PM
xD
 
#4 is "Pay it forward"
 
@Fabien with interest
 
@crypticツ E_URL_TOO_SHORT
 
@bwoebi whaaa?
 
@JoeWatkins do you really want a PHP_INI_SYSTEM setting for zend.expectations? Why is PHP_INI_PERDIR not fine?
@crypticツ I don't like the URL-shortener which hide where the final location will be ;-)
 
8:33 PM
Been Rick-Rolled too many times in the past aye @bwoebi :)
 
@JoeWatkins PHP_INI_SYSTEM is php.ini/httpd.conf only. Users of shared hosting will be happy.
 
@bwoebi well the URL would be big then, since it is a github markdown file linked to. We only are allowed so many chars in the topic description
it's not like we're sending them to a malware site =oP
 
@crypticツ or just to an .xxx site?^^
 
room11rules.com is available :P
 
@Fabien good idea!
 
8:36 PM
@Fabien not sure if I want to spend money on a domain for a single page =oP
 
I wouldn't either.
 
it will eventually be linked to in cv-pls.com/chatroom-pact you know once I get around to actually setting up the website.
that will be in about 10yrs
maybe 15
 
@crypticツ in 15 years, come back in time to today…
Firefox can't find the server at www.tiny.cc. @crypticツ erm…?! where exactly does that link to?
 
We need a chat bot to automatically ping new visitors with "Please read this chatroom's room description before proceeding. This is a one-time automated message."
@bwoebi hell if I know, I don't own tiny.cc
 
user652649
i was thinking to create a bot for the html room
 
8:42 PM
I mean where should it redirect to? Cannot reach that server…
 
would be kinda pointless to run a URL shortening service and still end up using a subdomain now wouldn't it? @bwoebi
 
user652649
but i can't host it, i'm not always on
 
user652649
i change pc frequently
 
@Wes can't it be run from a server?
is Caprica running from a browser?
 
user652649
it would me much more complex to make
 
user652649
8:43 PM
i would have used a chrome extension or something
 
user652649
i think caprica runs within a browser, yes
 
user652649
but i'm not sure
 
PHP has 2 PECL extensions that allow JS processing
I wonder if they can just run Caprica's code O_O
 
user652649
yes, but js processing is not needed, the advantage of running it in a browser is dom
 
user652649
means that the script would use the chat gui as a regular user would
 
8:47 PM
@Wes we can always run a CLI browser on server
I think...
 
user652649
surely it's possible
 
anything is possible...except magic
 
user652649
even if it's not cli, you just need to install a lightweight graphic env
 
user652649
to run firefox or chrome
 
ping @rlemon what's your input on this?
 
8:49 PM
@crypticツ yes, but people have been talking about a serverside one IIRC
 
user652649
evening @PeeHaa but it would result much more complex a server side one
 
Why complex. We only have to run it. Let the JS people figure out the websockets/xhr things :)
 
user652649
it's much more work, you have to login via php, search for xhr "streams" etc
 
@Wes No you don't search for xhr streams ;)
 
user652649
how this chat works?
 
8:55 PM
xhr for sending, WS for receiving
 
user652649
ah, i didn't know about ws, cool
 
Still it does indeed possibly becomes fiddling what chat internals to make it work :P
 
Tuna-mayo is really sickly without the bread :(
 
@Fabien tuna-mayo + pasta = carbonara. ^_^
 
cba to make pasta. Already eaten most of it now anyway.
 
user652649
9:02 PM
@reikyoushin stop saying blasphemies
 
@Fabien that does sound gross, but then again I eat raw tofu plain with a fork =o\
 
Yuck, even cooked tofu is nasty.
 
@Fabien jap tofu is nice.. tofu furai ftw
 
user652649
i can't stand there xD
 
@Wes this is how the chat works..
 
user652649
9:06 PM
efficient
 
@benlevywebdesign
What is the question? — PeeHaa 2 hours ago
and are you and @RylieX the same? i remember you talking about something like that earlier..
 
how can I make it so that the selected spinner item does change the value when selected?
 
@benlevywebdesign hmm.. im a bit busy right now. i'll try later if i have time, ok?
 
ok
well do you have someplace for me to start?
 
9:22 PM
Start by programming it, when you are stuck and have a specific question come back.
 
@benlevywebdesign i haven't checked your code yet so i can't answer that aotm..
@PeeHaa +1
 
I have stated the question...unless you want more?
 
@PeeHaa where did the 'don't ask to ask' part of the room 11 description go? i know it is on the pact but i think it should still be on this room's desc anyway..
 
@reikyoushin Ask blame @crypticツ for that. She changed the room topic :)
 
@PeeHaa =oO
 
9:26 PM
@PeeHaa well, if people are forced to read that first. i think it's fine..
maybe we would just say.. "pls read pact first" to people who ask if they can ask. ^_^
 
@crypticツ Your sideways snowman with funky hair emoticons confuse me :P
 
@reikyoushin just tell them to read room description and call it good. They will not only read that rule but all the others.
newbies to the room should be directed to it
 
@crypticツ yeah, i figured.
 
@benlevywebdesign huh?
 
@PeeHaa whaaa? It's Rainbow Dash from MLP
 
9:28 PM
@Fabien maybe you want more questions.. ^_^
 
I was talking about =oO
 
@Fabien nevermind unless you to read that question and try to help
 
@PeeHaa ooh, well = is the eyes, o is the nose, and O is the mouth
 
looks like an ice phoenix while its a tiny avatar..
 
Just made my first solo pancakes
Wish I had syrup
 
9:30 PM
@Fabien do they meet NIST requirements for circumference, thickness, viscosity and temperature?
 
user652649
sound check sound check
 
user652649
bot is alive!
 
I kidna guessed the measurements a bit
Funnily the first one was beautiful, second was terrible and 3rd was meh.
 
@Fabien 3rd one has meth o.O? jk.
 
9:35 PM
lol I sucked at flipping
taste nice though
 
@Fabien what the thing hanging off the left side of plate? It looks like some sort of animal skin
 
@Fabien if it's too big it's harder to flip.
@crypticツ that's pancake blood oozing out.
 
My pancakes have inner beauty.
E_TOO_MUCH_PANCAKE
How long do you think a cooked pancake stays good for?
 
@Fabien on a fridge or just on the table?
 
table
 
9:43 PM
depends on the ingredients i guess..
 
@Wes :(
 
user652649
wait wait
 
user652649
he's still very stupid
 
user652649
but not as stupid as me
 
:P
 
9:45 PM
oh, there's such things as this.. cooking.stackexchange.com maybe the pancake question is there already ^_^
 
heh. I probably wont eat the rest. It was optimistic of me to make that much
 
18
Q: How do I stop my fire alarm from going off when I cook?

Naomi CampbellMy fire alarm always goes off when I cook, even when the food is not burning. Because of this, I have never been able to keep batteries in my fire alarms. How can I stop this from happening?

Either take out the batteries or wrap them in plastic...
 
@Fabien 3-4 hours would be safe i guess.. or just slam them in the microwave if you're gonna eat the leftovers.. to be sure
@PeeHaa cook the fire alarm.. or splash it with water... to make it stop
 
Probably wont.
 
@PeeHaa =oO that's so dangerous. I nearly kicked out my college roommate when she took out the batteries and never put them back in. I found out like a month later when I went to test alarm.
 
9:48 PM
@crypticツ why would she take em off?
 
@reikyoushin her cooking set the alarm off, so she took the batteries out to stop it.
 
@crypticツ I have lived in a house where they were powered by the power grid instead of only batteries
It took 6 months before the entire street had wrapped them in plastic because they were so annoying
 
I never set my alarm off, I guess I'm just better at not letting my food burn =oP
 
Probably :D
 
Mine is wired in to the grid.
 
user652649
9:52 PM
wait i'm having problems running a web worker in the chrome ext
 
what's with the !! thingy
 
@reikyoushin commands to the chat bot
 
@crypticツ what does it do?
 
it doesn't list the Youtube one, but if you try in chat.stackoverflow.com/rooms/39426/jamexchange-fm39-426 it will post the video to chat
@reikyoushin practice in this room chat.stackoverflow.com/rooms/1/sandbox
I don't think Caprica uses the !!/ notation but rather just the !! notation.
 
12 messages moved to bin
@hakre you probably should change the accpeted answer on this stackoverflow.com/questions/7661258/php-5-1-online-codepad/…
Also I am still looking for a codepad with API support. Or an easy way to install my own codepad so I can setup an public API myself
 
10:11 PM
They make smoke detectors now with a 7 year battery, which is how often you should change your smoke detectors in genereal.
Sorry that should be 10 years not 7
I replaced mine about a year ago because I was getting annoyed by the low battery chirp happening at 3am. With high ceilings that is a real bitch.
 
@NikiC How big are the issues with github.com/fieryprophet/php-sandbox? Like can I dump it on my server and start using it out of the box?
 
@PeeHaa I didn't review, but unlikely (assuming you are concerned about security ^^)
 
Yep. :(
 
If you are running user-specified code I'd always run it in a jailed environment
Everything else is too fragile
 
hmm.. what's a good git mergetool for windows? rephrased: what do you guys use in windows for git merging?
 
10:24 PM
@PeeHaa I would actually opt for approach there
 
@NikiC run it in a lowend vps you took specifically for it?
 
@NikiC Yeah. But I'm not sure how hard it is to set it up?
 
@Peehaa API aware copepen... what api do you have in mind?
 
@tereško Fair enough
@Orangepill Send code, get result
 
10:25 PM
@PeeHaa If you look at some existing project doing that, maybe not so long ^^
 
@peehaa okay... so not api aware... just with an api
 
@PeeHaa I'd have concerns if I couldn't find a demo of it.
 
yes
 
user652649
!!calc 100*22*391*192/1000*Math.random()
 
user652649
I'm working bitches!!! 135266.26581846178
 
user652649
10:32 PM
!!calc Math.PI
 
user652649
I'm working bitches!!! 3.141592653589793
 
user652649
first step is done!
 
11:05 PM
@BenjaminGruenbaum Neophytes usually are. Ask him if the Angular JS homepage actually uses Angular JS for their home page yet.
 
@Danack It does though :P
 
@BenjaminGruenbaum oh - it didn't used to. Or am I thinking of Meteor.js ?
 
Perhaps you are. Meteor is pretty silly. Angular actually does solve some problems but some people tend to think of some framework as a solution to everything rather than a tool to use in certain scenarios.
 
11:39 PM
Clearly I am failing at understanding arrays. Any one got any ideas: stackoverflow.com/questions/19472279/…
 
This:
foreach($params as $param_name=>$param_value){
$param[$param_type][$param_name] = $param_value;
Is probably not doing what you hope it is doing.
@Adam Look at the reference bit here: php.net/manual/en/control-structures.foreach.php
 
@Adam You're quick to delete the question :)
 

« first day (1099 days earlier)      last day (3863 days later) »