Hacker News new | past | comments | ask | show | jobs | submit | yencabulator's comments login

I think it was intentional, and omitted arguments defaulted to zero for any "FOO 1,2,3" style command. Think LOAD, SAVE etc.

10 meters is plenty to covertly track you entering/leaving a building.

> The distance from which an attacker is able to eavesdrop the RF signal depends on multiple parameters, but is typically less than 10 meters.

https://en.wikipedia.org/wiki/Near-field_communication


Eavesdrop, but not initiate a transaction. I definitely wouldn't want to be in the same room as an active ISO 14443 antenna capable of powering up even low-powered tags/cards from 10 meters. That would be a lot of power!

That said, Apple devices use an active amplifier even in card emulation mode (which is why Apple Pay works considerably more reliably at awkward angles than Google Pay does on most Android phones).


I do that, but I can't help thinking that it smells like Hungarian notation.

The best alternative I've found is to accept units in the values, "5 seconds" or "5s". Then just "1" is an incorrect value.


That’s not automatically bad. There are two kinds of Hungarian notation: systems Hungarian, which duplicates information that the type system should be tracking; and apps Hungarian, which encodes information you’d express in types if your language’s type system were expressive enough. [1] goes into the difference.

[1] https://www.joelonsoftware.com/2005/05/11/making-wrong-code-...


And this is exactly the kind the language should have a type for, Duration.

There's value in quickly browsing files of a project without needing to clone it first -- especially for quickly linking others to specific lines, API docs linking to implementation, etc. That needs to expose content at every commit, for stable links. So, some sort of a "web git viewer" is very useful.

Unfortunately, the more minimal read-only ones have ended up with far worse UX than the Github clones, or are a scary tangle of shell scripts and/or C. :-(

(Anyone want to collaborate on a Rust-based read-only git browsing web UI that aims for great usability? I'm all in, I want one. I know how to make it handle search etc, I'm not great at wrangling CSS to will or getting navigation right.)


Plot twist: Gogs was never viable.

> In my point of view, as long as no deadlock..data race is unavoidable.

https://github.com/gogs/gogs/issues/613

> The payload comes from request somehow is not always in a clean format, so we have to preform a clean operation to remove unless characters:

    func cleanCommand(cmd string) string {
       i := strings.Index(cmd, "git")
       if i == -1 {
           return cmd
       }
       return cmd[i:]
    }
https://blog.gopheracademy.com/advent-2015/ssh-server-in-go/

https://github.com/gogs/gogs/issues/7777


Yet the question remains. Surely he is not aiming at a target, preparing to shoot.

Unless the goal is to make him appear dangerously aggressive. Intimidation and fear are bread and butter propaganda tools.

How about Go? I think that counts as "modern C" ;-)

This is pretty much the real thing: https://github.com/robpike/typo

(If you're crabby about it, this is similar: https://github.com/crate-ci/typos/)


You have to count the size of the dictionary too. See "DICT.DIC".

https://dflund.se/~pi/cpm/files/ftp.mayn.de/pub/cpm/archive/...


No, they set up a framework where any other such case can be easily included in the ban. The executive order doesn't even name TikTok, except when referring to now-revoked previous things it revoked.

> (d) The Secretary of Commerce shall evaluate on a continuing basis trans- actions involving connected software applications that may pose an undue risk of sabotage or subversion of the design, integrity, manufacturing, produc- tion, distribution, installation, operation, or maintenance of information and communications technology or services in the United States; pose an undue risk of catastrophic effects on the security or resiliency of the critical infra- structure or digital economy of the United States; or otherwise pose an unacceptable risk to the national security of the United States or the security and safety of United States persons. Based on the evaluation, the Secretary of Commerce shall take appropriate action in accordance with Executive Order 13873 and its implementing regulations.


You could still have "X Germany" or whatever, that cross-syndicates content with other "X $COUNTRY" companies. But it would be a local company, under the jurisdiction of local laws -- and that seems to be the point.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: