skysight-inc/HackerNews huggingface dataset:
[ And I've been slow banned. So there was no point in attempting to engage in discussion in the first place.]
Show HN: Simple password protection of web pages in restdb.io
Interesting hypothesis!
I'll ask Bill the next time I see him.

Jeffrey Snover[MSFT]
Except that the "high reward" part has been missing in the past several years. Hedge funds have been mostly under-performing (compared to the overall market).
> Censoring them does nothing but push them back into the shadows where their communications then become encrypted, unavailable and out of the public eye.

We're not going to have any success fighting terrorists if we assume that they're stupid. You think ISIS is using Twitter DMs to plot terrorist attacks or something? They've successfully executed a number of attacks worldwide under the noses of some pretty smart and dedicated people, so I'm pretty sure they've already figured out slightly more secure communication channels. It's not like they'll stumble onto PGP and Tor just because they got kicked off of Twitter.

> I want to know what these crazy people are thinking and planning

We already know what they're planning: a fundamentalist Islamic global caliphate. Again, they are not stupid enough to tell us anything more useful than that on Twitter.

> It also allows us to keep tabs on these people and who they're connected to

They're using Twitter to build those connections in the first place. This is about their curbing their ability to broadcast and recruit. You can't gain mindshare from a secret, encrypted chatroom.

> If we're all about free speech, that includes speech we also might not like so much.

The right to free speech does not confer the additional right to airdrop political pamphlets all over New York City, nor the right to stand on someone else's front stoop and scream at passersby, nor, indeed, the right to use the Internet website Twitter dot com to broadcast ideas.
NIMBYism is already putting places like Palo Alto, Boulder, etc... well out of reach of the middle class, with a class of "haves" that live there, and "have nots" who have to drive in to work. What would happen to this situation if you killed the subsidy off?

What would it do to the dynamic between generations: older people got a big leg up, and you get nothing?
Nothing prevents me from changing those objects into a text stream. In fact, it's infinitely easier than turning a text stream into objects.
Semi-ironic that the very first FAQ is about how to circumvent the main feature of the service, no?
There would still be human driven taxis. The whole point of uber is that it is an on demand platform.

When it is sunny, the self driving cars are out and about, and the price is low.

When it is raining, the self driving cars stop taking passengers, and the price goes up, with surge pricing, which is handled by human drivers.

You don't keep drivers on retainer. You simply publish the price, and if the drivers like the price, then they can accept the job. If not, then they don't. If there is a shortage, then you use surge pricing until the shortage no longer exists at the given price point.

For trucks and supermarkets, if it is raining then you pay human drivers. If not, then self driving. BAM, labor costs have gone down by 50%.
They include among their exceptions to that rule "looks like a typo".
It's too easy to proclaim every failure to shut up and listen to be censorship, sure, but Twitter is a corporation and its users are in a contract with it. Power granted and enforced by the state is at play here at least a little.

The problem with censorship is its function, not its form.
I use Microsoft's "Office Lens" app on my Android phone all the time, like a "smart camera" which automatically squares off and white-balances each photo of a page (usually mail or forms filled in by hand). It can't handle warped pages though, so I hope they add something like this!
> We need to protect the long time residents who have made the city what it is.

Sure. But at what cost? And paid by who? And for how long?

When we're preserving someone's memories of SF from 1965 at a huge cost to everyone who has the temerity to be under 45, it may be time to maybe possibly consider a re-evaluation of the balance of costs and benefits.

If preserving things for your parents means a hundred working-class families get pushed out by rents rising because your parents' memories require no new housing built, the balance of policy exhibits significant opportunity for improvement.

The past is important, but it's not healthy for the future to be enslaved to the past. Your parents, too, are a trend that will change.
> Unity is head and shoulders above UE4 nowadays

This is demonstrably not true. Just look at the limitations of the standard shader to see where Unity falls apart. Or hell input handling or any number of features for which UE4 has a better solution (or at least a path towards a better solution since you have the source code).
Then that is a matter of technical progress. But Otto can still offer the drivers some value in the meantime. Who knows how many yrs it will be until it is fully automated?

Or do you think they will benefit from resisting all forms of automation? I doubt it will slow down the eventual outcome, which is pretty much set in stone already. But maybe I'm wrong.
Uber Builds on Self-Driving Ambitions with Otto, a Trucking Startup
I like -12 best.
I wouldn't mind if your given a choice of 40 lashes vs. prison time. I would definitely take a temporary few days of pain over years or weeks of my life wasted in the psychological torture known as prison.
Could there be the next step where the self driving ubers cars which just relay to and fro on the highway and human driven uber on the riskier areas inside the city?

Too cumbersome to switch cars probably for an end user..
Being incarcerated is not the only nor the worst affliction that a government can bring down upon you.
Closing the e-mail app is the right way to go[0]. There's no need for it to be open when you're not reading/writing e-mails. The mail gets stored on a mail server anyway.

It's a funny thing. The habit of having your mail client open to get notifications sort of establishes itself in you, but it's very hard to kick. I've managed to do so, and I'm less stressed because of it.

[0] - on desktops. On mobile the equivalent would be to disable background syncing for the e-mail app.
"How I distilled literary evil" sounds like an amazing title for a follow-up article :D
Honestly, if you are such a fierce competitor that you can make it to the Olympics, how are hostile fans even an issue?

Unless there was violence why would you even care?

It seems like the true competitors eat that stuff up. Is it just the difference between professionals and amateurs?
They weren't being run any better or cheaper as far as the government/tax payer was concerned. They were cheaper for the corporation. Minimal training, safety, health and food standards. Pocket the difference and charge the government the full rate.
i'll grant you that after a very brief consideration

> UI in .NET and the backend in Java.

makes a lot of sense.
Whyd Speaker. Your Home Speaker. Reinvented
aah he has principles! I bet he never would call the fire department or police for himself either, because of those same principles. =p
I'll take his word for it. (If he remembers trivia like that a third of a century later ...)
My hope would be as an explanatory tool.
Yes, but unlike a normal short their loss was limited. They had (IIRC) a 7 year contract to pay $25million/year unless things went bust in which case they get paid $1 billion. So their worse case was a $175 million loss, their best case was a billion gain. If you have the money the potential return on invest is great.

I'm about half way through the book now, but I don't have it handy at the moment to look up the real numbers though.
Security Against Election Hacking – Part 2
On Strategic Multi-Antenna Jamming in Centralized Detection Networks
My world view is that anyone that stands to directly profit from laws that are likely to increase the inmate population or average sentence length should not be able to play a part in getting those laws passed.
"highway “user fees” pay only about half the cost of building and maintaining the nation’s network of highways" http://www.frontiergroup.org/reports/fg/do-roads-pay-themsel...

https://cdn.theatlantic.com/assets/media/img/posts/2015/05/r...

And of course that doesn't take the environmental externalities into account.
I was one of those developers. I wrote a game in 93 that used mostly c rather than assembly because I didn't want to write it twice for Amiga and PC. At the time games were mostly assembler and it was felt that c compiled code had too much overhead. It was probably true to an extent for another couple of years.

The next fight was to move from C and C++ to Java and C++. This still hasn't happened in console gaming because the overhead needed for gc is not palatable to aaa developers that have to milk every byte of ram in the machine.
No accident that it comes out to "yourself, you're fucked" for a lot of people. Forcing people into dependency on family and the church is the point. Or another way it's been put to me by someone who thinks government welfare usurps the role of churches: you shouldn't be able to get charity without looking someone in the eye, asking for help, and listening to what they have to say about it.

(Definitely not my view on the matter.)
I think decentralization is also about Users own/control their data. If someone create for eg. running app and I'm not able to easy move my old runs to new app then diversity is nothing.

"Software must be provided as a package – not as a service – with each user running their own private copy."
This sounds like a going back to desktop apps. Or am I missing something?
https://news.ycombinator.com/item?id=12314352
Ask someone that has been in prison for a while what their opinion on this is. I think they'd disagree.
I will check in with them to see what is happening here.
The coops have not been doing well. https://www.washingtonpost.com/national/health-science/12-bi...

A proper public option receives no more government support than a private company does. If answering to political pressure instead of answering to a board of directors turns out to be an amazing thing for health care efficiency, single-payer could be on its way. I think that's dreaming by people who have never run anything in their life, but I also think that they should be free to try and fail, as long as it's a genuine same-as-a-private-company public option.

When you want something to happen politically, you need to work from a position of strength. If you have had a bunch of failures recently, people will not trust whatever new promises you are making. (And saying the failures were someone else's fault is the worst excuse of all. It's not like all those people you blame the problems on have died.)
If you feel you really have to validate an email address without sending an email to said address, don't use a regex. Use something that's meant for parsing, like LPeg (for example: https://github.com/spc476/LPeg-Parsers/blob/ee63df57826fd5ef... which handles the RFC grammar, including comments) or lex/yacc or something other than a regex.
It’s technically open-source, that’s the point. There’s more to open-source than license. Sorry but there’s no way for me to clarify without just repeating my original comment.
Previous discussion: https://news.ycombinator.com/item?id=12314352
Is using a curve whose end points are fixed to zero to model the warping accurate? I can't see a rationale for why the end points should both be 0.
Development of networks, marketplaces and market networks, how you can benefit
Slow-Deps to Measure NPM Install Time
... anymore than you are supposed to write in HTML?
I was reading one major issue with lidar is bad weather. Microwave can apparently do that OK but the wavelength is a trade off between accuracy, object size and weather/interference avoidance.
Not having a terror attack is a pretty low bar.
E.g. because of much longer guaranteed support/supply life, which is a must if you are trying to run a serious production. There might be some other reasons too.
This is from the big Bloomberg article/interview that came out today:

'Kalanick began courting Levandowski this spring, broaching the possibility of an acquisition during a series of 10-mile night walks from the Soma neighborhood where Uber is also headquartered to the Golden Gate Bridge. The two men would leave their offices separately—to avoid being seen by employees, the press, or competitors. They’d grab takeout food, then rendezvous near the city’s Ferry Building. Levandowski says he saw a union as a way to bring the company’s trucks to market faster.'

Which implies to me that the plan was for Uber to acquire Otto all along.

"Okay, Travis, but I don't want to just get hired on as another employee, I want to be cool like Kyle Vogt. Give me a few months to buy some trucks, rig them up with sensors, put splashy logos on them and get some press, and then you can acquire me using some of those Saudi gigabucks you picked up in your series F."
Plus, having more than one of these clients is exactly the kind of problem Steam came on the scene to solve in the first place (i.e. inconvenient distribution). Steam has won this for the time being, and shows no signs of slowing down. It's foolish to fight it over NIH syndrome.

Steam has been a godsend to indie developers. It can be a great partner for AAA ones as well.
None of QNX IPC, Mach IPC, Minix3 IPC, Solaris Doors, NT LPC or Android Binder is portable, and all of them are used by low-level user-space on their respective platform. But if Linux developers add a new IPC mechanism for similar purposes, it must be useless "muck"?
I'd love to know. Maybe if you gather enough phds in a hot industry into one room magical things happen?
>and are still operating at a loss.

No their not, there Q2 financials had them in black.
Do's and don'ts of AWS Lambda
So I'm supposed to forgive the guy who raped my cousin and killed her friend? Am I supposed to feel like he paid his dues. Whatever imaginary criminal you are inventing is not the real criminals who destroy lives every day. And their punishment for their violence the trauma they cause victims their families and their selfishness of taking lives cannot be punished enough in so many cases.

It's not the media that causes victims and victim families to live sad or fearful or hateful. Desiring punishment and retribution for crimes is very much a natural thing. We see it in the animal kingdom as well. Any personal forgiveness is up to the individual(s) affected. Many criminals get off easy in the justice system. Some of them should never get out. Some of them deserve the pain they unleashed on their victims but sadly get 3 hots and a cot for 50 years, never contributing anything to society for their entire life.
See http://nic.book
> Also, does Unity still not give you the source code?

I believe that the issue isn't that they don't want to share, but that the code is a pile of patchwork that would need to be re-engineered before presenting it to anyone outside the company.

Unity has better marketing. The captured larger audience and thus got more content on their asset market and it has became default engine for beginners (C# seems much easier to learn than C++).

Unity is like Visual Basic of gamedev.
From: http://www.oracle.com/technetwork/java/whitepaper-135217.htm...
"The Server VM contains an advanced adaptive compiler that supports many of the same types of optimizations performed by optimizing C++ compilers, as well as some optimizations that cannot be done by traditional compilers, such as aggressive inlining across virtual method invocations. This is a competitive and performance advantage over static compilers. Adaptive optimization technology is very flexible in its approach, and typically outperforms even advanced static analysis and compilation techniques."

So HotSpot may detect "hot spot code" in runtime and aggressively inline it - this is what LLVM can not do, becuase it doesn't run in runtime...
> Build scripts can now emit warnings.

Nice! This one bit me pretty bad when first getting into Rust so it's nice to see it improved.
Switzerland, home of international organizations you can trust, just like FIFA, AIBA...
mmap'ing /dev/mem and directly poking at registers is fine as long as you know what you are doing and one of the best ways to explore and play with something not yet "properly" supported... ;-)

But of course for this you'll have to map whole memory pages (there's no smaller granularity in providing direct memory access to registers), and this typically includes all registers of (here:) the GPIO peripheral.

Only toggling outputs via the set/clear registers has little potential for damage, but anything requiring a read-modify-write will race against anything the kernel might want to do with GPIO pins in this bank. And only a particular boards' configuration can tell you if there's anything important on any other pin.

A serial bus might for example want to change the direction of a pin, a keyboard might enable/disable interrupts on pin-changes, there's SD-card insertion, control of a WiFi cards' transmit functionality (rfkill), power to USB busses, detection of USB OTG cables.

A good compromise, if you really have to toggle pins fast, might be to first reserve and configure a GPIOs functionality via sysfs, and then only use the mmap() for the actual input/output. Or write a proper kernel module. There are inline functions/macros (for in-kernel-use) that basically do the single-register-write.
I've struggled with the same frustrations. It's easy to trace a historical line through several notable moments and thinkers and conclude that an alternative experience of life is possible, but I increasingly suspect that:
(a) per your correspondent, if "...nothing is real[,] everything is constructed," then it's because there's a fundamental function of human psychology that compels us to perceive dramatic narratives all around us and weave ourselves into them;
(b) this function is what the society of the spectacle is built on and exploits;
(c) it's seldom realistic to escape these mechanisms. You can perhaps escape the _society_ of the spectacle by removing yourself to more isolated and "authentic" circumstances, but I'm not sure you can permanently escape the compulsion to live yourself within spectacles of your own creation. If that's true, there's the small consolation that it's authentically human to do it.
...These are just my thoughts, now, mid-life, after many years of contemplating these things. For another (perhaps surprising) authority on the subject, I recommend Proust.
I can't believe how easy that was.
> Boeing got 40% of their revenue from the DoD in 2007 according to WikiInvest and that probably hasn't changed much today:

The total revenue for for the entire Defense, Space, and Security portion of their business was only 30% of the company's total revenue, per their most recent 10-K filing. Further, reviewing previous filings it appears revenue for this segment has been flat for the past decade while revenue for their commercial aircraft operations has more than doubled.

Furthermore, I have no idea how that site arrived at the portion of revenue specifically from the DOD, as Defense, Space, and Security has a number of other government customers. All the sourcing information there is vague and generic.

> That's pretty significant - once you factor in their other revenue from private industry plus sales to foreign countries. So if you were going to categorize Boeing as anything in the context of the US gov alone, defense seems appropriate.

So, a company becomes a defense company just because most of it's government revenue comes from the DOD? It's not about "the context of the US gov alone", it's about the context of its government business with respect to its total business.

> Additionally, even cutting that number in half (for the sake of accuracy) only reduces the total defense aerospace category by $4.6 million ($38m -> $33.4m total) which doesn't make those numbers drastically different, or that link much less persuasive.

First, I would call cutting the total of the defense lobbying number by nearly 10% significant. Second, that is just an example. How many other Boeings are on that list? How much are they inflating that apparently simplistic analysis?
>The fact that we were not able to ban mortgage securitization after the crisis is appalling. IMO this is the root of the problems. Make banks hold their loans on their balance sheets!

Absolutely. The problem is that mortgages have become speculative instruments, with the profit privatized and the risk socialized. The old system was far more stable.
What an incredible journey!
We are currently performing final validation on our new AWSPowerShell.NetCore module and hope to publish it to the PowerShell Gallery in the next couple of days.

Blog post to the announcement: http://blogs.aws.amazon.com/net/post/TxTUNCCDVSG05F/Introduc....
One thing I am keenly uncomfortable and aware of is the merging of the public and private fora. There is a huge difference in our law, yet they are merging. I'm not sure what is to be done, but it seems very clear that Something should be done.
Trevelyan in a letter to the poor law commissioner of Ireland:

"We must not complain of what we really want to obtain. If small farmers go, and their landlords are reduced to sell portions of their estates to persons who will invest capital we shall at last arrive at something like a satisfactory settlement of the country".
Your original comments mostly contained your personal opinions, not actual facts. The fact is that it is open source and you are FUDing.
This is really interesting, thanks!

If you decide to try to make this faster, check out ceres[0] a non-linear least squares optimisation framework that does automatic differentiation using a clever C++ template hack.

I've used it a few times to solve these kind of problems and found it to be very good!

[0] http://ceres-solver.org/
See e.g. https://news.ycombinator.com/item?id=12315275

(Very roughly half the US population is on "the right", half on the left. If you add "the middle", there are more on the right than on the left.)
> If they all leave the platform, it shuts down.

If a platform can only sustain itself on the business of strong racists, maybe it should reconsider if it's doing good in the world.

>Fortunately, we don't live in a world where the supermajority of babysitters are racist. But we do live in a world where the supermajority of babysitters are unable to accomodate developmentally-disabled teenagers.

Being racist is discrimination, while not wanting to handle DD teenagers is because it's a totally different sort of job. I mean, a 10 year old with dyslexia is still getting a babysitter here. Because that's not a very different babysitting experience.

The two situations don't make a good analogy because of that.
Correct me if I'm wrong, but there's some big mis-information by Otto.

They quote: " It’s no surprise that trucking companies see over 90% of their drivers quit every year in search of better opportunities. " That was in 2014, and it was due to (from the link they provide) “larger fleets raising pay, offering bonuses and attracting more and more drivers from smaller fleets to fill seats.” They were still truckers, just different companies.

The Otto piece made it sound like they were leaving trucking all together.

The whole tone of the article of "making lives better for truckers" just falls flat. Not sure why they're trying to suger-coat it.
NSA: 'Can Somebody Good at Computers Help Us'
Our design staff turned me on to this one http://www.lingscars.com/
It was so easy because it won't work. :)
+1 for a more decentralized Internet.
Whether a lawsuit has merit or not is a big part of this issue. A lawsuit can be brought against you with or without merit. Getting to the point where a determination can be made on that question can be very, very expensive for you. Can you afford it? If not, your opponent may be able to ruin you regardless.