« first day (607 days earlier)      last day (4567 days later) » 

13:00
can anyone recommend a free tool to process Raw Images on Windows?
ah
17
Q: What is the best free RAW editor/converter on Windows?

alexandrulI'm looking for a free RAW editor/converter on Windows. Can you tell me some strong/weak points of them comparing with Capture NX and/or Adobe Photoshop Elements? RawTherapee PhotoFiltre Able RAWer Microsoft Pro Photo Tools 2 - conversion & EXIF FixNEF - white balance RAWShooter Essentials ...

SE has everything
@Gordon Your CV-Backlog is breaking at this url: localhost/cv here :(
@Donut valid urls need the scheme
Oh, I forgot to add it in index.php
Stupid me
@ircmaxell That's scary...
quite
@ircmaxell Yet I'm not that surprised
@ircmaxell wowwwwwww....
Sem
Sem
@ircmaxell Heh, old mysql_* noobs! Lol.
13:25
@ircmaxell spook
@hakre , thats just nasty
especially when I'm flying tomorrow afternoon...
granted, not on any of those airlines, but flying out of a hub for one of them
Sem
Sem
@ircmaxell Where are you headed?
North Carolina for a friend's wedding
Sem
Sem
13:32
@ircmaxell maybe you can use c0mrades method to adjust the departing time to what you prefer hehe.
@ircmaxell Or go to first class
I am in first class
Sem
Sem
What else.
13:53
if anybody working on cakephp please help
my ajax response giving me result +body of that page
i am submitting data to same page
Only advice I can give is: turn around and run away fast ;)
14:08
anybody there?
@Sparkx Don't submit ajax to the same page
Have a different page to return HTML/XML/JSON back to javascript for processing.
@Truth then hw can i return to that page
with response
@Sparkx If you're using Ajax, you've never left the page in the first place now have you?
if i use another action then in controller then hw can i return to that page
@Sparkx I bet you've jumped right in with CakePHP without properly learning native JavaScript or PHP, am I close?
14:12
A vampire?
Most likely...
Any php-src tinkerers about?
I'd like someone better versed than I to vet my branch before I go for a pull request, and make sure I haven't done something ridiculous
@Leigh what's the patch?
@Truth i worked on core php and also on javascript/jquery but not on jquery
i have never worked like this thats why?
please help
14:23
@ircmaxell I was hoping you were here :) github.com/leight/php-src/compare/session
@Sparkx So you should know how Ajax works
yes
@ircmaxell I found half (un)implemented code from PHP4, and decided to finish it
@Sparkx huh? Say what?
core php?
yes
14:24
What is that? @Sparkx
@Sparkx ?
As core PHP you mean with no framework?
Nice! Leigh was just asking if there were any core devs here
:P
github.com/leight/php-src/compare/session#L2R1588 <-- Why not refactor that to be cleaner.?
additionally, I'd make the new callback optional. Otherwise you're going to have a very tough time getting it accepted as it'd be a huge bc break
14:39
It is optional already, the parts where I have switched i < 6 to i < argc allow the 7th param to not be set. The code itself has a != NULL check on the 7th function pointer and call the default if it is NULL
@ircmaxell since we're talking about patches ... do you think there would be interest in having a separate parse_urlencoded() function? it basically is parse_str() but it returns the data instead and it doesn't change period -> underscore :)
less functions, more spl :D
@Jack What's so bad with strtok?
@hakre come again?
@ircmaxell Its still work in progress, hoping to add it optionally to SessionHandler too, obviously modifying the interface breaks bc. I just wanted someone to have a cursory look and make sure I hadn't instantly created tens of memory leaks (with estrndup for example)
14:42
bah, our core dev left us
@hakre nothing wrong with strtok ... though i found it's faster to replace period into \0, then parse_str(), then revert them ;-)
@Leigh I'm not good at checking for those by eye...
@ircmaxell Heh... now comes the salt discussion again
Peter does not seem to realize that the salt is actually stored in the hash and a leaked hash thus means a leaked salt
what's up ?
I'm replying to Thomas right now
14:47
any Thomas we should be familiar with ? or just your average garden-variety-Thomas ..
@tereško anymore good laughs today?
i've seen the barebonescms csprng ... it's a little monster ;-)
even more funny that the one we were looking at yesterday Jack? (i forget the name though)
@Justin you mean ZF2? hehe
14:54
No... php something.. was #3 on reddit yesterday...
You want jokes? There is a new excuse to not maintain wordpress 3.3 any longer - 3.4 is out ;)
@Justin nono, it's not that bad ... it's just, well, opaque ... and it literally pull entropy from every crevice =D
There's a new excuse not to maintain wordpress 3.3 any longer... it's wordpress, why bother?
personally i would just use /dev/urandom, but that's another story
Anywho -- i better get off to work.... Seeya guys in like 2 hours..
i must watch that when i get to work!
@tereško 4 days ago
I want my 30 minutes back.
@webarto , you talking about that presentation ?
@NikiC: this is going to go in circles, isn't it?
@tereško saw your comment, clicked "Close Tab"...
15:00
So much whining in there
I'm torn. I was asked to speak at a conference later this year. They are charging people for attendance. I asked about honorariums, and was told "nope, only a small stipend for out-of-area speakers to cover travel". I'm torn, because if they are charging, I don't think it's right to ask for pure volunteer speakers...
oh .. opera 12 i out
@ircmaxell , depends on how many speakers there are .. this might be just to cover to organization costs
I've put on conferences before. I've never had to charge visitors, since we've always been able to get sponsorship to cover that
@ircmaxell Perspective, try to make yourself think "They should be paying MORE to see me!"
Ask if they can charge additionally just for your talk
15:09
for example, DebConf11 could have cost, but in the end, everything except travel costs was free... we managed to get sponsorship from government...
exactly
time to read cc2 :)
@ircmaxell Do you enjoy speaking? Would you want to do more after this one?
I do speak fairly often. I have spoke at conferences on 5 continents. I've done quite a bit of it before ;-)
Is this your first at this scale? It could help to think of it as a gateway toward bigger and better things for yourself (selfish attitude). I was joking about the charging thing
nice, nevermind then :)
15:13
This is one of the smaller scale talks I give (aside from meetup talks)
I guess it's just poorly organized event... If you're not competent to get sponsorship(s) for small conference, then you shouldn't organize one...
And look how horribly broken the site is: joomladaynyc.com/index.php/Speakers
the home link doesn't even work right.
you have to be kidding me...
one question, does loading a contact form by ajax prevents spam bots from spamming?
$90 :o
15:27
wow .. hefty
I'm thinking of declining
heh
i would not want to put this on my resume .. even if that was only conference
then again , i'm biased
time for opera upgrade
epitome of bad search; flight from singapore to duesseldorf ... singapore to tokyo, tokyo to minneapolis, minneapolis to amsterdam, amsterdam to duesseldorf ... total flight time: 30hrs, total cost for economy: $7500 =S
ohh, nice
15:32
hop around the world ticket ... wonder what would happen to my luggage along the way
having a bad time trying to figure out why my pdt doesn't have the php debug perspective
wish i could help you, but my editor here is Xcode ;-)
15:47
From symfony docs: Almost all modern web apps do this - including apps like WordPress.
.... really?
user895378
@CarrieKendall link?
that's your target audience?
sec
@rdlowrey under The Front Controller last paragraph
sigh, from an off-list convo:
> Other than that, I don't think it's reasonable to tell people that if they want better randomness for their salts they can just use encryption for their hashes. Enabling people to do what they want seems a better strategy to me
My reply to that point:
> The average developer doesn't know enough about cryptography to understand the tradeoff. And that's why people still insist that md5(pass + salt) is fine... Lead by example, not by catering to those who don't understand enough to know what they want isn't really good...
user895378
@CarrieKendall I'm with you: the statement is true, but it surprises me that they'd cite Wordpress as an example ... I'd want to distance myself as much as possible from WP :)
user895378
@ircmaxell I agree ... I don't know anything about it and I spend all of my time focusing on other areas -- I need someone who does know the ins and outs of secure encryption to say, "do this, don't do this"
user895378
15:55
Appealing to the lowest common denominator works for becoming president (and writing php frameworks), not for stopping malicious hackers.
@rdlowrey they should reword it. Even though WordPress uses this approach, it is still a valid approach
2
@ircmaxell right, people doing what they want is exactly the problem ;-)
user895378
@CarrieKendall hehe, "Don't be discouraged because WordPress does this ... it still works!"
lol, ohhh fabien that troll
php website is so freaking slow over the whole week so far.
@FabioCosta Have you clicked the checkbox of it?
@CarrieKendall That's because Fabien does not know Wordpress well.
16:02
@Jack yup
@hakre I've noticed too - any idea why?
@CarrieKendall lol +1
hello everyone
@hakre neither do i for a good reason :P
@Jack your gravtar is nice
16:03
@MikeB No idea, but using a mirror now.
user895378
@Somebodyisintrouble Jumping on the Bleach train, eh?
@CarrieKendall Yeah wordpress.org violates GPL. Automattic Inc. violates GPL as well. That sucks big time.
@hakre it does? huh?
@Somebodyisintrouble thanks ;)
which GPL version ?
16:05
@ircmaxell Yes it does. Namely Matthew Charles "Matt" Mullenweg.
@hakre explain how it violates GPL
@hakre and I have personal issues with Mullenweg. But that has nothing to do with licensing
@ircmaxell For wordpress.org: Distributing works inside the wordpress package not compatible with GPL under GPL.
@hakre Blame @levi
16:07
@hakre which? MIT is compatible with GPL, isn't it?
@ircmaxell I don't talk about MIT, I talk about a proprietary license.
Which is that?
The commit was by Matt himswelf, let me pick it.
user895378
@hakre I've had the same issue ...
The issue has been reported here: core.trac.wordpress.org/ticket/15769
The process is documented here: codex.wordpress.org/User:Hakre/Core/…
16:10
eih...
who would have thought hello dolly could cause such a ruckus
eih, that's not code though...
Yes Matt Mullenweg has a split tongue.
It's an issue, but it's not code
@ircmaxell Well it's a string inside code. I'd call that an expression that can be read by the interpreter, hence PHP code.
user895378
16:12
Vocabulary word of the day: bifurcated
user895378
As in, Matt Mullenweg has a bifurcated tongue.
Lawyers gotta have something to do
can someone help me with a small magento issue ??
dont use it
done .. next
user895378
I happened across the word bifurcated for the first time in my life yesterday in Clean Code, and then again 30 minutes later reading Deep Nutrition :)
16:15
americans ...
when watching "oh brother where art thou" =D
well i can't help it.....its already setup .....all i need to do is change the default display currency which cannot be done from the backend.....does anybody knows what could be the reason
user895378
@Jack Oh you're right ... where he's talking about the devil having a bifurcated tail! I never caught that before
@rdlowrey yup! lovely movie :)
user895378
@Jack it really is
16:22
@rdlowrey some how this: THIS PROJECT IS CURRENTLY HALF-BAKED: DO NOT USE OR DRAW ANY CONCLUSIONS FROM THE CURRENT STATE OF THE CODE is inviting
it is
1
Q: Unit test only asserting mock calls

