Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kmill
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
68 ms
·
601.
▲
by
kmill
11y ago
The four facets described in the article are qualities that can be practiced, especially mindfulness and perspective taking. So long as the practice is done deliberately and evaluated honestly, I think a quiet ego is an unavoidable result.
602.
▲
by
kmill
11y ago
I was trying to figure out how this works algebraically, and I think I understand for polynomials (or power series) at least. Basically, for a really small number a, ai has the property that (ai)^2 is effectively zero, so one can think of
603.
▲
by
kmill
11y ago
The algorithm is computing an alternating series, with the largest n being 5x10^7. The error in an alternating series (when the sequence is strictly decreasing in absolute value) is the absolute value of the next term. This is 4/(2*(
604.
▲
by
kmill
11y ago
Generally, it's useful to distinguish offset from name sometimes. For instance, gravitational potential energy has numbers associated with different amounts, but once you choose an origin you can compute energy differences. Another ex
605.
▲
by
kmill
11y ago
Some people overestimate the simplicity of common concepts...
606.
▲
by
kmill
11y ago
Recently I attended a gathering where about ten people tossed out ideas for an interactive fiction game as it was being live-coded in Inform 7. It was surprisingly fun (and if we had a better grasp of the language it would have been even m
607.
▲
by
kmill
11y ago
It seems to have been chosen so there is some parallelism between sizeof and elemsof.
608.
▲
by
kmill
11y ago
Is it surprising that someone might not be able to communicate exactly how they want a calculator to look? It's perfectly believable to me that a person could have their "ideal calculator" in mind, but, having had few opport
609.
▲
by
kmill
11y ago
When you say that 1/3 of them have a certain property, how are you counting that? Are you enumerating all chords with and without the property, then dividing? :-) This is exactly the issue: when dealing with infinities and probabiliti
610.
▲
by
kmill
11y ago
Implementation: https://gist.github.com/kmill/f4f47913d036fce687bc Though it counts reflections as distinct.
611.
▲
by
kmill
11y ago
The question you should have asked is "how is it that [idiomatic] python is less amenable to functional programming?", which you basically answer yourself. Otherwise, I can't see how amatsukawa implied Python itself was less
612.
▲
by
kmill
11y ago
As another commenter mentions, MIT used MIT/GNU Scheme [1] for the introduction to CS class 6.001, so if you're following SICP, this is probably the least-friction distribution of Scheme to be using (hints: use rlwrap, or use sche
613.
▲
by
kmill
11y ago
There are (at least) two ways of reading this. The first is probably how you are reading it: the assumption caused an error. In this case, it is probably not a "probably," since an error did indeed occur. A second way to read i
614.
▲
by
kmill
11y ago
That's funny, I added the include for stdlib so couldn't find the issue with the malloc one.
615.
▲
by
kmill
11y ago
You made me realize that we use 0-indexing because we confused the torsor[1] for the group. What I mean is that we may take differences between labels (numbers on the posts) to see how many posts to the left or the right a post is relative
616.
▲
by
kmill
11y ago
One definition not often used is "experience." Or there is "a course of action tentatively adopted without being sure of the eventual outcome."
617.
▲
by
kmill
11y ago
A while back I made a rule-based text adventure game engine in Python, inspired by Nelson's Inform 7 and also this presentation. My rule system didn't solve for specificity; it simply took the first rule which applied, so hopeful
618.
▲
by
kmill
11y ago
I was wondering that too. Could it be that they meant the core material is transparent to the high energies of the photons there?
619.
▲
by
kmill
11y ago
When you say that someone's been confusing syntax and internal representation, are you speaking of yourself? You don't parse XML as JSON, though you might parse XML and serialize the resulting internal representation as JSON. Al
620.
▲
by
kmill
11y ago
Erik clearly states that he thinks the attribute/element distinction is "_incredibly_ stupid," and while he does give an example of an expression which combined the two, he does not neglect to call it "pathological."
621.
▲
by
kmill
11y ago
I've been trying to understand what you were talking about, and I didn't realize there was another hackathon with the same name in NYC. This one was in SF, and the organizers even had this on the submission page for signing up to