« first day (849 days earlier)      last day (4089 days later) » 

12:00 AM
Actual knowledge and prior experience matter, age or formal education is irrelevant
3
 
Ell
Formal education is irrelevant?
 
well it sure doesn't teach relevant things, in general
 
@CatPlusPlus been programming for 2 years...
 
user142019
@Crowz I've been programming for eight years and I'm still a noob.
 
@Crowz And what do you know
 
12:05 AM
@CatPlusPlus I dunno
 
I'm in 6th grade and I program. Age and formal education is indeed irrelevant, it just matters how much the person knows.
 
I know formal education too well to trust it :v
 
Ell
6th grade? How old is that?
 
At least when it comes to CS/programming
 
user142019
18
A: Are all Haskell functors endofunctors?

C. A. McCannYou may want to clarify whether you're asking about "functors in Haskell", or Functors. It's not always clear what category is being assumed when Category Theory terms are used in Haskell. But yes, the default assumption is Hask, which is taken to be the category of Haskell types with functions ...

 
user142019
12:07 AM
I have never been so confused.
 
@CatPlusPlus what's wrong with formal education in CS?
 
Oh god, I realized the error
 
alright, must leave now
 
I forgot to update my makefile properly. I'm a total fucking idiot.
 
bye everyone
 
user142019
12:08 AM
What is Hask^op?
 
The real error is using make
 
Yeah... it's not a professional project or anything.
 
user142019
Oh opposite category of Hask, nvm.
 
I think I've mentioned to you guys what I'm working on with C++.
I just feel like an ID-10-T for bringing my stupidity in here and asking questions like a noob.
Real PEBCAK sort of stuff. I'm better than this, I know I am...
 
Well you certainly look like an idiot when spelling "idiot" as "ID-10-T"
hth
 
user1357851
12:12 AM
1D107 <-- better?
 
Well, that's the point. I am an idiot. Hate me, for I hate myself, after being that stupid.
 
Everyone's an idiot
But type like an adult fammit
 
@CatPlusPlus Uhoh. We got found out
 
@sehe lol
 
user1357851
don't worry people here do not need any reason to hate you, they hate everyone by default. It's awesome
 
12:13 AM
ikr
 
when I grow up I'm gonna be an idiot
4
 
It's a rite of passage
 
@Zoidberg liar
 
user142019
@sehe evidence please.
 
Zoidberg write a monad implementation for C++, with syntax sugar preprocessor
You like new projects
 
12:20 AM
@Crowz Uh..
Feb 7 at 17:29, by Crowz
When I grow up, I'm going to be a loser.
Make up your mind.
:P
 
those two don't mutex each other? :P
 
I can be both, right?
 
goodnight
 
I fucking hate when I can't buy a band's CDs anywhere for under $100...
 
What the hell?
 
12:27 AM
Crust Punk. Usually they don't sell digital download
 
What's ITT again?
 
In this thread
 
12:42 AM
I could sure use a new C++ implementation
 
What do you mean?
 
if you std::move object x into another one, leaving x "empty", do you have to placement new construct x to (properly) use it again? assigning to it wouldn't be correct right?
 
Clang sucks.
everything you can do is massively coupled to the parser.
if you have something while not parsing a C++ source file, it's very hard.
 
Ell
What do you need?
 
@doug65536 You can assign. The object is not destroyed. However it might be left in such a state that assignment might do bad things (depends on the implementation).
 
Ell
12:49 AM
That's not to do with parsing?
 
@Ell Pretty much everything.
 
@DeadMG Oh you're using clang for wide?
 
@AndreiTita Not really. Moved-from objects must be in a well-defined state.
 
@AndreiTita Is it safe to say that a well-implemented move constructor will leave the move victim in a reasonable state? Ideally in a default-constructed state?
 
the Standard doesn't say which well-defined state, but it must be some well-defined state.
 
12:50 AM
@AndreiTita but it, at a bare minimum, must be okay to call the destructor on the moved-from object or you'd be in UB land very soon
 
std::swap assigns to a moved-from object.
@Borgleader Yeah.
 
@doug65536 Or in a state that allows it to act sanely. Default construction might be expensive
 
