« first day (1629 days earlier)      last day (3302 days later) » 

9:00 AM
@райтфолд is that a flat out no go for language or just that the Oracle JVM doesn't support it. I can't see why the language would restrict it.
 
user1804599
Just wait for Mill. It will support it.
 
@райтфолд is that your turd of a language?
 
user1804599
What's a turd?
 
o_0
 
Try google images :P
(NSFW)
 
9:02 AM
@AndyProwl he he he
 
Morning everyone
 
Why NSFW?
 
well, it depends, I guess
you may not want your colleagues to see you admiring a catalogue of craps
 
They already know about my fetishes
 
do you know everyone's colleagues? :P
 
9:05 AM
You got me there.
 
@AndyProwl this seems to be the part people often don't get about 'nsfw', sure your place might not care, but your place isn't everyone else place.
 
Right. FWIW I'm at work and I was browsing the catalogue
But I also have a wall behind my back, so apart from the guy sitting next to me, no one sees what I'm browsing
 
@thecoshman If you work at linux.org, microsoft.com might be NSFW, should you put NSFW at it too?
 
Which is good, otherwise I wouldn't be able to be in the Lounge most of the time
 
@AndyProwl yeah, entire room to my back so around 40 odd people could get curious at the brown tone
 
9:08 AM
lol
 
@khajvah no you dipshit, you use some common fucking sense
 
@khajvah because polite
 
ITT cosh going full puppy on khajvah
4
 
@thecoshman wooooow, didn't expect that :D
 
Yay!
I finally eliminated the explicit dependency on Boost.Any!
 
9:11 AM
@khajvah you didn't expect out right stupidity to be met with no flowers?
@Cinch implicate dependency is probably worse
 
> our?
 
@thecoshman It's still in the file path to have it explicit
But Boost.Any is a header-only library so it's not too bad.
 
@khajvah Please see Thecoshman English Reference for disambiguation.
:P
 
@Cinch I was joking :P
@AndyProwl you coming to uncon2.0?
 
@thecoshman I can't tell anymore.
Either way: Here's Flexiglass. The library is under 200kB and the final test exe is still under 200kB with or without optimizations:
 
9:14 AM
lol -1 on a (now deleted) answer by Herb
 
@thecoshman I hope so. Can never say with 100% certainty, but I'm counting with it.
 
oh wow, my 1TB hard drive is so glad that it's <200kb, 551GB free just ain't enough for 300kb binaries.
 
@MarkGarcia Coshmans Referential Anti-confusion Pamphlet
 
> flgl::Event* e = new flgl::Event("Event", "Text");
Gross.
 
@Puppy muh minimalism
 
9:15 AM
@thecoshman CRAP
 
@Griwes Oh that's just for demonstation purposes.
 
@Cinch No.
It's gross.
It's terrible. Especially when for "demonstration purposes".
 
The point is that the Event object will most likely have a use case like that.
 
No.
 
@MomotapaLimpopo ¬_¬ so begins the worlds slowest slow clap, the hands will contact each other in a few decades
 
9:16 AM
@Cinch Unless the intent is to demonstrate that you're a moron, I don't think it worked.
 
There's new and delete.
 
It will most likely be allocated on the stack or moved or copied to an Event_Queue object.
 
And a retarded push_back(*e);
 
@thecoshman i'll be waiting
 
So no, there's no use case like that.
 
9:17 AM
@Griwes So emplace?
 
...
The point is the pointer part.
It's absurdly useless.
 
@MomotapaLimpopo lol
 
And far less efficient than just creating a local object while we are at that.
 
and furthermore
 
@Griwes Well whatever.
I can easily change that.
 
9:18 AM
No "whatever".
 
the most obvious thing is that there's absolutely no comparison to boost::signals2.
 
Do we have a new derpstorm
 
@Puppy Duh.
 
which appears to be strictly superior in every way.
so it's hard to see who you're intending to target here
 
@Puppy Read the README.
 
9:19 AM
inb4 no
 
The self-deprecation is in the first two paragraphs.
 
I am reading the readme.
 
> Flexiglass is a generic event system with a very light footprint. With just the C++ Standard Library and Boost.Any, this little event system can help you with probably nothing, as you can probably just roll one more expansive and better-performing than this one.
 
Also blergh, the unpack thing screams "this is type unsafe".
 
github displays it automatically.
 
9:19 AM
It's terrible.
 
