skysight-inc/HackerNews huggingface dataset:
> Zuckerberg has a point — the average iPhone costs over $600, while an average Android phone costs half.

The journalist was slacking some here, The Nexus 5 (and, the LGs and Motorola this last year) are the closest / only competitors to the iPhone that cost $300.
they need a new API to manipulate nested DOM elements in the web browser? Maybe they're doing more like making each comment atomic so you can dig deep into nests, but at the surface adding such a toggle would be a very trivial thing to implement via HTML/JS.

I think its ridiculous that something with so much traction gets so little love and people have to create extensions to fix some of the basic site interactions.
> Are there major issues with desalination on a large scale?

Maybe not too major but what to do with the salt?
Twitter’s former head of product, Daniel Graf, has left the company
This is why click-bait journalism is terrible.

You have a headline that makes it seem like an interesting answer will be revealed for tough conflict, only to have a rambling series of anecdotes that doesn't address the headline and reads like an advertisement for a book.
I worked at a company that had many dot-com boom and bust companies as customers. 1-800-flowers changed their name to 1-800-flowers.com to increase the value of their brand. Barron's published some research in March (I think) of 2001 from Pegasus Research showing a list of publicly traded companies who, by their own optimistic estimates, would run out of cash and how many quarters of cash they had remaining. I remember because I identified the balance owed by each of those companies to us and gave the Controller and CFO the bad news,

Yes, the funding environment is different.
Codingbat.com – A code practice site
Where Do Developers Get Idea That APIs Should Never Go Away?
You may try to contact scrapers through access denied page.

Did you try to explicitly state that your data is available for sale when denying access to p=300?
Thanks! I tried to make it as simple as possible.
A little bit of searching shows that "healthiness" does in fact lead to longer lives.

Also, not all religious people do ritualistic rain dances. Newton, Godel etc were all completely rational creatures.

I have a feeling that you are just saying "these grapes are sour".

