« first day (867 days earlier)      last day (4095 days later) » 

2:00 PM
@Cicada That too
Almost like a promotion
 
@Cicada i c (what u did ther)
 
Too bad the only corpo LAN socket left is disabled, and "lololo, sure, monday"
I said fuck it, and now I am sitting at the jeans sofa under the router
 
@sehe easystuff.jpg
don't you have a jack/ethernet adapter
 
@R.MartinhoFernandes it was clearly stated that we should pack ourselves EOD -.- cc @AndreiTita
 
so then
time to see if I can perform overloaded calls.
 
2:02 PM
@Cicada I would need to create a ticket for it. Effort
 
@sehe And I missed it. :( Did Cicada learn to talk as well?
 
And now I have a great excuse to not working.
 
@BartekBanachewicz If you're that close to the router - why don't you just plug in your desk cable?
 
Hey pups, I need to pick your brain about my design a bit.
 
> And not just any hack, it was a hack which industry experts said may have derailed an acquisition effort to the tune of $2.4bn (£1.5bn). Phishing Has Gotten Very Good
^ scary stuff
 
2:02 PM
go for it
 
@DomagojPandža Not that I noticed
 
aflblblblb
 
@MartinJames I am on the corridor
You know, we have sofas on the corridors
not in rooms :P
 
So you "work" at Intel
 
well, yeah.
Sometimes I work, too.
 
2:04 PM
@Cicada so what's the story with your new newer new avatar (I missed it)?
 
@sehe I insisted on original photo back
@Cicada How was your evening yesterday?
 
@BartekBanachewicz Go right ahead. Keep insisting :)
 
@sehe I figured that I don't care. (that much) (at all) (just an av)
 
@BartekBanachewicz Good!! I laughed a lot. Hadn't laughed in a looong time :)
@sehe I'm a boy now.
 
@Cicada where were you? :) I thought you laugh everytime you win with me
 
2:06 PM
Japanese restaurant with some old friends
 
Well more like "people I was in class with 2 years ago"
But it was nice
 
I played with my roommate, we are topping our league now. We have 27-13 atm, IIRC
I am happy that you had a nice evening
 
@DeadMG I want to provide a way to do efficient concatenation of many strings. Expression templates or a variadic function, whatever, does not matter. I cannot optimise stateful encodings, nor can I optimise mixed encoding concats. So forget those. The fast implementation will basically be getting the total code unit size, reserving the underlying storage of a text instance, and blasting the bits down on it. The main issue here, is that not all containers have a reserve thingy :(
 
Damn, I need sleeps. Going to try, hopefully it won't be a disappointing experience again. :D
 
2:08 PM
@BartekBanachewicz Nice :)
 
I don't know if I had a good time last night or not. It's a bit hazy. I think I may have posted an answer with the phrase 'Adnams Broadside' in it :(
 
Don
Hey folks, I'm new to OOP programming and I'm not entirely sure how to sort my classes in a correct way.. I'm trying to make a simple game and.. Well putting the classes in a correct order seem odd, I made a class for world, made a class for entitys, and one for player which extends entity - now do I place player inside world? or have player on the root but actually give it the world instead? ahhh I'm so confused lol
 
Not much for Japanese food.
 
@R.MartinhoFernandes The key insight is that containers like deque which don't have reserve don't have it because they don't need it.
 
@Don complicated. Make a room and invite me
 
2:08 PM
if the container doesn't have reserve then just don't reserve and move on.
 
@DeadMG Oh. Uh. Yeah, that was kind of obvious :S
 
Don
@Bartek Banachewicz Alright
 
also, the "Reserve enough space for all in advance" will perfectly well apply regardless of the source encoding.
you will just have to go with "enough" being "max_size_per_codepoint * num_codepoints".
or even half that.
 
@Cicada I am planning on going home today; didn't see my family for past two months. I am starting to forget how my sister looks like :| So, probably won't show on BNet until saturday evening
 
This sounds more haphazard than optimized, but what do I know.
 
2:10 PM
@DeadMG Yeah, I considered using some sort of heuristic for that, but I don't think it's worth it.
 
But if we will be playing 2v2, I want to hear your laugh when we will be pwning noobs.
 
Who cares about your sister - get your amp/guitar.
 
@R.MartinhoFernandes If I really care about that, I will invoke custom allocation routines anyway.
 
max_size is probably going to be way too much (pretty much all variable-width encodings have minimal size on common data).
 
@MartinJames I have my guitar here, just my multieffect broke :<
I am playing unplugged ;)
 
2:11 PM
@BartekBanachewicz Alright! Enjoy your stay :)
 
