HNHacker News
TopNewBestAskShowJobs

zauguin

335 karma · joined February 22, 2021

submissionscomments
zauguin··on Lambda Operator in LaTeX
You don't have to define `\First` and `\Second` since these are predefined as `\@firstoftwo` and `\@secondoftwo`. Also the Unicode bytes are already active so setting their catcode is useless. Also redefining the first octet breaks LaTeX's UTF-8 handling and the else case forms an infinite loop. Changing the catcodes of `(` and `)` means that this command doesn't work in the arguments of other commands and it breaks other uses of `(` and `)` in the argument.

Instead you could do this as

  \documentclass{article}
  \usepackage{xparse}

  \NewDocumentCommand \LambdaCalc {u{.} r()} {%
    [arg:(#1) body:(#2)]
  }
  \DeclareUnicodeCharacter {03BB} {\LambdaCalc}

  \begin{document}

  λx.(2x)

  \end{document}
zauguin··on Richard Stallman Announces GNU C Language Reference Manual
I don't know TeXmaker, but it's highly unlikely that you can't compile this with any normal TeX distribution.

It's not a LaTeX file though, it's a TeXinfo file but since it includes the texinfo.tex file it shouldn't matter, you can run it like any plain TeX document. It uses texindex but that's included both in TeX Live and MikTeX, so you probably have it installed already. Just run on some kind of command line

> pdftex c.texi

> texindex c.cp

> texindex c.fn

> pdftex c.texi

> pdftex c.texi

zauguin··on Elon’s Out
> Going through court will lead to even more dragged out speculation and hurt Twitter more than any other party. They can't be 100% sure that they will win the case,

It's hard to be 100% sure, but there is a rather high probability that they will win and if they do, even if EM only has to pay a fine, they will have an official court statement saying that their bot statement is reasonable which is significantly better than leaving it with "we settled with EM since we don't think that we can defend this statement".

> In the end, even if they win, and Musk must buys the company at the deal price, by the time that goes through the markets may as well have rebounded to make the acquisition price reasonable again.

And that's fine. After all, Twitter agreed to the sale at that price.

> The winners at the end of the day would be the lawyers and millions of dollars dumped into fighting a case instead of settling.

There would be at least three winners:

  1. The lawyers, but they probably already got millions over the whole mess.
  2. The legal system, since there would be some indication that even EM has to follow the rules for once.
  3. The shareholders who will get significantly more money and who are actually the people the board represents.
zauguin··on Elon’s Out
> He's not the type to intentionally deceive others. He's often wrong, but he's upfront with what he thinks.

So when he submitted official documents that he wants to be a passive investor at Twitter while already having internal talks about buying it and/or getting a board seat he ... accidentally forgot about that?

zauguin··on Why do so many brands change their logos and look like everyone else?
Take macOS. It moved from "Mac OS X" over "OS X" to "macOS" which was (AFAICT) purely a "random" surface level change (especially with the "remove Mac only to reintroduce it later and remove the X instead" move), even though "Mac OS X" was a rather well established brand.
zauguin··on 40% of Google users now connect via IPv6
All the carriers here enabled it for their direct customers, but many resellers still only provide IPv4 connectivity (with CGNAT).
zauguin··on Does monitoring your phone affect the essence of privacy?
The problem with using "constitution" in this way is that EU laws do also have to conform to the national constitutions, so in every individual state of the EU the statement that some EU law is unconstitutional already has a well defined meaning which is significantly different from the intended meaning.
zauguin··on XMODEM in 2022
Looking at my last two (non notebook) motherboards (neither of them being particularly new) one of them has a pin header where a serial port could be attached, the other only has some contacts on the board without even pins. Neither of them had a proper port.

So even if they could offer these ports and Linux reports them, they might not be usable without special work.

zauguin··on I hate LaTeX, I love LaTeX
Since your code doesn't write the authors to the file it already requires that the authors are given before `\maketitle`, so then it's also reasonable to require affiliations there. Then you get something like https://gist.github.com/zauguin/19bf1bc9128a8abaedfe3081717b... which doesn't need a file.
zauguin··on 460M Indian Internet Users Are Now on IPv6
Theoretically I would expect it to be much easier (and cheaper) to get a static IP with IPv6.
zauguin··on GitHub: Private Profiles beta
IMO hiding the stars is the most useful feature here because I never understood why stars are public in the first place.

People just use stars in completely different ways such that the information that someone starred something ends up being basically pointless. E.g. people star stuff just because they want to look at them later and having a public link to these profiles isn't really reflecting their relationship with them. I know multiple users (myself included) who were pretty surprised when they first learned that this is all visible.

Of course instead of hiding the stars it might be better to add a private similar feature instead...

Anyway the whole "sharing the development experience" features in GitHub are IMO mostly weird. I'm using GitHub to develop open source software, not because I'm looking for another social network.

zauguin··on Marriage Markets (and Muscularity)
Based on my experience there does not seem to be a strong (positive) correlation between masters degrees and muscles. Might depend on the Master of course.
zauguin··on Ask HN: Best Width for Website?
It depends on what the remaining space is used for. If you have some hidden menu which can be expanded into a sidebar, some vertically stacked content which can be moved to the side etc. then restricting the main text to around 80 chars is great. But I would always prefer an extremely long text line over just seeing the background color in 70% of my screen. If the line gets too long to be read comfortably then the user can just resize the window.
zauguin··on M1 Thunderbolt ports don’t fully support USB 3.1 Gen 2
There's no need for lobbying by manufacturers since the consortiums are directly controlled by the manufacturers. If the brand looses value, they switch to the next one.
zauguin··on Anatomy of the Presidential Motorcade (2016)
But wouldn't any competent weapon developer then change this wave and emulate laser pointer as much as possible to avoid detection?
zauguin··on Two-qubit silicon quantum processor with operation fidelity exceeding 99%
Then all possible keys fit into the 0.04 bit remaining keyspace.
zauguin··on Birds Aren’t Real took on the conspiracy theorists
Given the global scale I can assure you that the illegality has been proven in many affected countries. The main question is if it's also illegal in the US.
zauguin··on Taxation of illegal income in the United States
The answers on https://law.stackexchange.com/questions/76594/if-you-are-a-l... strongly suggest that the IRS generally would not share these papers with other law enforcement agencies (except under very special circumstances).
zauguin··on Two-qubit silicon quantum processor with operation fidelity exceeding 99%
If you reduce the search space of 2 bit keys by 99% then there there are only 0.04 keys left. That's too small to find a single key, not too large.
zauguin··on You’re muted – or are you? Videoconferencing apps may listen when mic is off
Also controlled by the OS, but many ThinkPad's have such a button and light too.
zauguin··on Why Compilers Don’t Autocorrect “Obvious” Parse Errors
As a clang++ demonstration see https://godbolt.org/z/bTMT6qd4f. The failing `static_assert` uses the variable `i` which comes from the line missing a semicolon. It only reaches this assert because the compiler internally fixed the first error.
zauguin··on Automating cookie consent and GDPR violation detection
Isn't this already the case? Does anyone actually think that you give voluntary informed consent to something by being annoyed into pressing a button?

No, if you show a cookie banner your users do not opt-in. So a cookie banner is pointless since it doesn't actually give you permission to store cookies you couldn't store before. So we already have the law, we just don't enforce it.

zauguin··on Ask HN: Can we just agree on showing HTML without requiring JavaScript?
I really don't expect a page to work perfectly without JS. If some small feature uses it that's perfectly fine. But if I visit a page with JS disabled, I want these features using it to be broken and not the entire page to be unusable...

A little JS for the right reason can be very valuable, but requiring JS just to get a minimally usable page is insane.

zauguin··on Using email wrong
There are also quite some headers GitHub sets which often can be used for filters. E.g. instead of checking for `[reponame]` in the title, you can check the `List-ID` to filter for a specific repo.
zauguin··on Why you’re not doing creative work
That's probably different for everyone, but

> In the exploration phase, you don’t know what the thing is going to be, you don’t have all of the information or ideas you want to have, you don’t even know if what you’re thinking about is important, and any little breeze in the wrong direction might blow you off course. In the execution phase, you are inspired, you know what the thing is, you know how to make it, it feels urgent; all you need to do is sit down and do the thing.

That's pretty much the opposite of how I work on such things. In the exploration phase there are lots of interesting aspects to think about and I'm motivated to actually work on that, while during execution all the interesting parts are already done, therefore my motivation is completely missing and there's a good chance that the "sit down and do the thing" part never happens or if I start I use every possible excuse to explore another project instead.

zauguin··on F-Droid: how it weakens Android's security model
Except the developers can still have access to the key, they just have to share it with Google. This not only violates the old advice: "Never share your private key!", it also gives you the worst of both worlds: You have to trust both the random developer and Google to keep the keys private.
zauguin··on Inside Pornhub
I'm so relieved. Given that I'm a superintelligent shade of yellow you would have been my mortal enemy otherwise.
zauguin··on An elaborate con that tricked dozens into working for a fake design agency
I would expect that the sales people did focus on mid-tier clients. After all, if they would have approached high-tier clients Ali supposedly had connections with I would expect the responses to show that this isn't real.
zauguin··on Who is squatting IPv4 addresses?
> [...] if you want to get a /24 block from RIPE NCC when you sign up as a member, then you are currently looking at a 2 month wait for a recycled IPv4 /24 block.

That's a rather optimistic view of the situation. The next member who will get a block has already been waiting for 2 months and it's unclear when they will get one. It stands to reason that members applying now wold have to wait (potentially significantly) more than 2 months.

zauguin··on Show HN: Open-core icon sets that took me 12 years to create
CC BY is not a copyleft license. Copyleft is explicitly about the requirement to use the same license for modifications, which is present in CC BY-SA, but not in CC BY.

CC BY is recognized by the FSF as a free license and by Debian as DFSG-free. While it's not listed by the OSI as open-source, I think that's mostly because it's not a code license. So I don't think that calling it a open source license is misleading.

Of course, for open source icons I would actually expect the source files to be open...

← PreviousPage 2 of 4Next →