« first day (418 days earlier)      last day (4532 days later) » 

10:00 AM
@FredOverflow in the food package ofc
 
Anyway, I prefer the fiber and protein in C++.
 
@FredOverflow yeah, it really does depend what you are doing
 
@acidzombie24 no
0
Q: Creating threads, assigning functions to it in a loop and executing

Tony The LionI have some work that needs to be done in separate threads, the work is done on a std::vector<T> of objects. I need to do the work and then in the main thread, wait on all the threads with a join(). I have done this the following way, but I think this isn't a good idea, as I have only o...

 
@FredOverflow oh god yes! How I long to return to a language where I know what is going on
 
this is my issue
 
10:01 AM
@thecoshman In some number crunching tests I did a few years ago, Java was about 90%-95% the speed of C++. (Not that these kinds of tests actually matter.)
 
@FredOverflow from my understand, the JIT compiler optimizes on the fly. So when I a program starts, it is very crude and slow, but as the JIT compiler works through it, sections of code become faster. so for instance, if in-lining a function improves performance it does so. The problem I have is the fact it dosen;t cache these optimisations so you have to start with a slow as fuck version each and every time
 
user34537
@TonyTheLion: You'd get a better answer then i can give but my thought is 1) Why a vector, a FIFO container sounds better but its probably not what you want in this case. 2) Really deque should be your default container, not vector 3) Its your you know this is bad and didnt write your own thing (hopefully because you didnt want to and not because you just felt lazy)
 
@thecoshman Some "booting up" delay has never killed anyone. At least not in the domains that Java is dominant in ;)
 
the problem is that boost::thread doesn't provide higher constructs
like concurrent queues and parallel iteration
 
user34537
Do you guys know how long this transcript will be kept? Its not years is it? 30days maybe?
 
10:05 AM
@DeadMG There are vendor-specific libraries for that, aren't there?
 
@FredOverflow it just seems silly to me is all :(
 
forever
@FredOverflow Yes, PPL and TBB at least
 
@thecoshman May I suggest C# then? ;)
 
@acidzombie24 It's kept forever, as far as I know. I've seen people refer back to messages that were well over a month ago
 
it's not my choice... some one at work chose Java once upon a time, and so it has remained ever since ¬_¬
 
10:06 AM
@DeadMG the thread_group you suggested sounds like it could work
 
and I do't like C# either :P
 
well, it loosely corresponds to a thread pool
 
@thecoshman May I suggest QBasic, then? ;)
 
I think I might be a programming language racist...
 
but it should offer the functionality you need
@thecoshman No, just perfectionist
 
10:07 AM
@DeadMG true... we all know if it is not C++ it's wrong :P
 
well, they're Inflexible As Fuckā„¢
 
A perfectionist wouldn't settle for any mainstream language but instead invent his own perfect language. It would take years and never get to any relevant stage, of course.
 
@FredOverflow That's not what I'm doing at all, ahem
 
@FredOverflow C++?
 
user34537
@DeadMG: I better watch my mouth than
 
10:08 AM
Come on, we all love C++, but certainly not because it is "perfect".
 
@FredOverflow Blind faith says it is
 
@acidzombie24 None of the rest of us do.
 
FUCK YOU MICROSOFT
3
 
@thecoshman Is your god named "Bjarne"?
 
C++ isn't perfect
 
10:09 AM
@jalf What happened?
 
@FredOverflow ... no
 
what kind of sick twisted brain decides to #define interface struct in a public header?
 
oh you're kidding, right?
 
@jalf MS
 
user34537
@DeadMG: So i can say penis, boobs and vagina and suffer no consequence?
 
10:09 AM
of course, Qt isn't helping by defining a class which has a member function named interface
 
the rest of us do
 
cross-platform my ass
 
wait a cotton picking second... scum bag UPC never called me back ¬_¬
 
@thecoshman Admit it, you're a "Bjarneist"!
 
user34537
@jalf: I herd u liek C#
 
10:10 AM
didn't Boost have to rewrite their Signals library because signals was a macro defined by Qt?
 
@DeadMG dunno, wouldn't surprise me
 
that's why Signals2 exists
so that it didn't conflict with the macro
 
