skysight-inc/HackerNews huggingface dataset:
No, you can use a type parameter in a covariant or contravariant position. What it means is that it treats all generic classes as covariant with respect to their type parameters, even when the type parameter is used in a contravariant position.

So, for example, List<T> is covariant—you can assign a List<int> to List<Object>—even though add() takes a T. This isn't statically safe, so the language inserts runtime checks to ensure you don't break soundness.
It would be extremely janky to write a Golang network server coded directly to select/poll. You would lose most of the networking libraries for the transactions based directly on it.

(I know it's doable; I did it for a portscanner, where I needed fine grained timer control. But I had to forego the Go networking stack to do it.)
If you anonymize it and make it completely chat based how do you make sure that the person you are chatting with is really the applicant and not someone else?
I would argue that most of the large subs are actually `over` moderated. Mostly along the lines of view point diversity kinds of issues.
I guess I just don't think that's true, Keras is already pretty easy to use for model definition, and this doesn't seem to solve any actual pain points I've encountered.
tokio is far from mature and its claims of stability are even less so. I can't think of many Rust crates that I'd seriously put in the "this seems actually stable and mature" bucket as yet. That's in part because Rust itself is only recently stable (and given how recently it's pretty generous to call it stable).
It's trendy right now sneak that sort of dog whistle racism into any discussion of social policy successes in northern european countries.
I read an article about StackExchange's servers and it seemed super optimized, although I'm not an expert. I can't imagine AWS would be as optimized for exactly StackExchange's requirements. So I think StackExchange would run slower on AWS.

Reddit, on the other hand, is the worst performing out of all the top sites that I can think of.
It sounds a bit like you're describing region based memory management. https://en.wikipedia.org/wiki/Region-based_memory_management
It's an op-ed from an editor at the paper responsible for breaking Snowden's story (The Guardian), and it's sitting on the front page of NYT as we speak – what more do you want?
Thanks also for your well-thought-through comments.

