clojure-austin

mlimotte 2025-02-09T17:16:34.583589Z

I've been trying to use Claude more for code generation. What do you think of this one? The purpose should be clear from the doc string. This took over a dozen iterations. Some of that was me vacillating on exactly the interface I wanted. Plus a couple of bug fixes and code improvements that I instructed it through. I also had it generate some unit tests at the end, but I won't share that here, since they're pretty straightforward.

mlimotte 2025-02-09T17:17:30.726659Z

I learned a few things, so I should be able to do this faster in the future. Importantly, this is a generic function and does not require deep understanding of existing code or of my domain. I'm not sure how well it will do in those cases.

mlimotte 2025-02-09T17:18:14.409479Z

Fun exercise, though. A future Meetup idea could be to share LLM generated functions and swap tips.

mlimotte 2025-02-09T17:18:55.712699Z

Well-- that's my Sunday Clojure fun for the day. Time to go for a bike ride. 🚓

camdez 2025-02-09T17:21:03.330559Z

It’s funny that you mention this now. I’m prototyping a new application at the moment and trying to use AI as much as I can. Definitely still learning how to interact with it… I’ll look at the code more in a bit! I definitely like the idea for the meetup. I know it would help me a lot to hear how other people are doing these things.

dpsutton 2025-02-09T17:43:41.396859Z

i’ve always used it for more ā€œproceduralā€ goal accomplishing stuff, never for the tricky domain of writing macros. What’s your overall impression? Did it save you time? Was it a good pairing assistant on this?

jakebasile 2025-02-09T18:01:05.364589Z

I'm ok with a meetup focused on garbage generators if you don't mind me playing human advocate the entire time

dpsutton 2025-02-09T18:01:38.186949Z

i think over the next two years it will be very important to know how to use LLMs to increase your output. I very much would enjoy chatting about it

jakebasile 2025-02-09T18:02:16.338359Z

If robots can automate our jobs then what's the point?

jakebasile 2025-02-09T18:02:41.391679Z

Surely the elites will share that abundance that they save by not paying our wages!

jakebasile 2025-02-09T18:03:00.386449Z

And the garbage code they generate, who will maintain it?

jakebasile 2025-02-09T18:06:07.608769Z

And this one macro apparently took a dozen tries to get to. Is that really saving time? It's just using a less specified contextful grammar to ask a non deterministic processor to make text that is likely (but not guaranteed) to be code like text

camdez 2025-02-09T18:06:10.153749Z

I’d suggest not committing any garbage. > If robots can automate our jobs then what's the point? I think this cuts a couple different ways. Why waste time on the parts the robots can do quickly? Or if you’re just aiming for drudgery, why not write assembler? Maybe on punch cards?

jakebasile 2025-02-09T18:07:25.137489Z

I don't think software engineering is a waste of time, personally. I enjoy it and like that I can make a living doing it

jakebasile 2025-02-09T18:07:52.240789Z

It's offensive to me to the core that glorified random number generators built on stolen code are being propped up as replacements for real human beings

jakebasile 2025-02-09T18:08:42.185979Z

And I have yet to gain any benefit from them. Every single time I've tried to use one to generate even basic code it leaves something that I'd normally want to throw into the garbage

camdez 2025-02-09T18:09:08.429869Z

Then it must have been especially offensive when even simpler machines like the cotton gin replaced humans.

šŸ˜‚ 1
dpsutton 2025-02-09T18:09:31.293669Z

ā€œglorified random number generatorsā€ is just not really wrestling with the reality of them and what the future will be. Learning how to use them to augment your own efforts will be more and more necessary i think.

jakebasile 2025-02-09T18:09:32.484359Z

How did the people working cotton gins feel when they lost their livelihood?

jakebasile 2025-02-09T18:10:17.484299Z

I truly hope not. What a bleak future

camdez 2025-02-09T18:10:52.464019Z

Probably not great but I’m not sure that means we should have rejected the technology.

jakebasile 2025-02-09T18:11:22.945809Z

Did the people whose lives got destroyed by it benefit greatly from the increased GDP?

