Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kmill
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
54 ms
·
481.
▲
by
kmill
9y ago
If it's a list (and not a generator like `range`), then `l[1:-1]` will do.
482.
▲
by
kmill
9y ago
That image was removed from Wikipedia due to copyright violations, but the "How to knoll" bullets are the first image in https://www.curbed.com/2016/7/18/12215158/always-be-knolling...
483.
▲
by
kmill
9y ago
Yes, thanks for clarifying what I said into what I meant. If this essay was really such a problem, it is rather suspicious that it suddenly appeared as the basis for both of their respective works. "I'd never heard of it" c
484.
▲
by
kmill
9y ago
> kept almost deliberately vague I think it's a mix of lawyer advice and a disavowal of Dr. Mao as her advisor -- a way to maintain some dignity. The member of the dissertation committee who is most likely to be "impossible&qu
485.
▲
by
kmill
9y ago
Hey now, no need to resort to name calling ("dummy"). I think you are reading far to much in her statements about her worth as a researcher to be charitable. "Petty" is easily read as being attached to "accusation
486.
▲
by
kmill
9y ago
The relationship is unclear, but I think "Dr. Mao" is the advisor/committee chair.
487.
▲
by
kmill
9y ago
1. It's about abstracting what "classes" are, since the built-in "class" metaclass is trying to be one-size-fits-all. Yes, an interface is an abstract class, and if you could do things like make your own "inte
488.
▲
by
kmill
9y ago
I did go frame by frame myself earlier. The fact that it starts as a dark blob is pretty good evidence for it being a firefly, and I think I saw it earlier as part of the dramatic increase in diameter, but I can't see it that way righ
489.
▲
by
kmill
9y ago
1. How do you know it's a firefly? It's just a bright spot. 2. The diameter of the ball increases dramatically, as if it originates from the clouds. 3. It seems to disappear behind the trees, suggesting it is far away. This isn&#x
490.
▲
by
kmill
9y ago
To temper your point just a bit, even though yellow light and red+green light look the same when viewed directly, you can still tell the difference. For instance, in the way the light reflects off different materials, or by chromatic aberr
491.
▲
by
kmill
9y ago
But the thing which constructs the proof might be what we will consider to be an "elegant proof." It might be more unsatisfying not being able to understand exactly why something is true, but computers can greatly expand the reac
492.
▲
by
kmill
9y ago
There is a step in the proof which is brute force. The proof is sort of giving a recursive algorithm for 4-coloring: for certain subgraphs, you simplify it, color the result, and use the coloring to color the original graph. There are 633
493.
▲
by
kmill
9y ago
Next you're going to say "natural," "functor," and "category" come from category theory, too! :-)
494.
▲
by
kmill
9y ago
Didn't you know that "Legos" is a portmanteau of Lego and bricks? :-)
495.
▲
by
kmill
9y ago
> > program3 fails because runFunction can only run first-order functions and runFunction is a second-order function – a function that takes a first-order function as a parameter. > Here I had no idea that JavaScript implicitly typ
496.
▲
by
kmill
9y ago
I think the point is that most commute+cubicle work isn't usually work which is essential to survival. The call to be a little less cheerful is a call for everyone to see through the illusion that commute+cubicle is meaningful, essent
497.
▲
by
kmill
9y ago
I was looking through the source and learned that Python's modulo operator is based on floor-division (rather than round-toward-0 division like in C). In case anyone cares how Python actually does in in C, for small ints its defined a
498.
▲
by
kmill
9y ago
I noticed in the buffer example's image the text ...et '*weapons-pistol-upgrade-only*] That looks Lisp-inspired to me. Does anyone know if Naughty Dog still uses something Lispy to compile game data? (I'm not talkin
499.
▲
by
kmill
9y ago
> What does it mean to multiply two colors? I wouldn't say that in a material model you're actually multiplying colors together. It just happens that when you record the amount of reflected low-, medium-, and high-frequency
500.
▲
by
kmill
9y ago
Are you just talking about making parser generators for LL(k) grammars? It's fairly straightforward to make one. One exercise in Wirth's short book Compiler Construction is to make an LL(1) parser generator. You even make it che
501.
▲
by
kmill
9y ago
I'm surprised how often someone's told me something incomprehensible, but then years later I realize what they meant.
502.
▲
by
kmill
9y ago
I'm not exactly sure where the contra- and co- originally came from, but here's some cat-egory theory. Now suppose you have a special pipe that when you push a dog into it, a cat comes out on the other end. This is called a dog-t
503.
▲
by
kmill
9y ago
A confusing thing is that the program seems to be using the purescript-quantity library which uses the purescript-decimals library which is arbitrary precision numbers, if I followed the dependencies correctly. The readme also advertises it
504.
▲
by
kmill
9y ago
Yeah, I was wondering how they pulled a sphere off! (So I suspected it was just a flat torus instead -- for non-geometers, a flat torus is what the game Asteroids is played on. Unlike the usual embedding of a torus in 3D, the curvature of
505.
▲
by
kmill
9y ago
I think it's a little funnier than your tl;dr: in particular, a member of the math faculty, who has a sandwich named after him and who is friends with the owner, was a little bit too preoccupied with mathematics to fully engage with th
506.
▲
by
kmill
9y ago
No, they put a low-poly mesh into the algorithm (I presume so it'd be foldable in a reasonable amount of time). "Maybe links some of the triangles together" is the difficult part, especially since they guarantee the boundary
507.
▲
by
kmill
9y ago
Thanks for the sleuthing. I found them myself by searching for Cosmati mosaics, since Wikipedia mentions them in the article about the Sierpinski triangle. Captions for the two images: Francesco De Comité took this photograph in the Church
508.
▲
by
kmill
9y ago
That'd be a Sierpinski tetrahedron, but it's the same idea. I think it's pretty interesting that these were made about ten years before Sierpinski described the fractals, but then again the design appeared in mosaics from mu
509.
▲
by
kmill
9y ago
> Yes, that is exactly what I'm saying. Sorry to be a stickler for detail, but earlier you defined "faithful" to mean the future is a function of the present, and now you're saying that "the past and future are f
510.
▲
by
kmill
9y ago
The list seems to be about different ways a particular function could be called, rather than just the syntax of invocation. Imagine you are making a code analysis program and you want to find all the places console.log is called; I imagine
More ›