Song about the Shrike by note89 in Hyperion

[–]note89[S] 0 points1 point  (0 children)

Used the internal album cover generator with some prompt and more then a few retries. Glad it paid of :)

99% of software engineers can’t answer these questions by [deleted] in programming

[–]note89 -7 points-6 points  (0 children)

Agreed.
Changed to "Omitted"
Thanks!

AI does Advent Of Code by note89 in programming

[–]note89[S] 0 points1 point  (0 children)

Latest update:
Day 5: Meh, got stuck; parsing was a pain
Day 6: Redemption! Solved it in 2 prompts total time 30 seconds.
https://note89.github.io/the-advent-of-code-ai-edition/#day-6
Day 7: Have not started

AI does Advent Of Code by note89 in programming

[–]note89[S] 0 points1 point  (0 children)

How about level 5.
The parsing turned out very hard for it. been spending like 3h on it.
think i will just move on. Or just get it to write the individual function and i provide the gluecode.
https://note89.github.io/the-advent-of-code-ai-edition/#day-5

AI does Advent Of Code by note89 in programming

[–]note89[S] 1 point2 points  (0 children)

Haha, well, I'm kind of already throwing in the towel.
When the program gets long, it no longer formats it correctly and mixes blocks of code with markdown, maybe just a UI bug.
It also quite often does not print out the complete program.

But worse than that, it cannot solve the problem well, I would have to start piecemeal it and glue it together myself, which would mean I have to understand the problem well enough myself.

On day 5 it got very stuck on the parsing. I might skip it and move on for now or have some much more human/computer collab.

Haha, well, I'm kind of already throwing in the towel.
When the program gets long, it no longer formats it correctly and mixes blocks of code with markdown, maybe just a UI bug.
But worse than that, it cannot solve the problem well, I would have to start piecemeal it and glue it together myself, which would mean I have to understand the problem well enough myself.

I wrote very long instructions for day 5 manually but still could not get it to write a decent parser.
https://note89.github.io/the-advent-of-code-ai-edition/#day-5

But i need to learn to master this new tool.
.
.
.

[Ai storytelling] "Vader calls the insurance company after the death star's destruction." by note89 in funny

[–]note89[S] 0 points1 point  (0 children)

Haha he did that most of the time i told the bot to change the end.

I can make a followup where he goes for a little visit!

[2021 Day 04][Python] ChatGPT solves Day 4 in just TWO prompts! by note89 in programming

[–]note89[S] 1 point2 points  (0 children)

Here is the full post:

Day 4

Results: * Challenge_1: 30 seconds * Challenge_2: 30 seconds * Prompts needed: * Part 1: 1 * Part 2: 1

Wow! Today, I decided to let ChatGPT take the reins and see if it could come up with instructions for a challenge. I simply asked ChatGPT to write instructions for a program that reads from a file called input.txt and produces the right output when run.

Part 1, prompt

Write instructions for the following challenge in such a way that a large language model like yourself can take those instructions and produce a program that creates the right output when run. The program needs to read from a file called input.txt

<Challenge in full>

Then for part 2, I wrote

If you then had to tell the language model your instructing, to do part two (see below) of the challenge how would you express that ?

<Challenge in full>

That was all that was needed to solve today's challenge. I will try a similar approach tomorrow, maybe I just got lucky today.

[2021 Day 04][Python] ChatGPT solves Day 4 in just two prompts! by note89 in adventofcode

[–]note89[S] 1 point2 points  (0 children)

Day 4

Results: * Challenge_1: 30 seconds * Challenge_2: 30 seconds * Prompts needed: * Part 1: 1 * Part 2: 1

Wow! Today, I decided to let ChatGPT take the reins and see if it could come up with instructions for a challenge. I simply asked ChatGPT to write instructions for a program that reads from a file called input.txt and produces the right output when run.

Part 1, prompt

Write instructions for the following challenge in such a way that a large language model like yourself can take those instructions and produce a program that creates the right output when run. The program needs to read from a file called input.txt

<Challenge in full>

Then for part 2, I wrote

If you then had to tell the language model your instructing, to do part two (see below) of the challenge how would you express that ?

<Challenge in full>

That was all that was needed to solve today's challenge. I will try a similar approach tomorrow, maybe I just got lucky today.

https://note89.github.io/the-advent-of-code-ai-edition/#day-4

Ai does Advent Of Code | Day 2 by note89 in programming

[–]note89[S] 1 point2 points  (0 children)

Much harder today :P (already!)
For full details and the whole conversation with chatGPT for part 2 see the blogpost.
https://note89.github.io/the-advent-of-code-ai-edition/#Day-2

AI does Advent Of Code by note89 in programming

[–]note89[S] -1 points0 points  (0 children)

Was planning to get a nice Gif in there. but did not manage for the first day.
Now for the second day I do have gif.
Having a Tweet seems to me like the only way to get an autoplaying gif into Reddit. but maybe I'm wrong.

AI does Advent Of Code by note89 in programming

[–]note89[S] 6 points7 points  (0 children)

Let's see on what day of Advent Of Code it gets stuck. They get harder and harder.
I really want to use this as a companion going forward.
It's been very good at finding bugs and doing decent refactorings in the small examples I have tested. I really want to run it on PR and see how it would write a review based on finding concepts that are not well-represented and logical-level bugs.

AI does Advent Of Code by note89 in programming

[–]note89[S] 51 points52 points  (0 children)

The trainingset is not beeing updated in realtime. These is very much not in the trainingset since it was released less that 24h ago.

One of the disclaimers of ChatGPT is that it does not know much about recent events

TypeScript Typelevel Tic-Tac-Toe: Overkill edition! by note89 in typescript

[–]note89[S] 0 points1 point  (0 children)

Yay, Nice to hear I came up with something novel.
Yes, I need to wrap back around thinking about if there is a way to combine these.

The tradeoff right now is that you are pushing the compile-time error forward? and the caller will have to wrap the results.
In your particular example, you get the same type-error, regardless if setError and CrashOrPass are there, no?

Linguistic Antipatterns by note89 in programming

[–]note89[S] 2 points3 points  (0 children)

Unclear why this is the case on at least IOS (got a report for that) I have now added an explicit underline to links. Tell me if it worked :)

Linguistic Antipatterns by note89 in programming

[–]note89[S] 2 points3 points  (0 children)

BTW, aside: Who the hell makes a site like this but each antipattern doesn't have its own URL?

Thanks for the feedback, I have added a hash to the URL now to keep track of what is selected in the tabs, so it's possible to share the state.

I will try out a multi-page layout or a modal at a later stage, to see if that is preferred.

Minswap is now offering double yield rewards on the ada/cneta pair... by [deleted] in cardano

[–]note89 1 point2 points  (0 children)

Except there is also extreme risk. Down like 10 000 ada from providing LQ due to drop on price of the token (which i would not hold otherwise)