« first day (1403 days earlier)      last day (3531 days later) » 

6:00 PM
@ThePhD you see, in those options, one requires dealing with legacy like tons of crap code that never works, and one is embedded C.
@CatPlusPlus IKR
 
Write a game in C# instead
 
but my chip is getting there and it would be a shame to order it for nothing
@CatPlusPlus meh
 
A word is worth a thousand pictures. — R. Martinho Fernandes 3 hours ago
 
I have evaluated C# for that project and found it less appropriate than haskell
 
^^ nice
 
6:01 PM
@CatPlusPlus Write an implementation of C# as a game instead.
 
user3010322
You can only compile your code by successfully beating Asteroids.
 
well let's see what this compiler supports
it claims C++
 
Fuck, it's cold.
I'll go to the pub.
 
Blinky.c(19): error: #20: identifier "class" is undefined
 
user3010322
It's fuck cold.
 
6:04 PM
okey
 
user3010322
It's cold, fuck!
 
This morning was a nice enjoyable cold.
 
@ThePhD Fucking is normally quite warm.
 
Now it's not enjoyable anymore and it's raining.
At least one good thing about having few clothes is that I don't get too soaked.
 
temp in my room went from 27 to 24.5
I'm really enjoying it
 
user3010322
6:06 PM
@JerryCoffin Three days ago, I had the "pleasure" of someone telling me about Ice Dildos. x.o
 
user3010322
I never really thought that could be a thing.
 
Forgot my backpack now.
 
@ThePhD some people actually enjoy that
 
Xeo
...
 
6:07 PM
ice cubes too
 
@Puppy fuck safari and its fucking autocorrect which I can't figure out how to disable
 
user3010322
... Straight ice cubes?
 
I know a guy that does.
 
FUCK APPLE I HATE YOU SO MUCH
 
I dunno about the shape
 
6:07 PM
He even has a video on YouTube.
 
user3010322
All I imagine that is being INCREDIBLY uncomfortable.
 
they don't find it uncomfy that's for sure
 
@BartekBanachewicz Less appropriate than dealing with legacy like tons of crap code that never works
Makes sense
 
The documentation for sys.stdin is outstanding. I'm was barely able to know what methods or attributes sys.stdin has!
 
m.youtube.com/?#/watch?v=Ctdj4VIrGuk (don't click. Nsfw. Nsf other stuff)
 
6:09 PM
@Jefffrey lol documentation
I just use dir
 
File-like objects are documented elsewhere
Documenting entire interface for every one of them is p dumb
 
here
best python doc
 
It wasn't linked, but that's the only bad thing about that doc bit
 
@CatPlusPlus this embedded project is a different thing
I could maybe use C# for it actually
 
Ell
@PolymorphicPotato non standard!
 
6:17 PM
@Ell It's really Standard enough, I think. There are virtually no non-supporting implementations.
 
Ell
I wonder why it's not actually standard
 
they got caught up on what happens if you symlink one filepath to another and include the same header through two different paths and obscure cases like that.
 
Ell
ohh right]
 
@AlexM. Nice
 
Ell
ri for ruby is nice
 
6:21 PM
FUCK.
I had a thing I wanted to post on my blog, I opened the post to edit it, and then I read the post, and then I forgot the thing I wanted to post.
 
(funny aside from "a Lego" which is just shit)
 
A code
 
hmm
maybe for my initial implementation, I should simply let the compiler loop infinitely if you make a recursive data dependency.
 
6:34 PM
sounds appropriate
 
Ell
just check beforehand if it will loop :D
 
nah I think I can introduce a dependency checker.
 
^ something about Ukraine :)
 
A guy at work had some trouble with code today. He sent screenies of the code for me to read. When I asked for a gist he sent a video where he recorded the screen with his phone:D
 
Ell
6:50 PM
@JohanLarsson are you srs? :P
 
Did sehe leave chat?
@Ell yeah but it was a joke.
 
Ell
Oh haha
 
