« first day (2960 days earlier)      last day (1991 days later) » 

2:36 AM
Hey, anyone know how to replicate the -md flag with openssl_decrypt ?
struggling to decrypt a openssl 1.0 encrypted file with a 1.1 lib
 
 
3 hours later…
5:09 AM
I just heard in a video that "There is no proof that it's impossible to reverse engineer a SHA-256 hash without brute forcing", which makes no sense
Ah, now reading about "Collision attack", I see what they could be talking about. I guess he's not talking about finding the original string, but just a string that hashes into the same hash. I suppose that would be sufficient for all purposes
 
Wes
5:54 AM
@Alesana hard doesn't imply impossible P = NP
 
user8444404
6:32 AM
i am not getting what syntax error in below code :
 
user8444404
please help me to solve syntax errr in below line :

$sql = "update ecomexpress_awb set orderid = '".$order_id."',status='used' limit 1 WHERE awb ='".$selectawbquery"'";
 
@Danack Instana polls the fpm status endpoint for these metrics.
 
6:55 AM
@vickeycolors
Here is a correct one
$sql = "update ecomexpress_awb set orderid = '".$order_id."',status='used' limit 1 WHERE awb ='".$selectawbquery."'";

You forgot to add dot(.) after $selectawbquery
 
user8444404
@KishorPatidar thanks, before i used $sql = "update ecomexpress_awb set orderid = $order_id ,status='used' limit 1 WHERE awb =$selectawbquery";
 
@vickeycolors
One more issue in query, placement of limit in wrong place. Add limit at the end of query
@vickeycolors like this
$sql = "update ecomexpress_awb set orderid = '".$order_id."',status='used' WHERE awb ='".$selectawbquery."' limit 1";
 
user8444404
thanks a lot @KishorPatidar
 
YW :)
 
user8444404
7:21 AM
@KishorPatidar please join here
 
8:00 AM
doorbuster Informal. a retail item that is heavily discounted for a very limited time in order to draw customers to the store. b. the price of such an item.
 
8:50 AM
mysqli_affected_rows unexpectedly returning -1 – #77188
 
 
2 hours later…
11:16 AM
mornin
 
11:38 AM
moin o/
 
11:54 AM
o/
 
12:15 PM
 
morgen
 
Wes
had to downgrade to phpstorm 2017
too much lag
 
morning
 
12:35 PM
Process 22171 (php-fpm72) of user 1002 killed by SIGABRT - dumping core – #77191
 
Hi guys! Question.. If I have a string that is "00000000" and a number, like 34. Is there a nifty function so that I can turn the first number into "00000034"
 
@RizkyFakkel strpad
Where does the first number come from?
Otherwise possibly substr and concat
Feels like an xy problem though
 
It's just the "base pattern", so it needs to be prepended up to 8 numbers
8 digits
Doesn't sound like an xy problem to me.. Strpad seems to do exactly what I'm looking for. Thank you!
 
@RizkyFakkel That's how xy problems work :P If OP would know it he wouldn't ask about it :)
 
@PeeHaa strpad() isn't a nifty function though, so can't be the answer to the question. :P
 
12:49 PM
You're right! I just feel like I worded my question badly, but what strpad does is basically what I'm looking for. If the number is shorter than 8 digits it needs to have zeros prepended.
 
@RizkyFakkel yep :)
@salathe :P
@RizkyFakkel Now go for the vrijmibo
 
Ugh it's boring here haha
 
No vrijmibo at all? :(
 
There's one, it's just way less fun than if I were to go to friends after work
 
Get better colleagues :P
 
12:54 PM
Lmao, the one guy who's actually fun is injured
So I'm actually waiting for "collegues to get better" instead :P
 
lol
 
1:15 PM
hey, does anyone have experience with cdn's?
we need a cdn which would support 300-600tb/month of bandwith for serving videos and would not break the bank
 
@PaaPs Akamai, Amazon Cloudfront, Google Cloud CDN
 
*slips Gordon some money for putting Akamai first*
 
it's in alphabetical order. but thanks.
 
Get @salathe a beer would ya
 
I will eventually.
 
1:28 PM
amazon price estimate is 23k
we want to fit into 1k, beluga seems to be similar to what we're looking for, but were researching this still
 
1k for 600tb data movement seems... low
I doubt anybody does it for that price
 
no free lunch
 
Morns
 
o/
 
not 600, 1k for 200tb
we could decrease the load somewhat to fit into 200tb
but 350tb price estimate on amazon and similar networks was 20k+
 
1:44 PM
If you can limit the size to 200 why did you just ask for 600?
Actually nvm. Not falling for a trap :P
 
Fuck you
 
hahahaha :P
Gotcha!
 
I hope you fall from the top
 
I know you don't mean it <3
 
1:55 PM
Rounding of double precision column – #77192
 
@mega6382 too obvious. what idiot would fall for that?
oh… sorry @PeeHaa
 
:)
 
