HNHacker News
TopNewBestAskShowJobs

dmcg

129 karma · joined January 20, 2011

submissionscomments
dmcg··on First Look at JetBrains Junie Autonomous AI Agent
Last month Jetbrains released an early access preview of their new AI tool Junie. Junie is an agent. This means that we can give it a goal, it will devise a plan, and then execute tasks autonomously. It can even change its behaviour based on how things are going.

In this first look at Junie I’m going to tell it the rules of Test Driven Development and see how well it can follow the process. As in the last episode, I will write the tests, and ask Junie to write the implementation code.

This one is really, really interesting.

dmcg··on First Look at JetBrains AI Assistant
I’m taking a break from my normal content this week because JetBrains have just released an early access preview of their AI Assistant, and I wanted to be the first to make a video on it!

As luck would have it, I needed to make a diagram of the package structure of the Gilded Rose codebase, and I couldn’t find anything in the IntelliJ menus, so I thought that I’d see if AI assistant could help.

By the way, to access the tool, you need to download IDEA 2023.2 EAP, and log in to the AI service - details are here https://blog.jetbrains.com/idea/2023/06/ai-assistant-in-jetb... There seems to be a bit of a waiting list, so I hope that this isn’t too much of a tease if you don’t get access straight away.

dmcg··on Kotlin Error Handling – Exceptions, Nulls, Error Types and Total Functions
And as a blog series

http://oneeyedmen.com/failure-is-not-an-option-part-1.html

dmcg··on A Better Model for Stacked Pull Requests
This. Not the speculative builds thing, but the organising your codebase so that you don’t have this problem.

Our code structure needs to support both the functionality required by our customers, and our needs as developers.

dmcg··on Again on 0-based vs. 1-based indexing
This reminds me that because array access is just addition, in C you can also write 2[a] to access the third element of a.
dmcg··on Document your code just by hitting “record”
In the same timescales I was thinking the same thing, but in particular recording the conversation between pair programmers.

OneNote had (has?) a mode where you could click on sections of a meeting note and hear the audio from the time the text was written.

Extend that to an IDE and every time you found yourself saying “what were they thinking when they wrote this?” you could listen in on the conversation and find out.

dmcg··on JSON Schema
Does oneOf not cover it?
dmcg··on The Exquisitely English (and Lucrative) World of London Clerks
And thanks for the downvote, keep making sure no good deed goes unpunished.
dmcg··on The Exquisitely English (and Lucrative) World of London Clerks
My interpretation:

He said "I'm not going to take a penny more [than 10%] from you."

They heard "I'm not going to take a penny more [than all the money I have already taken] from you."

They were too polite to press the case once the misunderstanding became apparent.

dmcg··on Having fun with Go's nil, interfaces and errors
Is this confusion just so that we can ask the type of a nil interface value at runtime?

A man orders coffee in a restaurant.

"Would you like it with or without cream?"

"Without"

A few minutes later the waiter returns.

"I'm sorry sir, we've run out of cream. Would you like it without milk instead?"

dmcg··on ParparVM – Open Source JVM for iOS
I'm confused. I don't think this is a JVM - it doesn't load and exectute byte-code at runtime. So is it a cross-compiler to C with a runtime that manages GC?
dmcg··on The Benefits of 'Mob Programming'
I've been pair-programming for over 15 years now, and was introduced to mobbing by Woody and Llewellyn a couple of years ago. I've tried it in a couple of teams for specific tasks. I don't think that in a team of experienced devs I would mob all the time (although if the team wanted to I wouldn't veto it), but it definitely has its place. In particular for learning new techniques, large refactorings and exploring solutions with customers.
dmcg··on The Benefits of 'Mob Programming'
The Unruly mob is very much a ground-up movement. These guys mob when it suits them - they tried it as an experiment and found that it works for them.
dmcg··on Java: Real or Not?
Nice. We made fridge-magnets in my last project to help generate excellent names like these.
dmcg··on Programmers: Before you turn 40, get a plan B (2009)
I really didn't see any issues other than day-rate-compression through my 40s. Now I'm nearing 50 my memory definitely isn't what it used to be, but my expression in code is improving to compensate.

I feel that my influence and ability to drive good outcomes gets better as I learn more about myself, but the nurses here are telling me to go back to bed, so I'll have to turn off this computer thing now.

dmcg··on 9 truths that computer programmers know that most people don't
I was thinking that his point here would be that we always have to consider the noop case, the empty list etc. But no, so this item ironically added nothing to the piece.
dmcg··on Four&me – Connect with great people and get together for amazing activities
I wish you luck, but the App Store is a poor place to explain any concept. I'd link to a proper site.
dmcg··on Cheap Beer and the Psychology of PlayStation Now Pricing
Assuming you watch the movie once, it's 2 hours no matter how long it was available for.
dmcg··on Student’s six-foot water and solar-powered lens purifies polluted water
That focal point must move in a predictable way, I wonder if a shaped vessel could be under it for long enough.
dmcg··on Global heatmap of cycling and running routes
I wonder how many of those data points are mine? Disappointingly I can't find any route that I alone have run or ridden - that's something to fix this summer I think.
dmcg··on Global heatmap of cycling and running routes
Interesting to compare a view between running and cycling. Runners tend to run on the same side of a road in both directions.
dmcg··on Is Flash Dead Yet? - 2010
Please edit the title to include 2010, so others can at least avoid the slow realisation as they read the article that this is not a contemporary analysis.
dmcg··on Improve Your Python: Metaclasses and Dynamic Classes With Type
I'd like to buy the book, but is it really necessary to enter my email and password, twice each, then give my address, all to give you money through PayPal?
dmcg··on Visual Studio 2013 released to web
and the fact that you've had to do that since I was using VC6 in 1995 is the indictment.
dmcg··on Shutting Down a Dream
As someone who can't let anything go, I found this is touching and inspiring. Thanks for having the courage to give it a go, and to stop.
dmcg··on B go beyond – Quadcopter/RC car combo
If I was procuring military reconnaissance kit I'd be all over this. Efficient and quiet, but able to cross streams and obstacles way bigger than it.
dmcg··on Simple Raspberry Pi Rack
I like articles that put the hack back into Hacker News.

In a similar vein - http://www.doctormonk.com/2013/02/raspberry-pi-and-breadboar...

dmcg··on Multithreaded recalculation in Excel
Interesting - PHONETIC not thread safe. There must be a story behind that, as its not obviously a contended resource. http://office.microsoft.com/en-gb/excel-help/phonetic-functi...
dmcg··on Things Java Programmers can learn from Clojure
Maybe constraints rather than craziness? Constraints tailor a language, make it fitter for one purpose or another. But you have a limited constraint budget - overspend and everything is difficult.

As an old boss of mine (hi Paul Earwicker) used to say - "flexibility is just design decisions you haven't taken yet."

dmcg··on The best programmers are the quickest to Google
and when Google fails, a well posed question on Stack Overflow can get results in 10 minutes. I worked my way through a whole Scala project that way - Stack Overflow Driven Development.
Page 1 of 2Next →