« first day (934 days earlier)      last day (4243 days later) » 

09:02
Heh, nice. How long did Telkitty last? I have seen him here for only few weeks.
Months
I must have missed the paragon of debauchery :((
Is that the PHP room?
We are the paragon of debauchery
Be cool to whip that phrase into some random conversation at work
Xeo
Xeo
Btw, can somebody explain me why I woke up at 5:40 today?
I feel like my brain is trolling me
6:50 yesterday, 5:40 today...
@Xeo What time did you go to bed?
Xeo
Xeo
09:12
So am I gonna wake up at 4:30 tomorrow or what? :|
@TonyTheLion 1:30
Xeo
Xeo
I said "fuck it" and went back to sleep, though
Still, why the fuck was I even awake
I couldn't tell why you wake up, but eventually you'll be tired enough to have a good night sleep
so this too shall pass
Xeo
Xeo
Well, I did manage to sleep until 7:30 after that
@Xeo: Love life problems? :)
Xeo
Xeo
09:13
lol, no
do you have a gf?
sorry for the invasion of your privacy
debauchery: Archaic Seduction from morality, allegiance, or duty.
heheh
meh.
Oh what... I watch my dog for a moment and when I turn my head my message is gone.
You guys are
monsters
Proper monsters
lol
we're monsters, true, but this is the C++ Lounge, and you come in here, perhaps for the first time ever, and ask a RoR question. Seriously?!
How does it even cross your mind that this will be even remotely accepted?!
Xeo
Xeo
What's going on?
Wait wait wait. Not the first time. This is like the fifth time. Briefly, but five times!!
09:20
@Xeo I binned his message asking for books on RoR
Xeo
Xeo
lol
Aw c'mon, just wanted to see if you had a preferred RoR book
@Omega well, I don't recall you, and also, you should come in here to chat casually more often before daring to venture in question territory.
@Omega And someone else jsut wanted to get rid of the message
@Omega We don't care.
09:21
You were talking about... uh.. let me take a look.... WHAT TIME DID YOU GO TO BED?!
Xeo
Xeo
So what?
So what what?
@Omega SO you are making teh judgment call that your question about a book is much more important to the people talking about what time they went to bed, than their discussion of what time they went to bed?
What entitles you to make that call?
Xeo
Xeo
Please let's not get into this discussion again... we're not obligated to answer each and every question, and we don't care why you're asking it here - if we don't like it, we'll remove it.
2
basically this ^
09:22
@jalf: I'm doing no judgement.... In fact, it is the other way 'round..... my question was the only thing judged!
Xeo
Xeo
I hope you understand this and will not further argue about it.
Because that's just a waste of everyone's time.
I know you're not obligated, so no worries!
I just asked in case someone somehow cared, so don't worry
Good, now join us in more casual random conversations :)
Okay,
what's your preferred...
fiction
book
=D
Erm.. I'm not really a book reader, so I have no preference
I only tend to read technical books
:|
09:24
I went to bed at a reasonable enough time, but didn't sleep until 2 am because some fuckers were talking loudly outside
screw them
oh that sucks
@TonyTheLion: I see. Let's talk about technical books then..... What's your... dunno... preferred RoR BOOK?!?!!
:D
I don't do Ruby
I know nothing about it, besides the fact that it may exist
I write C++ code for a living
Xeo
Xeo
@TonyTheLion s/write/debug/
2
You know, you could just go to Amazon.com and look for a book
@Xeo yea that
09:26
I'm a student and I'm damn lost looking for a preferred language D:
54
Q: Ruby (and Ruby On Rails) book recommendations

dottyWhich ones are the best books to learn ruby and rails?

