« first day (1045 days earlier)      last day (3915 days later) » 

Xeo
3:00 PM
@R.MartinhoFernandes Just reading that makes my head hurt :s
I would find one particular meme to be very applicable at this point
 
@Xeo It's a pattern similar to fix f = let x = f x in x.
 
Xeo
Any C++ equivalent of that?
 
room topic changed to Lounge<C++>: Attack of the Haskell [c++] [c++11] [c++-faq] [no-questions]
 
Xeo
Or is lazy-evaluation too tied to that?
 
It's tied inasmuch as it is a particular implementation strategy (see link I gave).
 
3:02 PM
Anyone know which are the extensions he’s talking about?
@klmr no, their 2012 regular C++ but with Microsoft specific extensions.
 
Xeo
@KonradRudolph C++/CX?
 
With C++ you can improvise via classes and e.g. recurse with *this.
 
@KonradRudolph C++/CX that they use for Windows 8's new Win API?
 
"macs are mostly used for programming." According to a YouTube comment.
 
@Xeo And that is? (… I have no VS)
 
Xeo
3:03 PM
@KonradRudolph Oh, what Puppy says
 
it's not really important, honestly.
 
Is that the WinRT stuff?
 
yep.
 
@Pawnguy7 Wow did not know that. Buts it must be The Truth! After all it's a Youtube comment ;)
 
Of course :D
 
3:04 PM
The WinRT stuff is kind of a distilled .NET anyway.
 
yes, looks like C++/CLI
 
Well I gues it came down to that :) But thatnks, eol is perfect and that way I don't need gr_newline. It seems to work somewhat now, I appreciate your example! — namezero 54 mins ago
^ lolwut. I gave him the (practically the) identical example 3 days ago
 
@KonradRudolph They reused the syntax.
 
… which makes sense
 
This one's better I think.
 
3:05 PM
Is there a correct way to.. close git?
 
Xeo
... what do you mean close?
 
Well, technically it is powershell, I think. Anyway, if closing using the x, I notice it leaves up some ssh processes, which slow things down.
 
@Pawnguy7 it's a command line tool isn't it?so what is there to close?
 
@R.MartinhoFernandes distilled?
 
3:08 PM
Writable doesn't imply Readable (for files & friends), does it?
 
don't think so.
 
@ThePhD I guess not. But at first sight it seems like some fucked up logic to be able to write where you can't read.
 
If "files & friends" means "streams", then it's quite simple.
The write end of a pipe, the write end of a socket, etc.
 
@ThePhD Nope.
Something can be write only.
 
Hurray, chunk is successfully implemented, probably.
 
3:16 PM
@LucDanton struct chunk {}; ? :D
 
That wouldn't pass my dizzying battery of tests.
 
@LucDanton well, uhm.... fix the tests then =)
 
Test Disregarding Development.
 
sry, I'm tired out and prone to spit out unfunny jokes :/
#caffeinedrivendevelopment
 
I'm not sure why,
but I feel like shit.
 
3:27 PM
@Xeo what's the opposite of "Du hast recht."?
 
Xeo
@R.MartinhoFernandes "Du hast unrecht", "Du liegst falsch", ... ?
Of course you can always just throw in a "nicht"
 
Woah, "Du hast unrecht" is serious?
 
Xeo
yea
 
@Xeo "Du leugnest falsch", double-negative FTW!
 
I thought you were trying to make me look like a fool.
 
Xeo
3:29 PM
lol, no
Why would I?
 
"Unrecht" sounds like injustice to me. Dutch ears
 
I should probably categorise the composite ranges into those that can remove elements, those that don't change the size, and those that can add some. On Hoogle I can browse [a] -> [a] and [a] -> [[a]] separately, too.
 
@R.MartinhoFernandes That's @sbi's job.
 
@R.MartinhoFernandes a simple "Schwachsinn." is enough in most cases ;)
 
@Xeo I can handle that on my own, I guess.
 
Xeo
3:29 PM
@sehe It also has that meaning
 
Du hast mir Unrecht getan!
 
Xeo
*mir
 
@sehe mir ;)
 
Lulz
 
3:30 PM
*mir ;)
 
Dutch/German looks so cool. :c
I should learn it
 
