« first day (670 days earlier)      last day (4294 days later) » 

8:01 AM
morning gurlz
 
@hakra hiya gal
 
morning chaps
 
Sem
Goooood morgin
 
@LeviMorrison Well it's not released yet and they have a kind of rhythm with the releases which I like so there is always progress.
 
@webarto morning
 
Hi, please help with SQL query for first answer stackoverflow.com/questions/11972569/… Thanks!
 
No opinions on the http_referer?
 
@PeeHaa I do :)
 
@Leigh WHat is it?
Looks like it's doing the exact same thing?
 
8:20 AM
@user1257255 , read this book , your "problem" is covered in first chapter
 
Writing an answer.
 
@leigh morning
 
@Leigh kk
 
@PeeHaa Its a method alias of contains to implement ArrayAccess
 
Thanks for diving into the source. — PeeHaa 13 secs ago
:)
 
@PeeHaa You should do it more often, it's not as dangerous as people pretend. I literally did find in files for SplObjectStorage, searched for offsetExists, and then checked out what the SPL_MA macro was. Explained itself in about 30 seconds
 
@Leigh: Wow. :)
 
Since I started doing it, it's becoming my first point of call for anything where I want to know what the language is doing.
 
8:26 AM
@Leigh I'm too slow. :(
 
:P
 
@salathe You were probably scanning the source while I was typing :)
 
@Leigh Nah, I spent most of my time trying to find the right link on git.php.net rather than lxr
 
@salathe I have a local clone
 
@Leigh I have several. :)
 
8:29 AM
The documentation should be updated to reflect the alias. — salathe 47 secs ago
@PeeHaa is that something you can do?
Actually can it be done with source annotation?
 
@Leigh It's something anyone can do: edit.php.net and copy the XML from another alias page. :)
 
@Leigh Sure either me or @salathe or @nikic or @ircmaxell :)
@Leigh Just don't break things or @salathe will find you ;-)
 
I suppose it's time I registered.
 
@Leigh You can also edit anon
 
offsetSet() offsetUnset() are already marked as aliases, copy those.
 
8:33 AM
It looks shiny, but its not intuitive..
 
:)
 
Why, hello there.
Is this really necessary? I imagine you'd have to significantly alter your existing code for something so trivial. Better to invest the time to write good documentation. — deceze 14 mins ago
 
How to use PHP CLI
 
@DaveRandom your way works fine, only problem, I had a lot of method to edit. — roine 3 mins ago
 
I am using WAMP :/
 
8:37 AM
@DextOr Start a command line and type php stuff (where stuff is the code)
 
you mean on simple CMD @PeeHaa ?
in WAMP/www ???
 
So I saved my edit, what happens now? Someone gets a notification to review/publish?
 
@DextOr yes. What do you think CLI stands for?
@Leigh We can review and commit it
 
not working
;/
 
@ShyamK hi...
 
8:41 AM
@PeeHaa Ok, I didn't see anything appear in the "patches awaiting review", do I have to do anything else apart from save?
 
@Paul hi
 
@DextOr Add the php directory to the path variable
@Leigh have you created a patch?
 
@PeeHaa No, not seeing a button for it
 
k
 
@Leigh rightmouse click on it
What's your username?
 
8:44 AM
@PeeHaa en/reference/spl/splobjectstorage/offsetexsits.xml - Right click "it", what is "it" :) - on the filename I get "open in new tab" only
 
@PeeHaa I am using WAMP , where to find PHP dir ?
 
@Leigh Do you see your change in the WIP section on the left?
@DextOr How would I know. Try searching perhaps?
 
@PeeHaa It was green, then I closed the tab, now it's red
ah, yes, at the bottom of WIP
had to refresh
 
:) Right click the change and make a patch
 
@DextOr , just look at what is set in httpd.conf file
 
8:47 AM
FOUND : C:\wamp\bin\php\php5.3.0
:P
 
@PeeHaa Done and done
 
@DextOr , that would be WRONG
 
why :(
 
and also , why the hell you are using 5.3.0 php ? It was released in mid-2009
 
there was php.exe
then what shud I use?
what is latest vers ?
:P
 
8:49 AM
5.4.5
 
My Office ROX :D
thanks
 
@Leigh I can only commit it at home. I got afraid of comitting stuff using the online editor since I broke it :) Maybe @salathe can commit it for you or you have to wait till tonight
 
