« first day (1733 days earlier)      last day (3215 days later) » 

12:00 AM
given by English-speaking ! Lol!
I speak french (first language), english (2nd), and as well spanish (3rd).
 
you're very welcome
 
thank you!
your good compared to some other people in this room...
 
i know
 
does anyone else want a holiday too?
 
12:02 AM
dont say the name but ... i hate cats since I met one few minutes ago
 
@R.MartinhoFernandes howdy feller
 
Yeah! Me another!
 
What's up.
 
Ell
This place is full of hatters
 
My birthday is July 23rd so no Holiday until this :(
 
12:03 AM
what is this unconference?
 
My birthday is tomorrow.
 
Happy holiday all!!
 
Ell
And my phone is draining quicker than charging
 
@Ell true
 
Ell
@R.MartinhoFernandes nice
 
12:03 AM
Hatters?
 
Ell
Happy birthday for then :)
 
thanks !
 
@R.MartinhoFernandes We need to bake you a cake! And then abuse it's copy constructor so everyone has a cake.
 
thats nice this is Holidayly day!
Everyone is happy!
 
Ell
Mad hatters
 
12:04 AM
thanks to nick who brings this joyful idea!
Hatters?
 
yes yes thanks to me and Robot
 
what is that
Robot ?
 
R. Fergie Fernandes
 
Ok
What a joyful evening ! So happy ** :) **
 
anyone in here in the SF bay area and want to give me your car for a day?
my butt will have touched the seat for a full day
 
Ell
12:09 AM
My battery is dead
 
rip
 
RIP a sad holiday :'(
just made a Tandem rent at my job
The joy is vanished or I missed somthing major ?!
 
12:31 AM
...
 
@nabijaczleweli is causing trouble in my Minecraft server.
 
@Nooble You're not even on right now!
 
@nabijaczleweli Yes, which is why your "causing trouble" levels have increased.
 
@Nooble I'm just farming m9
 
@nabijaczleweli Farming for trouble.
 
12:40 AM
@Nooble Come on the server and see it! It's p hilarious and useful at the same time
 
WTF Minecraft!
 
@Marc-AntoineJacob What about?
@nabijaczleweli Let me guess: you've made a farm in the shape of "Nooble is stupid"?
 
@Nooble No, I'd do it with "Josh is stupid"
But no either way
 
A sign?
 
@Nooble No. Well, sort of. But not what you're expecting
 
12:47 AM
posted on July 15, 2015 by Stephan T. Lavavej - MSFT

In addition to implementing a whole bunch of features in VS 2015's C++ Standard Library, we've also fixed a whole bunch of bugs.  A year ago, I listed the STL fixes in VS 2015 CTP1 .  Now, it's time to list the STL fixes between CTP1 and RTM.   <functional>...(read more)

 
Hehe STL.
 
STL fixes: fixed lisp when saying "tomato" closes #420
If STL writes STL, does that mean he's meta-meta-programming?
 
1:05 AM
@nabijaczleweli no that means hes playing with himself
 
Why does STL keep referring to himself as "The STL"
 
itself*
 
holy shit
sometimes you find gold in urban dictionary
"mother's day and motherfucker's day"
 
1:33 AM
stb_truetype.h v1.06: optimizations (about 35% faster on my machine) https://github.com/nothings/stb
 
1:56 AM
Oh
C++ is interesting here. But just here.
 
2:07 AM
Go shitpost elsewhere.
 
who? me?
 
No
 
Him.
 
I think my plonks are showing
 
I kinda wanna make a python package.
 
2:11 AM
> <random> Fixes
hehe
> system_category().message() now uses FormatMessage() to stringize Windows error codes (DevDiv#1101599/Connect#1075847). This provides more detailed messages for many more error codes than the table we previously used.
@Rapptz u happy now? :D
 
No.
The issue isn't MSVC. It's libstdc++.
MSVC always had better behaviour (for std::system_category, I mean).
 
Er, default to MSVC! :P
 
Btw. Some food for thought:
^^ First test program to use ymp.dll.
 
Delicious coloring.
 
At some point in the future, assuming no road blocks, I plan on putting that on my Github along with the ymp.dll. No ETA though.
 
2:23 AM
@Mysticial Great success! :D
 
I spent a weekend implementing some of the other constants and formulas for fun. Because of the RAII abstraction layer, I could basically do anything I wanted in a much smaller time frame than if I were to do it in y-cruncher.
Of course that tends to come with a 50% - 3x performance hit.
Literally, pull an algorithm off the internet. 10 min. later, I have an implementation of it - parallelized and everything.
 
@Mysticial Eh... are we still talking about ymp here or just you being a badass at implementing stuff
 
The former.
 
Hmm Im confused, maybe its due to lack of sleep.
 
@Mysticial shhh That's blasphemy in the face of the RAII gods.
 
2:33 AM
@MarkGarcia Yeah. Most of the overhead is memory management. Though a lot of it involves (difficult) optimizations that I do in y-cruncher, that I didn't do for the test app.
So for me, it's seems pretty useful as a research tool as I can experiment with tons of stuff.
 
I doubt the performance hit is due to RAII.
 
Depending on what I'm testing and which ymp.dll I'm using, VTune tells me that most of the time is being spent on page faults to uncommitted memory.
Which is exactly what you'd expect from allocating a lot of memory and touching it once or twice, and freeing it.
And I currently don't have a mechanism to allow for external allocators.
 
this reminds me that I haven't done the decimal thing yet.
 
@rightfold I just realized - there are two type of 'roots' I must support: global references (previously named just root), and global weak references - both must update the pointers
 
There's still a lot of big things that need to be done: cross-dll exceptions, an integer class, allocator replacement, etc... The only one I consider a blocker is the big integer class. (which btw, y-cruncher does not have since it's exclusively floating-point)
Exception handling isn't absolutely required. Right now, I catch them at the DLL boundary, serialize it to a string and rethrow it as a string on the other side. Not optimal, but better than simply dropping it or letting it fall through.
The allocator thing is entirely on the user-side. There's no memory allocation inside the DLL (with a few negligible exceptions).
 
2:48 AM
posted on July 15, 2015 by Scott Meyers

Today I received my copy of the Polish translation of Effective Modern C++. It proudly joins the German translation on my bookshelf and, I hope, soon the translations into several other languages. Like the German translation, the Polish edition uses only one ink color (black), so I believe that if you're comfortable with technical English, you're probably better off with the English (Americ

 
hrm nah
 
Ooh, it's been a while since I checked on SFML. Mobile support at last!
 
 
2 hours later…
5:24 AM
@Mysticial memsetting it won't help?
 
@StackedCrooked Memsetting doesn't solve anything. The page faults are unavoidable unless you completely avoid memory allocation in the first place.
Which is what y-cruncher does. It calculates exactly how much it needs and allocates it all at the beginning. So the memory only needs to be committed once and can be reused forever.
But that kind of programming is a huge burden on the programmer. So it's not acceptable as a library.
So I'm actually supporting both use cases. (RAII, and bare metal)
Though I anticipate that nobody will use the bare metal interface.
 
I suppose you could have make pool which does a big allocation up front, and then create allocators which take memory from that pool.
 
Yeah. I'm not exactly going to try to write an efficient and thread-safe pool allocator.
 
3 hours ago, by Mysticial
And I currently don't have a mechanism to allow for external allocators.
 
Once I add support for custom allocators, I can dump that problem on the user. :)
The good thing is the "bare metal" interface allows me to push all the memory allocator on the user-side of the DLL boundary. So anyone who wants to use a custom allocator only needs to modify the headers that will be provided with the .dll.
You can read more about the RAII vs. bare-metal here: numberworld.org/ymp/documentation/objects.html
Now that I've linked it, it's gonna get indexed - well before it's ready. And well before the interface settles down. lol
 
5:57 AM
To give you an idea. My (simple) BigFloatO implementation of the inverse square root is 30 lines long and does memory allocations all over the place. The optimized BigFloatR implementation is 600 lines and does no memory allocation at all.
Granted, half the additional complexity is from "difficult" optimizations that are only possible with BigFloatR.
 