Infinite loop in preg_replace_callback – #77193
 
2:10 PM
php7ts.dll crashing when running embed – #77194
 
@Gordon ah fuck I fell for it
 
DumbFuckFist
 
@Jimbo ¯\_(ツ)_/¯
 
It never fails :P
 
Well at least I'm looking at those videos and not the ones of @PeeHaa's mom
 
2:15 PM
@Jimbo Since when do we need prefer those?
 
@PeeHaa trying to account for future headroom somewhat.. :/ the actual real life usage is 350, we could reduce to 200~
 
Is there any way to unretard gd?
@imagecreatefromjpeg(__DIR__ . '/../tests/Data/image/broken-mspaint.jpeg');
That outputs: "JPEG datastream contains no image" for whatever stupid reason the broken library thinks I want
Maybe cc @Danack
 
posted on November 23, 2018 by CommitStrip

 
2:30 PM
We got 300 registered users in our website .. I guess these days we have to hold an election to choose some moderators by users. I feel good :-)
 
@PeeHaa hassle pierre.....
actually, open a bug for that, if one doesn't already exist.
 
@rtheunissen Is there a way to load a suppression file when using run-tests.php with valgrind?
 
2:48 PM
@Danack k tnx
 
3:04 PM
@mega6382 not gonna happen =)
 
Is it possible to send multiple requests (using file_get_content) as parallel ? I mean I don't a request wait until the response of another one. is it possible?
 
3:15 PM
Incorrect error handling of imagecreatefromjpeg function with corrupt jpeg – #77195
 
o/
 
o/
 
halp
what should I name a value-object, that contains pagination parameters (start, end, limit) ?
 
PaginationDescription?
 
my current options are "Scope" or "Viewport"
 
3:27 PM
window?
 
yes, that's an option too
 
Border?
 
3:57 PM
PaginationScope... I'm pretty verbose with my names. =/
More than others tend to be.
 
@NikiC @Danack You are correct. I just used the zend_hash as it is, without using the packed, copying etc.. I just did zend_hash_index_del and then added at the end.. and I measured using zend_memory_usage() and it seems the memory consumption was pretty Ok.. Just writing using existing zend functions seems to do the trick, rather than too much optimizations :-) as always
 
@JAamish I forgot to say - I actually find it easier to debug memory leaks when I'm not going through any zend functions to allocate memory. If I see a valgrind entry with the allocation coming directly from a file that I'm editing, that is easy to track down. If the memory leak is occuring in a zend file, that is at least one level of abstraction that needs to be tracked down.
 
@Danack So you would recommend not to use the zend_hash functions, but rather use own implementation.. is that correct?
 
Use the zend stuff for now. If at a later date you actually need to optimise the memory usage/copying, maybe do that as a thing completely separate with your own implementation.
> In biology, two things are isomorphic if they resemble each other. In mathematics, two things are isomorphic if there is a structure-preserving map between them in both directions. In computer science, two things are isomorphic if the person explaining a concept wishes to seem educated.
6
 
4:27 PM
@Danack Got it.. I am using zend stuff, as I believe if somehow leak memory, zend will take care of it.. however, you are correct, that when debugging for memory leaks there is a hidden layer here, so it is difficult to debug. Would using the zend_memory_usage() at RINIT and at RSHUTDOWN sufficient to confirm if there are indeed memory leaks from my code..
@Danack Philosophical :)... Nicely applied.. I tracked the article down to - raganwald.com/2016/12/27/…
 
@JAamish maybe, I don't know.
 
@Danack Are there any test cases that you run at php src to validate zend_hash functions for memory leaks etc
 
@JAamish You will get warnings if you leak memory
Assuming you are using a debug build
And are using per-request allocation (no persistent=1 parameters)
 
I just use the -m when running stuff through runTests.php which runs the tests through valgrind.
 
@Danack That's not going to report leaks
 
4:40 PM
@NikiC am I completely misremembering? It seemed to report leaks in stuff I've allocated.....
 
