« first day (785 days earlier)      last day (4162 days later) » 

user142019
12:00 AM
Oh, just to note, you can also read from stdin non-blocking.
 
@R.MartinhoFernandes, I see what you mean.
 
I'll just come back after you all shut up about bad code
 
user142019
 
@Zoidberg'-- Not in C++. That was the point.
 
In six years? Man.
Dat discipline
 
user1182183
12:00 AM
ugh, what the hell is going on
 
user142019
@R.MartinhoFernandes you can with POSIX APIs or libuv.
 
@GamErix Funny you should ask
 
user142019
Nobody said you were limited to only the standard library.
 
@Zoidberg'-- We don't care. We knew that.
@Zoidberg'-- Shut up and go back up to read.
 
So why can't you terminate a thread?
 
12:01 AM
@GamErix seems like you don't know yourself, and have a hard time communicating it to others too
 
@R.MartinhoFernandes Have some of this puff, It'll mellow you out nicely.
 
user1182183
@TonyTheLion i'm running some more test
 
Your code is bad and nobody cares and oh god stop talking about it
6
 
user1182183
to determine the magic crash number...
 
WTF is that?
 
12:02 AM
Let's talk about something fun instead
 
@chris The better question is why would you want to abruptly terminate a thread?
 
Xeo
Aw dang, my key config is also gone.
 
I played BF3 today, was fun :)
 
@R.MartinhoFernandes, So you can stop taking input when time runs out :)
 
You can complain that C++ does not have a standard interruption mechanism for its blocking operations, but that's another matter.
 
user142019
12:02 AM
 
user142019
I want.
 
@Zoidberg'-- that perspective is messed up
 
I played spaceships, but I still feel spaceship-deprived
 
@chris why u take input on another thread... I think you're asking for trouble. Go reading up on threading.
 
@R.MartinhoFernandes, True, that would help.
 
12:03 AM
@chris And potentially ruin the internal state of the objects that were doing that input?
 
@CatPlusPlus Play more?
 
Killing a thread gives no chance to clean up or anything.
 
user142019
I learned more about Snap today. That was fun too.
 
@R.MartinhoFernandes, Good point. The interrupts would definitely be better.
 
It's more about the skill system
 
12:04 AM
If you need to terminate a thread, you're doing it wrong!
 
user142019
If you need to terminate a thread, you should consider using non-blocking I/O or message queues instead.
 
user142019
\
 
@CatPlusPlus ?
 
In EVE. The game. About spaceships.
 
@Zoidberg'-- The Madman Has Returned?
@CatPlusPlus Oh.
 
