« first day (1041 days earlier)      last day (3923 days later) » 

9:00 PM
lol, oh ill bring computing power to your face
 
> Deliveries from November 2013
 
Xeo
@CatPlusPlus Spacepalm?
 
This will be as funny as OUYA KING OF CONSOLES
 
lol ouya...
 
Xeo
or Myo /cc @Bartek
 
9:01 PM
I expect a hilarious thread to come out of this.
 
the only game i saw for that console was something that looked right out of the SNES era
 
the new face of awesome
 
Xeo
@not-rightfold The odds are better for that than for you finishing it. :P
 
... That's actually a thing?
Forehead-kinect?
 
9:08 PM
It's the future.
 
so innovative
 
Brought to you by MetaPeople.
(Possibly on meth.)
 
I cant believe I use a keyboard
 
I'm trying to allow cross origin request on Coliru.
Currently I get this behavior:
~/tmp $ rm -f headers && curl -D headers coliru.stacked-crooked.com/compile -d '{"cmd":"echo hello"}' && printf "Got headers:\n$(cat headers)\n"
+ echo hello
hello
Got headers:
HTTP/1.1 200 OK
Content-Length: 19
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
Server: WEBrick/1.3.1 (Ruby/1.8.7/2011-06-30)
Access-Control-Allow-Origin: *
X-Frame-Options: SAMEORIGIN
Date: Thu, 22 Aug 2013 21:10:24 GMT
Connection: Keep-Alive
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Does that seem right?
 
cross-origin request?
 
9:11 PM
en.cppreference.com wants to use the coliru API from the browser.
 
@StackedCrooked Yeah, should be fine.
Allow-Headers should only be set on preflight requests, though.
 
I wish Wide was on coliru.
 
However, this doesn't work in the JavaScript console:
http = new XMLHttpRequest();
http.open("POST", "http://coliru.stacked-crooked.com/compile", true);
data = JSON.stringify({"cmd" : "sh main.cpp","src" : "echo Hello"})
console.log("Data: " + data)
console.log(http.send(data))
XMLHttpRequest cannot load http://coliru.stacked-crooked.com/compile. Origin http://en.cppreference.com is not allowed by Access-Control-Allow-Origin.
 
@StackedCrooked Amazing, the cross origin policy actually works, who would have thought.
 
WE AMERICANS THANK YOU FOR ASKING THIS QUESTION. — user2708779 7 secs ago
in all caps now!
 
9:17 PM
Why are you still paying attention to that.
 
@BenjaminGruenbaum I don't understand what I'm doing wrong.
 
@Borgleader nice!
 
@StackedCrooked Are you sending the correct CORS headers on the server?
 
@StackedCrooked What browser?
 
Chrome
 
9:18 PM
@StackedCrooked enable-cors.org
 
@Borgleader I have to wonder where the hell he gets all those ip addresses.
 
@Mysticial Proxies?
 
@CatPlusPlus Doesn't work here, what browser are you using?
 
Firefox 24
 
9:21 PM
7 messages moved to Java Sucks
 
@CatPlusPlus Is it as badass as Jack Bauer is?
 
Random act of kindness: coliru.stacked-crooked.com/…sehe 25 secs ago
^ I fire myself
 
@sehe You try way too hard sometimes.
 
sometimes?
 
I waste time. Meh. So do you, as we happen to know
 
user1804599
9:24 PM
What do you guys think of a graphical style like this?
 
user1804599
(Not sure where to place the avatar, but this is the basic idea.)
 
user1804599
Also I'm terribad at fonts.
 
@not-rightfold Background is a little dark, making it less easy-to-read
@not-rightfold You're not. You are swell at fonts. It's just a shame that your taste shows :/
 
@not-rightfold Can we haz a dark theme too :3
 
user1804599
 
9:28 PM
Easier on the eyes.
 
user1804599
You can change the background color on line 18.
 
user1804599
@sehe We need more @KonradRudolph.
 
@not-rightfold It does not render the same in Firefox 23.
 
user1804599
@wilx Indeed. The gradient only works for WebKit. Not difficult to add a Firefox one, though.
 
user1804599
@wilx What happens if you change "webkit" to "moz" on line 18 and hit "run"?
 
9:30 PM
@not-rightfold Nothing.
 
user1804599
Hmm.
 
@not-rightfold Looks terrible when the text is highlighted.
 
user1804599
Screenshot?
 
user1804599
Highlight color is customizable through CSS.
 
user1804599
9:31 PM
Ah, I guess it's the text shadow. :P
 
in fact
 
Why does it have a shadow?
 
even when not highlighted, some of those words are hard to read for me.
like porttitor.
 
@DeadMG The font on that looks thicker than mine.
 
Also Bootstrap plx
 
9:33 PM
also, try any code sample involving colons- they're practically invisible.
 
user1804599
 
user1804599
@CatPlusPlus I don't see why this would not work with Bootstrap.
 
user1804599
Also Bootstrap really?
 
@not-rightfold The text doesn't look terrible when highlighted any more (at least no more than before).
 
Also the background doesn't work on Firefox.
 
