

Too true, and good analogy with building a house extension…
Too true, and good analogy with building a house extension…
Zed, for the last few months, and happy with it (previously vscode) - I code in Scala, so Metals provides the complex hints / actions.
My dog certainly has a theory of my mind, she’s always out in front guessing where I’ll go and happiest when she gets it right, or suggesting ideas when it seems I lack one.
Can use Scala to gradually transition away from java - convert code module by module, interop just works, until eventually no java left, can then compile instead as js, native or even wasm (i recently tried this for my climate-system model which evolved from old java). Also, btw, made in europe, not big-tech, and scala3 looks more like python.
Also remember Bush did the same for Kyoto protocol. Loop repeats again.
I’ve wondered through favelas in Rio. Nice people, tasty snacks, fine views (they are on hillsides), some great music. But that was over a decade ago, I heard situation got worse again during Temer/Bolso time, hope it’s improving now.
This is hardly surprise news, it’s just what the demographics projected. And if trends continue, China’s population will halve by 2100.
The big one to watch now is India, and then central Africa, those are harder to project.
You can experiment with my model - click the ‘model pop’ plot on the left side.
A wee quote from the author of the original little red book …:
“the two slogans – let a hundred flowers blossom and let a hundred schools of thought contend – have no class character; the proletariat can turn them to account, and so can the bourgeoisie or others. Different classes, strata and social groups each have their own views on what are fragrant flowers and what are poisonous weeds”.
Seemed a good idea at the time (1957?), remember how that trick evolved thereafter …?
I was concerned about the gap between climate science and policy. So, having learned to program as a kid, I made an interactive model to help bridge that gap, to let people experiment. This evolved over 25 years - recently moved to scala.js, still developing, not for money but because we have to keep trying to solve complex problems.
As a kid, I learned to write i = i +1, before school maths taught me it can’t. The point is, computers do iteration well, especially to model dynamics of real non-linear systems, while classical maths is good at finding algebraic solutions to equilibria - typically more theoretical than real. Calculus is great for understanding repeatable dynamics - such as waves in physics, also integrating over some distributions. But even without knowing that well you could still approximate stuff numerically with simple loops, test it, and if an inner-loop turns out to be time-critical or accuracy-critical (most are not), ask a mathematical colleague to rethink it - believe in iteration rather than perfect solutions.
I’m aware of the racism issue, I even observed it myself in China, even many years ago.
But i’ve also seen similar problems in other corners of the world. Such cultural concepts can change slowly, as they did over here.
Anyway, I doubt this would dissuade people trying to connect what will become the world’s main supply of surplus young labour, with the world’s greatest demand for care-services, combined with spare apartments, money, and a milder climate. Not saying it’s good or bad, just trying to anticipate future changes.
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.
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.
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.
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.
I now use Scala 3, and very happy with syntactic whitespace (combined with an intelligent compiler)
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 …?
Scala-js is working on it - as its compiler design may facilitate this.
I haven’t yet tried (on todo list) and am not an expert, but bookmarked in passing:
recent github implementation, some history, following older discussion
Although not an expert on that specific country, I can be sure that ’ almost all ’ is very misleading, even if it gets a lot upvotes because people find it convenient to blame some big bad other. Even if you have specific data for electricity, don’t forget a lot of CO2 is emitted by cars, and also by fuel to heat homes (including some peat in special case of ireland - and in that country a large fraction of GHG emissions is also methane from agriculture).
I’d like to have no phone at all, I don’t like small screens, nor being interrupted. Problem is that phone apps are now almost obligatory for IDs, transport tickets, passes, banking, etc. So I’d just like a phone-receiver (modem) with a sim card on a USB stick that can enable phone-app-stuff via my laptop or tablet. (Yes some tablets have data sim cards, but we still need sms and occasional phone functions for ‘verification’ etc.). Any suggestions?