skysight-inc/HackerNews huggingface dataset:
Yeah. Some existing algorithms are more easily expressed with mutability, and for FFI it's very needed; I think some community-wide messaging regarding this is good enough. Constraining them at the type level might make adoption a bit harder.

We're just a syntax for OCaml; we don't change how it runs. Same GC. Reason's mMuch less sophisticated than you think, but also much fewer unknowns. https://reasonml.github.io/try/

The goal of Reason (and of BuckleScript) is so that people can convince their coworkers that OCaml isn't an esoteric unmaintainable language. BuckleScript is JavaScript: The Good Parts: The Good Parts.
I thought lactose intolerance is the main reason why people skip animal milk. The OP mentions that this farmer is going for oat milk for environmental reasons.

Not sure what the original etymology of "Milk" but it seems to have evolved from just referring to mammary liquids to liquids of a smooth, translucent or opaque consistency, e.g. Milk of Magnesia.

I always use dairy milk for coffee and found it odd why people would use soy or almond milk. I guess both have fat; do plant fats react to coffee in the same way that dairy fats do?
The recommended plugin is https://marketplace.visualstudio.com/items?itemName=freebroc...
yawn...

# of f to give == 0
A refreshing read in an age of 'personal brands' and the like. I thoroughly hope there are others cut from the same cloth, doing the same kind of quiet good work today - not for pageviews or followers, but because it's the right thing to do.
incorrect: https://en.wikipedia.org/wiki/Dog#Diet
> fossil fuels are a renewable energy on a large enough timescale

No they're not, at least coal isn't because it was formed from trees and other heavy cellulose based plant matter that wasn't broken down by microbes millions of years ago, but would be broken down today. Oil and Methane may be "renewable" but not in a timeline worth considering.

Switching to other methods of generation would fix the problem of climate change caused by the release of CO2. Other issues are definitely important, but not on the same level as unchecked global warming.
I feel like most of the world outside sv is actually somewhat unaware.
When something is referred to as fractal, does it always imply a degree of self-similarity? As I understand it, Mandelbrot developed fractal geometry as a tool to examine the "roughness" of reality as opposed to the smoothness of calculus and fractal dimension is a measure of complexity at every scale, with a self-similar pattern being an easy example to follow.

If that is so, that the universe has a high degree of complexity at every scale, is that really controversial?

Here is an excellent 20 min introduction to fractals: https://www.youtube.com/watch?v=gB9n2gHsHN4
The Future of Computing Depends on Making It Reversible
My dogs eat only raw meat. Cooked meat can remove important nutrients like vitamin C from the meat that dogs rely on. I also supplement my dogs with 150 mg/day of magnesium glycinate. I shudder when I see these prematurely aging dogs at the park, thanks to neglectful owners only feeding them scraps.
Haskell has one - called GHCi. By these criteria:

1) You can define new functions (and values, and types, type classes, instances, etc). You can "redefine" these things only insofar as you can shadow them.

2) I'm not sure whether they mean the ability to persist your state to disk and restore it (which GHCi lacks), the ability to refer to previous results (in GHCi, the previous result is called `it`), or just the ability to bind variables (of course you can do this in GHCi).

3) Usually "Show" instances are meant to be embeddable in code. Sometimes they need a little massaging. Sometimes they're just broken, from this POV. Sometimes they're just broken, period. But it holds for a lot of values.

4) You can run GHCi in the context of your project (see cabal repl and stack repl commands).

5) GHCi very much fails at this - no way to add anything to a module, so far as I'm aware.

6) GHCi more-or-less lacks this kind of functionality. You could run your server's "main" function from the REPL, but there's not much you can do to it.

7) :reload

8) There's an increasing amount of such tooling; only some of it has any particular tie to the REPL, per se.
> The Phi... definitely slower.

See? Always surprising.
I should have said conservative media.

CNN had no problems attacking with everything they knew, but they avoided excess speculation and treated the Charlottesville attacker the same as Hodgkinson... which was my point.
Genuinely curious: do really only work 10 hours, including email and other forms of communication?