@FredOverflow If anything... GNUist... though my alter piece has got lost in the move... he's packed away some where
 
ugh, GNU
 
so did GNU ever get there OS developed enough that you could actually use it?
 
10:12 AM
hey
in a few days, I will be JITing WideC code, I will have you know
if I can be bothered enough ;p
 
huh wait... no it was the kernal GNU where trying to make wasn't it
@DeadMG what?
 
user34537
Hey so, i found people who dont like C#. Are they crazy or not so crazy?
I asked them why and they all said "Not cross platform enough for me" and "I dont like MS".
 
@thecoshman You can download it know, but they don't recommend it for everyday use
 
just responding to FredOverflow, who implied that I would never be close to finishing
but soon I can be JITing it like a baus
 
@acidzombie24 not cross platform is fair reason
 
user34537
10:14 AM
I told them mono was able to run my code and... they just said they like C++ better and will use that instead. I cant imagine writing some things without reflection

So i ask. Is it insane to not like C#?
 
@DeadMG Y U NO compile
 
haha
 
user34537
(i am not saying you need to love it)
 
you're asking in here, where virtually everyone hates C#?
 
user34537
@thecoshman: They were all using it for desktop apps.
 
10:15 AM
how about because C# orgasms inheritance where a better generic system would work instead?
unnecessary repetitive dynamic allocations?
 
@Topo they still working on it?
 
shitty value type system?
enforced garbage collection?
 
user34537
@DeadMG: I guess i am a noobie. Does everyone here hate C#?
 
shitty deterministic destruction?
slow as hell?
no references to values on the stack?
no pointers unless you're "unsafe"?
 
@thecoshman Yes, Richard Stallman says it should be ready in a couple of years
 
10:16 AM
Object[] = T[]?
no free functions?
 
user34537
@DeadMG: ITS AMAZING CAUSE OF THAT (I kid i promise)
 
@acidzombie24 I don't hate it. I just don't think it's a very fun language either
 
Object?
 
@Topo is that part of his annual speech :P
 
wow, that's more than I thought I would be able to come up with on a whim
 
user34537
10:16 AM
shitty deterministic destruction?<--- what?
 
It's much like Java in that respeect
 
@thecoshman Because LLVM provides no linker
@acidzombie24 IDisposable is broken as hell.
broken as a baus
 
user34537
slow as hell? <-- mono bechmarks say its ok....
repetitive dynamic allocations <--- i want to know about this
C# orgasms inheritance where a better generic system would work instead? <--- is this only true in a specific case? I never had a problem. Although i hate how one cant implement a property class (which i done in C++)
 
user34537
oh #$%^&*( dont talk about dispoable to me
 
user34537
why the F$%^&* arent things disposed automatically. Why do i manually need to write using(). What the $%^&*(
 
10:21 AM
@thecoshman I think he's an asshole, he has been writing that thing for over 27 years and he hates Linus Torvalds for writing Linux by himself in a couple of years
 
morning all
 
@thecoshman asust.in/005d
 
@Topo still, it would be nice for there to be another FOSS kernal that could really drive some innovation and friendly rivalry between the two
@Topo but that is just GNU apps sitting onto off the linux kernal
GNU where working on a kernel them selves, HURD I believe
there we go
 
@thecoshman That's true. I think the latest release of Debian has an alternate installer which lets you use the BSD kernel instead of linux.
 
user34537
I'm confused, what the difference between linux and gnu OS?
 
user34537
10:27 AM
is GNU unix based?
 
linux is the kernal, the very lowest part of the OS
linux by it self can't do much
GNU offer a shit load of basic apps that allow to actually use your computer
currently, the GNU OS uses the linux kernel, as do a lot of the distributions out there
 
And GNU is working on its own kernel so they don't have to use linux
 
user34537
and they started this 30 years ago?
 
almost.
 
@Topo it's not jus so they can not use linux, is so they can have a OS that is fully compliant with the GNU licence
 
user34537
10:31 AM
wow....
 
yeah, but Linus was able to muster an insane following,
 
user34537
is linux not GNU compliant?
 
AFAIK, no
 
they started working on the kernel on 1990 but the other parts like the GCC compiler were written in 1983 i think
 
user34537
btw who was the one who said he thought go was launched and it was a disaster?
 
10:32 AM
me :D
I just assumed that mind as I hand't heard anything about it
 
user34537
@Topo: I thought linux heard the gnu still havent released their OS after 2? years and wrote one himself.
 
@acidzombie24 what?
linux != linus
Linus is a dude who wrote Linux the kernel
 
i'm not sure linus knew anything about gnu at the moment he wrote linux
 
user34537
@thecoshman: 1) Why did you think it was a launch? They didnt seem to have a compiler ready (at least not for windows) 2) Did you dislike the language? Why?
 
