« first day (1109 days earlier)      last day (3840 days later) » 

11:00 AM
@R.MartinhoFernandes so yeah, the shortcut version sounds like it would mostly make sense. Like Xeo said though, you now have to document this, the joys :P
 
I expected you would be, I would be worried if I knew more about ogonek than you :P
 
user1804599
than*
 
@Xeo Meh, I don't think my source code is clean enough to use as reference for most users.
 
Xeo
but the intellisense!
 
11:03 AM
There isn't a lot of TMP, but enough to throw many people off.
@Xeo lol? (Shall I remind you that VS hasn't been a possible target before VS2013?)
Also, lol IntelliSense.
 
Xeo
(Or other code-completion / thing that shows info about functions)
I use "intellisense" as a generic term for those
 
@R.MartinhoFernandes replace_errors let's say I am looking at a string, that has genuine replacement character in it, and so I want to use a custom one so I can differentiate between valid replacement characters and actual cock-ups. a) is this 'acceptable' when dealing with unicode b) I want to be able to do so
 
Xeo
A replacement character is not an error (it doesn't make the sequence invalid)
Wait nvm, I think I understand what you mean now
foood
 
@R.MartinhoFernandes nice
 
@R.MartinhoFernandes also, did I not tell you that the russian 'little flame' is too literal a translation. It is basically what you would call a lighter, for cigarettes
erm... "if thing and thing are set up for..." or "if thing and thing is set up for..."?
 
11:11 AM
@thecoshman a) if it's a true replacement character (U+FFFD), no, it isn't, because it would mean you are already abusing them for an unintended purpose. However, say, if you're outputing ASCII, you can't use U+FFFD (same for any other subset that lacks that character), so it uses ? instead, which can be confused with the real use of ?. In such a situation, yes. b) you can write custom error handlers, though I haven't settled on an interface for doing so.
I'm also considering allowing replace_errors to take a parameter to override the replacement.
 
@R.MartinhoFernandes this :P
 
Does anyone know how to generate a fusion::map from a struct? Im trying with BOOST_FUSION_ADAPT_ASSOC_STRUCT but then when I use fusion::for_each for example it only iterates over the struct values. Instead when using a fusion map it gives me the value/key pairs.
 
It seems reasonable to me, though perhaps derive it to 'replace_errors_custom_character'... just a bit more explicit that you indeed using a custom character
 
I think replace_errors('x') is clear enough, no?
(Don't worry about the syntax; as is, I can make it work as both f(a, replace_errors) and f(a, replace_errors('x')) :P)
 
user1804599
@R.MartinhoFernandes That would replace errors in 'x'. :v
 
11:15 AM
> I hope you are well. I'm a technical sourcer here at Google; I came across your profile on Github (github.com/griwes). Your work on the Reaver Project really caught my eye. I think that you could potentially be a great fit for our engineering team here at Google as we are currently expanding several teams across several of our global offices.
 
@R.MartinhoFernandes perhaps, though you are now losing a chance to know if a custom char is being used (replace_erros(0xFFFD)
 
My vaporware project caught his eye?
 
@rightfold replace errors with 'x', yes
 
@thecoshman What does it matter?
@Griwes lol
 
I mean, all Reaver Project currently is is 1) an OS-- or rather, bare metal timer library, 2) sucking parser library and 3) an assembler I am rewriting for the second time.
 
user1804599
11:16 AM
replacement_character('x')
 
@R.MartinhoFernandes ... can you categorically say it will not and never can matter if they are using a custom char, and setting it to FFFD
@rightfold 'when you get an error replacement character' vs 'when you get an error replace errors'
 
Xeo
@R.MartinhoFernandes operator() :D
 
Does anyone else get more than 300 million results when search for "telkitty" on google or is it just me
 
@thecoshman Oh, you mean if it isn't a valid character for the output?
 
11:18 AM
We'll never know
 
user1804599
@thecoshman replacement_character would be a data type here. :P
 
Xeo
Although I think I'd like replace_errors.with('x') more
 
@User17 300M when googling from normal window and 3.4k when googling from incognito window. Wat.
 