Heh, I'm not bothered about the speed of the commit :D I just needed to learn how doc editing worked. Mission complete
 
Thx @tereško
 
@DextOr , using canned server solutions is usually bad idea
then again , setting up a webserver ( even for development purposes ) on windows is too highly questionable
 
8:52 AM
hi guys i am not able to find a solution for this http://rajeshstutorials.blogspot.in/2012/02/import-csvexcel-data-mysql-database-php.html please help me
its has php code to import excel data into mysql
 
Hmm, I've been using lxr links quite a bit with line references, these are going to break over time right?
 
@tereško :/ please don't raise flaw ... n let me concentrate on current issue ... :P
 
now this is a scary comment
if you dont like my question dont post. This is for a project at work, I have no choice and have limited time. So just asking for a little help as this is last but of the web app that needs fixing. Rest of it works fine. — user1586899 3 mins ago
i mean , this guy actually get PAID ?!?
 
lolzzz found this one too : D:\servers\wamp\bin\php\php5.3.0
suddenly wild path apears :P
 
@tereško hi ... can you please help me...
 
8:57 AM
@tereško <div style="display:inline"> GENIUS!
 
@PeeHaa now this error apeears :( see below image
 
@Leigh Yes.
 
@Leigh I'll have a look at the change, when I get a few minutes.
 
@DextOr seems like the expected behavior
 
@salathe There's no real way around it though, when you want to reference a particular point in the source :/ - Maybe I should start using links to specific commits in github?
 
ok
 
@DextOr @Leigh @PeeHaa can u please help me
 
:P
 
@Goofy Ignored
 
9:00 AM
@Goofy Why are you pingin everyone. It only will get you on my ignore list
You should start be reading the room description at the right side of the screen
 
@Goofy It will useful if you throw me your prob
 
@DextOr i am using this code rajeshstutorials.blogspot.in/2012/02/… to import data from excel to database using php but its not working ...
please help me
 
@Leigh yep, that's why I went with git.php.net and a commit sha
 
@Goofy Just use a excel app to export data to database of you want
I can tell you if you want
 
9:05 AM
@DextOr thanks but i madatoraly need to write the code for it...
 
@Goofy pleaze wait I am sending you my code
 
@salathe Seems rather long winded to get there too (unless I'm doing it wrong), browse to file, go to history, go back to file via last commit, go to line. - Maybe just a link to a file in a release branch would suffice?
 
E_DOES_NOT_WORKS
 
@DextOr ok...
 
@Leigh In reality, the URLs will change anyway (e.g. we've moved the source browsing software many times).
 
@Goofy Try this code pastie.org/4520489
 
@DextOr ok ...
 
Please, don't use mysql_* functions to write new code. They are no longer maintained and the community has begun deprecation process. See the red box? Instead you should learn about prepared statements and use either PDO or MySQLi. If you can't decide which, this article will help you. If you pick PDO, here is good tutorial.
 
Yay SQL Injection
 
So weird when 2 out of the last 4 people to say something are on the ignore list.
 
9:16 AM
=/ how did i end up on it ...
 
@Leigh it turns out, those other SplObjectStorage alias pages are documented incorrectly. For aliases we simply have a page pointing to the aliased method. I'll look in to fixing all of them.
 
@tereško why would people pay that guy when they could just get a developer to make them a site.
 
@tereško You didn't :D - You've come close after some of your rage-rants, but your talk of beer makes me forgive you
 
@Will you are aware that that your statement had no context , don't you ..
 
@tereško about the link you just posted. lol
 
9:19 AM
@Will You replied to the wrong line in chat.
 
<= posted ~10 links in past 30 minutes
 
25 mins ago, by tereško
i mean , this guy actually get PAID ?!?
context
 
^_^ fun fun fun
 
@leigh oops
my bad
 
@DextOr its not doing anything... i mean wen gave the path of csv file and click on submit it just refreshes the page...
 
9:23 AM
@Goofy ok let me try...... have you entered you created the connection success fully !!!! ?
 
@DextOr i have created a Db and a table... how to check connection is successful?
 
wait
 
@Goofy , phpmyadmin has ability to import data from excel
 
@salathe god damnit, it actually puts my email in there :(
 
9:28 AM
@tereško yes but i need to write a php code to select the csv file and import in php
 
then do it
what is the problem ?
step 1 : create a script which reads the file and outputs each line
 
step 2 : make php to insert each of those lines in mysql database
 
@Goofy have you replaced "testing" with the name of your "Data_base_name"
 
@DextOr yes i have done that
 
@Goofy have you replaced line 18 $sql = "INSERT into tbl_name(Title, AscNo,)values('$Title','$ascno')"; with your table data ?
 
@hakra Hey, thanks, that brought this very helpful comment to my attention.
@user1527354: No. publicsuffix.orgSLaks yesterday
 
@hakra most of questions then can be closed as "too localozed". They mostly are just "here is my code, make it work"
 
@Leigh I've never had a problem with gmail's spam filters.
 
@DextOr yes with this ...INSERT into sample(name, id)values('$Title','$ascno')";
 
9:35 AM
@salathe That's not the point. I just don't like people being able to contact me without my explicit consent :)
 
@Leigh fair enough, good luck with that.
 
Also it provides a way for people to track my online activities. Why have an anonymous login and then include non-anonymous info
 
ok @Goofy insert this code echo $filename."<br>"; on line 12 and let me know what appears after submit ... and also tell me the extension of file you are using
 
@DextOr ok...
 
9:37 AM
@Leigh it's only "anonymous" in the sense that the PHP authentication system doesn't know who you are... it's not meant to be actually anonymous.
 
@deceze Yes, that why I'd like to see the dupes removed.
 
@Leigh next time, add a note to the patch log message asking the committer to remove the email address... or provide an incorrect address. ;)
 
@DextOr u got the link?
 
yup
 
9:40 AM
@DextOr just give some invalid file format u wil come toknow wt will hapen ... its just refreshing...
 
@Goofy lolz.......... can you show me whole code on pastie.org ?
 
hi all
@Go
 
@DextOr ok...
 
@Goofy hi, I belive u have tasted Symfony php in Netbeans.
 
@DextOr pastie.org/4520596 please check this..
 
9:44 AM
k
 
@AbelJojo sorry i didnt get you...
 
Should i have to create a manual directory of jobeet even i use Netbeans
@Goofy
 
@Goofy I thing this file is placed on wrong place os directory
 
@DextOr u mean?
 
@Goofy I don't know the reason why its not working... its not even showing any error or smthing else... there may be many factor ...... code is correct and working fine on my side
 
9:52 AM
@DextOr thats what even i am thinking... no error also... any suggesstions?
 
@Goofy are you using WAMP ? OR what is directory structure or folder name where you placed this file
 
@DextOr i tried placing both on server as weel as wamp ... IN WAMP i have placed this inside www folder...
 
ok
 
Ok .. that's it , i can take it anymore. You both go to the ignore list.
 
@DextOr its working now...
 
9:56 AM
@tereško You're late to the party.
 
@tereško i got it to work...
 
@tereško then try reading smthing else :P
 
@DextOr thanks a lot...
 
I was still hoping that they might be able to learn. But they have no intention to do it.
 
Loool. I only do not have Goofy on ignore looks pretty funny. Problem fixed now.
 
9:57 AM
Greetings. After recovering table in mysql by frm, MYD, MYI files I dont get all data which should be there. I tried repairing table, but unsuccessfully. But does repairing table will help to get all data?
 
@DanielsPitkevičs Smells like data-loss. You have a real backup?
 
Lemme guess , you were using MyISAM and the schema went tits-up ..
 
@hakra Backups are for girls, real men repair the files in a hex editor.
 
@Goofy try creatinng new file in www and try my code again : bye @tereško Breath In Peace
 
Pulling out the backups would be the best option. You can make a duplicate of your /var/db/mysql folder and keep working on it off-site
 
9:59 AM
@hakra Created this morning at 1AM, so should be real.
 
@DextOr thanks a lot now its working
 
@Leigh real men don't use backups , they cry (originated in hackers.lv some 8 years ago)
 
LOL
 
@tereško HAHAHAHAHAHAHAAH :D
xD
 
then duplicate the mysql folder and and import the backup
you can poke the broken DB when site is working again
 
10:01 AM
@tereško Already put those files inside test db, tables are shown, but data is not all.
 
@Goofy Good to hear that :)
 
you might have backed up the DB when it was already in ashes
did you try an older version
also .. how exactly did you preform the backup and restore operation ?
 
I've noticed it's quite interesting how the bounty list works. I wrote an answer around a week ago, and it got no real attention. As the bounty time counted down and the question climbed up the list, I started getting a few upvotes. Now it's a the top of the list and I got 7 upvotes today already... I guess there's a lot of people who only look at the bounty list.
 
@tereško Actually, my colleague deleted two rows by mistake and I need to recover that. He deleted today at 9AM so backup should be with correct data. And in backup should be much more data than till year 2005 :D
 
oh . that sounds like fun
not
 
10:05 AM
@tereško I dont perform backup, that system was made by previous programmer. Anyway, I suppose there should be all data, because in 2GB when compressed cannot be just 600rows.
 
have you tried to import the backup on a different machine ?
or in a different DB at least
 
@tereško Hmm, I could try on a different db, on other servers I won't have access to create a database.
 
@Leigh disk editor. disk editor, sorting sectors by hand.
 
the first thing you need to do is verify that data is actually there
and you need to do it without messing with the live system
 
@hakra I've done that before, when a motherboard died and I had to recover data from a RAID. Hand multiplexing data is not fun.
 
10:09 AM
I don't write it for fun :) Well, a bit probably. But needing to do that is not fun, at least not for that person who "owns" the data.
reboot brb
 
@tereško Does the name "MVC3" bother you? It makes it looks like MVC is a standard with a version... it bothers me.
 
it's like calling IE as "the internet"
sometimes i think that MS marketing department is filled with retards
 
Urgh, my grandparents do that. "We click this to open the internet"
 
Sem
10:17 AM
@Leigh MVC3 isn't MVC v3? :/
 
@Leigh no think why there is "SQL Server", "Internet Explorer" and "ASP.NET MVC"
 
@PeeHaa haha, closing as a duplicate of his own closed question :D +1 for IAP
 
Aw, I thought I got delete votes at 5k :(
 
Is it 10k?
 
10:26 AM
Yes it's 10
 
@tereško How can I check whether there is all data without database? By size, there should be all rows.
 
you could sum or concat+md5 all values and see if the total matches
but that's the best i can come up with
 
@tereško Ok, ill try. Thank You
 
alternatively you would have to manually open the backup and check random values
basically , there is no way to make sure
 
11:08 AM
I don’t have enough chips for my dip, but if I open another packet of chips, I won’t have enough dip for my chips. #firstworldproblems
(1:07:56 PM) Anil Kumar Panigrahi: HI
(1:08:41 PM) dejan.marjanovic@gmail.com/9D5C69EB: Hi
(1:09:10 PM) Anil Kumar Panigrahi: I have small issue in styles.
(1:09:20 PM) Anil Kumar Panigrahi: can you solve it to me
(1:09:32 PM) Anil Kumar Panigrahi: for mac and windows
(1:09:52 PM) dejan.marjanovic@gmail.com/9D5C69EB: for mac it is 100$ per hour, and for windows it is 60$ per hour
am I a bad person ;D?
 
@webarto Yep, because your pricing model is backwards
 
(1:10:36 PM) Anil Kumar Panigrahi: thank you.
aaaand he is gone :D
 
Sem
@webarto Any hate towards macs is appreciated.
 
still don't know what does CSS have to do with OS :P
 
@webarto Any hate towards Macs is entirely uncalled for.
 
11:12 AM
@deceze No, it's called for, it's just not as bad as windows.
 
I ♥ Linux (Debian, 19th birthday btw)
 
Let the OS flamewars begin!
 
OpenBSD is clearly the future.
 
unleash the rage!1!1
 
BeOS FTW!
 
11:14 AM
Windows 8 FTW
 
^ ROFL
Good one.
AmigaOS FT-- Aaaaaaaand it's gone.
 
Windows 8 does look like BeOS... so it means they are only 15 years behind
 
@deceze Workbench was awesome
 
C'mon everybody knows that Windows 7 rocks
 
/me reading SQL antipatterns on Kindle, can't fit screen width #firstworldproblems
 
11:16 AM
0
Q: In mail() function, 'From:' displays only the first world

Radu AndreiI have this code, that is supposed to send a mail to an address. The problems is: in the header i'm supposed to get the name like "Bob Marley" for instance, but it says "(unknown sender)" if the name is greater then one word. If the name is exactly one word, it works. If i concatenate the $_POST[...

#firstworldproblems
 
#secondthirdworldproblems
 
Sem
@deceze @webarto OS problems === world problems?
 
@Sem ???
 
4 Macs on table, can't decide which one to use today.
 
Sem
@webarto Burn it... burn them all!
 
11:20 AM
Silence you, you are the (from) first world :D With fire? ;D
 
Sem
@deceze OS flamewar === OS problem === world problem, cause my OS is my world..
 
@webarto #firstworldproblems?
 
can't decide which car to drive today, both match my outfit. #fwp
 
Can't concentrate on coding, too many kittens on teh intarwebs. #fwp
 
my new car ... @deceze do you recognize this rare species? :D
 
Sem
11:25 AM
The biggest first world problem is procrastination.
 
^^
@sem soo true
 
This chatroom is full of first world people.
 
Sem
@webarto aka lazy people :D
 
stackoverflow.com/questions/11985927/… haha someone reverted to world.
@Sem take a look at this car... I paid 1000€ for it, I invest 1000€ more and my time... and I sell for 5000€ somewhere near you... that is how world works... lazy people with money pay... or if you don't have time and you have money, you pay... time is money...
 
11:36 AM
How Data flows in a MVC modle like one used by cakePHP
 
Sem
@webarto Can't see your car because of my chinese firewall at work (Forbidden Category "Advertisement"). And of course, what about developers? We eat out of our nose 50% of the time at work. And we abuse the ignorance of our managers/customers.
 
@Lusitanian yes it is see here book.cakephp.org/2.0/en/index.html
 
@DextOr I don't care if they call it MVC or say it's Douglas Adams reincarnated.
CakePHP does not follow the MVC arch
 
CakePHP is not MVC : BUT my point is how it Works ?
 
11:40 AM
How does what about it work?
 
@Sem i.minus.com/ihUPyC2Tdum6o.jpg my rickshaw.. I don't know about you (as a developer) but I have to work you know, 3 world and everything :P
 
Sem
@webarto Hope to get one just like that in a year or so :)
 
hello! what did I miss?
 
@DextOr Cake is MVC nominally, but its structure really sucks big time.
Any specific thing I could tell you in detail about how much it sucks? :)
@webarto Seen one once or twice in my life...
 
