Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shiro
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
211.
▲
by
shiro
18y ago
Interesting blog article. I can't wait to see the next post. The concept of Tetris is pretty simple; many of guys here might have written some variation of it (I myself wrote one in Z80 assembler back in college to show my crude hand-made
212.
▲
by
shiro
18y ago
Privacy breach could harm a company a lot. Japan Network Security Association reported that, in 2007, total of 30 million personal information records are breached and estimated 22 billion dollars for damage/compensation in Japan. Most of
213.
▲
by
shiro
18y ago
Unicode specifies a "character", which is somewhat an abstract entity and is different from "glyph", which is a visual representation of the character. One character can be mapped to different glyphs. Usually glyphs are determined by font
214.
▲
by
shiro
18y ago
Agreed. Emacs is intuitive in a different way than those flashy GUI apps. One thing I really love in Emacs is that every text is basically displayed in a buffer, regardless of it being editing text, external program output, file listing, m
215.
▲
by
shiro
18y ago
It may depend on your style. I know some programmers who can just construct a complete function in their head during thinking. For them, typing is just a mechanical step to dump the code into a computer. You know, those who claim they c
216.
▲
by
shiro
18y ago
Some graphics applications (like 3D modeling package) have pie-chart like menu system; for example, if you type SPACE, an overlayed menu appears around the mouse cursor and just moving a mouse a bit to that direction and release SPACE trigg
217.
▲
by
shiro
18y ago
Interesting. They say non-hackers can't tell whether a programmer is a great hacker or not. Is there a symmetry? Can great salesman tell who's great and who's not?
218.
▲
by
shiro
18y ago
It's a great read, though I'm not sure how to take his words in the engineering domain (e.g. what does "3/4 complete" exactly mean?). I don't doubt he is a vary smart guy and also had amazing people; but many years of software engineering
219.
▲
by
shiro
18y ago
I think this is the case that the choice of the syntax (and a bit of semantics) did affect the choice of API. I'm not a Python programmer, but I can see in your second example that they would prefer comprehensions to filter. If there were
220.
▲
by
shiro
18y ago
In general, if I need to maintain someone else's code, what I see the most important is that the author's intent is expressed clearly. Whether it is clever-and-compressed code or simple-and-verbose code seems a secondary issue. Longer c
221.
▲
by
shiro
18y ago
Nah, the article (and the claim of the inventors) were very misleading. Soon after this publication, more detailed interview to the inventors were reported, and the inventors admitted that they use metal oxidation process to produce H2 fr
222.
▲
by
shiro
18y ago
Yes, with nicer closure syntax and/or lazy evaluation, lots of macro use cases can be eliminated. However, making single definition work as multiple definitions is a pattern that I haven't find ways other than macros. For example, think of
223.
▲
by
shiro
18y ago
Good for you two, Paul and Jessica. Congratulations. Expecting a new essay on how this event change your life :)
224.
▲
by
shiro
18y ago
My reaction was similar. Later I found they were useful as a communication medium when you worked in a team that were doomed to use Java or C++; walking may be a natural thing for you that wouldn't need an explanation, but knowing that act
225.
▲
by
shiro
18y ago
Tokyo, Japan: Doing nothing, even for a minute, is a sin.
226.
▲
by
shiro
19y ago
Technically possible. There are a few Scheme implementations that have persistent continuation (all I know is JVM based ones). Also this page contains a link to the slides that talks about persistent delimited continuation in OCaml: htt
227.
▲
by
shiro
19y ago
I think there's very interesting thing happening around Arc. It appears that people there are less afraid of making mistakes or repeating past attempts. Maybe because pg broke some Lisp traditions so that others feel more free to step out
228.
▲
by
shiro
19y ago
What CAPTCHA emphasizes is that it is automated . Not only the verification process, but also the process of generating problems. If the problem space is fixed, eventually the list of answers is formulated if it is worth. In practice if
229.
▲
by
shiro
19y ago
testing some pitfalls... U+005c \ U+FF3C \ U+FFE5 ¥ U+007E ~ U+301C 〜 U+FF5E ~
230.
▲
by
shiro
19y ago
Your point taken. If you feel to taste Scheme again, check out mine http://practical-scheme.net/gauche/ . It has string-split :) Seriously, it aims at being a handy tool for day-to-day scripting.
231.
▲
by
shiro
19y ago
As a programmer who've used Lisp and Scheme for commercial projects, I object to that, although I admit there's a tendency in the circles of these languages that pursue ideals obsessibly. However, "turtles all the way down" has also very pr
232.
▲
by
shiro
19y ago
call/cc wasn't in the Scheme standard formally until R6RS.
233.
▲
by
shiro
19y ago
The name "call-with-current-continuation"? (well, actually it didn't appear until RRRS ...)
234.
▲
by
shiro
19y ago
And now problem solved. Thank you, Paul.
235.
▲
by
shiro
19y ago
I did. Twice.
236.
▲
by
shiro
19y ago
Here's a Scheme version. (Gauche, with a web framework Kahua): (define-entry (said) (define (page . s) `((html (body ,@s)))) (page (form/cont: (@@: (cont (entry-lambda (:keyword foo) (p
237.
▲
by
shiro
19y ago
> call-it: What's the problem with not knowing (+ 1 2) until run-time? Not only efficiency. You don't even know if (+ 1 2) means "1 plus 2" or "choose 1 or 2 randomly" or "generate a sequence of numbers between 1 and 2" until you kno
238.
▲
by
shiro
19y ago
I agree. I was alarmed, too, by non-hygienic macros combined to the terse names of standard functions. It seems too easy to shadow them (I have to change my custom to name the argument 'obj'). About generics, I expected that the type anno
239.
▲
by
shiro
19y ago
I think they've been done and abandoned. You might want to dig some history to see why (I don't have references handy. Maybe asking comp.lang.lisp would help). (1) Let's separate implementation and semantics issues. In semantics level, l
240.
▲
by
shiro
19y ago
I know. The problem is that I forgot news.yc pass. (I can still post because of cookie) Asking pg to reset the pass of both.
More ›