News for hackers. Stuff that matters.

Spiritus

Re:MCP Is Dead on Saturday May 30, 2026 @01:05AM (#48332776)
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.

Re:Work with Codex from Anywhere on Friday May 15, 2026 @01:39PM (#48151533)
Not available in Business or? I only see SSH connections in Desktop app and only cloud environments in the iOS app.
Curious why? I'm considering doing the opposite since I have to pay for iCloud anyway.
Re:A guide to error handling in Rust on Wednesday November 09, 2022 @06:05AM (#33529788)
I think you're mixing up try blocks with the old try! macro.
Unless you're looking for a specific video or trend, don't search. Just scroll.
Re:Python 3.11.0 Released on Tuesday October 25, 2022 @02:32AM (#33326987)
I'm fairly sure it's Discourse[1]. They switched to it quite recently.

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

Re:My next Mac might be the last on Tuesday October 25, 2022 @01:43AM (#33326676)
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.
Re:Pypi.org is running a survey on the state of Python packaging on Thursday September 08, 2022 @05:54AM (#32763415)
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?
Re:Pypi.org is running a survey on the state of Python packaging on Thursday September 08, 2022 @02:53AM (#32762123)
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...

Re:NimSkull: A Hard Fork of Nim on Friday July 08, 2022 @01:19AM (#32023570)
Nimble is Nim's build tool so that's already taken.
Re:Apple Passkey on Tuesday June 07, 2022 @01:23AM (#31650171)
Get an e-sim
Re:Linode Managed Databases on Wednesday May 25, 2022 @05:13AM (#31502130)
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...

Re:New(ish) command line tools on Wednesday April 13, 2022 @03:22AM (#31012022)
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/

Re:Django: Reformatted code with Black on Wednesday February 09, 2022 @10:39AM (#30273895)
> 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

Re:Django: Reformatted code with Black on Tuesday February 08, 2022 @04:51PM (#30265292)
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.
Re:Apple removes Python 2.7 in macOS 12.3 beta on Friday January 28, 2022 @12:06PM (#30117396)
Python 2 is available from the https://github.com/lithammer/homebrew-deadsnakes Homebrew tap.
Re: on Tuesday January 11, 2022 @06:06AM (#29889981)
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...

Pyright is open source (MIT)
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...

Re:Homebrew 3.0 on Friday February 05, 2021 @10:30AM (#26037366)
Then `HOMEBREW_NO_AUTO_UPDATE` is probably for you.

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

Re:You don't really need a virtualenv on Friday February 05, 2021 @06:26AM (#26035174)
The “py” command?
Re:Pip has dropped support for Python 2 on Sunday January 24, 2021 @11:26AM (#25893235)
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?
Re:Pip has dropped support for Python 2 on Sunday January 24, 2021 @08:44AM (#25891966)
Probably because Python 3.5 was EOL’d last year and 3.4 two years ago.

https://endoflife.date/python

Older »