@R.MartinhoFernandes wasn't what I was getting at, but that could be a concern yes. I was more getting at the way the error handler is used.
 
@Griwes lol
 
11:19 AM
@thecoshman All error handlers have the same interface, so it's irrelevant.
Only assume_valid is magical.
 
@R.MartinhoFernandes True... well, I was just wanting to keep options open.
 
Xeo
I also want to make a library with lots of magic in it
 
inb4 stupid mock code involving 'magic'
 
user1804599
@Xeo FiM++ static analysis library.
 
Xeo
lol
 
11:22 AM
So yeah, using the new updated Jira here at work... fucking stupid shit has half the screen wasted with crap header junk.
 
@User17 5 of those results are for telkitty. the rest is only kitty
 
user1804599
> 5535 followers
 
I know lol
 
user1804599
Didn’t you buy those?
 
11:23 AM
@User17 telk-titty? oO
 
@_@
some followers were swapped
 
Current error handler interface is a function that takes an exception with all the error info and returns a tuple that defines how to correct it. Stolen from Python, but still needs crafting.
Good thing is you can actually use polylambdas directly.
Monolambdas too, but verbose as fuck and not as reusable.
 
@gnzlbg Have you asked on the main site (Stack Overflow)? I've got an answer so, if you want...
 
(read: sehe wants rep)
 
@Griwes He'll likely be seeking damages
 
11:27 AM
@R.MartinhoFernandes o_0 polylambdas
 
@nightcracker read: we don't do questions in the lounge. Also, this is very likely to benefit more people. Why stuff the useful answers in a chat?
 
@thecoshman C++14 lambdas
 
@sehe nice recovery :P
 
@sehe uh?
 
So, in chat we discuss (a) vaporware (b) nonsense (c) interesting questions that are localized. (Useful and bad questions are for the main site)
 
11:28 AM
@R.MartinhoFernandes oh, striving for 14 fancyness now are you :P
 
@Griwes Your shit caught his eye. Do you know what the medical bills will be for 15 years to come?
 
Oh, that was a bad pun.
 
@nightcracker That's not a recovery. It is my belief.
 
@thecoshman I didn't do anything for it. It's purely accidental (and just a consequence of lambdas not being special).
 
@Gregory81 I prefer to keep my "consulting" limited to stack overflow. This is because I'm convinced that it serves best for future users looking for similar information. Also, the system is open, and I'm frequently surprised with the excellent solutions that others come up with. Everybody wins. — sehe yesterday
 
11:31 AM
how do I find out if a istringstream is at the end without changing its read position? I have read through at least 10 SO posts without any answer >_> This cant be that hard
 
@CBenni streams are naturally "async". So you can't be sure. There's stringbuf.in_avail() or something though.
 
what...
 
Tells you what is currently available. You can decide whether it makes sense to trust this. If you had the str() value before hand, tellg() could be subtracted from the known string length too
 
@CBenni Well, you can't tell whether you're at the end of a stream, except by "finding" out. Otherwise, you're really looking for a string/vectir
@gnzlbg Nice. Lemme have a look
 
11:34 AM
@gnzlbg FYI most people here would take great offence at 'dumping' questions in this fashion.
and by 'most' I mean 'a loud few'
 
@thecoshman haha, great addition
 
@thecoshman I requested it. Pay attention
 
@sehe Hence the 'FYI this is not normally tolerated'. Read
Well bugger me, I know spelling better than word, 'enqueued'
 
