skysight-inc/HackerNews huggingface dataset:
I don’t think 1/0 = infinity is a good choice either, since -1/0 = 1/(-1 * 0) = 1/0, so we would have infinity being equal to negative infinity, which is assumedly not a practical choice. 1/0 = 0 is actually more symmetric in this regard.
Why is OCaml a 'dead language'?
TinyEditor: A functional HTML/CSS/JS editor in less than 400 bytes
Creating a custom lambda backed resource and calling it from Cloud Formation is not hard. I’m currently using two - one to create a secure parameter in Parameter Store and one to create an AMI from an EC2 instance that I then use to create s launch configuration.
"It’s really about taking the best ideas from where we can get them and assembling them together." ~ Chris Lattner

I think this is the root of my dislike of Swift. "Assembling" together the best ideas, which may only be 'best' within a specific context does not suggest the kind of design principles I am looking for in a language.

I was looking for a quote and it seems it was Antoine de Saint Exupéry who said something like "It seems that perfection is attained not when there is nothing more to add, but when there is nothing more to remove."

So I contrast Lattner/Swift with Hickey/Clojure: a small set of coherent design choices that lead to a language that is simple but deep. It's by no means all things to all women and that's a good thing.
https://en.wikipedia.org/wiki/Ringing_rocks

Contradicting the article:

« The boulders continue to ring when removed from the boulder fields. Myths have been developed by authorities to discourage the theft of boulders from the fields. At the current stage, however, most fields have been picked clean of small portable "ringers", and breaking of large boulders into smaller pieces releases the internal stresses—thus causing them to stop ringing (i.e., breaking a piece off of a large ringing rock will only gain a dead chunk of rock). "Small" ringers found today weigh over a ton and would have to be dragged out of the boulder fields using large equipment. »
That’s a good reason to create a new language. But all the C code in the world isn’t suddenly going to go away, and so the need for an improved C still remains.
"Nobody on the internet tells lies." - Albert Einstein
I should add I am not trying to make a comparison between Swift & Clojure but between what I see as a fundamental difference in the design principles that lead to those languages and why they might matter.
It's not true. Socialism can go well (and is going well) with many sorts of other *isms, simply by re-definition, or making compromises for "greater good". Soviet Union had some semi-hidden policies which broke its own pledges, but it also had a lot of official manifestations, which apparently weren't seen as uncomfortable. E.g. Soviet anthem mentioned "great Russia" in the first stanza. Official Kremlin guard was selected on a combination of ideological, and racial features. And, believe me, I can continue with this for a long time.
In a democracy, governments wanting to suppress opposing views is the result of citizens asking for others to be silenced and voting in the means to silence them. What you're worried about is the second edge of the double edged sword that is free speech - the right to express a view on the one side, and the right to oppose that view on the other.
This gets to the problems of excessive automation: forgetting, skill loss, and detraining, among experienced operators, and a lack of experience gain amongst new entrants.

We're starting to see this in particular in areas without entrance barriers or continuous training requirements, noteably automobile operation. This is compounded by novel and nonuniform interfaces.
Show HN: A parser for electronic component descriptions
How would that be better? If there is any code that they don't want to see, they would just not show you.

Android and ios are both completely opaque operating systems... stop pretending they are not.
I'm pretty sure, as the parent mentioned, that theoretic collisionness is impossible with |input-domaim| > |output-domain| bc of the pigeonhole principle. Especially so when input has no maximum size.
Imagine two identical people, twins even, starting out on an internship using PHP and OCaml exclusively. Who takes the higher CV damage?
The YouTuber manyatruenerd called this game “Dark Souls, but for programming”. Looks like an even more mind-bendy version of Human Resource Machine. Def worth a play.
Eh, it's not as easy to influence the policies and direction of bitcoin's core client as you might think. It requires consensus building, which is nowhere near as easy as enforcing consensus on the state of the blockchain. It's a messy process, involving much debate and hashing out (pun intended) of details. See here[1] for more.

