« first day (2594 days earlier)      last day (2347 days later) » 

3:00 PM
NPR is about the only news station I feel like I can trust
 
Isn't that soon going to be solved by every TV show producing company having their own streaming service?
 
they certainly have a liberal swing, but they stay pretty neutral on issues, and just report facts
 
@AllenJB so they will be able to cut off the pipe for their competitors, since companies who do TV production and ISP are owned by the same corporations
 
I just get all my news from 4chan and reddit because I don't trust broadcasters
 
@AllenJB HBO and probably a couple others are the only ones that'll be able to pull that off successfully.
HBO can because of GoT
 
3:02 PM
@Tiffany not if you add traffic shaping
 
@tereško which the cost will either come to the producer, or the consumer, still throws a wrench into it being successful
 
I prefer the BBC news comments. Brexiters are traitors. Remoaners are traitors. And the country is doomed to success either way. And nothing has any causes other than Brexit, even if it occurred before the referendum.
 
:P
 
@Wes posted something on twitter related to brexit that I found disheartening independent.co.uk/news/uk/home-news/…
 
Wes
someone posted it here. it's pretty dumb shit
 
3:05 PM
Yep, 100%
So either they're either dumb enough to honestly believe this, or there's some under the table dealings going on
 
Wes
you guys are fucked
 
Yup
 
Pretty sure most MPs aren't sentient, certainly lacking emotion.
 
Everybody is fucked. Just some more than others :)
 
It's not something to be debated, like, it is a proven thing. You can't vote no and suddenly all animals stop feeling pain. What they voted on is ignorance
 
Anonymous
3:10 PM
I saw someone mention fox so, fuck CNN too if it's currently the topic
 
Probably something like not recognising it means they don't have to give a bigger budget for animal welfare or something stupid like that
 
Anonymous
I think it's more personal. A lot of MPs are silver spoon twats who appreciate things like fox hunting. Fox hunting which they are currently trying to legalise
 
Wes
those traits are part of the definition of an animal
 
so the letter requesting investigation into Ajit Pai from legislators is questioning if Pai has conflict of interest, favoring Sinclair Broadcast Group, because some of the changes Pai is wanting to instate, give preferential treatment to Sinclair, making a merger with another broadcasting company more profitable, and obstacles from them. The conflict of interest concern is coming from that Trump, Pai and Sinclair met several times, during the election campaign.
 
3:13 PM
@JayIsTooCommon Ah for some reason I totally forgot your people where still into that
 
Wes
self conservation and awareness is a consequence of pain
 
Anonymous
@PeeHaa Yep. A lot of them base it on the excuse that it's vermin control.
 
Yeah. All hunt uses that excuse
 
Anonymous
The only way it could be vermin control is if the twats fell of their horse and broke their neck.
 
3:13 PM
They tried that here too for things
@JayIsTooCommon hahahahah
 
Is hunting in general, legal in GB?
 
Anonymous
depends on the animal and the way in which it's done
 
evenings
 
I don't understand bow hunters. I get that they see it as a sport... a show of their skill with the bow. But... why? It's less humane...
 
@JayIsTooCommon the deadliest creature of all, via high sodium porcine meat tubes
@Tiffany I'm not sure "humane" is the top priority for anyone killing an animal for sport.
 
3:22 PM
@LeviMorrison excellent
afternoon, bitches
 
@Stephen unfortunately :/
 
yo biatch
 
Yo bruv
 
anyway let me try my request from earlier: with an archaic ZF1 app using DB Table Auth (i.e. using mysql as the most convoluted hash_equals() ever) besides the obvious performance benefit, is there any reason to prioritise removing this ridiculous logic from the application, before other actual security issues?
 
> using mysql as the most convoluted hash_equals() ever
 
3:23 PM
@JoeWatkins Can you try explaining delayed ops a bit? You suggested that is possibly how we can know what the next op is for and can then do some more type-checking so we don't segfault on new T() when T = int.
 
How do you do time constant mysql? :P
Not sure I actually want to know :D
 