@thecoshman Ah, you were outing yourself as the "loud few"
@gnzlbg Erm. That's not actually the question I thought you were gonna ask. I'm having to reread (and dispose my existing answer... :()
 
@sehe how did you come to that conclusion? I was simply pointing out that 'dumping' a question like that usually is not tolerated. Does studying a subject mean you have to be either for or against?
hint, it does not.
 
11:46 AM
@thecoshman studying?
 
@sehe I was thinking of a particular topic, but it was irelevent to the point.
@R.MartinhoFernandes o_0 http://flamingdangerzone.com/ogonek/reading.html <-- what is that '.html' shit there for boy?
 
@thecoshman for good luck, obviously
 
@thecoshman It's a social engineering probe used to measure how bored you are
 
Ell
I wonder what parser format is preferred generally - a pull parser or one which just emits the entire document tree?
 
well I'm glad you all se how stupid it is
 
user1804599
11:57 AM
Yum.
 
user1804599
Knäckebröd.
 
@Ell depends. DOM is nice and easy to traverse around, but a 'stream parser' can be more memory efficient friendly, as it does not have the entire document in memory at once.
@rightfold ergh, they look boring as all hell
 
user1804599
Not with jam.
 
@rightfold I'd just use the spoon
 
freaking piece of shit apple
kept on changing things that are working
if indeed that they have so much time, maybe create something innovative
 
Xeo
12:01 PM
Nom nom Knäckebrot
 
user1804599
@thecoshman wut
 
Xeo
I like it
 
instead of keeping on 'fixing' things that are already working
 
Xeo
with cheese
 
user1804599
Who eats spoons?
 
12:01 PM
and break everything instead
 
@thecoshman who even cares
 
user1804599
@Xeo I forgot to bring cheese from the supermarket; only brought jam.
 
is this chat room also for C?
 
it is like their developers are paid to break the alreaady working system
 
Xeo
nope
 
user1804599
12:02 PM
I don’t know the answer. :((( stackoverflow.com/questions/19657590/…
 
user1804599
I’m such an idiot.
 
umm hello? is this chat room for C
 
user1804599
@Daniel no, only Haskell.
 
Xeo
25 secs ago, by Xeo
nope
 
@Ell that's not a format, that's an API design question. It also depends on the grammar (some things cannot be parsed sequentially, some things can be parsed sequentially if you disable/postpone validation)
 
user1804599
12:03 PM
@Ell lazy document tree!
 
then where's the chat for C?
 
user1804599
@Daniel there is none.
 
Xeo
Nobody likes C, so there's no chat room for it
2
 
:(
 
user1804599
Try IRC.
 
user1804599
12:05 PM
-1 for linking to cplusplus.com. — rightfold 4 secs ago
 
user1804599
:D
 
Some seniors have hold my question and even I revised it and comment that I did, also tried to flag but still there's no response
can I link it here?
 
user1804599
Not our problem.
 
user1804599
No, you can’t.
 
user1804599
Oct 22 at 10:52, by sehe
If you are new here, please read the code of conduct. Thank you
 
12:06 PM
thank you
 
user1804599
@sehe I tried to use Boost.Spirit but it made my head explode. :(
 
Xeo
Eh, it's kinda similar to Parsec
 
user1804599
Where can I find a good guide for writing a parser that outputs an AST?
 
@rightfold that's good
 
user1804599
12:10 PM
@Griwes what an idiot.
 
Ell
@rightfold for what type of parser? Isn't it trivial for a recursive descent parser? Make a struct representing each rule then each function paarsing a rule returns the appropriate strict
 
user1804599
Guess I’ll learn Phoenix first.
 
user1804599
> Bind is no completely compatible with Boost.Bind
 
user1804599
Is that meant to be “not” or “now”?
 
Xeo
12:16 PM
I'd guess "now"
 
Ell
Ogonek looks like a pleasure to use, I can't wait for an excuse to try it out
 
Oo another $500 gift from a relative in the name of fixing my chipped teeth
Why do I feel like a beggar, I am sudden a magnet for unasked donations
 
user1804599
std::find_if(c.begin(), c.end(), arg1 % 2 == 1) oh this is cooool.
 
Ell
Shouldn't there be a lambda there?
 
12:20 PM
 
I need to be a multi millionaire soon so I can repay those "donations"
 
Man, I am in a middle of my breakfast and this made me feel more hungry than before I started eating.
 
user1804599
@Ell no :D
 
Ell
Oh, but it behaves as if there was one?
 
@Ell it is polymorphic lambda (it builds "expression tree"-like stuff)
 
12:23 PM
user image
2
lol
 
Xeo
@Griwes ugh, so much fat
 
@Xeo And so much awesome.
 
@Griwes looks italian
 
user1804599
@Xeo Olive oil!
 
12:37 PM
> These numbers are total bullshit. As an example, a fresh Windows Vista installs uses 15+ GB of disk, while a fresh Tiger install only uses 6.6GB. Are we to believe that Tiger's alleged 85 MILLION lines of code compiles down 56% smaller than Vista's 50 Million? Is the author counting likes of CODE, or counting lines of comments as well?
:laffo:
 
He forgot to mention counting empty lines!
 
Let's take few projects, each in different language, compare SLOCs, and then make some assertions about the executable sizes!
Idiots. Idiots everywhere.
 
@Griwes (a) Why is there G-string in the logo (b) that food picture is absolutely repulsive. Who the fuck baths his cherries in a load of fat. Ew. (c) we need std::funktion<> for absolute reliable operation
@gnzlbg I hope this is the kind of template wanking you were looking for:
0
A: Is it possible to generate a fusion map from an adapted struct?

seheI remembered having seen this somewhere in the past. I've found a blog post that knew the missing link: boost::fusion::extension::struct_member_name. I've adapted the code from that blog post. I still don't think the code is clean, and have the strong feeling this can be done much more elegant....

@CatPlusPlus Oh yeah, and to add: MacOS obviously has higher quality art-work and theming (doh, it's Apple) so you have to allow for that too.
I wonder how many LoC would account for WinSxS hell
 
Aww, I think I've found the love.
Movning.
 
Seems legit
 
12:47 PM
If google doesn't put it in the spam folder, it must be legit.
 
@thecoshman What's the problem?
 
@R.MartinhoFernandes OCD
 
@Jefffrey "You do like sex, don't you?"
 
user1804599
I like .html.
 
@R.MartinhoFernandes redundant file extension.
@rightfold if you want jam, why use nasty cracker crap, just shovel it up with a spoon
 
12:51 PM
All file extensions are redundant.
 
user1804599
@thecoshman ewww wtf
 
@thecoshman What's the problem?
 
Deja vu.
 
(It's not a file extension, it's a piece of an URL)
 
@R.MartinhoFernandes ಠ_ಠ
 
12:52 PM
@rightfold .htmls is sex
 
@R.MartinhoFernandes redundant
 
@R.MartinhoFernandes In a way, it extends the url :/
 
@thecoshman As is eading.
So what.
 
@R.MartinhoFernandes no, that add meaning to the URL, the file extension does not.
 
12:53 PM
@thecoshman URLs are resource locators. They don't need meanings.
 
@sehe I think he wants another thing - he want to iteratote over "key type"+value
 
> Continence sucks
 
Remove all extensions, from all files.
 
lol
 
Yeah, incontinence (it only gets better with age)
 
12:54 PM
@R.MartinhoFernandes no, they do not need meaning, but they should be semantic.
 
Don't you dare use .css or .png.
 
They need to be able to point to the right page. That's all.
It's for the machine, not for you.
Look at how semantic http://i.imgur.com/hfihzLK.jpg is.
 
@sehe i.e. he want to get A::keys::b during iteration
 
> showthread.php?threadid=3550902&userid=0&perpage=40&pagenumber=298
No fucks given
 
12:56 PM
@Jefffrey It is! She's just unfortunate to be out of a laptop. Maybe you can use the app to get in touch with her! She's a keeper (You do love sex, don't you?) - don't let it slip away
54 mins ago, by sehe
@thecoshman who even cares
 
@sehe sorry about that
 
@EvgenyPanasyuk Erm. Yeah. Maybe. He didn't respond to the comment...
@gnzlbg lol, timing ^
 
my problem was that I was using ADAPT_ASSOC and was expecting to get a fusion::map out of it
 
@sehe She lives with her mom. How awkward would that be?
 
and then actually tried to construct a fusion map from that and that wasn't working either
usually boost::fusion is pretty intuitive to use
but the fact that i couldnt construct a map from an associative sequence with something like fusion::make_map() is kind of new to me
 
12:58 PM
> The Boss Came Looking for us after we crashed the accounting database. gif
@Jefffrey Not at all. Ask for a picture of the mom
 
Ell
I don't think named arguments are particularly useful
 
Duly noted. Would you like fries with that? (@Ell)
 
@Ell They are, esp with boolean ones.
 

« first day (1109 days earlier)      last day (3840 days later) »