Hacker Newsnew | past | comments | ask | show | jobs | submit | mkelley's commentslogin

I agree - GitHub being the great repository it is for Open Source projects, it really wouldn't be a bad idea to have some sort of reminder to users when creating a repo to add a file detailing the license the code is being released under.


I see where you are coming from, on the other hand it is really cool how much can be done with CSS and I am sure you were pretty well amazed like the rest of us as they get more intricate and add transitions, etc...

That being said, there is also the fact that people can learn a lot about CSS by looking at the source - especially making use of pseduo-elements, etc... So I say bring on your "Vitruvian Man done in pure CSS" posts. You can always downvote them. Lot's of designers on HN want to show off their side-projects just like the developers.

Let the upvote/downvote mechanism do it's magic! If I had the time I'd recreate a scrooge for you sir.


Ok so what is that in Hiroshimas?


According to 10 seconds googling, little boy and fat man were both somewhere around 20 KILOtons.


About 50X.


Also, the input box inside the Drafts div, where you are supposed to enter the Post title (which is not very clear/intuitive) - the input box continues expanding overflowing the bounds of the containing div and all that. Need a max-length, word-wrapping solution there.


So ... I'm not familiar with path-finding algorithms, but is this the most efficient way to solve the problem?


Not by a long shot. An astar will get you out of a 10x10 maze in 10 steps since this particular maze has no barriers... I asked my wife if she were trapped in a maze how she would get out. She thought for a while and said... if I could clone myself I would fill up the whole maze with me...and one of me would be at the maze door in no time!

I thought that was a pretty radical and creative algorithm... so I coded it up


So it's more of a 10x10 room than a 10x10 maze?


adding barriers to make a room into a maze is trivial. So if you were forking my scala code, you see 4 filters -

      val res = Seq(x-1,x,x+1).map( a => Seq(y-1,y,y+1).map( b=> (a,b))).flatten
      .filterNot( ab => ab._1 == x && ab._2 == y)  // don't include me
      .filterNot( ab=> ab._1 < leftTop._1 || ab._1 > rightBottom._1) // don't include points outside the maze
      .filterNot( ab=> ab._2 < leftTop._2 || ab._2 > rightBottom._2)
      .filterNot( ab=> path.contains(ab)) // don't revisit points along your path

Now if you add 1 more filter, literally 1 more line of code, to eliminate paths that are prohibited because they intersect with a barrier, you are good to go. a room is simply a maze with zero barriers.



So would messages ala Laurent Bungion's (sp?) MVVM-Light Messaging system fall under 1,2, or 3? You send out a message from an object and then any object "registered" to receive these messages can pick them up and handle them as they wish... doing something, doing nothing.... returning a value or more likely not...


I totally agree, come on pg .... Unknown or expired link when I hit More after waiting too long... you can do better. I bet that is #1 on peoples wishlist for HN. That's actually perhaps the only problem I have with HN's design. Clean, simple, functional (except for that frequently annoying error message!!!) EDIT: spelling


Where do you reliably find the client?


Pretty cool - another very similar option that comes in the form of a jQuery plugin that I just noticed in the [new] section of HN.... https://github.com/simsalabim/sisyphus - It looks pretty slick.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: