« first day (1189 days earlier)      last day (3985 days later) » 

00:00
@R.MartinhoFernandes I know he came up with the 6' elves (and not elfs) thing... but the dwarves were already ... set in stone, right?
@Rapptz They call it "Levolution" and it's basically where you go around blowing up skyscrapers in real-time whilst playing on the map.
That's cool.
personally
I found all computer games too easy ever since I played Goldeneye.
@DeadMG back in my day we called it destructible terrain!
@EtiennedeMartel What about works before Tolkien, like Conan?
00:02
@DeadMG You are right that mages make it a little easy. Some people make it extra challenging by doing Nightmare without mages and without potions.
@DeadMG Reminded me of this for some reason: youtube.com/watch?v=OlQOFeRj-uc
@DeadMG I just find it hard to find games that can keep my attention. I don't think I have ever 'completed' a game... ever. Well, I got through the story of GTA:SanAn
@StackedCrooked Eh. If I want to make my life more difficult than it has to be, I program C++.
Which you do :P
C++ is easier than human interaction.
any way ¬_¬ best go to sleep so I can wake up and have another joyous day sitting at my desk
00:06
@EtiennedeMartel To be honest, there are actually many such examples.
I can name about a dozen and I'm not even a big fan of the genre.
yeah
I've actually been sitting on my latest commit for Wide for a little while.
I need to construct some more comprehensive tests to check the scoping.
well they weren't kidding about tiny..
it's 177 lines
@DeadMG why are you afraid to commit? A repository commit does not mean a commitment. (You can get away with committing anything as long as you are able to write a commit message that makes the commit seem acceptable).
because
I feel like if I make the commit, then I will move on to the next thing, and this thing is not done yet.
00:19
welcome to logic land
all aboard the logic ship
I suppose implementing a programming language is harder than my work. I can usually decompose the job into smaller tasks which can be committed individually.
@LightnessRacesinOrbit s/ut/ard/
well
I feel a much greater pressure for correctness than before.
00:21
playing halo
Also, too much logic for me this week.
this time, when I say "I implemented this feature", I want to feel like I really implemented this feature and I can move on now.
@R.MartinhoFernandes keep your hands and feet inside the vehicle at all times
but
it's not like I'm rolling in test cases.
@DeadMG That's good.
The world doesn't need another bad language.
00:22
@DeadMG The fewer test cases, the easier it is to make them pass!
well
I guess that ultimately, I simply don't really trust my tests that much, because I well know that if I generate some bad code, it could cause all sorts of nasty, including appearing to work correctly.
You should always start with a failing using test (e..g assert(false);) Then you are only allowed to write the least amount of code to make the test pass. (e.g assert(true))
If you keep doing this then your success is guaranteed.
and then youre done because all tests pass
well
I guess that I could revert to the previous version, and attempt to cause it to fail.
then I could know for sure that I had at least solved some problems.
I think there are some double-destruction and non-destruction bugs in there in some cases.
I'd feel better if LLVM had an IR interpreter instead of only a JIT.
00:26
I'd trust an interpreter much better to catch a problem.
@ScottW You got more women than most of us. You are making us feel even more miserable!
My next question is going to be "how the fuck do so many people get C++ jobs without knowing how to create a debugging testcase?"
@ScottW dunno, just wanted to make some conversation
@ScottW I've decided I want a redhead next
00:30
I'd like a readhead too.
I need to stop taking too many freaking projects at once ...
hmm
I suspect that previously, I didn't even destroy the body's local variables on normal loop execution exit.
That's not good.
I used to be one, now my hair is kinda brown. it's not good
@LightnessRacesinOrbit I want a blackhead next..... hang on... I'm too old :)
@DeadMG You used to have red hair?
yep
That doesn't fit my image of you.
yeah, neither does mine
Dammit, I need to reconstruct from the beginning.
00:33
a couple years back it simply changed colour.
fuckin' stuff.
you get a lot of shit for being a male with red hair, and then just as it stops, I lose the colour that I liked.
@StackedCrooked Yeah - my bins have grey, green and blue tops.
@DeadMG Did you prefer when it was red?
yes.
@MartinJames you, as a man, are never too old
00:34
@sudorm-rfTelkitty G'day, TelSudo:)
@DeadMG sounds like you :)
Not being bothered by getting shit.
I was totally bothered by it.
it was the first example I ever experienced of other people being unnecessary needless jerks to me, continually, and the complete ineffectiveness of the supposed authorities.
Actually, I've always liked, (female), redheads.
In std::array<...> x {{y, z, w}}; the inner brackets refers to a std::initializer_list, correct?
I became a cynic aged four.
and I stayed that way because every other experience simply reinforced it
00:36
@Jefffrey no
@MartinJames Me too. Good thing we live far apart or we'd be rivals.
agree, it's very sexist.
@StackedCrooked Susan Anderson had red hair - my high-school failure:(
if you're a female and a redhead, then it's sexy and attractive, and if you're male, then everyone gives you shit for no reason.
@DeadMG yeah, they are prominently featured on porn sites.
00:39
alright.
created two failing test cases for my previous version
OMG such codewall you troll
@DeadMG What kind of shit?
Is this a cultural thing?
apparently.
@Rapptz oh, right. The first braces refers to the initialization of the std::array's member array and the second refers to the initialization of the array, correct?
basically you get excluded from everything, and virtually all your remaining social interactions are other people mocking you for your hair colour.
00:42
@Jefffrey yes
I'm genuinely shocked.
Where I grew up, if you had red hair, you'd get the nickname "little carrot" automatically, but that was it.
@DeadMG If you're that bothered, there's always hair dye. TBH, I've never really understood the gingerPhobia.
@MartinJames Er, you're about 20 years too late on that.
I want to dye it back because I like the colour and I feel that it's my hair colour.
@ScottW Doesn't sound like an insult to me - more like a compliment.
"That Martin, he's a real fire crotch". Nobody ever said that about me:(
fuck.
this is why I didn't want to commit.
one of the tests that I created now that fails still fails.
00:46
@DeadMG ...she said, playfully.
Dammit, too late.
There was this red head guy in my class once that was often mocked but for being fat, not red-headed.
@Rapptz People should stop feeling offended and start grow a pair of balls tbh
quite probably not.
rofl
turns out that I simply misstated the test case.
it failed because it failed to parse.
and also because of a parser bug.
There was this red-haired girl I liked. But then I graduated and never saw her again.
But I comforted myself by imagining that she was a lousy person.
hmm
LLVM: When input is incorrect, fail an assertion!
01:04
I wonder what he typed after the .o
MG?
Who cares about ginger-prejudice when there are far worse things? The rivet at the centre of my pizza-cutter has failed and the wheel has fell off:((
Apparently the there was a VT100 RPG
@StackedCrooked NOOOOOOOOO!!! VT100 take it away !
you worked with them?
Actually it
is a VT101 :P
01:07
@StackedCrooked Yeah - DEC VAX. The RPG looks like ADVENT/ Colossal Cave.
"plugh", 'XYZZY'.
"Your code is a maze of twisty little passages, all alike":)
@StackedCrooked Take the keys and keep going south until you reach the grate.
I would take the water and the food as well.
@ScottW Ex-me.
alright.
nailed down the bug as boolean short-circuiting not handling destructors properly.
ahh colossal cave
I remember playing that before I regenerated the last time
Well, signed char can't do even half of what unsigned char can do. — user1143634 12 secs ago
01:26
well
it's an hour too late, but I'm going to bed.
01:36
0
A: Why C/C++ hate signed char so much?

Lightness Races in OrbitI think what you're really asking is why signed char is disqualified from all the rules allowing type-punning to char* as a special case. To be honest, I don't know, especially since — as far as I can tell — signed char cannot have padding either: [C++11: 3.9.1/1]: [..] A char, a signed char, an...

Can anyone weigh in on this? I'm a little mystified to be honest.
I find it weird when I can read the tweets of someone who has died.
I don't go on twitter much but it strikes me as morbid.
Wrong room bud.
user406009
@Sean This room has a no questions policy. Sorry.
oh i see, no i am sorry.
can you suggest me the correct room? please?
I'd just ask on SO.
uh i believe the level of the question si too rookie
01:49
Then google it. Someone probably has asked it before.
user406009
Hey, I think our wiki is down.
@Sean then read your book again to answer it yourself :)
@Lalaland I agree
user406009
Doesn't cat run the wiki?
okey, thanks, have a good time of day
everyone
01:54
@Lalaland Yep
01.54
oooooh yeahh that felt good
@CatPlusPlus OI
user406009
Paging @CatPlusPlus. The wiki is down; I repeat the wiki is down. Time for evasive maneuvers.
Anybody feel like an annoying GIT question?
I have a feature branch. I merged master into it to prep for merging to our shared dev branch. The conflict resolution was bad, but built fine for some reason. I pushed my merge to dev. It broke the build.
I'm trying to figure out how to fix the dev branch, or fix my branch.
when I try to revert the master merge on my feature branch, I got shitloads of conflicts.
user406009
@Rapptz See, without the wiki people are unable to read the rules of the chat.
I can put 2 and 2 together.
01:58
Yes, I asked to ask. But I also immediately asked.
@StackedCrooked Awesome :D The only thing I had to change was nullptr, because it won't != with an integer
(Plus the rules are not up)
I once had explicit constexpr operator bool() const noexcept
@Pheonixblade9 well, that's because they're on the wiki
@LightnessRacesinOrbit I see no link to the wiki anywhere on the page :)
02:02
@Pheonixblade9 what? the rules page, is on the wiki.
That's what the "w/" means. So it's not "plus the rules are not up". It's already encapsulated within the wiki being down
well. regardless. the rules are down, and I asked a question. if I broke a rule somehow, please tell me. I am just having GIT problems, and I am asking around because I want to go home.
all I said was the rules are on the wiki
relax
sorry, I thought @Lalaland was responding to my question by bitching about the fact that I didn't read the rules. :P
well, he was
but we are two different people!
user406009
02:06
@Pheonixblade9 One of the rules is no questions. I personally think that rule is somewhat stupid, but I thought it was ironic that two people in a row came in here to ask a question during a time when the wiki is down.
if I knew the answer to your git troubles I'd just tell you
but I don't use git
and I'm a git
and I'm going to bed
night
user406009
Alas sarcasm is hard to express over the internet.
@Lalaland Assume it by default and the experience shall be greatly improved.
...uhhh, no questions? what's the point of having a room if you aren't allowed to ask questions?
7
@Pheonixblade9 What makes you think a room must be only about asking questions? That's what the entire rest of SO is for. This is a chat room. It's for... derp... chatting! Notice how it's called "Lounge"...
02:08
sure, but making it against the rules? Isn't that by default making the room off topic?
@Pheonixblade9 Only if you assume that SO has some "chat rooms must be places to accept questions" rule, which is total bullshit
SO chat rooms are not "SO, just in another format". They are chat rooms.
user406009
@Pheonixblade9 You might also want to look at the tags for this room. Upper right hand corner.
@Lalaland Irrelevant. He's asserting that those state tags violate federal law.
pretty much
SO has a Supremacy clause just like the USA
Unfortunately he has failed to demonstrate that his interpretation of federal law is correct. To be fair to him, that would be hard to demonstrate, since it's not true.
To make matters worse, this room in particular is famous for going even further and actually deviating wildly from the topic of programming, even, on a fairly regular basis. In that regard, yes, we violate federal law. However, Congress gives us tacit approval because we generate so much rep.
(amusing analogy aside, this is all absolutely factual)
02:11
anyways. waste of time, have fun guys.
Huh?
Then why the fuck did I just write all that out to explain it to you
@LightnessRacesinOrbit He wasted his time
Fucking moron
sigh
what a way to end the day
thanks a lot, @Pheonixblade9.
user406009
@LightnessRacesinOrbit
http://i.imgur.com/FaU3wne.jpg Now you can sleep.
@LightnessRacesinOrbit not you, specifically. Didn't mean to be rude.
02:13
You pinged him back in... why >.>
@Lalaland nawwwww
@Borgleader because I'm going to bed and I figured you needed to replace me with someone fun
@Lalaland D'awwwwwwwwwwwwwww
I want to hug it
@Lalaland thank you <3
decided to enter a code trolling question:
0
Q: calculate the histogram of bits in a range of 64bit integers

Glenn TeitelbaumNote: This is a code-trolling question. Please do not take the question and/or answers seriously. More information here. I have homework, but I am an english major and took this course by mistake because I have to take an analysis course, but this isn't what I wanted to take. It's very late and...

user406009
code trolling is an abomination.
02:15
Homework question troll is the best thing since sliced bread.
I just watched a video on how jeans are made
pretty cool
user406009
@GlennTeitelbaum I hope that was not manually typed.
this was though (look at revision 1)
@Lalaland most of it was :) The rest was perl
does it look like a real question?
user406009
No it's trying too hard.
02:28
wtf
why does the humble bundle not give keys anymore
@Rapptz this one? very cool. depressing to hear a Brit relegated to talking about "trash" and making cracks about cowboys, though
obvie US-centric
@Rapptz Uh... I bought a bundle not 3 days ago and it had keys
@Borgleader I bought one today and it has no keys.
@LightnessRacesinOrbit Yep.
It probably depends on the games in the bundle then
02:30
To redeem, connect to Steam!
^
Oh yeah thats what I had... It's still a key afaik, they just automated the process.
I thought you meant it wasnt steam redeemable at all
I don't know my steam password and I don't know how to reset it :v
interesting I suppose :/
I got my password now after 5 guesses
I wonder why they automated it
I like it better this way. Now I actually know which keys I actually used (theres rarely a bundle where I want all the games. e.g. in this one I already had Strike Suit Zero)
I don't redeem it if I don't use it
That's my point. With the old system you just had keys. It's possible to forget which ones you used and which ones you didn't.
With this, used keys are marked "Redeemed for Rapptz" or wtv
02:40
I like this one better
02:58
@Rapptz Is it weird that I get the reference?
It's fairly popular.
I feel like I should get the reference but I don't =/
It's from a manga.
 
