skysight-inc/HackerNews huggingface dataset:
We still teach all sorts of slow and inefficient sorting algorithms, because it helps to understand the core principles of sorting algorithms and computational complexity. I don't think I've ever actually used a bubble sort or a selection sort in anger, but the process of studying those algorithms taught me to reason more generally about algorithms, which is really the entire point. Computer science is a branch of mathematics; mathematics isn't really about knowing things, but about knowing how to work things out.

I suspect we'll be teaching quicksort forever, because it's a really good example of a divide and conquer algorithm.
Tim Ferriss on Why He's Leaving the Bay Area
Learning lisp is never in vain. You can almost apply your functional programming paradims learnt in clojure to most of the dynamic languages out there. Plus you will be thinking in the immutable way of doing things.
I like this explanation best, as long as they're friendly.
In Canada you go to jail for selling unpasteurized milk.

http://torontosun.com/news/provincial/raw-milk-dairy-farmer-...
When the author describes "communism" or "capitalism" he appears to be writing about his experience with them as he has seem them actually practiced, rather than the theory of how they are supposed to work according to their adherents.
See Nerdalize[0]

From their site:
Heat your home with cloud servers!

The CloudBox contains powerful servers, used by companies and researchers for their computations. The produced heat is used to heat up the water in your home. You get free hot water and save on your gas bill. And you contribute to an enormous reduction of CO2 emissions!

I think that’s a really nice concept!

[0] https://www.nerdalize.com/heating/
This is indeed an interesting problem. If you just want to minimize the number of rectangles there is a neat solution on stackoverflow [1] that uses minimum vertex cover (equivalently, bipartite maximum matching).

[1] https://stackoverflow.com/a/6634668
i don't see the problem. the content is there, it's linear, and i don't have to deal with all medium's obnoxious popups and desperate pleas to install their app or create an account.
This has always been my argument too! I understand that scientists want to start with what they know to narrow stuff down but is it not entirely possible that there's life on a planet that just doesn't work like ours? Obviously the organic structures that we're familiar with need a certain series of parameters to survive but that doesn't mean that any other kind of object couldn't end up being a sentient being.
Unfixable Google Pixel 2 XL
Meet Sato, the cryptobot and learn how to build him with Python
Recent announcements from IBM and Google indicate they will jump from ~20 to ~50 qubits. My guess is that near-term growth will not remain linear.
Yet another failure at Google, is this the end of the Pixel line?
You're missing the point.
The negative comments are about the market share. No one is saying anything negative about Firefox or Mozilla.
I switched to the new Firefox and removed chrome because I tried it and liked it better, not because Chrome is the worst. Also I'm curious how people went from Firefox to Chrome in the first place using your "move away from the worst" logic. Certainly something else happened there or FF was much worst than I remember.
I can counter this concept about the tumbling meaning it cannot be an active vessel thus: The vessel proceeds in a length aligned manner during its long interstellar traverse under the supervision of an AI which does not care about the time taken and when it nears a star system, its occupants are woken (or created) and a small bit of reaction mass is emitted in order to rotate and provide gravity for them. As it leaves the system, the occupants can go back to sleep and the rotation is halted while it proceeds to the next system.

I'm not saying that its a vessel, just saying that if it is one, then it presumably has some level of active ability, which could include the above. Thats not so far from Rama, actually.
Hmm. To this unfashionable middle-aged guy, that sounds too complicated. I buy local produce simply because it often tastes better. And, I can afford to pay 50% more for better taste.

I guess you could spin it to describe it as a lifestyle choice - my boring, middle-aged lifestyle. Like, my ‘I buy costco toilet paper’ lifestyle. That seems like a stretch. Or, maybe not.
Show HN
Service smspva.com presents opportunity to lease 4G/LTE proxy, get verification sms to numbers of GB, Kazakhstan, Malaysia, Philippines, Russia, Ukraine/ sells social nets accounts.
Good to know. I love Camtasia but my previous employers didn't want to budget for it (my current one is better in that regard but I don't need it right now).
Show HN: Gamified opt-in and list-building tool for WordPress
1,000 generations is an incredibly short period ed: genetically. Dinosaurs to people is ~20,000,000 generations depending on changes in reproductive cycles likely significantly more than that.