12:05 AM
@chris This is a good read about this matter blogs.msdn.com/b/ericlippert/archive/2010/02/22/… (It's .NET, but the ideas are the same; threads are threads)
 
user142019
@sehe wat?
 
Tony your encoding is bad
Stop talking Japanese
 
lol no
 
Questionable content
 
I posted a series of question marks
my question marks are obviously under appreciated
?
 
user142019
12:06 AM
@TonyTheLion PERMABAN
 
shush
 
user142019
What happened to /b/.
 
you shush
 
I don't do /b/
oh Mr. I-Know-Unicode posted proper question marks :P
 
Okay, so I know it's a bad idea and all, but would it theoretically work if you only get input once and your program ends right after they input something or it times out?
 
@chris lol, yes.
 
3 messages moved to bin
 
@R.MartinhoFernandes, Okay, at least it's a step up from absolutely nothing when talking about input timeouts in pure C++.
 
now I started something.
:(
 
12:08 AM
Still not good enough to use, though :/
 
2 messages moved to bin
IRON PAW
 
Cat is gc'ing the chat
 
LAYS THE LAW
 
user142019
LAY’S OMG
 
He's kind of semi king I guess, since he's also a cat :P
 
user142019
12:08 AM
 
offs
dat pun.
 
Ell
It's walkers.
 
@TonyTheLion I tried to bin it before it would hatch, but I was too late
 
@sehe seems so
 
12:09 AM
That's 41 fucking days
 
WTF man, no one cares about EVE.
 
user142019
My diagram looks like the inside of a lung, zoomed in a thousand times.
 
Real-time days
 
@CatPlusPlus they're meaningless
 
12:10 AM
ARagh.
MSVC sucks.
 
What else is new
 
I think you've said that before
 
Just a little.
 
@TonyTheLion I'm talking about the compiler now.
 
oh
whatever
 
12:11 AM
¡?¿!
 
It's 10 past midnight here, I couldn't possibly give a crap about a compiler
 
It's a copy ctor for my partial_array, but it is complaining that parameter 2 cannot be converted to initializer_list.
 
Work with the tools. I've heard great things about nmake.
 
It's like a madman.
 
user142019
@sehe ||
 
12:11 AM
too many messages...
 
@CaptainGiraffe In 1896? Oh wait, that was 1986
 
user142019
I’m mindmapping. diagram <$> mind
 
More like 896
 
@CaptainGiraffe Shh. I was making a jokely point
 
@CatPlusPlus Or 689.
 
Xeo
12:12 AM
@R.MartinhoFernandes CTP
'Nuff said.
 
If you've heard great things about nmake then whoever told you that was a) high or b) incompetent or both
 
@CatPlusPlus I know for a fact that ( high ^ incompetent ) was true.
 
Ah found it.
 
user1182183
after 3466 push_back's and clear()'s the vectors seem to fuck up...
 
The positive thing about nmake seemed to be that it replaced the absense of a make-like build tool on windows. Of course it sucks eggs and requires you to write new, more broken, makefiles to get it working, but hey: it's better than edlin and bat-files
 
12:14 AM
It's bat country
 
@R.MartinhoFernandes "it" - was there an 'it' to be found?
 
In 1981 it cost £500,000 to store 1gb of information. Today it costs less then a penny.
 
@TonyTheLion Considering the S/N it's about the same.
 
@sehe Someone who has in other situations ran a mass find-and-replace without care for consequences when they could not, did not run one of those when they could. To put it mildly.
 
user142019
I think Hexapoda will need to instantiate templates.
 
12:16 AM
To put it bluntly: that fucker ThePhd was only halfway through.
 
@R.MartinhoFernandes Puppy needs training?
 
Did you finally accept some pullreqs, or do they still make them absolutely horrible?
 
@R.MartinhoFernandes Oh. Well kudos to him for working on it at all. Sadly it didn't exactly buy you time (yet)?
 
@CaptainGiraffe wat.
 
12:17 AM
@CatPlusPlus I cannot accept requests that don't even build on GCC.
 
@Zoidberg'-- php is nice :)
 
user142019
@sehe how is that related to template instantiation?
 
Xeo
@R.MartinhoFernandes Just #ifdef _MSC_VER them. :D
 
12:18 AM
@Zoidberg'-- Templates are nicer?
 
@Zoidberg'-- php is a templating engine
 
user142019
I just want the user to be able to click on a function or type name to get redirected to its definition.
 
@Xeo Can't do that. There's no way to do that if there are alias templates without basically duplicating the code.
 
@Zoidberg'-- ctags
 
@sehe Now you're just sweet talking the dude.
 
user142019
12:19 AM
@sehe isn’t that only for C?
 
@CaptainGiraffe that too: /cc @TonyTheLion
@PimlicoHistory Store 1gb for a month? A year? A leap-second?
@Zoidberg'-- Welcome to 2012. Of course not. I use it for pl/sql, php, shell script, perl, C# and C++
 
@sehe A bit late for that, though.
 
user142019
I’ll use libclang for it.
 
@Zoidberg'-- Oh. Pick your poison
 
user142019
12:20 AM
@sehe oh cool. I might use that for non-C++ languages.
 
"Hey, there's a tool to extract tags from source and dump them in an easily-parsable format. I know, I'll ignore it and use a library to do it manually myself!"
 
user142019
Does it have a library or is it only a command-line tool?
 
@Zoidberg'-- What's the difference. It's FOSS (and it's GROSS)
 
user142019
Well a library wouldn’t require me to parse any output.
 
@Zoidberg'-- You don't have to. You just need to parse tags files (meaning input)
 
12:22 AM
ARggh, fuck this.
 
user142019
@sehe what are tags files?
 
I'm going to do the port myself from the start.
 
Tag files are literally CSV
 
@R.MartinhoFernandes Sounds like a good plan.
 
12:22 AM
@R.MartinhoFernandes puppy fail?
 
user142019
Well, I’ll need to parse that tags file.
 
user142019
That is parsing. :P
 
oh wow you need to parse a whole CSV format
 
If you can't be arsed to parse...
You should consider switching careers
 
If you want something done right...
 
12:23 AM
read line -> find comma -> split -> output -> next line
 
@TonyTheLion You forgot the badass.jpg
 
user142019
I’m not saying that. But having it as a library is only easier. Of course I don’t mind parsing it if I really have to.
 
user142019
And TSV is a trivial format.
 
TSV: Trivial Separated Format
 
user142019
12:24 AM
Tab
 
@TonyTheLion The problem is that I have two literally half-assed ports (because they are only halfway), and to do the rest myself I need to know exactly what changed already and what did not.
 
@Zoidberg'-- What would that library look like?
 
user142019
@CaptainGiraffe I give it a source file and it gives me a list of structs or whatever.
 
@CaptainGiraffe libctags, obviously
 
Because in some cases some things are changed (like converting coded_character from alias template to non-alias template) but not everywhere.
 
12:25 AM
@R.MartinhoFernandes oh, yes, restart. Obviously some people can't do a non-half-assed job.
 
user142019
Just the same but with structs instead of strings.
 
who checks in half assed code anyways?
 
Then MSVC will obviously get completely crazy and give fucked up error messages.
 
@Zoidberg'-- Invert that? You give it a struct name and it lists the code locations declaring/defining symbols by that name
@TonyTheLion Everyone
 
user142019
@sehe I want both, actually. :P
 
12:26 AM
@TonyTheLion I do on a regular basis. In my presonal repo.
 
@sehe seems like
@CaptainGiraffe I'm not talking about personal repo
 
@TonyTheLion No. It's inevitable. #philosophy
 
user142019
You click on a function definition, it gives you a list of all references to that function. You click on a type name in a variable declaration, it links you to that type’s definition.
 
@TonyTheLion Neither is he
 
@sehe this is NOT twitter
 
12:27 AM
@Zoidberg'-- cscope. Or libclang. Have fun
 
meh I should go to bed, I've stopped making sense
 
@TonyTheLion Oh damn. Thanks for the heads up
 
user142019
@sehe Dankeschön.
 
@TonyTheLion Tony(TM), Stopped making sense since 1980
 
@sehe how old you think I am???
 
12:28 AM
@TonyTheLion I don't really care?!!!
 
you bastard
 
user142019
With libclang it’s pretty trivial to find a definition from a reference. The other way around is a little trickier.
 
@sehe Finally a new heading for the room.
 
That would be heading the wrong way
 
Well, we are a lighthouse, your call.
 
12:29 AM
You haven't shed any light on my misunderstanding.
 
@CaptainGiraffe Anyways, any chance you might fix the camouflage issues with your gravatar?
@TonyTheLion presonal != personal
 
user142019
However, it might not be that tricky at all. When scanning for references, I can just keep a list of those references in memory, in a hashtable<typedef, list<refs>>.
 
@sehe I might, I'm still a lowly grazer. I need the protection.
 
How do I make VS show me actual folders in the Solution Explorer, instead of that damn virtual folder filter crap.
 
@sehe This is based on a SPELLING MISTAKE????
 
12:30 AM
@CaptainGiraffe What an interesting choice of adjective
 
FUCK YOU
 
@TonyTheLion Isn't everything? I mean, I'm sure god actually meant he created Miss Universe. People somehow got confused since...
 
no
grrrrrrrrrrrrrrrrrrrrrrrrrrrr
 
Ah, got it.
Though now it shows me outputs too. Whatever.
 
@sehe I'm invoking *god*wins law. :P
 
12:32 AM
God p0wns
 
@TonyTheLion Thats a lot of indirection there.
 
user142019
Stupid OmniWaffle.
 
No wait, this does not show all folders.
WTF.
 
12:34 AM
@R.MartinhoFernandes Oh. That. 'Show all files'. The icon got even more unrecognizable in VS2012 (see Solution Explorer)?
 
user1182183
hm could enabling optimizations make my code behave so bad?
 
Why are files a nono in so many UX paradigms?
 
Ell
I didn't realise they were
 
user142019
@CaptainGiraffe What do you mean?
 
@R.MartinhoFernandes Sry. missed that query earlier. FWIW: it's not a virtual folder filter. It's just unrelated to the filesystem
 
user142019
12:36 AM
They are difficult to organize.
 
user142019
They have a name and a location and that’s it.
 
@GamErix Yes, since you have a penchant for UB it makes all the difference
 
sehe and R, are talking about how to view the files in a Dev environment. None of them are assholes or stupid as a rock. It should be obvious.
 
user142019
And sometimes things are both images and documents, such as diagrams. In which folder do they go?
 
@CaptainGiraffe Thanks. I guess :)
 