If it is a commodity, then it's one that's awfully easy to spend on whatever random bullshit I come across on the internet.

[1]https://lists.linuxfoundation.org/pipermail/bitcoin-dev/
I can understand the need to create a new programming langauge, but as the previous poster wrote, they rather recreated all the complexity of C++, instead of a more lean language. Also, Swift seems to suffer from overly static typing in its object oriented approach - which defeats the idea of object oriented programming.
https://en.m.wikipedia.org/wiki/Credit_score_in_the_United_S...

Credit scores don't work this way. Zero is not a valid credit score, and the things you mentioned describe different components of the score.

I work a lot with survey data, to be interpreted by humans. In this problem domain, zero is a sane value for an empty average, though "N/A" is usually better. I wish our language would let us define it as zero so long reports don't die in the middle. But it's about your problem domain, as usual.
Apple already has with JavaScriptCore.
Right, but those aren’t the places we’re talking about that have huge swings due to the national boom/bust cycle... ie. cities and suburbs of those cities.

Basic rule of thumb - if you can rent a like property for less than you can purchase, you should rent, esp. when things are toward the top of the market. The irrational fear that one will be priced out of a market leads to bad decisions. The idea that renting is throwing money away/giving it to a landlord leads to bad decisions.
ARC in objective-c has almost fully solved this issue in practice.
> Firefox and Chrome are written in C++;

Firefox is on a course to remove C++ from safety critical areas and replace those with Rust.

Edit: to be clear this is based on the blog posts I’ve read from Mozilla about the introduction of Rust in different areas of Firefox. I know nothing of firm plans.
Agreed. And can't we just employ humans to do this? Give them a job and such?
That XKCD on voting machine software security is wrong
Javascript meets the 'safe' definition in the article - memory safe.
When people criticize C as a language they are usually referring to the fact that it easily and frequently allows for many classes of bugs that riddle C code. For decades, as an industry we've been apologizing and fixing critical exploits and bugs (ex HeartBleed), that can be traced to the fact that C allows for mistakes. If a bug is allowed, someone will perpetrate it sooner or later. Sacrificing correctness and safety for the speed and complicity of C is not a valid tradeoff for the industry in my opinion.

A major feature of Swift is that it forces you to deal with error conditions and missing values. In practice you do the right thing once and early in your code, and you can write the majority of your code with guarantees that prevent major classes of bugs. Swift is not perfect, still changing, and many complain about being forced to write safe code, but it is absolutely the right move of Apple to make for their platform.
I'll grant that OCaml has a ghastly syntax that tries to be a pale imitation of mathematics but gets it even wronger than Haskell; that it has a lot of runtime overhead compared to C; and that what you gain for these sacrifices - namely a good combination of footgun protection and expressiveness - is also available elsewhere (Rust, Julia, Haskell, and to a lesser extent Scala and F#).

But I wouldn't call it "dead" per se. At worst, the knowledge easily transfers over to Haskell, Scala or F#. (Sadly these languages all abstract-away most of the knowledge needed to write good, fast Rust code.)

But more importantly ... to business's eyes, Rust is too immature, Scala and F# inherit all the billion-dollar mistakes from their parent VMs, Julia is a data-scientist's tinker-tool and Haskell is too great a paradigm-shift for most programmers. So OCaml is far from being "dead", let alone meriting death.
Risk, and Gresham's Law dynamics, greatly influence this. Absent some means of enforcing a minimum standard of design and support, as well as internalising risk costs to the vendor, these problems are unlikely to be resolved.
Of course "bitcoin fanbois" want rule of law and law enforcement.

Bitcoin is like the ultimate in law enforcement. Basically the only way to get the coin is through proof-of-work and ownership rules are rigorously enforced.
Objective-C in 1997 and in 2017 are almost two different languages. Between ARC and generics, auto-synthesized ivars, and blocks, there's not much missing from being a modern C#/Java-like language.
However perfect it is, it can only guarantee no collisions if the size of the strings you're hashing is equal or lower than the hash size.

