@Wes that's quite odd. I don't think you should ever get that message doing an install as it's not meant to check the dependencies when doing an install, just install the versions as listed in the lock file.
Is it possible you have some shenanigans going on with aliases of commands?
why in Yii this error throws `Error 500 A session had already been started - ignoring session_start()` even after trying https://stackoverflow.com/a/13760960/5078003
@bwoebi is it possible to simulate a default value internally, eg. (int $a = 5). Asking because I'm getting "must be of the type integer or null" when null is actually not supported. It's still an optional parameter though.
I can make it work just fine, but the error message and reflection aren't quite right.
@bwoebi when implementing do_operation, if I want to disallow assign ops like +=, |= etc, and I'm checking if result == op1, how should I handle the ref count for result/op1?
Getting a memory leak but I can't track it down :/
@rtheunissen I don't think this is safe. a) overloaded assign op does use different op1 and result and b) we might optimize TMP = ADD $a, 1; ASSIGN $a, TMP into $a = ADD $a, 1 in opcache
@mega6382 basically have to shuffle through as quickly as possible. People behind you who want to get through. Usually have to take electronics out of their bags, stick all of various metal objects into pans and through an xray scanner
Fortunately haven't had an issue with impatient people in TSA... but I'm sure it's a matter of time
Some user uploaded images with same names with different cases. They are accessible on the server. But I can't download the upload folder on the server to my local computer because files will be overwritten.
@akinuri can you copy the files with the same names to another folder? like mkdir filesWithSameNames, cp fileWithDifferentCaseButSameName filesWithSameNames?
then download them?
that way it doesn't interfere with any links already associated with those files with same names but different case, and you're able to download them without them getting replaced
@Tiffany That would be troublesome, I think. I'm gonna move files from one user (DirectAdmin) to another. The way I do it is create a backup of the user. Download it. Process (unpack, make appropriate changes in DA user files, in wordpress db, etc., repack) it with a C# app. Upload it back and restore. This works fine.
Nope. Don't think I can do a quick fix. Image names have to change manually. I counted like 30, but I'm sure there's more. I have taken measures for things (issues) like these, but this is an old user.
Anyway. Gonna find someone to do the labor. Definitely not doing it myself :)
@Allenph signalvnoise.com/posts/439-four-letter-words - you should try to change your pattern to ask a question instead: "What's the problem with just hashing or using a UUID". The answer to which is that it's going to be used in a very busy retail environment.
Which means we want to make it easy to read the IDs out - so having them short, and having control over the characters they can be.
@Danack It's perfectly safe to truncate hashes, not that these need to be particularly safe anyways, but.
I'm not sure if that's true just when taking pieces from the beginning or end, or if you could rip out anything that wasn't considered a "normal" character for you and then truncate.
@Allenph a couple of little ones. As I said the converting to a selected set of characters and back is also needed. But the library is also nice in that it doesn't blindly decode values - so guessing random values will be blocked at the decode step rather than having to hit the DB.
@Danack I might not understand, but isn't having something reversible, short, and with a limited character output set going to be pretty weak no matter how you accomplish it?
@Allenph I'm guessing security is not an issue for this situation. If I'm understanding correctly, the IDs would be used for product identification, like in an inventory system
no. The id's have a time limited use during a sports event. There will be maybe 200 needed in total at once. alphabet chars (without 'n' or 'i' to avoid confusion and bad words) plus digits (without 0 or 1 to avoid confusion) = 32 chars. 6 character length = 1,073,741,824 possibilities.
A much stronger need for someone to be able to read out the ID number to a customer service agent.
@Fabor Yeah, I really think it's one of those well documented things that once you solidly read it, it makes sense. Like the docker docs, and also RabbitMQ is good for thistoo
@Danack @Allenph Here is a stupid idea, generate a random string using random_bytes, then encode it into base32 and use that as your id. But like i said a stupid idea.
@Danack I think it would work if you used the fact that your events have time-slots to your advantage. You could reduce the complexity of the actually ID instead of the shortened' ID and still not get a collision.
@ArunRaaj that question is probably too broad for this room. It's the type of question that the only useful answer would take too long to write. I'd recommend just google for examples of it, so you can see how it works.
@ArunRaaj like someone already said this is a very broad question, most developers have their own idea of how the search would work on the site. The decision of what to use and how to do it largely depends on the structure of your data etc
@mega6382 if there is a health care application, i type "cancer", the app shows results about doctors who take care of cancer patients, the articles & events that happened in that hospital regarding cancer.
@ArunRaaj Like I said it depends on how your data is structured and stored, so the example you gave could have a few dozens of search implementations depending on where the data is, how it is structured and how it is being retrieved.
I was away for the weekend and so I thought I'd pose the question in case there was some common pattern you guys might be aware of. Didn't intend for you to go through so much trouble, but definitely appreciated it.
@Tiffany It is for everybody. I have certain types of clothes and shoes I wear for traveling so I can slip out of shoes quickly. I hate taking my belt off. Something about removing my belt makes me feel like I come out looking disheveled.
So Tomcat can't handle a keystore password with an ampersand in it. I spent over an hour trying to troubleshoot why HTTPS and my application server wasn't working... it was because of a stupid ampersand in the password
i need to force deep clone an object, that is, i want to clone everything regardless of the __clone handler, also references to self must be converted to references to the clone. can you think of an hack to do that? is it even possible? :B
@Jimbo Usually with salary it is implied (at least every where that I have worked.) Not that they can make me work whatever but I am required to get the job done- whatever that takes. There is usually a salary exempt and a salary non-exempt; one is salary based on 40 hours and they can get overtime and one is salary and they are not paid for overtime. My experience is based on the US though.
the second is under scrutiny by sebastian :B he is complaining of my abuse of " strings over ' ones :B automated code style checks made programmers - which are naturally pedantic - even more pedantic
@SebastianBergmann using toArray to compare objects seems like a poor choice to me. I can't use assertEquals on an object that overrides comparison. Why not simply use ==, which compares the object's properties anyway?
My area code on my phone is from LA, and I get so many spam calls that start with 310. The thing is nobody legitimately calls me from that area code - so I'm wondering if there's some app that can forward all calls to Lenny that are coming from numbers with a 310 area code
Lenny is an automated system you can transfer telemarketers to. It sounds like an elderly guy and he has automated things he says once he detects a silence. They're pretty generic responses but usually he'll keep the telemarketer going for quite a while
Then when he runs out of things to say (usually around 10 minutes in), he says "I'm sorry, what was this call in regards to again?" and restarts the script