Better HN
topnewbestaskshowjobs
Log inSign up

Scriptor

1,852 karma · joined Nov 10, 2008 (18y ago) · 533 submissions

Github: http://github.com/Scriptor
Submissions

comment 16y ago · link · parent

Not just a bad/poor comment/article. You can have a horrifically written article on Erlang and it would still be on Hacker News, therefore not deserving of flagging. What's supposed to happen is that nobody upvotes it and it stays in obscurity. On the other hand, even a brilliant article on upcoming political elections should be flagged because it's off-topic.

comment 16y ago · link · parent

Completely agree. The author mentions that he tried to learn Erlang and Haskell (we don't know how much he tried), uses the technical specs of Haskell and O'Caml, and then makes a side swat at Scala.

It looks like at the beginning of this year he had decided to learn Haskell as a way to explore functional programming: http://www.benrady.com/2010/01/language-of-the-year-2010.htm....

I simply don't think being unable to learn a language qualifies you to bash it. It'd be more fitting for him to post about the first point in whatever Haskell resource he is using where he became confused.

comment 16y ago · link · parent

There're several twists.

While the syntax and theory has been around for a long time, a language still needs its own libraries, build/package management software, editor integration, etc.

But Clojure already came with a lot of functionality because it could interface with Java, and therefore its vast collection of code.

But, Clojure and Java styles are very different from each other, so using Java libraries can be noticeably different from using Clojure libraries.

comment 16y ago · link · parent

Are you using it with T-Mobile? If so, how is their service?

comment 16y ago · link · parent

I only said he didn't know "some of the basics". Also, this is neither a personal attack on irrelevant facets of him, nor is it just about TCO.

Python has done very well in its history and I personally like it. However, Guido made his final decision literally days after learning the distinction. This means before that any decisions he made in this area were based on shaky information. Furthermore, he was initially informed by comments on his blog, not his own research. I'm worried what this means for future decisions in Python if Guido doesn't research something on his own before making decisions on it. I understand that he's busy, but working of Python is part of that and surely research should be included :).

comment 16y ago · link · parent

The "Benevolent Dictator" of a major language is still learning some basics of language design 18 years into starting that language. I'd more more okay with it if Guido didn't have such a strong grasp on the language's future.

comment 16y ago · link · parent

It'd be a good idea to decide on what features you want most and whether the disadvantages of a VM offset its advantages. Although Clojure lacks TCO, it's already gotten very popular very quickly, maybe more than other lisps. Hard data for the JVM's role in this is the poll posted not long ago that showed many Clojure programmers were former Java programmers.

I'm also working on a cross-language compiler and have a question about TCO, specifically tail recursion. Currently my language compiles a tail-recursed function's body into a while loop. Don't Scala and Clojure do the same, except using the actual bytecode?

comment 16y ago · link · parent

I'd really like one, but I only have a Github account.

Github: http://github.com/scriptor/ historium at gmail

comment 16y ago · link · parent

A good trick with lyah is to try to write the code for a function before you see the actual example code. It'll get you in the functional mindset much faster.

comment 16y ago · link · parent

The brain is able to make itself think that external tools are mere extensions of the body, so it's no surprise that the mouse has been successful. I wonder if the lack of any tactile response in these interfaces hinders them somewhat or if it's all the same for the brain.

comment 16y ago · link · parent

Command-line interfaces seem to involve two main parts. The commands themselves (ls, mv, rm, and so on) and the arbitrary parameters supplied to them (all files with the .txt extension or compiler flags). For the former hand gestures would work well since there is a limited and well-defined set of commands, the latter would be better served with a regular text input. Even here the distinction gets blurred by commands created by applications you install yourself.

A combination of the two with instant switching between the two modes would be nice. But that still seems like an uncreative solution.

comment 16y ago · link · parent

A very general rule I learned is that png's are best for images with large areas of the same color (screenshots, logos, text) while jpegs are best for images with lots of color variation (real-life pictures, for example).

comment 16y ago · link · parent

They're not really equivalent. MRSA evolved in hospitals from whatever strains were resistant to drugs. Otherwise it's been in the environment for a while and there's not really an ecological risk. On the other hand, we have no idea how a completely synthetic life-form will end up in the environment. They could be just like other organisms, or we might unwittingly give them a huge advantage in some way that causes them to outcompete others.

comment 16y ago · link · parent

The problem is that those organisms will grow very quickly and are prone to mutations. You'd end up with a huge population of rapidly evolving critters, something you can never predict.

comment 16y ago · link · parent

What prevents them from just using the parts of the GPL they want?

comment 16y ago · link · parent

Listing any relevant names for the position is a huge plus. I'm tired of first cycling through all the matches for "NYC", then everything for "New York City".

Another thing I'd like to see is differentiating full-time and part-time/internship positions. Maybe a "type" field could be useful as well?

comment 16y ago · link · parent

Eating late at night can be okay, as long as you don't eat within 3 hours of going to sleep. Maybe take a late-night walk as well to help the food digest?

comment 16y ago · link · parent

Do you know if they are also willing to hire interns for the summer for dev positions?

comment 16y ago · link · parent

> Just a few days ago everyone was highly sympathetic towards Apple

And just a few days before that everyone was angry about 3.3.1. :)

