News for hackers. Stuff that matters.

iman

Re:(l)uriel has passed away on Monday October 15, 2012 @09:56AM (#4655042)
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.

Ask HN: Looking for someone to host me in SF next week

I'm a longtime member of HN, since before it was even called HN, but I rarely post or comment here.Next week me and two friends will be visiting San Francisco from Monday to Friday, and we are looking for a place to stay. It would be awesome if someone would be kind enough to host us.I am a 26 year old male student, originally American but have been living in Israel for a long time. My computer...

( Read More... | 2 comments | 2 points | on HN )
Re:How to invite people to Google+ on Thursday June 30, 2011 @06:09AM (#2713324)
Ahoy, me Hearties!

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

Yarr, mateys!

Re:Show HN: Launching my Realtime Social Video Startup on Saturday March 19, 2011 @08:38PM (#2345159)
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!

Re:Show HN: Launching my Realtime Social Video Startup on Saturday March 19, 2011 @08:31PM (#2345144)
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!

Re:Show HN: Launching my Realtime Social Video Startup on Saturday March 19, 2011 @08:24PM (#2345134)
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!

Re:Show HN: Launching my Realtime Social Video Startup on Saturday March 19, 2011 @08:11PM (#2345117)
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!

Re:Show HN: Launching my Realtime Social Video Startup on Saturday March 19, 2011 @06:27PM (#2344927)
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!

Re:Show HN: Launching my Realtime Social Video Startup on Saturday March 19, 2011 @06:21PM (#2344916)
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!

Re:Show HN: Launching my Realtime Social Video Startup on Saturday March 19, 2011 @03:51PM (#2344516)
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

Re:Poll: Where do you work? on Wednesday January 26, 2011 @06:01PM (#2145667)
Also don't forget about the game industry, which is something like $50 billion
Re:What Stops Female Founders? on Wednesday January 26, 2011 @04:56PM (#2145358)
The article title is misleading. After the 4th paragraph, all of the advice is equally relevant to males and females.
Re:Readability and Naming Things on Wednesday January 26, 2011 @12:27PM (#2143997)
"There are only two hard problems in Computer Science: cache invalidation and naming things." -- Phil Karlton
Re:John's Phone: a minimalist cell phone on Wednesday January 26, 2011 @12:19PM (#2143961)
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.

Re:How (not) to write Factorial in Java on Wednesday January 26, 2011 @11:43AM (#2143817)
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, ..."

Re:Arrays considered somewhat harmful on Tuesday January 25, 2011 @08:17AM (#2138908)
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

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

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."

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)

Re:How 30 seconds dropped my bounce rate by 78% on Monday April 26, 2010 @09:53PM (#1296894)
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?

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)

Re:There’s a rootkit in the closet on Saturday March 13, 2010 @11:09PM (#1190245)
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?

Re:Reflections on leaving Haskell on Saturday March 13, 2010 @10:25PM (#1190195)
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.

Re:Rock Paper Scissors Playing Glove on Friday March 12, 2010 @05:01PM (#1187904)
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)

Re:Graph-based programming language on Saturday February 13, 2010 @08:32AM (#1122991)
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/

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.

Older »