« first day (1474 days earlier)      last day (3480 days later) » 

2:03 PM
I need some help.. I have a php script which performs a search on a database based on 3 keywords, and the queries work great on the phpadmin for the database but the returned JSON response finds no result. can anyone tell me why? If I perform the search on a single table, It works perfectly. ( In case I just use on keyword associated with one table ) -> pastebin.com/3Pg3NTP0
 
@DaveRandom your overqualified for my questions
 
quite possibly
Unfortunately you will probably find that most people in here are - it's not that we aren't willing to help, we just don't deal with stuff like that
 
yea I know @DaveRandom thanks you answer nearly 90% of my posts so I know you are
 
@Acejakk Meaning you always get No empresa found back?
 
@ziGi combine that game with ingress and that will be fun
 
2:07 PM
haha
 
@DaveRandom exactly.
 
I was thinking the same :D
 
You have some pretty epic SQL injection problems there, by the way
 
@ziGi run to street X, defend it!
 
build a tower there
 
2:08 PM
yep
 
@DaveRandom this first line works, because it only performs the search on one table SELECT * FROM empresa WHERE marca LIKE '%$keyword%' and ficha LIKE '%1'
 
@Acejakk Well, you said the others work fine when you run them in phpmyadmin?
You should probably start by echoing out the query strings you are generating and running them in pma
 
@DaveRandom yes, all queries work in the phpmyadmin. I assume that when it performs this check mysql_num_rows($result) > 0 if gets 0
*it
 
@Acejakk is there any legitimate reason why you are not using prepared statements ?
 
@tereško what do you mean? I must admit I'm quite new to php, I have to use it to return some JSON results for my android app..
 
2:14 PM
... I will take as "no". Ignorance is not a legitimate excuse.
 
You are probably right
 
start by watching this:
it should explain the basics.
 
:-)
 
Ok so to avoid SQL injectin
*injection
 
IS there any way to transform the returned object of a pdo query into a result set like the one returned by mysql_query ? in other words i want to be able use for example mysql_num_fields(on the transformed object of pdo query);
 
2:20 PM
@Joseph Is there any reason you can't just use the PDO equivalent? Do you have a lot of code that's expecting mysql_* results?
 
@KevinMGranger not all mysql_ have pdo's equivalent . I gave the mysql_num_fields as an example .
 
@Joseph the first result in @Danack's link says otherwise :)
 
You guys ever use logstash?
 
Worst case you could have done something like count($pdo->fetch(ARRAY_ASSOC)) or whatever it is
 
2:26 PM
@ircmaxell I remember you asking about mental problems in the developer community, you might find this interesting: smashingmagazine.com/2014/10/29/lets-talk-about-it
Also, @Fabien, chapter's out
 
Ah cheers @SecondRikudo
 
@KevinMGranger mysql_list_fields is an example with no equivalent, mysql_fetch_field is another.
 
@Joseph They're considered redundant, is why. From the doc on list_fields: "This function is deprecated. It is preferable to use mysql_query() to issue an SQL SHOW COLUMNS FROM table [LIKE 'name'] statement instead."
 
user895378
@ziGi thanks ;)
 
user895378
Flattery will get you everywhere with me.
 
2:29 PM
haha cheers
 
@KevinMGranger so it's completely possible to refactor a mysql_ coded webpage with PDO ?
 
@SecondRikudo Gotta hand it to them on the chapter.
 
@Joseph I think it might be better to abstract all of your straight-up mysql_ or pdo calls. Hide the implementation detail. Especially since mysql_* is deprecated now, although msqli_* is kinda a drop-in replacement
Neither tool is going to prevent you from working with your database, it just depends on how you want to work with it
 
@KevinMGranger Ok thx for the advice . I am doing this because the use of PDO have been imposed on me .
 
@Joseph it's not so bad, you might learn to like it. But unifying your database code by abstracting it is probably a good idea. It could make the next imposition easier
 
2:40 PM
@Fabien :P
 
2:53 PM
dear friends, help me
I have been created file MyClass.php
Then I create file OtherClass.php follow Example #2
When I run this: there are error:

