« first day (2894 days earlier)      last day (2040 days later) » 
02:00 - 15:0015:00 - 00:00

2:01 AM
@Wes I am interested in what this means. Is UDP bulk TCP?
 
2:54 AM
nn
 
Wes
3:28 AM
This made my day🤣🤣🤣 "It may be a mistake to jump to conclusions"
 
 
1 hour later…
4:53 AM
@Machavity That's a net improvement from Liskov Substitution Principle.
 
 
1 hour later…
5:56 AM
posted on September 18, 2018

 
morning!
 
@HamZa I don't really get how you want to exploit that without already being CORS exempted or already having an XSS vector on a site
 
Hello Felllows, Any WP expert ?
 
function 'getenv' - lacks new translation in chinese document – #76898
 
0
Q: Multilingual Plugin Language name change

Chirag DaxiniCan you please help me like how can i able to change language name which are there in Multilingual plugin. In my site, i have added 2 language support , ie for English and Arabic so i want to change English to Eng and Arabic to Ar. So, Any help with that is really appereciate. Thanks in advanc...

Any help on above issue ?
I need it really fast
I am also ready to pay
 
@HamZa basically: I do not see any browser based exploitation method and am seriously wondering how this is high risk.
hmh, one week left with typed properties ... why do RFCs need 2 week votes with these outcomes :-D
 
7:13 AM
Happy birthday @ircmaxell
19
 
Happy Birthday @ircmaxell
morns
 
@bwoebi agreed, I don't think it's high risk at all
 
So just FYI: while a Thinkpad can withstand small amounts of water, it will be utterly destroyed when bathing it in a litre for about 30 minutes.
I didn't expect it to survive that but I do admit I was somewhat disappointed
My water bottle opened in my backpack during my commute
 
@mega6382 HTTP_RAW_POST_DATA is deprecated.. so that's not an option ^^ I don't know, I feel like that's just dirty code for some reason :( and I don't like either part :P
 
7:38 AM
what is cloudflare?
I have been reading stuff on this but no clue
is it a cdn or should I use cdn else where
 
@Naruto I was just kidding about using HTTP_RAW_POST_DATA, maybe use a library or something, that way you won't have to look at it.
 
bob
7:52 AM
Hey anyone got any idea how to make a fill in the blank test with php?
 
Johnsonese a literary style characterized by rhetorically balanced, often pompous phraseology and an excessively Latinate vocabulary: so called from the style of writing practiced by Samuel Johnson.
 
@mega6382 how am I supposed to know? :P
sideshow@bob that's pretty vague isn't it?
 
bob
8:09 AM
@Naruto I'm just trying to figure out how it's structured.
 
@Naruto I added ":P" at the end
 
moin
 
8:37 AM
posted on September 14, 2018

Comic is up. News? Not so much. I’ll see about fixing that soon. Might be a few days.

 
8:49 AM
@Feeds "Exception: The operation succeeded"
 
9:06 AM
pcntl_async_signals not available in phpdbg – #76899
 
@mega6382 no you did not? :O
 
18 hours ago, by mega6382
or maybe $HTTP_RAW_POST_DATA :P
@Naruto ^ what's that then? :P
and in the next message, I even wrote "just kidding. I wouldn't recommend either"
 
What is the recommend method for sending multiple files to another server's REST API? I can control the communication between both servers.
Is ZIP a good option or is there a better method?
I could perhaps scan all the files and generate a multipart POST request not sure which option would make better sense.
 
9:26 AM
@someone zip would be one file, sure its an archive so it'll have multiple files in it, no, issue with this approach really, just be sure to have proper security checks like everything else. The other approach could be to send multiple files using in the same request, with using different key names for the file or as an array of files. Third option would be to send them 1 file at a time in a single request. Choose whichever suits you best.
 
yeah I think i'm gonna go with the zip file because it seems to be the easiest.
 
hi all,

the theme flatkit on themeforest uses echarts. it keeps bars draggable in bar chart. i need to set draggable to false. nothing is working
can anybody help?
 