@Danack -m does not run valgrind with --leak-check=full
It's going to report memory errors, but not leaks
 
5:28 PM
@tereško any game recommendations that is on sale?
 
!!friday
 
5:57 PM
@samayo Just reminded me I should check Steam for sales.
 
@StatikStasis is this the sales page? store.steampowered.com/search/?specials=1
 
Oohhh Kerbal Space Program 15.99
Been wanting to buy that
 
@samayo looks like it
 
hmm, thanks. I thought there was another section for black friday
 
6:03 PM
Pillars of Eternity II looks cool.
 
^ my kind of game
btw xcom is not what i expected
the game is too limiting
 
mornin all
Yet another question from J world, is that similar to PHP: new class() extends Thing {... }
    Runtime.getRuntime().addShutdownHook(new Thread() {
        public void run() {
            server.stop();
        }
    });
??
 

Java

Dedicated to the discussion of the Java programming language a...
Also I don't get what you're asking.
 
new Thread() {
        public void run() {
            ...
        }
    }
Why there is {} after new object instantiation and what does that method inside means
 
6:18 PM
the braces are part of the function's syntax
 
100% a Java question. But here you go.
 
and run means run
 
Thank you so it is similar to anonymous class in PHP just yet another syntax
 
6:47 PM
@PeeHaa the best thing is
5 hours ago, by PeeHaa
Actually nvm. Not falling for a trap :P
:p
 
@mega6382 are you playing games?
 
No, just quoted the wrong message, on cell right now, sorry
@samayo oh, do you mean like video games?
 
yeah
 
No, not for some time now
 
7:08 PM
@StatikStasis I am sure it already did :p
 
Nope
I read PeeHaa's.
=P
 
@samayo you mean, aside from Oxygen Not Included, which is an evil evil affliction
lemme make a quick check
btw, what's your hardware, so that I do not recommend something that you will only be able to run in "slideshow mode"
 
thanks
let me fetch the specs
i have dell xps 13 so intel is there for sure
Dell XPS 13 9370-PW4CY (13.30", Full HD, Intel Core i7-8550U, 8Go, SSD)
 
video, @samayo?
 
hmm, this is embarrassing, but what do you mean?
 
7:22 PM
video card?
or are you using the integrated intel graphics?
 
Yeah, I didn't add anything to it
Graphics card is: Intel UHD Graphics 620
 
hmmmmmmmmmm
 
xcom run smoothly btw. You could use that game's requirement
 
\o
 
7:34 PM
o|
 
I love watching people scramble over Hisense TVs in these Black Friday videos.
 
Anyone experience with php-cs-fixer? I would like to try a single rule `protected_to_private` on a codebase: `php-cs-fixer-v2.phar fix app/ --rules=protected_to_private`

However that command literally does nothing (except creating cs fixers cache file).

Any ideas?
 
@samayo Just Cause 3, Klei Survival Bundle, Wolfenstein: The New Order, FTL, Ori and the Blind Forest (only if you have a steam/xbox controller), Bioshock, Endless Legend, Divinity: Original Sin, Tomb Raider, Far Cry 3, Middle-earth: Shadow of Mordor, Dragon Age: Origins, Deus Ex: Human Revolution, Age of Wonders III, Serious Sam 3: BFE
that would be the recommendation list
good discount, good games
 
wow, thanks a lot @tereško really a nice list, I think I have lots of shopping to do this weekend
will let you know which ones I bought
again thanks
 
unfortunately - my list has not "driving games"
 
7:49 PM
good riddance. I've never been a fan of driving games
it's like playing tetris with 3d angle
 
well ... there are nice space games, like Elite: Dangerous and X3: Albion Prelude, but those have shitty discounts on this sale
 
the ones i tried were grand turismo and other similar games. unless playing with someone else, it doesn't seem to be interesting playing long hours
 
8:28 PM
@NikiC no doesn't seem like it. Shouldn't be too difficult to add though. DS or Decimal?
 
I thin the automation was the evilest update that devs added in Oxygen Not Included
 
Fuck. I just wrote the most complicated SQLite query in the history of queries based on domain knowledge that was wrong and the guy who would know is not here.
 
it encourages you to create simple "life improvements", that in reality create invisible supply chains - these supply chains end up causing catastrophic failures in your base, because when that hidden supply chain gets disturbed, all parts of it start failing in a way, that has not simple solution
 
9:14 PM
I've made a suggesting-a-list-of-titles-for-question-system which would be really useful for Q/A websites .. (SEO perspective - since suggested sentences are the most searched expressions)
Do you think is it good to give it to SO ? How can I do that?
 
you can't
instead you should create a system, where other users can suggest a better title for the question
 
Why? Actually our website got 2 back-links from SO .. I'm trying to compensate it
 
why? because making a general AI is a hard problem
 
@tereško such a system is currently implemented in SO (and our website).. people who has a specific rep or more can simply edit questions and modify the question's title
 
the important word in that sentence was "suggest"
everyone should be able to suggest an edit (and be rewarded for good suggestions)
 
9:20 PM
well currently the system is like so!
 
SO ha the "suggest edit" system :D (for users under 1500 rep)
 
:-) ..! "suggest edit" is a part of "suggest title"
 
