« first day (1666 days earlier)      last day (3298 days later) » 

12:00 AM
this is how v6.21 looks like
For the blind people.
 
Xeo
looks pretty much like 7.4
 
When I upgraded it didn't look like that.
 
Xeo
oh, you mean the message backgrounds
 
ok, off to bushwalking/camping. cya online in the bush ^_^
 
there are differences, but fundamentally i mean... either is fine
 
Xeo
12:02 AM
well, fuck the "home" page in any version
 
^ this
 
the new skype has bubbly chat bubbles :v
 
Xeo
1 min ago, by Xeo
oh, you mean the message backgrounds
 
I could only fit ~10 messages on my screen.
 
Ell
Don't be afraid of bubbles
They have no sharp edges
 
12:03 AM
It's annoying.
I made the window smaller to hide some info but I can usually see ~20 or so.
also the annoying inconsistent auto-complete and the half-ass formatting features etc
 
Xeo
"Options > IM & SMS > IM appearance > Compact Chat View" makes it a bit smaller
 
Oh noes, not magic numbers
 
Xeo
still has names above messages, not next to them, though
 
You would think that when you have very little space in one slide you would not care to just do assert(abs(-3) == abs(3))
 
Xeo
12:08 AM
The worst about skype is the "close to tray" thing. so annoying
 
Skype is the worst.
 
I don't think I dislike any piece on software on my PC more than Skype.
 
@Ell That's an oligarchy for you :)
 
@Rapptz is the partial specialization there always preferred solely because of the fact that you're doing is_array_type<T> in those cases?
I got confused there because in my brain both is_array_type<T> seemed equally good for actual array types
since the first has the default template set
 
12:12 AM
36
Q: How does `void_t` work

SerthyI watched Walter Brown's talk at Cppcon14 about modern template programming (Part I, Part II) where he presented his void_t SFINAE technique. Example: Given a simple variable template that evaluates to void if all template arguments are well formed: template< class ... > using void_t = void; ...

 
I'll read it tomorrow it's 3AM and my brain needs sleep :<
 
Ell
@orlp iirc you are in favour of communism
Ie more government
Right?
 
actually I'll bookmark it so I don't pollute the starboard
there we go
brain too slow
good night
 
@Xeo What about it?
 
Xeo
It's "close to tray", not "close".
 
12:17 AM
oh
 
Xeo
When I hit the red x, I expect stuff to close
 
33 secs ago, by Borgleader
@Xeo What about it?
 
@Xeo idk, i just got used to right-click the quick icon and quitting
 
Xeo
doesn't change the annoyingness
 
@Jefffrey your plonks are showing
 
12:18 AM
I don't have anybody plonked
 
Xeo
@Rapptz I think he just repurposed that message
 
alrighty
 
Xeo
anyways
2:20am
time for sleeps
 
bb
 
I mean, I don't know what that void_t question has to do with anything.
Night
 
12:20 AM
The trick I showed to Alex was the same thing as void_t.
 
I see
 
Ell
Guys
 
hi guys. So I have to write a program that takes in strings and counts the letters by frequencies. The trouble im having is sorting the letters and its frequencies in descending order. I would like to use some sort of sorting algorithm but I am not sure how to implement it.
 
@Ell define more government
 
12:28 AM
@Ell Also, I'm not in favour of communism because it conflicts with the human psyche. Communism would be the ideal system for a species that does not have egotistical individuals (robots, bees, etc).
 
@user60887 we wont do your homework, neither will StackOverflow
 
Does anyone know a good website for electrical circuits?
 
oh no i have the code i just need some help with that portion
 
Not HyperPhysics either
 
@Cinch Are you into doing a tutorial on how chips work?
@user60887 Show code
 
12:29 AM
@Jefffrey I have a final
On Monday
 
@user60887 code or it didnt happen
 
@user60887 DO NOT copy and paste it. Use this: pastebin.com
too late.
 
woops sorry
 
BRING THE BANHAMMER FORTH
 
don't flag
What are you doing
 
12:30 AM
dont flag that
jeezus
 
it's spam isn't it?
 
what
 
@user60887 paste your code: coliru.stacked-crooked.com
 
we already said we're not interested, and yet he still posts 20+ lines of it
 
or on gist
 
12:31 AM
counts as spam in my book
 
@Borgleader which is on github
@orlp ...It's not spam. It's just bad etiquette.
 
ok i did
 
simple noob mistake, no need to lose our heads
 
either way, you guys are free to counterflag, I just think it's spam
 
im confused want me to ask this instead on stack overflow or on here?
 
12:34 AM
1 message moved to bin
 