Fatal error: Class 'MyClass' not found in C:\tools\xampp1.8.3\htdocs\vy\vy01\OtherClass.php on line 3
explain for me...
 
Hello Dave, the night of yesterday, you have been helped me. Tonight is the second.
 
posted on October 29, 2014 by kbironneau

/* by Garrett */

 
Thank @DaveRandom !
 
if a Domain Object implements __toString or __toArray is it a violation of SRP?
 
3:03 PM
 
@DaveRandom I try go to your blog
It like a recursive loop
Like we search Google with keyword: "Recursion"
daverandom.com just for fun :)
<3
 
user652649
morning. does anyone know some reliable documentation about using punycode domains today?
 
@dovy Yeh I'm too busy (read: lazy) to make a proper site
@WesleyCrushed Define "using" (i.e. what are you trying to do?)
 
o-O
Hi room
 
You maybe build many professional website, but You don't have an own blog. <3
 
3:07 PM
PHP does not have particularly good support for it at the moment, and there are going to be some pretty hefty potential issues with SSL if you want to verify certificates
 
wow
just wow
 
Sorting that ^^ situation out is pretty much top of my list of things to do for PHP
 
Best wish for you, Dave . I come back my work. See you again! You are a kindly man.
 
Actually I'm a crotchety old woman
:-P
 
@ziGi I'm in love :D
 
o-O
3:08 PM
Any Idea For This solutions : stackoverflow.com/questions/26633763/…
 
user652649
i'm considering buying some domains for a client @DaveRandom want to know how's the support in general, browsers, server sided etc
 
@Naruto with whom?
 
'noon
 
after
 
yo
 
3:09 PM
@dovy most professional programmers are lazy to make a blog
 
yo @ircmaxell
 
@ziGi the imgur link you sent.. =D
 
haha @Naruto me too man, me too, I really like designer girls :D
@ircmaxell I do hope you understand that I am saying things with sarcasm
 
@ziGi well idc if she's a designer girl.. the dirty talk did the trick for me ;)
 
3:11 PM
:-P
 
What is the php gmp extension?
Anyone know?
 
@WesleyCrushed Browsers, OK. Server side, irrelevant (it's just a domain). Trying to programatically consume them, not awesome.
 
@ircmaxell I absolutely refuse to believe perl is being used to create anything anyone should call beautiful ...
 
@JoeWatkins I don't disagree
but I think the point is still valid
 
If all you want is to put a web site on it you'll be fine @WesleyCrushed (IE7+ support it, I just checked)
 
3:13 PM
yeah ofc, just a bit of casual perl bashing :)
> Other people are working on commercial products and can't divulge the inner workings of their code.
I wasn't allowed to talk to anyone for years ...
 
@ircmaxell I agree with that
 
user652649
@DaveRandom punycode decoding in the url bar? don't think so :D msie7 doesn't even support utf8 encoded urls
 
13 followers away from 6k
 
user652649
that was my main worry.
 
google are in the uk news at the moment with their cancer research project ...
 
3:14 PM
But if I try to freelance there is no way to show what I have done, so basically I have to make some open source projects
that I can show off
 
'mazing stuff
 
@JoeWatkins there's a reason I choose to work here ;-)
 
where do you work?
 
user652649
i once found an article showing that punycode browser support will be very limited since many non-ascii characters are similar to others. so, you know, phishing. is that true? how many is "many"? @DaveRandom
 
@ircmaxell, New Jersey, USA
Pushing the boundaries of Programming. Developer Advocate for @google All opinions my own.
13.5k tweets, 6k followers, following 440 users
 
3:17 PM
@ircmaxell even if it goes nowhere, what a thing to do with your time ... I can't imagine it will go nowhere, there are apparently similar ideas being developed elsewhere ...
 