mAuWhile refactoring my code base I found a piece of code which I'd like to extract into a separate class. It will serve thumbnails for user profile pictures. The class (let's name it UserImageManager) will hold an instance of UserMapper and an instance of ImageRenderer. Now I do have a method fo...

thoughts?
16:38
@ircmaxell Heh, that discussion has gone completely off-topic :/
is peter talking about linked in?
@Jack link?
awesome, thanks
@NikiC I've been emailing peter back and forth
16:47
@hakre Got into a meeting, yes i even made a debug preference on debug as and run it with success.But the debug perspective didn't opened...
@FabioCosta Can you switch to it manually?
@hakre by the plus on the perspectives? Nope it don't get listed there, it's like it didn't came with pdt at all
@hakre guess i will download the all in one bundle at zend and it should solve it
17:10
well I never had problems with PDT to enable the debugger perspective
I'm not sure if you're looking at the right place.
@hakre i had this problem with indigo on new installations.I just downloaded a new eclipse classic, download pdt through the update in eclipse, same thing
user895378
@CarrieKendall hehe well, that's basically my way of saying. "Nothing in this repo will look the same as it does now if I ever get to a stable point in the project" ... When I write code it's the same was as if I'm writing prose -- I have to get something down on paper and then continually revise it. So the unfinished product is never beautiful to look at.
@FabioCosta Which operating system are you using?
Drupalists are freaking perfectionists period.
@hakre i am on a 64 bit windows right now
17:21
@FabioCosta Windows 7?
@hakre sorry for the omission, yes windows 7
ewww microsoft products!
@FabioCosta Sorry, my support ends with Windows XP. But if you can allow the luxury I can warmheartly suggest you a Fedora 17 install which has a very good eclipse integration with their packaging.
Additionally, it's easier to deal with development generally, so if you want a good suggestion, then give it a try ;)
@hakre hehehe, i would if i could. In the work i just can use what "the man" wants
@FabioCosta Oh if it's work, then please call your helpdesk.
17:24
@hakre small company, but thanks for the atention anyway
@NikiC I'm looking at those Generators in PHP, and I'm curious, will be there any TypeHint for such function?
Everybody upvote my feature request plez
Anyone have any suggestions for migrating a [very large] mixed codebase (procedural/functional/mvc) over to MVC, without using a singleton-like pattern within the procedural code to access the base controller?
@Anfurny For what would that be useful for?
@hakre Did you read it?
17:32
@orourkek Reminds me a bit this question: stackoverflow.com/questions/7290993/…
@Anfurny yes, sure, otherwise I would not have asked ^^
user895378
Context: Response::sendHeaders() method in a userland HTTP Response class.
user895378
Question: Is it okay to automatically append a Content-Length header determined from the size of Response::$body if no Content-Length header has been specified when Response::sendHeaders() is called?
@hakre as it says, it would allow you to use the reflection functionality on parts of the call stack that are anonymous.
I'm intending to submit the patch myself, so don't worry about whether you think it's worth other peoples' time
user895378
I would say the efficacy of the patch has a lot to do with whether or not the feature request is worth upvoting :)
@hakre sort of. It would be on a much grander scale than the scope of that question. Most of the work that I'm looking to immediately transfer would be session related stuff, and other common tasks that are done now through global functions. I could instantiate the base controller directly in the procedural code, but is that really a solution?
user895378
17:37
Regarding my earlier question: I'm thinking it's probably better to have an unambiguous Response::addContentLengthHeaderFromBody() instead of Response::sendHeaders() having side-effects.
Not sure what you're driving at @rdlowrey
@Anfurny I think hakre was just asking for a simple usecase
To help give context
@hakre I also want to avoid $contr = Controller::getInstance(), for obvious reasons :P
fails to see the point
user895378
@Anfurny Just that I don't have a good use-case in mind for the feature request. So if a patch could solve it without much effort it might be worthwhile, but if there's not a ton of upside (from a concrete use-case example), it seems for the feature to be justifiable a patch should be extraordinarily straight-forward and easy to implement without side-effects ... I just don't see a lot of benefit from adding the feature.
user895378
17:44
Sure, it's annoying, for example, when I register a Closure with spl_autoload_register (one that uses require) and loading failures don't give me useful traceback information ... but I usually interpret that situation as "Hey dummy, you should be using a class for that anyway"
@rdlowrey It was a simpler time before closures were added. It's nice we have lambdas and all but there are still cases where it's inappropriate to use em (to support your point)
user895378
@MikeB I like closures a lot, but since they aren't first-class citizens in PHP you just can't use them for everything you otherwise might.
user895378
ditto
> ?-dallow_url_include%253don+-dauto_prepend_file%253dphp://input
@Donut You can use the usual Traversable typehint. If you want to target generators in particular, then you can also use Generator.
17:49
@Anfurny I have understood for what is it good for. But I have just asked myself of use-cases such a feature would be good for.
@NikiC Awesome!
It would be probably cool if the reflection of the callable is available.
@rdlowrey Look into it with a step debugger?
@MikeB yup. thx.
user895378
@hakre Yes, that would work ... that's just the only example I've had where the lack of traceback info from errors inside closures have caused me any issues. It's not much of a problem, though.
@NikiC you're implementing it as generator on the function that includes a yield? Or the function returns a generator
@ircmaxell Not sure what you mean?
18:03
@hakre @rdlowrey Well the usecase I have in mind is I would like my code to be able to look at the backtrace on a bug, including the docBlock of a function. PHP gives this functionality with reflection, but because I cannot get a way to access the anonymous functions there's no good way to grab that data.
@hakre How does that work? I know the -d option sets .ini settings but how would that be exploited from the url?
Though frankly I don't want to get into a debate about the merits of this use-case.
@NikiC if I have $foo = function() { yield 1; }, will $foo instanceof Generator pass? or will it be $foo() instanceof Generator ?
user895378
Can a closure have a docblock in the first place? i.e. if you get a reflection function from the closure will ReflectionFunction::getDocComment every return anything other than FALSE?
Yes, yes it can. @rdlowrey
user895378
18:07
@Anfurny interesting. I never considered that.
user895378
Maybe PHP throws more bones to lambda than I previously thought.
user895378
Ooh, I just tried this in the interactive php -a shell and indeed it does.
user895378
/**
 * Does something awesome
 *
 * @return void
 */
