<aszlig>
what i'm trying to do is to generalize patching out calls to system() without a preload wrapper, but it doesn't stop there and i'd like to have a library of assembly patches that i can reuse
<aszlig>
eg. something more substantial would be to inject code for path lookups/concatenation that reference the nix store
<aszlig>
for example if an application attempts to write to a specific path it should go into XDG directories, if it reads it should read from XDG first and fall back to the store path
<aszlig>
the idea is to seek to the call and inspect backwards so whole jmps can be redirected
<aszlig>
with a preload wrapper you have to override a bunch of syscalls instead and chances are likely something will slip through
<gchristensen>
a language comparison between favorite, second favorite, and least favorite
* samueldr
puts trolling mask
<samueldr>
» to give ‘2017 era C++’ (which is entirely unlike 2003 C++) another good look
<samueldr>
no need to comment I think
<samueldr>
but if 2017 C++ is like learning a new language compared to 2003 C++, why not... learn a new language?
<samueldr>
:)
<maurer>
His objection to rust basically seems to be "If I want to write high performance data structures, I need to devolve to the level of C++ for that part of the code, and that's unacceptable. Therefore, I should just use C++ instead."
<samueldr>
oh, it gets better; I hadn't read far enough to see the meat of the article
<gchristensen>
oh man yeah taht is where it gets really dishonest
<maurer>
And like, I too am upset that rust's ownership model doesn't let me write a lot of things I'd like to write in safe code
<maurer>
but it is still better than C++ when I hit that, because even unsafe rust actually guards against a variety of C++ mistakes
<maurer>
Also, fuck go, Rob Pike is a dick.
<maurer>
"I know, I'll make a cool language that has static typing, uses coroutines as its core primitive, and compiles to native code"
<samueldr>
let's not devolve to ad hominem, and only critic their arguments :)
<maurer>
"Great! That sounds amazing, and I'll be interested to play with a release candidate"
<maurer>
"And now, for my next trick, I'll delete polymorphism, disable PIE, and disable dynamic linking."
<maurer>
"Why? Why would you do that? What is wrong with you?"
<maurer>
"Programmers are dumb and stupid and can't be allowed to have those nice things"
<maurer>
He deleted polymorphism because too many programmers at google couldn't understand the difference between contravariance and covariance
the has joined #nixos-chat
the has joined #nixos-chat
the has quit [Changing host]
<maurer>
He prevents PIE because he wants consistent addresses on different executions, even when not debugging, because programmers can't be arsed to understand the base the program is loaded at, thus preventing full ASLR
<maurer>
He prevents dynamic linking on ideological grounds, thus preventing even partial ASLR
<samueldr>
(is it ad adinem when attacking an ad company? or are business still people?)
<maurer>
The coroutines-as-pseudothreads idea is actually really good
<maurer>
every other piece of the language design is a fractal of "I don't think you can eat steak, have pink slime instead"
<__monty__>
According to copyright law companies are people, people who can be immortal...
<samueldr>
that's mouse hominem
<maurer>
I'll believe corporations are people when texas executes one
<gchristensen>
lol
<samueldr>
doesn't execution mean something else for corporations?
<maurer>
No, it's just not a punishment you can give one
<samueldr>
» Capacity to complete assigned tasks and responsibilities to customary or specified standards within a certain timeframe.
<maurer>
No, that's execution _by_ a corporation
<samueldr>
maybe not what I had in mind
<maurer>
not _of_ a corporation
<samueldr>
:)
<samueldr>
then this gets confusing there
lutzmor has joined #nixos-chat
<srk>
olol, quite weird thing happened.. I've changed version for betaflight which is propagated to rev but not hash and it is building ..
<srk>
(cool there's even betaflight in nixos!)
<srk>
ah, it used cached version
FRidh has quit [Quit: Konversation terminated!]
the has quit [Remote host closed the connection]
lutzmor has quit [Quit: WeeChat 2.1]
katona has joined #nixos-chat
the has joined #nixos-chat
the has joined #nixos-chat
the has quit [Changing host]
pie_ has joined #nixos-chat
<LnL>
I wonder if we could request a fontawesome icon for nix
<gchristensen>
oooohh!
* LnL
wants the nix icon for a thing
<etu>
LnL: doit I'd say.
<etu>
It would be awesome.
<etu>
I have no authority to say this or so :D
<etu>
But I would love if it existed :D
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<LnL>
hmm, they don't have any linux distributions