« first day (864 days earlier)      last day (4081 days later) » 

9:01 PM
Out of curiousity, has anyone dealt with the beta CMS called "Xenon"? A question in [php] came up regarding it
 
Nopez
 
CMS? What is that new technology? :)
 
Xenon is cool
I.e. the element. Obviously not the CMS
 
lol
 
I prefer Xeon
 
9:03 PM
My Xenon is flickering when cold :P
 
Xeon v Xenon... fight!
 
For handle big data, solution is very simple: buy bigger monitor and use smaller font in the terminal.
 
@ircmaxell Also very important trick is :set columns=100. 80 character limit is really shitty for big codez
 
:set columns=1000
 
9:11 PM
@ircmaxell my monitor doesn't have 1000 columns ^^
 
@NikiC sure it does. It just depends on the font size
 
@ircmaxell you think it allows you to make the font size so small that it will be 1000 columns?
 
a 1 pixel wide font will allow a 1000 column display :-P
but considering I have over 6k horizontal resolution here, I could do a 6 pixel font with 1000 columns... :-X
 
yeah, but can you set it to 1 pixel wide?
 
@NikiC morse code?
 
user895378
9:14 PM
^ lol
 
user895378
(removed) for insensitivity reasons.
 
Oh my ... what a tit.
That wasn't about the question by the way ...
 
@OctavianDamiean said tit! youtube.com/…
 
9:24 PM
@Ocramius Yea that happens sometimes.
 
:D
@Gordon so much win
 
nite all
 
later @Gordon
 
good night
 
Night, I'm heading off too. Been a long day in moderating for me
Please let me (or any other SO mod really) know if that incident from earlier today crops up again
 
np, thanks again!
 
What happened earlier today?
 
Meh, better not tell, read it up in the transcript.
 
Anonymous
hmm..
 
@AustinDavis It's starred on the right :)
 
9:38 PM
hi guys
 
I love that guy. :D
 
Hey guys
 
to order the new computer, or not...
I hate ordering from online...
 
Why?
 
@Hast hey
 
9:45 PM
hi
I want to delete all the rows in all tables in mysql database....
 
So do it :D
 
i just started the site in the production environment...i don't want to have test data...that is already in the tables... ( just cloned the dev site in prod)
how to delete all rows in all tables in mysql database?....
delete * from table1, delete * from table2.........is this is the way for all the tables????
 
I'm afraid there is no way to flush them at one command. There is no such 'FLUSH DATABASE' syntax as I know.
 
so...it is better...to delete all rows in each table....yeah?...
 
@PeterJennings drop database myDatabase; create database myDatabase; and source in the table-schema
it's the most efficient way
 
9:50 PM
@PeterJennings don't forget about FLUSH command
 
Or just copy db without data and remove the old
 
@MikeB yes but tables structure won't be saved
 
how to copy db without data....?
 
are you using phpmyadmin?
 
@Hast It's more efficient to reload the table structure than it is to truncate the table
 
9:52 PM
create database A like database existingdb
 
@PeterJennings mysqldump with -d option
 
will this work?
 
If you are using mysql that is
 
yeah...i am using mysql
 
-d will prevent data being copied to new database IIRC
 
9:53 PM
yes...i am using phpmyadmin....not mysql...
 
But I'm sure you can do a --help to confirm
 
@PeeHaa -d, --no-data No row information.
 
woot
 
@PeterJennings what? You just said you use mysql
 
@PeterJennings In that case I cannot help you
 
9:55 PM
If you're using phpmyadmin just check all the tables and hit truncate (if performance isn't an issue)
 
i am using sqlyog community edition......
 
@PeterJennings doesn't it provide a way to select all tables in the database and apply FLUSH command for it?
 
@Hast s/FLUSH/TRUNCATE
 
so i have a site that has horizontal scrolling tables, yet i can't find the style to do it
i can't figure out how i actually did it last year lol.
 