No matter how sore you feel things like yoga, meditation, good living and exercise contribute to better quality of life and longer lifespans. Just go to scholar.google.com and spend some time researching.
Devs with Ferguson Bundle
This one is better than (http://hckrnews.com/about.html#extensions), because after collapsed, the horizontal position doesn't shift. Haven't tried the OP's though.
[Fun] What’s in and what’s out for 2015
I used to own the jpeg decoder at Mozilla, and this was certainly the case last time I looked at it. Even without SIMD, JPEG decoding is pretty cheap compared to most of the things the browser does. I certainly wasn't clamoring for someone to burn JPEG into silicon; I had other things keeping me up at night.
I think the right approach is to get a decent high level understanding of how compilers work. Some surprising optimizations and failures to optimize become a lot clearer. For example, SSA makes it obvious why there's absolutely no penalty for using lots of named temporary register-sized variables.

Then learn your particular compilers' abilities by research and reading your assembly output. If you're depending on an optimization, always read the output. You might be pleasantly surprised as often as you're disappointed.

Understanding the rules of the language are important too. In C++, pointer aliasing and the worthlessness of 'const' are huge obstacles to some seemingly easy optimizations.
Liquidpiston: a new engine that is lighter, quieter, more efficient
Orion Deep Space Module Takeoff Launch 2014
If you're not good at communicating, it's probably the best way, but a messy one. I'd chat to him first, then get a lawyer if necessary.
Graphic Showing Fake Id + Disposable Email Creator Software
I read that aquifers, at least the ones in the Midwest (as in Colorado) are essentially "fossil water", and that when you pump it out the rock collapses somewhat, making it impossible to pump replacement water back in.
A little bit of friendly whimsy has actually proven to be a fantastic business attribute. Think Ikea, Southwest, Target, In n Out. But by all means, go with boring and inhumane.
Russia is doomed to fail and I want it to happen as soon as possible, to have a probably better country
Collapsed by default HN (bookmarklet):

http://sagargv.blogspot.in/2014/06/flat-hacker-news.html
Are We in a Tech Bubble?
There's not problem whatsoever sitting in the back seat without a fist bump or chatting. But I think Lyft's friendlier brand promise could ultimately keep it in the game.
I think people are still figuring out the best ways of structuring large applications in Elm. See for example this discussion on routing from earlier this year:

https://groups.google.com/d/msg/elm-discuss/Hdpn3x0554c/3aFt...

Elm is still young but Evan is doing a great job of pushing the language forward.

If by "efficiency" you meant performance, then this is a good page to read:

http://elm-lang.org/blog/Blazing-Fast-Html.elm
Amazon's 8th generation fulfillment center
If you have never done a forum before, it's a lot of work, I can't stress this point enough. You'd want to find 50 loyal people to start it off. Have a quick search about what Reddit and Quora did in their early stages.
The mechanism is chance. As I understand the article these are selection experiments which you can think of as fast evolution in a laboratory setting. I tried to find a good reference for you but this was the best I could find [1]. Essentially they start with a large randomized pool of RNA molecules. They are then able to select out the catalytic RNAs through some process possibly involving a column. At first the number of RNA molecules that exhibit catalytic behavior is infinitesimal. But through PCR they are able to iteratively amplify each generation for the qualities they are looking for, in this case catalytic behavior. At the end of a few generations you have a pool of RNA molecules that exhibit the behavior you want.

[1] http://www.lcg.unam.mx/frontiers/files/frontiers/Tuerk%20and...
Really? This is one of your least favorite things about America? Wow.
Amazon Reveals the Robots at the Heart of Its Epic Cyber Monday Operation
God save us.
Bypass iCloud Activation Lock iOS 8 and iOS 7 – Bypass iCloud Activation
If you saw them, they weren't doing it right.
Same with Lyft. But the friendliness is there if you want it (much more so than Uber in my experience). If Lyft dropped the friendliness and just tried to be Uber it would go out of business.
Desalination plants produce fresh water and salty brine, the brine is put back into the ocean. The effect on water salinity are negligible - in the sense that it will be less than the natural variance of the seawater salinity - beyond a few hundred meters from the brine discharge, even for city-scale desalination plants.
>What if we were to build a bunch of desalination plants and just start pumping water into aquifers or something of the sort?

If you're talking about conventional fossil fuel desalination, I invite you to do the energy audit on that activity. If you're talking about solar desalination in industrially-manufactured greenhouses, I invite you to do the energy audit on that activity. Don't forget to account for the energy-opportunity cost of land use.

I know there's a lot of hype surrounding desalination here, but a centralized energy-sucking plant (owned by the ultra rich naturally) is a counterproductive business-as-usual non-solution.

We can get a net-positive energy audit by redesigning our agricultural and storm water management. Right now they're designed with exactly the wrong goal in mind — shunt rainwater to the ocean in big straight hardware as fast as possible. This maximizes runoff instead of infiltration, so we're simultaneously preventing aquifer recharge and necessitating aquifer pumping by drying out the soil.

"Keyline" design—a method of cheaply altering landform to soak water—is probably a good start for these new infiltration maximizing strategies, but this is by no means a solved problem.

In California, like any desert, the name of the game is minimizing evaporation. This means all of the above, plus shading (e.g. date palms), sunken beds, buried drip irrigation, and dew/rain harvesting strategies like land imprinting.

Proper rainwater management is the lazy hacker's desalination. :D
This can all be handled by Gulp or Grunt and designers won't have to worry about it if someone on the team can code.
Hi, thanks and have fun :) Ping me on twitter (@jamesmacaulay) or create a GitHub issue if you run into trouble.
Almonds are one thing... we actually need those.

The sad part is, most of the agricultural water goes to alfalfa.

http://www.nytimes.com/2014/03/08/opinion/meat-makes-the-pla...
I know a group of cool guys building a quad copter. It seems like a few of these projects are popping up.

DIY quadcopter tutorial, sorry I don't know of one, but you could try going to the closest University to your house and chat to the mechanical engineering department.
No astronauts for 7 years, at least? I don't know whether to laugh or cry.
There are four people in this thread that I can think of off the top of my head --- me, Patrick, Ali, and Brennan --- that have used these strategies successfully. Are we just all famous?
If you don't want to go running because you'll be sore in the morning, then just resolve to be fat. If that's what humanity wants, then by all means. However, I would like to continue redefining humanity and evolving. The people cannot do that in a system that controls the flow of easily-digest-able information, laws and authority.
Yes, like most poems, this is one that you're better off remembering than trying to reconstruct on the fly.
The opposing viewpoint:
http://fishbowl.pastiche.org/2002/02/12/xslt_is_the_spawn_of...
While I would tend to disagree, thank you for saying that. I will leave it there since you don't want to argue.
Just execute it using the shell:

