Avatar for Greenbank

Greenbank

Member since Oct 2007 • Last active Dec 2021

Endurance idiot.

Most recent activity

  • in COVID-19
    Avatar for Greenbank

    *cue 3 more people posting that same news story about the Italian bloke trying to get jabbed with the fake arm*

  • in Miscellaneous and Meaningless
    Avatar for Greenbank

    In phoning up new PensionCo (for new workplace pension) to update some details (they had my old mobile no) I find out they've been holding on to an old workplace pension for nearly 20 years.

    Somehow a really old workplace pension had been split into two (I guess it relates to my job before I moved to the US). One part was transferred over to a new PensionCo, but the older part wasn't, and has sat with this company with a really old contact address for 20 years.

    It's not a huge amount at all (it would have only been ~2 years of pension contributions when I didn't earn much), but it's a bonus/surprise to find and means I'm in a slightly less behind where I should really be.

    What annoys me though (more than my own lack of admin in letting this slip through the net) is that despite holding a critical illness policy for someone with the same name, date of birth and National Insurance number, they're quite happy to keep an out of date address and phone number on the pension record of the same person. Surely they could have something that says "wait a sec, are these two meant to be connected?"

    [EDIT] Reminds me of when my bank had two different dates of birth for me, one for my personal account and one for my joint account. WTF!

  • in COVID-19
    Avatar for Greenbank

    Oh that's better than I thought. How does that compare with PCR?

    They're completely different things. LFD are designed to be the best thing that can be done at home with a result within 30 minutes. They're also limited to the levels of the virus they can pick up and so they only really test for a certain level of infectiousness rather than any trace levels of infection.

    so presumably more competent at finding tonsils than average public

    Most of the LFD kits being sent out now only do a nasal swab (and 1" up the nose is as far as that goes), they don't go near your tonsils.

    (Reminds me, need to order some more, we're getting through more than a box of 7 a week what with increased testing for our 11yo and ad hoc testing for us two adults.)

  • in Miscellaneous and Meaningless
    Avatar for Greenbank

    day8 part 2 in bash/sed/tr/sort/uniq/wc: https://gist.github.com/alexgreenbank/1c­258d502ea47ad4713134ff18230cc9

    I'm sure there are nicer ways of doing it bash (especially with arrays) but ICBA.

  • in Miscellaneous and Meaningless
    Avatar for Greenbank

    watching Stratton give a tearful address to the press on her million pound + doorstep is fucking sustaining me rn.

    I think that was the rehearsal.

  • in Miscellaneous and Meaningless
    Avatar for Greenbank

    Reducers are just the resort of people who are shit at football.

    They may be vaguely "fun" for some people to watch on television (probably a large overlap with people who find boxing or MMA "fun" to watch) but actually playing football they have zero fucking place in the game.

  • in Miscellaneous and Meaningless
    Avatar for Greenbank

    My other favourite one was spotting people on the phone whilst sat in traffic as I was filtering past.

    I'd pull up along side them and sit the bike on 4000rpm.
    At this point they wound up the window and tried to carry on their conversation.
    And then I'd go to 8000rpm.
    At this point I could see them shouting into their phone.
    And then I'd go to 12000rpm.
    At this point they usually hung up.

    (Some bits of motorbike commuting I still miss. But I'd probably be dead if I'd continued to do it.)

  • in Miscellaneous and Meaningless
    Avatar for Greenbank

    When commuting by motorbike I had someone attempt to flick their cigarette butt at me as I pulled along side them at the front of the queue waiting for the level crossing barriers to go back up. It was definitely intentional, he'd seen me coming. Sadly for him I batted it back perfectly with my gloved hand and it nestled in a load of discarded cups/crap in the passenger footwell. He was still madly scrabbling around to try and sort it out when the barriers went up. Much beeping from behind as I bimbled off up the road.

  • in COVID-19
    Avatar for Greenbank

    Depends on how long it took before symptoms appeared or you tested positive.

    10 full days of isolation ending on (but including) the 24th would mean 1st day of isolation on the 15th, which means getting a positive test result on the 14th.

  • in Miscellaneous and Meaningless
    Avatar for Greenbank

    I did something similar. Started with a matrix of possibilities of a-g matching real segments A-G.

    Taking acedgfb cdfbe gcdfa fbcad dab cefabd cdfgeb eafb cagedb ab | cdfeb fcadb cdfeb cdbaf as an example:-

    ab must be a digit 1 so ab must correlate to CF. So it:-

    • removes all other segments ABDEG as possibility for both a and b
    • removes all possibilities of C or F from all others (cdefg).

    Likewise the item of length 3, dab above, correlates to the segments ACF. The same function above applied to dab, ACF means that d is left only possibly matching A as C and F have been taken away from everything other than a or b.

    For the item with 4 segments we do poss( "eafb", "BCDF" )

    For the items with 5 segments, if there are 3 unique strings then we know:-

    • The 3 letters common to all 3 will correlate to ADG
    • The 2 letters common to only 2 of them will correlate to CF
    • The 2 letters that only appear in once in all three will correlate to BE

    For the items with 6 segments, if there are are 3 unique strings then we know:-

    • The 4 letters common to all 3 will correlate to ABFG
    • The 3 letters that only appear in 2 of them will correlate to CDE

    Just applying these rules in one pass was enough to leave my map of possibilities to segments with only one match per possibility/segment.

    To make it easier I pre-sorted each of the strings in my input.

    Here's the above in perl: https://gist.github.com/alexgreenbank/49­b3f43fcd33e96552792dd5e631499d

    And here's the debug output showing the progression of the possibility maps for the first simple example given:-

    DOING: abcdefg bcdef acdfg abcdf abd abcdef bcdefg abef abcdeg ab -> bcdef abcdf bcdef abcdf
    len=3
       abcdefg
    a: **.*...
    b: ..*.***
    c: **.*...
    d: ..*.***
    e: ..*.***
    f: **.*...
    g: ..*.***
    len=4
       abcdefg
    a: ...*...
    b: ....**.
    c: **.....
    d: ....**.
    e: ..*...*
    f: **.....
    g: ..*...*
    len=2
       abcdefg
    a: ...*...
    b: ....**.
    c: **.....
    d: ....**.
    e: ..*...*
    f: **.....
    g: ..*...*
    DEBUG: Got 3 fives (bcdef abcdf acdfg)
    len=5
       abcdefg
    a: ...*...
    b: ....*..
    c: **.....
    d: .....*.
    e: ......*
    f: **.....
    g: ..*....
    DEBUG: Got 3 sixes (bcdefg abcdeg abcdef)
    len=6
       abcdefg
    a: ...*...
    b: ....*..
    c: *......
    d: .....*.
    e: ......*
    f: .*.....
    g: ..*....
    
Actions