jakebasile 2025-02-09T18:12:24.880039Z

I just don't get why so many devs are rallying around a technology that the rich are only interested in to replace them with

jakebasile 2025-02-09T18:12:47.317239Z

These generators exist solely to remove humans from jobs

dpsutton 2025-02-09T18:12:52.028949Z

my view is the future will change no matter what. I can learn how to leverage new tools or wish they didn’t exist.

jakebasile 2025-02-09T18:13:20.920779Z

I prefer to fight for the future where human creativity still exists

jakebasile 2025-02-09T18:13:34.000179Z

And not just manufactured and laundered copyright infringement machines

dpsutton 2025-02-09T18:14:35.229119Z

i’m interested in that i suppose. but how are you fighting?

jakebasile 2025-02-09T18:14:54.285099Z

I argue against usage of golems at every opportunity

camdez 2025-02-09T18:14:55.917799Z

I don’t think there exists a future where human creativity goes away so long as humans are alive.

jakebasile 2025-02-09T18:16:27.320349Z

I mean all you have to do is listen to what the AI maximalists say to understand that is the goal

jakebasile 2025-02-09T18:16:44.898789Z

Microsoft just talked about a SWE agent

jakebasile 2025-02-09T18:16:54.106319Z

It is the clear goal to automate our entire profession

jakebasile 2025-02-09T18:17:33.967259Z

I disagree that is possible, but these people are not our friends nor do the AI companies have human dignity and interests in mind. That's obvious as well by the fact that all AI is trained on stolen data

camdez 2025-02-09T18:17:57.800949Z

Sure, but you’re simultaneously saying the tech is total garbage and that it is so powerful that it will replace human ingenuity.

jakebasile 2025-02-09T18:18:32.420739Z

I'm saying that right now it is garbage. God willing it will remain so, but the clear goal of the AI folks is total human replacement so why should anyone support that?

jakebasile 2025-02-09T18:19:26.680839Z

"We're announcing a new project to create a total human death bomb. Right now it only works in theory and our tests can only kill a few propel rather than the entire human race."

camdez 2025-02-09T18:19:33.178739Z

I think you’re painting with an overly-broad brush there. I would not support anyone who wanted to replace all humans.

jakebasile 2025-02-09T18:20:07.622759Z

It's instructive to follow through what the AI maximalists say to logical conclusions

jakebasile 2025-02-09T18:20:23.979199Z

We have on one end the group that wants to automate all white collar knowledge work

jakebasile 2025-02-09T18:20:40.149749Z

We have another set that want to make physical robots to automate all physical labor

jakebasile 2025-02-09T18:20:53.761989Z

What do you think will happen if one or both are achieved?

jakebasile 2025-02-09T18:21:29.021359Z

Can we look to history to see if, when previous similar automation technologies were developed, the benefits of productivity were equally shared?

jakebasile 2025-02-09T18:22:17.206429Z

Or were the people whose entire lives got upended simply left to rot

jakebasile 2025-02-09T18:23:35.957799Z

Do you honestly believe that the AI overlords will share the benefits with us? There is no universal post scarcity here.

camdez 2025-02-09T18:23:36.675119Z

I don’t have time to respond to all of this on the fly. But this clearly seems like a good topic of conversation for a meetup. I think you’re painting another false dichotomy… the benefits of productivity are rarely shared equally. But they are often a win for the average human. Both can be true at once.

camdez 2025-02-09T18:24:14.380329Z

I do think we should resist having AI overlords, so that is a point of common ground.

šŸ‘ 1
jakebasile 2025-02-09T18:25:01.372809Z

Yeah in that we agree

jakebasile 2025-02-09T18:25:34.863329Z

If this is inevitable and I'm not yet convinced it is, I strongly believe we should rally behind open tech for it

camdez 2025-02-09T18:31:28.264129Z

What do you think is the possible path to the technology going away? A global ban? I’m not sure how to think about it not being inevitable.

jakebasile 2025-02-09T18:52:40.918979Z

There have been many AI winters before and hopefully another one comes soon. It's not at all evident to me that they've passed the final hurdle.