Do you think you could get more done working 20 hours / week, or do you only think you have about 2 good hours of coding work in you per day?
Of course it's becoming mainstream. Quality of life for most people has been declining in America for a while. Trust in our government is at an all-time low. Most people don't have _any_ friends, let alone a sense of community. Much of the country is _still_ recovering from the economic crisis, even though the stock market has fully recovered. An unexpected illness can bankrupt most families in the country. Social mobility is going down every year, and it's basically a requirement to be in the top 20% of performers to be able to live comfortably. Political partisanship is higher than ever. Old forms of media have been recently exposed as rigged and controlled by the rich, and the new forms of media online provide so much input, most people can't emotionally adjust.

With an increasing anxiety on the state of the nation and a decrease in security for most people and their families, it's only natural that prepping would become mainstream.
Price crashes cause longer term price increases. The problem scenario is that a huge increase in cobalt demand could lead to a big oversupply of nickel as happened in 2007[1]. Mines are cash-poor so it only takes a few years of bad prices for most of them to go bankrupt and be forced to sell their assets. Since nickel and cobalt are mined side-by-side, the price of cobalt skyrockets to make up for the low nickel prices. Supply and demand bounce all over the place and the uncertainty makes it super unattractive to investors, which makes it harder to open or upgrade mines, which long-term raises prices.

Ideally careful pricing would avoid that situation, and most nickel mines will also be selling cobalt and will be well aware that nickel prices will be affected. However pricing is never perfect and the possibility of a crash is still there.

Also, lithium futures would get trashed, which would be bad for anyone invested in them.

[1]: https://en.wikipedia.org/wiki/2000s_commodities_boom#Nickel
Although LINQpad is awesome, the newer versions of Visual Studio have a C# REPL built in -- (https://github.com/dotnet/roslyn/wiki/C%23-Interactive-Walkt...)
A vegan kid seems like a preferable replacement.
It's interesting digging around in UNICOS.

They supported virtualization pretty early in the 90s it looks like, reading the interface for UNICOS on UNICOS
your early access form on the front page is messed up, (the form sends to http://sagefront.co instead of http://sagefront.com)
The article lists the malware family as Sakura but the breaches appear to involve to a RAT called Sakula. [1] There does appear to be an exploit kit named Sakura, but it not associated with any APT campaigns.

1. https://www.crowdstrike.com/blog/ironman-deep-panda-uses-sak...
That's not feasible. Even the most isolated nation-state in the world (i.e. N. Korea) has a hard time getting its high tech projects finished if all of the other countries are working against it. And they have the advantage of a fanatical following and oppressive control of the military and media.

Something on this scale would be pretty much impossible to pull off if all the G-8 countries put you/your company on an embargo list for high tech materials.
This is the guy who made a huge tactical mistake when Booking.com was challenging Expedia by choosing to stick to merchant model (i.e., buying inventory) as Booking went for the agency model (i.e., lead gen).

Expedia has moved to an agency model since but the damage was done. Booking managed to get far more inventory, capitalise on more search/PPC traffic and blow past Expedia.

Wonder if he's going to make a similar kind of mistake and misread the transportation market.

Props to a fellow originally Iranian though :-)
That's going to be one of the toughest jobs in tech at the moment. Wishing Dara all the best to turn it around.

Also respect to the shareholders for not Ellen Paoing the selection processes and doing everthing to satisfy the diversity lust of the opinionatos!
I have never understood the big deal about organ donation. The dead person no longer uses the liver or whatnot and has no opinion. The other 98% of the body will be discarded anyway so why not recycle?
My girlfriend's sister lives there and works at an oil refinery as an engineer. All production has been halted and plant shut down. She hasn't been able to leave the house in a few days, but says people are still trying to drive.

If I'm correct, they only predicted a smaller amount of rain and now have this. I hope everyone stays safe.
I think I just need to draw everyone's attention to this little parable on why shoehorning Linux into things isn't always a good idea - http://i.imgur.com/znJEV92.png
I use Scala.js at work. Take my advice, try BuckleScript/Reason. You will:

