• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Reply to: test please delete

Collapse

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "test please delete"

Collapse

  • NickFitz
    replied
    Lunch has been some Popeyes hot wings

    I came across a classic bug this morning. Some data that was supposed to be saved in a cache for two months wasn’t there, and my colleague had hunted fruitlessly on Friday for the reason it had gone astray. I didn’t know the code involved so started working out what it did, whereupon I encountered this line:

    Code:
    cache_stuff(cache_timeout=60 * 60 * 24 * 20)  # 2 months
    Now, as any fule kno, if you’re dealing in seconds then 60*60*24 gets you to one days’ worth. Then multiplying by 20 gets you twenty days… so why does the comment say 2 months?

    And that was it! The problem is that a month is approximated as 30 days, so two months is 60 days, and when you look at this line, you see the “2 months” comment at the end and you see 60 appearing, not once but twice, in the calculation, and you think it seems OK and you go off and start looking at another place where you think the bug might be. I spotted that the 20 at the end was the culprit almost immediately, because I didn’t know the code so I had no idea of where else I might look

    To add to the fun, this data is generated at the start of the month, so it might not even have been noticed that there was a problem if somebody hadn’t happened to be looking at it after the twentieth of November

    Leave a comment:


  • NickFitz
    replied
    Links are up

    Leave a comment:


  • ladymuck
    replied
    So I can snag the om

    Leave a comment:


  • ladymuck
    replied
    And now for some filler

    Leave a comment:


  • ladymuck
    replied


    Afternoon all

    Dull start this morning but I can see some patches of sky trying to break through. Currently 8 degrees and that's the high for the day. The cloud cover will return with rain expected later. Barometer down to 998 mBar.

    Sunrise 08:24; Sunset 15:49 GMT

    Another morning of meetings. Need to find out from both gigs what their intentions are for 2026.

    Leave a comment:


  • DoctorStrangelove
    replied
    Morning.

    Monday.

    Dark.

    Dank.

    Dreary.

    Sunless.

    Black side of grey.

    Wet.

    Windy.

    Chilly in here at 14.4 deg, 12.5 in the kitchen, 12 in the leanto.

    995 mBar, 29.38 in Hg, 746.3 Torr, 14.43 psi, (down from 1005 last night), 62% RH (Lidl electric).

    Meanwhile on the 4th of March 2020 Brillo and AndyGarbs popped in, xogg was digging ditches and looking forward to new Spitting Image eps, LM was moving on gigwise which NF thought was A Good Move, my leg was painful, whereas the computer room at the library was very quiet.

    Freecell score in the dim dark grey blackness of the morning: 92%.

    Lunch: brunch. Freecell.

    Walk (abbreviated due to the inclemency of the weather, towpath: overtopped in places by the canal) walked in the grey sunless gloom of the afternoon.

    Small puddle forming at the bottom of next door's garden. Again.
    Last edited by DoctorStrangelove; Today, 14:51.

    Leave a comment:


  • WTFH
    replied
    Morning all it was blowing an absolute hooley all night, and still is this morning. Very wet and windy walk has been done.

    Leave a comment:


  • NickFitz
    replied
    Morning denizens

    It’s a stormy sort of a morning out there, with rain carrying on from overnight, and the trees waving their arms and creating lots of wind. Extremely grey and gloomy, needless to say. The rain’s expected to continue through the day and the evening into the night, finally packing it in a bit before midnight. At least it’s comparatively warm: already at 10°C (though it “feels like” 1°) with a daily target of 12°. The barometers are down to 987/995mB

    I remembered to make the bed before I wanted to get in it yesterday. I decided it was time to combine the two parts of the duvet to activate full winter mode, though it turned out to be very mild compared to other nights recently. But I had a very comfy night’s sleep

    Leave a comment:


  • NickFitz
    replied
    Originally posted by xoggoth View Post
    Or wierdos who've stuck Christmas trees up their ....
    Not sure that would be suitable for festive family viewing

    I managed to get some more investigation of the new forum software done. It would help if they updated their documentation; instead, quite a few powerful features can only be discovered by ploughing through old “what’s new” posts for various versions on their support forums

    Tonight, I read some more of The Forgotten Soldier, in which they had one hell of a time advancing in a German offensive through Belgorod then hastily retreating, as it turned out the Russians had secretly built up their forces in the expectation of exactly that (helped by John Cairncross passing decrypts from Bletchley Park to them) and gave them an absolute pasting

    Monday again tomorrow, but it’s the penultimate working Monday of the year

    Goodnight all

    Leave a comment:


  • xoggoth
    replied
    Or wierdos who've stuck Christmas trees up their ....

    Last bit of toothpaste inspections today, hope to get the darn reports sent off this week. Old farts' xmas do tomorrow and another on Weds.

    Leave a comment:


  • NickFitz
    replied
    I had some turkey slices that Needed to be Eaten™ as they’d failed to make it into any of my lunches last week, as had been intended. So I had them with chips and ketchup for tea. Not the most exciting of meals, but it was OK

    This was accompanied by the latest episode of Ambulance, which I think is the last in the series. They should do a Christmas special featuring people who’ve been electrocuted by fairy lights, or injured themselves with a chainsaw while trying to cut down a Christmas tree

    Leave a comment:


  • ladymuck
    replied


    Afternoon all, Glasgow calling

    Lovely sunny day. Not even a wisp from my vantage point. No breeze either. Currently 4 degrees and that's the high for the day. Barometer at 1009 mBar.

    Sunrise 08:22; Sunset 15:50 GMT

    Slow start to the day on account of being woken around 4am with a headache and only just shifting it sufficiently that I feel functional again.

    Journey up to weegieland yesterday was uneventful.

    Leave a comment:


  • NickFitz
    replied
    Morning denizens

    Sunny day and a clear blue sky, barring a couple of tiny wisps, this morning. Not warm though: it’s 4°C but “feels like” 1°, with an expected high of 7°. The barometers are back up a bit at 1000/1008mB

    So far this morning, I’ve got the bedding (duvet cover et al.) in the wash and stripped the bed to air. This may sound very organised, but note the order of events: the bedding in the wash is from last time; I just hadn’t got around to washing it yet

    Leave a comment:


  • WTFH
    replied
    Morning all

    Leave a comment:


  • DoctorStrangelove
    replied
    Morning.

    Sunday.

    Dry.

    Blue sky.

    Sunny.

    Frosty side of chilly: 13.7 deg in here, 12 in the kitchen, 9.5 in the leanto.

    1011 mBar, 29.854 in Hg, 758.3 Torr, 14.66 psi, (up from 1005 last night), 54% RH (Lidl electric).

    Meanwhile on the 4th of March 2020 it was raining on WTFH.

    Took a while to get off to sleep last night, which was a bit irritating.

    Walk (unabbreviated, towpath) walked in the sunshine.

    Lunch: brunch. Entertainment: Di ti di <click>.

    Freecell score: 75%.

    Scotland Yard (1956): the one about the chap being found poisoned in an airport lounge. Roger Delgado as a Lisbon policeman.

    Tea: beans on toast plus scrambled egg.

    Entertainment: some depressing thing about kid's playgrounds or something.

    Look at Life: don't talk to me about life: here I am, brain the size of a planet & what do they ask me to do? "High, wide, and faster": the transport revolution: included a shot or two of the old A465 down the Clydach Gorge from Bryn Mawr to Abergavenny.

    Sergeant Cork. S2 E1 "The case of the Fenian Man". . Remember the ep of Dad's Army they never showed again?

    Blaze: discovered by disaster: well it's on whilst I'm playing Freecell.
    Last edited by DoctorStrangelove; Yesterday, 22:51.

    Leave a comment:

Working...
X