In this house, we obey the pigeonhole principle.
* removes insecure encryption primitives (SHA1, MD5, RC4).

=> also removes all key exchange algos without forward secrecy.

* elliptic curve support.

=> and new X25519/Ed25519 elliptic curve support.

I think most security people are aware of these features for a while. The final accepted standardization is what matters now, after 28 drafts, and the epic success of overcoming the middlebox disaster...
Sure... those fields should redefine their terminology because 2 guys on a forum can't understand what the words mean...

I hope you understand how many words from the dictionary you have been using wrong all this time. Off the top of my head, sphere. A word that describes absolutely no real-life object, as every single point on the surface of that object would have to be precisely the same distance from the center.

Want more? Clean. Spotless. Weightless (in most real life situations). Equal or same (again, in most real life situations). Or maybe some more special examples like second/minute. Defined either circularly as a reference to the other or very roughly as "depending on the periodicity of the radiation of a caesium-133 atom".

You go rewrite the technical dictionary while I think of a few more examples ;).
These rocks are present in India too
Could someone really get more information by hi jacking your camera or your microphone? If I wanted to eavesdrop on a conversation, the Mic is much better.
- python (>= 2.5.0 && < 3.0.0)

That's... that's a really weird build requirement.
Which “Brutalism” is BIMBYISM referencing? I don’t use Facebook so maybe someone here can answer this. Is it:

- The architectural style?

- The social housing traditions that birthed the architectural style?

- The contemporary literalist misappropriation of the term to reference dystopian urban infrastructure which punishes the needy? (like spikes under bridges)

I’m hoping it’s the first and will be pleasantly surprised if it’s the second. But not getting my hopes up.
Culture as a Service: How Brands Can Break Through the Tech Media Bubble
'On a course' implies that there's some sort of definite plan and resources delegated to the task. Which isn't true of Firefox and Rust, as far as I know.
This will be nice if it integrate with popular static site generator, like hugo, jekyll and/or gatsby.js. It is useful for developer to quickly build the site in Markdown, and give this frontend to business people to add post or whatever custom content they want.
...eventually when your immune system declines due to age, or if you have an immune disease. The author of f.lux reviewed the recent blue light study on HN, in part pointing out that a daylit blue sky delivers far more blue light to one's eye than screens.
I tend to disagree here. I think a few major things Electron Fiddle will bring to the table are:

- the ability to easily get Electron help on StackOverflow, etc. by sharing the exact code you're running
- one click (or close to it) examples of every single Electron API (I often find examples jsfiddles to be a much faster way to learn how to use a new API than digging through documentation)
- possibly making it easier for people who are new to coding to get their feet wet in programming a desktop app without having to open a terminal. This is especially true if they can start with a working app and just tweak small things and see their tweaks reflected in the running app.

All people are different, of course, but my biggest use cases of jsfiddle are using examples to learn how to use new frameworks. I’m excited to see the same thing for Electron apps!
The Hard Thing About Learning Hard Things
Why would anyone be a fan of conspiracy?

Or did you mean conspiracy theory? Huge difference.
Coroutines in Kotlin
Our public waste bins are designed like this in Vancouver. People put bottles/cans with deposits in a circular metal holder below the rim of the trash bin so that the homeless can pick them up easily. There are a LOT of homeless here. I moved back to Canada from Central America and my first impression of being back in the developed world is my god look at all the homelessness.
Monsanto ordered to pay $289M damages in Roundup cancer trial
Thanks for the link to the reviewers' comments. I am not an academic, and I found some of the objections surprising, such as this one that might be seen as suggesting that the authors just had the wrong attitude:

"However, I think there's some chance that if the same tasks were in the hands of people who wanted CNNs or CNN+RN to work well, the results might have been different."

