« first day (608 days earlier)      last day (4344 days later) » 

6:00 PM
@CatPlusPlus ah
 
@CatPlusPlus can I enter this thing? I'm not decided if I want to join this project, but at least I'd like to learn a little about it.
 
@StackedCrooked Connect to freenode and ping me.
 
if we get many more applicants, I'm gonna start charging an entry fee to support the increased bitbucket space
 
Well, if we all chipped in 2$, we could easily get 25 users plan.
Well, 3$.
 
6:02 PM
Do we really need 25 people?
 
That's the next plan after 10.
 
yeah, I'm not objecting to that scenario
I'm merely saying it'll become necessary
we already have more team members than bitbucket slots
 
bitbucket slots? wtf?
 
@DeadMG I assume within a week attention will fall and you can shuffle people in and out as interest levels change.
 
We can only have 10 users with access to the repos.
Because it's private.
 
6:04 PM
why private anyways?
 
Because we don't want to delve into licensing yet.
 
I must have missed that discussion.
 
no public parts
 
Why not just license it with something proprietary?
and make it public anyways
 
because, complexity
and we need codez first
 
6:05 PM
ugh
 
You still need to decide on licence.
 
License: All rights reserved.
there. Done.
 
And we don't know if we want to open this or not yet.
 
:P
I'm kidding :) Where do i sign up for stock shares?
 
I can provide 10 or 25 EUR per month if you like.
 
6:09 PM
@StackedCrooked stock isn't paid per month... Trixter.
 
I was referring to bitbucket.
 
Well, then you're in. :P
 
THe lounge is going to be pretty calm the coming weeks (at least) :-(
 
Ping me on IRC when you connect, or we'll annoy sbi and sehe again.
 
Stacked is riiiich.
 
6:12 PM
The key is on the bitbucket wiki, but how do I access that?
 
come onto the IRC channel
 
> #kyrostat Cannot join channel (+k) - bad key
 
Hi guys
 
@StackedCrooked ping CatPlusPlus on freenode
 
What's up with that kyrostat thing ?
 
6:14 PM
read about it in the Kyrostat room
 
@StackedCrooked you can't
 
Should I read the entire history ?
 
@kbok It's a space RTS in space with ships in space.
It'll be.
We hope.
Oh, and the space is 3D.
 
I see
Any specific reasons ? Like "all RTS sucks" or something ?
 
@rubenvb: hmm, now that I zipped the old versions of the headers, my gcc can't find the standard headers. If I put them back, clang will try to use them and fail. Hmm. Is there a way to tell gcc where to find the standard headers?
@kbok something to do
 
6:17 PM
@MooingDuck no, they're hardcoded. Or you could try spec files (not at all recommended)
Why are you trying to use a different GCC version with Clang?
 
@rubenvb -I got it to find those files
 
@MooingDuck lol, ok.
 
@rubenvb I just trying to make both compilers go
 
Er, silly question, but how do I ping someone on IRC?
 
/msg CatPlusPlus foo
 
6:20 PM
say "ping <nick>"
 
hmm, G++ can't compile my 4.7.0/type_traits. This is fun.
 
@MooingDuck you forgot -std=c++11
 
@JohannesSchaublitb Hey that sounds a little like pick nick.
 
or you have mismatched versions.
 
@rubenvb mismatched versions then
see, this is why people don't use linux.
 
6:22 PM
so, are you guys looking for additionnal help ?
 
come to kyrostat room
 
@MooingDuck huh? Because Installing Visual Studio is such a pleasure?
 
with windows, I get an installer, I run the installer, everything works. With linux, I get a zip, I unzip it, nothing works.
3
 
@MooingDuck I don't have a Linux Clang...?
 
Thought you guys might appreciate this: youtube.com/watch?v=njos57IJf-0
 
6:25 PM
@rubenvb No, but these are linux tools, running in a linux way: Not working.
@rubenvb takes forever, but it compiles my code.
 
@MooingDuck and what Linux are you using that does not have a package manager?
 
is it a smart idea to reuse a stringstream, after you've written to it?
 
@TonyTheLion just call ss.str("") before reusing it. or something.
Yeah, it's ss.str("")
 
@rubenvb I'm running Windows, but trying to use mingw-w64's GCC and clang is a pain :/
 
@MooingDuck why? Because you got VS project files? :P
No, seriously, what's the problem you're having?
 
6:32 PM
The problem is that a lot of people on Linux think it's natural to do stupid shit manually. Because you're a technically proficient cunt, you should desire the opposite. Or do you enjoy punishing yourselves with performing menial and error prone tasks?
 
@DomagojPandža Linux lovers love their ecosystem because you can fix everything yourself. Linux haters hate their ecosystem because you have to fix everything yourself.
 
Linux is the hatchery of cool things. Sometimes they forget to let the eggs hatch though.
 
Fixing stuff is awesome, when you break it.
If someone says "stable release", well then mofo, I want a stable release.
 
"Oh we didn't test it on that distro with that combination of drivers because you're a jerk"
 
@TomW that shouldn't even matter, honestly.
 
6:35 PM
...that I'm a jerk?
 
@rubenvb Clang was failing to compile type_traits, I assumed because it was trying to use standard headers from the wrong version. I zipped the older versions, and then clang compiles code fine. Except then GCC failed to find any standard headers. So I gave GCC -I flags to those same headers, and now GCC can't compile those type_traits.
 
@MooingDuck What Clang with what GCC?
because my latest Clang+GCC comboo handles type_traits just fine.
 
so apperently your clang and GCC store their standard headers in the same places, but are incompatable?
 
Clang doesn't have standard headers, it uses GCC's libstdc++.
 
clang version 3.1 (trunk) (llvm/trunk 155821)
Target: i686-w64-mingw32
Thread model: posix
gcc (GCC) 4.6.3
 
6:38 PM
that's the previous one
I uploaded a GCC 4.7 based one a week ago :)
 
