skysight-inc/HackerNews huggingface dataset:
Would rather they started down the road of getting rid of null.
Even though you're right that

> HN isn't a tech-and-startups-only site,

it's not true that

> Anything that grabs HN attention... is appropriate.

That's why there's moderation. This is written down:

> On-Topic: Anything that good hackers would find interesting. That includes more than hacking and startups. If you had to reduce it to a sentence, the answer might be: anything that gratifies one's intellectual curiosity.

> Off-Topic: Most stories about politics, or crime, or sports, unless they're evidence of some interesting new phenomenon. Videos of pratfalls or disasters, or cute animal pictures. If they'd cover it on TV news, it's probably off-topic.

https://news.ycombinator.com/newsguidelines.html

I don't think this link is of any intellectual interest. It's just cuteness.
If more and more intermediates are allowed to enter this meta-market, it should cause all of the intermediates to commodify. Drivers already run multiple ride-sharing apps to get the best price. This deal means that now all of the apps have made it trivial for riders to do the same. So what value are the intermediates (lyft, didi, ect) creating/capturing?
Not in my mind - no one pays more tax than they need to. Are we saying that every person in the country has the same intention as illegal tax evaders?

It's hypocritical to point out someone who is avoiding tax just because they are doing it on a larger scale than you unless you voluntarily pay more taxes to the government than you need to.
> You need to use a language where you can define your own operators. Have you looked at C++, C#, Haskell, or LISP?

Or, um, Swift. :)

http://nshipster.com/swift-operators/
Atari/Atari Games VaxMail (1984)
> > Keep both x++ and ++x in the language, even though they do the same thing.

> ?

That was a subalternative underneath the alternative of changing the operators to return Void like other assignment operators. ++x and x++ differ in that the former returns the value after the increment, the latter the value before; if they return void, all they do is the increment with no difference.
Yes, as in Haskell type classes. Or Rust traits. Basically, anything that acts like an interface (defines a contract) but allows external definition. So you're not stuck wrapping your Integer in a ShowableInteger just to have an Integer that implements the Show interface.
AHV Performance with Hadoop Using Hortonworks HDP 2.3
Splitting equity among investors
Each language will have a different meaning of what exactly it means to "define your own". C++ restricts which symbols may be operators, but, you can "define your own +".
Regulating the Zero Day Vulnerability Trade, a Preliminary Analysis [pdf]
Deep Visual Analogy-Making [pdf]
You can flag it. (I did.)
What main competitor is not keeping time correctly?
The main competitor for any smart watch is the regular watch.
Specifically for the Apple Watch it is one of the many smart watches running Android Wear or the Pebble. I have never heard or seen anything to indicate these watches have a problem with keeping time.
Now that I think about it, I don't think I have ever seen anything about Apple Watch having problems keeping time. Do you have sources to back up your claim?
Rick Dyer and a Team of Bigfoot Believers
Holy shit, he actually said that. I thought you made that up. http://catb.org/jargon/html/miscellaneous.html

esr has a bad habit of claiming all of his own behaviors, likes, habits, and dislikes are generally shared by anyone who considers themselves a hacker. Thus, I assume from the link above that:

* He owns a cat

* He owns a "decrepit heap" of an unwashed car

* He has terrible handwriting

see also: http://news.slashdot.org/story/03/06/08/1534249/esr-recasts-...
Almost every C and C++ book I've seen has an, imho, needless chapter on why "y = x++" and "y = ++x" are not the same thing. This does not reduce clutter.
Gource – a software version control visualization tool
Getting Value from Twitter
Evolution of Swift [video]
I don't know why I said that it would. It doesn't.

This works, though:

recordmydesktop --windowid $(xwininfo | grep 'Window id' | cut -d' ' -f4)

though its worth noting that it theoretically could detect that its being redirected and only output the window id
It might be relevant if there were any evidence that this sort of discrimination was widespread, but I don't think there is.
There are also interview questions asking you to write FizzBuzz. That doesn't mean all loops are ambiguous and complex.

