skysight-inc/HackerNews huggingface dataset:
The best argument I've seen for using orthodox C++ is when writing something you want to compile to both native platforms and web using emscripten, while aiming for good performance and small distribution size.

For example, this is what Oryol achieves, targeting OpenGL on native and WebGL on web. I don't think anything could beat the "Orthodox C++" approach for that purpose, aside from using C (which is what I'm using for a project right now).

https://github.com/floooh/oryol/
It's a question if uber can race to self driving cars fast enough.

That's really the only way their financial model can make sense.

They should really be seeing this as essential to their survival, like nuclear bombs in WWII.

Nazi Germany had maybe 1000 people working on their version. USA had 180,000(!).

I suspect in this analogy, uber is not USA. Someone else will get this rolled out first. But I'm not 100% sure.
I've used it in production and we're building our platform entirely in Serverless/AWS Lambda.

Here are my recommendations:

1) Use Serverless Framework to manage Functions, API-Gateway config, and other AWS Resources

2) CloudWatch Logs are terrible. Auto-stream CloudWatch Logs to Elastic Search Service and Use Kibana for Log Management

3) If using Java or other JVM languages, cold starts can be an issue. Implement a health check that is triggered on schedule to keep functions used in real-time APIs warm

Here's a sample build project I use: https://github.com/bytekast/serverless-demo

For more information, tips & tricks: https://www.rowellbelen.com/microservices-with-aws-lambda-an...
Assuming you're using gcc or something with similar options, you should have a look at -fwrapv if you haven't already.
Content Performance Policy, an Alternative to AMP?
Ask HN: What the best way to optimize images in S3?
Amazon services, third parties, or processing on your own server?

By optimising, I mean resizing and compression for web consumption.
Right, I guess I should have made my question more concise...are there electronic odor sensors? i.e. stuff small enough that can be e.g. put inside my cellphone.
I've heard of development on drug detection "vaccumes" / machines, so it's probably possible. Kind of a scary idea tbh.

Edit: Apparently they are already in use at prisons. http://articles.baltimoresun.com/1997-10-02/news/1997275114_...
There are a bunch of things which are tied to native GUI libs in ways that make headless a little annoying to implement. Some examples, from memory and looking at the patches/dependencies in the Firefox bugs on this:

1) Theming of form controls to make them look like native widgets.

2) Clipboard.

3) Printing.

4) Fonts and font rendering.

5) General "now it's time to repaint" machinery.

This is in no way an exhaustive list. In practice what you have to do for headless is create the relevant GUI bits anyway, but not actually show them on screen, then deal with whatever quirks your GUI library has when its bits are not shown.
I like the idea of category-oriented programming. Would be interested to see a white paper on what that means.
Bitcoins have intrinsic value until the hash is broken and gold has intrinsic value until we can make it from neutrons, protons and electrons
I'd like to see how the visual representation of larger non toy examples look. Looks like a very cool project !
Get Started with ARKit: AR Paint Application
Interesting. I wonder if this is the future of not only reducing the barrier to entry to software engineering, but setting up a new tier of software engineer for the unskilled. Rather, would software have lower barrier to entry positions that are driven by piecing together software components like they would a factory job. I'm sure for most software a team is only necessary,but as software dominates our future, perhaps this is the bridge to unlocking more opportunities outside of a higher skilled tier of manual coding. I'm just talking off the top of my head, so I may be totally off base. Either way looks interesting, and that futuristic interface is sweet.
Facebook is the digital MKUltra.
The level of bugs and slowness in Quicken is mind bending. I've been using Quicken since it ran in MS-DOS and I've watched it get slower and buggier every year.

My latest version (Quicken 2016) literally takes seconds to tab between fields and often does not keep a correct tally balance until I close the check register view. I only have a year of data in it (I thought the slowness might have been due to importing my old data so I restarted fresh).

Since I've been getting bombarded with upgrade ads that I can't seem to disable each time I start Quicken I'm thinking of moving to another app like Moneydance. It feel like an end of an era.
World's Thinnest Phone Charger
> Has any C compiler closed the loop on that by shipping the full compiler with the program to do runtime optimization?

- The truffleruby "cext" project demonstrated something like this. They interpret and then JIT C on the JVM, and do cross-language inlining and other optimizations.

http://chrisseaton.com/rubytruffle/cext/

The same group is working on compiling LLVM IR on the JVM. Presumably the JVM's tiered runtime optimizations would apply to both of these.

https://github.com/graalvm/sulong

- There are also interactive C(++) "JITs" from CERN and the Julia project. However, as far as I know, they are both method JITs and don't do any trace-based re-JIT/OSR.

https://root.cern.ch/cling and https://github.com/Keno/Cxx.jl
As posted, the trade data was available, I got it yesterday after this occurred.
No, you're right in this, if you have it enabled, any app can put stuff to your endpoint. The people of IPFS are working on fixing this problem, but I personally think that the risk is low enough. Maybe I'm just not creative enough in thinking about attacks, though.
The person who suggested building AWS data centers in Africa was right on the mark. I would love to see that
Even better than Approval Voting.

http://www.equal.vote
Really? So if someone else charges a lower price for the same product, I should be protected from a loss of business?

That goes against our entire economic system. We'd still be driving shitty expensive cars if that were true.
The Power of New-Age Playbooks in Incident Response
I hope the algorithm becomes published and unencumbered by any onerous restrictions. I understand that this is a unique system, though - and likely one where patents and other "protections" could be taken out for the method and implementations.

But right now, all we have to "play with" is a window binary. I understand that there is supposed to be a paper published in the future; I would love to see this algorithm implemented into something more "universal", if nothing else.

Again, though, I can also see why such an algorithm could be protected - I am certain there are more than a few commercial applications for it, and perhaps in areas that have little to nothing to do with origami (for instance - and I am probably completely off base here - could this be applied in some manner to understanding protein folding?).
Case Study:The Dallas Morning News SportsDay TALK App Redesign
I have a microservice setup to process my s3 images, on the fly and when they're uploaded.
Yeah, I don't work near trading, but for me it has always meant that you can be "right" about the long term trend but really wrong about the timing. And the timing is just as important.
Russia's Cyberwar on Ukraine Is a Blueprint for What's to Come
Sweet, thanks dude.
They can't afford to take the loss, though. They are running out of runway and have less than a year less. They are already huge; at some point they have to make the shift to being profitable.
Here is the snapshot from when this was submitted to HN about a year and a half ago: http://archive.is/V2VwE

My question: what has changed? Has anyone addressed any of the fundamental questions that were posed last time this was submitted? Are there any concrete examples of how you might use this for general purpose programming?
Ah, by "all content" you meant "all content", I see. Yes, but "explicit agreement" is just "loading the content", so it's not very explicit.
That's a nice sentiment, but I don't see how Uber has changed the world for the better. Has Uber's app decreased pollution or global warming? No. Has Uber's app decreased economic stratification? No. Has Uber's app created jobs? No, those drivers could be regular taxi drivers without Uber. How about gun violence, domestic violence, cancer, diabetes, rape, systemic racism, drug overdose? No, Uber has not improved any of those things. Yet when I imagine a better world, these are the things that come to mind.

Uber makes an app that lets you hail a cab, or lets you drive people around without buying a medallion.
America's Political Economy: Infrastructure and Chicago's 75th Street Corridor
Did this understanding change since 2014?
Ultimate Guide to JSON Parsing with Swift 4
Show HN: How we created an email campaign tool using serverless only
Does anyone know if there is any equivalent to a pre-trained network like Inception, but for text classification instead of image classification?
Not a chance they make it to self-driving in time. Maybe in 20 years we'll look back at Uber as just another company that was "too early".
Thrashing your I$ because you have too many template instantiations can be prohibitively expensive too, it's just harder to metric.
1. Fix their terribly redesigned Android app and revert to the pre-facelift version.
You can hold political bias and still present a strong analysis.
"Tier 1 (General) visa
1. Overview

You can no longer apply for or extend Tier 1 (General) visas."

As far as I remember, this type of visa is abolished many years ago.
you may not need to hide it so much as disguise it. There are lots of things swimming in the oceans, some of them big. None as big as a sub, but a well designed sub can potentially present that wake signature. (maybe not all the time, but a sub can choose to go at a slow hiding pace or a fast but visible pace)
At Google you just don't get something released to the public, let alone to people that paid for a device which an update could brick, on a whim. Even if someone outside the Glass team did all the code changes, they would need someone on the inside with enough permissions to actually sign and push out the OTA images.

I suspect this is a backport of work that was done to support the new Glass for Work program.

(I used to work at Google, on teams other than Glass, although I know former members.)
> Shouldn't a program which runs a UI (which WebKit basically is) optimize for lowest latency instead?

Note that this is only the third (top) tier JIT (or fourth if you include the interpreter). By that point, you're really optimising for throughput and not compile time.
The Haskell Concurrency Primitive Shootout
This is one of those things that always seems like it ought to be the future but for various reasons it doesn't take off. My high school computer class used a programming language called ProGraph[1] that looked a lot like this, but without the text representation, and it was neat but honestly it was more tedious to both read and write anything of even moderate complexity than a pure textual form.

[1] https://en.wikipedia.org/wiki/Prograph
Even machine learning isn't necessary. All that's needed is more widespread communication. For instance, my boss doesn't need to communicate the company's strategy to me, because I can figure it out by sharing information with workers at similar companies.
That is just trying to regulate an addicts intake of drug. Private campaign funding, period, is a corrupting influence in any form.

