« first day (654 days earlier)      last day (4293 days later) » 

6:00 PM
in C#, 1 min ago, by Hans Z
I want so many monitors that I can afford to have them fight to the death. Duel Monitors.
 
need moar artificial sweetener
 
because I ran out?
 
@Mysticial is this answerable in the current state?
0
Q: Huge interpreter performance delta between Core2 and i7

ddriverI am implementing an interpreter, and after some meddling I finally managed to get decent performance - on my work PC - a core 2 processor, the interpreter performance was only about 7% lower than the same native code, which is pretty good for me. Then I got home I ran the benchmark there, and t...

@DeadMG But what do you need artificial sweetener for?
 
@R.MartinhoFernandes Was just looking at that. Nope...
 
6:02 PM
@R.MartinhoFernandes Sweetening things?
 
I guess now it is with that edit.
 
@Mysticial Ok, thought I'd make sure before I put the close vote in.
@DeadMG I usually either buy things that are already sweet or things that I don't want sweet. I'm so much more efficient that you.
 
I don't know enough about the Core 2 and Core i7 branching logic to be able to answer though.
 
Core 2 = shit, Core i7 = whoa
that's all I'm aware of.
 
lol, his test code is branch bound...
@ShotgunNinja Computationally, Core 2 can be as good as Core i7 (barring AVX). But it takes a lot more effort to get all of it than with a Core i7.
 
6:09 PM
Ok, dinner time. Bye.
 
cya
 
@R.MartinhoFernandes bye
 
0
Q: AltGr keys don't work with Ubuntu in VirtualBox

Alf P. SteinbachI just installed VirtualBox (from Oracle) in Windows 7, and created a virtual machine with latest Ubuntu. Here in Firefox I can use the left ctrl key, while the right one doesn't have any effect. However, I can't use the AltGr key (also known as Right Alt) to produce e.g. curly braces like {} (I...

 
wut?
0
Q: C++ own functions to make program run faster (Without compiler's optimizations)

MessyCodeI want some useful function that replace one function of C++ that makes program run faster. For example: #include <time.h> #include <iostream> struct TestMemory { double a,b,c; }; void* __TestMemory__Sample=0; int main() { __TestMemory__Sample=calloc(1,sizeof(TestMemory))...

 
@R.MartinhoFernandes I understand how that part of the search works. I was interested in the borkedness of just using [and] and [or].
 
6:13 PM
^ Just as there are fanboys of this and that programming language that vote to close unfavorable questions, here's an Ubuntu fanboy closing an unfavorable question. Idiots everywhere. I despair.
 
@Mysticial lolwo
 
I found thatold question again because i got a badge for popular question.
 
@Cheersandhth.-Alf You should have answered your own question (if you had the chance).
 
@Cheersandhth.-Alf, how come you post that here? (btw I hade the same problem)
 
and the fact you cross-posted won't help I guess.
 
6:16 PM
@JohanLundberg it's of general interest, i think. don
t know if it's off-topic enough.
we can discuss that?
 
Why would ubuntu alt key problem be in a C++ forum?
@DeadMG, :)
 
@JohanLundberg Dude, this is not a forum.
 
@JohanLundberg you're asking about boobs and bacon. well they both start with "b"?
 
I hear you :)
 
and both contain a fair amount of fat?
 
6:19 PM
Hey guise ~
 
hello
 
greetings earthling!
 
hey hey hey
 
@MessyCode - your program does nothing useful. I optimised it to int main() {}Flexo 40 secs ago
7
 
That guy can't be helped...
 
6:23 PM
posted on July 31, 2012 by Scott Meyers

Registration for C++ and Beyond 2012 ends tomorrow (Wednesday) at 11:55PM Eastern Time--roughly 36 hours from now.   For the third year in a row in this unique conference's three-year history, we've set a new attendance record, but there are still some spots available for this limited-enrollment event.  Perhaps one reason for the unprecedented interest is the unprecedented amoun

 
@Cicada Bordel, ça fait un bout.
 
@Cicada ohai
 
@EtiennedeMartel Aaah mon canadien préféré !
 
Connais-tu sincèrement beaucoup de Canadiens?
 
4 ou 5.
 
6:25 PM
Pas si mal.
 
Mais j'ai de la famille du côté de Calgary & Vancouver (enfin je ne les connais pas vraiment).
 
Parlons anglais, s'il vous plaît? (nous plaît?)
 
