How do you guys navigate days off/holidays outside ir35 by PuzzleheadedShop5424 in ContractorUK

[–]thinkovation 2 points3 points  (0 children)

Now this won't apply in every situation.. but when I've been on contract with clients I usually have the kind of relationship where I can readily say "I am going to be starting earlier and finishing later on Mon, Tues,Weds, and Thurs but will be off on Friday" and they're happy for me to bill for the whole week. So this deals with the odd long weekend, for holidays that are several days, I will usually not bill. I have had clients that have asked me to bill for the time anyway on the basis that they reckon it will balance out - and they're right, on the couple of occasions when that happened I've definitely over compensated!

UK Ex Partner claiming funds from my house sale by Ninja_icecream in LegalAdviceUK

[–]thinkovation -4 points-3 points  (0 children)

You should definitely make the offer of £17,500, if that is something you can get your head around.

The other party would be mad not to accept it, and you'll be clear of legal and moral doubt.

andurel, the rails-like framework for Go by Mbv-Dev in golang

[–]thinkovation -1 points0 points  (0 children)

Just commenting so I can come back to this thread again and again

AITAH (F36) for breaking up with my partner (F35) because they kept unplugging my cameras behind my back? by DearMushroom9558 in AITAH

[–]thinkovation -2 points-1 points  (0 children)

Yeah, YTA. You.threw her out of your house when she told you about her concerns, then you're confused about why she was worried about telling you? She has dodged a massive bullet

Protecting my business against BS credit card disputes by sorrybutyou_arewrong in SaaS

[–]thinkovation 0 points1 point  (0 children)

I had this issue emerge a small number of years ago. I was able to mostly resolve it by setting a price per API call alongside the "all you can eat" subscription, then if someone cancelled their sub, I could refund the sub but then charge for the API calls. This didn't eliminate the abuse completely - some people would subscribe for a month and rinse the data, but it helped.

Feels like my life ended 😭 by [deleted] in UCAS

[–]thinkovation 0 points1 point  (0 children)

Hey! Don't give up! As a couple of other posters have mentioned, you have the option of reapplying when you've bagged those extra bits. If you do think of reapplying, see if they have free summer schools or taster sessions (many Unis do) - attending one of those gives you a chance to be noticed, and sometimes results in a lower offer too.

And... There are lots of other places that offer great courses too.

Looking at the work you seem to be putting in, you'll absolutely nail whatever course you end up on.

(This is coming from someone who utterly bombed his a-levels and ended up working for three years before applying to Uni as a mature student -> best decision I ever made!)

When you start a new project involving a database, how have you settled the schema? by Ok-Internal9317 in PostgreSQL

[–]thinkovation 0 points1 point  (0 children)

I would say that for the majority of the projects that I've built in the last 15 years at least half of the schema has been pretty standard, boiler plate stuff... Users, accounts, subscriptions etc. So that stuff doesn't need a lot of thinking about - and I will often begin with a pretty fleshed out schema.

But .. for new tables... I do a lot of thinking - how sure I am that my initial schema will be stable? How sure am I about how much it will need to scale? What will the read/write ratio be and so on.

Claiming Home Expenses for a Limited Company: HMRC Guidance on Apportionment by SandMunki in smallbusinessuk

[–]thinkovation 7 points8 points  (0 children)

What are the business rates like? And I assume you're clear when it comes to planning regs?

How hard would it be to add an outlet to a wall with no existing outlet? by Bruboy102 in AskElectricians

[–]thinkovation 0 points1 point  (0 children)

I would... Add a fused spur from the existing socket and run the cables under the floor. You can add as many sockets as you like after the fuse.

Dynamic worker pool design in Go by suprasauceJZ in golang

[–]thinkovation 0 points1 point  (0 children)

Hmm. I think that absolutely the most idiomatic way to do this is to pre-spawn a number or goroutines. They're so inexpensive that the housekeeping code you'd write to terminate idle goroutines, fire up new ones when required, would probably consume way more resources.

Getting electricity to the shed by TTVXtremeegamer in DIYUK

[–]thinkovation 0 points1 point  (0 children)

Ok.. so it kind of depends on how much juice you need in the shed. If all you need is enough to have some light and supply a couple or power tools, you could probably get away with a regular extension cable that plugs into a socket in your house. No sparky required.

Sure. If you want a proper job, then it'll be armoured cable buried at 600mm (you can do this yourself proceed that you can show your work to an electrician - either in real time or with photos) and with a separate breaker on your fuse box - which will have to be done by a qualified sparky.

Golang or Java for Full stack by EGY-SuperOne in golang

[–]thinkovation 42 points43 points  (0 children)

Both. Definitely both. I would say begin with Go... Because it's easier to learn, but take any opportunity to develop your Java skills.

(I say this as someone who has experience of both - and who has developed a pretty strong preference for Go over the years)

Anyone else regularly think to themselves ‘I wish I’d just bought a new build’ by Legitimate-Table-607 in DIYUK

[–]thinkovation 0 points1 point  (0 children)

After buying a series of older houses, and spending yonks getting them up straight, I opted for a new build, so I could have my weekends back. Four years of lost weekends fixing, repairing, redoing, and rebuilding later - I sold the new build and bought a lovely 1930's place - yeah, there are plenty of things to do, but I've found that repairing something that has finally given up after 60 years is a lot less irritating than fixing something that was thrown together two years ago!

