« first day (2466 days earlier)      last day (2707 days later) » 

15:00
I just did a pro mlg genji play
what should I call an interface, that is implemented by an identity map?
Identifiable? IdentifiablyMapped?
@tereško IdentityMap
posted on July 17, 2017

New Cyanide and Happiness Comic

How many digit is a 128-bit uuid ?!
@Shafizadeh 128? :B depends on the base.
Thx guys
15:30
@tereško So after building your gaming PC did you find time to really abuse it?
@Fabor about a month after I finished building it, I decided to quite my current job ... so yeah, I did
these days I game for something like 8h per week
Nice. Skyrim modded to FPS crunching levels?
it was
I had to reinstall windows since then .. there is currently only one game installed - Stellaris
Woah. Chat was lit this weekend.
Usually dies.
@tereško Perkus Maximus and Alternative Start?
15:41
nope
I with survival an graphical mods
getting to the "Throat of the World" was a real challenge, especially when the snowstorm hit, when I was near the top
Time to reinstall with those mods as a minimum ;). Well, your choice but highly recommended.
have you played Requiem @Fabor @tereško ?
@FélixGagnon-Grenier when I was in music school
.. you will have to elaborate
15:48
indeed, sorry. I meant the Skyrim mod, Requiem
a total rewrite, insanely harder than the original game
changes all the skills, most of the magic, heavy armor is actually heavy. like, your character will be tired when standing in it without training
does it work with Frostfall mod?
@FélixGagnon-Grenier negative
I am a little limited to the laptop currently but 80% convinced I will buy a decent PC in about a month
evenin lords
@tereško it's known to work badly with most other mods, since it so totally changes everything, but I think frostfall is only a thing about being cold? it just might be ok...
@FélixGagnon-Grenier it's not "just cold"
15:51
When in the mood, I play Requiem / alternate start / skyrim UI
@Fabor have you already looked up the specs?
@tereško A little but I am leaving it till later as I wouldn't buy for probably 3-4 more weeks
 $headers .= 'From: [email protected]' . "\r\n" .
		'Reply-To: [email protected]' . "\r\n" .
             'X-Mailer: PHP/' . phpversion();