Ok.
@rubenvb "vous".
 
Alright then. may I annoy you with a fairly interesting (or not) topic?
 
@EtiennedeMartel that just sounds strange with the "s'il te plaît" variant and a "nous" conjugation.
 
6:28 PM
I'm thinking of making a desktop app with an HTML GUI. That means the HTML part connects to localhost:someport to get the UI served.
 
@rubenvb Well, "vous" is second person plural, "tu" is second person singular.
 
Anyone knows a project that does something like that?
 
@EtiennedeMartel indeed, and the verb is first person plural (used in a different sense, I know, but still)
@Cicada sage (mathematics) works like that.
It's very awkward.
 
@Cicada internet explorer?
 
@R.MartinhoFernandes C&B stands for "cock & ball", right?
Cock and ball torture may refer to: * Cock and ball torture (sexual practice), a sexual activity involving torture of the male genitals * Cock and Ball Torture (band), a German pornogrind band, formed in 1997
 
6:29 PM
@Cicada Sounds a lot like a browser.
 
@Cicada You don't need HTTP server to render HTML UI.
In fact, that's the stupidest way to make a desktop application with HTML UI.
Well, unless you're really lazy.
 
Well, embedding WebKit or such is quite heavy weight, so I wanted to reuse something everyone has - a browser.
 
But then why bother with desktop app.
 
@FredOverflow Erm.
 
I'm open to suggestions.
 
6:31 PM
What kind of app, actually?
 
@Cicada If you do want HTTP server, then do app + HTTP server and then launch a browser.
 
@Cicada embedding WebKit isn't as heavy as you think.
And it gives you consistency.
A "web browser someone has installed" is no guarantee at all.
 
Anyway, HTML is terrible, why would you do this.
 
@CatPlusPlus Because I want a good looking UI.
Metro is cute but windows only
And the rest sucks.
 
So many things are terrible.
 
6:32 PM
This is orthogonal to HTML.
 
Your mother is orthogonal.
 
I think HTML is a nice presentation language
 
I think you're crazy.
 
But again, I'm really open to suggestions
 
I suggest your mom.
 
6:33 PM
If you want to draw a custom UI, you can just get a window + canvas from OS and draw it.
 
Qt is awful. GTK is awful. Metro is good. But Windows. Meh.
 
Qt is better than Metro.
And HTML.
 
@CatPlusPlus So in 6 months I'll have a button.
 
You don't get much better than "awful" when it comes to UIs.
 
I've toyed a bit with Qt over the past few weekends. I'm not sure if I like it.
 
6:33 PM
So just use Qt.
 
Noooooo
 
@Cicada I thought it took 9 months.
No wait, that's something else.
 
6 to 8 weeks
 
lol
 
Drawing UIs isn't that hard.
 
6:34 PM
Actually, it is.
 
And you can have it as PRETTY as you want.
 
You have to think about scaling and all that stuff.
 
That's why you use Qt.
 
And animooted menus.
 
Also scaling isn't that hard either.
 
6:35 PM
Wow. Python copied its dll to C:\Windows\System32.
 
Cleartype is hard to draw.
 
@StackedCrooked Qt5 has improved font rendering.
 
fatal error C1083: Cannot open include file: 'vios.h': No such file or directory Excellent. I've confirmed that vios.h is in the CWD, dunno what to do now.
 
ClearType is something handled by OS.
 
I mean drawing it yourself is hard.
 
6:36 PM
@MooingDuck -I.
 
You don't have to deal with manual font rasterisation if you're not using OpenGL.
 
@MooingDuck Is it in the same folder as the file that includes it?
 
Drawing with GDI is pretty straightforward.
 
@R.MartinhoFernandes no, it's in the project's folder :/
 
@MooingDuck CWD is not part of the search path, unless you tell it to be.
 
6:37 PM
@MooingDuck There you go. CWD is irrelevant.
 
I've used GDI+ years ago. It was ugly but it did the job.
 
I want something pritty.
 
