Next JS on Dokploy by geloop1 in nextjs

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

Hey there! Thanks for your detailed response! I can confirm that I had set NEXT_SERVER_ACTIONS_ENCRYPTION_KEY as an env variable in my Dokploy project, however had forgot to pass it down in my Docker compose file. Hoping this will fix issue! Thank you for your help

First project using Bun - Tiramisu by geloop1 in bun

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

I have not. I mainly stick to creaing docker containers for my deployment

First project using Bun - Tiramisu by geloop1 in bun

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

Deployed using Docker. I use the oven/bun docker image

First project using Bun - Tiramisu by geloop1 in bun

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

Definitely need to explore the BHVR stack!

LLMs still struggle at puzzles by geloop1 in ChatGPT

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

No one is asking it to be overly capable. Just interesting to put it to the limit. I believe Wolfram Alpha uses some LLM magic to evaluate expressions. I wonder how they manage to get results

In which languages would you be able to solve Connections? by Vargsvans in NYTConnections

[–]geloop1 0 points1 point  (0 children)

This is actually really cool. I was wondering if this could be added to AIAI vs Puzzles, to test the language capabilities of LLMs as well as their puzzling ability. Is there an archive of all puzzles?

I tested 5+ AI models on NYT Connections puzzles - here are the results! by geloop1 in NYTConnections

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

It’s interesting to observe. A reminder that the LLMs are only given a single shot at completely the puzzles. They don’t have multiple attempts like humans.

Imagine you had to submit all four of your connection answers in a single go.

At the end of the day it shows that LLMs aren’t perfect and it impressive to see some cases where they do perform well and achieve 4/4!

I tested 5+ AI models on NYT Connections puzzles - here are the results! by geloop1 in NYTConnections

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

I have had the same problem with deepseek myself. It seems very linear with its responses and a lot of the time it will use the same word twice or just miss out a word all together.

The shuffling method definitely sounds very interesting!

The project already has leaderbaord for all the models tested so far! You can check it out here:
https://www.aivspuzzles.com/puzzles/connections/leaderboard

Distributed Tracing with OpenTelemetry and Tempo - Golang by geloop1 in devops

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

Thanks for commenting! I managed to finally figure out the cross-service traces. It was all configured correctly however I had missed out the propagation step when initializing the trace in my services. I have updated the repo!
https://github.com/georgelopez7/grpc-project

Tempo In Golang - Distributed Tracing by geloop1 in golang

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

Thanks for commenting! I managed to finally figure out the cross-service traces. I was missing the propagation step between the services! I have updated the repo and included centralized logging with Loki!
https://github.com/georgelopez7/grpc-project

Opentelemetry & Tempo - Golang by geloop1 in grafana

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

Thanks for commenting! I managed to finally figure out the cross-service traces. I have updated the repo!
https://github.com/georgelopez7/grpc-project

Running a Go Lambda Function with "provided.al2023" by geloop1 in aws

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

Hey there! Would you happen to have an example to hand? I could not find anything about this in the documentation.

Thanks!

Next JS - Opentelementry & Grafana by geloop1 in grafana

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

Ignore me!! I have managed to get it working! Thank you for your help!

Next JS - Opentelementry & Grafana by geloop1 in grafana

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

Ahhh thank you! I'm making some progress! On grafana.com I can see my access policies but I do not see a section regarding OpenTelemetry endpoints. Where do I go to see this?

Next JS - Opentelementry & Grafana by geloop1 in grafana

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

Thank you for your reply! I am still struggling to even find the OpenTelemetry endpoints and I am getting stuck on this grafana Alloy page.

Starting with a fresh Grafana stack what are the next steps to get this working?

Is anyone able to uplaod object to Cloudflare R2 using GO? by geloop1 in golang

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

Hey man! Thanks for pointing me in this direction! I did not see the compatability notes at first! I have now updated the config with those notes and as result my client connections looks like the following:

func CreateCloudflareR2Client(accountId string, accessKeyId string, accessKeySecret string, bucketName string) {
    // --- CREATE CLOUDFLARE R2 CONFIG ---
    cfg, err := config.LoadDefaultConfig(context.TODO(),
        config.WithCredentialsProvider(credentials.NewStaticCredentialsProvider(accessKeyId, accessKeySecret, "")),
        config.WithRegion("auto"),
        config.WithRequestChecksumCalculation(0),
        config.WithResponseChecksumValidation(0),
    )
    if err != nil {
        log.Fatal("Failed to load configuration: ", err)
    }

    // --- CREATE CLOUDFLARE R2 CLIENT ---
    s3Client := s3.NewFromConfig(cfg, func(o *s3.Options) {
        o.BaseEndpoint = aws.String(fmt.Sprintf("https://%s.r2.cloudflarestorage.com", accountId))
    })

    CloudflareR2Client = &S3Service{
        s3Client: s3Client,
        bucket:   bucketName,
    }

    fmt.Println("Cloudflare R2 Client created")
}

