skysight-inc/HackerNews huggingface dataset:
> It's actually rare people need to do proofs. If they do, they can also prove the programs correct with a tool suited for it like Isabelle/HOL or Coq then extract them to the desired language. It's worked for extractions to ML, Haskell, Scheme, and recently C (see below).

It baffles me that people think they can solve the problem of the intractability of systems by piling up more complexity on top.

> There's also been verified LISP's (Scheme48, LISP 1.5) and metaprogramming constructs.

It doesn't make sense to “verify language features”. What you verify is programs. Of course, the Lisp crowd is fundamentally incapable of distinguishing definitions from implementations, which leads to this regrettable sort of mistake.

> So, it could be done in or for a LISP-like language with metaprogramming. I even found two metaprogramming schemes for Coq recently.

This fails to address my original comment. Have you actually understood it? The point was (and still is) this: “Metaprogramming might write half of your program for you, but it won't help one iota with the proof of correctness unless the base language is already something mathematically nice to work with.” The excessively operational definition of pretty much every Lisp dialect in existence makes it prohibitively expensive to formally analyze the humongous swathes of code generated by Lisp macros. The problem with Coq is, surprisingly for something coming from the type theory crowd, exactly the same: You can't really understand a Coq proof script just by reading it. Instead, you have to replay it. Operational thinking does not scale.

> That brings me back to an old idea I was just discussing with someone about SPARK. (...)

This sounds insanely complicated. The only justification I can come up with for this kind of thing is manager thinking: “This process has lots of steps and makes people's lives miseable, hence I must be doing something right!”
That's exactly what I was thinking about, actually!

I would absolutely never install a non open-source monitoring device in my house - and I frankly think it's insane that people pay money to do so. It's really nice to know that when this technology matures, and becomes the kind of thing everybody has, I'm not going to have to be a luddite.
China is hardly a model of green energy. Germany and Denmark are not saving money with their switch to wind.

http://www.spiegel.de/international/germany/high-costs-and-e...

I really love the advice to save money on energy by turning down the screen brightness.
Glad to see someone putting in the effort to patiently explain this 'anecdotes are not evidence' logic. Another anecdote based client denial one is the 'Greenland was green' anecdote, generally told with exaggeration: https://skepticalscience.com/greenland-used-to-be-green.htm
Indian+Prime+Minister+Modi:+Blockchain+Will+Have+Profound+Impact+on+Lives
On a mobile device so hard to write out proper code, but basically as I understand it, for an n-qubit system, you could imitate this with a class containing

- A length 2^n array of complex numbers, such that the sum of the norms of those numbers is always 1. Each element represent a possible length n bit string.

- An "observe" method, which returns a given length n bit string with probability equal to the norm of the corresponding complex number in the array.

- Various "transform" methods. These are all linear unitary operators (matrices with special properties) on the array, but I think you can't pick and choose them arbitrarily; see https://en.m.wikipedia.org/wiki/Quantum_gate

All the usual bit operations are valid, but there are operations which don't have classical analogs, like this one in a 2-qbit system: "Maintain the probabilities of 00 or 11, but average the respective probabilities of 01 and 10".

The fact that you're working with complex numbers and not just probabilities is mathematically how entanglement can play a role, but I don't have a good minimal example of how this is helpful.
A good option can be to use your own data center for base load, and on top of that use AWS for traffic spikes. That way you still have the flexibility to adapt quickly but at a lower cost, once you reach a certain scale.
https://www.smbc-comics.com/comic/the-talk-3

I like this one better.
> Not sure why two immigrants from Austria and Germany are 'diverse' but two immigrants from India's Nagaland and Gujarat, who have different religions, cultures, languages (even facial features, if those count) are clubbed together.

That's an interesting point. When asked by others where I am from I normally respond with "I am from India" - but it would be more appropriate to say "I am from Tamil Nadu" (an Indian State north of Sri Lanka).
And I have said this on twitter,