9:34 PM
but when I highlight it, it ... jumps, somehow.
like the whole thing moved up by three pixels.
 
user1804599
@CatPlusPlus That's already been mentioned.
 
user1804599
This is a concept of the graphical design.
 
user1804599
It's not a production-ready thing.
 
I know
I think flat background would be better, though.
 
Why is SVN merging so sloooow.
 
9:36 PM
Because it's SVN?
 
how ironic is it that lldb dies in a stack overflow trying to unwind my program's stack?
 
Be glad it's merging at all.
 
user1804599
Selection works fine here. vOv
 
user1804599
 
@zneak Hey, how hard is LLDB to use?
 
user1804599
9:37 PM
Time to sleep. Later.
 
@ThePhD Depends on a) what platform you're on and b) whether you're comparing it to gdb or Visual Studio.
 
it's pretty good on Mac OS X, ymmv on linux
not working on windows afaik
 
user1804599
LLDB is known to work on the following platforms, but ports to new platforms are welcome:

Mac OS X desktop user space debugging for i386 and x86-64
iOS simulator debugging on i386
iOS device debugging on ARM
Linux local user-space debugging for i386 and x86-64
FreeBSD local user-space debugging for i386 and x86-64
 
it's supposed to start supporting kernel debugging scenarios soonish, though
 
user1804599
The UI isn't much different from GDB's.
 
9:39 PM
one very nice thing about it in xcode is that you get autocomplete for the text UI
makes it a lot more discoverable
I don't use the arguably nicer features, like python scripting and such
 
user1804599
I don't use LLDB. I write in languages that don't suck.
 
user1804599
And PHP.
 
@not-rightfold java java java php php php
 
user1804599
I want an infinite state machine.
3
 
9:56 PM
"Factories"
Feedback?
 
Xeo
Looks okay-ish. Missing some big windows, maybe
 
I can do that. Any ideas how they should look?
Filling the entire interior of them? In rows?
 
user1804599
@Pawnguy7 How about clouds?
 
I am guessing it would fill the entire width anyway.
 
@Pawnguy7 black, like the souls of the people who work there
 
Xeo
9:57 PM
Columns I was thinking
 
user1804599
Add the flag of North Korea.
 
Those kinds of clouds?
 
user1804599
@Pawnguy7 I don't know if clouds coming out of factories look much different than normal clouds, but yeah.
 
user1804599
 
Xeo
9:59 PM
@Pawnguy7 The cloud-stuff should get a bit wider at the top
 
user1804599
Like, a line that goes thicker the farther it goes away from the factory.
 
user1804599
@Pawnguy7 Why are there penises in the sea?
5
 
Fish :\
 
Penises.
 
@not-rightfold Some fish or wormy thing can detach it's penis, you know.
 
user1804599
10:00 PM
I want a job similar to this one, but not remote. :<
 
user1804599
Urechis unicinctus (; or yumushi; gaebul) is a species of marine spoon worm. It is widely referred to as the fat innkeeper worm or the penis fish. Habitat U. unicinctus, like other Urechis, lives in burrows in sand and mud. It gets the name "fat innkeeper worm" because the tunnels it creates often contain other animals. Economic use This spoon worm is commonly eaten with salt and sesame oil in Korea and in very restricted parts of Japan. In Chinese cuisine the worm is stir-fried with vegetables, or dried and powdered to be used as an umami enhancer. In particular, the worm is cons...
 
user1804599
> It is widely referred to as the fat innkeeper worm or the penis fish.
 
Ah. There you have it, I guess.
 
> This spoon worm is commonly eaten with salt and sesame oil in Korea and in very restricted parts of Japan.
sounds delicious!
talking about which...I haven't eaten lunch yet.
 
if I have 51 separate statistical "events", each with a different probability of success and associated all or nothing "weight", what would be fast ways to calculate the probability that the total weight is greater than a specified number? (How can I efficiently calculate the odds of Democrats winning a presidential election given poll data?)
Specifically, anyone have a link to such a method, or should I post a SO question?
 
@EtiennedeMartel Trollerific.
 
@EtiennedeMartel Yeah. I thought there were more to this set though.
 
@Borgleader there is
 
@EtiennedeMartel I know.
 
user1804599
@EtiennedeMartel Haha. Love the last one.
 
10:08 PM
I just had an uninitialized buffer that contained the beginning of /etc/protocols, I am troubled.
 
It's also sad how most of the protesters can't write proper sentences.
 
@Borgleader gotta love the American edumacation system.
 
@MonadNewb Wut
 
user1804599
Lack of exposure results in people thinking good things are bad.
 
10:11 PM
@EtiennedeMartel zactly
 
@not-rightfold I think the sun is bad.
 
user1804599
People are afraid of the unknown.
 
@not-rightfold lack of exposure results in people labeling things as good or bad...
 
@not-rightfold I think in this case it's people being explicitly told (at a young age) that good things are bad.
 
more bad than good...
 
10:12 PM
And they went in their lives without ever thinking about double checking that.
 
@Pawnguy7 Better. Now get some tall windows.
 
I don't really know what I am going for here.
 