1 hour later…
04:17
morning
@LightnessRacesinOrbit throws an int?
05:01
Did anyone just turned their heads upside-down?
not... much
@MarkGarcia What's wrong? You have trouble reading up-side down?
@JerryCoffin I'll tell you that the "coefficients" word just reads like "conference" when I read it right-side up, so maybe yes.
@JerryCoffin I can read upside down, I have trouble with curves though
05:15
@MooingDuck Fair enough. The font isn't exactly the clearest possible either, I guess.
@MooingDuck I like curves
Weather prediction: Phantom Derpstorm incoming.
user3010322
But what if I'm really outgoing?!
@ThePhD I know better than that.
user3010322
=[ I cannot fool the wise Coffin.
05:25
Ooo ... sounds like you tried (but failed ...)
@ThePhD Survey says you're quite a reserved sort of person (or "reserving", anyway).
05:41
btw - anyone think was a good answer - figured I'd give programming puzzles a shot
0
A: Rotate An Integer Array with an O(n) algorithm

Glenn TeitelbaumI don't see very many C++ solutions here, so I figured I'd try this one since it doesn't count characters. This is true "in-place" rotation, so uses 0 extra space (except technically swap) and since the loop is exactly N, also fulfills the O(N) complexity. template <class T, size_t N> void rot...

@GlennTeitelbaum std::rotate would be even simpler (but arguably cheating).
yes
Decided to comment, so I don't get downvoted for not using it :)
I need 10 rep there so I can post other stuff, that should hopefully glean one upvote
@GlennTeitelbaum No winning condition? Wtf?
Implicited use as few swaps and as little memory, but yeah
nvm criteria is
@JerryCoffin like your answer :)
does APL make any O() asserions on rotate?
05:59
@GlennTeitelbaum Probably the winner if they specify length as the criteria--but definitely cheating.
its popularity and he already picked a winner, I was just looking for a Q where C++ would make sense - it doesn't for golf questions usually
@GlennTeitelbaum I don't remember for sure. In the implementation I've looked at, it would be linear on the number of items rotated (i.e., it implemented arrays as linked lists, so it would just manipulate pointers after it found the right spot).
Am I right that the winning answer is O(N) not O(log(n))
What does the actual rotate is the function "rotate." It uses 5 integers and two doubles. It also calls a function "gcd" which uses one integer, and uses at most O(log(n)) operations. — Stephen Montgomery-Smith Jan 9 at 22:24
@GlennTeitelbaum Yes -- the rotate is O(N). Here he's just talking about the gcd being O(log(n)).
and I use fewer ints :)
06:10
@GlennTeitelbaum Yup. Another cheat: use std::deque for the storage, and just pop_back/push_front N times to do it in O(N) time and constant extra space.
it does say array, same idea I had but using list
btw - the reason I needed the rep:
0
A: How to write a C program for multiplication without using the * and + operators?