We have updated the charter to reflect use of Analytics and Fonts. We understand the security concerns associated with these services and will be phasing them out shortly.
Assange perpetuates these ideas for publicity. Snowden likely fears for his safety (rightfully so; Trump's CIA pick has said he wants Snowden dead), but seems to be much less hysterical about hitmen and death.
> Learning curve

No pain, no gain, but sure.

> Translation distance

62K lines sounds like typical C with no code reuse to speak of, A clean-slate rewrite I'd hope would be much smaller, though admittedly talking about corrode and c2go speaks of the other direction.

> Concurrency

No mention of Rust being data-race-free and Go not; unacceptably lax.

> > While I give the Rust designers credit for course-correcting by including CSP, Go got this right the first time and their result is better integrated into the core language.

Wat. Rust was originally all about CSP too, but they went away from that because there was no need to stay. You can still do all the channel stuff you want but there's little benefit force that idiom. Go's special support for this is like....special-cased generics right?

> epoll

Mio? (sure future-rs is not yet ripe, but mio alone is last I checked.) Overall, ESR seems sprinkle in lot of hatred of dependencies (bloated standard libraries are such a crutch around not having a good ecosystem), which I personally find laughable as the brightest future of FOSS is large-scale code and abstraction reuse as Haskell, Rust, and the like, are just making mainstream.
> I want better chat tools centered around making our async communication flow better.

Try Zulip, actually. We use it and it does that exact thing very well.
My point (and the point of the article) is rather than Obama is missing a chance to prevent a nice gift being offered to Trump.
Maybe but that's hardly assassination.
The thing is if you don't want to fight the borrow checker you can use RefCell and Arc/Rc. People are discouraged because then you lose a lot of architectural advantages that come with Rust but nothing is keeping you from writing unsafe{} and RefCell in the places where you know things are safe but can't formulate something that Rust understands.
I am a member of the Rust language design team, I am very aware that language design is about trade offs.

I find the ownership model has non-performance advantages in that I find it provides strong design pressure to factor my system well. I would not describe my experience as 'fighting' the borrow checker - I feel positively when the borrow checker sends me back to the drawing board, because it teaches me things about my system I had not properly comprehended.

(There are areas where the borrow checker is overly conservative, but I never hit these in practice.)

> You can't actually tell me whether the above code compiles without consulting other parts of the code. That's not the case for Go. It is thus simpler and more intuitive to program in.

I'm sorry this is just silly. Here's some Go code:

v2 := v + 1

You can't actually tell me if the above code compiles without consulting other parts of the code, because you don't know if `v` can be added to `1`. In Rust, type inference is only local to a function, so you will be able to determine from an actual compile-able code snippet whether or not that use after move is valid.

Go also actually might not compile on the exact example you cited (translated to Go, of course) because that code contains an error if `v2` is never used after it is assigned.

In general, you cannot reason about the correctness of incomplete code snippets. This is not specific to Rust.
If that was all he had done, it would be easier to support him. Unfortunately he went a little further than that, into territory that arguably is a national security issue.
Relevant quote from the article:

"By polling four simulated multitap inputs at 300 times per frame using a method devised by p4plus2 (Jordan Potter), the TASBot team is able to effectively send data to the SNES at 1.15 Mbps"

1.15Mbps / (300 samples per frame * 60 frames per second) = 64 bits per sample, or 16 bits per input, which seems like a likely figure.
They did a pretty terrible job of getting the logo dispersed across their entire website. Just visiting the About page will lead you back to the old header: https://www.mozilla.org/en-US/about/
I appreciate your joke but I don't think the HN populace gets the full context because there are a couple of steps that need to happen to connect the parent quote and your punchline.
As one disgusted by Go's anti-intellectualism, Amen to this.
They are issues with some sources of data. Perhaps not your source. I stated the issues, then you found one source that did not have some of the issues. There are sources that, for example, are based on employer reported costs/expenditures, not premium.

And, your source does have issues. One example is that it wouldn't show a plan downgrade..only the end premium. So a radical plan downgrade looks like "flat year over year".
I'm totally fine learning the borrow checker. It's a investment I see value in. Even if it's just in me learning about solid rules for sharing variables. But that nightly shit you describe is scary as fuck and makes me very concerned about the future of the language. Post 1.0 this shouldn't be an issue!
That's a terribly unfair comparison. Go 1.0 came out just about 5 years ago and Rust 1.0 only came out a year and a half ago. Not to mention, there are people employed to write Rust. Most notably, the Servo team.
Ask HN: Most productive functional languages?
Which functional language are you most productive in?

We're in the process of choosing a primary language for our backend systems at a new venture. A few we're considering: Haskell, Clojure, OCaml, Elixir, F#, Scala.

What's a reasonably productive choice for a new startup? What would you choose if you determined a functional language mapped well to the objectives you were trying to accomplish?
I think I misread the bill, the part that I saw was "The employee may defer the inclusion of income from the stock until the year that includes the earliest of the dates on which... the employee becomes an excluded employee", I'll go update my original comment.

Still, the conditions when the tax bill is due are unclear, e.g. what does "seven years have passed after the rights of the employee in the stock are transferable or are not subject to a substantial risk of forfeiture, whichever occurs earlier" mean?
Someone measured it and and it is fact it's substantially slower than Scala: https://twitter.com/kmizu/status/817570546179194881

Kotlin marketing != reality, it seems.
If you have not done it already, I recommend that you give Lua a try. There's a "Learn Lua in 15 minutes" thing that you might like.
Slack finally launches threaded replies
2 Ways to Liven Up Your Winter Wardrobe
> Rust has https://tokio.rs/ and everbody who even looked into network services with rust, stumbled across it.

didn't it launch a week ago?
Firefox Android, typed moz://a in the search bar, tap to search. Blank page, nothing happens.

Congratulations for the new brand. Much fashion, very SEO.
Interesting article! Do you think there could be a risk of misattributing the cause of the emotion/intuition? After all, people classically misattribute things like arousal, and various aspects of memory. I guess I'm trying to separate how people can be assured they are dimishing biases (e.g. my intuition that the woman is qualified was thrown off by her confident body language) through the process you described, rather than affirming them (e.g. the woman is qualified, but I have been especially critical of her credentials).
> to attract more non-genius developers

It's not like that, it's not hard to need geniuses, it's just too different for most people. And different takes time to learn. Which is definitely a design flaw for a language aiming for some adoption. I don't think they can improve it at this point, but they can provide a lot of value where other languages are weak.
This problem was coined by Paul Graham as the "blub paradox":
you can only notice inferior languages, abstractions and
paradigms to what you currently know, but you can't easily
notice superior ones, unless you make an effort to learn more.
ArxivML: An Alexa skill to read latest machine learning papers from arXiv
You'd need a third party that you both trust. If you both don't trust anyone, there are ways around that too...
"Go is a blub language" was actually my hot take on this article.
That sounds like a bug worth addressing.
I have yet to see Go code among that class of projects that I would consider bad. I find Go to be a kind of equalizer -- the low ceiling prevents masters from moving upwards in syntactical/semantic complexity, and the high, uh, floor prevents junior developers from doing too much obviously bad. There are plenty of edge cases a newbie can cut themselves on (the addition of unsafe pointers is an antique, Victorian footgun that you'd not expect in a modern language), but overall, Go's forced simplicity normalizes code quality to a degree that I've not seen elsewhere.

Docker's faults do not come from Go, and the same goes for Kubernetes.
Ask HN: Ways to get hired anonymously?
Any startups that work on the possibility of an anonymous hiring process? Maybe agencies, that have the right process in place? Lists of companies, that practice anonymous hiring? What are any opportunities available to go through the hiring process anonymously, with an identity not disclosed prior to getting an offer?
Assassinating someone on Russian soil is a great way to start a war. You seem to be assuming that it could be covered up successfully. History proves otherwise; all too often, the truth comes out eventually. And if he were assassinated, the party responsible would be fairly obvious early on, because there's only one country that would have the motivation to finance that operation.

Putin gives him protection because it lets him thumb his nose at the US.
The biggest hurdle people seem to have with Rust is that it makes you very aware of the difference between stack and heap allocated data. For someone coming from a garbage collected language (or even in some cases C) that's a pretty big hurdle to get used to. I've found Rust to be amazing to work with, but it does feel like a struggle sometimes when all I want to do is allocate some structs without having to faff about with Box types.

Honestly I feel like peoples biggest issue with Rust is that they're trying to write things in Rust that don't actually need Rust. They want the ease of use that you get with a garbage collected language and then get annoyed when Rust forces them to worry about allocations and cleaning up after themselves. C++ should have the same issue but its been around long enough that most of those details have safely been wrapped behind STL and other abstractions to the point where most people don't need to worry about them. Perhaps in time Rust will reach that point as well and everyone will be using the equivalent of Boost that abstracts worrying about whether something is a Box<ARC<Foo>> behind a nonthreatening layer of macros.
> you start a fresh server, tell it some other server address to peer with, and it does the magic

This is the one thing I ask of every database software, yet we still don't really have it. 90% of problems could be solved if there was a focus on the basics like easy startup, config and clustering.
You learn to love the compiler. It becomes a symbiotic relationship, and the cycle times for refactors and debugging are short because you get such quick up front feedback. Your productivity certainly takes a hit initially though.
Would you kindly do the willingly and explain how? :)
Show HN: Web Cache Viewer – Right-Click for the Wayback Machine or Google Cache
It would probably be done to

1) get revenge (human nature)