The shocking thing is how many differences showed up not that we are still mostly though again not 100% comparable. Remember, fertility treatments among young people are a thing and incompatibility first shows up as an increase in the natural abortion (miscarriage) rate ~(30% to 50%). You can find set's of people such that A/B and C/D are more fertile than A/D or C/B.
Plus most of modern JavaScript has most of the same benefits as Clojure anyway, especially in terms of FP.

"Modern Javascript ES2020" + lodash + immutablejs

But lodash and immutablejs don't mix ;)
and still, with either two, it won't be as consistent.

But nodejs and its ecosystem is just to hard to ignore for web apps, it really has too much good stuff (and bad too).
"Philip Thomas, Professor of Risk Management in the Department of Civil Engineering at the University of Bristol, said: "Mass relocation is expensive and disruptive. But it is in danger of becoming established as the prime policy choice after a big nuclear accident. It should not be. Remediation should be the watchword for the decision maker, not relocation.""

We can only hope that someday Mr Thomas and his family will stay in their home a few miles away from a nuclear event and agree to be exposed to higher levels of radiation for decades. I'm sure he would not want to be adding to the pesky burdensome cost of nuclear accidents (which are of course preventable).
I don't think our economic models are comparable in accuracy or reliability to a heart rate monitor.
Ask HN: Is 23andme (and others similar to it) worth the cost?
Privacy concerns aside, have you tried them? Did you really learn anything new, especially from health perspective?
> Funny how everyone talks like Mashable lost to Techcrunch. Look up how much TC got acquired for, it's actually less than what Mashable got acquired for.

Mashable raised $46m and sold for ~$50m. It was a fire sale. TechCrunch sold for ~$30m with the founder owning the majority of the stock.
> This is where your rhetoric is getting ahead of the facts. The Snowden leaks were published in American newspapers.

Snowden is being prosecuted under the Espionage Act, the reporters were threatened repeatedly by the authorities, The Guardian was forced to destroy their copies of the Snowden Archives, etc etc.

Also, just because the "secret NSA power" of National Security Letters are a tool made legal by Congress doesn't change the ethics concerns relating to their use.
So if I switch from drinking Racer 5 to drinking Budweiser I won't be able to tell the difference?
All-Time High: Ether Prices Pass $440 as Key Level Breached
Do any of the android apps support sycning over git yet?
It is a problem buying it directly from the source:

http://torontosun.com/news/provincial/raw-milk-dairy-farmer-...

Source goes to jail.
But at least Mozilla is up front and transparent about what it's doing. I'd love to know the extent of what Google/Chrome is doing...
If the manufacturer buys their own product, then they can (illegally) resell that product, and the only cost to them is shipping and Amazon’s overhead.
His FSM is a bit more elaborate than merely modeling a CAS. 3 states, if I recall correctly.

