« first day (667 days earlier)      last day (4282 days later) » 

2:00 PM
@R.MartinhoFernandes Now in Python! pypi.python.org/pypi/withrestart
 
people like that make our lives miserable
woah, you can reply directly to message in the starboard now?
or did that already exist?
 
@TonyTheLion parse error
 
@TonyTheLion directly what to a message in a starboard?
 
I've had that for a long time, but I can't guarantee it's not from a script.
 
2:03 PM
I don't remember ever having it, but now I suddenly do
 
I don't have it.
 
I moved my NAS device for the first time in a few years, the sheer amount of dust it had collected on the back fan is insane
 
@kbok 7? He's generous.
 
@EtiennedeMartel Especially for someone who still writes "C/C++".
 
2:05 PM
@EtiennedeMartel I'm guessing those ratings are on a scale of 1 to 100...or maybe 1 to 1000.
 
Anyway, I'm off to work. See you all in 30 minutes!
 
@EtiennedeMartel Later.
 
The sole idea of rating someone, let alone one's self, out of 10, is super dumb.
 
Who else is qualified?
 
2:08 PM
@R.MartinhoFernandes ?
 
@kbok Only you yourself know yourself well enough to rate... yourself. Or so says the robot.
 
@rubenvb You may know yourself but, unless you know it 100%, you don't know the language enough to rate your knowledge of it
 
Tony hunting the tourists.
3
 
I'm generally not in favor of guns. But I'd prefer to have one in a situation like that.
 
@kbok yeah, I agree with that. Just saying what the robot was trying to say.
 
2:13 PM
@StackedCrooked So you can shoot your partners and throw them at the angry lion so it lets you run away.
 
@StackedCrooked I would prefer a tranque gun, I would hate to have to kill such a creature
 
@thecoshman Pro-tip: tranquilisers don't take effect instantly.
 
@R.MartinhoFernandes powerful enough ones do.
 
@rubenvb no, they don't.
 
they may have the occasional side effect of cardiac arrest, but the overall effect is the same
 
2:15 PM
^ death from above
 
@rubenvb And what happens if you don't hit the heart?
 
@R.MartinhoFernandes fire more darts
shotgun style
 
Yeah, right.
 
aerosol
mustard gas
 
Or use lead.
 
2:16 PM
@R.MartinhoFernandes pro-tip: the most important thing to pack when on safari, is undies
 
And that's why you'll die at the hands of a raging elephant.
 
@R.MartinhoFernandes more likely the feet to be honest
I doubt I will live long enough to see elephants evolve hands
 
@thecoshman Don’t underestimate their trunk!
 
They have a trunk? How convenient.
 
@thecoshman I doubt elephants will live long enough to evolve anything.
 
2:28 PM
Cloning.
 
Why are we tagged NSFW?
 
Because I'm way too sexy.
5 questions tagged .
 
@Drise this room must cost the global economy about the same as a third world country provides
 
good morning everyone :)
 
2:44 PM
Good afternoon.
 
what is everyone up to? :)
 
I am in Friesland.
 
o.o?
 
@R.MartinhoFernandes Among them: gay porn. Just wow.
and hentai porn
 
i lolled a bit when i looked at that tag haha
 
2:52 PM
what the fuck
 
Wut?
 
@KonradRudolph I think that's redundant.
 
@R.MartinhoFernandes just “porn” then? ;-)
 
pleonasm
 
I knew Stack Exchange was hot!
 
2:55 PM
It's like saying "porn anime porn".
 
buuuuuuuurning hot
 
Sack Xxxchange
 
== true
 
I hate Mondays.
 
I feel good.
 
3:02 PM
You look marvellous!
 
You know what's worse than Monday?
 
?
Sunday night?
 
Monday after vacations :)
 
Yeah, true dat!
 
You know what's worse than Monday after vacation?
Monday with overtime.
 
3:03 PM
I have monday with overtime, and it's my first day after 3 weeks of vacation :(
 
Yeah, I think you win lose.
 
Like I said to my colleague: Isn't it nice to be popular :)
 
Crap, I should be down right thankful.
 
Ik ben melig. xD
 
Yeah, what he said!
 
3:04 PM
Whoops. Apparently I forgot how to strikethrough in chat.
 
@SamDeHaan three ---
 
hello
 
@SamDeHaan Fixed. Claps
 
you suck at chat
 