noob q: Does clang have to have GCC or can it compile 'on its own'?
I had heard of it, but only googled clang just now and the homepage says 'compatible with GCC' but doesn't say anything about requiring it
 
@TomW not on Windows, but On Mac and BSD it's dependency-less
There's no C++ library alternative for Windows. And certainly libgcc doesn't have an LLVM-based alternative.
 
hrr
What is an elegant way to get the size of an array in C++? Say, I have const char *m[] = {"u", "v", "xyz"} Of course I could do sizeof(m)/sizeof(*m) although it seems error-prone. The type_traits version std::extent<decltype(m)>::value does not seem much better... is there a better way?
 
@hrr char* is not an array.
 
hrr
@rubenvb Thanks, fixed.
 
6:41 PM
@hrr neither is char*[]. Use char[] and not string literals as elements in the initializer.
 
I'm glad that wasn't THAT trivial a question then
 
@rubenvb char*[] is totally an array (in that circumstance)
 
phew
 
@MooingDuck That's a pointer to an array if I'm not mistaken.
 
That's an array of pointers.
 
6:42 PM
ah dang
I thought the other way around...
well, point still stands.
maybe.
 
template<class T, int size>
constexpr int extent(T (&array)[size]) {return size;}
 
FUUUUUU GCC native mingw won't build.
shit.
 
hrr
@MooingDuck Thanks -- there is no such function in a standard library?
 
I give up for today.
To the loo!
 
@rubenvb heh, I was halfway though downloading that already
 
6:45 PM
@hrr Sadly, no.
 
@hrr that's what std::extent is for :/
 
extent is a struct.
 
hrr
@CatPlusPlus Ah, at least this makes me feel better about not having found it.
 
Hmm, I edited my SSCCE in my question and the default generated name is "deleted 2451 characters in body". Much simpler :D
For half my questions, I make a short SSCCE that has the same errors/problems as my real code, people post fixes, I validate that the fixes fix the SSCCE, but not my real code. I conclude that I'm lousy at SSCCEs.
 
oh yeah!
my exam, it sucked donkey cock
"Please convert this hex to binary by hand so you can encode it in UTF-8".
then please express a hexadecimal constant in big-endian
constants don't have an endianness, you moron
 
6:59 PM
Lol.
 