I am often amused and amazed that many, whom has never been to China, does not speak or read the language, has no idea about its history and culture which spans thousands of years , only read about it on mainstream media and then pretend to know more then the Chinese themselves.
It's a bit hidden on their page https://www.rippling.com/payroll/fees
It was beating v8 JavaScript hands down when it was still a part of the computer language shootout.

I can't find other things than one off microbenchmarks now (maybe my Google fu is off), but in those LuaJIT is still king.
>But are there any cases where the expert consensus on the physical possibility of something wasn't established until it was achieved in practice?

Bitcoin. It was widely believed to be impossible to have a decentralized cryptocurrency before Satoshi deployed his system.
You can poke around https://quantumexperience.ng.bluemix.net/qx/experience and see if there's anything helpful
Didn't Zynga report the same savings prior to collapsing?

Is reporting massive savings on an infrastructure project a signal of softening demand and a weak product pipeline?
Ask HN: Is there any place to read about Payment system pitfalls?
We are adding payment system into our product. We want to know what kind of pitfalls we may encounter while building such system. Patterns used while developing payment systems. What kind of architecture are used by other systems and so on. (We don't have guys with prior experience with building scalable payment system, other than integrating Stripe or similar things)
Jiang Zemin?
> it's not a dictatorship.

The explanation given in first year political science was that China is a very rare example of a successful party-based dictatorship, as opposed to a dictatorship based on an individual or family.
Millennials - https://www.youtube.com/watch?v=hER0Qp6QJNU
+1 Throw all other rational out the window if OPEX is what works. So here we are migrating to AWS..
My experience is that it is hard convincing most CTO and developers (including one with a background in sound engineering) I met that moving average were not fit for most time series aggregation.
Mugabe, besides being a jerk who ran his country into the ground, is the absolute best looking 94 year old in the world. He looks 50.
I don't think the "rockstar" act is a millennial thing. There have always been people like that in any field, or social group. Some people will always compensate for their flaws in ability with their strength of personality, and with our industry that just means painting the "rockstar coder" persona, because there are some people that seek that out.

That's why good hiring practices have to be used, even when you feel like it's a waste. Give everyone the same critical evaluation and don't allow yourself to skip questions in interviews because you like the person, etc. (I'm not accusing you, just saying as a rule)
It really isn't. Fighting corruption is the perfect cover to purge your political opponents and their supporters.
And this is the concern of agreements like TTIP, where companies can sue government policies that result in lost revenue.

Obviously there are some benefits - i.e. governments deliberately creating regulations that make competition difficult and essentially recreating protectionism while reaping the rewards of a free market, so I can see why it is a good thing, but it could easily be abused.
I think the more commonly cited number is 7% as an inflation-adjusted total return.
I'm seeing a decline from 93% in 2012 [0] to 88% in 2016 [1], which isn't insignificant. And black voter turnout also fell by 7 percentage points from 2012 to 2016 [2]. Combining those figures, Obama got 620 votes per 1,000 eligible black voters in 2012, while HRC got 525 per 1,000 in 2016. Compare the margin of victory in Wisconsin, Michigan, and Pennsylvania to 9.5% of the black population of each of those states.

To be clear, my point is that it's disingenuous to claim that black voters supported HRC in 2016 at the same rate that they supported Obama in 2012. I'm not trying to argue that black America is the reason Trump won, since I don't believe that to be the case for a number of reasons. For one, it's obviously stupid to attribute that much voting power to a demographic that makes up ~12% of the population. And that's made even stupider by the fact that black voters are probably the most Democrat-leaning demographic there is. Like, yeah, there's a chance the result would have been different if black America voted for HRC in 2016 at the same rate that they voted for Obama in 2012. But if white people voted for HRC in 2016 at the same rate that black people voted for Obama in 2012, she'd have won every state.