@WesleyCrushed If you are bothered about what is displayed in the address bar you might be disappointed forever, tbh. There's a strong debate at the moment about whether it's better to display the unicode glyphs or the punycode version, it was considered that the punycode version was better because of potential security issues with homoglyphs, but recently there were other issues raised with showing punycode versions (e.g. http://xn--google.com)
 
hey a quick question: I made a mark item shipped button (with form action="mark.php"... inside the last td) for each row on my table and it was passing a hidden input with value='".$row['id']."' was working well. I put a bootstrap modal button there and put the form into the modal, but not working and no errs. what's wrong there? here is my code viper-7.com/7DZ8Ij
 
IIRC Chrome currently accepts the unicode chars from the user, but displays the punycode version as you browse
It's a problem to which there is no good solution, I suspect that the only answer will be to exclude homoglyphs from being legal characters in IDN
 
user652649
that looks a terrible solution. is there a complete list of these homoglyphs somewhere?
 
user652649
found it :P
 
3:22 PM
@ircmaxell I never click the follow button, for some reason ...
 
@EkinHazal You are only putting a single ID into the form because you are not doing it in the loop. Instead, you will have to associate the ID with the row somehow and obtain the ID of the clicked row using javascript
@WesleyCrushed tbh if you care about that element of it, you are going to have to forget about IDN for the time being.
 
@DaveRandom ah okay thanks!
 
user652649
@DaveRandom yeah :(
 
user1994804
@DaveRandom Remember me telling you I'd get back to you with how I was gonna handle words that didn't meet full text min length?
 
user1994804
 
3:27 PM
cool, will read later, doing real work (or trying to, anyway :-P)
 
user1994804
Along with some fine tuning it works great
 
@WesleyCrushed I know, it sucks. tbh the whole thing is not awesomely thought out, I smells of a feature designed on the back of an envelope after someone went "wouldn't it be cool if..."
This also bleeds through into the mess that was made of issuing SSL certs for these names, I've read a lot about it and I'm still not 100% clear on what the right way to do it is
I personally think that the right way is with a regular domain name, punycode encoded, but there seem to be quite a few people who think that putting the NAMEPREP'd UTF-8 string as the CN is the right way.
 
:-)
 
This is the reason I've not been able to get my 5-minute hack to make it work in PHP ready to propose seriously, there's quite a lot of logic required to check that you are doing the correct thing for a given cert
And then there's the additional weirdness in the win API
 
user652649
@DaveRandom if there are characters that look the same, even if it was took into account from the beginning, there wouldn't be any solution for this anyway, no?
 
3:33 PM
Plus it would introduce a hard dep on an external lib into the core, since some (but not all) of the streams-related code it would need to touch is in /main
@WesleyCrushed It's not a problem if you just choose one of every given homoglyph set and disallow the rest. The user can type whatever they like (and the browser can display whatever it likes) as long as NAMEPREP is adapted to ensure that they are all canonicalised correctly for transmission over the network
 
Haha, my colleague that has implemented 'Static Factory' that instantiates single static instances of an object is using the session (which is also gotten from a Registry/Service locator) so now he is refactoring it cause our tests fail since for all the tests the session must be reinstantiated, victory at last :D
ahahah
 
user652649
@DaveRandom it's characters that are rarely used? makes sense
 
Anyone used logstash? Or something similar?
 
user652649
so allow "a" which is the ascii "a" and disallow any other similar looking character, such as "a"
 
@WesleyCrushed Exactly. But the browser can still display stàckoverflow.com if it wants to, as long as it canonicalises it for any network operations (i.e. as long as the domain name it sends to the DNS server is stackoverflow.com)
 
user652649
3:40 PM
@DaveRandom that's a good solution indeed. so not all hope is lost
 
I imagine that is what will eventually happen, I just hope that we don't have to go through a thousand iterations of the standard to get there
 
user652649
i bet someone registered already domains that can't be canonicalized, like facebook.com and fàcebook.com are of two different owners. i hate domain spammers
 
@WesleyCrushed That is going to be a big problem, yes, especially because there isn't really an international body that can sanely make the call as to who is allowed to keep their registration - even though in most cases (like the above) it will be plainly obvious, obvious is no good without someone with the legal power to agree that it's obvious, and registrars cannot be forced to destroy registrations by legitimate customers who paid for the service.
Hopefully enough of the responsible organisations for TLDs won't/can be persuaded not to allow registration of things like that moving forward, but none of that can happen before an agreed mechanism proposal is drawn up. It's a real mess.
Another problem, I suppose, is that homoglyphs themselves are subjective
@Fabien I believe we are starting to use it at work (we've had a server set up for ages but not been using it)
That's not my job though so I won't be much use to you
 
user652649
it's a mess indeed
 
Furry muff. Boss is thinking of using it here but I don't think it suits our needs. An alerts log more than anything
 
3:51 PM
@Fabien It's going to help us a lot with PCI compliance, we need to move away from every dev being able to log on to the servers
 
Dave, read and decide how smelly something is:
There is a session class that is extended for different sessions and for different environment the extended class name is saved in a variable in the dev configuration. This variable is used to be able to get the corresponding session object from a Service Locator (Registry in Zend)
man my mind is blown off by how some people think
 
I can't even visualise what's happening there so I can't comment
 
I asked the colleague, why do you keep the class name of the session in a string var in the environment configuration? He replied, because for different entry points there should be a session, for example: dev, production, test
 
Also, I really have to do some actual work
bbiab
 
ha I see
good luck
 
3:52 PM
:-P
 
tell me if I can help somehow, although I guess I can't much
 
I need to think of an example app to build for a talk
 
posted on October 29, 2014 by Anthony Ferrara

It's quite easy to mix up terminology and talk about making "easy" systems and "simple" ones. But in reality, they are completely different measures, and how we design and architect systems will depend strongly on our goals. By differentiating Simple from Easy, Complex from Hard, we can start to talk about the tradeoffs that designs can give us. And we can then start ma

 
oh yeah, forgot that was going out now
 
4:13 PM
DARKNESS!!!
 
@webarto hm, can you give exact picture to what you refer to as nice?
this reminds me of the hoax news of a nudist IT company in Hungary looking for female colleagues :D
@ircmaxell you really like abbreviations, don't you :D
 
STUPID, GRASP
:D
SOLID
haha I guess all programmers like them
I like them too, makes things easier to remember
it's more or less mnemonics
to be honest, I like your articles a lot
you have this nice way of explaining things in a pretty straight forward way
 
@ziGi Movement being backed by big companies.
 
ah, ok, I thought you are talking about the girls :D
 
4:19 PM
I am talking about girls.
 
Verb: interleaving
  1. Present participle of interleave.
Noun: interleaving (plural interleavings)
  1. The action of interleaving
  2. data that has undergone this action...
 
Crap.
 
What was that character that reverses string called? Someone pasted it while ago here.
 
lol
 
4:23 PM
Ah, good ol' RIGHT-TO-LEFT OVERRIDE.
 
@ircmaxell in your article how do you make the estimate that C+D is simpler than A+B. How can you measure the complexity of interleaved interfaces versus separate
@webarto wasn't that in JS?
 
‮nope
 
@webarto what does that character do?
reverses the string but how
 
‮I don't know
Heh, wonk.
It doesn't reverse, it makes you type RTL.
 
ah
I was wondering
how it would reverse a string
 
4:26 PM
@ziGi 2 independent interfaces, no matter how complex individudally are always simpler than 2 dependent interfaces, no matter how simple
 
@ircmaxell I see, it was not clear to me, actually I have never used interleaved interfaces
can you give an example of concrete implementation
I mean don't write it
just say when can it be useful to use them
 
 
@ircmaxell It's the first time I read something written by you and can't make sense. I am missing context, probably. :-)
 
30 mins ago, by Feeds
posted on October 29, 2014 by Anthony Ferrara

It's quite easy to mix up terminology and talk about making "easy" systems and "simple" ones. But in reality, they are completely different measures, and how we design and architect systems will depend strongly on our goals. By differentiating Simple from Easy, Complex from Hard, we can start to talk about the tradeoffs that designs can give us. And we can then start ma

 
In what case would you explicitly like to state in an interface that it has to use a dependency of another interface?
interface A {
    public function doSomethingWithB(B $b);
}

interface B {
    public function doSomething();
}
in this case when would it be useful to make interface A, I can't think of an example
> If you understand a system deeply, it can seem trivially easy to modify.
I totally agree
 
4:35 PM
Morning!
 
Morning Chris, what is in-house?
 
I was hoping someone could give me a hand. I'm working on a query that is a real server-clogger. It has two dependent subqueries and I can't figure out how to get rid of them, causing filesorts and all kinds of ill effects.
 
@Chris how does a subquery cause a filesort?
 
The first subquery is looking for items that have all of the specified tags, the second is to eliminate items that have any of of the specified tags. This query is generated dynamically, so it isn't always the same WHERE clauses, tags, or number of tags.
@ziGi It isn't that all subqueries cause filesorts.. this one does. If I use EXPLAIN, I get "Using where; Using filesort"
 
@ircmaxell Good read. Unfortunately, in real world you are almost never in situations where All other things are equal.
 
4:40 PM
Acutally, I get that for the primary query and one of the subqueries
 
@Leri hence why it's about understanding and making explicit the tradeoffs your making
 
@Chris give me a minute I have to soak in the info
 
@ircmaxell Oooh, new blog post :) Lunch time reading, Google News gets a day off./
 