echo $(( i = <month>, (i ^ (i >> 3) | 30) - 1 / (i * 9 % 17) * 2 ))
Thanks for this post. I won't be storing any exe/rar files in my gmail account.
Thankfully, it's been cloudy and raining in LA for a week!
I ran into a lot of issues getting them to run on large sets of data. Simple doesn't mean easy ;)
We'll have to get some excess wind power first.
I'd probably bill 1 day if I did the work in dribs and drabs over 3 days and the total number of hours I spent were closer to 1 day than 2. You know how you'd feel if you worked 3 hours a day for 3 days: not like a superhero.

I don't know, this has just never happened with me.
I cannot downvote direct replies to my comments, only upvote.
Pulsar addon for XBMC/Kodi – torrent finding and streaming engine
No, operator overloading isn't in the language spec, with reason. I think numerical computing libs like LAPACK, if ported to JS, will probably require a wrapper around 64-bit floats (a la BigDecimal) and math operators that are really function calls. The plan has been to look into transpiling from fortran to asm.js although my personal feeling is it would be better just to use the C API and compile a module that statically links in the necessary libs. They'll figure it out...
/dev/null: When GIF Serve JavaScript
http://en.wikipedia.org/wiki/Myofascial_release

I always stretched after every workout, but it was half-hearted because I was tired.

Only in the past 3 months have I gotten serious about it. And part of my stretching routine is foam rolling. I'll stretch, feel some tightness, roll the area, and re-stretch. Usually on the second stretch, I can go deeper into the stretch.

but it is the most painful part of my workout. I've probably cursed a little more than I should when I roll my IT bands.
I have some experience in this area. If you build a mobile app you can try for a license with CL. Otherwise expect a C&D shortly, CL's lawyers are pretty on the ball.
Could someone please explain to me why ride sharing is illegal and why regulation is necessary? I'm prepared to understand but so far have not heard such a thing articulated.
Colddry and Other Inventions – Facebook's Hardware Hacks
Well you were mentioned in ZF0 and GoD so maybe in some circles? :P
Well...to be fair there is a bit of stoning in the bible. And if it comes to that, I'll take a stretch in prison if it's all the same.
Dan Luu's article about transitive equality and floating point numbers is pretty amusing. (https://codewords.hackerschool.com/issues/one/when-is-equali...).

Here's a little tidbit from the article (notice that he's shown an example in Haskell where A == B, B == C, but A != C):

$ ghci
Prelude> -- Hi! I'm a comment!
Prelude> -- 2^53 == 2.0^53
Prelude> 9007199254740992 == 9007199254740992.0
True
Prelude> -- 2.0^53 == 2^53 + 1
Prelude> 9007199254740992.0 == 9007199254740993
True
Prelude> -- 2^53 == 2^53 + 1
Prelude> 9007199254740992 == 9007199254740993
False
I'm sure makefiles go a long way (many people solve their needs with them), but there are also a lot of use cases where they start to fall short, AFAIS.

Think e.g. a cross-validation set up, combined with a parameter-grid search (to find an optimal parameter combination, for, say, building a support vector machine model), where certain re-usable workflow components (training and prediction) are run for each parameter combination, for each fold in the cross validation ...

We are doing that kind of stuff, and couldn't really imagine any sane way to implement that in make ... which made us go with Spotify's luigi, as documented at https://medium.com/@saml/loosely-coupled-tasks-in-luigi-work...

I still could imagine making this much easier using a light-weight system such as the mentioned "blow".
What if I use this: http://getbootstrap.com/examples/starter-template/ and add an img tag with a src to a .bgp? Will it render when I refresh the browser? I see that the BPG images are decoded in your browser with a small Javascript decoder. So a JS file is referenced in the HTML, and everything will run ok when I refresh? That's the promise?
The issue with desalination is the tremendous energy input, normally provided by the sun. At least right now, that would probably have to come from coal.
> NASA has a tremendous pool of talent

