« first day (874 days earlier)      last day (4300 days later) » 

15:00
What did you think it was? A test to become a robot?
I dunno. Thought it was like some fancy theoretical test.
Like the T test or the Q test or something.
Xeo
Xeo
Lalala~ /cc @KonradRudolph — Xeo 8 secs ago
kekeke.
C#: string to Byte[]
I need to deserialise JSON but why would JSON deserialising class support strings
Nooo it just has streams
15:01
struct Foo : Features...
no way.
no way
@Xeo THIS ^ ? o.O
user142019
Xeo
Xeo
What's wrong with that?
user142019
> I'm still waiting for Linus Torvalds to dislike this video. :)
user142019
lol
@Xeo you can do it?
Xeo
Xeo
15:02
Sure
@BartekBanachewicz Why not?
i don't know
it's just
@Xeo Why does this work?
the possibilities are crazy
Yeah it's not that useful
Xeo
Xeo
15:03
@KonradRudolph You can always cast a member-function-pointer of a base class to a member-function-pointer of a derived class. :)
@CatPlusPlus haha
The types of Features... are not Foo, why can F::init be converted to Foo::*?
@Xeo That seems counter-intuitive, albeit type safe
Xeo
Xeo
@KonradRudolph Because the base member functions will always be there in the derived class.
@KonradRudolph Because whatever can be called on Features can be called on Foo.
@KonradRudolph Contravariance.
Hello all! Has anyone knows that where can we download the turbo c++ IDE?
14
Xeo
Xeo
15:04
Unlike derived-member-pointers to base-member-pointers.
@Praveen what.
I googled it. But not yet getting.
Ooh I can get a stream from within this crappy response wrapper
@Praveen No
@BartekBanachewicz C++ editor
15:04
TIL You can inherit from T... and there are people who still use Turbo C++
@R.MartinhoFernandes Contrivance. ;-)
dunno which is more weird
@Praveen OOOOOOLLLDDDDD
@Praveen Turbo C++ is dead.
user142019
@Praveen what about something decent and recent instead?
:)
Then, what is the recent one. I'm very new to c++
Xeo
Xeo
15:05
@Praveen I want to make a "1980's called" joke, but I have nothing to compare that to...
user142019
Vim is still alive, for example.
vim?
@Praveen operating system?
@Xeo Actually, it survived until this millenium.
user142019
@Praveen le best editor evar.
15:05
There was a rerelease of Turbo C++ some years ago
@Praveen vim is editor aspiring to be an IDE
@Praveen, have you tried allyourbasearebelongtous.com?
@CatPlusPlus 2006.
user142019
Or Emacs.
vim has no aspirations to be an IDE
15:06
Okay..
@Praveen what is your operating system?
@CatPlusPlus shush already
Mine is Windows 7 32bit
user142019
@BartekBanachewicz Vim runs on all major operating systems, so that shouldn't be an issue.
15:07
@Praveen if you are using windows, Visual C++ Express 2012 is quite nice.
@BartekBanachewicz Fine. Thnx
@Zoidberg you should stick to tools native to your OS. Also, he asked about IDE
user142019
Wat.
user142019
If you want a "native editor" on Windows, use Notepad.
15:07
@Praveen you're welcome
@Zoidberg he asked about IDE, not editor. Can you read?
user142019
Add terminal and voilá IDE.
Whatever you mean by "native".
@Zoidberg I need IDE only :)
@Zoidberg no, terminal and text editor is not an IDE
@R.MartinhoFernandes developed and used mostly for/on given OS
Nonsensical definition of nonsensical term
15:09
sure
now go back to your haskell cave
haters.
@BartekBanachewicz Oh, like Dev-C++?
iOS and Android probably be appless if all stuff was developed using native IDEs
@R.MartinhoFernandes sigh
15:10
I can't believe I said that.
Yes use Dev-C++ it's great tool
@BartekBanachewicz Fits your definition!
It has an editor with autocomplete and all
@R.MartinhoFernandes it's terrible nevertheless.
And we all know this is the most important feature of an editor so go hog wild
15:10
Right, which shows that "native" is irrelevant.
not quite
imagine writing C# on Linux
What about it?
MonoDevelop
Nothing out of ordinary about that
I do that in ogonek, btw.
It's by order of magnitude worse than VS
15:11
Because?
VS is only great because of R#.
F#
I honestly don't care if it's because of R# or colors
Either it's good or not.
@Kimi No, I meant what I wrote.
:lol:
F# is mostly irrelevant gimmick language that's been dropped already
15:12
@BartekBanachewicz R# does not ship with VS. It's a third party tool you buy separately.
@R.MartinhoFernandes which wouldn't exist if not for VS, because it's only an addon, IIRC
@BartekBanachewicz So why is MonoDevelop binary not good and VS binary good
Resharper?
I'm at work.
And the only thing I can think of is SimCity.
15:13
@Kimi yes.
:allears:
FWIW, JetBrains makes tons of IDEs. Were it not for VS, I'm sure they'd make R# a full-blown IDE.
@CatPlusPlus I am not even starting a discussion with you
You can't discuss shit
VS without Resharper is like beer without vodka
15:14
Also, IT'S ONLY YOUR OPINION MAN
@Kimi Completely unrelated?
@CatPlusPlus precisely because of that
@BartekBanachewicz Ahahahaha
@EtiennedeMartel Let it go, man.
It's gonna be okay.
1 min ago, by Cat Plus Plus
You can't discuss shit
@Kimi R# only works with C# and VB, and VS can be used for C++.
15:15
@CatPlusPlus, no if mixed together kick some serious arse :)
Also, your analogy sucks, because mixing beer with vodka is a sure way to puke everywhere.
@EtiennedeMartel, true
And R# makes me more productive, not less.
Meh, R# replaces various VS subsystems entirely, so I am a bit wary of "mixed together".
@R.MartinhoFernandes It replaces the suckier ones.
Now, it should replace all of them, but I'm guessing it's somewhat tricky.
15:16
@EtiennedeMartel, this is how you should party
I want VAX and R# to get together and have a baby.
@Kimi No. You should party by not becoming a wreck that your friends have to maintain during the night.
And I want them to live happily ever after together.
@Kimi who the hell are you anyway?
@Kimi Eww
15:17
today is a good day to party
International Women's Day (IWD), originally called International Working Women's Day, is marked on March 8 every year. In different regions the focus of the celebrations ranges from general celebration of respect, appreciation and love towards women to a celebration for women's economic, political and social achievements. Started as a Socialist political event, the holiday blended in the culture of many countries, primarily Eastern Europe, Russia, and the former Soviet bloc. In some regions, the day lost its political flavor, and became simply an occasion for men to express their love f...
Today is always a good day to party.
@EtiennedeMartel If by "maintain" you mean "bend over the balconey while you play on your DS", then sure.
@ThePhD Errr, what kind of parties to you go to?
The kind where I act as decoration: wallflower.
...
words can't express how lame it is
15:20
Almost as lame as OpenGL, amirite?
Darkest corner with the best view is how I like it.
That better not be "view on the ladies" because that sounds creepy as fuck.
OpenGL isn't lame
I also get to redirect people to the ostensibly less drunk, fairly pretty girls.
And vice versa.
@BartekBanachewicz Damn it, you could at least hesitate a bit more before taking the troll bait.
15:20
@BartekBanachewicz Not this again.
@ThePhD, are you a pimp? :)
If I got paid for just looking around the room, I would be extremely concerned with my life and morals.
@EtiennedeMartel My mind is turning into a jelly because of current task at work
@BartekBanachewicz A pint of stout can fix that.
@ThePhD You paranoid, or is someone really out to kill you?
15:21
tits but it's cold in here
Ohhh I need a beer so much
@EtiennedeMartel Waah waah they say mean words about my tools
or two
are we getting on mumble today?
@BartekBanachewicz Same here.
my boss asked me to ... read a bunch of hideously boring extremely low-level IR specification.
IR?
15:22
No beer for another six hours :((
Infrared
Ah.
ITT DeadMG is programming TV remotes
@CatPlusPlus Typical fanboyism: taking personal attacks that are directed at stuff you like.
@BartekBanachewicz, may I recommend en.wikipedia.org/wiki/U-Boot_(beer_cocktail) ?
15:23
intermediate representation.
As if said thing was an extension of yourself.
@DeadMG I am looking at triangles displayed on an iPad. If the triangles disappear, I have to click through shitstorm of windows, type the ignored test name by hand, restart everything and click continue
For the second day now.
sometimes it's better
sometimes squares appear
I thought it was Infrared Reciever, not just Infrared, but...
Meh.
Shruug.
@Kimi I hate vodka.
@Kimi Stop it. You have absolutely no taste.
15:24
Whatever
5.02 5.02 4.x 4.0 2.0 (4_0_level_9_3) [vs_2_a/ps_2_x]5 2.0 (4_0_level_9_1) 2.0
I like how they skip SM 3.0 entirely.
@CatPlusPlus Oh good. My TV remote is giving me problems with the menu-up button. Now I have a good source of advice for all my remote control issues :)
> (popular
[citation needed]
Sorry :)
This project is using NHibernate
And I have to modify it
15:27
damn fuck
Please kill me now
half an hour more and I am going home, the shit, fuck it
@Kimi Oh, so it's like an uppercut.
@CatPlusPlus NHIbernate? What's.. that supposed to be?
I wish I could do a Regular-Expression Paste.
Like, paste, but the data that gets pasted is run through a Regular Expression.
@ThePhD find-replace?
15:29
That would make me cream myself with joy.
@EtiennedeMartel, yes indeed.
@ThePhD .NET version of Hibernate.
@ThePhD Ctrl-H and click use regexps, really
@BartekBanachewicz I know how to do that.
And Hibernate is a Java ORM. And like any Java framework, it deeply loves XML for configuration.
15:30
But I have to drag my mouse back and re-select the text.
what's wrong with xml configuration besides it's not lua configuration
Then I have to Ctrl + H, make sure it's on 'Selection', and then run the RegExp.
@ThePhD what
@ThePhD why are you using the mouse to select text
:<
I can do shift + up-arrow, but really.
Mouse is faster.
umm no
no it hell is not
15:31
xml configuration has a bad habit to turn into programming through the configuration
fuuuuuck, I want to work on the Wide compiler right now.
@DeadMG But IR is so cool. :c
I'm working on my job.
@DeadMG same here, s/Wide/engine+minicraft
I don't have a mouse pad right now so using mouse is painful as fuck
It just doesn't move
15:33
Just found a function prefixed HACK_ heh
@LuchianGrigore It must be supremely well-written and designed.
I need to do a second attempt at Vimperator
I hate using insert sometimes.
@CatPlusPlus what?
@CatPlusPlus Do you still have a mouse with a ball it?
15:34
@TonyTheLion No
Lasers don't work on light surfaces that well
Cause AFAIK, unless you have glass table, mice these days move quite easily
@BartekBanachewicz So I don't have to use mouse or touchpad duh
@CatPlusPlus ah sure. I bet'cha gaming will be fun
@CatPlusPlus, I always knew cats have some issues with using a mouse :)
2
Also, touchpad?
:cripes:
15:35
Yes changing how browser is used affects gaming
You really have a book of crappy responses
@Kimi dat pun
:thumbsup:
well you didn't really answer my question
@BartekBanachewicz Yes it's a laptop they do this sort of things
1 min ago, by Bartek Banachewicz
@CatPlusPlus what?
15:36
i tried looking for this on SO but found no A, should ppl bother with vector.emplace_back or just stick to push_back... is it an optimization at all ?
I bet all your answer upvotes were of pure pity
Yes clearly
@CatPlusPlus meh, laptops
so 20th century
We're all waiting to find out what a 'Vimperator' is....
and that too ^
15:36
@NoSenseEtAl, emplace could avoid extra construction
Use Google you lazy fucks
but he can't answer a simple question without insulting everyone around
I pity you.
@Kimi but I guess compiler optimizations do that anyway... I guess
15:38
You must be a really sad man.
Ok..... Eek - vim on web!
btw vimperator is crap :)
@NoSenseEtAl idea seems nice, not?
what is faster - fread & co or fstreams?
Yup
Very sad
15:38
@BartekBanachewicz it is that story about hammer and everything looking like a nail :D
@CBenni Both. Neither. Depends on many things.
"Name: INITVKIND_ZERO Value: 2 Description: integer value zero"
@BartekBanachewicz what kind of things?
like, if you want to parse a entire file in small chunks, what is faster?
@CBenni why are you concerned about performance, in the first place? Did you profile your code?
15:39
Wow
My artists are awesome.
pure interest
I can't code fast enough ._.
the thing is
fstreams are rather slow, but C I/O is ridiculously unsafe.
@CBenni doesn't matter then, use streams in C++. Or even better ranges
15:40
FILE*. :D
it's a lot easier to go with fstreams until you have a real problem, then go down to the OS API for MMIO or ASIO when you're desperate for perf.
@DeadMG doesnt boost or folly have something that is best of both worlds :D
@DeadMG what about istreambuf_iterator?
@BartekBanachewicz Dunno, but I'd expect it to still be ridiculously slow.
Hm.
15:41
not that it really matters most of the time.
@DeadMG I can run some benchmarks on my loader back home, I guess.
@BartekBanachewicz ok, I was just thinking that fstream might use fread internally, therefore be slower or equal
@CBenni It can't.
@CBenni Performance doesn't matter until it matters.
the specification of fstream pretty much enforces that it must be deathly slow.
but
you can't use C I/O for anything, let alone high performance, because it's so unsafe.
the only real alternative to fstream is writing a wrapper on the OS yourself
@DeadMG "you can't use C for anything, let alone high performance, because it's so unsafe" FTFY
preferably asynchronous/memory-mapped
15:42
lawl
@BartekBanachewicz What, you couldn't s/ I\O //?
I am not gonna write a MMIO library tho ^.^
@DeadMG I had to s/I\\O//, and it looked bad. Escapes!
@CBenni so use fstream
Excessive viminess today :(
@CBenni Just use fstream until you're using it so much and it's so fucking slow you just can't anymore, then go MMIO.
15:44
lol
I will actually have to try that one day
not until you really need it
are there opensource MMIO libraries that can be recommended?
user142019
@BartekBanachewicz \\?
preferably, something boost-ish?
there is boost::asio.
it's not memory-mapped but it is asynchronous.
user142019
15:46
s#I/O##
mkay
I don't know what MMIO is. I assume it's like IOCP on Wiindows, where you queue up I/O requests, complete with buffers, to a kernel threadpool and it fires them back when done.
@MartinJames Memory Mapped IO
@DeadMG Wait, what makes C I/O so unsafe again?
15:47
@ThePhD everything.
... Soo...
meh, "C" is a proper answer to that
@MartinJames No, that's ASIO.
char* pointers, or?
@ThePhD sigh everything
15:47
@DeadMG Oh.. maybe I do some googling, then.
user142019
I always use ::open, ::close, ::read and ::write.
@Zoidberg size_t() fucks given
Xeo
Xeo
Erm... any reason df_ and df$ don't... delete anything for me in Vim?
user142019
Or well, I wrap them because of EINTR and other crap. :P
I use only dd
Xeo
Xeo
15:48
Nvm
I'm dumb
@Zoidberg BTW, I did a bit more refactoring in my lexer. Want to take a look later this evening?
maybe because it's the only deleteion command I know
Xeo
Xeo
should be dg_ or dg$. >_>
user142019
@DeadMG sure.
@Xeo, df_ deletes everything till '_' inclusive in a line
15:50
outputrendertargets.insert( std::pair<ID3D11ShaderResourceView, std::pair<Shading::ShaderMethodology, ulword>>( targetsrv, std::pair<Shading::ShaderMethodology, ulword>( method, index ) );
I fucking hate std:: containers sometimes.
Xeo
Xeo
@Kimi f_ searches for a character _ though, I wanted end of line
@ThePhD it's Dx fault not std. And yours, probably
@ThePhD I lol at you.
Xeo
Xeo
And I need g for that
outputrendertargets.insert(std::make_pair(targetsrv, std::make_pair(method, index)));.
Xeo
Xeo
15:51
@ThePhD Hey hey, have you heard of this awesome thing called std::make_pair?
@Xeo, then use shift + d
@Kimi D?
also
make_pair is for sissies.
15:51
y u no std::tuple?
then you can outputrendertargets.emplace(targetsrv, method, index);.
@melak47, yes
Xeo
Xeo
@DeadMG Likely because map?
although not on MSVC you'd still need an explicit make_tuple there.
@DeadMG .... ?
> I am now standing aside a trou de insecte very rare, the flibuscrockus. And the female of the flibuscrockus have the petite pince en avant et the gros gros cul, that taste like wet crevettes in chocolate.
15:52
@Xeo orite.
@EtiennedeMartel This is horrible to read.
Xeo
Xeo
@DeadMG And I think VS2012 has it for 5 args?
Yes, it indeed does.
Would emplace work with (key, value) on a map ?
yes.
Or do I need to std::make_pair that too?
15:54
I think
not sure though, I don't quite recall.
I hate the standard library. ._.
chat avatars, y u no load ._.
@ThePhD std::pair'n'shit is one of the older components.
@ThePhD, if you are using gcc then it is only available since 4.7
but why don't you just make a simple helper function?
15:55
No thanks, I only have to do this shit once.
Really, I wanted to use std::unordered_map and start phasing out usage of my Dictionary class.
what is this ._.
The green smiley face got through I see.
and Vim.
template<typename T1, typename T2, typename T3> std::pair<typename std::decay<T1>::type, std::pair<typename std::decay<T2>::type, typename std::decay<T3>::type>> make_pair_triple(T1&& t1, T2&& t2, T3&& t3) { return std::make_pair(std::forward<T1>(t1), std::make_pair(std::forward<T2>(t2), std::forward<T3>(t3)); }
see? simples!
Xeo
Xeo
@DeadMG lawl
.... o_O
15:56
Decay<T1> <3
make_pair_triple, wut
@R.MartinhoFernandes It does indeed show the advantages of template aliases.
make_triplet?
Xeo
Xeo
map.emplace(key, std::make_pair(a1, a2))
super-duper-simples!
15:58
Emplace worked out better...
Hopefully it copies my key, and doesn't try to move or swallow it up...
@ThePhD what?
Xeo
Xeo
@DeadMG Also, return { std::forward<T1>(t1), { std::forward<T2>(t2), std::forward<T3>(t3) } }; :)
@ThePhD It's a great blend of French and English.
Xeo
Xeo
@ThePhD If the key is an lvalue, it will copy
@Xeo Yeah, not used to uniform init quite yet.
15:58
Am I the only one under impression that @ThePhD is awfully overcomplicating everything?
I have no idea what he's doing anymore :D
@BartekBanachewicz He does that well, I think.
I'm going batshit crazy, of course. :D
Xeo
Xeo
@BartekBanachewicz A map<X, pair<Y, Z>> isn't that uncommon
@melak47 I don't think he has that either.
15:59
lol :>
No, but uh. I have to maintain a specific map of items that are bound as input and output to the Graphics Device.

« first day (874 days earlier)      last day (4300 days later) »