HNHacker News
TopNewBestAskShowJobs

tristanperry

1,134 karma · joined September 14, 2010

Full stack dev mainly working in the Java enterprise World.

https://www.tristanperry.com/

submissionscomments
tristanperry··on PSD is not my favourite file format
> I understand that your files created in a program are your personal data

Do you have a source for that?

I'm not saying it's not (hence my question), but how would opening Photoshop, drawing a line, then saying this as a PSD count as personal data?

tristanperry··on Ask HN: How to get a Logo/ Corporate Designs in 2021?
Fiverr, order with someone who does 2 or 3 concepts.

Heck, order from two different people - each of whom do 2 or 3 concepts.

Less than $50 for a range of choice.

Simple.

tristanperry··on My Third Year as a Solo Developer
In my experiences so far, people's wealth often has nothing to do with business success.

I say often because of course a tiny fraction of wealthy people are successful after spending an inherited fortune, but more often than not success seems to be genuinely earned through hard work and trial and error.

The 'rich parents' argument seems like the same cop-out as "it takes money to make money" rubbish that people still spout today. After all, it's never been easier to build a business from nothing (starting a YouTube/Insta/TikTok channel or a free blog). People just need to put their already-owned smartphone or laptop to good use.

tristanperry··on My Third Year as a Solo Developer
Nice work Michael, awesome to see such a big growth in your business this year.

Interesting that it came from a specific (but clearly very useful) physical product too, instead of a software based solution.

tristanperry··on The Virus Changed. Now We Must ‘Get to Zero’ or Face Catastrophe
I agree, but it also doesn't help when the Labour opposition have had a string of weak opposition leaders.

Even Keir Starmer seems content to sit back and only critise the Government's response the day or days after a grim milestone/but of news.

Why isn't he constantly saying that the UK should totally shut their borders, for example? He should be saying this and nothing else, and directing the rest of Labour to do the same. That's how an effective opposition works.

Instead he generally chooses silence.

tristanperry··on Jamming Attacks and Anti-Jamming Strategies in Wireless Networks
An interesting research paper, thanks for posting it.

I've recently been fairly interested in smart homes, which (alongside WiFi) often use ZigBee and/or Z-Wave protocols.

Whilst Z-Wave isn't covered in this paper, ZigBee (which runs at 2.4 Ghz - but on higher channels than WiFi to prevent overlap) is covered. If I'm reading correctly, the paper seems to say that many anti-jamming techniques are successful with ZigBee, unlike previous research that concludes that it's usually harder to block ZigBee jamming attacks (ref 21)?

tristanperry··on Four-day week means 'I don't waste holidays on chores'
This had always been my goal too.

20% less pay for 50% more leisure time each week = winning.

tristanperry··on Google Takeout: Export a copy of your data in Google services
I did this 2 days ago, it's the exact same.

I used a simple one-liner find/mv command to move all JPGs into the same folder... which made it more decent.

tristanperry··on Costs of running a Python webapp for 55k monthly users
Agreed. I'll probably be downvoted, but these setups strike me as people who prefer to drink the cool aid than be pragmatic and only use what they need.

I've also had very high reliability rates with a single VPS. They've actually given me less downtime than AWS services at times.

tristanperry··on Costs of running a Python webapp for 55k monthly users
Two Hetzner CPX31 boxes sounds like it'd do just fine here too, providing the redundancy you mention for a fraction of the cost. Or get the boxes from different companies, for the same sort of overall price.

Yes some of the other tools could arguably be worth paying for, but if the author's concern is that he's short on money and $140 is a lot, why didn't they KISS and only use what they need? Then scale as and when needed in the future.

Y'know, do what HN regularly preaches?

tristanperry··on Assange Hearing Day 3
> It would have to be up to Group 4 to decide if this was possible.

> Yes, she really did say that. Group 4 would have to decide.

Presumably that refers to G4S (nee Group 4), the private security company that the UK Government are increasingly farming work out too?

i.e. the company who are embroiled in a series of scandals: https://en.wikipedia.org/wiki/Controversies_surrounding_G4S

It is therefore quite concerning that a justice-based decision (a prisoner sitting by their lawyers and being able to speak to them as normal) is down to a for-profit private company.

I know that's just the tip of the iceberg, but still concerning to be reminded of it.

