News for hackers. Stuff that matters.

Alan01252

Re:Ask HN: How can I get better at using AI for programming? on Saturday December 13, 2025 @12:01PM (#46255998)
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.

Show HN: I vibe coded a free typing game for my kids

https://free-kids-typing-games.com

My kids are surprisingly keen to learn to type, and I couldn't find any thing out there which wasA) Free without adverts B) Worked well on mobile/tablets C) Was clutter free and easy to useI wondered how easily I could vibe code a solution.Here's the result.Everything here was "vibe coded" to an extent, the graphics, sounds, art-work, even the github pipelines ( and I used chatgpt to instruct...

( Read More... | 1 comment | on HN )
Re:Coral Dev Board Micro on Friday January 12, 2024 @08:20AM (#38967598)
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.
Re:Should junior engineers be worried about AI? on Tuesday April 04, 2023 @10:51AM (#35440571)
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?

Re:Should junior engineers be worried about AI? on Tuesday April 04, 2023 @07:01AM (#35437715)
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?

Re:Should junior engineers be worried about AI? on Tuesday April 04, 2023 @05:44AM (#35437201)
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.

Re:Kubernetes at GitHub on Wednesday August 16, 2017 @05:06PM (#15031373)
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?
Re:All Twitter Mobile Traffic Is Now Powered by Node.js on Wednesday February 08, 2017 @04:59AM (#13597115)
Out of curiosity ( because we use pm2 here, and it works well ) why would you doubt them using those solutions?
Re:We Can't Let People Work from Home Because on Thursday January 19, 2017 @09:43AM (#13436130)
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. ;)

Re:Disclosing the Primary Email address for each Facebook user on Thursday December 22, 2016 @04:39AM (#13236089)
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
Re:Are We Living in a Computer Simulation? on Monday April 11, 2016 @05:09PM (#11475119)
And perhaps they're using simulations to better understand how they came to be...
Re:Ask HN: How do you debug your code? on Tuesday March 29, 2016 @01:50PM (#11383351)
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...

Re:Three Years as a One-Man Startup on Thursday January 07, 2016 @06:57AM (#10857421)
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 :)

Re:Working fewer hours would make us more productive on Tuesday January 05, 2016 @07:28AM (#10842879)
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.

Re:Working fewer hours would make us more productive on Tuesday January 05, 2016 @07:13AM (#10842825)
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 ;)

Re:Stripe – Outage postmortem on Saturday October 10, 2015 @02:45PM (#10366495)
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.
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. ;)
Re:Composer – Disable GC when computing deps and refs on Tuesday December 02, 2014 @09:53AM (#8687360)
Re:Poll: Freelancers/Consultants – What's your yearly income? on Sunday September 29, 2013 @08:34AM (#6465000)
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.

Re:Poll: Freelancers/Consultants – What's your yearly income? on Sunday September 29, 2013 @07:07AM (#6464804)
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.

Re:A successful Git branching model (2010) on Tuesday September 24, 2013 @10:32AM (#6438122)
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/

Re:Ask HN: Freelancer? Seeking freelancer? (July 2013) on Monday July 01, 2013 @09:10AM (#5970343)
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

Re:Ask HN: Becoming a Freelancer in 6 months? on Wednesday June 26, 2013 @01:11PM (#5947394)
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.

It was approximately £20 a week.

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

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!

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.

Re:My first year freelancing on Wednesday May 15, 2013 @05:50PM (#5715215)
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.

Older »