Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
crux_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
181.
▲
by
crux_
16y ago
Indeed! You can work around it with a trampoline ( http://en.wikipedia.org/wiki/Tail_call#Through_trampolining ), which is what I did with cfa-js. ( http://dl.dropbox.com/u/6600185/cfa/cfademo.html )
182.
▲
by
crux_
16y ago
I'm sure it's possible; lisp is very flexible. But would your example code still be considered lisp?
183.
▲
by
crux_
16y ago
Money quote for the non-lisper: > For simplicity, let’s use the notation Yes, let's! Except in lisp, you can't. ;) (Yes, feeling snarky.)
184.
▲
by
crux_
16y ago
Nit time! In html5 ≠ exclusively in html5. As a full match database may well weigh in at a few hundred megabytes (pure speculation here), schlepping it over to the client would make for a must less impressive showing and a higher hosting
185.
▲
by
crux_
16y ago
As I enjoy the benefits of immutable data structures and read-only interfaces, it is absolutely not an unmitigated good. Replace "Collection" with "Iterator" above, and the borking you mention is impossible ...
186.
▲
by
crux_
16y ago
I suppose you had no problem with the poisoning of alcohol supplies during prohibition then? (Reference: http://www.slate.com/id/2245188/ )
187.
▲
by
crux_
16y ago
I suppose so; but not in the sense I was thinking of: a Collection<Firetruck> is not a subclass of Collection<IVehicle> (and it is impossible for you to create your own generic class where this type of relationship would be
188.
▲
by
crux_
16y ago
Yes, tail call optimizations include mutually recursive functions. Note that your example was not of tail calls, however. (Tail call would be: return A(...); that is, a tail call is one whose result is immediately returned.)
189.
▲
by
crux_
16y ago
True, although you have to be careful about "incorrect": the code will still compile (unless there's some corner case I'm missing?), so for that particular definition of correctness it is just fine without TCO. It just won't run (for very l
190.
▲
by
crux_
16y ago
What's wrong with java generics: erasure. "Cast everywhere" is still happening. And useful info is hidden: eg there is no access to generic type info via reflection. Another wrong thing: generics are incompatible with subtyping. (No co/cont
191.
▲
by
crux_
16y ago
I don't like the term either. Reputation is a nice substitute, although it lacks the connotations of treating a person as though they were a corporation-style entity with a marketing department. ... which, come to think of it, is one of the
192.
▲
by
crux_
16y ago
Mind if I ask which channel? I suspect my code deserves "brutal", at least on round one :)
193.
▲
by
crux_
16y ago
Unfortunately I think you mean "rough" as in non-responsive... not as in pitiless -- which, assuming a suitable level of expertise, would be great for me.
194.
▲
by
crux_
16y ago
I'm not sure it makes sense any more to teach C to beginners -- by the time someone has a need to write C code, they really ought to have mastered programming in another language or three, first. Personally, I think a teaching/review ladder
195.
▲
by
crux_
16y ago
Utility for camping: I know I would never use it. Utility for home use in low/zero-infrastructure countries, refugee camps, etc: Humongous. Wood gasification is very, very efficient and low-emissions compared to an open fire (which is still
196.
▲
by
crux_
16y ago
Side comment/rant: I think amateurish is something that is valued highly in at least some subset of the startup community. It's a rebellious rejection of the blanket conformist expectations of "professionalism" -- a way of signalling that y
197.
▲
by
crux_
16y ago
Okay, sure. :) A new protip for the paranoid: the author could phish the snot out of you with an overlay that made it look like Facebook needed a re-login, too!
198.
▲
by
crux_
16y ago
> Could, but doesn't Could, but doesn't yet . If you're not locally rehosting the 'known-good' version that you just audited, you're not being paranoid enough.
199.
▲
by
crux_
16y ago
Protip for the paranoid: the author could nab your session cookie at the same time, too! :)
200.
▲
by
crux_
16y ago
I'll just link you to _delirium's response here: http://news.ycombinator.com/item?id=1736325
201.
▲
by
crux_
16y ago
Startups: Not For Women.™
202.
▲
by
crux_
16y ago
EDIT: The parent deleted their reply; since I took the time to get all teacher-mode here I figured I'd include it, cut and pasted, but without their username. > If you know the URL of the form, isn't it as simple as using Javascrip
203.
▲
by
crux_
16y ago
> scrape the token from a legit form Assuming the tokens are strongly tied to a user ID, how do you propose getting yourself a readable copy of this form? (There are a lot of ways of tying the token to a user ID... associations in a bac
204.
▲
by
crux_
16y ago
> The read(2)/write(2) solution from userspace would involve no copying as well, assuming a competent kernel implementation. Even though you've got many others chiming in as to why this might not be so, I'll add my own: A userspace prog
205.
▲
by
crux_
16y ago
I was just doing research on using sendfile's modern zero-copy replacement(s), splice & tee: http://kerneltrap.org/node/6505 They were linked elsewhere here, but worth repeating in a top-level comment. :) Possibly a handy tool for the
206.
▲
by
crux_
16y ago
Of note: Notch seems to be a regular in the LD48 ( http://www.ludumdare.com/compo/ ) competitions. ( http://www.ludumdare.com/compo/author/notch/ ) I'm, um, an irregular. (Entered twice, finished once.) Here's his screen-capture timelapse f
207.
▲
by
crux_
16y ago
I can't wait until I have enough money to have a style!
208.
▲
by
crux_
16y ago
> Flash Cookies Firefox has the BetterPrivacy extension. https://addons.mozilla.org/en-US/firefox/addon/6623/
209.
▲
by
crux_
16y ago
If C++ and Java are your chosen models of "strongly statically typed" languages, it would only be fair to use PHP or Visual Basic as the contrasting language, in particular if a big chunk of your essay will discard the actual issues at hand
210.
▲
by
crux_
16y ago
By the original metric of "number of people's time wasted," no reply at all wins. (Side note: I'm quite certain the rude reply has wasted a decent amount of some poor Apple PR folks' time as well, if only in weekend monitoring of the 'story
More ›