« first day (1810 days earlier)      last day (3154 days later) » 

3:00 PM
Follow in the footsteps of the chrono designers as you go along!~
 
@R.MartinhoFernandes just noticed a typo :\
 
ruined forever
 
@Mr.kbok Wait, HEY!
@BartekBanachewicz Hey! :c I wasn't that bad q_q
 
@Borgleader it's kinda surreal that it's basically the same D talk :|
or he re-hashed this talk from before...
 
Seriously, I just tried to make my vergesort work on bidirectional iterators. I thought it would be terrible since it uses std::distance all over the place without even trying to optimize it, but actually it consistently beats std::list::sort for almost every pattern.
It keeps surprising me.
 
3:10 PM
@Morwenn That's a tad unexpected.
 
Now I guess that optimizing this bidirectional version a bit more might be worth it.
 
yeah, time to try and make an optimization of sorts
 
@Morwenn selfsort? This -> researchgate.net/publication/… ?
 
@Morwenn 4¨w
4¨ws5
 
@bluefog No, selfsort is the name I gave to std::list::sort in this case since the list knows how to sort itself.
@JohanLarsson What.
 
3:19 PM
Ice cream keyboard is hard to use
@Morwenn Meant to write what about memory
 
@JohanLarsson That's the problem: it uses up to O(n) auxiliary memory and isn't even stable. And I guess that it may have a quadratic worst case even though it's less likely than for quicksort.
At the end of the day, it's still an hybrid between mergesort and quicksort.
 
user1804599
@Morwenn What does "(16 values)" mean?
 
@elyse The text has been cropped, I have to fix this. It's Shuffled (16 values) and Alternating (16 values). Basically, it's the same than Shuffled or Alternating but only with values ranging from 0 to 16.
 
Are you guys playing Nomic? @R.MartinhoFernandes
 
We've tried it before
 
3:28 PM
Now, making it work with forward iterators should be almost trivial...
 
Guys, do you get SSL warnings here: files.rmf.io/pub
 
Eh, no, it can't work actually since I'm using std::reverse. Too bad.
 
no
 
nope
 
@R.MartinhoFernandes no
 
3:29 PM
@R.MartinhoFernandes n
 
@Morwenn omggggg need std::forward_list support !!
 
@набиячлевэлиь I'm still unable to beat std::forward_list::sort with any comparison sort :(
Even the quicksort is slower.
 
@Morwenn Beat it with a Thompson butt
Carbine butts > comparison sorts for beating stuff
 
3:34 PM
And I suppose the only reason I beat std::list::sort is because I time with types small enough, so copying them is cheaper than relinking nodes.
 
Time it with 1000-element copy-only vectors
oughta be fun
 
@R.MartinhoFernandes wat do?
 
Ell
@R.MartinhoFernandes nop
@Columbo pretty good man
How is imperioxbridge? :V
I keep forgetting :(
 
@R.MartinhoFernandes Nope
 
@thecoshman I haven't seen that one. So :P
 
3:40 PM
> Metal™, Apple’s groundbreaking graphics technology,
ahahahaha, groundbreaking.
 
@ElimGarak it did, with the weight of its bullshit :)
 
@Ell Well, it would certainly be surprising if a NOP resulted in warnings. By nature, a NOP instruction should do...well...nothing. OTOH, years ago AMD optimized their implementation of NOP on x86 to the point that it broke a timing loop in Windows, so you needed to patch Windows to run on any AMD processor over something like 850 MHz.
 
> ™
That always gets me.
 
Lounge<C++>®
 
Lounge<C++™>™
 
3:42 PM
Lounge®<C™++®>®
 
@JerryCoffin Ah this -> keil.com/forum/58445
 
@R.MartinhoFernandes @sehe should remind you of this periodically (until such time where you have applied)
 
46 mins ago, by R. Martinho Fernandes
Sent.
 
Ell
What is SG? Something Group
 