- Save significant amounts of time during each edit-recompile cycle (this really adds up)

- Get better type inference and write more succinct code

- Deploy tiny artifacts thanks to BuckleScript's aggressive dead code elimination, ES6-style module output, and rollup.js's fantastic tree-shaking

- Have fun coding
Why? the Phi uses customized Atom cores but a lot of them, it's not designed to execute normal x86 code particularly fast.

It's designed to be 100% code compatible, you can boot windows/linux on it and run your programs with the specialized SIMD instructions for actual throughput.

You get code compatibility, cache and branch management from x86 CPUs and near GPU speeds (or even faster for FP64) for SIMD instructions.
Germany draws up rules of the road for driverless cars
Like most mammals, dogs are able to synthesize vitamin C.

Humans and guinea pigs lost the ability to mutations.

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3145266/
It's rather sad that the only thing a trained journalist can find in 150 letters written by a hero of the first order is “I would not like the journey, and I detest America.” - a remark made once by him.

I'd like these letters to be analysed by people who could make some real sense of them and put them into a decent context. Finding a throwaway remark that many have made on the spur of the moment and headlining it is a bit crass.
I don't understand what the fuss is all about, last time I tried AdNauseum it barely detected and clicked very few Ads, maybe one or two on really ad-heavy popular websites, and many issues on github confirm that its detector is quite finicky.
What can be called wine and what not differs between countries. The cheapest wine is often a mix of material from a grape plant half fermented to be mixed with water, alcohol and sulfite to create and bottle the "wine" in the country of destination. I imagine that kind of thrash is not allowed to be sold inside France.
“Ingrid Goes West” revels in everything wrong with Instagram celebrities
Which is the most dishonest way to try to insult someone so 10/10 on that.
This sounds like an ad for the project at the bottom of the scribble...
It's part superstition and part weird fear that doctors will let you die in order to harvest your organs.
I think REPLs work better in languages that provide 1st class immutability support, since it's easier to set up state once, then play with functions without having to re-set up state every time you tinker.
Fascinating. The article mentions that they use some kind of software to help with the design. I wonder who developed it, is it in house, or there are companies in this niche market?
Yes, Cohttp is from the folks who developed the Mirage unikernel: https://github.com/mirage/ocaml-cohttp . They make lightweight stuff that runs blazing fast.
Increasing numbers of wingsuit jumpers are dying (2016)
doing work on your car always voided your warranty, with good reason. That's not a realistic thing to ask. It's realistic to ask for the UI and apps to be open-source (say, something like android), but even that would be an incredibly open thing for a non-software company to do. I still think it's very unfair to call them extremely closed.

However, I really do wish they'd adopt a more android-like ecosystem.
I watched those two and I wouldn't work for that guy.

I know nothing about expedia but it sounds like airbnb ate their lunch. That and google.com/flights.

But that's just a few minutes. Hacker News tends to have smart people with domain specific knowledge. Any of those around who know this guy? What's your take?
A psychologist said that for some people these kind of objects are a modern ethical way of owning a slave - someone dedicates one year of it's life to meticulously create an object that you then buy, essentially being your slave for a year.
Tough? Uber is already leading the market. Their only competition is from Lyft, which from what I understand isn't nearly as popular as Uber. All they've got to do is lead a PR campaign to shift public perception & they're golden. Or am I missing something?
Looks like VS Code is about 332 thousand lines of code. Facebook and Google's codebases are measured in the tens of millions of lines of code.
How could I incrementally migrate a TypeScript React project to a BuckleScript (maybe using Reason bindings) React project using webpack? Could I easily add the bs-loader and just import BuckleScript components into my TypeScript components? Can BuckleScript share types with TypeScript or would that require an external TypeScript type definition file?