The reviewer goes on to write that he cannot say what people with the proper attitude would do differently.
ah yes if there's anyone who can't find a new job it's....programmers at jane street
There are absolutely people who distribute malware specifically for getting access to webcams and mics.

If they can hijack your camera and your mic, what good does just covering your camera do? It would be a lot more valuable to hear a conversation in a board conference room for instance than just to see the laptop user on video.
Please add a note to that bug report, so they can see more people need this.
Probably, that is if putting trending and hyped stuff in CV is all one cares about.
If Dijkstra were still alive and healthy, he probably would have amended his famous statement about BASIC so as to instead apply to PHP.
Why drink is the secret to humanity’s success
The platforms decide and the question is if that is good.
If the platforms have a monopoly, and silence parties at will, it is bad for democracy.

I like to see a new law that regulates platforms with major influence.
I have seen that Youtube took away the channel of Mika Adams, aka the Health Ranger, taken down.
Youtube not responding to any attempt of conversation.
Youtube putting the channel 3 weeks later back but with 50% of the followers "removed".
We can only guess what Youtube was thinking but there should be a law against
abusing the platform rules to ban somebody, even if that person did not break any platform rule.
Removing a channel from Youtube has such a deep impact that one must be able, within reason, to be able to resolve issues.
I am not a big fan of Alex Jones and think that most of the times he talks BS and some of the times he is probably right. I see no good reason to ban him.
I don’t really understand the main argument given in the article; since zero has no multiplicative inverse, you can’t prove anything involving a division by zero. (So why talk about field axioms?)

However, to extend an operation usefully to a larger set of numbers, we can isolate some properties that we want to keep, for example:

1. Division is linear in the first argument: (ab + c)/x = a(b/x) + c/x, for all a,b,c,x.

2. If x has a multiplicative inverse, then x * (1/x) = 1.

3. Taking reciprocals twice gets back to the original number: 1/(1/x) = x for all x.

