skysight-inc/HackerNews huggingface dataset:
In the last couple of years we've seen a small number of significant improvements like async/await but mostly small tepid improvements like string padding, array.map(), etc. It's like TC39 are simply polishing JS.

I'd like to see TC39 tackling the big problems of JS like the lack of static type checking. I'm tired of looking at a method and having to figure out if it is expecting a string, or an object.

We had EcmaScript4 about 10 years ago with plenty of great features but TC39 killed it. And yeah, it probably made sense since the browser vendor landscape was very different back then. Today it would be possible to implement significant changes to the language much like the WebAssembly initiative.
I don't have a newsletter. I thought of having a blog for a bunch of stuff like this but I like writing software more than blog posts and I knew it'd abandon it after a while. Maybe there is "turn all your hn posts higher than X upvotes into a blog post series" script somewhere.

However you can subscribe to the Erlang mailing list. That's often a good place to start for tricky or interesting questions you might have:

http://erlang.org/mailman/listinfo/erlang-questions

To contact me directly check my profile.

Cheers!
Could the title be updated to say B shares? This donation is a small percentage of his wealth and part of his planned giving.
Dan Shiffman is always excited... ;)

https://www.youtube.com/channel/UCvjgXvBlbQiydffZU7m1_aw
For a scalable 5M connected users system no language is a silver bullet. Some tools are just better suites for some jobs. Elixir/Erlang OTP just happen to be suited very well for these kind of jobs.
Can someone ELI5 as to how this gathers the spatial data for the samples? In my ignorance, it doesn't seem clear to me as to how this works. I get that you would be gathering different volume data with each dip but it seems to me that this information would look like a graph that rises and falls back to zero. In the video, they showed each dip as gathering an accurate 2d cross section of the object. For instance, the 2d slices of the elephant on each dip graph. They seem to be able to shape a closed 2d polygon slice per dip and it is mystifying to me. Am i missing a part of the process or what? Is there some imaging going on as well on top of the volumetric sampling?

Edit: I should add that this really impresses me regardless of how they do it. Ive always thought it was a pretty big bummer how optical 3d scanning looks so incomplete in a lot of cases.
Ah friendo you've never read x64 assembly
First object teleported to Earth's orbit
Could you explain which changes to Elixir 1.5 and OTP 20 should result in better Dialyzer error messages? I didn't find anything relevant to that in the respective changelogs.

(For context, Dialyzer is a static analysis tool detecting type errors which is part of the core Erlang distribution.)
That, and—unlike TLS—there isn't any class of business-destroying vulnerability whose easy solution is IPv6.
Thanks for all the insight!

Have you seen lightsail or codestar?
Something needs to give on this stuff. It's probably going to be hard to get a significant change done, such as getting rid of software patents (following from no patents on Math).

I've wondered if one way to chip away at them, would be to make Patents non-transferable. This would preserve the intent, to protect the inventors R&D costs, but not allow the patents to be exploited by trolls. This would have the effect of devaluing patents themselves, but it's not clear that patents were ever intended to carry direct value rather they exist to grant temporary monopolies for the inventor to earn back the investment.
what about self signed certificates? wouldn't it be great if these swebsites treated like http ones, without any security flags
How the Economic Machine Works in 30 Mins
I was all ready to complain about this quote. Specifically, it seems somewhat silly. MS didn't win by having a better operating system. They "won" by having products people were buying. A revenue stream is a valuable thing.

That said, I encourage everyone to fully read the section that is pulled from. The whole article, actually. Very nice talk and I think it contains some very insightful points. In particular, the idea to keep the system small and the rest will fall out of that.
Standard disclaimer: your mileage may vary, and it seems like you may not be in the US (?), so I'm not entirely sure how your University system works or who is paying for it, so this may not 100% apply, but the biggest advice I'd have for you is:

Slow down

It's not a race and taking an extra year or two in school isn't that big of deal long term. I ran into a bunch of shit during college, including bouts of depression and the death of my father, and the worst thing I did was try to power through it and worry about graduating in four years. A caveat: It may be a little easier for me to say this than for some others, as my father was very successful in business, so another year or two of college was not a financial burden.

A fun trick: if the classes you struggled in have large lectures, just attend it again the next semester. No one is taking attendance. You'll just be there to learn without having to worry about any of the work or the tests. I did this with a couple of my CompSci classes and it was helpful.

Your school also likely has a bunch of fairly nice people who work in the guidance center who would be happy to talk to you about your struggles and concerns.
Microsoft's Calibri font was a clue in corruption case
Can someone please explain why a helicopter can't go over the hole but a plane can?
> The "Unix Philosophy" of "do one thing and do it well" isn't just a tagline. That philosophy is cherished because it's been proven to be valuable

It's PR fluff -- AFICT it's actually never been true. If it were true, we'd not have a "sort" option for "ls". (EDIT: It would also require a better interchange format than "unstructured text", but that's an aside.)

It's also fuzzy enough that you can always claim it to be true: What is the "one thing", well for systemd[1] the "one thing" is to be a "system daemon" (not an "init system" whatever the definition of that is). I guess you could argue whether it does it well, but I claim that it does -- at least for every single system that I'm running it on.

[1] That's the correct spelling, btw. Not SystemD or any other variation.
> Why java.beans.PropertyChangeListener is from Swing UI?

Well the java.beans package and Swing UI are in the same module. Why? Because java.beans depends on AWT. Why? Because of interfaces like this https://docs.oracle.com/javase/8/docs/api/java/beans/BeanInf... Could AWT und Swing still be split into different modules? Maybe. Does that mean that almost every Java application will have to deploy two UI toolkits, PLaFs and sound even if it's just a web service? Yes because almost every Java application at least indirectly depends on java.beans. Does Oracle or Java 9 / Jigsaw marketing care? No.
Serious question: if I just run a simple blog with static HTML hosted with Apache, do I really need HTTPS? Will I be penalized by not having it?
Yes, US-based security companies don't work with FSB.
Not really, for example GitHub features mostly relate to bug tracking, etc, whereas MS offering is much broader - they just announced an invoicing product which could kill most invoicing-related SaaS apps out there.
what is a SAFE? How is it different from standard equity/debt?
I've recently started adding my own filters actively toy ad blocker as well. It felt like a weird step towards being a contrarian to the modern web. It's how I make my living so I played along as much as I could, but now I want to corner myself off more than ever.
> Is Erlang really that much of a barrier?

It's not. Not for me at least. I prefer Erlang. Maybe I am strange like that.

I found initially the core concepts are hard - that is using using processes for concurrency, functional (immutable) data structures, functional patterns like recursion instead of for loops, the library ecosystems those are harder things. Those are the same in Elixir as well.

