« first day (922 days earlier)      last day (4251 days later) » 

14:00
Start now
I'm new and i'm doing an internship, so it may be a little bit harsh/rude to do it now
(first week)
Ok, whatever
Ah It's really unfortunate that the tickets are soldout (DPC) "Code Review for Security (Anthony Ferrara) SOLD OUT"
@PeeHaa埽 are you attending the Dutch PHP Conference ?
There's a second one
we added it the other day
@ircmaxell any tip for me too
14:06
what's your issue?
@ircmaxell have you looked at the script ?
what script?
1
A: Check if a generated license is valid

BabaThis is tricky because a self authentication generators can easily be created if algorithm and salts are leaked. Try real time verification instead; Example $option = new CheckOption(); $option->name = "My Application"; // Application Name $option->version = 0.9; // Application Version $option->...

@ircmaxell Its not password but self authenticating serial number .. (Offline no database)
Ah right !
14:07
case function_exists("hash_pbkdf2") :
                $r = hash_pbkdf2('sha256', PHPSESSID, mt_rand(), 1, $length, false);
@ircmaxell lol
@ircmaxell that is just to generate a random value if mcrypt_create_iv does not exist .....
like I said,
@ircmaxell awaiting all your corrections :)
14:10
it's not close enough to sanity to warrant a correction
@ircmaxell deleting right away ...
@ircmaxell What else
lol
hmm
user895378
Happy Thursday all. Please enjoy this golden oldie:
user895378
this might sound dumb but where is the php.ini file in codeigniter? — Dylan Buth May 10 '12 at 22:39
Hello all!
@Baba just got back, reading now...
@kaᵠ Oh ... thanks
@kaᵠ what do you think .. can it be improved ? or do you have a better solution we can enjoy from ?
14:41
0
A: Check if a generated license is valid

ircmaxellThere are three basic ways of handling this. How you do it will depend on how many keys you're generating, and how important is may be to be able to invalidate keys at a later day. Which you choose is up to you. Option 1: Server Database Storage When the server generates a key (like using your ...

@ircmaxell + Very good ... i would update my answer so as not to mislead people ...
yours is security through obscurity at its best
@ircmaxell thanks ... i did not use mcrypt because OP wanted a 25 key structure ... totally ignored the implication of misinformation
@ircmaxell I should put a bounty to this ... I like it thanks ......
ok.. is this stackoverflow.com/a/16215389/731947 good for a 'low-quality' flag? the flag description doesn't help here... and i can't do 'not-an-answer' again :P
@kaᵠ not sure...
14:53
yeah
asking because of this debate: meta.stackoverflow.com/q/177877/161180
now.. onto reading IT stuff in fresh air, man i love spring :)
SHA1 ALL THE THINGS!
@Baba not sure what to say, but @ircmaxell outlined some nice options and explained them very well. Personally I'd go with @ircmaxell's 1+(2 or 3) and if it can't be stored then (2 or 3)+(a lot more security thru obscurity mumbo jumbo)
@ircmaxell why sha1 and not sha512?
I was referring to this block of code
        // Simple Random chr authentication
        $h1 = strtoupper(sha1($crc32));

        // Get hash if keys using $h1 + salt + keys
        $h2 = strtoupper(sha1($h1 . $this->salt . $keys));

        // Encode Options with json
        $options = json_encode($this->option);

        // Get hash of options $h2 + salt + options
        $h3 = strtoupper(sha1($h2 . $this->salt . $options));
