« first day (1617 days earlier)      last day (3338 days later) » 

10:02 PM
This is surprising to me. youtube.com/… . No cache load effects.
 
user1804599
Perhaps I should invoke the GC when a significant amount of the fibers are asleep.
 
When I ask my students to do measurements on their "roll your own" sorts and searches, the L2 cache is usually easily visible.
 
user1804599
But for now, let's just use operator new to allocate memory for objects.
 
user1804599
Is there a BSD, Linux or POSIX equivalent of Windows' GetWriteWatch?
 
user1804599
10:13 PM
> The collector can modify a thread's stack so that the return address points to a special function. When the currently executing method returns, this special function will execute, suspending the thread. Stealing the thread's execution path this way is referred to as hijacking the thread. When the collection is complete, the thread will resume and return to the method that originally called it.
 
user1804599
Nice.
 
@StackedCrooked Oh dammit, I forgot how good Durarara's ending is.
 
user1804599
Also, I could make the VM inline small objects assigned to immutable fields.
 
Excellent idea.
 
user1804599
Then the GC has to know about fewer objects.
 
10:20 PM
@Puppy I've never had lemon pie.
Sounds... Sour.
 
user1804599
@StackedCrooked It's complicated. Nice message ID, by the way: 22226666.
 
@Nooble theyre only served at lemon partys
 
@Nooble you've never had like, lemon merangue pie or key lime pie
 
@Pris Nope.
@Borgleader Lemon parties exist?
 
(either you get the reference, or you dont google it)
 
10:30 PM
@Borgleader FFS
I'm gonna pretend I never saw that.
 
i keep getting a flash plugin warning when i go on github wtf
 
@Nooble dude, i told you not to google it
y u no listen to me
 
@Borgleader I understood your message as: Either you get it or you don't. Google it.
 
thanks for the great boostcon video
 
user1804599
Aaaa stupid two-phase lookup.
 
10:32 PM
@Nooble oh... i guess i should have made it extra clear
 
@Pris I think they use a flash thingy to copy to clipboard when you click a repo clone url :)
 
Hi
 
Hey.
 
hi
 
hello
 
10:42 PM
c-c-c-c-c-combo breaker
 
c-c-c-c-c-combo rebuilder?
 
Hello Anybody or Everybody,

I was at the-definitive-c-book-guide-and-list and it said before suggesting any book, to come here first. Now, to me chat rooms are completely alien (i love to chat, but prefer to do it in person, that is, face-to-face, not even on the telephone), so forgive me if i don’t know how to make it work for me. If i don’t appear to respond, would you (someone) mind emailing me? (Is that a bizarre request?) I’m feumar@shaw.ca

Here’s my book suggestion: Object-Oriented Computation in C++ and Java by Conrad Weisert, 2006, Dorset House Publishing. I won’t explain why just
See? I've already messed up. I meant to sign off with Cheers, MF
 
Why would that book belong on the definitive list of C++ books?
It's not a classic.
 
I believe it fills a very useful niche. Are you familiar with it?
 
Nope.
 
10:47 PM
@martinf Okay.
What is your goal?
 
user1804599
struct {
    struct any_ptr { template<typename T> operator T*() { … } … };
    any_ptr operator+(std::size_t size) { … }
} gc_alloc;
#define gcnew ::mill::detail::gc_alloc + sizeof

T* x = gcnew T; // :)
 
user1804599
This should work very well!
 
user1804599
Wait.
 
user1804599
sizeof with types require parentheses. Fuck.
 
@Cinch Step 1 to world domination.
 
10:48 PM
wtf is this?
 
It is what it is.
 
user1804599
Is there some other way to have a type name in a postfix position?
 
@райтфолд Isn't that sort of implementation specific?
 
Well, respectfully, i suggest you (stackcrooked) remain silent. In the first case i'm only asking if it has already been discussed.
 
Dude.
 
10:50 PM
whos this guy asking stacked to shut up?
 
You're not making a good case.
 
@martinf What is your goal here? You come in and ask us for advice without telling us what you want
 
user1804599
I wrote static_cast instead of static_assert.
 
user1804599
The error message was very confusing.
 
> us
 
10:50 PM
Press the arrow at the end of my comment to reply to me, specifically.
 
@райтфолд When aren't they confusing
 
It seems that @Cinch feels like being one with the Lounge.
 
@Griwes inb4 Lounge<Cinch++>
 
You can't just start adding random books that nobody heard of to the list of classics.
 
@Borgleader Some dumb guy being all dumb! What does he think he's doing, being dumb in a no-dumb-people room? Outrageous!
 
10:52 PM
The list is intended to be a reliable source for quality material.
 
@cinch: Sorry, i thought it was clear: I want to ask if Weisert's book has already been discussed here. If not, i might propose it -- preferably back in the "safety" of SO itself.
 
If everyone adds their favorite book it would become a meaningless list.
 
@Griwes /promote
 
@martinf So you're asking whether a book should be added to the list?
Well a classic sort of requires it be well-known.
 
user1804599
@StackedCrooked I would add Modern Perl to the list!
 
10:53 PM
Well, you are a known lunatic. Don't worry we understand :)
 
user1804599
And Boris Beer!
 
user1804599
 
user1804599
Best book ever.
 
@martinf A quick search of the book's title reveals you are the only person to ever mention it in this chat. Does that answer your question?
 
@martinf Did you need help with something else?
 
10:55 PM
Can I do in place construction for a vector<T> element with emplace_back through another function without using forwarding and writing a special constructor for T?

void Func(???) { vec.emplace_back(???); }
 
Sorry for the delay -- i was looking for your advice on how to respond (clicking on something) but couldn't find it.
 
@CatPlusPlus You need to edit the Marmalade page to include the new theme for tomorrow's game jam!
 
@Pris Emplace back means that you pass the constructor arguments instead of the object. Technically passing the object itself will also work, since it triggers a copy constructor. But that doesn't have any benefit of push_back.
You don't always need forward.
 
@StackedCrooked I thought emplace does move instead of copy.
 
Anyway, you say "search of the book's title" but where / how do i search in here -- i'm completely ignorant of how chat rooms work.
 
10:57 PM
Forward preserves the lvalue-ness or rvalue-ness of the passed arguments.
 
@martinf Top-right corner.
 
Jul 6 '14 at 18:58, by Borgleader
@AaronKyleKilleen Public service announcement
 
@Cinch emplace means in-place construction. It's not the same as move.
 
user1804599
If I pass to std::sort [] (auto a, auto b) { … } should I return a < b or b < a if I want the largest first?
 
user1804599
It's so confusing. Python's sort interface is much better. It takes a key function and a reverse flag.
 
10:59 PM
I wonder if its reasonable to create a question on meta SO to propose an addition to the recommended C++ books list. It seems like one way the community can review/approve the addition
 

« first day (1617 days earlier)      last day (3338 days later) »