« first day (843 days earlier)      last day (4332 days later) » 

00:00
The problem is that as the question difficulty goes up, there's less people that can understand it.
So less potential upvoters
@user1690130 If you insist I can arrange a room for you and Mooing Duck. If he, at all, intends to help you any further. Act soon, since I too will ignore you in a minute
@BartekBanachewicz Oh good.
@BartekBanachewicz Exactly.
i will do anything to get help
@sehe whatever you say
@user1690130 If you're just gonna be annoying then we will do anything to kick you out.
Also I believe it goes the other way: upvoting the easy question can be a confidence boost. "I know what's going on there"
00:01
@Mysticial i'm relly sory
@BartekBanachewicz yeah. That's a big factor. This x = (i==1) question... It's really tooo simple to warrant a question: by definition it shows a lack of research
@Mysticial i really did not mean to upset anyone
@user1690130 Calm down.
The integer overflow thing, well, I can forgive that one, allthough it is clearly a dupe of a gazillion other questions.
@EtiennedeMartel Erm. Who's not calm?
@BartekBanachewicz I usually don't plonk people. Since I want to actually see if anything they are saying warrants moderation. I usually just ignore them and pretend I've plonked them.
00:02
@Mysticial me too
0
Q: Why is there always flamewar over questions where many people know the answer?

Viktor La CroixI already came across questions to which many people "knew" the answer. Usually it gets many upvotes and downvotes, many answers and even more comments. It gets voted to be closed and re-opened again. Sometimes it survives sometimes it doesn't. It's understandable that it gets voted to be close...

Allthough I've had 3 people on plonk in the last week. That hardly happens, but sometimes I just don't have the energy to deal with it
^^ @sehe, I think this will be of interest to both of us.
dudes, this guy didn't know how to take a screenshot.
@BartekBanachewicz no i didn't. because i hardly go on the computer. and i don't send pics of myself over the internet
00:06
@user1690130 Then why are you trying to program?
@EtiennedeMartel what's wrong?
@Doorknob becuase i have to for this thing i'm doing
OH WOW that's descriptive
@Doorknob please let's not go there
"this thing"
Here's an answer in that form on how to solve your problem: First you do this thing. Then you do another thing. Do another thing, then another thing. Then you're done!
wow, ICC errors are clickable in VS output
00:08
@Doorknob pleaes don't dump on me
i'm obviously needy and helpless
...
I give up.
Why not, my first plonk!
@Doorknob i'm sooo sorry
anyone wanna play a round in Chivalry?
@BartekBanachewicz any line with <pathname>(line) pattern at beginning of line will be clickable in output window in vs
@doug65536 wow, didn't know that
00:12
works great for assert messages
hm it worked
click button ^
hm. any fast ways to zero std::array?
in Java it's easy array = new int[array.length];
maybe C++ can do something like that?
aha! Array.fill(0.f)
@Doorknob ... easy my ass. That's the fucking line that's causing all of java software run like crap
hello?
00:16
I could do it just like that, but it would be slow :P
@BartekBanachewicz Well I'd rather not have to do manual garbage collection :P
@Doorknob you don't know anything about C++, do you?
@BartekBanachewicz ...you can tell, right? :P
In modern C++, objects are destroyed when they leave scope:
{ foo(); std::unique_ptr<Obj> (new Obj()); bar(); }
but you know when they are destroyed
2
A: Why is there always flamewar over questions where many people know the answer?

MysticialOkay, here's my assessment of that question. Is it on topic? Yes Is it constructive? Yes There is only one correct answer. Is it too localized? No This is pretty common syntax IMO. Is it a real question? Yes The question is very clear. Is it a good question? Probably not. It's too basic in my o...

00:19
you don't just throw them into a giant pit.
@Mysticial You have my upvote
Nother doubt i am having then how can I copy the contents in the table of one database into the table of nother database.will u pls help me in dis also. — monish Mar 2 '10 at 9:53
Well written, eh?
Just came across this.
Backlog much?
@EtiennedeMartel I am getting messge that the file is corupt
funny, I read that as "greedy and obnoxious"
Must be time for bed
00:24
what the fuck is SELECT INTO
@sehe i was glad to mke you laugh
@BartekBanachewicz PL/SQL, or similar. It selects into (REF) cursors or local variables
45
Q: The downside of reputation points (and why stackoverflow will die)

jgormleyI just read a question (what is database normalization) that asked about data normalization. If I had to guess, I would say that the person asking the question is not seeking an answer, but seeking to have their reputation points increased (see arguments below). This is the inherent problem wit...

