« first day (924 days earlier)      last day (4040 days later) » 

12:00 PM
Without any real feedback about why.
I don't mean to discourage :)
 
I read The google way don't remember exactly but think google had one manager per 40 employees and one recruiter per four employees when they were the most expansive.
 
@FredOverflow I think that would be a little forced.
 
Think the average in the rest of the industry is one manager per six grunts
 
@StackedCrooked Is Google run by women?
 
Everything is.
@FredOverflow Hehe :)
 
12:01 PM
If Google doesn't hire me, can we still be friends?
 
was a good book btw
 
Yes, you're still going to be "friends". The kind of friend that you never speak to.
 
@StackedCrooked Huh, I'll take a look at them.
@FredOverflow It was easier than expected. The only real rough spot was when the guy asked about my degree.
 
You didn't include string somewhere.
 
@DeadMG What did you say?
 
12:04 PM
Many of the errors don't seem to be caused by your code though.
 
@StackedCrooked Expression.h
@FredOverflow The truth- that I couldn't stand how unhelpful it was.
 
The truth was probably the best choice.
 
unhelpful?
 
@FredOverflow maybe 'meet the bin bitch'?
 
Just say it like it is.
It's the truth. University is brain rot.
At least it was for me.
But the level of my school wasn't very high.
 
12:06 PM
riht
 
The teacher wrote C# code on the whiteboard and we had to copy it in our notes.
 
line 60, I'm not sure about that. It must be some compiler-specific misconfiguration.
what compiler are you using?
 
clang++
Initially g++, but that was even worse.
 
Generator.h also needs #include <string> added.
 
Mornin' non-nubbery.
 
12:08 PM
Did you ever build the code with a different compiler?
 
only a couple TUs of it
and that was a little while ago
 
Porting standard C++ from one standard compliant compiler to another standard compliant compiler is never without some errors...
 
yeah
 
But my Makefile is generated by simply dumping all C++ files. And dumping all project directories as include dirs.
I didn't specify any preprocessor directives or anything.
> error: "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
# error "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
Perhaps I need to do that in the build command?
 
I honestly don't know, I never did anything with __STDC_LIMIT_MACROS
but I'd take the error message's advice and add it
also
pull again from repository, I committed and pushed some fixes
 
12:13 PM
And new ones.
> error: template parameter redefines default argument
This seems like an error in llvm code.
 
@DeadMG Did they ask you to write any code?
 
@StackedCrooked It's not.
@FredOverflow Yes.
I forward declare some LLVM templates.
 
good
 
frankly, I don't understand why redefining the default parameter from a previous declaration would be an error.
how the fuck else do you forward-declare a template that has a default argument
but some of this does look like LLVM or Clang errors.
 
You can remove the default value in your forward declaration.
Actually, I think that everywhere where you redefine the default argument you'll have to remove it.
 
12:19 PM
hmm
so if I have template<typename X, typename Y> class X; then void f(x<>& ref); is legal?
 
Don't think so.
 
so I can't forward declare it with the default arguments, but if I don't add them then they can't be used.
so there's basically no way to forward declare a template with default arguments.
well, MSVC doesn't complain about it, but
 
They can be used. The compiler will take the default value that was defined in the original header file.
 
@StackedCrooked But I have a forward declaration. The original header file isn't included.
at the time when I want to declare my function f, anyway
 
Is it impossible to catch abstract types? I mean, anything you actually catch will be derived, and thus you know its members, or must you catch a... empty implementation of the abstract?
 
12:23 PM
But at instantiation time you need to have the original header. So it should work..
 
If this is your class template then have foo_fwd.hpp with the forward declaration and default argument and include that from foo.hpp.
 
It's a forward declaration to a llvm type.
 
@LucDanton It's an LLVM type.
 
Yup can't work.
 
I guess that I will just have to include that header, which is going to be very unfortunate for my build times.
 
12:24 PM
I tend not to forward declare types not in my control. Too brittle for my taste.
 
