Random Rants
-
Shit they probably just want to rip off a free test plan and software…
-
Thanks. It's all very well expecting someone to go beyond, but if it gets to the point that you're having to do a couple of days work for a three month contract…
@Giles I'm meaning to make a run down to Gosvegas in the near future. If @Danny RnH doesn't bankrupt me first. :o
-
I've had a first round interview with a company for an interesting sounding contract, but it's come back to the dreaded home test.
There are two parts: One is a set of questions asking how I'd set up a user test to see if a new system was better than the old one. They want two alternative sets of metrics, and a plan of how it would be approached. I don't have a clue how to do this, as I write code for a living, and am not generally part of the design or optimisation team. Besides, as a freelancer I almost always join a project when there's a pressing need to get it out of the door.
So far I've written about a thousand words on it. I'm halfway through, and probably need a couple more hours to complete it. But I'm really feeling like I can't be bothered.
The second is to write a native Android app to hit a Flickr API, pull down a list of images with their metadata, and display them with a slick UI. OK, so I need to roll a HTTP call, which is pretty simple. Then decode a piece of XML, that can be done in Jackson. The UI could be done pretty basically using using a list adapter or similar, but if you want slick then it gets to be a lot more work.
Normally these tests come with a clause that they must be production quality. So I suppose that I could hack up an uncommented mudball of spaghetti code. (If you're not a professional nerd, that means it barely works, is needlessly complex, and can't be understood by another programmer.) That's what a large chunk of systems are like in the real world. But if you're doing it properly, then it'll be fully commented, have decent test coverage, be tested, etc.
Getting something up and running will probably take a day. Maybe two or three if I want to make something slick, and ensure it's fully tested.
And that's the trouble. I don't mind spending an hour or so on a job application, but when you start needing to spend one or two days it gets to be too much. Particularly when there's no compensation, and in a lot of cases I don't get any feedback.
Plus I'm having a real depressive downswing right now, and getting anything done is a struggle.
question 1: speed city. is it faster? memory footprint? cpu usage? i always work like i'm peeling an onion. start at the outer level. then go inwards. next thing you know you've written skeleton functions for 10 layers and you finally got to the 10 lines of critical code that at that point are VERY easy to write since you've been so dilligently writing earlier… basically how i design stuff. it tends to work well.
c++ only:
channel stroustrup: when in doubt, use a vector
when not channeling stroustrup, use a map
lists are bad unless you need iterator validation
never seen a deque used
sets are near the same as maps, except for not as cool, although there are sometimes when you just need a set
hashmaps are iffy unless you have a proprietary implementation
multimaps are iffy but sometime the right answerbasically just use a bunch of vectors and maps and dont iterate too many times and you're good to go
2nd step you're on you're own because i hate xml lol
-
They just dont fit
Freshly waxed, sales-thread will be online soon… -
What size? Still not sure if those Vibergs are for me or not
-
@Megatron1505 8.5E, but they fit very narrow, more like a 8.5D…
I like the Bergs on you. -
Thanks man, those Whites look sweet shame they didn't work out for you.
-
Yes, I never had problems with Whites, but this time…
It's time for some Wescos! -
Good choice.
-
Raccoons have invaded my attic. This happened back in the spring and we thought we drove them out. Now that cooler weather has arrived, they have returned. We're going to have to have them killed this time.
-
Hardy little beasts.
-
Raccoons have invaded my attic. This happened back in the spring and we thought we drove them out. Now that cooler weather has arrived, they have returned. We're going to have to have them killed this time.
Can you kill them legally in the U.S.? Up here in the Great White North, it is ILLEGAL to kill these SOB. We can only trap them, then move and release them somewhere. Worst if they have young ones around, the mother goes beserk if you go near them. My uncle (and he is an American and lives in Wiscousin) told me he just pull out his gun and shoot them when he sees them on his property.
-
It's legal to kill everything in Texas.
OK, maybe not everything, but as far as I know, it's legal to kill raccoons. The pest control guy told us last time that kill traps might be our only option. The racoon evaded the "humane" trap, which he said meant that it had been trapped and released before, thus learning to avoid them.
Home ownership is just one pain in the ass after another.
-
To be clear, I'm not going to be shooting at raccoons in or around my house. I'm hiring a pest control company to trap/remove them. Whether they leave the house live or dead is up to the raccoons, but they will be leaving.
As for firearms laws, Texas is, not without controversy, a "Castle Doctrine" state. Whether that's good or bad is a debate for another forum…
-
Game 2 had Anand's weird blunder, and now an even weirder game today. Carlsen either spent the whole game re-finding the best book moves or spending too much time going through the alternatives, and then when he simply slips out of the book for one move, it's not like he drifts: he is lost instantly. So many of championship re-matches devolved into similar long-winded games of cat-and-mouse preparation and produced very paranthetical games over the long term.