@Chris why is the media.id related to itemId?
 
media.id is itemId in tagItems, column should be named "mediaId" for clarity
 
4:43 PM
it is a relation obviously
ah I see
yeah it is one to many
 
Original design called for the table to be reused for tagging other things, but we axed that later in the development phase because no, just no.
 
I guess what you generate in the code is the IN statement of the subquery and the Count =
 
I wish to make something plain; I love you BFG-repo-cleaner.
 
@ziGi Yeah, there's some other possible WHERE stuff that might get added, but it would go into the first straightforward clause at the top.
 
@Chris Have you investigated using temp tables to speed things up?
 
4:48 PM
@Danack No, wasn't too sure if that would be appropriate. To give a little more background, a query like that is being generated to define what media is to appear in various listing widgets that a CMS user can add to the page (drag-n-drop). So, there might be 15 such widgets on a page, they would all independently cause these queries
 
well I still don't understand what is the problem
with the subqueries
 
@Chris Yeah - I've had to do things like that before, where there were multiple queries to be run to select customers by different criteria. It turned out that just be creating a temp table to hold which customers were valid, running the different selection queries and inserting the data into the temp table, and then doing a very simple join from the temp table to the actual customer table was highly performant.
 
the first one gives you a list of itemId's and the second one too by different criteria
 
