Discover and read the best of Twitter Threads about #MyElixirStatus

Most recents (21)

After setting up some honeypot traps for bots in @rocketvalidator , we've automatically blocked 5 IPs in 2 hours using @paraxialio

#myelixirstatus

hexdocs.pm/paraxial/user_…
My new hobby is watching how the list of bots caught in the honeypot trap grows :D 🤖🍯🕸️
And, it works. Normally we get one or two fake user registrations per hour in @rocketvalidator (users that after signing up don't really use the app) - after setting up the honeypot traps in @paraxialio, we haven't seen a fake user since 8 hours ago 💪
Read 4 tweets
真是一个能帮助快速出 PoC 功能的小助手🤯
测试了半天,chatGPT实现小需求、修Bug、用TDD写代码、多语言实现都没有问题,甚至注释都给你写好了,这些代码大部分情况都是可以直接work的。虽然能力可能不及senior的程序员,但是一般Junior的程度可能真到了,或者很快就到了,以后接卡实现需求甚至直接commit代码都很完全有可能发生🤯
Read 5 tweets
Want to test @opentelemetry spans in Elixir?

Let's say you have a function like the one below - one span, some attributes.

#myelixirstatus

1/3? Image
Next, configure your test environment, setting the exporter to undefined and minimizing the batch processor's delay.

2/3 Image
Now we're ready to test!
We extract the span record from the opentelemetry dependency, and set the exporter to send the span to the test process.

Then we can assert we received the span from the :otel_exporter_pid, and can test that our attributes are set as expected.

3/3 Image
Read 3 tweets
Chapter 2 of Metaprogramming Elixir by @chris_mccord

You can get a copy here:
pragprog.com/titles/cmelixi…

Summarizing so you can get the key takeaways! 🧵

#elixirnewbie #myelixirstatus

0/11
Macros can be used for powerful code generation. They can save time, reduce boilerplate, and produce elegant APIs. To realize the power of macros, remember that most of the Elixir Standard library is implemented as macros.

1/11
You have the freedom to extend the language and implement your own desired features. Macros allow you to create your own keywords and allow Elixir to be flexible for future requirements.

2/11
Read 12 tweets
Chapter 1 of Metaprogramming Elixir, Write Less Code, Get More Done (and Have Fun!) by @chris_mccord

You can get your copy here:
pragprog.com/titles/cmelixi…

Twitter summaries are back! 🧵

#myelixirstatus #elixirnewbie.

0/17
Ever dream of having that one cool feature in your language of choice? With luck, you might see it in a few years, more likely never. However, Elixir is different. Through metaprogramming, Elixir allows you to extend the language and create first-class features.

1/17
Most programming languages have an AST (Abstract Syntax Tree), but it's hidden from you. When compiled or interpreted, the program's source code is transformed into a tree structure before being turned into bytecode or machine code.

2/17
Read 18 tweets
@ElixirConf USA '21 talks are live. Here is a thread of some of my favs: 🧵

#elixirconf #myelixirstatus
@ElixirConf First let's get mine out of the way. My what a humbling experience it is to watch yourself back.... Like my guy, don't "um" so much and does my voice really sound like that?!
(Best watched at twice speed imho)
You use a db? And Ecto? Get yourself some of this Good Stuff ™️ from Tyler Hawkins

Read 14 tweets
I've been spending my time recently updating the Axon training API to mirror the functionality of the amazing @pytorch_ignite library. You can check out the new API here: github.com/elixir-nx/axon…
If you are remotely interested in Elixir or neural networks or both, I would be very happy if you helped me out by testing out the API with some fun examples and providing feedback, reporting issues, etc. :)
Also, I tried to be as thorough as possible with explanations in the documentation. If anything is unclear, please let me know!
Read 5 tweets
Today's summary comes from the book Elixir in Action. by @sasajuric.

manning.com/books/elixir-i…

What is Erlang?🧵0/17

#myelixirstatus #elixirnewbie
Erlang is a general-purpose development platform that supports concurrency, scalability, fault-tolerance, distribution, and high availability. It was built in the 1980s by Ericcson, a Swedish telecom giant. However, it is not specialized for telecom systems.

