« first day (1056 days earlier)      last day (3897 days later) » 

12:00 AM
Andrei looks bored as fuck
 
> There is no font with that name. Choose a font from the list of fonts.
 
@Borgleader He hasn't a chance to speak so far, unless I missed something :P
 
Look me in the eye and tell me the font I picked from the list of fonts is not a font from the list of fonts you stupid piece of plastic.
 
Xeo
ahahaha
 
@Griwes he said something about use of ints
 
12:02 AM
Oh, I wasn't paying attention at answers to that question.
 
I think something is wrong with their client.
 
Xeo
missing some formatting, eh
 
@EtiennedeMartel lol you got that?
 
@Borgleader Yeah.
 
clearly a bug
 
12:03 AM
lol, poor gcc
so bashed today
 
clang is way better
 
Anyone here uses tmux?
 
Xeo
moar online question :<
 
What if I want to use unsigned to embed invariants in my interface because numbers can't be negative =/
 
@Borgleader You can't use it for that!
 
12:13 AM
today I finally learned what & and | are for
 
@Borgleader Because somebody might write -2!
 
At which point I can just say "read the fucking function signature!"
 
58 secs ago, by Borgleader
At which point I can just say "read the fucking function signature!"
 
@Borgleader How do you put "cannot be higher than 100" in the interface, then?
@Borgleader Doesn't matter. The compiler still won't prevent you from passing a regular int you got from someplace else. (i.e. you don't have to write -2)
 
12:17 AM
Chandler indirectly cited rule of zero :)
 
that's a different matter. My valid range is 0+. and passing int to uint should generate a warning. but wtv... i guess I'll just remove all the unsigned ints
 
@Borgleader That warning is too noisy.
 
Xeo
Andrei is just handing over the mike to Bjarne
 
With unsigned ints you can't assert(x + 1 > x) nor assert(x - 1 < x). Just don't do it.
 
@R.MartinhoFernandes but you can't do it with signed ints either I think
 
Xeo
12:20 AM
You can
 
Alright =/ I kinda liked the idea of implicitly telling the user "he this number should be positive". But oh well.
 
Xeo
Under- and overflow are UB, so don't think about them :D
 
And the second assertion fails on a very common boundary: 0.
 
Xeo
Oho :)
 
Go Fred!
 
Xeo
12:22 AM
@FredO's time
 
How difficult is it to figure out the size of an array and initialize it's value using a mathematical sequence, using a template/at compile time? I want to replace this initialization.
 
Hm, I don't think they understood my question. But hey, at least it got asked :)
 
Xeo
indices~
 
-7
Q: ¿sɹǝʍsuɐ puɐ suoıʇsǝnb uı ƃuıɹɐǝddɐ ɯoɹɟ ʇxǝʇ uʍop ǝpısdn ʇuǝʌǝɹd ǝʍ plnoɥS

Anderson GreenI've realized that it's possible to post questions on the Stack Exchange Network using upside-down text, even though it's not search-engine friendly at all. Would it be possible to implement automatic detection and conversion of upside down text on the Stack Exchange Network, to prevent such conf...

 
Xeo
12:26 AM
Somebody misunderstood something
 
Blacklisting a few characters is an interesting problem? — R. Martinho Fernandes 1 min ago
 
@FredOverflow I managed to shave off about 15% time off of my Shellsort impl by reworking the inner for-loop (for hsort) and precomputing the sequence values
 
> I only suggested this as a pre-emptive measure against this possibility.
lol
 
Did I hear extension methods for C++?
 
Xeo
overload([].begin, []begin)(container)
 
12:30 AM
@Borgleader awesome
 
Xeo
FWIW, I've lately been thinking about getting rid of member functions and instead use inline friend functions as a substitute, with explicit this parameters, just to unify the calling form :/
 
They use the Arabic Ẓāʾ, "ظ" for "j": wouldn't the Armenian Reh, "Ր", be better? — Charles Stewart Jun 8 '10 at 8:48
Does that arabic character looks like a j for anyone?
 