and stuff like
"What is the Unicode codepoint for e with accent?"
the fuck should I know? :(
We now have another 12 open slots for the Kryostat team, for any room regs who wish to participate.
5
 
Exactly what is this Kryostat thing?
 
It's a game we're going to build
space battles and stuffs
 
Lazers and all that good stuff.
 
ah... that's what I get for being away for so long
 
7:15 PM
@Mysticial so long? They've only been on this, what? 24 hours?
 
36, I think
 
Also, it's Kyrostat. You're making typos of typos of typos.
 
@DeadMG well, hex->binary isn't that bad, though ->UTF8 is. The "e with accent" is absurd.
@CatPlusPlus does the name mean/represent anything? Any history? Or does it just sound cool
 
No idea.
It's already shrouded in mists of history.
 
@CatPlusPlus I've been unable to guess a name/password for ftp://kyrostat.com thus far.
 
7:22 PM
There's no FTP server as far as I'm aware.
 
@CatPlusPlus it asks for name and password, that implies it exists, right?
 
Dunno, ask @DomagojPandža.
 
guys, we have an IRC channel for this
 
Yeah.
 
We also have a lounge for this
IRC is for dev, yeah?
 
7:24 PM
IRC is for stuff specific to the Kryostat team
the Lounge is for all the, well, regular loungers and the normal stuff
 
IRC is for everything, because we don't want to drown other conversations here.
 
hmm, my radio station is offering "Traffic Diva's Traffic Alerts" on their homepage, with pretty women. The service is they text you the traffic. How do women play into that at all?
 
obviously, the person texting you is a diva
 
@DeadMG or something
 
am I the only guy in #kryostat now?
 
7:33 PM
I saw you ping-timeout
You might have to reconnect
 
I did ping-timeout and I have now reconnected
but apparently the channel is now empty
 
oh, cuz it's #kyrostat?
 
lol rly?
 
yeah
Everything else is spelled that way :-P
 
Please don't discuss Kyro related stuff in this room.
 
7:36 PM
Anyone knows about good installer systems ? Like, do I have alternatives to NSIS ?
 
@ScarletAmaranth Only when we can actually get into the kryostat IRC :P
 
You could if you stopped spelling it wrong.
 
never saw it spelled any other way except kryostat
 
I never saw it spelled that way.
 
which probably explains the confusion
 
7:38 PM
@kbok NSIS is probably the best one you'll get.
 
@CatPlusPlus Ok, no more hesitating then
 
@Insilico: We're letting that room die.
 
@CatPlusPlus: It was worth a try. :-)
 
We're on IRC with that stuff now, #kyrostat @ freenode, ping me after connecting if you would like to join up or something.
 
Let's see if I remember how IRC worked.
 
7:44 PM
@rubenvb I downloaded, told chrome to open it, and it put explorer into 100% cpu. After a minute I killed WinZip, took another minute before I could click things :D Will try to use 7zip instead
I have more computer problems than anyone I've ever met in my life
 
Bitbucket has spots open? Can I join?
 
@MooingDuck: Who the hell still uses WinZip (besides Mooing Duck)?
 
@Pubby I already joined you.
 
Cool
I tried joining IRC but I keep getting this:
> #kyrostat Cannot join channel (+k) - bad key
 
Key's on the wiki.
/join #kyrostat <that key>
@Insilico WinZIP? blank stare
 
7:47 PM
oh joy of joys! my new avatar has arrived! now to sort out gravatar...
 
More importantly — why the hell is WinZip still alive.
 
@CatPlusPlus familiarity
 
I mean, it stopped being relevant when WinRAR came out, and then doubly so when 7zip did.
 
@CatPlusPlus companies that install it as default unzipping tool on your laptop
 
What IRC chat applications do you guys use?
 
7:48 PM
Hell, even XP had ZIP support built-in.
 
@CatPlusPlus Where's the Wiki?
 
@Insilico Quassel. Or KVIrc. Or XChat. On OSX there's Adium and Colloquy.
 
Thanks
 
Can somebody enlighten about bounties? If I read the page on bounties correctly, I would assume I should be awarded some points. Would somebody be willing to see why I wasn't on a particular question? I'm confused... and need to understand more..
 
@JimNorton Bounties are additional rep users can award to others.
You can set a bounty on your questions to make it appear on Featured tab, or manually award it to some answer, from 50 to 500, I think.
You lose the rep you're awarding, the other person gets it.
There's a load info about it in FAQ and on meta.
 
7:51 PM
Yes and if the bounty isn't awarded the answer with the most upvotes ( minimum of two ) gets half the bounty correct?
 
Maybe. I don't use them, so I don't know all mechanics.
 
But a bounty that I answered got 5 upvotes, grace period is over and I didn't get any reputation... confused..
 
> picture changes may take up to 24 hours
CURSES!
 
@JimNorton I think it takes some time to process.
 
That could be..
 
7:52 PM
@JimNorton Is your answer older than the bounty?
 
Nope
 
stupid SO taking too long to refresh my avatar!
 