@QasimAli Doesn't seem like a php issue, try the html & css room or js room. Maybe someone here can help, but you'll have better luck there.
 
@QasimAli you should ask the creator this isn't an open source thing.
 
ok
 
 
@Ekin cool
 
so he's the first paying customer of BFR
 
@mega6382 LIES! :P
 
:P
 
Who should a letter of resignation be addressed to? HR or your NiC?
 
9:49 AM
mornings
 
moin
 
@Sean to that asshole that doesn't want to listen to a word of advice you are trying to give him / her
 
@Sean NiC?
 
next in command ^
 
@Sean directed at HR, and in cc your manager(or NiC or whatever)
 
9:51 AM
would that be the head of department?
 
The CTO
 
thinking it should be whoever is your manager, if there's no other manager in between I guess the CTO it is
 
I want to redirected to webpage when I check a checkbox <input type="checkbox" name="checkbox" onclick='window.location.assign("edit.php")'/> but I get localhost/Mywebapplication/.../edit.php So how to get rid off ...
 
you could maybe consult to HR though
 
Any another guide?
suggestion
 
9:59 AM
@Sean So, why are you resigning? Found a new job? or just don't like the current one?
 
@mega6382 New job and shift in role. Current company isn't supporting my needs.
 
Awesome, what is the new job title?
 
@mega6382 cocaine inspector
 
^
 
:D
 
10:04 AM
also, mornings
 
Moving from 100% development into a dev-ops focused role
 
morning @tereško
 
cool :) congratz
and mornings indeed
 
@Sean then maybe you can give me ideas for what could be making Xorg on my home PC to act .. emm ... sticky
 
@bwoebi ha, 63 said yes :-p will this be a record?
 
10:06 AM
@tereško I want to redirected to webpage when I check a checkbox <input type="checkbox" name="checkbox" onclick='window.location.assign("edit.php")'/> but I get localhost/Mywebapplication/.../edit.php So how to rid off ...
 
if I just turn it on, it gets stuck right before loading SDDM ... and if a mash tab key, it wakes up immediately
I have no idea what could be causing it
 
ok
 
@Webdev Please don't just ping random people specifically for help. Look at how window.location works and the difference between relative, absolute, and static urls (/paths)
 
just add him to the ignore-list
 
some prbs need superman @Sean
and he is
 
10:10 AM
Who checks the emails sent to internals(at)php(dot)net, I sent an email a few days ago haven't gotten a reply yet.
 
@tereško not dived into xorg but I can ask someone who might have if it's giving you grief
 
I was mostly just wondering if there is a known issue of that description
I will have to go through logs on the weekend
my current understanding is at the "well, somethings not working" level
 
First port of call, everything up to date?
 
I am building an e-commerce website so the products are displayed with checkbox beside each one, I want the client to choose multiple products and insert them into mysql .
Any idea
 
Why do you want them immediately inserted into mysql after selecting them? That would seem like a resource hog. I can understand if you want data retention, but in a situation like that, wouldn't using some async code and REST be preferable?
 
10:20 AM
@Sean it's arch (so, yeah, all the apps have been updated), and I recompiled the kernel last week
 
last hour has zipped on by
 
@Tiffany In this situation use rest?
 
@Webdev I would think so, yes
having to interact with the database on each item selection would take time, and the user would get understandably frustrated
 
Not on each item, after selecting all items
 
so you mean after they submit a form?
 
10:25 AM
yeah
it's good idea?
 
which?
 
after they submit a form
 
I assume you're going to do validation and checks on the input before inserting into the database, otherwise you're vulnerable
even if it's only a checkbox, a user can open dev tools, modify the value of a checkbox, and inject malicious code, then that gets submitted to your database, and you're fucked
 
hmmm
 
Remember this rule: Never trust user input
 
10:29 AM
How I can do validation and checks on the input
 
check the value of the checkbox
 
If(checkbox.value()==?)
 
no
 
so
 
you'll end up with spaghetti code
read the two guides I posted
if you're looking for an easy answer, then you're probably better off using a pre-built e-commerce solution, instead of trying to build your own; otherwise, prepare for a lot of reading and learning
 
