« first day (1631 days earlier)      last day (3333 days later) » 

8:00 PM
You were linked to an excellent explanation. You're just ignoring it.
 
19 mins ago, by sehe
No worries. You're plonked comprehensively
Apparently not enough :(
 
ok I have number 1, 2, 3 and 4. If I remove 1, 2 and 3, and I make you choice one of it, do you get confused ? The only choice is 4 !!!!
did you understand?
 
user784668
@Marc-AntoineJacob No
 
no?
choose an number between 4 and nothing ?
4 is the only path.
so int is the only path
I'm logical, it's not on my fault.
 
Yes, you are at fault.
 
8:03 PM
but ....
 
But NOTHING.
 
4 is the only path.
 
You were linked to explanation that will resolve your misunderstanding. Do not participate further in this nonsense conversation until you have read it.
 
I read IT
it makes no sense at all
 
Who cares dude. We don't care you think you're right. As long as there is a complete standards specification saying otherwise and all compiler implementations agreeing, you're just "not liking something in the universe"
Good luck
 
8:03 PM
It makes perfect sense.
Your analogy is completely flawed.
> If I remove 1, 2 and 3
 
@Marc-AntoineJacob It makes to sense to rant about it
 
the operator are hidden not deleted
 
4 mins ago, by Lightning Racis in Obrit
@Marc-AntoineJacob Marking the other operators deleted doesn't mean they don't exist; it just means they can't be used.
"can't be used" != "removed"
 
yes it's =====
 
Why are you being so stubborn?
 
8:04 PM
if you don't use somothing, will you keep it?
 
You're a kid throwing a tantrum that 22*11 != 222
 
will you think about it?
 
And the reason for that was explained to you in a link.
READ. IT.
 
I READ IT!
2 TIMES
AND IT MAKES NO SENSE AT ALL
 
8:05 PM
Then read it more times, again and again, until you understand it.
 
@Marc-AntoineJacob BIG FUCKING DEAL
 
I won't.
 
Nobody else has a problem with it, so you are in the wrong. You will have to accept that.
 
@Marc-AntoineJacob good bye
 
ok I have number 1, 2, 3 and 4. If I remove 1, 2 and 3, and I make you choice one of it, do you get confused ? The only choice is 4 !!!!
 
8:06 PM
2 mins ago, by Lightning Racis in Obrit
Your analogy is completely flawed.
 
repeat this please
 
2 mins ago, by Lightning Racis in Obrit
"can't be used" != "removed"
 
so why you are fucking thinking about 1, 2 and 3 !!!!
 
nice.
 
The koala intervenes!
 
8:06 PM
1 min ago, by Lightning Racis in Obrit
And the reason for that was explained to you in a link.
 
if I said to you that only 4 is usable
 
@Marc-AntoineJacob No, clearly the choice is 42.
 
smooth
 
@Scrubbins & @Puppy Wow, sockpuppetting to avoid a suspension. Classy.
 
8:07 PM
Not to avoid. To evade.
 
42 is what I should erad
 
You were suspended for being a complete arsehole, FYI.
 
Pick more fights. I have pop corn
 
@Marc-AntoineJacob: I am putting you on my "ignore" list now.
 
user784668
@LightningRacisinObrit Are you trying to say he was suspended for being himself?
 
8:08 PM
@Fanael Funny, that!
 
no please don't think to 123!
 
@sehe Throw some my way. This is depressing.
 
@Marc-AntoineJacob They don't think it be like it is, but it do.
You know what I mean?
 
@Grendan "@LightningRacisinObrit is smart" Sure she is! — πάντα ῥεῖ 51 secs ago
 
@CaptainGiraffe catch!
 
8:10 PM
@Nooble ?
 
@Marc-AntoineJacob !
 
@Marc-AntoineJacob ?
 
@Marc-AntoineJacob ?
 
8:12 PM
luckily it exists C++/CLI who breaks all that C++ shit and ambiguity
.NET is much better, why I'M Learning C++
because I'm dumb
 
user1804599
woo hello world works again!
 
@Marc-AntoineJacob C++ is the way of the lord.
 
yeah, because adding more complexity is the way to cure C++. Especially when the starting point is a marvelous compiler like MSVC
 
I should know, I'm the lord of koalas.
 
I have Visual Studio Professional
and what I got of it is : 2 IntelliSense : plusieurs opérateurs "<<" correspondent à ces opérandes :
fonction "std::basic_ostream<_Elem, _Traits>::operator<<(std::basic_ostream<_Elem, _Traits>::_Myt &(__cdecl *_Pfn)(std::basic_ostream<_Elem, _Traits>::_Myt &)) [avec _Elem=char, _Traits=std::char_traits<char>]"
fonction "std::basic_ostream<_Elem, _Traits>::operator<<(std::basic_ostream<_Elem, _Traits>::_Myios &(__cdecl *_Pfn)(std::basic_ostream<_Elem, _Traits>::_Myios &)) [avec _Elem=char, _Traits=std::char_traits<char>]"
 
8:14 PM
@Marc-AntoineJacob Voulez-vous coucher avec moi ce soir?
 
@Nooble non merci je préfèrerais une giraffe
 
I'm filing for sexual harassment!
2
 
lol
why VS so dumbbb
check out what errors he is trowing to me
sometimes I want to write that in main to get it stuck and torture him
 
@Marc-AntoineJacob coming from you, this is nearly a well-done insult deep enough for MSVC
 
while(true) {int* i = new int(1000000000);}
 
8:18 PM
you tell'em, girl!
 
user1804599
@sehe VM should be more trivial to build now.
 
user1804599
There's much fewer hacks and dependencies.
 
@Marc-AntoineJacob Use MinGW.
 
@райтфолд it becomes trivial after the 612th VM you write
 
user1804599
Only dependencies are on Catch, Wheels, Boost.System and Boost.Coroutine.
 
8:18 PM
it's the same but more little
 
Oh you mean, the project build config
 
user1804599
And the instruction decoder generator is now written in Perl instead of AWK.
 
What it do if I write that and I compile ?
while(true) {int* i = new int(1000000000);}
:)
my computer will burn?
 
