HNHacker News
TopNewBestAskShowJobs

WilliamMayor

46 karma · joined March 5, 2012

William Mayor, freelance software developer.
submissionscomments
WilliamMayor··on Show HN: SubPage.app – Best way to create your business website's subpages
I'll try I suppose. But if it's not accessible then I don't see how I can :)
WilliamMayor··on Show HN: SubPage.app – Best way to create your business website's subpages
This looks really great! I've suggested it to some people in my team.

Can I ask, how accessible is it? Is the knowledge base accessible to people using a screen reader for instance?

Thanks!

WilliamMayor··on Show HN: Timeretain – Track, visualize, and export your hours
I completely agree, the start stop thing never worked for me. I also didn't like the idea of those apps that track what applications you have open, seemed really creepy.

I built a tool to extract the calendar data (mentioned in abother comment, don't want to spam). I'd really appriciate any feedback you have :)

WilliamMayor··on Show HN: Timeretain – Track, visualize, and export your hours
I've built https://billabl.co with this idea in mind. It's early days and I'm just hacking on it as a side project. I use the event title for the project name, or sometimes the client name (depending on how busy I am with that client, or how detailed my invoices need to be). Sometimes I'll create a separate calendar just for one client. So far it connects to Google calendars only.
WilliamMayor··on How can I host my own community these days?
Discourse[1] is the only one I'm aware of. It's open source and pretty easy to self-host.

I'd be interested in any alternatives that people rate highly. In particular I have a client who wants forums and live chat in the same solution.

[1] https://www.discourse.org/

WilliamMayor··on Show HN: Axiom Log Management and Analytics
This looks like a fantastic product, nice one!

I've been shopping around for logging solutions like this for years. I can't find anything that meets our requirements:

We're a small team of devs working on various projects for multiple clients.

We don't have enough person-power to host something like ELK or Greylog. Keeping client projects running is enough DevOps for us.

Each project has very low logging rates, but we'd want to retain logs for a decent amount of time so we could do month-on-month comparisons etc.

For many projects I wouldn't feel comfortable logging to a cloud provider, there's too much possible user data that could get logged.

I'd like it if our team could have a single place where all logs went. Without having to switch accounts per client.

As cheap as possible.

Axiom would be great if the Enterprise license didn't start at $600 per month. We could self-host and the team would only have one tool to learn (and a very pretty one at that).

Our current solution is that each project has a bespoke "log some JSON to some files" solution and we try to pull data out of that when we need to. Many project don't have any logging system properly in place and we just end up tailing the logs when we're reproducing bugs :) Plus we don't have nice graphs or dashboards, or any QOL stuff really.

WilliamMayor··on Ask HN: How do you organize and manage database migrations?
That gitlab link was a good read, thanks!

One of the points was that migrations should always be reversible. I’ve struggled with this in the past when it comes to migrations that change or drop data. How do you write a downgrade script that recalls the previous data?

I’ve given up with downgrades now. I make sure to take a dB backup or snapshot before running an upgrade. I’ve never had to test this solution in a tense situation though...

WilliamMayor··on Ask HN: Freelancers, how do you let your clients know when you go on holiday?
Thanks!

I kinda suspected this would be the answer really. I'll have to be more proactive about communicating these things. I'm generally on top of other communications.

Setting myself a 4 week advance notice period seems like a good idea.

WilliamMayor··on Show HN: Cardbox – The address book reimagined as a social network
Also, where is the data kept? Is this GDPR safe? I'm in the UK and I'd like to keep this company/user data somewhere safe :)
WilliamMayor··on Show HN: Cardbox – The address book reimagined as a social network
I've had this exact idea floating around in my head for a while now. Really excited that you've gone and built it :)

As with any social network, the hard part is getting lots of people to use it. There's no benefit to me if I have a card but none of my friends do. How are you going to tackle this problem?

I'd really like to use this kind of product at the company I work for. We have a fair amount of people churn, with contractors coming and going. It would be great if my address book could auto-update with their details. Do you have any plans for some kind of company tier, where you could add/connect cards to a company on behalf of the user?