user142019
12:38 AM
Being able to tag files would be much better than using folders. Development and source code is a different story, though.
 
@Zoidberg'-- images/diagrams :p
 
@sehe Sure =)
 
@Zoidberg'-- You're on a different subject, FWIW
 
user142019
@melak47 or documents/diagrams?
 
user142019
Solution: hard link!
 
12:38 AM
stuff/diagram.jpg
 
Xeo
Oh hey, I just notized our Lizard Mod cleared the comments on that stupid question.
 
user142019
If you use JPEG for diagrams, fuck you.
 
@Zoidberg'-- Or just phreaking Win7 document libraries? They confuse the hell out of everyone by making it more complex, less predictable and more surprising
@Xeo Oh. Thaaat one
 
WTF is a .opensdf?
@Xeo Where?
 
No idea
 
user142019
12:40 AM
I think Yojimbo is worth checking out.
 
Xeo
@R.MartinhoFernandes The [[attributes]] one
 
Microsoft: inventing new crap for your .hgignore since 1996.
 
@Xeo Ah. I flagged the whole deal for deletion.
 
What question? What comments?
 
12:46 AM
> (3) do something impossible. Preferably before breakfast. lippert
lol
@Mysticial The 'gone' comments
 
From what question?
 
-5
Q: Are [[attributes]] new to C++11?

