@hauleth@fosstodon.org
@hauleth@fosstodon.org avatar

hauleth

@hauleth@fosstodon.org

Dad, part-time developer

:elixir: Hype Driven Developer

Plan: https://plan.cat/~hauleth

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

pepicrft, to elixir
@pepicrft@mastodon.social avatar

It blows my mind how much you can achieve with modules, functions, and basic types in #Elixir

hauleth,
@hauleth@fosstodon.org avatar

@pepicrft and macros, do not forget macros

fasterthanlime, to random
@fasterthanlime@hachyderm.io avatar
hauleth,
@hauleth@fosstodon.org avatar

@fasterthanlime I never understood why companies do not use some p2p protocol there. Like for example BitTorrent. That way they could with little to none extra effort have "automatic" CDN that would allow speeding up all updates. Some first users would take a little bit more, but with each new updated machine all others would be able to fetch from more nodes.

hauleth,
@hauleth@fosstodon.org avatar

@fasterthanlime I once upon a time had that idea to implement "service deployment tool" that would use BitTorrent. You deploy artefacts in some single place, and then call for rollout. Machines updated later could then fetch code faster, because of more nodes that can serve the artifact to the next one.

hauleth,
@hauleth@fosstodon.org avatar

@luc122c TIL. Though the thing is that you can use any set of peers and CDNs at the same time, so while single peer may be slower, others may be faster.

hauleth, to random
@hauleth@fosstodon.org avatar
hauleth, to random
@hauleth@fosstodon.org avatar

So I was nerdsniped by @PragTob to implement defconst for Elixir. It is a simple macro that looks like a function, but is evaluated at compile time to provide runtime constant.

https://github.com/hauleth/defconst

I have added defonce that will lazily evaluate code during first call as an icing on that cake.

Available on Hex as defconstant because of naming clash

https://hex.pm/packages/defconstant

#elixirstatus

hauleth, to random
@hauleth@fosstodon.org avatar

When writing ExUnit files always add @subject module attribute containing name of the module that you are testing. It allows you to automatically see what exactly is tested without keeping the context at the back of your head.

#elixirstatus #tip @erlang_discussions

fasterthanlime, to random
@fasterthanlime@hachyderm.io avatar

I want back all the time I spent waiting for openssl to build

hauleth,
@hauleth@fosstodon.org avatar

@muvlon @fasterthanlime C and C++ build tools sucks, but nothing sucks as much as autotools.

metin, (edited ) to AdobePhotoshop
@metin@graphics.social avatar

🧵 [1/3]

Affinity has been bought by Canva, to compete with Adobe.

It was of course a matter of time before Affinity would outgrow its status of sympathetic small-scale Adobe alternative, and be sold for large proceeds.

Canva is into AI. Hopefully Affinity will get some useful AI-powered image processing tools, like upscalers and denoisers, but Canva will probably add generative shit and introduce subscriptions sooner or later.

https://finance.yahoo.com/news/canva-acquires-affinity-design-suite-004813952.html

#canva #adobe #affinity #GraphicDesign

hauleth,
@hauleth@fosstodon.org avatar

@metin yeah, I am happy user of Affinity v2 (I also have v1 as I bought it via AppStore) and I really hope that they will not move fully into subscription. If they will provide subscription for some stuff (like generative AI, which can be sometimes useful for human artists, but as an addition to human work, not just "slap prompt and you made art shit"), then it will be ok. But I want my application to stay mine, it is one of the reasons why I have gave up Adobe and I encourage my wife to do so

hauleth,
@hauleth@fosstodon.org avatar

@metin and hell, I am no graphic designer or anything (TBH I suck at anything art related, though I am trying). Affinity with their "buy once" was a breath of the fresh air in the waves of subscription models. You can suck all the money in the world from AI-generated-shit crowd, you are more than welcome to, just leave simple people like me, who want to edit some stuff from time to time alone. I paid literally only for that reason.

hauleth,
@hauleth@fosstodon.org avatar

@metin I know them, the thing is that @GIMP is still missing features like non-destructive editing. I was user of GIMP for quite some time before I switched to macOS and it works pretty well, but when you meander into semi-advanced stuff, then it starts to shows some rough edges.

cadey, to random
@cadey@pony.social avatar
hauleth,
@hauleth@fosstodon.org avatar

@cadey interesting fact - if you have full frame EOS R_ (in my case R5) you still can do APS-C photos via option in the HUD. So you can easily do the same thing you do with your R10.

marick, to random
@marick@mstdn.social avatar

While I’m Dispensing Wisdom That Seems Trivial:

I learned from Kent Beck that it’s a good idea to end the day’s work with a failing test. As my generally bad memory further degrades, I’m finding that even more important.

Or a compile error:

