HNHacker News
TopNewBestAskShowJobs

Alan01252

757 karma · joined September 30, 2010

http://alanhollis.com
submissionscomments
Alan01252··on Ask HN: How can I get better at using AI for programming?
I've been heavily vibe coding for a couple of personal projects. A free kids typing game and bringing back a multiplayer game I played a lot as a kid back to life both with pretty good success.

Things I personally find work well.

1. Chat through with the AI first the feature you want to build. In codex using vscode I always switch to chat mode, talk through what I am trying to achieve and then once myself and the AI are in "agreement" switch to agent mode. Google's antigravity sort of does this by default and I think it's probably the correct paradigm to use.

2. Get the basics right first. It's easy for the AI to produce a load of slop, but using my experience of development I feel I am (sort of) able to guide the AI in advance in a similar way to how I would coach junior developers.

3. Get the AI to write tests first. BDD seems to work really well for AI. The multiplayer game I was building seemed to regress frequently with just unit tests alone, but when I threw cucumber into the mix things suddenly got a lot more stable.

4. Practice, the more I use AI the more I believe prompting is a skill in itself. It takes time to learn how to get the best out of an Agent.

What I love about AI is the time it gives me to create these things. I'd never been able to do this before and I find it very rewarding seeing my "work" being used by my kids and fellow nostalgia driven gamers.

Alan01252··on Coral Dev Board Micro
I would really love to pick your brains on this. Did you do anything special with Frigate to do the stream processing ( hardware offloading etc? ) or was it simply plug and play.
Alan01252··on Should junior engineers be worried about AI?
Are you saying that chatgpt wouldn't be able to achieve the digestible bites you're talking of? In which case, at what point do they become digestible? Is that not dependent on the skill of the person doing the digesting? and up to the engineering lead to determine?

I have never once stated that the work the juniors are doing isn't real or interesting, that's an assumption you've made, and I'm trying to state the contrary?

Alan01252··on Should junior engineers be worried about AI?
A master crafts person in any field can not become an expert without years of practice and repetition.

Should we therefore always just outsource tasks because the work could do be done faster? does that mean that the experience of doing something that could be done by someone else is less valuable?

ChatGPT could likely answer every leetcode question going? Does that mean there's zero value in a human attempting to answer these questions?

Alan01252··on Should junior engineers be worried about AI?
There exists a plethora of real world coding challenges that are beyond typical boilerplate code that ChatGPT has in my experience been able to produce entirely acceptable working solutions for.

The skill of the engineering manager is indeed finding tasks that continue to be rewarding, challenging, fun as the developer progresses.

Alan01252··on Kubernetes at GitHub
I'm curious to what this means for the existing puppet code base, is it now irrelevant, or are there still usages for it in the k8s world?
Alan01252··on All Twitter Mobile Traffic Is Now Powered by Node.js
Out of curiosity ( because we use pm2 here, and it works well ) why would you doubt them using those solutions?
Alan01252··on We Can't Let People Work from Home Because
I don't think ones better than the other per say. It's just different.

I've been in meetings in a room full of people knowing that absolutely no one wants to be there, and no one really knows what they're doing there.

I've been online talking one to one with someone and completely not understood what they were talking about.

Both have pros and cons and the appropriate medium can be chosen based on the situation that's needed.

I'd argue it's a very rare event that a lot of people really need to be in a room together to communicate; when they do a lot more pre-room preparation needs happen than I normally see. ;)

Alan01252··on Disclosing the Primary Email address for each Facebook user
Who said anything about building a product.

  1. Find niche on facebook
  2. Find appropriate nice product with affiliate scheme
  3. Harvest Emails
  4. Send email with product ( low conversion, but who cares? )
  5. Repeat