10:32 AM
however after user checks the items what scenario should be?
away from security issues
 
what do you think it should be?
 
thinking...
 
I need to go for a run before it gets too late
 
Wes
ah i see corel managed to ruin also winzip lol
hilarious
 
i have a array like this
$a=array("red","green");
i need to add 1 for every index and want to change the array like this
$a=array("red"=>1,"green"=>1);
how to do this?
 
10:35 AM
@Tiffany No idea
 
array_count_values
 
Wes
11:00 AM
finished some tedious work today \o/ can do personal projects!
also hi everybody
with dr nick voice
 
@Tiffany you are only saying that because you are an evil person, who was never taught to trust your fellow humans
 
@tereško hackers betrayed my trust
 
there are no hackers, only russian trolls
 
What about Russian bots?
 
.. wait .. now I am confused
it might be that Russia actual have cutting edge tech in AI research and have made bots that can troll
I think I could make some evidence to prove it
 
11:14 AM
Someone should do a parody song using ICP Miracle (or whether the hell the name it is), and base it on cryptocurrency, blockchains and machine learning
 
there are probably multiple presentations (aimed at various levels of managers), that could be used as first drafts
 
@Tiffany if it better to achieve my task with php or with AJAX
 
I just want to hear someone say "blockchains, how do they work?" in a mocking tone
@Webdev not sure, at this point, I recommend building what you want to do, and get it working. I think you're starting to overthink things, which is a nasty trap to fall into because you get lost into trying to find the best way to do it, and never produce anything.
 
@Tiffany blockchains, how do they work?(/me says in a mocking tone) :P
 
@mega6382 but you need to sing it!
 
11:22 AM
If I want to select multiple items and post them , how to select the items by their pks with the checkboxs beside them?
@Tiffany
o/
 
\o
 
11:46 AM
@Tiffany isn't that the basis in php? think alot and don't do alot? :P
 
@Naruto but we're getting typed properties!
 
@Naruto Actually, you are not allowed to think a lot in PHP either, cause your brain might explode :P
 
@mega6382 it already explodes from the strange problems clients are asking me to do..
@Tiffany it's about time
 
Wes
12:19 PM
@Danack has bike some double meaning in britain? :B youtube.com/watch?v=VqzkKs5shCM
 
12:32 PM
 
Good morning?
 
@StatikStasis Is it?
 
@Gordon Hopefully everything was backed up. yikes!
@Machavity I'm not sure yet which is why I used the question mark.
 
!!/friday
 
yay, my lockpicks have arrived at customs .. not only to how they don't get flagged by someone
 
12:38 PM
@Machavity no '/' that's js room thing
 
@tereško You learning how to lockpick?
 
that's the intention
 
@mega6382 Oh yeah. That place
 
@StatikStasis I know that channel :P
 
12:39 PM
@StatikStasis No, he already knows how to lock pick, he just needs the kit to start robbing houses :P
 
:D
 
Sam
Hey guys I have a question which isn't really php specific.. more back-end design.. I want to build an API which links to a simulation model but i'm not really sure how one would do it... Would I have a REST API which has a POST method which then calls some hidden module/algorithm to run the simulation?
 
Let me know if they break like they do in Skyrim. Those things snap like they have sat on the bottom of the ocean for a couple of years.
 
Hello folks, this is my first visit to the chat section of SO. Looking forward to know you all.
 
12:41 PM
@Sam Sounds good to me, since we know nothing about what the rest of the project does
 
@SujitAgarwal Welcome!
 
Hello @St
Hello @StatikStasis
 
Sam
@Machavity I mean, that would be a good design right? Not knowing what the rest of the project does.. it would just be a service
 
!!welcome SujitAgarwal
 
Welcome @SujitAgarwal, please read the Chat Guidelines
 
12:42 PM
@Sam I would assume so, yes. The API is just a layer to let other people tell your project what to do
 
Sam
I just wasn't sure if it was a common pattern to have an API act as a sort of factory method to some hidden elements of the software program. But then I'm not a dev so what do I know
 