tristanperry··on No engineer has ever sued because of constructive post-interview feedback
I'm obviously not rhinoceraptor, but a lot of what they said seems correct to me (speaking as someone who's interviewed others a lot, but never used at-home code assignments as part of the process).

_Some form_ of error handling and validation should be demonstrated, because that's a standard part of any program.

Equally SQL injection is _always_ important. That's not a 'hidden' judgement criteria. It's a fundamental security issue that should be protected against.

Again, I'm not rhinoceraptor, but the gist of their post seems correct. If I was reviewing some code and it had no error handling, no validation, lots of god classes and methods and was susceptible to the most common form of web-based security flaw, that is probably a sign that the candidate isn't suitable for the position.

Good, constructive feedback should then be provided.

>> Note how the evaluation changes from one person to other, you could be someone who expects an exception to be printed, I could be someone who expects an exception to be the wrong way, and would rather prefer a No Op.

I agree completely. Any good interviewer/code reviewer should be fine with someone using exceptions even if they prefer no ops.

If an interviewer did complain loads about that (without specifying how bad input should be handled), they are a bad interviewer.

>> The candidate could implement your spec 100% and yet get rejected.

But adding "The application should not be simple to hack" probably isn't something a company should need to add to the spec?

>> In 24 hours? What are you hiring for really? And why that kind of tearing hurry?

24 hours? really? Yes I understand your frustration, that's no-where near enough (assuming you mean a company asks for the solution back the day after requesting it).

If it was me, I'd assume that such a company doesn't value work-life balance and pass on them :)

tristanperry··on My Second Year as a Solo Developer
"in August, I bought a modest two-bedroom home in South Hadley, Massachusetts. Population: 17,500."

"My living expenses here are ~$2k per month, which is close enough to the rate of return on my personal investments that I'm kind of at equilibrium."

- i.e. Michael moved to a much lower cost of living area.

tristanperry··on How I write back ends
A great write-up. Two interesting points:

1) No Ansible. No Kubernetes, nor containerisation. Starting on a single server/vm and controlling deploys with a bash script.

2) An interesting take on microservices: "One server, one service... 2-3k of code can hardly be called a monolith.... if two pieces of information are dependent on each other, they should belong to a single server."

As a (mainly) backend dev who does like devops and microservices, I agree on both points.

KISS - there's no need to start off with over-complicating everything for no reason. When there's a need for Ansible, introduce it at that point. When you think you need microservices, think about it a lot and move to them if you really do require them.

But certainly don't start off using a full Ansible + Kubernetes + Docker + microservices stack. You'll spend all your time managing these, and relatively little time actually being productive.

tristanperry··on Ask HN: Do you ever contact people who have had a positive impact on you?
That it's easy to 'like' someone based on their public persona - what the media reports, how they come across in blog posts, or how they seem on social media.

But in reality, some people are nothing like what their public image suggests (i.e. they might actually be fairly unfriendly, negative, unwelcoming etc).

Of course, that 'hero' might also just be having a bad day or was feeling tired when their fans approached them - which is sort of a flaw in the whole "never meet your heroes" idea.

tristanperry··on Thank HN: You helped me get a new job
Upvoted because you provide a detailed and calm post (which ironically is being downvoted!).

The internet does do a lot of good, but I don't think that it has increased negativity.

Instead, it's made it easier to communicate and see negativity.

As in, previously people would communicate within actual, physical social circles and often these would be (or inevitably become) an echo chamber for people with similar opinions.

But now, it's so easy to _communicate_ negative things due to pseudonyms and anonymity, plus it's easier to _see_ negativity because hundreds of different opinions are available in each thread - not just one or two opinions in the pre-internet, echo-chamber days.

tristanperry··on Ask HN: What has your work taught you that other people don't realize?
Software development is a very young and immature field compared to many fields/industries.

I mean, the Hippocratic Oath and _some_ form of organised medicine has been around for 2,500+ years.

Modern manufacturing has been around for a few centuries.

etc.

Yes, they all change and develop - and use software within them to drive some of that change - but many industries are mature and stable.

Software is not.

5 years ago you would build a frontend website one way, now you'd use a completely different set of tools/technologies. Wait 5 years and it will have completely changed again.

It's a similar case with software development methodologies, backend approaches/languages (etc), too.

Plus many industries have some form of enforced standards or monitoring, whilst software certainly does not.

