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

Screenshots? I would like to see how it looks/feels before signing in with twitter.


Here are my initial impressions when opening the apps for the first time. Not sure what the three icons are for at the bottom. Heart is not a good choice for "currently treanding', and neither is the down arrow in the box for "latest submission". I thought these were for favorite and download respectively.

I also didn't like the checkmark icon to go back when viewing an article.

Otherwise, I like the little animations, and everything runs smoothly. Good job.


Thank you. The three little icons on the bottom give you access to the Frontpage, Newly submitted links and the 'Best' section, in that order.


Will you open source it?


You can always unzip the crx file.


SGS2 isnt coming to Verizon. http://www.mobiledia.com/news/104872.html


Do you guys know of anything that is $3 I can buy to qualify for free shipping?


Confessions of an English Opium Eater - Thomas De Quincey

Good quick read.

http://www.amazon.com/Confessions-English-Opium-Eater-Pengui...

For an extra $5 you can pick up this which is fantastic: http://www.amazon.com/Geometry-Relativity-Fourth-Dimension-R...


how do you find your numberic facebok ID?


If your fb id is raptrex, https://graph.facebook.com/raptrex

There might be another way, but this is the one I use.



How hard would it be to modify it to store it locally on your computer?


  wget --spider
is probably your friend


Probably wouldn't be that hard to modify. I haven't looked at the local file API available from Safari plugins but should be easy.


There is a nice Firefox plugin called Scrapbook that does this.


Will you write how this works or release the source?


I suspect that it is the github integration you are interested in? The post-receive hook generates a post request with json-formatted data about the commit. See http://help.github.com/post-receive-hooks/

When i receive such a request i use the object api http://develop.github.com/p/object.html to get a list of files in the repo, and then fetch *.textile and .png files which are new or have a new hash. I don't use their libraries, i just consume the rest interface directly.

I store the files in mongodb together with some metadata, and for processing i use a nice scala web framework called liftweb. For textile parsing i use http://www.eclipse.org/mylyn/downloads/ And for code formatting i use google-code-prettify

Anything else?


For finding the duplicate integer, I'm kind of lost. Say you have an array: 1,1,2,3,4. According the the equation: 11 - 5(6)/2 = -4?


11 - 4*(4+1)/2 = 11 - 10 = 1

n is not an index... it's the last number. I wasn't explicit, sorry. :)


it is based on the formula (n^2 + n)/2

picture it like finding the area of a trinagle that is half of a square (long side goes from diagonally opposite corners)

formula for area of a square is n^2, so we need half that.

What about +n part of it? It is because we are dealing in discrete chunks, not smoothly continuous.

---

Alternately, imagine a series of children's blocks

1

2

3

now we have a 'triangle' with left side 3 high and bottom 3 wide. IF we make an identical triangle and rotate it round so that they fit together to make a rectangle, it looks like this

1 + 3

2 + 2

3 + 1

This makes a rectangle 3 x 4, and we should be able to figure out that this gives us an area of 12. So the original triangle ( 1,2,3 ) gives us half that and thus the sum from 1 to 3 is 6.

So the pattern for summing the numbers 1 through N is to take a square of length N, add 1 to one of its sides, so it has sides of length N and N+1, and then find the area (which is always N^2 + N) and then halve that.


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

Search: