« first day (661 days earlier)      last day (4284 days later) » 

2:00 PM
@hakre ... idea. Can you do $d = new Tidy; ob_start(array($d, 'parseString'));
 
@HarryBeasant try socket_set_block($sock)
 
Just above $succ?
Or at the top?
 
great. getting something from wincache is just as expensive as calculating it
damn you microsoft
 
@HarryBeasant below socket_create, RTFM...
 
2:04 PM
Sorry, i'm not sure where it would go
 
Yep, put it there
No reply
Also disabled antivirus etc
 
@ircmaxell Uhm...
One could say that I did not start yet :P
 
so you're doing well
is there a jquery rfc plugin?
 
@hakre are you on XP?
 
2:13 PM
@NikiC Well, I'm waiting to put the password hashing RFC to vote until that's at least proposed :-P
 
@ircmaxell oh
so you're saying that I should hurry?
 
Not hurry, just don't forget about ;-)
 
@Leigh I will take a look.
@webarto for that windows stuff, yes.
 
what else for :P
@hakre
 
I think I'll change a few passwords now
Using the same one everywhere isn't so nice after all
 
2:26 PM
lol
 
I used regex, and then I forgot it :D
nice program, this
 
in particular I feel like i should have at least a different password for gmail
 
Sem
@ircmaxell Hey sir, any posibilities on answering my question in private room? Last time asking :P
 
Select Case Int(Rnd * 5)
    Case 0:
        Caption = "Gimme cr&ackers"
    Case 1:
        Caption = "Power of the &Atom"
    Case 2:
        Caption = "I am the H&ashkiller!"
    Case 3:
        ' cmdGo(0).Caption = "Ich will einen H&ash erhaschen..."
        Caption = "I want to catch a h&ash ..."
    Case 4:
        'cmdGo(0).Caption = "H&ash mich, ich bin ein Digest"
        Caption = "H&ash me, I'm a digest."
End Select
:D
 
I used to use 4 passwords, a high priority (mail, banks, etc). A mid priority (SCM, etc). A low priority (forums, etc) and a No priority (other sites I literally don't trust)
 
2:29 PM
@NikiC 2way auth, but that can also be unhandy sometimes... (your phone is dead)
 
@ircmaxell And now?
 
@Sem Dude, relax. If I wanted to respond, I would have. chat.stackoverflow.com/rooms/14805/room-for-sem-and-ircmaxell
@NikiC separate passwords for all but the no priority, and using a hardware token with a 512bit key for padding to those separate passwords (well, the majority of them)
 
Sem
@ircmaxell Nvm then :)
 
@ircmaxell how do you manage the pws?
 
I've done a few things
I used to use LastPass, but gave up on it...
 
2:31 PM
<-- lastpass.com with randomly generated password for everything + 2 factor auth using Google Authenticator app for iPhone. :)
@ircmaxell Why's that?
 
Now, I use a passwordcard.org/en (not that exact model, but a modification that I made off it)
 
(making myself password manager in VB6 LOL)
 
@ircmaxell I have KeyPass installed locally which I mainly use for TrueCrypt archives, but I feel like this would be inconvenient for web services because you have to always have the kdb around
 
yeah. which is a pita, especially when you have multiple devices
which is where that key fob comes in handy
 
google.com wow... just wow...
 
2:35 PM
@webarto is it sad that I couldn't jump a single one?
nm
 
you have to press L and R repeatedly for it to speed up and then space to jump :)
 
yeah, I just wasn't trying the arrow keys fast enough because I'm at work lmao
 
@ircmaxell Everything so complicated ^^
 
@NikiC Yubikey is actually pretty nice
I was looking at implementing an auth server for one of our products here
If you order enough, they'll do custom branded Yubikeys
 
I'm not even using the OATH one time password component of it
I'm just using the key storage feature...
 
2:40 PM
@ircmaxell What was your issue with lastpass?
 
I ran into issues with it.
 
Sem
@ircmaxell About the garbage in, gold out article. Can you name any other examples beside syntax correction or spelling correction?
 
what bothers me a bit is providing all my passwords to a single service provider
 
that too
 
I just do the 4th panel, with some numbers mixed in
 
2:43 PM
@Event_Horizon Seems plausible, but that definitely needs harder data to back up ;)
Because when talking about stochastics one should never go by just plausible
 
@Event_Horizon 50 days for a non-iterated SHA256 hash on a single GPU... For a $10k farm, 2.5 days...
 