WilliamMayor··on How Not to Do Time Tracking for Software Developers
Ha! Cheers! I’ve not checked on my phone for a while, that’s definately not right.
WilliamMayor··on How Not to Do Time Tracking for Software Developers
I found the context switch trigger too hard a problem to solve. The real problem for me was that I found any app that tried to watch me work just too creepy. So then any simple app required lots of manual effort.

I built myself a solution that means I can add events to a calendar that describe my day. Different calendars for different clients and different event titles for each project.

This worked well for me and now I’m trying to build it out and sell it. If you’re interested it’s here: billabl.co. I’ll warn you though, it’s early days and likely to break (although I’ve been using it for years).

WilliamMayor··on UK Universities: Is free speech under threat?
It tickled me that Westminster University has a policy of not allowing people to speak who are intolerant of free speech. Presumably no representative of the university can ever speak. That must be hard for them.
WilliamMayor··on Ask HN: Will my comments/topics on HN be deletable under the GDPR law?
The right to erasure is not absolute, it only applies in certain circumstances. Here's the UK ICO's advice on it: https://ico.org.uk/for-organisations/guide-to-the-general-da...

In the list of "When does the right to erasure apply?", I'm not sure which one you would argue if you wanted to have your HN comments deleted.

1. The data is still necessary for the original purpose

2. HN doesn't rely on consent for this data (I don't think?)

3. I think HN are using legitimate interests, so you could try to object to the processing. I think HN could argue that their legitimate interests override the objection?

4+ Don't apply

So the only one that might work would be point 3. IANAL but it is in HN legitimate interests to keep the comment.

I'm not certain, it seems a bit woolly now I've written it down. It might depend on the seriousness of your objection.

Overall though I think it's important to remember that the right isn't absolute, you can't just have all your data deleted whenever you like. That's not the point of the law.

WilliamMayor··on Show HN: Vantage, run scripts inside easily swappable environments
I made vantage years ago, to scratch an itch I had with using Docker for dev work. I have a bunch of bash scripts in my repo for; spinning up the dev server, running DB migrations, running tests then deploying, etc. etc.

vantage manages the environment for these scripts. Meaning that I can do:

    vantage db migrate
For my local DB, then:

    vantage -e production db migrate
For my production one.

Recently I added bash completion, so I thought I'd post here to see what other people thought.

Let me know :)

WilliamMayor··on Ask HN: The best app to keep a work diary
I really like using a calendar for this. I use Google Calendar and iCloud in Sunrise, on my MacBook, iPhone, and iPad.

Events get a title that provide the project. They then get more detailed in the description. I also have a Google Apps Script that pulls this information into a spreadsheet so it's easy for me to report on my time.

What I like about this system is that it's pretty universal, fits into my current workflow, and it's flexible. Every platform has a calendar app, I don't have to do anything fancy to get my time tracker up and running on a new device. I'm already using my calendar to tell me what things I'm doing today, now I'm also using it to tell me what I did yesterday. Changing dates, times, and descriptions is easy, you just edit a calendar event, you can even do it on the train home when you realise that you've forgotten to update.

WilliamMayor··on Empire of Code – Space Strategy Game from CheckIO
I know it doesn't matter but it strangely bothers me that the example code defines a function's keyword arguments as kawargs.
WilliamMayor··on It's Almost 2015. Update Your Footer
A copyright notice like this on a webpage does not serve to assert your claim to the copyrights of the page. You get those automatically. They serve to assist third parties that are trying to find the copyright holder.

If I find an awesome poem published on a website and I'd like to use it, I have to find the copyright holder. The notice tells me; when (roughly) the poem was written, and who it was written by. I can then find the correct people and hopefully obtain a license.

In 50+ years the notice might tell me that the work is likely to be in the public domain. It won't tell me for sure, but it would be an indicator.

A date range tells me that the poem has been altered over the years. It was first written in X and last altered in Y. You certainly don't want a copyright notice that simply updates to the current year. You're then misleading any person who might be trying to find you. As has been mentioned before, putting an incorrect date would not change your actual copyrights.