Build times are fucked anyway.
 
how do I tell gcc linker to drop unused std lib functions? (like /OPT:REF in link.exe)
 
Shouldn't a c++ compiler always throw away unused stuff?
@Abyx Is it generating an binary with object code from unused functions?
 
@StackedCrooked linker, not compiler.
 
alright
pull latest version and report result
 
12:28 PM
The compiler can't know if it is unused.. right?
 
only when linking final executable
but odr-inline functions the compiler can drop
 
How do I revert local changes with hg?
 
since any other TU must include them himself
 
@StackedCrooked it seems so. I have code with only <string>, but gcc includes threads and other stuff in binary
 
dunno, I use TortoiseHg for this stuff
@StackedCrooked hg revert
 
gcc has --gc-sections to remove "unused input sections", but those "sections" are not functions, right?
 
huh
 
hm... maybe std lib in my mingw was compiled in wrong way, without -ffunction-sections -fdata-sections
 
ok
try latest version
 
> /Stages/Semantic/ClangTU.cpp:19:10: fatal error: 'CodeGen/CodeGenModule.h' file not found
 
12:43 PM
@EtiennedeMartel Just... simply... wow.
 
@StackedCrooked That should be the clang/lib include path. The path of the file is clang/lib/CodeGen/CodeGenModule.h
 
2
Q: c++ operator overloading, define negative of object

soroosh.strifeI'm defining a class NS and I want to be able to perform mathematical operations on objects of this class. I, successfully compiled overloaded +, -, *, /, ... My problem is that I can't compile a code which has a part like this: NS a,b; a = -b; How can I define negative of objects?

How can I define negative of objects?
 
user1357851
-(*obj)
 
CodeGenModule.h is nowhere to be found on my computer. Is it in a separate repository?
 
it's part of Clang.
llvm/tools/clang/lib/CodeGen/CodeGenModule.h
 
12:49 PM
2
Q: Why is deque using so much more RAM than vector in C++?

BZ1I have a problem I am working on where I need to use some sort of 2 dimensional array. The array is fixed width (four columns), but I need to create extra rows on the fly. To do this, I have been using vectors of vectors, and I have been using some nested loops that contain this: array.push_bac...

 
Ah, I didn't check it out.
 
^^ Related to this in any way?
 