http://techportal.inviqa.com/2010/07/12/creating-pluggable-applications-using-data-sourcing/?utm_sour
Planet PHP
Creating Pluggable Applications Using Data Sourcing
TechPortal
1366902180
15:08
MD4 all the things!
hi there @Feeds, welcome to the PHP room, just ask your question don't be shy
@kaᵠ I agree ... but i was working on the OP desired licence key format 8B041-EC7D2-0B9E3-09846-E8C71
@Baba well you can break any base36 into that format
@kaᵠ I agree .. but how do you reverse it ??
@kaᵠ How do you make it self authenticate ?
reverse?
@kaᵠ Ok let me explain
@kaᵠ You have a key 4A3F8-B0BE6-5C614-EEE28-A6C72
@kaᵠ you want to the key to validated it self based on the way it was generated ... Just like credit card numbers use mod 10 ?
15:15
@Baba to be Frank, I'm not sure your solution is bad, really (and I don't know Frank personally)
CC's are validated somewhat like SSN's? + the first 4 are from a specific list right
@kaᵠ we are sharing ideas .. i was not comfortable that is why i asked @ircmaxell and @Gordon to look at what am missing
@kaᵠ You don't know Frank? Do you at least know Jack?
true and nice
@Gordon of course i know Jack, i also know John very well :P
@HamZaDzCyberDeV you could submit your crypto algo in the wild and wait for input
> Take a reasonable message (50 words or more) and replace each word with the number 0. Voila! An encryption that can never be broken.
@Feeds Good until you start talking about implementing stuff.
@ircmaxell quick one am always having issue with openssl_pkey_new
error:02001003:system library:fopen:No such process
error:2006D080:BIO routines:BIO_new_file:no such file
error:0E064002:configuration file routines:CONF_load:system lib
error:02001003:system library:fopen:No such process
error:2006D080:BIO routines:BIO_new_file:no such file
error:0E064002:configuration file routines:CONF_load:system lib
Sometime it works ... most times am forced to use command line
any ideas ?
Note i specified full path to openssl.cnf
@ircmaxell thx, so all the (known|useful) ones are done with Luhn's
lol
@NullPointer it reboots my laptop when I launch opengl based acceleration :X
@Ocramius sounds bad ..
@NullPointer I'm on 12.10 - I thought dist-upgrade did it for me?
But hasn't found anything
@NullPointer is bad
16:16
@uınbɐɥs you have got fast internet ...
@NullPointer Really? What's your Speedtest.net score? [my score]
@uınbɐɥs grr it requite flash ... downloading
Have a good evening guys
you too Jimbo
@Jimbo very good evening
16:23
morning
hi @NikiC long time :]
@uınbɐɥs its just 1.1mbps i.sstatic.net/OEfC1.png
@NullPointer What's the grade? (click 'share')
16:33
ouch
But even my connection is slow compared to this:
Apr 2 '12 at 15:40, by ircmaxell
user image
wow! 123 mb/s
@uınbɐɥs OMG wtf .. this is ridiculously fast
104 mb/s upload is ridiculous
Uby
Uby
I just got an email
Hello my friend. Can you upvote my questions in stackoverflow? This is my profile PROFILE_URL I am banned from asking questions and have to finish a project.
16:35
lol
Uby
Uby
and he's not "my friend"
wonder how he got banned
@Uby just replay with some troll message :P
Uby
Uby
16:35
:P
Ask "What's it worth?"
@Uby That's the problem with having your email address public :-P
Uby
Uby
@NullPointer nice idea
@uınbɐɥs Yeah, usually gmail filter is great, never had issues with spam. So this is not a big deal
@uınbɐɥs btw my isp is really dumb .. and stupid they doesnot charge increased rate to old connection and provide more speed then they are telling
@Uby i have got many email from op of closed question .. but never got email like that :P
Uby
Uby
16:40
@NullPointer Actually on his profile there's no mention about a ban.
@Uby its because he is banned for question ...not suspended
And they said "There are no stupid questions" lol
lunch time
Hey all
16:56
@Neal hola
Hows it goin?
@Neal awesome .. how are you ? long time not see you around here
@NullPointer Workin :-)
I am good ^_^
@Gordon lol
17:17
I don't even know that's funny, but I have no audio here, but I'd like to keep track of it for later :P
@BenjaminGruenbaum its all about audio ...:P
Goooood evening everybody
17:32
very good evening everybody ... :)
user652649
evening
morning
@uınbɐɥs how much do you pay for that 1meg/s ?
user895378
17:51
It try to avoid swearing most of the time, but in regards to this:
user895378
2 mins ago, by ka ᵠ
http://www.cispaisback.org/ :(
user895378
^ Fuck those mother-fuckers and their mother-fucking CISPA.
2
@rdlowrey You're one of those motherfuckers ;)
m59
m59
Does anyone know how to do a rewrite rule like this?
testOPTIONAL$1 the word OPTIONAL should only appear if $1 captured something
rule - ^foo(.*)$ test$1