2) scare other potential whistle blowers
You are right. D had some serious failures in the version 1 times, which tainted its image. However, the community is still growing. Slower than Rust, but moving in a positive direction.

During the last year the D foundation was founded and is spinning up operations. The 2016 D conference had a visitor record again with over 100 people. Downloads are growing over the years [0]. The package manager dub is now fully integrated. You can find success stories on the blog [1] and companies using it [2]. There are books.

[0] http://erdani.com/d/downloads.daily.png
[1] https://dlang.org/blog/
[2] https://dlang.org/orgs-using-d.html
> very little of their success is transferable elsewhere though.

Could you elaborate why you come to this conclusion?

> it's easy to police borders of a super tiny country in the middle of atlantic ocean, not interesting place for smugglers.

Alcohol and cigarettes are not marked as contraband. There is no reason to assume smuggling had any effect on substance abuse.

> apart from Reykjavik whole island is almost completely empty with tiny closed villages here and there).

like most of the mid-west?

> totalitarian approach,

and forcing children to attend school for the majority of their waking day isn't? They haven't reach adult age yet and most people would agree that children are not able to fully appreciate the extend of their actions.

> its a question how far will state go to remove freedom to protect citizens.

Judging by the US 'war on drugs', I'd say US citizens are willing to remove many freedoms, children and adults alike.
With a population as small as iceland's there is no such thing as anonymity. Maybe these policies would work in a small town without much population turnover? Cultural context of cultural policies is actually really important. What works in Japan might not work in Springfield. Data driven is very good though, the temptation to reclassify failure as success on such problems is extremely high, unfortunately - and I am absolutely not being critical of those who are genuinely making the attempt to improve socail conditions - it's a human failing we all have. The road to hell is paved in good intentions etc. etc.
Do you have the sources for your IRC bot somewhere? I have a bot written with Ruby in a quite big channel and I have this tendency of writing it with a new language every couple of years. An IRC framework with Rust and Tokio would be fun...
Nah! Have another look at Agile, and not the management focused movements like Scrum. I'm talking _The Art of Agile Development_ type of Agile.

