Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pozorvlak
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
pozorvlak
10y ago
> Patterns that get "encoded" into the language, or made trivial by abstraction features within the language, are idioms? Yeah, that sounds like a reasonable term to use. > The closest I've come, weirdly, was tutoring a
2.
▲
by
pozorvlak
10y ago
This is my understanding, yes - http://wiki.c2.com/?ImageBasedLanguage . Some Lisp systems and the Factor language also work like this (though Factor does a lot of work to ensure that the contents of your image matches the
3.
▲
by
pozorvlak
10y ago
> I see from your karma you're new here, welcome! You missed the "created: 3246 days ago" bit, then? :-) But you're right that I don't spend much time here - thanks for the welcome! > it's not clear what
4.
▲
by
pozorvlak
10y ago
Smalltalk has been very influential in other ways, especially on Ruby. But yes, it would be great if more languages borrowed the "small simple core" bit (possibly adding some syntactic sugar, like ML does). On the other hand, it
5.
▲
by
pozorvlak
10y ago
I'm afraid not, and Googling for quotes from the post only shows up Mark Dominus' post. Also, the Wayback Machine doesn't have a copy :-(
6.
▲
by
pozorvlak
10y ago
FWIW, this is also the standard way of implementing if/then in the lambda calculus: true = \x.\y.x false = \x.\y.y
7.
▲
by
pozorvlak
10y ago
Thanks! I've now updated the post to reflect some corrections here, and to point out the 404ing link.
8.
▲
by
pozorvlak
10y ago
Thanks - I've noted that in the post.
9.
▲
by
pozorvlak
10y ago
I was really trying to make a narrower point here - that there is a reasonable way to distinguish "part of the language" from "part of the (standard) library" - but I'll bite :-) attr_accessor, as it happens ( http:
10.
▲
by
pozorvlak
10y ago
That's really cool! I imagine that would allow you to do concolic testing easily? https://en.wikipedia.org/wiki/Concolic_testing
11.
▲
by
pozorvlak
10y ago
Thanks! I've now fixed this in the post.
12.
▲
by
pozorvlak
15y ago
We tried that - it was called Subversion. The industry's abandoning that way of doing things because the new way is simpler and better.
13.
▲
by
pozorvlak
15y ago
Anonymous branches are AFAICT the same thing as detached heads. They're discouraged in git, but they work fine.
14.
▲
by
pozorvlak
15y ago
> It filters really heavily against people who submit the same domain a large part of the time, and we (moderators) tend to stick to that as well. Is that done on a per-subreddit basis, or a whole-site basis? If I submit mostly my own c
15.
▲
by
pozorvlak
15y ago
puzzles Oh, right - you can vary the shape of the diagonal lines, provided each "arm" has rotational symmetry about its mid-point. OK, so we've got three infinite families and the trivial solution (only one piece - is that your sporadic s
16.
▲
by
pozorvlak
15y ago
Suppose the square can be dissected into n pieces. Then any symmetry of the square induces a permutation of those n pieces. Hence, the symmetry group of the square (D_8) must be embeddable as a subgroup of S_n. Hence there is no dissection
17.
▲
by
pozorvlak
15y ago
You can divide it into eight isoceles (pi/4, pi/2, pi/4) triangles, by quartering up/down and then quartering diagonally.
18.
▲
by
pozorvlak
16y ago
Duct tape, IIRC, was only invented in World War II, so no :-)
19.
▲
by
pozorvlak
18y ago
So, any plans to launch in the UK? I don't do much electronics stuff myself these days, but I know a few people who'd be interested. The site looks great.