i'm also using a "type safe" templating engine (for kotlin, as a gradle plugin) of my own design that goes the other way - instead of embedding a model class into the template, a template class is generated that takes all the values as parameters.
the biggest upside for me is that this way there's full, free IDE support, i don't need to write extra view models if the mapping isn't 1:1 and performance is pretty good because in the end there's no runtime parsing/compiling/interpreting except for the baseline JDK stuff (though there are even faster engines).
warning: so far i'm the only user though, so don't use it in production. also, i'm working on some improvements right now which haven't been pushed yet.
Very neat. Almost reminds me of Android's databinding era (i.e. type-safe generated interfaces to XML Views). Though Android development quickly moved on to Compose UI, since Kotlin is expressive enough to cover all of the bases, I guess. And ever since then, I've personally grown annoyed with how much other ecosystems rely on templating. (In fact, I'm doubly annoyed that JetBrains picked YAML for Amper/Kotlin Toolchain. Since they had to add special templating to it anyway, why wouldn't they just use Kotlin or some subset?)
iirc i'd say it's the latter, as it's not scientifically possible to prove the absence of god. as far as i remember, the books don't introduce anything that might suggest new proof for the existence and the "aggressive absence of god" is just the continuation of the current trajectory where no further proof can be found for another 55 years.
Open weight and -source models aren't without biases. Giving a model away for free would be a good way to distribute an agenda. With a sovereign model you can at least control the agenda and align it with your values.
WW1 happened due to the crazy web of treaties between nations. It's not unlike nuclear holocaust and MAD doctrine. There could have been other triggers for WW1, but that's not really a guarantee.
That is to say, definitely possible and maybe even likely but not inevitable.
There's an argument to be made that WWI started because Wilhelm II was an incompetent statesman who disassembled his country's relationship with friendly states, and turned them into enemies.
Several leaders were itching for war, to build empires. Emprice building was normal to them as was going to war to achieve it. They opinions we hold today on war (largely from reflecting on the world wars) are not the opinions they had about war.
They gave commands to prepare for war and just needed the excuse to say go. I think the not-war outcome was very unlikely.
Which leaders? I don't believe any of the players thought they would gain empire in Europe. Everyone was trying to be defensive, combined with slow communication and poor politics. Now that historians have access to much of the internal documentation it doesn't seem like an inevitable war. If only the Habsburgs had been more decisive, or Wilhelm more politically astute, instead of making grand gestures then going on a boating holiday with his British naval mates.
It's not that they needed an excuse to say no, it's that they each thought backing down would be worse. And tbh I don't think any the current leaders are better. Nicholas II "I will not become responsible for a monstrous slaughter" vs Putin's war of choice.
He asked for his country to go to war more than two dozen times leading up to the outbreak. Ferdinand was the main opposition to his desires
The first episodes to the YT channel go into many of the details. I really like that group, they make week-by-week war documentaries with many mini-series on special topics. Top notch content and production quality.
Same goes for pre-WWII Germany and the rise of Hitler. He takes the blame but the German electorate was toxic, bloodthirsty and humiliated. They would’ve elevated the next monster in line if Hitler hadn’t been available.
only 31-40% of the german electorate was that. And it was on the decline, which is why Von Papen convinced himself he would be easy to negociate cabinet postition with Hitler.
i agree with this. the kremlin sees this as a win-win strategy. there are two options:
1. either their actions are ignored by the victim states, which makes this very cheap and effective sabotage to weaken EU members.
2. or alternatively, if there's military retaliation, putin can finally do the mobilization he promised not to do for his war on ukraine, because he can now assert that the country is under attack by foreign nations.
the EU / the member states are now in a pickle: they know it's russia but can't say it out loud because then they'd have to take action. they also can't do nothing because then russian sabotage could wreak havoc with the population and economy. so what can they do?
1. military support of ukraine
2. further sanctions of the russian economy, which includes getting rid of dependencies on russian goods
3. re-arming and modernizing their own military (i.e. introducing modern drone warfare capability, launching their own satelite intelligence, ...)
4. start opposing/controlling russian influence by local malicious actors, i.e. russia friendly right wing political parties (which is somewhat complicated but not impossible in a democratic setting)
part of the answer is the peace time dividend. the decrease in european spending has mostly been used for lowering or abolishing taxes on the corporations and the wealthy. if this was to be reversed (because we're not in a peace time anymore), the added tax income could be used to finance the re-armament.
It's a lazy argument imo. As corrupt as they might be there is way more money to make in the stock market or bond market if you have insider info.
There is little reason for them to go after peanuts in the prediction markets.
I don't entirely agree. There's an angle on the "if corrupt, who cares?" but the stock and bond market have orders of magnitude more oversight and (potential) consequences than the risks and consequences of insider trading on the prediction markets.
i don't think that's correct. SEO has been popular long before google. many websites were overloaded with long lists of unrelated keywords at the bottom.
google became the most popular search engine exactly because those SEO keyword spam lists didn't work anymore and, after a while, they vanished. blogs, on the other hand, worked exceptionally well, because they used to link to other blogs' entries a lot, and blogs also used to be (comparably) high quality content.
so the main SEO guideline for getting a good page rank used to be: have a blog/news and publish lots of high quality content that bloggers link to.
i.e. MyTemplate.tpl.html
which creates a kotlin class that can be used like this: the biggest upside for me is that this way there's full, free IDE support, i don't need to write extra view models if the mapping isn't 1:1 and performance is pretty good because in the end there's no runtime parsing/compiling/interpreting except for the baseline JDK stuff (though there are even faster engines).https://codeberg.org/h34tnet/tempolin
warning: so far i'm the only user though, so don't use it in production. also, i'm working on some improvements right now which haven't been pushed yet.
reply