try it and see
 
or Visual Studio will suicide
I prefer the second happening
 
8:20 PM
@Marc-AntoineJacob It legitimately concludes you are a moron. Because compilers need you to spell it out.
 
it's UB so anything could happen
including nothing
 
ok will test
 
why not go do something useful instead
 
COMPILEE
 
I prefer to think of UB as the stuff that happens in Douglas Adams novels.
 
8:21 PM
like spend some time gaining a basic knowledge of the fundamentals of computer programming
 
at this point, It doesnt lag
 
@Marc-AntoineJacob Let me try to explain. Let's assume you're calling a function as f(2.1). If there's only one f, and it takes (say) an int parameter, the compiler will insert code to truncate 2.1 to int, and call f(2). If, however, you have an f(int) and an f(double), then the compiler will try to generate code to call the f(double), since that's a better match.
 
user1804599
Now it's time to implement threading and scheduling.
 
@JerryCoffin and?
 
@Marc-AntoineJacob Please stop.
 
8:23 PM
Exception de première chance à 0x74ED4598 dans App-C++.exe : exception Microsoft C++ : std::bad_alloc à l'emplacement de mémoire 0x0112F880.
Exception non gérée à 0x74ED4598 dans App-C++.exe : exception Microsoft C++ : std::bad_alloc à l'emplacement de mémoire 0x0112F880
 
user784668
@Marc-AntoineJacob merde
 
what this mean ? all my mermory is full of int?
 
@Marc-AntoineJacob [sorry, rant out of space] If you have f(double) = delete, then the compiler will select that as the correct overload for f(2.1), but then it'll see that it's deleted, so the call won't compile (which is presumably what you wanted by including an f(double), but deleting it). If, however, f(double)=delete meant that f(double) just didn't exist, then you'd be back to f(2.1) just calling f(2).
 
impressive troll is impressive
 
ok
good explanation
but this is dumb
 
user784668
8:25 PM
@Marc-AntoineJacob Ton aéroglisseur est plein d'anguilles.
 
compiler is dumb
you said that Your hovercraft is full of eels.
 
user784668
@Marc-AntoineJacob ikr
 
@Marc-AntoineJacob It's a Monty Python joke.
 
8:27 PM
ok
very brillant video
what this mean ? all my mermory is full of int?
 
@Scrubbins & @Puppy Wow, sockpuppetting to evade a suspension. Classy.
2
 
what this mean ? all my mermory is full of int
 
@Marc-AntoineJacob Why do you repeat yourself?
 
8:29 PM
because it wroted
 
user784668
@LightningRacisinObrit Because his hovercraft is full of eels.
 
at right
with a little star
 
Why does that mean you have to write the starred message another two times?
 
