Better HN
topnewbestaskshowjobs
Log inSign up

brewmarche

517 karma · joined Aug 5, 2018 (8y ago) · 328 submissions

Submissions

comment 3d ago · link · parent

Afaik macOS blocks the intermediate eMudhra CAs (if you use the native APIs)

comment 1w ago · link · parent

That `with` inside of the collection expression feels really weird to me, I would have expected it before or after it.

comment 3w ago · link · parent

Interestingly if I remember correctly they have different origins, Maria is a biblical name, while Mario comes from Latin (which can decline Marius to Maria, but that’s a different word)

comment 3w ago · link · parent

  Location: Germany (UTC +1/+2), EU citizen
  Remote: preferred
  Willing to relocate: no
  Technologies: C# and previously C++ and Java, I like functional programming and data-oriented where appropriate. I know SQL, Azure, Docker, high performance computing (Monte Carlo simulations), see also CV
  CV: https://pub.999568.xyz/wwtbh/rcv-202611-hjh39tsvaj1.pdf
  Email: see CV
I work in mathematical finance so I have domain knowledge in that area (derivatives, pricing, probability theory), but other domains are also welcome.

Happy to provide you with an unredacted CV personally.

comment 3w ago · link · parent

Not sure why so many things use the compatibility form of normalisation.

Some older RFCs even recommended using it for passwords, which needlessly reduces entropy (yes we need to normalise passwords because of combining characters, but we don’t need to collapse symbols that a user can choose from, like ſ and s).

In my opinion, the compatibility form makes mostly sense for searching text, and even then it’s sometimes annoying (I want to search exactly for ss and not ß, browser). If you know of other good use cases let me know.

It also OK to disallow registering two identifiers with the same compatibility normalisation form (edit: this does not prevent all homoglyph attacks BTW, that is another can of worms), but I don’t see the need to normalise the identifier when it’s used.

comment 3w ago · link · parent

Interestingly, this blog post says it is implemented in the Win32 and kernel API (in RtlGetFullPathName) and thus should also work outside of cmd.exe: <https://projectzero.google/2016/02/the-definitive-guide-on-w...>

comment 3w ago · link · parent

More here <https://devblogs.microsoft.com/oldnewthing/20100506-00/?p=14...>

comment 3w ago · link · parent

> Unless they need Linux GPU/WIFI/BT drivers to make things work, of course. Then it's fine.

The parts of Linux that get integrated into BSDs should not be GPL-licensed, e.g. <https://github.com/torvalds/linux/blob/c339f4010dea8b0d754f8...> and its siblings use MIT.

comment 3w ago · link · parent

I think it’s possible to add intermediate certificates with distrust marker attributes to bundles with OpenSSL. But other libraries consuming the bundle would not understand it, so the problem remains.

comment 3w ago · link · parent

Apple’s own security framework is supported by curl with OpenSSL or GnuTLS (build with ./configure --with-apple-sectrust). That blocks the intermediate certificates via the same mechanism Safari uses for example.

Not sure why macOS doesn’t ship such a build of curl.

comment 4w ago · link · parent

Maybe we should do registered trademarks? For disambiguation location and class of goods/services might still be needed, but a certificate showing as “Google (search engines, US)” (taken from [0], picking Nice class 42) would be recognisable to many users, I guess.

[0]: https://branddb.wipo.int/en/brand/US502016086912587

comment 1mo ago · link · parent

I’m not sure I’m understanding this comment [0] correctly, but even back then it seemed possible to get PHP involved?

[0]:<https://news.ycombinator.com/item?id=50225861>

comment 1mo ago · link · parent

https://github.com/xscreensaver/xscreensaver/issues/3

This was linked in the blog

comment 1mo ago · link · parent

Just delete the cookies of jwz.org (to be specific, the cookie called HN)

comment 1mo ago · link · parent

I’d say most ‘mainstream’ libraries pretend that every day, even a day with leap seconds, has 86400 regular-length seconds. But I thought that within UT1 the length of a second varies every day, so I would not have called that UT1.

comment 1mo ago · link · parent

Didn’t Julia choose UT1 for their standard date time library? Although they might want to reconsider with this decision

comment 1mo ago · link · parent

IIRC there were some UNIX Linux distributions in the past but the certification wasn’t renewed

comment 1mo ago · link · parent

> Landscapers sometimes accommodate desire paths by paving them, thereby integrating them into the official path network rather than blocking them.[…] Sometimes, land planners have deliberately left land fully or partially unpathed, waiting to see what desire paths are created, and then paving those.

from <https://en.wikipedia.org/w/index.php?title=Desire_path&oldid...>

comment 1mo ago · link · parent

I remember that macOS/FreeBSD’s cp -R behaves differently depending on the trailing slash (it’s pointed out in the man page). But when I compared with GNU coreutils and busybox they did not, so it’s something to look out for.

comment 2mo ago · link · parent

Just checked it and I underestimated. Just before the split it was at 54k LOC: <https://github.com/dotnet/runtime/blob/b96f3cc738f7fca9474fb...>

I’ve also read that a first version of the file came from a Common Lisp to C++ code generation step: <https://news.ycombinator.com/item?id=23295041>

comment 2mo ago · link · parent

Until recently the .NET garbage collector used to be a single 30,000+ line C++ file. And it was maintained by one person if I remember correctly.

22.

Joy's Law (Management)(en.wikipedia.org ↗)

5 points · by brewmarche · 2mo ago · discuss

comment 2mo ago · link · parent

Didn’t know about that one, and can’t find any references, but works in my fish

I’ve always used Ctrl+U, it’s an Emacs shortcut, so it works in many shells and other prompts (especially since readline supports it) by default.

(For example Ctrl+Opt+- doesn’t seem to work in the Python REPL whereas Ctrl+U does.)

comment 2mo ago · link · parent

Yeah I have seen this issue a few times. If you use Docker build arguments that way add `--provenance=false` to get rid of all that build metadata. Build secrets are still better since they allow you to scope the secret inside of the Dockerfile. Also, the metadata can be useful to inspect images.

comment 2mo ago · link · parent

I thought MS-DOS had special handling for A: and B: since it allowed you to copy from A: to B: even with just one floppy drive.

comment 2mo ago · link · parent

Apologies, I focused on LLVM as a whole. You are right about clang (and I didn’t know about the arm64 backend)

comment 2mo ago · link · parent

They asked about ‘originated’ in particular.

comment 2mo ago · link · parent

Swift comes to mind, and this website has more https://opensource.apple.com/projects/ (it lists WebKit, but I guess they count WebKit after it split from KHTML, I’d agree with you there)

Also, Bonjour originated at Apple and it is cross-platform, although Avahi probably is more popular

CUPS is associated with Apple as well, but it seems that it also did not originate there

12345
11