Dan Nissenbaumusing C++11 attributes gives a hint that [[attributes]] are new to C++11. I would like to confirm this: Are attributes new to C++11?

 
oh that one
 
Xeo
1:01 AM
0
A: How to turn method pointer types into function pointer types

XeoA simple way in C++11 is partial specialization with a variadic template: template<class PMF> struct pmf_to_pf; template<class R, class R, class... Args> struct pmf_to_pf<R (C::*)(Args...)>{ using type = R(*)(Args...); // I like using aliases }; Note that you need a sepera...

/me wants ref_qualifier and cv_qualifier placeholders
Or just qualifier
 
@Xeo, template<class R, class R, class... Args>
 
Xeo
Ooops.
 
Methinks one of those should be a C.
 
Xeo
Thanks for that.
 
Screw VS. I will hope @ThePhD gets around to fixing all of the issues :/
 
1:04 AM
Useful nonetheless, though :) I never thought about that.
 
I will be blogging now.
 
Good news for all mankind
 
user142019
:^)
 
user142019
Aarrrg I can’t decide whether I’ll write Hexapoda in Haskell, Ruby or Python.
 
user142019
They are all nice languages.
 
1:09 AM
Bikeshedding. This tells me you're not writing Hexapoda in this life
 
user142019
I think the same.
 