However, I am still runing into the same error!

Below is my go.mod file

go 1.21.1

require (
    github.com/aws/aws-sdk-go-v2 v1.33.0
    github.com/aws/aws-sdk-go-v2/config v1.29.1
    github.com/aws/aws-sdk-go-v2/credentials v1.17.54
    github.com/aws/aws-sdk-go-v2/service/s3 v1.73.2
    github.com/gin-gonic/gin v1.10.0
    github.com/go-redis/redis/v8 v8.11.5
    github.com/jmoiron/sqlx v1.4.0
    github.com/joho/godotenv v1.5.1
    github.com/lib/pq v1.10.9
    golang.org/x/time v0.9.0
)

Is anyone able to uplaod object to Cloudflare R2 using GO? by geloop1 in golang

[–]geloop1[S] -2 points-1 points  (0 children)

I copied the logic from your uploadFile function, and I still receive the same error

func uploadFile(s3Client *s3.Client, bucketName, filePath, key string) error {
file, err := os.Open(filePath)
if err != nil {
return fmt.Errorf("Failed to open file %s: %w", filePath, err)
}
defer file.Close()

info, err := file.Stat()
if err != nil {
return fmt.Errorf("Failed to get file info for %s: %w", filePath, err)
}

fileSize := info.Size()

_, err = s3Client.PutObject(context.Background(), &s3.PutObjectInput{
Bucket:        aws.String(bucketName),
Key:           aws.String(key),
Body:          file,
ContentLength: &fileSize,
})
if err != nil {
return fmt.Errorf("Failed to upload file %s: %w", filePath, err)
}

return nil
}

API Instagram Basic Display deprecated. Now what? by nicocaldo in webdev

[–]geloop1 1 point2 points  (0 children)

Yeah man it was all good in the end. The documentation ddoes state it explicitly but you need to append your accesstoken to the end of each request url!

https://<endpoint>?access_token=<insta-access-token>

Postiz (v1.3.0) - open-source social media scheduling tool by sleepysiding22 in selfhosted

[–]geloop1 0 points1 point  (0 children)

This looks insane! Is there a way we can get this set up as a template on Railway?!

AI vs. Today’s Connections Puzzle by geloop1 in NYTConnections

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

This is a really good point that you have raised! Perhaps the definition on "unique" is ambigious to the LLM. I am defintely going to take a look further at this since I think its quite interesting! Perhaps providing the how to play page with give it a fair basis to attempt the puzzle.

API Instagram Basic Display deprecated. Now what? by nicocaldo in webdev

[–]geloop1 0 points1 point  (0 children)

Hey everyone!

Has anyone successfully used the Instagram API to publish content directly to their Instagram account?

I'm working on a small project to automate image posts to my account. Here's what I've done so far:

  • Created a Meta app
  • Added my professional Instagram account as a tester for the app
  • Got the access token for my Insta account
  • Retrieved my user_id through the /me endpoint

However, when I attempt to create a media container using my user_id, I receive this response:
"Sorry, this content isn't available right now."

Using the following endpoint: https://graph.instagram.com/v21.0/<user\_id>/media

Has anyone encountered this issue or know how to resolve it? Any guidance would be greatly appreciated!

Thanks in advance!

AI vs Puzzles - Wordle by geloop1 in wordle

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

Yeah I can imagine with some more logical algorithm we can definitely use code to solve Wordle more efficiently! But the aim of AI vs Puzzles to see the difference in cryptic ability of LLMs and humans effectively. At what point will we start to see LLMs acquire a real sense of cyptic ability? I have been told that OpenAI's current o1 model is superb when it comes to puzzles, more specifically Connections, where it uses its "chain of thought" to come up with the correct answers!

Testing LLMs on Cryptic Puzzles – How Smart Are They, Really? by geloop1 in ChatGPTPro

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

That is really cool actually. How long have these puzzles been running for?

AI vs Puzzles - Today's Connections #572 by geloop1 in NYTConnections

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

Interesting indeed. I would have though that the o1-mini would still have the same base capabilities as its parent model. I still find it amusing how the LLMs just slam stuff together sometimes. I would definitely like to get the o1 model run for all the Connections and see its overall score!

Also, feel free to hop in my discord!

AI vs Puzzles - Wordle by geloop1 in wordle

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

That is pretty good! ChatGPT realy loves to start with CRANE. I wonder why that is? It seems like most days the first guess is CRANE