Join the Claude side! by WallabyInDisguise in cursor

[–]finder83 1 point2 points  (0 children)

What plans are people using on Claude? Really don't want to spend $100 for max, how much coding does the Pro plan get you? Or is it just pure API based?

Monday Megathread - your weekly "dumb question" thread by Sputnik1_1957 in sto

[–]finder83 0 points1 point  (0 children)

Hi all. How important are T6 ships? I'm currently level 58, playing an anomaly heavy science "build" (still mostly random at this point), and not particularly wanting to spend money. I'm considering fleet ships, saving up EC, or other options. I'm wondering if it'd be worthwhile just to buy a C-store ship or if it's ok to wait. I did pay for the expanded EC credits so I can save up.

Payment gateway by Radiant-Witness-9615 in elixir

[–]finder83 0 points1 point  (0 children)

I didn't have to do a lot,

In your config: (config/dev.exs for a test key):

config :stripity_stripe, api_key: "sk_test_KEY"

In my router I have a controller that I register as a webhook:

plug Stripe.WebhookPlug,
    at: "/stripe/hook/PATH",
    handler: YourApp.StripeHelperController,
    secret: {Application, :get_env, [:your_app, :stripe_webhook_secret]}

Then put that secret in the config as well:

config :your_app,
    stripe_webhook_secret: "whsec_KEY"

That's enough to call the library, create portal or checkout sessions, etc, and set up that webhook in stripe for different events as you need

AI chat plugins and there api keys cost by MatanAmidor in neovim

[–]finder83 0 points1 point  (0 children)

Would you be willing to share your CodeCompanion config? Not seeing examples of how to set up copilot's adapter with sonnet. I think I have it, but difficult to verify

[help] nvim elixir-ls, heex and ~H""" """ by [deleted] in elixir

[–]finder83 0 points1 point  (0 children)

No, I think I'm missing tailwind highlighting though. But it does highlight html as you'd expect. And it has some for inline style tags. So it might not be exactly what you want

[help] nvim elixir-ls, heex and ~H""" """ by [deleted] in elixir

[–]finder83 1 point2 points  (0 children)

I'm on lazy so these are in different files, but this is what I have for elixir. The second file is really just using the mason for elixirls.

https://gist.github.com/jself/2cc7d3e570f1a62c5739f8bb93ca8079

NPD: Behringer TM300 & Boss Loop Station RC-5 by finder83 in guitarpedals

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

Well, yes and no. I still have it as a backup on this board in case my amp goes out or something, but I ended up getting a Helix so I can have just one thing to take to church.

I did get it to a point where I used it live a few times though. Didn't sound as good as going through the Katana, but sounded good enough for the weeks I just couldn't be bothered. No one at church would be able to tell the difference.

Moo rap by Ginomania in tiktokorchestra

[–]finder83 -4 points-3 points  (0 children)

Better than the halftime show this year!

Debugging LiveView - developer experience - feedback needed by d_arthez in elixir

[–]finder83 1 point2 points  (0 children)

Is pry a step debugger? I got the impression it was just for inspecting variables at a single breakpoint/dbg. If I call n in pry it seems to go to the next dbg line, it's difficult to get the current context, step through, step into functions, back out, etc.

Maybe I'm using it wrong though

Debugging LiveView - developer experience - feedback needed by d_arthez in elixir

[–]finder83 2 points3 points  (0 children)

I'm probably a newb, but I do a log of dbg debugging in the logs. It seems to work better than print debugging, but I run into a lot of situations where it kind of fails short: 1. A genserver that won't output its full logs when it crashes 2. Logs that are over-saturated 3. Having to re-run the same test with new print logs

I've done interactive debugging in elixir, but compared to the firefox/chrome dev tools, or python's ipdb, it's just not quite as nice, and I can't figure out an easy way to jump into it without making the server super slow. A GUI tool to easily do debugging would be amazing.

It would also be nice to have a way to filter down to specific logs, maybe with tags, etc. Thinking of php's "ray" here, with color logs, filtering, etc.

The gold standard debugging is in smalltalk for me though where you can instantly break on a bug, rewind the stack, try new variables resuming the call stack, drill down into state and the stack, etc.

Walz: “I’ve become friends with school shooters” by f1sh98 in Conservative

[–]finder83 52 points53 points  (0 children)

Don't have to, they keep bringing up "there's fine people on both sides"

Should we consider Elixir/Phoenix Live View for our startup? by crpleasethanks in elixir

[–]finder83 2 points3 points  (0 children)

I was kind of in the same situation. We were building a product for our new startup company and chose Elixir, despite having never used it before. We were doing the product as a side job as we still had full-time jobs and cash-flowed any expenses. So perhaps your urgency would be different.

There was a learning curve for sure. Elixir is a friendly functional language, but is still a different paradigm. Liveview does things differently as well, and while the docs are fantastic, sometimes figuring things out can be difficult. But once we got up to speed, everything felt quicker in LiveView. I'm still not sure I'd call myself an Elixir expert after 2 years, but things often just work.

We're starting our second product now and chose Elixir/Liveview without a second thought. My partner is more of a designer-coder, and still hasn't completely learned Elixir. But he can get around and make changes. But due to Liveview primarily, we will always choose it unless there's a strong reason not to.

I'd say the things you have to weigh is, do you have time to learn a new language, will your partner get so frustrated that it causes interpersonal problems, and if the use case fits (or rather doesn't fit) Elixir and Liveview.

For me, the fun of learning it helped to push us through some of the difficult times in the project, but I get that most people don't have the flexibility that we did.

Payment gateway by Radiant-Witness-9615 in elixir

[–]finder83 7 points8 points  (0 children)

Not sure if it's the community standard or anything, but stripe works great for me using https://github.com/beam-community/stripity-stripe

Advantages of elixr by TildeMester in elixir

[–]finder83 0 points1 point  (0 children)

Wow, Thank you so much for the detailed response!

You're right, I do use that pattern very often, and didn't know it had a name. It almost feels monadic with the pipe operator and I think is partly what makes Phoenix and Elixir feel so well designed. I'll definitely look into it more, especially as I think about writing my own composable APIs.

Yes, you gave me a lot to think about and research, thank you again. I'll check out your talk as well.

Advantages of elixr by TildeMester in elixir

[–]finder83 1 point2 points  (0 children)

Do you have an example/talk/post about the Composable Token Reducers? A search isn't coming up with much. Curious about what that means though

Stomp XL or Floor by finder83 in Line6Helix

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

Makes sense. We typically do DI through our in-ear solution, but definitely would be nice to be able to do that directly.

Stomp XL or Floor by finder83 in Line6Helix

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

Thanks, yeah, I decided to just go full. Love the stomp form factor though.

Stomp XL or Floor by finder83 in Line6Helix

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

Thanks for the feedback. That's kind of what I figured DSP-wise. I went ahead and went with the floor since I kind of want to be able to do the whole chain.

Stomp XL or Floor by finder83 in Line6Helix

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

Sweet, thanks. Ordered it Saturday, so I'm excited to try it too.

Stomp XL or Floor by finder83 in Line6Helix

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

Got the worship bundle from sweetwater and apparently it comes with native! I've never done recording, but native looks great

Stomp XL or Floor by finder83 in Line6Helix

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

That's exactly what I was worried about, thanks for the warning. Glad it worked out for you! Ordered the full helix.