For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | frizlab's commentsregister

That seems to be the expected and normal behavior. The title is a bit misleading.

yeah. Security and privacy are guaranteened by regulations, human management, and small part of the tech.

Little by little, Xcode is making progress. Probably a lot of the improvements come from the open-source and actual work on its build system… It’s still far from perfect, but at least it’s getting better.

Is “$0” (`argv[0]`) correct when the pre-compiled binary is launched instead of the script?

Ahh good question. I had to think a while before I understood what you meant. Let me check when I can.

Nice catch.

edit: you are right. The binary version will result in a different argv[0]. Not sure what'd the best solution would be. Hardcoding doesn't make sense, as symlinks also change argv[0], so overriding is not the way to go.


bash, zsh, and ksh93 support `exec -a` especially for this case.

yup, it got much better recently

I don’t even understand how SourceForge still exists!

There are other solutions which are as easy to read/write (if not more) and which are defined much better… Asciidoc comes to mind.

"Better specified" doesn't mean better. A bunch of features doesn't mean better.

Markdown is popular because it is simple. I have never had to teach anyone Markdown. They look at the file and immediately see what's going on and can copy the style.

Occasionally someone may have to look up something like table syntax, but no one in my career or personal life has ever asked me to explain Markdown to them, which is rare for a technology that is so widely used.

This has not been my experience with other markup languages.


Have you tried Asciidoc though? It is, IMHO, much clearer than markdown (YMMV, obviously), and exactly the same pros you gave of markdown can be said of Asciidoc.

Bonus: It starts simple but can be used to do whole books if needed.


My experience is that Asciidoc very quickly gets into advanced syntax.

If you introduce something with advanced functionality onto a team, soon enough someone's going to use pieces that others don't fully understand later.

Now everyone touching the document has to understand includes and document metadata and whatever else someone added. Suddenly you have includes and cross-references and what used to be a document where you could read the raw non-rendered form linearly top to bottom is a confusing mess unless you render it. Markdown is almost always just as legible raw as rendered.


It's great apart from the nested list syntax. It's quite noisy. I'd prefer if it supported indentation.

Interestingly I think things that should not be deterministic should actually forced not to be.

Swift for instance will explicitly make iterating on a dictionary not deterministic (by randomizing the iteration), in order to catch weird bugs early if a client relies (knowingly or not) on the specific order the elements of the dictionary are ordered.


This claim sounds vaguely familiar to me (though the documentation on Dictionary does not state any reason for why the iteration order is unpredictable), though the more common reason for languages to have unstable hash table iteration orders is as a consequence of protection against hash flooding, malicious input causing all keys to hash to the same bucket (because iteration order is dependent on bucket order).

Oh yeah you’re right, apparently the main reason was to avoid hash-flooding attacks[1].

I do seem to remember there was a claim regarding the fact that it also prevented a certain class of errors (that I mentioned earlier), but I cannot find the source again, so it might just be my memory playing tricks on me.

[1] https://forums.swift.org/t/psa-the-stdlib-now-uses-randomly-...


One more reason for randomizing hash table iteration was to prevent Denial of service attacks:

https://lukasmartinelli.ch/web/2014/11/17/php-dos-attack-rev...


Unless I’m mistaken Space Force is a netflix series.

Oh, apparently you are right! Thanks for the correction.

I refuse to give google any cent (and I also do not use youtube at all, so at least I’m consistent).

Sadly, it looks more and more like it. It’s sad, because they were doing wonderful stuff.

Agreed. They are destroying their professional reputation.

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

Search:

HN For You