@vascorsd@mastodon.social
@vascorsd@mastodon.social avatar

vascorsd

@vascorsd@mastodon.social

• anime & manga • strong copyleft • privacy
• linux • functional programming • tech

No Freedom exists without Privacy.

Currently #scala software developer.
Half-shit posting around. Check at your own risk.

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

vascorsd, to programming
@vascorsd@mastodon.social avatar

Moving Beyond Type Systems | Vhyrro's Digital Garden
https://vhyrro.github.io/posts/effect-systems/

vascorsd, to random
@vascorsd@mastodon.social avatar

Votar a 20 segundos das cenas fecharem foi a primeira vez, mas done :blobsweats:

vascorsd, to random
@vascorsd@mastodon.social avatar

3 is fun when it gives error and you have the explain compiler flag on it shows amazing beautiful errors that allow you to understand exactly what is wrong with the refactoring you were doing by changing some lines of code ...

:blobpeek:

/s

No really is totally unreadable, better learn some ancient dark magic :cate:

https://pastebin.com/m4xzvb8b

vascorsd, to manga
@vascorsd@mastodon.social avatar

Tensei Akuma, now that is an amazing #manga start. This is is gonna be gold I can feel it :blobnom:

vascorsd, to random
@vascorsd@mastodon.social avatar

Google avoids jury trial by sending $2.3 million check to US government
https://reddthat.com/post/20275575

vascorsd, to random
@vascorsd@mastodon.social avatar

Classic II: Dominique's Revenge DLC Date Announce - Bloodstained
https://playbloodstained.com/classic-ii-dominiques-revenge-dlc-date-announce/

vascorsd, to random
@vascorsd@mastodon.social avatar

Omg, Mull (firefox) is now finally being able to play the shitty instagram links that people sometimes send me 😯🎉🎉🎉.

No more sharing to chrome to open those links.

vascorsd, to random
@vascorsd@mastodon.social avatar

What could go wrong...

How Elon Musk's Starlink Turned Remote Amazon Tribe Into Social Media And Pornography Addicts
https://lemmy.world/post/16214293

vascorsd, to random
@vascorsd@mastodon.social avatar
vascorsd, to random
@vascorsd@mastodon.social avatar

Exclusive: Former Meta engineer sues company saying he was fired over handling of Gaza content
https://lemmy.sdf.org/post/17798285

vascorsd, to random
@vascorsd@mastodon.social avatar

Any LinkedIn alternatives?
https://lemmy.world/post/16176277

vascorsd, to random
@vascorsd@mastodon.social avatar

The AI scams are out of control.

https://www.youtube.com/watch?v=d7DtiMzMBdU

vascorsd, to random
@vascorsd@mastodon.social avatar
vascorsd, to Anime
@vascorsd@mastodon.social avatar

Amazing how there are so many ost music that you just end up knowing and loving even without ever having watched the animes.

It's a testament to just how good the bands and artists really are.

https://www.youtube.com/watch?v=JF6Sw1d4qrY

vascorsd,
@vascorsd@mastodon.social avatar

Doesn't really help if you regularly listen to some nippon nerdy music from sites like https://listen.moe or https://r-a-d.io

:blobnom:

Just happy that after so many years they keep working 😅

vascorsd, to programming
@vascorsd@mastodon.social avatar

You may not like it, but hear me out...

For new code using the newer weird white space syntax you should try to configure the formatter to give you 3 spaces as the indent.

It just makes everything better. Go and try 🫣 :catPOWER:

I tried it the other day before turning the newer syntax off completely and it looked much better than 2 spaces.

:blobpeek:

vascorsd,
@vascorsd@mastodon.social avatar

@enmodo true that 😌.

The few hours that I was trying the newer syntax just left me confused, annoyed and frustrated.

Too many errors being thrown to my face about incorrect indentation or can't parse something, expected another.

Nothing beats putting a bunch of code lines, triggering the formatter and it actually working and putting things in the correct places and correct interpretation.

Although I can see some use cases and how some people may like it, I don't think it's for me rn :yell:

vascorsd,
@vascorsd@mastodon.social avatar

@dwardoric it kinda really helps with the eye strain and the mental parsing and grouping of things. I felt it too.

It was kinda unexpected for me since I've been convinced forever that the 2 space indents were a good thing we had.

vascorsd,
@vascorsd@mastodon.social avatar

@enmodo oh, there were some languages that try that model, where the code editing is irrelevant to the underlying code data that is saved/kept in the repo.

The problem being that it doesn't play well with diffs/git I think 🤔.

But it's an interesting concept, I've wondered about it previously.

I'm kinda sure that unison is like that - https://www.unison-lang.org/docs/tour/

vascorsd,
@vascorsd@mastodon.social avatar

@ragb tabs are the worse thing ever invented 😡.

I fondly remember my early programming days and some clang code that had those mixed in and it was horrible everytime I wanted to change code or align things.

Ptsd for life.

The good old days where I didn't know about these holy wars or what indenting or wtv those concepts were.

Simpler times 😌

Not to mention all the 4 or 5 different places where one usually wants to read or change code all being inconsistent with that.

vascorsd,
@vascorsd@mastodon.social avatar

@ragb and 3 is the best number ever invented. Close to it and maybe better is 5! 🍌

vascorsd,
@vascorsd@mastodon.social avatar

@dwardoric not the tabs 😭. I'm highly allergic to it 😅.

I think you're right about deep nested code, and it absolutely helps there.

But I bet most code out there is not simple and straightforward and small. Most code ends up with nesting and many lines. At least enterprise grade code I've seen over the years. I believe the defaults should be optimized for what the code ends up being eventually.

A simple method is very likely to grow in size and scope.

vascorsd,
@vascorsd@mastodon.social avatar

@dwardoric seeing too deep nesting and the code running off the screen to the right kinda screams at you to try and simplify it earlier and to move things to other functions 🤔

vascorsd,
@vascorsd@mastodon.social avatar

@ragb it's easy to mix them. For understanding when and how to use them you need a deep understanding of what they are meant to be used for, which newbies won't know or understand earlier in their career.

It happened a lot having parameters that you want to align and variable declarations and other things, but then having the tab key not expanding automatically to spaces means that you will use it in the middle of code to try to align things accidentally and inherently things will end up mixed.

vascorsd, to linux
@vascorsd@mastodon.social avatar

I find extremely confusing the whole dbus service & object & interface thing, it makes no sense at all in my dumb head. But it is what it is.

Seems a nice post about .

--
DBus and systemd — Beartama's Blog documentation
https://uyha.github.io/technical/dbus-systemd.html

vascorsd,
@vascorsd@mastodon.social avatar

@dvim oh that's some nice code you got there. I'll be checking it, there's some stuff I also wanted to do there.

I had tried to use the process calling of fs2 some time ago but it was confusing to me how to deal with some of the streams. Eventually I'll try it again.

With the code size and libs there it should be possible to get things working with scala native. At least cats and fs2 I know should work.

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