Yes, they're all retiring. All the up and coming talent is going elsewhere because they don't have to deal with mountains of paperwork to buy $50 worth of parts.
No, we want a nice discrete function. The Möbius function[1] μ(x) has some potentially useful properties - it produces discrete values in the range [-1,1], and it has a kind of pseudorandomness to its output. Some sort of variation on 30 + μ(n + x) or 30 - μ(n + x) should produce the right values for the number of days per month in a leap year. 30 - μ(x+192)[2] starts off promisingly, giving the right day counts for January through to July, but then it goes off the rails. I've mounted a quick brute-force search, but it looks like there's no n < 1000000 for either of those formulations that correctly matches January through August, let alone through to December, but never mind: there's plenty more natural numbers. Surely someone will find a formulation that works. It's not like anyone's been mistaken about the continuation of this number series before[3].

[1] http://en.wikipedia.org/wiki/M%C3%B6bius_function
[2] http://www.wolframalpha.com/input/?i=30+-+%CE%BC%28n%2B192%2...
[3] http://en.wikipedia.org/wiki/Mertens_conjecture
I was not expecting Lincoln, Nebraska to have 59 pages of wind surfing equipment.
Did you write your own scraper or use a library? If so, which?
>This comparison is useful if one supposes that the art of programming is primarily concerned with writing programs. It isn’t, of course. It is mostly concerned with debugging programs.

I don't really get this. If you can write programs that have fewer bugs because your language is expressive and prevents them, then naturally there is a lot to gain from valuing a language primarily by how it works when writing code.

A language that is brief and concise gives you fewer opportunities to make mistakes:

print "hello"

console.out.sprintf("%1$s", "hello");

Which one is more likely to need debugging?
Xbox live service has been partially down since morning (IST)
> Oregon Taxi complained in July when Uber started doing business in Eugene. City lawyers concluded last month that Uber, although not a traditional taxi service, is required to obtain a license under the city's "public passenger vehicle" regulations.

> A city press release issued Thursday said staff members told the company on Sept. 16 that it must get a license. Uber has yet to apply.

http://www.katu.com/news/local/Eugene-says-Uber-ride-sharing...
Protecting Innovation (Cisco Sues Arista)
Mighty Cisco sues upstart Arista
Although I dislike some of Uber's business practices, I really admire their "fuck you" attitude when it comes to ignoring taxi regulations. Taxi regulations are some of the most bullshit, customer-hurting, corrupt laws people are exposed to on a daily basis. They're a clear example of how overregulation can cause a precipitous drop in quality of service without tangible benefit.

Uber, Lyft, and co. managed to realize huge gains in productivity and quality with no significant negative side effects.
A Basic Guide to Diamond Polishing Paste
Parrot WebRTC Challenge
Describing Uber as "ride sharing" is fantastically disingenuous. Have you ever lived in a place that did not have taxi regulations? Life gets fairly hellish that way. Drivers will pick you up and then pick other people up on the way to your destination... often until the van is full. There's no recourse for getting overcharged, assaulted, kicked out in the wrong place because a more profitable fare turned up, being totally SOL because the guy got a flat tire and does not have a support structure in place... this list goes on, and if you think it won't happen in America, good luck in your future endeavors.
This example is misleading, and I don't think the article addresses the subtleties.

Basically, the third line is not like the other two. Because none of the numbers involved in #3 are Doubles, Haskell will actually use the Integer type, which is basically a bignum (like integers in Python).

The first two are comparing values of type Double, so the instance of Eq for Double is used, which necessarily has some inaccuracies, as shown in the second line, while the last one is using the instance of Eq for Integer. Therefore, the statement that (==) is not transitive for these types is false, because we are talking about different versions of (==) in the first two examples vs. the last one.