@user60887 third option: not here, and not there either
 
@user60887 Why are you not using std::string for strings?
 
who can relate?
 
Also, what do you want to order again?
 
the book does not use that. so im just going with I got
 
12:36 AM
@user60887 "the book does not use that." what.
 
it says to use a sorting algorithm for arrays to sort the letters and its frequencies but it seems trickier .
it does not use std::string or anything related to that
 
There's std::sort and std::stable_sort.
I'm not following what you are saying.
So, I hope that's what you are looking for.
 
@user60887 Sorry if we come off rude, but stackoverflow (and this chat community) is mostly comprised of professional or at least proficient programmers. We get absolutely tired to death by beginners not learning and just spamming their questions until someone else solves them.
 
@user60887 std::string is just a safer version of any C-string that is much more flexible. Why don't you use that?
And you can still access the underlying array of characters.
 
Apart from that, I just am not sure how to sort the frequency counts of each letter and list it in descending order? That's what I need help the most.
 
Ell
12:40 AM
Lexogtaphucal orgse?
Oh what a fsil
Ail
I need tonslepe.
3
 
Are you ok?
 
@Ell are you fucking drunk?
 
@user60887 Just do a comparison? All you need to do is just keep track of how many letters you have
 
Ell
I am just extremely tired :9 dheeo
Fuck. Night all!
 
12:42 AM
nn
 
@user60887 Another reason we get so tired of beginners is that 1. their problems aren't interesting, they're very simple 2. most of the effort doesn't go with helping their problem, but understanding what they mean and making ourselves understood 3. beginners often complicate a simple issue to a lot of stuff that you all need to reverse again
 
@orlp Hm.... but what structure would be best in this situation?
Do we just create a std::vector<std::pair<int,char>>?
 
@Cinch a programming book
 
@orlp He is using a book
 
I understand @orlp which I wont do again.
 
12:45 AM
@Cinch That's not even a valid template instantiation for std::map
 
@Jefffrey reread
 
I was thinking of using bubble sort
 
@user60887 Why did you do @orlp in the first place?
 
@user60887 Yeah but you need to sort both the characters and the number of times they are coupled together
 
@user60887 please don't
why do people always use bubble sort
 
12:46 AM
It's the first algorithm they learn.
 
orlp, not even once
 
it's not the simplest, it's not the fastest, it has literally nothing going for it
@Jefffrey yes, why?
 
It's the easiest
 
it's not
not at all
 
Ok, sir.
 
12:47 AM
ok we have covered up to arrays thats all. Nothing even dealing with strings etc which is outside the scope of the class for now. I can use whatever works, but we have not covered advanced topics such as maps, etc
 
@user60887 Well then I guess you're going to have to do it yourself?
What you want is a std::pair to couple the character to the number of times it appears
If you know how many characters appear in the string and none of them are outside alphanumeric, then you can have 36 characters totral
 
36?
 
then just allocate two arrays that are int occurances[36] and char character[36]
 
Why 36 again?
 
@user60887 please don't listen to Cinch
 
12:49 AM
@Jefffrey there are 26 Latin letters and 10 decimal digits.
@orlp Then what would you do
 
@user60887 he's also a beginner, except he falsely believes he's in a position to teach
 
Hey guys
 
@orlp Then crush me. Please. I don't see any of you doing anything
 
@Cinch "decimal digits" are not "letters"
 
@Jefffrey there are 36 characters to detect.
 
12:50 AM
@Cinch there's plenty of free resources out there
 
@Cinch Why?
 
@Jefffrey I'm saying that if he knows the bounds on size since he hasn't encountered std::vector yet
They're not looking for an advanced solution yet, I suppose
 
"letters" are either 26 or 52 if you consider uppercase letters as different letters
@Cinch Your idea is not bad, but it's with 26 letters, not 36.
 
no I converted them all to lowercase which is fine
 
@Jefffrey We can use to_lower
Besides, I doubt they're doing Unicode processing yet anyways
 
12:52 AM
> if you consider uppercase letters as different letters
 
the real problem here is that we simply should stop learning beginners C++
 
Yeah
 
it's not a language you should learn as the first language
period
 
Today I was thinking that I could totally see a university all about C++.
Like 3 years full immersion in C++.
 
@orlp Nor as a second or third language.
 
12:53 AM
@JerryCoffin I think as a third it could be done
 
There's enough to have 21 different courses
 
second is stretching it
 
Even just 2 years of specialization would be good.
And would actually make university useful.
 
this is a joke right?
is it from theonion?
 
12:55 AM
@orlp YES
Oh my god
 