@PeeHaa ok, the most convoluted ($str1 === $str2) ever
 
@JayIsTooCommon Politicians, with bow and arrow
 
(Without changing the ZEND_NEW handler, I mean)
 
@Stephen ah k :)
I don't have time to look into your actual query though. /me is out now
 
3:26 PM
well you'd have to change _NEW a little ...
 
Anonymous
yoseph
 
you would need to know where to jump too ... the way it would work is you emit the new as normal, but set on extended_value (or whatever) the opline to jump too for the first FETCH, in the new handler, if there is an extended value, do the jump, the last FETCH should either allow vm to continue, or jump to the correct position (I believe allow to continue) ...
I don't actually think you need any of the _delayed_ api for that
no it would need to jump back into new, but have set some flag to say we don't need to do original jump ...
 
At the very least, it does seem most of the animal stuff is already part of our laws, but sentience specifically is not (and also only appleis to domestic pets)
 
or we can think of another way, if there's some problem with that, but that seems simplest to me ...
could easily be wrong, probably am wrong ...
 
@PeeHaa You don't or you have a performance issue.
 
3:32 PM
@Levi^
 
Reading.
 
@bwoebi No, I think we should return the appropriate type if possible. long longs tend to be rare and can be a documented exception. Decimal being a string is probably more surprising.
 
looking at the delayed api with fresh eyes, it doesn't look useful to us anyway, I don't think ...
 
I'd prefer not to touch existing opcodes other than to allow ZCE and CONST instead of only CONST. Most of them support it already, so not much change there.
But the reason is we don't want to bloat or slow down existing opcodes.
 
@kelunik it's currently meaning 2 round trips to mysql (which are not even in the same freaking DC 🤦🏻‍♂️) so its definitely getting ripped out, its just a case of how urgently it's ripped out.
 
3:35 PM
Maybe you are right; maybe we should add multiple ZEND_FETCH_TYPE_PARAMETER opcodes based on the intended use of the type parameter.
 
it's going to be easier I think ... but can you let me think about it for another day or something ... I'm not getting much time to sit with the code right now ...
 
@Stephen What does it actually do to emulate hash_equals?
 
new T()
$x instance T
T::class
T::constant_access
T::$static_property
T::static_method()
 
I had no clue at first, and then ideas started forming, and then someone started asking me dumb questions about something unrelated, and I've forgotten my idea, but it'll come back in the dead of night probably ... or something better will ...
 
We don't need an additional FETCH_TYPE_PARAMETER for each of those but we can find groupings.
 
3:37 PM
@LeviMorrison T::class will work?
 
will have too
 
@kelunik Yes.
 
@kelunik that's correct
 
I think new and the constants and static stuff can all probably use the same ZEND_FETCH_TYPE_PARAMETER_* opcode because the type checking would be the same, right?
 
@LeviMorrison you also should call the brunch "umbrella"
 
3:39 PM
What will happen if union types make it in with it? I mean if I use a union type as concrete type for T.
 
@kelunik Then it will error at runtime instead of compile-time.
 
!!urban t-virus
 
[ t-virus ] From [[Wikipedia]], the encyclopedia thats a goldmine of information, not matter how stupid or inportant it is: In the video game BioHazard or Resident Evil, the T-Virus, or Tyrant-Virus, was the first and primary mutagen virus developed by the Umbrella Corporation. The T-Virus was responsible for the creation of the majority of their Bio-Organic Weapons or BOWs. However, its intended purpose was to create the perfect BOW: the Tyrant. n 1978 in…
 
@LeviMorrison Same for int then or will that just yield int?
 
fetch constant will just use anything in op2 cache slot, new uses ce set directly on op1
 
3:41 PM
@kelunik Will just yield int. Reason being that int::class works today just fine :D
 
@bwoebi Its also is only a problem on 32-bit systems, which I would assume is rather rare these days.
 
@JoeWatkins Yeah but new T() segfaults with T = int because it doesn't have a ZCE.
 