@LightningRacisinObrit he wants more stars, duh
 
8:30 PM
hes like you
 
user784668
@Borgleader rekt
 
don't want stars, want fruit
3
and want to suppress ambiguities
 
8:33 PM
@BartekBanachewicz Waaaa.
 
user784668
oh no
 
I was busy touristing today
 
user784668
Barteking is about to begin.
 
why oh no
 
hi to you to asshole @Fanael
we saw Brunel's bridge and some other funny stuff
fun day in general
 
8:34 PM
@BartekBanachewicz !
 
@Marc-AntoineJacob !
 
@BartekBanachewicz
 
For a second there I thought @Marc-AntoineJacob was our @Momotapa
 
nevermind
 
8:35 PM
@MomotapaLimpopo
 
ok, I somewhat improved my RDP experience by telling it to use a bit more bandwidth
 
Inside jokes are not existing in a chat. I get some funny joke already like the fruit joke of @райтфолд or the giraffes.
 
@Marc-AntoineJacob [citation-needed] WRT this former phrase
 
instant of confusions, and joy
 
user784668
Is there any way to get DM-level checksumming?
 
8:37 PM
hehe nice my answer has 3x more upvotes than lightness
 
Evening
 
@Fanael Dungeon-Master Level?
hi my favourite Jefffrey
 
user784668
@BartekBanachewicz device mapper
 
oh my sockpuppet account has Lightness plonked too
lucky me
 
don't want stars, want fruit
lightness?
 
user784668
8:37 PM
heavyness
 
lightness?
 
fuck's going on here today
ah right Scrubbins was puppy
 
Puppy experiments with RDP
 
that mean, that you are going on
 
I am indeed, going on.
 
8:38 PM
@BartekBanachewicz You went away and shit went down
 
I am what's happening right now.
 
@Jefffrey that's because some fuckers told me it's not ok to code on vacation
 
user784668
Moral of the story: Bartek must be here at all times
 
@Marc-AntoineJacob that's always the case sweetheart
 
8:39 PM
what, Bartek leaves- lounge explodes?
 
@Fanael <3
 
why @BartekBanachewicz is here all time
 
user784668
@Scrubbins yes
 
user1804599
alright
 
impressive, but the Lounge already exploded when I started working
 
8:40 PM
how
 
@Scrubbins we sustained by making fun of you
@Marc-AntoineJacob because that's where the cool kidz are
 
cool kidz cool kidz
 
shit I won't make it for pawnguy's jam
would have to code and evening already planned
 
Fuck
 
@LightningRacisinObrit plonk better. plonk more
 
8:41 PM
Uniforms are broken in Haskell OpenGL bindings
Fuck fuck fuck
 