user34537
ahhahaha, i meant linus oops
 
user34537
10:34 AM
I disliked GO honestly because they outright said its not meant to be a complex language and it looked like they took pointers away from me.
 
@acidzombie24 not sure, just thought they had launched it and it was ready to be used. Never tried it, not sure if I would to be honest. Not really sure what is aimed at solving
 
@Topo hurd is actually close to usable on Debian these days
 
@awoodland yeah, I noticed that HURD is in use by Debian, and a few others as well. Though when I went to have a play with Debian, I didn't see an option for HURD, so is it a bit hiden away?
 
@awoodland cool
 
user34537
In 1983, Richard Stallman started the GNU project with the goal of creating a free UNIX-like operating system.[2] As part of this work, he wrote the GNU General Public License (GPL). By the early 1990s there was almost enough available software to create a full operating system. However, the GNU kernel, called Hurd, failed to attract enough attention from developers leaving GNU incomplete.
 
10:38 AM
well done on using copy and paste bud
 
user34537
Why would i do anything else? :)
 
@thecoshman it's currently only in unstable and it was that you needed to install it in a funny way, but I have a recollection of seeing d-i images for it recently
 
@awoodland I probably wouldn't bother trying it
 
I had a look at debian once... wasn't fun
 
10:41 AM
Wow, it appears now you can have debian with any kernel you want
 
I wonder if any one has started 'Hubuntu' ubuntu with the HURD...
 
@thecoshman don't tempt me!
 
@awoodland we could do it man... would be internet famous!
 
user34537
@thecoshman: Why? I used a few distros as my server and i went with debian. Its excellent. Nearly all 'ubuntu' tutorials work on debian without any modification
 
@acid for a server maybe... but as a home desktop, bit OTT
 
user34537
10:45 AM
@thecoshman ah ha. Does debian even have a GUI... lol
 
and as I would use ubuntu as my home computer, I would use ubuntu for home server so that the few machines I use cna cache the repository updates to save having to download updates so many times
 
user34537
whats your distro of choice?
 
ubuntu... but not with unity
 
I like Debian but once I have tried unity in ubuntu I can't go back to gnome
well normal gnome
@thecoshman Why? i love unity
 
user34537
whats unity? unity3d or something else?
 
10:47 AM
@Top because I took to AWN
@acid it's GUI
 
Ooo
do you try gnome shell?
 
@acid parallel to GNOME or KDE
 
I prefer xfce myself. GNOME is a pain to use, and KDE is bloated
 
@top AFAIK I need to upgrade to a more recent ubuntu... currently on 10.10 I Think as I didn;t want to arse around with unity
not really tried xfce much, though I here it very nice and light wait
KDE just seemed 'wrong' to me... everything seemed disjointed and not as I would expect
 
xfce is like a customizable version of XP with more features
 
10:50 AM
@Pubby xfce is great, a couple of years back it was like gnome's ugly cousin, but now it's awesome
 
anyone try lxde?
 
though... seeming as I don't use the main panels... what of GNOME am I using... or is it just the packaging of metacity and nautilus etc that make GNOMEGNOME
 
that smile is so cheesy it hurts
 
I have it installed in virtual box
 
10:51 AM
lxde? do tell
@awood o_0 yeah... what the hell?
 
lol...someone actually uses hurd?
 
i don't like lxde
 
@chao who?
 
dunno. i personally hadn't even realized they got the damned thing done
 
@Topo The only thing I like is the pcman file manager. Better than thunar
 
user34537
10:54 AM
so... what do you think of chromeos?
 
@chao done in a very loose sense of the word
 
heh
 