Also, I'm not sure why you're calling out women in particular, when women favored Clinton by a 12-point margin while men favored Trump by a 12-point margin [3]. I've personally lost a great deal of respect for a lot of people since the beginning of 2016 because they supported a racist troll for president, but in my case those people have predominantly been men, and the numbers tell a similar story in general.

[0] https://ropercenter.cornell.edu/polls/us-elections/how-group...

[1] https://ropercenter.cornell.edu/polls/us-elections/how-group...

[2] http://www.pewresearch.org/fact-tank/2017/05/12/black-voter-...

[3] http://www.pewresearch.org/fact-tank/2016/11/09/behind-trump...
If your blackboard "malfunctions" (runs out of chalk), it's obvious to a new user what the issue is, and how to fix it (borrow some from so-and-so down the hall, or send someone to buy a pack).

If your smart blackboard malfunctions, it's not obvious what the problem is (power loss/issue? Software bug? Something else?) and you definitely can't borrow a few ounces of chalk from your neighbor to fix it.
It almost does all that you ask. There is a big downside of the toolkit: it is filled with abbreviations, XML files, and binaries. For that reason, I still develop an alternative project focused on Linux, macOS, and Unix-derivatives. It is named Lynis and was founded in 2007.

GitHub link: https://github.com/CISOfy/lynis
Why is there no unminified source code? We only have fastr/turbolinks.js.

Also I'm assuming this works similar to the Rails gem turbolinks?
I’d like to see an evaluation of varying standing/sitting versus only sitting. I try to stand/sit alternating every hour or so.
Shopify actually donated half a million fixing mruby's security bugs.

http://mruby.sh/201703270126.html

The good thing is mruby is now pretty much battle tested.
How to wage cold war on your developers
Five of the major parties just raised their own salaries substantially, while the population widely earns EUR 500 above social security level.

There are many parallels between Germany and China. The population gets low wages in order to facilitate exports, which benefits the ruling classes and the civil servants.

The lavishly paid functionaries of the state television keep people calm.
Get email ID of any GitHub user even if it isn't public on their GitHub profile
This is a very anti-motorcycling point of view.

The fact is, motorcycles are unsafe mostly because of drivers who just don’t give a shit and feel entitled to the whole road.
Did you try Lynis as an alternative?
Sounds like a good way to get fired! Although I think everywhere has people in management that don’t understand how programmers minds work. It’s too difficult to try to educate them without them feeling like they are being patronised. Maybe time to move on anyway.
There's absolutely a glut of throwback adventure games on Steam nowadays. Take a look!
Inside Atomwaffen a Neo Nazi Hate Group Accused of Killing a College Student
How can you have stability when you're at the whims of a dictator. Having a dictator is quite different from a single-party rule that changes its leaders.

It's more about an institution vs a single man.
http://web.archive.org/web/20130115144812/http://www.electro...
It's good to understand the different price dynamics and useful to have some rules of thumbs to avoid long cost calculations.

For most startups I would actually advise to start with Heroku, which is even more expensive than AWS (it is built on top of AWS). But you save on devops and building the CI/CD pipeline. For a small team it can make a big difference in terms of productivity.

For worker workloads like CI, renting dedicated hardware (like Hetzner) is usually cheaper and produces more reliable results. spot instances also work but have less reliability dues to machines cycling. The main factor for keeping everything under AWS would be egress bandwidth pricing or if the workload spikes are bigger than 2x.
I find it interesting the one outlier in this is in "digital technology". Is that the age difference in action?
Yeah, it was an improvement, but very small.

I just don't understand why car designers think it's OK to make ugly electric cars.

The craziest example is the i8 vs the i3. The i8 is lovely but the i3 is beyond ugliness. It's the same designers trying to build for the same line of cars. A regular BMW 3-series is no uglier than a 5 or 7-series.

Tesla built a beautiful car in my eyes. They took the look of an Aston Martin from what I see.

Then in a similar fashion as converting the style of a 7-series into a 3-series, they've managed to shrink and simplify the design whilst keeping the look. It's ridiculous that other car companies can't do this with electric cars.