Golf claps.
 
3:05 PM
Slow claps?
 
Yes, slow and they don't really make a noise.
 
Hard. Furious. Maniacal claps
@Chimera But they smell, right?
 
I don't know though, sehe, I may still win. I'm doing QC testing overtime for a product I'm not familiar with, using crappy written scripts, no automation, and incredibly poorly designed procedures.
 
@Chimera you're not doing it properly
 
Hard, furious faps?
 
3:07 PM
@SamDeHaan No, you're not. You're chatting.
 
@Chimera You missed maniacal.
 
@SamDeHaan Chainsaw through the wrists.
 
:-)
 
@R.MartinhoFernandes Well yeah, why do you think I need to do overtime?
 
@Chimera You mean @DeadMG-style fapping?
 
3:08 PM
@EtiennedeMartel WTF is that?
Wait, I don't want to know.
 
@R.MartinhoFernandes Just follow the thread, damn it.
 
@EtiennedeMartel I don't know what that is...
 
May 25 at 13:19, by DeadMG
vigorous masturbation
 
Errm,,, oh yeah, that's what I meant.
What a character.
@sehe They are the deadly ones.
 
@Chimera "silent but deadly"
 
3:10 PM
@Chimera woof woof motherfucker
 
Hey how's it going Dead?
@EtiennedeMartel Pretty much so,
 
flump
 
@EtiennedeMartel More along the lines of 'update my resume'
 
crap on a stick, it's only Monday
I've already had too much of this place :S
thank fuck it's only a three day week for me
 
"thank fuck"
 
3:19 PM
@rubenvb ?
 
time to set sail then!
 
with bittorrent on
 
impressive
 
3:24 PM
@EtiennedeMartel wtf
 
@DeadMG most impressive
 
Not quite as good as Canada, but it will do.
 
@DeadMG We're plugged directly on the backbone.
 
ah, whereas I'm on a domestic connection
 
@EtiennedeMartel I thought that ping looked rather low.
 
3:26 PM
It's not exactly comparable.
 
wut? Onebox for comments not working?
 
@R.MartinhoFernandes Seems legit.
 
@R.MartinhoFernandes roflcakes
 
3:33 PM
I'm still laughing.
 
Alright, this may seem bizarre, but I need to be able to ssh into a computer, then use SVN on another computer on the network. Any ideas?
 
$ ssh username@computer?
 
Any ideas about what?
Just do what you described?
 
@R.MartinhoFernandes I'm on windows..
 
3:39 PM
Ok. Maybe I'm not explaining properly. I'm on computer A. Using TortoiseSVN, I need to connect to computer B to access the repo on computer C to pull files to computer A
 
IIRC, it should work out of the box. TortoiseSVN ships TortoisePlink, which does the job.
 
Seems like stackoverflow not for so simple questions — zest 6 mins ago
Wtf is this?
@R.MartinhoFernandes You're right. It does work, but only if computer A is on the same network.
 
@Drise An idiot
 
@KonradRudolph Flagged, btw.
 
Why? Just ignore it
 
3:42 PM
Flag all the things.
 
"We should run doxygen on our project." -- My boss, 7 hours ago. Still running.
 
@Drise You mean, B can access C, but A can't?
 
@R.MartinhoFernandes Exactly.
 
Sounds like a job for an SSH tunnel.
 
@kbok Nice!
@R.MartinhoFernandes That sounds sensible.
 
3:45 PM
I'm afraid it has decided to parse all the header dependencies as well.
 
I’ve received more downvotes today than in a loong time
 
@R.MartinhoFernandes Or Superman.
@KonradRudolph Really?
 
@KonradRudolph You a .NET person?
 
@Drise Used to be, but I’ve ditched Windows, since it’s crap as a development platform
and MonoDevelop sucks
(at least on OS X)
 
@Drise You'll need the SSH daemon running on the middle man, and then you set up port forwarding to C.
 
3:47 PM
so I don’t do that any more
 
@KonradRudolph Wut.
 
@R.MartinhoFernandes I can ssh to b, then c already. Now to just get a to be able to pull through b.
seems somewhat like so.
 
@Drise That's what port forwarding is for.
 
@EtiennedeMartel What did that refer to?
 
That -L flag is for that.
 
3:49 PM
@KonradRudolph I think Windows is great for development.
 
Now I just need to set up tortsvn
 
