« first day (2322 days earlier)      last day (2626 days later) » 

10:02 AM
Why would you use markdown as a template?
 
@Sean mm
 
@SalOrozco because markdown is nice?
 
I have never used it.
@Gordon it converts to html right.
 
@SalOrozco this chat uses markdown and all posts on the main page do to. yes, it does.
 
@SalOrozco ^
 
10:08 AM
@Gordon for input, sure, but a bit limited for use as a template
 
So you have to add something.
It won't just render in the browser.
 
moin
 
moin Dave
 
yo
 
@SalOrozco yes, you use a convertor. there is plenty in php
@PaulCrovella depends on your templating needs
 
10:11 AM
\o
 
"I can bring you the same experience as with when you're with a woman. "
Does this sentence make sense to you?
 
j5g4g02
f8b156d017da
 
@gordon but how would you add classes for css
 
Say if it's what I say to a str8 guy.
 
@SalOrozco you don't.
 
10:14 AM
lol
 
@ZhengquanBai Technically yes. Although it's also super creepy-sounding.
 
@EarvinNillCastillo now please tell us the url of the server this was the credentials for
 
:P
 
@DaveRandom Thank you.
 
also, kicking him was probably a bit overzealous. he didnt previously misbehave, so I'd assume it was an accident
 
10:17 AM
Sorry got confused with some indian dude cc @EarvinNillCastillo
 
@ZhengquanBai no
 
@Gordon I never make mistakes
Jan 31 at 3:13, by DaveRandom
git status
Jun 3 '16 at 16:33, by DaveRandom
git clean -f
 
Anonymous
 
clear
 
cls
 
10:19 AM
Feb 16 '14 at 1:08, by DaveRandom
cd \
 
@DaveRandom That's doubly weird
 
@DaveRandom how do you fuck so badly that you cd to a backslash?
 
@littlepootis I was wondering if it's technically correct to use "with" here. "the same as" is a fixed phrase and "as with" also means "the same".
 
Windows
 
window
 
10:20 AM
widow
 
wow
 
@PeeHaa these should work here
 
:P
 
I can bring you the same experience as with when you're with a woman.
I can bring you the same experience as when you're with a woman.

Which do you prefer to say?
 
Neither
 
10:20 AM
 
Both are creepy as fuck
 
^ that
 
@ZhengquanBai 1) ell.stackexchange.com 2)It's creepy as fuck
 
What is it what you are trying to communicate?
 
@SalOrozco Markdown is a simplified markup language. It's not meant to be used with CSS classes or Javascript or anything. The only reason it needs to be converted to HTML is because browsers do not natively render Markdown.
 
10:21 AM
If I were you I wouldn't use this sentence
 
@Trucy Good recommendation. A good place for this kind of topic.
 
I assume the main thing that he is trying to communicate is misogyny
 
@Gordon do I need it?
 
@PeeHaa that he is a ladyboy obviously
@SalOrozco how should I know?
 
@ZhengquanBai who would you say that to and why?
 
10:23 AM
I'm not sure we need details here
 
okay so this can be used from now... thanks to
 
@PaulCrovella maybe he's working on i10n'ing some chinese shemale hookup service
 
@PeeHaa Ashamed to admit, but it's what I post on a social media app for the heterosexual in order to flirt with str8 guys.
 
@ZhengquanBai so basically you're not respecting the sexual orientation of someone?
 
@ZhengquanBai I really doubt that would even work :P
 
10:25 AM
@ZhengquanBai You're a guy that's into straight guys?
 
It's just a joke. I'm not a ladyboy. But I think str8 guys are attractive. Ok. Let's just stop here since this room is dedicated to php discusstion.
 
@Gordon l10n, but now I want to come up with a good i10n
 
@ZhengquanBai the second version sounds more english to me.
 
@Gordon Thx.
 
@PaulCrovella ı10n /cc @Ekin
And yes I am agree with @PaulCrovella the latter sounds correct
albeit creepy :p
 
10:28 AM
@PeeHaa what did i do that I now have to reevaluate?
 
:P
Wrong ping sorry
Twas for @Gordo
Please forgive me
 
don't scare me like that
 
@PeeHaa that's the title of a Bryan Adams song and you know it!
 
:-D
 
ping @Sean?
 
10:30 AM
@DaveRandom I'm alive!
 
You forgot the evil laughter
 
@ZhengquanBai you might have some luck scoring a date with @Jeeves
 
Aliiiiiiiiiiiiiiive!
 
Have you got any uncommitted work on !!rfc? @Sean
 
@Jeeves you alive?
 
10:31 AM
@DaveRandom Why do you care? You are working on twitter anyway
 
and dnslib
 
@Jeeves you are back \o/
 
Chatting with you really teaches me a lot of native-like words.
 
@ZhengquanBai Not sure whether that's a good thing :P
 
3 messages moved to Trash
 
10:32 AM
"native-like" is more appropriate than you probably appreciate
 
<3
Doesn't ping though
 
does
 
also isn't it actually called libDNS?
 
oooooh fucking sexy
timing :P
 