Apr 16 at 8:18, by Cinch
@Griwes C++ should not be taught as an absolute first language.
 
> wired
 
in fact, I don't think beginners should even touch a non-visual programming language before getting a base class in syntax, semantics and basic data theory
 

People think C++ is a good first language.

Apr 16 at 8:18, 3 minutes total – 34 messages, 7 users, 0 stars

Bookmarked 6 secs ago by Cinch

 
12:57 AM
oh jeez
 
@orlp I think they should just go through logic.
 
@Cinch meh
logic is to solve the problems
most people don't have a lot of trouble with that
 
@orlp you'd be surprised
 
it's all the language required to allow you to solve the problems
 
Coming up with efficient and logical solutions are not easy naturally
 
12:58 AM
you can't sum all the elements in a list if you have no clue what a for loop is
@Cinch it is to me =/
 
@orlp Congrats, you're good at logic. Now let's help the rest of people and not be selfish
 
@Cinch I can't teach logic to other people
they have to do it themselves
it's trained
 
@orlp I can say that about anything
 
all I can do is take away the barriers to solving problems
 
"I can't teach calculus to other people they have to do it themselves"
 
1:00 AM
that's true
all a teacher can do is take away the barriers
 
"I can't teach etiquette to other people they have to do it themselves"
 
explain the syntax of calculus
explain what everything means
 
@orlp Calculus is the field of math that deals with change.
 
then the student has to understand it him/herself
 
Calculus I introduces you to derivatives, which algebraically describe changes of quantities, and integrals, which are sums of quantities over changes.
 
1:01 AM
not here
you already get all that in high school
 
@orlp I'm in the bottom 10% of states in the US
Hawaii is literally like 45th or 47th in the nation
 
@orlp I'd guess it's possible as a third language, but that's a whole different question from what should be done.
 
Our graduation requirements stop at algebra. No trig.
 
either way, I don't believe you can teach anything to someone not trying to learn
you can only take away the barriers to understanding
 
@orlp Of course.
 
1:03 AM
then it's on the student to take what's been presented and internalize it
 
@orlp Some teachers are not good at presenting.
 
I think the same approach should be taken with programming
take away all barriers
syntax
semantics
what data means, how you can interpret data as different things, etc
introduce the terms gradually, and the core concepts, and then and only then introduce them to a simple programming language like Python
 
@orlp Sure you can. You can teach them to hate you and that general subject so much they'll never learn it, even if they later gain some motivation.
 
@JerryCoffin I think visual programming languages are great to prevent this
 
@JerryCoffin I absolutely agree with this. This is why people end up hating school.
 
1:05 AM
it abstracts away all the preliminary stuff needed to start on a real programming language, and allows to jump them right in
 
@Cinch I think the reasons people hate school are many and varied.
 
@JerryCoffin True this. But we cannot deny that bad teaching does not contribute to that.
 
I hated school because it wasn't appropriate for me
it was an 8 hour / day waste where I learned no new information
because I was so far ahead =/
 
@orlp That's the school's fault, not yours.
 
@Cinch That has enough negatives that I'm uncertain what you're saying.
 
1:06 AM
And why don't you just skip a grade or go to community college, then?
 
@Cinch I had already skipped too many
 
@orlp lol What grades did you skip?
 
@Cinch two
I also got stuck in two, because I stopped going to school alltogether due to boredom
 
@orlp I skipped one. It was a big change.
 
then I said fuck it and did the two final years in one
 
1:08 AM
I can only imagine what would happen with two.
@orlp Are you in college now?
 
@orlp "I never let my schooling interfere with my education."
 
@Cinch I'm not certain what people mean with college
 
@orlp Undergraduate.
Graduate
PhD program.
 
I'm in an academic undergraduate computer science course
 
@orlp I'm a computer engineering undergrad. I guess we're in the same place.
You're class of ____?
For high school
 
1:09 AM
@Cinch ?
 
@orlp I think he's asking what year you graduated from high school.
 
@orlp When did you graduate from high school>
 
in 2013
 
@orlp Oh, we are on the same level.
You're probably about a year ahead of me. Nice.
What univ are you going to?
 
leiden
 
1:11 AM
Ah, you're European.
 