@webarto thx for testing, looks good.
 
I've been using the 4th panel along with substitutions, capitalization, and adding something per website
 
@hakre I agree :) no problemo
 
I wouldn't JUST do the 4th panel, that would be too easy
I mean have you guys played Uplink?
 
2:46 PM
@webarto yeah, some easter egg.
 
The one issue that I have with that XKCD comic is that it's talking about Shannon Entropy in the password, as opposed to guessing entropy
and it also makes no mention towards the difference between "random" in this context and the way humans pick random words. If it's random as in a computer generated it, yes. If it's random in that humans picked it, not by a long shot
 
I would say "Correct Horse Battery Staple" is pretty random lmao
@ircmaxell How many guesses do you think it would take to crack a password like that?
 
@Event_Horizon depends. People only know about 60,000 words with only 17000 of them being bases (root words)
 
@ircmaxell does HASH_OF(zval) turn the array into a hash table (given that the zval is an array)
 
Now, without the hard numbers, we can roughly assume that each base has about 3.5 derivations.
@Leigh look it up ;-) lxr.php.net
 
Sem
2:54 PM
@ircmaxell heh, I know I deserve some ignorance but I apologized man :/
 
@ircmaxell here's the problem with what you are saying: the guesser is completely blind to what your passwords look like
 
@ircmaxell I'm looking at it, it's macro upon macro, thought it'd be quicker to ask
 
he doesn't know if it's something like: 2309rj90DF#4$
or correct battery horse stable
 
therefore, the base entropy would be about 17000 * 3.5 * 1699 * 3.5 * 1698 * 3.5 * 1697 * 3.5, or about 1.2 * 10^16
 
so he doesn't know to use a dictionary, the space character, and nothing else
 
2:55 PM
@ircmaxell So if you limited every password to 30 guesses it would be safe to say its not getting cracked IF its a 4 word phrase for a pass?
 
However, and my original point stands, there's a difference between computer generated randomness and person generated randomness
if a computer generated swimmer hamster boat, swimmers has a equal chance of coming next, But a person won't pick swimmers next
 
People will still use password password password password
 
therefore, there's bias in the words that people would pick if they chose them at random
and if there's bias, the entropy is decreased...
 
@SomeKittens those people deserve getting data lost
 
@ircmaxell it is, but the attacker is still blind to the user's password preferences
 
2:57 PM
Now, compare that to a 10 character a-zA-Z0-9-.,?></:";'{}[]_=+!@#$%^&*()- password
 
therefore, it doesn't matter significantly in practice
 
@Lusitanian If they assume no word shows up twice it decreases the amount of guesses significantly, I can see his point.
 
there's 93 characters per position. Therefore, the entropy is 93 ^ 10, or 4.8 x 10^19. Or 4000 times the entropy of the word based password
 
@Event_Horizon meh...i understand that well enough but i think that as a whole, his argument seems slightly flawed. it becamse seriously important if the attacker has one of your passwords to a different site and has insight into what your pws look like
 
@ircmaxell Which is why phrase acronym substitution and a unique identifier per site would be best. IE my phrase is "Correct Horse Battery Staple" so I change it to "c4B5s0C4"
which stands for Correct Horse Battery Staple Stack Overflow Chat
 
3:03 PM
@Event_Horizon optimal password = using an entire sentence with punctuation and spaces, maybe a number thrown in for good measure
 
well... except that's 8 characters... a-zA-Z0-9, which is 62, 62^8, 2.0 x 10^14... Which is less entropy then the original phrase.
 
just sayin'
 
@ircmaxell right, its just an example, didn't feel like writing the whole phrase and substitution for correct horse battery staple out
 
actually, my original estimate was off
it's 17,000 roots, at a 1.6 root to derived ratio. Therefore, it's not 1.2 x 10^16, it's 5.4 x 10^14...
 
what date format is this Mon Jul 30 19:40:03 +0000 2012
 