@deceze even I think so :P .....
 
11:50 AM
@decereé , no , really , it isn't .. there is no model and there is no view
only active record and templates
 
@tereško Wow, you haven't closed the chat window in a while, did you? :)
 
huh ?
 
Name change...
 
i keep SO chat as pinned tab , and opera has pretty aggressive caching system
 
Cake can be made to behave more like a real MVC, but the default is really trying to push the logic into the controller, which sucks. You can make your models fat and your views more intelligent, but it's really an uphill battle. Which is why Cake sucks.
@tereško Oh, you are that one Opera user! ;D
 
11:54 AM
actually we have 3 opera users in this channel
 
head explodes
 
one is hakra , but other i can never remember
 
@deceze in Bosnia every % 2 is Golf 2 :D @Sem you can get a discount :P G60
 
Sem
@webarto Talking about cars->electronicCars->batterys->innovativeShat( english.yonhapnews.co.kr/techscience/2012/08/13/8/… )
 
Don't really know why, but I keep sticking with Safari. :)
 
11:56 AM
@deceze , here is something for you to think about : every noob now is using chrome
 
@tereško So, /me elite? :3
 
I use opera at the moment, I got fed up with firefox crashing 5 times a day
 
Chrome is the new Firefox is the new IE is the new Netscape
 
Sem
@deceze I use opera as well :)
 
It's hard to pick the lesser of all the evils when it comes to browsers.
 
11:57 AM
@deceze , no , it just means that you made a choice to use that browser
 
FireFox has gone downhill, Opera was never good, Chrome is Google spyware, and IE is just non-compliant.
 
most of people don't choose that , but they are the one who are always the loudest proponents
 
@Leigh Nothing about Safari?
 
@deceze Not worth mentioning
 
Sem
11:58 AM
@webarto Okey maybe you're to lazy to read this time. It's about a new type of battery material that charges up to 120 times faster.
 
@Leigh Alriiiiight. I'm sooo underdog. 8-)
 
@Sem Asians, nuff said
 

« first day (670 days earlier)      last day (4294 days later) »