@Cinch Taking the "you" as referring to me, the answer would be "before either of you was born" (unless you've taken a lot longer to finish high school than anybody should).
 
@JerryCoffin That wasn't directed at you
 
@Cinch I figured--but I decided to answer anyway. Ain't I just too nice? :-)
 
either way, I'm probably not fit to say what should or should not be done for education
I have a lot of trouble to understand that some people don't understand some things
 
@orlp I do too. But some people have too many mental blocks.
 
1:15 AM
there was only one portion in my education where I was academically outperformed by my peers
which was chemistry
because there seemed to be no pattern, and everything was introduced as magic formulas you 'just have to apply' to get your results
that was, until I learned there is a more complicated underlying pattern that explains those formulas, that they didn't want to teach because it would confuse the others
from that point I've only gotten 90%+ scores
 
@orlp Do you guys have AP?
 
no clue what AP means
 
Never mind then. I gotta go.
 
@orlp Advanced Placement--classes specifically for more advanced/higher performing students.
 
@JerryCoffin we didn't, or well, I already was in the highest attainable level
keep in mind that in the Netherlands we already sort by level quite early
 
1:20 AM
@orlp I'm not sure I knew that to be able to keep it in mind (not that it particularly surprises me either).
 
I think I've explained it before when you were around
 
@orlp Perhaps--my memory's notoriously fragile (largely because I don't really try to remember things like this that I can look up if I ever need them).
 
1:32 AM
Hello
 
@R.MartinhoFernandes Well hi. You're up pretty late (or is it really early?)
 
It's the weekend.
 
@JerryCoffin hes an adult now, mom
 
mom nom nom
 
I'm happy.
 
1:36 AM
@R.MartinhoFernandes Glad to hear it.
 
I'm also probably going to sleep soon.
 
@R.MartinhoFernandes where did you meant her btw
in a bar?
 
@JerryCoffin Hoe later op de avond, hoe schoner het volk
 
@sehe jerry is geen nederlander nub
 
tjeetje. bedankt zeg
Night all :)
 
1:46 AM
niet boos zijn :(
ik word bang van boze ijsberen
 
@Nooble I don't agree with the language designer part
 
@orlp Yeah, neither do I. I liked the physicist part though.
 
@Nooble what about the executive?
 
Guise I didn't make this.
 
1:55 AM
yes you did
that's how the internet works
 
:P
 
Can I download all the messages from this room?
 
yes
 
And have a permanent log of every stupid thing I've said in the past? No you may not!
 
Hm, I just realized that flat_set and priority_queue seem very similar.
 
2:10 AM
You can't iterate over priority_queue in order.
4 messages moved to bin
don't dump your question here
 
The room owners only allow the fun ones. :D
 
2:36 AM
I dunno what is happening.
 
@Rapptz lol, I looked - an MySQL question in here! How suicidal is that? :)
 
There's a phone number that I censored and it says "The blonde with the pony, please! =)"
Someone slipped that note to me.
 
@R.MartinhoFernandes She was mounted?
 
I suppose it's short for ponytail.
 
this morning in class i saw you guys reference some blog. checked it out and tried doing them. it's been an hour now; how many solutions are there to #5? my algo found 4
 
2:40 AM
There's indeed a blonde with one here in the bar.
Confus.
She's cute but I'm sorta tipsy.
 
Oh lol.
@R.MartinhoFernandes Well, what's the hung up?
 
@MarkGarcia Natural suspicion I guess. Nice things come in pretty packages, as do parcel bombs.
 
Also, I'm kinda seeing someone atm.
 
@R.MartinhoFernandes That's the parcel bomb.
 
2:48 AM
Dunno how to proceed, anyway :S
 
with caution
 
@R.MartinhoFernandes CYA - text your GF:)
If she's round the bar in 5 minutes with a weapon, you win one. If pony-girl is your GF BFF testing you out, you win both.
 
9 hours ago, by Etienne de Martel
Lonely? Want to become as popular with the ladies as our Robot? Easy! Just read our rules!
In case you forgot.
 
user3010322
3:09 AM
intz sz = list_size(list);
Node** nodes = malloc(sizeof(Node*) * sz);
 
user3010322
What have I become?
 
Well, this is a bit more awkward.
I dunno what's happening
 
@ThePhD C Señor
 
1% battery anyway.
 
3:11 AM
is there a better alternative to malloc, besides buffers?
 
@edition std::vector
std::unique_ptr
 
I am on a hike & I am chatting here. This is sad ~_~
 
@chmod711telkitty Good signal coverage.
 
oh i didn't loop through all possibilities for last item
lol
 
It's only an hour drive from where I live.
25 minutes drive from local town centre.
Good reception.
 
3:45 AM
@edition free
 
:)
 
Today I tweaked some code by replacing a few mallocs with tbb scalable allocator.
TBB's scalable allocator is simple, good and quick. I like it.
 
hey++
hi
any good tuts on SQL queries for programmers not familiar with SQL?
if you know of any, ping @ me...
 
data.stackexchange.com
 

« first day (1666 days earlier)      last day (3298 days later) »