@ziGi you really don't need to get involved with conversations you don't understand.
 
@Danack I was tolking with the guy first, so you should really not tell me what to do if you please
 
4:51 PM
@ziGi Heh, I don't either or I wouldn't have written it, but I can say for sure that it isn't performant once put into practical use
 
Ok, I leave you to "master" Danack to explain good solutions then. w/e
 
@Chris Because each of the selects and then the final join are using the most appropriate index, without needing the concern itself with the other parts of the whole query, they'll each be really quick (in theory).
Do you want some example code or would that just be condescending?
 
@Danack Hmm, so I'd select the tagged items ID only into the temp table, then remove the excluded items, then join that against the media table.
@Danack lol, I would not feel condescended too. ziGi, not sure why you're raging out all the sudden... weird. Thanks for talking through it with me, but I don't think there's a need to react like that.
 
@Chris I think I'd actually do it as one temp table to select items, and then another table temp table to reject items...so that the logic on which are selected or not is simple, and then do "media left join tempSelectedItems left outer join tempRejectedItems"
Both the joins would be operating on the media item ID index, so would be really quick.
 
Outer join... that's one I don't have cause to work with too often. Intriguing, I hadn't considered it at all.
 
4:56 PM
(Off topic, to be fair I have been telling him to shut up for a few days....on the other hand he really ought to take the hint and be quiet rather than using this room to take out his boredom)
Let me see what code I have....
 
@Danack shut up. :)
 
*You're not the boss of me!*
/runs crying away...
 
ThW
Morning
 
@Chris Something like this - gist.github.com/Danack/1fde50e853fd6876f43d
I think the temp tables probably ought to have indexes added. But you can see that it becomes 'trivial' to add various widgets and selectors to either include or exclude things. As well as it should be faster than doing sub-query selects.
 
posted on October 29, 2014 by kbironneau

/* by javidcf */

 
5:12 PM
@Danack you are a really rude person, do you know that?
 
