skysight-inc/HackerNews huggingface dataset:
> Tesla and Steinmetz figured out the theory of AC machines in the early 20th century. This was the first industrial technology where you needed advanced math to get anything to work right. Complex numbers. Calculus. Laplace transforms. That bothered some people, such as Edison. By the 1930s it was figured out, and generations of EEs struggled through rotating machine theory in college.

It's always interesting to observe differences in history from different vantage points.

In Europe the story told goes like this: Some time in the early 19th century people noticed that a thing called induction exists. Then in the later 19th century a chap called Ferraris (also known for his AC energy meter) developed multi-phase AC and the general idea of an induction motor. Some bit later, a Russian guy named Dolivo Dobrowolsky, invented a two-phase induction motor. Meanwhile, some other folks started to build transformers. Not even a handful decades later and virtually everyone in Europe used AC and both synchronous and asynchronous generators and motors were used everywhere for everything in industry.

The reason for these differences is of course that in these few years key advancements were made by different people at the same time.
Probably because most people don't really believe these studies (assuming they've heard of them). I'm very doubtful of them myself.

It really just-so happens that the standard US workweek is the exact perfect amount? That sounds incredibly unlikely. And this is a hard thing to study, too.

Moreover, anecdotally, I know plenty of people that work more hours than this, effectively (and also some that work less!).
编程的时候 命名 方法或变量 词穷了怎么办
What about them?

Are you making an educated guess that there should be a blanced tree somewhere in there? If yes, then it's a wrong guess, because there are better options that aren't based on a boatload of conditional branching and that _are_ routinely used in a lot of allocators. If no, there shouldn't be hard to produce relevant code segments. Especially since these trees are virtually everywhere as per your opening remark.
How can this website reidentify me after deleting all of my browser's history?
These are fun but I found them incredibly hard to aim; for me, the Bug-a-salt was only effective when less than two feet away from the fly. (And the fly had to be stationary -- no dramatic mid-air takedowns.)
Quickjest.js – A quickcheck-style property-based test wrapper for Jest
Low contention lock-less structures are slower then low contention locks. You end up doing more work and get less in return.

JEmalloc does locking on multiple pools, failing one it tries another. So there is a high probability it won't preform many atomic CAS ops.
Nothing installed that way can receive push notifications, though not all apps need or use then.
A big question in making credit providers liable for incorrectly granting credit is the specific definition of 'correctly'.

Sadly, just 'issued without approval' is a bit too wide a definition. You need to deal with 'john' helping others fraudulently impersonating 'john'. In that case, the bank should not be liable.

In general, I see potential for a weird type of coorperation. They verify identities for credit providers for a fee. In return, this coorperation takes on the liability of wrongly verifying identities.

Question is, given the importance of such a coorperation, how much regulation is needed? At what point is there so much regulation required that it is better left as a government-run service?
> (which has been used for many years)
NixOS is the system configuration layer and closer to puppet in solo mode. With a single (or multiple) nix file(s) it's possible to configure a machine and it's services entirely.

NixOps is the cloud configuration layer, it provisions cloud resources and uploads NixOS configuration to the machines. It's closer to terraform in that regard. It also has a state file (currently sqlite3) and uses a push model to propagate configuration changes.

What's missing right now is a third option where an agent is installed on the machines for a more dynamic configuration of the cluster as a whole. This role will probably be filled by Kubernetes or Nomad.
This is the individual equivalent of a website paywall. We all know how much happiness paywalls engender.

I know what my response will be when I get my first 21.co bounce message: "Congratulations. You have declared yourself irrelevant."
I agree that we as a society should make sure that artists can make a living. But I am honestly not sure an open-access approach to music would be any worse financially. Historically, the recording industry was one of the most exploitative. You can find a hundred stories of bands that sell a lot of records only to see barely-getting-by money in return. You can find a thousand stories of modest-selling bands getting totally screwed.