I know it's pure vanity, but the Tesla is worth more simply because you don't have to wear dark glasses and a hat to drive it.
The computerphile episode on this makes it quite clear as well.
https://www.youtube.com/watch?v=GazC3A4OQTE
Sounding Out Swarms
It is - but the company probably is trying to solve a problem of past mistakes. I can only speculate, but at one point, someone must have munged a network acl and created an outage. Now all network acl's need to be reviewed before being added. Maybe someone toasted VPC peering. Or their was a private VPC full of sensitive data that all of a sudden was publically available.

There was an old saying that 80% of outages were caused by humans. But there is more to account for than that. For example:
- Certifications that the org has obtained
- Contracts that the org has signed with customers
- Compliance with laws and regulations (and international)
- Insurance requirements

It can add up in a hurry and can slow an org down quickly.

It would be nice if an org could review all of its failures every few years and drop nearly all of its processes and procedures and start out fresh again - vowing to build around the failures of the past.
Ten years?

People have been saying that since before Clinton got in office.

Catastrophic inflation from government spending has been just around the corner for 40 years now. The 1970s were an odd time for many reasons, and they won't repeat again. But for some reason too many people base their predictions of the future from what happened between 1974 to 1984.
Drug cartels have been using old airliners to smuggle cocaine for years. A Boeing 727 or something similar could achieve the flight profile described in this incident.

https://www.theguardian.com/world/2010/nov/15/south-american...
Product Grid View with Pagination Using PHP, Bootstrap 4 and MySQL
How  to Give Now for a Future Competitive Advantage
Yes, it uses the turbolinks.js - https://github.com/turbolinks/turbolinks

I've used the turbolinks script from that repo.
A good pseudorandom generator will pass any such test with flying colours, in fact it's a basic requirement. Bu that is no guarantee that, given a certain length of output, an external attacker couldn't sync up and predict all future outputs.

And I don't believe there is a general way to distinguish such a device from an actual random source without looking inside. For example, they could use AES256 output in counter mode on a low entopy chip ID + high entropy backdoor key. Trivial to bruteforce given a few words of output, but you would essentially need to break AES to detect it.
That's a good point about using a device vs managing a device. We need more "dumb" devices that have optional layers of smart enhancements. Best of both worlds would be my preference for replacing things like a kitchen timer or light switch.
That is a sound observation. I think what we call identity politics is a divisive style of argument across the spectrum, and not a political stripe in itself.

In the Jonathan Haidt model, conservatives tend to be rule seeking and internally group biased, where liberals prefer the opportunities created by external influences and focus on outcomes.

Regarding the original article, 20th century wars figure prominently in the minds of conservatives, and it's worth considering that many good people are indexed on factors in a narrative that includes them.
Ask your Questions here:
https://iota.stackexchange.com/
The Value of Google I/O, for You and Your Company
Thanks. I came up with that myself although I would like to see if someone can poke holes on it [1]. I am aware that many NP-hard problems, for example, usually have good approximate solutions in non-pathological cases. So that could be a big hole in that argument.

Could a theoretical computer scientist give more insight on this? In particular, what is the hardness of approximate solutions to most problems that could have strong impact in the real world?

[1] I did, in passing, find a similar idea discussed somewhere afterwards. If someone has a reference for that, I would be glad to have it.
My old VP was a terrible micromanager and also a former programmer way back when. He would make comments similar to this one weekly or a few times a month. My company just opened up a new office with random areas to hang out, ping pong tables and the like. Funny watching him pace around all day while everyone else enjoys themselves.

How do you make someone remember what is was like?
I've probably told this story before.

I was on a turboprop flight about to depart the airport when we come to a stop and the pilot says that they have a problem with one of the bits of avionics -- I think he said it was for navigation, and that a mechanic was being driven over to swap it out.

This isn't unexpected per se; my knowledge of avionics is that a lot of design goes into making things easy to change out. If you can just swap the chunk that's not working out the plane gets into the air much faster and the electronics can be examined at leisure.