@Danack If it's a one-shot operation, I doubt that would make a lot of difference (if any) because the indices on the temp tables would still have to be built on the fly so swings/roundabouts. If you are doing it repeatedly on the same connection (i.e. build the temp tables once and reuse) then it would probably be worthwhile. (tuned in in the middle, cba reading backlog)
 
@auroraeosrose @ircmaxell #hhvm did it years ago #justSayin
 
Although actually the only indices you'd need would be a PK on the ID cols so maybe not
 
@DaveRandom Yeah....and as the temp tables are probably going to be in memory anyway, unless they're big enough to get dumped to disk.....it's one of those things that is hard to predict.
 
5:14 PM
Interesting, I was just wondering to myself if it makes sense to leave the tables as permanent
 
State is bad.....
 
Persistent db connections might gain you something though, that would make it behave more like a cache than permanent application state
 
99.9% of the time, all the lists of media will be paginated, so we're dealing with 5 - 20 results per query. Some of the pages have 1 prominent list, some might have 8 lists that only grab one item
 
@Chris How many items do you think would be in the result set? I'd be tempted just to cache the whole lot in Redis/memcache.
 
Dynamic queries against dynamic database structures/models to create dynamic pages... what a fun project this has been
 
5:16 PM
memcache is so 2000's
:D
 
@Chris So I understand you're using Rails?
 
as relational DB's are so 80's
haha
 
@DanLugg lol
 
@DanLugg Nooooo, php
I don't even know enough about Rails to get the joke :p
 
/shrug
 
5:17 PM
@Danack and Redis, sitting in a tree, c-a-c-h-i-n-g
16
 
@DaveRandom Insta.
 
He does love his Redis
(not that that's a bad thing)
 
I farking do!
 
@DaveRandom lol, made me laugh
 
It's one of those pieces of tech that a) works b) is really simple c) works.
 
5:18 PM
yes, that's the spirit, cache instead of writing optimal code
 
user895378
@Danack +1
 
optimal code is for the nerds
 
@Danack I haven't got to grips with lua, that's my big problem with it
 
d) allows you to use it for a hilariously wide range of use-cases....and then when you reach the limit of what it can do natively, it has Lua built into it, for scriptable expansion.
 
And that's my problem, not it's problem
 
5:20 PM
@Chris if you are limiting to 20-30 results, why is it a problem in terms of speed?
 
1 hour ago, by ircmaxell
I need to think of an example app to build for a talk
It should use task queues if possible for something
 
Interested in Redis/Lua, but also something I know little about. I would feel remiss if I stopped the project (which is almost production-ready) to learn something new, then broke everything while I implemented it.
 
me neither...only done a few tiny things.....but it's not like memcache or mongo db where when you run up against the limits of what it can do you're completely boned.
 
was thinking about making an Imgur clone, which is pretty good, except I can't see where task queues would fit in without forcing it
 
@ircmaxell Video upload/processing is a good one for task queues
 
5:21 PM
@ircmaxell Image processing to make the thumb nails and mobile versions of the images?
 
@ircmaxell redis-based task queue!
 
@salathe no, Google Task Queues
 
Extracting thumbnails from a video, or extracting audio
 
@ircmaxell Pre-generating resized images
 
@ircmaxell boo
 
5:22 PM
@Chris I'd try the temp table first...there's a reasonably chance it will just be fast enough as it is.
 
@Danack was thinking about that exact case, but then you have to wait for it to "process" before publishing, which can lead to a sub-optimal experience
 
Aye, giving that a shot now
 
@Chris not in this case, because I want to keep runtime under 30 seconds for the tasks (I could do it in general, but then I would have to spin up other hardware to deal with it)
 
@ircmaxell Hmm...no. You can have any request for an image check to see if it's been processed yet and sleep for a few seconds....or just serve up a "we are still processing this image" if the image retrieval fails.
 
@ircmaxell Not if you added some kind of queue-jumping mechanism for things which are published and immediately requested
 
5:24 PM
@Danack again, sub-optimal UX
@DaveRandom complexity, and at that point, why bother with the queue?
image processing is pretty fast in the first place
 