@EtiennedeMartel Ah. Well, I don’t. It’s got VS (which is great), but nothing else.
 
hum
 
Huh, I get weird messages on Twitter:
 
bool blah = abc == def
 
3:50 PM
I only need vim and GHC.
 
@klmr Hi Konrad. Keen to discuss with you some interesting developments in C++ space in Berlin. Sorry to be so vague at this stage.
 
would you put braces around the comparison, i.e. blah = (abc == def) ?
 
I wouldn't.
The names would sort everything out.
 
@CatPlusPlus I need a freely composable toolset. I.e. a powerful command line interpreter + command set, plus a usable, efficient terminal emulator (so PS is out)
 
@kbok Probably, yeah. The equals signs are a bit tricky to parse. Might depend on context.
 
3:51 PM
bool is_something = stuff == shit;
 
For what?
 
@R.MartinhoFernandes I'm afraid it looks a bit like is_something = stuff = shit
 
@KonradRudolph PS is not a terminal emulator.
 
@KonradRudolph I think Microsoft likes developers.
 
@R.MartinhoFernandes I know: PS itself is superb. But it lacks an accompanying terminal emulator.
@EtiennedeMartel That is not enough. Apple hates developers, yet their OS is still better for developers
 
3:54 PM
@KonradRudolph As long as you don't forget to upgrade when they release a new version every 18 months.
 
I have noticed it loads considerably slower in the default host than in Console2.
 
@EtiennedeMartel Not sure what you mean. I don’t use the Apple developer tools
 
@KonradRudolph Console2 is ok I guess
I use Console2 + clink/PS
When I have the time I'll make a few patches for C2 though. There are some things that are seriously missing.
 
@KonradRudolph Then, does that mean you would be alright on Linux?
 
@EtiennedeMartel Yes, except that Linux sucks as a desktop. There’s simply no user-friendly way to set it up (as in, hands-off installation) on a typical laptop. Every time I try, driver chaos ensues and something isn’t working, and I have zero time/patience to sort that out.
I do use Linux extensively on the server
(and most of my current development work takes place directly on the server anyway)
 
4:04 PM
I've been using linux as my desktop since I was 16, and I love the hell out of it. I haven't had driver issues with any modern distro for probably 3 years or more.
 
@KonradRudolph Headhunter.
 
but that's all anecdotal and highly dependent on the situation, I guess.
 
@DeadMG Ah. That makes sense. Incompetent, then. My online profiles should consistently show that I’m not in Berlin
 
eh
he's probably headhunting everybody he can find that's remotely C++
 
4:06 PM
@bkconrad That’s the problem. Lots of the issues seem hard to reproduce on other machines. I’ve actually had lots of fun setting up Linux on server machines as well. But graphics cards always seem to be a problem and every Linux install I’ve tried on a laptop failed at some point due to that
 
Wow, you've been really unlucky.
 
> If the Olympics are 3000 years old, ten they've been going on half as long as the universe!
 
@R.MartinhoFernandes I love the 6000 year old Universe dude. I almost called some of them out on Twitter for ultimate humiliation
 
nah, Linux is just suck
 
I hate young Earth creationists.
 
4:08 PM
OMG "3000 years, but it's only 2012"? These people need to die.
 
@R.MartinhoFernandes I'm trying to figure out where the number 3000 came from
 
@DeadMG That doesn't make it impossible to be lucky :P
@MooingDuck Ancient Greece?
 
true
 
@R.MartinhoFernandes I woke up this morning with a tiny shred of faith in humanity, and you took that from me
 
That's what we robots do.
Ultimately, the plan is to make tiny shreds of humanity.
 
4:09 PM
@R.MartinhoFernandes specifically: how did these people recently hear that number that caused their confusion? Was it on a/several newscasts about the olympics somewhere?
 
@MooingDuck It was mentioned in the closing ceremony.
 
"It's been going half a long as the universe"

Who the fuck are these people?
 
@R.MartinhoFernandes I should watch something of the olympics besides just the girl pics that float around the internet.
 
@Drise My immediate guess is that they're not real at all; somebody put it together as a joke.
 
@JerryCoffin Unfortunately, there are all too many people who really believe that
 
4:12 PM
@JerryCoffin I have many doubts that this is fake.
 
@DeadMG Probably mostly American
 
@MooingDuck It's too late now.
 
