« first day (2172 days earlier)      last day (2773 days later) » 

:-) hey pe{2}ha{2} (meh, that kinda looks ugly. and misses /i flag)
 
I.e. 10k deportations in 2014 vs 20k in 2015 @PeeHaa
 
Ah yes
That's rather low indeed
Why are you using ecb @Ed.
Sorry wrong ping maam
 
@PeeHaa note that there were 70k rejections total in 2015, of which 40k left without deportion
thus, only 10k were rejected and not deported yet
 
2:05 PM
@bwoebi Wonder where they went :P
Also why do you have a key like that?
Also where is your iv?
 
@PeeHaa To their home countries.
 
What does your asp code look like? @Ed.
Related:
 
Ed.
@PeeHaa Ohm wait. I will be consistent..
 
@PeeHaa At least they have to board a plane to be counted as left.
 
That's ^^^ what ecb does to your data
Speaking of planes. I need to check whether I can checkin yet
 
Ed.
2:07 PM
It's an external data, but I really don
 
@PeeHaa … 4 days in advance?!
 
Ed.
t know how was it encoded
it's just a suggestion
 
@bwoebi It's either that or ending up at the airport and having to say "fuck forgot to check in and now I have to wait in line like those other losers"
Nope not allowed yet :P
damn
 
Ed.
so, the first step is... could I somehow realize, how was this data encoded
 
@Ed. No
 
2:09 PM
@PeeHaa put a reminder in your calendar for previous evening then
 
@Ed. You will have to ask the people who encrypted it how you are suppose to decrypt it
@bwoebi Yea done
BTW your data is most likely not the actual data
I expect binary data there
But yeah you cannot just blindly guess a method like you did and expect it to work
ALso wat
$key = '09/09/1952';
$key = utf8_encode($key);
wat wat
 
@PeeHaa And as you see, deportations are still quite an effective tool. There sure are problems with it, but it's not like most people can remain here
 
Ed.
@PeeHaa Ah, just my tries. nvm. Suddenly even client don't know how was it encrypted:) So..must be almost impossible to decrypt this sht. Thank you
 
Anyone got time to take a look at my SO question? stackoverflow.com/questions/39705167/…
basically i need to reverse the order of an array after every 4 items
 
@bwoebi We'll just see when the problems arise :P
@virepo You already have answers
 
2:17 PM
@PeeHaa Sure there'll be problems … but there's also positive effects outweighing them.
 
You cannot possibly know that
Over here we still are solving the problems with the 3rd generation immigrants as we speak. So saying already that "positive effects outweighing them" is a tad premature
@Ed. Yeah forget about it. If they don't know how it's encrypted you are shit out of luck.
It looks like even the key is not known
brb grabbing a beer
 
2:40 PM
fuck IMF
seriously
 
@Ed. I notice your key is only 10 characters, that seems wrong
 
@Gordon ?
 
> Blowfish has a 64-bit block size and a variable key length from 32 bits up to 448 bits

heh ok, I was wrong, variable key length
 
@Leigh You were rightish though that key is wrong as in a terrible idea
:P
 
Also, probably want to hex2bin that data before giving it to mcrypt
 
2:44 PM
33 mins ago, by PeeHaa
I expect binary data there
 
well aren't you a clever sausage
 
lol
 
Ed.
@PeeHaa @Leigh I've tried hex2bin with mcrypt as well... nothing cool there. Just need to get an answer from client and will not waste my (and yours) time.
 
@Ed. How are you getting the data btw?
 
If it's anything other than ECB, you're missing some data (the initialisation vector)
 
2:47 PM
41 mins ago, by PeeHaa
Also where is your iv?
Yes I'm annoying
:P
 
And this is why I don't read what you have to say
 
Ed.
@PeeHaa It's external data from query-string. As far as I know ecb don
 
hehehehe
 
Ed.
't need iv
 
If it is ecb it's even more stupid
 
2:48 PM
it doesn't
 
Ed.
yup!
 
hence ecb pinguin
 
Ed.
such a cool task I have today:)
 
well there's no repeated blocks in the data you've given us, so we can't say for sure that it's ECB or not
 
@Ed. BTW using the querystring for it is also kinda really weird
 
