« first day (1233 days earlier)      last day (3712 days later) » 

user1804599
 
lol
@EtiennedeMartel Have fun :) It's a great expansion!
 
user1804599
@Borgleader Dat URL.
 
user1804599
I see lack of slug.
 
*dinosaur at zoo roars at me* "ROAR" whoa wat kimd of dinosaur is this "GROWL" hmm "SHOUT" hmmm "YELL" hmmmmm "HOLLER" oh its a thesaurus
 
user1804599
Why am I reading about brain slugs.
 
12:18 AM
@rightfold not clicking non-descript java script link buttons
 
user1804599
It is not harmful.
 
user1804599
It is just a funny video.
 
Okay...
Kinda funny
 
user1804599
I enjoy writing code.
 
user1804599
It is extremely fun.
 
12:29 AM
where the heck do I drop a body?
I guess the nearest stream will do
 
@rightfold I enjoy writing data structs/flow, it pays me huge piles of cash. Code is actually quite trivial one the data is sorted out.
 
user1804599
@Jefffrey ask Siri.
 
Also, ammi more pissed than bananaman? You judge....
 
@rightfold I wish I had it her
 
evening
 
12:32 AM
Ask Google Now™ of course!
 
man I had a super bad day today
 
user1804599
Yeah, Google it now.
 
I did some coding in the morning briefly, and then basically just sat and watched TV all day.
 
@MartinJames statistically, yes
 
12:34 AM
@Jefffrey sounds like a child
 
yeah
 
@Jefffrey I've always preferred abandoned mineshafts, preferably up on the Yorkshire moors at 3am.
The Abbot ale has fucked me up.
I go bed now.
 
nightzies
 
12:50 AM
  CURLM_OUT_OF_MEMORY,   /* if you ever get this, you're in deep sh*t */
  CURLM_INTERNAL_ERROR,  /* this is a libcurl bug */
 
lol
 
user3010322
Haha.
 
Woah Bartek was way over the top
 
user3010322
Indeed.
 
@R.MartinhoFernandes ?
oh just clicked that 6h post
guy's pretty drunk
 
1:00 AM
And he's an ass when drunk.
 
where
 
he is cute
 
@R.MartinhoFernandes Really, now?
Hmmm.
 
@ThePhD I don't drink period :P
 
@Rapptz So that's why you're so jaded.
 
user3010322
1:01 AM
Well, it's the same for me. I never drink when I'm out or just... because I want to? It's mostly family occassions.
 
@EtiennedeMartel I don't actually know why I am.
If you could even say I am.
I don't know.
 
@Rapptz Honestly, I don't know you well enough to say if you are.
 
@Rapptz may I ask why?
 
Just look at Bartek.
More honestly it's because it doesn't taste good
 
user3010322
Yeah... Coffee and most wines/beers/rums/whiskeys/vodkas aren't really... like. Delicious.
 
1:06 AM
@Rapptz you don't like any kind of alcoholic beverage?
 
I don't mind if a smoothie has alcohol in it if that counts
 
4
 
3
 
@Rapptz It's an acquired taste. By that I mean you have to convince your body that it's not that poisonous.
 
1:08 AM
you don't really have to
 
user3010322
Great, I think this pair of headphones just kicked the dirt.
 
user3010322
(Not hte Sennheiser's, a 3 year old pair of Sony's that I used for general listening on the go. Damn. =[)
 
user3010322
Now I gotta throw them out.
 
buy M50s
 
user3010322
So many headphones just dying. =[
 
user3010322
1:10 AM
Well, that's hte end of this thing, I gess.
 
user1804599
My code ends with )))))). :D
 
user3010322
Oh, I fixed it!
 
user3010322
Yay!
 
user3010322
They live on!
 
stupid Gray's Anatomy
Gray's Anatomy is the book and Grey's Anatomy is the dumb show
and I'm used to doing Grey compared to Gray
so I get the show 9/10 times
even Gray's Anatomy gives me the show now
 
user1804599
1:17 AM
Try Græy’s Anatomy.
 
gray's anatomy -show ?
 
@ThePhD your valentine didn't just die, right
 
user3010322
Nooo, she's alive.
 
user3010322
... Uh. I think. I hope.
 
user3010322
I should send her a message just in case...
 
1:19 AM
Is there any (reason to have a) data structure like a vector, but when you remove from the front, it just keeps a count and moves the data pointer, and then can just move it back one to insert at the front, copy/move from where it's pointing, and just decrement the pointer back to normal using the count if it needs to?
Seems like a cross between vector and deque.
 
user3010322
Mmm.
 
user3010322
optional<udt&> is killing me. u.u;
 
user1804599
No, it’s not.
 