Digging up old C code : mxStaticsOrganizationEQUITIES_GENERAL_SETTINGS_LISTED_OPTION_REVAL_TAKE_CLOSING_‌​PRICE_IF_EXIST cstUSE_CLOSING_PRICE_IF_AVAILABLE_ONLY_AT_MATURITY;
2
 
@R.MartinhoFernandes it's only too late for live.
 
\o/
"Who needs comments ? I'll just stuff everything into the identifier."
 
4:13 PM
@kbok that's what self-documenting code is all about, right?
it's only good practice.
It just dawned on me that outside of work I don't know any other C++ devs. Just C# and C.
 
I don't know any other C++ devs outside of here.
 
@DeadMG hi. question...should I eliminate all but two of those template parameters from the GPU buffer? Reduce them down to just the data type, and another describing all the flags and options in one attribute. I would define a few specific values for that 2nd parameter combinations and add more as I need them
 
@MooingDuck I know like one guy but he does embedded development so I think it's just C with classes.
 
@melak47 Eh. Do what you want.
 
@DeadMG it's just that it's not particularly pretty or userful with all the options of the D3D11_BUFFER_DESC struct exposed in the template
I might just as well put the filled out structs somewhere and give them a name
 
4:19 PM
@melak47 If there are only a few useful combinations that are easier to express, then express them in an enum. But you can really do what you want here, it's not important.
 
> Ilya Zhitomirskiy, one of the four co-founders of Diaspora, suffered from depression and committed suicide at the age of 22.
whoa.
 
@DeadMG yeah that's kind of what my "purpose" enum for lack of a better description is
 
there's really nothing wrong with that
 
in java its done like this:

class MyClass throws IOException
{
...

}

what is the equivalent in c++?
 
@rogcg in C++ classes themselves can't throw exceptions, only functions (including class member functions) can. Also, C++ doesn't have checked exceptions. So there is no equivalent in any regard.
 
4:29 PM
@kbok tune configuration :)
 
@MooingDuck so the best approach would be throw the exception on constructor?
 
Are all IDEs \ {VisualStudio} slow because they're written in Java?
 
class MyClass
{
     MyClass() {throw IOException();}
...
}; //forgot the semicolon there
 
cool
 
@NikiC no, only IDEs in Java that I know of are netbeans and eclipse.
@NikiC Visual Studio is slow because it's poorly programmed.
 
4:30 PM
@MooingDuck that's throwing an exception, not an exception specification?
 
@sehe yes
@sehe in C++ exception specifications are bad and we should pretend they don't exist (except for nothrow)
 
Ugh, this is obnoxious.
 
To ask differently: Are all Java IDEs slow because they're written in Java (as in, inherently slow) or just because the programmers are really incompetent? (I am assuming that they are not incompetent, so the first case is the only conclusion I can make)
 
AGHH IDK whats happening. But in my company the firewall blocks a lot of sites, however I'm able to access github, but the layout has gone, it's pure html
its hard to manage my commits
 