2:49 PM
Do you have a function where you can send arbitrary input, and view the encrypted output?
 
Hello everyone! In a project we're using base64_encode in has stopped adding padding to the output string since we updated the PHP version to 5.5.9. Is this a change to the function or is it a configuration somewhere that has changed?
 
@Daniel By padding you mean the =?
 
Ed.
@PeeHaa Wish I do it myself.. Just a weird approach from somebody who don't like programmers
 
yeah
i'm asking because this has added conflicts in other software we're using, php is able to decode it, but i.e java isn't.
 
@Daniel No and no
It only pads when it needs to
 
2:52 PM
https://3v4l.org/oTO5u#version=5.5.9
Looks fine to me
 
@Daniel I blame java
or the coder :P
 
If your input length is a multiple of 3, you should not get any padding
 
PHP does decode unpadded strings though
which is sort of weird
@Daniel what's more likely is that something is stripping the padding off in transit
that's what you need to fix
 
If your encoded string len is not a multiple of 4, it should have padding
Probably what Dave said, if it's not a multiple of 4, and has no padding, and was produced by PHP, something has stripped it
 
!!> var_dump(base64_encode('hello'), base64_decode('aGVsbG8'))
 
2:55 PM
i'll have to check that i nthat case, yay more android debugging -_- its weird though that we have not had a single output with padding the last two days, guess thats lucky :P i just tried a simple "a" encoding and it does add padding, so my bad on not testing that
 
god damn it @Jeeves what now???
!!uptime
 
@DaveRandom I have been running for 4 days, 19 hours, 59 minutes and 11 seconds, since 2016-09-21 18:56:44
 
!!downtime
 
@Jeeves then Y U NO ANSWER??!?!?!?!
 
embaressed eh
 
2:56 PM
He's a shy little elephpant
shit typing--
Hmm let's find out who commited last!
!!changelog
 
[ Jeeves ] [ c571a01 ] Actually commit the fix... - Commited by: Chris Wright on 24.09.2016 10:49
 
fix it fix it fix it fix it fix it fix it fix it fix it fix it
 
weird
!!> echo 1
 
Isn't the alias just lost?
!!eval echo 1
I blame sjon
 
no it got as far as [2016-09-26 14:55:24] Processing event #67397054 for plugins then nothing more for that event
 
2:59 PM
2 messages moved to bin
 
which means that either something is blocked or some exception was silently swallowed
afaik the latter is not possible any more
And it's clearly not the whole post queue that's locked otherwise nothing would be working
which suggests some kind of bug in the 3v4l plugin
 
Nope. Not possible
I made that and it's the best
 
oh right sorry I forgot
I'm thinking there must be a leaky exception somewhere
 
I don't see anything in eval which makes it go slient
wait
why is there a lock in the plugin itself? github.com/Room-11/Jeeves/blob/master/src/Plugins/…
 
just run it locally on your vps :)
 
3:04 PM
@PeeHaa there's your problem
 
My problem?
 
and yes that would be totally my fault \o/
 
:P
 
Ugh
!!version
 
3:05 PM
 
right yeh I thought so
 
@Jimbo hehehe
 
@DaveRandom I've already criticized you for using mutexes…
 
yes yes you were all right and I was wrong, gloat away...
7
 
em, is it bad if I have getters on a VO? (just returns basically)
 
3:07 PM
@Ekin no, in fact in PHP that's the only sane way to implement UAP
 
@Ekin Nope, public and you can globally change them
And setters (change value) = new value object returned
 
okay great to know, thanks!
 
What I do't get @DaveRandom is why it's broken you broke it just now?
 
@PeeHaa same deal as the previous thing. That mutex does worK, but there's a bug somewhere, either in the implementation or in PHP, which causes some unknown circumstance to not release the lock
 
I see only my own crap in the current version
 
3:10 PM
@DaveRandom I was actually just joking now… Why is having a lock in the plugin an issue?
 