1/17
Erlang powers large applications such as WhatsApp, the Riak distributed database, the Heroku cloud, the Chef deployment automation system, and the RabbitMQ message queue.

2/17
Read 18 tweets
Todays summary: Watched @lawik's LiveStream: Video: Nerves, Livebook & small displays (eInk, OLED)
underjord.io/livestream-ner…

How @NervesProject helps you get started with Elixir and IoT without needing to know a lot about the hardware.

🧵0/13

#myelixirstatus #elixirnewbie
Raspberry pi is a great way to get your start in IoT, and Nerves and Livebook take that even further. Cool enough: the first real Elixir code Lars wrote was for the Rasberry Pi Zero.

1/13
You can sandwich a Rasberry Pi and an eInk display together. The Rasberry Pi runs your application and your application can use The Libraries Inky and Chisel to write to the display.

2/13
Read 14 tweets
Do you want to create a GraphQL API with Elixir?

Here are all the resources you need to get started.

A 🧵

#MyElixirStatus #graphql #elixir
Absinthe GraphQL

@absinthegraphql is THE GraphQL library you want to use. It is an amazing toolkit that implements the GraphQL specification in an idiomatic Elixir style.

absinthe-graphql.org
Absinthe allows you to define schemas:

- define the data entities, queries, mutations, and subscriptions
- supports custom scalars
- allows deprecating definitions
Read 12 tweets
Listened to @ThinkingElixir with @cadebward @bernheisel and @brainlid and guest @voltonez

OTP Certificates Woes with Bram Verburg. spoti.fi/3luRtVs

On September 30, 2021, the root CA certificate DST Root CA X3 will expire. Here's how you stay safe. 🧵

#myelixirstatus
Bottom line, before the end of September, if you are on Elixir OTP 23 or 24 you should upgrade to the latest patch.

specifically OTP 23.3.4.5 or OTP 24.0.4
If you are on an OTP version older than 23, the good news is you will be unaffected so long as you do not upgrade your dependencies. You can freeze your dependencies in order to buy yourself time to upgrade to OTP 23 or 24.
Read 5 tweets
Ready to deploy Elixir to production? Do you know which options exist for deploying @elixirlang apps?

Let's explore the current landscape of #Elixir hosting:

A 🧵 👇🏽

#MyElixirStatus
Nodechef

Allows you to deploy from CLI, git, or bundle uploads. Multiregion support. Support for Let's Encrypt certificates.
Doesn't support releases, uses Buildpacks instead to control the deployment process.

nodechef.com/elixir-hosting
Gigalixir

Clustering support, hot upgrades, remote console, observers, GenServer, and ssh access to running instance. Let's Encrypt certificate support. Releases support. Regions support. Scaling support.

gigalixir.com
Read 8 tweets
Listened to @BeamRadio1 Episode 18: Code Heresy with Chris Keathley.

Today's panel: @lawik @akoutmos @_StevenNunez @redrapids, @sm_debenedetto, and special guest @ChrisKeathley.

Summarizing some interesting and controversial opinions today 🧵 0/24

#myelixirstatus #elixirnewbie
By far the most loved library on the Panel today was Telemetry. Telemetry powers monitoring and observability in elixir projects and provides a consistent interface to do so. Other mentions were OTP, Livebook, and site_encrypt.

1/24
When members of today's panel came into the Elixir Industry, they found opinions they like and trust from the Elixir community but also questioned established norms. Thus today's topic: Code Heresy.

2/24
Read 25 tweets
The WebSocket architecture of @elixirphoenix
#myelixirstatus Image
1. The endpoint will start several children, we only focus on server and socket here:

* socket children

pool supervisor + a bunch of dynamic supervisors which will eventually start channel servers

the number of dynamic supervisors is the number of CPU cores of your server Image
* server children

The ranch listener supervisor will start a connection supervisor and an acceptor supervisor.

The acceptors will handle connection creation requests.

A cowboy server process is created after a connection is accepted. ImageImage
Read 10 tweets
Phoenix.PubSub is probably the most important component in @elixirphoenix @elixirlang .
We will benefit a lot by understanding the internals of Phoenix.PubSub.