Erlang the language itself also simple. Think a bit like C and C++ if you're familiar. Erlang is like C, the language spec is small. Elixir has additional features which make it more expressive but also more complicated (macros, pipes). It's a bit like C++ having templates and classes. You can do more and with them, but it's a also a bit more to learn. I am exaggerating as Elixir is a lot more elegant and consistent than C++, I am just using the analogy to illustrate the idea of simplicity vs power.
How is it a scare tactic? It's the reality, there's not much more room for an unencrypted web nowadays. Troy can feel free to advertise whatever he wants, and what he says is still true.
"HTTPS Everywhere" is a knee jerk reaction to the Surveillance State which actually does nothing more than serve the Surveillance State by giving gullible folks the perception of security while allowing State actors clear-text access to supposedly encrypted traffic (MITM attacks via undermined CAs and Certificate Transparency is supposed to help but c'mon... who are we kidding)

Waiting for your 200 down votes.
It doesn't look like it right now:

> all websites with form fields served over HTTP will show a "Not secure" warning to the user

As long as you don't have a form field, you should be fine.
Bleh. Wish I could use ssl on my GitHub pages site with custom domain.
> they have access, and can purchase, the largest and best data sets available

Google might have an advantage in personal data, that can be used for advertising and health, but when it comes to general data, such as image datasets and NLP datasets, they can be found in the public domain and are growing fast. There is just a specific, limited advantage to Google in datasets. Mostly for ads.
Are you serious? Please take a look at this message:

>Wrong. Javascript was designed in a week. The creator admits it's bad. This is universally known by professional programmers, why are people defending this?

That is an opinionated message about a language. I imagine people are taking offense to my opinion, in which case I urge everyone to take a step back and look at the difference between the insulting sarcasm and an extreme opinion. Sometimes circumstance and bias blinds you into taking offense, especially if you're one of those people who only knows javascript.

>Should I not consider myself a professional developer because I don't find JavaScript bad? In fact, there are parts of it I quite like.

This message illustrates exactly what I'm talking about. When did I say any of this? Did I say you're not a professional developer because you don't find javascript bad? No. I said Professional developers find javascript to be really shitty, and it's quite universally known. My mistake, I should have wrote "Many" professional developers, as you seem to mistook it to be "All" professional developers.

Look, there is no denying this fact. A great number of really good developers intensely hate javascript, there's a reason why. I will say this: You are a horrible javascript developer if you do not have the ability to comprehend the bad parts of javascript and why "many" developers find the language so shitty.
And the fact that Amazon will often block reviews that mention receiving a counterfeit or fake product.
I sort of get it. But this part he writes in the discussion seems to hold, no?

"What I mean here is that elixir has a predefined syntax. It has a number of predefined syntactic constructs, operators and function calls. And while I can with macros change the meaning of the constructs I cannot add new constructs or operators as the handling of macros is done after parsing. So if I want to add something completely new it ends up syntactically being a function call. Now elixir has many ways of disguising function calls at the end of the day they are syntactically still function calls. For example parentheses around arguments are optional, there is special syntax for property lists where the keys are all atoms, special syntax for using these property lists as function arguments, special handling of do ... end when it is a function argument, etc. Elixir's uniform abstract syntax makes it easier to work with these but I am still limited by only having the existing syntax."
Yes, they can scan voids. Look at the examples. Blind holes or convexities that trap air could be a problem, but they should be able to detect such inconsistencies.
But I'm genuinely curious why people want to pay this huge price for merely okay hardware? You can get a lot more power out of a non-Apple product for a lot cheaper. I am not trying to start a flamewar here, I've just never been able to wrap my head around this idea.
Absolutely. There are plenty of companies out there that fit the profile you described. I guess my point is that this isn't representative of the majority at all. It isn't even representative of the top 500, 1,000 or maybe even 10,000 corporations in the word.

There reason, I propose, is the deviant behavior you describe isn't sustainable. If you do not produce real value for customers in the long run you are not going to produce value for shareholders. You can "cook the books" for a little while. Maybe. But not in the long term.

The title of the this thread names Apple and Google. Both of those companies have produced a huge amount of value for users and customers as well as shareholders.

Maybe I'm being repetitive. If someone invests their money in my business I am going to make it an absolute priority to do well by them. And the only way to do this is to do well by customers. One forces the other. And, BTW, I don't think this is a conscious decision. In other words, I don't think anyone says "Dammit, we need to make shareholder returns a priority...let's focus on customer value". A good company is aware of shareholder value being important yet their focus and driving force is and should be a passion to deliver best in class products and services (understanding that the one will take care of the other).

Are there companies out there who behave badly? Of course. Thankfully they are the exception rather than the rule.
Intel's new chips allow you to logically dedicate segments of l3 to different programs/VMs.

https://software.intel.com/en-us/articles/introduction-to-ca...
Three and a half ways to unpack malware
I do exactly that with Cloudflare.
7 Reasons Why Refactoring Techniques Will Improve Your Life as a Developer
I love the idea of ngrok, but, it's unfortunately too slow these days.
My understanding is that you will already be ranked lower on search engines.

My main concern with this happening is that browsers are going to get a reputation for being 'alarmist', so when something really goes wrong, they won't be able to communicate it effectively.
>. It's hard for AI start-ups to do anything without access to the right data sets,

Exactly. As a founder of an AI focused startup, it is so hard convincing VC's that data can be as valuable as revenue.

Some VC's don't even bother beyond the screening call If there is less revenue although the data we gather in the process is more valuable.

Google very well knows the true value of data and hopefully they can shake the VC world for AIs
Ask HN: Are publicity agreements a requirement for companies now?
I've accepted a technical position with a large (>10,000 employees) company (within the US) and one of the requirements during the on-boarding process is to grant the company an unlimited license to use the employee's name, likeness, voice, image, and other identifying attributes for any purpose during or after the term of employment.

Is this a standard term of employment for anyone else's employer? Would anyone here be concerned about signing such an agreement?
great noob elaboration. much appreciated. :)
you might also enjoy playing with 'ghost diagrams':http://logarithmic.net/pfh/ghost-diagrams
HOW AFRICANS UNDERTAKE DANGEROUS JOURNEYS TO EUROPE
The JVM has a full specification: https://docs.oracle.com/javase/specs/jvms/se8/html/