10:05 PM
tried firebug?
or check element in chrome?
 
overflow: scroll ?
 
oh i just remembered..
inside of my datatables.js I set some parameters.. i kept trying overflow: scroll, etc but forgot I had to change something within the js.
oops.
 
TRUNCATE TABLE assessment
this is not deleting the rows in the table...why?
assessment is my mysql table...
there are only 9 tables in db...i want to delete all rows (tabledata) in each of these tables.
 
0 row(s) affected

Execution Time : 0.005 sec
Transfer Time : 0 sec
Total Time : 0.006 sec
 
there is a new update of cv-pls, kewl.
 
@PeeHaa ?
Evening @all
 
Evening Dave
 
good evening
 
@DaveRandom My momery is failing me. Sorry :P
Also my typing may need some attention
 
10:26 PM
@PeterJennings TRUNCATE TABLE always says zero rows affected so that output is a red herring. However I've never seen a TRUNCATE operation fail with no errors before, are you 100% certain you selected the right database when you connected?
 
hrm, debating purchasing this computer... SandyBridge-E 3820 4core CPU, 32GB Ram, 256gb SSD, 2x500gb HDD RAID-0, GTX-660Ti GPU, Blueray burner, wireless NIC (n), 750 gb power supply... For $2017...
 
@PeeHaa lukly i dont hav that prblm
 
:P
 
@ircmaxell 750 gb power supply? Is this some new kind of magic that I've never heard of, power supplies that store data?
 
@ircmaxell I would need at least 2x1TB minimum
4,174
questions tagged
oop php
 
10:30 PM
have somebody in here worked with media queries?
 
wat
 
@Wobot Better ask that in the CSS channel I suggest
 
@hakre gonna see if somebody is online there
 
@Wobot oh nobody needs to be online. the chat is persistent and logged.
 
@DaveRandom yup...
@PeeHaa I have a NAS for that. I just want local storage that's FAST...
 
10:34 PM
Sounds fair
 
and an extra $100 to turn 1TB into 2TB isn't worth it in my situation
 
@DaveRandom gb = w in imperial :P
 
17
Q: Broken comment links on review page lead to nowhere

HodofHodComment links on review pages, whether questions or answers, do not link to the original comment, but link instead to the comment as it is on the review page. Clicking on a comment's timestamp will take you to that comment, but only while you're on that page. Using that link after leaving that...

Give it some love please :)
said no one, ever
 
da javascript channel is le dead
 
10:50 PM
That's actually pretty cool.
 
Yes, but, who will read the manual?
 
I dunno, maybe Ruby newbies RTFM more often than PHP newbies?
Yeah right who am I kidding.
 
And when the tool is offline, you are handicapped.
PHP manual is ze best. Can't beat that.
 
@webarto but at least it's responsive 'n shit
 
is anyone here familiar with datatables.js?
 
10:57 PM
hi , anyone know how to detect if user is using google.de or google.fr or google.com or google.something else ?
 
@echo_me $_SERVER['HTTP_REFERER']
 
right thx
and can i use metatag description by if (google.de) then metada description by deutsh and so on with other langauges
 
@Ocramius i.imgur.com/khYkcqd.png it sucks :P
 
if(google.fr) then meta description by french , if (google.com) then by english is this possible ?
 
@echo_me nope? That's not even restful
 
11:01 PM
@Charles I object.
 
i want if someone is using some google language i want he will find the exact meta description by his language
 
/me orders lemonade for @Lusitanian
 
/me orders beers for @PeeHee
 
ahh maybe it will not work because googlebot if he visit the website he will register meta description , so when user search by google.it for example he dont get the description by italy because its saved by english or im wrong ?
 
11:04 PM
Nice
!
 
@webarto What, the spelling?
@echo_me You might want to see this answer instead, if you're trying to do browser language sniffing:
28
A: Detect Browser Language in PHP

