Show more

Even though I fixed semantic mess of by publishing the library github.com/doma-engineering/up, I still need to interact with non-tightly-typed code sometimes.

Sometimes, just unwrapping isn't enough or isn't ergonomic, so then I have to go back to operating with raw binaries.

While typing those, as anyone should, I feel bad when I write `binary` and I also feel bad when I write `String.t()`. Again, as anyone should.

After thinking about this issue for so long, I finally understood that in , both of those types should be called `uninterpreted_binary()` or `blob()`. I know it will never happen, but `String.t()` has to be deprecated.

The reason not to use `binary()` type in Elixir is clear. When binaries are *interpreted* as Strings, there's a whole lot of semantics going on, and this interpretation is way more pushed than in . But it still happens at interpretation time, it has nothing to do with the type of an term presented. This is the reason not to use `String.t()`. So yeah, the most correct way to put it is `blob()`: an uninterpreted raw binary, that is, however, easily and automatically gets interpreted as strings.

As a matter of fact, `String.t()` may just be the Elixir's hundred thousand dollar mistake.

It feels so weird to program in languages that compile modules not top-down as does.

On one hand, it's really cool that I can now put the most important functions up top; on the other hand, it defies logic!

Technology isn't there with democratic photorealistic image generation.

I'll tell you what, the #FIAERC is arguably going to be the most competitive #rally series in 2023. Mads Ostberg, Martins Sesks, Hayden Paddon, Simon Wagner, Efren Llarena, Javier Pardo, my man Alberto Battistoli, the rest of the traditional entrants and a number of talented up-and-comers will make for excellent competition and exciting finishes.

2023 is shaping up to be an interesting year for rallying!

There aren't many people I feel I owe infinite beer to. @sasajuric is one of them, but now the list is extended with @simon.

If not for him, I wouldn't force myself to find the time to play with the modern AIs.

After a week of checking those out, I think that it's immoral for managers to not push for buying copilot licenses for their developers in 99% of startups and 95% of businesses that produce novel computer programs.

1d8 has moved here.

iron-spikes.blogspot.com/

I was worried that the legendary "where does this monster go" table only exists as an archive these days.

No CW for you, sorry not sorry.
Support now. Be vocal. Talk to your friends. Talk to your reps. Do it now, before it is too late.

If an argument from humanism doesn't work, consider this: last time the world ignored unrest in the middle of , the most bloody war in the history of humanity has happened.

Ukraine, Twitter, Elon 

Show thread

Ukraine, Twitter, Elon 

I'm not sure if I've posted this. Bit this is perhaps the best actual play I've seen. Besides, if your system wants to support PvP, module from is an amazing benchmark.

piped.kavin.rocks/watch?v=_qhK

@jonn @chuang

I got it to work in this way.

- Rename second.js to second.mjs
- AND set type=module in package.json
- AND make sure that first.js is in the same directory.

This works:
import {x} from './first.js';

But this doesn't:
import {x} from '../first.js';

A coffee mug left behind in the abandoned Homer Research Labs, a top-secret facility that tested Bethlehem Steel's metal
Gallery: abandonedamerica.us/homer-rese

#art #industry #abandoned #photography

The students in my upper-level electrodynamics course are taking their final exam right now, which always reminds me of the time I told my students they could bring a formula sheet to the final exam as long as it was on one side of a piece of paper.

RT @Bitfinexed@twitter.com

The crypto market is retail poker players, playing against a fewer than dozen players who coordinate with each other against the retail players, and then splitting the winnings.

They can bet with fake money, and they can see your cards. The goal is to get you to bet big.

🐦🔗: twitter.com/Bitfinexed/status/

An actual dialogue with a friend today.

— I chatted with Brian Kerr on mastodon, I look up to his adventures.
— It's not the AOG guy, is it?
— No, it's the ugly duck guy.
— Ah! Gotcha!

Show more
Doma Social

Mastodon server of https://doma.dev.