HNHacker News
TopNewBestAskShowJobs

cabalamat

6,970 karma · joined March 29, 2008

You might want to check out my CatWiki personal wiki / notes app:

https://github.com/cabalamat/catwiki_p3

submissionscomments
cabalamat··on When is a ‘tank’ not a tank?
I imagine calling them "killer robots" is frowned upon in your industry.
cabalamat··on Gitlab New Logo: DevOps Is at the Center of Gitlab
> In case you run your web app in a containerized stack, and prefer to deploy to Kubernetes, the integration with the Agent for Kubernetes has been greatly improved: https://docs.gitlab.com/ee/user/clusters/agent/

I've never used Kubernetes, but have seen it described as a PITA to set up and use, which is why I'm not keen on it.

cabalamat··on Gitlab New Logo: DevOps Is at the Center of Gitlab
According to that URL:

> Deploying web applications from GitLab to major cloud providers should be trivial.

Yes, that's what I want! I find it easy to develop web apps in Python, but a PITA to deploy them.

cabalamat··on Gitlab New Logo: DevOps Is at the Center of Gitlab
Does this mean I can ewrite a web app, put the source on GitLab and have GitLab run the web app (ideally with very minimal hassle)?

If not, what does it mean? What is Gitlab letting me do now than (a) it didn't do before (b) Github doesn't do?

cabalamat··on EU negotiators agree new rules to rein in tech giants
Should mandate interoperability for all social media.
cabalamat··on ICANN's rejection of Ukraine's request to sever Russia from the internet [pdf]
> Restore the glory of the Russian empire

Right now Zelinskyy and Ukraine are covering themselves in a lot more glory than Putin and Russia.

> Righteous causes eventually sort themselves out, right?

I think Putin psyched himself up into believing his own propaganda. He's probably surrounded by yes-men who tell him what he wants to hear, too. Oops.

> Much of the discussion is presently framed as a moral imperative. We must act to punish Putin.

Sure. Morality is intuitive game theory, after all.

cabalamat··on ICANN's rejection of Ukraine's request to sever Russia from the internet [pdf]
> Many things that have happened historically did because leaders felt some grand moral imperative

I agree, actually. For example, the original Islamic expansion, and later the crusades that were a response to it, were both explained in moral terms. (these demonstrate how manipulating consensus reality is a core competency for rulers). And the people who fought in these wars genuinely honestly believed they were acting morally and serving a higher purpose.

Or, a more recent example: part of the reason NATO intervened in Kosovo in 1999 was that they were ashamed they hadn't done so in Bosnia a few years earlier.

cabalamat··on ICANN's rejection of Ukraine's request to sever Russia from the internet [pdf]
Once Putin is gone, it may well happen that Russia and America become friendly.
cabalamat··on ICANN's rejection of Ukraine's request to sever Russia from the internet [pdf]
> Wonder how commenters like this will feel when Russia/China/Iran have their own sphere with an alternative to SWIFT like CIPS.

If they want to, that's up to them. It wouldn't surprise me if China did do something like this.

> Your complete inability to be a fair global hegemon

Hey, (1) I personally am not a global hegemon. (2) I was describing the way things are not how they ought to be. You should work on distinguishing is from ought; if you can't you'll never understand anything.

FWIW I personaslly think a fair bit of US policy is both immoral and self defeating. But, again, that's irrelevant, because as I said, geopolitics isn't a morality play.

> Where are you going to get your silicon chips from if the Republic of China reunifies with the People's Republic of China?

I'm European and I think the EU should be self-sufficient in chips. This is because any polity that isn't won't in the long term be fully independent.

> US wants to play by different rules than everyone else, not sure that works long term.

"The strong do what they can and the weak suffer what they must" is a rule thast's worked so for for all 5000 years of recorded history (with a few counterexamples). Is that lnog term enough for you? Is that just? No. Does it matter (i.e. affect the course of events)? Not usually.

> I hope you're ready for the era of multiple US-hostile nuclear powers.

A world with lots more nuclear powers may well happen, depending on the result of the present Russia-Ukraine war.

cabalamat··on ICANN's rejection of Ukraine's request to sever Russia from the internet [pdf]
The UK selling weapons to Saudi Arabia (which then uses them to bomb civilians) isn't the same as the UK doing it.

And realistically, there is nothing UK can do that would prevent KSA killing people in Yemen, even if UK did want do.

cabalamat··on Russia to punish ‘fake news’ about Ukraine war with 15 years’ jail
I agree. The US culture war helps dictators like Putin and Xi.
cabalamat··on ICANN's rejection of Ukraine's request to sever Russia from the internet [pdf]
> At this very moment the US and UK are in multiple countries bombing and killing civilians.

Which countries are the UK in bombing civilians right now?

cabalamat··on ICANN's rejection of Ukraine's request to sever Russia from the internet [pdf]
Following the setup of NATO, 18 further countries joined it. Most (11) of them joined when Putin was in charge of Russia. Putin is NATO's best recruiting sergeant.

