@arialdo@mastodon.online
@arialdo@mastodon.online avatar

arialdo

@arialdo@mastodon.online

Dysfunctional programmer • Test infected • XP practictioner • Writes bugs in C# F# Haskell Lisp • Loves Emacs and Cherry MX Blue

This profile is from a federated server and may be incomplete. Browse more on the original instance.

arialdo, to emacs
@arialdo@mastodon.online avatar
arialdo, to firefox
@arialdo@mastodon.online avatar

dumps ? Good reason to dump Mailchimp

arialdo, to random
@arialdo@mastodon.online avatar

How would you write a test to verify that the function

shuffleList xs

returns the list xs with shuffled items?
Even more generally, how to write tests of functions having to do with randomicity?

arialdo, to random
@arialdo@mastodon.online avatar

I love this definition by Eugunia Cheng:

“Pedantry is precision that does not increase clarity“

freemo, to random
@freemo@qoto.org avatar

Just a reminder... no matter how much you listen or try to genuinely understand them.. this is almost always the outcome when you discuss things with a leftist... Either you agree with them, or they get offended, make personal attacks, and walk.

Every interaction I have with the left leaves me wanting to have less to do with them than the time before, and this is sad since I associate more with left ideals in many cases than right ones.
QT: https://mastodon.social/@libramoon/112124166185113057

arialdo,
@arialdo@mastodon.online avatar

@freemo @LouisIngenthron how can numbers be biased? Numbers should be the result of a measure.
Either you performed a measure, and you end up with unbiased numbers, or you did not and you are using numbers as a synonym of “many”, “most of”.

arialdo, to random
@arialdo@mastodon.online avatar

Just published: Boolean Blindness

https://arialdomartini.github.io/boolean-blindness

"A Prolog programmer is delivering a baby.
The mother asks, “Is it a boy or a girl?”
and the Prolog programmer says: “Yes”."

arialdo, to random
@arialdo@mastodon.online avatar

One of the funniest algorithms I stumbled upon. Genius as much as Sleep Sort

https://www.timwarriner.com/carddata/

arialdo, to vim
@arialdo@mastodon.online avatar

Now that NeoVim, with Lua, made Vim an extendible platform for applications, what the main reasons why one should prefer over ?

Honest and genuine question.

arialdo, to random
@arialdo@mastodon.online avatar

I'm surely pedantic, but I think that technical articles should have links that make it clear which source they target.

For example:

BAD
As you can read [here] and [here]

BETTER BUT STILL NOT IDEAL
As you can read about [monads] and [burritos].