@ThePhD If you install python you can trigger a MinGW build from the comand line with scons. No need to mess with MS's external tools, or whatever)
 
SCons is rather nice (outside the dependency on python)
 
user142019
I’ll use Ruby for the web interface and Haskell for the source code linking shit. And Python for syntax highlighting, obviously.
 
user142019
USE ALL THE LANGUAGES
 
1:11 AM
Who needs syntax highlighting in a bug tracker
 
Just ask pygments to do it.
 
user142019
I want it to work with version control.
 
Non sequitur
 
user142019
I’ll use Pygments, yes. There’s even a gem for that.
 
You can have it work with something without reimplementing. Also:
11
Q: Distributed bug tracker to go with DVC

Neil SantosWe've pretty much licked the whole distributed thing for version control at this point. I'm not saying everything's perfect, but, from hereon out, it's mostly just a matter of continuing what has already been started. Distributed bug tracking, though, is in its infancy stage, IMHO. It's rather...

^ That's what I call integrating with source control
 
user142019
1:17 AM
But it’s not only developers that file bug reports.
 
It is if you are making libraries.
:P
 
user142019
:^)
 
user142019
 
user142019
That’s all the features I’ve come up with. xD
 
user142019
I’ll have to pick the most important ones first.
 
1:21 AM
@Zoidberg'-- blurry mess
 
user142019
The gray balloon is not a feature, it’s a bug.
 
You'll also have to pick an image size where it is readable.
 
SVG
 
user142019
@R.MartinhoFernandes Moment.
 
user142019
There is a lot of crap in it, but those are just things I came up with. I’m not going to implement most of it ever. dl.dropbox.com/u/92981617/Hexapoda.svg
 
1:27 AM
> Do we credit the author for not over-designing? After all, this guy did SQLite, so he knows a thing or two about how to implement "just enough to be incredibly useful". Or is this design likely to make users really angry when it causes an unpleasant surprise? - DVCS and Bug Tracking
That's one nice article right there
 
Dude, that does not look like a bug tracker.
 
user142019
It does if you remove 80% of it!
 
@Zoidberg'-- lol
 
Guys, quick question: what IDE do you use on Windows when you're not using Visual Studio?
Code::Blocks is kinda shitty, tbh, and Eclipse is just as bad really.
 
user142019
Sublime Text 2 and command line.
 
1:30 AM
I use vim.
Hey @Cat, can I steal your buildbot configs?
 
... Hm. SUblime Text 2 requires a license: how annoying is it if you never pay up?
 
user142019
@ThePhD You get a pop-up once a day or something.
 
user142019
And then you just hit escape. :^)
 
@Zoidberg'--: I believe the fifth save in a session will bring up that pop-up.
 
user142019
Oh. I rarely close a session.
 
user142019
1:34 AM
You can probably write a plug-in which removes the pop-up.
 
user142019
I once wrote a Coda plug-in that reset the start date of the trial every time I opened it. :P
 
user142019
It was just a field in the settings file (which was in property list format).
 
user142019
The same with Pixelmator. And for OmniGraffle I just found a serial number using Google.
 
Xeo
@Zoidberg'-- You can write an mIRC script that clears the information on the remaining trial time everytime you fire mIRC up.
 
1:49 AM
Shamelessly abusing loungers for free code reviews bitbucket.org/martinhofernandes/ogonek/src/… (vector with small buffer optimization; missing push_back and shit)
Not using Boost.Variant because moves :/
That's not supposed to be uber-generic.
There is at least one bug, planted to test if you are paying attention whistles.
 
user142019
small_vector() : is_small(false) { make_small(); }
 
user142019
Shouldn’t that be true?
 
user142019
Also, I was wondering about value_ptr. Isn’t it possible to add the clone function by wrapping objects in a class template automatically?
 

« first day (785 days earlier)      last day (4162 days later) »