HNHacker News
TopNewBestAskShowJobs

iman

266 karma · joined August 2, 2008

submissionscomments
iman··on (l)uriel has passed away
I didn't know Uriel or know anything about him, but I used wmii as my main window manager for quite a while around 7 years ago. It was my introduction to tiled window managers, and I haven't looked back since.

Thank you Uriel.

iman··on How to invite people to Google+
Ahoy, me Hearties!

Would also love to get an invite! gmail address is benukem

Yarr, mateys!

iman··on Show HN: Launching my Realtime Social Video Startup
In a perfect world, people will like the site, and return to it, and maybe spread the word to their friends :)

I also have some ideas for integrating game-like features which would introduce viral elements to the site.

I would love to hear more ideas for getting traffic!

iman··on Show HN: Launching my Realtime Social Video Startup
Thanks, these are great comments.

1) Yes, this is something I am thinking hard about.

2) Yes, points and gaming like features with player rankings are key here. I would be very happy to hear about more specific thoughts or suggestions.

3) I am not yet thinking too much about monetization, but there are definitely a lot of interesting opportunities. Your idea here is something I will keep in mind!

Thanks!

iman··on Show HN: Launching my Realtime Social Video Startup
jtv is similar but is for live video only. also, i plan on adding a lot more interactive features to the site.

Right now all of the users in the room are able to vote for the next video. I hope this clarifies things. Several people have suggested adding a way for the room to collectively decide to "skip video" which is a good idea that I am considering.

Your idea for clicking a bookmarklet and spinning up a video room is good, but it might detract from the main focus of the site now (and there are actually sites that exist that already do this).

Thanks!

iman··on Show HN: Launching my Realtime Social Video Startup
My thinking behind this was indeed to somehow bring a TV feel to the web.

But I am actually leaning towards adding even more interactive features to the site. We already have TV. And Youtube and other sites are already moving in the direction of what you describe(eg. Youtube "leanback").

I believe that this is the wrong approach. The web makes it possible for viewers to interact in new ways, and I think that there is a lot of potential here. I believe that the future of TV-like entertainment will be something that is very interactive/social and game-like. People have already suggested that I add to this site points and game like features, which I plan on doing, among many other interative features.

Also, I have even more long-term plans for expanding beyond video, but that is for another comment :)

Thanks for the input!

iman··on Show HN: Launching my Realtime Social Video Startup
1,2,3) You are right that the front page does not explain any of this. My thoughts right now are to hope that people click through into a video, and then from there that things are hopefully self-explanatory.

Regarding revenue: I have several ideas about this, but no clear well defined strategy. I would love to hear any ideas :)

Thanks!

iman··on Show HN: Launching my Realtime Social Video Startup
1. The videos are embedded from youtube. They are hand selected.

2. Voice is an interesting idea, will think about it :)

3. This is a very good idea, and definitely something that is being considered.

4. The name doesn't really have any meaning. It was just a good domain that was available.

5. Yes, the design needs a lot of work. I'm looking for a designer now. When there are more people voting then it's a bit clearer how it works, but yeah, it could be improved.

Thanks!

iman··on Show HN: Launching my Realtime Social Video Startup
Hey guys, I've been reading HN for a long time (since before it was called HN). I rarely comment or submit to HN, but I am really proud to finally submit my site here.

Would appreciate any feedback you have!

Thanks

iman··on Poll: Where do you work?
Also don't forget about the game industry, which is something like $50 billion
iman··on What Stops Female Founders?
The article title is misleading. After the 4th paragraph, all of the advice is equally relevant to males and females.
iman··on Readability and Naming Things
"There are only two hard problems in Computer Science: cache invalidation and naming things." -- Phil Karlton
iman··on John's Phone: a minimalist cell phone
I've showered at the beach with my nokia in the pocket of my bathing suit. It was fine. My nokia has fallen out of a moving vehicle. I drop it several times a day. It's been run over by a bicycle.

The thing is a rock.

iman··on How (not) to write Factorial in Java
I was also going to post this. A must read for all programmers. You can overcomplicate things in any language.

"The Evolution of a Haskell programmer" is brilliant. Funny and insightful at the same time. Make sure to read the bottom part: "But seriously, folks, ..."

iman··on Arrays considered somewhat harmful
I'd also like to add that arrays are the foundational building block of an extension of Haskell focused on parallelism, called "Data Parallel Haskell"

http://www.haskell.org/haskellwiki/GHC/Data_Parallel_Haskell

iman··on Brilliance of Haskell's Maybe type and the Value of Static Type Checking
I don't have a source and I don't quite remember where I heard it. It's probably not true. Although this post from Lambda the Ultimate mentions a similar sentiment:

http://lambda-the-ultimate.org/node/1905#comment-23217

iman··on Brilliance of Haskell's Maybe type and the Value of Static Type Checking
There is a story that one of the designers of Java was pushing very hard in favour of Java references being non-nullable by default. But Gosling rejected the idea claiming that it would be too confusing for programmers and it would kill any chances of Java achieving popularity.