So we're sitting there about fifteen minutes, and the pilot comes on and says "Well, the mechanic says we should try powering down the plane and powering it back up before we exchange it."

They do so. It seems to take a good bit of time, probably five minutes. The pilot comes on and says "Well, that didn't work, but the mechanic wants us to try one more time."

Once again, everything on the plane shuts down, we sit there in the darkness, and then the plane starts back up.

The pilot comes on and says "We're all good now, so we're going to leave the airport."

I felt a bit nervous the whole flight.
Software equivalent of pain that brings you to a doctor's office that disappears upon medical examination.
Thought this was about https://github.com/oracle/fastr
I run WhatsApp, Messenger, and and couple of Slack channels, as separate 'applications' by using the '--app=<url>' when launching Chrome. However they are not sandboxed.

Chromium can be run in portable mode, so I guess you could sandbox apps by having separate side-by-side Chromium installs. That said, this tool is probably easier to use.
I found your comment useful, but you mention contrasting examples, and you don't mention where Xi falls. What is his approach to his inner circle?
Intercultural fluency is code for people that are less likely to say the stupid things, either to customers or coworkers, that result in lawsuits.

Career managment is code for people who can maintain professional qualifications without supervision, who book the course for themselves before something expires.
https://steemit.com/bitcoin/@kingscrown/ever-tried-lighting-...
Announcing ARCore 1.0 and New Updates to Google Lens
How does this meaningfully contribute to the discussion? I mean that in earnest. It comes across as mean, or at the very least, immature. Out of that entire comment, this is what you zero in on?
Or maybe higher IQ means lower likelihood of having to work as a coal miner (or in other occupations that expose the worker to similar types of pollution and carcinogens)?
Likewise when shopping for a new hi-fi receiver, the most important feature I wanted was a physical volume control knob.
This tells us nothing of who is actually traveling to those countries. For instance, is it mainly Pakistani Americans traveling to Pakistan? How does that play out with where they are going and who they are interacting with? Additionally, the state department may be making an attempt at predicting violence in a specific country or region of a country as opposed to looking at historical data. If they feel a conflict is brewing, perhaps they advise to stay away. They have many potential reasons to issue a warning. Additionally, those not heeding the warning may be safer in the regions they travel to depending on who they are or their experiences there. An uninitiated Caucasian would do well to avoid the Philippines alone, but someone who grew up there would generally know how and where to stay safe. This is well illustrated when you consider what happened to German tourists visiting Miami for nearly a decade (it didn't go well). Simply put, the data doesn't tell us much. It lacks context.
Single measurement collapses to some fixed state. You need to reset the whole thing and do measurement again. Repeat it many times and you'll start seeing distribution that you're interested in. Your solution/algo will amplify correct answers.

Single measurement is like revealing single pixel of a picture. If you do it enough times, you know what's on the picture.
I can understand that for a public restroom the motion sensors are a good addition. For a home setup, what do you do when you sit in the couch, or at your desk. Do you wave to the sensor every five minutes, just to leave the light on? I cannot imagine I would ever want that.
> let's propose an arbitrary one for intelligence: Ability to prove mathematical theorems

The number of mathematical theorems proven by humankind has progressed in a continuous manner (as much as a quantity measured by integer numbers can) during history.
119 points, I mean HN doesn't care about Ruby anymore.

But, I wanted to say Ruby MJIT, developed by Vladimir Makarov, and this base infrastructure variant merge from k0kubun, both doing do all on their own free time.

It isn't a company sponsoring any of them to work on it.

Sometimes I wonder if Ruby JIT somehow do save those companies millions, would they give donate some of them back to further develop Ruby.
Why would someone from Switzerland - a country that seems superior to the US in every relevant aspect for quality of life - move to the US?
It’s a bit of both, I’m sure. It’s no secret that poverty positively correlates with unhealthy habits, and there are far more smokers than coal miners.