oh that's src/readme.
you have several different readmes?
 
@Griwes How would you unpack it in a type-safe way?
@Puppy Yes.
 
> this little event system can help you with probably nothing
 
@Cinch By hiding the unsafety below some code.
 
@Griwes How would you handle such a thing? An error code? Exception?
 
9:20 AM
lol error code
 
@Cinch No - move the check to compile time.
 
not pointlessly dynamic enough.
 
Like I basically did here (tested by this)‌​.
You use a type as a key, and since the type defines what's the type of the value, all the checks (modulo bugs in the underlying implementation) are done at compile time.
 
Is there any way to discard changes in git other than git stash?
 
git reset or something
 
9:22 AM
git checkout HEAD
git reset is for unstaging changes.
 
oh
alright
 
if you staged the changes you want to discard you may need to unstage them before checking out HEAD
 
I can never remember what all these git commands do.
 
@Puppy Makes sense, great.
 
and furthermore
 
9:22 AM
@Griwes hm...
 
you might need git checkout . HEAD or git checkout -- HEAD or something like that, if you want to discard all changes
else make sure you check out only the stuff you actually wanted to check out :P
 
ok, thanks
 
Oh, so you're enumerating your types?
 
@Cinch What I really mean is, there's no motivation for the design. If you just wanted to educate yourself about events, you could just re-implement boost::signals2 instead of all of this queue nonsense.
 
@Puppy It's a mini-project.
I also haven't used Boost.Any rigorously and I haven't managed to do any sort of repo creation until now.
 
9:25 AM
@Cinch Since stuff like that usually has a well defined format (so well defined types and such), I can use types to define other types, and use them almost like values despite C++ being retarded when it comes to using types in that way.
The types of values passed with your events are also going to be well defined.
So the goal you should strive for is to preserve as much type information as possible.
 
@Griwes Meh.
 
creating a repo with something worth keeping in it is better than creating a repo without anything useful in it
 
@Puppy No, the point is that I didn't even really know HOW
 
@Griwes He wants it to be pointlessly dynamic so he can fail to design it
@Cinch How to create a repo?
 
@Puppy Yeah dude.
I'm like really a noob.
 
9:26 AM
well
 
Ask @райтфолд he's very good at creating repos
 
I didn't either.
 
This was also my first time really building a C++ library.
 