Alan01252··on Are We Living in a Computer Simulation?
And perhaps they're using simulations to better understand how they came to be...
Alan01252··on Ask HN: How do you debug your code?
I'm using debug logging ( that isn't deleted ) more and more as I code. It's useful not only for solving the current problem you're experiencing but also helps the next person understand what the code is/isn't doing, adding to its self documenting nature.

Debuggers are great, but the knowledge gained by using them to solve a problem is completely lost once that close button has been pressed.

Also if I'm having to use a debugger to work out what's going on, usually it's a good sign my code is overly complicated...

Alan01252··on Three Years as a One-Man Startup
I'm assuming you get a lot of support financially from your partner / have a big runway? I can't imagine living on £9k a year without such? How do you survive?

edit: I Worry this comment comes across the wrong way. I've been desperate to do a startup for years, but the financial aspect of it has always scared me. I was told at a Hacker News meetup that I probably don't have the entrepreneurial spirit, which the more I think about it, the more I agree with. I'm curious as to how your mindset works :)

Alan01252··on Working fewer hours would make us more productive
The reduction in hours has allowed me to do activities which overall make me happier and less inclined to drink.

I now do a lot of running and bodyweight fitness. Drinking decreases my performance in those two activities and so I tend not to drink as I get far greater happiness from dropping a second in my minutes per mile than I do from having three pints during the week.

Alan01252··on Working fewer hours would make us more productive
Purely anecdotal I know, but since giving up my job in the city and going freelance I have indeed spent far less time drinking and far more time exercising.

A quick one after work was far too common. I buckled far too easily to peer pressure and conformity. After all it's the done thing to do right? A crap day at work is solved by a pint (or three) after? And a good day at work... well that could be considerably more ;)

Alan01252··on Stripe – Outage postmortem
I try to at least have the slow query log on and monitored in staging. It's pretty easy to forget an index and not notice in a dev environment.
Alan01252··on Get Notified When Someone Posts an Article from Your Domain on Hacker News
This reminded me of this http://hnalerts.com/. I think it still works. Mind you it's been a long time since I've submitted anything that made it to the front page. ;)
Alan01252··on Composer – Disable GC when computing deps and refs
The pull request is better:

https://github.com/composer/composer/pull/3482

Alan01252··on Poll: Freelancers/Consultants – What's your yearly income?
Complaining is the wrong word. I'm aware more than ever now that what I earn is entirely in my hands and my ability to sell myself.

Having the confidence in you're own ability in order to sell yourself for more money is what I was talking about.

If others are earning more than me with an ability I deem to be less than mine, then I need to learn the skill they are better than me at. Being able to sell themselves.

Alan01252··on Poll: Freelancers/Consultants – What's your yearly income?
I turned over ~$80k in my first year freelancing. This year will be substantially higher.

Battling against imposter syndrome and finding out how much your worth to a company/business is one of the hardest things about freelancing. I still today believe I'm undercharging for my skill set. Especially when I compare my ability/experience to those I'm working with who are earning a similar amount of money.

At the same time, money really isn't everything. I've worked many more days this year than I did the last, and that's come with certain sacrifices. No longer going for Monday afternoon walks with my sister and niece is something that I really miss now.

The trick is, as far as I'm concerned, not to compare what you're earning to others, and be happy with your own work/life/financial balance.

Alan01252··on A successful Git branching model (2010)
We've just started using this where I'm currently working, and it definitely makes a lot of sense.

There's a command line tool which helps you keep to this branching model. Available here.

https://github.com/nvie/gitflow

Unfortunately it seems to of been abandoned by the author. A more active fork is available here

https://github.com/petervanderdoes/gitflow

Note that if installing on Ubuntu using apt, you'll get the no longer maintained version.

This cheat sheet helped me get up and flowing fast.

http://danielkummer.github.io/git-flow-cheatsheet/

Alan01252··on Ask HN: Freelancer? Seeking freelancer? (July 2013)
SEEKING FREELANCER - Central London UK - On site preferred

Two experienced PHP contractors required for three months to assist with the development of new internal systems.