Things are now in a great turmoil, so we're still seeing where this goes. But I think it's no accident that Patreon was started by an independent musician. They expect to pay out $150m this year to artists. What do patrons get in exchange? Basically nothing. They just like supporting people doing good work.

I agree the morality of pure piracy is not so great. But the notion of piracy itself is rooted in a specific and entirely artificial theory of ownership, plus an industrial model built around that. The morality of that industrial model is in practice not so great either.

Things like Patreon and Wikipedia suggest that the morality of the commons is one that could work well in practice. It has its issues, but I don't think they're a priori greater than the historical alternative. Especially if it's supplemented with the sorts of things that Kevin Kelly describes as "better than free": http://kk.org/thetechnium/better-than-fre/
And the article already mentions .test?
Can I use it to deploy either client or server applications on windows? All configuration and deployment tools I've looked at seem like they assume the only deployment target is linux servers running web applications. I don't care about the web. I need a deployment tool that works for local research on my clients' analysts' desktops, not just devops on remote somewhere.
Developers were to blame last time too, IE6 was better than everything else and had all the market share so developers didn't target anything else.
Are you signed in? The top navbar is only present if you're signed in[1], otherwise you should see "Moments" as the top contents of Featured[2].

If you're signed in and don't see it perhaps when Moments first came out a couple years ago you installed one of the various addons to hide it and don't remember it?

[1] https://imgur.com/Zp4v6sZ

[2] https://imgur.com/Y8e7RQE
You may want to read up on DANE.

https://tools.ietf.org/html/rfc6698

Not really an alternative to HTTP+TLS, but possibly another way of doing it depending on how it's implemented.
"More than 255 arguments can now be passed to a function, and a function can now have more than 255 parameters."

There are human devs who needed this? Or is this a sign that AI bots are now involved in language design?
I'd rather lose my finger than my head, thank you.
I don't follow. You don't believe perception is happening? Or are you saying perception doesn't require separation - like a eye can see itself without a mirror?
I don't think we should boycott his work, though. Certainly we don't owe him anything, but the music he made as Cat Stevens is beautiful and it would be sad for the world to lose it. We'd impoverish our culture if we cut out all the art made by disagreeable people.
An interesting consequence of your last question, is that if Google added .dev and .foo to the HSTS preload list, it means they don't intend to make these domains available for public registration at all. If they did let people register them, they would have no way to enforce that the sites on there honored the hsts requirements.
I think the excuse is always that small businesses can't afford to upgrade their POS. I think the reason is that a lot of money is made by processors, etc. on all the fraudulent transactions. The credit card companies make plenty on high interest rates to cover this loss. It is like retail stores factoring in 20% (e.g.) loss into their prices so the consumer pays for it. I think capping interest rates on credit cards would force them to push chip and pin more. It is weird that we don't have chip and pin at the pump but now most places require zipcode which is worse than chip and pin.
I do like the idea of distributed efforts, and I think Bitcoin has some really positive aspects. Still regarding Bitcoin as the stable alternative to USD is a major stretch, and I think that is partially due to it being decentralized.

For one, with no state backing, what does a country risk in simply banning Bitcoin? China has already proven they are paying attention to crypto exchange, and their willingness to institute bans. Do you not fret the US could do the same at any moment? What options are there if the US put a ban on bitcoin exchange? Do you think it would still retain its value?
Free Me – Exploring the Free Data Type
I completed all three yesterday. Late in the day, but it worked.
The game you play when you retire, get the lowest score.
I agree it's not perfect. I kind of get around it by disabling iCloud backup (which includes iMessage, etc.). I just use iCloud to back up photos, and I back up my phone locally.
How have you not noticed any of them? Most obvious is local storage throws out of space exceptions if Safari is in private mode. I'm not even a web developer.
Sure, server side software avoids update issues, piracy, and fits naturally in a subscription model (more $$$ over time). No argument there, but those are considerations for the seller, not the consumer (me).

As the consumer, I don't like server side software when running locally is a more natural fit.

Client side programs will work forever, even after you go out of business. As long as the system it runs on doesn't evolve out from under it.