Wow, look at that.
took only one Google search
I don't know why you have to come bother us with it
30 seconds of work on google that you couldn't be assed to do yourself.
yea, not too uncommon for newbies to do that
09:27
But
Lol
My trie implementation is such a mess.
You're assuming I didn't Google nor read that question...
my debugging is a mess
I did..
What if I just wanted to know more? Say, from you?
@Omega yea, which isn't a flawed assumption to make
09:28
It's an unordered map in an unordered map that contains a set...
@Omega We don't know. C++ is not Ruby
Xeo
Xeo
@Omega Aaaand... we told you we don't know.
@Omega So... you come into a Lounge called C++ to ask about a Ruby on Rails book recommendation?
So, instead of trusting the book list compiled by actual RoR programmers on the biggest Q&A website on the internet, you figured asking a half-dozen C++ programmers would give you a better result?
Xeo
Xeo
Guys, please. :(
09:28
Are you purposefully trying to ditch common sense?
Oh I know. I was just wondering, so I asked - whether you knew or not was fine
....
TABLES.
ALL THE TABLES.
@jalf: I figured that this half a dozen of C++ coders might know something nonetheless. Every little opinion matters, I suppose
@ThePhD Chairs?

Ruby on Rails

Arena for Ruby on Rails Developers to Collaborate & Ideate !!
ask there
Xeo
Xeo
09:29
map flip tables
Thanks!
this needs a table flip, seriously
Where's the coshman and his tableflips when you need them? D:
@Omega I'm glad most people don't think like that. We'd be really busy if everyone needed our opinion on everything just on the off chance that we might know something. "Form an orderly queue, please! We'll tell you which breed of dog to get as soon as we've dealt with this gentleman asking for a recipe for banana cake"
2 hours ago, by thecoshman
(╯°□°)╯︵ ┻━┻
09:30
Woo!
@ThePhD (ノಠ益ಠ)ノ彡┻━┻
I am not here to serve you
o.0
Wow that table flip looks extra angry.
¬_¬ it gets angrier
@jalf: I'm glad too, that means I get more attention ;)
> // This library attempts to use portable C++, so threading is not possible.
lol
09:34
C++03, maybe.
Okay, so I have a basic Trie.
.... Now what?
hi Robot
09:37
@jalf oh, I like cake
@ThePhD 'Trie'?
I made red velvet cake
Like, 3 pans of it.
I've made one of those once, god lord does it use up the food dye :P
I've never made cake :(
well, it was cupcakes... but same idea
@R.MartinhoFernandes lolwutwat?
09:38
@Omega then you have no soul
@jalf I am just dumbfounded that that happened. Shouldn't have plinked you for that. Sorry.
hahaha
@thecoshman I haven't made cake either.
I suppose I can try making cake one of these days. But I fear that someone might die.
@TonyTheLion again, no soul
@Omega well, that soul isn't free
There must be a simpler way to get a soul these days
09:43
Uh
Damn
I don't know what to do with this value anymore. ;~;
Guys
When you do an emplace_back with variadic arguments,
Yes, Derpstorm
are you expecting that the value be moved in or copied in?
@Omega bake cake -> get soul... how is that hard?
09:45
And if the value already exists in a certain place, how can you "replace" the value properly?
@ThePhD depends if it's a thing that qualifies for moving.
@ThePhD exists in what place?
@thecoshman: I... bake..... cake.................
........ don't get it.
@thecoshman: I... bake..... cake.................
int get_soul() { return 4; }
auto my_soul = bake<cake>();
@TonyTheLion: That's the same code used for random number generation! xkcd.com/221
09:48
@Omega welcome to the internet, where the jokes are repeated and the jokes are repeated.
Souls are not random! I think.
Xeo
Xeo
@ThePhD Which "value"?
@Omega well they sure as hell don't make sense
We're just too naive to understand these.... these....
.... things
..
@thecoshman Sure as hell, eh?
09:49
hmmmm
this bug is boggling my mind
@R.MartinhoFernandes shhh... logic is of no concern here
@TonyTheLion you might even say... it's bugging you ... lol lol lol
@R.MartinhoFernandes for some people, hell is a certainty :P
@Omega speak for your self, I am more then capable of talking bullshit about bullshit
@Xeo Don't mind me, I'm just massively confused... I'll sort it out later... /cc @TonyTheLion
@TonyTheLion there is a word for those people, 'idiots'.
09:51
@thecoshman I'm not sure if I should interpret that as "idiots for believing in hell in the first place" or "idiots are the ones going to hell"
I think I'll get myself a brand new copy of the Bible to read before sleep
@ThePhD oh I'm surprised :P
To hell with RoR
@thecoshman It's an associative data structure that gets values by parsing sequences or by checking existence by simply parsing sequences and efficiently determining if they are in the container. My horrible first try at a Trie
09:52
@Omega fucking hell, getting a RoR cannot possibly be that hard?!
Reading before sleep is the stupidest idea ever.
@R.MartinhoFernandes I read Reddit before sleeping
@TonyTheLion well, both work. Hell is a construct believe by idiots, thus only idiots can conceptually go to hell.
@TonyTheLion: I don't know, I haven't even tried :P
Xeo
Xeo
template<class... Ts>
void emplace_back(Ts&&... vs){
  maybe_regrow(1);
  ::new (_last) value_type(std::forward<Ts>(vs)...);
}
09:53
Trie's are meant to provide fixed O(n) cheap lookup time for a sequence 'n' long.
Xeo
Xeo
@ThePhD ^ is the gist of emplace_back
Exhibit A: I decided to read before sleep yesterday; went to sleep at 5AM.
@R.MartinhoFernandes why?
Xeo
Xeo
@R.MartinhoFernandes Oh, a buddy of mine did that too
Though he went to sleep at 4:30
when his alarm rings at 6am
09:53
@R.MartinhoFernandes When I read books a lot I usually stay up way into the nights and the mornings and skip a whole lot of sleeping.
Tomalak o'clock here
Is it true that there are horses with three breasts in the Bible?
2
Luckily I can snooze for 3 hours.
One time I just didn't sleep at all.
@thecoshman hmmmm
09:54
@R.MartinhoFernandes oh, I'm one of those, "ooh, it's 10 am and I have nothing to do, let's read a bit.... I'm asleep" sort of people
@Omega I haven't heard of that before...
@Omega it is now
@Xeo What;s that weird ::new( obj ) type( args ); syntax?
@LightnessRacesinOrbit
Is that placement new?
09:54
@TonyTheLion hmmmm what?
Xeo
Xeo
@ThePhD Placement new
Don't tell him!
Dammit.
Why not? D:
You guys have no idea what you unleashed.
Xeo
Xeo
09:55
haha
=[
I'm just asking!
@thecoshman Interesting how you mixed the two possible interpretations I had into one
@TonyTheLion yeah.
I'll use a regular std::allocator, I promise. =[
Gotta love horror stories at bedtime I suppose
09:55
@R.MartinhoFernandes a derpstorm
Though, curiously
Brace yourselves.
Does placement new destruct the thing you give it?
Bracing...
@TonyTheLion some might call it a talent, others just that I try really hard at being a dick :P
09:56
@ThePhD what?
Or does it expect it to be destructed or uninitialized?
Someone brace me
Xeo
Xeo
@ThePhD you don't give it a "thing"
You give it a place to put a thing
plzz
Xeo
Xeo
Aka memory
09:56
@thecoshman well, from experience, you seem to have a natural talent for being a dick. :)
@ThePhD This looks like fun, I wanna try.
:D
@TonyTheLion :( first reaction was foot related... I really need to work harder on this spontaneous being a dick thing
@Rapptz You liar, no you don't. D:
Spontaneous what.
and no, I don't even think I am being funny myself
09:57
@ThePhD It does sound fun.
But I always thought trie had character/string keys
It usually does.
Almost all tries are made out of Strings.
0
A: How to write to an existing UTF16LE file?

DINESH Gset your terminal to read utf-8 characters. terminal->set character encoding -> utf-8

@Rapptz Because theyre mostly for efficient space/time lookup of dictionary words
In many cases, you don't even need a value associated with a key. It's usually just a Trie of keys.
The whole point of a trie is to do massive space savings.
I really don't know how it'd work without characters
@ThePhD s/lmost a//

« first day (934 days earlier)      last day (4243 days later) »