hi all i am trying to send mail on reply on my webmail id
but i can not send mail on my webmail i do not know why what is wrong in this code
use a mailer library
@tereško i can send mail to guest user but that reply i can not send in my webmail
16:09
> use a mailer library
Oh, hello there, Rehman.
Jul 11 at 16:10, by IROEGBU
People send mails without Swiftmailer?
Jul 11 at 16:11, by MinistryofChaps
It's all about PHPMailer
use a mailer library
Where's Chris, my windows guy
do people have names/surnames with a dash in a middle?
16:16
@tereško married couples can hyphenate
That question sounds scary as fuck
@DaveRandom Ding-a-ling
what about other strange symbols?
allow anything, enforce only min length of 1 @tereško
dat
I am gonna name my kid p++
16:18
peeplusplus
Hey guys!
peep lusplus?
is that Latin?
@WesStark and when they don't have a surname?
You can fuck off in that case
@PaulCrovella only one field for both name and surname
16:21
@WesStark when they don't have either?
then they'd get modal.open("FUCK OFF");
are you serious... do people without names exist? :B
Could someone give me a hand with Google's ReCaptcha for a login form?
👋
@WesStark yes
Woo sweet, all fixed! Thanks for the hand haha
16:23
@PaulCrovella "hey you"
they don't even have pronouns, i suppose :B
Really though if I could get some insight, that'd be greatly appreciated.
I'm about to commit soup off sides
:p
@WesStark it's most common in the very young, when they haven't been given a name yet
like up to what age?
depends
> People’s names are assigned at birth.
OK, maybe not at birth, but at least pretty close to birth.
Alright, alright, within a year or so of birth.
Five years?
You’re kidding me, right?
there's nothing universal when it comes to this kinda thing
16:27
Hi
#IJustGotRejected:D
#WaitsForAReply
if you don't have a name yet please select your father [--------------[▼]
if your father doesn't have a name either, please select your grandfather's name first [--------------[▼]
if your grandfather doesn't have a name either...
tf is that lol
"That’s right Sir. Ploppy son of Ploppy."
@DaveRandom Figured it no, nm. :)
16:46
@HassanAlthaf She was no good for you anyway
@WesStark People without names should be treated like IE6
So, mocked, discriminated against, and left to die
@tereško You talk to @FélixGagnon-Grenier probably every weekday...
Unless you don't count the French (Canadian) as people
16:52
@Dereleased Dash anybody?
oh, right
3 messages moved to Trash
I just ate at a place called "Daily's Dash" -- it's just a dash sort of day.
goes back to rimworld
A french canadian specialty
16:54
ooh la la
The protagonists do it with poutine on their backs
a game on steam
Oh baby, give me your hot, gravied curds
damn right I would
y
You're not cli.
Are any of us a command line interface (other than persnaps Jeeves)?
17:07
@NikiC probably
NikiC has a multiplexing socket directly to the heart of the universe. He provides a command line interface for us mortals to communicate with him, but he is no more that interface than you are your socks
8
lol
17:45
@Leigh What? By rejection, I mean, no one told me 'Hi' back lel
18:16
Nite aĺl
@kelunik i should start working on an improved version of the logo already :B
i like to hurt myself :B
so true
i am getting less and less satisfied of the result...
@WesStark stop being such a developer about this
at least you can wait till the end of this gOt seasone.. :"
18:19
try being one of those self important new-york types
you know the types
OH MY GOD ARYA. ARYA I LOVE YOU.
@Dereleased if i start now i can deliver in 6 months without hurry :B
HEY
No spoilers.
I said nothing but that I love Arya
My girlfriend and I have two episodes of season 6 left.
Everybody dies
18:20
Oh, well I'm glad I didn't say what I was about to
@Dereleased i've found jon riding on the dragon with dany a bit cheesy
@Kaori Woah. No way.
@WesStark WTF?
... it's a joke it never happened :B ahahaha
even pretend spoilers are gonna score a kick-mute
IT IS SO EPIC
18:21
@PaulCrovella fuck :B
@Dereleased I HAVENT WATCH ANY GOT YET. STAHP
@Kaori HAMMERTIME!
Hopefully you'll be a merciful god and not punish people for rules you invented ex post facto
@Dereleased it's not a new rule, just a clarification - allowing pretend spoilers spoils what doesn't happen
18:24
@PaulCrovella Yeah, but fake spoilers like "Dude, Jon got a sick 2018 Ford Mustang and TORE ASS all the way to King's Landing, where he did sick donuts outside the walls until Cersei came outside to marry him" is... well...
@WesStark (decode at your own peril, but this contains no spoilers) Lbh jngpu, gung'f tbvat gb or na npghny fcbvyre orsber gur raq bs guvf.
@Dereleased that'll score a kick for lazy humor
@PaulCrovella where are you from, if I might ask? Cause I'm guessing it's not the southeastern US
@WesStark Take some time not doing any logo work. :P
@Dereleased left coast
There's no tone on the internet, so I hope that didn't sound rude. But southerners tend to laugh any time you take a figure from a time without cars, and have them TEAR ASS in cars. Remember that commercial with George Washington in a car? That was for us.
Sometimes the laugh just sounds like a WOOOOOOO real long tho
but this will be my last even tangential mention of GoT at this time
18:27
13 hours ago, by Paul Crovella
no spoilers until @bwoebi's seen it
Slight Ambiguity in Definition of Return Value – #74942
19:09
I hope @bwoebi is waiting till the season finale in that case
19:27
PHP Mysql connection with SSL is not working PDO – #74943
@Ekin yes.
No spoilers until I have seen it, either.
Since I have never watched a single episode, that's going to be a while.
sooooo .;.. how does include_path works?
can I do something like this:
if (file_exists('pear/shit.php')) {
    require_once 'pear/shit.php;
}
no
(I am making some assumptions about what you are asking)
is there a workaround?
19:33
Can't you just loop ini_get('include_path') and check each entry?
dunno, never tried
why are you using include_path for anything anyway?
well, the problem I have is that there is that one of the dependencies in composer has a file-autolaoder, which include crap from PEAR
it works just fine on work machine, but when I try to run test outside it, the code fails - for obvious reasons
I guess I will just for a custom autoloader for unit-tests
@tereško If it's optional it's not required, correct?
If so then include_once 'pear/garbage.php' and check the return value... unless the pear garbage is returning a value at the top level (very rare)
it's required in production code, but not for running unit tests
right, I could change it from require to include and squash the errors
function file_is_includable(string $path): bool
{
    if (file_exists($path)) {
        return true;
    }

    foreach (explode(PATH_SEPARATOR, get_include_path()) as $part) {
        if (file_exists(rtrim($part, '\/') . DIRECTORY_SEPARATOR . $path)) {
            return true;
        }
    }

    return false;
}
I think that's the correct logic
hmm ... that might be an option too
19:40
actually that could potentially give false positives
Can be fixed, moment
you are over thinking it, @DaveRandom
I will just use include and @
me? never!
It's a little ridiculous that PHP doesn't have a std lib function for this tbh
@DaveRandom I think it's because historically we haven't been averse to using @ in these cases.
I'm still not sure we're averse to it today ^_^
19:43
the whole include_path thing was insane from the outset. "Execute some code from an unknown location that looks vaguely like this"
It's basically an RCE by design
@DaveRandom Pear packages at non-standard locations. It's honestly not weird at all and every dynamic language I'm familiar with has it in some form.
yeah, well ... what I am looking at is a PEAR library, that is build on top of mysql_* to do userland level clustering ... if I got the option, I would nuke the whole fucking thing from orbut
We should totally remove include_path
3
deprecate include_path in 7.3 >> todo.txt
Especially if it makes PEAR completely unusable
That would be a feature
@NikiC this implies that it is in some way usable now
@DaveRandom some of us are forced to use it
@NikiC I'm using it but don't need to anymore.
Our website began a long time ago and some things like that haven't been pulled out because it's not really that problematic.
the joys of legacy
Eh, not really doing harm so it's not that bad. In this case, anyway (^_^)
19:50
Chris, you ever use the windows bash?
aka Ubuntu
cygwin uber alles
@Fabor I have.
Do MS own Ubuntu or something?
No. They just partnered with Canonical (and since have partnered with others
Could've done with it being v17
20:03
My boss is looking for suggestions to run a long-lived app which has worker processes...in PHP.
Looks like we'll get to try out AMP after all.
@Fabor no, I pretty much just use PHP for scripting on windows
I have been known to write vbs and jscript occasionally but only when absolutely necessary
I've written batch files, but I don't like to talk about it
@DaveRandom I used to think jscript was just another way to say javascript. I was displeased to find out I was horribly wrong.
@Tiffany looking for a clip from Storks where he says "I was immediately wrong", can't find a clip on the internet but you should just go watch the movie anyway
is it on netflix or amazon prime?
or maybe hulu?
no idea, probably on at least one of those
Oh also Cars 3 in really good, you should go watch that as well
I have yet to see Despicable Me 3 but I will report back when I have
20:10
@DaveRandom I've written exactly one: it swapped the original .exe with a patched one to get around the cd-rom requirement, then after the game launched it swapped it back so that I could connect to Battle.net (they check for .exe integrity)
Not necessary anymore but man requiring CD's in the drives was so, so annoying.
@DaveRandom is that out already?
It is here, I assume it is there as well
huh, looks like it is
@LeviMorrison yeh although I never found one you couldn't deal with with a copy
Guys. So for setting up a VPC around AWS infrastructure the IP of the VPN server is used in a few places, so we can replace it with an URL for when we update/redeploy or bad idea?
20:19
Please can you rephrase that in English?
:-P
VPN server IP is listed in a few places. Is it okay to use vpn.domain.com instead of IP address
Save us changing it when VPN server changes through update
I won't mind
@Fabor In the general case I would say it is preferable to do that
Set the ttl on the record low, though
@Fabor Am I missing something? This doesn't seem to be a question... :-P
20:24
Trying to figure out how to phrase it as it's pretty new to me.
What's the cidr_groups on ingress for?
OK, do you know what CIDR is?
("no" is a perfectly acceptable answer)
It's not actually particularly complicated, but I remember having to read stuff 50+ times before I understood it
I do not.
OK. Do you know anything about how IP subnetting works?
It's used in part of a build script for deploying this VPN server. It contains the IP address for the ec2 instance. I'm wondering how important it is here.
Also negative.
Networking knowledge is pretty low.
OK so I guess that what you are doing here is configuring it to restrict it so that only this specific server can connect to it?
20:29
Yeah, we're wrapping all of our servers in a VPC. (if those words are right) And there's a build script to make/update that VPN server which recreates it I believe (new IP)
yes, that makes sense
I'm unfamiliar with the term "VPC" but I'm going to assume it doesn't really matter too much to the question
@DaveRandom "VPC" is the "VLAN" of EC2, basically
20:30
Right so essentially what you are doing is configuring firewall rules
sorry, fixed it.
@FlorianMargaine weirdly that's how I read it in the first place :-S
@Fabor do you know about elastic IPs?
OK so I will skip the CIDR lesson for the time being @Fabor (unless you really want one), and I can probably boil it down to "yes, it's pretty important that it's there"
CIDR is just a format to specify a list of IP addresses
20:32
@FlorianMargaine I do actually, I did say that first but I think there was some issue. Then I got to wondering if using a subdomain was easier and or better.
@Fabor you can use an EIP and just point DNS to it
@DaveRandom So it's the one place we'd need to keep the IP address for sure I guess. @FlorianMargaine I'll push the elastic IP solution first.
@Fabor Ahh right, yes it does need to be an IP address there.
or IP range, or set of IP ranges
Cool thanks.
@Fabor 192.168.0.0/16 is the CIDR for all the IP addresses between 192.168.0.0 and 192.168.255.255
it's just a notation
20:38
What's /16 for and /32
It's the number of bits in the subnet mask
that's the number of bits in the IP address that defines where numbers start changing. An IP address is 32 bits. So, /16 means "from 000000000 to 1111111 after the 16th bit
(i.e. from 192.168.0.0 to 192.168.255.255)
in other words
you say "my network is all the IP addresses in 192.168"
so you have 192.168.0.0, 192.168.0.1, etc.
192.168.0.0 is <16 bits>.<eight 0 bits>.<eight 0 bits>
I see. Going to read that a few more times.
@Fabor A few words of warning, if you are going to start trying to understand IP subnetting:
1) This is a dark road that you will regret starting down
2) It's really not as complicated as it seems at first
3) It's more complicated than it will seem at the first moment you "get" it
4) Think in hex, it will make your life easier
5) A+++ tooling http://www.subnet-calculator.com/
20:43
Well hopefully it won't be too much of this. Just happens today as the first day at the new job I am looking at this stuff. Good to be learning though.
6) All of this knowledge will soon be almost entirely redundant
@DaveRandom learning ipv4 does help even if ipv6 is going to be the new norm, tbf
(ipv6 is just.. more complicated. auto dhcp and stuff like that is head-hurting.)
possibly. I fear IPv6 a bit
/me has shit to do, ttfn
20:57
@bwoebi ->
:-D
omg, I just wrote a singleton
intentionally
@tereško did you drink?
no, I am writing integration tests (in php unit) and I wanted simplify accessing DI Container
why are you writing integration tests
21:03
so I wrapped in a singleton-like thing
The bigger shock here is @tereško just said he didn't have a drink.
well .. I had a glass of wine (which contained about half a bottle)
Balance is restored.
potato hd.
21:05
@tereško what kind of glass do you have?
@FlorianMargaine some cheap ones, that I bought in supermarket
I mean
to have half a bottle
bordeaux, if you want to know specifically
it's pretty big
@tereško not bad :)
the box says, 610ml
21:07
ah, it's the glass, not the wine?
wine was Shiraz
@tereško lol, I think I know what kind of glass that is
you're not supposed to fill it up
I'm not a complete barbarian
@WesStark here is the HD version:
Nov 16 '15 at 20:44, by tereško
@EquinoxMatt https://vimeo.com/80533536
21:09
same shit quality
but it's understandable enough :B
.. anyway, @WesStark, I am using integration test as a development tool - that's how I test usage scenarios and not as a replacement for unit tests
even thought Postman is nice, manually clicking through all the API enpoints is a pain in the ass
too lazy to see what postman is
21:59
anyway, managed to set it all up
now I have a new .. emm ... what's the equivalent term to "first world problem" in development?
anyway, I have controller, that return array as a result (which then gets turned in JSON at some latter point)
I would like to compare the returned result to the expected result, but just dumping those arrays in the testclass would make a big mess
so, the idea would be to put them in php files and compare the result against those files .. so far so good
but, here is my enormous problem: what to call that directory, which contains such prepared files?
expected
or maybe expected_json
or the_spanish_inquisition
what the opposite of '/tests/fixtures'
how about "previsions" ?
or maybe "projections"
22:16
"prejudices"
is anybody going to look at those and know immediately what they are?
you need a directory to hold expected controller output, call it that
in other news - my 1060 is here, installed, and hasn't blown up.. imma go play somethin
22:34
Mornin' everyone
@tereško /tests/actual_tests :B
you don't even realize, how little you understand
Does anyone else have a dog who knows how to open doors?
22:59
my dog chewed doors. same result
Eh I guess it's not so bad mine just jumps up and pushes the handle down, better than a busted up door
used to chew them in his sleep, and furniture too
imagine, sleeping, with mouth open and a chair leg in his mouth :B
That sounds pretty bad
I usually keep my dog outside 'cause he trashes furniture too, but it's below freezing now so I gotta let him inside
ah, and he passed through a glass door once. i mean through the actual glass :B
then we found him sleeping on the broken glass. he probably found it very comfortable
How did he even break the glass?
23:10
he just ran into it i suppose
Hopefully he chose to sleep on the glass instead of just getting knocked out after hitting the glass
23:26
So OWASP says that a side effect of preventing brute force attacks using the account-lockout method is that an attacker can find legitimate accounts when he is told that an account has been locked out. Why wouldn't you just have it not even check if the account exists and tell the user that their account has been locked out even if they have multiple failed logins on a non existing username?
My idea to lock accounts after unsuccessful logins is to lock it for 1 hour, send an unlock link to the email address, then when the user unlocks it it will only allow THAT ip address to access the account until the 1 hour is over. This way attackers cannot continuosly lock legitimate users out of their accounts. I don't know if there is something wrong with my logic though
user924016
23:53
so by tha logic an attacker can lock out accounts, atleast every hour, and degrade their session to single device
> degrade their session to single device
I don't know if I understand that part
user924016
their phone might have a different ip then lets say their home pc
Ah right
So they can degrade sessions to a single device atleast every hour
But once you've logged in successfully if your account is locked to your IP there will be an option to unlock it to all IPs again before the hour is over
But that way they can't 100% disable someone's account
user924016
the victim has to click a reset once a hour
I think it's a reasonable measure to make someone verify their email every hour if a current brute force attack is being carried out on their account
Maybe brute force attacks are more common than I am thinking though?
23:59
… refactoring code. Noticing the tests were faulty and the code just as well.

« first day (2466 days earlier)      last day (2707 days later) »