Better HN
topnewbestaskshowjobs
Log inSign up

dmcg

129 karma · joined Jan 20, 2011 (15y ago) · 60 submissions

Submissions

comment 1y ago · link · parent

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.

2.

First Look at JetBrains Junie Autonomous AI Agent(youtube.com ↗)

4 points · by dmcg · 1y ago · 1 comment

comment 3y ago · link · parent

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.

4.

First Look at JetBrains AI Assistant(youtube.com ↗)

2 points · by dmcg · 3y ago · 1 comment

5.

Stop Using JUnit BeforeEach!(youtube.com ↗)

1 points · by dmcg · 4y ago · discuss

6.

Actions to Calculations(java-to-kotlin.dev ↗)

2 points · by dmcg · 4y ago · discuss

comment 4y ago · link · parent

And as a blog series

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

8.

Kotlin Error Handling – Exceptions, Nulls, Error Types and Total Functions(youtube.com ↗)

4 points · by dmcg · 4y ago · 1 comment

9.

Java to Kotlin Refactoring(youtube.com ↗)

5 points · by dmcg · 5y ago · 1 comment

10.

Writing Software to Write About Writing Software(oneeyedmen.com ↗)

1 points · by dmcg · 5y ago · discuss

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 8y ago · link · parent

Does oneOf not cover it?

comment 9y ago · link · parent

And thanks for the downvote, keep making sure no good deed goes unpunished.

comment 9y ago · link · parent

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.

comment 10y ago · link · parent

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?"

comment 10y ago · link · parent

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?

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

Nice. We made fridge-magnets in my last project to help generate excellent names like these.

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

I wish you luck, but the App Store is a poor place to explain any concept. I'd link to a proper site.

comment 12y ago · link · parent

Assuming you watch the movie once, it's 2 hours no matter how long it was available for.

comment 12y ago · link · parent

That focal point must move in a predictable way, I wonder if a shaped vessel could be under it for long enough.

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

Interesting to compare a view between running and cycling. Runners tend to run on the same side of a road in both directions.

29.

Why is Kim Jong-un always surrounded by people taking notes?(bbc.co.uk ↗)

2 points · by dmcg · 12y ago · 1 comment

12