HackerTrans
TopNewTrendsCommentsPastAskShowJobs

milliams

2,943 karmajoined há 14 anos
[ my public key: https://keybase.io/milliams; my proof: https://keybase.io/milliams/sigs/9jCSaAwXNd_cxXj7VmK4ba_ivP8-lAYJ9z59AAPGI5U ]

Submissions

Rust 1.97.0

blog.rust-lang.org
24 points·by milliams·anteontem·0 comments

Closure Captures

andwass.github.io
2 points·by milliams·há 8 meses·0 comments

Photographic Revision vs. Reality

hackerfactor.com
3 points·by milliams·há 9 meses·0 comments

Winning a bet about "six", the Python 2 compatibility shim

sethmlarson.dev
9 points·by milliams·há 9 meses·1 comments

comments

milliams
·mês passado·discuss
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.
milliams
·há 2 meses·discuss
I just had to stop reading for this reason.
milliams
·há 7 meses·discuss
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.
milliams
·há 7 meses·discuss
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.
milliams
·há 7 meses·discuss
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])
milliams
·há 7 meses·discuss
Small aside, AVM have now formally rebranded as "FRITZ!"
milliams
·há 8 meses·discuss


  [lints.clippy]
  dbg_macro = "deny"
  unwrap_used = "deny"
  expect_used = "deny"
milliams
·há 8 meses·discuss
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.
milliams
·há 8 meses·discuss
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.
milliams
·há 8 meses·discuss
Why are the table and the description of the RAPTOR algorithm in the article images rather than text?
milliams
·há 8 meses·discuss
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.
milliams
·há 9 meses·discuss
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.
milliams
·há 9 meses·discuss
Based on the comments getting downvoted, it feels like some brigading going on.
milliams
·há 10 meses·discuss


  >- 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.
milliams
·há 10 meses·discuss
Based on the OP, the initial changes were made 10 days ago - more than enough time to communicate something publicly.
milliams
·há 11 meses·discuss
I enjoy:

  >>> from __future__ import braces 
    File "<python-input-2>", line 1
      from __future__ import braces 
                             ^^^^^^
  SyntaxError: not a chance
milliams
·há 11 meses·discuss
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.
milliams
·há 11 meses·discuss
Yes it is. It's not identical, but it is "like" it.
milliams
·há 4 anos·discuss
YAML's parsing of `no` as `False` has not been part of the spec for 13 years now. It was changed in YAML 1.2 in 2009 to only be `true` and `false` (with variations in case allowed I think).
milliams
·há 5 anos·discuss
I found this video https://www.youtube.com/watch?v=r-A78RgMhZU "A Talk Near the Future of Python (a.k.a., Dave live-codes a WebAssembly Interpreter)" to be a brilliant introduction to WASM as well as writing interpreters in general. I'm a relative novice in the subject and it was pitched right at my level.