so whilst it's nice to have better performance by default, I have other tools to cope with it if it's problematic.
 
@BartekBanachewicz I don't laugh in SC2
Last time I laughed in a game was GW2
 
Don
@Bartek Banachewicz I created the room, "OOP Game programming"
 
I put exploding mines on top of a very high pillar where people jump
AHAHAHAHA
 
you're evil
 
2:12 PM
It was hilarious
I shall do it again and record it
 
@BartekBanachewicz You seem like one of those heavy metal dudes.
 
@Cicada I will make a drawing with zerglings on minimap for you, that will be the first time. Anyway, get Teamspeak 3 :P
 
All these people jumping from one pillar to another until BOOM and they fall to their death XD
 
@DomagojPandža hahah, why?
 
Must be the hair. :D
 
2:12 PM
@Cicada Yeah - you mentioned that before
 
@sehe Well that's the reason then!
 
Ssssh. I can't hear the butt hurt!
 
@DomagojPandža It's not that long. <no, you aren't saying "that's what she said">
 
Hahah, what guitar are you sporting, btw? :D
 
@sehe nobody is gonna believe anyway?
@DomagojPandža hmm?
 
2:14 PM
 
What guitar do you play? Manufacturer, model? :D
 
Ibanez Artcore 120
 
@DeadMG And in any case, while I will support it (it isn't hard), I think concat(text8{...}, text16{...}, text8{...}) is just crazy.
 
@Cicada I'd star, but it's not marked QFW
 
But I want an S :3
 
2:15 PM
@R.MartinhoFernandes It's good enough for our Java guy :)
 
hmm, I could change my pic to some random hottie from the internet
 
@sehe QFW?
 
Actually, concat(text8{...}, text16{...}, text8{...}) can't compile.
 
Nice, I'm actually more of a blues / blues rock kind of guy, so I took up a Fender Stratocaster, sunburst, '69 reissue. :D
 
I can't deduce the encoding for the result.
 
2:16 PM
@Cicada Questionable/qualified for work
 
@R.MartinhoFernandes More likely I got text from multiple different sources which use different native encodings.
 
@DomagojPandža Bah. I don't get people buying reissues.
 
@Cicada Butther-ed
 
@DeadMG And kept them like that until the last moment?
Converting early will give you both more sanity and more efficiency.
 
or just got them
 
2:17 PM
@BartekBanachewicz It's mostly the five-way switch on an oldie design I like. Have some relics I inherited though, 70s Stratocaster and the like.
 
Anyway, concat<utf8>(text8{...}, text16{...}, text8{...}) should work.
 
@R.MartinhoFernandes Barring tricks like lazy, converting result.
 
@DomagojPandža Well, still. Why? Why not just a new model
 
utf7 - I saw it !
 
2:18 PM
@LucDanton I'll do that deduce trick instead.
@sehe That exists (well, "exists" may be stretching it a bit), btw.
 
I know that. And I know your opinion of it. Which is why it was a funny typo
 
utf7 exists?
 
And what does the deduced case do? Only compile for e.g. no conversion at all?
 
@MartinJames Yeah. Don't ask what for
 
@MartinJames It was created for crappy e-mail shits that only support 7 bit data. Or something.
It's a stateful piece of shit.
 
Xeo
2:19 PM
@R.MartinhoFernandes Deduce trick?
 
@BartekBanachewicz I think I came to the store, tried a few of them out and that one felt best. Called it Pixie in the end, one of my favorites. Can pull out that John Mayerish sound.
 
@R.MartinhoFernandes 'piece of shit', I kinda guessed that :)
 
@LucDanton Yeah, if they all have the same encoding, I deduce it; otherwise, no.
@Xeo Manual, conditional, type deduction!
 
Xeo
Ah
 
@DomagojPandža Well, I can't afford the S right now :(
 
2:20 PM
I.e. I take it to be the usual typename T = deduced malarkey.
 
I'm thinking about an ES-335 right now, a cherry model would fit me so well. :D
 
template <typename T = detail::deduced,
          typename... Args,
          typename Result = Invoke<Conditional<is_deduced<T>, deduce<Args...>, identity<T>>>>
Result concat(Args&&... args);
@Xeo Something like that.
 
Needs moar LazyConditional.
 
Xeo
Yeah, I guessed that from the T = deduced hint.
 
2:22 PM
@LucDanton Yeah, true.
 
4
Q: What is the best way to store a table in C++

TopoI'm programming a decision tree in C++ using a slightly modified version of the C4.5 algorithm. Each node represents an attribute or a column of your data set and it has a children per possible value of the attribute. My problem is how to store the training data set having in mind that I have to...

 
 