@NikiC All IDEs are slow because IDEs are monstrously complicated. Most of them are not written in Java. Even the Java IDEs. (Java isn't noticeably slower than C++ for an IDE)
 
4:32 PM
@MooingDuck They aren't? What are non-Java IDEs (short of VS)?
 
@NikiC Visual Studio used to be a lot faster, but then they started rewriting parts of it in .NET, and (despite assurances about the efficiency of .NET) it got a lot slower (not to mention just plain ugly).
 
The following tables list notable software packages that are nominal IDEs; standalone tools such as source code editors and GUI builders are not included. ActionScript {| class="wikitable sortable" style="font-size: 85%; text-align: center; width: auto;" |- ! IDE ! License ! Windows ! Linux ! Mac OS X ! Other platforms ! Debugger ! GUI builder ! Profiler ! Static code analysis ! MXML |- ! FlashDevelop | | | | | | | | | | |- ! Flash Builder | | | | | JVM | | | | | |- ! IntelliJ IDEA | | | | | JVM | | | | | |- ! Realaxy ActionScript Editor | | | | | JVM | ...
@NikiC looks like I was wrong, most Java IDEs are written in Java. (about 75%)
 
@MooingDuck if I want to use IOException, should I include any specific lib?
 
@JerryCoffin I thought it slowed down because they added features in a stupid way. Like when editing an XML, it will open and load referenced XML documents. Over the internet. In the main UI thread.
@rogcg <iostream> has std::ios::failure, is that what you mean?
 
which is the equivalent to IOException correct?
 
4:36 PM
@MooingDuck While they did some things like that too, the simple fact is that even when you do something fairly simple (e.g., opening a normal local file) it's still noticeably slower than older versions on identical hardware.
 
@rogcg I... guess so? Most C++ code doesn't actually use std::ios::failure. It's the closest thing in the standard
 
Good evening
 
@MooingDuck which one is most commonly used
 
@rogcg no, I mean, there's only like 10 standard exceptions. Most of the time you write exceptions to match whatever it is you're doing.
 
Can I use boost::future to show progress bar ?
 
4:38 PM
Is there a list online somewhere of the exception classes in the standard C++ library?
 
I mean What I plan is I'll query the furure in a certian interval to get its value
and display that
 
@MooingDuck you mean ios_base right??
 
while the future value will be set in another thread
 
@rogcg I dunno
 
4:40 PM
@NeelBasu Futures are one-shot.
 
I dont get it. some people like using the pattern of not using any using namespace std. And call wverything with std::.... Why?
 
@ecatmur oh. hey. awesome.
@rogcg right, it's easy to type std::, and prevents mistakes. There's lots of questions on SO that would have been prevented if people used std::
 
@R.MartinhoFernandes Yes Thats what I am seeing. there is no setter. So is there any proper construct that I can use for my scenario ?
 
got it. thats a very good explanation
 
4:42 PM
SDL_mixer to the rescue!
 
@NeelBasu std::atomic<int>?
 
I'm rewriting my project from java to c++ (it's a programming language i'm working on) if anyone wants to contribute. github.com/rogcg/pixel
 
I don't want to use C++11 right now as till now so many compilers don't support it (am I wrong ?). and also there is no boost::atomic
@ecatmur and also I can never know whether the background thread has finished processing or not.
however I can do std::atomic<float> and wait till it is 1 from 0 ?
 
Hello everyone, does anyone know how to get the errno from a sigaction?
 
@NeelBasu chaoticmind.net/~hcb/projects/boost.atomic, or use boost/interprocess/detail/atomic.hpp (carefully).
@NeelBasu float isn't a great idea, atomic ints are much happier. You can scale by 100, say.
 
4:49 PM
Upon successful completion, sigaction() shall return 0; otherwise, -1 shall be returned, errno shall be set to indicate the error, and no new signal-catching function shall be installed.

Looks like you can just grab errno as it will be set...
 
@NeelBasu Use a work queue.
 
@R.MartinhoFernandes wouldn't it be more complex to listen to the queue size instead of listening to an integer ? also I need to do a lot of code change to do that .
@ecatmur but that will not be a standard way I think . I dont know is there any 0..1 type ? That I can use instead of float ? and What is the problem with
 
@NeelBasu I suppose there's some kind of UI event loop in place?
 
@NeelBasu Integral types have processor support for atomics. Floating-point types don't.
 
Just push new events in there.
 
4:53 PM
@R.MartinhoFernandes No It s Command Line App. But I'd like to show a % of loading in Command line while its being processed in background
 
Why process in the background then?
 
@R.MartinhoFernandes otherwise How Can I update the loading ?
 
Can the app respond to events while processing?
 
@R.MartinhoFernandes Well it will respond to the timer event to update the % of loading
 
@NeelBasu Just use a single thread then.
Pass a callback that updates the progress status.
 
4:55 PM
@NeelBasu Just print: "Progress complete: X%\r"
 
actually it takes pretty long time to do the processing. and user want to see % of progress in command line instead of seeing details
 
There's no need to have foreground/background threads if the foreground thread does not accept input.
If that need exists, then you're simply in the presence of a GUI app with weird visuals.
 
But how will the timer call my callback ? cause My main thread will be busy in doing that processing
and I cannot do any printing in the processor code
 
Wait, this progress bar is time-based and not work-based?
 
work based
 
Ell
4:58 PM
it doesn't need to be multithreaded
 
The the processing code needs a way to report work.
That's the callback.
 
Ell
if it's just printing, it can just do a callback
 
while(not_finished()) {
    do_a_tiny_bit_of_work();
    report_progress(++i); // this is the callback
}
 

« first day (667 days earlier)      last day (4282 days later) »