I'm currently part of a project (in the UK) looking to simplify the rights processes (focussing on video atm). I've been to several meetings with copyright lawyers and attended some copyright workshops. IANAL though, I just know some.

WilliamMayor··on Complete iOS7 Course – Learn by Building 14 Apps Free
I've been thinking of learning how to make iOS apps, it's on the to-do list. I was thinking that I should learn Swift seeing as it's the new shiny. Should I? Would I be better served learning Obj-C first?
WilliamMayor··on Brendan Eich, We’ve Failed You. I’m Sorry.
I usually think of free speech in this context to mean freedom from state intervention. The state shouldn't be allowed to treat you differently from others because of what you say.

Here we're talking about how the public's treatment of Mozilla and Eich have changed because of their speech. This is perfectly rational.

To give you a counter example. If we accept that "having a right to it" means never "suffering consequences" then I'm never allowed to form an opinion of a person based on the things they say. I have to think "well he said all those racist things but I've never seen him in a KKK uniform so my opinion is still neutral".

TL;DR On issues of free speech we, the people, can make people suffer consequences as we see fit. The state cannot.

WilliamMayor··on Tory Boss of Government Coding Education Initiative Can't Code
I remember hacking

    print "Hello world!"
into

    print "Hello World!"
and crossing my fingers, pressing the button, and being amazed that it worked! I was convinced that somehow it would be more complicated than that.
WilliamMayor··on Tory Boss of Government Coding Education Initiative Can't Code
I've had this conversation with a friend of mine the other day and he raised an interesting point.

When the NHS was first being proposed the doctors at the time were strongly against it. The Health Secretary (Bevan I think) just flat refused to listen to what the doctors were telling him. He told them that it didn't matter what their complaints were, he was going to start a national health service.

If we had a system where you had to be an expert in a field before you could be in government then we would lose things like this. We would also lose problems with idiots running things (cough Gove cough). Overall though, we would never have change, our elected officials would only ever vote to maintain the status quo.

Additionally, we vote for people to represent us in government, I don't know that doctors could ever truly represent my views on health care.

I would just like to add a note that none of the things that I've represented as facts above have been checked. I learnt them in the pub, they might be wrong. Let me know (nicely).

WilliamMayor··on Tory Boss of Government Coding Education Initiative Can't Code
I disagree with very little of what she said. OK, so she doesn't know how to code, she admitted that, and she doesn't know a great deal about technology. She confuses graphic design and coding at one point.

Here is an MP on Question Time saying all the things I want to say on Question Time. Coding is a vital skill that our education system is ignoring. Children that grow up without any idea of how computers work will be disadvantaged. An economy that has no young work force even introduced to coding will not be digitally productive.

When I'm trying to sell the "teach children to code" course that I occasionally run I like to use this metaphor: people that don't know how computers work to even the most basic level aren't people that don't know how an internal combustion engine works. They're people that only know how to get taxis.

So don't hate on this woman (even if she is Tory, even if she does know powerful people) because she's standing in our corner fighting our fight.

WilliamMayor··on [dead]
I don't think fascism is a type of socialism. I couldn't find the word fascism in the socialism Wiki page.
WilliamMayor··on Project: Roadless
As an international student in the UK he probably wouldn't qualify for a student loan[1]. He'll be paying the £9,000 out of his own pocket somehow.

[1] http://www.studylondon.ac.uk/application-advice/faqs/student...

WilliamMayor··on Tesco enters the tablet fray with Hudl
An interesting direction for Tesco, I wonder how they'll do.

I'm certainly not going to buy one, not after the fiasco with their password security (http://www.troyhunt.com/2012/07/lessons-in-website-security-...).

WilliamMayor··on I Stand With Trolls
I think it also means that gossip spreads really far and you never know where all those feathers end up. Even if you could take back what you say, it's hard to find where the gossip has spread to.

I'm reminded of the Friends episode where Ross sleeps with the copy girl.