Ziet er zo koel uit!
 
But I'm already trying to learn Japanese.
 
Xeo
I like English better
And Japanese is just really cool
 
I have to learn more verbs.
desu isn't really enough. ._.
 
3:31 PM
English sucks.
 
I haven't even looked into the grammar behind verbs yet.
Conjugating them.
@ThePhD Here's some (present tense): あるいて is walk and はしって is run
 
The nicest thing about English is that verbing things sounds ok.
 
@ThePhD I'd prefer Japanese over German. Maybe because I don't know how hard it really is, but German as a foreign language must be the hell. Tons of special cases in conjugation and declination
 
@R.MartinhoFernandes I sure like it as a visitor to the English language but I wouldn't bring it back home.
 
@ArneMertz Don't worry, it's not perfect to learn.
 
3:34 PM
@LucDanton Not sure what you mean.
 
Xeo
He likes French conjugation better?
 
@R.MartinhoFernandes I'll gladly (ab)use it in English, but I'm okay with not having it in French.
 
Verbs were what I loved to do in French.
 
French felt like a sticky language to me.
 
Xeo
@ThePhD aru, iru, iku, suru!
 
3:35 PM
I think I would've preferred any variant of Spanish.
 
@LucDanton I'd like it in Portuguese at least for foreign loanwords.
 
@Xeo All Group 1 verbs?
 
Back in grade 4 not wanting to go outside at recess, so I stayed in and studied the verbs we learned in later years.
 
Xeo
No clue
 
Like Germans have things like "gepatcht" or "geskypet".
 
3:36 PM
When French people turn an English loanword into a verb they add -ing :s
 
Englishing!
 
Or other horrors.
 
Also @R.MartinhoFernandes std::reverse_iterator seems to require a random iterator, not a bidi one?
 
Xeo
no?
 
@Xeo I got a surprise when I looked up iku.
 
Xeo
3:37 PM
It only has those ops if you use it on a random-access one IIRC
@chris "to go"
"ikimasu~" etc
 
In Portugal you just say "applied a 'patch'" (keeping the word 'patch' as is) or "talked on Skype". If you try and conjugate it ("patchar, skypar"), you immediately sound Brazilian stupid.
 
@Xeo Yeah, I found that after the other meaning.
 
Xeo
heh
 
@Xeo Ooh, so it's templated.
 
@R.MartinhoFernandes Ya, works about the same.
 
3:38 PM
Come to think of it, we barely did any verbs in nine years of French.
 
Sorry, when I looked at it the implementation said _RanIt as the type it needed.
 
@chris That doesn't sound convenient.
 
@chris Whaaaaaaaat.
 
Xeo
How would that work for std::list, std::map etc?
 
@ThePhD of course.
 
3:38 PM
Grades 1 to 9. It was terribly slow.
 
Xeo
They all support reverse_iterators
 
j'ai patché le fichier
 
I didn't really have anything against it in grade 10, when we didn't have to do it, but it would have conflicted.
 
@chris That sounds like total bullshit.
 
@R.MartinhoFernandes It is. You have to go at the pace of everyone.
 
3:40 PM
@R.MartinhoFernandes nah. sounds just like my latin classes
 
@StackedCrooked I lost my intuition to tell if something rings ok in French. Lack of practice.
 
Grades 1-8 were typically very slow with everything.
 
@R.MartinhoFernandes I probably sounds stupid.
 
Latin in grade 10 wasn't bad.
 
Xeo
On a completely different topic: empty as a function for ranges sucks :/
 
3:41 PM
We actually read things that were completely in Latin instead of doing single word translations and then sticking them together.
 
@Xeo It's rarely a source of problems.
 
@chris Erm, it sounds like I learned a lot more in five years than you in nine (like all the weird tenses like subjonctif and shit).
 
@chris I had latin from grade 6 through 10 and had forgotten everything in 11th grade...
 
If I have a char* of ascii, and I know I'm going to transform it to a char* of utf8,
 
Xeo
It's one thing that would need precomputing.
 
3:41 PM
@Xeo but, how will you know if it's empty?
 
can I just cheat and steal the storage and stick it into a utf8 buffer?
 