Ya, my weenie desktop can serve up images generated on the fly, that's weaksauce
Unless we're talking astronomical images, which are ginormous
 
If you were building it for an actual project to put live it would be worth doing, because a lot of the time they won't be requested immediately, you could use it to limit the resources being used for image processing
 
That's be neat... stitch together panoramas using space images
 
i.e. you don't have to generate the thumbnails etc live (expensive when service is busy), you can put them in a queue, but still generate them live when needed
 
@DaveRandom hmmm, that's interesting...
 
5:28 PM
It doesn't need to be that complex either, logic is just "Is this image generated yet, if yes serve it, if not then dequeue it and generate it before serving it up"
 
So, fuck Debian - github.com/mkoppanen/imagick/pull/50 Is pkg-config meant to be a universal thing across all Linux distros? Because it doesn't seem to be working for me on Centos.
 
@Danack It at least exists for me on Centos 6.5, never used it though
 
Same - it exists and there seem to only be about 30 entries in it for my entire system.
 
Wow... I see a count query using those subqueries that has been running for 100 seconds and counting. Server load averages at 7.00, usually under 0.5
Such an innocent-seeming query causing so much chaos
 
Cross-joining a subqueried cross-join.
 
5:34 PM
@Danack pkg-config --modversion MagickWand works for me on the CentOS box where I actually have it installed
--list-all spits out a whole bunch of stuff as well
 
Yeah....it's possible I just didn't include those files when I was packaging my own version of ImageMagick...
 
@Danack did you manually compile the components? It seems to use some special file for the lib info, yum obviously set that up for me
 
@DaveRandom Yep....And I deleted these things because I thought I didn't need them....
 
lol
 
Guys, what's your rate per hour ($) ?
 
5:39 PM
15trn
(introductory discount)
 
Actually - no I didn't. They're listed in the spec file....so am confused.
 
@bad_boy Generally about $40, depends on the specific case though
why?
 
ok, but when speaking generally, how it varies then?
just asking :)
 
@DaveRandom that is cheap!
 
It depends who it is, what the job is, and yes that is probably quite cheap, but I'm not tax registered or anything personally so I don't want to raise too many eyebrows at hmrc
> By default, pkg-config looks in the directory prefix/lib/pkgconfig for these files
: Docs, Backlog | Tools: Explain, phpdbg, devdocs.io | Addons: [cv-pls], PHP Manual Linkifier | Snippets: ext/mysql | Reference: QAs
10
I really wish SE would give us a way to perma-pin things
 
5:47 PM
@DaveRandom goto start_meta_question;
 
Been there, done that, been told to piss off
(well, not really piss off, but SE don't care enough about chat to give us shiny new features - it doesn't make them any money, which is a fair reason)
esp. a feature that only a very limited subset of people would be able to use anyway
Maybe even if only mods could do it
/me goes home
 
Each time I compile on the server.... It's not a SSD the server runs on :-(
 
later @all
 
@bwoebi how possible is it to revert the xml protocol stuff in 5.6 and master ?
 
@bwoebi While that's probably technically correct, I would tend to write "an" because that's how I would say it, it looks sort of weird written like that because I say it in my head when I read it
really going now
 
5:53 PM
@JoeWatkins not really.
 
@bad_boy $25 for non-profits & statups consulting only, $30 for nonprofits/startups hourly, $35 - $50 for any other circumstance, depending on how hungry I am (which is usually not very) and what the work is. That said, I don't do a lot of freelance work anymore, and I am making waaaay less working fulltime at a nonprofit.
 
I could turn it off, but revert … mhm…
 
what makes it impossible ?
 
@JoeWatkins It's used all over the place and putting it back then will also be a load of work.
@JoeWatkins But 5.6.3rc1 had been tagged anyway and jpauli rather doesn't want to retag again
 
http://t.co/R7v5wRhm49
 
5:58 PM
@bwoebi we made a mistake, we have to put it right ... somehow ...
 
@JoeWatkins Reverting the mistake will be an even bigger mess now.
Please don't.
 
Joe, I think we should just let it slide for this RC.
Mistakes happen; it's why we have RCs.
We just fix it in the next one.
 

« first day (1474 days earlier)      last day (3480 days later) »