url - foo
result = test

url - fooSomeOtherJunk
result = testSomeOtherJunk
what I want : test-optional-SomeOtherJunk
user652649
@m59 what's that? provide a complete example
m59
m59
18:00
I tried?
user895378
Does anyone know where I can locate the code in php-src for the php://temp stream wrapper? I'm having trouble finding it.
@rdlowrey use grep?
user652649
but wrongly, it's hard to understand what you want to do
m59
m59
the rule looks for foo, then captures anything after (if there is anything)
if it finds foo, it will replace it with test
followed by whatever else it captured
with me so far?
user895378
@kaᵠ lots of matches for "temp" :)
18:03
grep -P "php://temp" * ?
user652649
@m59 yes
m59
m59
Ok, so if nothing is after foo, I just want to say test
user895378
@kaᵠ stream wrappers don't work that way ... php://temp doesn't explicitly show up anywhere in the source code ...
@wes so you're still 1 year behind ? :P
m59
m59
BUT, if something is after foo, I want something extra added, like test-OPTIONAL-capturedPartHere
user652649
18:05
@kaᵠ i'm testing arpanet
@rdlowrey thought so, but might match a comment maybe, just sayin
user895378
@kaᵠ yeah, I've tried it
user895378
@bwoebi jackpot! thanks
user895378
dumb me, didn't think to look in the fopen wrappers
user652649
18:06
@m59 ok you need two rewrite rules, one with test only, one for the optional content
m59
m59
Ah yeah...guess so.
Seems redundant though.
now you got three problems
user652649
^foo$ test
^foo(.*)$ test-optional-$1
@rdlowrey I needed less than one minute... I've searched for temp wrapper and found it...
@Ocramius what videocard you got?, really reboots 13.04 ??
user895378
18:07
FYI I'm trying to see how difficult it would be to add the ability to access the filesystem path of the temp file once the php://temp wrapper swaps to disk storage ... I could really use that functionality and I don't want to implement in userland for speed reasons.
@kaᵠ when booting on 13.04, yes. Nvidia GTX560M
@Gordon Did something happen with the delv powers?
@Ocramius fixable/?
@kaᵠ had to remove nvidia-drivers-current - now cannot play anything :P
@PeeHaa埽 @hakre asked it as well. but I dont see anything at meta.stackoverflow.com/questions/59445/…
18:08
@PeeHaa埽 to delv you need 50k now :P
@Gordon I also couldn't find anything, but it started either yesterday or some time before that.
@Ocramius that's bad... really bad (Ubuntu/Xubuntu ?)
For example on this one I cannot see a delv link
Maybe @MadaraUchiha knows more
18:10
Let me shoot a message at meta
@kaᵠ ubuntu
@PeeHaa埽 noooooooo, you'll get DV'ed
10
A: Why can't I vote to delete this question?

YannisThis is a very recent change: The following changes are live now: Deleted questions will be visible to their authors, regardless of those authors' reputation. They won't be linked to anywhere that they're not already linked, but if someone knows where to find their question and it's b...