It has a feeling a permanence. Of an heirloom. Not some ephemeral service. A feeling of ownership like a hammer in your hand.

It may not be as good for you, but if it's software I want, where running locally is the most natural fit, I will glady pay several hundred without blinking. If I really need it I'd pay a few grand without blinking.
Climate change is a mind-bogglingly large-scale problem. We've known that for decades, fossil fuels was energy expenditures that accrued debt for short-term growth... it's not going to be cheap to fix.

Actual wars are a better place to look - the US has been spending an average of $300B/y on war in the Middle East for a cause that kills next to no one. Cut backs on war would more than pay for all our healthcare, space exploration, and climate change needs.
Tremendously? A gallon of gas here in Chicagoland is under $2.50. I filled up in LA last week for $2.89. Am I the only one that remembers when gas was at the $4 mark just a few short years ago?
It's still not very high though. I work on a product that supports Safari and we have like 4% usage. However, last time we introduced a bug that broke it completely (by accident), no one said anything for like, 2 months (it's a SaaS, but we still have hundreds of thousands of daily users).

Turns out not only do we have very few Safari users, people are so used to Safari breaking on shit (not just ours!) they just switch to Chrome for specific tasks out of habit instead of filing issues.

Safari is the somewhat inconvenient but built in browser Mac users use to save their battery life and not much else.
Nix is a bit like JSON + functions.

An object (called attrset in nix):

{ a = 3; b = 4; }

A list:

[ 1 2 3 4 ];

A string:

"hello"

A multi-line string:

''
multine
string
''

This defines a lambda with two arguments:

a: b: a + b;

It's possible to pattern-match arguments. This accepts an attrset with keys a and b, and maps them to local variables:

{ a, b }: a + b;

There are some variations around that like `{ a ? 3 }:` `{ a }@attrs:` and `{ a, ... }`

One special type is the path, which has it's own literal that starts with `./`

To load a file, the `import` keyword is being used. In most cases the whole file is a big lambda function, which gets returned by the import.

Once you know that you can start reading nixpkgs and learn about the building blocks to constructs packages.
Could be useful for code autogeneration of some ilk.
I think it was you who derailed this particular subthread by confusing the concepts of "moral rights" (being named as the author of something you have written) and "morality" (not being stolen from, or randomly killed).

This confusion was no doubt intended by those who coined the term "moral rights". But they are not the same thing. Copyright law is not needed to enforce moral rights, as you can very well see from the fact that we do acknowledge the creators of works that predate copyright by hundreds or thousands of years. We can freely copy Homer's works. And we do. Be we don't remove his name from them.
I think you'd be surprised on the snack front, but soda is addictive poison, that's true enough. The issue with the traditional diet is that it only worked when food was somewhat scarce. Even without the influx of 1st World crap accelerating the obesity/diabetes issue, those problems would remain.

I'm not denying the role of Coke, Nestle, McDonalds, etc in amplifying an existing problem into a full blown catastrophe however.
That's awesome. I wonder if cops could construe that into an "obstruction of justice" (or similar) offense?
Not really, imho. It makes more things work out of the box, but input and output for things that used to be ASCII anyway remain the same.
It's super easy with an electric fly swatter - it's like a small tennis racket which kills on contact. They might see it with their super fast vision but the racket is just too large for them to avoid m
How to Upload Facebook Live Videos into YouTube
Why, what kind of drivetrain issues could you have possibly had with a regular, non-electric car in the time you owned your Leaf?
The first reference I linked specifically controlled not just for disorders that could lead to similar symptoms, but even things like the mother's socioeconomic status, etc. The effect was still huge.

I don't think anyone's seriously suggesting simply forgoing anesthesia in life threatening cases, but people might want to rethink a routine tonsillectomy or some dental work.
Visualizing the Sentiments in U.S. Presidential Inauguration Speeches
I loved playing golf as a kid. I think it influenced almost every major golf game that followed.
I thought this was going to be about using the software Fragmentation, now forked to Frag.M
Join InterSystems Developer Meetup on 17th of October in UK, Birmingham
So if I get it correct, Apple stated years ago that Flash wouldn't be support anymore on their products (then others followed).

