us politics Show more
Bernie Sanders is running in 2020 guys! we're saved!
This paper on a malloc() replacement that DOES COMPACTION even on C/C++ is making the rounds: https://arxiv.org/pdf/1902.04738.pdf
Been thinking about security in the product I work on in my day job (it's currently poor) and have come up with this argument. Does it make sense?
A bare computer can do anything. It just needs programming. The purpose of software is to *restrict* what the computer can do to a useful subset with (ideally) no unintended consequences or side-effects, even if used incorrectly. Unless you're a compiler vendor, you can't ship a Turing complete programming tool and pretend it's a product.
UNIX "file security" Show more
How it is:
User: *starts a program, does nothing special*
Program: *does whatever it wants in the home directory*
User: *discovers a lot of stuff, needed who knows for what, or worse missing*
How it should be:
User: *starts a program*
Program: Please, please, please. May I store one bit in the persistent storage? I really need it for this and that.
@alcinnz @rain truly.
there are several things that I, as an app developer would like to see in app platform:
- Any efficient bytecode interpreter
- UI toolkit which doesn't suck. People say it's a myth and cannot exist but I'm hopeful. I shouldn't have to roll out my own RTL supprot e.g. or accessibility toolkit
- Low-level storage which doesn't suck. People say... well, you know
- Permission model
- Communicating with other apps
PSA re: missing person notices Show more
If you have information about the whereabouts of a missing person, think twice and check before providing info to the phone number on a missing person notice. There have been situations in which abusers have used missing person notices to attempt to regain contact with their victims against their will.
(This post has been inspired by a notice I've seen on my timeline, but I'm not accusing the poster of this - just letting people know to be careful.)
UNIX / POSIX command-line stupidity Show more
This. Is. Fail.
$ du -sh ~/.* | sort -h
A proper way.
$ find ~ -mindepth 1 -maxdepth 1 | xargs -r du -sh | sort -h
Because this is an operation no sane person would need to do often… right?
@rain You can't dial down the complexity of specs; deployed platforms change in only one direction
@kragen Indeed, that's what I often do today.
The other thing I do sometimes is make the extra argument a global I'm pretty anti-abstraction, but *that* makes me nervous.
We are a cute and loving international community Ｏ(≧▽≦)Ｏ !