lol
 
10:33 AM
:-D
 
@Ekin well the thing I am working on now is amp/dns, after that I need to work on libdns
so that covers both
 
K I see
 
!!alias ? dave
Pfffff weak
inception \o/
 
Don't think that will work
 
:D
!!test2
 
10:35 AM
!!test2
 
!!test2
 
lol
 
rofl
 
spam !
 
:D
 
10:35 AM
!!test
 
17 messages moved to Trash
 
I will add recursive resolution
 
@PeeHaa broke le jeeves
 
it's not a bug, it's just also not a feature
6
 
@DaveRandom Nope, not on RFC
Just jeeves-shhhh
 
10:40 AM
@Sean no worries
Did you look at the presence stuff?
I think the bool that determines whether the bot is muted should be stored in that same data store, but you can't just reuse isApproved() as that means something else
 
Not yet, between yesterday and the weekend :>
 
needs an isMuted() and also a canTalk() which is isApproved() && !isMuted()
 
On the manager itself?
 
Also that object model needs work but I'm not sure what to do about it so probably leave it for now
There's a really complicated circular dependency that I can't quite wrap my head around how to remove cleanly
 
Happy to let admins use commands through mute?
 
10:44 AM
@Sean hmm, I would say it needs more complexity than that
In general I'm not happy with the "admin" thing, I want more granular permissions
 
!!dave
 
@DaveRandom should work on DNS lib.
 
Let me think about what I think
we need a roadmap
 
!!alias dave2 should DaveRandom work on async twitter or work on async twitter?
 
Command '!!dave2' aliased to '!!should DaveRandom work on async twitter or work on async twitter?'
 
10:46 AM
!!dave2
 
@DaveRandom should work on async twitter.
 
!!dave && !!dave2
 
@DaveRandom should work on DNS lib.
 
:P
/me goes worky
 
!!alias peehee should PeeHaa be pitied or
 
10:49 AM
Command '!!peehee' aliased to '!!should PeeHaa be pitied or'
 
!!peehee go away
 
@PeeHaa should be pitied.
 
awww
 
:D
 
11:00 AM
Hello everyone, i am trying to fetch values from DB and assign them using implode(). but for some reason i don't know the value "Electrical works" is printed as "Electrical" works="" pastebin.com/vwrNNE0M
 
@AccountUnknown then it's time to learn how to step through your code with a debugger:
 
(:(
The problem is white space... is there any problem of using white space with implode()?
 
11:24 AM
@JoeWatkins thanks for pointing me on how that this_ptr stuff is mindblowing, changed it to ZVAL_OBJ() and found few related bugs. Thanks a lot!
 
Anonymous
Moin
 
@JayIsTooCommon o/
 
@Danack Tagging this for later watching, been needing to learn how to do this too.
I kinda got it working for an internal webserver, but I want to get it running for CLI.
@DaveRandom Sure, if you find the time would you mind adding discussion points on the issue?
 
@Sean no worries
 
Brain is frying like an egg atm at work so there's a good chance I'll forget
 
11:37 AM
@Sean there have been changes that make it even easier to get going in phpstorm since that video was made
 
@PaulCrovella Does phpstorm also do phpdbg?
cc @bwoebi @JoeWatkins
 
@PeeHaa I'm not sure what ever came of all that, but I don't think so
 
It had something to do with that xml debugging protocol thingy right?
 
something like that yeah
 
@pinepain welcome
@PeeHaa nope
 
12:01 PM
11 messages moved to Trash
 
@PeeHaa right, aliases are now resolved recursively ^
 
you treat your TODO list as a stack rather than a queue
 
I am an expert at procrastination
Stick to your strengths
 
you can procrastinate later
 
!!dave2
 
12:04 PM
@DaveRandom should work on async twitter.
 
!!test2
 
I deleted it
 
poop
 
5 messages moved to Trash
 
did jeeves ever get a !!say command?
 
12:07 PM
nope
 
I was pondering !!echo
Would have to disallow pings though
 
would be useful by aliases, whatever the name. e.g. !!alias poop !!say đź’©
and tada, a bot that poops on command
 
12:23 PM
oh ffs
 
14 messages moved to Trash
 
!!poop
 
đź’©
 
Writing that plugin took roughly 45 seconds :-P
/me will actually do something useful now
 
12:25 PM
okay how about !!at and !!cron then
 
...which invokes the given command on a schedule?
 
interesting
definitely admin only
and not a plugin, would have to be built-in
Unless we add a proper API to let plugins invoke sub-commands
 
with !!at taking a single point in time to execute the thing once, and cron being cron
 
Which needs a layer of abstraction between commands and messages that doesn't currently exist
 
12:29 PM
> There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "dafaa4ea-da26-427e-b313-d7cd892676a3", "--type", "headless"]

Stderr: VBoxManage.exe: error: The virtual machine 'test_default_1487852787925_95802' has terminated unexpectedly during startup with exit code -1073741819 (0xc0000005). More details may be available in 'C:\Users\Danack\VirtualBox VMs\test_default_1487852787925_95802\Logs\VBoxHardening.log'
Frigging computers.
 
Virtualbox has some real usability issues with headless/background running
It's pretty insane that there's no built in way to make machines run as a windows service
 
> The heart of the problem is that Hyper-V locks exclusively the virtualization feature(s) of the CPU, and will not share them with other software.
Nope. Disabling Hyper-V didn't make it magically work, and apparently docker requires hyper-v anyway.
 
12:53 PM
Is $HTTP_RAW_POST_DATA superglobal? Even if it's not populated?
 
doesn't exist anymore
 
Yeah, not that lucky
 
Anyone got a handy PCRE expr for matching printf format specifiers?
@bwoebi maybe?
 
nope
 
12:55 PM
No worries, I'm sure I can manage
 
2
Q: Regexp to detect if a string has printf placeholders inside

sorinI am looking for a regular expression that will properly detect if there are printf() kind of placeholders inside a strings.

 
the accepted answer is wrong
 
I already wrote %[-+]?(?: |0|'.)?-?[0-9]*\.[0-9]*[%bcdeEfFgGosuxX]
Not tested it yet
 
@DaveRandom don't forget arg swapping
 
@PaulCrovella Yeah the second one look promising though
 
1:02 PM
right
%(?:[0-9]*\$)?[-+]?(?:\x20|0|'.)?-?[0-9]*\.[0-9]*[%bcdeEfFgGosuxX]
lol it says "Go sux"
 
@PeeHaa return $string === vsprintf($string, range(1, 99));
 
That doesn't detect anything though :P
 
@DaveRandom \.[0-9]* should be optional
 
oh yeh
 
1:25 PM
ugh, note to self, never give your direct (company) number / email to a client
 
@Naruto Yeah that is on top of the list of most stupid things you can do
Especially phone
 
@PeeHaa there's also discussing with a SJW
 
I am good at ignoring people like that
 
@Sean protip: gaff tape and pb blaster are superior to duct tape and wd-40
 
1:31 PM
> PROUDLY POWERED BY WORDPRESS
 
Yeah but when they're OP in some chan where you're also OP…
 
From: PeeHaa@somecompany.com
Hi,
Sorry, I don't work at somecompany.
Thanks,
PeeHaa
 
@Sean I worked with/as a ducttape programmer
Sure, it works
As long as the user does everything we predicted
 
@PeeHaa but but.. it was unintentional.. ^^
 
As long as they don't start to access the application via another URL than "http://application.internal"
As long as only one user access the application
 
1:35 PM
being a duct tape programmer doesn't mean ignoring edge/failure cases.. that's just being a shitty programmer
 
I'm hit my duct tape solutions every day in this code base.
 
a duct tape solution is useful when "fuck it, we can't do it properly, at least this hack works"
 
I also will never cease to say that having a 21k line controller full of these fixes is absolutely terrible and never do this on a system that has an expected life span of over a year
But here I am, with phpstorm which is just barely not lagging out when it tries to look at this file
 
^^ my last job in a nutshell
/me finally gets why PHP doesn't use $object.method
Because . is a concatenation operator
 
We're now hitting detrimental issues because some smart allec decided to store a reference to another table in a JSON string, and then access it using LIKE '%object_id:"..."%'
 
1:40 PM
@Sean Hit the fucker hard with a wrench
 
@Trucy seems random? 3v4l.org/9UUWs/perf#output
 
@Sean does the database even has json support? :D
 
Possibly if that's running on AWS "hardware", then CPU limits might be kicking in.
 
@FlorianMargaine omfg
 
1:42 PM
@Danack oh thx, I should have tested multiple times
 
@marcio Nope! It's a json string in a TEXT column in a MySQL db.
 
it finally happened
 
@NikiC and a practical one!
 
Nine quintillion (9,223,372,036,854,775,808) SHA1 computations in total
6,500 years of CPU computation to complete the attack first phase
110 years of GPU computation to complete the second phase
Christ
 
I bet the NSA haz a sad today.
 
1:46 PM
@Sean LOL. But you can't index json columns in mysql yet, so, for now, it's a bad idea regardless IMMO. Someone told me to use virtual columns to index specific json keys but IDK if it's really doable.
 
@Danack they were probably wonder how long it'd take for anyone else to figure it out
 
mfw my manager wanted to store passwords hashed with md5
 
@FlorianMargaine time to update to sha1
oh, wait
 
!!dad
 
1:51 PM
Did you hear about the followup to the database movie? It's a really great SQL
 
!!dad list
 
@Trucy You guys have taught me jokes about mountains, f1, constipation, skeletons, onehanded, peehaa, adobe, stockholm, stairs, process, recursive, snoopdog, cookie, snowman, ocean, currant, sql, switzerland, negative, floorboards, karma, googlecars and roadies
 
The good thing when you update from md5 to argon2 is that you don't need to wait for users to input plain passwords.
 
!!dad googlecars
 
Why did the scarecrow win an award? Because he was outstanding in his field
 
1:51 PM
:<
 

« first day (2322 days earlier)      last day (2626 days later) »