Glenn TeitelbaumThis answer uses C++ and templates to be as fast as possible. In fact the multiplication is done at compile time. using type=unsigned long long; inline constexpr type operator "" _const(type x) { return x; } template<type a> struct inc { using next=inc<a-1>; static const type value=next::valu...

@GlennTeitelbaum The difference is that deque does use an array internally, and provides random access like an array.
Hmmm...one that needs some close votes: stackoverflow.com/q/21177900/179910
then you will be doing N^2 moves :(
Deque uses a list of arrays iirc.
@GlennTeitelbaum No, you won't. Insertion or deletion at either end is O(1).
:14118995 I said it uses an array internally, not that the whole thing is done as one array.
06:14
@JerryCoffin Wait - its a circ array - right?
@JerryCoffin sorry, not enough of an expert to know if thats enough to be answerable
@GlennTeitelbaum No, not exactly. At least if memory serves, it's normally implemented in two levels. Basically, an array of pointers to arrays. It (normally) uses the pointers starting from the middle of the array.
@JerryCoffin It's one of the data structures I never looked at, AFAIK there aren't many :)
@GlennTeitelbaum Doesn't need to be -- it's off-topic in any case, because he's looking for existing software, not trying to write a program. He does mention trying to write code in C++, but only in passing, and finishing that is not what he lists in his plan for what he's going to try.
I was just thinking - I don't think many of the scripters will get my other post, they don't neccessarily understand compile time symantics, or symbol table explosion, but I liked it :)
@ScottW and hello to you
@JerryCoffin I forgot the no software rule applies to all of SO, cv from me
@JerryCoffin cmon, at least appreciate that I had static const type value=next::value - -1ULL; and then implemented a user defined literal for 0 to be 0_const to "make it clearer" static const type value=1_const; // don't use magic numbers
@ScottW I should probably do that soon too.'
@GlennTeitelbaum What are you talking about? (clearly not the golf/puzzle entry...)
06:26
0
A: How to write a C program for multiplication without using the * and + operators?

