« first day (1581 days earlier)      last day (3383 days later) » 

6:00 PM
@райтфолд what's .WHAT.WHAT then?
 
As opposed to locally unique.
 
user1804599
@Jefffrey this:
 
user1804599
> 42.WHAT.WHAT.say
(Int)
 
wait what
 
user1804599
Types are their own type.
 
user1804599
6:00 PM
You can say my Int $x = Int;.
 
So... wouldn't WHAT.WHAT give me Type or something like that?
 
user1804599
I don't know why.
 
Like, in Agda Int.WHAT would give Set
 
user1804599
I'll ask Larry.
 
Set.WHAT would give... I dunno, maybe *?
@райтфолд Who is Larry?
Is he the 9 years old kid that designed Perl?
 
user1804599
6:04 PM
<rightfold> Where can I find the rationale behind types not being values of some Type type?
 <TimToady> rightfold: well, logic, basically, and being able to reason about types or instances of those types the same way
 
user1804599
Dunno; too cryptic.
 
wat
 
he's calling you stupid
 
user1804599
<rightfold> TimToady: but why'd you want to reason about them the same way?
 <TimToady> because that's how people do it in natural languages
 
6:06 PM
what's a natural language?
 
user1804599
English.
 
is he talking about the A G C T biostuff?
oh
 
user1804599
<moritz> rightfold: if the type object were not of the same type as instances, it would make it quite a stretch to define methods than ca be called as class or instance methods
 
user1804599
There's something similar to metaclasses called ClassHOW and you can access it as Int.HOW.
 
@райтфолд because that's how stupid people that make category errors all the time do it in natural languages.
 
user1804599
6:12 PM
I don't follow anything of this. I have no idea what he's talking about. :P
 
right, now playing all EuroMillions draws every month with two lines
that'll do it
I prefer to vote-to-undelete such questions, and to get my friends and enemies to do the same. — Lightness Races in Orbit 5 secs ago
 
@райтфолд It's begging the question.
 
@FilipRoséen-refp I changed my answer, so I'd be glad if you could go over it and see if it's still wrong.
 
This question is great:
-3
Q: What will happen if Brain transplantation done?

irvanHuman brain is for saving memory of our life Is brain transplantation available in this world? if yes this is my biggest question in my life there is person a and person b doing transplantation 1. if the brain moved will the person have the another person memory?

 
Seems that some of you were actually right. Vlad didn't post any recent answers after being unleashed from the penalty box.
1
A: Dynamic array allocation

Vlad from MoscowIn this declaration p_to_array p2 = new arr; // incompatible types type of initializer new arr; does not correspond to the type of variable p2 The type of initializer is int * that is the initializer is pointer to the initial element of the allocated array. The type of variable p2 is int (*p...

But let's see (and be prepared)
 
