@vladimir_lu@hachyderm.io avatar

vladimir_lu

@vladimir_lu@hachyderm.io

“Just” a software engineer, functional human being. I work on #distributed systems currently, writing #scala, #rust, #sql and lots of little scripts besides. #photography, #hiking, #cooking and a bit of #gaming are main hobbies outside work currently.

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

davesmith00000, to programming
@davesmith00000@mastodon.gamedev.place avatar

The UI work continues...

#scala #screenshotsaturday

vladimir_lu,
@vladimir_lu@hachyderm.io avatar

@davesmith00000 what are you using to build this?

Ninji, to random
@Ninji@wuffs.org avatar

my new burger restaurant concept is inspired by modern software. the options for mayo are "yes" and "maybe later", and if you pick maybe later, the chef stands at your table with a squeezy bottle, threatening to add mayo to your burger when you least expect it

vladimir_lu,
@vladimir_lu@hachyderm.io avatar

@Ninji @drakulix our chef and 876 partner chefs may add mayo to your burger unless you manually untick the opt-in for all of them

vladimir_lu, to rust
@vladimir_lu@hachyderm.io avatar

Excited to be heading to today 😊

vladimir_lu,
@vladimir_lu@hachyderm.io avatar

It begins!

vladimir_lu,
@vladimir_lu@hachyderm.io avatar

Drones are flying in this cool hackathon from Helsing

vladimir_lu,
@vladimir_lu@hachyderm.io avatar

@jonhoo talking about impeccable rust

vladimir_lu,
@vladimir_lu@hachyderm.io avatar
drewdevault, to random
@drewdevault@fosstodon.org avatar

I wanted to know how the setpgid syscall was implemented on Linux, and it turns out that the author of this syscall implementation also wanted to know how setpgid worked, in 1991

vladimir_lu,
@vladimir_lu@hachyderm.io avatar

@drewdevault “this is only important on a multi-user system anyway” 😰

vladimir_lu, to random
@vladimir_lu@hachyderm.io avatar

Nice sunny day today

frankel, to random
@frankel@mastodon.top avatar

Strong static typing, a hill I'm willing to die on...

https://www.svix.com/blog/strong-typing-hill-to-die-on/

vladimir_lu,
@vladimir_lu@hachyderm.io avatar

@frankel I remember seeing this on HN, posting it to our team’s slack channel and then maybe getting a bit depressed that we were using an untyped language for pretty much everything 😂😢

kellogh, to python
@kellogh@hachyderm.io avatar

i wish had native UDFs, or whatever you’d call this:

@native_udf
def add_n(c: Column: n: Column) -> Column:
return c + n

you can easily make or functions like that today, but you can’t reference them from . i prefer them when possible in python bc they run natively. even in scala, strings aren’t converted to utf16 so it’s a win there too. they’re just a bit awkward when improving large chunks of SQL

vladimir_lu,
@vladimir_lu@hachyderm.io avatar

@kellogh you can reference them from SQL - this is the first and second example in the spark docs for UDF: https://spark.apache.org/docs/latest/sql-ref-functions-udf-scalar.html. Need to register them with a name in the SparkContext first.

vladimir_lu,
@vladimir_lu@hachyderm.io avatar

@kellogh do you wish to replace the builtin functions? That’s notoriously difficult due to hardcoding in various places (though possible, we had a fork of spark where we overrode certain builtins)

vladimir_lu,
@vladimir_lu@hachyderm.io avatar

@kellogh ah right, yes that’s not supported - specific type has to be known at compile time

adam_chal, to random
@adam_chal@hachyderm.io avatar

I am SO excited for https://p99conf.io today! I love watching the talks every year, and I'm thrilled to be presenting this year. It's free and live today!

vladimir_lu,
@vladimir_lu@hachyderm.io avatar

@adam_chal @janriemer Thank you for your talk - at first glance, dropshot looks a lot like tapir in the scala world.

Popehat, to random

“Go on," said Twitter. “How's it gonna be. We gonna get a little place."

"We'll have a cow," said Elon. "An' we'll have maybe a pig an' chickens . . . . an' down the flat we'll have a . . . . little piece alfalfa- "

"For the rabbits," Twitter shouted.

"For the rabbits," Elon repeated.

vladimir_lu,
@vladimir_lu@hachyderm.io avatar

@Popehat @mastodonmigration straight back to english lit class, wonderful!

janriemer, to rust

To all people, who think 's syntax is ugly: maybe you should give this one a read:

Complexity Has to Live Somewhere - by Fred Hebert (discovered through @algo_luca's book):

https://ferd.ca/complexity-has-to-live-somewhere.html

"If you're unlucky and you just tried to pretend complexity could be avoided altogether, it has no place to go in this world. But it still doesn't stop existing."

vladimir_lu,
@vladimir_lu@hachyderm.io avatar

@janriemer @algo_luca @mononcqc the author is also on here too, wanted to give a shout out to a great post (though I see people at work discovered it already back when it came out)

mitchellh, to random
@mitchellh@hachyderm.io avatar

People who ask "does this still use a VM" with every new "Docker on macOS" product have the exact same energy as the people who ask "does this still require state" for every Terraform-like tool.

vladimir_lu,
@vladimir_lu@hachyderm.io avatar

@mitchellh @LGUG2Z is this really an invalid (rather than annoying) question? Library operating systems exist where you could conceivably detect a glibc/musl/whatever libc version and dynamically replace it with an emulator that uses “native” calls (though this would be a lot harder to get right than a VM)

nurkiewicz, to random
@nurkiewicz@fosstodon.org avatar

IDEs, including , will bundle AI Assistant out-of-the-box. It'll support code, documentaion and commit message generation: https://blog.jetbrains.com/idea/2023/06/ai-assistant-in-jetbrains-ides/

vladimir_lu,
@vladimir_lu@hachyderm.io avatar

@nurkiewicz @alexelcu Where do I pay not to have this “feature” ? Oh wait

fasterthanlime, to random
@fasterthanlime@hachyderm.io avatar

I'm sorry, Ubuntu 23.04 ships with neovim 0.7.2 ??? (from June of 2022)

vladimir_lu,
@vladimir_lu@hachyderm.io avatar

@fasterthanlime except when the computer says no: https://github.com/flatpak/flatpak/issues/5452 😅

vladimir_lu,
@vladimir_lu@hachyderm.io avatar

@fasterthanlime I’ve taken to using https://github.com/jdxcode/rtx for cli tooling (because I’m using silverblue) - flatpaks are reserved for desktop apps (and I like that you can restrict permissions a little bit there)

vascorsd, to random
@vascorsd@mastodon.social avatar

For the last 2 weeks I've been trying to play a little with , migrated an old exercise I did from scala 2 to it. It's painful to use intellij in its current state, even using the eap plugin version or wtv it is. Seriously considering putting things back into scala 2, at least that works as expected in the IDE.

Problems include not autocompleting things, taking long time to show methods available, not showing inferred types, variables and types marked as not use when they are, etc...

vladimir_lu,
@vladimir_lu@hachyderm.io avatar

@vascorsd Two years after release, the IntelliJ support is miles better but as you point out, definitely not there yet :( And yet I sometimes wish some of the more niche languages had the same level of support 🥲

vladimir_lu, to programming
@vladimir_lu@hachyderm.io avatar

Time for the post. I’m Vlad, a functional human being that is currently working on a proprietary querying system, mostly written in with a small bit of . I used to tinker with and things before the pandemic and haven’t quite gotten back to it yet. I’d like to post some more programming content, perhaps some and definitely a few about politics or the lame state of software engineering in companies…

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