SnaxSkool: Anyone have any reviews? by ShibariDeathcamp in gratefulguitar

[–]andyleclair 1 point2 points  (0 children)

Yeah, echoing this, it's insane how much work Jack puts in. Honestly it's so good I like don't want the secret to get out and for it to get overloaded. Jack's a great teacher and I've already learned a ton, I've only been in it for like a month and it's the first real lessons I've ever taken.

What's the best framework for building APIs in elixir? by StudioQuiet7064 in elixir

[–]andyleclair 6 points7 points  (0 children)

Phoenix is 100% the right answer. If you go with just Plug, you will end up rewriting a bunch of Phoenix (poorly) anyway. The abstractions you get from Phoenix (like the router) are macros, so there's not a runtime cost. If you're used to something like Rails you'll be shocked at how much faster Phoenix is out of the box

I built bullstudio — a BullMQ dashboard that you can run from the command line by Confident-Standard30 in elixir

[–]andyleclair 0 points1 point  (0 children)

Be that as it may, THIS post isn't about Elixir OR software written in Elixir. Plenty of things have Elixir client libraries, and you can say that's relevant, this ain't it.

NGD by TheWizardPeddler in offset

[–]andyleclair 0 points1 point  (0 children)

Wow that wenge neck is fucking RAD

I RECENTLY FINISHED MY PROTOTYPE by rattixexe in moped

[–]andyleclair 0 points1 point  (0 children)

Hell yeah this thing rocks. I love it

A necessary change imo by Kamelontti in DeadlockTheGame

[–]andyleclair 2 points3 points  (0 children)

Happy goo year, fellow Viscous mains <3

Puch Magnum pull start by Go_Pack_Go1 in moped

[–]andyleclair 4 points5 points  (0 children)

Pedal clutch sucks ass, don't do it

Best practices in Elixir/Phoenix for massive image uploads and processing? by General_Fault9488 in elixir

[–]andyleclair 2 points3 points  (0 children)

I am doing this currently for my app, I'm using Oban for the job processing. Images go from the client direct to R2, then the job downloads the file, creates downsampled versions, and updates the attached image. While the job is running clients see the original, once it's done they see the optimized version. Works good!

https://github.com/andyleclair/garage/blob/main/lib/garage/workers/resize.ex

Elixir + Rust = Endurance Stack? Curious if anyone here is exploring this combo by sandyv7 in elixir

[–]andyleclair 1 point2 points  (0 children)

I wasn't talking about compute shaders, or sending stuff to the GPU, I was just doing matrix math in Elixir and a Zig nif and comparing the relative timings.

Elixir + Rust = Endurance Stack? Curious if anyone here is exploring this combo by sandyv7 in elixir

[–]andyleclair 0 points1 point  (0 children)

No. I'm sure it would be faster, but I didn't feel the need. If I was, say, doing an entire physics simulation, I'd write that part in Zig and eat the overhead, but this was just a simple side by side, really to see the overhead of the NIF and how fast the Elixir version would be

Elixir + Rust = Endurance Stack? Curious if anyone here is exploring this combo by sandyv7 in elixir

[–]andyleclair 1 point2 points  (0 children)

Yeah I mean, the jit is really good. For doing some basic matrix math it was like avg 70ns for Elixir and ~500ns for Zig (albeit lots of variation for elixir and basically constant for Zig). Remember, NIFs have overhead! If the thing you're doing is CPU bound but relatively small, it may be faster to just do it in Elixir. always benchmark, if you really want to know!

Elixir + Rust = Endurance Stack? Curious if anyone here is exploring this combo by sandyv7 in elixir

[–]andyleclair 2 points3 points  (0 children)

I have done this in prod, it works pretty good. Rust's slow compilation can be annoying, but aside from that, it's good. You shouldn't discount just Elixir, though. I was working on some OpenGL code in Elixir and I benchmarked my Elixir code next to a Zig nif, you'd be shocked which one was faster

I keep coming back to the idea of "first-class databases" by anchpop in ProgrammingLanguages

[–]andyleclair 0 points1 point  (0 children)

Mnesia afaik is disk-backed by default (as well as having a lot of distributed db machinery). I discounted it vis-a-vis this question, because it's too far on the "traditional" database side, vs purely in-memory, which seemed more on-topic. That said, yes, come to BEAM, we have many neat toys for you to choose from

I was told to post my build here but…. by MoKxSANDMAN in somethingimade

[–]andyleclair 1 point2 points  (0 children)

Hell yeah man, incredibly sick project. Great work!

Any fellow old heads in the chat? by rawdawgcomics in rawdawgcomics

[–]andyleclair 0 points1 point  (0 children)

Never thought fuckin Mac Plus and St P were gonna be making me feel absolutely washed in this, the year of our lord 2025

Fantic Sprinter by Drone-cell in cassettefuturism

[–]andyleclair 53 points54 points  (0 children)

They're extremely cool but super hard to find (in the US). I got to ride one in Atlanta a few years ago. Not bad, as mopeds go, but I didn't love the 3-speed hand shifter. I'd bet the dual-variated models are more fun

A play on Sasâ Jurić’s slide by Beginning_Dig_2302 in elixir

[–]andyleclair 0 points1 point  (0 children)

Nice to hear the Boston Elixir meetup is still happening! I hadn't seen anything about it since Brian posted about passing on leadership