is it normal that my C# 2.0 app loads mscoreii from 4.0?
 
3:45 PM
@Ell Study Group, brah
 
@Borgleader ha!
 
it’s where the committee members do their homework
 
@Mr.kbok Maybe it just fowardsimplementation from mscoreii 4.0 some of the time?
 
@ElimGarak Robot just wants to hit on britta
 
3:46 PM
@Borgleader Don't worry, we're all over him.
 
@Mr.kbok Shhh, don't make Robot's girlfriend jelly
 
@ThePhD or maybe that's why it's broken
 
@R.MartinhoFernandes Great success! \o/
 
Ell
@Mr.kbok m8 annie any day
 
@Ell yeah but that's not in the plot
but yeah
 
Ell
3:52 PM
Oh I get you now
 
When I tried watching Community (~3 episodes?) I didn’t exactly dislike it, but there was nothing in it that really made me come back. Is there a particular point when it becomes really good or something?
 
After a few episodes yeah
 
> fatal: protocol error: bad line length character: PuTT
 
@Mr.kbok how much is a few
 
AFAIK season 1 is ordinary, seasons 2 and 3 are cool
@LucDanton No idea, really
But I think it becomes cool earlier
 
3:55 PM
@LucDanton six seasons and a movie
 
lol
why the sharp wit, besides the funny
 
@R.MartinhoFernandes Sounds like a movie title (though some might think it was just a tad derivative of "Three men and a Baby").
 
FUCK
Did I unintentionally set up a mail forwarding loop?
 
@JerryCoffin I completely overlooked that was directed by Leonard Nimoy.
> Ce film possède un remake américain (Trois hommes et un bébé), et un remake indien (Heyy Babyy)
@AnastasiyaAsadullayeva ^
 
Ell
@R.MartinhoFernandes season six is so terrible though
imho
I didn't get through it all
I should watch though
 
4:02 PM
@LucDanton not sure which title is worse
 
all I know is that a man that goes by donglover can only be trusted
 
I have serialization functions for many types
should I pass a direction flag to each one (reading/writing) or split those? If I split, I have to duplicates all declarations (with enable_if etc). If I pass a direction, I have to give up const-correctness and potential direction-specific shortcuts
 
@Mr.kbok I don’t think there is a correct answer to this.
 
Any insight though?
 
The shortcut thing might be an indication that some types might need split functions though. Doesn’t mean every other one needs to as well though.
 
4:07 PM
My issue with splitting is that dispatching via overload selection and enable_if actually means that I have logic inside the declarations, so I'm duplicating code
 
@Mr.kbok I tend to favour the latter approach (or I would, if I had the tools for) because if you interpret such functions as specs they don’t violate const-correctness at least in spirit.
 
The issue with the latter approach is that you can't write direction-specific code at all, even if you dispatch afterwards
 
@Mr.kbok Oh I thought the SFINAE bits were for overloading on the type of arguments, not the direction. I would suggest making the difference between the unsplit version and split versions (for any given type) more obvious, e.g. different names or different arity.
 
@LucDanton Yes it's overloading on the arguments
ie I have an enable_if<is_range>, enable_if<is_enum_like>, etc
 
@Mr.kbok Hang on, I think I misspoke. I meant 'latter' as in 'I prefer an unsplit function'. I’m not sure what’s the direction about.
@Mr.kbok It’s no more duplication than ostream& operator<<(ostream& os, T const& arg); and istream& operator>>(istream& is, T& arg); are duplicates of each other. I.e. I get what you mean but I consider it innocuous.
 
4:11 PM
Sorry. I'm expanding is the use case more than necessary
 
To clarify, I will repeat that I favour an unsplit function but I would only write one so long as it’s correct for either uses. Otherwise, if the functionalities differs, I split. That’s the point of splitting.
 
So I need a mechanism to be able to split later
for instance an integer template parameter
 