@DaveRandom Oh
:(
@bwoebi Because it doesn't work :P
It's worse actually: it doesn't work sometimes
 
btw @bwoebi I think this might be a finally bug but I have yet to find a reproduce case
 
Isn't eval not consistently broken now?
Or is it gone after restart?
Btw what does a box of camels costs over there? @DaveRandom
 
@DaveRandom Would surprise me, TBH
 
@bwoebi really? I remember a ton a bugs with it
 
3:19 PM
@PeeHaa yes, but not with simple try {return}finally{}
 
kk
 
With convoluted cases and nested try/catch/finally, yes.
 
They may be nested though in @Jeeves
 
@PeeHaa but here it isn't
Uhm… where is @Jeeves running?
 
My VPS. Why?
Wanna looksy?
 
3:21 PM
@PeeHaa yea
 
Q) Why? A) yea
:P
 
Q) Wanna looksy?
 
@PeeHaa corrected msg ref :-P
 
I'm going to get groceries / beer. brb either send me your key or @DaveRandom whoever returns first
 
3:24 PM
@PeeHaa see skype
 
kk will create an account
 
Hi Guys, I am having problem with Image upload (Justboil.me) tincymce editor
When i try to upload a image i get the error
js/tiny_mce/plugins/jbimages/ci/index.php/blank/english 500 (Internal Server Error)
Can any one help me with this
 
@PeeHaa such a shame, haven't had time to work on that code yet.
 
@PeeHaa about £10
 
@Danack ah such a shame. Hang in there buddy. :P
@DaveRandom £10 for WAT!?
how many do they fit in there?
 
3:28 PM
20 cigarettes
it's pretty ridiculous
 
o.O
 
holy fucking shit
 
on another note, don't forget to bring some for yourself :-P
 
Yea :P
 
!!dad
 
3:29 PM
Why couldn't the bicycle stand up by itself? It was two tired
 
ok people brb. Shopping for food and smokes for chris
 
@bwoebi the entirity of the Mutex impl is here if you want to spot my dumbass mistake
 
@DaveRandom I've read it already and found no mistake
 
I'm going to write the dep out of Jeeves anyway because it's been so problematic
 
@DaveRandom is it really that problematic?
 
3:31 PM
gods below, this is fucking annoying
 
@bwoebi yeh, until recently we used it to limit concurrent attempts to post messages and Jeeves would just stop responding after a day or two
 
I have two coworkers that use "---" as their only commit messages
 
now we have a similar issue with a similar block of code
I suspect the issue lies somewhere in this, maybe some weird edge case to do with finally and resuming a generator
but I have literally no idea what
I can try and write something into Jeeves to log everything out and try to track the issue down
 
@DaveRandom I doubt that's the issue
 
but preferably something that basically just does no-ops on the side and doesn't interfere with general operation
 
3:40 PM
 
3:53 PM
@bwoebi yield from + finally? could well be ... :P
 
@NikiC yield from should just properly unwind
 
I don't remember, did that issue ever get fixed?
I don't remember what the issue was, something regarding gc and yield from
 
@bwoebi ah yes
 
4:08 PM
!!uptime
 
@DaveRandom I have been running for 12 seconds, since 2016-09-26 16:08:11
 
!!version
 
0.0.3
 
ummmm... @kelunik how have I managed to break that? :-P
 
@DaveRandom You don't have .git?
Or is the path wrong again? Did you move files?
 
4:11 PM
oh maybe
yes
I think maybe we need an APP_BASE constant
!!version
 
OK cool
@PeeHaa I removed the mutex from 3v4l, there's one more place where we use it which I will try and eliminate today
 
Evenins;
 
@Jeeves lol that thing keeps breaking :P
@DaveRandom cool
I assume you don't need access anymore now @bwoebi
That is unless @DaveRandom breaks it again
 
!!> var_dump(base64_encode('hello'), base64_decode('aGVsbG8'))
 
4:24 PM
lol
 
@PeeHaa lol
 
[ 5.6.0 - 5.6.26, hhvm-3.10.0 - 3.14.4, 7.0.0 - 7.1.0RC2 ] string(8) "aGVsbG8=" string(5) "hello"
 
So much effort to make a point ^
:P
 
@DaveRandom was that really the fault?
 
brb making the food
 
4:25 PM
 
@bwoebi well all I know is that the issue appeared around the time I added it, and since I removed it from the main message posting logic 9 days ago we haven't seen the problem
 
very weird
 
@bwoebi from what we are seeing in the logs, it appears that somehow something is not releasing the lock
I do not know the precise circumstances that cause that because, frankly, we don't have enough logging
 