I had installed llvm from source and clang via package manager (which doesn't include codegen).
 
yeah, they probably ship a pre-built Clang and includes only.
whereas for Wide, because I have to use part of the non-public API with the codegen stuff
 
@Mysticial that was kinda easy
@Mysticial hm, I don' think that's very related
 
user1357851
12:53 PM
Some people can type fairly fast
 
Yeah, now that I'm starting to read more on the implementations of deque, it's becoming clear.
 
@DeadMG I'm no longer able to concentrate :(
 
deque isn't a data structure that I use often enough to know or care about how it's implemented.
 
Need sleep.
 
night night
 
12:53 PM
night
 
First some anime though.
 
user1357851
laterZzz
 
user1357851
prority queue is probably used more than deque in real life
 
@Mysticial I need to optimize it slightly if it is possible
Wow:
7
A: Shared pointers and constness of pointed-to object

CaseySounds like a good use case for the Boost.Range "indirected" adaptor: for(auto const& car : cars | boost::adaptors::indirected) { car.DisplayMileage(); car.Drive(); // error: passing 'const Car' as 'this' argument of 'void Car::Drive()' discards qualifiers [-fpermissive] } Working demo cod...

Boost ftw there
 
I wonder if I should use boost::thread instead of gcc 4.5's (experimental) std::thread implementation at work.
 
user1357851
12:57 PM
<-- using the 'hottest' chick as avatar (avatar changed again)
 
user1357851
waiting for the 'hottest' chick avatar to be pumped through
 
I think your idea of hot is different than that of guys.
 
user1357851
@StackedCrooked that's why it is 'hot' not hot ... hot girls turn you on, 'hot' girls piss you off :x
 
@StackedCrooked yes
 
room topic changed to Lounge<C++>: GoT season 3 owns [c++] [c++11] [no-helpdesk]
 
1:01 PM
GoT blows.
 
user1357851
Couldn't got through the first of season of GoT
 
Wow I just had the weirdest dream ever...
 
Haven't seen any Game of Thrones yet.
 
alright
 
yeah never liked GoT much
 
1:02 PM
never seen it
everyone seems to be going on about it though
 
Star Trek FTW.
 
It's great
 
you should read the books!
 
And season 3 just absolutely owns
 
Watched all of GoT so far :)
 
1:03 PM
game of twats
 
user1357851
waiting for this one:
 
who's seen Iron Man 3 yet?
 
user1357851
|director = |writer = |starring = |composer = |country = United Kingdom |language = English |num_series = 2 |num_episodes = 6 |list_episodes = List of Sherlock episodes |executive_producer = |producer = |editor = |cinematography = |camera = Single camera |runtime = 90 minutes |company = |distributor = |channel = |picture_format = 576i1080i (HDTV) |audio_format = Stereo |first_aired = |last_aired = present |website=http://www.bbc.co.uk/programmes/b018ttws }} Sherlock is a British television crime drama that presents a contemporary update of Sir Arthur ...
 
I fixed the last error, so once you pull from repo and then fix up the extra Clang stuff then Wide should build fine
 
user1357851
the walking dead is fairly crap but I love zombie shows/movies
 
user1357851
1:04 PM
shame Ghost in the Shell has no more new seasons :/
 
Twin Peaks was and is a good series
 
@LightnessRacesinOrbit 'tis great.
 
@DomagojPandža yay
 
user1357851
never got around to twin peaks
 
user1357851
1:07 PM
fringe was okay until the last season
 
user1357851
me also <3 the x files
 
@StackedCrooked: Huh, no errors on my liberal use of __debugbreak()?
I thought that primitive was MSVC-only
 
Fringe got great then got worse
And the final season was, frankly, awful
(And not just because it changed)
 
@Mysticial I remembered it from quite a long time ago
 
1:15 PM
excellent
 
Updated my codecs and Railgun OP no longer crashes MPC.
 
it probably won't be in GCC
 
I can see why it did before though...
 
but I'm less concerned about supporting debug intrinsics across compilers
 
@Mysticial Of course. Because your codes weren't updated!
 
hehe
 
update ur codez bitchez
 
Those lightning bolt effects on the OP subtitles kept crashing the old version.
VLC worked because it simply ignored fancy subs.
 
I've been using MPlayerX on Mac for a few years now. It's great..
 
well, I'd best get out and about. going to town. don't tell Etienne that I'm not going to a different town, because he might not respect my opinion in my choice of town. and then call me a dick over and over again because of my choice of town.
 
1:19 PM
@LightnessRacesinOrbit dick. also, dick. also, dick, also dick.
 
@LightnessRacesinOrbit You're gay.
 
whew, just got in with the edit time.
 
I need to go see that
at le some point
 
1:29 PM
I'm thinking about seeing it again. :/ So nice.
 
the real question is
what Wide feature should I work on rightnow
 
user1357851
@DomagojPandža do you just get to chop guys up or do you also get to strip chicks naked?
 
@JerryCoffin Infallible logic.
 
does boost::optional support move semantics now
 
so I secure-erase'd a HDD, but it didn't complete and the system froze, and now the drive is still locked. No problem, I'll just start the erase again... but the BIOS on the computer won't let me boot without entering the password for the locked disk, and it doesn't accept the password ._.
 
1:47 PM
Destroy both.
Drilling a hole in a HD effectively erases all data efficiently.
 
I think he wants to re-use the drive
 
You can't do without breakin some eggs.
Or how does the saying go? :D
 
something about how traditional sayings are often worthless shit with little relevance to the matter at hand
at least, that's what I seem to recall it saying
 
alright, hotplugging the drive gets me somewhere, lets see..
whee drive is unlocked
who thought it'd be a good idea to not let you boot from drive X because drive Y is locked ._.
 
this user is quite amusing
 
1:54 PM
so...since you're not supposed to be able to unlock a drive until the secure erase has completed, that means it should have completed, right?
 
If I am citing a picture in my blog.
Can I just use the domain?
Or, if it is a specific user, domain and subdomain?'
 
ask them for permission, and how they want to be cited. problem solved
 
@Doorknob Heh - 'suspended to cool down' :)
 
