« first day (644 days earlier)      last day (4301 days later) » 
00:00 - 19:0019:00 - 00:00

7:01 PM
@tereško Meh, I'm actually fine with XAMPP on my development environment
It just works, and I don't need to sweat about it
 
@tereško thanks a lot :)
 
@NokImchen You are but only up to the point when you start to develop PHP on linux. At least that was it for me :) And Win XP support for PHP will be removed in the next version as it looks like :/
<--- old windows user.
 
Oh yeah, anyone could recommend a good VM ware for me to install linux on?
I'm currently running W7x64
 
i use virtualbox
 
7:04 PM
@hakre oh, i think somebody have to do something to make the version work on win xp. cos i love win xp.!!
 
i had to fix one XP box few month ago ... it's dreadful
 
I won't sing love-songs as well. I really destroyed something in my winxp box some weeks ago and it's the first time I'm not able to find a fix.
Also a very negative point with windows is, that it does not ship with a compiler.
 
hey, guys, i wanted to ask something
can we use multiple proxy in cURL?
like source-->proxy1-->proxy2-->destinaton?
i've asked this question before and d solution was tor only.
is it possible to achieve without using tor?
 
7:24 PM
@Truth , which tool for VMs is of a lesser importance .. your distro choice would have more extensive impact
 
@tereško I was thinking of 2.6x64
 
distro , not kernel version
 
It's seems like virtualbox offers it natively
oh
Well, I'm no linux expert, which do you have in mind?
(p.s. should I go with 64/32bit? Does it make a difference when running PHP?
 
it does not make a difference
but i think you are looking at the wrong thing now
i suspect that you clicked "VirtualBox 4.1.18 for Linux hosts" link
 
@tereško No, I clicked the windows host
I am running windows after all
 
7:29 PM
oh
 
I'm not THAT clueless :)
 
the 2.6x64 comment got me worried there
 
@tereško Nah, I'm already setting up a vb
I'm at the wizard
 
in my experience , 32bit virtualizations work better (which means to you install a 32 bit version of NIX)
 
Alright
Virtual Hard Disk
 
7:31 PM
choose the default one
size 5-8 GB should be enough , if you are not installing GUI
 
Alright
Gots 8GB space, 512MB ram
 
i have actually managed to set up a VM on 2GB space , but it required some magic
as for ram , IHMO, 128 would have been enough
its not like it will be used by anyone else
 
128 it is
 
@tereško Okay, now how do I install a distro on it?
 
7:38 PM
you start by choosing one
 
@tereško Guess I am that clueless :D I don't know any
 
this might help : distrowatch.com
on the left panel you will see a TOP of most popular linux and bsd distros
 
@tereško That site hurts my eyes
Mint or Ubuntu?
 
Mint and Ubuntu both are desktop oriented distributions
and that site was made in 2001 ( think it is quite good for that time ) .. noone has bothered to update the design
 
@tereško Guess so, so which would you take for a development environment?
if Mint and Ubuntu are both desktop oriented,
I probably need something more CLI oriented, with minimal to no GUI
 
7:48 PM
bad question , you are asking for a personal preference =P i am a FreeBSD user , which is not even linux
from that top (doing down the list), server oriented distros are : Debian, Arch, CentOS, FreeBSD, Slackware, Gentoo .. and then it gets in the minor distributions which i am not sure about
 
Alright than, Debian it is :D
Once I've downloaded that ISO
How can I inject it into the VB?
@tereško
 
in the preferences of the virual machine which you created
i thin , it was under "drives" or something
you will be able to mount the iso on the cd/dvd rom
 
Oh found it
Let's see
Install or Graphical Install?
If I do Graphical Install, I can still choose to run a CLI interface only on boot right?
@tereško
 
i am not familiar with debian's setup , last time i used was 5+ years ago
just try
if something goes wrong you can allways jsut remove the VM and start from scratch
i ofcourse would use CLI interface , but tat this point i cannot tell what would that do or dont
btw , there should be youtube tutorials for doing this
 
8:10 PM
@tereško Probably :)
Let's just flow with it and see where it goes
Like you said, I can easily delete it and start from scratch
 
Tim
8:35 PM
hey guys, does anyone here know much about cakephp?
 
@Tim , too much for your own good
as a side not : IT'S ALIVE !!! .. there was a progress on my gitlab installation
at this pace , i will be finished by next wednesday
 
Tim
@tereško, enough to want to spare 5 mins? ;_ ;
 
not really
if you are looking for people with a positive view on cake , you should go to http://webchat.freenode.net/?channels=cakephp
 
8:50 PM
Jo
 
Tim
@tereško thanks. not your framework of choice then? :)
 
