torkell: (Default)
At work we're thinking of using C++ on an upcoming embedded project (historically our embedded stuff has been in C). As it happened while we were discussing this a colleague found a heavily-discounted training day on Embedded C++, so a few of us went along to it.

The course itself was a mix of going over existing (for me) ground like object-orientated programming (though for one of our devs that was all new to him) combined with interesting new tidbits (I hadn't realised just how much was in the C++ standard library for functional programming). It looks like the course was pitched as a taster session with the aim of getting attendees to come along to a full 5-day course. Overall I think I wasn't quite the target audience, though I still found it useful.

More importantly though is the training swag that we all got...



There's the usual mix of marketing bumpf and cheap pens, along with printouts and a USB stick of the course material, and a bag of gummy bears. But the real prize here is the dev board (a Renesas TB-S1JA) - we all got given one to use for the course and to keep!

torkell: (Default)
Work's Secret Santa happened today. I got gifted with this, which raised a few eyebrows...



Colleague: "That looks delightfully dangerous"

Boss: "Do we need to do a health-and-safety risk assessment?"


Overall it looks to have been a success - everyone seemed generally pleased/amused with their presents, so perhaps next year it may become officially sanctioned (it ended up being a sort of unofficial don't-ask-don't-tell thing due to Reasons - except one of the directors did take part as well, so does that make it officially unofficial?).
torkell: (Default)
Oh dear, I seem to have become responsible for a Secret Santa at work.

It all started innocently enough - there had been vague mentions, so I asked if anything was happening or not and the answer was probably not because the original suggester didn't think anyone would be interested. So I asked around some more, and it turned out that about half of the team were indeed interested in a Secret Santa... and in the process I somehow ended up actually organising it.

I have no idea who's getting whom a present (everyone pulled names out of a bag), so it'll be interesting to see the results next week.

Ring ring

Nov. 23rd, 2017 11:58 pm
torkell: (Default)
You can do all sorts of wonderful things with modern office phones. Like, to pick a totally-not-random example, set someone's ring tone to this hilarity...

One colleague did that to another as a very long-delayed prank - the recipient's reaction to their phone blaring that out was interesting...
torkell: (Default)
If you do software development then you've probably had the misfortune of working with Git as a source control system. Now, those of you who use Git will be aware that it makes very heavy use of branches, and that it's all too easy to end up with a whole pile of them of of which are the one that you actually need.

Well, it turns out it's all very simple after all, as this image that dropped into my work inbox reveals:



You could tell the email's progress around the office by when different people burst out laughing.
torkell: (Default)
Despite various postage fails (including Royal Mail choosing to deliver a letter with no postage whatsoever!), the back-and-forth of Important Documents is now complete and everything is now signed. It's not quite ended yet - there's still one more payment, and one more Important Document, both of which will happen in a few weeks (because Reasons). But in the meantime it's onwards and upwards!
torkell: (Default)
It appears that even more back-and-forth is needed with Important Documents, and they are winging their way towards me so I can sign them once again. I'm not entirely sure why - the advice from my solicitor was that I could sign the whole thing (multiple times, because Reasons) then and there, and The Bringers Of The Letters initially agreed that no further action on my part was needed - but The Bringers Of The Letters have now decreed otherwise. And as a result I have even more proof that solicitors have a sense of humour.
torkell: (Default)
So in relation to the ongoing saga I've been making various decisions. Some have obvious yes answers (get in touch with $WORK-1? Of course, they're practically right next door), some have obvious no answers (apply to $OUTFIT? No, terrible commute and I've got better options to try first), and some just appear out of nowhere and make one go "um.....".

This particular one is a message that dropped into my Linkedin inbox, from a fairly well-known company in the software development community, saying that some particular aspects of my profile had sparked their interest and they had some roles that might be of interest. I've had a look at their openings and they do indeed fit, and ordinarily it'd be a fairly obvious decision to follow it up.

Except... they're based in Australia.

On the one hand it's a great opportunity. But on the other hand... do I really want to relocate to Australia? Probably not, for many reasons... but then again, it could work out...

[Poll #2062879]
torkell: (Default)
Important Documents have now been scrutinised, legal advice obtained, Decisions made, and Important Letters signed. Several times, because Reasons. And I have proof that solicitors do indeed have a sense of humour :)
torkell: (Default)
The Process has entered a new phase, in which Important Decisions have occurred, Important Letters despatched, and timescales are now fully known. And the timings in my case are such that certain other options are now moot, although it's not over yet and there are still options available.

Curiously enough for one particular part of the Process I am required to seek legal advice (well... technically I could choose not to do so, but certain Important Documents are invalid without doing so and work is paying for it). So today's new thing was formally contacting a solicitor - never had to do that before!
torkell: (Default)
Minor bit of hilarity today: it appears to have come as a great surprise to The Powers That Be that certain parties (not me, at least not yet) might not wait for the Process to advance to the next phase, given the uncertain timescales and the expected outcome.
torkell: (Default)
In today's hilarity, it appears that all estimates for upcoming timescales of Important Decisions and Important Letters have just gone out of the window. There are certain Obligations that can't easily be disregarded, and one particular Obligation appears to be being extended. Certainly it will last longer than the Process was ever expected to run for.

This leaves something of a conundrum. On one hand, there are certain incentives that only occur if the Process is followed to the very end. But on the other hand, there are options that may come to fruition earlier than the Process... and the incentives from the Process are not particularly incentivising. Decisions, decisions.

In other news, we had a visit from a consultant who can provide services relating to the Process. It was actually rather informative, and the services look to be very useful. Unfortunately the services don't become available until the Process has reached a certain point, which is now looking further off than expected... but nonetheless I shall keep them in mind.
torkell: (Default)
Well, we had an Important Conference Call on Tuesday which answered some questions and raised more ones. It's quite clear at this point what the decision is and in fact certain steps have been taken outside of this team that would make it very hard to do anything else.

It's also become very clear that certain justifications given are not the actual justifications for what is happening. Decisions were made months ago that have led up to this point. Which again makes one wonder what the point of the Process is if the Process is not being correctly followed.


Today we had individual Important Calls to continue with the Process. I exercised my right to have a representative present during my call which The Bringers Of The Letters seemed to take in their stride (my aim was to have another record should the content of the call be disputed - the saga is something of a learning experience, and Tuesday's lesson was don't assume the minutes are complete unless you wrote them). This was probably a better idea than what someone else had for ensuring they had a record of the content of the call - their idea was flatly shot down and they are now escalating things as a result.

Anyway, in my call I took the opportunity to point out that I was not impressed with the Process, but other than that the call was actually productive - various numbers have been clarified (or not - much will depend on the wording of an as-yet unknown Important Document), various timescales or lack thereof have been clarified, and the saga continues in hilarious fashion with no formal end date.
torkell: (Default)
Haha. Right, well, epic fail has occurred on many levels with the continuing saga - certain figures used in calculations were wrong, certain durations used were wrong (no, 4 weeks is not equivalent to 1 month), and an interesting tidbit of news has called various justifications into question as well.

The wording of a certain Important Letter is also rather curious - taken one way it could mean a large lump sum payment in additional to everything that's normally due. The way it's worded implies that some reliance can be placed on this figure, which did I mention is one of those wrong figures (wrong in my favour as it happens which makes it even more fun)?

The bringers of the letters (who are doing everything properly) have gone away with a set of rather pointed questions to ask certain parties. Legal's reaction to it all may be... interesting. There is a Process that must be followed in the ongoing saga and it appears that other parties have not followed said Process...
torkell: (Default)
Well, it's not even a week in and 2017 is already shaping up to be an interesting year...

The ongoing saga of work has taken an unexpected turn. Well, not entirely unexpected - it was always a possibility, but up until last week the plan was something else entirely. Except management has decided to do an about-face and this is the result.

Ah well. Onwards to the future!
torkell: (Default)
Today at work my boss stumbled across GCHQ's Minority Report code challenge, and so since the rest of the business seems to have no idea what we should be doing the team decided to have a crack at it.

For reference, GCHQ's puzzle is:

If Samuel transcribed what Louis wrote…
…and Louis wrote what Ludwik translated…
…and Ludwik translated what Tim said…
…then what did Tim say?

Here is Samuel’s transcription:

IN AAAAIAN INAAANAIA IA IAINA AI AA IAIIA IAA AAIAAINN AA IAAANN IAINANI
NA ANNNNMA NAANIANMN NN ANNAN NN AM MNNNN ANI MAAINNIA AM NNAMIA NNAANIN
AM MMIAAMA MMIMAAMMA MM AMAAA MA AM AAAMA AAA MAMAAAAM AM AAIMMM MMMMAMA


CLUE: The key to unlocking the puzzle is identifying Samuel, Louis and Ludwik. There are links between them!

Anyway, after about 15 minutes we had the answer (which in lowercase and without trailing punctuation should have a MD5 hash of 29fa3b97488c805267461800b3c5d1a3). Turns out that if you throw a half-dozen software engineers at a puzzle it gets solved fairly quickly!

Warning: spoilerish notes )
torkell: (Default)
So here's a bit of a thought experiment, inspired by a problem I tackled at work recently...