today I am very sad :(
 
hm
 
user1804599
I have a problem.
 
I losted one little bronze coin
 
experience still not quite usable for video or games.
 
8:42 PM
@Jefffrey transpose the matrix
 
wat
 
are you passing matrices?
 
no
 
ok nvm then
was a long shot
 
1
Q: Setting uniform in OpenGL

JefffreyI have an uniform in the form of: uniform float abc; and I get it in Haskell code as: abc <- GL.get (GL.uniformLocation program "abc") How can I pass a GLfloat value to it? I see from here that I should probably be using uniform1, but that function is not exported by the module. Every ot...

 
user1804599
8:42 PM
auto& fiber = fiber::current();
io_service.post([&] { fiber.resume(); }); // resume fiber later
fiber::pause(); // pause current fiber
 
user1804599
There's a race condition here but I have absolutely no idea how to fix it. :v
 
is this another free rep question
 
@BartekBanachewicz I just found out it's a reported bug known from oct of 2014.
 
I thought that was only in cables and cereal
 
user1804599
8:43 PM
I need a per-fiber lock, perhaps.
 
user1804599
resume must block until the fiber is paused.
 
Not for floats then
 
@райтфолд depends solely on which thread(s) run run()/poll() on the service
 
user1804599
@sehe different threads.
 
8:45 PM
Per se, fibers imply they could run on a single thread, so races don't exist
 
user1804599
I have N worker threads which solely resume fibers, and one I/O thread which does I/O with Boost.Asio.
 
user1804599
io_service here runs on that I/O thread, and the other code on the fiber thread.
 
@Jefffrey lol noobs
 
user1804599
A better example follows.
 
Perhaps you can divide your float in two ints
one for integer value and one for float value
 
user1804599
8:47 PM
// thread_pool has its own threads
// io_service runs on its own thread
auto& fiber = fiber::current();
io_service.post([&] { thread_pool.post([&] { fiber.resume(); }); }); // resume fiber later
fiber::pause(); // pause current fiber
 
12.34
makes 12 and 34
 
No instance for (GL.Uniform Float)
arising from a use of ‘GL.uniform’
In the first argument of ‘($=)’, namely ‘GL.uniform zFarAttr’
In a stmt of a 'do' block: GL.uniform zFarAttr $= (3.0 :: Float)
 
so who's this marc antoine guy again
 
nobody
 
user1804599
8:47 PM
A mutex works fine.
 
@all it's me again
 
-- Nasty instance declaration as TextureUnit is not of the form Storable (b a) as required for
-- getUniform. Even worse is that it requires the `GLint` uniforms while it is an enum or
-- uint.
@Jefffrey this is pathetic
 
Yes
 
did they break it spontanically or what
 
Don't know
 
8:48 PM
@LightningRacisinObrit sup
 
@райтфолд ok, tell me how the race is a problem (unless access to fiber functions is not threadsafe)
 
I'm getting excited for new Game of Thrones
 
yes but if your whatchamacallit support int
use ints
 
user1804599
@sehe fiber.resume() may be called before fiber::pause() is called.
 
k so I suppose that' enuff lounging for today
 
8:50 PM
bai brotak
 
vacationers gonna vacationate
 
user1804599
Because the thread pool may have a thread count greater than 1.
 
or something
 
user784668
@BartekBanachewicz vacations cause autism
 
@BartekBanachewicz FYI it seems like you can use an Index1 as a way to circumvent this.
 
8:51 PM
@Jefffrey plink/cc me with that bug when you get some new info
 
user1804599
Up until just a few seconds ago, resuming a fiber that was not paused was UB.
 
@райтфолд how would that pose a problem unless the methods are not threadsafe?
 
user1804599
Now it will just block.
 
@Jefffrey mmm.
 
@райтфолд ah
 
8:51 PM
@Fanael lol
 
user1804599
 
You, with your Mill
 
@R.MartinhoFernandes Does the rule of zero require that a pthread_mutex_t wrapper must only implement pthread_mutex_init and pthread_mutex_destroy and leave the lock/unlock to a higher-level wraper?
(Of course not IMO.)
Just wanted to be annoying.
 
@LightningRacisinObrit LOL this works but not what I want to do: pure<int> i = 15;
pure<int> j = 12;
cout << i + j;
@LightningRacisinObrit and you call that not ambiguity
wtf
 
That purity. My eyes..
 
8:57 PM
pure means an object wich can not be casted
-1
Q: Prevent an object to be casted to any but one type C++

Marc-Antoine JacobI defined this class: template <class T> class pure { public: pure(T const& attr) { this->attr = attr; } ~pure() {} T& operator=(T const& attr) { return attr; } operator T() { return this->attr; } private: T attr; }; This is a class t...

Want to make a simple way to do this mecanism and I'm having problem with stupid ambiguities
@LightningRacisinObrit did you get that?
 
user1804599
Now that fibers work terrifically, I can implement object loading and then spawn. :3
 
@райтфолд object loading?
 
@BartekBanachewicz I guess you can follow it here. For now, I'm doing it with an Index1.
 
how the hell do i make a multiplayer game with UE4 ;_;
 
9:10 PM
ask Epic
 
all i can find is references to "ShooterGame" which I can dl and study
 
it's reasonably ok actually, @Blob
 
but that's a bit of work just to figure out multiplayer
 
@Scrubbins Why are you not puppy again? Suspension ended.
 
you're right; just call TurnIntoMultiplayer(myGame) and you're basically finished
 
9:12 PM
-.-
i wish there was a minimalistic example
:C
 
@райтфолд Wat. ..I don't understand.
 
user1804599
It's a long type name.
 
Nested lambdas?
 
> Returns properties that are replicated for the lifetime of the actor channel
> virtual void
> void
what
;_;
 
user1804599
@StackedCrooked No, I have a boost::variant with lots of variants.
 
user1804599
9:16 PM
One for each opcode.
 
a variating variant
 
> output arguments
 
user1804599
In the future there may about over a hundred of them.
 
I guess I could say you enjoy a little variation.
 
oh, writes to an argument
 
9:17 PM
they love thier output args
 
@AndyProwl I'm sorry but I can't realistically make it. I guess a snake game is my demon. I'll never finish it.
 
snake game!
that's what i'll make!
a multiplayer snake game
if i can figure this shit out
when does it end? tomorrow? no problem
 
user1804599
Alright, thread pool.
 
Actually, I implemented a basic worker pool a few years ago.
It assigned work in round-robin fashion.
It was my very first multithreaded project.
Luc Danton even reviewed it and found only one instance of UB (pointer comparison).
He didn't like some code that used too many levels of indirection.
It was all for tetris.
 
you needed threads for tetris? o.o
 
user3010322
9:25 PM
@CatPlusPlus Actually it's different! Which is kinda nice. Plus I can hook the wgl::ChoosePixelFormat now and let the system decide what's the best format (and also have the callback hierarchy I was using with DirectX to let the user pass a function that overrides the default behavior and lets them choose from the available graphics formats).
 
@ThePhD dat what you sent me the other day?
 
user1804599
@StackedCrooked Nice and simple.
 
@райтфолд yep
I just had a look at my old pool. I had a method to interrupt a range of workers. Why on earth did I think it was necessary?
 
user1804599
Now it's time to do the I/O stuff.
 
@райтфолд What are tpp files?
 
9:31 PM
template cpp?
 
user3010322
@Borgleader Mostly!
 
user1804599
@StackedCrooked template definitions
 
Is C#'s async/await the ultimate abstraction for async programming?
 
user1804599
@StackedCrooked No, they're terrible.
 
user1804599
What you want is stackful coroutines.
 
9:34 PM
Why stackful?
 
user1804599
So that you can have the same API for code that does I/O and code that doesn't.
 
user1804599
For some idiotic reason, only very few environments provide this.
 
user1804599
Some that do are Erlang, GHC and Go.
 
> In contrast to a stackless coroutine a stackful coroutine can be suspended from within a nested stackframe. Execution resumes at exactly the same point in the code where it was suspended before. With a stackless coroutine, only the top-level routine may be suspended. Any routine called by that top-level routine may not itself suspend. This prohibits providing suspend/resume operations in routines within a general-purpose library.
 
user1804599
Async I/O is purely an optimisation. It's the only reason to ever use it. But this optimisation can be made unobtrusive as in Erlang, GHC and Go. And Mill. :P
 
9:35 PM
Oh, so stackless means useless. More or less.
 
user1804599
Stackless coroutines are useful for generators (C# yield return, Python yield).
 
@StackedCrooked Is your name taken from a band?
 
The New Pornographers
 
user1804599
// Basically, here's the async I/O API when you do not use stackful coroutines:
future<byte[]> read(stream) { … }

// and here's the async I/O API when you do use stackful coroutines:
byte[] read(stream) { … }
 
user1804599
Note how in the former case you'd need to return a future for your in-memory byte array stream, because otherwise it's not possible to write generic code.
 
user1804599
9:38 PM
So basically, in order to write anything generic, you always have to anticipate on this, and always return a future from every API ever.
 
Heh, just discovered there's a imitation band called The Nü Pornographers
 
user1804599
Ugh, can't move a fiber since it has a mutex member.
 
@StackedCrooked Maybe
 
> Six people from various Cleveland bands spent a few weeks learning songs by The New Pornographers for the one-night-only 4th annual Beachland halloween tribute show
Not very wellknown then
 
Just realized you can make this syntax work:
[]{}()[x]|[]{}();
 
9:47 PM
Tell our new friend Marc-What's-His-Name. He'll be glad to know it may not be ambiguous.
 
Ell
@BartekBanachewicz Hmm I saw this a little late >.<
 
What do you mean, ambiguous?
 
Ell
@BartekBanachewicz are you leaving on the 6th or the 7th?
 
@StackedCrooked You missed that episode then. It's unimportant
@StackedCrooked I don't know how you'd do this. But I'm pretty sure I don't need to know
 
@sehe Well, I skipped some steps.
[]{}() must return an object which implements operator[].
 
9:50 PM
Except, it doesn't
 
It does.
 
Of course not. It returns void
 
Are we gonna fight about this?
 
It's a fact. You choose.
 
I'm ready.
 
Ell
9:52 PM
@BartekBanachewicz just ping me when you read these and we can try and sort something out? :)
See you guys later again
 
See you, Ell
 
user1804599
OK
 

« first day (1631 days earlier)      last day (3333 days later) »