skysight-inc/HackerNews huggingface dataset:
> I hope the NeXT Mac Pro will have a factory option for both AMD and NVIDIA GPUs. Dual NVIDIA GeForce GTX 1080 GPUs would be nice

Pretty sure the next Mac Pros are going to use AMD Vega GPUs, as they're about to be released. The recently announced AMD Instict version will hit 12.5TFLOPS, faster than the 1080.
> Apple came there, wanted to be first again

Interesting point. Got me thinking about how the iPod was not the first MP3 player, and how the iPhone was not the first smartphone. I believe the philosophy was "don't be the first; be the first to get it right."

It's a little disappointing that they haven't been so magical lately.
Mostly, it's about perseverance, and luck.
I implemented such a solution in a React app and I really appreciated the ability to apply pending state changes without mutating the state itself.

I don't know of any open source libraries for the command queue itself. If your state changing commands go through some kind of layer that you control then this stuff is easier. When I implemented it, I first refactored all the commands to go through the same code path, which I could then modify to implement the queue.
There's nothing that makes typed languages inherently more verbose; a Haskell script will tend to be substantially shorter than the equivalent Python.

Rust gives you much more control over how your program runs, but this necessarily means paying a price in expressiveness.
Nope, Gawker's electronics blog is Gizmodo. Also Gawker is more of a gossip rag than a 'revenge porn outfit'...
Yup. And they could have started by shipping a more compatible USB-C cable, instead of shipping a USB 2.0 one.
Lately, I've been thinking about how important or relevant industrial design is to something like the Mac Pro. Had Apple continued to use a tower form factor with yearly revisions, would we even be having this conversation? Faster CPUs, GPUs, storage, and the latest macOS. What more does the Pro need? My thesis is radical industrial design is non critical for a professional product as the Mac Pro.
How Google.org Stole the Christmas Spirit
That's possible but it's also likely that he didn't mention the Mac Pro or Mac Mini because those haven't been updated lately so it would just come off as out of touch to talk it up.
There are more developers for the web than for C++ GUI applications. Building a cross-platform application using C++ is not a simple task in the slightest and it's even more difficult finding talented developers to accomplish the goal.

It seems like a no-brainer to me, building a cross-platform application use web technologies makes the most sense from a business pov.
This is a pointless debate, but I'm sure he had other priorities at that time.
http://www.ndtv.com/india-news/who-knew-pm-narendra-modis-bl...

> Prime Minister Narendra Modi handpicked a trusted bureaucrat, little known outside India's financial circles, to spearhead a radical move to abolish 86 percent of the country's cash overnight and take aim at the huge shadow economy.

> Hasmukh Adhia, the bureaucrat, and five others privy to the plan were sworn to utmost secrecy, say sources with knowledge of the matter. They were supported by a young team of researchers working in two rooms at Prime Minister Modi's residence, as he plotted his boldest reform since coming to power in 2014.

> It was made up of young experts in data and financial analysis; some ran Prime Minister Modi's social media accounts and a smartphone app that he used to solicit public feedback.
Yes! Here's what happens when you don't do the right thing:

error: 'id' is declared as an argument...
--> src/main.rs:8:9
|
8 | #[get("/<id>")]
| ^^^^

error: ...but isn't in the function signature.
--> src/main.rs:9:1
|
9 | fn hello() -> &'static str {
| _^ starting here...
10 | | "Hello, world!"
11 | | }
| |_^ ...ending here
https://docs.google.com/spreadsheets/d/1VgQgL6Hh0JTqMqNCedEo...
From the article:

> That domain fronting technique has already been used by other encryption and anti-censorship tools like Tor, Psiphon, and Lantern.

(This doesn't answer your question, but it does raise the possibility that it's begging the question.)
When it comes to many ocean fisheries, we are literally scraping the bottom of the barrel, unfortunately.