Can instruction cache problems occur with the long implementations?
Like if you have a really big stream of instructions.
 
This is all high-level code. All the time is spent in low-level code which is optimized to hell deep inside ymp.dll.
This is what the profiler looks like for 250 million digits of Pi:
There isn't a single thing in "NumberFactory.exe" until a 100 lines down.
 
malloc and free are high up there I see
 
I take that back. 2 and 3 is threading overhead.
And the 1st line takes all the memory commit page faults.
 
6:20 AM
@Mysticial What profiler is that?
 
VTune
 
7:12 AM
Hello, completely new to C++ but has a Java background. What happens when you try to place a string on a char variable that has lesser space than the word. Say char[10], and stuff in the word "tutorialspoint".

note: tried it on an IDE, print it, but it still shows the whole word "tutorialspoint" i was expecting it to only print "tutorialsp".
 
user1804599
@Mysticial stop calling free and buy more RAM.
 
s/buy/download/
Though I sense a word play there.
 
user1804599
@LeeJeong Show the actual C++ code instead of a vague English description.
 
user1804599
Also, never use C-style arrays. If you want to store a string, use std::string. If you want an array, use std::vector<T>.
 
0
Q: Overflowing char array overwrites the exact same string every time - why?

AbhiI have the following code that shows the dangers of using char arrays over strings: int main(){ char password[] = "SECRET"; char msg[10], ch; int i = 0; cout << "Please enter your name:"; while((ch = getchar()) != '\n'){ msg[i++] = ch; } msg[i] = '\0'; ...

 
7:15 AM
@rightfold problem is this is an existing code, so i have to make as minimal change as possible. wait for code
 
user1804599
Well, given you have well-covering unit tests, refactoring code is certainly possible.
 
@Mysticial new job so far so good :)?
 
user1804599
> #include <stdio.h>
 
user1804599
stopped reading there
 
user1804599
7:20 AM
this is not C++
 
> Your estimated delivery date is: Monday, July 27, 2015
 
that is? c onlyl?
 
@AndyProwl for what
 
baby obv
 
7:21 AM
lol
 
andy jr
 
20 hours ago, by Andy Prowl
I bought a rubik cube yesterday
 
user1804599
lol
 
7:34 AM
Speaking of delivery
 
@AndyProwl oh sure, but it's awesome isn't it :D
 
@thecoshman for some definition of "awesome" :D
 
I'm in the eye hospital. Glad I brought the tablet,. I'm blind typing this because I can just see the virtual keyboard but can hardly make our the letters in the chat messages
@AndyProwl you have been pirate Rick rolled
 
@sehe old man problems?
@AndyProwl oh sure, it's got hardly any story line, but it's awesome!
but maybe you only like films with deep hidden meaning vOv
@R.MartinhoFernandes have you used your 3d printer much yet?
 
7:41 AM
@sehe still doing a better job of me typing on a real kb in front of a desktop, good job!
 
@Prismatic spoiler, it took him three hours to type that
 
@thecoshman in symptoms yes. Genetic condition really. I'm in for loads of fun related to mostly joints and eye sight (connecting tissue issues)
 
Is it weird to have an API where you expect the user to provide a callback? I'm doing some OpenGL stuff and I want to batch geometry, but I dont know anything about the geometry in advance since its completely specified by the user. Is it reasonable to require a callback be specified for merging geometries so I can batch them?
 
@Prismatic Oh it just takes ages. Also swype is really good
@Prismatic sinds reasonable. Call it a strategy or policy. Of course in c++ just use type parameters for idiomatic code and ~~purrformance~~
 
@thecoshman No, not necessarily, but if something other than shooting and crashing and shouting and splattering happens as well, I don't mind. What this film left me is like the sensation that a grenade just exploded 5 meters away from me
 
7:47 AM
@sehe Genetic things kinda suck, you're just shafted from the start. My GF has genetic glaucoma.
 
it's just a huge "boom"
 