The specification is dense but still readable. I'd start reading in order, up through the third chapter which explains how to compile various Java snippets to bytecode. Perhaps start there and go back to the second chapter when you need more context.

I've also found this old but still relevant book to be a good guide: http://www.artima.com/insidejvm/ed2/
His coding challenges are a source of endless entertainment for me. I swear I could watch an hour a day of his unique combination of cheery, clumsy, and informative.
Checkout TypeScript. It's great.
> Java is basically a superset of Erlang at this point

It's not a superset until it has a non-sharable memory heaps between threads, complete and easy hot code reloading, dynamic tracing (being able to log into a node and update code at will as it the application is running).

The safety and fault tolerance is the #1 advantage Erlang has and that it's hard to get with other frameworks that claim to be Erlang-like. Almost all of them focus on "We have a thread and a queue and we send messages between them so we have 90% of Erlang but faster". Sure they can spawn OS processes to get the same effect or even whole servers but it's more awkward and can only be done so many times before memory or CPU resources are exhausted.

Oh you can think of it another way. There is no point in having a distributed system with 5M concurrently connected users if it crashes 2 or 3 times per day and it has to be restarted and all those users lose their connections. So as the system gets more distributed and more scalable the fault tolerance aspect starts to move to the front alongside speed and performance. And that's just where Erlang starts to shine so to speak.
I do like the vim-ness of xmonad in this video, and the tabs, and context awarness: https://www.youtube.com/watch?v=70IxjLEmomg

Will need to work on getting these features through xmonad, or something else. gtile itself seems to be js.
You won't have confidence that your visitors see the content you serve as you intend because it can be modified in transit. Your visitors will be broadcasting at least the exact address of the pages they read on your blog, and are vulnerable to anything that gets injected into your traffic in transit (e.g. malicious script).

Every website should use HTTPS. It's the right thing to do. It's not hard to do these days.
Which is why it's important to recognize those intersections, see them coming before they arrive, and act when the time is right. A time for everything, and everything in its own time.