Take for example slimeheads (marketed as "orange roughy" in the USA). These fish live deep in the ocean, can take decades to reach reproductive maturity and a marketable size, and can live up to 149 years. Harvested by bottom trawling, their commercial exploitation causes tremendous damage to the seafloor. Just some food for thought the next time you sit down in a restaurant and dine on a fish that is likely older than your parents.
Nate Silver sends out apocalyptic tweet just in time for the holidays
My concern is for how power gets exercised in a harmful manner such that it actively victimizes the most vulnerable members of society. As a mother, this is the opposite of what I understood my role to be.

I don't care about diversity in leadership. I care about leadership that doesn't flush the whole system down the toilet so thoroughly as to cut even their own throats in the process.
Indeed, I'm British and certainly not young. Never heard of it over here... and I just asked around and nobody around me has.
I believe Rust's package manager, Cargo, is quite similar to pip in functionality. I haven't used it myself, so I could be wrong.
Yeah, look into using Promise.all. You're probably looking at a good few hundred lines of code reduction. What you're describing as a "command" (request / state update) is just a promise with a map function applied. Your "simple queue thing" can just be an array that you fire Promise.all at.
Acceptance and empathy. It can take a lot of practice. You need to ascertain where the person is mentally and emotionally, and meet them there.
Just a comment on the pastebin example ( https://rocket.rs/guide/pastebin/#uploading ):

UUIDs seem like it would be easier to use for demonstration : https://doc.rust-lang.org/uuid/uuid/index.html

And Cargo.toml declaration might need an extra sentence or two to explain the "features" part but that shouldn't be too bad:

[dependencies]
uuid = { version = "*", features = ["v4"] }
Russian tracking of Ukrainian Field Artillery Units via Android Malware
I'm mainly an app developer that transitioned (a long time ago) from native to web apps, tired of code duplication. I'm well aware of other options.

The web comes with its warts, but I've yet to see an app platform as ergonomic and comfortable for the developer as the web. For 99% of my use cases, anything else is overkill and too much of a hassle. It's not the web's fault that it's a better app platform than actual app platforms.
> Not exactly sure what you're asking

Pardon me, that was "curious" as in "exciting attention as strange, novel, or unexpected" [1], not short for "I am curious". That said, thank you for your comment.

> one could just as easily come up with a scenario where the VC guys earn more

When comparing carry-on-distribution versus carry-on-mark, ceteris paribus, I don't think so. High-water marks and clawbacks help, but they're ultimately a patch for a time-horizon mismatch between the LP and the GP.

Note that I wasn't comparing VC and hedge funds. I was comparing how they calculate carried interest. A hedge fund manager charging carry like a VC would assess on redemption, or at least only when a position is sold. The liquidity and transparency that benefit investors also give hedge fund managers another way to charge fees.

[1] https://www.merriam-webster.com/dictionary/curious
Why is price discovering meaningless? It only seems like that on the surface.
An error of 7 meters would probably mean the FAA would refuse to certify GPS for aircraft use. Even now it's only usable in many circumstances with ground based corrections (eg WAAS or GBAS). A minute of error would probably make it unusable for enroute navigation.
Calling `cargo run` has made it easier for me to treat it as a scripting language since it combines the build and run steps in a single command. Good luck with it!
Don't tell the Mormons, they'll try and twist it somehow to prove their history.
What Amazon ad didn't show is a huge cart full of items which will have to be unloaded into the car then again from the car to the house. That's not negligible when the weather is cold.
It really dedends on what you are doing, but if you are building small scripts that aren't necessarily reliant on specific libraries, Nim is probably better than Rust.
There is a huge number of applications for which the web is pretty much the only platform that makes any sense at all.

Compared to making a cross platform native application that works on Linux, Mac, Windows, Android, and iOS, making a web app—even with offline support—is delightful and efficient.
> It pretty clear that if you support python 3.6 you should use `f` strings.

And if you support any earlier version of python, you cannot use f strings. Hence, there is a conflict between improvement and backward compatibility.
http://qz.com/868980/vijay-shekar-sharmas-paytm-is-paying-a-...
I love the idea, but I'm just not sure that this is the 'hard' part of the problem, so I end up feeling like these are solutions in search of problems. Maybe I just don't grok how these contracts are interestingly different from other types of contracts.

Incidentally, one of my friends is working on such a block-chain based app: http://www.agriledger.com/

I still don't understand it, even though it seems cool.
Completely fails to address how anything "blockchain" consumes tons of resources and has horrific latency.
Dont worry :) soon the other ways will be deprecated. There can be only one _pythonic_ way to do it.
This is a narrative, it's not what happens in reality.
The language in the IP agreement I signed said the exact opposite. Engineers from the group I was in left because of this. Can you elaborate?
We're using Elasticsearch for event logging -- where "event" means analytics event, e.g. a page view -- and it's fantastic. The aggregation support is superb.