Then it's not eligible for auto-award.
@thecoshman SO doesn't do anything with your avatar.
Clear your cache.
 
@CatPlusPlus done, still has old one there
 
I see a new one.
 
7:54 PM
So for auto award I had to answer BEFORE the bounty was placed on the question?
 
@JimNorton > If you do not award your bounty within 7 days (plus the grace period), the highest voted answer created after the bounty started with at least 2 upvotes will be awarded half the bounty amount. If there's no answer meeting that criteria, the bounty is not awarded to anyone.
 
oh, it's in :D
 
@CatPlusPlus no you dont
 
@MooingDuck Yes, I do.
@JimNorton After.
Oh wait, did I say older?
Derp.
 
Yes I answered after the bounty was started
 
7:54 PM
Then it might just be a delay.
 
Ok thanks much. Glad it's Friday btw... at least where I am on the globe.
 
damn kitty is after stuff on the screen
 
@JimNorton You're on globe? We're on dope.
 
She keeps trying to catch what I am typing
 
@thecoshman Even the kitty is on stuff
@thecoshman She trying to correct all the errors?
 
7:57 PM
@sehe she'd probably type better then me
let's find out :P
 
@thecoshman Perl code will be binned!
 
msjb, ddddddddddddddddddgh
I had to help her out :P
 
@thecoshman That was clear, because this isn't valid perl code. This is more like transliterated brainfuck
 
I'm willing to bet money that GCC (or any current) compiler will not be able to vectorize this loop. There is no vector modulus instruction on x86. — Mysticial 11 secs ago
 
We're all friends now.. of the dope show.
@sehe LOVE PERL!
 
8:10 PM
@Mysticial Sadly, can't upvote deleted comments... :)
@JimNorton Shhh. I use it. I hate it though
 
@sehe just voted to undelete the post
i think it is a valid answer. the question explicitly asked "(but any other suggestion is also fine)."
 
Mmm didn't think of that. Lemme read the answer
Here it is: gmplib.org/~tege/divcnst-pldi94.pdf But like I said, non-trivial. — Mysticial 30 mins ago
^ interestingly, that sounds all very foreign, but then "Centrum voor Wiskunde en Informatica" is Dutch. Is that SA?
 
The main author is Swedish.
 
Mmm. "Centrum voor Wiskunde en Informatica" is definitely Dutch ("Centre for Mathematics and Computer Science")
Welcome back by the way. Jet lag?
 
8:19 PM
hey, can anyone help me with something really quickly
 
@BoltClock Bin it for spamming the room!!! jk
 
@Mysticial :D
 
no =(
 
@Magn3s1um You should probably just ask that something
 
okay, I'm enumerating through all my parent window's children
and I find my window
but I need the HWND
where is that stored? I've got my EnumChildProc which finds the window, but then where is the HWND?
its not a return value because they're both boolean returns
 
8:24 PM
@BoltClock Do you need to specify all 3 choices to make your vote "valid"?
 
I'm not entirely sure about that, but you get the badge the moment you cast your first vote
 
DID SOMEONE SAY BADGE.
 
OMG BADGES WHERE
 
@Magn3s1um EnumChildProc gets the HWND as a parameter, do you have any idea what you're doing?
 
Yeah, I have the HWND of hte parent
so I pass it to EnumChildProc
but then how do I get the HWND of the child
Oh, I see
that is the child HWND
it stores it into that value
ty
 
8:26 PM
@Magn3s1um From the docs, you call EnumChildWindows, and EnumChildWindows calls EnumChildProc with the child's HWND. You don't call EnumChildProc yourself.
 
@mooing Mhm, ty for looking
 
> I wrote a program to try and create a segmentation fault, but I am not getting it.
lol
 
@rubenvb thanks, all compilers work now
 
0
Q: void pointer typecasting

PrattI was trying to understand void pointer typecasting in C. I wrote a program to try and create a segmentation fault, but I am not getting it. Can someone please explain to me why Code: #include <stdio.h> typedef unsigned long U32; int main() { void *obj; U32 value = 25; U32* ptr; ...

"I wrote a program to try and create a segmentation fault, but I am not getting it."
I guess getting a seg-fault is harder than spilling coffee.
 
main()
{
char *string = NULL;

memcpy(string,"Segfault",9);
/* boom */
}
 
8:37 PM
120
Q: What is the easiest way to make a C++ program crash?

jonathan topfI'm trying to make a Python program that interfaces with a different crashy process (that's out of my hands). Unfortunately the program I'm interfacing with doesn't even crash reliably! So I want to make a quick C++ program that crashes on purpose but I don't actually know the best and shortest w...

 
F:\Code\Utilities\ExprTemplate\ExprTemplate>clang++ *.cpp -I"../../" -Wall -std=c++0x -pedantic -Wextra -O2 -Weffc++ -fwhole-program -fdiagnostics-format=msvc -o$(TargetDir)clang$(TargetName)$(TargetExt)
i686-w64-mingw32-g++.exe: error: unrecognized command line option '-fdiagnostics-format=msvc'
clang++: error: assembler (via gcc) command failed with exit code 1 (use -v to see invocation)
@rubenvb: why is g++ giving me an error when I call clang++?
 