6:21 PM
@πάνταῥεῖ Wait, he was banned?` What for?
 
@Columbo please link it.
 
@FilipRoséen-refp I'm not comfortable with that, but here you go
 
@Columbo "Voting irregularities" actually
 
@πάνταῥεῖ lol
 
^ And I received some by him (well flying below the serial downvote radar)
 
6:22 PM
@FilipRoséen-refp I'm afraid that I just basically burned my account by baffling a load of nonsense
 
@Columbo hold on, I'll give you a little something to think about
 
3
A: Rental car gearbox broke down

Paulster2Not knowing what type of car it is, how many miles were on the car, or even whether it's a manual or automatic (assuming automatic), this is all I have for you ... To easy your mind a little, any single 300km stint is not going to cause a transmission to go bad. The problem is, the transmission ...

read to the end
@πάνταῥεῖ I'm keeping an eye on it.
 
@LightnessRacesinOrbit Me too ...
 
@πάνταῥεῖ Was he hunting the Electorage Badge?
Probably not
 
@πάνταῥεῖ :)
 
Ell
6:27 PM
> If all else fails, get a bat and break the dudes knee caps. While this will ultimately end you in jail, it will most likely make you feel better and the guy will think twice about doing something like this again.
 
@Columbo LOL! He never would have been elected as mod. But getting the electorate badge is something different (I have one AFAIR).
 
@πάνταῥεῖ erm what
When did I mention mods?
@πάνταῥεῖ I meant the Electorate Badge, it was a typo :)
 
I swear I'm not faking these things
this one sells for 200 eur
well sold, it's not on sale anymore
if I sell it I'll be the only one offering it
so I can ask whatever I want
 
@FilipRoséen-refp (I'm afk for ~20m)
 
@Columbo You didn't. Sorry that was a misconception of mine.
 
Ell
6:32 PM
@AlexM. sheeeit
this is real?
wait a minute
 
@AlexM. noice
 
how much did that cost you, cheese boy?
 
you know I joked when I said that I'll get a holiday house in hawaii using money from cs go
but I got 3 knives in less than 3 days
I still don't know how much money I'll get on that one
but if it's at least 200 eur
then I'll be making at least 400 eur in 3 days
with an initial investment of 30 eur
over the course of 3 months
 
buy me a catalytic converter
 
user3010322
I don't like my current retry policy code.
 
user3010322
6:37 PM
It's not dynamic enough.
 
user3010322
It's based on an integer. I should make it take an object where it checks while ( policy ) { my_call(); }
 
user3010322
And then provide overloads which check if the type being passed in is integral and automatically wrapping it in a counted_retry_policy object.
 
@AlexM. lol whales
 
Xeo
Did I mention that I got our Android build running? Me happy. Now I just need to figure out the iOS build (which likely just involves an stdlib update, from what I can tell) and we'll have everything we can for the moment.
Hopefully PS4 and XBox One will soon join the frey.
I want that thing running on all the platforms.
 
What thing?
 
Xeo
6:45 PM
New game
 
Ooh, shiny.
 
user3010322
Xeo's Super Sexy Engine™
 
Xeo
s/Xeo/Funatics/
 
user3010322
Also Xeo you never tell me what games you've made in the past.
 
user3010322
I want to play a game where I see your name in the credits.~
 
user1804599
6:45 PM
@Xeo Variadic Templates!
 
He made all of the good ones.
 
Xeo
@райтфолд What?
 
Xeo
@ThePhD I've been maintaining our online games since I joined, so no credits, really.
 
user1804599
oh t not d
 
user1804599
6:46 PM
:(
 
user3010322
@Xeo Awrrr. :c
 
Xeo
I'm trying to find the motivation and patience to finish that Box2D thing I started
but dealing with Box2D kinda makes me lose both.
 
user1804599
oh cool typescript has type unions
 
user1804599
And let and const!
 
@Xeo Like, both the boxes as the 2 dimensionality?
Oh wait nvm
 
6:50 PM
I made chicken soup and it's not tragic
 
user1804599
> Did mr. Bright ever use Google?
 
user1804599
Fuck D's name.
 
Fuckin games that can't run in a window
 
Hewwo Ewerybaodie!
Itz mii, Hwomestarwah
 
Oh hey you're alive
 
6:59 PM
@CatPlusPlus Yeah fuck them so much
 
@Ell yes
that's how CS GO works
a guy once said
 
Ell
could be shopped vOv
 
"I could not afford an AWP Asiimov in CS GO so I made one in real life."
I dunno what to do with the money once I get them but I'll think of something
I already preordered witcher 3
 
@ThePhD I'm helping my friend with a game
 
Ok, so the more I understand Quantum Mechanics.....

The more I believe reality is a simulation.
 
user1804599
7:01 PM
copy ctor in D is interesting
 
user1804599
copy ctor does memcpy and then executes the user-defined copy ctor body.
 
@LeeLouviere we're The Sims
 
@райтфолд That's a little wtf
 
I so don't want to do webdev anymor
2
 
The double slit spin experiment just proves to me that reality just makes things up when it absolutely needs to. The rest of the time it just guesses.
5
 
7:03 PM
pretty much accurate
 
So what you're saying is that reality is like programming
 
@LeeLouviere Never forget that every physical theory is just a model that explains experimental results.
 
Ok, so you take two slits. Make each slit force a different spin. Interference goes away.
Make another spin come before it that makes the slits both capable of producing either spin, and the interference comes back.
Which means reality only selects a slit, when reality can prove which slit it selected.
 
Ell
yeah double slit is really bizarre
 
Double spit
 
@Ell Nah, it's not.
Delayed-choice erasers are bizarre.
 
Ugh Star Wars opening crawl and theme for 100th time is really annoying
 
If QM messed with your ming, weak measurements will put you in the mental hospital.
 
Ell
well, a single double slit isn't bizarre
There is some experiment with multiple slits
idk, I can't remember the deets
I'm trying to find it now
 
@Ell you mean something like this?
 
user1804599
7:07 PM
ok what to do on OOM
 
Ell
Oh. It is the delayed choice thing I'm thinking of
 
user1804599
I think I'll just terminate the program.
 
Ell
I see why you pointed it out now :P
 
user1804599
oh nice.
 
user1804599
pure string foo(string x) { // pure function!
    debug { // just like #ifndef NDEBUG
        writeln(x);
    }
    return x;
}
 
7:13 PM
@райтфолд You mean pure as in e.g. __attribute__ ((pure))?
 
user1804599
No idea what that does.
 
user1804599
A pure function in D can't read nor write mutable global state directly.
 
user1804599
Cool, bitfields in D are a library feature: github.com/D-Programming-Language/phobos/blob/master/std/…
 
what's the most efficient way to smooth down a model without adding a lot of polygons?
 
user1804599
Using a library or tool that does that.
 
7:20 PM
So, I bought 12 years old Pedro Ximenez today. Should I open it..?
 
user1804599
 
@райтфолд lol
@райтфолд It is a sweet sherry kind of drink.
@corvid Gouard shading?
 
@wilx that's exactly what I am after, thank you
 
MLM
Anybody know of a transpiler that allows for dictionary/hash map string key access but then converts that into #define keywords or integers? I want the nice access via strings but don't have access on this Arduino-like platform: stackoverflow.com/a/15731994/796832
 
@MLM Gperf?
 
7:27 PM
 
MLM
@wilx Trying to find some examples. The description doesn't sound quite right for my situation
 
@wilx That shit is just way worse than Phong shading, really.
 
user1804599
@Puppy for evaluating code at compile-time do you just use LLVM JIT?
 
@MLM OK, you are doing L10N. You should use gettext.
 
yes
 
user1804599
7:33 PM
Do you allow side-effects at compile-time?
 
@Puppy OK, I have no idea. I know nada about graphics. :)
 
not really
 
user1804599
Why not?
 
MLM
@wilx I am just wanting to pass around object(hash maps) like JavaScript:
arcLengthMap[mapIndex] = {
	t: t,
	arcLength: resultantArcLength
};
 
user3010322
@CatPlusPlus Cool! Can you share what it's about, or is it hushy hushy?
 
7:34 PM
because there's no C++ stdlib access at compile-time for technical reasons.
so there's no way to perform side effects.
 
user1804599
Ah OK. If you could trivially fix those issues (technical reasons) would you do it?
 
@MartinJames I prefer this, if you know what I mean.
 
probably
 
@EtiennedeMartel :)
 
user1804599
Nice.
 
user1804599
7:36 PM
Being able to read files at compile-time is good.
 
MLM
@wilx Writing my Bezier curve code in C++ to run on the Teensy. Here is the demo featuring the small code-base I am porting. Check approximateArcLengthOfBezierCurve: jsfiddle.net/MadLittleMods/thcstaay
 
user1804599
 
@райтфолд Bjarne looks so bored at the start.
 
MLM
Here is the port of approximateArcLengthOfBezierCurve so far. Trying to think of a good way to address those objects(hash maps).
 
well if I'm very lucky, I might finally get some real sleeping done
 
user1804599
7:39 PM
@EtiennedeMartel "oh god all those people who think they can create C++ successors"
 
@EtiennedeMartel Note the whipping right knee ...
 
@MLM Using hash maps is overkill. Have you tried structs?
 
@райтфолд We all know that only Wide has what it takes.
 
MLM
@milleniumbug Ahh, that would be good.
 
user1804599
Bullshit.
 
user1804599
7:43 PM
It has you.
 
MLM
Thank you @milleniumbug
 
@райтфолд All of that guys look a bit displaced on that panel ...
 
user1804599
Something I kinda have trouble with is names in the AST.
 
@ThePhD Mayhem and destruction, with bunnies
 
user1804599
But I think I'll just make type names expressions.
 
7:49 PM
 
user1804599
So <function_parameter> := <identifier> ':' <expression>.
 
user1804599
Instead of <function_parameter> := <identifier> ':' <type_name>.
 
lol
The question is more on how to mix complete and incomplete type in a query. As shown in the question : SOneOf<TF, CClassA, CClassB, float>::value. So you do not answer. — galop1n 4 mins ago
And he downvoted
 
@Columbo Moving goal post?
 
@wilx ?
 
Ell
7:58 PM
@CatPlusPlus this is your friends game?
 
Yes
I'm helping!
 
MLM
I like it. Looks pretty fun
 
I'll probably be doing UI
 
Ell
it looks weird
to play
 
@CatPlusPlus <=> You're not moaning around?
 
Ell
8:01 PM
but +1 for local multiplayer
 
@Ell Define weird
 
Ell
Unusual vOv
I haven't seen any similar games
 
Primary inspiration is Liero
 
Ell
was that a realtime worms type game?
 
Worms were also inspired by Liero
It's an old game
 
8:03 PM
Now that I think about it, Soldat was also developed by a Pole.
 
Ell
Yeah I remember playing it a long time ago
 
Yes
Or maybe Worms predate Liero hm
Anyway
 
MLM
Crazy rabbit fighting reminds me of Jazz Jackrabbit 2
 
OMG I just remembered crazy worms
or how that was called
 
user1804599
this is cool
 
user1804599
8:07 PM
use Inline C => <<'END_C';
void greet() {
    printf("Hello, world\n");
}
END_C
greet;
 
@πάνταῥεῖ Cheers!
 
@Columbo Slàinte!
 
@πάνταῥεῖ I'm thinking about a new profile picture
 
@Columbo The one you have is perfect along the nick.
 
user1804599
eh ok so
 
8:19 PM
@πάνταῥεῖ If you say so, I'll leave it
 
user1804599
what do you use for parsing things in C++?
 
user1804599
bison?
 
@райтфолд Depends
Obviously
Won't parse HTML with Regex since my eyes are gonna melt or sth.
 
user1804599
Say you wanna write a Python parser.
 
user1804599
How terrible is ANTLR?
 
user1804599
8:29 PM
Can a Spirit action be a lambda?
 
user1804599
Spirit is so difficult to understand.
 
user1804599
Can actions return values? The documentation only shows how to do side-effects.
 
user1804599
 
Anybody tried writing unit tests for Python?
 
user1804599
eww backtracking is not implicit
 
8:45 PM
@Columbo I would be interested in what you had intended to change though, like to show here?
 
Ell
I wonder how many guys will get caught having a wank in the cinema at 50 shades
 
meh on second thoughts, I'm not going to sell the knife now
I don't really need the money atm and it's really pretty
 
Why would anyone go to that
 
I'll use it for a while
 
@πάνταῥεῖ I found some funny ones, like
 
8:47 PM
Beer
 
Ah, I was guessing something like this you intended.
That's a cool one (cigar in corner of the mouth). Would fit your nick as well of course!
@CatPlusPlus Whisky (scoth)
^ Scotch
 
@Columbo sorry for getting back to you so late, are you still there?
 
@FilipRoséen-refp y
 
@Columbo calling a static member-function through a pointer comparing equal to nullptr is not undefined-behavior since we are never doing anything which requires an object
 
@πάνταῥεῖ he likes oblong objects in the corner of his mouth
 
8:56 PM
@FilipRoséen-refp That is exactly my opinion.
 
user1804599
MONADS
 
@Columbo the important part is to note what the standard says that an object is, the lvalue-to-rvalue conversion is irrelevant in this case
 
@LightnessRacesinOrbit Bit like tongue in cheek ;-) ...
 
@FilipRoséen-refp An object is a region of storage.
 
8:58 PM
@Columbo it is also irrelevant when one talks about struct X { void func(); }; and X * ptr = nullptr; - we are not allowed to do ptr->func () because storage has not been allocated at this "address"
 
@FilipRoséen-refp l-t-r conversions are irrelevant here. But I never denied that.
 

« first day (1581 days earlier)      last day (3383 days later) »