[edit: https://web.stanford.edu/class/ee380/Abstracts/070221_LockFr... See page 32]
Firefox on Andorid works flawlessly for me.

Plus, it's worth repeating that Firefox sync works without problem across desktop and mobile. The sync [0] and auth [1] servers are open source, and one could choose to use one or both on his premises.

IIRC, browser synchronization was a thing on Firefox well before it landed on chrome.

[0] https://mozilla-services.readthedocs.io/en/latest/howtos/run...

[1] https://mozilla-services.readthedocs.io/en/latest/howtos/run...
You can replace Iraq with any other sovereign country the US meddled in to "protect their national interests", there's a long list of those from which you can choose.

I don't consider it "whataboutism" to point out double standards. If it's legit for the US to meddle in other sovereign countries, to protect their "national interests" on the other end of the world, then the same behavior should be legit for everybody else because I do not subscribe to the concept of "American exceptionalism".

> I understand benefits for Russia to annex Crimea and so on, but still it's a crime and legitimacy of this action is not questionable.

I guess then it's a good thing nothing was annexed but people rather voted for independence, just like the people of Ukraine voted in "free and open elections" and everything went according to the Ukrainian constitution.
A narrative can be such a handy device, good thing it ain't reserved for exceptionalists, just like using unmarked PMC's for tasks where official soldiers would lead to international legal troubles with the ICC, which the US doesn't even acknowledge (so much about international "crimes" and "legitimacy of actions").

Let's leave it at that, it's obvious we won't be agreeing on much and at this point, the discussion has become rather OT, have a nice evening.
> Her life, up to that point, was very similar to the life that I have been living. And I am sure that, at the time, she was as optimistic about her life as we are today about ours. But she went to the UK in 1935, and she went back to China around the founding of the People’s Republic of China. Her education abroad, in a capitalist country, and her belief in individual rights and freedom often placed her on the wrong side of various political campaigns and the Cultural Revolution. She lost numerous friends and family members, including her husband and daughter during these years. She barely survived a long period of imprisonment herself. It was not until the 1980s when she managed to get a passport and could move to live with her relatives abroad. On the ship to Hong Kong, she kept thinking about her decision to return to China all those years ago.

For those of you wondering, the book he was reading is "Life and Death in Shanghai" by Cheng Nien. For me, that was the most interesting part of the article.

I know very little about modern Chinese history and this seems like an interesting place to start.

https://www.amazon.com/Life-Death-Shanghai-Cheng-Nien/dp/080...
NYTimes: Facebook Founder’s Favor Comes with Complications
Lifestyle is quite different from ideals and principles.
Pornhub debuts SoHo pop-up sex shop with livestreaming bed cam
Are those features included in BLE? AFAIK it's a completely separate protocol than regular Bluetooth.
It's curious how when certain countries or topics come up, you invariably get the same comments. China, Russia or even elon musk, there must be a standard template somewhere...

> The Chinese art of selectively enforcing their laws to the detriment of those that won't play ball with the government really makes it hard to believe Xi's press-tornado of successful anti-corruption measures.

It's not a "chinese" art. It's every government's art. All governments selectively enforce laws.

> The government has been actively extorting international companies into "joint" ventures.

That's called business, not extortion. Otherwise, everyone is extorting everyone. You do realize that all governments "extort" companies in return for access to their home markets right?

> These ventures essentially require "treats" (as an insider told me) every several months.

"Insider" told you. Right. Because you are a very important person. That the chinese government force foreign governments to form joint ventures and to share knowledge is a well known as it has been reported widely for decades.

> China's current long-term strategy seems to be:

That's the strategy of every country - especially every major nation. No major nation is keen of being dependent on a foreign nation.
Amen, brother. I pay $5/gallon for a family farm to deliver milk to my house, and have been since 2006. People think that we're nuts for doing this, then they have the milk or the yogurt I make with it.

It's helped my in my efforts to lose weight an improve my family's health. When you pay more for better product, whether it be milk or chicken or beef or vegetables, you eat less and utilize it more. Instead of seeking bulk, we chase flavor and quality.
You get property tax relief for maintaining the land as agricultural.
Upon second reading, that makes more sense, however it would be clearer if this were the case. "Chinese Communism" can refer either to the ideology which the CCP claim to adhere themselves to, or it can refer to the actual state-capitalist bureaucracy as practiced in China.
Tldr-Pages, Simplified Community-Driven Man Pages
TL;DR

Let the compiler preprocess a source file by first removing #include lines which contain definitions of macros we don't want to see expanded (expanding only the definitions from the local file or from chosen headers, achieving less cluttered and more readable output). Say we have a file like:

#include "foo_defs.h"
#define BAR 42
FOO;
BAR;

We filter out the include line and then preprocess the file, getting the following output:

FOO;
42;
How four Microsoft engineers proved that the “darknet” would defeat DRM
I think it's pretty rad, but some nontechnical people who use FF for years now say they didn't notice much, just that the have to learn a new UI
Show HN: A coding puzzle where the answer is a private key for a Bitcoin address
A lot of the response focuses on the questionable morality of making this decision for the people who will be affected, and trading dollars for lives.

Maybe we should shortcut that whole issue. Unlike most instances of pollution, we have a case where a single entity is clearly responsible for the contamination. That entity should be required to offer a buy-out of all property in the affected area at pre-accident market prices. They can then resell at whatever price they can obtain. If the damage caused by the contamination is small, the difference between the prices will be small, and their loss will be small. If their victims don’t think it’s worth moving at all, the loss will be zero since nobody will accept the offer.

Something tells me that this idea will be rejected as being too expensive, which should be quite telling.
Yeah, nothing like waking up one day and discovering that my add-ons have all been disabled...
Well, large parts of Chrome's market share is caused by their aggressive marketing, which is likely quite effective with casual users. And those probably won't switch for performance or privacy reasons.
Several members of my family and I have used 23AndMe. It's interesting. I haven't logged into the site since about a week or two after getting it, but the health stuff was interesting (didn't really learn anything new but it was cool). The ancestry portion is the biggest appeal for most people, and my mom gets a kick out of it as she's into genealogy.

On the other hand, where it was a novelty for my family, it has ruined others... so make sure it's a door you want to open. ;)
As DOJ calls for “responsible encryption,” expert asks “responsible to whom?”
I'm in Northeast too I'm going to miss my backyard cherry tomato until next year.

It's quite fun being able to control acidity, sweetness, texture depending on when you pick them off vine.
Something similiar already exists if i understood you correctly. Look up 'community supported agriculture' (CSA).
I'm holding on to FF56 until an equivalent to my beloved tab tree extension[0] is available

[0] https://addons.mozilla.org/en-US/firefox/addon/tab-tree/
That's funny because gmail on Quantum was actually the final straw for me. I was liking what I was seeing trying Quantum out and then I loaded up gmail and boom it worked and looked better than gmail on Chrome and I was sold.
50 Christmas Gift Ideas for 2017
> For a government to extort companies to give up their IP is to steal, no mincing words.

That isn't stealing. That is negotiating. You act like companies have a right to the chinese market.

> Chins wants to be competitive at someone else's R&D expense.

And our companies want access to the chinese market at china's expense.

> To claim this is some Robin Hood scheme that will bring equality in the world is to say stealing from rich countries is ok

The chinese aren't claiming to be robin hood.
"Design patterns are bug reports against your programming language."

– Peter Norvig

http://norvig.com/design-patterns/design-patterns.pdf
As someone who is educating oneself in journalism in hopes to ride the "pendulum" toward "quality content" of the likes you speak of, what do you imagine are the next steps? How can one contribute right now for a better journalistic future?

Is this the stage where all of the "shallow" players fall while "quality" players begin to rise? If so, using what model, as advertising, in its current form, is an insidious factor? Will advertising need to change first? How will quality content creators reach people and make a living once the pendulum swings full?

I find it hard to see. During my recent experience at Thanksgiving dinner, memes seem to have reduced some people's thoughts to a base level. I do hold hope as I believe, as you do, this is cyclical, but the stage is vastly different than it was in the past.

edit: themselves/oneself
20 years later a child has some sort of disability and you are ready to kill yourself, even if the disability is not from radiation. Never mention cancers or even coughs--"it might be from radiation, I'm probably gonna die."
And that's if he's right, a big if, especially when dealing with lives.

Thanks, but no, Mr Scientist.
Agreed. Seems like everything is being tied to productivity. As if the purpose of our existence is to be "productive".
But most people aren't even going to try Firefox. Unless Google do something seriously stupid with Chrome, the average user has no incentive to move. Chrome is good enough.
For those wondering how and why the wealthy can acquire these types of clearly stolen property, theres a great report with associated podcast dicing into all the machinations and legal wranglings surrounding a piece of art that was stolen by the nazis.

For the most part the legal maneuvers likely would have stalled out if not for the leaking of the Panama Papers years ago which shed light on who owned which shell companies, and how, etc.

Heres the short version of the article, theres also a more in depth podcast:
https://www.npr.org/2016/04/12/473856459/panama-papers-provi...
North Korean defector describes 'life of hell' for Christians
I tried it for a week hoping to reduce the amount of swapping my laptop did during a normal workday. It wasn’t any better than chrome unfortunately and due to the lack of workaround extensions like the Great Suspender it was actually worse.
Introducing AWS Glue: A Simple, Flexible, and Cost-Effective ETL Service
Maybe it's my cultural heritage, but for me a sandwich - at least the one I eat on a regular basis - has to be made from fresh ingredients.

I am not talking about the taste: I am sure you can make anything asymptotically tasteful, but I do not want to eat a sandwich that resists unaltered for weeks.
I feel your pain but from a different angle, I am trying to find a job right now that is clojure and either its on site in SFO (No thanks) or in London. Breaking in seems hard enough and then hearing stories like this don't instill confidence. I really hate it because going back to dealing with OO is actually painful, it just seems like it's building up a whole big skeleton for little benefit.
As Evan Czaplicki (creator of Elm) said:

“If functional programming is so great, why is it still niche? We have a product that can practically eliminate runtime errors, make refactoring much easier, lighten the testing burden, all while being quite delightful to use. What’s the hold up?”

- http://www.elmbark.com/2016/03/16/mainstream-elm-user-focuse...

I'm just getting into Clojure and enjoy working with it so much that I don't care if there are job opportunities at the end of it to justify the time investment and mind-reboot. It's the first language that I didn't feel like I was fighting, and Parinfer has made all those “weird parentheses“ a joy: https://shaunlebron.github.io/parinfer/

That said, there do seem to be more opportunities than last time I looked at Clojure/Scala/Haskell (Functional Works, mentions in HN Who's Hiring) – it feels like people are waking up to FP ideas after React stormed the front-end scene.
IceCube turns the planet into a giant neutrino detector
I don't disagree! It has didactic value.

But that's not really the premise I was responding too. Plus, I obviously enkoying being The Person In The Room talking about how the state of the art in sort puts it at linear time and right up against the edge of the information theoretical limits for bitwise comparisons.
Generally, the new FF is great. One small criticism - their GPU accelerated CSS animations are a bit choppy on mobiles (these a generally very smooth on chrome and Safari).
I thought it was brilliant. He "innocently" exposed the whole class as a hoax.
This will only work in a market with perfect information. When it comes to anything nuclear, I don't think it is controversial to state that this most definitely is not the case.

The point of scientific study into this kind of thing is exactly what we need to be objective as a society, and this should be encouraged.
Agen Judi Dewapoker99 Terbaik Di Indonesia – Domino88 – Pokerbola
IIRC Hasn't some of them already been ported? (Tree tab and Tree style tab) Maybe you can try the alternatives.
> A) Bitcoin is congested with transactions and takes hours to process some of them

> B) Bitcoin fees are through the roof, it sometimes costs as much as 25% of the value of a transaction to send it

It's going to be fun to watch when a market crash happens and everyone tries to sell off at once.
Apple's Tim Cook: If You Work Only for Money, You Will Never Be Happy – Fortune
EU backs Ireland on Brexit as government faces defeat
Whats your build?
The Benefits of Leveraging Containers in the Financial Services Industry
It's very common for people selling food at farmers markets to farm some, but not all of the food they are selling. If nothing else some years some crops will fail.

Remember, specialization increases efficiency. As long as what was sold is the same thing as what's being described aka Local / Organic / whatever I don't see this as fraud.
I've switched entirely to Firefox, but I have had some issues where I input an address on Android and the Browser doesn't navigate.
What if we divided up everything evenly among everyone.What is our ‘fair share?'
Could someone explain the point of this article? All I'm getting are:

* Everything is random.

* A generic Chinese man, who did really well on one test is smarter than most people in Britain.

* Americans, who are capitalists, don't seem to want to focus their lives on the supposed end goal of capitalism.

* MBA programs are nuts, especially if you are on the spectrum.

I'm probably wrong about most of those, but like the author, I just don't see the coherent picture.
A man who shared his books and multiplied them (2012)