HNHacker News
TopNewBestAskShowJobs

enedil

732 karma · joined February 2, 2015

[ my public key: https://keybase.io/kataryniarz; my proof: https://keybase.io/kataryniarz/sigs/6WPP7pBo3dhCWrslSjwlyHqz9jl4l7zBg4HsqsGwqTg ]
submissionscomments
enedil··on Why mmap is faster than system calls (2019)
In Polish, Aleksandra (also female version) is shortened up to Ola, good luck with that ;)
enedil··on Best of show – abuse of libc
It's already implemented: https://github.com/ajyoon/systemf There is even an HTTP server built with it.
enedil··on Best of show – abuse of libc
The author works at Google, so I suspect he's the same who created this challenge. Really enjoyable, although I didn't manage to solve it during contest.
enedil··on Rust is now overall faster than C in benchmarks
This is not true. Undefined behaviour can mean that

``` bool b; if (b) printf("1 "); if (!b) printf("2 "); ```

might print `1 2 `.

enedil··on State machines are wonderful tools
Lookahead is what causes a language not to be regular. In fact, common regex libraries support broader classes of languages than the regular ones. Perhaps that's why there's no `and` operator.
enedil··on The State of Linux Debuggers
Ghidra doesn't have a debugger (which afaik is a WIP).
enedil··on CLI Guidelines – A guide to help you write better command-line programs
"Do you have a source for that belief?" - well, you have this HN thread where about half of the comments speak about why the man pages should stay. You can find great arguments, for instance man pages are searchable inside, but also you can search for manpages containing given keywords (man -k). My shell (fish) autocompletes man pages: when I enter `man gi`, it tells me that I can see the git manual, or for instance, GIMP manual. The first thing I do with a program is to open its manpage. When it isn't available, all I can think is that it was written carelessly. If you want to have interoperable software, you absolutely need to provide manpages.
enedil··on CLI Guidelines – A guide to help you write better command-line programs
Pandoc has the ability to output manpages from .md or .rst documents, so if you already have a web version rendered from those, I see no reason not to include them. I absolutely love software with manpages and leaving them alone just because other platforms (or simply just Windows) don't have them is a bit of an insult.
enedil··on Radicle: A peer-to-peer alternative to GitHub
Shameless plugs are when you talk about your product specifically, while this just mentioned some product of this name.
enedil··on The total PC market (including tablets) had 23% year-on-year growth
Just as MacBooks, which also are becoming "general purpose computing" devices?
enedil··on The Arm64 memory tagging extension in Linux
Comparing pointers not coming from the same allocation is undefined behaviour per C++ standard.
enedil··on Recycling was a lie to sell more plastic, recycling industry veteran says
That's what happens with most beers sold in bottles in Poland, there's a standardized bottle shape, you pay a little extra when buying such a beer. Even so, there's still a lot of beer bottles being trashed. Maybe the price is too low for most of people. In turn, this is what a lot of homeless people do, they collect such bottles for reimbursement.
enedil··on Darling: macOS Translation Layer for Linux
I do and I don't hear cue-tee almost ever
enedil··on Embedded PDF viewer in Firefox 81 supports filling forms
Moreover you need to consider it with regards to all other bases than 10 too.
enedil··on Embedded PDF viewer in Firefox 81 supports filling forms
Normality of a number is with respect to number bases, so your trick with encoding is invalid. Otherwise, every computable number could be considered normal - take an algorithm for generating of it, supply a random string (this is the encoding), disregard the random string, and you have a perfectly valid normal representation of your number. So it is cheating.
enedil··on The Unix timestamp will begin with 16 this Sunday
We're not talking about C, were talking about how it works on the computers.
enedil··on BitTorrent v2
The parent commenter is European, so they have probably a lots better experience with banking than you might have in the US.
enedil··on AES Finder – the utility to find AES keys in running process memory
It's likely though that they knew that AES keys are somewhere in the memory.
enedil··on Why I don't give .edu discounts
I have .edu.pl address and most of the times I get educational discounts.
enedil··on American Academy of Sleep Medicine calls for elimination of daylight saving time
Well, have you heard of hand watches?
enedil··on Moreutils – Unix tools that nobody thought to write (2012)
Why do you want automatic paging by bat, if you can just open it in Vim.
enedil··on Can't you just right click?
If you have a vulnerable app, it might modify another already approved app that is already installed, thus omitting the scary message about untrusted code before being run.
enedil··on SQLite 3.33
This is sqlite, you typically don't have a server.
enedil··on Beware of Async/Await
Except the default is exactly fast and racy:

fetch(x); fetch(y);

vs

await fetch(x); await fetch(y);

enedil··on OCaml: Add support to iOS/Mac ARM64
Most OCaml developers might be actually using Linux though.
enedil··on ProcMon for Linux
You can use PowerShell on Linux, what's the problem?
enedil··on macOS 11: copies of dynamic libraries are no longer present on the file system
I agree with it, the title should be changed. I thought the same and it's the only reason I looked at the comments.
enedil··on The Beauty of Unix Pipelines
(9) every program starts with 3 streams, stdin/stdout for work and stderr for out of band errors

This is false - if a process closes stdin/out/err, its children won't have these files open.

enedil··on Why Is This Website Port Scanning Me?
In this case, it's asking a clueless kid that lives in this house to try to open the selected door, and you guess whether the door was open or closed by the time after he returns.
enedil··on A Google Cloud support engineer solves a tough DNS case
If you can allow yourself this kind of performance regression, you can compile in GCC or clang with `-fsanitize=signed-integer-overflow`, this will do runtime checks.
← PreviousPage 5 of 10Next →