mlimotte 2025-02-09T19:28:08.621239Z

Whew. I missed a lot it on e 🚓 ride. I think AI has many more hurdles, but the current hurdle I believe unlocked a lot of economic potential. > What’s your overall impression? Did it save you time? Was it a good pairing assistant on this? Reasonably enjoyable. Not sure if this first attempt saved me time or not. I learned some things about how to use it, that I think will make my future attempts faster. But perhaps the end result is better. In this case, I started down one path, then realized that wasn't the best interface. If I was hand coding it, I may have stopped there-- and maybe dropped in a TODO about how to improve it the future. In this case, I was able to just tell Claude to make the change.

mlimotte 2025-02-09T19:35:15.294679Z

> If robots can automate our jobs then what's the point? This POV may be a little disingenuous. A lot of what we do as software developers is about automating things that will eliminate other jobs. Before there were spreadsheets and accounting software, many humans were maintaining physical sets of book with lists of numbers. Luckily, those people were able to find other jobs. In the end, the increased economic activity led to an expansion in the number of jobs, not a reduction. Here, too, even if Claude created this macro perfectly and bug free, with just a few iterations; I was careful to point out at the top of this thread: > ... this is a generic function and does not require deep understanding of existing code or of my domain Only a very small percent of my workday is tasks like this. Most of my time are much bigger thing about weighing tradeoffs, understanding the impacting of architectural choices and how they relate to my business domain, interpreting requirements, etc, etc. My belief is that these tools can help with the simpler stuff. Leaving me more time to focus on the bigger picture.

jakebasile 2025-02-09T19:36:56.175649Z

I agree that what these tools can successfully automate, if possible, is not all that we do. But you're naive if you don't think that automating our entire profession is the goal of every investor in this technology

mlimotte 2025-02-09T19:37:11.640839Z

> How did the people working cotton gins feel when they lost their livelihood? Sadly, the people replaced by the Cotton Gin were slaves. Sad because that didn't mean an end to slavery, it meant an explosion. The ability to harvest cotton in bulk drove the economy to expand. This led to a much higher demand for slaves to do all the other jobs.

jakebasile 2025-02-09T19:37:20.201729Z

https://apple.news/ADBxsaigxRRSP_FabFMMjrQ

jakebasile 2025-02-09T19:38:04.059679Z

The idea that automation creates more jobs is not always true and historically hasn't been the accepted theory

jakebasile 2025-02-09T19:38:35.324349Z

It's an old debate https://en.wikipedia.org/wiki/Technological_unemployment?wprov=sfti1#History

mlimotte 2025-02-09T19:39:12.252759Z

> But you're naive if you don't think that automating our entire profession is the goal of every investor in this technology I didn't say that I don't believe that. But I think it will take a while and since it's happening, the question for me is: how do we respond? How do we prepare personally and as a society for that inevitable future?

jakebasile 2025-02-09T19:42:51.337249Z

That's fair. I don't agree that it's inevitable though - just that it is the (sometimes unstated) goal of the AI folks. I think the question of how do we respond personally is to hedge bets. I try these things every so often, remain unimpressed, and leave them until I hear some new golden calf has been unveiled. This has repeated for me many times over the past AI craze. If I start being impressed by them I'll try to integrate them where appropriate but that hasn't happened yet. I also try to be the voice of reason in tech circles that tend to be AI positive by bringing the reality of what the goals of the tech is to the conversation

jakebasile 2025-02-09T19:43:52.633969Z

"Yes this thing can help but remember that the goal of the company behind it is your financial ruin" is an important point that is often forgotten or handwaved away

mlimotte 2025-02-09T19:43:57.937039Z

Perhaps the cases where it isn't true are local minima. Some people will be directly impacted. I feel for the taxi drivers in New York who paid over a million dollars for a Taxi medallion, whose value plummeted when Uber hit the scene. I don't think these are untrue. The argument is rather about System level thing: over time, the impacts of technology lead to more opportunity and more wealth across the system. It's whole 'nother debate if wealth equates to happiness, though.

jakebasile 2025-02-09T19:44:21.537749Z

