Testing Chat Episode VI: Return of the Chat
Re: Testing Chat Episode VI: Return of the Chat
Our piglets and chicks show up Friday...along with 1600 pounds of pig feed.
Suddenly, work!
Durr had it in the wrong thread.
Suddenly, work!
Durr had it in the wrong thread.
-Aaron
Re: Testing Chat Episode VI: Return of the Chat
what breeds?Dude wrote:Our piglets and chicks show up Friday...along with 1600 pounds of pig feed.
Suddenly, work!
Durr had it in the wrong thread.
Re: Testing Chat Episode VI: Return of the Chat
The chicks are Columbian Plymouth Rock X Reds, which are supposed to be hardy.
The pigs, I dunno.
The pigs, I dunno.
-Aaron
Re: Testing Chat Episode VI: Return of the Chat
Ah ok, we had silky bantams back in the day but I guess hardiness would be more of an issue in your climate. What's your plan with the pigs?
Re: Testing Chat Episode VI: Return of the Chat
These pigs make little pigs, which grow up to be bacon. Which means learning to butcher them or paying someone to do it.
I suspect some will go to neighbours and the local Xmas party.
I suspect some will go to neighbours and the local Xmas party.
-Aaron
Re: Testing Chat Episode VI: Return of the Chat
That sounds awesome.
Re: Testing Chat Episode VI: Return of the Chat
yeah that's what I meant, whether or not you were going to butcher them just for yourselves or do it externally (or even sell some).Dude wrote:These pigs make little pigs, which grow up to be bacon. Which means learning to butcher them or paying someone to do it.
I suspect some will go to neighbours and the local Xmas party.
Re: Testing Chat Episode VI: Return of the Chat
Yeah, depending how many we end up with we may sell some. I know a couple of people are looking for piglets and they seem oddly hard to come by here.
-Aaron
Re: Testing Chat Episode VI: Return of the Chat
Had watched the French's dub of Snatch.
Missed the glorious Brit accents.
Missed the glorious Brit accents.
No.
Re: Testing Chat Episode VI: Return of the Chat
"You show me how to CON-trol a wild gypsy and I'll show you how to CON-trol a crazy unhinged pig-feeding gangster!"
Re: Testing Chat Episode VI: Return of the Chat
The genius of dynamic programming languages strikes again:
them: it is great how you don't have to think about types in ruby
me: ugh the result was empty cuz 1 != "1". so much for not thinking about types
them: TDD!!
sane language:
"super productive" dynamic languages:
see shorter code!
PS the test still didn't catch the relevant case
them: it is great how you don't have to think about types in ruby
me: ugh the result was empty cuz 1 != "1". so much for not thinking about types
them: TDD!!
sane language:
Code: Select all
int a;
string b;
if(a == b) // compile error
Code: Select all
a = something
b = something_else
if a == b // never true because of an implementation detail in something_else
end
def test_to_make_up_for_missing_static_type_information
some_data(above)
some_more_data(steuasd)
asdas dasd
asdasda
as
da
sd
as
das
end
PS the test still didn't catch the relevant case
In the name of the moon, I will punish you!
Re: Testing Chat Episode VI: Return of the Chat
I just put my trash out for the first time since the trees last had leaves; a solid 7 months at the least.... and there were only two regular sized bags.
In the name of the moon, I will punish you!
Re: Testing Chat Episode VI: Return of the Chat
Typing and the the approximate lack thereof was one of the things that always drove me barmy about PHP before I gave up on the whole deal and went back to my C++ ghetto. Simple things like declaring a function to be bool IsSomeShitICareAbout(std::string& someShit) turned into a mess as I had to use conditionals on the input variable to make sure it was the right type and make sure my comparisons were going to do the right thing.
I might be missing something, it wouldn't be the first time, but most of the magic in dynamic languages that work out and coerce types on the fly seem to just be putting problems off until runtime when some part of the system does something it shouldn't. I'd rather reason it out at compile time and force developers to think it out. The compiler or interpreter can force the dev to deal with the issues before they become apparent that way even if it slows down implementation slightly. Spending a bit of time up-front on these things beats getting a 3AM support call that someone's business you're working for is out of doing business because someone got their types wrong and the interpreter wasn't designed to catch that sort of thing. There are enough problems in the world without that sort of nonsense.
I might be missing something, it wouldn't be the first time, but most of the magic in dynamic languages that work out and coerce types on the fly seem to just be putting problems off until runtime when some part of the system does something it shouldn't. I'd rather reason it out at compile time and force developers to think it out. The compiler or interpreter can force the dev to deal with the issues before they become apparent that way even if it slows down implementation slightly. Spending a bit of time up-front on these things beats getting a 3AM support call that someone's business you're working for is out of doing business because someone got their types wrong and the interpreter wasn't designed to catch that sort of thing. There are enough problems in the world without that sort of nonsense.
Re: Testing Chat Episode VI: Return of the Chat
Aye. Walter Bright is fond of saying a given programming task has a certain complexity that you have to deal with one way or another (he says this in response to critics saying D is too "big" of a language). If your language is "simple", the complexity is still there, so now it is just moved to the code or to the runtime debugging/testing step. I agree.
BTW you don't even really have to think about it in a lot of cases if you use type inference.
In that case, you don't really care about the types but the compiler still knows, so it will let you know if you do something illegal with it. I like that a lot.
BTW you don't even really have to think about it in a lot of cases if you use type inference.
Code: Select all
auto a = 10;
auto b = some_function();
In the name of the moon, I will punish you!
Re: Testing Chat Episode VI: Return of the Chat
Type inference is indeed awesome. I can't wait for my workplace to move onto a C++11 compliant compiler just to get that feature and make using templates & iterators on templated containers tolerable. I wouldn't use it for simple types, too much ambiguity for too little gain, but std::<container type><contained type and other type params>::iterator i = container.begin() is just pointless boilerplate that makes the language much more painful to use than it needs to be. And typedefing the containers is just another layer of obfuscation that I dislike greatly even if it sorta solves that problem.
Getting rid of header files would be the next big huzzah moment, but I don't expect that to ever happen for existing C++ codebases even if they do manage to implement usable modules. There are too many problems to solve before it can be done and God help you if you try to apply that change to a large application.
Getting rid of header files would be the next big huzzah moment, but I don't expect that to ever happen for existing C++ codebases even if they do manage to implement usable modules. There are too many problems to solve before it can be done and God help you if you try to apply that change to a large application.
Re: Testing Chat Episode VI: Return of the Chat
so I had a dream last night in which George Bush Snr and Barbara (although she didn't actually look like Barb) were staying in my apartment and I got in a big fight with them over the absurdity of their politics and there was a Marine George was helping (????) and he started crying then they left to fly home
crucially, my first action in the dream after they left was to go onto testingstan and recount my experiences
crucially, my first action in the dream after they left was to go onto testingstan and recount my experiences
Re: Testing Chat Episode VI: Return of the Chat
The night before last I dreamed that I was going to the police station to kill a bunch of people and on the way I met a pretty black woman with an African accent and we hit it off and ended up going out on a date and heading back to her apartment afterward to have sex, but before we did she turned into a dog and I was okay with that so we banged and then it was the next day and as I was gathering my bearings I woke up.
It was weird.
It was weird.
Re: Testing Chat Episode VI: Return of the Chat
I don't really dream much since I became a shift worker
Re: Testing Chat Episode VI: Return of the Chat
i did highway cleanup with the mormons this morning
it was totally awesome. the fools who don't show up to these things (only 13 people did, including the four missionaries and me... and the other guys said that's the biggest group they've ever seen) have no idea what they're missing
my only regret is i didn't have an orange jumpsuit to wear
it was totally awesome. the fools who don't show up to these things (only 13 people did, including the four missionaries and me... and the other guys said that's the biggest group they've ever seen) have no idea what they're missing
my only regret is i didn't have an orange jumpsuit to wear
In the name of the moon, I will punish you!
Re: Testing Chat Episode VI: Return of the Chat
so after the cleanup stuff we went to one of the member's houses.... and played paintball with sling shots
i was so bad at it
i was so bad at it
In the name of the moon, I will punish you!
Re: Testing Chat Episode VI: Return of the Chat
this is like one of those writing exercises where the prompt is "one sentence sad story"zhaktronz wrote:I don't really dream much since I became a shift worker