oh but I guess if we have a ZEND_FETCH_TYPE_PARAMETER_INTO and it accepted an address, which could be a cache slot or op1/2/result on the opline directly ...
yeah I know ...
(I'm not sure how reasonable that is)
 
That's why we need to do more in ZEND_FETCH_TYPE_PARAMETER or make new opcodes to do that.
 
@LeviMorrison "fine" :P 3v4l.org/VOVej
That HHVM difference is interesting.
 
3:43 PM
@kelunik Yes, duh, \int::class
 
7.x, the PDO extension has mysql enabled by default, right?
 
T always holds the fully-qualified name.
 
@LeviMorrison Yes, love the inconsistency. 3v4l.org/DMIcJ
 
scratch that, I was reading the wrong vm handler, it does use the same fetch sorry ...
 
I think int::class should either yield int in a namespace or just error out, opinions?
 
Wes
3:45 PM
JELLY?
user image
5
got my phpstorm t-shirt \o/
 
\o/
 
@kelunik Former, probably. But as far as the topic of the type parameter goes, yes, T::class with T = int will result in int.
 
do we need more fetches, or variation on RECV ?
I think we need to output different recv for template methods
 
Anonymous
@Wes nerd
 
do we ?
 
3:49 PM
$result = ZEND_FETCH_TYPE_PARAMETER "T"
ZEND_CHECK_TYPE $result "class"
ZEND_NEW $whatever_normally_goes_here $result
 
@LeviMorrison, not sure if this was already brought up and I suspect I know the answer, but would I be able to use the same trait twice with different Ts?
 
If we had an opcode like ZEND_CHECK_TYPE already that might work. Do you know?
@pmmaga Yes or it is useless lol
Unless you mean on the same class? That would "work" but the methods would just conflict and you would error anyway.
 
I can't think straight because people are talking at me ... sorry ...
 
Oktoberfesters - has anyone received any kind of email or anything yet from them?
 
I'll find some time tonight ...
 
Wes
3:52 PM
@JayIsTooCommon have you got your phpstorm t-shirt? no? i'm so sorry
:B:B
 
@LeviMorrison yeah, I meant in the same class. i see why it would fail but it would be nice if there was a way to make it work
 
@Wes I'm so jealous >.<
 
Wes
@SaitamaSama all i did was complaining on the bug tracker
:B
 
@pmmaga They would work only when/if we add type overloading to function and method calls.
 
btw, when using pstorm, all fetch calls are displayed as undefined function all over place, in JS
 
Wes
3:56 PM
as in, Fetch api?
 
Wes
it's not very popular yet. afaik only chrome and firefox support it
 
meh
it's so nice tho
 
Wes
check for the polyfills and add the jsdoc
not sure if it's polyfillable though
 
Sigh... I hate it when people make wonderful things but they then venture into new territory and don't listen to people who actually know something about that new area... in particular: github.com/phpstan/phpstan/pull/606#issuecomment-346390960
 
4:02 PM
@Wes actually also Edge 14 supports it. As for others, there is a polyfill: github.com/github/fetch
 
Wes
oh nice
 
@kelunik well as I said it doesn't really do a timing safe comparison - it just does a query with (CASE WHEN hash_field = '$hash' THEN 1 ELSE 0 END) as zend_auth_credential_match in it, and checks for 1 or 0 in the resulting array
 
@kelunik I was just hoping to bounce my thoughts off someone regarding when we rip this shit out, because there are definitely actual security issues that need to be fixed
 
Wes
@LeviMorrison that guy is so full of himself lol
 
4:05 PM
@Wes And at least with regards to type parameters he's uneducated.
 
Wes
> i am like linus torvalds
rofl
 
PHPStan is a great tool. He just doesn't know what he's doing with type parameters.
 
@Wes but a lot saltier
 
@Stephen If those are just password hashes that are never submitted be the user, but only by the application and derived from user input by hashing, then fix the other issues first. You should obviously migrate to a salted and slow password hashing algorithm like bcrypt in the future.
 
Wes
4:21 PM
@LeviMorrison can you ask him to add a warning to the users that the syntax proposed is non standard
 
@JoeWatkins Looking at it more for a proof of concept I think maybe we should change the existing opcodes to do more error checking. If it harms performance too much then we can add new opcodes at that point.
 
Wes
@NikiC can you intervene too please? i'm sure you'd sound more authoritative than me github.com/phpstan/phpstan/pull/606 thanks
 
> Unable to create new object T where T = int
Something like that.
> Unable to fetch constant T::foo where T = int
 
@Trowski it still is with unsigned bigints on all systems
 
@kelunik agreed. thanks for the rubber ducking
 
4:26 PM
@LeviMorrison agree
 
So we'll modify opcodes to accept zend_type somehow. What do you think the best way to do that is? New opcode specialization thingey or..?
 
Morning.
 
@bwoebi Oh yes, that's true.
@bwoebi A double seems to be the most logical way to represent bigints, as that's what PHP does.
 
@Trowski if we are fine with the precision loss.
php does provide you with bc and gmp if you need precision.
we as database communication providers have no knowledge of what the user wants
 
@bwoebi That's true. Your current implementation returns a double for the binary protocol.
 
4:40 PM
@Trowski I'm aware. And I don't like it.
 
I wish mysql was like postgres and just didn't have unsigned ints
We could also return a GMP object :-P
 
Wes
4:56 PM
@Ocramius read the bloody discussion first. we are complaining that there should be only "array<key, content>" and not both "array<key, content>" and "array<content>" which is not a valid generic syntax
 
@Wes open a new issue then - that one is merged. And yeah, array<content> is ok and may be deprecated later on if it proves to be useless
 
Wes
he's deviating from a globally recognized syntax just because they want to save 4 characters
 
@Wes What's wrong with array<content>?
 
@Wes I haven't read the discussion, but I don't think array<V> is unreasonable, given context
 
Wes
@Trowski nothing if you want to pioneer optional type parameters :B
also not even trailing... leading, in this case
 
5:00 PM
PHP internally may not make the distinction, but for the programmer, there is a quite significant difference between an array<int, V> and array<V>
 
@Wes Oh, for generics… whatever, if that happens we can address the PHPDoc syntax when that day comes.
Perhaps array could be special cased to accept array<type>.
 
Wes
special case all the things
> This hasn't been a constructive discussion
 
That should be the strap line for the internet
 
Wes
he blatantly ignored it... he's linus torvalds, he can afford to do that
 
@bwoebi In seriousness, would returning a GMP object be practical for long longs?
It's easy to make from the binary format: gmp_init(bin2hex(strrev($str)), 16);
 
5:06 PM
@Wes I just told him to lock the thread, since it was really not going anywhere. Make a new ELI5-style issue and write tests/examples for it instead.
 
Wes
yeah sure i'm doing that lol
 
@Trowski fyi gmp_import
 
I keep wondering in to the kitchen expecting a different result, damn lack of snacks :(
You owe me a pie @DaveRandom
 
@Fabor I don't have pie, but I do have this
 
hah
 
5:12 PM
@DaveRandom darwin award potential winner
 
nottheonion
 
@Tiffany He may be the first to win it prehumously (is that word?)
 
@NikiC Thanks. The default of 1 for word size doesn't give me what I expected, however PHP_INT_SIZE seems to work, does that make sense?
 
> The Kickstarter raised $310 of its $150,000 goal.
 
@Wes people are allowed to disagree, particularly on libraries that they've been looking after for a long time. And they don't have to persuade everyone of their course of action. wondermark.com/1k62
 
5:15 PM
Happy Holidays everyone
 
@Alundrathedreamwalker it's nowhere even close to Christmas....
 
@DaveRandom I think it's gonna be a short short time till touchdown brings him round.
 
Wes
@Danack sure people can disagree, but he's affecting everybody with that decision
 
@Allenph I'm reasonably certain he is the man they think he is at home
 
@Danack for a lot of people, tomorrow is a big Holiday
 
5:17 PM
oh yes, yes, yes
 
/dana, international
 
Wes
regardless they agreed or not
 
I've been spoilt by Jetbrains code formatting & Inspections options. Can anyone point me to a comparison/summary of existing phpcs standards to find one that might be reasonable to use for this project?
 
going to stuff my face full of food tomorrow, mostly turkey
next two days off :D
 
@Tiffany Just remembered I never sent you any Amp stickers. I'll be sure to do that soon.
 
5:20 PM
@Trowski :P when you said you'd send me some, I was watching my mail for a week or two, then I forgot
 
I was wondering, this whole american independence day, where are Americans considered to be from descendant wise?
 
@Tiffany I'll DM a tracking number to you when I do send them.
 
@Fabor long corn
 
@Fabor we're basically a melting pot now
 
Mostly Brits or other places?
 
Okay but that says it really started in the late 1800s, independence day was 1776
 
so, the "founders" as you'd say, came from Britain
 
So it was a bunch of Brits kicking out a bunch of Brits?
 
I think the first pilgrims left Britain to escape religious persecution. They were protestant? or something... been awhile since I've read that part of history
what led up to the revolution was that Britain was taxing the colonies, but would not allow the colonies to represent themselves in parliament
 
Still a bunch of brits though. As much as we're a bunch of German/Norsk people.
 
5:29 PM
primarily, yeah. Keep in mind that Spain and France also had colonies.
 
iirc it was the Nina, the Pinta, the Santa Maria, the noose and the rapist and the fields overseer, the agents of orange, and the priests of Hiroshima
 
French colonies were primarily in Canada, Spanish colonies were primarily in central America, and Florida
 
I saw a tweet earlier, someone saying they felt sorry for non americans, not being able to enjoy "the holiday spirit"...
I feel sorry for anyone who has spends their time away from work "enjoying spirit"...
N.B., this does not include spirits
 
Maybe they're happy spirits
like in Luigi's Mansion
 
we grew up on casper the friendly ghost - we can't help it
 
5:42 PM
Actually come to think of it, holiday spirits are disgusting... eggnog ... *barf*
 
:O
eggnog is amazing
however my kidneys don't like it
 
gluhwein... urgh
 
Wes
SPOILER: ... oh fuck, it's actually round
 
@Wes that's so half an hour ago
32 mins ago, by DaveRandom
@Fabor I don't have pie, but I do have this
 
Wes
5:44 PM
lol didn't see it
 
@Wes if he lives that long
 
Wes
i'm dying laughing
 
imagine if aliens land and they just meet a flat-earther
 
> atmosflat
I get the feeling like he conveniently converted to flat-earth ideology just so he could get more money to fund his project
 
It's a pretty hardcore IRL trolling
 
5:49 PM
@Tiffany seems like the flat earthers could have just.. you know... jumped on a plane.
 
@Stephen have you seen the picture of a flat earther going on a plane with a level?
 
lol what
there was a suggestion a while ago to get Yasuo and Tony Marston into an internals@ argument.
I have a topper for that
 
Hi all
 
flat-earther vs anti-vaxxer
 
I need some help from you great people
 
5:50 PM
omg it would be epic
 
3
Q: What is the difference in assigning NULL value to the reference and destroying the reference using 'unset' language construct?

user2839497I'm using PHP 7.1.11 Consider the first code snippet with assigning NULL to the reference : <?php $a = 1; $b =& $a; var_dump($a); echo "<br>"; var_dump($b); echo "<br>"; $a = NULL; var_dump($a); echo "<br>"; var_dump($b); ?> Output of above program is as below : int(1)...

 
some of us are only mediocre people
 
> flat-Earth conspiracy theorist and YouTuber
how is that even a thing
 
I'm pretty certain that the former is a strict subset of the latter
 
5:52 PM
@Tiffany I don't want to live on this planet anymore…
 
"oh damn you corrupt scientists insisting that the earth is roun... ooh I an put videos on this inter web? who created this?
 
@Trowski then hop off the edge
 
Hahaha
 
it's like an oil industry executive who thinks the earth is 6000 years old.
 
You can see the curvature of the earth from a plane… OMFG…
 
5:53 PM
@user2839497 This is not a good question. You're asking: "What is the difference between setting a value, and unsetting a variable"
Well, they're two different things
 
> Understand that gravity is a still just a theory
it's like watching a child with a pair of scissors. so adorable but oh shit wait what are you doing
 
@Trowski fuck planes, you can see it at the beach
 
@JoeWatkins Leaks may be fixed but we have some issues. I ran it on some code that uses regular traits and got this:
> Zend/zend_hash.c(1346) : ht=0x7f5767a6d770 is inconsistent
Don't have time to reproduce at the moment but figured I'd let you know in case you have time.
I'm going to be off-grid until tonight (my time).
 
@Allenph @FélixGagnon-Grenier It will take you a long time to get into a position where you can do economy manipulation
 
6:00 PM
@Trowski you shouldn't be able to
 
optical illusion?
 
yes
 
I definitely think I can see it
 
@Leigh This is not a job for the average leigh-man.
 
if you make a photo from a plane, the "curvature" would be 1 or 2 pixels
 
6:01 PM
@Trowski If you really want to see it you can launch a weather balloon with a Go-Pro. People do that all the time.
 
@tereško Eh, fair enough… but still…
 
@Tiffany I clicked through to the guy's (not the flat earther) tweet, and the flat earther was in the replies, and posted this as a "rebuttal"
 
And planes just became a little less cool.
 
Anyone know of a tool that scans specified directories and creates the class hierarchies and also tracks trait usage and can spit out a report?
 
> Yeah, cuz this shit makes a lot more sense.
 
6:02 PM
I could make one but it seemed like it should exist already.
 
I mean.. to quote Jimmy Carr, that's a new kind of stupid.
 
@Trowski your SR-71 type thing can definitely see it... just use on of those
 
the earth was round until your mom sat on it
 
Wes
@Tiffany AHAHAHAHAHAHAHA
 
@Trowski Not really ...
 
Wes
6:11 PM
oh my god, amazing
 
I think word size 1 + correct direction flag should do it
 
@Trowski btw, there was someone in JS room, who was convinced, that earth is actually flat
 
damnit, I was having a "flat earthers exist" free day
 
you're welcome
there are also geo-centrists
 
6:59 PM
@NikiC gmp_import($str, 8, GMP_LITTLE_ENDIAN) produces the correct result. A word size of 1 byte doesn't make sense – then endian-ness doesn't matter.
 
@Trowski Try gmp_import($str, 1, GMP_LSW_FIRST)
imho going into endianness doesn't make sense unless you actually have data that is chunked into words
Maybe I'm misunderstanding context, but that doesn't seem the case here
 
@NikiC I'm decoding an integer from the mysql binary protocol, which is little endian.
 
@Trowski little endian in this case = lsw (= lsb) first
GMP_LSW_FIRST corresponds to that strrev you had in your original code
... I think ^^
 
@NikiC Yes, that works with a word size of 1.
 
@Trowski I honestly am not sure about that. Because if you now happen to divide an unsigned bigint you suddenly get integer division. Which could be also quite a surprise
 
7:06 PM
@bwoebi Ugh, all of the options seem to have some drawback.
 
correct
That's why I suppose it's best to just get strings … it's trivial to convert strings to anything lossier… but impossible to convert a lossy type to full precision
 
@Wes awesome ... I would actually pay money to see it
 
@bwoebi Yeah, that seems to be the best option. How would I get a string from the binary?
 
Wes
hell yeah
 
@Trowski not sure. unpack and cast is lossy and unpack and json_encode is just slow for doubles.
 
7:09 PM
@bwoebi I can do it with GMP…
Though of course that has the drawback of requiring the extension.
 
for integers, you could.
@Trowski isn't bcmath enabled by default?
 
@Wes Kick-Starter for an anti-flat-Earther missile defense system...you know...just to grind his gears?
 
@bwoebi Looks like no. I also don't see anything that would be useful there.
 
@Trowski $int = unpack("P", $input)[1]; if ($int >= 0) { return (string) $int; } return bcadd($int, "18446744073709551616");
At least for 64 bit systems that's the way to go
 
7:35 PM
@DaveRandom that requires living near a beach... which I did at one time... and I fucking miss it...
 
$int = $int - (1 << 63);
$prefix = substr(1, $int) + 223372036854775808;
if ($int < 776627963145224192) {
    return "9$prefix";
}
$prefix[0] -= 1;
return "1$prefix";
@Trowski ^ okay that should do it with normal non-extension functions
uh, forgot about adding the first digit again
 
@bwoebi Yeah, no such luck with that.
 
@kelunik I don't at all :P read up to the reply :-)
 
$int = $int - (1 << 63);
$prefix = substr($int, 1) + 223372036854775808;
if ($prefix < 10 ** 18) {
    return "9$prefix";
}
$prefix[0] += ((string) $int)[0] - 1;
return "1$prefix";
more like that @Trowski
 
Mornings v3
 
7:50 PM
nah still wrong :-D
should test my code first :-P
 
@bwoebi You should :-P
 
Awesome @Wes <3 (le shirt)
 
What is 223372036854775808?
 
@Trowski yeah, will write it out
 
two two three three seven two zero three six eight five four seven seven five eight zero eight?
 
7:55 PM
Warning: Uncaught Error: Cannot use assign-op operators with string offsets in php shell code:8
baaaah
 
@bwoebi What produces that?
 
@PeeHaa obvious? $a = "123"; $a[0] += 1;
 
Oh
For some reason I thought we killed that
 
me too…
 
nvm
 
7:59 PM
So did I…
 
:P
 
on 7.1
 
7.2?
 
No, I'm using 7.1 currently I meant
 
What driver are you guys @Trowski @bwoebi running? ev / uv?
Missing a above
 
8:16 PM
$int = $int - (1 << 63);
$prefix = (string) (substr($int, -18) - (1 << 63) % 10 ** 18);
return ($int >= 10 ** 18 - (1 << 63) % 10 ** 18 ? ((string) $int)[0] + 9 : 9) . $prefix;
@Trowski ^ that one finally works
 
@bwoebi What is $int starting as? The binary string?
 
@Trowski the unpacked integer
 
$int = unpack("V2", $str);
$int = $int[1] + ($int[2] << 32);
 
obviously put an if ($int >= 0) return (string) $int; before
no, unpacked with "P"
 
Ah, ok.
 
8:24 PM
Aaaaand still an error :-D
 
Seemed to work?
 
not if $prefix >= 10 ** 18
 
@bwoebi For some reason I'm not seeing $type = 0x08 for an unsigned bigint, when it should be 0x88 (if I'm understanding correctly).
 
@tereško lol nice
 
8:31 PM
@PeeHaa Generally I use ev.
Otherwise uv is probably stable enough now to use.
 
kk tnx
@Trowski Oh really? k. Was just about to move away next week :)
 
@PeeHaa I know.
@PeeHaa ev mostly I think.
 
Are comments containing "shit" automatically deleted in the main site?
 
@PeeHaa Have you had issues with it?
 
8:48 PM
@Trowski yes we had issues. @Ekin told me it was something something uv. Not sure exactly what it was
I remember she had been debugging, but not exactly sure about specifics
I think it was related to loop->watchers[w->fd] == w, but I am not 100% sure
 
@PeeHaa I think that's solved, but I'm not 100% sure. Use ev for now.
 
k will do. I totally need to get into amp stuff again once I have some more time again. So many things I left to do everywhere :(
 
Hey guys do I need to create $token = new token when im using jwt-php or just require_once(path..) and thats all?
 

« first day (2594 days earlier)      last day (2347 days later) »