We initially used Influx, but it could not perform well at the time (0.8). Our events are also heavily label-based. Basically, we do ETL at the time of write, collecting multiple documents into one mega-event, which is a complex, nested JSON document. It may have perhaps 150-200 fields. A single event may be something like "clicked button X". By storing the original document, we can aggregate based on any field value, including text and scalar fields, without having to think about a schema or about planning ahead of time what fields should be indexed or not. ES handles the rest pretty well.

To do the same thing with Influx or Prometheus I suspect we'd have to reverse this and store the document as the labels, along with a single count (1) as the "metric". I don't know how well Influx etc. scale with number of unique label values, though I'd love to find out. The last time I read about this, I think they recommended not going overboard with them.

What's different with business analytics is that the end product is typically multidimensional rollup reports over large time windows (number of page views per customer per web property per month, comparing by 2015 vs 2016, for example), and it's almost all "group by count", sometimes "count distinct" or averages. Whereas "rate per second"-type metrics aren't used anywhere in our app, for example.
With respect to the keyboard, at least in the reviews I've been seeing, a lot of people seem to be OK with it after an adjustment period.

In terms of battery life, I'm with you, I'd rather see Apple get as much life out of the maximum sized battery that the TSA will allow on a flight (100Wh), but I don't know that I would call it a big mistake, since it hasn't hurt the sales of the new MBPs. I think they could do that in a chassis the size of the 2012 and earlier 15" unibodies. They'd also have plenty of room for legacy ports too. Those 15" unibodies were the sweet spot for me in terms of size and user upgradability.
> (which I think is being merged with std)

It's on that path, but it's unclear if and when a literal merge into std will happen. Right now, the design of 1.0.0 has been accepted, and once that lands and is released, it will move from "the nursery" to the regualr rust-lang org. From there it could go into std, or it may just stay there forever.
Can you serialize a promise to localStorage?

How do you deal with network failure in the middle of the promise array?
What the Mac Pro needs is commitment. Whatever shape they want to do is irrelevant if they keep it up to date and with good support.
From my experience, larger/unbagged items seem to be what they stop you for.
They also don't offer or explain any solutions. I've found the 'falsehoods' articles are good for generating discussion and not much else. They make the writer feel clever, without having to do anything.
Steam is down everywhere, and we don't know why
Hi idreyn,