We’ve actually talked about this sort of stuff with @Rapptz a lot. Are you aware of the 'Types don't know #' connection?
@Mr.kbok Later than what?
 
I didn't watch it.
@LucDanton I mean lower in the call stack.
 
@Mr.kbok It’s a paper/proposal AFAIR.
 
4:14 PM
oh, there's a video
I'll read the paper though
 
Fun fact: this is connected to the kind of generic programming as it’s called by the Haskell community that I mentioned earlier.
 
user1804599
@Morwenn hilarious
 
I think I'll go with inspect<int direction, T type>() and then inspect_read/inspect_write as needed
 
C++-world static reflection <=> Haskell-world generic programming, at least from afar
@Mr.kbok Get rid of the direction.
If you give a direction to the unsplit version, that’s an encouragement to discriminate on it. Which is wrong: you want the split version to deal with that.
it’s super important, it’s a pit of success thing
 
@R.MartinhoFernandes Hey, keep us posted about the Unicode work group stuff.
(please)
 
4:18 PM
> Alexej Harm 11 hours ago
I was disappointed to see so much boost.
oh youtube comments... (Niebler's talk)
 
@LucDanton but if the unsplit version has to call s split version?
 
@Borgleader laffo
 
@Mr.kbok When I do it it’s either/or. A type provides one or the other, but never both. So one may never call the other.
 
> I bet you are reading this post from your phone right now.
 
It doesn’t have to be a mandatory rule, and it can be more of a guideline. But that would be for weird exceptions.
 
4:20 PM
nope
> Even if I’m wrong, there is no question that you’ve done tons of other things on your phone today that have nothing to do with talking.
oh well then vOv
 
Porn can have lines.
 
@AnastasiyaAsadullayeva Do 'plugging to recharge' and 'unplugging after recharge' count?
 
"I bet this coin will fall on tail, and even if it doesn't, it probably would have if you had tossed the coin enough times!"
 
I want to redeem one immediate help token
How do i Discover LAN subnets without an address
Is it even possible without assigning random addresses
 
what do you mean
 
4:28 PM
I am on LAN, no address assigned. I want to find out what subnets are in use
 
You're not on a LAN then.
 
@BartekBanachewicz Well you would need to sniff the network
 
arp I guess
arp ping broadcast
probably?
I think most machines don't respond to broadcast pings anyway
 
4:35 PM
c++ constructors lacking deductions is very dumb
 
@jaggedSpire Iteration one of the firplace:
Looks like a pixelated blood spatter.
Need to get colors 'n' shit going.
 
Can do in Windows with no tooling?
 
user1804599
hi
 
@Mr.kbok It does do deductions? Just can't be explicit.
 
anyone of you guys worked on xna before?
 
4:36 PM
Or is that a C++11 thing...
 
@Bartek Is this an XY problem
 
@BartekBanachewicz No.
 
@ThePhD you can't deduce the class type
 
@Mr.kbok Extensively.
@Mr.kbok For which/
 
@ThePhD 3D?
 
4:37 PM
@Mr.kbok Both 2D and 3D, and even reimplemented Spritebatch in it.
 
@ThePhD you know make_tuple make_shared make_mayonaise etc
 
@Mr.kbok Oh, that.
 
@AnastasiyaAsadullayeva a solution is to go to admins
 
It's annoying
@ThePhD What did you use to make your models with?
 
@Mr.kbok "Make models with"? You mean like, from an authoring tool?
 
4:38 PM
Inb4 blender
 
@BartekBanachewicz Are you in a network without DHCP or something?
 
Max, for the VERY BASIC things I did.
 
3DS Max?
 
Yeah.
I believe natural winding order doesn't fit for Maya?
 
Which file format?
 
4:38 PM
Just OBJ, I hadn't gotten the grasp of animations yet.
 
Oh you can obj with it? It does materials?
I mean with XNA
 
I think I wrote my own importer in XNA.... let's seeeee....
 
Today I've managed to modify algorithms on-the-fly without ever checking bounds and without having off-by-one errors.
 
Yeah, I wrote my own OBJ loader.
But it's not like I had to: you can just pick up any of the HUNDREDS of model loaders around the 'net.
 
@R.MartinhoFernandes my GF is
 
4:41 PM
Hah, this code still has codepaths for the VITA.
Ah, fun times.
 
@Mr.kbok assimp for c++
 
In a network without DHCP Windows will pick an auto configured IP. If the network is configured to support that then it'll work. Otherwise you need to go ask the admins. If you want to guess the settings (such as DNS/Gateway) you need to sniff the traffic. As for the subnet you need to try them all but there are a few very common ones.
 
ass imp?
@ThePhD How does it work with the asset pipeline?
 
But really just go ask the admins
 
> 123 SRP†/month
I don't have a lot of SRP†s
 
4:45 PM
@ThePhD No you cant because some of them suck and dont work grumbles
T_T
 
@AnastasiyaAsadullayeva common ones more or less exhausted
 
> Perpetual license $3,675
 
@Mr.kbok You either override ContentManager and stick in your own functionality (I did to register my own loaders) ooorrr you make ContentProjects and then build and use those with your XNA game.
 
Well it's not like there are thousands of possible subnets anyway, you can try them all in a couple minutes
 
@ThePhD I assume you didn't buy it
 
4:45 PM
Nottally
This is a word i madę up
 
@Mr.kbok Of course not, I'm a student and free trials and stuff.
 
I thibk i have a fever
 
@ThePhD But then you need to build obj support in, right
 
@Mr.kbok Right. Which is to say, XNA doesn't come with it.
Though...
 
I have extended obj format for my needs
It's really simple
 
4:47 PM
Why not X or FBX though? Why did you choose a format that wasn't supported?
 
Fbx is good, but proprietart
 
Because I didn't need the X or FBX format and I was trying to understand some lower-level basic stuff.
 
Also you are asking thephd why he didn't make a reasonable xhoccd
 
xhoccd?
 
Choice dhh
Fuck me im sick cats sick
 
4:49 PM
@ThePhD Okay
So uh, wikipedia says the best choice would be fbx, which is a real issue because the fbx loader appears to be broken?? or maybe I'm the one who sucks
 
It's working fine
Why would it be broken
 
vOv, FBX is hard to work with.
 
Contrary to your mom
 
I remember when the FBX loader handed out by autodesk SEGFAULTED in release builds in C++. Since then I've just given up on it.
 
Build the examples first kbok
 
4:50 PM
@BartekBanachewicz Models appear distorded and/or rotated in stupid directions.
 
In example code?
 
No
 
So examples work fine and your code doesnt
Go figure.
 
I didn't try the examples
 
Maybe youre ingorningn some origin changes
Fbx has a lot of fields and options
 
4:52 PM
Also, I'm not interested in using the models from the example files???
 
Uh start with them
Only then try yours
Also 3d is hard and just use unity if you want to make a game
Writing your own rendering code is a sure way to not making any games
 
I would use unity if I hated programming
also Model.Draw() is hardly writing my own rendering code
 
Okey
Fuck when will this pill work
> id like to support on the order of 100 000s of tiles and 100s of players.
Gamudev.asse
 
funny how people want their game to support 100s of players where 0 people is interested to play it
 
user1804599
tw
 
5:02 PM
Model first, garner interest later?
and by model, I meant game mechanics rather than visual appearance.
 
Those mmo rpg people have no idea for mechanics
I'd know I was one of them
 
lol I can't English, plus my microphone sucks
 
my second version of the stag serializer is much much more terse
 
@elyse "tactical wank"?
 
prolly going from 300 lines to 100
 
user1804599
5:09 PM
@BartekBanachewicz twitter
 
user1804599
but forgot to hit control+T
 
youporn beurette
ah shit not again!
 
Ell
takwank
 
user1804599
@fredoverflow nice
 
@fredoverflow great
 
5:11 PM
@fred add colouring of boxes basing on type
 
"Your browser does not currently recognise any of the video formats available."
 
Ell
@fredoverflow have you had to write a C compiler in java for this? o.O
 
"You can't actually pass arrays in c"
 
user1804599
@fredoverflow in void f(int p[static 6]) { ... }, is p a pointer or an array?
 
5:14 PM
You can. You just need to copy them to the stack memory and use an appropriate calling convention
Prolly ub but who cares, still funnier than c
 
@Ell Basically yes, but I chose Kotlin over Java.
 
Ell
Ah kotlin sorry
 
@fredoverflow Nice English & nice content.
 
@BartekBanachewicz What?
 
user1804599
You can pass arrays as elements of structs.
 
5:20 PM
You can also come to Java's funeral and stay for the afterparty.
 
@elyse I don't C99 :(
 
How is scala going to work with Java? Or do they have a JS version?
 
@ThePhD /cc @Nooble
@Mikhail what.
 
/without
 
Scala compiles directly to JVM bytecode
no need to ever use Java in it
The JVM != Java
 
5:29 PM
If Java dies, so does the JVM?
 
@elyse Pointer
 
user1804599
@ʎǝɹɟɟɟǝſ :(
 
cpx
@fredoverflow: Have you wrote a compiler?
 
14 mins ago, by fredoverflow
@Ell Basically yes, but I chose Kotlin over Java.
 
cpx
5:33 PM
A C compiler?
 
More like cimploler amirite
 
user1804599
PHP exists for over 20 years now.
 
user1804599
Nice.
 
> A declaration of a parameter as ‘‘array of type’’ shall be adjusted to ‘‘qualified pointer to type’’, where the type qualifiers (if any) are those specified within the [ and ] of the array type derivation.
> If the keyword static also appears within the [ and ] of the array type derivation, then for each call to the function, the value of the corresponding actual argument shall provide access to the first element of an array with at least as many elements as specified by the size expression.
 
Computer science cheat sheet http://bit.ly/lS6S1 // more of a math cheat sheet for computer scientists
cool but yes lol
 
user1804599
5:34 PM
cool
 
very nice
 
user1804599
I should install PHP 7.
 
@AlexM. It's one of those links I'll store somewhere to make me feel safe, but I'll never ever open again.
 
you can print it and put it on your desk
 
I would still not look at it again.
 
5:36 PM
> A rather eerie and unsettling cartoon/live action Public Service Film produced by the Civil Defense Department trying to education the good citizens of the USA on what to do after a full fledged Nuclear Exchange.
 
@ʎǝɹɟɟɟǝſ I have a dedicated directory for such things named "programmers treasure chest"
I read maybe 10% or less of the content in there
 
spelling is too mainstream for milleniumbug
I have a directory of books to which I go from time to time and continue reading
it's ez because pirate
 
hmmm, it was originally "programmers_treasure_chest" (no spaces)
@AlexM. adding apostrophes would break the "alphanumerics and underscores only" filename (most of the time I don't care, except here I found it nice to make all the things have consistent filenames)
 
5:54 PM
SO question "how do I get std::thread support with mingw", I answer and tell him about mingw-w64, "thanks I'm going back to Visual Studio"
 
@cpx small subset of C, yes
 
user406009
Hmm, what do you guys think about the conflicting desires of flexibility and simplicity? Do you find minimal or more complex internal APIs better?
 
@Lalaland I hate Design Patterns.
 
5:57 PM
Rough translation (with fixes for the ridiculous amount of typos): "I don't know where she got those stats but in downtown Montreal I see 9 muslims out of 10 and it's gotten to the point where I'm happy to see a n*****" (no, I won't even quote that word)
 
nigger? (don't honestly know)
 
That word, yes.
 

« first day (1810 days earlier)      last day (3154 days later) »