so, what you need to do is tel you uses' that they can do that
 
anyway, the API I've made is great .. it gives you some titles from google as an autocomplete box under your title input
 
odd ... every API that I have ever made has been shit in some way
 
9:23 PM
why? what's wrong with them?
 
the structure, internal logic, linking of resources, naming, optimization, testing, extendability, documentation
... ya know, the small things
 
I see :-)
just any idea how can I contact SO's technical team ?
 
do yu want to know, how they do some things?
 
nope .. I want to give the API I've made to them :P
It's a very good for Q/A websites
Let's put it this way:
Since 1 hour ago, when I've used that API until now, 3 new questions added in our website
 
@Allenph What's complicated about it? How many joins?
 
9:28 PM
are you talking about Telegram integration?
 
Those three questions have used suggested titles
@tereško nope
 
@Shafizadeh here is the mistake in that: SO team does not want more new questions
 
That API doesn't help to get more new questions .. it increases the titles' quality
 
that's why the instead show "questions with similar content" to get some users to not ask a new question but instead to read the old one (and maybe contribute to it)
 
I see what you're saying ..
 
9:31 PM
you project is currently in completely different stage with completely different priorities
you want to to get more good questions
SO wants less bad/repeated questions
 
I see .. I guess you're right .. our website and SO aren't in the same status .. So our needs would be different
 
it is not an accident, that in the "close question" popup the first item is "duplicate of .."
 
true (though we have that option too)
btw, we got about 27,000 links indexed in the google
 
that growth seams slightly exponential
though, if you ant to do analysis, you should look at the amount of clicks-per-week, new question and new users
if you get a similar growth in those areas, then everything is cool
otherwise - that would be a sign of a problem
 
9:48 PM
I don't have any metric to evaluate other parts .. we've about 1k click per week (unique) and 1.8k (session) .. I don't know is that good as that chart above
 
you can create those stats, by querying your database
every new user in your site should have a created_on timestamp
and same should be in every question and answer
it's just a matter of querying for those groupings and putting them in excel's chart
 
I guess we have to hire a program-analysis-specialist
 
why?
can't you cam simple SQL queries?
you do not need to hire a specialist just to do something, that will take about an hour (assuming that you have no idea what you are doing)
 
you know, I'm ok with such a simple (low-level) evaluations .. But
- we need to find some keywords to focus on them
- we need to make some campaign
- we need make a strategy for the way in the future
- we need to make some adv plans
etc ..
It's much more than some simple queries
You know, our rivals are huge, don't you see SO ? :D (just kidding)
 
10:05 PM
you have 300 users :D
you could do the analysis yourself in a weekend , with pen and paper
what you want now are estimates for growth
 
Yeah the scale of our project is too much small now. but I believe an has-experience guy should join us.
 
!!should I
 
Let me think about it … wait … yes … well actually, no.
 
hmm
 
@Shafizadeh experts need salary
 
10:14 PM
The @netatmo servers are down and twitter is already full of freezing people not able to control their heating :D (via [protected]) / cc @internetofshit
 
@tereško I know .. our project has a small income .. we've accepted adv for a organization. we can give it all to a route specialist
 
you project should have 10000 users before hiring an analyst
for now it is enough to make a small charts with "questions, answers, new users and returning users" per week
those are the metrics you shoud care about
an you can do that yourself
 
if that's all, yes I can do that myself
 
cant believe ive never hit the at cmd before..
 
@StatikStasis Three joins across two databases including one self join and several virtual columns scraped out of strings and put through CASE expressions.
 

« first day (2960 days earlier)      last day (1991 days later) »