3:07 PM
so the 10 character number and symbols would have 100,000 times then entropy (that's 5 orders of magnitude...
 
can it be parsed to Y-m-d H:i:s
?
 
should be able, looks like Day Month Date H:M:S GMT Year
@ircmaxell So what do you think the best rules for making a memorable pass would be?
 
hey all, i want to make a db class where i can just send parameters to it for instance db->insert(), is this a good design idea and where can i find examples of how to do this
 
@Event_Horizon if it's memorable, it's likely going to be flawed...
which is why a concept like passwordcard.org/en is good
 
@grasshopper This is sometimes called Database Abstraction.. there's tons of examples and implementations
 
3:19 PM
@ircmaxell never seen that before, very interesting
not that i trust their website
 
I'm not saying to trust their site. which is why I didn't say that was good, but the concept is
 
i recognize that. it's a very good idea though
he has the source code relaesed though
 
@ircmaxell I don't get it, what are you supposed to do with the card?
 
read the instructions
 
3:23 PM
I did, still not getting it XD
 
@Truth basically, you put it in your wallet and choose a direction for your passwords
so you can go right to left diagonally down the card and use that for one site, etc
choosing different starting points for each site
then, even if someone steals your wallet, they have no idea which directions your pws go and what is for what site
 
@Lusitanian Ah, I see, looks nice
I prefer to remember my passwords thogh
 
@grasshopper So long as you understand prepared statements and how they help security. PDO already abstracts the way you can interact with a database, I guess you know of PDO already?
 
I generally remember a very easy passowrd (for instance, if the password is for bank, I'll remember something like the_bank), then hash it with MD5 and create the longest possible password from there.
 
@Truth Who do you bank with?
 
3:26 PM
@MikeB lol he's coming for your monies
 
@MikeB You know the thing with examples?
They're never the same as production..?
 
@paul yes im working with pdo, im just looking to make one wrapper class so I dont have to put pdo code on each page
 
Tim
Can anybody suggest a good host for an android app's backend (preferably written in PHP and using an SQL database)?
 
amazon ec2 @Tim
 
3:28 PM
@Tim I'm using Zymic for my websites, they're good and support is reliable, even though they're free.
Make sure their ToS allows for applications though
 
ec2 micro instance is free for a year, gives you mucho more control
 
Tim
Yeah it's hard to find hosts that allow for apps, because the android app usage is different to a websites - lots more little requests
I'll check those out, although I've tried using amazon web services before without much luck (it confuses me!)
 
0
A: Detecting use of register globals

NikiCA small script I just hacked together to detect simple undefined variables. You'll need PHP-Parser for this: <?php error_reporting(E_ALL); // directory to scan (.php files) $dir = './foo'; require_once './lib/bootstrap.php'; class UndefinedVariableVisitor extends PHPParser_NodeVisitorAbst...

 
3:44 PM
@tereško: Do not forget to place the bounty :) - stackoverflow.com/q/11629179/367456
 
@hakre , was that an acceptable answer ?
 
I wouldn't use the tidy handler at all if that's the case. Just build a generic library which hooks into tidy, and use that as your custom callback...
 
: anyone here good at color manipulation? stackoverflow.com/q/11849308/561731
:-\
 
user895378
Yep. Red socks go with blue socks.
 
@rdlowrey :-P
 
user895378
3:50 PM
I'm so good at this color thing :)
 
...
 
so... db abstraction and wrapper classes, should i try to code my own or try to learn doctrines libraries, which do you use your own wrapper class or a some other?
 
@grasshopper , you should keep your distance from ORMs whenever it is possible
also , Doctrine is not a DB abstraction. If you want to see a real DB abstraction , look at PDO
 
@tereško wth...
 
mmm, then how should i do this i want to simply call something like db->insert($someparams) in my scripts
and keep my my pdo stuff on one page without it cluttering other pages, whats the best method to achieve this?
 
3:56 PM
@Neal , then again , i am not sure how it is so different from seeing error_reporting(E_ALL & ~(E_STRICT|E_NOTICE)); at the opt of every php file
 
@tereško maybe...
 
@grasshopper , i would recommend to use data mappers for that
 
@tereško Yes, it's the best answer one can imagine.
 
$object = new FooDomainObject;
$mapper = new FooDataMapper;

$object->setId( $id );
$mapper->fetch( $object );
if ( $object->isValid() )
{
    $object->setStatus('Is OK');
}
$mapper->store( $object);
@grasshopper , something like this
 
@ircmaxell overhead.
 
4:00 PM
@hakre , mkey
 
damn well.. im a beginner, can you point me to a tutorial so i can wrap my brain around the data mappers concept...
plz
 
@grasshopper it's like this. each object is just that, an object. it has properties which you want to store. you pass it to your data mapper, which translates those properties into an INSERT query and then stores it
 
can you accept multiple answer in a question? and how?
 
that is hellacious
 
4:03 PM
therefore, your object knows nothing about SQL
 
@GeoPhoenix no.
 
@GeoPhoenix no you can't
 
guy got rappped
 
@grasshopper , i would recommend to start with watching vimeo.com/21173483 (slides here) , and then maybe going through the rest of lectures listed at the bottom of this answer
 
@hakre github.com/leight/php-src/commit/… - Runtime configuration for tidy module.. very basic, have one of the internals guys check it out before using it.
 
4:04 PM
@GeoPhoenix , you cannot
 
thanks for the guidance, going to study, then study... then hopefully one day code
k I'm out, take it easy
 
@ircmaxell Do you think a pass card similar to this would be secure? Passcard
 
> “yea i really am a nice guy idk why i do some of the things i do,” he told me via AIM. “idk my goal is to get it out there to other people so eventually every1 can over come hackers”
Script kiddie, not a hacker
 
@tereško thanks :)
 
