benjhm

joined 1 year ago
[–] [email protected] 1 points 1 week ago* (last edited 1 week ago) (2 children)

That seems like a big change in one year. It may to some extent reflect delay, as on average chinese used to pair-up at a younger age than typical in europe, also maybe some feel old traditions aren't necessary to keep a stable family with children. But the article says, the core factors are economic. Even so, as they have built so many surplus apartments, the [real] prices must drop, I wonder how many years before they are trying to sell the chinese dream to migrants from Africa or elsewhere.

[–] [email protected] 2 points 3 weeks ago

Back in 2011, I with my young family took a local bus north from Mariana, which diverted through several villages including that one Bento Rodrigues just below the dam, soon to be washed away. Through gaps in the trees we could glimpse those huge orange lakes just behind earth dams - it was obvious even to a casual tourist that it was a disaster waiting to happen. But the bus was run by the mining company, like all services around there, I suppose that's why people didn't complain more.
By the way I was told Brazil didn't even make much from iron mines, as most of raw ore was exported to China, which got the real value.

[–] [email protected] 1 points 3 weeks ago

Emissions grew in 2023, that's not the same as 'are now growing'. There is a good chance global CO2 emissions fall in 2024, mainly due to trends in China. Of course it takes time to gather data, but NS should be more careful with the headline.
The spinscore link has useful refs - but keeps mixing up CO2 emissions with "CO2 equivalents" including methane, landuse and minor gases. Methane rising is a big issue, but might potentially be turned around faster. Regarding landuse, deforestation was exacerbated last year by El Niño feedbacks - it's hard to separate the anthropogenic part of these fluxes.
Rather than simple headlines which encourage fatalistic doom, it's more useful to explain how some factors progress better than others. They are right to highlight growth in road transport and aviation (even if some growth still covid-rebound), although more effort still needed in all sectors.

[–] [email protected] 28 points 1 month ago (58 children)

Hmm. I'm still using a 2014 iMac, as its 27" 5k screen still very good for coding (with added memory). Sometimes develops a bunch of thin vertical lines, which come and go maybe dependent on temperature, but hasn't changed for for ten years and i can live with those. Just wish they'd continue providing security updates for it.

[–] [email protected] 2 points 1 month ago

Odd that Estacio de França is now the terminus only of lines from the opposite direction - but it makes sense to run all across the centre.

[–] [email protected] 4 points 1 month ago

I've been calculating and struggling with climate change for - well, seems a long time now.
As a young man, I didn't expect that world society would survive as long as it has, I thought climate was existential now - in the 1990s - so I tackled what I could then, rather than planning for my life decades later (which is consequently not easy).
But we're still here, and actually the range of scenarios looks somewhat better now than projections back then.
Probably emissions in China have just peaked, and as these are such a big chunk of the global total over last 20 years, so that may have peaked too. Global science and civil society has, collectively, helped to influence that. We have bent the curves. Of course there is inertia in the system, it takes time for carbon and heat to penetrate the deep ocean and the ice, so the surface temperature will continue to rise for decades, but not necessarily for centuries - that's still our choice. Yes, some megacities will drown beneath the sea, and others become uninhabitable due to heatwaves and drought, but there will be plenty of other places to live, we'll need some redistribution. Many other species will be (and have been) lost, but life on earth has survived worse catastrophes, life will go on.
Especially people who care about such future, who educate themselves about the challenges, yourself included, should be part of that. But it's a long-term problem, without quick-fixes, so plan accordingly, saving some strength for later, we'll still need it.

[–] [email protected] 2 points 2 months 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.

[–] [email protected] 6 points 2 months 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)?

[–] [email protected] 3 points 2 months 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.

[–] [email protected] 11 points 2 months 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.

[–] [email protected] 3 points 2 months 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.

[–] [email protected] -1 points 2 months ago

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

view more: ‹ prev next ›