Marcin Lewandowski
517 posts

Marcin Lewandowski retweetledi

👋 Hey!
I'm looking for a remote #rustlang or #elixirlang consulting gigs, or a contract/permanent position.
I'm a software developer with 20 years of exp, of which last 10 I've been working exclusively with #remote teams.
More about me in the thread.
RT please!
English

@codestirring I was building something recently and all default methods from the docs to launch graphql subscriptions via absinthe failed. Client side libs seem to be unmaintained for custom absinthe/phoenix transport and graphql-ws seem to be poorly integrated.
English

Who's building something in Elixir right now? What are you working on and what's been your biggest challenge so far?
#MyElixirStatus
English

@elixirfun I recently started to work on a library that makes even one step further and automatically generates graphql schemas on top of ecto schemas. Saves a lot of pain for CRUD stuff.
English

I know that Phoenix provides generated contexts, but how about abstracting those basic CRUD-like functions into a macro instead?
See the screenshot for usage and the linked gist for the (POC) implementation: gist.github.com/mxgrn/a8998309…
Thoughts? #MyElixirStatus

English

😭 We're getting billed $2000+ per month on @Vercel.
😭 What should we do? @rauchg @leeerob
😭 Enterprise sales didn't want to talk to us.
Serverless functions: $1400 / month
We tried moving away some API calls, but we still get billed for bandwidth. We are actively avoiding doing SSR in Next.js to be able to cache our JSON calls on Cloudflare. So the SEO is worse.
Bandwidth: $480 / month
Already caching as much as we can. But there is just a high volume and we get billed for functions, images, etc on top of the bandwidth.
Source images: $425 / month
We're moving to S3 but still of course it's being optimized. Might move to Cloudflare images or self-host.
KV: $290
Redis fork that we can self-host. But we'd still get billed for bandwidth + serverless function hours.
Overall, it's insanely expensive.
Will be $40k / year at this rate.
But we're growing our traffic (with @MagicSpaceSEO), so it will double or triple by the end of the year.
$100,000 / year is insane to pay for Next.js hosting.
Type F in the chat for support 👇


English

That should end up in criminal prosecution for Zuck
HaxRob@haxrob
If you needed yet another reason not to trust VPN providers or proxy services... Here Facebook partnered with a bunch of companies to have root certificates installed on people's phones so they could intercept other app's traffic. storage.courtlistener.com/recap/gov.usco…
English

@rokasdam Standalone build in docker plus Heroku. The easiest and cheap way to launch a container. Not cool for vercel generation though
English

What's the best way to launch Next.js on AWS? 🤔 ☁️
Open to any ideas apart from Vercel.
#buildinpublic

English

I want to have a custom domain email but don't want to use g-suite. What service would you recommend?
#buildinpublic
English

@Bart_Kamski @antranapp No idea but I suggest using command line tool called ffprobe. It can reveal more details that might help in understanding why it is like that. It might be related to non-square pixel ratio or some other parameter of the codec.
English

@solnic29a @josevalim @michalmuskala @thmsmlr I started building something similar 2 weeks ago. It’s going to be a library that automatically exposes GraphQL schema on top of Ecto schemas.
English

@mspanc @josevalim @michalmuskala @thmsmlr Yes it does but simple things are still a bit too hard for less experienced devs. Probably it applies more to Ecto vs AR than Phoenix vs Rails though. At least that's been my experience so far. ie I'd like to have things like basic query API in Ecto (as a plugin?) (1/2)
English

Maybe ironically I think this is what holds Elixir back as a language.
Because you're so productive, engineering teams are smaller and there are fewer jobs.
Entrepreneurship/new companies is the limiting factor to Elixir growth
Christopher Grainger (@cigrainger.bsky.social)@cigrainger
Two here and this is basically it for us too. Consolidating on Elixir was the impetus for this but yes, for small teams it’s just so much better.
English

@solnic29a @josevalim @michalmuskala @thmsmlr It already does many things better than RoR in terms of MVC framework, but times are different. RoR was competing with ancient PHP. There was no cloud, no lambdas, no advanced frontend frameworks. It’s not enough today to differentiate.
English

@josevalim @mspanc @michalmuskala @thmsmlr If Phoenix and Ecto provided similar levels of convenience when it comes to doing simple stuff, I'd say a lot of people would turn to Elixir. It's what made people love Ruby & Rails back in the day. Elixir is *in a great position* to not only repeat that, but also do it better 🙂
English

@michalmuskala @thmsmlr IDEs are fine, but do they integrate well with all of 15 runtimes and 4 major package managers? ;)
English

@DNAutics @josevalim @michalmuskala @thmsmlr And if we’re talking about thousands not millions, we’re in the wrong room. In business, especially VC-backed it’s not a valid argument. Like it or not but “how to deliver fast” is driving the industry, creating jobs, adoption etc., not “how to bootstrap this alone”.
English

@mspanc @josevalim @michalmuskala @thmsmlr Let's say I've seen tens of thousands of dollars and limited time and runway, solved with elixir instead of JS/python and it's going quite well =D
English

@DNAutics @josevalim @michalmuskala @thmsmlr I’ve seen such projects as well, but somehow that’s still an exception.
English

@DNAutics @josevalim @michalmuskala @thmsmlr In other words, if I have a few million dollars and limited time and runway to validate the business, why should I pick Elixir instead of JS/Python unless I have very specific case that is well handled by its paradigm?
English

@mspanc @josevalim @michalmuskala @thmsmlr smaller ops teams. Also, very easy to bootstrap a 1 or 2 person team without worrying about scalability.
English

@DNAutics @josevalim @michalmuskala @thmsmlr There are tons of ways to bootstrap in the small team and not worry about scalability in JS as well. And the capital (=jobs) is not worried about bootstrapping that much.
English

@michalmuskala @thmsmlr Unless there’s clear narrative on how you can make more money by using Elixir instead of X its growth will be impaired. Simple as that.
English

@michalmuskala @thmsmlr JS tooling is a pure shit compared to basic set of Elixir tools. Java as well. Don’t get me started on virtual envs in python. But they are popular. There’s no proof for correlation between quality of the tech stack and its popularity.
English





