Better HN
topnewbestaskshowjobs
Log inSign up

Spiritus

3,606 karma · joined May 17, 2012 (14y ago) · 408 submissions

Submissions

comment 5mo ago · link · parent

CLIs have to be distributed. Also have to be kept up to date. An MCP doesn't t have to concern itself with backwards compatibility and can be changed willy nilly since it's essentially always up to date.

It's also easier to manage for non-tech people. Try telling the people over at HR or finance to install a CLI.

comment 6mo ago · link · parent

Not available in Business or? I only see SSH connections in Desktop app and only cloud environments in the iOS app.

comment 1y ago · link · parent

Curious why? I'm considering doing the opposite since I have to pay for iCloud anyway.

comment 4y ago · link · parent

I think you're mixing up try blocks with the old try! macro.

comment 4y ago · link · parent

Unless you're looking for a specific video or trend, don't search. Just scroll.

comment 4y ago · link · parent

I'm fairly sure it's Discourse[1]. They switched to it quite recently.

[1] https://www.discourse.org

comment 4y ago · link · parent

It might be worth excluding certain directories from Spotlight to prevent it from indexing node_modules etc which tend to be massive but mostly useless from a Spotlight search perspective.

comment 4y ago · link · parent

You can't. But is that possible with any programming language specific package manager? How would that even work given that every flavour of OS/distro have their own way of providing gfortran?

comment 4y ago · link · parent

Well we're almost there I think. You can define dependencies and other metadata in pyproject.toml nowadays:

https://setuptools.pypa.io/en/latest/userguide/pyproject_con...

comment 4y ago · link · parent

Nimble is Nim's build tool so that's already taken.

comment 4y ago · link · parent

Get an e-sim

comment 4y ago · link · parent

Tilaa[1]. They also recently launched a managed database service[2] (beta).

[1] https://www.tilaa.com/ [2] https://www.tilaa.com/en/blog/tilaa-cloud-database-beta-is-l...

comment 4y ago · link · parent

I've actually moved from direnv to shadowenv[1]. It's more powerful since it's using a Lisp dialect called Shadowlisp that lets you easily do things like append/prepend to $PATH, expand paths and other common actions.

[1] https://shopify.github.io/shadowenv/

comment 4y ago · link · parent

> I suspect you are fighting the tide of common practice in the Python community.

I hope not!

> Sorting module- and from-imports separately also makes it much easier for many people to visually scan a block of imports.

For me it's the opposite. My brain skips over the irrelevant parts (i.e. import/from). Not moving the import also produces better git diffs

comment 4y ago · link · parent

For me µsort is a non-starter since it doesn't ignore the import/from part when sorting lexicographically. So when an import changes from `import foo` to `from foo import bar` (and vice versa), the import is moved. Sorting should start at the package name, nothing else.

comment 4y ago · link · parent

Python 2 is available from the https://github.com/lithammer/homebrew-deadsnakes Homebrew tap.

comment 4y ago · link · parent

He's meant to play in the Australian Open, but his visa was revoked because he isn't vaccinated (it has been reinstated now though). So this is mostly just a joke since the opponent is a koala and the ball is the corona virus.

https://www.cbssports.com/tennis/news/australian-open-2022-n...

18.

Django 4.0(djangoproject.com ↗)

473 points · by Spiritus · 4y ago · 219 comments

19.

Building a Django driver for Psycopg 3(psycopg.org ↗)

171 points · by Spiritus · 5y ago · 24 comments

20.

Making CPython Faster(lwn.net ↗)

5 points · by Spiritus · 5y ago · 2 comments

comment 5y ago · link · parent

Pyright is open source (MIT)

22.

Endoflife.date(endoflife.date ↗)

3 points · by Spiritus · 5y ago · discuss

comment 5y ago · link · parent

It's likely because of this (custom Postgres client, request pipelining and not doing sync/commit after each query):

> [Multiple Queries] This is the first test where Just(js) has quite a big lead. This is likely due to the fact it is using a custom postgres client written in Javascript and taking full advantage of pipelining of requests. It also avoids sending a Sync/Commit on every query. As far as I am aware this is within the rules but will be happy to make changes to sync on every query if it is not.

https://just.billywhizz.io/blog/on-javascript-performance-01...

comment 5y ago · link · parent

The author wrote a blog post about it: https://just.billywhizz.io/blog/on-javascript-performance-01...

comment 5y ago · link · parent

Then `HOMEBREW_NO_AUTO_UPDATE` is probably for you.

> If set, do not automatically update before running brew install, brew upgrade or brew tap.

comment 5y ago · link · parent

The “py” command?

comment 5y ago · link · parent

That sounds like a Debian issue though. Or are you suggesting that Python (and by extension Pip) should align their support cycle with Linux distros?

comment 5y ago · link · parent

Probably because Python 3.5 was EOL’d last year and 3.4 two years ago.

https://endoflife.date/python

29.

I am an 80 column purist(daniel.haxx.se ↗)

73 points · by Spiritus · 5y ago · 78 comments

12345
14