@AndyProwl I know! It's awesome isn't it! Maybe intense is a better word
 
To be honest even Gravity was mostly sensory overload (TM) to me
 
@thecoshman Yeah probably better
 
@sehe Didn't go to see that, didn't appeal to me.
 
7:48 AM
I thought of you though when I saw that guy playing the guitar :D
 
@AndyProwl he loves his job doesn't he :P
 
@thecoshman the good news is, these days the diagnosis is known . The bad news is you can't change anything. Just love with it. Knowing more could help. I suppose
 
@sehe That's nothing compared to this thing
 
I believe you
 
@sehe nice typo :D Sadly my GF wasn't diagnosed to rather late, so her one eye is reduced to a very blurry tunnel :\
@AndyProwl you wanting to watch the others now?
 
7:51 AM
@thecoshman I've got two letters for you :D
 
@AndyProwl ye
 
haha, almost
 
@thecoshman dam. It's all blurry
 
@sehe well... she has another eye...
 
@AndyProwl fu?
 
7:52 AM
That's it
 
@thecoshman pirate style
 
Have a presentation in 10 mins and I know it's going to be terrible
I'd better go rehearse. Later guys
 
@sehe no, it's real one, in her face and at the right place and everything :P
 
May 20 at 1:40, by buttiful buttefly
That's Pitbull not Andy
^ confirmed
 
7:53 AM
@AndyProwl Later.
 
@AndyProwl just put your hitler video to keep'em busy
 
lol
that'd probably work wonders :D
 
if SO had tags for users, I'd just put "Hitler" on @AndyProwl
 
@FlorianMargaine They wouldn't understand it I'm afraid
 
All the better
 
7:58 AM
@sehe All the butter
 
All the bitter
 
All the butler
 
All the butte
 
Temps de battu
(Ballet connaisseurs be cringing)
 
user1804599
What is LCO in optimisation?
 
user1804599
8:01 AM
> Do my functional implementations permit LCO and hence avoid adding unnecessary frames onto the call stack?
 
probably means "TCO"
 
user1804599
oh, "last call optimisation"
 
user1804599
weird name for TCO
 
oh, indeed
 
> using GeometryMergeCallback = void(*)(GeometryBuffers&);
 
8:03 AM
oh git svn fetch how I love the way you leak memory like a 90 year old leaks in the bed.
 
I think the new 'using' stuff is one of my fav things about c++11
 
@thecoshman lol?
 
@Prismatic Everyone's quite fond of... using it.
 
@Griwes it's not funny :\ It's like it keeps a copy of files it's working on in ram... but will not release them when it starts to run out.
 
@thecoshman o.O
@MarkGarcia oh you
 
user1804599
8:10 AM
130
Q: What optimizations can GHC be expected to perform reliably?

glaebhoerlGHC has a lot of optimizations that it can perform, but I don't know what they all are, nor how likely they are to be performed and under what circumstances. My question is: what transformations can I expect it to apply every time, or nearly so? If I look at a piece of code that's going to be ex...

 
user1804599
So cool.
 
user1804599
8:34 AM
If I can prove that a generic subroutine satisfies parametricity then I can optimise out passing of type arguments by turning the generics into subtyping and inserting a downcast of the return value at the callsite.
 
user1804599
It's like turning reified generics into erased generics!
 
can any function returning T be viewed as a constructor for T of some sort?
 
Ell
Depends
Is T copyable?
 
irrelevant
 
what do you mean by 'viewed as a constructor'
 
8:47 AM
Constructor works in-place
 
a function returning T might be considered a factory function
 
'might'
 
so, forgetting the details about memory placement for a moment, any function returning T is basically a consctructor of T, right?
 
@ScarletAmaranth In what language?
 
Well, no, constructor initialises already-existing object
 
8:49 AM
in general
 
Some languages define what exactly a constructor is.
"In general" is usually kind of useless.
 
no it isn't; not releasing videos from Cppnow is tho, @Griwes!!! :P
 
@Griwes Don't project your tunnel vision on others
 