@melak47 Assume a situation where you cannot askf or permission
 
@Pawnguy7 why, do you want say bad things about them? :D
 
1:58 PM
Hardly.
But doing that for every picture on a blog that has posts, say, two or three times a week, will take a long time, especially considering, many of these are years old - the people might very well be gone.
If anything, I am praising them, it is just the url is to big for a caption.
 
the complete url doesn't have to be in plain text
 
I hope you know it's impossible to make money from a blog.
 
PRetty much :D
@melak47 as in, a footnote, or?
 
@Pawnguy7 ...or a hyperlink?
@StackedCrooked Seems to be how lots of noobs end up here...
 
ah...
 
2:08 PM
@Pawnguy7 are you new to the internet? :)
 
Not sure why I didn't think of it to be honest.
I feel like I should link to the article, not the actual picture? Agree?
 
..yes
 
user1357851
yes I chose fatter chick, hope it hogs more internet $
 
@Telkitty huh?
 
user1357851
sarcasm :p
 
2:10 PM
@melak47 Apparently the old tutorial is gone, so I wasn't sure. I cannot find that tutorial, but I can link to the site where I got the picture this time that links to the tutorial.
 
user1357851
My hot hottie in my avatar
 
2:24 PM
Desaturated isn't a word?
 
@Pawnguy7 I've used it before, though never in non-tech conversation.
 
Would it be common in the image editing niche as well?
 
Hm... hopefully if I say "with desaturated colors" they know what that means.
 
Leenocktopus pwns Coca in 2 nanoseconds flat
 
2:36 PM
@DeadMG who pwns what?
 
if you don't already know, it is unlikely you will care about the answer, realistically
 
@Pawnguy7 Yeah - "the crappy backlight desaturates the display in the bottom corners'.
 
@Pawnguy7 what a silly thing to sue over..."I'm an idiot an bought crappy hardware from you!"
 
2:44 PM
pardner
 
I still don't know why Vista was so bad, but it was.
Windows 7 runs in the same amount of memory doesn't it?
 
I've never had a problem with vista, I even used it on my crappy Sempron with 1GB RAM when it was still in beta and RC
 
@melak47 Looks like the suit really hinged on: "The labeling on your product was misleading, so I thought what I was buying would have 1 Gig of RAM available, but it actually doesn't."
 
Hm. Lucky you. I suffered under Vista for over a year. I see why people stuck with XP.
 
@JerryCoffin couldn't they just say "oh, we meant 1 GB of available RAM, not GiB :D"
 
2:49 PM
@melak47 Probably not -- this wasn't GB vs. GiB, but the fact that part of the RAM was used for video memory, so a fairly substantial chunk wasn't available to the OS.
 
Anybody have some old, say, Gameboy/NES games that have nice pixel art?
In mind, I mean, not physically.
 
@Pawnguy7 NES games were ugly. The SNES is where it's at.
 
Might be. I had neither.
 
@melak47 Actually, their suit quite has merit.
they sold laptops with software on when the laptops clearly did not meet the minimum requirement.
the consumer can't be expected to know the min reqs of Vista and the details of how sharing video memory works.
 
@JerryCoffin Set the video memory to 0 - the OS can then run correctly.
 
Xeo
2:59 PM
Gah, I want an identity transform trait in the standard.
 

« first day (924 days earlier)      last day (4040 days later) »