I tried storing my dining table in C++, it didn't work.
 
@DomagojPandža I am not exactly a fan of neither Fender or Gibson. If I wouldn't buy an Ibanez, it would be a Music Man or a Mayones
prices
 
Actually, I'll need two conditionally-deduced types.
But yeah, seems workable.
 
2:24 PM
@TonyTheLion This raises a question : what is the best data structure ?
 
@ereOn depends is the answer
 
@BartekBanachewicz Lately, I've been craving a Maton guitar, an ~Aussie manufacturer.
 
@LucDanton I prefer the deduce thing because auto.
 
No.
 
@DomagojPandža Why not? You need to have a portable dining table, of course. As long as it is POSIX compliant. Lemme find your the RFC
 
2:25 PM
There's no operator auto proposal around, is there?
 
There is a best number. And so is there a best data structure.
 
@Xeo Btw I've finally went ahead and tried my hand at writing an assert. Output looks like that.
 
@R.MartinhoFernandes You mean, type deduction override?
 
@DeadMG Yeah.
 
no
 
2:25 PM
The smallest, cheapest database you can get your hands on?
 
I did propose such a mechanism on isocpp, but
not much came of it
 
@LucDanton That like Catch?
 
@R.MartinhoFernandes Ya I don't think I really have any proxy. Was never fond of them to begin with either.
 
Your wife?
SCNR
 
@MartinJames CouchDB?
 
Xeo
2:26 PM
@R.MartinhoFernandes Is what came to mind.
 
@MartinJames SQLite?
 
@R.MartinhoFernandes No. The 'additional information' comes from the fact that the assertion looked like ASSERT( i >= 42, i );.
 
@BartekBanachewicz small? cheap? Nah. SQLite amalgamate version
 
@Cicada noooo whyy sql /cc @sehe
 
@LucDanton Ah.
 
Xeo
2:26 PM
@LucDanton Oh
 
@BartekBanachewicz because it's standalone
 
MongoDB?
whatever, but no SQL, duh.
 
@BartekBanachewicz Because we don't care about your trauma
 
@BartekBanachewicz not standalone
 
Y not Zoidberg?
 
2:26 PM
Oops - I forgot to link to that 'tables' post.
 
Catch has been kind of annoying lately.
 
Xeo
Why?
 
REQUIRE(canonically_equivalent(a, b)) gives zero useful information upon failure :/
 
"durr got false" kind of thing?
 
2:27 PM
@Cicada I fail to see the reasoning
 
Xeo
@R.MartinhoFernandes Not even the usual #expr stringification?
 
@BartekBanachewicz MongoDB requires a local server.
SQLite does not.
 
@Xeo "canonically_equivalent(a, b)" failed for: expected "true", was "false" or some such nonsense is worthless.
 
sigh
Only SQLite is standalone
 
2:29 PM
@Xeo Worthless in the sense that there's nothing I can do without firing up the debugger.
 
@R.MartinhoFernandes I would not be really super enthused about writing yet-another-expression-template. Esp. considering potential impact on compilation times.
 
Xeo
@R.MartinhoFernandes I don't see how you can extract more info from that, though.
 
IIRC, SQLite does not have much at all in the way of execution, till you call it.
 
And MSSQL CE
 
@Xeo Yeah, I know.
 
2:29 PM
I believe there are no-SQL embedded databases
 
Now that I have text::op== I can work around it by wrapping both ranges in text instances and using ==.
 
@BartekBanachewicz Well if you can get me one I'll gladly take it
 
