@alexelcu@social.alexn.org
@alexelcu@social.alexn.org avatar

alexelcu

@alexelcu@social.alexn.org

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

alexelcu, to random
@alexelcu@social.alexn.org avatar

Twitter's domain is now officially x.com — this is probably the worst rebranding I've ever seen 😄

alexelcu,
@alexelcu@social.alexn.org avatar

@simon In fairness, this is probably Firefox's fault. Given Twitter.com worked just fine in Firefox, they'll likely have to update their rules.

alexelcu, to programming
@alexelcu@social.alexn.org avatar

This is old news, but there's now an official announcement — Apache Pekko is now a top-level project:

https://news.apache.org/foundation/entry/apache-software-foundation-announces-new-top-level-project-apache-pekko

alexelcu, to programming
@alexelcu@social.alexn.org avatar
alexelcu, to typescript
@alexelcu@social.alexn.org avatar

Async/await in is essentially “direct style”. It will be interesting to see if Effect, a monadic effect system, will take off, as a case study for & — although for “direct style”, these have the advantage of context parameters.

https://effect.website

alexelcu, to random
@alexelcu@social.alexn.org avatar

Anecdotally (n=2), trying to teach teenagers programming by allowing them to use GitHub Copilot / ChatGPT hasn't been going well. Copilot/ChatGPT will generate code that they don't understand, sometimes with mistakes. And I noticed no progression happening while it's used.

vascorsd, to programming
@vascorsd@mastodon.social avatar

After hearing good things about scalatags, reading the readme I almost walked away when I saw the changelog with latest version being 0.7.0 adding support for scala 2.13. I was literally thinking it was dead and nobody worked on it for 3 for example... 😮‍💨

Well turns out that if you open github you see that it actually was tagged a version 0.13.1 and the changelog hidden in a file is getting updated.

But the official docs website doesn't have any recent updates! 😨

Always check the code!

alexelcu,
@alexelcu@social.alexn.org avatar
alexelcu,
@alexelcu@social.alexn.org avatar

@vascorsd I like using Scaladex because finding the latest library versions can be challenging, as there's no standard (GitHub vs. homepage, README vs. tags vs. releases on GitHub).

alexelcu, to python
@alexelcu@social.alexn.org avatar

On the need for debuggers … I use it rarely because of FP, unit testing and println().

OTOH, I think we are deluding ourselves. We don't do debugging b/c the tools suck. Nothing ever comes close to having a real console at your breakpoint:

import pdb; pdb.set_trace()

alexelcu, to random
@alexelcu@social.alexn.org avatar

Scala Native 0.5.0 released. Introduces multithreading and delimited continuations 😍

https://scala-native.org/en/stable/changelog/0.5.x/0.5.0.html

alexelcu, to programming
@alexelcu@social.alexn.org avatar

Martin Odersky's thoughts on "Lean Scala"

What do you think?

https://odersky.github.io/blog/2024-03-21-post.html

alexelcu, to random
@alexelcu@social.alexn.org avatar

I'm starting to assess the health & maturity of programming languages by the availability of
‣ good LSP implementation (VS Code, vim, etc.);
‣ good IntelliJ IDEA plugin.

None is optional, I want both.

ross, to random
@ross@rossabaker.com avatar

Every time a company rug pulls a license, block the principals, on GitHub and elsewhere. If you build your product on the back of the commons, and then delete your product from those commons, you delete yourself from collaborating on the next generation of the commons. Trust matters.

alexelcu,
@alexelcu@social.alexn.org avatar

@ross you can't change the license on code licensed under BSD or MIT, because there's nothing that allows you to. You can incorporate that code in proprietary projects, but that BSD/MIT portion of the project stays BSD/MIT. E.g, you can't take an APL2 project and make it GPL3, only the changes can be GPL3.

Also, all the license changes we're seeing are due to copyright assignments being required from contributors, and copyleft licenses wouldn't have helped.

@jonoabroad @tpolecat @eed3si9n

alexelcu, to programming
@alexelcu@social.alexn.org avatar

"Reasons to migrate to Scala 3"

alexelcu, to programming
@alexelcu@social.alexn.org avatar

turned 20

image/jpeg

alexelcu, to FunctionalProgramming
@alexelcu@social.alexn.org avatar

will make you build better software, regardless of language. Some understated effects:
‣ Prefer params to global state
‣ Prefer data pipelines to fragile state mutation
‣ Prefer clear responsibilities for components
‣ Make dangerous side effects visible.

alexelcu, to programming
@alexelcu@social.alexn.org avatar

The series of articles titled “My Scala Story” is pretty cool, worth a read 🥰
Interesting to see how many came to for mostly the same reasons — having fun with 💪👾

https://softwaremill.com/blog/?tag=myscalastory

alexelcu, to react
@alexelcu@social.alexn.org avatar

, the light alternative to , doesn't require a build process, as it's using:

‣ tagged templates, instead of JSX;
‣ JavaScript modules.

This is the future of :
https://preactjs.com/guide/v10/getting-started#no-build-tools-route

alexelcu, to programming
@alexelcu@social.alexn.org avatar
alexelcu, to programming
@alexelcu@social.alexn.org avatar
alexelcu, to programming
@alexelcu@social.alexn.org avatar

“In , Cats-Effect's Resource is too difficult, and all those implicit params and tagless final makes code hard to read 😣”

Goes back to :

https://quarkus.io/guides/cdi-reference
https://docs.spring.io/spring-framework/reference/core/beans/dependencies/factory-collaborators.html

👹

alexelcu, to programming
@alexelcu@social.alexn.org avatar

PRO-TIP: can compile packages with 's native-image. And without --no-fallback, the compatibility issues (e.g., w/ reflection) are minimal.

Fast startup, reasonable binary size, good RAM use 💪

alexelcu, to Cats
@alexelcu@social.alexn.org avatar
vascorsd, to random
@vascorsd@mastodon.social avatar

Google Cuts Thousands of Workers Improving Search After Search Results Scientifically Shown to Suck
https://lemmy.world/post/11165956

alexelcu,
@alexelcu@social.alexn.org avatar

@vascorsd A more generous take would be that Google is changing processes that currently don't work.

Even with all issues that are their own doing, like owning AdSense, I'm pretty sure that they are having emergency meetings on how to improve search, because with AI, the writing is on the wall ... either because Microsoft can take their launch with Bing AI, or because SEO BS is now much cheaper, which will completely destroy their reputation. I bet they are in panic mode right about now.

alexelcu, to Blog
@alexelcu@social.alexn.org avatar

“Scala's Future”

Gather around, kids, let me tell you two stories from my past in the software industry.

https://alexn.org/blog/2024/01/10/scala-future/

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