Better HN
topnewbestaskshowjobs
Log inSign up

milliams

2,943 karma · joined Mar 8, 2012 (14y ago) · 556 submissions

[ my public key: https://keybase.io/milliams; my proof: https://keybase.io/milliams/sigs/9jCSaAwXNd_cxXj7VmK4ba_ivP8-lAYJ9z59AAPGI5U ]
Submissions

1.

Rust 1.97.0(blog.rust-lang.org ↗)

24 points · by milliams · 4mo ago · discuss

comment 5mo ago · link · parent

The main blocker I have for moving is the poor session management. On X11 for decades I've been able to log out of my KDE session and when I log in again, all my Konsole windows re-open with the tabs open in the same folders, Dolphin opens with all the tabs open to the same locations etc.

I think they recently added support at the KWin level for reopening windows to the right desktops etc but as far as each individual apps, it seems to be up to them individually to get this working again. I would have thought that at least for the KDE apps, they could just have a compatibility layer from the X11 session management to make it work but it doesn't seem there yet.

comment 6mo ago · link · parent

I just had to stop reading for this reason.

comment 11mo ago · link · parent

The problem is that everyone dies some day so there's never going to be equality between causes of death and reporting rates. You might expect some correlation between preventable causes and reporting, and in-part that's what's being seen here.

comment 11mo ago · link · parent

It bothers me that it's not even a "AI web browser", but an "AI browser". I don't want to browse "AI", I want access to the web.

comment 11mo ago · link · parent

https://peps.python.org/pep-0723/, e.g.:

  # /// script
  # requires-python = ">=3.11"
  # dependencies = [
  #   "requests<3",
  #   "rich",
  # ]
  # ///
  
  import requests
  from rich.pretty import pprint
  
  resp = requests.get("https://peps.python.org/api/peps.json")
  data = resp.json()
  pprint([(k, v["title"]) for k, v in data.items()][:10])

comment 11mo ago · link · parent

Small aside, AVM have now formally rebranded as "FRITZ!"

comment 1y ago · link · parent

  [lints.clippy]
  dbg_macro = "deny"
  unwrap_used = "deny"
  expect_used = "deny"

comment 1y ago · link · parent

https://www.theverge.com/tech/814928/ikea-matter-thread-diri... has some quotes from IKEA saying that they're using Thread. It's strange they didn't say in this release though.

comment 1y ago · link · parent

Likewise I noticed that Konsole was version 23.08. I've just submitted a PR (https://github.com/jquast/ucs-detect/pull/14) to update it to 25.08.

comment 1y ago · link · parent

Why are the table and the description of the RAPTOR algorithm in the article images rather than text?

12.

Closure Captures(andwass.github.io ↗)

2 points · by milliams · 1y ago · discuss

comment 1y ago · link · parent

I'd also argue that VS Code is not open source - at least not the version that 98% of people run. If you download VS Code from almost anywhere (and are not using Codium) then you are subject to the licence terms at https://code.visualstudio.com/license which says you may not:

- reverse engineer, decompile or disassemble the software, or otherwise attempt to derive the source code for the software except and solely to the extent required by third party licensing terms governing use of certain open source components that may be included in the software;

- remove, minimize, block or modify any notices of Microsoft or its suppliers in the software;

- use the software in any way that is against the law;

- share, publish, rent or lease the software, or provide the software as a stand-alone offering for others to use.

comment 1y ago · link · parent

KDevelop's semantic highlighting where each variable was given its own colour was always the one I found most useful. It made tracking the meaning of some code much easier than just highlighting by token category.

15.

Photographic Revision vs. Reality(hackerfactor.com ↗)

3 points · by milliams · 1y ago · discuss

comment 1y ago · link · parent

Based on the comments getting downvoted, it feels like some brigading going on.

17.

Winning a bet about "six", the Python 2 compatibility shim(sethmlarson.dev ↗)

9 points · by milliams · 1y ago · 1 comment

comment 1y ago · link · parent

  >- Immediately restore access to all maintainers removed during this incident. […]

  Markdown bullet points in a place with no markdown support.
Markdown quote markers in a place with no markdown support.

comment 1y ago · link · parent

Based on the OP, the initial changes were made 10 days ago - more than enough time to communicate something publicly.

comment 1y ago · link · parent

"their creator economy", not "the creator economy".

comment 1y ago · link · parent

I enjoy:

  >>> from __future__ import braces 
    File "<python-input-2>", line 1
      from __future__ import braces 
                             ^^^^^^
  SyntaxError: not a chance

comment 1y ago · link · parent

> "It’s an example of how building transit creates regeneration of wealth, and boosts the economies of the areas it covers."

I was surprised that Wolmar, a Brit, would use the term "transit", rather than "transport" or "transportation". I wonder if this was an editorial change, or him adjusting to his audience of an American magazine (though being interviewed by a Brit).

comment 1y ago · link · parent

That's pretty funny. It shows the slight gap in understanding about what "data centres" do, mixed with the classic advice to "don't print this email" to save power/trees.

comment 1y ago · link · parent

Maybe if you do worse than half the people, it should invert to say the bottom 30% or the bottom 1%. Makes it clearer that you did "badly".

comment 1y ago · link · parent

Yes it is. It's not identical, but it is "like" it.

comment 1y ago · link · parent

Copying is not theft - https://www.youtube.com/watch?v=IeTybKL1pM4

As much as I think that what these companies is doing has moral and legal issues, reframing copyright violations as "theft" will cut both ways and make the arguments for open culture more difficult.

comment 1y ago · link · parent

Does this affect OpenBao as well?

comment 1y ago · link · parent

Original paper at https://doi.org/10.1117/1.NPh.12.2.025014

comment 1y ago · link · parent

Akchually only the YAML JSON (and therefore also the Core) Schema (https://yaml.org/spec/1.2.2/#102-json-schema) is a superset of JSON. The Failsafe Schema is not.
12345
19