user3010322
Not literally. But figuratively, yeah.
 
do you name bool properties IsToolsOk even if plural form becomes wrong in English?
 
user3010322
1:31 AM
Arrrrgh.
 
user3010322
I can't get the definitions right. u.u;
 
user3010322
Goddamnit, why are references so.. fucked up!
 
user3010322
:((((((((((((((((((((((((( All my frowns. I'll just figure something else out. Like using a pointer to express optionality.
 
user1804599
@JohanLarsson AreToolsOk
 
user1804599
Or tools-ok?. :)
 
1:36 AM
yeah I know, but don't like to mix Is and Are for some reason
 
user1804599
I don’t like bad English.
 
I use Is, Has, Can for most bools
 
user1804599
May :D
 
user1804599
OughtTo
 
1:38 AM
and every method PleaseGimme()
 
user1804599
IMO any of such words are fine.
 
user1804599
@JohanLarsson This isn’t INTERCAL.
 
@rightfold Intercal ?
 
user1804599
Saying that INTERCAL is INTERCAL on Interstates is like saying that Ruby is Ruby on Rails or that PHP is Symfony.
 
Unlike you I dont know every language in existence =/
 
1:40 AM
This libcurl wrapper looks really nice github.com/mologie/curl-asio
The biggest gripe I have with it is that it uses shared_ptr quite extensively, in areas that don't require it IMO
 
user1804599
And settors.
 
have you seen curl++?
 
user1804599
IOW it is terrible.
 
@ThePhD boost::optional<std::reference_wrapper<T> > Seriously, boost.org/doc/libs/1_55_0/libs/optional/doc/html/boost_optional/…
@Rapptz I think I did
@rightfold That's a property of the underlying API
 
1:43 AM
Neat. Chat search slow again
 
needs some polishing
 
user3010322
@sehe =[ I don't like it... but... Sigh.
 
@ThePhD the reference_wrapper was trolling, of course
 
user1804599
boost::optional<T*>
 
trololololol
 
1:46 AM
boost::optional<T>!
 
user3010322
Hmph.
 
user3010322
You're all mean.
 
user1804599
thread_local std::map<int, T> ts;
boost::optional<int> x;
 
that curl++ thing shows promise but it feels like it's missing that... um...
 
@Rapptz Nah, it was curlpp apparently
Nov 29 '13 at 14:41, by sehe
According to the curlpp examples, this is the sane way to parse your cookies: http://paste.ubuntu.com/6494323/
@Rapptz Raison d'être?
 
user1804599
1:47 AM
Something like Requests would be nice.
 
@sehe nah. modern practices that everyone should follow.
don't know the word for it
 
@Rapptz Seriously, it looks like it's not buying me anything at all, except "I can has even more ugly set_option calls than with the C API"
 
yeah
it's too C like
 
7 mins ago, by sehe
This libcurl wrapper looks really nice https://github.com/mologie/curl-asio
 
but it seems like it has good intentions
I didn't like that one
 
1:48 AM
^ curl-asio on the other hand does get a lot of things right. Most importantly, boost::system::error_code integration and io_service integration (async requests for the win)
 
I don't like any curl C++ wrapper
struct curl_httppost *form_post;
lol
 
@Rapptz I think I'm goig to rip curl-asio right into my project for async requests (I already have curl + boost in there). And I'll just gradually replace some of the shared_ptr cruft with optional<> or, unique_ptr<> or just raw pointers
 
I don't use Boost.Asio :v
 
What do you use for async IO?
 
I don't know how and my initial experience with it wasn't enjoyable.
nothing :<
 
1:51 AM
@Rapptz I completely concur. I'm getting over the initial hurdles as we speak
Which is why it's weekend work
 
Would someone like to review Loki's code for a bounty?
9
Q: Stream that opens an HTTP GET and then acts like a normal C++ istream

Loki AstariNeeded a quick stream to get JSON objects. #ifndef THORSANVIL_SIMPLE_STREAM_THOR_STREAM_H #define THORSANVIL_SIMPLE_STREAM_THOR_STREAM_H #include <istream> #include <mutex> #include <condition_variable> #include <vector> #include <curl/curl.h> #include <string.h> namespace ThorsAnvil { nam...

 
user3010322
Eww.
 
Oh brilliant. Loki is up to the exact same tasks as I am :S
 
user3010322
It's an iostream derived.... thing. :c
 
Wee I answered a FGITW Q :)
 
1:54 AM
@Borgleader FGITW?
 
Fastest Gun In The West.
 
That was an accident
 
whats this about hyenas =/
 
What's up?
 
@R.MartinhoFernandes you, sir, suffer the strangest accidents
15 mins ago, by sehe
This libcurl wrapper looks really nice https://github.com/mologie/curl-asio
IOW: boring weekend work :)
 
1:57 AM
@ThePhD At least he knows how to use iostreams, bub.
 
Burn?
 
user3010322
I guess so.
 
I don't know how to iostreams
 
@Borgleader I was circling around on my phone's keyboard, and then accidentally pressed enter. That's what sliding around in circles for a while gave.
@sehe I also burned my finger while making tea. See, I can have normal accidents too.
 
But you didn't forget your bike today?
 
2:01 AM
I didn't leave the house.
 
Irrelevant
 
Home Alone, robot edition.
 
@JerryCoffin Maybe you could take a look at this, you seem to have the experience: codereview.stackexchange.com/q/38402/27623
 
WT-actual-F
 
I'm trying to decide if I want to go to sleep.
 
2:04 AM
Yes you do
Feb 25 at 23:34, by R. Martinho Fernandes
Seriously, I have what you guys usually call 'a life'.
 
I wasn't alone.
 
Wazzamapoint
 
I live with six other people.
 
@syb0rg By some strange coincidence, I'd just (literally, less than 5 minutes ago) copied and pasted it into an editor to look at it).
 
And we had guests today.
 
2:05 AM
For dinner?
 
@JerryCoffin Hmmm, destiny ;)
 
No, after dinner.
 
@JerryCoffin If you can review it, and you can't find anything wrong with it: meta.codereview.stackexchange.com/q/94/27623
 
@syb0rg I'm not sure they qualify as "wrong" exactly, but I definitely have some comments to make.
 
@JerryCoffin Sounds good. If you want to talk about it more, you can always come onto the CR chatroom: chat.stackexchange.com/rooms/8595/the-2nd-monitor
It's pretty active now-a-days.
 
2:11 AM
@syb0rg Oh, that's what I need--another chat room to destroy any remaining vestiges of productivity...
 
gained rep 5 days in a row :)
 
Its an achievement for me :(
 
1 message moved to bin
Apparently I missed the multi there. He's using it
 
2:26 AM
are films on YouTube actually good quality? The only place I've found okay quality films is iTunes
 
2:39 AM
dat stereotype
 
What do people talk about in here? =o
-.-
Well, I'm a seven foot african american teenager
So there is an image for ya :/
 
I'm bigger than him :/
 
That scene is just hilarious
 
Wow first time I've ever heard Will Smith say the nword :o
Did you got to college scott?
Did you like it?
What do you do with your life now?
on? =O
 
2:55 AM
Here.
 
Meh thats not that bad, could be worst.
League of Legends :c
I wasted my life on that last year
Now I just study and program useless school projects :(
This college grind better pay off >_>
SCOTT
TELL ME IT PAYS OFF, TELL ME!
pls no scott pls.
SCOOOTTTTTT
lol
So you use a magnetic rod to program binary? O_O
 
Scott has a magnetic rod, it attracts women
 
I heard Borgs are bad with woman :(
I get woman by showing them my side projects =)
:o
I'm about to
do Discrete HW on a saturday night
because on friday now I programmed a game
so only seems fitting.
 
3:18 AM
@user3335040 is this what you call discrete?
 
Yes :c
 
our equivalent course is called "logic", discrete mathematics is quite different
@user3335040 our "discrete math" deals with graph theory
 
We do logic and graph theory in our discrete
 
Discrete mathematics is a term that covers lots of things.
Both logical propositions and graphs are discrete structures.
 
apparently it covers the Ulam spiral as well which is quite intriguing
 
3:26 AM
Prime numbers are integers; also discrete.
 
My mum once told me a graph with 2 nodes is connected
 
@user3335040 we are all connected by love
 
3:49 AM
this is probably a dumb question. But is there such a thing as try/catch whenever the value of a class variable is changed anywhere in the program?
 
@Borgleader nah
@Crow what
you want to detect changes in a class?
 
@Jefffrey so say I have a class, and it has a value. Any time that value changes, check if it is greater than (variable), and if it is, throw an exception.
otherwise I would have to do that in like, 20 places in my program. Seems annoying.
 
@Crow how can that value change? is that a public object?
 
I change it like self.pc += (value) a lot of places.
 
by "object" I mean the member variabl
@Crow that sounds like the class has an invariant for which pc cannot be greater than (variable), correct?
 
4:00 AM
I made this a while back
you're free to use it (it doesn't throw though)
 
@Jefffrey exactly. PC is a reference to a point in an array. If it is bigger than len(array), I want an error to be thrown. But PC is also constantly changing.
 
should be easy to modify to use runtime values too
 
@Rapptz ah clever so instead of using self.pc make a getPC method that throws an error?
 
sure
 
@Rapptz boilerplate code eh
@Crow why don't you use a std::vector and let std::vector::at throw the exception when out of bounds?
 
4:04 AM
mostly because I'm using python... the same concept could apply to a list though? The teacher is using this really odd C-style error checking that I don't like, I think that the exceptions would already be caught by python but he says that's wrong
 
@Jefffrey what?
 
@Rapptz nothing, that's just a lot of boilerplate code, that's all
 
I'm too lazy to use boost::operators
 
@Crow wat
I'm not following
how does python have anything to do with your C++ problem?
 
@Jefffrey so he does something like status = doSomeFunction() ... if(status == -1) print 'SomeError'
 
4:06 AM
didn't you say it was a reference that points to an array? now it's a list??
 
he's using python
 
lol
 
it's technically a list, but treated as if it was an array. So on initialization, it's set to [None] * 10000. Just a list of 10000 NoneTypes. Then it's loaded with actual stuff later
 
I don't know anything about Python.
 
4:24 AM
hm I'm just not understanding his comments because I think the language kind of "figures it out" for you.
 
5:39 AM
mawnin
 
6:06 AM
loungecpp.net/w/LoungeNET I can not imagine this room using Mumble/voice chat.
 
6:21 AM
Could use your votes:
4
A: Stream that opens an HTTP GET and then acts like a normal C++ istream

Jerry CoffinI have a few comments that are unrelated to the synchronous/asynchronous and/or header-only nature of the code. parameters bools I don't like passing bools as parameters. I really dislike a function like your SimpleSocketStreamBuffer constructor that take multiple bools. You need to do a fair ...

 
0
Q: Understanding operator precedence from the table

RajeshwarI was going over the following link and it states Operators between dashed lines have the same "precedence level", of which you will note that there are 18 Now my question is what does the above statement mean. For instance if two operators are between the dashed lines like -> comes befor...

I dont understand what's not clear here =/
 
@syb0rg ...well, maybe not mine! :-)
 
@JerryCoffin I'm trying to get it more recognition in the CR chatroom. Most of the regulars will get on tomorrow morning though.
 
@syb0rg thanks--I should probably spend a bit more time on Cr; definitely an area where (I think) I need to practice a bit more.
 
@JerryCoffin We were musing earlier how you didn't have a higher tag count on CR.
 
6:30 AM
@Borgleader One thing that's not immediately clear is that precedence and associativity in C and C++ are defined in the BNF, and it turns out there's no way to structure a table that's 100% accurate.
@syb0rg Mostly that I just don't keep a window open, so I often miss what's there. I sometimes think it would be better if there were just a "code-review" tag on the main SO site. I know it would violate the prohibition on meta-tags and such, but I think it'd get a quite a few of the questions more exposure.
 
the rate of questions is so slow you could put them on feeds
 
user3010322
6:43 AM
fixed_vector
 
user3010322
saving my bacon, so that I don't need std::array<uninitialized<T>, max_size>
 
please don't tell me that uninitialized<T> does what I think it does
 
user3010322
:3c
 
user3010322
@ScarletAmaranth It was for the greater good.
 
7:08 AM
@ThePhD s/for.*$/purely evil./ :-)
 
7:42 AM
@ThePhD how did you even make that work xD
 
@ScarletAmaranth Seems like it'd mostly just be a NOP default ctor.
 
8:07 AM
@ThePhD why do you love unitialized types so much? ._.
 
9:04 AM
@ScottW Wow. It's been a long time to remember all the details. If memory serves, in C or C++ it'd be basically Z_flag = operand & accumulator != 0; operand |= accumulator;
 
9:25 AM
What does this error mean?
/tmp/ccKnig3z.o: In function `main':
line_formula_convert.c:(.text+0x113): undefined reference to `intcp_from_pt_slope'
collect2: error: ld returned 1 exit status
 
147
Q: What is an undefined reference/unresolved external symbol error and how do I fix it?

Luchian GrigoreWhat are undefined reference/unresolved external symbol errors? What are common causes and how to fix them? Feel free to edit/add your own.

 
@FredOverflow ..among a plethora of duplicates.
 
9:49 AM
@JerryCoffin mmmm, so an article should be used in front of "plethora"? among a plethora of..., interesting
 
"a plethora of committees and subcommittees"
nice example
 
@JerryCoffin I thought the question was probably the canonical one to post :)
 
yeah somehow plethora invokes plural in my brain
as in the word itself somehow... implying... nvm, I am just bad at English
 
Heh - I wonder if Bartek is in bed, under a table, in lockup or in hospital?
 

« first day (1233 days earlier)      last day (3712 days later) »