It looks very interesting and I am really missing some of the features when working with TypeScript. It could be useful if I could slowly transform the codebase from TypeScript to BuckleScript.
Postfix has always (or, at least, as long as I can remember) used something very similar to that idea for all of its various user, alias, virtual, etc. tables. It's mostly transparent to the user, but when you run postmap, you're creating a key/value database (for those who don't know, cdb was djb's efficient key/value database implementation way back when) of the things in the map file.

It can even use cdb as a backend, but realistically for the kinds of map tables one works with in a mail server, any of them are Good Enough(tm) because the entire data set will always fit in memory (even if you have an absurdly large mail server with 100,000 mail users on a single system, it'll still fit in RAM).

We used to get a lot of people wanting MySQL support in our mail stack, which I actively have always discouraged. It's (orders of magnitude) slower, harder to maintain, and provides no benefit for the vast majority of deployments. For whatever reason (maybe just that fewer people want to host their own mail beyond sending mail from apps and notifications from the system itself), we get a lot fewer requests for it lately. Maybe I finally convinced everyone it was a bad idea.
Privacy Respecting Services and Software
I guess Mathematica has the most advanced interface in that respect. That's what inspired all the other repls like Jupyter.
Researchers Announce Nuclear Fusion Breakthrough
You've been posting a lot of unsubstantive comments to HN. Would you please (re-)read https://news.ycombinator.com/newsguidelines.html and stop doing that? We're hoping for a higher quality of discussion here. In vain, perhaps; but still hoping.
(not sure if this would also leave you susceptible to actual malicious addons)

If you want the extension without flipping the about:config entry. You can open up the extension in something that can handle zip files, edit install.rdf, and change the extension id to something else. Of course that will need to be done for every update of said extension.
Ooh handy, thanks. I'll put this alongside the incredibly useful 'Kill Sticky' bookmarklet that kills overlays.
From the Slideshare description:

> Slides for my talk at the inaugural #UptimeConf in 2017. Video to come.
Looking forward to giving this a tryout. We have a server-side Node.js project where performance is terrible, and memory leaks happen that are almost impossible to track down; I need to rewrite it, and I was thinking Go, but this project also has a bunch of code that is also used by JS clients; so something JS-compatible would be better.

What's BS's story when it comes to interfacing with async code? In particular, all my Node.js code these days is promise-based (I promisify all callback-type functions, except for event-based ones that I try to wrap) using async/await. Do you still have to use promise calls in BS? Or are compatibility operators offered for chaining async calls more elegantly?

What about async in general? OCaml has LWT -- can you use that with BS and still run on Node.js or in the browser?
I think that's one of those decisions that only look better with hindsight though. The merchant model had absolutely monster margins compared to the agency model (especially with bundle deals that provided a defensive moat) and Expedia was in a strong negotiation position vis a vis hotels that they didn't want to lose.

I think a lot of people were surprised at just how much inventory was out there and how much the merchant model hindered going after that extreme long tail.
https://news.ycombinator.com/item?id=15113613
You are also not presented with a form to opt-in in Denmark, and you have to request a form in order to opt-in.

So the chart is exactly as is stated.

In opt-in countries you have to contact authorities to opt-in and in opt-out countries you have to contact authorities to opt-out.

The author has a moral position made clear early in the article, when saying that more than 99% "failed to opt-out".

No they didn't fail to do anything. They either chose not to, or did care enough about the subject matter to make a choice.
An all out thermonuclear war would be the end of the human race. Thankfully, it won't happen simply because thermonuclear warfare is now obsolete. An all-out electromagnetic nuclear war is its successor, which would only spell the end of our civilization. But chances are we just devolve into civil wars breaking out and a few viruses. Our base case is a 25-33% fall in population in one generation. Bottled water won't help. Large rain water collection systems are a lot more likely to give a survival chance.
I am self-taught. Spent at least 2 hours a day learning everyday in my mid 20's. I think it is critical to find an experienced dev or engineer to be a code mentor and to be disciplined and give yourself realistic challenges and goals.

Doing it the way I did saved me probably 10-15k and an expensive move. It may seem like an awesome idea to join a bootcamp, but just remember that you may be able to create an even better (and cheaper) environment for yourself with a little dedication and creativity.

An aside: it really scares me how camps tout Backbone and React like they are the only frameworks you will ever need to know to be employable. It is way more important to figure out how you learn, so you can keep pace with changes when they come, because they always do. Just my experiences, and I would certainly never look down on anyone who did attend a bootcamp. Different strokes, as they say.
Tough because they're not making money.
This breaks the HN guideline against not taking HN threads on flamewar tangents.

Would you please (re-)read https://news.ycombinator.com/newsguidelines.html and follow the rules when commenting here?
It all depends upon how they are built. I remember a number of Queenslanders ended up floating away because the waters went above floor level. http://www.abc.net.au/news/2017-04-02/floodwaters-sweep-away....

They tend to not do very well in cyclones unless the builder has been very careful about tying the stumps to the floor to the walls to the roof.
Anyone arguing against AdNauseum is totally missing the point here. We, as users, could not possibly care less if your site goes out of business because you are unable to come up with another form of monetization. Something will rise up to take your place that is more user friendly. The market will find a way.

I somehow strongly doubt that if the current paradigm of ad based revenue were to disappear overnight, that no one would figure out something to take it's place and that the internet would become a barren wasteland devoid of content. As it is now, there is zero incentive for content developers to look for any other solution because the status quo is so ingrained in people's minds that we have just accepted it as "the way things are". This is very clearly starting to change, and so yes, there will be collateral damage in the mean time. But the Web that emerges from this change will be better for everyone involved.
expedia stock up 5x since 2012, market cap 22b, their lunch has not been eaten.
They still compete with taxis, and the regulations and labor laws that govern taxi-like services. At some point, they'll be dealing with the effects of self-driving cars. Even though that may be a decade away, Uber has been operating at a loss to the tune of hundreds of millions every quarter even as revenue increases [0]. It's not about to run out of cash but it has plenty of existential threats to contend with.

[0] https://www.cnbc.com/2017/08/23/uber-q2-earnings-loss-narrow...
I would say they are missing a key concept: profit. You can only provide a service at a loss for so long.
Weird. I would expect a lot of potentially nice Grüner Veltliner type of wines from CZ. The EU works in mysterious ways.
Or the superstition that the organ will be harvested while you are still alive.
Talk about judging a book by its cover. Surprised as well that this sort of sentiment comes from a forum which loves to complain about hiring practices in tech.
Nuclear power is the root cause of nuclear weapons.
IDs? You mean forged 身份证? That's the only ID that matters if you're in China unless you're a foreigner.

It sounds hard to fake a 身份证 because there are systems to validate their info. You'd get caught pretty quickly.
With the USS McCain collision, even Navy tech can’t overcome human shortcomings
Expedia owns a ton of business lines. You've almost certainly used them whether you realize it or not. They've diversified far beyond just selling hotel rooms. Definitely not Amazon level of dominance but not dying either.
https://en.m.wikipedia.org/wiki/Death_of_Elisa_Lam
I work in this space. What specifically are you thinking about? As another person said, image analysis is very application specific.
It occasionally shows up in the local syndicated media outside of SV and major urban centers, however in my opinion you're correct, most of the US could hardly care less. Most people are properly too busy leading their own lives to obsess over the latest vapid drama coming out of a tech company.

Americans in general likely care as much about who is running Uber, as they do about who is running Expedia or Priceline. Which is to say, it simply does not matter to 99.9% of people and it never will.
You can't exactly expect all war deaths to come with trials though.
Expedia CEO Dara Khosrowshahi will be offered the job as Uber’s new CEO
I would also pay 10k / year to save 20k / year.
Zcash has a "selective disclosure" feature. Not sure what else there may be.
I'd offer my data set but, on spinning rust, it takes ~9 days to import my ~1.5 billion records across my 3 tables.

You might try mysqlslap for a basic test.