Because ASCII is a complete subset of UTF8, right?
 
@ThePhD yes, I permit it
 
@ThePhD I think you can do that.
 
3:42 PM
@Xeo I use it for the actual, final iteration so it shouldn't do that generally speaking.
 
@ThePhD Yes, but it has to be really ASCII and not Windows1252 or whatnot.
 
Xeo
@LucDanton I mean, you need to start the range to ask if it's empty, no?
 
@R.MartinhoFernandes ANSI lol
 
@Xeo Right.
A range is a reification of the pattern for(start(r); !empty(r); pop_front(r)) { auto&& element = front(r); ....
 
@R.MartinhoFernandes Ah... I haven't really accounted for encodings other than utf8/16/32, and ASCII so far. I should probably do some of those weird ANSI encodings, but...
 
Xeo
3:44 PM
What other stuff needs priming?
 
... I kinda don't want to. :c
 
@Xeo There is no other stuff than the range operations, so to speak. They're all used during and for the iteration.
 
Ugh, "ANSI" :< (they are called "Windows code pages")
 
user1804599
Morning.
 
Arrgh.
 
3:45 PM
@ThePhD that's one of the design goals of utf8 i think
@not-rightfold good evening.
 
Why does Unicode have to be so hard to understand?
 
Composite ranges write their own operations in terms of their component ranges (and some other data), source ranges only in terms of some other data, and consumers use the operations on some given range(s).
 
user1804599
@ArneMertz It's afternoon, silly.
 
Well, writing utf16::detail::is_trailing( char16 ) shouldn't be too hard, I don't think...
 
@chris IMO it's because people try to understand the wrong things.
 
Xeo
3:46 PM
hm... still wish range-for would allow different iterator types.
 
Admittedly I do have not-so-primitive operations like pop_front_n, which is a repeated pop_front. Refactored common uses in a sense.
 
@R.MartinhoFernandes I'm sure it's not so bad if you hear the right explanation, but until I find such an explanation (of series of them), I pretty much have no confidence about any of my Unicode knowledge.
 
Honestly, I just wish ogonek worked for VC++.
Then I could ditch all of my efforts and just go with robot's work. ;~;
Y U DO DIS 2 ME MICROSOOOFT
 
There are things out there that work in VC++.
2
Just saying.
 
I dun wanna use ICU. :c
 
Xeo
3:49 PM
@ThePhD Stop by the compiler team and hack away. Can't make it worse anyways. :P
 
@Xeo I already asked STL about an internship.
 
It's really weird to be the one constantly telling people to use other libraries.
 
So, maybe in the next year,
 
@ThePhD But you wanna use VC++.
 
I'll be rolling you guys new compiler features
@R.MartinhoFernandes Rock and a hard place. q_q
 
user1804599
3:50 PM
inb4 cowboy_cast language extension.
2
 
(Also, Boost.Locale)
 
Could you imagine, me writing the code for aligned_union ? <333
 
Or utf8cpp.
 
@not-rightfold more or less... 6am approaching here, going off in a few minutes to have dinner
 
@ThePhD Erm, what about it?
 
3:51 PM
@R.MartinhoFernandes That's just UTF8, I have to do some UTF16 interop in some places so while it is nice, I can't quite just use utf8cpp. I have looked at it, though.
@R.MartinhoFernandes Oh, nothing~
 
@ThePhD It's std::aligned_storage<max(Size, sizeof(T)...), max(alignof(T)...)>::type.
There isn't really anything union-y in it.
 
@R.MartinhoFernandes I can fix that. :3c
 
user1804599
Oh.
 
user1804599
They reintroduced Coca-Cola Vanilla.
 
@ThePhD Erm, no you cannot. That's the point.
It's not a union.
It's a chunk of storage.
 
3:53 PM
The standard doesn't forbid me from using some union tricks~~~
 
@ThePhD For what? There's nothing to obtain from that.
 
er
actually, it pretty much does ban you from using almost all union tricks.
 
@DeadMG :c
Ruining the fun. q_q
@R.MartinhoFernandes For science!
 
I mean, you can randomly drop union { int a; float b; }; almost everywhere in a C++ program, but it doesn't really matter much.
 
Xeo
3:54 PM
@R.MartinhoFernandes It's basically what you want for variant, eh?
 
@ThePhD, Put in an easter egg or two.
 
@ThePhD Do I have to list all the things? Sigh.
 
Xeo
@Pawnguy7 ... lava, maybe?
 
#pragma cowboy
^ If I get on the compiler team, I'll make this start a game of pong in the CLI. :D
@Xeo inb4 "Mars"
 
Xeo
> nowide
> no wide
 
user1804599
@ThePhD And then you'll get fired for introducing an easter egg.
 
@Pawnguy7 MEAT!
 
The suggestion was mars. So, mars.
Not sure what else to add.
 
user1804599
Digital Mars.
 
3:56 PM
Lulz.
 
user1804599
@Pawnguy7 Rovers.
 
Mars is more orange-y.
 
Oh right, that was it.
 
user1804599
Mars is brown, silly.
 
3:57 PM
Brown is not a color.
 
user1804599
Filled with caramel and stuff.
 
user1804599
If I find a planet I'll call it Snickers.
 
Can't. They have rules for that.
 
As far as the color goes, it is open to change. I just want to make sure it is recognizable. I myself wouldn't guess brown as mars.
 
You can name an asteroid that, though.
 
Xeo
3:58 PM
What about Twin-Fix-Stars "Twix"?
 
user1804599
Meh.
 
user1804599
How about moons?
 
Xeo
Anyways, home time.
 
user1804599
Goodbye friend.
 
@Xeo Stars do not have names (except for a few historical exceptions).
 
3:59 PM
Already?
 
@not-rightfold Also have rules.
 
Xeo
It's 6pm here
 
user1804599
It's almost 6 PM here.
 
user1804599
It's 6 PM here.
 
Lol.
Well, it's 9 AM here
 
4:00 PM
noon
 
@chris East coat \o/
 
user1804599
@ThePhD East cunt \o/
 
> what does casted mean here ? bro .
Hoo boy.
 
user1804599
> casted
 
user1804599
> bro
 
user1804599
4:03 PM
> [space before question mark or period]
 
user1804599
Conclusion: OP is a faggot.
 
Say, I've noticed that while I do provide ana, cata, bind and pure in range/primitives I don't give a way to produce an empty range. That's an oversight, right? And furthermore, what do I call that primitive?
 
Not sure what to color the rover wheels against the black background.
 
fuck me
boursin so tasty
@LucDanton Eh, I don't see the use of an empty_range<T>().
 
user1804599
Brie ftw.
 
4:07 PM
> Why does sizeof show 4 bytes for a char?
Most misleading title ever.
 
@DeadMG If it were convertible to any other (or perhaps only some) range type then you could e.g. flat_map([](auto e) { return e < 5 ? make_array(e, e + 1) : empty_range???; }, r).
Note that you can already do e.g. flat_map([](auto e) { return e < 5 ? make_optional(e + 1) : nothing; }, r).
It's kinda fighting the type system from here on however.
The first example should probably use some kind of unrolled_array in fact.
 
I should probably make that space empty between the wheels.
 
Still though, I do provide type-erased ranges already and the objective of range/primitive is to be principled, not practical.
 
user1804599
@Pawnguy7 lol cool
 
(And now I'm thinking about things like making variant<Ranges...> a range and so on. Variadic generic programming sure is interesting.)
 
4:11 PM
I wonder if the Origin Bundle will reach 10 millions $.
It's already at 9.6, and there's two days left.
 
Probably.
 
That'll be cool.
Great business move from EA: they look like good guys by giving all that to charity, and increase Origin's market penetration.
 
Read the comments under launch entry on their blog.
 
Which blog?
 
They're funny.
Humble Bundle's.
 
4:16 PM
> EA may not keep the money but they sully your computer with a spying toolkit Origin!
The cognitive dissonance is strong with this one.
> Two bundles in a row with DRM and without Linux support. I guess I'll just keep waiting for something else to show up.
Because Linux gaming is totally a thing now.
> What happened to DRM free? EA is the anathema of DRM free philosophy. Humble Bundle you just lost me. I would never have though it but you just became as appealing as an anthrax riddle pig covered in manure.
That's it, I'm done. Enough of that ideology-ridden bullshit.
When I make a game, I'll put DRM in it just to piss off these asshats.
 
PHP should be wiped of the face of the earth with a friggin nuke. I hate it, so friggin much.
 
@EtiennedeMartel You like DRM?
 
Orbit first.
 
@Pawnguy7 I am indifferent.
 
user1804599
DRM is good.
 
4:20 PM
It's hard to hate something on principle, you know. Awfully irationnal, when you think about it.
 
@EtiennedeMartel Good luck trying to make sense of PHP code, its all over the place.
 
@GamesBrainiac I wasn't talking to you.
 
user1804599
@GamesBrainiac It's about DRM, not PHP.
 
And anyway, stop hating PHP. If you dislike it that much, stop using it.
But stop whining about it.
 
user1804599
PHP is good.
 
user1804599
4:22 PM
Relatively speaking.
 
@EtiennedeMartel: I can't, my erm, employer wants a solution in php
Why can't they want one in django or flask or nodejs or all the other good stuff out there
 
user1804599
Tell him you'll kill him if you can't use a decent language. Then sleep with his wife.
 
@not-rightfold: My boss wants his wife dead. And his wife looks like a hag, not that I would even if she were erm, you know.
 
Xeo
@GamesBrainiac Tell him that you'll tell his wife if you can't use a decent language.
 
@Xeo: Now that, is a good idea! :P
 
4:25 PM
Nevermind, I think I was thinking of DLC. Not that I am entirely fond of the idea of DRM either - say, upgrading OS - but not sure how often it is a problem.
 
user1804599
Then sleep with his daughter.
 
user1804599
Fire him and become boss.
 
@not-rightfold: Whats with you and sleeping? Second he has no sons or daughters. He's miserable.
 
user1804599
@GamesBrainiac I guess it's time for an upgrade.
 
@not-rightfold From pimp to careers salesman! :P
@not-rightfold: What did those ponies do to you?
 
user1804599
4:27 PM
@GamesBrainiac They fucked me in my ass. :(
 
user1804599
lol
 
user1804599
@TonyTheLion Perfect job for you.
 
user1804599
> As you might have guessed from this posting title, we’re a very uptight corporation looking to steal your soul for 40 hours per week. We'll have you work on boring projects with horrible co-workers. We don't care about your ability but rather how early you begin work and that your shirts are crisply ironed.
 
@not-rightfold You don't have an ass, lol. -> Ahmed the Dead Terrorist
 
user1804599
Allahu akbar.
 
Xeo
4:38 PM
@not-rightfold lol
 
Now I'm getting undefined references to function templates and class template members.
The joy of mixing g++-snapshot with g++-trunk with different -std flags I suppose.
 
@LucDanton Anyone here smoke pot? Just asking.
 
Are you addressing me in the plural, or as if I were a place?
 
user1804599
So many mentions on Twitter.
 
user1804599
Good think I disabled emails from Twitter. :|
 
4:50 PM
@LucDanton lol, no. I'm just asking, has anyone tried pot?
 
Why address me at all then?
 
user1804599
@GamesBrainiac I know quite a lot people who tried pot.
 
> Look on my ass, it says made in China.
 
user1804599
And a few addicts.
 
@not-rightfold You don't get addicted to it.
I dunno why there's such a big thing against it.
 
4:51 PM
@GamesBrainiac Because drugs are evil dude... Evil!
 
@Borgleader: lol
 
Amazing, had a bug in make_unique all this time.
auto r = range::flat_map(
        [](int e) { return e < 5 ? range::erase(range::make_array(e, e + 1)) : range::null<int&>(); }
        , range::make_array(1, 2, 3, 4, 5, 6, 7, 8) )
^works but I suppose you can say goodbye to performance.
 
Is it a potential maintenance time-bomb to make a copy-constructor only do a shallow copy?
 
user1804599
Yes. It means you're using a language with copy-constructors.
 
@Mysticial Verily.
 
4:58 PM
@Mysticial that entirely depends on what the destructor does
 
^I agree. Rule of three and ownership semantics (or just semantics) go hand in hand, too, so you'll have to ask yourself what the class is for.
 

« first day (1045 days earlier)      last day (3915 days later) »