The real solution is public campaign finance. We have this lovely new thing that enables instant communication between anyone, anywhere called the Internet, where information duplication and propagation is effectively free.

Start there. Anyone can be a candidate on a state run open source collaborative hosting service for political campaigns. Those represent the first layer - to not alienate the technologically disinterested, provide TV time and dead tree info pamphlets on the top candidates. The difference is that right now you take bribes to enable you to saturate peoples attention on TV and in print, with this system the state buys the face time and the viable candidates share it.

No, it is not perfect. You have the problem of view distortion where anyone who is abjectly against technology won't have their voice heard early on in the process. But Facebook has really demonstrated the ability to motivate people to engage with technology where they would never have fathomed doing it before - I strongly feel a properly implemented system like this would get extremely high adoption and engagement rates, well beyond what we get now with traditionally ad driven campaigns run by laundered money.

The good news is if you do cut money out of campaigning cold turkey then it is very easy to see the vectors of corruption - paid for political speech is an obvious violation, so you don't get private "third party" campaign ads. Part of running for an elected position can be the requirement of full financial disclosure - we know who pays you, and for what. Any time money changes hands for political ends you can directly prosecute on those grounds alone - because you aren't allowed to privately finance your political interests, you have to use public forums.

There is a lot of nuance in such a system, and much nitpicking. But the fundamentals - anyone can run, and the viable runners get public airtime shared by viable candidates equally - and where paid promotion is astutely illegal - you can dramatically cut down on campaign corruption in ways just trying to limit contributions (again, it has been an ongoing and losing battle to control private finance of political campaigns since the country was founded) cannot do, because innate in the idea of private citizens giving money to candidates to then spend attracting more citizens to support them you have a feedback loop that enables corruption because any citizen can be bought off on who they support and they can just be an indirection of big donor monied interests cash going into the pockets of crooked politicians.
> It's a question if uber can race to self driving cars fast enough.

I'm not sure that's true though; I don't get the oft-repeated logic that self-driving cars will save Uber. OK, they save on labor costs, but right one now of Uber's (slimy, IMO, but significant nonetheless) major savings is pushing vehicle maintenance and deprecation costs onto their drivers. They won't be able to do that with self-driving cars: they'll have to pay operate a fleet, in direct competition with automakers.
This is the correct answer. Dismantle the company, exit with a good payout, and give back some of it in philanthropy.
What kind of programs do you normally write?
> I can honestly say that to discredit the amount of time you spend on solving the above capabilities WELL is to probably toss more than 120% of the cost out the window.

Yes. Where I'm at, I like to believe we solve this reasonably well, and once you factor in all the redundancy for HA, DR & all the engineering around proper monitoring, security, log management... we find Lambda very attractive. Though in our case we tie Lambda back into our infrastructure, orgs that are expediently trying to solve a problem (greenfield projects) and don't have the staff to set all this stuff up, take a deep look at Lambda. At worse, you can always move your lambda functions into your own servers once you have the resources to devote to setting up all the stuff that goes for highly available setups.
But the median-wage Wells Fargo employee is a crook who defrauds Wells Fargo employees. It is not right that those employees should profit from abusing customers. Clearly, top-tier executives should be the ones to profit from this.
Www.nufuki.com – porn search engine
It isn't that the law is morally equivalent to holding a gun to someone's head, but that the law has penalties that are enforced on pain of greater penalties, which will eventually lead back to violence being used.

Say you get a fine over some law. Doesn't matter what, but let's say it is a minor fine over a law you disagree with. So you refuse to pay it. Now perhaps it ends there, with the law not being fully enforced (with sometimes does happen). But what else could happen is that you are summoned to court concerning the fine. Now the punishment for the fine includes a court summon. So in protest of the fine being wrong, you choose to not go to court or go to court and refuse to court order to pay the fine. Either way, the court will either drop it (unlikely at this point) or you could be arrested for refusing a court order (you don't go to prison for a debt, you go to prison for refusing a court order to pay a debt, which seems to be an important distinction for some reason I can't see). Now you either submit to being arrested, or violence will be used against you.

Under this reasoning, that original law is backed by violence. Either a law ends up not being enforced or being enforced with an eventual threat of violence. There are cases where there is little chance of it ever having someone protest it.

One example people use to counter with that seems to work at first is government restrictions on limiting licensing. For example, take a law that says government has to approve a license for some activity if it doesn't given a definite disapproval within a week of application. In this case, breaking the law would be done by someone at the government either refusing to give approval at all or giving a no after the deadline to give a no has passed. One likely result is someone who didn't follow the law getting fired, but in this case it is the government overriding itself and eventually following the law. But assuming that every manager approved of violating the law such that no one was fired and the office in question maintained its stance, then the party that requested approval will have cause to sue the government. At which point the court will make specific orders (such as demanding testimony or demanding certain actions be performed), and any person directly disobeying those will now face possibly being arrested, which is when violence comes into play. Or the court could choose to not make any demands, at which point the government is choosing to not enforce the law. A practical example of this is to look at the individuals who refused to give marriage license to same sex couples. Either someone higher overrode them and someone else (representing the government) gave out the license or they were sent to jail (with the threat of violence if they did not obey).
Uber loses money, but it doesn't sell rides at a loss. Up to 2015 at least (the date of the best finance leak I've seen), Uber's cut of fares was ~18%; and furthermore, that 18% cut more than covered Uber's costs of sales.