$lambda = function(){};

$refl = new ReflectionFunction($lambda);
echo $refl->getDocComment();
user895378
Closure excitement aside, classes are still generally a better way to do things in PHP ... if for no other reason than that as long as you leverage spl_autoload_register you don't have to eager-load your entire application when it's not needed.
user895378
lazy-loading FTW
18:14
best™ way to implement web sockets in application? actually I just need push notifications instead of pull (server killer)...
@MikeB that's the CGI remote exploit PHP had that time.
@ircmaxell $foo instanceof Closure, $foo() instanceof Generator
ok, just wanted to be sure
that's what I figured...
18:32
Hey all
Is it possible to have a query with WHERE where you check if something in the set matches the other
like WHERE "a" IN ("a", "b", "c"), but with a group instead of "a"
@Neal you mean comparing two sets?
what do i google for rising a standard error of "method does not exist" from __call() ?
18:35
@hakre yes, to see if something from set A is in set B
@Neal HAVING ?
@tereško Do you have an example?
I don't think its HAVING
` ... GROUP BY foobar HAVING foobar IN ('a', 'b', 'shhhhh');`
@tereško oy... I don't want that
then you are just bad at expressing yourself
18:37
I want to do something like (1, 2, 3) IN (4, 3, 5)
why do you want to do that in SQL?
And it would be successful bc 3 is in (4, 3, 5)
@tereško huh? that's not an error that __call throws by core...
@ircmaxell Because I don't want to do:
WHERE   1 IN (list)
 OR 23 IN (list)
 OR 24 IN (list)
 OR 25 IN (list)
 OR ...