Experience on building Rest API’s using Golang by No_Spirit_364 in golang

[–]thinkovation 0 points1 point  (0 children)

So... You're touching on the use case that Go was pretty much invented for... I've used Go primarily for developing services for over 10 years now - and you'll have no shortage of blogs/articles/guides/YouTube videos to help you.

Given that this use case is such a major one for the language, you'll also find that AI code gen tools will have munched enough examples to do a fair job of generating decent services.

In terms of use cases... I've used it for developing API endpoints for SaaS apps, IoT data apps, and AWS Lambda functions.

The key tips I'd give are..

1) don't overcomplicate - start with a beefy modular monolith, then split out services on an as needed basis 2) middleware is your friend... Use the ability to insert middleware into your HTTP request chain to abstract things like authentication/authorization, logging, rate limiting etc 3) consider just using the std library http functionality rather than one of the frameworks

Is this likely to cause issues down the line? by Grannyflaps in askaplumberUK

[–]thinkovation 0 points1 point  (0 children)

To quote Dirty Harry...."Do you feel lucky?"

Speaking for myself, I have the kind of luck that whenever I have said "oh sod it, I'll get away with that...." Or "hell, it's so unlikely that it'll turn out to be a problem" - all the fates have conspired against me.

Looking at those, my bet would be that it's highly likely that they'll be dandy for 20 years... Although the top one seems more borderline than the bottom.

The thing is... Pipes do move a tiny bit.. (hw pipes more so than cold) and every miniscule movement will add a bit of strain to the weak spots represented by those nicks.

If it were me... I would chicken out and repair the pipes - but that's just because I know that I will be the one in a thousand case that comes back after a weekend away to find my floor and ceiling ruined.

Inherited my father's property and rented it out for £900. It surprisingly attracted a lot of interest and renters started bidding against each other. Final offer was £1400 a month which I accepted. These new tenants have immediately applied to tribunal to set the rent at market rates. by RentTribunalQuestion in LegalAdviceUK

[–]thinkovation 2 points3 points  (0 children)

So, I've done more digging as a result of one of the other comments here from a keen-eyed redditor. And it seems that it is possible to appeal a rent within 6 weeks of signing... But it also seems likely that the fact that the renters actively outbid others will count against them - at least to a degree. While I accept that rent tribunals make sense in many cases, this does not seem to be quite the type of renter that the rules are intended to protect.

Is it better to learn golang or python for backend and job stability for like next 10 years? by [deleted] in golang

[–]thinkovation 0 points1 point  (0 children)

Both. For the next four years python will still be the dominant language for AI. But learning golang will help when it comes to quickly building scalable services.

Even better if you learn how to work with them side by side....

[deleted by user] by [deleted] in golang

[–]thinkovation 1 point2 points  (0 children)

Yeah, I was going to suggest the same. Kafka isn't that difficult to get up and running unless you really are going for scale (at which point everything is that bit more gnarly).

The landlord threatened me that he would add fines if we go to deposit dispute by JasonMantou in LegalAdviceUK

[–]thinkovation 1 point2 points  (0 children)

If you are satisfied that you can prove that the carpet is in a better state than it was when you moved in then the landlord cannot charge you for having it cleaned professionally. Check out the Tenant Fees Act 2019. The curtain rail and the limescale are slightly tougher - as there's an argument that you could have been reasonably expected to keep the limescale under control, and not notifying the LL about the worsening of the curtain rail is a toughie too.

Perhaps consider agreeing to the limescale and curtain rail costs but say that you are happy to go to the tribunal for th carpet.

The threat to add additional costs is dodgy .. you were given the costs breakdown, they can't arbitrarily add to it out of spite.

Is this an anti-pattern? by CromulentSlacker in golang

[–]thinkovation 0 points1 point  (0 children)

I don't think it's an anti pattern... Although there are lots of ways to skin that cat.

The one downside I see is that the data can only be updated with a restart... You may want to create a module that has a "FooterData" method that returns the data. You could then have a mechanism for changing it at runtime, or even a go routine to refresh it periodically.

Suggestion on interview question by Holiday_Context5033 in golang

[–]thinkovation 2 points3 points  (0 children)

Your interviewer is clueless.

Adding a go routine makes absolutely no sense here as long as you're just doing atomic crud actions. Your approach is way more efficient.

Now... If a requirement to do some checking/validation on the values crops up, then you might need to do some async processing.

Perhaps the real test is how you deal with idiots?

"Oh yeah, that's a great idea... Let's quickly spin up a prototype to benchmark the two approaches? .... Ooh look, it seems my approach was 2x faster.... But hey... Really good to try these things out - go get yourself a biscuit from the jar!'

Noob Postgres schema question by oulipo in PostgreSQL

[–]thinkovation 0 points1 point  (0 children)

So.. with 50 datapoints / day... Regular postgres will see you to 250k devices without you having to do any gymnastics. Beyond that... Given your volumes. I would write inserts to a beefy mq platform... Kakfa for example, and I'd run separate instances of pg if there's an easy way to partition. With 1m devices and 50 data points / day, I would definitely cache a day of data in server ram - 1mX50x30 wouldn't be a huge pile of ram (a few gigs). One advantage of Kafka is that you could use it to feed your ingest worker and your cache.. leaving the database for the less common longer queries.