So that static checks of your code can be done (and you can avoid getting runtime type errors after half a year of running on customer's hardware).
 
but the contents of the repo are somewhat orthogonal
 
9:27 AM
@Griwes The point was to use the string as the type but that's hopelessly inefficient...
 
@Puppy Yeah, I've noticed that.
@Cinch ...what
Reread what I said.
 
But the point was to have an extensible type design that was parametrized using the string.
 
which basically means that he won't design the system.
 
@Cinch That makes no sense.
 
Unpacking would be bound to some other scripting language so that the unpacking itself could be defined dynamically.
 
9:28 AM
FYI you CAN extend your application when you are using types as keys or whatever.
 
The procedure would be scripted.
 
@Cinch I... what.
 
That way I can define the structure of my data structures using scripting.
Or, like a protocol.
 
scripting very good for defining data structures and protocols
 
@Puppy I've now lost any hope he will understand anything ever.
 
9:29 AM
i approve of this choice
 
@Griwes Nah, I think that after he fails to achieve anything with Python bindings and such, he'll come around.
 
We do have a new derpstorm
 
it'll just take a few years.
even I wasn't birthed into this world being the genius I am today
 
@Puppy I don't get why you're so negative. Just let me trip on my own ideas.
 
that's what I just said, I believe.
 
9:31 AM
Also, since this is just a messaging system, it's not really defining a major static data structure.
 
it should be.
 
Yeah but then refactoring and then having to rewrite code...
 
all of which are completely normal things to do during development of a system.
the trick is to write re-usable components that are separated from each other as much as you can.
like boost::signals2 doesn't give a shit about Python bindings or anything like that, so you don't have to refactor it if you decide that Python is way more trouble than it's worth.
 
@Puppy Mine neither.
The binding will go on top of it.
 
@Cinch The entire point of your system is to support it. If you take out Python, it would be possible to use something vastly superior (like boost::signals2).
so they may not be explicitly coupled but they are implicitly coupled, since it would be different if you didn't use a pointlessly-dynamic language binding.
 
9:36 AM
@MomotapaLimpopo link?!?
 
@Puppy I don't have to use a scripting language.
I could simply just create functions to unpack it in the manner I want.
 
@Cinch No, you don't. But if you didnt, it would become completely pointless.
 
(it's already completely pointless given boost::signals2::slot<boost::any(boost::any)> but that's another matter)
 
Sorry, it has worked, it's a server, please ignore my comments *bangs head on desk. Thank you :) — jewfro 1 min ago
gosh
 
9:38 AM
you would have a bunch of code with a design with no motivation and could be buggy or broken or limiting for absolutely no purpose.
 
@Puppy it need to return the data...
 
I don't get it. A csv file is 1.5 mbs. After I fill the data in python dictionary, it becomes few times more.
 
There's more information in the dictionary.
 
@Cinch That's kinda weird, event handlers usually return void (and for a reason) but boost::signals2 can handle that.
 
@khajvah do you think the csv maps 1-1 in memory?
 
9:39 AM
@MomotapaLimpopo lol - quite old but still. I wonder whether MS has prohibited him of participating on SO
 
He is question banned
Herb vampire
2
 
@Puppy they have "combining strategies" instead (if I remember the term)
 
@MomotapaLimpopo I expect python dictionary to be a heavier but not that much
 
Store the csv file in a string, that should improve memory usage.
 
Better, store it as a bool!
 
9:41 AM
@sehe Yeppers.
 
@khajvah How are you measuring this anyway?
 
bool b = csv_file_found;
 
Yes it is. MSVC isn't really good with c++11 yet :( Fix it: Livesehe 5 secs ago
 
@Cinch Also stop with the Awful_Case_Naming madness.
 
@R.MartinhoFernandes sys.getsizeof().
 
@Puppy That's nice. E.g. for "bubbling event routing"
 
@R.MartinhoFernandes You print it out and then weigh it.
 
@Rapptz It's unclear from the test cases whether I can bind a templated function to a Lua function, similar to any_cast<T> from Boost.Any
 
@LucDanton yay
 
9:48 AM
Are there any problems with object pooling ?
 
yeah you need to keep the water clean regularly
it's a lot of work!
also some objects are quite sensitive to chlorine
(not to mention those that can't swim)
 
The worst are the ones that pee in it.
 
@Cinch how do you do templates in Lua
m8 pls think before you ask
As an aside, time for me to go sleep.
 
@AlexisKing: Gosh, why be so rude over an April Fool's joke? Calm down, man. — Lightning Racis in Obrit 21 secs ago
 
I guess nobody gives a shit about my question, ALRIGHT!
 
9:51 AM
^ Wrote this before going onto Alexis's profile, which I then saw says:
> Transgender programming language nerd and Lisp hacker extraordinaire
inb4 my use of the term "man" starts a fucking shitstorm
cos equality
 
sexist hog
k bb
 
@Rapptz Good night.
 
9:53 AM
@Rapptz uh... you don't?
 
@Borgleader meh
 
@khajvah You had to guess?
 
> I'm trying to cast a uint64_t (representing time in nanoseconds from D-day using a boost chrono high precision clock)
from D-day wot
 
oh cockmonkeys
 
found in a school
 
10:00 AM
collecting my prescription!
 
this crap, honestly
 
that's what I forgot to do
 
when's the last time boys were allowed to walk around school with their bellies, shoulders hanging out
although, Lounging aside, there's a good point in there somewhere
meanwhile, back in fun land...
 
@LightningRacisinObrit in the Land of The Free, I assume boys could wear more revealing clothing like a vest.
 
shame "school system" didn't teach "me" how to form a plural
 
10:02 AM
@LightningRacisinObrit What's wrong about rape culture though? It's one of the most important agro industries.
10
 
@TheForestAndTheTrees not in a school with a dress code, no
 
@Puppy I think you mean Spider Monkeys, and those are the ladies ;)
 
@TheForestAndTheTrees unless by "Land of The Free" you mean the non-Free USA, in which case I have no idea
 
@MomotapaLimpopo no, just no
 
@MomotapaLimpopo :giggle:
double pun, too
 
10:03 AM
@LightningRacisinObrit yeah it was an ironic ref to the US
 
@R.MartinhoFernandes that needs some context for sure
 
Yeah still confused if templates can be used in Lua
 
I am an idiot. I just realized
 
> Gaff had been there, and let her live. Four years, he figured. He was wrong. Tyrell had told me Rachael was special: no termination date. I didn't know how long we had together. Who does?
Hi.
 
@TheForestAndTheTrees ;)
@R.MartinhoFernandes what?
 
