News for hackers. Stuff that matters.

lepunk

Well of course that is the goal. Without upvotes your product is never seen by your potential users. If you solely rely on luck of people finding you buried in the Newest section than 99% of the time you won't reach the front page. I dare to say very few product ever made it to the top without the support of their initial beta / power users.
Can you elaborate on the word "manipulate"? In my opinion all we did is let our beta users know that we are on PH that day. The whole article is about how PH block products from going infront of new audiences
if one viral application can break the ecosystem, then it probably needs to evolve
I normally go with: "If you could do it from scratch how would you implement the infrastructure of X"

X being a currently widely known service (I'm usually going with Spotify). There is no "right answer" to this question but this shows you how the candidate thinks and how well they can protect their opinion if challenged

Nice job! One suggestion from a person who developed widgets used on lots of sites: You are appending general styles (like styling the a tag, ".container" which is a popular class name) to the containing document's body. This is bad practice, since it will alter all the links on the containing page. Consider using namespaced classes (like .github-widget-link) or build your own iframe and apply the styling there
Re:Show HN: GDOM – GraphQL for DOM traversing on Friday February 26, 2016 @05:34AM (#11180732)
very nice. one thing i'm missing tho is a callback functionality.

for example i did a quick scraper for tesco.com

  {
    page(url:"http://www.tesco.com/groceries/product/browse/default.aspx?N=4294793330&Ne=4294793660") {
      items: query(selector:"li.product") {
        title: text(selector:"span[data-title=true]")
        price: text(selector:"span.linePrice")
        url: attr(selector:"a:eq(0)", name:"href")
      }
    }
  }
now the url field on the page is relative. it would be nice to have a callback param where i could execute a function on the result and prefix the url with "http://www.tesco.com"

trying to make a pull request now

Re:The 99% (of startups) on Thursday December 03, 2015 @04:48AM (#10668744)
That is a fair question, and a "what if" type so its hard to answer. if you assume an ideal world with sane CEOs than it shouldn't matter what the investors expect. The startup should burn cash at an optimal rate to achieve the highest profit. Of course don't live in an optimal world...
Re:The 99% (of startups) on Thursday December 03, 2015 @04:36AM (#10668704)
"...but there are hundreds if not thousands more startups that will make their founders and investors rich."

I think the correct word here would be "richer". For VCs 5x return on an investment while desirable, it's not the ideal outcome.

Consider a VC invests in 100 companies during X years, $1 million each. Ballparking here but 80 of these will be a total failure. 19 of them will make 5x return. That is -$100 million spent and $95 million gained. So if the last one is "only" a 5x return the VC gets their money back (-inflation, time spent, etc). Thats why they are looking mostly for Ubers and AirBnbs imho

Re:CSS Based Attack fontface on Monday November 02, 2015 @07:41AM (#10491512)
i think thats just a matter of adding this header on the server side Access-Control-Allow-Origin:
Re:CSS Based Attack fontface on Monday November 02, 2015 @06:54AM (#10491363)
tried, but it doesn't seem to do
Re:CSS Based Attack fontface on Monday November 02, 2015 @06:34AM (#10491282)
Neat, but don't think its exploitable in reality, but neat indeed.

Did a bit of play around with it and it does seem to work on input fields but fortunately not on password type fields (which is logical, considering the browser is not rendering the actual characters for password fields)

http://lepunk.co.uk/font_face.html

Older »