Aren't "eventually consistent" databases fun? )

torkell: (Default)
The drive back from Horsham was full of having to avoid collisions. You know - brake hard to avoid the people dashing across the A24, brake to avoid someone suddenly slowing for a turning, brake hard to avoid the car that popped out to overtake at 55mph (on a 70mph dual carriageway), brake really hard to avoid the muppet who pulled out of a layby on the A27 approaching Chichester. That last one I braked hard enough to cause the hazard lights to come on (which either means the ABS cut in or I managed better than about 6ms-2 deceleration - the Internets aren't clear on what the criteria is) which is a first for me. The MiTo can slow from 70mph to 30 scarily quickly!

Driving fun and games aside, it's been another weekend of abortive plans. Friday morning a relative was admitted to hospital - don't worry, she's stable, and more cranky about the whole thing than anything else (which is a good sign - it's when patients go quiet that you need to worry). This completely scrambled whatever half-made plans there were for the weekend, and has thrown a large spanner in the works of a planned party that was going to involve her next weekend. Latest news is that the party is (probably) (maybe) going ahead. I'm sure I'll find out that there's been an entirely new set of plans concocted by Friday. Ah well, such is life.

At work the aircon guy did indeed turn up on Friday, and tinkered with the controllers. Our theory about the temperature sensors was partially accurate - he changed it to use the sensor on the controller rather than in the aircon unit so hopefully it'll behave better. We also ended up with surprise beer in the afternoon as a reward for bashing together a demo over the past week (which not only works, but also works when you try it a second time!).