@ScarletAmaranth vOv I'm not the one post-processing them. Want to know when they'll be up? Ping Marshall Clow vOv
 
just conceptually - having any function f returning T is basically having a way to construct T given arguments the function takes
 
8:51 AM
@CatPlusPlus lol
 
user1804599
@ScarletAmaranth classes can be seen as functions taking constructor arguments and returning objects of themselves as type.
 
@ScarletAmaranth Depending on how you define "construct" :P
 
Ell
@ScarletAmaranth sure then
 
Ell
Anything retuning a T is a constructor of T
 
8:51 AM
Factories return new things, constructors are all the 'init' methods and shit
 
user1804599
In Python you can see this very clearly as classes are literally functions.
 
@rightfold yes, yes - this; so they're technically just functions
 
Ell
Operator+(int a, int b) is an int constructor
 
@rightfold And __init__ is the constructor and it doesn't return anything
 
Ell
String::size() is an int constructor
 
user1804599
8:52 AM
@CatPlusPlus yes.
 
well, un-initiliazed "objects" are quite silly
 
And yet they exist, and the split is quite important
 
you either have some useful T or no T, uninitialized T - a wanna be would-be T...
 
Initialiser/finaliser is more general than ctor/dtor
As in C++
 
@thecoshman sounds too improbable
 
8:54 AM
template<typename MrT>
 
Are you misinterpreting process starts
 
Oh good, C++ jokes are here
 
user1804599
HTML rowspan is terrible.
 
user1804599
<tr>
    <th rowspan="{{ len(xs) }}">...</th>
    {% for x in xs %}
        {% if not loop.first %}<tr>{% endif %}
            <td>{{ x }}</td>
        </tr>
    {% endfor %}
 
Also; opportunity to contribute a fix right there @thecoshman
 
8:56 AM
Your table is horrible
Not rowspan
 
user1804599
What is terrible about it?
 
Using rowspan.
 
why don't function symbols evaluate to their respective objects in CLisp? Is it because of the different namespaces?
 
@Veritas ?
 
@Prismatic I pity the foo bar?
 
9:06 AM
I spy a wild@ScarletAmaranth
 
inf
I destroy USB port. — AnaHumid 3 mins ago
 
@FlorianMargaine In clojure I can do (map - '(1 2 3 4)). In Clisp I have to hash-quote the negating function and I got confused for a moment.
 
@sehe yeah my poor GPU died a while ago and I was a bit computer-less for like 2 weeks; horrible times
 
Also I just remembered how I hate when doctors stick needles in you and inject studs
 
depends on where the needle goes
 
9:08 AM
@ScarletAmaranth Oh that's all the rage it seems. @Nooble did the samething if I recall
@ScarletAmaranth Oh just the right arm and let hand this time
 
@sehe that's not too bad; there are more obscure places they enjoy sticking needles into
 
ffs goddamn lenovo
breaking the deal with the only service depo in my area
what were they thinking
 
@Veritas ah, yes, #' is confusing
 
thinking about it's probably needed to explicitely look into the function namespace.
 
@ScarletAmaranth eyes would be the worst I can think of right now
@BartekBanachewicz profit, methinks
 
9:17 AM
@sehe the white part of the eye (whatever it's called) supposedly feels no pain - still could be "fun" seeing a needle closing in on your eye :P
 
@Veritas ' is a macro for quote, e.g. 'foo is (quote foo), #' is a macro for function, e.g. #'foo is (function foo)
these 2 are different
it's not related to namespace
 
@sehe the guy in the depot told me they'll prolly resume the repairs around autumn
sound like an oversight more than anything else
 
@Veritas look at the hyperspec for both, you'll notice the difference
 
@sehe I might look into it yeah. I doubt it is caching files like that. Just seems to slowly take more and more ram until the fetch fails, then you can just start it off again
 
Likely just memory maps. It could easily be all virtual
But the fact that it fails indicates a problem.
Get commit bit :)
 
9:21 AM
> We have just discovered that the Epic Games forums located at forums.epicgames.com were compromised by a hacker.
 
@FlorianMargaine I was thinking why we can't just use the function name.
 
@Veritas because it then treats the name as a variable, and it's unbound
stopping the evaluation makes sense, it's like passing a function reference instead of calling the function
I'm unsure on why this behavior happens though
 
@Florian isn't - bound to a function object?
 
31 secs ago, by Florian Margaine
I'm unsure on why this behavior happens though
:-)
 