So Spotify, due to the end of Flash player moved to HTML5 player.

And then the only browser which need a flash player is Apple Safari ?

Oh, the irony :-)
bitcoin or creating a new token helps for that
Lol. There is a different crime called "estupro" that applies from 12 to 18 even if consent was given.
How the Cellular Apple Watch Will Impact Carriers (and You)
I'm a big fan of "each one teach one". When we brought on new team members, we had the last arrival show the newest employee the ropes from setting up a workstation and accounts to identifying the right resources when help is needed. If time is short, then you may not choose to take that approach, but you would be leaving them in better hands if you allowed them to work through some of the core issues and answered whatever questions they may have.
How to write a good Slack site preview
I guess it's mostly just a difference in volume then. Google tells me 8 oz translates to about 230 ml, that's pretty much the average glass of juice around here.
It’s Time to Talk About How Siri Is Reinforcing Gender Stereotypes
Best Book Ever
> Deleuze is hard to understand because joining his world takes work. He's very precise.

That's a tautology-- "Deleuze is hard to understand" is a restatement of "joining his world takes work." The question is-- why does it take so much work?
> The best practice for at least the past decade has been to either use subdomains of globally resolving domains that you own, or use one of the four testing TLDs specified in RFC 2606 that are guaranteed to never be delegated: https://tools.ietf.org/html/rfc2606

Unfortunately, not one of those four is designed for the use case of "private domain, for use in production", which is pretty common for companies to use.

.test is for "testing of current or new DNS related code"

.example is for "documentation or examples"

.invalid is for "online construction of domain names that are sure to be invalid and which it is obvious at a glance are invalid"

.localhost is for the loopback (and using it otherwise breaks existing code)

Nothing prevents the first three from being used for this purpose, but at best it's semantically awkward and jarring. What sysadmin wants services running on an internal VPN to use the TLD ".test" or ".example"?
Oktoberfest is under way and people are already having an amazing time
Did you guys approach a NGO or a hospital which does these operations at lower costs?
Sure. I meant that writing a reasonably fast non-reentrant allocator is easy. Getting it to work well in a threaded environment is where all the worms are.
Ask HN: Sign up enterprise customers as a solo technical founder
I'm in the early stages of talking to customers about a point enterprise solution that will plug into the rest of their stack (i.e., it's relatively low risk because it plays nice with their existing setup, no need to bet their farm on my approach).

I'm a solo founder with a deep technical background. I have a demo that works.

What's the best approach to signing up companies for (free) evals?

What level employees of customer companies should I be writing to?

What should I expect when talking to customers?
If changing the JVM spec is an option, then surely so is using an existing spec. IBM has an RTSJ JVM[1], which, I believe, is based on J9.

[1]: https://www.ibm.com/support/knowledgecenter/en/SSSTCZ_3.0.0/...
Just something i want to mention too. While we are into In-Memory Computing era, memory prices /GB hasn't dropped a bit.

I was hoping transistor become so cheap, 8GB should be the norm and 16GB for mainstream, anyone with serious needs could get 128GB+ or even 1TB.

Instead our memory prices has been trending upwards, slightly improved energy efficiency and still no ECC.

Why? I thought memory were supposed to be commodity.
Well, except for the fact that half the people won't bother and the job will have to be done at some point anyway.
Chrome as a browser doesn't follow internal name assignments. Running in a sandbox won't fix the issue that Chrome will redirect perceived TLDs to HTTPS.
12 KPIs to monitor and optimize for a startup
According to Wikipedia [1], it's more like 8 glasses (2,5 dl/ 1 cup per glass) of orange juice. That's 2 liters. The apple/grape juice carton I have handy gives a very similiar number. What kind of juice (or portion size) are you thinking of?