@StackedCrooked You done watching it?
I was kinda sad that it was over.
 
@GamesBrainiac no, I just got to the ALS part
 
@Abyx You know, the government he's talking about is the previous one, right?
 
6:56 PM
@Puppy nope, I don't. did the things get better with the current government?
 
@Abyx Not really, but I doubt he was expecting Russia to send in the tanks at the time.
 
Ell
@Puppy I'm dl'ing and building clang now
Following these [clang.llvm.org/get_started.html] instructions
but I'll be gone soon. to the cinema
But after that I'll resume
 
just don't forget the RTTI switch if you're not on Windows.
one of the bad things about Itanium ABI is that it can't handle RTTI mismatches.
 
user3010322
RTTI mismatches?
 
user3010322
You mean like between binaries?
 
Ell
6:58 PM
I'm not going to try cmake this time
 
yes, object files.
Itanium states that a compiler compiling a specific TU is required to emit the RTTI descriptor.
if it doesn't because it was compiled without RTTI, then no TU will emit the descriptor, so if your program needs that descriptor to, say, emit the descriptors of derived classes because you compile with RTTI on...
 
Ell
I forgot how to enable the rtti. Hm
 
user3010322
Isn't that a problem with all compilers though?
 
nope.
Microsoft ABI, I believe, emits the RTTI descriptor in every TU where it's needed, then lets the linker deduplicate them.
this lets the compiler mix and match object files compiled with and without RTTI.
also arguably inflates object file size and increases link time.
the Itanium system is probably technically superior, but decreases the user-friendliness of the system.
 
user3010322
Could you emit fake RTTI per TU?
 
7:03 PM
there's a similar issue with vtables but, well, it doesn't really come up because nobody doesn't emit the vtable.
 
Ell
I can't find it through googling either gah
 
LLVM_REQUIRES_RTTI=1 in the environment, IIRC
first result for llvm enable rtti
 
Ell
Oh it's llvm. I was trying clang, my bad >.<
 
yeah, it's an LLVM setting.
some day I should take advantage of my Itanium-specific knowledge and re-engineer the build to not require LLVM built with RTTI.
I'll probably do it in line with fixing up the TC build when LLVM 3.5 comes out (about a week from now)
 
Ell
any notable new features in 3.5?
 
7:09 PM
yes!
they fixed that fucking annoying bug where it spews about a bad processor target.
also fixed ABI mismatch with MinGW >4.6.3 and I think they fixed SEH exceptions on x64 Windows too.
so lots of extra Windoze usability there.
 
user3010322
So that means you can move to MinGW 4.8 ?
 
yes
or 4.9 if I patch libstdc++.
 
Why can't I ever find a pen when I need to sketch something out on paper? :-D
 
user3010322
Uh.
 
user3010322
Damnit, IsSynchronized and SyncRoot
 
user3010322
7:13 PM
Why do these things have to be bolted onto the collection. ;~;
 
They're not very hard to implement
Also mutable objects is where this counts, so probably that's why
If your thing is not thread-safe then it's just public bool IsSynchronized { get { return false; } } public object SyncRoot { get { return null; } }
 
Ell
I wonder if the clang python api is kept up to date
 
@Ell Don't know if they're officially maintained.
@Xarn What is this "paper"?
fuck I ate way too many chips.
 
7:36 PM
@Puppy I read that as 'I ate way too many clips'.
 
basically use #define _(...) __VA_ARGS__
#define _(...) __VA_ARGS__
EVIL_MACRO(tuple<_(int, bool)>)
#undef _
It's a pity that variadic macros are not standard.
 
they most certainly are.
 
They are in C++11
 
they are?
cool!
 
yep.
 
7:39 PM
The age of macros had come. :P
 
@Puppy Pulped trees. ;-)
 
I am unfamiliar with this "dead trees".
 
you also don't know what a dead tree is?
jeez, you are a special one.
 
well, presumably, trees die.
 
user3010322
@CatPlusPlus I implemented mine like this: gist.github.com/ThePhD/401bb4be200b30ef3bc5
 
7:44 PM
IsSynchronized is a constant p sure
 
do trees have identity like we do? If you take a branch and successfully plant it as a new tree, is it a new being?
 
user3010322
Oh. It is?
 
Or is it the same tree.
 
And if not, then p sure your implementation is not very useful
 
user3010322
:c
 
7:47 PM
I think it should be false in main object and true in the view returned by Synchronized()
 
On a more practical note, I am looking at std::reverse_iterator and apparently, reverse iterator constructed from begin(container) actually points BEFORE the begin iterator. Shouldn't this be UB?
 
Otherwise you don't really know if you're inside synchronized block or not
 
As in, ptrs and iterators one behind the last element of arrays are specifically made legal by the standard, but I don't know about any similar provisions for ptrs and iterators one before the first element of an array.
@StackedCrooked Well if you take DNA as identity, then it is the same tree. If you subscribe to identity being somehow intrinsic to something else... Don't know, don't care. :-)
 
What about it
 
7:53 PM
thought you might like it
seeing your obsession with butts
 
I know about it
 
buttbuttination
 
buttification
 
Primary keys suck
 
@CatPlusPlus Of course, because of inherited suckage from SQL/DDL.
 
8:05 PM
I think I'll just slap UUIDs on everything
ORM doesn't make it easy to use complex primary keys either
Whole thing sucks
 
Auto-increment would be difficult.
 
Urgh
I don't want auto-increment, that's the thing
 
user3010322
@CatPlusPlus I don't get it?
 
Or: I already have auto-increment, but the data is constantly serialised and deserialised to JSON storage because of revision system
@ThePhD M2M field was restored during regular versioning stuff, but the PK didn't survive
 
If static_cast via void* is to be preferred over reinterpret_cast. Does that leave any use cases where reinterpret_cast is still the right choice?
 
8:09 PM
So it shows up on the diff as remove-add even though it's the same thing
This whole thing is so fucking complicated already
Getting arbitrary comparisons there is something I don't want to think about
UUID it is
 
shit I ate way too many chips.
 
@Puppy uhm... crisps?
 
no, real chips
 
Why did you eat them?
 
@FredOverflow ..because they were there.
 
8:13 PM
because they were tasty and I'm not really familiar with my new limits.
 
because potato, I guess
 
@Puppy It's awesome that you have new limits.
 
well, admittedly, it would have been WAY worse to have eaten them six months ago.
 
@Puppy did you like grow larger?
 
yes, too much larger.
 
8:16 PM
like more capacity
 
@Abyx He removed the sand from his stomach's vagina via medication or something.
 
no.
 
I know.
I wasn't really asking you :)
Not to exclude you, just because I already know the answer :)
 
8:37 PM
you're excluding me you wanker.
 
No Rockin' Beats for you motherfucker.
 
lol
 
@StackedCrooked a bit like this
 
hmm
do you think it's reasonable to identify modules by a UUID?
 
Nail polish is such nasty stuff.
 
8:50 PM
@JohanLarsson thanks
 
hi
 
@Puppy sure
 
bah
typical C library
 
Microsoft thought it was a good idea, so.....
 
segfaults when freeing it, even though I used RAII to exactly match the usage described.
 
8:55 PM
@Puppy Library documentation is 90% bullshit.
 
so I have discovered.
 
Not surprising seeing how C and C++ programmers still think Doxygen API dumps are documentation :v
 
Just noticed Steins;Gate in the PC gaming charts on metacritic. It's at #10 for 2014 games.
Hey!
I did my internship at this company.
Apparently they have a new game.
 
@Puppy What do you mean by "identify?"
I'd rather not have a fugly UUID at the top of every module.
 
nah
it'd be for referencing other modules you want to import on the command line, not in the Wide source itself.
 

« first day (1403 days earlier)      last day (3531 days later) »