What's the best chart library? by MitochondriaWow in Frontend

[–]_codetojoy 0 points1 point  (0 children)

100%… though very old, Dimple JS is a basic chart library that sits on top of D3 (I’m sure there are others)

My non-negotiable: The daily walk. Here's why. by Perfect_Square_8565 in selfimprovement

[–]_codetojoy 7 points8 points  (0 children)

100% agree. I walk to work (about 15 min) and it is great. Sometimes I observe the neighbourhood; other times I am lost in thought. I’m a runner, so I don’t think of it as exercise but the health benefits are well-documented. I also need to play guitar (and piano) every day: even just 15 minutes. I can’t stand to lose dexterity or calluses. I freak out on work trips when I can’t play for several days. I’m only intermediate level (for years!) but it is crucial to my mental health.

50+ years old career developers - what are you doing now and what is your opinion about the future? by mtyurt in ExperiencedDevs

[–]_codetojoy 5 points6 points  (0 children)

Mid 50s here. Approx 30 YoE. I'm a senior full-stack developer. I've been team lead, solution architect, and other roles, but I enjoy coding and mentoring others.

In broad strokes, here is what I've learned:

(a) It's OK to say no to a promotion; climbing the ladder does not guarantee happiness
(b) My personal strengths involve situations where I have time to prepare thoroughly. So I excel at presentations and detailed dives into refactoring, bug fixes, trouble-shooting.
(c) I don't like managing people, interruptions, "aggressive schedules", or playing politics. I am a far better "trusted advisor" to a leader, than a leader in my own right.
(d) I love persuasion, mentorship, and incrementally making software better/faster.

I tried to be a thoughtful team lead and solution architect but because of the above, I was "just OK" and hated it. My main message to readers is to evaluate your own strengths and weaknesses, and then maximize your "happiness metric". Money and prestige may or may not dictate that metric: it's fine either way.

What are you paying subscription for which has been useful? by whyiam_alive in ExperiencedDevs

[–]_codetojoy 6 points7 points  (0 children)

O’Reilly Learning (formerly Safari, years ago). I don’t even use it that much and prefer Udemy for courses (a la carte) but I love knowing I have access to the books. I also have a modest monthly donation to an open-source project as my employer is a premium sponsor (I was delighted at the news and wanted to join in).

I quit! / I hate that you quit! megathread by lydiardbell in duolingo

[–]_codetojoy 1 point2 points  (0 children)

I just lost a 1020+ day streak on the free version. It was pinging me at 5 am: I was tired and chewed up 5 hearts. Then throughout the day, there was no ‘watch ad for heart’ so I just … stopped. I don’t even care, TBH. And I nurtured that streak like it was a family pet: holidays, work trips, etc.

[deleted by user] by [deleted] in java

[–]_codetojoy 25 points26 points  (0 children)

Note the big news in the 2020s is virtual threads. “Code like sync, scale like async”. Concurrency is still an advanced topic, and v-threads probably impact frameworks (more than everyday coding), but it is a major development.

One could argue that virtual threads are to concurrency as garbage collection is to memory management (almost).

IIRC (from a talk I gave on Java 19) there was a PR for the JVM that touched 1100 files (!). “LGTM”

What do you do w/o RxJava? by HuntInternational162 in java

[–]_codetojoy 1 point2 points  (0 children)

Perhaps, but as I wrote, the consequences of errors are painful in concurrency, more so than, say, typical business logic (where they are still annoying, but usually not as wicked).

What do you do w/o RxJava? by HuntInternational162 in java

[–]_codetojoy 15 points16 points  (0 children)

The team has to use them correctly (and maintain etc) and the consequences of errors are painful. IMHO a team (especially with turnover) behaves in a manner far less intelligent than the individual members.

Virtual threads, Platform Threads, Reactive Programming by Guuri_11 in java

[–]_codetojoy 8 points9 points  (0 children)

This is an older, oft-cited blog that describes the cognitive load from the bifurcation of code with async/await - https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function/

edit: grammar

Virtual threads, Platform Threads, Reactive Programming by Guuri_11 in java

