benjhm

joined 1 year ago
[–] benjhm@sopuli.xyz 2 points 3 days ago

I like some concepts and design of Mbin, something to learn from, but I'd believe more in its growth potential if not written mainly in php.

[–] benjhm@sopuli.xyz 6 points 4 days ago (1 children)

Interesting observation and analysis, and illustrates the potential of more lemmy-mastodon interaction.
Indeed mdon like-federation seems weird but I presume it was setup this way for efficiency, to reduce the number of small communications? Although Lemmy has a backend in rust - more efficient than mdon's ruby - still I wonder whether the lemmy system of federating all upvotes would scale well if the number of users grows to that of mastodon and beyond ? Could there be some intermediate compromise solution (e.g. federate batches of 100 likes)?

[–] benjhm@sopuli.xyz 2 points 4 days ago

Indeed to use scala-native you'd need pure-scala libraries, but the core lib re-implements most java lib, and there are now small simple external libs available for common tasks like file management, database, etc. - for example check out the lihaoyi suite.
I mainly use scala-js (to make this) which was formerly a java app - as it compiles to both js and jvm (cross-project) can gradually convert stuff you already wrote. I've tried native for stuff like pre-processing data files.

[–] benjhm@sopuli.xyz 10 points 4 days ago (2 children)

I didn't discover Lemmy through search, nor did I ever use reddit - I found it from mastodon where a few people promote lemmy posts. Then gradually realised I preferred the community-focus here, compared to the individual-focus of mdon (although combining both could be good). As mdon has many more users, improving this inter-op would help to bring people here.

[–] benjhm@sopuli.xyz 3 points 4 days ago (2 children)

Scala compiles either to native, js or jvm - obviously the IO / interface options vary between these envs, but the lang is the same. Recently Scala 3.5 incorporates a simple-to-use CLI which makes it easier to compile to native (or just run a small file as a script, or experiment with a repl), native binaries are small and fast, and there are some simple io libraries. Since you can also compile to jvm to interop with java, that might help with transition.

[–] benjhm@sopuli.xyz -1 points 6 days ago

I now use Scala 3, and very happy with syntactic whitespace (combined with an intelligent compiler)

[–] benjhm@sopuli.xyz 2 points 6 days ago

Trying to imagine what's the application of mats of electric seaweed - if the energy could somehow make them self propelling, and self replicating, could get interesting, big potential surface area ...?

[–] benjhm@sopuli.xyz 1 points 6 days ago

Some good digging - indeed it is hard to understand all the different ways to define and interpret climate sensitivity.

[–] benjhm@sopuli.xyz 3 points 1 week ago (1 children)

Well, in most countries wind and solar are rapidly growing compared to hydro. A more critical question for India is what else could replace the melting Himalayan glaciers and reducing snow cover, as a storage of water for the dry season?

[–] benjhm@sopuli.xyz 3 points 1 week ago
[–] benjhm@sopuli.xyz 2 points 1 week ago* (last edited 1 week ago) (1 children)

Indeed that's strange, and the flat slope in 2060 seems inconsistent with declared net-zero policies of China and even India. Russia has no such policy, but still strange to assume continuation of current government concepts there until 2060. (you can see the regional breakdown in supplem Fig 1. )

[–] benjhm@sopuli.xyz 4 points 1 week ago

Regarding the map - an annual average cost is not so meaningful - in higher latitudes solar is not enough in winter - especially where it’s mostly cloudy during the first half of winter. Wind helps the balance but not everywhere, always. Of course, the sophisticated models behind the article know all that, the issue is simplistic presentation. I note "we assume hydrogen is used for seasonal storage" - this may be rather optimistic - how many dark months can that cover?

view more: next ›