10:08 AM
(there, have a horrible line)
 
why are you quoting Blode Chunder, Robat?
 
@LightningRacisinObrit It's the last line in the theatrical release of Blade Runner.
 
yes thank you but why
 
Because it's horrible!
 
10:11 AM
> error: 'visibility' attribute ignored [-Werror=attributes]
That’s a nice error, I floated a static member function to namespace scope and forgot to remove static.
 
obj c y u so confusing :'(
 
gg usa
inb4 how do you know it's usa
 
why do people call me to ask for my opinion wrt to products I've never used
 
@LightningRacisinObrit Those bloody yanks, right?
 
where do they get my number from
why do they act disappointed when I tell them to gtfo
is the expected outcome for me to not tell them to gtfo or sth
 
10:17 AM
try not to say 'gtfo' but be polite like a decent human being
be less peppy and more robat
 
@AlexM. They paid a lot to have the databases with your info stolen and they expect some sympathy and cooperation in return.
 
@LightningRacisinObrit lol, that must be a joke
 
you want a joke?
 
10:20 AM
Can’t + two string_view, rip.
 
@LightningRacisinObrit DAT edit
 
That one
 
I swear to god I have no idea what I'm writing here
I just write what seems to be the most Obj-C-ish thing
and hope it will compile
 
@AlexM. I have been doing that since I started programming.
 
10:29 AM
still better than doing the back and forth Java-C++ for Android though
at least if things go fucking bad with Obj-C I can just dump C++ in it
 
@AlexM. Are are developing for ios?
 
atm yes
hopefully I'll be done in an hour
and switch to sth else
 
@LucDanton string{view1} + view2 should do though, right?
 
@LightningRacisinObrit Love the batteries
 
10:37 AM
yah
 
@AndyProwl Nah. The proposed changes in std::experimental don’t 'infect' std. (There are other reasons that Library Fundamentals haven’t touched string_view-related concatenation, too.)
 
@LucDanton How so? Based on what I see here (under "Wording for TS2") string_view is supposed to have an explicit conversion operator to string
 
room topic changed to Lounge<C++>: Days-old topic loungecpp.net/the-law/newbie-hints [c++] [c++11] [c++14] [c++-faq]
 
I mean, it's not necessary to infect std for string{view1} + view2 to be valid
(at least I think that's what the conversion operator implies)
 
I should go to a gym
 
10:46 AM
@AndyProwl Ah, keep in mind we’re dealing with std::basic_string and std::experimental::basic_string_view. Template argument deduction and conversions won’t play nice in this case.
Only thing that can match a (deduced) foo<Args...> parameter is a foo<Args...> argument or a type derived from it.
 
Wouldn't deduction happen through the first argument (string{view1})?
both lhs and rhs of operator + are supposed to be instances of the same basic_string instance
 
Mar 25 at 1:25, by Luc Danton
Anyone has a clue as to why the relops are overloaded with undeducible arguments? E.g. for operator== there is (basic_string_view<C, T>, basic_string_view<C, T>) and (identity_t<basic_string_view<C, T>>, basic_string_view<C, T>) (ditto right parameter).
Mar 25 at 1:28, by Luc Danton
k it’s to handle the conversions from std::basic_string<C, T, Alloc>, in all likelihood
 
That's for string_view, right? Not for string
template<class charT, class traits, class Allocator>
basic_string<charT,traits,Allocator>
operator+(const basic_string<charT,traits,Allocator>& lhs,
                const basic_string<charT,traits,Allocator>& rhs);
 
So an operator+(std::basic_string<CharT, Traits, Alloc>, std::basic_string</* same but under identity_t /*>) overload would in fact catch your example, but not otherwise
@AndyProwl It was an similar situation that happened to be fortuitously connected.
 
If the template arguments can be deduced from lhs, then the... oops... explicit conversion should take place for the second one
I fail
So it has to be string{view1} + string{view2}
 
10:52 AM
Well I went full manual with a call to reserve and all. (It wasn’t just 2 operands being smashed together.)
 
Makes sense
 
@Rapptz I finally figured it out.
You are amazing, sir.
 
> OK, I made a compromise... a shitty tip, but I left my number PLUS a crude penis drawing next to it. That oughta do the old trick
 

« first day (1629 days earlier)      last day (3302 days later) »