i think cakephp and codeigniter are two of the worst php frameworks , @Tim , so yes , you could say that i am not a fan , thought it has nothing to do with it .. i just think they both are filled with bad practices and their interpretation of MVC is a joke
 
@webarto Aye, thanks
Currently installing, I told it to install "Web Server" and "SQL Server" too
 
9:02 PM
cool, then just do later, apt-get install php5-*
or use Synaptic package manager for convenience
 
Let's just finish installing it first :D
 
@Truth wtf, even nearly the same time. what a spammer.
 
no worries, it will go smooth, smart installer it is.
 
@hakre I was like, "wait, I answered this question, where's my answer?!"
@webarto Gots error
 
wuts teh error
 
9:04 PM
FATAL: webarto must not be right
:P
 
Tim
0
Q: cakephp custom/manual auth

TimI'm within a controller that isn't the UserController. I perform a custom query to get the userdata from the users table and then log in with that data. $this->Auth->login($isUser["User"]); (This information doesn't contain a password, is that an issue?) When the controller's view loads...

 
@Truth just look at my shirt! :P (logo)
 
@hakre Isn't my answer on the original question correct?
0
A: Basic OOP architecture about an application with a single point of entry - PHP?

TruthIf you're talking about global application settings (Which I think you are), just use constants. They're global, but cannot be changed, and they are easy to write and use.

 
Well, you should not ask me. I am not a fan of using constants for configuration values. Only true constants should be constant. Not something that can be changed. Configuration especially is something that can be changed, it's true nature is change, hence configuration.
 
I got this little script to make, it needs to check about 100 URL's at a time, batch way. Ok, I'll use curl_multi_*, but on the right of each URL there should be progress bar which is updated via *ajax*... and that means 100 HTTP requests(?)... and I was like...
(ノ゜-゜)ノ ︵ ┬──┬
 
9:09 PM
@hakre By global configuration I mean things like application paths, system folders, etc
Not stuff like site title, or page names
(ノ゜-゜)ノ ︵ ┬──┬
Where can I copy that from? :D @webarto
(I mean quickly, on an everyday use)
 
I have a hotkey for that :P
 
@webarto Really? How?
Plugin?
Stack Overflow Chat replier‬ 0.11?
 
hahahaha
my keyboard is broken, so I had to remap lots of keys
clean keyboard with cleaning fluid they said, it will vaporize, they said
I have to learn how to make browser plugins
...
echo str_repeat(' ', 1024);
is there a way to bypass this s* when outputting to browser without buffering
some say you can send bigger header and it would work, does not work...
nevermind
 
This s*** is awesome
☻\˚ㄥ˚(ノ゜-゜)ノ ︵ ┬──┬
 
I have exactly the same
last three digits on license plate
(ノ゜-゜)ノ ︵ ┬──┬
 
9:22 PM
@Truth System folders are available via PHP functions, application paths are relative paths, so you should not need to use constants for those (apart from probably DIR which is available directly)
 
@webarto In Israel, cars only have numbers in their licence plates (no letters)
I've seen one with 55-555-55 and 77-777-77
 
but it's late, too late. damn.
 
@Truth that with all 7 is some lucky bastard :) cazino777.eu/777.jpg
 
@webarto Best one I've seen is 11-100-10
:)
 
I could have had T10-T-010, but it was 500€, no thanks.
 
9:26 PM
@webarto 2FST4U
 
we don't have custom plates :(
 
@webarto IBADA55
 
BG * PHP :P
but that is 800€/per year, lol
you can buy a car for that
 
lol?
What's he suspended for?
 
col shrapnel ... mods don't like him, heh
 
guys, who know Regex syntax please, take a look: superuser.com/questions/451927/notepad-regex-issue
 
why the quotes?
^([0-9]+)\:\s
 
@Truth He is regularly suspended ;)
 
make sure it is Npp 6+ @TuralTeyyuboglu
 
@webarto thx mate
@webarto it is
 
9:41 PM
For some reason, before I destroyed it, npp constantly gave me errors upon exit
 
errors love you :P
 
I eventually killed it and installed a newer version, but still same errors
That's when I decided that Sublime Text was a better editor
Shame it doesn't display Hebrew well :(
 
Only thing I miss on Linux is Npp ... is it not Unicode or it is something else?
 
hmm ... something is starting to actually function
 
Well, that's when I retire
gn folks
 
10:17 PM
night @Truth
 
10:30 PM
> note2self: "You are dumb. You are gonna die and leave a dumb corpse."
let's hope i get to use it in a conversation
 
@Truth .
 
11:30 PM
@Truth He suspended for suspending too often probably :) gn8
@Truth And no need to close that one IMHO.
 
11:47 PM
head desk because of being tired. now off to bed.
gn8 all :)
 
00:00 - 19:0019:00 - 00:00

« first day (644 days earlier)      last day (4301 days later) »