HNHacker News
TopNewBestAskShowJobs

uasi

114 karma · joined July 26, 2015

submissionscomments
uasi··on Abusing Git branch names to compromise a PyPI package
That interaction looks fine to me. It's just their automated bot response for newcomers, which they use with similar wording across all issues. While the thread was initially locked, it was probably a false positive and quickly reopened by a human.
uasi··on Unicode shenanigans: Martine écrit en UTF-8
The Unicode Standard states that U+2019 RIGHT SINGLE QUOTATION MARK is the preferred apostrophe character.

    0027 APOSTROPHE
    [snip]
    * 2019 is preferred for apostrophe
https://unicode.org/Public/UNIDATA/NamesList.txt
uasi··on Greppability is an underrated code metric
gron makes nested JSON greppable https://github.com/tomnomnom/gron
uasi··on Greppability is an underrated code metric
Nim even provides a dedicated grep-like tool to search for identifiers regardless of the style https://nim-lang.org/docs/nimgrep.html
uasi··on Rust's Ugly Syntax (2023)
Your points have nothing to do with ugliness.

> Why `pub fn'? Why is public not the default and why do you have to specify that it's a function?

If public were the default, you'd end up having to make other functions `priv fn` instead.

> Why `: type' and `-> type', why can't type go before the identifier?

It's easier to parse, and most major typed languages other than C/C++/C#/Java put the type after the identifier.

> Why do you need `File::' and `Bytes::'?

Seriously?

> What is that question mark?

The final version doesn't use a question mark.

> Why does the last statement not need a semicolon?

This is a legitimate question. In Rust, the last statement without a semicolon becomes the return value.

uasi··on Zen, a Arc-like open-source browser based on the Firefox engine
Have you taken a look at Firefox's bug bug tracker?[1] Keeping up with Web standards is nothing compared to the tremendous amount of work required to maintain a cross-platform web browser.

[1]: https://bugzilla.mozilla.org/describecomponents.cgi?product=...

uasi··on Show HN: File0 – An easier way to manage files in serverless apps
> FILE0 is looking for an environment variable, that contains your API key.

So is `new S3Client({})`. It's unfair to S3 to pass redundant credentials in the sample code.

uasi··on Merging Remix and React Router
The remix package is no longer used[1]. Remix's central package is @remix-run/router[2], which has 5,627,846 downloads per week.

[1] https://github.com/remix-run/remix/pull/9433 [2] https://www.npmjs.com/package/@remix-run/router

uasi··on Emoji History: The Missing Years
Circled or parenthesized kin also means kinyoubi (friday), so it's not surprising that Unicode only includes maru-kin.
uasi··on Unlimited Kagi searches for $10 per month
For me, Japanese search quality is on par with Google most of the time.
uasi··on Angular v16
> It uses invalid HTML, with attribute syntax including brackets and parentheses

Brackets and parens are valid in attribute names.

Section 13.1.2.3 of the HTML standard[0] states:

> Attribute names must consist of one or more characters other than controls, U+0020 SPACE, U+0022 ("), U+0027 ('), U+003E (>), U+002F (/), U+003D (=), and noncharacters.

[0] https://html.spec.whatwg.org/#attributes-2

uasi··on 4x Smaller, 50x Faster
> a GIF (or real video) is the answer.

Why so? You can't pause or seek GIFs. GIFs and video files are usually several times larger than asciinema recordings of the same content. And you can't copy text out of them when it is useful.

uasi··on Design Doc: Use JavaScript instead of TypeScript for internal Deno Code
They are considering switching from tsc to a TypeScript compiler written in Rust[0][1], and `deno fmt` subcommand already uses it internally.

[0] https://github.com/denoland/deno/issues/5432 [1] https://github.com/swc-project/swc

uasi··on Fork: A fast and friendly Git client for Mac and Windows
git fetch --prune removes stale remote-tracking references, not local branches.
← PreviousPage 2 of 2