The trick is that bare numeric literals have type Num a => a, and have their type inferred by their use. The first two examples cause the 2^53 to take on type Double, otherwise it wouldn't type check (literals with decimals in them have type Fractional a => a, of which Double is the default). The last one doesn't have any expressions with decimals, so it uses the Integer type.
Uber has balls. No matter where you stand you've gotta love that.
Not as much as you think. The government has little power, and generals are always vulnerable to make decisions based on the lucre put at their disposal.
Follow Up – 5th December 2014
Shopping express doesn't really sell groceries, while Instacart is all about groceries. Both services are very different...
These PEER-TO-PEER TAXI SERVICES (as opposed to genuine ridesharing services) are illegal because privately insured vehicles cannot be used for commercial purposes. The insurance becomes invalidated and so neither the driver nor the passenger are covered. Commercial use is a distinct classification, and Lyft and Uber technically fit under that classification.

Lyft and Uber try to get around this by describing passenger payments for these commercially offered rides as 'donations.' However drivers of these services are not being paid for their volunteer work, they are working for these services. They are working for the money, and in this way it's not a donation.

Finally ridesharing is a specific gov't defined catagory. Only when the costs are ridesharing costs ($0.565/mile or less) can they be viewed as non-commercial.

Ridesharing is defined by the US Government (MAP-21 bill) as offering the use of seats in privately owned vehicles to other passengers on a cost-reimbursement basis only.
H.R. 4348 (112th): MAP-21

So any fee the exceeds costs-reimbursement is income, and these drivers are working, and they are doing so commercially. So they are commercial drivers, getting paid to drive people around. Ergo they are taxis, and they are required by law to be regulated like taxis.

And why legislate taxis? Because of the commercial abuse of the common carrier, in this case the roads. All commercial use of common carriers - roads, canals, highways, etc - they are all regulated to prevent abuse.

What does this abuse look like? Too many users.

What does Uber and Lyft allow? More users of the common carrier.

This is not a new battle, truckers, couriers, ship companies, all fight this - what's new is the social distribution that new technology has empowered.

For more discussion see -- Hill Brothers Chemical Co. v. Superior Court of Los Angeles (2004) DJDAR 13414

http://www.bledsoelaw.com/articles/treppa_michigan_trucking....

In part, from Quora discussion.

http://www.quora.com/Ride-Sharing/How-are-Lyft-and-Sidecar-l...
Both sides of the argument have been articulated in previous threads, multiple times. A few posts about why regulation exists:

https://news.ycombinator.com/item?id=8230413

https://news.ycombinator.com/item?id=8229867

https://news.ycombinator.com/item?id=7340371

tl;dr - taxi regulation was created in order to (i) guarantee standards, back when the free market didn't do a good job of it, and (ii) ensure drivers could earn 'enough' by preventing a race to the bottom on prices. Taxi regulation _continues_ to exist due to lobbying by those who benefit from the current system, inertia and, perhaps, no one yet proving that the world would be better without this regulation.
I love my job & it doesn't really feel like "work" for me. I see this as both a bad & good thing - I work long (70+) hours, weekends etc & it's not because I'm expected to, it's just because that's what is fun for me.

I had a couple of jobs before this though & I didn't feel this way about them. I agree with others that I believe you have to trial different things before you find what it is that you truly want to do.

And for what it's worth, I don't really know that I use a whole tonne of my CS degree either, particularly in my day-to-day. Are you working as a developer now? I mean, not everyone that does CS, ends up as a dev, so I wouldn't be scared to try other roles. Having a technical background is a valuable foundation for any role really.
The real stumbling block is the difficulty in generating anything embedable, and the need to iterate on the decoder side. You can get pretty good results for general images, but not "better enough" to justify this cost over, say as wavelet threshold plus entropy coding. You also can have artifacts of the shape Of the domain support, and getting rid of these makes the encoder quite expensive ( less of a problem)
CONTEST: Win 6 Months of EMyth Small Business Coaching
The question might sounds sarcastic,but it's not meant to be: so why haven't any of those instances happen to Uber's user? Does it mean that the regulation already applies to Uber (to a certain extend). Or is there any other reason?
A story of YAGNI
"In Portland, the commissioner in charge of the city’s Bureau of Transportation was furious enough at Uber that he suggested Portland should amend its regulations to allow Lyft — one of Uber’s biggest competitors — instead of Uber, to operate in the city."

This is basically admitting that the whole "for the safety of the consumer" thing is an act. This is not the reaction of a man who actually thinks taxi regulations are needed.