The choice 1/x = 0 is consistent with all the above, and so probably still “useful”. What properties do you want out of a division function?
What will they see from your camera except you looking at a computer?
I imagine people are just trying to help.
My sense of wonder never goes away about programming or building software in general, but my sense of wonder about my _job_ certainly fluctuates over the years. I find attending one of the larger internal conferences to be a good way to get re-motivated and enthusiastic about the company again. Luckily my favorite one of these (a conference all about the company's proprietary engine) happens in my city every year, and I've had a chance to attend for the last five years (first year being my first year at the company as well). I usually leave re-energized, having met interesting people and learned interesting things.
This looks like a pr stunt to try and put the mpaa in a better light after thy sued everyone.
Python JVM interpreter
Google hangouts or Skype are ordinary tools people use to get started. Generating ongoing mutual interest and habits in pairing might be harder than picking a tool.
How are they going to see my keyboard from where the camera is usually placed on a laptop?
There are several more of these in the local area that only the locals know about. I've spent time exploring this park and others. Is it really that rare?
But what does it give you? I may not like PHP's definition of "5uper" + 3 as 8, but at least I can see an advantage to it, a use for it. What would you do with that zero quotient, any examples? And I mean examples where you haven't checked the value of the divisor (otherwise what's the point). I appreciate spooneybarger's input as a core developer of Pony, because he lets us know this was a difficult decision, and frames the definition squarely in the context of the language.

On the other hand, the author of the article seems to push for a general, mathematical definition of 1/0 as 0. First of all, good luck with that, as there is no standards-issuing body in mathematics. And whether the author likes it or manages to overturn a very long tradition, division is defined when we grow up as multiplying by the multiplicative inverse, with some occasional notes like "Division by zero is undefined for the real numbers and most other contexts [1] or "In general, division by zero is not defined [2], pointing to settings where clearly you won't find consensus.

I refer to when we grow up because we should not forget the intuitive definition Wikipedia gives first and, I guess understandably, MathWorld gives last: "separating an object into two or more parts". As we know, this restriction of two parts can (more and then less) intuitively be loosened to one, negative numbers, rational numbers, real numbers, etc., but only arbitrarily for zero. But then again, even if we unanimously agreed on one value, what does it give you?

[1] https://en.wikipedia.org/wiki/Division_(mathematics)

[2] http://mathworld.wolfram.com/Division.html
Looks nice, though https://ksp.fosdem.org/files/ uses expired certificate.
The only SNI that the ISP can see is the SNI of the DNS provider. The goal was to protect the DNS queries itself from eavesdropping and that is implemented.
If Mapping Is So Big, Why Does GIS Feel So Small? (2012)
Is the MPAA a part of this? It seems like visual effects and animation companies to me, who already rely heavily on the entire linux eco system.
>and the epic success of overcoming the middlebox disaster...

This is one of these cases in which it would be (have been) better to just break them. It isn't TLS's job to explicitly support evil.

These middleboxes are cancer. There's no way to morally defend their presence. Breaking them (and thus effectively forcing them out of the way) would have been the better approach.
Amazon ECS Now Supports Docker Volumes and Volume Plugins
That’s why LLVM is such a great idea - any llvm language can interoperate with any other, within the same binary, with no overhead. Apple isn’t throwing away their C code any time soon either. LLVM provides a smooth upgrade path via mixed language binaries.

I suspect that the move to swift would never have happened without LLVM. And I wouldn’t be surprised if llvm’s cross language compatibility was specifically attractive to Apple because it let them have their cake and eat it too - write a new language but keep legacy C code whenever that’s the best option.
ILM created OpenEXR.
I found a rock like this as a child (but cream colored, fairly flat, about the size of a dinner plate, and an inch or two thick), though I'd never heard of the phenomena from any other source until now.

I think I found it on a trip, but I'm not certain which. It's probably still sitting in my parent's garden, somewhere.
Philadelphia is a really great city to live and work in my opinion. Good city density but not overcrowded, walkable, affordable, good public transit, diverse. Public schools aren't the best currently so many families with young children do end up moving to the immediate suburbs where schools are some of the best. Lots of colleges (UPenn, Drexel, Temple) to recruit from as you expand.

I'm not sure Philly would rank highest on the "could be helped" aspect since it has a decent business sector already, but the tech (especially startup) scene is just getting started compared to the tons of healthcare and finance firms.
The README says:

"Cranelift is designed to be a code generator for WebAssembly, but it is general enough to be useful elsewhere too. The initial planned uses that affected its design are:

WebAssembly compiler for the SpiderMonkey engine in Firefox.
Backend for the IonMonkey JavaScript JIT compiler in Firefox.
Debug build backend for the Rust compiler."
I think it fair to say that there are both problems and benefits. Our steel and aluminum tariffs are resulting in more jobs in steel and aluminum. On the other hand, it is resulting in fewer jobs that treat steel and aluminum as the raw product. So this impacts production of nails, buildings, ships, cars, airplanes, and a ton of things I don't have the space to list here. This is well before we even get to the inevitable response from China, Canada and Europe which has impacts like this, leaving farmers unable to sell their crop.

So yes, there are more steel and aluminum jobs. But in hand there are also less jobs in farming, building construction, ship building, nail manufacture, and plane manufacturing. So the question becomes what do you value more, people working a smelter or people building airplanes, etc. Well, most people who study this have found that the effect of protectionism is fewer jobs overall and higher prices.

You can choose to disbelieve this and irrationally point to 19th century economies as a counter example while refusing to acknowledge that many factors are always in play and trade is one of them, but this is the argument being made.
I’m assuming they mean that Swift generally is easier to use with dynamic types than Rust.

Rust has dynamic polymorphism like Swift, but Swift you opt-out with final (correct me please if I’m wrong here), whereas in Rust you need to promote to a trait object.

This is a small difference, but means you’re starting with different principles available to you out of the box. Personally I prefer Rust’s opt-in to complexity model, but I can see why people see that as a hinderence, even if it’s technically just as possible to do in Rust.