Russia is the only country in the world with a massive formal alliance of major world powers reigned against it. This is because of continued Russian aggression and atrocities going back a long time.

cabalamat··on ICANN's rejection of Ukraine's request to sever Russia from the internet [pdf]
> Have you considered for the innocent Russian people who doesn't agree with the war? What about their daily lives in Russia where they need to get driver's license online to be renewed but couldn't because their DMV website is inaccessible?

I assume that a Russian accessing a Russian website would be unaffected by any such measures.

Also, I wonder what backdoor facilities the NSA put into Apple and Android phones? The US would very much like to continue getting any such intelligence.

cabalamat··on ICANN's rejection of Ukraine's request to sever Russia from the internet [pdf]
> Should the global community have targeted all Americans for the actions of the Bush Presidency invading Iraq under false pretenses? Or how about Vietnam?

Wrong question. Whether they "should" in any moral sense is not a useful way to think about things because geopolitics isn't a morality play. Clearly effective sanctions against USA were a non-starter because it is too big and rich a country and does a lot of trade with the outside world.

> Realize that our next Iraq or Vietnam this new standard could be applied to us or any other country.

Nope. Effective sanctions won't happen against big powerful countries (or coalitions of countries, e.g. EU, NATO).

cabalamat··on ICANN's rejection of Ukraine's request to sever Russia from the internet [pdf]
> Yes they will push their own propaganda to the west but we can deal with that.

Agreed. Keeping the net open helps the West win this war. Russians turn to e.g. the BBC, because they know its more reliable than their own media.

cabalamat··on Show HN: Prisma Python – A fully typed ORM for Python
I could certainly annotate the fields like you suggest. But that goes against the spirit of Bozen which is DRY.

When I define something as a `StrField` I'm already saying it's a string, so I shouldn't have to say it again elsewhere. It would be nice if Python has an API such that I can write code within my `StrField` class that tells python that `title` is a `str`, but to the best of my understanding this doesn't exist.

cabalamat··on Custom JavaScript controls can't capture the nuance of form fields (2021)
I would probably use a series of checkboxes for the same effect.
cabalamat··on Custom JavaScript controls can't capture the nuance of form fields (2021)
> but anyone that has ever needed to style a <select> to make it look in line with any modern design

Then don't make it look "in line with any modern design". Make it look like an HTML select tag, because that's what it is.

Functionality should (nearly always) trump prettification. (Especially when the results are pretty anyway).

cabalamat··on Show HN: Prisma Python – A fully typed ORM for Python
I have also written a python ORM, Bozen[1]. In Bozen you define a table like this:

    class Book(MonDoc):
        title = StrField()
        yearPublished = IntField()
Is it possible to give run-time types to `title` and `yearPublished`, in a way that works with mypy and the Python typing ecosystem? If so, is there a tutorial on this, as I'd like to add the feature to my ORM.

1: https://github.com/cabalamat/frambozenapp

cabalamat··on Show HN: Prisma Python – A fully typed ORM for Python
> Prisma, a next-generation ORM for TypeScript which means that the core query building and connection handling has been battle tested, getting around a potential concern with adopting a new ORM.

Can I suggest you put this at the top of your README.md file, as I had never heard of Prisma before and it would have helped.

> Prisma Python

Is your program called Prisma Python or Prisma Client Python? You seem to be inconsistent with naming.

cabalamat··on More intuitive partial function application in Python
> but under the hood my partial decorator is working all kinds of magic

I'm sure it is! That's why I'd be leery of using it in production code.

cabalamat··on Biologist decided to disavow his own study
Agreed. I do sometimes wonder if academia shouldn't be blown up and replaced wholesale with something different.

The new thing would have to have different incentives, or the same problems would just re-occur.

cabalamat··on Alabama farmer sues John Deere for ‘right to repair’
> I still think the best solution to this is still a startup that can create tractors that don’t require repairs by a first party.

Do other tractor manufacturers have Deere-style DRM? I imagine some don't.

cabalamat··on Strict Python function parameters
> I hate having to have a block of `if bar is None` at the top of my functions.

Doing it the if-statement way is the clearest and easiest for other programmers to follow, therefore it is the best way.

cabalamat··on Ask HN: Is it just me or do 99% of SWE jobs offers seem completely pointless?
> The truth is that most software companies are...pointless. They're sales driven body shops talking about "mission".

Most jobs are pointless in the global scheme of things.

cabalamat··on Archaeologists Find 4k-Year-Old Board Game in Oman
There need to be ad blocker blocker blockers!
cabalamat··on An open letter on E.O. Wilson's legacy
> probably do not have the time to develop the technical competence

Or the ability.

cabalamat··on Ireland to launch basic income program for artists
> Politicians are the best marketers

They are certainly accomplished liars.

cabalamat··on No Way to Be Human: We now occupy a nearly natureless world
It's nonsense. Çatalhöyük had houses 9500 years ago (and there are other settlements of similar age or older). The people there would be unlikely to build houses with strong stone walls and neglect to build a roof.
← PreviousPage 6 of 34Next →