@Gordon yay
@rdlowrey No... The temp file won't be written as is on the disk; it'd be only swapped as raw memory (emalloc()'ed memory) in some swapfile.
18:11
@Gordon Aaaaah. k nothing a good downvoting spree can't handle ;)
terrible decision though
user895378
@bwoebi ah I see ... that makes sense. I guess I need to roll my own userland wrapper around php://memory if I want to swap to a specific on disk path at a certain size then.
@rdlowrey exactly. But you could perhaps mount some ramdisk and move it from there if needed; may be simpler than doing some "big" wrapper around it...
@PeeHaa埽 lol you mean dv to -2 at least then del ? :PPP
@kaᵠ I did not say that, but if that is the way you want to interpret it I can live with that ;-)
18:17
yeah...
@PeeHaa埽 Y U NOT NO "HTML5 GUI programming" ???
@kaᵠ It's -3 :(
doine
@kaᵠ Also the only answer was a link only one pointing to: slideshare.net/mayflowergmbh/html5-for-php-developers
... :P
@kaᵠ Neh we don't ask for or people will get upset. It is ok if you ask for a though
18:19
lol, not gonna click that link
check it out... then delete it :)
user652649
today i watched for minutes a man trying without success to selecting the html placeholder="" of text fields in order to delete it
@kaᵠ Check it out into oblivion ;)
please is there anyone who uses craiglist web site and wont tells me how so "poor" web site can reach milions people?
@okok 42
@PeeHaa埽 and how ? :O
why
18:21
42
and
42
lol what is that?
@okok the government...
wot?? :O
@PeeHaa埽 84 ?
96
18:22
@okok black magic
come on be serious :D
or... Craig sold his soul
i can't sleep at night
and the bigger question: WHO IS CRAIGGGG??
Craig Newmark
18:23
@okok the first important thing there is that it wasn't created for money !
ok, open source bla bla, but the value added?
user652649
@okok craigslist poor?
not os, anyway it's simple
@okok: how do you mean a poor site?
i define poor site a site who rich milions peoples and it has color:blue; <a> elements
18:24
God. Those user agent prefixes suck monkey balls
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIzMiUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjZWRlZGVkIiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHR
so because it doesnt have a "design" as defined by modern websites, its a poor site?
user652649
@okok also google had a{color:blue} until some years ago
you dont judge it based on how functional it is? how responsive it is? the massive amount of information it contains?
user652649
does that matter?
huh I can go over the char limit in a code block???
18:25
now google is no more poor indeed
user652649
@PeeHaa埽 yes they suck
calling a site poor because of the colour of its links, or its lack of modern design is incredibly stupid and superficial.
user652649
user652649
The :-moz-placeholder pseudo-class will be deprecated in favor of the ::-moz-placeholder pseudo-element
user652649
so, for just to be sure, i had to write this shit:
user652649
18:28
.placeholder {color:rgb(220,220,220) !important;}
*:-ms-input-placeholder {color:rgb(220,220,220) !important;}
*::-ms-input-placeholder {color:rgb(220,220,220) !important;}
*:-moz-placeholder {color:rgb(220,220,220) !important;}
*::-moz-placeholder {color:rgb(220,220,220) !important;}
*:-webkit-input-placeholder {color:rgb(220,220,220) !important;}
*::-webkit-input-placeholder {color:rgb(220,220,220) !important;}