like I need to instantiate a template, for example, and it wants me to tell it all about where in the source file I instantiated it from and what scope I'm in and stuff like that.
 
@doug65536 Listen to these fine gentlemen.
 
oh I see, thanks guys!
 
12:51 AM
I wish I had your guts to take on such a big project -.-;
 
lol, you kidding?
it's only a few KLoc right now
 
well, it's premature in that sense
 
hard work though as many Clang semantics are effectively undocumented, plain terrible, or most commonly, both.
 
big is not just lines of code. It's complexity
 
oh
I think that actually, it's just obscure and it's actually really not that hard
not sure
will Have To Test!
and if I don't see ya, then good afternoon, good evening, and good night
 
12:57 AM
Even though I've had a course on compilers and I've done some basic parsing using a java framework. It was really basic mathematical expression parsing. I've no damn clue how I would come up with a language syntax and then get a C++ compiler to generate code from it.
 
Ell
Goodnight all
Good luck with wide, puppy
 
lectures on compiler implementation. Very easy to understand
 
Oh I know about compilers. In theory. But I don't know how I would come up with a proper syntax for the language.
Top-Down, Bottom up, LR, SLR I've seen all of that in my class.
But it's all theory. I doubt I could put it in practice effectively.
 
it starts getting good at symantic analysis
 
And I found the dragon book to be quite a dry read.
@DeadMG Why is this starred? o.o
 
1:12 AM
@Borgleader because it is so useful and helpful
 
I think I plonked who he was answering to because the message before that one is mine (on my end anyway)
 
Is it just me noticing this, or is the "recommended for you" on Youtube always videos I've already seen?
 
@Crowz yeah I've noticed that too. I thought it actually was suggesting copycat videos
 
I dunno, youtube seems not as good now
I used to add 20 videos to my favorites a week, now I am lucky if it's one or two a week (and they're always from my subscriptions)
 
Dude... all you need is Gangnam Style....
 
1:20 AM
@Borgleader go watch peta murgotroyd do it!
 
On day I will actually understand the lyrics to that song.
 
I prefer the Cs188 version
 
@Crowz What the hell is that song?!!
 
@MarkGarcia CS188 Goddamn style
"tonight you will stick your hand down into your banana lair!"
 
1:27 AM
hated that song from day 1
 
I like this version too:
 
Oh the puppy left...
 
c... can I be a puppy?
caw
 
lol
 
Huh well this was a good animation
 
1:37 AM
Can I be a puppy-knob? :O
 
is this an acceptable technique or am I overcomplicating it? I'm trying to make the constructor take a universal reference and reject bad types, concept-style.
 
Well it doesn't look that complicated and I mean it does what you want right?
 
yes, just wanted to know if it was overkill or there was an easier way
 
I'm no template guru though. Might want to show it to the robot when he's around.
 
makes sense to me
 
1:44 AM
LOL
Dude.... those CS143 slides you linked to
 
yes?
 
Slide 186 is fucking hilarious
He took it from SO
I don't have the link but that thing is on SO
 
yeah the link is at the bottom
474
Q: Why is this program erroneously rejected by three C++ compilers?

James McNellisI am having some difficulty compiling a C++ program that I've written. This program is very simple and, to the best of my knowledge, conforms to all the rules set forth in the C++ Standard. I've read over the entirety of ISO/IEC 14882:2003 twice to be sure. The program is as follows: Here i...

it is in whatever pdf reader last overwrote the association on my machine anyway lol
 
Oh right now that you mention it the link is there. I stopped paying attention when I saw the image, I was too busy laughing.
 
yeah that joke isn't a joke until the punchline hits you
"It is entirely possible that your compiler support a mapping from image to basic source character set, but is not required to"
maybe gcc would accept a patch? gcc's executable needs to be bigger :(
warning: ambiguously drawn semicolon auto-corrected to be a colon just to piss you off.
 
2:03 AM
Okay this is messed up. A two-letter message has a star now ("oh"). Free stars? Anyone? :O
 
@Doorknob There's a star troll in the chat.
 
I went 55 seconds without anyone viewing my question in the tag. I challenge anyone to do better. :D
 
2:31 AM
Stupid link only answers on SO.
The links are dead.
 
And they aren't downvoted into oblivion?
 
No it's an old answer from like 2010
 
oh
 
It probably wouldn't be practical. But it would be nice if SO would cache a snapshot of the website being linked to. That way the link would always be valid.
 
@Rapptz You do a lot of work with math. Would something that does Vector2 + scalar = Vector2(v.x + scalar, v.y + scalar)` seem logical to you?
 
2:34 AM
that's what scalar addition is, yes
 
Hm.
Welp, okay.
 
@ThePhD: it's meaningless, mathematically.
but often useful in computational settings.
 
I fail to see how it's "meaningless"
 
I was trying to get at, should I have tha toperator defined?
That is, should I allow Vector2 v = Vector2::One + 0.3f; // Gives (1.3f, 1.3f)
 
@ThePhD: do you want Vector2 to be a faithful model of mathematical vectors, or a generally useful utility class?
if the latter, then it makes sense to provide the operator.
 
2:40 AM
How is it not faithful to mathematical vectors though? That is pretty much how scalar addition and multiplication are defined
 
@Rapptz: I'm not sure what this "scalar addition" you're talking about is; it certainly isn't one of the usual operations on a vector space.
 
The scalar operators (multiplication) can be extended and usually are to cover for other use cases like addition and subtraction.
It's how most calculators have done it as well.
 
user1357851
By definition scalar does not have direction (dimensionless)
 
user1357851
It is like adding 30 to a 3d space
 
@Rapptz: I'm aware that it's a common computational operation. However it is exceedingly uncommon in mathematics (at least the mathematics with which I'm well-versed)
 
2:42 AM
Damnit... the app I was using to keep applications on top of others is working with less and less of them these days
I think I might have to write a new version myself.
 
When I was learning vector based mathematics and physics we allowed the extension of scalar addition and subtraction.
 
soo....
... I'm just gonna define it...
'Cause... it's nice 'n' stuff...
... Yeeah...
 
Can I ask you a question?
Google doesn't seem to be helping
 
Shuuure.
 
The Settings concept is confusing me.
The ones that you access via Properties.Settings.Default
 
2:49 AM
You've lost me already. :3c
Is this C#?
 
Yes
 
What bugs you?
 
How do I make a control (UI element) control the setting variables?
 
Oh, I don't think you can. From what I was able to determine, these settings are transformed into actual code.
I think.
 
I found out how to do it partially just now
 
2:51 AM
Properties.Settings.Default.SomeDumbValue = BlabbityUIShit.GetValue;
 
Seems I'm supposed to call Properties.Settings.Default.Save() afterwards
 
Properties.Settings.Default.Save()
 
C#?! double-checks room ID
 
^ See?
I'm smart!
 
Well... TIL you can save those properties. Nice
 
2:52 AM
but say it's a checkbox and I close the application, would it still be checked?
I guess that's my issue too.
 
Well if you load the checkbox value from the settings and you save over it, I guess it should.
 
void OnLoad () {
checkbox1.Checked = Properties.Settings.Default.ShitBeChecked;
}
If you're using WPF, there's bindings and shit you could do.
 
@StephenCanon If C++ had something as nice as WPF I'd be talking about it
 
I like WPF but I can't get used to XAML.
It's just...
... Shudder.
 
I don't touch it
 
user1357851
2:54 AM
Would love some help on this JSON encoding in perl stuff
 
I love WPF, I don't mind XAML.
And yes if C++ had WPF I would be all over it too.
 
WPF is sexy, but not sexy enough for me to ditch C++.
 
I wouldn't even mind it if it replaced the dots to ::
Properties::Settings::Default::Save()? good enough for me.
 
I miss the dots a lot.
I also miss being able to do
Color Color; and having it be legal.
 
I have know idea what WPF is, and probably don't want to.
 
2:59 AM
WPF is WinForm's successor
 
Not necessarily. They're touted as separate technologies.
But even then... WPF kicks so much more ass than WinFOrms, you might as well just use WPF.
 
Yeah they tout it as separate technologies but it's the successor
 
@StephenCanon WPF is a really powerful UI framework by Microsoft. It's meant to replace Winforms and it is damn sexy.
 
@Borgleader: well, that explains why I have no idea. It's been > 10 years since I've written code for windows, or dealt with a UI. =)
 
Where is the OnLoad() callback :(
C# compiles a lot faster than C++
 
3:06 AM
Well not surprising I mean... theres the JIT compiler afterwards isnt there?
 
lol I have to cast a boolean into CheckState
that's.. what. Never mind it doesn't even work.
 
Welp TIL how to use std::initializer_list... and that MS was too lazy to ship it with VS2012
 
TIL Checkboxes suck :(
 
What? No...
 
I'm way too lazy to write an event handler
 
3:17 AM
I managed to make CheckedBoxLists work during my internship. I'm sure you can make CheckedBoxes work
 
@Rapptz run ngen on your binary to have it actually compile it and cache the native code
 
What?
 
@Rapptz ngen.exe. Native-Gen, it precompiles assemblies to native code. hitting compile only builds Intermediate Language (IL)
 
Why? I'm complaining that I have to go out of my way to make a boolean value initiate the check state of a checkbox
 
Any Discrete Math wizards here? I'm trying to pay someone a gracious amount of money for help with discrete for an hour tomorrow. I need to complete an open-book, group pset tomorrow and wasn't able to get a partner together in time, so I'm turning to you!
 
3:26 AM
As lovely as the offer is, that's pretty spammy.
 
Not trying to spam!
Just looking for help...
 
I doubt you'll find someone willing to accept money from a stranger on a website looking for help for tomorrow.
 
=(
Nobody?
 
user1357851
@Borgleader it is okay if it is thru paypal
 
Yeah, it is.
 
3:34 AM
@Telkitty No I meant the offer.
I'm not talking about buying stuff online here
I'm talking about someone showing up in a chat with an offer of money against help for what looks like school related stuff.
Looks shady.
 
I mean when you consider what you're risking..it isn't much
 
I've better things to do with my time.
 
and I'll be willing to provide any thing you want to make you feel safer
 
rlc
I agree with @borgleader: I wouldn't accept money to do someone else's homework
 
Well, it isn't homework, so that doesn't really affect me.
It's extra credit
And he stipulated that this is allowed.
I'd up the offer to $100
 
user1357851
3:36 AM
@Borgleader Prepaid through paypal sounds legitimate though. I doubt any scammers would dare to come into a hackers' forum looking for trouble. But I guess there are always dumb ones.
 
rlc
Homework for extra credit is still homework
 
Still, I've more interesting things to do with my time than other people's homework. And I'm not a math guru. So I couldn't even if I wanted to.
I prefer working on ogonek instead. Hopefully, I can help the robot in a meaningful way.
 
@Borg, Understandable. @rlc. We can argue semantics all we'd like. The fact is I'm looking for help on something I'm encouraged to seek help on.
 
user1357851
@rlc it could always be argued there is a difference between doing someone else's homework and helping someone with their homework
 
Ask them in the form of questions on Mathematics -- should they be good questions anyway.
 
rlc
3:41 AM
@telkitty true, that. I don't mind helping. I'm not a tutor though.
I also don't think a prof would expat you to seek help by going onto a forum and offering money
s/expat/expect/g
But far be it from me to block the way to inquiry - however strange a way it may be...
 
4:20 AM
Hello all, I've a question about erasing elements in a vector, I hope anyone can help . Is it possible to determine a set of random positions in the sequence and delete them?
 
4:31 AM
@user1653150 yes
 
how, please?
 
@user1653150 the simplest solution is just std::random_shuffle followed by vector.erase
 
user1357851
@Pubby you know much about stack?
 
thank you, I'll try it
 
user1357851
like the stack usage during function calls
 
4:43 AM
@Telkitty why?
 
user1357851
wondering what is the stack usage during a function call such as char * strcpy ( char * destination, const char * source );
 
@Telkitty probably very little for strcpy
 
user1357851
What about listing all the push and pop operations?
 
Still haven't gotten an answer to that yet?
I'm gonna say something that's probably going to be stupid. But why don't you write a program that calls strcpy and just look at the generated assembly code?
 
user1357851
you remembered :D
 
user1357851
4:58 AM
will get around to that soon ... mainly been playing around with Linux in the past few days
 
Alright time for bed. I got Robot's data working. Now have to wrap it in some neat interface.
I'll work on that tomorrow
 
5:54 AM
@Borgleader Cool!
 
There are probably children out there holding down spacebar to stay warm in the winter! YOUR UPDATE MURDERS CHILDREN.
5
Rofl. Also, that alt text.
 
user1357851
6:33 AM
 
user1357851
 
6:45 AM
Just very weird. Our OpenDNSed router just has had blocked every site. Can't google the problem.
 
0
Q: Having trouble with memcpy

Carlos CarrilloCode I'm using: char** list char** final; char* target; char* replace; int wCounter, cCounter, i, hashCounter = 0, addLetter = 0; int copyWord, countChars, numOfWords, finalWords = 0, temp; //stuff here final[finalWords] = strstr(list[wCounter+1], target); if(final[finalWords] != NULL) ...

^^ lol
aww someone edited. Check the first revision...
 
This is just a test. Can anyone "hear" me? I think our router's DNS configurations are broken.
 
yes
 
Aw fuck server admin.
 
Good morning people of the c++ lounge
 
6:55 AM
I think he just blocked every forum-like and social-net-like sites including SO.
How the hell am I able to talk with you all!
 
use a vpn and connect to your home network
 
@MarkGarcia Yes.
 
And it's back again. It's no server admin's fault, I think.
 
7:32 AM
motning all
@MarkGarcia you at school? they might have a managed filter, thus out of their direct control
* shakes room in attempt to wake it up *
 
mawning!
 
ohai
Jul 15 '12 at 21:34, by Radek Slupik
I am confusing it with Donkenweg. xD
Now before you dismiss this as just an incident, it's part of a larger pattern making it statistically implausible that the categorial typology of (endo)functions would have induced the highest form of confusion, within minutes.
 
@sehe can't we just say people suck?
 
@sehe what?
 
@TonyTheLion It's in reply to a lobster, evidently
 
7:41 AM
meh lobsters
 
that boy changes his user name too damn much!
 
he does
changes to his username are TOO DAMN HIGH
 
@TonyTheLion fail
The rate of his name changes is TOO DAMN HIGH!
 
any hoos, off to work for me :(
 
7:50 AM
have phun!
:P
 
8:30 AM
> error: undefined reference to 'std::basic_ios<char, std::char_traits<char> >::operator bool() const'
 
how did you manage to get that?
 
Still trying to figure things out.
 
user1357851
edit: code tag does not work
 
The day has barely started and there's already someone trying a case-insensitive comparison by touppering both sides. :/
 
both sides of what? comparing what?
 
8:35 AM
@TonyTheLion Both sides of the comparison. Comparing strings.
 
@R.MartinhoFernandes yea I figured that much. I wanted more detail.
 
user1357851
@R.MartinhoFernandes still the same result, code tag does not work on multi-lines of code
 
I don't care. People that can read can post multiline code.
 
:7653438 honestly Stack Overflow is a better place to ask your questions.
 
user1357851
I am not asking questions, I am testing tags
 
8:38 AM
go to the bin to test tags
 

Sandbox

Where you can play with regular chat features (except flagging...
 
or this ^
 
sigh, monthly keep entering the wrong password day has come
 
hahah
happens to me all the time
 
stupid mandatory password changes
 
8:44 AM
especially cause my passwords are too damn long most of the time
 
I swear mandatory password changes lower the strength of passwords on average
 
possibly, because you have to keep re-remembering the password
so you make it easier to remember
and lose password strength
 
more that a lot of people just plum for something even easier then normal, and just tag on a 001, 002, 003, sort of counter
 
there only needs to be one rule for passwords, length has to be greater then 20 characters, with the hint, use a series of words you can remember
 
8:51 AM
^^ Read the edit description.
 
@R.MartinhoFernandes ooooh, spent too long trying to read that as one word :P
@R.MartinhoFernandes ah now, only those who can read and remember are able to use multiline code :P
 
@thecoshman Or just press the damn button.
 
@R.MartinhoFernandes oooh, that doo dad
 

« first day (849 days earlier)      last day (4089 days later) »