@MikeB yeah, he didn't seem to break anything, seems more like it was just bad security on the sites parts mostly
 
4:07 PM
@MikeB more like social engineer, he exploited the security question differences between two corporations.
 
@gorelative this as well
 
@Event_Horizon looks interesting
 
used amazon to get last 4 of CC, then used apple to wipe the hardware and gain access to the twitter handle.
 
@Event_Horizon er, nvm.. I misunderstood what you wrote
 
<3 two factor auth
 
4:08 PM
guys. for the php tutorial I need a good example which I can use to explain user defined functions. It should contain return value(s), required parameter and optional parameters. It has to be simple and short yet a real life example would be best.
 
@MikeB Well that wasn't really script kiddyish, he just used the Find my Mac or whatever its called to wipe it
 
@hakre uh huh
 
@Event_Horizon needs more mt_rand
 
@Leigh sweet. shouldn't there already be the code to set an array because of tidy_load_config? I mean we could also pass the configuration as string so that there is more code-reuse.
 
@Event_Horizon no
 
4:09 PM
And maybe type hinting (not decided yet)
 
@Lusitanian yeah I always forget about mt_rand()
 
@PeeHaa function jquery(JQuery $jq) { echo 'iamgod'; }
 
@ircmaxell I think tidy ob handler can work chunk-based, whereas it's not possible if you call the functions, then you need to have one single buffer.
 
@Lusitanian You're not helping ;)
 
hehehehe
 
4:10 PM
@PeeHaa Validate 2 passwords are the same, with an option for case-sensitive comparison
 
where's your php tutorial?
 
@Lusitanian added mt_rand
 
@PeeHaa a function which creates excerpt from longer article ?
 
@hakre are you sure it's not buffering it?
 
4:11 PM
@ircmaxell let me check.
 
@MikeB That can be done in one statement without a user defined function
 
@ircmaxell why wouldn't you consider a card like that good for pass generation (also considering its variable in size), what would you change?
 
@Event_Horizon really should use openssl
 
@PeeHaa time difference function (between two stamps)?
 
@tereško I like it
 
4:13 PM
@hakre It's a very basic hack, I'm sure there's lots that can be done to improve it. For example I basically copy/pasted the options/array setting code from the class and re-used it.
 
especially since one of most popular "first project" picks is : blog
 
@orourkek abs($timestamp1 - $timestamp2)? :P
 
Q: is there a possibility that foreach(): endforeach; produce fatal errors (e.g. mess up variables passed to foreach) errors?
 
@PeeHaa more like something that returns '2 days ago' or 'in 2 days'
 
@tereško Yep. You never fail me :D
@orourkek ah right :P
 
4:14 PM
@Event_Horizon how it's built
rand(), etc
 
@orourkek DateTime::diff()
 
@PeeHaa Glad to see you working on it :)
 
@LeviMorrison have been a while. It's long overdue my friend
 
@webarto That's a needless reinvention of the wheel, methinks. Just use DateTime::diff . . .
 
4:16 PM
@LeviMorrison yeah, but that method doesn't auto-detect the closest unit of time
 
@PeeHaa Agreed. I'm waiting on some material from the UX designer before I do more on the website.
@orourkek That's mostly irrelevant . . .
 
@ircmaxell well I understand rand() isn't as random as it should be which is why I updated it to mt_rand() but in general you still don't think its random enough? I mean your just going to use a diagonal line or something the length you pick for a pass, it can't be too bad the bigger you make the card. Especially considering the person has to pretty much have your card to know what you picked.
 