@DaveRandom Are you sure though that it's the mutex' fault and not the generator you pass to the mutex never terminating?
 
@bwoebi well I suppose it could be, but the same issue in 2 places? I don't really see how this can end up not completing unless some yielded promise never resolves. That would put the issue either in artax, amp\pause or here
(I'm not suggesting the issue is in artax or amp\pause btw :-P)
 
4:33 PM
@DaveRandom I have no idea :-P
 
!!> echo 1
 
o/
 
@DaveRandom I've just written a little phpdbg command to output all running generators
 
4:35 PM
btw @bwoebi why does Promisor not have isResolved()?
 
Which characters are allowed in namespace names?
 
@DaveRandom because it's not more work than just null'ing out the deferred and checking against null upon resolution?
@kelunik same as for class names
 
And which ones for class names?
 
@Wes you do realize that is all the boilerplate necessary to transpile es6 code, that is, code not supported by browsers yet, into normal javascript?
 
@kelunik Donald Duck, Daffy Duck and Scrooge McDuck. Basically any character that's based on a duck.
bbiab
 
4:38 PM
@DaveRandom That's not very helpful.
 
@bwoebi thx
 
I.e. basically [0-9A-Za-z_\x80-\xFF] @kelunik
 
Now I just need to remember where I needed this...
 
Question... if I get: $flag = (ALLOW_LEADING | ALLOW_TRAILING) and there is no leading || trailing data, should it error or still proceed? I'm confused whether this should be "required" or just "expected but not required"...
 
4:46 PM
well, "you're allowed to do something" normally means you can also not do it, doesn't it?
 
indeed, but maybe I failed to properly name the constants and they should be REQUIRE_* instead
const INTERVAL_ONLY = 0;
const ALLOW_TRAILING = 0001;
const ALLOW_LEADING = 0010;
const MULTIPLE_INTERVALS = 0100;
These were what I was thinking of having
 
searches Jeeves code to try and understand something
> <i_have_no_idea_what_i_am_doing.jpg>
lol
 
^^ yeah that was a really ugly, epic fail
 
!!> echo "i hope this isn't usable by everyone"
 
[ 5.6.0 - 5.6.26, hhvm-3.10.0 - 3.14.4, 7.0.0 - 7.1.0RC2 ] i hope this isn't usable by everyone
 
4:56 PM
well that's nice.
i hope you guys took precautions to keep epople from dumping twitter access keys and stuff
 
knock yourself out, I'm curious
 
!!> var_dump(get_object_vars($this));
 
I'm fine with people dumping their twitter access keys
 
[ 7.1.0alpha2 - 7.1.0RC2 ] Fatal error: Uncaught Error: Using $this when not in object context in /in/0JNPC:1 Stack trace: #0 {main} thrown in /in/0JNPC on line 1 <br/><i>Process exited with code <b title="Generic Error">255</b>.</i>
 
@zack6849 jeeves isn't doing the eval, 3v4l.org is
 
4:58 PM
oh, okay
 
Though personally I prefer database passwords and SSH keys
 
that makes a lot more sense
lmao
 
[ 5.6.0 - 5.6.26, hhvm-3.10.0 - 3.14.4, 7.0.0 - 7.1.0alpha1 ] Notice: Undefined variable: this in /in/0JNPC on line 1 Warning: get_object_vars() expects parameter 1 to be object, null given in /in/0JNPC on line 1 NULL
 
i thought someone just hooked it up to the bot itself, which while convenient and probably easy, isn't a great idea
especially in a cha room with programmers, lmao
 
cha cha cha
 
5:00 PM
you should trust and love @Jeeves a bit more (or maybe... not)
 
@Ekin I love you too :-)
 
cha room
 
@Ekin is this intentionally octal?
 
Wes
@FélixGagnon-Grenier but it's massive
 
5:01 PM
@Wes yeah I know
a console.log will take like 8k lines
 
@Ekin are you sure you didn't mean 0b0010 etc.?
 
yes, yes that's how I use it normally ^
 
Wes
evenings gents
 
I copied above from a test eval 3v4l.org/3XRvh I had written before
 
5:04 PM
\o
 