hauleth,
@hauleth@fosstodon.org avatar

@marick that sounds oddly useful. I need to try that.

hauleth, to random
@hauleth@fosstodon.org avatar

So Disney is starting new show. Something about detectives. However it shows how funny it can some stuff be cross languages.

In Polish "jeb" (read more like "yeb") mean "fuck", "pyre" is genetivus (who? whom?) of "pyra" which mean "potato" in Greater Poland dialect. "Pyra" is also a popular name for people from Poznań and near territories. This mean that title of this show in Polish mean "fuck potato" or "fuck people from Poznań".

b0rk, to random
@b0rk@jvns.ca avatar

i uh spend a lot of time thinking about whether various surprising software design choices are

a) intrinsic to the problem domain ("it turns out it DOES make sense!”)
b) made sense historically ("this made sense in 1992, but it didn't age well”)
c) just a typo/mistake (the "Referer" header)
d) related to budget/time constraints (“well, prototyping with shell scripts is fast!”)
e) cultural/organizational (“well, Google is the main funder for this project, and…”)
f) something else

hauleth,
@hauleth@fosstodon.org avatar

@b0rk g) would be PHP probably. Started as scriptable template engine and ended as a de facto language for web for a quite time.
h) PHP again - some naming decisions stay to this day, for example because early PHP implementations used some utterly dumb hashing function for function names (I do not know if that was length + sum of characters or something like that, but it was dumb).

artemist, to random
@artemist@mildlyfunctional.gay avatar

just installed perfectly normal nixos on my computer

hauleth,
@hauleth@fosstodon.org avatar

@artemist that was always my dream to see such setup.

b0rk, (edited ) to random
@b0rk@jvns.ca avatar

if you have your current git branch in your shell prompt, what do you use to set it up?

so far I know about

hauleth,
@hauleth@fosstodon.org avatar
nixCraft, to FreeBSD
@nixCraft@mastodon.social avatar
hauleth,
@hauleth@fosstodon.org avatar

@nixCraft with cover drawn by director of Toy Story.

b0rk, to random
@b0rk@jvns.ca avatar

what are your favourite git config options to set? Right now I only really have git config push.autosetupremote true and git config init.defaultBranch main set in my ~/.gitconfig, curious about what other people set

(diff algorithm patience? a custom diff/merge tool? enable rerere?)

hauleth,
@hauleth@fosstodon.org avatar

@b0rk not exactly git-config option, but .config/git/attributes with *.lock merge=binary is a blessing for conflicts in merge files. Also commit.cleanup=scissors is handy when you want to use # in your commit message

hauleth,
@hauleth@fosstodon.org avatar

@b0rk also, I use diff.algorithm=histogram over diff.algorithm=patience. It gives slightly better results in some cases.

markmccaughrean, to Astro
@markmccaughrean@mastodon.social avatar

Ever wondered what it sounds like when you close the door of a 11 metre wide, 9 metre deep, & 16.4 metre high concrete chamber?

Wonder no more – my Test Centre colleague, Jan Demming, demonstrates the ~20 second reverb time of the Large European Acoustic Facility at ESA's ESTEC today 🙉

Normally used to test satellites under the enormously loud conditions of launch, we were in the LEAF today for quite a different purpose 😉

1/

A video showing a man dressed in a blue cleanroom outfit with a hairnet standing by the door of a very large green-painted concrete room. He slams the door and the noise reverberates for many seconds after.

hauleth,
@hauleth@fosstodon.org avatar

@markmccaughrean I would like to have IR for that.

hauleth,
@hauleth@fosstodon.org avatar

@markmccaughrean impulse response. It was infrared for me as well for a long time, but after I picked guitar it got confusing :D Naming things is hard.

lcamtuf, (edited ) to random

Laugh all you want, but I think we're at an internet content singularity. Not because ML output rivals good human writing, but because "good" is irrelevant. The content we click on the most is the stuff that ML can spew out without breaking a sweat.

I semi-regularly joke about this, but I see a very real disparity on my blog. The dumb articles I'm not proud of get 20k, 40k views. The ones I put real effort into stay under 1k.

We all crave clickbait that reinforces our views. And ML will oblige and drown us in it.

hauleth,
@hauleth@fosstodon.org avatar

@lcamtuf @cadey have written about it some time ago - https://xeiaso.net//blog/birth-death-seo/

bagder, to github
@bagder@mastodon.social avatar

At a #github event. Martin is my best friend.

hauleth,
@hauleth@fosstodon.org avatar

@bagder that font caused me to read "Doniel" on your badge

cadey, to ROGAlly
@cadey@pony.social avatar

Drafting begins for the #ROGAlly video/blogpost

hauleth,
@hauleth@fosstodon.org avatar

@cadey what tool is that?

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