look ma, no character limit!
Paul Krugman here dispels Trump's Venezuelan oil boondoggle: Venezuela's extra-heavy Orinoco crude is only worth extracting if the price per barrel rises above $80. Current business model for American producers requires oil to stay above $62. Trump allegedly wants oil to drop to $50 per barrel. Seeing a math problem? Stated more explicitly: how does a resource that costs $80 per barrel to extract get us to $50 per barrel? It doesn't: at best, Venezuelan oil must appear, from the American perspective as a hedge against high oil prices, for instance those seen during global conflict.
https://paulkrugman.substack.com/p/the-emperors-new-oil-wealth
¡hola mundo!
as of around 02:25 this morning, this microblog is LIVE. yes, this a place for me to post my thoughts on things, but it is also the test application for the authentication library i'm writing for the Scala/http4s ecosystem, Apollo (https://github.com/joshuakfarrar/apollo)! which, i can confirm here, appears to work kind of alright. i really like the scala programming language, i really don't like the open source tooling available in the scala ecosystem. unlike ruby or javascript, where there's a gem or an npm module for lots of things, especially commoditized workflows like user registration and authentication, Http4s really has no such solution. i imagine every http4s application that has auth has a custom-rolled auth implementation. having build one, i can say with confidence, understanding and trying to sort out issues with the default csrf middleware is enough to drive one mad.
Read the whole note →he-.. hello world?
hello pg
- user account creation "failed", never received e-mail but confirmation was created in the database
- manual confirmation from code in database succeeded
- password reset also does not send e-mail, there seems to be a mailgun issue of some kind
- the app still allows unverified users to log in?
- i think we still need a "resend verification e-mail" link
everything basically works
error handling could be a bit better, but flash messages will take a few hours to implement from apollo into this application and right now i'm the only person who will see them
also, i have no means by which to have apollo's forms share styling with the front-end, you get what it gives you, that's it
i'll have to do some research to re-familiarize myself with how devise handles this, i remember at least that it creates copies of templates then overrides the defaults with those from your application
link previews and image uploads are coming soon too, link previews will be first because although i'll have to write a fetcher and parse opengraph tags from html, they're easier to store than dealing with uploads and file storage
also todo is to set up a devops pipeline to... somewhere, i haven't decided yet
today the united states has illegally captured the leader of a sovereign foreign state
it has charged nicolás maduro with crimes that are beyond its jurisdiction to prosecute
it is abundantly clear that national sovereignty is contigent upon u.s. approval
which is not sovereignty at all, but the old logic of imperialism
i condemn the actions of the united states as wrong-headed, destabilizing, and nothing less than a robbery
permanent stability in latin america can only be achieved by meeting the human needs of the people who live there, not by the imposition of an extractive regime
it has been nearly a year since i deleted all of my personal social media accounts
no facebook, no twitter/x, no instagram
i even canceled my linkedin subscription, which i'd kept for professional purposes, due to their ice ads. spotify too
i doomscroll far less, and spend more time writing code, playing with my son, play bass, or studying
literally any other use of your time is better
this year, you should also unplug from for-profit social media