39 karma · joined Aug 14, 2018 (8y ago) · 34 submissions
comment 8y ago · link · parent
Maybe more relevant to private data, the builtin wiki makes a good personal knowledge database.
The next version of fossil will have a forum (seen already at https://fossil-scm.org/forum/forum ). With the time sorting for threads, that might be good for temporal data that you wouldn't want to put in a wiki.
comment 8y ago · link · parent
1. a request to return org-mode data (or for requests to contain it in a mechanically distinguishable manner, an option if your normal output is org-mode plus some JavaScript that renders the page from org-mode)
2. some Emacs code to populate a buffer with org-mode data extracted from an HTTP request
That's it. Neither of those are technically difficult. Although there's lots of room for improvement, and that's where people might start to get interested. For example, you could develop org-mode as an alternative to Jupyter notebooks.
comment 8y ago · link · parent
Ha ha, pretty good. They snuck a serious-sounding joke item into an otherwise good list.
> 14. Writing an open letter to your boss.
Needs to go on a separate list, titled something like "Fun Ways to Quit Your Job"
> BONUS: Being a jackass outside of the work place.
Needs to go on a separate list, titled "The author of a list tells you how he vindictively sabotaged someone's career for expressing mild annoyance in a way the author did not care for."
Replace it, on this list, with "having a social media account".
Just don't.
comment 8y ago · link · parent
2. avoid having to deal with backups. Think of all the warnings about test coverage. Or about advocacy for compile-time checks, and for more thorough checks, for information in the editor as you're coding. Backup systems are all about finding out that shit's broke after it's too late and when you most urgently need it. They are an incarnation of stress. And if you do it well, nobody will ever even know. It's not "heads - bonus, tails - no bonus", but "heads - you can come into work tomorrow for the same pay, tails - you can't".
comment 8y ago · link · parent
I imagine another line will be "it's marginally better than statistical human shooting, according to three studies!"
And then in the 'big house' people will refer to you as "Butterstats" or something. Because you were screaming "marginally better" the first night they left you in your cell.
Yo, butter stats, how's your appeal going?
comment 8y ago · link · parent
Then don't restrict your comments like that. WordPress pages don't gather 8000+ spam links because it's only capable of accepting wordpress users' comments.
WordPress is flexible enough and rich enough in plugins and themes that I wouldn't it an alternative to "building my own website", but rather as one technology you can use to do that.
comment 8y ago · link · parent
oh yeah, I remember that Hitman mission.
"Would it be morally justified for an assassin to kill me?" is a good question to add to the project-acceptance checklist.
comment 8y ago · link · parent
Granted, much of that stuff is arranged in the form of compounds that contain people, or is stored on such compounds.
There are a few steps to "deciding who is innocent", but the big steps are Step 1: the President decides that the military can start making spot decisions like "that guy just shot me" within a specific set of circumstances. Step 2: "that guy just shot me! I'm shooting back!"
Better military technology improves step #2. It also improves subtler cases like "can I shoot this guy" / "does he have a weapon?" / "yes he totally does [false]" / "ok shoot him" -- by allowing the supervisor in this case to confirm what he's being told, before he gives the go-ahead.
But step #1 is the biggie. As soon as the President says that the military can go to a place and kill people, it gets very dangerous for the people there. Apart from turning the entire planet into a panopticon, I don't think technology can change this much.
comment 8y ago · link · parent
comment 8y ago · link · parent
If you put the most valuable thing in the universe inside a box that can't be opened or permeated by any force in the universe--then that thing is no longer valuable. Go find the former #2. If you have a programming ideal and that ideal requires laziness--then you've messed up. You have to conclude that there was something flawed about the ideal.
I'm a lot more confident about laziness being bad than about what you're thinking of as "a pure immutable language" being bad, but part of the problem about laziness is that it's a feature apart from the language it's in. If you implement a cache with a hash table in any normal language, then you can later on check and see how much data you have cached, keep track of your cache hit rate, empty the cache, pre-load your cache from a previous run, and so on. To work with your cache, you have the language itself at your disposal. If you implement a cache with a lazy list in language X, then language X can't help you. You'll need to hope that whatever Gods dangled laziness before you, also have some tools dangled elsewhere.
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
And runtime checks aren't free - they cost CPU, they can have their own bugs, and they can be tedious to write. "In general", rather than even try to be as careful in a dynamic language as you could be with an advanced type system, you'll just settle for not being careful.
comment 8y ago · link · parent
1. oh wow, syscalls are really slow. We need to get as much done as we can with as few of these as possible
2. that's kind of annoying though, what if we had ... some kind of ... transparently buffered ... interface?
3. woah that buffered I/O thing I discovered last time, I just found out that my C programs have been using that this whole time! what cheaters!
4. hmm, even though I have 9000 CPUs each trying to process I/O from this single filesystem, I'm not getting the 9000x speedup I would expect. wait, wait. I just had a thought. try and keep up with me here. Filesystems must exist somewhere in reality, right? On some part of my macbook? What part is that?
5. oh wow spinning disks have really weird performance characteristics
6. oh wow it's enormously faster to read serial data even in RAM! Even though it has 'random-access' right in the name, random access is slower! This is going to be an epic-length blog series guys! We're rediscovering everything!
comment 8y ago · link · parent
comment 8y ago · link · parent
Tip: if your memcached replacement doesn't trivially allow the rooting of its server, and if you don't also defiantly leave the exploit in while explaining that "you must be --- this tall --- to use redis without it behaving like a malware installation", and that any dirty normies deserve that fate, then you're already better than redis! :)