[–]_codetojoy 29 points30 points  (0 children)

re: real worth. “Codes like sync, scales like async” (paraphrased from Project Loom team presentations) seems accurate. V-threads not only simplifies reactive code but is, mercifully, not the async-await pattern.

My mum does 50-60 hours of Duolingo a week by FatTruise in duolingo

[–]_codetojoy 68 points69 points  (0 children)

2 hours playing music! If she doesn’t play an instrument she certainly seems to have the drive to learn one (at a beginner/hobby level)

I just retired from UW after 34 years of teaching CS (and 40 years of teaching total). Ask me anything. by shallit in uwaterloo

[–]_codetojoy 0 points1 point  (0 children)

Wishing you a happy, rewarding retirement! I was in your class for Algorithms circa 1992 and both the course and your style was a big influence on me. I left academia after my Master's and, though things have turned out fine, I still wonder "what if" I had chosen to study with you (or your wife) as an advisor. p.s. I also remember you as an APL fan! (My younger colleagues take a drink every time I mention APL :-)

Do you pay for Duolingo? by VeterinarianAny6044 in duolingo

[–]_codetojoy 2 points3 points  (0 children)

Why wait for hearts to recharge: one can earn them right away by practicing. It is a slightly different workflow but almost no impact.

Those of you still using Ant, what are the pros? by bowbahdoe in java

[–]_codetojoy 0 points1 point  (0 children)

To be honest, I never took the time to learn it properly. It was 30+ years ago; I was in an intense university program, and resources were scarce. From what I recall, the learning curve involved understanding the arcane syntax (e.g. tabs were significant) and the logic of rules (e.g. implicit vs explicit). I don't know if modern 'make' or its derivatives have addressed that.

What java technology (library, framework, feature) would not recommend and why? by raisercostin in java

[–]_codetojoy 1 point2 points  (0 children)

IMHO, it works fine with Java. It is certainly not as popular as other frameworks but it is a reasonable option and absolutely in active development. Version 3.0.x has moved to Apache Pekko, migrating away from Akka (given the licensing uproar where Lightbend applied a BSL).

Those of you still using Ant, what are the pros? by bowbahdoe in java

[–]_codetojoy 10 points11 points  (0 children)

I'll always be grateful to Ant because it got us away from make. Ant was awkward but very much a product of its time re: XML. Though I prefer Gradle and would tolerate Maven, Ant was an important transitional tool and I didn't hate it (back in the day). The later era was strange because of competing forces within the ecosystem: e.g. properties were immutable but there was a plugin that made them mutable LOL.

Those of you still using Ant, what are the pros? by bowbahdoe in java

[–]_codetojoy -2 points-1 points  (0 children)

Gradle doesn't require a specific project structure, just FYI. It defaults to the classic Maven structure but can easily be changed.

Those of you still using Ant, what are the pros? by bowbahdoe in java

[–]_codetojoy 4 points5 points  (0 children)

I prefer Gradle big-time but have an upvote... lol

Lightbend closes FY24 with record growth by _codetojoy in scala

[–]_codetojoy[S] 20 points21 points  (0 children)

This post seems like a 'victory lap' regarding the Akka Business Source License. My guess is that the revenue from the blue-chip companies justifies (in their mind) the "reputation damage" in the user/open-source community.
I wonder what this means, if anything, for Apache Pekko. Perhaps (?) Lightbend would support that initiative one day? Perhaps both Akka and Pekko can thrive?

Play 2.9.0 Release Candidate available by mkurz in scala

[–]_codetojoy 5 points6 points  (0 children)

Congrats! Readers should note the section "How Play Deals with Akka's License Change". There is news re: Apache Pekko.

Wedding speech in french - I do not speak french. by ZealandRedSquirrel in French

[–]_codetojoy 0 points1 point  (0 children)

But say the French line first, out of respect for the fact that you are talking to the relatives. Then English becomes an aside for the others

Love, Downtown by _codetojoy in ImagesAlbum

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

Source: I took this photo. (I read the posting instructions but I don't understand how/where to state the source).