skysight-inc/HackerNews huggingface dataset:
It's an iPhone 5s. It only occurs after I've used the app for a while, then switching to an article with a large number of comments; scrolling can become laggy enough to render the app unusable (i.e. scrolling even a small amount takes over a second; lag seems to scale based on the comment count).

I'm guessing that if the DOM is parsed completely prior to rendering the comments, that shouldn't be a bottleneck--unless the parsing step is re-run as scrolling occurs to render comments dynamically.

Or given that a forced restart resolves the issue, perhaps it's a memory issue; i.e. if the JSON data is held in memory for each article viewed, and it continues to grow. This is certainly not a showstopper, and it's a fantastic app! But figured you'd appreciate the info.
I appreciate the feedback, but you're not really contradicting anything I said.

Most companies have private projects, so you end up having to pay for Gemnasium. And you do have to somehow upload stuff to your service to make use of it.

Like the grandparent, I just want a command-line tool to document updates to NPM modules as part of Git commits.

> Modern projects use more than one package manager

Our projects are very modern indeed, and we use just one package manager per project. Node.js projects use NPM (for server and front end packages), Ruby projects use Rubygems, etc.
> 1 full bath, 1,900 sqft Single-Family Home

> a value of $904,085

I understand the nature of supply and demand and the appeal of living in an area full of like minded people, but as someone in a flyover state, this absolutely blows my mind.
A million dollars sure doesn't get you a lot these days.
> What if the other unit needed to be knocked down for a reason other than to get rid of rent control?

Let the owner give adequate notice to vacate (where I live it's 60 days notice without cause).
But the rent-control limitation stays on that land parcel for some period of time after a new building is constructed on the site. Don't want to rent it? No problems.

> Newly moved in renters realize that they are paying 10x as much as the rest of the country, leave. Rent goes down

People have a limited ability to live a certain distance away from work - an hour, sure - two, ... okay but that's pushing it. Three? Well now half your waking day is spent commuting. Four? You're probably not driving because you need to sleep.

Property owners who're assholes will continue to push rental prices up (which is what we're seeing in OPs example) to "what the market will bear". Meaning people who're willing to live in some shithole on ramen and minimal lighting and heat for >half their wage can live within a reasonable distance of their workplace.

All so some asshole (which is probably a company), can make more money. Great for the rich.
Highly unlikely that 10,000 landlords with an extraordinary desire to maximize their return are being "irrational". If you rent out the property in San Francisco, you effectively lose control of what you can do with it. By not renting it out, you maintain control, and you can rent to family, make use of it yourself. I'm guessing that airbnb also is an attractive option now to get around the price-control laws.
I don't care what methodology you're using, if it includes crunch then it's broken.

Proper, grown-up coding on a business application is incredibly wearying on the mind, and results have shown time and time again through research studies and professional management that past 8 hours coding in a day the average programmer's code quality starts to deteriorate. Past 10 hours it goes negative - at this point the code base is actually being damaged.

"doing what needs to be done to fulfil the promise" is actually alerting the team that you've made a poor estimate of the effort required for this feature and need to recalibrate. It is absolutely not sticking with your poor estimate and delivering shoddy code to the project.
Since when do people have a moral obligation to anything?

I didn't claim a moral obligation. It is the market's prerogative to demand justification for a seller's price.
This was rather timely, for me. I have been struggling with the assumption that my daughter's science fair was due to me, rather than her. I was very proud of her work/effort, and wanted to share that with friends/family, but many of the reactions were, essentially, "well, it was really you who won". And that couldn't be further from truth.

Now, one reason, I assume for this reaction, is due to two things: 1) they know I'm science nerd (I have a degree in physics), and 2) she's really young, but won for the whole school (she's in the second grade, and won 1st place for the school, and her own grade). They say this, without even knowing what she did or how she did it. To me, the entire point of the fair is to get kids AND parents involved in science, while exposing kids to the scientific process. So, to me, I get my daughter to do as much of her project as she can. And even things she can't do, I still get her to try, even when it takes her a long time (like typing her slides that get glued to her board - she types with one finger pecking very slowly). But she loved the work, and felt like she was learning something. Her experiment was incredibly simple (literally a cup of water and a timer), and she thought of the procedure herself, and the question she wanted to answer was hers.

But, even after I explain this to someone, they still feel my daughter was unfairly advantaged, or at the very least, was given some better than average coaching, because of my background/experience. To a certain extent, I kind of agree on that point. I do try really hard to explain the concepts to her in a way that an 8 year old can understand. But, ultimately, it all comes down to her. The idea and experiment were hers.

When I walked the gym and saw the other experiments/projects, many were highly decorated and beautiful (my daughter's had no decoration, just a title and the required sections with text in her own words). And many experiments had rather elaborate processes, and/or complex devices. Sadly, I too thought that many parents were at work, rather than the kids, even knowing how much I made my daughter do on her own. But it all seems to come down to the kids. And, some here have mentioned, the judges are pretty good at detecting BS. So although a perusal of the fair wouldn't make it obvious which kids did their own work, or how much they really learned, and that's where the assessment of the judges has to be taken into account.

And it was that that made me feel better about my daughter's work. I was proud of her, because I knew that it was she who did it, and was glad the judges were able to see it. But I totally know that many parents do over-involve themselves to the point the kids don't learn anything. It seems a difficult balance to strike, but it does seem possible to distinguish the extremes.
They're not all phone screenshots - many are animations, JS snippets that run in-browser, or components.

This is a producthunt-like website with daily submissions, not a curated best-of collection. For people working with or interested in Material Design, it seems like a cool site to keep up with resources and inspiration.
Whether something is 101-level or a difficult thesis topic often depends on your point of view. Different fields seem to define scalars differently, with the physicists sometimes arguing that the mathematicians have got it all wrong: http://imechanica.org/node/15857

On a related note, I was tremendously impressed with the quality of discussion at imechanica.org. At a glance, it may be the best example of a well-functioning online community that I've ever seen.
Their point is that you can only assume so much about the security of the tools you are using. If your hash algorithm of choice is insecure, then you have to switch. Take apt-get install package, if the SHA hash of the package matches what the server claims, then you ought to trust the package even if the package is from a random website. But if you are paranoid you shouldn't be getting from a random website. If you want extra confidence, then only get from servers you trust, and only get from sites protected over HTTPS.

Also consider what benefit do you get by verifying the entire file? Some applications may wish to read the first few bytes to ensure such file is openable by the application, but in the end the first N bytes can fool you if the last M bytes are malicious. So you would open the file in a sandbox to minimize impact.
1) Landlords can diversify their properties, renters only get one. Everyone needs to live somewhere, nobody needs to be a landlord.

2) You've missed my point about moving costs. Even when the market favors renters, the lease renewal negotiation favors landlords. This is because moving costs time and money payable to third parties. As a result, the landlord can charge higher rents for renewals than they can for new leases.
Funny thing is that rent control is one of these issues that is non controversial among economists, from the most Keynesians to the most libertarians, they all agree that it's a bad idea. In fact, socialist economist from Sweden Assar Lindbeck said: “In many cases rent control appears to be the most efficient technique presently known to destroy a city—except for bombing.”.