#myelixirstatus
Here is the basic structure:
* a :pg server is started with the scope name: Pheonix.PubSub
* a pubsub supervisor supervises a registry and an adapter server
* the adapter server joins a :pg group during initialization
The adapter server is also the PubSub shard, they exist to broker broadcasts across the cluster, and relay those messages to local node subscribers which are recorded in the ETS table in the registry.

This is how it looks like in a two nodes cluster:
Read 6 tweets
I...almost completely forgot about giving this talk. I think I may have repressed it. I suppose now would be as good a time as any to talk about why. #MyElixirStatus
The last enjoyable thing I did * for me * was attending Lonestar Elixir Conf 2020. Immediately afterwards came shelter-in-place, the end of a contract gig, and the beginning of a lot of uncertainty for my family. We quickly found ourselves fighting battles on multiple fronts.
I was elated to be asked to give a talk about LiveDashboard. Unfortunately the conference was only a few short weeks after the murder of George Floyd and a period of the greatest civil unrest of my lifetime. My mind was anywhere but on this talk. I did my best to be excited...
Read 10 tweets
I decided to *keep* my book both open-source and freely available online. IMO this the only way to prolong its value for the community, and I can make continuous maintenance of it sustainable 🚀

Read the thread below to check how I plan to do it 👇

#myelixirstatus #elixir Image
(2/11) In the past couple of days, I had conversations on the topic of monetizing the open-sourced book🤔. In the end, a lot of effort needs to be put into writing the book, and then continuous updating requires dedication and commitment(similar to any other open source project).
(3/11) The theory is that making the book open-source and freely available to read online will cause me to lose all potential sales profits. I believe that nobody should be banned from benefiting from it because of a lack of financial resources, so I can't sell it.
Read 11 tweets
I’ve been interviewing a lot lately. Some good leads, but I don’t like to put all my eggs in one basket. Today, I took a call from a CTO supposedly looking for an Elixir developer... ( #myelixirstatus )
He was indeed looking for an Elixir dev, but then proceeded to explain how he found that Elixir devs were typically subpar compared to Clojure devs, who were typically experts in data flows. Elixir was also apparently fundamentally flawed, and the Actor model was ridiculous.
The previous CTO who he replaced had build their old stack in Elixir, and apparently it was so bad that they had to start from scratch with a “legitimate” tech stack featuring Clojure and its genius devs.
Read 9 tweets
📚 Looking for beta testers / reviewers for GenMagic: Elixir access to libMagic, in a customisable and supervised way. #myelixirstatus
I’ve forgotten that the library (0.x) was already open-sourced 🙃 so will release 1.0 next week.

github.com/evadne/gen_mag…

👋 @davecaos @lostkobrakai @joaothallis2 @mcrumm @thibaut_barrere @rubysolo
@davecaos @lostkobrakai @joaothallis2 @mcrumm @thibaut_barrere @rubysolo Collaborators all added. History cleanup to be done shortly.
Read 3 tweets
So the world's biggest developer survey is in and we're excited to see what it says about the #Erlang and #Elixirlang community! What's your favourite bit of insight from the results?

#myelixirstatus #ElixirConfEU #CodeBEAMSTO
Elixir is towards the top of the most love #programminglanguages! Taking eighth place in the @StackOverflow #devsurvey2019! 💕

Congrats to @elixirlang and the entire community! Can you feel the love...?

#myelixirstatus
How can one #programminglanguage simultaneously rank on the most loved and most dreaded lists?! 😂 Hands up if you love #Erlang's duality! 🙌

They don't know what they're missing. #devsurvey2019
Read 5 tweets
1/3 Don't forget this moment. @elixirphoenix #liveview *feels* important because it *is* important. It marries fast and smart.

@elixirdigest @ElixirOutlaws @ErlangSolutions

#myelixirstatus
2/3 #LiveView is *smart* because the abstraction is perfect: your page is a function over state, based on an event.

That state can change in a conceptually sound way, over OTP, through processes and message passing.

It's a highly productive framework for *developers*.
3/3 #LiveView is *fast* because the framework knows how to send down *exactly the right bytes* based on the LiveRender commands.

You can't do this as well without the beam, because each user needs their own process.

Not much data yet but it will be highly *cost effective*.
Read 3 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!