Is Clang really going to be better than the GNU tools?
 
"going to be"? as far as I can tell, it already is
 
@JimNorton in what way? In several: yes
 
It already is.
 
8:40 PM
How so? Does it produce better more optimized code?
 
It's not about that at all.
 
it produces better warnings
 
Can Clang build a linux kernel and userland applications yet?
Warnings are good. But that's why Lint was created, no?
 
Userland applications, yes. Linux kernel is tightly bound to GCC, so probably not yet.
 
It can build the Linux kernel.
What are userland applications?
 
8:41 PM
Everything but Linux kernel.
 
Oh ok.
 
"25 February 2009 Clang/LLVM able to compile a working FreeBSD kernel.[15][16] Currently all of the FreeBSD source code - both kernel and userland - can be compiled with Clang."
 
It's better at diagnostics, integration with other tools, has better quality code internally, it's retargetable.
It's just better.
 
I wonder if the modified Linux Kernel that can be built with Clang will become part of the mainline code...
 
according to en.wikipedia.org/wiki/Clang, "25 October 2010 Clang/LLVM able to compile a working modified Linux Kernel."
 
8:44 PM
@CatPlusPlus not to mention it has a better license.
 
@RadekSlupik Yes.
 
How is the GNU toolchain not retargetable? Seems like it supports many CPUS and architectures. Perhaps I don't grok your use of the term?
 
We don't really care whether it compiles Linux kernel or not.
 
Linux is shit.
 
We care about C++ mostly.
Clang is also faster than G++.
 
8:45 PM
I heard about the license issue... better for commercial products.
Linux is shit? Really? What do you prefer?
 
@JimNorton You have to rebuild the entire toolchain for each target.
 
Mac OS X. :P
 
Retargetable compiler supports multiple architectures with one driver.
 
Got it cat
 
@JimNorton Have you ever tried using it on Windows?
although arguably, Clang's Windows support also sucks donkey cock
 
8:45 PM
@thecoshman
 
Mac OS X is NO better than Linux... it might have a better user interface...
 
OOOH, hi
 
Never used Clang... just GCC and Microsoft compilers and back in the day Borland.
 
@JimNorton He's just crazy OSX user, don't listen to him.
 
@Cat
@CatPlusPlus Lol...
 
8:48 PM
@JimNorton It's not because there isn't an immediate "better" replacement that the linux kernel is not shit.
 
@CatPlusPlus :P
 
@KillianDS Again I ask, what about Linux is inferior to say the BSD's, Mach ( OS X ) etc..
They all of advantages and disadvantages
A lot of talented PHD's writing Linux Kernel code from large companies... I doubt the Linux Kernel is shit... :-)
 
@JimNorton I never said it was inferior, I just agree the linux kernel is shit. There is a huge difference.
@JimNorton Have you ever looked at it?
 
damn you Google! why so hard to change my avatar?
 
I have looked at the Kernel code... but not enough to have an opinion based on the quality of the code... just how well it functions.
@KillianDS What do you believe is the least shittiest OS Kernel?
 
8:53 PM
Well, considering there's only really about 3...
 
@JimNorton It could be I looked at a particularly bad part of course, but I spent a week hacking network interface creation last year (for a big company ;)), I eventually gave up because it was an unmaintainable mess and made a highly parallellized userplane implementation based on tuntap :P
 
I can't use private members in a public function's SFINAE?
 
Code y u no compile.
@ScottW I'm not writing Hexapoda in PHP, silly.
Ah I see.
This code doesn't compile. WTF.
std::regex r("/");
 

« first day (608 days earlier)      last day (4344 days later) »