@LeviMorrison I do, but I had to accept many formats, e.g. timestamps, DT objects, dates etc...
 
@LeviMorrison so "0.0007 years" is an appropriate statistic?
 
Been working on a new drop-in standard library.
@orourkek No, but YOU choose how it displays. If it's that close, you should definitely know and not use years . . .
 
4:17 PM
$interval = $end->diff($start);
 
i'm participating in a php open-source project with 5 other people for the last 3 months, made over 200commits, moved the roadmap 60% forward, and still can't see another member's contribution on the project, should this considered a failed project?
 
True enough, but as it's for a tutorial suite, rolling your own is perfectly acceptable
 
@GeoPhoenix Now I'm curious :) GitHub link please :D
 
@GeoPhoenix sounds more like a failure of one person to perform...
 
Is there a possibility that php.net/manual/en/control-structures.alternative-syntax.php are disabled or something?
 
4:19 PM
its private
 
@webarto no
Unless it's PHP3 :P
 
<?php
foreach($posts as $post)
{
    echo $post->sef_url(); // OK
}
?>
<? foreach($posts as $post): ?>
    <p><?=$post->sef_url()?></p>
<? endforeach; ?>
second one says method called on non object, or am I missing something
 
> Dirty little secrets about security questions. You forget them, or they're so obvious that they're useless.
troof
 
user895378
@webarto in the interest of anyone who ever reads your code, I hope you aren't using the alternative control structures anywhere except perhaps in a php template for max readability.
 
4:22 PM
@webarto short open tags???? yuck
 
@Lusitanian So much sweetness!
 
short open tags it is :) (wasn't on)
 
0
A: Generate colors between red and green for an input range

ircmaxellThere are two simple answers to this. Either generate the color on the fly using a span or div as the color place-holder, running it as Javascript. On JSFiddle (function($) { var bar = $('div.bar'), steps = bar.width(), half = steps / 2, inc = 256 / half; for (va...

 
@PeeHaa I like sami more than phpdoc just because its simpler
 
user895378
4:23 PM
I like source code more than docs just because it's simpler.
 
i'll turn it to public next month if don't see at least a single stupid comment on our redmine ..
 
I like coffee more than sourcecode because it tastes better
 
@rdlowrey don't make me paste you something :) no, I moved templates to "other" server, and nailed it was problem there, well short_open_tags specifically... I proposed to rewrite all templates to Mustache...
@PeeHaa editing code, moved from short_open_tags server to none (never experienced this because I haven't used it)
 
user895378
@webarto I thought short open tags could be enabled/disabled in php.ini -- but you shouldn't be using short open tags anyway.
 
@webarto your foreach just works. NEVER EVER use short open tags
 
4:26 PM
 
It tighly couples your current host/setup/server to your code :D
 
rewrite this, they said...
 
@GeoPhoenix Failed project management, perhaps. Failed project? Too early to say . . .
 
24h leading zero time regexp: /^(0\d|1\d|2[0-3]):[0-5]\d:[0-5]\d$/. Any improvement ideas?
 
@webarto :P
 
4:26 PM
@webarto Good GOD
 
@Leigh Language agnostic code smell I'd say ;)
 
@webarto Is the person responsible for that still on the job? If so take a gun with you tomorrow
 
head -b 1000 /dev/urandom > template.php would have a better chance of being readable than that
 
@hakre Plenty of code smell, I made it just for you :)
 
4:28 PM
@Leigh (need to censor myself niveau is getting down down down)
 
@GeoPhoenix Didn't you say it was open source?
 
@PeeHaa no, worked 3 months and got fired... not just because of this, but everything...
@ircmaxell something like that :D
 
@webarto Do you know where he/she lives? ;)
 
@webarto what code are they all referring to?
i see no code
):
 
I have a name and surname, but no info whatsoever :)
 
4:29 PM
@LeviMorrison yes its open-source, but the "project manager" decided to keep private until we have 1 alpha version to publish..
 
@Lusitanian I was like, my editor garbled text, oh no wait, this is really it, LOL
 
@webarto no i mean i literally don't see what you're talking about
it says "image not found"
 
@Lusitanian aham, I do get that a lot.... can you open this link pokit.org/get/img/5d47767cdd1f42b87e6dffc75cd1e5bc.png or this pokit.org/get/?5d47767cdd1f42b87e6dffc75cd1e5bc.png
 
no
neither
 
@Lusitanian ? :)
 