@acid amazing if all you do is use a web browser
 
@Pubby I think so, but I don't like the look and feel
 
so, it isn't really even done yet?
 
10:54 AM
chrome os would be better if it wasn't linux based
 
user34537
ahaha
 
@chao no, HURD is STILL not 'finished'
 
rofl
 
@Pubby explain your self good man
 
@Pubby why?
 
10:55 AM
glad gnu went with linux for the kernel, then
 
@chao it was that or not GNU OS
 
user34537
When i last tried it, i couldnt use VLC :(. I grabbed vlc and tried to open a file and something did play. But... VLC wasnt really useable. This was >1yr ago i believe
 
It's not that linux is bad, it just seems like a web-based os would be more suitable
 
user34537
oh yeah.. i asked but didnt see a reply. Isnt linux GNU compliant?
 
it's shouldn't be called chrome os when all it is is stripped down ubuntu
 
10:56 AM
@pubby do you understand how a computer works?
 
@thecosh it's like that movie tron, right?
 
@pubby glad we cleared that one up then :D
 
@acidzombie24 what do you mean, "gnu compliant"?
 
@Pubby I think no one want to write a kernel this days. All we have is windows and unix-like systems
 
@chao well, I was saying that AFAIK the linux kernel isn't compliant with the GNU licence
 
10:58 AM
@thecoshman well, you'll have to continue talking. cause vague charges like that don't really matter... :)
clarify.
 
@Topo Yeah. Stinks in a way - sure there's better ways to do things
 
posted on December 08, 2011 by Alf P. Steinbach

The Windows console subsystem has a host of Unicode-related bugs. And standard Windows programs such as more (not to mention the C# 4.0 compiler csc) just crash when they’re run from a console window with UTF-8 as active codepage, perplexingly … Continue reading →

 
@cHao you know the GNU GPL licence... AFAIK, the linux kernel is not licensed under it and/or is not able to be
 
i dunno what kind of bullshit you've been told...but the linux kernel is licensed under gpl v2
 
well I'll be, TIL
 
11:01 AM
maybe you're thinking of it not upgrading to v3
 
it might not be compatible with gpl v3, but frankly, i don't like the sound of v3 anyway. so i'm happy with that
 
user34537
@cHao: Then why does GNU feel the need for their own kernal?
 
@acidzombie24 hurd is architecturally quite different
 
cause they're a bunch of commie purist unix-hating pricks?
 
Because they're silly.
NIH.
 
user34537
11:03 AM
How did that alfps post get into the RSS feed? How would i do something like that?
 
@acidzombie24 We added his blog to the room's feeds.
 
user34537
Nice
 
@acidzombie24 He's special
 
-5
Q: How to make trial and full version of Visual Studio project, and also KeyGen for it

user1075075How to make trial and full version of Visual Studio project (Windows based application), and also KeyGen for it.

Sounded really fishy until I read the comments.
 
yeah....i kinda flagged too soon :P
 
11:09 AM
is somebody of you guys on diaspora?
 
I don't even know what that is.
 
sounds like some kind of drug
 
Diaspora (styled DIASPORA*) is a non-profit, user-owned, distributed social network that is based upon the free Diaspora software. As of November 2011, there are more than 200 thousand users connected to the biggest server. The project was founded in 2010 by four students at New York Universityā€™s Courant Institute of Mathematical Sciences, Ilya Zhitomirskiy, Dan Grippi, Max Salzberg and Raphael Sofaer. Diaspora consists of a group of independently owned pods which interoperate to form the network. The word Diaspora is Greek in origin and refers to a scattered or dispersed population. Wh...
 
that actually sounds kind of neat though
 
11:11 AM
is the order of construct init lists ordered?
 
@Pubby The order is the order the member variables are declared.
 
Within the constructor?
 
struct foo { int a; int b; foo() : b(), a() {} };
 
@awoodland yeah, i got an invitation now, but I totally dont understand the site^^
 
Will initialize a first, then b.
 
user34537
11:13 AM
I wonder why no one has asked me on how to write a question
 
GCC will even warn if your initializers are in the wrong order.
 
@RMartinhoFernandes that always struck me as an odd warning though
 
@awoodland Well, if you're counting on the order to be something it can save lives.
Consider struct foo { int a; int b; foo() : b(), a(b+1) {} };
 
@pub dude, did you try lxde? I desperately wanted it not to suck, but was disappointed.
 
@keithlayne Not exactly, although I tried several of the individual components.
 
11:16 AM
@RMartinhoFernandes warning in that case makes sense, but in the general case writing the list in a arbitrary order is fine
 
Well, you either get it always, or you add complex dependency tracking to the compiler :)
 