While that does look cool, not all the way from top to bottom
 
also, they should be wide, not tall.
 
10:21 PM
Just, taller windows. Varying between two and one blocks wide.
 
Somebody said columns I thought.
 
say, 3x3 block.
 
They should be somewhere between 2 and 3 blocks tall.
Or just what @DeadMG said.
@Pawnguy7 @Xeo meant tall windows, not necessarily windows that spanned entire building-sides
 
Ah.
 
Xeo
two rows of columns comes to mind
 
10:22 PM
two or three, depending on how big the building is.
 
Xeo
with a two-pixel gap inbetween
and two to four wide
yea
 
doubt you'd have any tall enough for four.
 
@sehe I think my version is easier for beginners :-) — G. Civardi 10 mins ago
^ anyone care to compare?
@EtiennedeMartel He is!!! Made me lookup Lev 19:19 to be floored. Also, loving the background (orchestra rehearsal hall/stage?)
@Borgleader Who says they can't? It just shows they're unorganized, and made to scribble their first thoughts on a piece of paper. Thinking it'll be cute. Forgetting about the power of press. They need PR advice
 
@EtiennedeMartel For some reason I initially read that as "This Google Talk is awesome."
 
@sehe Meh.. don't look up Leviticus anything - it's more depressing than questions about FP compares or strlen().
 
10:31 PM
I think yesterdays template masturbation contest ended somewhat prematurely. Was there a winner?
 
@MartinJames Your loss
 
@Pawnguy7 You really do have a knack for this =)
 
Like this?
 
God. Image not found. Image not found. Image not found. Image not found.
 
well your smoke is better than your stars
 
10:37 PM
smoke it up your ...
 
@sehe mine?
 
@Pawnguy7 Which else
 
@sehe I can see all of them
 
Me too
 
Ah. I heard a few others had issues with that as well. I use snaggy. Just quick when I do a bunch like this.
 
10:38 PM
@Borgleader Hmm. I'm suspecting a bug in oneboxing with 'show posts' after plonk
@Pawnguy7 ^
I can see the pics after open in another tab.
 
Oh.
 
Xeo
@Pawnguy7 Yeah, looks good
 
@Rapptz Yes. I didn't like the stars either. The current element in question is the windows.
 
Xeo
Maybe even one wider
 
10:41 PM
Anybody else craving more tubes?
Or maybe I am thinking of the boat again.
 
Yup. Heart-longue machine style
 
@Pawnguy7 I think they look perfect. That one pixel off is what makes it.
 
@CaptainGiraffe Not sure. I enjoy doing it - for example, all of my three attempts at making a snake clone had the level randomly generated - but whether I am good at it is another matter entirely.
Anything else, or is it done?
 
@Pawnguy7 A snake in autumn grass is scary. You can always ask Cat to write the code.
 
what's all the talk about penises and worms?
 
10:49 PM
@CaptainGiraffe I think you lost me.
 
@Pawnguy7 The middle blue windows hitting the roof does not fly for me.
 
@Pawnguy7 I don't think windows should touch the roof, it's a little wierd
 
Does that also apply to the ground?
 
@Pawnguy7 You were displaying a fall theme yesterday!
 
@Pawnguy7 I'm ok with ground level windows
 
10:50 PM
aww, fatal error C1128: number of sections exceeded object file format limit : compile with /bigobj
 
@CaptainGiraffe Yes, I wasn't sure how it was related to snake though. The snake I was referring too was this.
 
@Pawnguy7 I was just reducing it to the one dimensional case. That is a very common occurrence here on SO.
 
good afternoon room
does everyone here agree inline functions should be in header files?
 
@RolandSams inline functions must be in header files according to the C++ language.
 
10:54 PM
@MooingDuck ty I will have to remember that
 
@MooingDuck unless you don't have any header files in your program
 
@MooingDuck For realsies?
 
The compiler always has the last say.
 
It got better in future versions.
 
10:54 PM
then you're not allowed to use inline functions
 
Or um.
 
@Pawnguy7 Hehe. Not your best work.
 
My avatar, or whatever you call it.
 
@ThePhD not realsies. But it must be defined identically in each TU in which it is used. So putting it in the header is the only non-error prone way to handle it
@willj you can but it's pointless
 
10:56 PM
@MooingDuck Oooh. I see.
hey, guys
 
That feels wrong to me.
 
if you have a keyboard enumeration
Or rather, an enumeration for all keys and buttons on a keyboard,
would you throw mouse buttons in that enumeration too?
 
you can do class A { inline void f(); }; and then inline void A::f() { } in the cpp file can't you?
 
@Rapptz not according to C++ spec, but MSVC allows it sometimes.
 
@Rapptz That is a suggestion to the compiler.
 
10:58 PM
@MooingDuck Source? nvm, got one.
 
@MooingDuck Not g++?
 
@CaptainGiraffe haven't tested
@Rapptz § 3.2/3 "An inline function shall be defined in every translation unit in which it is odr-used."
 
interestingly, I can't find anything that says all definitions must be identical
 

« first day (1041 days earlier)      last day (3923 days later) »