4:35 PM
WHAT IS THAT
@webarto that looks like brainfuck
 
I got undefined method, fatal error... and figured now it was because of short open tags... I've never used them before and couldn't figure it out it was because of them... yeah, pretty much...
 
hook in software is something that change the result of an action in software?
and triggers in software is something that happens when something occurs?
 
@webarto Short tags, Short tags everywhere
 
@ircmaxell just what I needed
 
4:54 PM
@ircmaxell very interesting
 
@ircmaxell good article
 
5:13 PM
0
Q: Send XML to another server via POST

SomeKittensI'm dealing with an incredibly bad API that requires me to send this XML: <?xml_version string(335) ""1.0" encoding="utf-16"?> <GetTicketAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <CompanyName>*name*</Compan...

 
user895378
@GeoPhoenix + @webarto If you guys are interested in seeing a mediator implementation for pluggablity, here's the one I use that accepts any valid callable as an event listener. You can inject an instance of Notifier into your object and start making your apps pluggable immediately.
 
@rdlowrey you're the man :)
 
@rdlowrey I feel like the API is a mix between mediator and linked list ;)
 
user895378
I just wanted to use an API that people would be familiar with :)
 
user895378
mostly everyone knows what push and shift mean for a doubly linked list
 
5:16 PM
yes, the api is familiar for Java devs ;)
but that wasn't what I meant
I meant that I'd rather split off that part of the API into a real linked list class
 
@NikiC Hey, I'm working on a normal linked list class . . .
 
or rather queue, not linked list
@LeviMorrison I know that ;)
 
user895378
Well, I wanted stack and queue behavior.
 
user895378
I want to be able to shove a listener into the front of the execution queue order ...
 
then indeed linked list ;)
 
user895378
5:19 PM
The actual API only serves to avoid LoD violations -- the outward push/shift/etc. methods just map to whatever the internal storage data structure is anyway.
 
user895378
That's why they're there.
 
user895378
That way people aren't doing things like $notifier->getQueue('eventName')->push($myListener)
 
user895378
Sure, I like stars, but did github really need to change the perfectly functional "Watch" setup? Are we going to get a Unicorn button next? Just because they can? There's a lot to be said for not over-designing an interface. I guess when you start adding more and more employees those employees actually have to come up with something to do all day.
 
user895378
5:36 PM
Exposing the internal data structure is bad news. It opens up the black box of how the class works and allows Law of Demeter Violations. That's why the Mediator API doesn't do that.
 
5:48 PM
@rdlowrey But duplicating the whole LL API seems like a bad thing to do too
 
user895378
@NikiC push, shift, unshift, pop. How else are you going to move listeners onto the front and back of the list? Doesn't seem excessive to me ... Although I do need to change the Mediator::keys to Mediator::getEvents
 
@decezito you back
 
@webarto Si
 
@rdlowrey push, pushAll, unshift, shift, pop, clear, count, all, first, last <- all those are basically the LL. Seems very excessive to me ;)
 
user895378
pushAll() is a shortcut method, not a duplicate. clear() is the only logical method name to remove items -- would you prefer clearAllListenersFromQueue($eventName)?. first()/last() are also the only logical names for the actions they provide. Just because the names apply to a data structure doesn't mean they aren't the best options for describing the actions.
 
user895378
5:53 PM
Adding gratuitous encodings like pushEvent is wholly unnecessary, especially considering the API is push($eventName, $listener) and clear($eventName)
 
does someone here has already worked with joomla?
 
user895378
@NikiC All that said, I'm fine if you disagree -- just know that I didn't just duplicate the API of a data structure willy-nilly without considering the options. It looks like it does because that is the most logical API to me :)
 
@OsnySantosNetto no
 
how can I get better at php?
 
14
Q: Do I need to use an interface when only one class will ever implement it?

Lamin SannehIsn't the whole point of an interface to for multiple classes to adhere to a set of rules and implementations?

 
5:58 PM
@bentham code until your eyes start to bleed
 
@webarto another advise? but what kind of projects??
 
@bentham I don't know, make a blog in PHP... and there are many bad tutorials so you'll end up learning it wrong way... dunno really, sorry..
 

« first day (661 days earlier)      last day (4284 days later) »