Discover and read the best of Twitter Threads about #elïxir

Most recents (9)

Is type checking #Erlang hard? Or #Elixir, by the way? Let's think... Image
There are only structural types in Erlang. No types are compared for equality just based on their names. Not even records, as they're tuples, and tuples differ structurally by arity.
Apart from opaque types which by definition hide the structure. So they can only be nominal! And maybe also user-defined types (also known as user types), since these do have names... But at runtime types don't exist anymore, so it's the structure that matters. Always. Almost ;)
Read 24 tweets
Das Team hat sich entschieden, dass nächste Projekt nicht in #Kotlin, sondern in #Java zu entwickeln. Zur Debatte stand auch #Elixir. Problem hier: langfristiges Projekt und kaum Entwickler zu bekommen. Warum aber zurück zu Java? 🧵 /1
#Kotlin ist eine objektorientierte und funktionale Programmiersprache, die nette Konzepte hat, um mit null-Referenzen um zu gehen. Seit #Java 8 nicht mehr ein so grosses Problem. Allerdings immer noch da und wird auch nie weggehen. /2
Das Problem tauchte vor ein paar Wochen auf. Ein Kollege mit 3 Jahren täglicher #Kotlin Erfahrung wollte einem neuen Mitarbeiter ein Kotlin Modul erklären. Dort mußten ein Paar Änderungen vorgenommen werden. Die Änderungen waren minimal. /3
Read 12 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
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
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
#favicons are #SVG with #XML payloads easily injected by malicious programs. #KHTML has been around for a very long time and this methodology of obfuscation has been in development since #NetscapeNavigator
whats a #favicon?
😉😄😆😅😌🥰😀😅😌🥰 lol dunno, sry bruh
Read 4 tweets
With 💎 Ruby 3 released, let's have a look at how the language evolved since the version 2.0 was released more than 7 years ago. A history thread about #ruby #ruby3 🧵:
In 2013 @yukihiro_matz announced Ruby 2.0 and he said the core team would release a new minor version every year during Christmas time🎄This was huge news 🎉 for Ruby devs since until then the releases were irregular. It made the future look very bright
Ruby 2.0 brought a bunch of features: keyword arguments, module#prepend and lazy enumerators.
One minor, but verys useful feature was %i literal to create arrays of symbols - I use it so often! 💪🏻
Read 36 tweets
[Thread] Chaque année, nous devons choisir notre #assolement (surface dédiée à une culture, prenant en compte la #rotation des cultures). La 2ème étape est de choisir une #variété adaptée à notre terroir.

#ThreadAgri ⬇️ pour expliquer nos choix sur le #lin
#FrAgTw
Les variétés de #lin de printemps sont choisies maintenant et seront implantées dans quelques mois (mars/avril)...

J'ai appris qu'il était important "de ne pas mettre tous ses œufs🥚🥚🥚 dans le même panier".
En agriculture, on ne peut pas prévoir la météo par exemple : 🌧️🌞⛈️
Les semences se commandent dès maintenant, car tt le travail de préparation des semences est en route chez #TerreDeLin.
Les semences sont récoltées chez les agris en juillet. Ns avons d'ailleurs fait de la semence l'an dernier.
(📷🔻écapsulage, machine qui récolte les graines)
Read 11 tweets
I know you have heard of password #Salts which are similar to Nonces and used to add uniqueness to passwords and protect against pre-computed hashes (rainbow tables).

Did you also know about password #Peppers ? They are equally important too.
In modern web applications of today, you should #Pepper your passwords as well as #Salt them too before hashing them. Here is the order:

Original Password ---> Salt ---> Pepper ---> Hash ---> Store-In-DB.

However, if you #Pepper passwords wrongly. It could be very disastrous!
What do i mean by this ?

Well, the simplest (and safest - very important) way to #Pepper a password is to HMAC(Original_Password, key) it.

HMACs are resistant to length-extension attacks & brutes-force attacks.

There must be a #Pepper key used for the HMAC too
Read 16 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!