This video still seemed pretty benign. However, I wonder if this is that start of shift in how people view Apple. They've had other criticisms, for sure, but this is one of the first times they're publicly called out as being oppressive.

comment 16y ago · link · parent

What should students choose? Less than 50k or should there be a new option?

comment 16y ago · link · parent

There are some good points in there, but if Zed really wanted to change people's minds or the book itself, he wouldn't have insulted the author and thrown profanity around where it suited him. Rants don't convince anyone, and only serves to make you and those who would already support you feel good.

I really don't understand why he has to call Mark Pilgrim names. Because he's a ranter too? Because he jokingly cast off Zed's suggestion to rewrite large parts of the book?

comment 16y ago · link · parent

He wrote earlier that he's basically doing both, with http://oppugn.us/ for rants, which can be contributed by other people as well, and http://sheddingbikes.com/ for more thoughtful and calmer essays.

323.

Ask HN: Who has summer internships?

15 points · by Scriptor · 16y ago · 3 comments

comment 16y ago · link · parent

Basically, use maps to represent data structures where you'd use several different classes in an OO language, since in principle you're still basing the same data structure from function to function.

comment 16y ago · link · parent

If anyone doesn't recognize the name of the poster (like me), this is what ended up happening:

http://amazon.com/

comment 16y ago · link · parent

>If even running a "hello" app is too slow, then the whole framework becomes useless

Except Yii claims to be fast because it lazily loads extra functionality, such as DB classes and sessions, commonly needed features in most apps. Assuming they use autoload, it would actually suffer a performance hit since autoload is notoriously slow and the other frameworks already have loaded the needed classes.

comment 16y ago · link · parent

I'm still not convinced by the use of nothing but 'Hello, world' for the performance comparisons. Sure there may be some cases where you only need similar functionality, but since Yii's advantage comes from lazy loading features like DB libraries, what happens when those libraries are actually used? In real-world scenarios, those performance improvements may be nullified.

Also, a reason given for the lack of database handling comparisons is that different frameworks may deal with databases in different ways (some might be really good at creating queries, some might be good at caching, etc). Ok, so turn caching off and most remaining differences should show differences between the frameworks, which is what you want. I could make my own framework and avoid doing a benchmark like Yii's because "some frameworks provide lazy loading, some don't".

comment 16y ago · link · parent

Would you be willing to hire students part-time this summer? I'd like to work in web development since that is where most of my experience is.

comment 16y ago · link · parent

The whole situation seems similar to physical books in stores. Anyone can walk in, pick one up, read, and never pay a cent. But publishers don't complain about that.

Because most people won't try to read whole books this way. It's inconvenient by being time-consuming. Google Books is also inconveinient (for different reasons). There are exceptions, but they exist for both cases. The fact that GB limits how much content they show also pushes readers to buy the books.

comment 16y ago · link · parent

It's not strictly necessary, tail recursion is enabled in Pharen (http://github.com/scriptor/pharen) by compiling it into a while loop.

By the way, the docs on that page are way out of date so if anyone is interested feel free to contact me.

EDIT: I'm an idiot, for tail calls of course it's a bit more complicated than just using a loop.

1
101112
18