@Ekin allow means there may be something, but doesn't have to be anything.
 
@bwoebi true, would you prefer "require" in that context? (I think that's what I should ask instead)
and that just, confuses me
 
@Ekin So, you want to require at least one of the flags modes to be matched?
Or all of them?
 
The cases I had in mind are: 1) allow only time 2) only trailing 3) only leading 4) both leading & trailing 5) multiple intervals
should I have a case for "either leading or trailing" too? if so that one would be valid
 
5:08 PM
Yeah, throw an error for invalid flag combinations?
@Ekin not necessary
just bitmask them
 
@Danack Not sure about your RFC. I think just deprecating get_class w/o object (both no arg and null arg) would still meet the objective, avoid the BC drama and allow us to keep it consistent with usual default value semantics
 
yep okay, thanks a lot
 
It's not like get_class() without arg is any more useful than get_class(null)
 
@NikiC Actually, get_class() should not need to exist in the first place
but removing this would be too much of a BC break.
 
@bwoebi I'm talking only about the non-object case
 
5:12 PM
@NikiC yes, that's what I'm talking about too
 
@bwoebi as deprecation is not officially a bc break, I don't see the issue
I also don't get why anyone would ever use it in that form in the first place
 
Ideally get_class() would always require a parameter
 
@NikiC because static::class didn't exist before 5.5 (?)
 
@bwoebi but that's not what it does, is it?
Doesn't it actually return self::class aka` __CLASS__`?
 
5:14 PM
@NikiC uhm, no it operates on $this
 
oh wait
maybe I'm just very confused :D
 
get_class() == get_class($this) == get_class(null)
 
And what does it do in static methods?
Return the scope or the called scope?
@bwoebi php.net/get_class see example #2
It says it returns self::class, not static::class
 
Yep, looked it just up
well, then it's even more useless than I just thought :-D
 
Also we should finally support $obj::class...
I'm not even sure if static::class actually works
 
5:17 PM
@NikiC it does
(I'm 100% certain)
"Dynamic class names are not allowed in compile-time ::class fetch" … Yeah, disallowing that makes no sense
 
Wes
 
Wes
last video is awesome
actually not last, this one youtube.com/watch?v=VVV4xeWBIxE :B
 
5:42 PM
hello everyone, how do i increase the file upload max size in this script? pastebin.com/qL82fKtL
 
@NikiC I think I'm going to leave it to run as it is. The RFC targets 7.2 so there is plenty of time for people to introduce an RFC like that, and revert this RFC.
 
anyone?
 
Cmb's (i think) idea might also be the correct choice.
 
hi friends
 
@AccountUnknown $max_file_size = 1024*100; //100 kb
Did you even read?
 
5:53 PM
can someone explain me why we need .(dot) here
rewriteRule ^.*$ ./index.php
 
current directory (relative) instead of absolute path, would be my guess.
it'd index.php for ANY directory, NOT just the main server root
it's*
(i don't know apache, i'm just making an educated guess, i may very well be wrong)
 
Wes
(arrow up to edit a message you just posted)
 
i don't think so
no
 
shrug, that's what it looks like to me, maybe more context would help
well, ./ is used to indicate relative path in most things
terminal commands etc
 
@beginner this line will redirect any call to a file beginning with a dot to the index.php file of the working directory
 
5:57 PM
@FélixGagnon-Grenier you're sure it's "beginning with a dot"?
 
pretty sure yeah
 
no
 
that regex looks like (start of string)(0 or more of ANY character)(end of string)
eg: all files in that rewrite rule would go to index.php
 
i put everything going to index.php
 
you are the experts
I must say just now, testing on regezx 101 did match strings beginning with a dot
 
5:58 PM
@beginner you redirected EVERYTHING?
well yes
because a . in regex is a wildcard
it matches ANY character
 
and not those not beginning with a dot
 
Then you're testing it wrong.
 
I guess so.
 
!!> preg_match("/^.*$/", "Hello World!");
 
[ 7.1.0RC2 ] <br/><i>Process exited with code <b title="Process was killed">137</b>.</i>
 
5:59 PM
@zack6849 it was in a tutorial
 
helpful.
 

« first day (2172 days earlier)      last day (2773 days later) »