Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jamesdutc
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
1.
▲
by
jamesdutc
9d ago
> it's much faster than using root strokes to "build" the character. In fact, input methods like this not only exist— https://en.wikipedia.org/wiki/Cangjie_input_method—but are in more common use than
2.
▲
by
jamesdutc
4mo ago
I can speak, read, and write Taiwanese Mandarin (which is likely relatively underrepresented in the training sets and, which is, in my practical experience, materially different in its usage.) The authoritative answer for this question woul
3.
▲
by
jamesdutc
10mo ago
It's also very easy to complain about how employees have résumé-focus in their approach to their work: “why should I bother to learn some internal-only tooling that I'll never use anywhere else (for a task that I don't really
4.
▲
by
jamesdutc
10mo ago
I just could not disagree more. This kind of rigid, singular view of operational workflows based on precomposed automations not only constantly break but also inevitably introduce huge inefficiences. I posted a longer comment on lobste.rs:
5.
▲
by
jamesdutc
1y ago
> The python dict() is already high-quality and high-performance Yes, the CPython `PyDictObject` has been subject to a lot of optimisation work, and it is both high-quality and high-performance. I should not have implied that this is not
6.
▲
by
jamesdutc
1y ago
> explicitly randomize iteration In fact, we see this with CPython `set`, controlled by `_Py_HashSecret`: https://github.com/python/cpython/blob/6eb6c5dbfb528bd07d77b... https://github.com/
7.
▲
by
jamesdutc
1y ago
This post contains a key misconception about the Python builtin data structures, that may seem like sophistry but is key to understanding the semantics (and, thus, most fluent use) of these tools. All of the Python builtin data structures
8.
▲
by
jamesdutc
1y ago
This is a genuine concern, since it hinders our ability to port over high-quality, high-performance hash table implementations from other languages (since these often do not preserve any human ordering.) However, the ship has already sailed
9.
▲
by
jamesdutc
1y ago
> Malaysian guy has to watch a BBC cook make rice ( https://youtu.be/53me-ICi_f8?si=0AaZ82dk_AYFqJAx&t=226 ) Of course, this video is just stupid accent comedy, but we should be careful not to draw too much from it. (L
10.
▲
by
jamesdutc
1y ago
Congratulations to the creators for successfully releasing this product! (I'm trying to start with a positive tone, since I have only negative things to say about the site itself. I want to make sure that I'm coming across a crit
11.
▲
by
jamesdutc
2y ago
Agreed. I have first-hand experience across five distinct AMD 7840U and AMD 8840U devices that near-perfect, out-of-the-box Linux-support (with stock kernels and no dodgy kernel flags!) is possible. This includes support for S0ix suspend.
12.
▲
by
jamesdutc
2y ago
It can be really hit-or-miss, and it can be really hard to debug errors like in the post. A lot of workarounds that are suggested for various issues are also not really viable. Some of the workarounds involve turning off different power-sav
13.
▲
by
jamesdutc
2y ago
This is not a comment that correctly describes how these two entities realistically operate and interact. I don't know why people keep repeating this as though it were insightful. Whatever your own position on this matter may be, it is
14.
▲
by
jamesdutc
2y ago
I think you may want to clear the environment (e.g., of `SSH_AUTH_SOCK`) as well as isolate in a PID namespace as well. I also reflexively `--as-pid-1 --die-with-parent`. bwrap --dev-bind / / --clearenv --tmpfs ~ --unshare-p
15.
▲
by
jamesdutc
2y ago
The historical background about tabular displays of quantitative information is very interesting. I imagine it must have been fun think deeply about this problem. Unfortunately, the API design in the example is just not very good: (
16.
▲
by
jamesdutc
3y ago
That makes sense. My assumption prior to purchasing these devices was that AMD support would be the main reason for me returning them. I was quite surprised to see just how well everything worked, and, in fact, these devices have given me m
17.
▲
by
jamesdutc
3y ago
I am very surprised to hear reports of poor Linux support for AMD devices. I recently purchased a GPD Win Max 2 [1] and a GPD Win 4 [2] for work. Both devices are AMD 7840U with Radeon 780M (and 64 GiB RAM at 6400 MT/s since I saw what
18.
▲
by
jamesdutc
3y ago
>> A Python program is a sequence of statements > Here's a Python program that contains no statements: 42. It is true that Python's grammar features a statement/expression dichotomy, unlike many other tools. If we wa
19.
▲
by
jamesdutc
3y ago
For context, the bullet points you reference are on slide 1-10 of the supplementary slide deck[1] and are provided as part of an accelerated review. This is a recapitulation of materials covered in the introductory “Practical Python” course
20.
▲
by
jamesdutc
3y ago
I agree that the average quality of Python instructional material is quite low. The language is very popular, and it's often pitched as a beginner's language or a language for those who are not (or do not want to be) professional
21.
▲
by
jamesdutc
3y ago
I taught this course to corporate clients for three or four years before developing my own materials. The course materials for this course and the introductory course (“Practical Python”[1]) are quite thorough, but I've always found th
22.
▲
by
jamesdutc
3y ago
Similar (but a far more limited implementation): “Write a Git Client from Scratch in 25 Minutes” https://youtu.be/xvzo_nV9PjU
23.
▲
by
jamesdutc
3y ago
The fonts at the bottom of page one and the top of page two (王漢宗中明體注音 wp010-05.ttf and 王漢宗中楷體注音 wp010-08.ttf) include pronunciation guidance using zhùyīn fúhào 注音符號 (also called “Bopomofo” 「ㄈㄅㄇㄈ」 after the first four consonants): https:&#x
24.
▲
by
jamesdutc
3y ago
I am not a Cantonese speaker; however, in Mandarin, fonts with phonetic guidance are very common. e.g., Hann-Tzong Wang's (王漢宗) free font collection[1] includes two typefaces with phonetic pronunciation guidance. These are wp{0..3}10-0
25.
▲
by
jamesdutc
3y ago
I recently wrote an autorunner[1] (like Entr[2] and Watchexec[3]) so I have some recent exposure to this problem. (I will be releasing it on Github shortly.) My autorunner allows running interactive programmes, so it is very sensitive to li
26.
▲
by
jamesdutc
4y ago
A sibling comment shared a short list of common characters with multiple pronunciations. If we include variants where the difference is only tone, then the list of common-use characters with multiple pronunciations gets pretty long. This li
27.
▲
by
jamesdutc
4y ago
Congratulations on your release! Don't let my skepticism (below) to detract from your accomplishment. I am deeply skeptical not only about this tool in particular but about these tools (e.g., Dash, Panel, Streamlit &c.) in general.
28.
▲
by
jamesdutc
4y ago
Bubblewrap is a surprisingly useful tool for general system administration tasks. Even though the documentation claims that "[y]ou are unlikely to use it directly from the commandline, although that is possible," I use it as a hel
29.
▲
by
jamesdutc
6y ago
The admin fees you refer to are typically assessed in the context of large, institutional grants. These are grants from private organisations like the Gordon and Betty Moore Foundation, the Alfred P. Sloan Foundation, the Chan Zuckerberg In
30.
▲
by
jamesdutc
6y ago
In the future, will it be considered offensive to suggest that someone’s posts look like they were generated by an ML model…?
More ›