Xeo
ya
 
It looks nothing like a j to me.
 
Xeo
MOAR ONLINE QUESTIONS :(
screeny?
 
Xeo
Oh, I thought you meant the second one
:(
 
@R.MartinhoFernandes That's so obviously a J.
 
Xeo
No, doesn't look like a j to me
 
This is from fileformat.
The final and initial forms are similar but with small line on bottom right. I wonder what those people were smoking when they thought it would make a good upside down j.
@Xeo D unified the calling syntax.
void f(foo, bar); can always be called as some_foo.f(some_bar); and void foo::f(bar); can always be called as f(some_foo, some_bar);`.
 
Xeo
12:36 AM
yea
 
It's a breaking change to add that to C++.
 
@R.MartinhoFernandes Can't they also be called as members?
 
@R.MartinhoFernandes yeah, i find this really cool
 
Oh, woops, misread that.
 
> ...for small values of a hundred...
 
12:37 AM
Ok.
 
Yeah, I wish C++ had that.
What does it break other than SFINAE for allowing free functions to be called as members?
 
@chris It adds to existing overload sets.
 
@R.MartinhoFernandes Good point.
 
Xeo
Needs to be explicitly requested in some way to work in C++
[|f|](foo, bar) :>
 
I would still love it to be there, and explicitly is probably better anyway.
 
12:40 AM
void f(X *this); =)
 
Ugh.
@Xeo [| |] for quasi quotations, please :)
 
A unified keyword added before the return type would be nice imo, but that's just me. Adding a new keyword is always a tough go as well.
 
Xeo
It shouldn't be intrusive on the function, IMO
 
I prefer repurposing this as @Richard showed.
(Also mimicks C#)
 
Yeah, that works.
 
12:43 AM
@Xeo If you add a different calling syntax you can't really call it unified.
 
Although C# is void f(this X *x) IIRC.
 
I suppose we'd search the same set of namespaces that ADL would, when looking for functions with a this parameter?
 
And the pointer wouldn't be there.
 
the llvm installer runs a batch file that wants to copy a .props and a .targets file to "%ProgramFiles%\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\PlatformToolsets", but that doesn't exist, and I can't find where this is supposed to be located :/
 
I am posting a job for undergraudates, can somebody give an opinion on the flyer? docs.google.com/file/d/0B_D_fJ6VcC6McXhqSDg0SThuRVE/…
 
12:45 AM
the person on the right looks weird
 
@melak47 I'm asking the guys who wrote the installer :)
 
of course it is only a personal opinion
 
@RichardSmith :D (there is an MSBuild folder, but it contains no subdirs like that)
 
@Mikhail Why is Visual Studio pluralised?
 
@R.MartinhoFernandes typo thanks
 
Xeo
12:47 AM
meh, only 2 or 3 online questions. :<
Welp, GN over for today, time to sleep.
 
Other than that, looks fine to me.
I decided to change my machine naming scheme. Instead of females from Greek mythology, I'm now using Valar from Middle-Earth mythology.
 
And I missed the whole thing again ;_;
 
@Xeo Also, holy buttocks, it's almost 3AM.
 
I liked the last question.
 
@Mikhail s/breath/breathe
 
12:49 AM
@R.MartinhoFernandes My naming scheme is anything starting with a. Asguard, Albion, Ajunta-Pall, Adjutant, ...
 
Still wondering which box should be Melkor.
 
@chris Thanks that one is also a good point... fuck I don't know how to spell.
 
@RichardSmith actually, I think I found it...there is a directory structure similar to what the installer wants under Program Files (x86)...
 
Xeo
@R.MartinhoFernandes Yeah, will be a short night again
 
@melak47 How similar? We really want the installer to 'just work'...
 
12:51 AM
@RichardSmith well, I have C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120(also V110)\Platforms\Win32\PlatformToolsets
 
Xeo
... I just noticed: Hi zygoloid :D
 
@Xeo Hi! =D
 
Xeo
not attending GN in person?
 
@Xeo Nope, someone's got to hold the fort while Chandler is away ;)
Video feed is good enough for me :)
 
Xeo
I really like that they're actually doing these streams, unlike other conferences
 
12:54 AM
The panel's reaction to my nick name @ 9:16:33 :)
 
Xeo
heh
 
The chairs looked flimsy, but good thing is that none of them was overweight
 
@melak47 Word here is: try creating that directory, and see if that works. They're going to fix the installer to either do so or to sniff out the right directory to use.
Would be useful to know if VS12 will look in that directory
 
@Xeo Initially I read that as "not attending GN in prison?"
 
@RichardSmith yes it does, llvm shows up as a toolset if I do
 
12:59 AM
@Telkitty猫咪咪 That's because it's not a Linux conference
2
 
@melak47 Thanks!
 
@Borgleader do they have better chairs in Linux conference or people there are stockier?
 
5 hours ago, by Borgleader
user image
 
probably a description of the general population
 
@RichardSmith however... C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.targets(50,5): error MSB8020: The build tools for llvm (Platform Toolset = 'llvm') cannot be found.
that file doesn't even have 50 lines
 
1:04 AM
@melak47: ouch
 
@RichardSmith >_> the .props file uses registry values to find the LLVM install dir. the installer doesn't seem to have created any such registry keys though.
 
@melak47: it seems the problem is in Microsoft.Cpp.Win32.llvm.props:2, which tries to import a .props file that exists in VS2010, but not in VS2012
 
yeah, I just got to that part
so I need to have 2010 installed? ._.
 
@melak47: no, we want it to work with 2012 too obviously
@melak47: it might be possible to just tweak that <Import> line
 
"The current installer is built with MSVC 2012 and targets the MSVC 2010 C/C++ runtimes." <- that have anything to do with it?
 
1:13 AM
@melak47 yes. There were parsing issues with 2012 headers, so we started out targeting the 2010 headers and libs. I haven't been able to repro the parsing issues though, and it's likely you can avoid problematic headers (iostream =/)
 
Suggestion: in:
Microsoft.Cpp.Win32.llvm.props
replace:
<Import Project="$(VCTargetsPath)\Platforms\$(Platform)\PlatformToolsets\v100\Microsoft.Cpp.$(Platform).v100.props"/>
with:
<Import Project="$(VCTargetsPath)\V110\Platforms\$(Platform)\PlatformToolsets\v110\Microsoft.Cpp.$(Platform).v110.props"/>
 
@RichardSmith one V110 too much, $(VCTargetsPath) already adds the \V110
I think..
 
@melak47 Just forwarding information from someone else. Does that work without the added \V110?
 
testing..
well...depends on your definition of works
I could now select and apply the llvm toolset
but now my project has no properties anymore
 
@melak47: what do you mean "apply"? when i try to compile using that toolset, without the "extra" V110, I get this error:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\PlatformToolsets\llvm\Microsoft‌​.Cpp.Win32.llvm.props(2,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\PlatformToolsets\v110\Microsoft‌​.Cpp.Win32.v110.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
 
1:20 AM
@HansW did you restart VS after editing the .props file?
 
@melak47 no, i'll try that :)
 
I haven't needed to do that, I've modified them in place and it picks up changes
 
it didn't for me :/
if I select llvm, and hit apply...
I get this.
 
@melak47 you have llvm in your platform list o.O wizardry!
 
but it doesn't werk :E
 
1:24 AM
<Nevermind, they deleted it>
Some dude was advertising Notepad++ :v
 
lol
Did they release any VODs for GN2013 so far?
 
I recall seeing some low-quality versions by sehe in the Starboard
Other than that, no idea
 
@RichardSmith the rest of the .props file is problematic, still. it depends on registry values that are never created as far as I can tell.
 
Wow, SO is totally dead at this time :|
A spam answer got only 1 downvote before it was removed
 
melak47: the registery value should be created, but if it's not that's an orthogonal issue
 
1:36 AM
I tried replacing the paths with static paths and removing the conditional
still all I get is "error MSB4057: The target "Build" does not exist in the project."
 
All my bugs are caused by the compiler and neutrinos, I am perfect!
 
@RichardSmith @HansW I'm having more luck specifying the executable path and library dir in the project settings myself, this platform toolset thing doesn't seem to want to work...:/
 
melak47: yeah, sorry about that, we're looking at the platform toolset thing, but maybe it will take a while to get it working
 
Anybody seen Bartek recently?
 
No. I miss him :<
He's probably busy with work or something.
 
1:50 AM
@HansW it actually works, I compiled something! :)
but..no iostreams, or anything, eh?
 
> C9::GoingNative is a show dedicated to native development with an emphasis on C++ and C++ developers.
Good to know we're special.
 
Yes, and the good kind of special. Not the PHP programmer kind of special ;)
 
@chris (C++) and (C++ developers)
2
 
@R.MartinhoFernandes Oh. Geez.
English can be a pain sometimes.
 
The difference between C++ and C++ is the 0-width whitespace between the plus in the second one ;_;
 
1:57 AM
Hello
 
Hey
 
Hi from fencepost hell.
 
Sounds like a fun place to be
 
@melak47: nice! yeah, as chandler said, things are still very much alpha
 
c++ without a std library is...not that much fun :)
 
2:01 AM
@melak47: it's work in progress :) and parts of it work, just not all parts
 
what kinda timeframe are we looking at for either working with ms' v110+ stdlib, or libc++ working on windows? :p
 
@MohammadAliBaydoun Ah. It is interesting. I was waiting for him to help with the screensaver - or something. Anyway, I managed to fix it myself, then added lots of landscapes. I wanted to show him, but I haven't seen him since.
 
What is up with all these people leaving the lounge without saying anything =/
 
Who else left?
 
Well not really left, but Bartek is AWOL
 
2:10 AM
He's busy
 
I'm tired. Fuck working for 11 hours
 
2:23 AM
What makes those dots?
 
I think new messages since you've tabbed here
 
Line before the messages that popped up while the page was not visible (either you were in another tab or another application)
 
Ah. That might be useful.
 
I think I finally figured out why deleted messages aren't removed and instead remain with (deleted)
It makes the coding simpler :D
 
Probably.
I think room owners can also see what it said though.
 
2:30 AM
Yes room owners can see deleted chat messages
 
I haven't gotten much done recently. I suppose it is probably related to avoiding working on it, though. Strange thing is, I don't know why. I wasn't on a particularly hard part, and I still find it interesting.
 
@Borgleader I do that all the time -- especially if I get a call.
@Rapptz ...except that the last message before you left is always after the line (not sure if that's intentional or a bug though).
 
2:49 AM
@Borgleader because people don't feel they need to report to this lounge when they take a holiday from it?
 
@JerryCoffin I noticed that. Kind of bugs me. I have also gotten notification of new messages that were already checked, as well.
 
What's a better color choice: Dark Green or Dark Blue?
 
Depends what it is for?
 
@TheGuyWhoCouldn'tTalkToTheGirl which colours
 
a navigation bar on a web site.
 
2:51 AM
@TheGuyWhoCouldn'tTalkToTheGirl User-configurable FTW.
 
A combination of dark green header and light green page background vs. dark blue header and light grey page background.
 
You can user-configure any website colour, no?
Green? ewww
 
@JerryCoffin I considered that once, but it might also kill branding.
Well, if we are talking about the website offering it.
 
@Pawnguy7 Maybe -- if that's what it takes to make it right, then so be it.
 
I am looking for default colors. I am not sure if Green would work out well though.
 
2:56 AM
Hm...
Reminds me of Target.
 
Down in Liberia, facebook means a totally different thing~
 
@Pawnguy7 it hurts my eyes
 
There should be a Meta-Meta-StackOverflow where we can discuss Meta-StackOverflow
 
@MohammadAliBaydoun We do that here.
 
3:14 AM
@JerryCoffin People also discuss Chat in Meta sometimes, I smell Circular dependencies!
 
@MohammadAliBaydoun A graph with cycles.
 
-2
Q: image retrieval system report

user2752857Are you the irs developper ? If yes, can you please give me a link to download your project? Your recent report is really interesting and helpfull for me. Thanks from France, Francois.

can we close this as spam? it almost looks like it was posted by a bot
 
aww man, the videos from GoingNative still aren't available
 
@DeadMG Really? Damnit... I missed Scott's talk and I don't want to wait a week to watch it =/
 
3:29 AM
I missed the entire Second day
I fell asleep at 6PM and woke up at 3:30 AM (It was from 7 to 3:30 in my timezone)
 
well me too, but i was mostly looking forward to scott's talk, although it seems chandler's was pretty good too
 
3:58 AM
@MohammadAliBaydoun Pretty much the same here.
 
Hm.. I should stop trying to do the impossible
 
How do I work it? IT'S ALREADY WORKING!
8
 
lol
 
4:15 AM
Help me, I'm addicted to Cookie Clicker again because it has so much new stuff.
 
ban it from your browser lol
 
I remember when /v/ made that game
 
@chris Isn't that the "Candy box but somehow even shittier" thing?
 
Yep. That was actually the point of it
 
@DeadMG But upgrades! And achievements! And my obsessive compulsive completionist behaviour!
 
4:22 AM
@Borgleader If his datatype is greater than the cache line size, iteration over a vector could be as slow as iteration over a list, right?
 
@MohammadAliBaydoun I don't think so. Lists have indirections between nodes which you won't get with vectors.
 
@Borgleader There's that. I guess he would only need to use it if he needs a really, really big collection, because it's harder to find a block of contiguous memory as you go up :p
 
@MohammadAliBaydoun No.
 
@MohammadAliBaydoun It'll probably be a smaller speed gain than usual, but still some.
 
@MohammadAliBaydoun That's what deque is for.
 
4:24 AM
@MohammadAliBaydoun Who's "he"?
 
@Borgleader OP
 
@Borgleader Oh shit, I thought you were the person who commented on this question
 
@JerryCoffin You realize that's Blogbeard and not Borgleader right?
 
Blorgbeard and Borgleader. What are the odds.
 
@Borgleader Yes.
 
4:26 AM
Ok.
 
lol
Blorgbeard
 
@Blorgbeard Hi, I just dropped by to say hello because some people confused you with me. — Borgleader 11 secs ago
 
Kindly receive your free downvote.
 
Hail!
 
4:29 AM
@Catty You've already asked on Stack Overflow. I'm sure you've got enough views from there. ;)
 
fuck it didn't load T_T
 
Wow, I never knew deque was implemented like that. Knowing that would've been useful ages ago :V
 
@MohammadAliBaydoun In general, std::vector is only REALLY useful for C API interoperation. Else, deque is superior in virtually every aspect. Unless you're using MSVC, because their implementation sucks hardcore.
 
SAM
Hiii
 
@DeadMG You're overstating things a bit (to put it mildly).
 
4:46 AM
which part
 
@DeadMG The first (yes, MSVC's implementation is pretty bad).
 
ok
name one general use of std::vector that isn't C API interoperation that is not served better by deque
 
@DeadMG Well, deque gains a little in resizing, but loses on access to the data. If you're adding and removing data a lot, but only accessing a little, it's usually a win. For the fairly common case of picking a size, filling with data, then doing a lot of processing, vector wins pretty easily.
 
@DeadMG insertion in the middle?
 
@Rapptz Neither is particularly well suited to insertion in the middle.
 
4:57 AM
Isn't deque a bit worse for it though?
 
eh, not really.
@JerryCoffin I'm not sure that I'd classify requiring something like two or three pointer accesses rather than one to be a general-purpose weakness.
I think that you'd have to be doing some pretty extreme processing to justify picking vector purely for that
 
I think I'll throw in the towel for the time being.
Here's a condensed version of what I was attempting.
 
@DeadMG Then you don't know what you're dealing with. The only way is competitive at all is if you're storing all the pointers in registers. Especially on a relatively register poor machine (e.g., x86) that's a pretty high price. It's not (nearly) as bad on 64-bit, and hardly a concern at all on something like a SPARC or Itanic. Still a matter of high-end hardware to overcome a fundamental shortcoming of the design though.
That's not the only difference though. deque also uses an extra block of memory to keep track of the other memory blocks. Granted, its size is basically logarithmic, so it's not a huge deal, but it's still extra memory -- and to get decent performance at all, all the parts you care about need to be in the cache, so you don't get as efficient of cache usage either.
Don't get me wrong: I'm not trying to say deque is terrible for all purposes, or anything like that. I am saying it's not nearly as clear-cut of a win as you implied. When it does win, it's not usually by a huge margin either.
 
I don't use deque.
 
5:14 AM
@Rapptz It's frequently worth trying -- especially since substituting it for vector is often a straight drop-in (start with a typedef and it's often a one-line change). Especially when you have to collect a lot of data and only process it a little, it can be a fairly substantial win.
 
I used deque once for my BigInteger, but switching it to vector gave me a ~25x speed-up so I never used deque again
then again I did change something else, so the measure could be biased towards the other thing
I just remember deque being oddly slower (GCC 4.6 something...)
 
@Rapptz Offhand I don't remember exactly when, but I seem to recall gcc having a pretty poor implementation at one time (and, as mentioned above, VC++ still does). The problem in VC++ is using too small of blocks (something like 15 or 20 items IIRC). I've never tested it, but it seems to me an obvious strategy would be block sizes about like vector does -- each block you allocate is larger than the previous instead of them all being the same size.
A less aggressive size progression than vector uses might be in order though.
 
You mean, each increment is greater, right?
 
@MohammadAliBaydoun Yes.
For example, your first block holds 10 items. The second holds 20. The third holds 30, etc.
 
vector does 10, 20, 40, 80, 160, etc iirc (in your example)
that one's okay
 
5:30 AM
@JerryCoffin A geometric series sounds like something tricky to tune.
 
@LucDanton Yes -- that's why I mentioned an arithmetic progression.
 
I wonder if Microsoft recompiles their compiler with itself after compiling it with their old compiler.
 
@Rapptz Yes -- vector has to use a geometric progression (though anymore, a factor of 1.5 seems to be more common than 2). There's some advantage to its being smaller than the golden mean (~1.618...)
@MohammadAliBaydoun I'd say almost certainly yes -- in fact, compiling itself is part of the regression testing for many compilers.
 
@MohammadAliBaydoun Most compilers are self-hosting.
 
Xeo
Ugh... Too early x_x
 
5:42 AM
@JerryCoffin 16 bytes or 1 item per block, whichever is larger
 
Xeo
@JerryCoffin The block-calculation for indexing would become a lot more difficult then, though, no?
 
@JerryCoffin The issue with changing the block size is the indexing is problematic, and also, I'm not sure how you could handle that invariant when you're adding new blocks on to the front for O(1) push_front.
 
Xeo
@DeadMG Make those progressively smaller!
 
@Xeo I haven't really tried to implement it, but at least if memory serves there are some arithmetic progressions that are fairly easy to compute in reverse (so to speak).
 
@Xeo lol
 
5:46 AM
@DeadMG I think you'd probably start with the minimum at the first block, and each block you add before or after would increase similarly. Might make the computation a little ugly, but I don't think it would be too terrible.
 
@JerryCoffin Then you would run into the problem of not knowing the size of each block, because you can't know in what order they were added without maintaining an extra structure.
 
Xeo
Oh fucking hell. Somebody managed to kill the RAID our blog was on. And those geniuses were "smart" enough to put the backups on the same RAID, apparently.
@DeadMG You just need an index / pointer of the original first block, I think
And can work out the rest from there.
 
@Xeo An index per block would require reading each block to find the index.
 
@DeadMG You'd undoubtedly have to store a little extra data, but not a whole lot (maybe as little as a pointer to the "starting" pointer.
 
Xeo
@DeadMG No, just the index / pointer of the first block
 
5:49 AM
@Xeo If I have an index which is 5000, and the first block only does 0-200, this does not tell me which block has index 5000.
 
Anything before you index like any other deque, anything after you use the sum computation.
 
Xeo
@DeadMG That has nothing to do with having a growing series before and after the starting block - you already have that problem with just after.
9 mins ago, by Xeo
@JerryCoffin The block-calculation for indexing would become a lot more difficult then, though, no?
 
@Xeo That's not true. If you have just-after geometric series, then I can predict the size of each block without having to check it. If you have geometric in addition order, then I can't predict the size of each block without having to read it.
 
Xeo
You can, as long as you know how many blocks away from the starting one you are, in either direction, no?
 
@Xeo No. Even if I am at block 0 and the starting block is block 2, the size of block 1 depends on how many blocks are on the other side and when they were added.
 
Xeo
5:54 AM
Eh
 
if the addition order was 2-1-0, then it's geometric in that order. But if it's 2-3-4-5-6-1-0, it's essentially random.
 
Xeo
I thought the idea was to start the geometric series from the beginning for each side
 
eh
 
@DeadMG I think you're misunderstanding what I had in mind.
 
maybe I misread it
 
Xeo
5:55 AM
3-2-1-0-1-2-3
 
@Xeo Yes, that was the idea.
 
in any case, I don't think that geometric works for deque in the same way as for vector because inherently, deque can allocate blocks vastly faster than vector can because you can use a pool
if you used geometric blocks you would be blowing that advantage
 
Hm.. how is std::array a sequence container if it doesn't meet the requirements of it?
 
@DeadMG Most memory allocators already use a geometric progression of sizes, so that wouldn't necessarily be a huge problem.
 
Xeo
@Rapptz Which ones?
 
5:58 AM
@Xeo about 90% of them
 
Xeo
whut
 
Table 100 § 23.2.3
It says "Just because it stores them linearly" despite the fact it doesn't meet the requirements in the table lol
 
Xeo
Oh, all the different constructors
 
@Rapptz Read through 23.3.2.1/3. It's not a container and never claimed to be.
 
Xeo
> An array satisfies all of the requirements of a container and of a reversible container (23.2), except that a default constructed array object is not empty and that swap does not have constant complexity. An array satisfies some of the requirements of a sequence container (23.2.3).
 
6:00 AM
Array meets the requirements of Container
Also I didn't know the standard says to use vector and array by default too
 
@Rapptz Not so: "An array satisfies all of the requirements of a container and of a reversible container (23.2), except that a default constructed array object is not empty and that swap does not have constant complexity."
 
Yeah it's up there.
 
yay, polymorphic allocator and Standard allocator paper
 
Xeo
6:16 AM
Oh, apropos
> The need for the identity type transformation and backward-compatibility with the SGI library are still around, so this paper proposes two (mutually exclusive) options for nearly achieving both.
 
user1804599
Yay.
 
user1804599
They released a terrorist from jail.
 
Ell
6:38 AM
Yay?
Wtf
 
6:50 AM
@Ell Yay for justice and all those things.
 
morning :-)
 
a lot of the criminals get released from jails eventually
 
also
Yay, for once, I'm actually starting to feel better.
 

« first day (1056 days earlier)      last day (3897 days later) »