JapanProwhy dont you keep it simple and clean <?php $lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); switch ($lang){ case "fr": //echo "PAGE FR"; include("index_fr.php");//include check session FR break; case "it": //echo "PAGE IT"; include("inde...

 
@Charles No Sir, let me link you to RFC2616, where it says:
> Clients SHOULD NOT include a Referer header field in a (non-secure) HTTP request if the referring page was transferred with a secure protocol.
So we have to assume, he is not using HTTPS.
 
@webarto Ah, good point
 
11:08 PM
@echo_me Are you using HTTPS by chance?
 
@PeeHaa Why, yes I will.
 
:)
 
@Charles yes but this he want to link to php pages , and i want use meta description by many languages , is it posssible to let googlebot read and understand the website language and if yes , may we can give it the description we want to any language. ?
 
@PeeHaa If you'd be kind good Sir, to return a favour.
 
Somebody beat me to it
And it's name is...
DAVERANDOM!??!? WHY YOU?!?!?
 
I been hiding
I have
 
I have hiding too :P
 
11:11 PM
@echo_me You probably don't want to do the thing you're thinking of doing. Different URLs for different languages is really the most sane, simple and correct way to do things...
 
Actually I've been shouting at Mozilla again
 
@DaveRandom What did it do this time?]
 
*O Fortuna plays*
 
why does datatables.js hate meeee
 
@KevinMurphy JS is evil m'kay.
 
@webarto poopy
 
Good job Ladies & Gents.
 
@PeeHaa Oh the usual. Killed my family, set my cat ablaze, that kind of thing.
 
@Charles doing languages ? u mean i will translate ? i dont want translate just meta description
 
@echo_me Oh, wait, translation? Nevermind. Don't know what I'm talking about.
 
11:14 PM
@DaveRandom :D
 
@echo_me It's not possible, don't mess with Google, stop confusing Sir @Charles.
 
@PeeHaa Have you looked at making the backlog work for us a bit more? @webarto if you're going to mess around with that sort of stuff maybe you could put a bit of effort into that side of things?
 
@DaveRandom Not really tbh
I have already cloned it though :P
 
@DaveRandom Dear Sir, one does not kill his family and live to talk about it. I shall not take a bite of that story. Have a beer.
 
w00t, Seconds_Behind_Master: 0... down from 2,260,000. That was fun.
 
11:16 PM
well i guess i'm just gonna ask this question here in hopes someone knows.. does anyone know why loading a table put together in a php file, using ajax, would make datatables.js not work
 
@KevinMurphy Probably for the same reason any new dom elements don't work with already bound events
 
@DaveRandom Yes Sir, messing is my middle name.
 
@Charles u said Different URLs for different languages is really the most sane means i will create pages with many languages for different urls . so what means this ? only the translations
 
@PeeHaa hmm.. cause i was wondering why the style of the table used the style of the page it was being loaded into
i figured since the style "carried over" so would the parameters for the js
:(
 
Sounds like you have some reading up to do on the difference between javascript and css ;)
 
11:18 PM
@echo_me Googlebot is from USA, m'kay. You just translate your site, set a language in HTML, and hope Google is kind to display right results on right domain.
 
:P sounds like i have to change how i'm loading this table now :(
 
@KevinMurphy Can't you just bind whatever it is you are trying to implement after loading the new table?
 
@PeeHaa that would probably be the easiest.. not sure why i didn't think of that O.o
merci! :D
 
np :)
 
@PeeHaa I beg your pardon, jQuery .on() and deprecated .live() :P
 
11:22 PM
:)
You forgot delegate()
Shame on you
 
:harakiri:
 
@PeeHaa I've been thinking about setting up nightly builds on the dev branch, if I throw a build script together can you set up a cron job on the server?
 
@DaveRandom Yes I can
 
coolio
 
11:30 PM
Good night
 

« first day (864 days earlier)      last day (4081 days later) »