Construct safe spaces for yourself, that always provide what feels good to you, but will only let you contribute to your own (and other people's) long life and prosperity.
Ease and simplicity is definitely the biggest reason notes have continued to be used. But their original purpose was to solve the problem of setting a price on early stage companies.

I agree that 20% discount by itself is not appealing enough incentive for the risk of early stage investment. But what about 40%? ...50%? A discount is just the mechanism that most accurately captures the variable nature of valuation. Finding the right number is where the modeling happens.
Maybe that's it then, still find it odd how the news that something almost happened is related to HN. I would understand it if the investigation showed a system failure or something similar.
> Think of stuff like the quadratic equation, or formula for the surface area of a cone. How many of us were just taught these magic formulae without first deriving them? Why do we start talking about pi without first explaining how it's calculated?

If we're waiting until children are capable to derive those equations before we get them to use those a bit, then we're waiting for very long. And if you just keep telling them to add numbers and multiply numbers together for many years in a row without giving them any interesting problems to go with it, there'll be no one interested in math by the time they'd usually have the abstract maturity to deal with the more foundational modern math problems.

We don't ask Computer Science students to write an OS before using one, we don't ask carpentry students to build a hammer and cast nails before using them.
I did my research. My research indicated that Twitch got set up in Rails, and first transitioned their chat client out of Ruby land.

I was not able to determine when Twitch began doing this, but seeing as their first major growth spurt was on launch, seems unlikely it was before they had to scale Rails to a substantial degree. I was also not able to determine what else they've switched over.

Old news is still relevant information, particularly when that news is "went from zero to ~10m on tech X".
I keep hoping we'll get a decent consumer grade interconnect fabric and just run half a dozen standard SoCs for all of the peripherals.
A lot of the Erlang-y error messages that bubble up into Elixir can get pretty gnarly. Earlier today I accidentally tried doing `Map.get(key, map)` (map should be first arg) in a `&handle_call/1` callback on a GenServer module, and it got ugly fast. I knew what the problem was from experience, but the Erlang-y error can be intimidating to see for the first time.
I read somewhere that in Canada they passed a law that saying sorry in case of car accident does not mean you are at fault for that accident.

Edit: found in this same thread at https://news.ycombinator.com/item?id=14749389
> It isn't that likely the OTP20 optimization helps here

Ah good point. I didn't look at the code much. I was thinking of cases of passing any of those literals in gen_server calls and such and just getting extra performance from upgrading to OTP20 as a side-effect.
I tried translating some of the book "The Handbook of Neuroevolution Through Erlang" into LFE (Lisp Flavored Erlang), and Elxir (somebody's done this already I believe).

Robert Virding, a co-creator of Erlang, creator of LFE, also wrote Luerl - Lua implemented in Erlang.

So if syntax is important you have many choices to use the BEAM VM/OTP in a Ruby-like language (Elixr), a Lisp (LFE) or in Lua (Luerl)!

I am now looking at Robert's videos of a game whose logic is written Lua, but it runs an Erlang process for each ship of thousands he spawns in the demo. Pretty cool. There's even Torchcraft - Luerl and Torch ML for learning AI/ML in Starcraft.

I still prefer LFE because I like Lisp syntax, biased as yourself about such things, however, I still think Elixir macros are not as far reaching as LFE's since they are handled after parsing in Elixir vs. LFE [1], although I wouldn't mind being proved incorrect on this.

[1] https://groups.google.com/forum/#!topic/lisp-flavoured-erlang/ensAkzcEDQQ
> Every website should use HTTPS. It's the right thing to do. It's not hard to do these days.

Unless you use simple tools like GitHub pages. I have a bunch of tiny JS heavy static projects on Pages that I can't easily add HTTPS to.
Coinbase Graphs are wrong
Hello all

If you see 07/11 11:41 data ..no one can buy with coinbase .Looks like tthease people are supporting the downfall of the coin make sure no one purchase in a less prize
Terrorists and Criminals Are Rarely Using Bitcoin or Ethereum, EU Study Finds [pdf]
According to the comments above, it's not exactly secure
So now you can run the JVM in JavaScript running in the JVM....

For those who don't know the JVM comes with a JavaScript engine by default: http://www.oracle.com/technetwork/articles/java/jf14-nashorn.... And you can even get v8/nodejs to be compiled in your java jar binary: https://github.com/eclipsesource/J2V8
Hackers solve challenging problems whose solutions are not clear. This is not a challenging problem, and the solution was obvious. This is not an example of curiosity being explored.
You should have just installed a minimal Debian system and start from that.
OpenSUSE gives you the ability to have both python and python3 installed through the package manager
In the case of Debian it's an asset since you can run on stable without being stuck with horribly outdated, hard to upgrade Python packages.