An embedded database system is a database management system (DBMS) which is tightly integrated with an application software that requires access to stored data, such that the database system is “hidden” from the application’s end-user and requires little or no ongoing maintenance. It is actually a broad technology category that includes database systems with differing application programming interfaces (SQL as well as proprietary, native APIs); database architectures (client-server and in-process); storage modes (on-disk, in-memory and combined); database models (relational, object-oriented...
 
REQUIRE(test_text(a) == test_text(b)) is useful.
 
> database systems with differing application programming interfaces (SQL as well as proprietary, native APIs);
 
2:30 PM
But when I get to compatibility equivalence, I won't have that behaviour on op== :(
 
Xeo
@sehe The fuck is with the ™
 
I know what an embedded database is and I know of no embedded document database also sqlite is nice and fast and I have no idea why you dislike it
 
because SQL
 
@Xeo Shouldn't it be ®?
 
2:32 PM
@Xeo precisely
 
Why would you want to use SQL for small things?
Maybe if you have LINQ, that's not that bad
but raw SQL ... dudette. That's how PHP does it
 
@BartekBanachewicz Wut. I detest Linq-to-Sql. I love LINQ, though
 
@BartekBanachewicz Why not??
I don't feel disconfortable with SQL
 
Feb 22 at 17:14, by pourjour
is c++ a good choice to make a spin wheel
Feb 22 at 17:15, by Jerry Coffin
@pourjour I recommend steel or (preferably) aluminium for wheels.
 
Now that I've accientally brought up the DB issue, wouldn't it be nice to have an embedded no-install-shit DB that actually had some decent triggers etc. so that I could get notifications on appends etc.
 
2:34 PM
@Cicada don't shout at me. I do feel uncomfortable
 
Is that useful? I mean, if it's embedded, you know when you append, no?
 
I'm not even sure how to proceed with the addition information of my assertion thingy. Including <boost/lexical_cast.hpp> on a trivial test program makes the compilation time go from <1s to >3s :|
 
@Cicada I know :((
 
@BartekBanachewicz I'm not shouting I just don't get your point at all
@MartinJames Nevermind. It has triggers
 
@R.MartinhoFernandes Not necessarily. Some thread appends, I want my GUI grid notified.
 
2:35 PM
@Cicada Because I don't see the point in introducing another language just to manage data?
 
@LucDanton Debug iterators slow my test runner by a factor of ~170x. :(
 
@R.MartinhoFernandes ... the compilation time?
 
@BartekBanachewicz "I don't see the point of introducing an ORM for a simple thing", then
 
No, runtime. I haven't profiled compilation.
Runtime takes enough already.
 
@Cicada wat. ORMs are made to be simple -.-
 
2:36 PM
So is SQLite
 
/thread
 
It does? Are you like encoding the Bible?
 
user784668
@R.MartinhoFernandes Woot.
 
@LucDanton No :(
 
2:36 PM
@Cicada IIRC, if you don't call it, it does nothing.
 
@R.MartinhoFernandes Are those your iterators which assert preconditions and the like everywhere?
 
@Cicada uh. okey, sure, whatever.
 
It's very very annoying: 0.3 seconds vs 52 seconds.
 
@MartinJames See the manual
 
@LucDanton No, the stdlib ones. But there's a lot of tests to run.
 
2:37 PM
@Cicada I did, but I'm quite happy to look again.
 
That's hardcore. Any measure of how much memory you iterate over? I have _GLIBCXX_DEBUG on all the time, but my containers are usually laughably small (i.e. container_type odds = { 1, 3, 5, 7, 9, 11 }; or some other trite).
 
I think I'll add another parameter to my SConstruct to run only some selected tests instead of the whole shebang.
@LucDanton Yeah, mine are very small too: most tests consists of 2-6 code points that make up some corner case. The only outlier is that 10k umlaut thing.
But there are over 40k+ such tests.
 
Xeo
Why do you even do 10k?
 
@Xeo Stress test :) (And it is the example from the spec verbatim)
 
Xeo
@R.MartinhoFernandes Testing your stress with the run time? :)
 
2:40 PM
is he stress-testing Debug?
And I thought I am the retarded one here
 
@Xeo That one test doesn't take long.
 
@R.MartinhoFernandes When and how did that make it in your testsuite?
 
Xeo
@R.MartinhoFernandes I hope most of those were the prepared official ones and you didn't write them yourself?
 
What he said.
 
@LucDanton When I added all the official normalization tests.
 
2:41 PM
@Cicada Ok, so what was my problem with it? (rhetorical) Must revisit...
 
Those are presented in a convenient enough manner that you could port them in? When did software people actually care so much about testing?
 
@MartinJames > A trigger may be specified to fire whenever a DELETE, INSERT, or UPDATE of a particular database table occurs, or whenever an UPDATE occurs on on one or more specified columns of a table.
 
@LucDanton Yeah, it's pretty easy.
 
@LucDanton That's an excellent idea for testing, though. Feed it some foreign bible translations and see how well it copes with decoding, searching, etc.
 
2:44 PM
@Cicada Yeah - hold fire, (sorry), on this issue 'till I check on my old SQLite thing that did not work as I wanted..
 
@sehe When it comes to text/typography/etc it's either that or lorem ipsum!
 
urfff lorem icksum
 
Xeo
@R.MartinhoFernandes Ah, so you can easily generate the tests from those
 
user784668
SQLite. 37 seconds to build. And the object file is over 3 MB.
 
@MartinJames hold your fire!
@Fanael ~SMALL~
 
2:46 PM
I said sorry!
 
I don't know what it means anyway
 
user784668
And the object file contains 1413 sections.
 
I'm guessing it's not too polite
 
@Fanael LTO
 
2:46 PM
I just realized that we can make jokes about Cicada's e-peen right now, since she is a boy
 
Mine is bigger than yours btw
 
Xeo
@R.MartinhoFernandes Also, dammit, I got some squares on that page. :( Like the chakma at the bottom.
 
But you knew that already
 
@Cicada Not at all impolite, honest!
 
@Xeo haha, me too. But I don't really look at that anyway.
 
2:47 PM
if you say so. too lazy to look it up
 
@Cicada A few more SC2 matches and it will show from under your skirt
 
user784668
@sehe Yes.
 
:horror:
 
Xeo
@R.MartinhoFernandes Wait, that still only gives around ~18k testcases if you test all forms in one.
 
2:49 PM
So Catch users, do the expression templates have an observable impact on compile-time?
 
@Cicada By the way, I've invented the most epic nerdy pickup line ever, but until you change gender again, I can't try it
 
Try me anyway
2
Who knows I might be gay
 
@Xeo Well, I count four test cases per line, one for each form. Though right now I only have NFC and NFD. So 36k.
Then there's a bunch more for segmentation.
 
Xeo
@R.MartinhoFernandes Ah
 
@Cicada Well, I might be not.
 
2:50 PM
@Cicada Whenever you're ready?
 
old perv.
 
@BartekBanachewicz swap those last two words?
 
:) I did'nt start it
 
@BartekBanachewicz damn! i am unmasked
 
So we just had @ManofOneWay drop by for an interview and things
 
2:50 PM
@LucDanton Observable? No.
 
@Cicada hm? ah fuck grammar
 
Measurable? Don't know.
 
@R.MartinhoFernandes Reminds me of something
 
@jalf Oooh. And...?
 
@Cicada But well, if you insist on me trying you, well... What would you think about std::pair<you, me>?
 
2:51 PM
Missing template arguments
 
:D
 
Xeo
@BartekBanachewicz std::make_pair(you, me)
 
@R.MartinhoFernandes no clue, I wasn't involved in that part. But he got a tour of the office and a demo and a chat with all the developers, which was fun
 
2:52 PM
Dude, it's lame anyway.
 
I've seen worse
 
@R.MartinhoFernandes Like most pickup lines, lol
@Cicada haha, would you fall for that?
 
or maybe std::pair<TYou, TMe>
 
Ugh, prefixes.
 
i know i know
but you me looks ugly (and I'm a C# person)
 
2:53 PM
:(
 
@R.MartinhoFernandes Cause the _t suffix is so much better :P
 
Xeo
@DeadMG _type is best
 
@R.MartinhoFernandes I'm still annoyed by the terrible methodologies for that kind of thing. For my assert I compared includes (with <boost/assert.hpp>), and then added assertions -- actually duplicated the same one over and over, so maybe actually different assertions have more of an impact what with the Boost.PP dark magic.
 
@DeadMG No one suggested std::pair<you_t, me_t>...
 
@Cicada That's too bad, because I could totally write a custom std::allocator<> to find a place for you in my (bed|heart).
 
2:54 PM
I'm so staying out of this insect stuff - it's too dangerous.
 
T for Tony
 
Lameness level is over 9k
 
Xeo
self.heart.emplace(you)
 
@Cicada TTooSharp
 
I think I should focus more on writing real code instead of code pickup lines.
 
2:55 PM
 
@MartinJames ikr
 
@Xeo Needs std::move.
you don't wanna be sharing, do you?
 
DUDE
 
Xeo
lol
 
2:55 PM
I'm a gay boy now okay?
That'll end your pickup lines
 
@BartekBanachewicz Ooh - over 10K gets an automatic restraining order.
 
@Cicada lol, you could just say they were lame, duh. :/
 
I haven't seen a non-lame pickup line ever
 
I think that was obvious.
 
2:57 PM
@Cicada Not sure there are any. Best relationships just happen.
 
Props for trying though. I guess!
@MartinJames "i accidentally my dick"
 
@Cicada "Hey, how are you?"
 
@Cicada That could be keeping his hopes up
 
@Cicada Hmm - that might work.
 
2:58 PM
@sehe Doubt it.
 
@Cicada well fuck it. I guess!
 
I see what you did there
 
I didn't make a sex reference just now.
 
Aaarrgghh!
 
yeah bby~~
can u here it?
its the sound of butthurt~~
 

« first day (867 days earlier)      last day (4095 days later) »