BETTER
As you can read in [John Doe's Monads Tutorial] and [Making burritos by Mark Foo]

arialdo, to haskell
@arialdo@mastodon.online avatar

f = foldr (flip (const . (+1))) 0

arialdo, to haskell
@arialdo@mastodon.online avatar

It seems Void is not that uninhabited, after all...

f :: Void -> String
f _ = "WAT??"

f undefined

arialdo,
@arialdo@mastodon.online avatar

@dpwiz I was not aware that Void was not completely void.

arialdo, to random
@arialdo@mastodon.online avatar

Please, don't use medium.com to publish your articles. Please.

arialdo, to rust
@arialdo@mastodon.online avatar

I'm playing with .
So far, I'm more disappointed than excited.

I find it schizophrenic.

It aspires to be a high level language like , with traits, immutability, HOF, all the things you expect from a modern language.

All brilliant.

But then, its low-level, system language nature - borrowing, ownership, move, stack, heap, scopes, Box, dyn, size of variables - get in the way, no matter the level of abstraction you are operating, and on top of a C-style oldish syntax.

Nope.

arialdo, to mechanicalkeyboards
@arialdo@mastodon.online avatar

Vendors search engine. Very well done!

https://kbd.news/vendors

fraying, to random
@fraying@xoxo.zone avatar

The Andressen manifesto is the gift that keeps giving because it inspires writing like this.

"The techno-optimist tribe gives off the distinct impression of people who have been so ridiculously rich for so long that they’ve just completely lost the plot about how the real world works. To be fair, this is an apt description of most of Silicon Valley."

https://gizmodo.com/marc-andreessen-is-wrong-about-everything-1850934367

arialdo,
@arialdo@mastodon.online avatar

@fraying We should all stop using the word "billionaire" and switch to "oligarch".

arialdo, to random
@arialdo@mastodon.online avatar

Never understood how companies continue calling their people "resources" and think this can be appreciated.

arialdo, to random
@arialdo@mastodon.online avatar

Current status: writing my first post about monads.

I promised myself to keep it super short. I guess I failed: I'm on Part 5 already.

arialdo, to haskell
@arialdo@mastodon.online avatar

In which other languages the function parameter types are specified separately from the function implementation, like in !

foo :: String -> String -> Int
foo a b = …

arialdo,
@arialdo@mastodon.online avatar

@cjk true! Indeed Erlang got several things right.

I definitely got used to that style, and I find it much clearer than mixing types and names together, which often result in confusing signatures.
More languages should ho that direction, I believe.

codinghorror, to random

The Olivia Jaimes reboot of Nancy: proof that, despite much evidence to the contrary, life should continue to exist.

arialdo,
@arialdo@mastodon.online avatar

@codinghorror reminds me of this

image/jpeg

devinprater, to emacs

Now this is pretty cool!

Whenever you set the Region, whether with C-SPC (‍set-mark-command‍) or a mouse selection, or implicitly with textual
object mark commands (like M-h (‍mark-paragraph‍)), the Mark’s current location is pushed onto the Mark Ring. The Mark is
also set for you automatically at places where you’ve done “significant” things, like changing text, moving a long way
away in one big jump (there being many ways to do this), the spot where you issued a search command, and the like, and
these locations also go onto the Mark Ring.

Thus a breadcrumb trail of Marks is left for you to find your way back, Theseus-like, to where you’ve been, and provides
a quick way to get back to these previous locations. The way to jump back to the previous Mark location is to give C-SPC
(‍set-mark-command‍) an argument, so C-u C-SPC. It also rotates the Mark Ring, so that a repeated, uninterrupted sequence
of C-u C-SPC commands will take you back in time through your previous Mark locations. The Mark Ring is a circular
structure, so when you hit the end, you’ll circle round to the most recent Mark location again. You’ll notice the
analogies to the operation of the Kill Ring.

https://www2.lib.uchicago.edu/keith/tcl-course/emacs-tutorial.html

-emacs

arialdo,
@arialdo@mastodon.online avatar

@devinprater wait to discover consult-mark exists…

lexi_lambda, to random

how have I had this account for literally two hours and posted nothing and already have 22 of you following me. what the hell is wrong with you guys

arialdo,
@arialdo@mastodon.online avatar

@lexi_lambda not only: and I started following who follows you. If they are interested in what you say, they cannot be but interesting people.

arialdo, to random
@arialdo@mastodon.online avatar

I'm finding again working in .

F# is a pure joy.

Again, I miss a better support from the IDE, but folks, the language is such a delight... I did not even realize it's 2 A.M.

arialdo,
@arialdo@mastodon.online avatar

@khalidabuhakmeh I would also like to continue loving as I used to do, but it's getting harder and harder: since a while, new bugs and regression issues are popping up, and then systematically ignored

This one has been reported 11 months ago, and unsolved since then. As a paying user, this is depressing. I'm very sorry to say.

https://youtrack.jetbrains.com/issue/IDEA-303413/Allow-hiding-the-main-toolbar-in-normal-view-mode

arialdo,
@arialdo@mastodon.online avatar

@khalidabuhakmeh I could use Distraction Free Mode or Zen mode, but it also hides the tabs. The Main Menu cannot be hidden anymore.
Apparently, it's a combination of some regression bugs. Nadia answered a fix is planned for 2023.3.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • normalnudes
  • rosin
  • ngwrru68w68
  • tacticalgear
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • Durango
  • slotface
  • everett
  • vwfavf
  • kavyap
  • megavids
  • khanakhh
  • Leos
  • cisconetworking
  • cubers
  • InstantRegret
  • ethstaker
  • osvaldo12
  • modclub
  • anitta
  • provamag3
  • GTA5RPClips
  • tester
  • JUstTest
  • All magazines