Hollywood is broken. https://m.youtube.com/watch?v=H18RUB1cxfI (NSFW)
I can see the difference between wanting the jobs to go to new Americans (who happen to be Indian landed immigrants with a long-term intent to spend the rest of their lives in the West) and wanting the money to go to people who're going right back to India when the project is over, even if the depressing effect on salaries is equal.
In fact, we have already removed Analytics!

Could you elaborate a bit more on your concerns with Google Fonts? According to this:

http://webmasters.stackexchange.com/questions/60464/are-ther...

..they can only collect request headers.
I believe he's saying that the Rust book[0] is very good (and completely free).

[0]: https://doc.rust-lang.org/stable/book/
I like it because usually that 10% of the time is where I should really be focusing my attention.
It is easy to build a multi-layer perceptron purely in C. You can roll your own or use a library like FANN. However, so far as I know, very few (darknet is the only example I know of) are using C to build a bit more complex networks like CNN/RNN, let alone those topologically complex networks in research domain.
Probably around 20.

My best one: Legal18s.com

I totally want to create a portal for "young professionals who want to study the intricacies of law and legal issues that we face today as a nation" just as a joke. I have no real plans for the domain.
Posing a risk to your potential immediate descendants hardly counts as "the public", and you probably don't want to start down the road of enforcing that people don't have the right to do things to themselves which have the risk of possibly being teratogenic as if it's a public health threat.
Arguably, yes. I'd like to hear a real argument, other than "leaking stuff might make us less safe." The leaks are public, so it shouldn't be too hard to find specific instances where people were harmed.
Coinbase Co-Founder Fred Ehrsam Is Leaving the Company
I don't know why you're getting downvoted either.

Anecdotally, I also get way more errors/dropped connections/random slowness on Reddit than on any of the other massive sites. Plus the mobile site is beyond terrible, unusable on my phone.

I'm sure it's not an easy problem to solve, but they should be able to afford some hosting with all the reddit gold that seems to get thrown around.
The 21 most powerful Star Wars spaceships, ranked
> wrestling match with the compiler