@BartekBanachewicz Oh I see what you refer to, that's MSSQL for copy a query into a table/writable view IIRC
@Mysticial meta.stackoverflow.com/revisions/20309/3 Edit comment: couldn't resist Hahaha!
00:26
@Mysticial lol. also good observation
@Doorknob lol. well spotted
Goodbye vector and matrix classes. I'll miss you
@Zoidberg Everyone know Dicky Dick is a cat
@BartekBanachewicz How so?
@BartekBanachewicz By the way, have you seen boost 1_53?
@sehe I'm (finally) switching (my engine) to GLM
@sehe Of course I have :). What do you like the most (from new features)?
Boost 1_53_0 has lockfree containers, atomic<>, multiprecision and coroutines.
15
coroutines <3
atomic seems pretty useless, though
00:31
@BartekBanachewicz I can hardly choose. The multiprecision is probably of the greatest general value. Coroutines interests me the most
lockfree containers, is a bit meh what with TBB, PPL, LibCDS and what not.
Still nice to see it packaged in Boost. I will have to read up on that
This is the reason why people should learn C first heh.. — Joe 42 secs ago
Well I can't wait to compare boost coroutines to lua
Lua has coroutines?
yeah, and quite powerful ones.
> Boost.Coroutine depends on Boost.Context, Boost.Exception, Boost.FunctionTypes, Boost.Move, Boost.MPL, Boost.Optional, Boost.Preprocessor, Boost.Range, Boost.ResultOf, Boost.SmartPtr, Boost.StaticAssert, Boost.Tuple, Boost.TypeTraits as well as Boost.Utility and requires Boost-1.52.0.
^ whoa. Wokay no real surprises actually
00:34
ouch.
"requires Boost-1.52.0." ?
it's basically just "Boost.Context required", plus a bunch of meta programming utils
@BartekBanachewicz This is obviously a phrase from the documentatino from before admission into boost
ah, okey
i like boost coroutines example
 io_service_.post(
                boost::bind(
                    & session::destroy_, this) );
@BartekBanachewicz hmm. I don't see anything coroutine-y there
I thought coroutines were a form of cooperative multithreading - where you "manually" switch tasks
I'm building boost as we speak
@doug65536 They are. Well, except for the manually part
00:40
@sehe hah, ok, it's from this example, but I like it actually separately from the fact it's being used in that example
@doug65536 that's correct
I'll get it later
ok, yes it could be automated, I can't help but imagine fibers when I think of coroutines
fibers being...?
faux threads (windows specific)
fibers/strands are the logical unit, but coroutines define the control flow as if there was no context switch involved
@BartekBanachewicz user mode threads in win32 where you can manually switch "fibers" - get it? fiber? a thread is fibers? inaccurate name
well, whatever
coroutines are separate from (OS|physical) threading, as sehe said
00:45
what would be a good use case for coroutines?
@doug65536 asynchronous IO, event based parsing, responsive GUI programming, readable state machines.
... on one physical thread
That's all a given, since all of the above become hard with threading (or forbidden with most GUI frameworks/OSes)
so you can do a lightweight context switch away from a blocked I/O, then later when the I/O completes you can make that coroutine run again?
It's the same thing that has been driving nodejs and erlang, to name some examples
00:48
@doug65536 more or less, yeah
@doug65536 More importantly, the context switch happens for you, when you expect it (ideally)
Usually you switch it when there's actually some data
Basing on epoll(or similar) results for example
@doug65536 And the crux is that "make the coroutine run again" actually means "make it resume where it left off" (complete with execution context)
and/or some additional data you might want to provide
also, every yield (switching "out") can also bring data out
Lua coroutines are assymetrical (different resume/yield functions), dunno about boost yet
you know what's funny? I hacked together a coroutine implementation (that I was pretty sure wouldn't work due to stack overflow detection) last week as an experiment
00:51
@doug65536 Woot. Nice
That sounds like stackless coroutines? (how would the stack overflow come into the picture?)
Damn you're hardcore
I knew it would trigger stack overflows in stack checks so I just hacked it together quick
@BartekBanachewicz Anyways, just checked bcp results in 1500 files netting 16Mb for boost/coroutine/all.hpp
@doug65536 Anyways, C++ has had some implementations for stackless coroutines (e.g. in the Asio library)
@sehe yea, I wonder where this guy came from too right now
00:54
@BartekBanachewicz I know his username from looong before.
@doug65536 did you perhaps change part of your nickname (the non-numerical part)?
@sehe that's a lot, really.
@BartekBanachewicz Agreed. There is some truth to the common complaint that "boost is hughe" and "bring in one header, get the whole repository" :(
@sehe my implementation is almost exactly what a real multithreaded context switch system would do. It switches stacks and pops context.
SLOC	Directory	SLOC-by-Language (Sorted)
62736   mpl             cpp=62736
32006   preprocessor    cpp=32006
11540   type_traits     cpp=11540
4366    smart_ptr       cpp=4366
3773    config          cpp=3773
3642    range           cpp=3642
3131    typeof          cpp=3131
2446    coroutine       cpp=2446
2366    algorithm       cpp=2366
2139    top_dir         cpp=2139
1797    exception       cpp=1797
1674    detail          cpp=1674
1533    iterator        cpp=1533
1421    tuple           cpp=1421
@sehe I've been using this name for quite a while. yeeears ago I was on EE with some other name
00:56
@doug65536 Okay, sounds stackfull. This mechanism is what Boost.Context implements (in an architecture independent fashion). Boost.Context was there in Boost 1_52, which had me eagerly waiting for the Coroutine implementation on top of it.
@doug65536 Perhaps, you changed avatars then? There is something different.
@sehe can't think of anything :)
@doug65536 The season! The season's different (can you tell I'm hiding the fact I'm going senile?)
user142019
¶▅c●▄███████||▅▅▅▅▅▅ ▅▅▅▅▅▅▅▅▅▅|█
▄██ newfags can’t tank █ ██▅▄▃▂
████████████████████ █►
◥☼▲⊙▲⊙▲⊙▲⊙▲⊙▲⊙▲ ⊙☼◤
I'm going to go to bed early today. See you around

« first day (843 days earlier)      last day (4332 days later) »