« first day (1140 days earlier)      last day (3811 days later) » 

11:00 AM
It's just wrong man.
:(
The character progression is backwards
It's good if you enjoy watching everyone make the dumbest choice possible I guess.
 
like what?
 
You know, literally everything.
 
some of the choices by some of the more powerful characters like Gus seemed a little dumb to me, but most of the rest didn't seem like exceptionally stupid decisions when considering their circumstances.
 
The only person who has made a decent amount of intellectual decisions was Saul.
and that's sad
 
@DeadMG That's because you're as dumb as them! :P
 
11:03 AM
@ScottW Well, nobody ever suggested to Walt an alternative means of ensuring his family's financial survival.
@ScottW And none of the others produce enough money in a sufficiently short amount of time.
what would you have done instead?
 
taken Elliot's money that he offered to treat me with?
worked with him and put my dumb pride aside?
 
@Rapptz The treatment cost was just the tip of the iceberg.
 
Uh pharmaceutical industry?
 
@CatPlusPlus that sounds disturbing
 
@DeadMG He offered him a job.
 
11:05 AM
@CatPlusPlus you the extortion racket?
 
But he wouldn't work for him because of his pride.
 
hmm, really? I only remember Elliott offering to pay for the treatment.
but I agree that if Elliott offered him a job that would pay enough, then it was a pretty dumb decision to go into meth cooking instead.
 
oh god!
 
nah, that's not true.
 
I just worked out what you are talking about! RUN AWAY!!!
 
user1804599
11:06 AM
I thought you guys were talking about @Ell.
 
lol
 
that's kinda like saying
"Writing your own operating system is always a dumb thing to do, no matter what."
of course, you can go tell that to Microsoft if you want.
 
one thing's illegal
the other one isn't
it's not really comparable lol
I mean dude, 7 people have got killed so far and I'm only on season 3.
and Walt almost died multiple times. It's just not a smart choice at all.
 
@Rapptz Well, it's completely comparable because in both cases, you wrote off all the real circumstances involved in making that decision.
now I'm not saying that in the specific case of Walt who got a job offer from Elliott that would cover his bills, that it was the right thing to do.
but if you had Walt who did not get a job offer from Elliott, say
@ScottW I agree with you.
hmm
I disagree.
 
I should have made a list of bad decisions made but tbh it was just too big.
 
11:10 AM
I mean, it's not like being destitute in the US is the same as being destitute here in the UK.
 
Like Walt right now had just decided to attempt to destroy Ted's wall. Idiocy.
 
@ScottW oh baby, you're so courageous :)
 
@ScottW Well, correct me if I'm wrong, but if you're a single mother caring for one disabled and one very young child in the US and you have no money, you might as well go jump off a bridge and end it now.
whereas I know that at least here, social welfare would be enough to get by on at least a most basic level.
 
Walt just decided to fire Saul now, another dumb decision because he's like the smartest thing so far in the show.
:(
Scott man. Why?
 
@Rapptz Walt is not watching the show!
 
11:15 AM
robot
halp me
I wrote a new feature for my parser, and this time I'mma write a test for it, and I have no fucking idea what to write.
 
@R.MartinhoFernandes yeah but you shouldn't fire someone out of personal rage that is unrelated. :P
 
@ScottW None that are apparent to me (except Elliott's job offer, admittedly)
 
Xeo
@DeadMG ... write a test that confirms the feature does what it's supposed to?
 
@DeadMG What feature?
 
@R.MartinhoFernandes I implemented that shorthand module X.Y.Z {}.
 
11:18 AM
@DeadMG module X.Y.Z { bool foo() { return true; } } main() { return X.Y.Z.foo(); }?
 
@ScottW Her sister and Hank probably can't afford to sustain them indefinitely.
 
If it wasn't for the plot shield, Walt would have died forever ago.
 
@R.MartinhoFernandes Yeah, I was thinking about that, and it would certainly fail if the feature failed.
but I feel bad about invoking the analyzer, code generator, and JIT in order to check a parser feature.
 
plot shield too strong
 
@DeadMG Well, remove main and inspect the AST?
 
11:19 AM
I've been thinking about that.
 
Xeo
@DeadMG Have "module X.Y.Z{ stuff }" and "module X{ module Y{ module Z{ stuff } } }" and make sure they generate the same parser output?
 
Or try some type lookup.
 
the trouble is that if I inspected the AST, I'd have to write a new AST inspection function for every parser test I wanted to run.
 
@Xeo Different ASTs would be acceptable there, I think.
 
probably later.
see ya.
 
Xeo
11:20 AM
@R.MartinhoFernandes hm
 
@R.MartinhoFernandes Currently, I implement them equivalently.
 
Doesn't mean you should assume that in your tests.
 
I agree.
I have other parser features I'd like to test too and they don't have a simpler form to compare against.
 
In fact, this isn't really about the AST, is it?
You should test lookup.
i.e. module X.Y.Z { type t; } makes a type X.Y.Z.t. (And three nested modules too)
Maybe you can also test the AST separately, but that would be a really simple test then.
 
11:23 AM
As to how to make AST inspection easier, you can define some strict AST output format and then have a string with the expected result in the tests.
 
hmm.
that sounds a bit better.
then I could just have like, map from filepath to expected string output, which feels a lot more re-usable to me.
 
@Xeo which line exactly is so neat?
 
Xeo
That also is an implicit test for the output format, heh. If the format changes, all hell tests break loose.
 
well
 
11:27 AM
That sort of thing is just assumed correct.
 
Xeo
@Abyx c.f. coliru.stacked-crooked.com/a/eec24c4442ad8a10 (admittedly, that also has the tuple_cat part in - ignore the lower stuff)
 
It's rather trivial and easy to spot mistakes.
 
I have an alternative idea.
perhaps an EDSL, which would describe an AST.
 
@Xeo meh just use std::index_sequence_for<Ts...>
 
@Abyx Meh, doesn't do it?
 
11:34 AM
builder.GetGlobalModule() == TestModule()("X", TestModule()("Y", TestModule()("Z", TestModule())));.
 
Xeo
@Abyx If you take variadic templates as another form of tuples, then you effectively have a 2D map of tuples. Good luck with just index_sequence_for - that only yields one of the two coordinates needed for the grid.
 
user1804599
Yum.
 
user1804599
Three frikandellen.
 
@Xeo What does the argument mean?
 
Xeo
?
 
11:40 AM
Why does [1,2,3] generate (0-2, 0-2)
 
Xeo
oh. it's a mapping from tuple-sizes to their indices
 
lol, it's buggy/
 
Xeo
Not as far as I can see?
 
idgi
Otherwise it just seems like a cross product and that's list comprehension with two inputs
 
Oh, Cat saw it wrong.
 
Xeo
11:42 AM
For 3 tuples of sizes 1, 2 and 3, the indices to access their elements are [0], [0,1] and [0,1,2]
 
Oh right, it doesn't go to 2
nvm
 
@Xeo well maybe I just don't get what tuple_cat does
I thought it concatenates two or more tuples
 
Xeo
yes
 
Go ahead and try writing it with the standard sequences.
 
Xeo
genIxs'' ss = do
    x <- map (subtract 1) ss
    y <- [0..x]
    return (x,y)
 
11:45 AM
ok...
 
Xeo
That actually does it too
totally forgot I could make the second sequence depend on the first.
 
magic
 
Missing -1.
Oh, not.
Nevermind.
 
btw that's [(x, y) | x <- map (subtract 1) ss, y <- [0..x]]
:v
 
Xeo
@CatPlusPlus hm, I should've guessed list-comp allows it too
I like how list-comp can almost be transformed to do-notation just with text-transformation
 
user1804599
11:48 AM
Monad comprehensions are cool.
 
Read about generalised comprehensions too :v
 
Read about reading comprehension.
 
user1804599
> then sortWith by (sum salary)
 
user1804599
Meh; “with by.”
 
There are so many DF clones lately
 
11:51 AM
hmmm.
 
Never heard of any besides Goblin Camp.
 
best new use of LLVM/Clang: set toolset to llvm-vs-2013, get better error messages, fix bug, switch back to VS2012 CTP.
 
Rimworld, Spacebase DF-9
I mean just look at it youtube.com/watch?v=JPDVtIOPUm4
 
Also, more than one goddamn year since Toady pushed a release.
He's been working on it all the time, but damn it man, we want to see the bits.
 
Prison Architect is kinda DF-like, too
 
11:55 AM
Toady?
 
And he's been beaten on UI front by literally every other game shooting for the similar gameplay
 
You say that like having better UI than DF is some kind of achievement
 
I mean I don't feel compelled to go back to DF
 
well
I've gotta say that every time I've even thought about trying DF, the absolutely unusable UI put me a thousand miles off.
 
@Rapptz DF developer.
 
12:07 PM
the steep learning curve is worth it if you like these kind of games, there are some pretty good tutorials but it takes hours to complete them so you have to be willing to make the investment
then again, is not a game for everyone :/
 
morning - more or less
 
alright.
one small task checked off the list.
 
user1804599
Man, I ate 11 sausages today.
 
user1804599
Well, 10 in ternary.
 
12:20 PM
@rightfold lol
 
revoke your garbage please guise he won't stahp ever :|
 
Xeo
@rightfold s/11/0b11/
 
user1804599
11_2.
 
and hello everyone
 
Xeo
@BartoszKP Why do you even bother?
 
12:22 PM
@Xeo I just got a notification ;0
 
> "Jan 1st, 2013" + "Feb 2nd, 2013" you won't get "Feb 2nd, 4025". You'd get the year 1970 + 43 + 43 = 2013 + 43 = year 2056 instead of 4025. Third, "Jan 1st, 2013" + "Feb 2nd, 2013" = "Feb 2nd, 4025" is ok. This is how timediff should work.
shut up forever
 
huh
 
@rightfold my current record is 12 (decimal) eggs with bread
 
I'm not sure what I expect January 1st, 2013 + February 2nd, 2013 to return..
 
A type error
 
JBL
12:25 PM
Gosh, that intdelta is still alive ?
 
He's either insane, a total moron, or both
Either way yes, he won't give up, just ignore him
 
no no, it's just a dead man still rattling
 
JBL
He amuses me. The fact the question is still on SO, less.
 
He's so detached from reality and logic that his nonsense is grating and annoying
 
JBL
Guy is trying to tell you that you can add two points in space and it's valid.
 
12:30 PM
@JBL if it was a space strictly speaking, then it would be valid. Well, a vector space IIRC
 
JBL
@BartoszKP How is a timeframe totally not a 1D space ?
 
A vector is not a point
 
JBL
(Serious question, I'm 99% sure it can be considered as one, but being cautious here)
And yeh, vector != point.
 
Adding two dates has no meaning
 
@JBL and @CatPlusPlus vector with starting point (0,0,...,0) is equivalent to a point, and a feature of a vector space is that it's + operator is well defined (i.e. for example it produces results only within the same space)
 
12:33 PM
Also subtracting two dates cannot yield a date, because what would be the difference between "now" and "now"? What's identity date?
 
JBL
@BartoszKP No. A vector is a direction and a magnitude. The end.
 
@BartoszKP No, vector is not equivalent to a point
Vectors have no "starting point"
 
omg
 
JBL
If a vector has a "starting point", then it is no more a vector but a point you're looking at.
What you're saying is like if you said "move 5 meters to the east", you were actually giving any information about where you are at the moment...
 
Also it still has no relation to dates whatsoever so why the fuck is it even mentioned
 
12:35 PM
not sure what example would be good for you, consider affine transformations in graphics
when you transform a point, you multiply it by a matrix just as you would multiply a vector - doesn't matter which is it
 
That is... completely unrelated to either of those topics
 
JBL
@CatPlusPlus I made the analogy because I thought it may be relevant. A date is like a point in a 1D space one could say. And a duration is a vector. Is it that much incorrect ?
(Brb)
 
@JBL "1D space" is not really a useful term here
It's really not relevant to anything
 
all right, forget about vectors
you can think only about points if you like, either way, space in typical understanding needs to have well defined operations (like I said above). So maybe there is a space in some meaning of time points, but it's surely not a space in the same meaning as space over integer set
 
right kids
I want to go home
I'm tired of work already
 
12:45 PM
@BartoszKP Why, yes it is.
 
@R.MartinhoFernandes no it's not, as + is not well defined
 
What's +?
Why is + special?
 
Give me an example.
 
Algebraic structures are formed around sets and arbitrary operations :v
 
12:46 PM
@CatPlusPlus wow, great, so you know some basics
we were talking about spaces, spaces are over fields, and fields are sets with two operations + and * that's why I started talking about +
 
@BartoszKP You cannot add points in affine spaces.
 
You can subtract points to get vectors, add and subtract vectors, add vectors to points, but no add points.
The thing with "transforming points" you mentioned is just a notational shortcut.
 
Eww.. I only just got up and you lot are into epoch/calendar datetime and affine spaces. On that basis, I'm electing to go shopping.
 
I'm electing you to the position of Shopper
 
12:51 PM
@R.MartinhoFernandes that was offtopic, because we were arguing about vectors vs points
 
Still, your claim that those things are not proper spaces is wrong.
 
I don't know why are we even talking about vectors
 
@CatPlusPlus because if you want to have a space you need vectors -.-
 
A time difference is a vector, not a time point.
The origin is a time point.
 
@BartoszKP I prefer ships
And rockets
 
12:56 PM
@R.MartinhoFernandes all right, give me some time, I'll try to be more precise about what I mean
 
Or you could do something interesting instead :/
 
yeah, probably. But I just woke up, it's a good way to set brain in motion ;0
I can give you, that indeed there is no problem with +, but I think there is another problem
 

« first day (1140 days earlier)      last day (3811 days later) »