@R.MartinhoFernandes alright, now I have to figure out why all my other projects compile fine then :(
 
And I'd argue that HTML5 with CSS3 can be botiful.
 
Also fuck pretty UIs that never work correctly.
 
6:38 PM
The worst kind of bug: it works, but shouldn't.
 
@Cicada Your spelling is not beautiful.
 
Eyecandy is not primary concern in UI design.
 
@R.MartinhoFernandes I'm happy it made you cringe. Success.
 
The fuck is this shit.
 
6:38 PM
It's full of boti.
 
um............... wut?
0
Q: Ordered multithreading output in c++

user1271422How can one in this simple example guarantee that the a->push_back(i) happens in the order in which the threads are started? So a contents would be {1,2,3}. #include <vector> #include <thread> void do_stuf(int i,std::vector<int> * a) { //do very long stuff a-...

 
@CatPlusPlus I know right. But I want to :(
 
Well then make it pretty!
 
^ My current wallpaper.
 
Image not found?
 
6:40 PM
damn you, you were faster
 
That's a boring wallpaper.
 
Damn you dropbox.
 
Your wallpaper is the DropBox logo? You're sick.
 
Sometimes people are sick and they need to go to the nuthouse to get better.
 
6:41 PM
@StackedCrooked Or get sicker.
 
My wallpaper is a penguin
 
Now it should work.
 
kittens
who the fuck has kittens on their wallpaper?
 
Me, duh.
 
6:45 PM
Everything is better with kittens.
 
Especially my desktop wallpaper.
 
@MooingDuck pure luck. solved by -I.
 
incl soup
 
Xeo
@Mysticial: Now at 36 :)
@TonyTheLion I want kittens on my wall!
 
Well, well, elections on my birthday.
 
6:47 PM
I want tiger bunny :)
 
@EtiennedeMartel Tough luck.
 
@Xeo you have to use thick nails, otherwise they just fall down...
 
@StackedCrooked Well, now I have another reason to get drunk.
 
Xeo
@LuchianGrigore They can hold themselves just fine, I think
 
@EtiennedeMartel If life hands you lemons, you make a lemonade!
 
"When life gives you lemons, don't make lemonade. Make life take the lemons back! Get mad! I don't want your damn lemons, what am I supposed to do with these? Demand to see life's manager! Make life rue the day it thought it could give Cave Johnson lemons! Do you know who I am? I'm the man who's gonna burn your house down! With the lemons! I'm gonna get my engineers to invent a combustible lemon that burns your house down!"
2
 
@StackedCrooked It's always nice to get free stuff.
 
@Tocs I life gives me lemons I leave them on my desk until they rot and I have to throw them away :(
 
lemonades :))
 
6:50 PM
Dammit!
 
too late, we all saw that
 
oh fuck!
 
So, WTF, 10% of the people on the planet suffered a single simultaneous electricity blackout?
 
where?
 
I thought of FlashForward when you said that
 
6:51 PM
China?
 
> Elsewhere, electric crematoriums stopped operating, some with bodies left half burnt before wood was brought in to stoke the furnaces.
 
Wow..
 
that's a lot of people without electricity
 
6:53 PM
Yeah, ten fucking percent.
 
Electric crematoriums ಠ_ಠ
 
no electricity would suck... we'd have to code by candlelight...
3
 
well, until the battery runs out
then write your code on paper
compile it in your head
 
@TonyTheLion No, real candles, not flashlights.
 
pedal powered laptop
 
6:54 PM
Maybe your could write a script that generates electricity. Oh, wait..
 
@SamDeHaan the machine you're coding on also requires electricity?!
@Tocs lol
buy a faptop instead...
 
@TonyTheLion whoosh.
 
just a detail...
anybody know a movie worth watching?
 
You'd need a system where you have a platform where you put a weight on and it then slowly sinks to the bottom generating electricity. I'd put some really heavy shit on it and with the resistance set to max.
 
Visual studio just deleted all my project settings since I renamed the project file.
Thanks VS
 
6:56 PM
@TonyTheLion jinni.com
 
@TonyTheLion We'll watch The Dark Knight Rises next Friday.
 
@TonyTheLion Have you seen the Miyazaki movies?
 
@R.MartinhoFernandes I saw that yesterday. I'll just say that it was worth paying 16$ to see it.
 
@R.MartinhoFernandes I've seen it, pretty damn awesome :)
 
$16??
 
6:59 PM
@EtiennedeMartel Meh, I'll pay €4.
 
in Tavern on the Meta on Meta Stack Overflow Chat, 3 mins ago, by Johan Lundberg
I just found this question.. http://stackoverflow.com/questions/7612099/the-object-type-in-net-base-class-library
100% image
 

« first day (654 days earlier)      last day (4293 days later) »