« first day (3405 days earlier)      last day (1545 days later) » 

9:00 AM
Ok,, My eyes get red when i code i js
 
it should be fine with GET, that's how everyone does it past Pleistocene
 
This incoherent rambling is killing my last few remaining brain cells ~_~
 
mr5
Who is rambling? Me?
I only say yes, no though =P
 
combined with all the anime you're soon bound to end with none @RoelvanUden
 
1528008 messages/s
1521076 messages/s
1519357 messages/s
1530880 messages/s
1517395 messages/s
1531954 messages/s
Woot
 
9:03 AM
If I got this right, he wants to do something like support.humblebundle.com/hc/en-us/articles/…
 
GET request with token in querystring, bind to input in form, user posts form read from form append to url you re-direct to. Simples.
 
@M.Doe At least I enjoy killing brain cells that way :3
 
Yooo friends
@BlackSquirrel how to use query string as URL segment
i want to change my URL from this "localhost:5001/venue/details/1?q=help" to this "localhost:5001/venue/details/1/help"
 
yo yo yo
 
@CupOfJava Whats java doing in c#
 
mr5
9:08 AM
@markharringson use PHP
best I can advise :D
 
having a good time
 
PHP ;-(
 
mr5
yeah. you could do those sort of things easily.
 
PHP is getting faster now
 
why is php being underrated?
PHP is coming to end
 
9:10 AM
it's not
 
They even add JIT to PHP
 
Php is better then Asp.net in some ways
 
ITS NOT BETTER
 
other than the fact it yells at you in other languages
 
.NET core is faster
 
9:11 AM
 
mr5
oh
 
forget PHP its not 2005
 
.Net Core and php are pretty much the same in speed
 
people are going to use whatever they think is best. bottomline
 
They certainly aren't the same in terms of performance. The real question is, do you really need all that performance?
 
9:13 AM
I personally don't care for php, but I can't really say it's "worse"
 
We will use anything that is WEB SCALE
 
mr5
but setup in php is fast and straightforward
 
@DKDhilip was there any other thing it can do?
 
mr5
@M.Doe are you related to J.Doe?
 
@HéctorÁlvarez Lot of new things, stitcher.io/blog/new-in-php-8
 
9:16 AM
@CupOfJava Are you on crack?
2
 
@DKDhilip try using /dev/null
 
MongoDB is WEB SCALE
 
Maybe if they do actually implement JIT it might be comparable
 
@CaptainObvious not I've just read the stats
 
Are any of you even working on software that's used where performance has actual implications?
 
9:17 AM
but to be fair I'm probably outdated
 
yes i am making ticket booking app
 
I used to be. These days I'm gimped by I/O
 
why is performance not important?????
 
@RoelvanUden well... not micro-performance tho
 
@markharringson Eh.. throwing one more server at it is usually way cheaper than thinking hard about performance.
 
9:18 AM
but we did have one web service, and asking some information from it took about 15 seconds
turns out, a relational database was not meant for that job
in that case, performance is a must
but still not micro level performance
 
@RoelvanUden Client side performance, web, low-end mobile phones
 
I mean I still need performance, but I've optimised the life out of everything we have that needs it but about 96% of processing time is IO
 
@mr5
I am not related to J. Doe
in fact, I don't know who that is
 
oh, I also made a mobile game which had a not-really-large-but-still-pretty-large grid of booleans that needed to be updated every frame
 
mr5
y ur name is m. though(doe)?
 
9:20 AM
Unfortunately, 469ms is just way too long for operations to complete for us
 
Why is hector wietselol now
 
hello
 
Because my name is John Smith
 
mr5
@HéctorÁlvarez binary simulator?
 
So M Doe makes more sense
 
9:20 AM
I had to optimize it to a single array instead of nested arrays and change to long instead of 64 individual booleans
@mr5 pathing
 
@HéctorÁlvarez why did u steal wiertselols avi
 
mr5
@HéctorÁlvarez A*?
 
I was thinking what if we transpile SQL into PHP 8 and send to cluster to execute...
 
@M.Doe because I is Wietlol
 
mr5
@M.Doe y r u eating a reverse sandwich?
 
9:21 AM
hahaha
 
@mr5 no, manual
 
why aren't you? @mr5
 
not pathfinding, just pathing
 
mr5
oh. it must be stupid mobile game then
 
God dammit what is this ping spam
 
9:22 AM
@M.Doe Wiet stole hector's name
 
@mr5 not necessarily
 
Thanks captain obvious
 
just a slightly different behavior than most games
 
I'm in another one of those meetings where I don't know what is happening
 
mr5
@M.Doe where can I buy reverse sandwich?
 
9:23 AM
why u pinging me reeee
 
mr5
and why is sandwich spelled sandwich instead of sandwhich?
 
Just flip the sandwich
 
mr5
 
this is c#
not php
 
9:25 AM
We could make a PHP interpreter with C#
 
we could
 
why are wind and wind not spelled differently?
 
but even I am not that stupid :D
 
The fact you're thinking about this means you should leave this platform
 
@CupOfJava spelling is not an issue
but why are they pronounced differently?
 
9:26 AM
Nope, I consider it a programming exercise
 
@DKDhilip I can give you a programming excercise
 
@HéctorÁlvarez you're right, my bad
 
No, this is Wietlol Héctor Alvarez
 
you forgot the thing over the A
 
@HéctorÁlvarez Where?
 
9:28 AM
find out how to make single dispatch on a multi-inheritance type structure
 
what
 
o/
small question
 
this room is crazy
 
oh... and double dispatch
but that would be for bonus points
@DKDhilip I expect an answer next week
 
@MwBakker how small
 
9:30 AM
Just hard code without dispatch
 
NO
I REFUSE
(this is what I am stuck on with Wietlang)
I have a silly implementation, but it is really silly and messy
and slow
 
by dispatch, I assume you mean like event delegation?
 
nope, method invocation
polymorphism
 
If I foreach through a `List<IPerfomedAction>` but I need one certain type, then would the following crash or immediatly go well:

foreach (ViewReference viewReference in SmallScriptTest._performedActions)

`_performedActions` contains `IPerformedAction` objects which can be `ViewReference` objects
 
that's been done though. Just see how they did it with C++ and adapt it
they use a table for methods declared virtual
 
9:32 AM
Object a = GetObject();
a.ToString(); // which ToString implementation is happening here?
 
Easy, just JIT or AOT them
 
@Neil I looked through some examples, but they arent multi-inheritable
 
mr5
 
which means, no interfaces
 
@HéctorÁlvarez if it behaves like any modern object oriented language, the implementation is the most specific
 
9:33 AM
but how does it find that implementation?
 
are you allowing diamond inheritances?
 
Find at compile time
 
/mute pings
 
yes, as does C#
 
9:34 AM
If dynamic then do it at runtime once and cache it
 
but not even that
just having 2 interfaces with different methods already breaks the examples
 
just like you have an object instance, but you know what type it pertains to
 
Like compiled expression and Reflection.Emit in C#
 
not like you do obj.ToString() and then it calls the Object implementation
 
@DKDhilip all at compile time tho
 
9:35 AM
@RoelvanUden Do you know where you can get a mac mini for cheap?
 
Then your compiler will do it at compile time to emit specific code
 
@HéctorÁlvarez you know at runtime what the concrete class is..
 
mr5
@HéctorÁlvarez are you comparing types in assembly level?
 
@CupOfJava Ask your company :-3
 
that's the point
 
9:36 AM
Like code rewriting
 
@RoelvanUden are you still pissy about the servers
 
@Neil this is what the examples say about method tables
 
@CupOfJava There is no cheap mac mini except one you get for free from your company.
 
then, you can ask the type for its method table and then invoke function foo (which has offset 0)
 
Apple hardware is overpriced in both new products as second hand markets
 
9:38 AM
@RoelvanUden yes
 
but asking for function baz with offset 1 will fail because it is not at offset 1, but 2 instead
the examples I had only work for a single parent tree
 
is this room an ongoing constant fight with breaks?
 
@MwBakker No, chat is either riddled with trolls or incompetents and I can't figure out which of the two I'm dealing with at any given time.
 
I don't think that will work. It's not a company project. Ah
I found a 2010 mac mini for 150, it's not bad, it's not great.
 
If you need to actually code on it, you won't be happy. It can't run XCode properly.
 
9:41 AM
@CupOfJava im still using a HP elitebook from 2011/12 thing is faster and stronger than a 400 euro new laptop, costed me 175 euro 2nd hand
 
isn't elitebook Hp?
 
@CupOfJava We've got the 2012 model @work and it's abandoned because it's utter shite. Doesn't run XCode or VS for Mac without constant stuttering.
Now using a 2018 MacBook Pro which is fine... but pricy as hell.
 
@mr5 why are there 2 0xdead stuff?
 
mr5
9:43 AM
I updated it
 
I still dont get what it means tho
 
!~>(int)0xdead
!=>57005
 
0xdeadbeef
 
mr5
@HéctorÁlvarez It means it's type casting to a known memory location
 
APPLE!
how much was the 2018 MacBook Pro
 
9:46 AM
@CupOfJava ~2.3K
 
I still dont see how that would work
 
@HéctorÁlvarez So you have a handle for interface A, but it is actually concrete class C
You call foo() and what gets called is the most specific implementation, so start at C, and work backwards
 
@CupOfJava yes. Best laptop I ever had except the cooling is fragile. I crashed one because I accidently blocked the air output
 
Move the dispatch logic from run time to compile time and then emit static code path
 
do you plan on allowing interfaces to provide default implementations?
 
9:47 AM
C will have an implementation
 
if so, you need to decide in the case of collision, which one wins
 
the compiler will make sure of that
 
@MwBakker see I only need the mac for developing IOS, not really performance
 
I used a Virtual machine for that. I would never let myself be forced using Apple stuff. The HP ran it flawless
 
actually if you wanted to do something smart, the compiler would flatten it to a single class with 0 or more interfaces
 
9:48 AM
flatten?
 
so you'd never have to do lookups.. the implementation is the one right there in the class
yeah, suppose you have C that extends B that extends A
all three have method foo implemented
 
I thought Apple doesn't license to VM, or anyone really
 
When you compile, C ends up having just the implementation of foo in its own class
 
I dk, I downloaded the VM software (forgot the name) and then I downloaded IOS somewhere not even a shady website and all worked well
 
you'd only retain information that C is a type of B is a type of A
 
9:49 AM
@CupOfJava Do you have an iPhone?
 
I don't have one but my wife does.
 
@Neil you mean this, right?
and each class would have their vTable stored
so you would ask the vTable property of the type of the object
 
@HéctorÁlvarez no.. you can't figure out what implementation it is based on the fact that it is an interface A
 
Damn it I hate vb so much
 
and the type reference of the object is stored as the beginning of each object
 
9:51 AM
it is information you need to keep
 
I can' tbelieve i@m saying this but I wish it wasn't so lineient with using the wrong types and autocatsing them
 
Swap it for C if you prefer
 
0 main
1 get type of a
2 get vTable from type
3 get method index 0
4 invoke method
 
If you have C, you can also determine it can be used as interface A
 
mr5
r u really doing this in the low level @HéctorÁlvarez ?
 
9:53 AM
yas
 
AMD processor are doing very well this year
 
like you need type A passed in as a parameter, but you have C.. so do a check that C is a type of A.. if it is, great
 
mr5
y!!!?!?!?!?
 
Also wiet change your damn name so the real hector gets less spam
 
I cant
I tried
 
9:53 AM
Why not
 
I failed
 
otherwise it's type C.. do the vtable lookup in reverse
 
mr5
lol
 
> Display name may only be changed once every 30 days; you may change again on Mar 8 at 12:47
 
Oh fuck
 
mr5
9:54 AM
they copy the rules in FB :D
I haaaate Xcode sooo muccch
 
@Neil I dont think I follow
@mr5 how else?
 
0 main
1 get method pointer 0xdeadbeef (hash of a.foo)
2 invoke method
 
that wont work
 
mr5
@HéctorÁlvarez like this: if ("your custom code here is found") { /* execute C# code here */ }
 
I need the implementation
based on the object
 
9:55 AM
Not possible..
 
@Neil it already works that way tho
 
If I gave you an instance of Object and asked you to tell me what gets outputted when I call ToString on it, how could you answer me?
 
!~>(long)0xdeadbeef
!=>3735928559
 
@HéctorÁlvarez no.. that's not true
That information is retained
also sorry to original Hector.. I'll try to ping less
 
Both receive ping or only original hector?
 
9:57 AM
Your compiler already done it ahead of time, no more vtable lookup at run time
 
it is not compile time that can resolve the method tho
 
just because your method needs a type A, doesn't mean you deal with A
you deal with C, and your compiler checks that it is type A beforehand
having C, and seeing that foo is being called, you do a reverse vtable lookup starting with C and moving backwards
 
type aTable = { 0, function }
type bTable = { 0, function, function, function }
type cTable = { 0, function, function, function }


main(a: A)
{
	a.foo()
}

0 main
1 get type of a // type C is returned
2 get vTable from type // actually a cTable
3 assume vTable is of type aTable
4 get method index 0
5 invoke method
 
the first method you find with that signature is the one to run
 
this is what happens
as by the examples
 
9:59 AM
step 1 is wrong
 
why so?
 
there could be a thousand classes that implement interface A
 
you need the runtime type of a
 
so which vtable is right?
 
"get type of a" is the runtime type, not the static type
if it was the static type, no need to do anything at runtime
 
10:01 AM
ok, so you're telling me it is the vtable for C?
then just don't start with index 0.. start with vTable.length - 1
 
so, get vTable will return cTable
and foo is the first function in that table, so it will resolve it correctly
this works perfectly fine for single parent trees
but it fails on multi-parent trees
because one vTable cannot be assumed as one of the supertypes
this approach assumes that vTables only get expanded, not re-arranged
for example, if B does not extend A
type aTable = { function_A_foo }
type bTable = { function_B_bar, function_B_baz }
type cTable = { function_A_foo, function_B_bar, function_B_baz }
now, a cTable cannot be assumed as a bTable
I need to either have multiple tables, or add an offset based on the type
(or some other approach I have not figured out yet)
 
10:24 AM
Yo
Is the ping spam over?
 
Not until march 8th probably
 
except if a mod jumps in
 
Wietlol you inbred moron
7
 
That high-pitched sound you hear right now
is the shockwave of my REEEEE
 
mr5
10:29 AM
HAHAHAHA
nice move Wiet
 
> but it fails on multi-parent trees
no shit, that's what I was telling you earlier..
so you can't know which implementation it is based soley on the fact that it is of type A
compile time, you only care that it needs to be treated as a type A.. at runtime, you care that it needs to be treated as a type C
 
!~>"Héctor Álvarez" == "Héctor Álvarez"
!=>true
maybe real hector to change the name?
 
that's a thought
the real hector should now be renamed to Wietlol
 
lol wtf please dont
 
!~> "Héctor Álvarez" == "Héctor Álvarez​"
 
10:35 AM
!=>true
 
what?!
it isnt tho
 
Why not
 
zwsp
at the end of the second string
 
Maybe you didn't copy it
 
it is there
try it
 
10:37 AM
Nope
I can confirm it is not there
 
it is on my screen
if you select "Alvare" and then ctrl right 2 times, you can notice it
at least, I do
 
IDK what you mean
 
Looks like Notepad++'s show all characters doesn't show all characters
 
@CaptainObvious u on crack?
 
10:40 AM
nah but wiet is
 
ye, it shows non printable characters, but spaces, tabs and zero width spaces (and many more) are considered printable :D
 
I'd argue new lines are printable too, but it shows thme
 
it has a special way of showing them?
 
@HéctorÁlvarez me?
 
for me, it just continues on a new line
 
10:42 AM
@nyconing no, @HéctorÁlvarez
 
ctrl double click? nothing happen
 
Jesus christ I'm so confused
 
did zero width space virtually a space?
 
Change profile picture for best result
 
10:47 AM
pls no
 
o/
 
o\
 

« first day (3405 days earlier)      last day (1545 days later) »