Rent control is usually pushed by ruthless politicians to buy votes and end up being catastrophic for the cities victim of such policies.
Looks like images are served out of pinimg.com, which uses a different cert.
Carrots contain beta-Carotene (bet you can't guess the etymology.) Beta-Carotene gets metabolized into various forms of vitamin A, including retinal, which is necessary for eye health.

So, it's not that carrots can help you see in the dark; it's more that some eye diseases (which have initial symptoms including diminished night vision) can be prevented by eating carrots, just like some gum diseases can be prevented by eating oranges.
Ask HN: Anyone here have a successful import business? Need some advise
Hello,

I've been working on the tech side of eCommerce websites for quite a few years now and I'm now considering the possibility of running my own.

I've ran eCommerce websites myself in the passed but so far I've never imported anything, or sold anything of enough value or quantity to make it much more than a side project of mine.

Now I'm looking to import and sell some more valuable products, however I have a few things I'm little confused about before I begin. If anyone has about 30 minutes to an hour to speak to me and answer some questions I'd be extremely grateful for your time.

Thank you
portland is also quite nice....
New World Order Call on Facebook
I agree that rent control laws are abuse. And that they cause the most harm to the people they are meant to protect (the poor).

That's not what you meant? Oh. That's too bad.
Property rights only exist because of the law, otherwise, in general, property amounts to "what you can personally protect from people using force". It makes sense that alternate property models from "full ownership" can be implemented without the world crumbling.

As I say in another comment, when you rent out a house to a tenant, you already lose certain property rights, at least while the tenant is living there. You can't write a contract which allows you to keep them, by law. You usually even have certain duties to the tenant, as much as landlords like to shirk these. This is the same in many developed countries, and the world's yet to fall apart for it.
I think it's pretty clear in this situation that the justification is "We don't want to rent our house to you anymore so we are raising the price to a point where you will move out."
UUIDs can suck my dick (any they do, regularly)
On my last trip I used Wikipedia (not wikitravel) to find which airlines serviced an certain airport.
I am not completely familiar with SF's laws, but typically rent-control laws state that an owner may only evict a tenant for good cause and that leases are otherwise indefinite, at the tenant's discretion.

In this case, the owner has evaded rent-control to extrajudicially evict the tenant through extortionist pricing.
Shitty interviewers ask:

1. Anything related to trees
2. Big-O trivia and errata
3. Reinventing the wheel
4. Bit-twiddling operations

Seriously. If I go into your interview and you ask me to reverse a string, and it's not <string>.reverse(), I'm not taking your stupid job. I don't care if you want me to know the tricks for an in-place string reverse with no temporary variables, that just shows that you don't have a clue how to interview.

Good interviewers? The best I've found so far:

1. Ask people to do real-life problems
2. No "gotcha" questions
3. Let people use the environment they'll be using for the job -- this means an IDE, the internet (including stack overflow), and any library they want.

What I want to see when I'm interviewing is whether or not you have the ability to solve a problem. I'm going to look at how you abstract and break down problems, how you solve them, and at what point you say, "I think this is done."

Yes, I expect good engineers to know when to use a tree or a list or set -- but if you're explicitly quizzing for that, you're probably filtering in more terrible developers than you're filtering out.
Renting it out to family, making use of it yourself, and renting very-short-term using airbnb, are not leaving the building vacant.
> The few of us who still remain in San Francisco have no choice but to live in sub-par conditions like mold, windows that don't shut, rodents and countless other issues because there is no other choice, because the rents are so high you can't move so you don't.

Yes. But the solution isn't more rent controls. That just increases the gap in price between market-rate apartments and rent-controlled apartments. This makes it even harder to move, and it further increases the incentives for landlords not to maintain their rent-controlled apartments or pull stunts like this.

The solution is to add supply to meet demand. We should be furious at the forces that have kept supply in SF so absurdly low.
I live in a pretty expensive area and $2145 is high for a one bathroom, and if there are multiple units isn't that essentially a boarding house?
> Rent goes down. The market has corrected itself and all is well. What am I missing?

You're missing the fact that rent won't go down -- at least not by much, because living in San Francisco will remain desirable for enough people who are willing to pay very high rents. Only the very wealthy, or those who bought in a long time ago, would be able to live in San Francisco.

Of course, this is increasingly the case anyway. And one could make the case that this is an acceptable outcome. I (like many) believe that it's unacceptable, but this is debatable.
It was a multi unit building.

Also holy shit that place looks like a dump.
great! reverse md5 hash in my profile to find me.
Don't Replace, Rebuild
In a rent controlled area, they don't have that right, by definition. Rent controlled rentals aren't for a limited time, with various exceptions, by definition.
I could be wrong here, but from reading the charging documents it sounds like the "denial of service" that was actually done to Jason's email account was really his account being banned when he was kicked out of the HackerDojo for using a fake name the first time. It was not until he signed up for HackerDojo a second time using another fake name, and getting banned again, that he is accused of committing his DoS on the HackerDojo.
Someone could do arbitrage on this by creating a pipeline of "high quality" tenants that they can market to landlords as less likely to skip out on rent or become problem tenants: Ivy-League graduates, employees of well-known companies, etc.
Shoot, in the Midwest I have an apartment with about that much square footage, two full baths, and I think I'm getting ripped off at $1400/mo. Did I mention I moved in less than a year ago, and was the first resident in the building, so it's brand new?

I understand San Francisco is the home of technology, but get your stuff sorted out, seriously. Is it worth being in a city that absolutely hates you? A city that would do anything to make your lives miserable? I wonder what would happen if Apple and Google packed up and moved to, I dunno, Milwaukee?
>It is the market's prerogative to demand justification for a seller's price.

Bollocks. It's the market's perogative to meet that price or not meet that price.
I don't know any measure theory or whatever, but someone who's good at probability needs to chime in here.
Actually they do taste different. The orange carrots are sweeter and richer than most other carrots available to us. For this reason my kids will only eat orange (believe me, we've tried).

I have wondered if it was the taste difference which led to orange carrots rising to dominance (even if through selection by a cartel).
You are using perforce so just write a bash script called p4 that if you are doing a commit first does checks followed by the real commit and otherwise passed every command to the real p4.
This blog is, in my opinion, just a shill. Makerbot has not "solved the reliability problem of their smart extruders", they still suck. They do offer "five packs" of them though so you can go through them like over priced ink cartridges. And 100 x 100 x 125 as a build volume is limited to really about 75 x 75 x 100, so great if you're making key chain fobs but not so great if you are making anything else.

Not to mention that the Makerbot Mini is nearly $1400 whereas a Printrbot Simple Metal is $700 (with a heated bed so you can print ABS plastic with it) does better prints and you can fix it with parts that cost way less than a single "smart" extruder at $175.
What do you mean by "stained title"?
This is a good point. It would be useful to have a lower skilled, named role for a lot of the rote programming jobs that just involve gluing frameworks together.
I'll share my first science experiment that I was happy about. I came up with it in a college class, so well after my science fair days, but it might be something your kids could do.

There was pathway with a circular fountain in the middle. The path goes around the fountain. People have the choice of going left or going right. On the outside of the path are benches. My question was, will people avoid walking near someone sitting on the bench?

I still remember the numbers. I only measured it when a person was walking alone on the path. If no one sits then 90% of the people veer right to go around the fountain. (Clearly I want to re-do this in the UK.) When I sat on the bench on the right side, only 80% of the people would take the right. 10% of the people changed their path to avoid me, sitting on the bench, reading a book.

This is the sort of observational research that your eldest could easily do. Observational research the basis for a lot of research, though often overlooked in favor of flashier technology and lab equipment. The author of one book I read - I believe he was a field biologist - wrote that he gets asked how to encourage someone's child to get involved in science, and he suggests to buy a hand-held click counter. http://99percentinvisible.org/episode/revolving-doors/ is an example of how test which sign is the best way to get more people to use a revolving door than a regular door, with the goal of reducing the heating bill.

Down this way also lies eccentricities, like John Trinkaus, who won an IgNobel Prize http://en.wikipedia.org/wiki/List_of_Ig_Nobel_Prize_winners#... for publishing reports like "percentage of young people wear baseball caps with the peak facing to the rear rather than to the front". That's pure observational studies, with no experimental variable or control. It won't do well in a science fair.
"Back end" is typically used to refer to web development as well, so I'm not sure if I misunderstood you, or you misunderstood the term. Web has "back end" (ruby/rails) and "front end" (html/css/javascript). With a lot of the latest developments there's a lot of overlap in job descriptions.

That is really enough, yes. That's nearly "full stack." You're going to learn some sql while learning rails, and you're going to have to learn enough to deploy somewhere (I recommend heroku to start).

Basically you should teach yourself how to build essentialy any CRUD app (blogs, wikis, basic twitter, news site, hacker news, reddit, etc). When you can do that, you're employable--and probably well above average, honestly.

There will still be TONS of stuff to learn after that, but there won't be any reason for you to not get typical web-development jobs.
They're a different colour but otherwise the same. You couldn't tell the difference with your eyes closed.
In general I do agree with you. But I have to point out that even Apple has been facing this type of issue recently.

E.g. The Wi-Fi issue in iOS 8. Already on 8.2 and not fixed for many people.

Is this inescapable?
From the link (click see more on her post), this was a 2-unit house where the owners removed the second bathroom and claimed that they had converted the second unit into storage space, thus allowing them to say that the building was a single unit and exempt from rent control.
Yes, they do have that right. They can use the building themselves, rent it to someone more trusted (family/friends), or sell it. They don't have to rent it out in the first place, so the building never has to come under rent control.
http://www.upout.com/blog/san-francisco-3/5-castles-that-are...
A counter argument: Uber breaks rules, a large number of people have no issue with it and consider it fighting an unfair regulatory system. These guys break the rules on Twitter and everyone sides with Twitter.

Now, I'm on the side of Twitter in this one, but I think it's an interesting thought experiment. To me the difference is that they ended up bothering Twitter's users (as seen by the comments on this thread), whereas Uber just bothered cab drivers, cab company owners and medallion holders - a relatively small audience that has pissed off a lot people.

There's also the issue of whether Twitter has a monopoly in the same sense that the cab companies do.
The mayor's goal, which we're not on track to hit, is to add 30,000 new homes by 2020. Meanwhile, the city's chief economist says we need at least 100,000 homes to start having a real impact on prices.

Source: http://m.sfexaminer.com/sanfrancisco/leveling-sf-housing-fie...
The petition says that denial of service attacks were performed against his email account. The indictment says he was banned. Sounds like some serious spin.
Next time, just do a hue shift. Alternatively, there are filters that lighten red / darken green (or vice versa).

(Assuming red/green. There are analogous methods for other types of color blindness, however.)
Thanks. That's very helpful.
In SF the only real way to kick someone out of a rent controlled unit is via an Ellis Act eviction. The allows the owner to take the building off the market. Issue is, you need to pay a substantial fee to the tenant (many thousands if they've been there a long time) AND you cannot rent the unit out again for 5 years.
Zillow has it going up in tax last year from $1,500 a year but it hasn't been sold since 1976. Either the sale is slow to show up or someone just inherited the house without a trust. In which case getting the renters out and selling is not surprising.
We only see one side here. perhaps they did ask nicely, and the renter said no.
The support problem for namecoin is being solved. See: okturtles and dnschain.
It's a good question. It's clearly worth it for some. For me, I own a 1800 sq. ft. home on 4 acres outside of Cleveland valued at $170k, in an area with excellent schools. The career prospects in NY and SF are far better, but I'd have a really hard time giving this up.
Pretty much receive billionaire dollars or STFO.
I find that one hard to believe - I can't believe Bill would open himself up to cartel laws, the others however :-) Though that would explain a few things