HNHacker News
TopNewBestAskShowJobs

Arkanosis

1,173 karma · joined July 26, 2011

[ my public key: https://keybase.io/arkanosis; my proof: https://keybase.io/arkanosis/sigs/Q_OfEjX8CvuPxeFNFGzbg_1X-m74fsEZ-SWcjLuLq_I ]
submissionscomments
Arkanosis··on Ask HN: Are any of you IEEE members?
I've been a member of the ACM from 2009 to 2012 for the only reason that it was a prerequisite to get the printed version of the CACM (which you have to pay in addition to the membership fee).

I cancelled my membership the day I realized I had one year of unread issues sitting on my desk. I'd found for long that the quality of the publications in CACM was no better than what I was reading on specialized blogs. It only had additional prestige — or so I thought at the time.

After I had cancelled, I developed a growing uneasiness with how much effort (and money!) was spent in getting me renew my membership, with a lot of (international) mails on high-quality paper. No wonder the membership was so expensive.

I'm still wondering about the actual benefits of such associations.

Arkanosis··on Perl 11
Lookup in a trie is O(L) where L is the length of the key; not that different if you take into account that to lookup into a hashtable, you also have to compute the hash of the key.
Arkanosis··on Generate ASCII RFC-like header diagrams for your own custom protocols
It makes a lot of sense for any kind of binary format as well (eg. gzip: https://tools.ietf.org/html/rfc1952).
Arkanosis··on Today Is My Wife’s First Birthday Since She Died
I'm not sure if it makes sense to write this as a total stranger, but I'm really sorry for your loss.
Arkanosis··on 12 Factor CLI Apps
man pages are the first place I'm looking in for flags for commands I know for years, or when I'm using new commands — and it's always a frustrating experience when they don't exist.

Please, always ship man pages with whatever you write. It's /easy/ to do and has a great added value.

PS: doc on the web is so often irrelevant… either too old, or too recent — and in the rare cases where it's properly versioned, the workflow is something like “cmd --version ; google cmd $version” instead of just “man cmd”, which is nowhere as convenient or reliable.

Arkanosis··on S-tui: Stress Terminal UI
In htop 2 and higher [1], you can enable graph history mode by pressing the space bar twice to change meter style on the relevant meter in the setup (F2). It works for CPU, RAM, load, swap…

gtop [2] does that too for CPU, RAM and network

[1] https://github.com/hishamhm/htop [2] https://github.com/aksakalli/gtop

Arkanosis··on Ask HN: Best alternative to Gmail?
Thunderbird + Conversations addon: https://addons.thunderbird.net/fr/thunderbird/addon/gmail-co...
Arkanosis··on Alphabet Backs GitLab's Quest to Surpass Microsoft's GitHub
It's being discussed: https://github.com/forgefed/forgefed
Arkanosis··on Page Cache, the Affair Between Memory and Files (2009)
For Linux at least, have a look at resources on kernel.org:

eg. https://www.kernel.org/doc/gorman/html/understand/understand...

or https://www.kernel.org/doc/Documentation/vm/

“Professional Linux Kernel Architecture” by Wolfgang Mauerer is also a great read.

And don't forget hardware vendors' documentation, such as http://developer.amd.com/wordpress/media/2012/10/24593_APM_v... (there's much more in it than just assembly instructions)

Arkanosis··on Page Cache, the Affair Between Memory and Files (2009)
If you enjoy this article, I highly recommend the other articles in the archives [1], especially the 2008-2009 series.

By the way, the author also created Grokbit [2], a search engine for source code that's just… amazing.

[1] https://manybutfinite.com/archives/ [2] https://grokbit.com/

Arkanosis··on WireMock
If I understand well what you mean, you might like https://stackshare.io/ :)
Arkanosis··on How true hackers write JavaScript
Why not:

function vis(el, on) { if (el) { (on ? remClass : addClass)(el, 'nosee') } }

?

Arkanosis··on Ask HN: How to organize personal knowledge?
Not a perfect solution for everyone as you need a computer to be always on (eg. a server, a NAS, whatever) for sync, but I've been using Orgzly on Android with Syncthing to handle the sync between all my computers and my phone, and it's much better that everything I've tried before.
Arkanosis··on x86-64 Assembly Language Programming with Ubuntu
Just a reminder BTW that since version 2.0 (1996), Unicode is not an encoding scheme but a character set (I avoid the confusing “charset” word on purpose). Therefore, Unicode does not use any number of bytes: it only assigns code points to characters.

Windows used to use the UCS-2 encoding scheme which indeed used 2 bytes for each character, but since Windows 2000, it uses UTF-16 instead, which like UTF-8 uses a variable number of bytes per character.

Arkanosis··on x86-64 Assembly Language Programming with Ubuntu
Two use cases I've had in recent years (technically not 2018, but well…): - optimization of simple functions that are called a huge amount of times (the only viable alternative to assembly being intrinsics that come with their own portability constraints), - just in time compilation.

Additionally, knowing assembly can help a lot when debugging weird crashes in code written in higher-level languages. gdb's asm layout is an awesome resource if you know how to use it, but someone who's never used assembly before will probably not even consider using it.

Arkanosis··on Docker cannot be downloaded without logging into Docker Store
It's important to mention that Singularity does not cover the same functional scope as Docker, and therefore isn't a good alternative for all use cases. It's much better for some, close to useless for others.

To make it short: - huge pro: it relies on user rights and doesn't require root, so it's easier to trust for an admin, and to use for a non-admin; - huge con: it provides no isolation (it's not that it does a bad job at doing it: it doesn't even try, by design).

There are probably many other differences, but that's what has stroke me the most.

Don't get me wrong: I've only had positive feedback about it; it just isn't a one-to-one replacement for Docker.

Arkanosis··on Go Memory Management
Actually, the libc is dynamically linked here, as shown in the /proc/maps section of the article.

So, to answer the GP: yes, resident memory from the libc ends up being amortized between all the processes that use it. But it doesn't even matter much as there's a mere 5 MiB of resident memory involved here. The “hundreds of MiB” are only of virtual memory, and that shouldn't be of any concern (see my other comment in this thread).

Arkanosis··on Go Memory Management
It's virtual memory, not physical memory. One should really see virtual memory as “addresses available for use within a single process”, not “space to store actual data, shared by all processes on a computer”.

On modern 64 bits architectures, you have plenty of it to spend. To give an idea of how much of it you have: since Linux 2.6.11 on x86_64, one can address up to 128 TiB (that's 128 thousands of GiB) of virtual memory per process. Starting with Linux 4.12, one can address up to 128 PiB (that's 128 millions of GiB) of virtual memory per process. That's completely unrelated with how much physical memory you have.

Arkanosis··on History of editors for Lisp
https://github.com/DogLooksGood/parinfer-mode ?
Arkanosis··on Slack Is Buying HipChat from Atlassian
I might have missed something, but your website doesn't provide much information, and I've been unable to find any elsewhere (only an empty GitHub repository).

edit: btw, the number of comments you've made in this thread to “sell” your solution is… abusive?

Arkanosis··on Show HN: Haml-rs – Haml parser in Rust
That's sweet!

I wish even more great tools like this were ported to Rust or some other language that makes packaging easy.

Do you think it could be reused to support pug/jade or slim? These are very similar template languages, and like haml, both have dependencies (JavaScript for the former, also Ruby for the latter) that make them difficult to use everywhere.

Arkanosis··on Chrome 68 Released: HTTP Sites Marked as “Not Secure”
OVH did the same thing silently in mid-2016 for shared hosting. GitHub Pages did that silently too earlier this year for custom domains, and made an announce in May.

That's awesome :)

Arkanosis··on CRAM: Efficient Hardware-Based Memory Compression for Bandwidth Enhancement
The “CRAM” name is already used by a NGS file format (for compressed sequences storage): http://www.internationalgenome.org/faq/what-are-cram-files/ .
Arkanosis··on Liberapay is in trouble
For the same reason I use an ad blocker. I don't care if they don't want me as a reader. What matters is that I want to read that content.
Arkanosis··on Liberapay is in trouble
I've installed this Firefox addon last week: https://addons.mozilla.org/en-US/firefox/addon/make-medium-r... . I highly recommend it.

Thanks for having reminded me how awful was the medium experience before; I hadn't even noticed I was on this site.

Arkanosis··on Ask HN: Favorite note-taking software?
This, plus Orgzly on my phone, because I don't always have a computer on me.
Arkanosis··on GitPub: An extenstion to ActivityPub for web-based Git services federation
Federated merge requests are being discussed in this thread: https://framalistes.org/sympa/arc/git-federation/2018-06/msg...

It's way too early for a proposal, but if someone from GitLab wants to give some input, that's more than welcome.

Thanks!

Arkanosis··on GitPub: An extenstion to ActivityPub for web-based Git services federation
It all depends on the vocabulary used. The Mastodon vocabulary is well defined already, but no vocabulary has been defined for GitPub for the time being.

Hopefully, GitPub will be the thinnest possible addition to ActivityPub, so that concepts (and vocabulary) are shared between GitPub and Mastodon, enabling comments between them.

Arkanosis··on GitPub: An extenstion to ActivityPub for web-based Git services federation
That's a good point. This has been discussed as well for the renaming of Microsoft's GVFS.

GitPub is still very young, and it might end up supporting (D)VCS other than git, so absolutely nothing in it is definitive right now, not even the name.

Arkanosis··on GitPub: An extenstion to ActivityPub for web-based Git services federation
GitPub (or whatever it'll be named then) does not intend to replace git or any other VCS. Its stated goal is to enable federation between services such as GitHub, GitLab, Gogs, Gitea, Pagure… which happen to use git.

In other words, it means that if GitPub was adopted by these services, you could submit a merge request from Pagure to Gitlab, or star a GitHub project from your own Gitea instance, among many other things.

← PreviousPage 6 of 10Next →