« first day (630 days earlier)      last day (4317 days later) » 

12:00 AM
@StackedCrooked That's already well beyond me. :)
 
@Mysticial I'm just fantasizing.
But it might work.
Or resize the Window back and forth rapidly to create the visual effect of a protruding portion.
 
@StackedCrooked I think the way Java does it for Swing is that every time something extends beyond the parent window they use another nonlightweight window to make it work
 
@Insilico If memory serves, at least in Windows you want to make the drop-down owned by the other window, but not a child of that window. It's being a child that limits the window to being inside the parent.
 
You only need one extra window since menus and drop down boxes are active only when they are in focus.
@JerryCoffin Right. It might take some tweaking around to make it visually indistinguishable though.
 
@Insilico A Window that behaves like a menu pop is referred to as transient window iirc.
 
12:06 AM
I wouldn't be surprised if the GUI toolkit just allocates two native windows for each lightweight window, the main one where everything is drawn and a "back up" one for the menus and dropdowns, etc.
 
@Insilico Yes, I would guess (but I haven't done it in so long that 1) I don't remember, and 2) if I did remember, it probably wouldn't mean much anymore anyway (definitely predates things like Windows themes).
 
12:17 AM
Howdy
 
hi
 
hi
 
aloha
 
12:22 AM
@Mysticial exactly repcapped
 
hi :D
 
@ScottW So, how's Michigan today?
 
@sehe Yeah, it gave me 20 votes. But I was already capped before that.
But the question is on the Multicollider, so I expect a few more upvotes in the next few hours. Hopefully enough to reach 25.
 
Why 25?
 
badge
And if the accepted answer gets upvoted to 11, then it's another badge.
 
12:27 AM
out of sheer curiosity, what is everyones favorite IDE?
 
Visual Studio
 
mine is Geany :)
 
@JerryCoffin What's happening tonight?
 
Oh hey, the pi question has enough votes to make the week-tab... cool. 10th though...
 
yay, my UDP modules are finally coming together >.>
I hate how vague the errors are that are raised by the socket module >.>
 
12:43 AM
C-style error handling :p
 
@ITNinja Geany is pretty ncie from what I've seen. I usually use vim, though
 
@sehe yeah, my favorite part about it is that on ubuntu, you have a terminal built into it, and on windows, you have a one click execution (spawns cmd). In addition to that, i like how it keeps track of classes/functions/global variables :)
 
@ITNinja yeah the builtin tags list is quite nice. somehow it is less crufty than other IDEs
 
@sehe True, but for my uses (python) it does really well haha. I dont use it for c++ and other languages really (i have codeblocks for c++).
well, python/html/css
 
Still using QtCreator. It has gotten a bit unstable in the last release though.
 
1:00 AM
Lol!
 
-2
Q: How can I delete my account around here?

John SmithPlease tell me how to delete my account. I don't want to be part of this and in that case I do not want an account. Regards John Smith

ragequit
 
Xeo
@Mysticial just thought the same
 
1:18 AM
JOHN SMITH BITCHES
 
Johnny be good now.
 
1:38 AM
@ManofOneWay Sorry, had to disappear and start some supper. Just have a moment now -- have to get back to it soon.
 
so what is everyone up to? :)
 
2:09 AM
Sleep
 
xD
 
catching up on anime
 
cool :) im giving myself about another hour to work on this framework then im going to watch Dr.Who before my mind melts xD
if only i had a third monitor and a mini-fridge, i wouldnt have to leave my chair at all xD (with the exception of going to the gym).
(third monitor=devoted to netflix)
sigh i need to get to work on this xp tower... got it for free from a friend haha, its got a nasty virus on it though >.>
 
@ITNinja Installing Linux is usually an effective way to eliminate that problem (though some would argue that it replaces the current virus with an even worse one...)
 
@JerryCoffin yeah, i plan to. Im turning it into a UDP/web/teamspeak server :P
 
2:40 AM
alright, im off for the night. Talk to yall tomorrow :)
 
night
 
Xeo
3:11 AM
@Mysticial Whatcha catching up on?
 
Just finished fate zero.
 
Xeo
Awesome
 
Downloading Sankarea and Accel world
 
Xeo
Since I read both Manga, I skipped the Anime
 
aww...
 
Xeo
3:14 AM
I particularely enjoyed Nyarlko-san, though
 
@Xeo same :)
Needed an over-the-top comedy.
 
Xeo
3:44 AM
'twas good
Currently pondering if I should even watch anything from the new season
 
 
2 hours later…
5:41 AM
"C++ streams will correctly parse C-Style escape codes, such as strings that contain \n, but it is much more hip to use the built-in endl mechanism for this purpose." quote from "Professional C++"... they gotta be kiddin' me right?
 