9:26 AM
After speaking to a modern database dev, howfuckedismydatabase.com/nosql/fault-tolerance.png
 
is there a difference between declaring <type>* <variable name>
and
<type> <variable name>*
 
@BartekBanachewicz epic hacking
 
@LeeJeong Yes, the latter is ill-formed
 
lol nosql is modern database now?
 
but are the functionality the same?
 
9:28 AM
@Veritas my guess is that it treats any argument as a variable
 
@LeeJeong The latter is ill-formed
 
@nabijaczleweli ok, can you elaborate on 'ill-formed'... i perceive it as a bad 'writing' practice. was that correct?
 
@FlorianMargaine yea that's what I concluded. Quoting works if the function can be looked up in the environment later, hash-quoting simply provides a function object so it also works with scoped bindings.
 
Great I can't remember if I took anti-runny-nose magic pill today or not
 
9:31 AM
@Veritas quoting gets the symbol, not the function
 
> ill-formed program
program that is not well formed [1.3.9@N4296]
 
@Veritas hash quoting provides the function object, as you say, so it's just an object that can be passed around
 
@Ell for this instance, they used the form for function parameter like move(int * test)
 
What is with people and zero reading comprehension
 
@FlorianMargaine I understand quoting, that's why I said that it works if the symbol can be unambiguously treated as a function name alter on.
 
9:32 AM
@thecoshman It's supposed to arrive today. Again.
@AndyProwl Have you watched Children of Men?
 
@R.MartinhoFernandes Yep
I think it was a few years ago though so I don't remember it very well
 
user1804599
parseMessage :: ByteString -> Maybe Message
parseMessage input = do
    sepIdx <- ByteString.elemIndex 0 input
    let (topic, payload) = ByteString.splitAt sepIdx input
    return $ Message topic (ByteString.tail payload)
 
user1804599
do notation. <3
 
Ell
@LeeJeong <type> <variable-name>* is not correct c++
 
9:39 AM
im sorry, someone already told me it was not C++, it was C.
 
@R.MartinhoFernandes oh well, you'll get it eventually :D
 
@LeeJeong It's ill-formed either way
 
@LeeJeong ir's not correct C either
 
@R.MartinhoFernandes that was a depressing movie
 
@R.MartinhoFernandes again
also a game about colonization could be nice
but so many projects to finish first
 
9:42 AM
http://t.co/7GfmJGwSYA
 
> "This is one of the reasons why I believe in Christianity : It is a religion that could not have been made up" - C.S. Lewis
I found a funny quote
 
thanks guys! :)
 
@BartekBanachewicz It's just a great sequence.
@Columbo Have you watched any of the Narnia movies (or read some of the books, maybe?)
 
@R.MartinhoFernandes It's a kids movie, so maybe years ago.
 
Aslan is Jesus.
Not making this up.
Spoiler alert.
 
9:44 AM
@R.MartinhoFernandes You couldn't have.
 
@Columbo I think Lewis really meant that.
 
@R.MartinhoFernandes I know, which is why it's so shocking IMO. I couldn't believe it at first.
C.S. Lewis does sound like a comedian, doesn't it
 
Ell
@R.MartinhoFernandes I don't think it's a spoiler, it's extremely thinly veiled
 
It's not just an allegory.
In-universe, he is literally the same entity as Jesus.
 
@R.MartinhoFernandes My sister just got robbed by a guy on a motorcycle, he also took her passport
Was it you seeking revenge on the world
 
Ell
9:50 AM
@R.MartinhoFernandes oh right lol
 
@Columbo gosh
@R.MartinhoFernandes Jesus dies spoiler alert.
 

« first day (1733 days earlier)      last day (3215 days later) »