I am posting on behalf of a second tier data and communications provider looking for a contractor on a short term basis to help develop new systems to assist with the day to day running of the business.

Stack

* PHP 5.4/5.5

* MySQL / Maria DB

* Symfony/Silex frameworks

Desired experience

* Creation of RESTFUL apis

* Experience with test driven development

* Strong object orientated methodologies using SOLID design patterns.

* Use of a version control system ( git / mercurial / svn )

Please send CV to

CarolAnn.Connor [at] 6dg.co.uk

Alan01252··on Ask HN: Becoming a Freelancer in 6 months?
How I got work as a freelancer in one month.

Created an on line presence/blog. Wrote about skills I have on blog. Posted some programming posts. Went to Craigslist / Gumtree. Emailed people looking for people with skills I had. Navigated to Google. Searched web agencies near my town. Emailed web agencies. Wrote more emails. Answered phone and replied to emails. Told customers my rate ( it was too low ). Easily got work. Did good work. Got paid. Increased rate. Repeated.

Alan01252··on Poll: Full-time software engineers in London, what's your annual salary?
It was approximately £20 a week.

In the summer I used to walk which took around 40 minutes so I spent a little less.

Alan01252··on Poll: Full-time software engineers in London, what's your annual salary?
I lived comfortably in zone 2 on £40k a year.

I was paying £250 a week rent for a one bedroom flat in a complex with gym + pool in zone 2.

Rent prices are a little higher than they were two years ago now though!

Alan01252··on Poll: Full-time software engineers in London, what's your annual salary?
No longer full time, but I thought I'd share my salary journey.

Graduated ( computer network management and design ) working in Portsmouth started on £16k (software developer).

Three years with the same company progressed to £25k.

Moved to London salary £33k

Two years with the same company salary rose to £40k

Went travelling, came back, started freelancing/consulting earned ~£50k last year.

Alan01252··on My first year freelancing
Yet a year ago despite having the charge more mantra instilled in me by this community I was still charging too little.

It wasn't until I realised that even very small companies could afford ( without hesitation ) the rate I was charging that I really started to raise my rate.

Anecdote:

A small company got in contact with me asking for one days help solving a few teething problems with their new e-commerce site. I was sceptical and so put my rate up thinking that would immediately put them off. It didn't, instead they'd stated at that price they'd prefer to pay for two days of my time and make sure everything they wanted was done properly.

Alan01252··on Rich vs. King in the Real World: Why I sold my company
My Dad did exactly the same thing. He ran a steel company with profits of around £600,000 was offered ~£2 mill for the company and turned it down. The recession of the 1990's came and completely wiped out the steel/construction industry and his company went under.

In the highly unlikely event I'm ever given that opportunity I'll definitely pick Box A, I've seen first hand just how hard it can be when Box B doesn't work out.

Alan01252··on Code Reads
Stumbled across this today, http://guru.sensiolabs.com. Seems to answer your question well!
Alan01252··on How To Become a Successful Freelance Web Developer (and Not Kill Your Career)
I'm very very cautious with retainers. The stable income is nice to have, but at the same time you have to make sure the contract terms doesn't debilitate you from working with other clients / finding new clients.

Guaranteeing an amount of days per month sounds great, but juggling commitments around these retainers and other customers is ( in my experience ) incredibly difficult, not to mention stressful.

Alan01252··on How To Become a Successful Freelance Web Developer (and Not Kill Your Career)
This really comes down to confidence in your ability.

I wrote http://myanimcalcam.com by myself. This site is definitely more complex than a standard Wordpress install, but didn't require a team.

I also find adding features to existing sites a good source of "interesting" income. "I've got a website that does this but I need it to do this too" is a common problem I solve for my clients.

Also I'm not afraid of straying away from the "I built websites role" by producing in house systems for companies. A lot of these applications can be done by a single developer.

Page 1 of 4Next →