tristanperry··on How Canada's military reacted to seeing Pokemon Go players trespassing
... which seems like a good premise for a Black Mirror episode!
tristanperry··on What's new in Java 12, 13 and 14
Some companies spend longer than six months to discuss/agree to a 'major version upgrade' of software.

Naturally the gap between (say) Java 10 and 11 is fairly small, meaning it shouldn't take many months to merely discuss an upgrade - but not all companies have got round to the regular-release way of thinking.

tristanperry··on In U.K. Vote, Online Disinformation Is the New Normal
That's very concerning! I live in a Labour safe seat in Wales so there's basically no campaigning here, but I was wondering what the situation is in marginals.

The Super Pacs is a good example - it does sound like the Tories are (worryingly) going down this route.

tristanperry··on In U.K. Vote, Online Disinformation Is the New Normal
I agree that the Tories tend to spend more, although the unions are a fairly big funding source for the Labour party. And the Lib Dems and UKIP/Brexit Party show that small parties can pull in large donations.

FWIW, spending isn't always massively different. In 2015 it was £15.6m for the Tories vs £12.1m for Labour (https://www.prweek.com/article/1380236/uk-general-election-s...) - not a huge difference.

tristanperry··on In U.K. Vote, Online Disinformation Is the New Normal
The Conservatives have also been buying Google Ads at a higher CPC than Labour, for Labour related terms.

In other words, a search for "Labour party" was showing https://www.costofcorbyn.com/ (a Tory-funded site) as the first result - i.e. the first ad.

They also registered https://www.labourmanifesto.co.uk/ and spread it around the day before Labour's manifesto launch.

And let's not forget them also changing one of their Twitter accounts to look like an independent 'fact checking' group during the first TV debate: https://www.theguardian.com/politics/2019/nov/19/tories-twee...

It is a worrying trend, and it's not just the Conservatives doing this sort of thing. It's odd to see just how many pro-Labour accounts reply to political journalist's tweets within mere seconds. Almost like bots are being used...

tristanperry··on Gitlab was down
I agree that GitHub's uptime is better, but I doubt that Gitlab aren't at 99% availability - that'd mean over 14.4 minutes of downtime each day.
tristanperry··on Your throat hurts, your brain hurts: the life of the audiobook star
I don't know... whilst I'm not an audio book fan myself, people who are fans seem very sensitive to different audiobook performers. For example, James Marsters wasn't able to read a single book in the Dresden Files series, and lots of fans quickly noticed and complained.

It's similar to saying that voice actors (and then actual visual actors) will soon be out of business because we can soon 'automate' that too...

Voice (audiobook) acting is a _performance_, not a routine task to tick the "available on Audible" box.

tristanperry··on Twelve-factor app development on Google Cloud
Great work :) When we switched from a monolith to microservices in a previous job, this was mentioned a lot - both internally and to external clients in presentations etc.

I agree, I think the fact that it's not called "the [platform/software] way" is a big factor in its success - it's easier to quote publicly and to external clients when it's seen as a more agnostic set of principles.

Out of interest, in hindsight do you think that any of the 12 factors could be tweaked/improved (since it was originally written)?

tristanperry··on Google Announces .new Domain Availability
So Google are doing their best to 'kill off' URLs in Chrome and Search, but are simultaneously launching a new gTLD with rules that dictate exactly what URLs under .new should use?

This seems like a case of 'the left hand doesn't know what the right hand is doing'.

tristanperry··on Google Announces .new Domain Availability
Google bid for the gTLD (https://newgtlds.icann.org/en/) and won it (https://icannwiki.org/.new), so they have full control over it.
tristanperry··on Ask HN: Feasible Alternative to the MacBook Pro?
I'll check that out thanks. I had heard that a few other fan controllers don't work but NBFC looks promising.
tristanperry··on Ask HN: Feasible Alternative to the MacBook Pro?
I have a Clevo N131WU and whilst Clevo's are good for the price, the poor battery life and loud fans (without their Windows-only 'Control Centre' software) would prevent me buying one again. It's definitely not a MBP competitor.
tristanperry··on The Isle of Man is not in the UK
Good point - I agree, and I'm really disappointed it didn't play out like that.

Instead the UK has had political stalemate for 3.5 years and even now it doesn't look like we're closer to 'a deal'.

← PreviousPage 2 of 7Next →