we actually have motion tweens implemented! (They're just not represented in the GUI as well as they should be yet) We'll have a demo up for them soon!
Blockchain and IoT are so 'B' ark.
Spotlight has given me so many headaches in the last few weeks that I'm seriously considering investing the time to understand it well enough to build an app to wrestle it to the ground and beat it over the head with a big stick. If only there'd be a reason to do it other than "gain control over my life again" ..
I can think of valid reasons to disable browser cache/cookies/localStorage that are completely unrelated to the storage of web app data. It is a side effect of web apps primarily using those methods to store user data when they don't want to store anything server side. They are designed to use local storage! That's one of their "perks".

Cookies/cache/localStorage works for most users. I am not most users and I recognize that. My criticism is that the primary method of persistent storage is fundamentally flawed and makes most web apps completely unusable for me.

E:

I'm that person who carries a USB drive of portable software customized to my preferences primarily to be used on friends' machines or for setting up new machines. Setup once and use everywhere. Browser-based storage needs to be setup everywhere by design. I need to setup at Work and at Home because I refuse to tie my personal Home profile with my Work profile, so there is no "syncing" my profile across devices.

If you primarily use one device or can sync between devices and allow cookies/cache/localStorage to persist, then web apps won't be a problem for you at all. If any of the above doesn't apply - then web apps are a thorn in the side.
(missed the survey link: https://www.jetbrains.com/pycharm/python-developers-survey-2...)
In some ways. It's also got the features of https://github.com/pypa/pipfile
That's what you think is a must-read, upvoters? Could it be because you're missing God so sorely that you enjoyed this story about the "spiritual" so much?
I use example.com, which has all the scenarios without redirects.

http://example.com

https://example.com

http://www.example.com

https://www.example.com
Cannot agree more! However, I can see the appeal of webapps. Getting started in app development using GUI APIs (cross-platform or target-native) can be a bit intimidating, too. And now we have things like electron which... well to me it's slow, but being able to develop a desktop GUI using html5 and css and JS is appealing.

And to be fair, a web app does get the job done, though I have to admit the number of companies that opt for an internal webapp instead of a desktop application is interesting.
Rate me down... but do you disagree that despite this, the MBP will be a success?

Or am I being rated down for not knowing of a US Centric organisation?
A funny thing I find about common sense is that it isn't very common. Everything that makes up common sense makes sense when brought up or given some thought. However, having it be brought up or thought about in the first place may happen well into an individual's life.

That said, I like reading these kinds of articles because I'm still relatively young and yet to experience the full extent of life. I figure being able to collect the wisdom of those who have been around longer than I have will be quite useful.
rMBP 15" 2.7ghz i7, 16G RAM, 500G SSD, Intel HD 530, etc.

So far I haven't loaded the machine up with anything heavier than my preferred homebrew+iTerm+vim+cscope+make/XCode tools, and I've been able to work pretty well with it all week. Going to try to keep it as clean as possible.
The Most Famous Finish in Ironman History
Yup. Or...y'know...FireWire. Also known as IEEE 1394.
They do it by caring. And the reason they care is because it reflects poorly on the entire platform when one gluttonous app drains the battery. Other browser vendors couldn't care less about how their app makes the platform look, especially if it comes at a cost to their app's performance.
The 6 Most Exciting AI Advances of 2016
Beware - it will dent that much easier too. And there were not (as of 2 weeks ago) any cases for the 2016 MBP available for purchase.
I'm not sure why people believe 2016 ending will somehow end the misery but I can understand why they hope it will. I think it's a bit tongue-in-cheek.
The Most Popular Language for Machine Learning Is
Scripting with C
I'm sure someone will point it out, but GPS doesn't use leap seconds.

"Adding leap seconds is a waste of time" I see what you did there. And agree!
Good reminder to use Google's public ntp servers, which perform leap-second smearing[1]. This is the only sensical way to handle this without strange edge cases in every-day software.

1. https://developers.google.com/time/
They don't want to hear it.
Uber’s self-driving cars flee to Arizona after California shutdown
"Witness the last two Democratic presidential nominees, Al Gore and John Kerry: one each from Harvard and Yale, both earnest, decent, intelligent men, both utterly incapable of communicating with the larger electorate."

Wasn't Bush II a Yale graduate?
24 days of Rust – built with Rust
In the good old days they just called them defectors.

Rather than whistleblowers that didn't blow any whistles. Political Correctness gone mad i tell ya.

As for "shared it with everyone on the planet." - really, where exactly can i download the 1.5 million highly classified US documents he has shared with the FSB?
On a large scale, what this means is that the fund can look for large ups and downs because they gain every time there's an up, but they don't lose when there's a down.

Now if you parallelize this (so it's happening at the same time with many different customers), it means they can focus on risky bets. Maybe half their customers will win and half will lose, but the fund makes money on the winners and isn't hurt by the losers.
>their technology people

I wonder if yelling and berating others is less helpful when its a technical issue versus yelling and berating others when it's some soft skill issue
That's part of our "secret sauce", but you can read more about the topic here: improbable.io/2016/01/27/distributed-physics-without-server-boundaries
Russian authorities are trying to unlock iPhone 4S from ambassador’s killer
Here are a couple of links that outline the design and contain some notes:

https://wiki.mozilla.org/Electrolysis/Accessibility#Windows
http://dblohm7.ca/blog/2016/04/06/new-team-new-project/

Note that the approach we are taking on Windows is different from the way that Chrome works. They cache the entire a11y tree in the parent process so that the DLLs injected by assistive technologies may quickly enumerate the a11y tree via virtual function calls.

In 2017 we want to start moving away from injected DLLs in Firefox. As part of that initiative I decided not to take the caching route in a11y as that would require continuing to allow injected DLLs for a11y purposes. Instead I am implementing a COM handler that should allow us to significantly reduce the number of round trips required to enumerate the tree. I am hoping that this will offer AT vendors a migration path that eventually moves them out of our process.

Feel free to join us in the #accessibility channel on Mozilla's IRC server to chat further. I am aklotz on that server.
Edit: should preface this by saying the framework looks really impressive. I've been looking for a Rust web framework to settle on and this is the most appealing.

It's funny to note how much something small like this matters. It's syntax sugar and presentation, but the difference a comment like this has at the top of an HN post vs an ambiguous but detailed discussion about feature x...massive in effect.

It doesn't seem to be the case, but the entire framework under that could be bad yet it's caught mindshare on the basis of routing syntax (one of the smallest worries in a production web application). Wonder how many frameworks have failed just on the basis of not making a similar decisive first impression?

Syntax matters?
I think the argument about AI overtaking humanity is wrongly framed. Sci-fi has taught us to be on the look out for an all-powerful machine, robot, algorithm, turning against humanity. A single, united swarm of machines that only needs humans for energy. This is unlikely to happen soon.

But if we borrow an idea from Richard Dawkin's The Selfish Gene, things look differently. He argues evolution is not about the success of individuals or even species, but about the proliferation of their DNAs. The organisms are just the vessels for DNA's replication.

Let's look at the corpus of AI technology as an evil machine's DNA. It already claims a lot of human energy and capital for its evolution and proliferation. Our top researchers invest their time into making it better. We burn fossil fuels to provide the power for its computational cycles. What's the primary fuel for its evolution? Money. Which comes from stock markets and VCs, which use AI models. I'm sure a lot of fundamentals-based financial models, based on very different lines of reasoning, end up valuing AI-based companies higher. It is in no way a deliberate conspiracy, just a result of the AI doing it's job well.

Of course, self driving cars, painting funny moustaches on your faces, or playing Goare all benign, non-threating abilities of AI. But it is easy to see how falling into the wrong hands, they might lead to not-so-great results. Our stereotypical AI researcher is surely very careful about AI's potential dangers. But do you think Uber, a notoriously profit-driven company, would invest this much care if it doesn't help the bottom line?

The cat in a cage argument is surely convincing, but AI is already taking a lot of decisions in place of humans. Be it mortgages, crime detection and prevention, or what information reaches us through our news feeds. And it is easy to see how a single imperfectly-configured algorithm can lead to real-world effects.

For example, imagine a threat assessment AI, as already used in some shape and form by police forces around the world, which is configured not to minimize deaths and injuries, but to minimize damage to the economy by an individual. A benign sounding setup. Imagine such a system has to evaluate the threat level of a known researcher, who specializes in AI safety, thus reducing the profit of a bunch of the world's biggest companies. Is he a threat to the economy? Should he go to jail?
Ask HN: Did you manage to retire comfortably on your 401k?
Malware turns PCs into eavesdropping devices