[1] https://en.wikipedia.org/wiki/Orange_juice
Top 20 Objective Questions on Applets in Java – InfoTechSite
That is far from the worst potential problem with using it, though. The biggest problem is if it does get delegated and you do not end up owning the actual "domain names" that you are using. You are now leaking web traffic to some unknown third party.
So put on a Nix overlay on your Linux/Unix flavor of choice like people have done with pkgsrc in and outside the NetBSD community?
> You literally side-stepped all the maintenance that is required for a reliable SaaS app

My post was only a few paragraphs long, but one of them does in fact address this. I've spent maybe 400 hours this year working on my little handful of SaaS products. Zero of them were spent maintaining the server that they run on.

On the effort scale, it's nothing compared to writing the software and supporting customers.
Can't answer all of them but a few thoughts:
1) Agile methodology was essentially developed by Toyota and its roots are inspired by Japanese philosophy
2) Microsoft's main philosophy at the time was essentially to "destroy" all competition in order to remain a monopoly. Regarding TWC, Pfizer, Equifax, strong arguments can be made that they are very bad for consumers, either rent-seeking monopoly (TWC thanks to owning large parts of physical network), attempt to make more money by keeping consumers sick (Pfizer), or plain fraud (Equifax). If a startup can provide the same or better services without the harm, it can destroy these parasitic companies, benefitting both the entrepeneur and the consumer.
3) Sure Consumer (Apple) and Enterprise (Oracle) product strategies are different but I wouldn't say they are diametrical opposites..in the end both Oracle and Apple are in the business of maximizing sales of technology products. Ellison sometimes appeared to lack the visionary aspect of Jobs when it comes to upgrading products, i.e. when he said at a conference that cloud is just hyped B.S. (I think it was 4-5 years ago), then have spent last few years trying to catch up to the competition. http://www.cbronline.com/news/cloud/he-said-what-5-things-la...
There is no "DNS police" entity to force them, but just using a random domain will cause issues if that domain ever gets registered.

First, you will begin leaking internal data by means of DNS requests, server connections, maybe even internal emails - e.g. when a client attempts to connect to the intranet outside of VPN.

Second, you obviously won't be able to communicate with the new owners of that domain.
Thanks I didn't even realize I could change this. And I would add that most people outside of developers (of any kind) probably don't care.
Closing in on cancer
Perhaps it could trigger if you do function(*iterable), with a huge iterable?
So use the first option for production services.

What's so bad about service.company-internal.com? (or service.internal.company.com, but some people understandably prefer having them totally separated) You don't have to actually resolve the internal names publicly.
Highly Anticipated Emmy 2017 Award Is Tonight
Where will they go? Facebook/Google? That won't solve their problem... maybe Oracle?
It should be noted that DigiD is a terrible system. The government acknowledges that and is currently working on a new system.

For illustration, when I'm logging in, I get the option to login with my password, OR to login with 2 factors. When the second factor is optional, it doesn't provide much defense. Some select services require the second factor, but its very few. Until very recently, the second factor was SMS, which is rather easy to fool.

Also, as far as I know, Digid isn't related at all to banking. Instead, you need to show ID (passport or ID-card, drivers license does not suffice in this case) to open an account with a bank. After that, each bank has their own system.
Most laws in the past were couched in the language of morality, or even better, divine commandment.

But just because people think all law is about morality doesn't make it so. It's the job of a philosopher to question people's assumptions and identify errors in them. This looks like a classic case of hasty generalization. Some laws are about morality. Other laws might not be.

I think copyright belongs in the non-moral category. You have not offered any reason to disagree with my statement other than a vague "But people in the 18th century believed otherwise!" Well, I'm not disputing your historical facts. The fact is that people in the 18th century believed a lot of things. Some were true, some were not.
When we say 2%, are we talking about 200 million users world wide and 15 million in the U.S alone? It's worth putting an engineer to fix the codec, IMO. I think it's more of a strategic move over a technical choice in the view of Safari new ad control.