I went through a similar experience in Haskell. It is worth going through until you get to the point where it is no longer a wrestling match, because then you are just as productive but any code you write is checked much more thoroughly than in a more weakly typed language.

> Fuck. This. Noise. I'm not learning a language where every project requires a separate compiler.

I guess just wait until it stabilises then.
Go has one GC benefit that a lot of other GC wielding languages do not; avoid using GC whenever sensible. Variables that are strictly local are almost always allocated on the stack, so a function return has free built in GC; a sizeable number of allocated variables never hit the heap. Compare that to say CPython where everything is allocated on the heap.
The other alternative is that they allow them, and Go slowly loses its magic and becomes another Algol, C++, or Java.
The font is great. This is a situation where I think if they had just focused on a new font, the right font, it would have been perfect.

Instead, they pushed it too far in my opinion, with the overly clever glyph replacement.

This seems like the sort of thing that will be enshrined in epic design mistakes to me. Great font, should stop there, tries to embellish too much, goes overboard into confusing users.
Thanks for mentioning my book! I'm glad you found it useful.

To answer the OP, I learned tons doing my first podcast:
- It was the first time I'd used WordPress to build a site
- It was the first time I'd edited audio with Audacity
- It was the first time I'd used any kind of opt-in form to build a mailing list
- It was the first time I did any kind of automated social media marketing
- It was the first time I'd done long-form interviews with people
- Etc

GREAT experience. The best thing was making friends with all my guests. I was bummed when the podcast ended, but it was time.

I'm gearing up to start a new podcast right now, for freelancers and consultants. It should be launching next month & I'm pretty excited about it.
> turning off the GC in the JVM

very common in the HFT world
Great questions! I'm the core maintainer of Kur.

For a quick way to get it going, you can go to this link:

http://kur.deepgram.com/install.html#kur-quick-install

And scroll just a little bit to the “Quick Start For Using pip”. It has this code:

pip install virtualenv # Make sure virtualenv is present
virtualenv -p $(which python3) ~/kur-env # Create a Python 3 environment for Kur
. ~/kur-env/bin/activate # Activate the Kur environment
pip install kur # Install Kur
kur --version # Check that everything works
git clone https://github.com/deepgram/kur # Get the examples
cd kur/examples # Change directories
kur -v train mnist.yml # Start training!

The key line there is where it mentions:

virtualenv -p $(which python3) ~/kur-env

This line grabs your Python 3 install and makes a virtual environment. The rest of the commands just move things around into a tiny environment so you’ll find yourself in a directory where you can just run:

kur train mnist.yml

Then you’ll be training. :)

The list of dependencies is in "setup.py" in the repo--they are all Python packages. The reason you're probably getting the Python3 error is that you need to set up a virtual environment so that your system can isolate different versions of Python (and Python packages).

In fact, if you use virtual environments, all the dependencies that get install are confined to that virtual environment, and won't affect the rest of your installation. Using virtual environments is definitely a Python "best practice," and if you've never done it before, we walk you through it in our "Quick Start" section of the documentation: https://kur.deepgram.com/install.html#kur-quick-install

If you want to inspect the packages that are installed in the kur-env virtual environment, then (while in kur-env), just do:

pip freeze

And it will print out the installed python packages.

You can join our gitter channel too if you need some more assistance!
https://gitter.im/deepgram-kur/Lobby
True enough. But what does this have to do with GP's comment?

I took his point to be simply that, if Putin wants to boost Trump politically, and strengthen the connection between their administrations, then handing over Snowden might make sense. GP was just pointing out this possibility, not endorsing it.
> totalitarian approach

I'm guessing you didn't know that roughly 70% of US cities also have a youth curfew in effect? (http://www.usmayors.org/publications/curfew.htm, from a 1995 study)
Cool! What have you done with the other 19 domain names? Do you use them? (I think I have around 20 too...)
Unity 8 and Mir test on Ubuntu 16.04