Glenn TeitelbaumThis answer uses C++ and templates to be as fast as possible. In fact the multiplication is done at compile time. using type=unsigned long long; inline constexpr type operator "" _const(type x) { return x; } template<type a> struct inc { using next=inc<a-1>; static const type value=next::valu...

it is a question I found an amusing answer to
that explains all the fluff I guess
@GlennTeitelbaum Ah--I hadn't even noticed it--but after first glance, decided to ignore that question (and any others about code trolling).
@JerryCoffin multiplying 1000x1000 that way is taking a while to compile (after extending max template depth)
@GlennTeitelbaum Gosh--I can't imagine why that would be...
06:34
10
A: How do I find the factorial of a positive number?

Petr PudlákPython Of course the best way how to solve any problem is to use regular expressions: import re # adapted from http://stackoverflow.com/q/15175142/1333025 def multiple_replace(dict, text): # Create a regular expression from the dictionary keys regex = re.compile("(%s)" % "|".join(map(re...

neat
real 3m3.99s
user 2m10.89s
sys 0m26.11s
4
Q: My title of programmer is mislabeled. Should I find a new job?

user13482I graduated with a BS in CS in late 2013. I began working my first job as a 'programmer' almost three months ago. Since hire I have not seen or worked with code, and my impression is this won't change in the near future. I have come to the conclusion that my position is IT-support mislabeled a...

Mildly interesting?
^--- He should look for a new job and claim he left because the job was not what he had applied to
if he stays 6 months he has to stay over a year
@JerryCoffin - the reason it too so long was it was core dumping the compiler - my code trolled g++ :)
06:50
I once left a job after three months.
You only need to give one week of prior notice.
At least in Belgium.
In the US - if the jopb is not what was implied - its pretty easy to leave that day
FAiry ail is coming back in April. That's good news :)
Dammit. Dat typo.
The Fairy Tail movie was really good.
07:26
I'm very conflicted about this. RT @nelhage Let's just resolve this now: "doge" is pronounced with a "g" that sounds like the "g" in "GIF"
^ apt
> fac = length . permutations . flip take [1..]
^ that's neat
@sehe lol
remember
must get
@LightnessRacesinOrbit a life ;)
@MarkGarcia I had that down as "coffeecents" first. But it didn't take long
07:46
@sehe lol, this is kinda cool :)
@StackedCrooked hairy tail? :p

« first day (1189 days earlier)      last day (3985 days later) »