Here is a relevant paper, "Non-null References by Default in Java: Alleviating the Nullity Annotation Burden":

http://www.springerlink.com/content/f197143t80671627/

"we conducted an empirical study of 5 open source projects (including the Eclipse 3.3 JDT Core) totaling over 700 KLOC. The results allow us to confirm that in Java programs, at least 2/3 of declarations of reference types are meant to be non-null, by design."

iman··on Pixar films don't get finished, they just get released
Here's another great letter of similar style by the creator of ren and stimpy:

http://www.lettersofnote.com/2010/01/your-pal-john-k.html

(I like how the pixar guy said that it's all about having a good story, while the ren & stimpy guy says that good drawing is more important than the story)

iman··on How 30 seconds dropped my bounce rate by 78%
The solution is to track mouse-movement/page-scrolling to check whether the user is interacting with the site.

Also, is it possible for javascript to check whether the site's tab and browser window is viewable and in the foreground?

iman··on The Next Mainstream Programming Language: a game developer's perspective
This question has been bugging me in my mind ever since I first saw this presentation back in 2005:

What integer value in a game gets so big that it can potentially overflow a 64 bit integer?

I've literally been thinking about this question for years and I can't think of a single case. Bignums are pretty much only used in scientific computations and the only thing in a game that would come close to this would be encryption, in which case the programmers would know what they are doing and wouldn't mistakenly used fixed size integers.

(Of course back in the day integer overflow bugs in games were everywhere, one awesome example being level number 256 in pacman)

iman··on There’s a rootkit in the closet
It's often said that privilege escalation under Linux is very easy. Why is Linux so insecure in this aspect?

Why does OpenBSD not suffer from local root exploits?

iman··on Reflections on leaving Haskell
The problem with Haskell is that it is way ahead of its time, in kind of the same way that lisp was ahead of its time.

lisp had high order functions and garbage collection, and now 30 years later all mainstream languages have these features.

Haskell has lazy evaluation, compiler enforced function purity and a type checker that doesn't get in your way. I predict that in 30 years all mainstream languages will have these features.

iman··on Rock Paper Scissors Playing Glove
no, in the long run you are playing against a known algorithm (assuming you've read the code), and so:

- in the case that it is a deterministic algorithm you should be able to win every hand

- in the case that the algorithm employs randomness then you should be able to win more than 50% of the time (unless the algorithm used is to employ completely random play in which case no matter what you play you will win exactly 50% of the time)

iman··on [dead]
The yampa library is an embedded domain specific language for haskell that is graph based.

With regular haskell syntax it is indeed quite tricky (and ugly) to describe the graphs, but there is a popular haskell extension (arrow syntax) that makes things very elegant. You give names to the nodes of the graph and then you describe the connections between the nodes

yampa is used for making interactive simulations (games) or graphical user interfaces. It takes a purely functional approach to these problem domains (no monads!)

http://www.haskell.org/yampa/

iman··on Many programming languages have infix expressions, but get associativity wrong
What about functions of type A x B -> A ?

An example would be C++ stream << operator which takes a stream on the left, a string on the right, and returns a stream (after writing the string into the stream). This is so that you can do chaining:

    cout << "Hello" << "World";
I don't think that there are any mathematical operators that work this way though.
iman··on Status and Signals: Why Hardcore Gamers Are Afraid Of Easy Mode
It's actually a lot more sophisticated than that. Here's a great presentation from Valve about the "AI Director" in Left 4 Dead:

http://www.valvesoftware.com/publications/2009/ai_systems_of...

iman··on Scala: A Postfunctional Language
unsafePerformIO is part of the the Haskell 98 Foreign Function Interface, which is "An Addendum to the Haskell 98 Report". (See chapter 5 Marshalling <http://www.cse.unsw.edu.au/~chak/haskell/ffi/ffi/ffise5.html...) All haskell compilers support the foreign function interface, and it will be a required part of the next haskell standard.

Use of unsafePerformIO (or any other unsafe function) should rarely be needed in real world programs though.

iman··on --All You Zombies--
Here is the previous discussion of this at hacker news:

http://news.ycombinator.com/item?id=328833

iman··on Canabalt: iPhone Game
Can you talk about revenue that came from the flash version? millions of hits seems like it should give some nice ad revenue. And did you consider seeking sponsorship for the flash version?
iman··on JSNES: A Javascript NES emulator
Very impressive, but performance sucks, even in google chrome. Keep in mind that the 486 is capable of fully emulating the NES. The truth is that javascript will simply never be appropriate for tasks such as this. It is too slow and no amount of magic fairy dust optimizations will make it come close to high performance languages.

Java on the other hand (as much as I hate java) can do high performance stuff. Here is a java applet NES emulator, with sound: http://www.nescafeweb.com

Page 1 of 2Next →