@Jeeves read them. Thanks for guiding me.
 
@StatikStasis heh. Well, there was a sale on pickpals.com.au, so I took the advantage
 
ah nice. There have been a couple of times I locked myself out of the house where I wish I knew how.
I've thought about learning- so far I only watch the Lock Pick Lawyer's videos.
 
@NikiC libxml2 version on that machine is 2.6.30 (and it's running Ubuntu 8.04, not 7.04 oops)
 
12:49 PM
my intention is just learn a bit, so that I have some basic understanding, when I need to buy a new lock
 
Yeah- the videos made me realize how vulnerable my house is to a criminal. I would need to spend between $300-$400 USD on a good lock for the house.
 
not really
 
Two of them actually- front and back door.
It would seem.
For the unpickable ones.
You know a place?
 
like this one
for two it's a bit under $250
besides, it does not seem to be all that difficult to re-pin one yourself (it would not be 100% secure, but then again, even a perfect lock will not protect against someone removing the entire door or climbing through a window)
the "fancy lock" are more for above-ground apartments
 
@StatikStasis That happened to me a couple of times, all I needed was a screwdriver and a hammer, and the lock(it was a padlock) still worked fine afterwrds.
 
Sam
12:56 PM
@tereško are you planning on becoming a criminal?
 
if you have a private home, then invest in an alarm and insurance
 
@StatikStasis how about a bolt instead?
 
We do have an alarm. Our home was broken into about 12 years ago. We bought one right after that.
Heading into meeting - talk to you guys in a bit.
@mega6382 I have that too. =p
 
it's like this morning, my work computer's goal is to be an absolute shit
"my user isn't grumpy enough, lets make her grumpier by being uncooperative and/or slow"
 
somewhat related and an interesting read: tonsky.me/blog/disenchantment
7
 
let's see if it's any decent
 
Starts off in a Blockbuster Video. That should end well...
 
@tereško I'd say for the first trailer, it manages to not give anything away whilst still being cool, and I am excited about the young Nick Fury and Coulson.
 
@mega6382 I'm now hyped!
 
@mega6382 cocks gun Say Hulk one more time. I dare you.
 
1:23 PM
I love how they let us know the movie takes place in the 90s by the Blockbuster Video.
 
how to remove index [0],[1],[2] from these array
Array ( [0] => name=>1 [1] => age=>1 [2] => dob=>1 )
and need to change like this
Array ( name=>1 age=>1 dob=>1 )
 
@Machavity Well... so far they did not make her look like a lesbian as they have in the newer comic series.
 
@Machavity Not much, if any at all. I believe they'll rewrite the whole character arc. Also, I believe that this should've been a "Miss Marvel" movie, rather then a "Captain Marvel" movies, as we know that Adam Warlock is going to be in Avengers 4(as shown in the end of GoTG2), it would've been to also have the original Captain Marvel(Mar-Vell), who originally beated Thanos.
 
Hi
I know the following regex replaces ";" with "\n" (new line), but what does the s/ at the beginning mean? How can I execute this in regex101.com

s/;/\n/g
 
1:37 PM
@mega6382 Jude Law plays Mar-vell in the new movie. Different character.
 
@Arber The "s" prefix means search and replace. It expects 2 parameters (search and replace), rather than 1 parameter a regular regex takes.
 
@pmmaga that article is a work of beauty
 
:)
 
@Arber For example /Foo[AB]/ is just a regular regex looking for FooA or FooB. s/Foo[AB]/Bar/ is a search and replace regex that would replace all instances of either FooA or FooB with Bar. It's quite a difference.
 
@Oldskool isn't that syntax (s/x/y/g) sed specific? grymoire.com/Unix/Sed.html#uh-1
 
1:40 PM
@StatikStasis Sure, but I am saying that this movie is about setting up Cara Danvers as a character for the next Avengers movie, so, I am saying that they should've made this a Miss Marvel movie, and should've made her Captain Marvel after the Avengers 4, and Mar-vell should be the Captain Marvel in Avengers 4 movie.
 