Being an interview question doesn't really mean anything other than it being an interview question.
Show HN: Cat written in go
What "operator" means will be language dependent. An operator is fundamentally just a function, so LISP fits.
Police and military protecting trade routes from bandits, and pirates.

Roads, and other infrastructure that facilitates trade and communication.

Courts that enforce contracts.

Water rights management to that facilitates the creation of cities (note I'm talking large scale here, not municipal water companies--think the federal government prevents people in State A from draining all the water from a river before it gets to State B)

Public health infrastructure (large scale, like fighting epidemics)

That kind of thing, plus many smaller scale and more intangible benefits that come from living in a civilized society.
> The assumption of equality between 2 + 2 and 4, which is true in classical math but false in computation

Using Lisp syntax, you are wrongly conflating `(+ 2 2)`, which is equal to `4`, with `(quote (+ 2 2))`, which is obviously different from `(quote 4)`. Obviously, a term rewriting approach to computation involves replacing syntax objects with syntactically different ones, but in a pure language, they will semantically denote the same value.

Incidentally:

0. This conflation between object and meta language rôles is an eternal source of confusion and pain in Lisp.

1. Types help clarify the distinction. `(+ 2 2)` has type `integer`, but `(quote (+ 2 2))` has type `abstract-syntax-tree`.

> very impressive software

For its lack of conceptual clarity. And for its bugs. I'm reduced to being a very conservative user of software. I wouldn't dare try any program's most advanced options, for fear of having to deal with complex functionality implemented wrong.
I'd like to know more about this. When you buy domain validated SSL certificate (that costs $5-10) for which the process is completely automated, does the issuing authority really check or care about which domain it is being used on? Does a human (or a program) check the "suspicious factor" of the domain?
So you can't do this:

a += b -= c;

Don't ask me in which order it executes, I would need to read the C standard again and wrap my head around how this case is described therein.

I'm also not sure wether this is defined or undefined behaviour:

a += b -= c *= a;
This isn't something I made up.

http://dwarffortresswiki.org/index.php?title=DF2014:Fun&redi...
Cyberduck refuses to implement a two pane interface with a local browser.

https://trac.cyberduck.io/ticket/2778

Juggling multiple windows is really annoying. The entire UI is awful besides that also.
I sometimes ponder a bot-rental startup. Like if you want to attend a conference somewhere, you could rent a robot for the occasion.
Do yourself a favor and spend an hour in your local hospital's cardiology department, then you will surely experience true terror. What's more extreme - a triple-bypass surgery, or eating broccoli every day?
I feel that you are talking about pirates capturing a different section of the market. Well, in this case, the pirates are going after the exact same market (people willing to pay for legitimate content), and they are selling the original product.

It's a bit like if I work in the Rolex factory and just decide to set up Rolex outlets everywhere with the watches I've stolen from there.
I think it's fine to take it personal, just don't take it out on yourself. Daniel Ek, founder of Spotify, is another Google reject.
... and now it's https://github.com/apple/swift/commits/master?page=824

Saved for posterity: https://archive.is/n8iIl
This is a great point and a huge mental problem I have when looking at (and writing) benchmarks. If anyone knows more about this (i.e. if they can show why it isn't true) please speak up.
No more security fixes for older OpenSSL branches
I may be missing your point, but there's no special casing or special forms going on in Swift.

In Swift, + and += are just operators. They're two separate operators which happen to do similar things. In Swift, an operator can be defined to mutate its left-hand operand, which += is defined to do. You can create your own operators that do that as well.

If you want to do it for methods, Swift has mutating methods which can change the thing they're sent to. In this case, you'd mark your Xform func as "mutating" and then you can write someComplexThing.Xform(bar) and it will mutate someComplexThing in place.

Of course, if you want to support both forms, you end up with a bit of redundancy as you have to define stuff twice. But the built-in stuff is the same way, and you can at least define one in terms of the other to cut down on duplication.
Completely agree, I was blown away at the level of transparency this brings to the world of pharma prescriptions. Inefficient care, overprescribing, otherwise suspect prescriptions, all of this laid out very clearly.

Ben Goldacre is moving mountains, stone by stone.
wow, now that seems needlessly confusing. "use x += _" to increase x by any amount except one, in which case you use x++"
I wonder if we are operating with different ideas of what a VLCHF diet might look like.

Lets talk specifics, let me give an an example of what I might eat in a day on such a diet:

Breakfast:
Scamble: 2 eggs with 1 clove of garlic, one or two green onion strands, 3 diced radishes, mushrooms and cabbage (majority by volume). Coffee with cream.

Lunch:
Salad: Raw salmon, spinach, watercress, 1/4 an onion, sliced radishes, sliced almonds, avocado, sunflower seeds with a whole fat greek yogurt + olive oil dressing. Water.

Supper:
Medium rare steak with mushrooms, grilled kohlrabi and steamed asparagus. Unsweetened Iced green tea.

As you can see this would be a day low in processed foods, high in greens with both a low glycemic index and glycemic load, weighing in at a reasonable 1800 kcal. It blows my mind that the video's you shared calls something like this dangerous?! Not only is it far better than the average American diet, unlike a high-carb diet this no chance of leading to insulin resistance, metabolic syndrome and eventually type II diabetes.
Interesting to see what they do have and what they don't have: https://github.com/apple/swift-corelibs-foundation/blob/mast...
btilly where does this approach come from?
Sorry, the lifetime winner of that award is JavaScript.
> I'm not defending or apologizing for OpenSSL (or any project), but your rationale isn't consistent, seemingly only trying to evoke an emotional response.

The GP is pointing out that LibreSSL has avoided the 5 vulnerabilities that OpenSSL marked sev:high since the fork. There isn't any inconsistency about that, it's a pure apples-with-apples comparison.

> It's not clear to me (as a consumer) that any project has a huge leg-up over another

LibreSSL has avoided almost half of the OpenSSL vulnerabilities found since the work. What more do you want?
I was talking about the JVM. ;)
I can only recommend that the Sand Cat joins the millions [1] of cats world wide that have switched to JavaScript: http://jsforcats.com

[1] http://jsforcats.com/#satisfied-customers
That may be true for some open source/free software licenses, but I don't think it is true for all. It would depend on whether or not the license says it is irrevocable and whether or not the license is sub-licensable.

Let's suppose Alice gives Bob a copy of code whose copyright is owned by Charles, and the code was licensed to Alice under and open/free license.

If the license is revocable, Charles should be able to revoke the licenses for existing copies, and offer replacements that are more closed. Those who do not accept that replacement license should, I think, be able to continue using the copies they have but they will not have a license. Their rights will be limited to those rights that copyright law gives to owners of legally made copies. For software, that would mean they could use the code, but could not make and distribute copies or derivative works.

If the license is irrevocable, then Charles should not be able to take away existing licenses, but he may be able to stop issuing new licenses. That brings is to the issue of sub-licensing. If the license is sub-licensable, then when Alice gives Bob a copy, Alice can also give Bob a license via her sub-licensing right.

If the license is not sub-licensable, then Alice cannot give Bob a license. Bob's license has to come from Charles. So what happens if before Alice gives Bob a copy, Charles has decided to stop issuing new licenses?

I think Alice should still be able to distribute to Bob, because she has a license that allows distribution. Without a license from Charles, though, Bob would only be able to use the code for things copyright allows the owner of a particular legal copy to do without a license, which would be use it himself but would not include making and distributing copies and derivative works.

Alice might be able to argue that the terms of her license with Charles require Charles to provide licenses to those whom Alice distributes to, and so perhaps Alice could go to court to force Charles to keep granting licenses.

I don't recall enough from law school about third party beneficiaries to figure out whether Bob could sue Charles based on Alice's license to get a license from Bob for a copy he got from Alice, or whether, if Charles sued Bob for copyright infringement Bob could use Charles' contractual obligation to Alice in his defense.
Now throw a few ++ and -- in there, and boy howdy.
Then I take it you don't buy into the Python philosophy of "There should be one-- and preferably only one --obvious way to do it."

https://www.python.org/dev/peps/pep-0020/
Module header is currently still mandatory.
No. It's easy to currently register an SSL certificate for any domain, even if that domain is similar to the name of another. The main reason this was a "deterrent" to phishers is that generating tons of these was expensive.

The phishers still have to front the cost for the domain itself, so this really isn't going to increase the number of phishing domains. It may increase the number of phishing domains with SSL, but the purpose of Lets Encrypt is to encrypt everything -- not just "official domains"
rather interesting article but the title kinda sucks
You can see he still makes use of that math degree by making perfect sinusoidal waves with his arms.
Gideon Greenspan: Avoiding the Pointless Blockchain Project – Blockchain News
Listen, we may disagree but for a fruitful discussion I'd expect more than just a reply stating "NO".

About the other statement you made: I cannot tell if the Chinese intend to demographically wipe them out, there's no official statement or document stating this, at least I'm not aware of that.

But as far as I see the current argument boils down to: They allow the Han to settle in this area and the Han do. Please explain why it should be forbidden for the Han to settle in some area that is part of their country?

And why would this automatically be equal to an attempt to wipe some population out?
Well, I assume that it's because

myObject.someVariable = myObject.someVariable + 1

is harder to read than

myObject.someVariable += 1

Also it's annoying to type and increases the chance of typos.
SEEKING WORK

Location: San Francisco

Technologies: Node.js, JavaScript, React, PostgreSQL, MongoDB, MySQL, HTML5, CSS3, AWS, Heroku

Email: talk@alexmingoia.com

Resume: https://www.alexmingoia.com/resume

Website: https://www.alexmingoia.com

GitHub: https://github.com/alexmingoia

Need an MVP? A technical lead? Or just some help? I love working with companies to build amazing products. I have extensive experience engineering web applications and services using a variety of technologies. Working with stakeholders to design and develop great software is what I excel at, and proactive communication is the foundation of my development process. Please feel free to reach out, I'm sure I can help you.
Yes! And local "var".

The optimizations that "var" allows should be the job of the compiler.

It's still needed at the non-local level on reference types, but could possibly be disallowed in structs as well.
Except it isn't, the vast majority of Apple's internal iOS stuff is still written in Objective-C.
Previous discussion: https://news.ycombinator.com/item?id=10665113 (58 points, 1 day ago, 71 comments)
The Star Trek Case for Double-Blind Reviewing
So Long Scrum, Hello Kanban – Stormpath User Identity API
The helium reduces resistance which results in lower vibration of the read/write heads, which in turn allows for reduced space between the platters and the heads, which allows for a reduced space between the platters and more platters per drive.
If the same drive was filled with air rather than helium, the increased vibration of the heads would cause them to crash into the platters - which would scrub the disk clean (which would be bad).
Note that if anyone truly misses these operators, you can add them back with a few lines of code. Swift has extensive support for custom operators, and if ++ and -- disappear as built-in operators, you can just implement them as custom operators.

I see a lot of people complaining that they like ++ and -- who may not realize that they can still have it if they want it. I get that there are legitimate questions over whether it's wise for the community and such, but for your own work, you can still have it if you want it.
I get my motivation through discipline.

Some days, I really don't feel like going to the gym. I go with the idea of taking it easy but once I get started, I give it my all.
Test your Hacking Skills
Kotlin allows you to overload the += for your own classes. You just create a function called plusAssign such that a += b translates to	a.plusAssign(b)

https://kotlinlang.org/docs/reference/operator-overloading.h...
The USG had/has a store the National Helium Reserve [1]. It was being sold off so I am unsure how much is still in it, but to answer your question you store it underground.

Edit. It looks that the National Helium reserve will be sold off by 2018 [2].

1. https://en.wikipedia.org/wiki/National_Helium_Reserve

2. https://en.wikipedia.org/wiki/Helium_production_in_the_Unite...
At that point you've expanded your criteria to Hitler and Jesse Owens.
A HEPA or the like quality air filter to equalize air pressure, which doesn't pass much air anyway.
Certainly nice that manifests are Swift themselves.

What does this mean for Cocoapods? Will Swift package manager also handle discovery/community? Cocoapods or someone else will step in there?
Are these events very popular? I'm thinking of going to the live event but not sure if it will be really packed, if so I would prefer to just watch it online.
Google's HTTP loadbanlancer and CDN have supported H2 for a long while.
I'd agree with you about the type system, but what's wrong with the package system of Go? (I have little experience with Java's)
> “Objective-C is not going away. We still love Objective-C as a language; we still very much depend on Objective-C and do a tremendous amount of work in Objective-C here internally at Apple,” Federighi told Ars. “We’ll be supporting Objective-C and continuing to evolve it as necessary to fit into this evolving world. We do think that Swift is the language that we recommend for new developers to our platform who are investing for the future and building new apps. We think Swift is absolutely the right place to start. But we’ll continue to maintain, advance, and support Objective-C for as far as we can see.”

That's good to hear.
FTA:

Advantages: "The primary advantage of these operators is their expressive capability"

Disadvantages: "Their expressive advantage is minimal"
Nice to hear it has worked well for you! I'll then modify my statement a bit a say that I would never suggest "betting a career" on a single programming language, but to of course dive in if a good opportunity presents itself.
Try to tell me that if you had gonorrhea you'd be happy to go without any treatment.
Not without looking at the code first. But the first thing which comes to mind is accidentally generating RSA primes which aren't prime because the broken multiplication makes a SPSP test accidentally pass.

Granted, finding a concrete example would probably be very difficult, considering that replacing modexp by rand() is only going to pass N as a suspected prime with probability 1/N; but the question was can it, not will anyone ever find an example.
Very much so: https://en.wikipedia.org/wiki/Hydrogen_embrittlement And it's generally reactive stuff.

Helium is a nice, nonreactive noble gas.
You might consider reading the article before commenting.
As (potentially) one of those professors, I'm going to suggest that if you're posting on HN, you have no idea how little computer experience some of the Econ, engineering, etc. students have. Matlab and other programs like it try hard to smooth over some of the rough edges that can trip up complete novices. As long as the main focus of the class is teaching "something other than programming" that's going to be pretty attractive.
Tech Startups Are Forced to Learn the Art of Cost-Cutting
I had no idea there was even a debate about this let alone people passionate about each side. This is bike shedding right?
I bet you $1000 to a charity of your choice they (Tesla Motors, either itself or through a subsidiary) have a fully autonomous (level 4) vehicle in less than 3 years, and actively provides a ridesharing service with its vehicles.

https://en.wikipedia.org/wiki/Autonomous_car#Definition

"Level 4: The vehicle performs all safety-critical functions for the entire trip, with the driver not expected to control the vehicle at any time. As this vehicle would control all functions from start to stop, including all parking functions, it could include unoccupied cars."
Tell HN: Founder of CircleCI doesn't support .circle.yml and has bad community
Is there a way to get TW to serve as a calendar? For instance, can I list everything that has to be done today, in order, with times of meetings listed and everything with a deadline listed separately? I couldn't find that use case in the docs.

org-mode has served me well, but I want something that's usable from a phone. If I put everything on a web server, I have it whenever I need it.
Introducing Live Video and Collages
Ballmer was incredibly successful for the majority of his career but by the time I arrived at Microsoft (2011), I really think his hubris and attitude had a deleterious effect on Microsoft employees.

His style of thinking about competitor's and their innovations trickled down to all levels of the company; people anywhere in the company displayed the same dismissiveness of almost anything Google or Apple or others did. Working at Microsoft is weird and feels like your in some special universe where other technology doesn't exist; socializing with Microsoft engineers (of any age and almost in any environments) and realizing they all had their blinders on was really disheartening.

Things may be really different now, I don't know, but Steve was right to leave when he left.
Envy Seems to Drive Many Facebook Posts – Psych Central News
That's only a viable strategy if Lyft & co. have deeper pockets than Uber - which they don't.
https://github.com/apple/swift/commit/afc81c1855bf711315b8e5...
Japan to test fly its own stealth jet
E-VGMs could be key to avoiding chaos from new container weight verification law