[livejournal.com profile] pleaseremove's just called - his media centre is broken again (suspected power supply problems). We blame [livejournal.com profile] brokencube - in the Brighton house he broke computers just by being in the same room as them, and some of this may have rubbed off on [livejournal.com profile] pleaseremove while he was there...
torkell: (Default)
And now for something completely different more substantial...

We've got a shiny new aircon system at work - they're replacing all the units in the entire building, including our one that was itself replaced at the start of the year - and yesterday they finished plumbing it in and turned it on. And consequently we spent the next couple of days trying to decipher the enigma that is the control system.

See, if you set it to 22°C and put it in auto mode, then it blows out cold air despite the room not being that hot. However if you set it to heat and drop the setpoint a few degrees it now blasts out hot air despite the room already being warm enough. Except for the unit in one of the meeting rooms which appears to do the opposite of whatever the main units are doing.

We half wondered if they'd miswired the temperature sensors and the controllers but this shouldn't be possible as there's actually a sensor in each controller (the previous building had a whole-building HVAC system that was indeed miswired, causing us to freeze a neighbouring office while trying to cool ours in summer). Or possibly having two units off of one controller (we've gone from one unit with part of the output ducted to the meeting rooms, to a total of four) is causing them to fight - again, this was an issue in the previous building where it tried really hard to maintain a 1°C differential across the room by blasting out very cold on one side and very hot on the other. Anyway there's someone coming in tomorrow/today to tell us about the system so maybe we'll get some answers.
torkell: (Default)
So today at work I ended up explaining to a colleague that XMLHttpRequest isn't just for JSON, but that it can parse XML documents and turn them into a nice object structure. He was thinking that I'd have to receive the XML as text and use some XML-to-JS library to parse it (which to be fair I may still have to do - some of the code I'm writing will run server-side where XMLHttpRequest doesn't exist).

For those who don't know their web development history, the original point of XMLHttpRequest was to let JavaScript make XML requests and handle XML responses. Using it for JSON came much later.

May 2025

S M T W T F S
    123
45678910
111213141516 17
18192021222324
25262728293031

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 8th, 2025 06:35 pm
Powered by Dreamwidth Studios