Source: http://www.nakedcapitalism.com/2016/11/can-uber-ever-deliver...

Uber actually makes money on each ride - it's just that the gross profit from those rides is short of covering its operating expenses. 12,000 employees are not inexpensive.

Based on these financials, if Uber halted most software development and halted subsidies into underdeveloped markets, it seems quite plausible the company would become profitable. Investors might not recoup their whole investments, but the company in zombie could earn back some profits.
Thanks Stevie! You rock.
The new title "Interview with Mikeal Rogers of the Node.js Foundation" is way better than the previous one that suggested that node.js is going to surpass java in terms of number of users, without defining their terms.
That's more or less what I want to know. I've been subscribed to Luna for a while but I haven't received any updates or news about it whatsoever. The Twitter account is pretty dead. Even the images on the website seem pretty sketchy since I doubt many of the images are actually real or represent features of the editor. I've pretty much given up on this ever coming out.
Travis Kalanick, King of HR Fails, Finally Ousted from Uber
These things take time. Good original research does not work in the same timeframe as front end frameworks.

Edit: I feel a bit bad about this joke. I know that Front End Frameworks take time too. For example React wasn't deployed internally in Facebook till 2011 and that was after two years of research and development on it. Then it was open sourced in 2013, so that's like 4 years of development before it was ready for public use. But jokes depend on culture and the culture of HN is: "Front End frameworks: lol".
What's your opinion of stuff like the Hell app, or intentionally sabotaging competitors?

https://techcrunch.com/2017/04/24/uber-hell-lawsuit/

http://money.cnn.com/2014/08/11/technology/uber-fake-ride-re...
> The oft-repeated meme that we're all the same doesn't hold to even superficial scrutiny.

Yeah. Ask some KKK members what do they think about minority rights.
Yelp Reviews: Authorship Attribution with Python and Scikit-Learn
Sure. And the service is inferior. But it's still sigificantly cheaper to operate.
Gee, it's almost as if a municipality that valued the good provided by a shared-ride or car-for-hire service to their community would have an interest in creating an artificial monopoly for the sake of allowing such a service to operate in a profitable manner...
Sharp for node.js has proven to be powerful, flexible and fast for my needs: https://github.com/lovell/sharp/
I was going to mention Pillow, the python successor to PIL, which powers Pilbox.
I currently work at an exploration geophysics firm and was just talking to my boss about this yesterday. His comment was that data acquisition had an arms race to the bottom in the late 80s and has become complete commodity object. This has results in data from the 80s through today being no different as they're still using the (mostly) same tools and techniques.

There is no incentive to better your seismic surveying since stuff from the 80s is "good enough" for all the processing shops.
"Uber makes an app that lets you hail a cab, or lets you drive people around without buying a medallion."

If you used Taxi's for primary transport and now use Uber, it changed your world for the better.

"How about gun violence, domestic violence, cancer, diabetes, rape, systemic racism, drug overdose?"

Those were not part of Uber's goal, it doesn't mean they didn't make the world just a bit better. I could say the same thing about Google or Apple. They have also changed the world but haven't addressed those issues. The difference is there wasn't regulation preventing a Google or an Apple from growing. Uber was challenging a broken system of laws protecting an industry.
News! You are successful. And no prospects know it yet.
For embedded systems there is MISRA C. It is a set of guidelines that is included in some compilers and analysis tools. MISRA C++ exists too but I don't know how well supported it is.

It is, however, a rather restrictive standard with critical systems in mind. Usually, you don't want such restrictions in regular software development, you want the full power of the language.

Ensuring sanity is better served with static analyzers (linters) that can be tailored to the specific needs of the project and be regularly updated with new rules.
My cynical take: Imagination Tech's legitimate business is vulnerable to an Apple counter-suit. Without that legitimate business weighing it down it would be much more valuable as a patent troll.
But everyone is fine with snap's spectacles.
I find thinking visually to be quite limiting.

Although having a mixed textual representation is interesting. I sort of get this with the Moose platform in Pharo which I use for analysis based work. The most painful part of that though is interfacing with foreign systems. And maybe Smalltalk... not a bad language but I've been bitten by the Haskell/Lean/Idris bug. A seamless FFI experience as promised with this language coupled with a toolbox rivalling Moose would be interesting!