On happiness alone, AI is also a net negative in my experience

jakebasile 2025-02-09T19:44:35.719279Z

AI related tools have lessened my enjoyment of multiple hobbies

mlimotte 2025-02-09T19:44:44.758329Z

So is Social Media. Can you kill that for? As a personal favor.

jakebasile 2025-02-09T19:45:38.470209Z

Photography is plagued by AI fakery. Gaming is attacked on multiple sides: the advent of fake frame generation, up scaling, and so on along with AI demand driving up GPU prices astronomically.

mlimotte 2025-02-09T19:46:08.931469Z

šŸ‘ Valid concerns.

jakebasile 2025-02-09T19:46:31.105719Z

Social media has gotten worse with AI fakes plaguing it. Movies have gotten worse as producers attempt to save money by generating frames.

jakebasile 2025-02-09T19:47:02.873589Z

Spotify is now full of fake artists with generated "songs", drowning out real artists

jakebasile 2025-02-09T19:48:40.694709Z

Right this moment it is literally impossible to purchase a GPU above midrange for anything approaching MSRP

jakebasile 2025-02-09T19:49:45.877929Z

Nvidia made about 1000 5090s and they sold out in nanoseconds. They have no incentive to make more since AMD gave up on the high end this cycle and Nvidia can sell the same silicon for 50x the price to corporations aiming to replace humans

jakebasile 2025-02-09T19:50:49.364769Z

That hardware is used to run games that look worse since they're half fakes or more now since it is cheaper for game developers to integrate AI models to fake pixels than it is to pay programmers and artists to make real images

staypufd 2025-02-10T12:34:41.750329Z

As for quality of the graphics and video, I’d say this demo video of Einstein talking and moving is pretty damn good.

jakebasile 2025-02-10T17:08:57.417749Z

Relevant link I happened across today. https://thebullshitmachines.com/

dpsutton 2025-02-10T17:11:13.114919Z

> For better or for worse, LLMs are here to stay. We all read content that they produce online, most of us interact with LLM chatbots, and many of us use them to produce content of our own. > In a series of five- to ten-minute lessons, we will explain what these machines are, how they work, and how to thrive in a world where they are everywhere. > You will learn when these systems can save you a lot of time and effort. You will learn when they are likely to steer you wrong. And you will discover how to see through the hype to tell the difference. ? I very much agree with this. They aren’t going away, they are useful, learn to use them

jakebasile 2025-02-10T17:12:39.995109Z

From my perusal of it, that intro is decidedly more positive an assessment then the meat of the site

jakebasile 2025-02-10T17:12:57.098009Z

LLMs are extremely good at convincing humans they think, but they do not think

jakebasile 2025-02-10T17:31:05.364759Z

In addition, "they're here, they're useful" is begging the question. These things are essentially brand new and it's not at all proven to me that they're useful. What does it mean to be useful here? Are they useful to the individual? Are they useful to humanity? Are they useful to the rich or the poor alone? I think that's the thrust of the entire debate in this thread. Is it useful to have mountains of code that has been hallucinated by a non deterministic word generator? Is it useful to have less software engineers capable of writing actual code? Is it useful to generate more "art" putting artists out of work? Is it useful to have a huge portion of internet traffic dedicated to stealing content to train these models on? Is it useful to use a fantastic amount of electricity to train and run these models?

jakebasile 2025-02-10T17:33:00.649399Z

Is it useful to give up writing concise, clear, context free code that can be compiled the same way every single time in favor of writing "prompts" to try to get a math model to generate that code?

dpsutton 2025-02-10T18:01:31.538649Z

> ā€œYou will learn when these systems can save you a lot of time and effort.ā€ it was your link šŸ™‚

jakebasile 2025-02-10T18:04:55.631719Z

I don't think that's the sole determinant of useful

jakebasile 2025-02-10T18:05:10.293969Z

Not writing tests also saves time and effort initially

jakebasile 2025-02-10T18:06:05.183159Z

Now we can have silicon parrots hallucinate what might be tests to check if the code like words they generated might do what we asked it to do. Is that useful?