« first day (1121 days earlier)      last day (4053 days later) » 

Ell
Ell
11:00
Is make unique in c++14?
seriously they still give functions those terrible names?
@Ell Yeppers.
@Jefffrey That implementation looks terrifying.
@FredOverflow It's very basic variadic templates.
it is
11:00
Does it work for multidimensional arrays?
Yeah, DeadMG's one is much better.
no more complex than make_unique.
@DeadMG Yours looks easy.
user1804599
@FredOverflow there are no multidimensional std::arrays.
user1804599
11:01
You can have std::arrays of std::arrays if you want: make_array(make_array(1, 2, 3), make_array(4, 5, 6)).
And that works?
yep.
why wouldn't it?
I don't know, some weird compiler limitations? :)
it should
It's not uncommon to do that.
11:02
that's more of a C thing to do than a C++ thing.
Now I am starting to wonder if inferring size is actually a good thing or a bad thing...
puppy I'm going to fix your code in that answer
why?
it's wrong
user1804599
@FredOverflow It’s good.
11:03
@FredOverflow Probably a good thing.
user1804599
It’s good in the same way auto is good.
@Rapptz so what? question's over.
@Rapptz wrong how?
@FredOverflow array{...} is wrong
@FredOverflow I referred to array without the template arguments.
also quite possibly needed {{ }} rather than { }.
11:04
@DeadMG People google these things.
user1804599
class myiterator{
    myiterator operator*(); // fail
@Rapptz Improving other people's answers is part of the philosophy of SO, you should not feel bad about it.
@rightfold Cool, I can use as many asterisks as I want :) ***********it
@Rapptz Hmmm.
user1804599
Sometimes I wonder if people actually understand hash tables. stackoverflow.com/questions/19888745/…
ok so i changed that line using strcopy and in main i did cout << words[0]; cout << words[1]; and each one returns woods
11:07
@Jefffrey You didn't specify the return type.
It's make_array<int>
is that because i have StrLen(token) in the for loop? on line 68
user1804599
@Rapptz type
whoops
@Rapptz Right.
'returns woods' - is this app a golf sim?
11:09
@Mr.1.0 Can you post your current version on ideone? Then I will debug it locally on my PC.
sure
hmm
this is the first time ever that I wanted fork().
@DeadMG Are you having spaghetti?
no.
Ell
Ell
Yah people do Google, fix the code even if question is closed
11:11
you shouldn't gamble for real money
Ell
Ell
Why not?
:12856116 .from one of my other sockPuppet players :)
Why is Mr 1.0 remaking the entire C standard library in a C++ course?
Ell
Ell
Ahh I'm confused about my message xD
Let me say it again
I won £57 from poker last night
11:12
because the house always wins.
Ell
Ell
I accidentally deleted :3 silly mobile view
the game is rigged so that statistically the dealer always comes out on top.
Ell
Ell
@deadmg this was just with friends
hmm.
@Rapptz Dunno - maybe he/she should ask their prof. Nearly every SO question containing strlen() calls has no-null-terminator issues anyway. Fuck C.
11:13
it's still a bad habit to get into.
gambling with friends for real money is a quick gateway to gambling for too-large sums of real money.
Not really.
Different atmosphere.
Ell
Ell
I think so too, it was a friendly game with a few drinks
I will be playing cards later, £1.50 limit, agreed by every player. More for fun than profit..
Ell
Ell
I played two games with a £5 buy in and no upper bet limit
well
Ell
Ell
11:15
first game I won but it was down to two of us and we decided to split the pot
Second game I won
betting for real money is like alcohol- as long as the amount is strictly regulated, it's perfectly safe.
@Ell Yes, the tables at the club have a shelf underneath to put the beer, so keeping the top clean for the game.
it's just that a lot of people can't keep it under control.
@DeadMG I don't have any problem with controlling the gambling, but I can't keep the beer under control:)
It's 6 years that I play poker ~6 nights a year with about $6 per game. No one have become an addict or anything.
11:19
the atmosphere is too different that you don't have the actual drive of gambling addiction.
people are addicted to gambling because they think it'll pay off big, i.e. "maybe this $1 will make me $500,000"
@Rapptz Yeah, playing poker in the bar != playing poker online.
not.. "this $5 will net me $25 or so" :|
@MartinJames Here it's illegal to play poker for even a small amount of money, so maybe a public bar is not a valid option.
user1804599
If one of us wins 'big', we buy a round of drinks, so it often ends up as beer money anyway.
11:23
@Mr.1.0 Your code says "for every token there is, copy the current token to all positions", so of course you end up with the last word in every position.
@Jefffrey :(( I play in a private members club and, besides, the cops here can't be bothered with a small stack of coins on tables. They are more interested in underage drinkers and illegal substances.
user1804599
class club {
private:
    person martin;
};
@rightfold Oh my god, here come the a++ + ++a questions again :(
user1804599
Better than ++a + a++ questions!
@FredOverflow Yeah - I've seen them :(
11:24
I don't get why it's so common
Actually, there's a list of forbidden games in public bars.
Didn't even know.
user1804599
what.
@rightfold There is no class system in our club - all members are friends:)
@Rapptz Must be some weird annual C++ course.
user1804599
Why are domino and bridge forbidden.
11:25
@rightfold The bridge might collapse. And Domino might sing!
2
user1804599
@MartinJames can’t have a friend without a class.
TIL Italy doesn't know how to have fun
user1804599
Why does the government even care.
user1804599
It’s up to the bars themselves what games the want to play, not the fucking government.
Blackjack is illegal too lol
user1804599
11:26
Just like it’s forbidden in the Netherlands to sell fireworks on Sundays. vOv
am I misunderstanding or is flipping a coin illegal?
Shit! I's a bit opressive over there!
"Testa o croce" => "heads or tails"?
I just realized I've played "Primiera" in front of the cops three days ago.
@Rapptz yes
lmao
Ell
Ell
11:27
Jesus
user1804599
Why do you have contact with cops.
They go to bars a lot.
has anyone ever been arrested for flipping a coin?
@Rapptz No, it means "Testicles or crotch".
3
Not that I know of. That would be funny though.
11:28
@Rapptz If it's flipped off a tall building, then probably yes.
@FredOverflow Kudos for coming up with that short notice
user1804599
@FredOverflow It’s funnier out-of-context. :(
@rightfold fair enough :)
@sehe What notice?
:)
lol dices are prohibited too, what a stupid country
Ell
Ell
11:33
I feel like poler gets you less addicted than slots for example
because there is skill involved
Pole dancing?
@MartinJames Naughty boy!
@FredOverflow any hints on how i can fix that?
@Jefffrey Well, there is certainly skill involved!
user1804599
@MartinJames s/slot/slut/
11:35
@rightfold LOL!
what about polar bear dancing?
@Mr.1.0 What is it that you really want to say? "for every token there is, put it in the current slot a, and then increase a by one"
Anyway, I'm hungry and I want a chicken sandwich. Amazingly, I have chicken, bread and spread so, off I go...
So you only need one loop (the while loop), not two.
@Ell Wait. In SO there's skill involved. Yet, there's evidence it's addictive. same with Snooker/Pool. And stock "gambling"...
user1804599
11:39
There is no skill involved in pool.
Xeo
Xeo
85
Q: How to put 9 pigs into 4 pens so that there are an odd number of pigs in each pen?

evil mathematicianSo I'm tutoring at the library and an elementary or pre K student shows me a sheet with one problem on it: Put 9 pigs into 4 pens so that there are an odd number of pigs in each pen. I tried to solve it and failed! Does anybody know how to solve this? This question seems ridiculously difficult ...

The second-highest answer is beautiful
@rightfold There is. Just - not enough, making it less entertaining. But against the right opponents I think pool can be quite entertaining (and profitable)
user1804599
Let me entertain you.
If anyone needs me, I am ducking under the table, well shielded from flying erasers. — Kaz Nov 7 at 3:40
lol
@FredOverflow thank! you! wow i can finally get some sleep.
user1804599
11:44
Don’t waste your time.
Wait.. what? There is no skill in pool, now?
@SleeperSmith but what if life is a trick question? — Andy Pryor Nov 7 at 4:47
It's all relative. You should probably know he (tries to) play(s) snooker.
'Nuff said
So much philosophy on math.SE
@sehe Ah... The same sorta skills are required 'shall I go for the long red or leave the white safe so my opponent has no shot', that sort of thing.
user1804599
user1804599
11:49
Is there any place to find anything about the progress of the green items?
Looks like a section of an underground railway map.
Xeo
Xeo
@rightfold don't think so
The best you can hope for is their respective mailing list
@MartinJames The same /kind/ of skills, I know (it's round balls on a level cloth). BUT a completely different ball-park as to the required precision. Have you played snooker?
user1804599
@Xeo Hmm. I’ll look for them.
@sehe Yes. It's like pool, but you need binoculars.
@sehe TBH, if you have played snooker, watching the pool games at our club would be profoundly embarrassing. Most of the players have poor power control and don't seem to care where the white ends up:(
About once a year, I see a shot with insufficient power, (and that's probably me, trying to block up the hole:).
11:56
@rightfold I really like that diagram. Especially the part which says "Modules are coming" :P
I like pool when I'm drunk.
I'm never drunk.
@MartinJames I have a really dirty mind.
@sehe Oh, I'm so sorry:(
@MartinJames That's a foul shot then (I believe the rules mandate that you reach at least 1 rail or an object ball). This is in contrast to snooker, obviously
@Jefffrey Yeah, OK, I knew 'hole-blocking' was risky.
11:58
> Most of the players have poor power control and don't seem to care where the white [...] ends up. [...] About once a year, I see a shot with insufficient power [...]
@GamesBrainiac only 4 years more!
srsly, by the time C++ gets modules, Haskell's TR will come out and it will dominate the world
Ell
Ell
Nah
Haskell is too difficult to dominate the world
it's not
it's just people are taught imperative programming, but that will change
and if you start with something functional, Haskell is way more natural and intuitive
@sehe Well, I hit off another ball first, yes:)
Ell
Ell
Imperative is the natural way of thinking
12:01
Haskell is not tough. I just haven't found myself in a position where I would need it.
@Ell but not of solving problems
especially ones encountered in CS
I can do most things with Python, and if I need to work something to be faster, I'd just make a C extension using Cython.
Glorious FP master race vs dirty imperative OOP savages.
@GamesBrainiac python lacks static typing
@BartekBanachewicz Yes, but Cython does not.
it found its niches alright, but it will never be big enough
12:02
@BartekBanachewicz You trying to start another dogfight? Puppy is not here ATM.
Python isn't big?
@MartinJames lel.
Oh please.
Ell
Ell
@bartek I need to write shunting yard in haskell
Python is not bad, I enjoy writing in it sometimes.
Ell
Ell
12:03
I haven't succeeded yet :(
But it's just on a whole level below Haskell
@Ell what for?
Python is very good - it keeps the beer cold in the pipes.
A whole level below? I mean its the best language to me, because it does not pretend to be the answer to everything.
Ell
Ell
Its just something I want to do
@MartinJames aha
12:04
@Ell well then, it sounds simple
@GamesBrainiac Haskell doesn't pretend that either
@Ell Shunting yard is a terrible algorithm.
user1804599
Hey puppy.
Ell
Ell
Why?
user1804599
Does Wide have any postfix or right-associative operators yet?
@rightfold I'm pretty sure that + is right-associative, isn't it?
12:06
God dammit someone stole my idea again :( :( :(
fucking crap
@BartekBanachewicz Yet it does not work as well as Python when it comes to interop with other languages. You can make a super fast C extension in Python using Cython or just use Iron Python to work with .NET or Jython when you want to work with JVM. I find Python to be the best, because it provides excellent prototyping capabilities, and an easy way to optimize using whatever language you chose.
@Ell Because it's like recursion, except you're supposed to explicitly maintain the stack yourself.
it's far more cleanly expressed as recursion.
@GamesBrainiac You see haskell is much faster just by itself so you don't have to use C because speed. And yes, it has FFI too.
user1804599
@DeadMG Unary plus?
@rightfold No, binary.
or is that left-associative?
user1804599
12:08
Huh.
user1804599
Left. :v
I never can remember which operators are which associativity.
Ell
Ell
ah I have lots of programming assignments to do for today :O
but I'm pretty sure I just copied the associativities from C++
@BartekBanachewicz that is amazing
12:11
@Jefffrey that was my fucking idea
I've spent weeks prototyping that shit.
I was just too lame with GL back then
God that makes me so angry
That sucks.
whoops
I forkbombed myself.
Ell
Ell
Right in front of me there is a post-it with "you have no idea unless it is protected" written on it :O
@BartekBanachewicz Well, speed is not crucial in every circumstance, but where it is crucial, like numeric/scientific analysis, python has excellent libraries like numpy and scipy. Also, Python is far more maintainable than Haskell, and yet has many features Haskell boasts. Furthermore, there is nothing wrong with imperative programming, Haskell happens to be written in an imperative programming language.
Ell
Ell
haskell must be horrible to maintain :O but idk
12:20
@BartekBanachewicz wow, that is amazing.
user1804599
Sized deallocation is nice.
@GamesBrainiac It's not amazing, it's stupid.
@DeadMG Oh come on, its super cool! :D Especially that wall animation.
"Hey guys, you can get this "as-if-rendered-in-3D" effect by hand-drawing a 3D effect, instead of just using a modelling program to make it".
Ell
Ell
@DeadMG it is pretty kewl
Try making that in a modelling program :3
user1804599
12:22
@DeadMG That’s not the point.
@rightfold Then what is the point?
cause all I can see is "I'm trying to be rendered in 3D but ER MAH GERD MUSTN'T ACTUALLY RENDER IN 3D".
user1804599
Looks pretty 2D to me.
if you watch the demo of the light source moving around the sprite, the light source is clearly moving in 3D.
@DeadMG lol wat
@DeadMG you're dumb then
epic argument
discussion over, I guess, I lose.
Ell
Ell
12:25
@DeadMG what 3d modelling programme can produce this effect?
@DeadMG It hasn't ever started, so no, it's not ending.
also it's about applying dynamic lighting to 2D game, which is completely different from 3d rendering
@Ell Er, all of them. It's pretty trivial to get a dynamic lighting effect like that on pretty much any 3D model. Even I did it.
and the fact that light moves in 3d is completely and utterly irrelevant
OK, it's time to start getting ready for beer and card game. BFN:)
Ell
Ell
@DeadMG not the lighting bit
the pixelly looking bit
12:26
@DeadMG it's a sprite, not a model
on a model it's trivial indeed
@BartekBanachewicz That's why it's so fucking stupid.
if you want 3d lighting, just use a 3d model.
that's what they're for.
@DeadMG "2d games are stupid because they are in 2d"
is completely not what I said.
@DeadMG if you want to see war, go to Iraq, don't launch CoD
I'm not sure if you're trolling or not
and I don't know which is worse really
well, you certainly should do that if you actually want to see war.
since CoD is quite unlike being in an actual war.
12:28
@DeadMG so are 2D games compared to 3D games
DIFFERENT THING
clearly not if you want to have 3D lighting.
Ell
Ell
3d lighting and 3d models are different things
in which case it makes a lot more sense to just light a 3D model.
Ell
Ell
look at something blender renders and a pencil sketch of a 3d scene
"dur dur dur if you want 3d just use a 3d modeller"
I know right, it's a stupid idea that if you want to do things in 3D you should use a 3D model.
that's just bullshit.
user1804599
12:31
@rightfold most likely not, those I've seen had either no sound or almost 100% noise level.
user1804599
/cc @sehe
user1804599
:(
Ell
Ell
3d models aren't the only way to achieve a 3d effect:/
cmon man, you must realise that. >.<
anyway I'm going :L
bye all
Oo this graphic designer is really good - I expected my work to be done in 4 days, I got it delivered in 24 hours.
@User17 Charge for 4 days.
12:44
lol, fixed price
@User17 Even better:)
Yeah ... he's good, although not the cheapest I could find. I guess a bit more price could bring a large improvement sometimes.
@rightfold oh lol - pretty amateurish (that's what you get for writing your own webcam recorder in 60 lines of Qt code ?)
> As a disclaimer, I am not neutral in respect to this subject and a little bit emotional. While I try to present facts and opinions in a fair way, please apologize just in case this sounds offending for you. Also, please respect that English is not my native language that that we Germans tend to have no problems to make statements without only using nice words. [source]
lolwut
@FredOverflow lol I've seen that a few weeks ago. He's just saying: I'm writing a rant and submitting it as an alternative proposal so it'll still be taken seriously.
I think he has some valid points though
12:55
@sehe The combination of the words "no", "without" and "only" makes it very hard for me to parse this sentence.
@FredOverflow yeah. I guess that's on purpose there. Sort of "I'll try to be indirect like a proper British gentleman for just this one sentence"?
"Not unlike a sophisticated gentleman, don't you agree?" - lol
@sehe Is that also from the paper? :)
Lately, Google got really good at reading my mind.
@rightfold What is sized deallocation? I'm too lazy to read the paper :)
@StackedCrooked maybe you are a very predictable person?
13:19
It's a pity Monet died (I think). She was very evil, but she was pretty as well, so I was willing to forgive her.
@StackedCrooked You are sad because an imaginary character died?
I am sad because Visual Studio 2012 does not have initializer lists :(
A need a happy anime now..
@FredOverflow switch to VS 2013 :D
13:22
I haven't used VS in a while, so I feel neutral about it.
@melak47 VS 2013 is going to be released on the same day we are starting to use C++ in the lab, so no chance of getting that installed on time. We have to live with VS2012u3.
@FredOverflow what do you mean, going to be released?
@melak47 VS 2013 has not been released yet, has it?
That's probably a release candidate. The launch date is Nov 13, isn't it?
13:24
@FredOverflow you can buy release candidates now? :)
VS2013 has been out since October 17
> The final release of Visual Studio 2013 became available for download on October 17, 2013 along with .NET 4.5.1.
WTF why has nobody told me this??? I could have asked the admins to install it. Now it's too late.
._.
you should listen to what feeds has to say
@FredOverflow bribe them
@FredOverflow and that's what you get for not being here every day
2
^ WTF is this then?
I don't know, where did it come from
maybe that's for the launch party ^_^
@FredOverflow .../deu/...
user1804599
@FredOverflow delete with std::size_t passed.
there's your problem! :p
also I don't see that image there
user1804599
It can make certain allocation strategies more efficient by not having to store sizes.
Oh wait, now I remember. I couldn't install VS2013 on my machine at work, anyway.
13:32
IE10?
yes
Please don't tell me IE10 requirement has been removed from VS2013?
lol nope
SFINAE looks nice
@FredOverflow you have two options: convince your admins that you really need 1) IE10 or 2) Win8(.1?) :)
@StackedCrooked sounds like you need one of these
13:34
@melak47 IE10 also doesn't work on my home PC. And on my laptop. So I'd have to cope with VS2012, anyway.
@FredOverflow you don't have to actually use it, just let it be installed
also, how does it not work? :E
I can't install it. Certain required updates just won't install. Strange error messages appear. Even on clean Windows installs.
WONTFIX can't reproduce :/
@FredOverflow speaking of VS2013, RTM Ultimate is finally in my dreamspark :)
@melak47 What is RTM? Read the manual?
release to manufacturing
13:46
What is that?
the release version they send to be stamped into discs
(do they even still sell VS on discs? :P)
So it's just an ISO that you can burn and use for offline install?
well, yes, but it also gives me a license key! my trial license was about to expire
the Professional and Premium versions were available in Dreamspark almost instantly, but Ultimate not til today
Okay ... icon: first or the second one
13:53
2 messages moved to bin
Filling my screen with images
No no
The second red is too dark. I would pick the first.
@TonyTheLion thought you could afford bigger monitors ...
@FredOverflow lol I thought the contrast for the first one was annoying so I asked it to be modified, lolz
too bright
@melak47 :D

« first day (1121 days earlier)      last day (4053 days later) »