Yeah- I guess they're just skipping past the passing of his mantle part. He does mentor her- or is supposed to from what I have read for this film.
 
@Sjon No, the Perl and Pyton regex engines support it as well. Might've initially be introduced in sed, I'm not sure, but it's become a common pattern.
 
@mega6382 Just need to call Squirrel Girl
 
@pmmaga "iPhone 4s was released with iOS 5, but can barely run iOS 9." Planned obsoletian. Reason I don't update my phone when a new one comes out.
 
@Oldskool Thank you!
 
1:44 PM
@StatikStasis staying away from anything apple also helps :D
 
@Machavity you apparently have not seen the latest iterations of that character
 
@tereško Is she now twice as ridiculous?
 
@Machavity overweight, ugly, autistic and filled "omg, so random" humor
 
@Machavity That was a joke arc, a parody, iirc.
 
and now it is an author's self-insert (not sure if talentless hack should be described as "author")
 
1:48 PM
@pmmaga Great article. Had someone link it in Slack earlier but had not read yet.
 
And Uatu saying he can't interfere is such bullshit, cause he interferes every chance he gets.
 
@tereško There are loads of them on Amazon. =D
 
@StatikStasis sure .. only problem being that the overlap for comic books audience and twilight audience is really tiny
 
@pmmaga Its an OK article not very good in any sense, definitely not "beautiful" or "great", as it just him bitching about whats wrong with software development industry(as we don't already know that), and not providing any solutions(or even hinting towards any). He just want to see improvements in the process(but don't know what they should be). //cc @tereško @StatikStasis
 
@tereško So Pop Team Epic, but by Marvel?
 
1:53 PM
 
Wes
@mega6382 damn even the trailer looks bad
i am already bored.
 
@Machavity "Squirl Girl" is by marvel
 
Wes
people are going to like just because it's a feminist thing. or something
 
@Wes its just the first trailer, there'll be more and some scenes as well. Just Wait.
 
@Wes and making something new is hard work. It's better to take it over, and if it fails, then just migrate to next "cause for equality". See "atheism+" as the textbooks example.
 
1:58 PM
whats atheism+?
 
@mega6382 I think the manifesto in the end provides a good hint at what is the solution. And well, the solution is to get people to care about engineering again. That's not something you can change with a 12 step program or anything too objective.
 
@mega6382 It's Atheism, but with humor
 
@Machavity no, not humor. With "social justice"
it's basically what imploded the rise atheism in early 2010s
 
You know, I can get behind the concept of "agnosticism" but atheism(to me) seems like a religion, in and of itself.
@pmmaga Not really, in the manifesto, he just mentions the "better" a few times in regards to the future, and says how inefficient out current tools are. The only thing he says about improvement is "I’d appreciate if we at least start talking about how absurdly bad our current situation in the software industry is. And then we maybe figure out how to get out"
 
@Machavity basically, if you want to dig in, you can give this video a quick looks: youtube.com/watch?v=4p485xtwsdw (and yes, it is slightly partisan)
 
2:07 PM
@Wes Kind of like wonder woman, huh?
 
Wes
i didn't watch that one yet
DC movies are usually awful
 
@Wes What about Nolan's Dark Knight trilogy?
 
Wes
that was 10 years ago
 
Still counts :P
 
@Wes it was actually quite ok
 
Wes
2:10 PM
will watch it
last batman and superman movies were hugely disappointing
 
@tereško Yeah, it was, especially the god-mode part.
@Wes why? cause of martha?
 
DC should have committed to the Nolan's style, instead of trying to chase the Marvel style
 
overwriting start of stream truncates the end – #76900
 
Wes
ah they made another godzilla movie lol. remember when they were like "the 1998 one what a turd" - "this has brian cranston in it, it's much better"
and then it was like the worst movie ever made
 
@tereško No, actually their problem is that they are trying to mix them both, the dark and gritty parts of Nolan's batman, with the humorous style of marvel, and it backfired.
 
2:12 PM
heh
 
DC had that all "modern gods" theme going for them, but they fuck that one up to in the movies
@Wes lately the best Godzilla movie was "Pacific Rim"
 