Xeo
@refp burn it!
 
@Xeo I will after finishing it, or well.. rm -f at least
 
I thought the whole purpose of reading that book was to practice facepalming?
 
Xeo
Should've been named Professional Facepalming, eh?
 
@Mysticial exactly, but still; who came up with the sentence above?
@Xeo true dat.
 
5:43 AM
lol, nice...
 
I'm.. speechless.. "C++ streams will correctly PARSE C-Style escape codes"
it's not even funny anymore..
 
Looks like this guy needs help closing his own question:
0
Q: How do I retrieve a pointer to member for an _element_ in an _array_ of an object?

boboboboSay you have a structure with a fixed size array. struct S { int a[10]; int b ; } ; Goal: Retrieve pointer to member for any index element of a. Either: Pointer to member for the array a, that can be dereferenced later, Pointer to a specific element of a So far I have: int main() { ...

 
6:01 AM
So...Tired....Must...Stay....Awake...
 
 
1 hour later…
7:12 AM
Wake up you fools.
 
long time no see.
anyway,
0
Q: How to ensure Singleton is not destroyed prematurely?

IntermediateHackerIn my project, I'm working with about 4 singletons made the Scott Meyer's way. One of them: LevelRenderer& LevelRenderer::Instance() { static LevelRenderer obj; return obj; } Now two of those Singletons, LevelRenderer and LevelSymbolTable interact with each other. For example, in t...

 
The best way to ensure that is to not use a singleton.
::instance(), huh? Why not just class MySingleton { … } instance;?
 
7:32 AM
@RadekSlupik it's not lazy, and not header-only.
 
Oh right.
extern :P
Laziness. Hmm. I'd avoid singletons anyway.
As hot as Radek Slupik?
That would imply hotter-than-hell-ness.
lol SMS notifications for a bug tracker.
 
7:49 AM
@ScottW hmm.. Michigan is 28 *C today. You call that hot? It's 54 *C over here. 28 is considered cold.
 
8:43 AM
^ Summer's salad
 
99% of Alf's messages are pics of food.
I wonder how a Python egg tastes.
 
0
A: c++ split string by double newline

NawazThe reason why your code doesn't work is explained very well by @Benjamin in his answer. So I would show you an alternative solution. No need to do manual splitting. For your specific case, std::stringstream is appropriate: #include <iostream> #include <sstream> int main() { ...

am I the only one who thinks that the above answer is just pure.. pure.. not good?
 
9:05 AM
No.
Downvote it.
 
I have.
 
Me too.
I like downvoting the wrong.
 
@RadekSlupik +1
oh wait, we can star messages here..
 
Tomorrow I'll finally go back home. I miss the Netherlands.
Poland. :(
Yes. :( :(
 
I never wanna go home when I'm abroad, which I am quite often.. I feel bored at home (which I can blame on my parents who made us move.. well, very often when we were kids)
I'm 22, the longest time I've ever lived on one location is about.. 2.5 years, and that was when I was about 5-6
 
9:17 AM
Being home is the best thing ever. At least I have a computer there. :p
 
@RadekSlupik laptops exists for a purpose!
 
I need two screens for serious development.
I could bring an additional screen. :P
 
why do you need two screens?
 
@Nawaz: this code needs to ignore every second (consecutive) empty line. — Cheers and hth. - Alf 29 secs ago
 
just use a window manager where you can easily switch what's on the screen, it's not like you can look at two screens at the same time anyhow
@CheersandhthAlf I got tired of trying to explain what he was doing wrong, maybe I should write a proper answer with a good solution. (I don't think the accepted answer will work as it's intended either, even though OP doesn't seem to be aware of that)
 
9:19 AM
Ehm one for my code and the other one for docs (and in the case of web development, the browser).
 
@refp I am not sure that you guys understood how the answer is wrong.
 
@CheersandhthAlf why do you say that?
 
because of the comments
 
hello! can anybody advise me book about c++? ( level = advanced or higher )
 
Switching windows continuously doesn't work.
1299
Q: The Definitive C++ Book Guide and List

grepsedawkThis question attempts to collect the few pearls among the dozens of bad C++ books that are released every year. Unlike many other programming languages, which are often picked up on the go from tutorials found on the Internet, few are able to quickly pick up C++ without studying a good C++ book...

 
9:21 AM
@CheersandhthAlf "please add statements so that the [] are printed around each group", you don't think that is good enough to say that I knew how the snippet was wrong?
 
@RadekSlupik thanks!
 
Books suck.
 
it's just, i think it would have helped @nawaz much more to just give an example of incorrect output, or what he should do to make the code correct. that would also demonstrate that one understood what was wrong (and not just made a claim).
 
I miss my beautiful… code.
 
9:25 AM
Display kill my eyes slowly, but books don't
 
Writing code > tutorials + books + all the things
 
books + writing code > writing code
 
@ScottW moving is great!
 
my ex constantly copied…
NOO ;_;
Copying is fine; I don't care about him. But not moving! D:
Is black faxing illegal? I want to troll Oracle.
Oracle is an evil corporation.
 
there's no one on the stronghold crusader server. :'(
does this mean I'm the only one in the world who is still playing that old shit?
 
9:36 AM
hihi
 
@RadekSlupik i agree. the latest java update included an opt-out IE toolbar with custom start page and shit.
or is that oracle?
checking...
yes
it is amazing in a way. what person would present him or her self to millions of people, with excrement here and there on the body -- having added that just for the occasion? yet that's what oracle does.
 
they make Java, they're already covered in excrement
 
Giant software companies usually suck.
They have ten billion layers of management, and instead of focussing on quality and perfection, they focus on trends, buzzwords and $$$.
And their GUIs and websites usually looks like dog shit xd
Microsoft's GUIs being an exception; they look quite good.
At least, Windows 7 and later.
Their website is still uglier than yo momma, though.
 
9:54 AM
@RadekSlupik are you support open software?
 
Depends.
If it uses a GNU license, no.
BSD and zLib are my favorite.
GNU may be great for users, but for developers it's just a pain in the ass and has more cons than pros.
Not to mention that GNU is invented by an asshole.
For using software, I don't care if it's OSS or proprietary, as long as it is usable, stable, looks good and has the features I need.
I release almost everything I write under the zLib license, except for some projects I want to make money with (such as a web app I'm currently working on).
It would be funny if Torvalds or rms joins this room.
 
hmm.. i work with Mac OS and Solaris and at home use Win7 and Mint. And don't like Apple Store for money, but like it for support. Mint is great in stable, but always have a chance in crashing after upgrade. Win7 - slowlest of all, but have nearly 7 IDE, and i don't want to kill it. Solaris... - it is ... don't want to comment
 
The Mac App Store sucks cunt.
Polish ambulances sound like an eighty's video game.
 
10:10 AM
yeah, almost for money :\ but as a company - they really care about users. i think, that if your computer crashes, you will need some time to install software. and my dream is not to do this and always have a system with software that i want to have.
 
Automatic back-up. FIXED.
If your HDD crashes just restore from the back-up.
 
ok, you protect from bullets with your HDD - what you will do with back-up?
 
Restore if your computer crashes.
 
or you lost your computer, that more realistic.
 
Buy a new one and restore.
Back-up should be on an external HDD or SSD.
 
10:16 AM
you lost it, too
 
Then you are an idiot.
If you know you are chaotic, make multiple back-ups.
Perhaps online back-ups, like the iPhone does.
 
10:32 AM
this is what i want to hear. so, if you want stable system, you need to pay for people, that care about you
 
He's an idiot.
Paying is for people with money, i.e. not me.
 
are you pay for safety?
 
What?
Why would I pay for safety? My house has a lock on the door.
 
and what? your house with lock is another challenge for thief
 
@loldop I do. I pay for Amazon S3 storage, tarsnap and a VPS server. I have all my data off-site, and the VPS serves as a fall-back internet access point
@ScottW troll on
 
10:37 AM
I live in the smallest village ever. A thief wouldn't even come here.
Besides, there is nothing valuable in my house, at least not of monetary value.
 
@RadekSlupik Schijf is not the smallest. I think Achtmaal is smaller. And no thief would ever go to Rucphen :P (unless he wants to steal pigeons)
 
Wouwse Plantage :p
 
@RadekSlupik Did you move? Planken Wammes :)
 
@RadekSlupik The graduation list showed 'Schijf' on the school site
 
10:39 AM
Tomorrow I'll to back to Schijf. :D
 
@ScottW Only temporarily
 
@sehe yeah I live in Schijf.
I've always lived in Schijf.
 
Clarified. Probably right. So many tiny villages.
 
Yeah
It's a street with fifty houses. Xd
 
guys
 
10:40 AM
girl
 
@ScottW if thief don't afraid about police, he will accept any challenge. you will pay tax for goverment to provide safety for you, will you?
 
(added)
 
@RadekSlupik Since you know what it looks like...
 
Well I have been there once.
 
@ScottW you can move to forest or make you new country
 
10:42 AM
I used to cycle from Roosendaal to Bergen op Zoom on saturdays for my piano lessons. I kind of know the roads there
@loldop Make your country on the moon
 
I cycle from Schijf to Roosendaal to get to work. :p
@ScottW new!! DIAF!!!
 
How's the job coming along? Disappointed yet?
 
auto country = std::make_unique<Country>();
 
I write code and I get money for it. How could that possibly be disappointing?
 
10:43 AM
@RadekSlupik Good
@RadekSlupik Correctemundo. Not dealing with code of others, then?
@ScottW Irrelevant. He will know the answer to that
 
@sehe yeah :(
Code written before by people at other companies. The latest code I fixed was one big SQL injection vulnerability. xD
 
One tip: pick your battles. You know you can improve everything, the art is to decide when it adds so much value that people will love you for it
 
I didn't fix the vulnerabilities.
As long as it works it's fine. The client would give a thousand euros extra if we finished before the end of Thursday, and we did.
We only had to add features. The client didn't tell us to fix security vulnerabilities. :p
 
Last Friday, I completely flustered my colleagues. There was a problem with the (Oracle) database schema and the data which needed to be imported/migrated from anohter (slightly different) database.
The DBAs (3 of them) hadn't exactly done the job right. You know, database triggers, constraints, referential integrity. The morons had just disabled constraints so they could 'get the data in'. Needless to say, we had a lot of silly behaviour as a result.
 
lol Oracle. Piece of shit.
Oracle is not web scale, because it uses joins and write to disk.
 
10:51 AM
When I reported the issue (with high priority) I got something like 'yeah but generating the export scripts alone took 5 hours, and it is hard to find those triggers that are disabled etc. etc.). So I went mad, and 1.5 hours later I had re-migrated the data on the DEV and TST database instances, with a proper script they can reuse and complete logs. The actual import ran in 7 minutes. The export (manually) took 20 minutes. Duh
@ScottW Well, it makes sense for bulk import of interrelated entities. At least, Oracle will revalidate all constraints on enabling. Triggers, however, won't have run
 
Write your own DBMS.
 
meh oracle
lol
 
@RadekSlupik That might be quite a bit challenging :)
 
I'm rather curious as to the response from the DBAs when they find the mail monday morning. They had been 'doing' (flunking) the import a week ago, and I noticed one (1) of them had written 13 hours of work for that on the project. Hahahaha.
So, 13 hours of work was only one person - it will have been more - they failed badly (leaving primary key constraints disabled is NotGood(TM)) and I had to do it again. In <90 minutes. I think I'm going to have to speak to our resource manager some time soon about this
 
Resource manager? Is he a singleton?
 
10:56 AM
Oh god. I hope not
 
He's a global instance of a non-singleton?
 
managers are meh
 
managers just suck up money and get in the way
 
11:16 AM
heh
Figuring how to make money is a skill you need, UNLESS you want to end up like RMS :)
and then you still need to tell people about the free software blah blah so they feed you
 
11:40 AM
damn it, I need my golden badge so that users will take my answers seriously and not just up-vote some douche having high rep
that's one of the issues with stackoverflow, that users tend to upvote answers written by someone who's score is of a significant magnitude larger than other authors
 
11:52 AM
Like that Romanian guy who is wrong 80% if the time? :p
 
@refp there are two gold badges which you can farm easily
 
@bamboon which ones?
 
@refp fanatic and electorate
 
@bamboon fanatic will take me at least 93 days (starting today), electorate.. well, I'm not much of a voter to be honest - even if I should start doing that
 
12:04 PM
@refp Actually, I think users tend to upvote the first "good enough" answer they see.
 
@EtiennedeMartel that's not my experience to..
FCUK. I hate when OP edits his post and completely changes the question after I've written a good answer to the first one..
I'll abandon the question, sorry OP..
 
Downvote it.
Downvote the annoying.
 
12:33 PM
Afternoon, people!
 
Hello.
 
Anyways, Kyrostat team present, I would like to apologize for being a bit distant lately. I've got a bit of a problem at home.
Should be back soon, though.
 
Hai, Lion, having a good day?
 
yea, as good as can be
you?
 
12:42 PM
@DomagojPandža It's not like any of us got any work done in the meantime...
 
@TonyTheLion Pretty good too, minus some headache. :D
@EtiennedeMartel Oh, I've been working on the website and the prototype, just silently until I sort this out. :D
It should start rolling soon
Static friction of development is the hardest to breach :D
 
I'm moving today, and I won't get Internet access at home until next thursday. I'll be online at work, but that's about it.
 
Woah, I don't know if I could survive that long. :D
 
Yeah, you Europeans are used to blazing fast Internets that are always available.
Here, we have to make due with middle aged crap.
 
What is std::get used for other than retrieving values from std::tuple?
 
12:49 PM
Nothing.
 
@EtiennedeMartel lol, my internets is a cup and string here
300kbs dl at most
 

« first day (630 days earlier)      last day (4317 days later) »