*:focus:-ms-input-placeholder {color:rgb(240,240,240) !important;}
monkeydong
@Wes Not sure whether I should laugh or cry
@wes that looks very important, maybe you shouldn't paste it all over the web, should be Classified "Your Eyes Only"
^ question starts with "so" so it can be closed blindly
@Wes that can be shortened
user652649
18:31
@kaᵠ This message will be moved to trash bin by @PeeHaa埽 in 5 4 3 2 1
Questions starts with So on SO so it can be closed?
@kaᵠ 99.9% questions that start with "so" are utter crap
lol
@PeeHaa埽 it's at -2 already :P -3...
4 close votes, 0 constructive comment about why it is "off-topic". The sheeps are starting to follow one another. Bhehehehe — Virus721 50 secs ago
You filthy filthy "sheeps"
user895378
18:35
There are lots of links in google for this, but I'm wondering if anyone has tried a specific markdown -> LaTeX converter with good results?
Bhehehehehehehehehehehehehehehehehehehehehehehehehe
:)))
PHP IS a template engine. You're templating templates so you can template while you're templating... yo dawg. — Marc B 1 min ago
@Gordon Hmm?
@rdlowrey I haven't done anything with Latex. But those tex people always start cumming once somebody starts talking about it
@PeeHaa埽 I usually puke :) Only bad experience with LaTeX :(
user895378
18:38
@PeeHaa埽 They do. I figured if there were any TeX pros in the room they'd get all excited
hmmmmmz looks like tex.so doesn't even have a chat
@MadaraUchiha new questions need -3 to be able to delete
YA RLY
18:48
@MadaraUchiha yeah. thanks @shog...
38 mins ago, by Gordon
10
A: Why can't I vote to delete this question?

YannisThis is a very recent change: The following changes are live now: Deleted questions will be visible to their authors, regardless of those authors' reputation. They won't be linked to anywhere that they're not already linked, but if someone knows where to find their question and it's b...

Mmhm, I see
BTW now you'll burn 2 votes to del a question
Yay! The Virus is downvoting me! :D
loool
@PeeHaa埽 Noes, a vote-eating virus!
18:51
:P I call it H12N-1
It's only a single downvote. So he is picky about it :)
had something to comment too
@kaᵠ Yeah. Nice revenge downvoter is nice
@PeeHaa埽 you're fault.. don;t you kno it's actually called __toString ???
:P
what are peoples thoughts on template engines?
19:03
Honest opinion?
No, lie to him. :)
honest opinion. bearing in mind what they are actually for (so designers who cant code have at least a fighting chance of not fucking up my code when they change the style)
@bizzehdee Starts with C, ends with P, and no, I didn't mean "camp"
@bizzehdee they;re great, i love PHP
It does depend, can you code?
user895378
19:05
$ git pull
ERROR: Storage server temporarily offline. See status.github.com for GitHub system status.
fatal: The remote end hung up unexpectedly
user895378
Awesome.
i can code, idiots i work with cant spell code, never mind write it
2
@bizzehdee They fucking suck. The syntax is crap and makes less sense than actual PHP code
@bizzehdee You care?
@MadaraUchiha, well, yeah, because when designers are asked to make design changes, i dont want those design changes forwarded straight to me because they dont know what to do
19:06
@bizzehdee You make sure to write valid, semantic, proper HTML
also, could everyone expand on "crap". why are they crap
Let them break their heads over CSS and JavaScript
@rdlowrey - probably very temp
If they require a change in markup (assuming it's well written), they probably aren't that great designers.
user895378
@Daniel yep, it's back now.
19:07
:)
@Madara - well said
And THAT, is my opinion.
user895378
@MadaraUchiha Very true. I don't want a "designer" to even sniff PHP code.
@MadaraUchiha: and if im writing a deploy able app such as the likes of wordpress where each installation could have vastly different markup
user895378
Do your CSS or GTFO.
@PeeHaa埽 This is true, but you know, sometimes I wish PHP afforded a bit more brevity as a templating language. I've grown fond of ASP.NET's Razor.
19:09
@bizzehdee In that case, you can use the MVC pattern, all the designer ever needs to touch is the View, specifically the HTML template.
I think Laravel sorta implemented it, fittingly named it Blade.
Again, no templates required.
An explosion of pills just arrived. omnomnomnom
19:17
hola mr pills :)
I don't come around here much
No, but when you are @rdlowrey starts talking about tex, @Gordon starts posting rebecca black and I have a laugh @ jquery
user895378
lol
@ExplosionPills ello' pills
I still use it :(
19:22
@ExplosionPills I still occasionally use it, but don't tell others ;)
I mean I don't use it
For animation it is pretty nice
And ofc bitches in the office still think it's the best thing since nuclear power
mouseenter and mouseleave are nice
don't you mean the only great invention of IE?
19:27
@ExplosionPills I used to love xhr, but then websockets were invented :P
Also contenteditable is a nice idea (with a crappy implementation)
I didn't know that was an IE invention
I also like their mouse button event key codes
and I haven't used websockets yet; haven't had a reason to, although I really want to learn
It's pretty cool. Although I am more interested in webrtc. But that implementation is imho really fucked
user895378
^ That.
user895378
webrtc is supremo ridiculous.
@rdlowrey It's such a missed chance :(
19:32
every time I'm about to learn something there's something else newer that comes out
@ExplosionPills That's pretty sweet I think. Needs moar new shiny things (but please make it sane)
what, webrtc?
Anything new is interesting (if it relates to web)
@ircmaxell Evening
user652649
19:50
what are the new technologies that you guys are waiting becoming popular more? in any branch, server side, client side, design
Brainfuck
user652649
@kaᵠ its so underrated, people wont understand its potential :(
@ExplosionPills php trunk.
19:55
@wes the true potential is in it's name

« first day (922 days earlier)      last day (4251 days later) »