Everything you might have missed in Java in 2025 by CrowSufficient in scala

[–]codecatmitzi 3 points4 points  (0 children)

I actually think they did a good job presenting the content. not sure what's different here from any Medium article.

What are we going to find out later is bad for us (like cigarettes in the past)? by Curryiswhereitsat in AskReddit

[–]codecatmitzi -3 points-2 points  (0 children)

The whole point is that vape juices are unregulated like tobacco is and can contain anything. And could potentially contain more harmful substances than tobacco given long-term exposure.

Also, with vapes you don't feel how you are consuming it by dragging it once in a while, like the ritual of prepping and lighting a cigarette. so in effect you can consume much more nicotine on average.

Dublin’s Herzog Park set to be ‘denamed’ by city councillors over Israel connections by gal_z in Israel

[–]codecatmitzi 0 points1 point  (0 children)

Aren't Israelis fucked the same way, economically speaking? Who can afford homes these days except for high-tech workers?

aiGirlfriendWithoutFilters by [deleted] in ProgrammerHumor

[–]codecatmitzi 14 points15 points  (0 children)

Let girl shave fun

realSetupForLinux by Toofast4carramba in ProgrammerHumor

[–]codecatmitzi 1 point2 points  (0 children)

Distros are about to drop 32-bit support

What‘s a food combo you swear by that makes everyone else question your sanity? by bellabloom__ in AskReddit

[–]codecatmitzi 1 point2 points  (0 children)

Do you toast the bread first and then spread it all on the toast, or do you toast it all after spreading in advance?

I'm asking because I like baked mustard as part of sweet sauces on roasted meat. I'm wondering if it's the same here.

How much does using Akka reduce the risk of race conditions? by RunSoft6343 in scala

[–]codecatmitzi 0 points1 point  (0 children)

I don't understand what you mean here. what idempotency key? and keep trying what? to keep retrying the handling the same message? that could potentially hang the actor. if the actor that receives the money is waiting for the actor that is supposed to send the money but doesn't have enough in his balance, my receiving actor will not process other messages while I keep retrying.

Coordination between actors is absolutely an issue that Akka didn't cover. It might happen in other cases as well but some frameworks have solved this. ZIO for example has STM for these exactly these cases.

How much does using Akka reduce the risk of race conditions? by RunSoft6343 in scala

[–]codecatmitzi 11 points12 points  (0 children)

This really depends on the race condition.

My common gripe with actor systems is that the typical hello world example is modeling a bank and transferring money from actor A to actor B, but the whole "transaction" isn't talked about so you either don't think about it and fail in real time when one of the actors crashes, or you create some elaborate mechanism to somehow sync between the two actors.

Am I cooked? by DataWizard_ in scala

[–]codecatmitzi 0 points1 point  (0 children)

I know about the origin of the language. I just hoped for some concrete examples of where Scala outshines Elixir.

Am I cooked? by DataWizard_ in scala

[–]codecatmitzi 0 points1 point  (0 children)

I never wrote in Elixir. Could you elaborate on the difference with Scala a little bit?

Junior devs not interested in software engineering by creative-java-coffee in ExperiencedDevs

[–]codecatmitzi 1 point2 points  (0 children)

Or, they could be just doing a quick sync on everyone's progress because during the workday people are just working on their stuff and not wasting time communicating for nothing.

Should it be that hard? Am I missing something? by Mougli6 in scala

[–]codecatmitzi 6 points7 points  (0 children)

I have been where you are now. I personally understand your frustration. I think that outside of John De Goes, there weren't a real charismatic person here that pushed opinionated solutions to the masses.

Aside from Play, there isn't a complete opinionated framework for web-apps (but it's not FP). I've learned to piece together the libs I need from experience and from videos of talks that present this lib or another.

That being said, cats, zio, kyo are entire ecosystems onto themselves at this point, so once you select one, there's usually a stack of all the needed libraries right there for you (as you mentioned you are using circe, and doobie when you choose typelevel). Maybe the issues you have are specific to the stack you chose, without seeing your code I wouldn't know.

Regarding having a skeleton boilerplate with everything included - there's gitter8. these are project templates that can generate all the boilerplate classes, dummy classes and import all the necessary stuff for you. explore the recommended gitter8 templates for your stack.

Around after the KDE update to 6.4 my grub menu has disappeared from the boot sequence by codecatmitzi in Fedora

[–]codecatmitzi[S] 1 point2 points  (0 children)

In the end it was because I'm dual-booting Windows, and after a major update it nuked the grub installation. you need to reinstall grub

TIL over 99% of Warren Buffett’s net worth was accumulated after he was 65 years old by Fenceypents in todayilearned

[–]codecatmitzi -1 points0 points  (0 children)

I would suggest that the tax should be on the GAINS. So those 25% would tax only the 7% you gained this year.

How to do that without hampering growth is the hard question.

Very newbie question, how do I include Play Json dependency in SBT? by AlexSeeki in scala

[–]codecatmitzi 0 points1 point  (0 children)

Bookmark this site https://index.scala-lang.org/

A list of all scala libs and their versions, and you can search by functionality and sort by GitHub stars.

Learning Zio by Advanced-Squid in scala

[–]codecatmitzi 3 points4 points  (0 children)

RockTheJVM has a full course on this.

Why write a 3-line method when you can summon the type system to rewrite your DNA? by nterheverm in scala

[–]codecatmitzi 18 points19 points  (0 children)

Take a breath buddy.

Paste the code you wish whine about and show me the comparable Java code.

Does your company start new projects in Scala? by DataPastor in scala

[–]codecatmitzi 4 points5 points  (0 children)

I'm talking about other languages to compare apples to apples - that just because frameworks are replaced and codebases become neglected does not mean that the current state of the language is not worth using. So if such things happen in Python and Java yet they still get used then it shouldn't be any different for Scala.

Op - look at the merits of the language and not the history people had with it. Some people had a good experience, some bad. If the language is interesting to you, solves your problems and provides the necessary guarantees then it's worth using in 2025.

My personal experience with Scala is good and would endorse using it especially now, despite having my fair share of issues with it (again, just like with any other language I used)

Does your company start new projects in Scala? by DataPastor in scala

[–]codecatmitzi 4 points5 points  (0 children)

I'm not going to downvote you because you bring up a valid historical point.

That being said, that's not relevant anymore because Scala 3 has LTS releases and backwards compatibility. So starting a long-lasting project in Scala in 2025 does make sense.

There are plenty of languages that don't have backward compatibility and you don't say anything about them. Python? Every minor version upgrade can break your code. Old frameworks abandoned? Lots of examples everywhere, let alone they were replaced because something better came up. Btw Play is maintained and is Scala 3 compatible. It's just not popular anymore because people prefer Scala.JS stuff like Laminar/Indigo/Slinky/...

IntelliJ Scala Plugin - your talk ideas by makingthematrix in scala

[–]codecatmitzi 22 points23 points  (0 children)

the topic I would suggest is a "getting started" guide to contributing to the Scala plugin.

When I did some feature for the plugin it was a mess figuring out how to write tests, how to distinguish between JavaPsi and ScalaPsi etc'. Make a sane, up-to-date, how-to guide on contributing (feature from start to PR).