@pub the freaking systray of all things is buggy (I'm sure I could have replaced it) and kept taking up more and more space until it sucked up the entire panel for 2 items
 
@keithlayne Yeah, it does pretty unstable. The file manager crashes daily.
 
I'm thinking xmonad would be sweet, you can make the pointer follow to another monitor/window when switching with the keyboard
xmonad has a "emacs OS" feel to it
for a 3yr old netbook I wish I could really strip everything down to minimize resource usage
where's @Xeo? still changing diapers?
 
@keith why not just roll your own distribution then? :P
 
11:21 AM
@thecoshman that's like saying "why don't you just punch yourself in the face repeatedly then? And follow that up with a tazer to the butthole?"
 
Christ... imagine trying to create a distribution for 'programmers'
@keithlayne *_*
 
I almost miss the old days without all the gui sugar on top of everything. Maybe I'll switch to fvwm.
 
fvwm?
 
lol...when lxde.org can't even be bothered to serve me web pages, i'm not exactly instilled with confidence in the project's ability to work
 
11:23 AM
@chao or... they work so hard on lxde it self they don't notice that the site is down ¬_¬
@keith fine...
 
it still exists, and looks pretty much like it did in 1996
it's gangsta-ugly
 
fuck! that looks shit
 
when i mess with a web page, even if it's just to correct a misspelling, i look at the page in a browser. it's the most basic test you can do :P
 
in a purely cosmetic way
 
fwvm? lol
 
11:24 AM
@cHao what I don't get is that they released a "lubuntu-desktop" based on it...not ready for prime time IMO
@cHao I knew you were a closet webdev
 
I just rewatched the movie Fargo from 1996. It's only a few years ago but things were so different back then.
 
well, lubuntu isn't an accepted derivative yet is it
 
that's how debian-type folks are. everything's just a super-extended beta test.
 
@thecoshman it sure is, I think
 
user34537
Hey, can i see the list of RSS feeds this channel uses?
 
11:26 AM
except that debian is supposed to be super-stable, always behind, but still broken?
 
@keith I am sure they have been bitch about this because they have done about four releases now and still not got offical status yet, unlike xubuntu and the likes
 
I see alf must have had plenty of time to finish that second blog entry whilst suspended...
 
mawning
 
@keith ooh burn
morning @dead
 
11:28 AM
Arch ftw!
 
not meant as a burn...he shouldn't have been
 
it does sound a bit suspect that Alf would have been suspended... though they may just want to stop him from answering so many questions and the likes
 
Sometimes I do post answers as comments (when they're like, five words or something). I'm going to start ending those with "Cheers & hth.".
 
wtf, alf was suspended?
 
user34537
@RMartinhoFernandes Thank you
 
11:30 AM
@DeadMG Apparently, for adding "Cheers & hth." to the end of his answers.
 
wtf, really?
 
So I heard.
 
that's ridiculous
 
Totally nonsensical.
 
is there a meta post?
 
11:30 AM
I would never hate on @Alf, he was suspended for being cheery and helpful, and has always acted just like that, as far as I've seen.
 
what does hth mean? ooh... got it
 
@Alf you there? Can you talk? (Do you want to?) Is this true?
 
we should occupy SO in protest
oh wait, we already are
 
@keithe how would that even work :P
 
His profile does not have a suspension mention.
 
11:31 AM
chat really really hard?
 
hmmm...I didn't mean to speculate
 
user34537
@RMartinhoFernandes thats exactly what i checked. Did someone just make this up to see what happens :p
 
@acidzombie24 I heard Alf has been posting all his would-be-answers as comments lately, as a form of protest.
 
suspended users show as 1 rep for the duration of suspensions too
 
Check his activity.
 
11:33 AM
stalkers unite!
 
@RMartinhoFernandes against...
 
@thecoshman Against his alleged suspension, obviously.
 
@RMartinhoFernandes obviously
 
posting comments 7 minutes ago doesn't sound very suspended to me
 
11:35 AM
> @Ralf: I avoid some amount of hassling by only posting as comment. Also, the community, as represented by the SO moderators and also self-appointed leaders, has expressed extreme displeasure with my answers containing a valediction such as "cheers & hth.".
 
how can auto access private members?
 
> Now I could yield on that and make SO a special case, the place where I don't greet people or wish them well out of fear of some nasty mod kicking my behind, but I'd rather not start cowing to such arbitrary conformity pressure, no matter how small the detail is (put another way, if SO was worth it, then the issue wouldn't have been there). ā€“ Alf P. Steinbach 6 hours ago
Maybe he was just warned of suspension.
 
nice use of "valediction"
 
@Pubby Who said that?
auto can declare private types.
 
user34537
Ohh, Alf P has been suspended. I thought we were talking about jalf whos in the channel. Well, was.
 
11:38 AM
@RMartinhoFernandes alf's latest comment said it could be used to access private members
similar to the template specialization trick
 
To declare private types, yes.
 
What do you mean?
 
struct foo {
private:
    struct type {};
public:
    type f();
};
auto x = f(); // valid, no private member named
foo::type x = f(); // not valid, accessing private member
 
Oh, I see. Seems like compilers could catch that
but they can't?
 
Not if they want to be compliant I guess.
And seriously, what's going on your head when you declare a public member that returns a private type?
 
11:41 AM
Ha, good point
 
how is that even legal? in, say, c#, you can't have a public function that returns a private type
 
@cHao In C++ you can.
 
i'da thought c++ would have sense enough to have the same rule
 
c# you can't have fun in :(
 
@RMartinhoFernandes it's useful if type inherits from something
 
11:42 AM
psh. you can have plenty of fun in c#. you just can't do as much blatantly stupid stuff.
 
Hmm, proxies.
 
user34537
Does this work or crash?
 
@RMartinhoFernandes it's also useful if type has a conversion operator
 
Well, make the proxy non-copyable. That prevents that initialization, doesn't it?
 
11:46 AM
what about the {} initialization?
 
and you can still call methods on it
 
@Pubby You mean auto x{ f() };?
Still requires a copy constructor.
 
@RMartinhoFernandes I thought it could work if it was private copy constructor
 
IMO, if the whole point is to prevent me from getting the proxy on a var, just make it non-copyable.
@Pubby You can go further than making it private. Delete it.
Foo(Foo const&) = delete;
 
Do you think I could steal GotW's pimpl into my library?
 
11:48 AM
anyone about to help with something real fast?
 
@CatPlusPlus What are you concerned about? Licensing?
 
light?
 
Someone bitching about silly copyrights, yeah.
 
0
Q: Evaluating Card for a hand of Video Poker

Josh LakeI sorted the cards by rank to make things easier. I sort of need to be guilded in the right direction on how I can set up these checks. For example, to check for a straight, I know I just need to iterate through the sorted cards and see if each rank is one more than the previous card. Below is ...

 
@CatPlusPlus Can't find a notice on sight. I wish that defaulted to mean public domain. That would force people that care to post notices. You can mail Herb.
 
11:52 AM
@RMartinhoFernandes for the most part, lack of copyright notices implies copyright
 
@keithlayne "taser".
Silly americans putting zs everywhere.
This is a brand, so you can't.
 
@RMartinhoFernandes I wasn't going to say it :P
Is Taser a brand name for tasers?
 
@RMartinhoFernandes What worse is that if you spell it the English way the Americans can't read it
 
Xeo
@keithlayne Why do you ask, need something from me?
 
@thecoshman The brand became a generic name for the device. There's a name for this.
 
11:56 AM
yeah... not sure what that word is
but I know it is a word
lunch time
 
Plus Taser International is based on the US.
 
@thecoshman proprietary eponym?
 
Why would you americanise an american name?
 
@RMartinhoFernandes because it's not much of an american name if it hasn't been americanised, duh
 

« first day (418 days earlier)      last day (4532 days later) »