1,399 karma · joined August 24, 2008
It's certainly easier for the programmer to just leave some of the work to the compiler, but it's at the cost of being a complete pain in the ass to packagers and users.
Do you even have to do much work yourself? .Xresources is already parsed and loaded for you by xrdb if you can't afford the cost of an extra 100 microseconds doing it yourself. Is the API to interact with that mindblowing horrid or something?
> All of this for values which change once every... how long?
When I'm configuring software to taste, several times a minute. And considering this is likely to be my first exposure to the software, it better not suck completely.
e.g. instead of:
440K gtar
151K gcpio
144K unzip
Base has: 655K libarchive.so.6
57K bsdtar
37K bsdcpio
20K unzip
34K bigger, much wider format support, and directly usable by other tools like pkg and ar, as well as third party apps like tarsnap and cmake.Read: tar, pax, cpio, zip, xar, lha, ar, cab, mtree, rar, and ISO images.
Write: tar, pax, cpio, zip, xar, ar, ISO, mtree, and shar.
I believe it had tar compression detection significantly earlier than GNU tar too.
The vast majority of SSD failures seem to be a result of firmware faults.
Ruby web apps on the other hand tend to be run in a loop - the script never exits after a request, it just goes back to the top of the loop to accept the next request to serve.
e.g. https://github.com/rack/rack/blob/master/lib/rack/handler/fa...
FCGI.each { |request|
serve request, app
}
It's nice because it completely decouples your app's startup time from request processing time, so you can do expensive setup stuff up-front without slowing down each request. The disadvantage to that is there's not much pressure to keep startup time low, since it's only happening once.https://nakedsecurity.sophos.com/2011/06/21/dropbox-lets-any...
The problem appears to have gone away following a firmware update, touch wood.
Can't off the top of my head recall actually seeing such a bug. I totally appreciate the desire to reduce the potential for errors from typos, but that ship has kind of already sailed with either language. I guess it just depends how far you're willing to let it go.
Yay choice. Testing will catch it anyway, right?
:/
root.left, root.right = invert_tree(root.right),
invert_tree(root.left)Key is derived from a single SHA256 (can be brute-forced very rapidly), cyphertext isn't authenticated (can be tampered with or corrupted without anything noticing), and the padding function is broken (strips trailing NULLs, so no good for binary files).
In theory openssl could return a String-like object with an overridden ==, but it doesn't.
1: https://svnweb.freebsd.org/base/head/etc/rc.firewall?view=ma...
Also couldn't feel more clunky if it tried, impressive as its feature set is.
When you install(1) a new version of a file, the old one is deleted and the new one written in its place. The file handle in existing processes continues to point to the original, and the filesystem will wait until everything's closed it before actually discarding the file data.
On FreeBSD I like doing:
/boot/loader.conf: mac_seeotheruids_load="YES"
/etc/sysctl.conf: security.mac.seeotheruids.enabled="1"
Which restricts users to seeing only their own processes. You can make exceptions for a specific group or users with the same primary group.
I still don't put anything sensitive in a command line, of course.
> BLIT (which stands for Berryman Logical Image Technique) is a short science-fiction story written by author David Langford. It features a setting where highly dangerous types of images called "basilisks" have been discovered; these images contain patterns within them that exploit flaws in the structure of the human mind to produce a lethal reaction, effectively "crashing" the mind the way a computer program crashes when given data that it fails to process.
1: http://www.infinityplus.co.uk/stories/blit.htm
2: http://www.lightspeedmagazine.com/fiction/different-kinds-of...
Asking people to consider it is the right thing to do. Switching license would defeat the entire point.
Similar themes in Roger William's "The Metamorphosis of Prime Intellect"[3] (an AI accidentally takes over the universe).
1: http://gregegan.customer.netspace.net.au/DIASPORA/DIASPORA.h...
2: http://gregegan.customer.netspace.net.au/PERMUTATION/Permuta...
Sigh.