HNHacker News
TopNewBestAskShowJobs

PieSquared

2,468 karma · joined March 2, 2008

My blog and website is at www.gibiansky.com. You can contact me via andrew dot gibiansky at Gmail.
submissionscomments
PieSquared··on The Angry Drunk: Why I would never buy a Google-made phone
I'm sorry, but I have to say that article made little sense to me.

First of all, was writing in that arrogant, insulting tone really necessary? Please. There's no need to insult your readers.

And also: "Unlike my friends at the Free Software Foundation, I believe in choice. At the end of the day though, I’ll keep my iPhone." Is that sarcasm? I found it hard to tell, but I hope it is. Because if anything, 'choice' doesn't come into play anywhere in the iPhone... And his mistrust of Google is completely irrational (well, given his trust of Apple or whatever other smartphone company; personally, I think I would avoid putting all my assets into one company anyway.)

So yeah. Either I failed to understand this article and it was supposed to be funny or a parody, or this is just slightly pointless and aggresive... (Although upon further investigation, if this is by you, unalone, I suppose that's just your writing style, given your profile.)

PieSquared··on Hidden Features of JavaScript
Oh whoa! I never realized I could just type "javascript:..." into the status bar in Firefox and have it run it. That's awesome. (In retrospect, I realize I should've realized it, because I've always known that the javascript links are "javascript:functionCall()" or some such.)
PieSquared··on Hidden Features of JavaScript
I think that you might be confusing the attitude with the usual crowd. I personally apply the "guesswork" attitude whenever learning anything programming related - snipe a few packages which look right from the Ubuntu repositories, play around in the REPL, write a few toy programs. Then maybe after a few days, go read a few tutorials online and sometime later browse through the manual, but that is only later, after the initial 'guesswork'.

Either you're talking about something different, or I don't understand what's wrong with such an approach... Although maybe 'experimental' is a better title?

...correction: On rereading your post a few more times, I realize it's just a misconception of terminology.

PieSquared··on What can OCaml do that you can't do in other programming languages?
You're right of course. I was also considering showing off the loop macro. That one actually wouldn't have been cheating, since it shows off macros (A pretty nifty and central feature of Lisp)

  (loop for x from 1 to 10
        as x-sqr = (* x x)
        collect x-sqr)
Or something like that.
PieSquared··on What can OCaml do that you can't do in other programming languages?
(format nil "I have~{ ~(~A~)~#[~;, and~:;,~]~}." '(red green blue black white yellow))
PieSquared··on [dead]
You mean, "Why in the world did this get even one upvote?"?
PieSquared··on 12-Year-Old May Hold Key to Solar Energy
Huh. In that case, there's no way that '500 times' can have any bearing towards reality whatsoever. :)
PieSquared··on 12-Year-Old May Hold Key to Solar Energy
Maybe the efficiency only counts the visible radiation? So that the fact that it uses ultraviolent screws up the 7-15% (that is, if you include UV light, its much lower?) That'd be my guess...

Although it is rather low on facts and high on hype.

PieSquared··on Google Chrome Uses the Scrollbar to Display Search Results
Wait... If a user doesn't notice a feature (when it's clearly supposed to be noticed), doesn't that mean it's placement is slightly sub-optimal?

(Although I personally do like the placement, and the author clearly does too; just from Google's perspective, isn't it bad that the user doesn't immediately notice it?)

PieSquared··on Freakishly close
You can use continued fractions to get as close as you want to pi with a fraction (and it gets closer much faster than the decimal approximation, too!) Continued fractions are worth taking a look at if you've never seen them, they're pretty cool.

http://en.wikipedia.org/wiki/Continued_fractions

PieSquared··on The Failure of Lisp? A Reply To Brandon Werner
The lisp macro system can more or less be done at compile time, yes, but that's not the problem with other languages. The format of lisp makes it especially easy to do macros - code is data!

Here's an example. Take, for example, this class declaration:

  (defclass dog (animal)
    ((size :accessor dog-size)
     (name :accessor dog-name :init-form "Fido")))
How do you make that into data? Easy. Just quote it:

  '(defclass dog (animal) ...)
Now take the equivalent in Java:

  public class Dog {
    int size;
    String name = "Fido";
  }
How do you get that into data? Well, I suppose the best you could do without modifications to the core language is just put it in a string. But then to do something useful you'd have to do so much tedious string parsing it wouldn't be worth it. I suppose you could invent a special ParseTree class or something, and a quote operator, and etc etc, but that wouldn't be nearly as easy as Lisp makes it.

What the previous poster was saying is that once other languages have a code representation that is easy to work with as data, and can manipulate that code as data at compile-time to produce complex macros, then Lisp might fade. (At least that's how I understood it, correct me if I'm wrong.)

PieSquared··on The Lisp Machine: Noble Experiment Or Fabulous Failure?
Has anyone benchmarked Lisp (Common Lisp) over Java in long-running programs? So that the JVM has time to, you know, JIT stuff up?

(Completely serious question, btw, not snarky remark.)

PieSquared··on Stop Teaching Handwriting
Nobody under the age of 25 has any trouble learning how to type.

Hmm, I don't know about you, but about 4-5 years ago when I learned to type it was pretty difficult. It took me a year school classes to get up to 40 wpm.

And recently I started re-learning how to type - using Colemak. But it's significantly easier, since I already have the finger dexterity. Either way, I think that your exaggeration is slightly too much. For younger kids, learning to type isn't as easy as you seem to think it is. (And most of the people I know now only type at 50, maybe 60 wpm - had they been taught earlier and with more emphasis, they might be typing at 100 or 120.)

PieSquared··on Free Ti-89 Titanium Calculator to a good home
Aww, come on, what was the point of that? ;)
PieSquared··on Free Ti-89 Titanium Calculator to a good home
Seeing this type of thread here warms my heart. It's really great to see this type of stuff.
PieSquared··on Why do you have to click Start to shut down?
It ain't the future yet. (Well, for most people anyway; I don't think I've restarted my computer in weeks).
PieSquared··on "Good ideas have lonely childhoods"
Though not many lonely people have good childhoods.
PieSquared··on Is JavaScript becoming a Ruby killer?
Javascript is a nice language, but that won't decide much. I mean, look at Lisp.

(Speaking of Lisp, I recently discovered reader macros. I mean, damn, but they're awesome.)

PieSquared··on [dead]
But it'll run fast as lightning on Chrome!
PieSquared··on Obama is RESTful
It's not OCD, it's CDO. And the letters are in proper alphabetical order, just like they should be.
PieSquared··on The Secret to Raising Smart Kids
I don't tend to Google for articles and sites I don't know exist.
PieSquared··on Is Hell Exothermic or Endothermic?
REREAD: Something everyone has seen before and provides nothing new, but is still pleasant to reread.

Please, paraphrase people correctly :P

PieSquared··on Is Hell Exothermic or Endothermic?
"On-Topic: Anything that good hackers would find interesting. That includes more than hacking and startups. If you had to reduce it to a sentence, the answer might be: anything that gratifies one's intellectual curiosity. "

~Hacker News Guidelines.

Seriously, calm down. It might be old, but I still found it interesting to reread. Don't like it, don't read it.

PieSquared··on A Web OS? Are You Dense?
You're right, Chrome won't do 3d. But that doesn't mean you can't look at 3d things through Chrome. Didn't we have the about:internets article just a few days ago?

Chrome isn't going to be an OS; but it might be a desktop environment. Which, to the casual user, is the same thing.

PieSquared··on The Problem with Python
It's well written and easy to understand, and I like the format of the code samples.

However, the topic bugs me slightly - "Why XXX is problematic" is a completely milked out topic, just like "Why XXX is better than YYY", "XXX is Awesome", etc. Although your writing isn't bad, I prefer to read about new ideas, not criticisms of already-existing products (although criticisms well deserved in some cases).

Don't take this too personally, of course - writing about new things is much harder, and even writing about things which may have not been summarized as concisely or not been put in your words is good practice.

PieSquared··on Google may face antitrust challenge on Chrome
Google wouldn't make a Chrome-only feature, simply because then it wouldn't be available to the massive user base which doesn't use Chrome. Which is most people right now, and will probably continue to be most people.
PieSquared··on A Peek inside Facebook
Perhaps this isn't as interesting as it seems to me, but I thought that this was cool: (about Facebook chat)

"We had the technology running for about a month [detecting who was online] before we had the user interface visible"

Rolling out a feature that gradually seems like a great method.

PieSquared··on A Ridiculously Advanced Proof of a Simple Theorem
Actually, I'm pretty sure that that proof doesn't use the Fundamental Theorem of Arithmetic. FTA states that every natural number has exactly one prime factorization, up to sign, and this proof doesn't use that.
PieSquared··on Ask HC: What do you think about Java being taught in high school?
Depends on what you're comparing with.

It's better than C++, it's worse than C. Better than Perl, maybe worse than Python. It's the perfect language for classes which don't actually teach you how to program, but instead just teach you how to be a code monkey.

As andreyf said, if you're serious, high school may not teach you much, or so says my own experience. I am only in tenth grade right now, but by my estimation I probably already know the whole CS curriculum at my school (although supposedly it is advanced). I suppose this is actually a very good thing, because I've learned how to learn on my own.

I'm sort of in the same boat as you. What I've noticed though, is that many (if not most) of the students don't really want to learn CS, they just want to take the course. Sad but true.

PieSquared··on Ask HN: Seeking a personal spam filter (an actual person)
How about Gmail? I haven't had a single problem with gmail spam filters, which used to surprise me.
← PreviousPage 13 of 19Next →