Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jdreaver
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
jdreaver
11y ago
What? You literally just call emacs --daemon on startup. You can also easily kill it and restart it.
62.
▲
by
jdreaver
11y ago
The best way to run emacs IMO is to use "emacs --daemon" to spawn a single daemon process, and then connect to it using emacsclient. Then, startup time is instant!
63.
▲
by
jdreaver
11y ago
I just wanted to respond to this: > It's not immediately clear to me how e.g. throttle is implemented, but it must accumulate state inside it somehow in order to replay the event after the timer. Certainly, a lot of FRP (and functio
64.
▲
by
jdreaver
11y ago
Much of the increase in admin staff and university spending has come from all of that free government aid money we keep giving them. If we make tuition "free" for everyone, then universities will get a bottomless pit of money to s
65.
▲
by
jdreaver
11y ago
I think the word "prove" is very strong when it comes to a psychological study that measures something indirectly. I agree with your parent comment. I doubt the author was even thinking of such studies when they wrote that part of
66.
▲
by
jdreaver
11y ago
However, the first version has a race condition. The file might not exist between the if-statement check and the call to os.remove.
67.
▲
by
jdreaver
11y ago
I just use gitolite [1]. I have the smallest droplet you can get on DigitalOcean, and it hosts my website along with gitolite and a couple of very small CI jobs for personal projects. There is no cool web UI, but I'm fine with that. [1
68.
▲
by
jdreaver
11y ago
> Along with inestimable human livelihood and wealth, the free market creates various possibilities to foolishly harm oneself. As opposed to the ability for the state to foolishly harm us? Sure, a free market allows humans to be human an
69.
▲
by
jdreaver
11y ago
Right? Any time something in the economy goes wrong, people are quick to blame it on the free market. Greed is the problem, they say. If, in fact, that problem is caused by the government, then it is the fault of "corporations meddling
70.
▲
by
jdreaver
11y ago
That looks really cool! The only minor problem I would have is you have to install stow before bootstrapping your dotfiles on a new machine, but that's obviously not a huge deal. I guess I could replace my bootstrap.sh script with a li
71.
▲
by
jdreaver
11y ago
> That's also completely clear in the Julia version, if you learn a little Julia. In every language I've used, the default is for a "rand" function to return random floats between 0 and 1, and given arguments it retur
72.
▲
by
jdreaver
11y ago
You have made a very verbose numpy version :) Here is a slightly better one: a = np.random.randint(-100, 100, size=100) a[(a & 2 == 0) & (a > 0)] Python does indeed have logical boolean operators. I think this is cle
73.
▲
by
jdreaver
11y ago
> This is what I believe: if you build a side project and allow real customers to purchase it, you have a moral obligation to support and maintain it properly and if you are unable to fulfill that obligation, then it is your obligation t
74.
▲
by
jdreaver
11y ago
Yup. Remember when that CEO that raised the price of some pill to $750? You can thank a government-granted intellectual property monopoly for that. Many people called for more regulation to prevent this kind of thing, without considering th
75.
▲
by
jdreaver
11y ago
Ah, I've already read that and I didn't realize you guys wrote it :) Thanks for the writeup!
76.
▲
by
jdreaver
11y ago
Kind of off topic, but: can you elaborate on how you handle the state file for nixops? I really want to use nixops for some smallish server deployments, but I don't want to have to share the state files with team members (or worse, k
77.
▲
by
jdreaver
11y ago
* ledger is for double-entry accounting. Doing that in a spreadsheet can be a huge pain. When you then want to query the data in different ways, that will add a ton of complexity to your spreadsheet. * It is plain text, so you can keep your
78.
▲
by
jdreaver
11y ago
If absolutely everything useful is done by machines, then every good or service will be so stupid cheap you won't need a job.
79.
▲
by
jdreaver
11y ago
This is common knowledge for a lot of people, but I have found the author's "What I Wish I Knew When Learning Haskell" article is awesome too: http://dev.stephendiehl.com/hask/
80.
▲
by
jdreaver
11y ago
(More info) We would like to hire someone full-time, but if you are unsure about committing to the company, we would be fine starting off with a short contract period of a few months. Work Environment We highly value self-directed individua
81.
▲
by
jdreaver
11y ago
FrackOptima | Riverside, CA | Remote OK My email: john.reaver@frackoptima.com About Us FrackOptima is a startup in the petroleum industry that aims to make hydraulic fracturing safer and more efficient through industry-leading simulation so
82.
▲
by
jdreaver
11y ago
This is the naive comment. It takes a lot of effort to start a company and make money off of something, even if you didn't make the original version. If people are willing to pay millions of dollars for software, and someone comes al
83.
▲
by
jdreaver
11y ago
I just started using hledger ( http://hledger.org/ ) for personal double-entry bookkeeping. So far it is pretty awesome. Some of the things I like over, say, Mint: * I can keep arbitrary asset, liability, and expense categori
84.
▲
by
jdreaver
11y ago
Both of your sources agree with my statement. I don't get your point.
85.
▲
by
jdreaver
11y ago
> abolishing all punishment I didn't say that. Killing someone is irreversible, so the error rate better be extremely low, or you just shouldn't do it. I understand that justice can't be perfect.
86.
▲
by
jdreaver
11y ago
Good on them. I've seen way too many instances of people on death row that are eventually proved to be innocent. I think that even if the accuracy of death sentences was 99% (for every 99 criminals that truly did the crime, there is 1
87.
▲
by
jdreaver
11y ago
Qt has been indispensable to my daily work. When I first started my current job, I had to convince my boss that we should transition from C# to PyQt (and also the rest of the Python ecosystem, which is awesome because we do commercial scien
88.
▲
by
jdreaver
11y ago
Dr Oye wants us to seriously entertain the idea that if we simply regulate drug production then we would be safe from drug cartels? Regulation is not a magic cure for basic human behavior. If people want drugs, they will get them, and there
89.
▲
by
jdreaver
11y ago
Great point. I think they are trying to eventually become independent. I think of this as a kind of bootstrapping procedure, where they start off inside the waters of a nation, and eventually move into international waters once they are est
90.
▲
by
jdreaver
11y ago
How is this ironic? They are piggybacking on the already-established international legal framework. It is indeed possible to criticize the welfare state, defense spending, and corrupt government while still using the legal system. It is a p
More ›