still confused
18:39
@Neal What's audit.strategies? another table?
you could do a join...
@ircmaxell its a field in the table
what is
a comma deliniated field
then how is it a list?
dude...
come on
you know better.
concentrate please .. we know you (maybe) can do it
18:40
ask your questions appropriately, with the right information
@ircmaxell 1,23,24 is an example of the field
Thats right out of my DB
No, it's "1, 23, 24"
it's not a list in SQL, it's a string
Here is my full query which works FINE right now, but it is ugly:
SELECT `Audit`.`auditId` as `Audit.auditId`,
    `Audit`.`auditSubject` as `Audit.auditSubject`,
    `Audit`.`svnId` as `Audit.svnId`,
    `Audit`.`strategies` as `Audit.strategies`,
    `Audit`.`details` as `Audit.details`,
    `Audit`.`userId` as `Audit.userId`,
    `User`.`userID` as `User.userID`,
    `User`.`userName` as `User.userName`,
    `User`.`password` as `User.password`,
    `User`.`fName` as `User.fName`,
    `User`.`lName` as `User.lName`,
    `User`.`domain` as `User.domain`,
    `User`.`privilege` as `User.privilege`,
@Neal Sounds like you should put it in another table imo
@PeeHaa Put what in another table?
18:42
@Neal That "list" of yours
Its in the table already.
I just want to merge all of those OR parts of my query
Audit.strategies should be in a separate table
@Neal I know. It's just like it looks someone forget about normalization
that shouldn't work
@ircmaxell ahhh, but it does ^_^
18:43
IN is not a string operation. It should only match if Audit.strategies contains only 1, 23, 24 or 25
@ircmaxell but somehow it works :-)
@ircmaxell , maybe he's using postgresql .. it has an ARRAY data type
I am using plain ol' MySQL
then put your comma-separated list in a table where is belongs
@tereško for some reason my office doesnt like normalization and i can't fix that.... :-(
@Neal sigh
change the office
@tereško I like where I work, they just don't like to do things well...
it's not about normalization , its about sane queries
the alternative is to use regular expression
18:47
@tereško Ha, but this is what I have to work with at the moment. hopefully I can change it soon :-)
@Neal I'm telling you, it doesn't do what you describe it does. IN does not work that way
@ircmaxell I know, I was trying to see if there was another fn to compare sets
either there's another bug, or it's not really working and it's not just apparent that it's not
And I find my answer:
user895378
I've always religiously docblock'd my files, classes and methods ... but reading Clean Code has made me question that practice ... I don't care much for API doc generators in the first place and I think the code should be the definitive documentation ... but I've done this commenting out of habit for a long time. Has anyone stopped adding docblock comments altogether after having previously used them?
18:53
1
A: mysql comparing two set of unique id field which is of varchar datatype and seperated by comma

ajrealyou can make use of substring_index, and find_in_set mysql> select find_in_set(substring_index('12,40,50', ',', 1), '12,13,14'); +--------------------------------------------------------------+ | find_in_set(substring_index('12,40,50', ',', 1), '12,13,14') | +-----------------------------------...

@rdlowrey Nope, I've actually added more :]
@rdlowrey I only add them to public APIs
user895378
@ircmaxell so you would probably avoid docblocks on non-public methods in a public API?
yes
or even non-public classes
user895378
I'm thinking about all the extra time I would have to write code if I weren't religiously keeping unnecessary docblocks up-to-date ... and I'm smiling.
user895378
18:57
Comments really are a crutch for unclear code and code without good naming ...
Comments != docblocks
which are we talking about?
user895378
Unnecessary docblocks can be just as insidious as other comment forms.
true
@rdlowrey hence my blog post :-P
@Neal scroll lower .. there is regexp , use that
18:59
ctrl + shift + d auto-creates my docblocks, all I do is add a few words explaining what it does, if not self evident

« first day (607 days earlier)      last day (4567 days later) »