Wes
pacific rim 1 you mean :P
 
I have not seen the 2nd one
 
Wes
2 is a colossal turd
 
2:16 PM
pacific rim sucked too, hollywood is just not good at making movies with giant monsters.
 
Wes
but i agree, nice movie... what i wanted from transformers
 
@Wes Worse than this one?
 
Wes
instead i got shia
@Machavity how is that bad
 
@Wes Was like an American parody of the Japanese one
 
Wes
it's like jurassic park but without life uh finds a way
 
2:18 PM
@Machavity still better than this one en.wikipedia.org/wiki/King_Kong_vs._Godzilla
 
Wes
i don't give a damn about the japanese one tbh
1998 one was great... at the time it was jurassic park level of special effects
 
@mega6382 Yeah. At least Godzilla saved the environment once
 
Wes
and has possibly the best soundtrack ever in a movie
 
Morngins
 
\o
 
2:20 PM
o/
 
@Wes naah, "Queen of the Damned" had a better soundtrack :D
if we are talking about terrible movies
 
Wes
lol
don't insult jamiroquai
 
@tereško You know, if they just turn one of their animated movies into a live action one, it would've been better than anything that the current DCEU has released. That is why I am more hyped for the upcoming animated movies rather the the upcoming live action movies, especially "Batman: Hush"
 
@Wes That's good
 
@mega6382 when you say "animated movie" I think of imdb.com/title/tt0386741 or imdb.com/title/tt0405296
 
Wes
2:23 PM
@PeeHaa it's because you are a bunch of millennials, see what people from the right century think about it ^
 
?
Thanks I guess?
:P
 
Wes
you are the "people from the right century"
 
@tereško hahaha
 
Wes
imo a good movie
 
@Wes I was born in 1998, does that count?
 
2:24 PM
@mega6382 btw, I recommend both
 
Don't think I have even seen the movie :D
Not sure
 
Wes
go watch it fast
 
@tereško Anyway, I am talking about these en.wikipedia.org/wiki/DC_Universe_Animated_Original_Movies
@tereško k, will try to watch them
@Wes anyway, which is the right century? cause millennials are from the 20th century.
 
> Metasyntactic variables used commonly across all programming languages include foobar, foo, bar, baz, qux, quux, quuz, corge, grault, garply, waldo, fred, plugh, xyzzy, and thud. Wibble, wobble, wubble, and flob are also used in the UK.
Rowan Atkinson must be a programmer.
I certainly never use wibble, wobble, wubble, and flob.
 
technically, I am at the "tail-end" of being millennial
 
Wes
2:29 PM
@mega6382 they weren't adults in the 20th century
 
Wes
btw, i'm watching "the americans" tonight... i heard it's good
i hope it is because i find everything shit lately
 
we have noticed
 
@Wes Millennials are those that were born between 1977–1996, so, I would assume a lot of them would be adults when that movie came out.
 
Wes
@tereško i call it the teresko disease
 
2:33 PM
"the teresko disease", I think I need to add that to the urban dictionary :P
 
Morning.
 
Wes
common name for pathologic cynicism and nihilism
i hope i did translate these words correctly :B
 
I am not a nihilist ... though I probably am a cynic
 
@tereško But you are a bit of a sociopath :P
 
hmm ... hard to tell, but I must admit - every time I hear someone using the word "humanitarian", it causes me to cringe
but that too is just cynicism
 
Wes
2:45 PM
i'm not 100% sure on the nihilist definition... i should probably look it up :B in my head means pretty much the same as cynic
i started this css parser, made a mess and planned a refactor. after 3-4 weeks of not touching it i forgot everything :(
 
2:57 PM
@Wes short version: nothing matters, everything you do is pointless
 
Wes
isn't that you :B
 
that's basically the opposite of what I think, otherwise I would not be shouting at people who say "I will add security later"
 
Wes
that's more like me actually
 
nihilism as any other type of absolute is wrong as there are no absolute things
 
02:00 - 15:0015:00 - 00:00

« first day (2894 days earlier)      last day (2040 days later) »