skysight-inc/HackerNews huggingface dataset:
> were an essential feature

Do you mean, "this feature is required for me to write code in that language"? Or do you mean, "this feature is required for any project in the language to flourish"?

If the former, why do you think your preferences generalize? If the latter, how do you explain the large number of successful Go projects? Are we all stuck in the 1980s? And if so, what does that even mean?
This is just a plain fact, why downvote it?
Don't think Colbert's statement was homophobic though, don't want to fight genuinely want to know what made you think it was?
This is easy to see in a middle of a mountain without vegetation, like in the examples. But if you are going to a forest of a place with a lot of grass, suddenly it has very low contrast.

This looks like a project that picked the 555 nm wavelength because it has some theoretical (unrelated) properties, but they made no usability test in the wild.
Use your natural eyes without any glasses Methods to improve your vision
I think Nim may be the most underdocumented project I've ever used. I spent a week or so with it, but quickly grew extremely frustrated as I was constantly scouring old forum posts to learn how to use the basic features of the language. That is not a tolerable situation for me.
It's not so easy if you have changes belonging to different commits that are close together in code (e.g. affect the same lines). For instance, if you need to adjust formatting in a place where also functionality will change, it's extremely tedious to rebase if you have logical changes before and after the formatting commit.
I believe the intent of Vue HN is more proof-of-concept than a pure HN replacement.

The first version of Vue HN is used in the Examples on the official Vue website: https://vuejs.org/v2/examples/hackernews.html
As others have stated, the complainant is likely bringing the accusation not to punish Mr. Fry, but to bring the outdated law into the spotlight so the people will be moved to strike it from the constitution.

In effect, the anonymous accuser is doing exactly what you, a freedom loving person, would want him to do: Call these laws out for their backwards and repressive themes.
If everyone hosts on GitHub and it goes away like Google's source code repository or codeplex then a big chunk of the internet goes away. Especially when it comes to old abandoned repos. Not only that but we could end up with another story like the SourceForge story.

Also if GitHub goes down and everything is hosted there then the internet stops working as well. Remember how broken the internet was when that DNS outage happened a few months ago?
As someone who's been doing C++ for a close to few decades I's challenge you on that. In C++ you need to understand:

Exceptions(and the runtime/memory costs they incur by pulling in RTTI)

ERRNO(on relevant *nix platforms)

Lifetimes tied to objects when things fail(this is a big one)

Plus any library-specific hackery(I've seen raw strings as errors before)

In contrast I've been writing Rust for ~1.5 years now and each library I've used is consistent and follows common patterns. Much like a lot of people don't grok functional until they understand the common patterns, so it is with Rust too.
I agree, I just like the text based more. Cannot decide to read the text in the screenshot or the actual header on HN
Rust is important, it has a great chance being a first modern native system language (memory safety).

Though, I wish it has less exotic syntax. It's like C++ and Erlang had a baby. Look at modern languages with nice syntax like Go, Julia, Swift and compare it to Rust. Someone coming from C, C++, C#, Java, PHP and JavaScript has to learn a lot of new syntax twists that look uncommon and different for little reason. Sure some overly complex early syntax ideas like different ones for different pointer types vanished in newer Rust releases. Now it's probably too late to improve the syntax.
Looks ok for the most part. Not going to use it myself.

For those that do use it, don't you find the jumping around of the news items distracting?
Analysing the discourse of the French presidential candidates
Pandas major release from 0.19.2 to 0.20.1
Haycations Get Hip
AMD made some noise (way before this vulnerability became known) about open-sourcing the code of their ME-equivalent and allowing people to flash their own code.

That seems a lot better than Intel's stance on the ME.
> Case in point: the example in the article from the rust documentation that converts errors to strings just to forward them

This section:

- Shows you how to define your own Result types. They have chosen a String as an example of what you could use as an error type. In practice nobody uses "String" as an error type.

- Concludes by defining a custom error type to use instead of a String. I guess you didn't read that far? In practice nobody "converts errors to strings just to forward them". String was just an example they were using as they built up to defining a custom error type.

Rust errors can be forwarded as simply as "?". The conversions can be handled automatically with "From" traits. The "error-chain" crate takes care of these conversions for you, wrapping the original errors so they're still available (including stack traces), but aggregating them under a set of error types specific to your crate:

https://github.com/brson/error-chain
You seem to be right. I always though Sublime Text introduced it (lots of people seem to believe this: https://medium.com/@schtoeffel/you-don-t-need-more-than-one-...), but sublime text introduced multiple cursors with its release date in 2008, while JEdit appears to have had multiple cursors at least since 2003?
As an old Java hack, my allowance for repetition is high. Especially when using and IDE that basically writes the code for me ;)
Are you aware that this pilot study is an anonymous internet survey?
Some English background on this saga, for those unfamiliar: http://www.independent.co.uk/news/world/europe/alexander-gro...

TL;DR: he's "regarded by some as the greatest mathematician of the 20th century" so his last 20 years of notes (written in seclusion) are a big deal
Yeah, it's a blast from the past. I was surprised to see them on the HN front page.
Q: Is Coding the Only Way into Tech?
Dave Patterson: Evaluation of the Tensor Processing Unit
>> [SVM and Decision Trees'] "interpretation" is mostly stuff like "feature 543 and 632 were on"

SVMs are well-known black-box optimisers of numerical parameters so not more or less interpretable than neural nets, but decision tree learners are a different matter. The model they build is symbolic- a propositional logic theorem that can be output in a format that is directly inspectable and interpretable by a human being with an understanding of propositional logic.

It's true that once decision trees grow beyond a certain size they're hard to interpret, but even so they can make a lot more sense than a heap of numbers in a large graph.

Neural nets used for image processing are special in that they can output their activations as images that are directly interpretable by humans, but that's about the only application where we can really tell what a deep network is learning.

Edit:

>> All machine learning models are capable of overfitting.

Aye, but deep nets by definition build extremely complex models with millions of parameters and so are especially prone to overfitting. Bias-vs-variance and all that.
A minute-by-minute data comparison from 10 different sleep trackers
Event description: https://eecs.berkeley.edu/research/colloquium/170315

Slides: https://drive.google.com/file/d/0B5vMMuEXssYnR1oxcXVaaTFTQWM...

Paper: https://arxiv.org/abs/1704.04760
But OCaml has a non C-like syntax. So it would be even more strange to OP.
And a bit less than 500 Yen for a bowl of soba or udon with a topping.
The Long Road to Mongo's Durability
How many of those do you need to tell the difference between cats and dogs in random internet pictures?
Hmm...

>Those who annoy Allah and His Messenger – Allah has cursed them in this World and in the Hereafter, and has prepared for them a humiliating Punishment...

>They shall have a curse on them: whenever they are found, they shall be seized and slain (without mercy). [Quran 33:57–61]

You could argue calling Allah “stupid” and an “utter maniac” might annoy him, hypothetically.
I would imagine the cooling itself isnt so much speeding it up as it is making it reliable at higher clock speeds.
No, Britain will have a very poor position in the negotiations that follow regardless. That's why the E.U. is insisting on the payments and citizen's rights issues being resolved first: they want a British commitment to items the E.U. cares about without having to make any concessions. If you think the E.U. will go back and renegotiate, or take British payments into account at later stages of negotiation, you're as delusional as May.

I hate to admit it, but May and Davis should absolutely refuse to play ball. They should agree to terms they think are fair here, and if the E.U. doesn't go along, prepare for a really hard brexit. Which of course means that they'll capitulate.
Retropiler: Java 8 Standard Library Backport for Android
I'd expect 'on_error' to take a function as a callback, not a string. But yes, a better named function could be added
The Birth Torts: Damages for Wrongful Birth and Wrongful Life (2005)
I am learning to read a new language- urdu. My goal is to read some old hand-written documents so I can't copy-paste the characters. But I can easily draw them and confirm my reading. This is perfect for this purpose.
Key differences between Python 2.7.x and Python 3.x (2014)
Show HN: BitPocket – Bitcoin Point of Sale Mobile App with Ionic v3
I'd argue that a neural net is "black-box" in the sense that nobody really can give a coherent answer to "what happens if I perturb/double/negate this parameter" where the parameter might be deep in some weight matrix. Maybe this isn't a useful question because of the distributed representations within neural nets, but it is at least an answerable question for other models.

Do you know of any work on interpreting neural nets that are being used for non-image tasks?
I think this highlights that while there are easy solutions to the problem the OP faced, they're difficult for a newcomer to discover. (I have been using Rust for a couple of months and I'd also have reached for serde and maybe serde_derive to solve the problem).

Hopefully this is something the Libz Blitz[0] will solve with their Rust Cookbook[1]. (You could almost but not quite arrive at as simple a solution from chapters 1 and 2).

[0] https://blog.rust-lang.org/2017/05/05/libz-blitz.html

[1] https://brson.github.io/rust-cookbook/intro.html
Russians have build their own processors for decades. They have used SPARC instructions sets and they also have their own VLIW Elbrus 64-bit ISA and processors are made by TSMC for 28 nm process. It has Intel x86 comparability with system-level dynamic translation.

Just adopting new Instruction Set Architecture (ISA) is not going to help to magically boost semiconductor business.
And when you need good support for multicore, you use...?
Sadly, you're right, but while AST-based diff (vs text-as-code based) has yet to become mainstream, code formatting standards date back to the second ever programmer, and some of those are for good reason.

To use a trivial example, Python allows trailing commas for list items, eg: [1,2,]. With diffing in mind,

list_o_things = [
thing1,
thing2,
]

then, the diff to add "thing3," is a single line , rather than two in order to add a comma to the preceeding line.

The solution, then, is the code should be "properly" formatted at all times, to avoid running into a situation that goes formatting -> logical change -> formatting leading to the problem you describe.

There are similar hacks, where git's diff implementation supports ignoring white space, and doing word-based (vs line-based) diffing, but what we're really after is AST-based diffing tool(s).
What about the rights of students who wish to listen?
Not really though: 'unwrap_or_else' is of similar length.
Ugh, flubbed that: "extended subset". Sorry about that.
Show HN: Aredis 1.0.7 – now support redis cluster
What If the Pilot I Worked on Never Airs?
I didn't owe you any rational case. I was dismissing your essay.

The very basis of applied rational thought is overcoming emotion. Your first target seemed to be that women are inevitably overpowered by emotion, then you switched to they -can- be overpowered.

Of course emotions can overwhelm, but that was not the original target comment at all. When OP stated that women are incapable of rational thought you came to OP's defense Please don't move the goalposts and condemn me for being irrational.

Besides, you didn't address your sole source being anecdotal and personal -- it doesn't matter how much highschool english class terminology you use.
In the UK the (usual) limit you can have in your pension fund is now £1m.

I would expect to have about 20 times whatever I wanted to live on per year, and that yearly amount would high enough above what I know is enough to be comfortable. The state pension should kick in something too.

However, I don't expect to completely retire at any point though legally I currently could in only 5 years' time (then another 10 years or so to state pension age). So if I'm not doing a reasonable amount of work and keeping my brain active at 70 I would be disappointed.
When I was young I remember reading about "Tokyo, the city of $11 hot dogs"...this was when a normal hot dog in the states was a buck or two.

I never really stopped to figure that maybe it was just foreign stuff that was crazy expensive. One of the really eye opening things I've learned in the last few years is how relatively affordable housing can be...even within the Tokyo city limits. https://www.youtube.com/watch?v=iGbC5j4pG9w -- older homes can be much much cheaper.

Here's a $1600/mo house https://www.youtube.com/watch?v=As2XMhqNBx8

This needs to be considered against local incomes of course, so they're a bit less tempting to locals than to American foreigners from ultra expensive coastal cities.

Part of this seems to be the particular Japanese combination of the shrinking and aging population + continued attempts at maintaining GDP via construction works + cultural preference for new living arrangements instead of old construction. But like anyplace, you pay for where you live and there are certainly incredibly expensive places to live.

Outside of living arrangements, public transport, food, clothes, and so on...everything except for personal vehicles is relatively affordable on a foreigner's salary.

However, salaries in Japan are surprisingly (sometimes shockingly low). I think I've heard that a person working in a regular "salaryman" job can expect to earn around their age * 10,000 USD. So if you're 30, you'll make around $30k USD. This information is a bit old, so expect it to be a little higher, but this table [1] from 2014 suggests a 32.4 year old computer programmer makes an average of 4,256,000 yen per year..or about $38k. Some occupations can make significantly more...but it's interesting to find yourself on this table and consider it.

1 - http://nbakki.hatenablog.com/entry/Annual_Salary_by_Occupati...
I think the 'paper' should expand rather than scroll.

I would like to get some re-affirmation that the note is saved somehow. Even a flashing "saved!" every now and then after some edit.

What's the use case?
> I've yet to encounter a case where these ~15 codes were insufficient

Insufficient on Windows.

There’re thousands error codes you can get from any Windows-provided API.

You can pack each of them into a single int32 value (using HRESULT_FROM_WIN32 macro for old-style error codes, the newer APIs already return HRESULT), but still, significantly more than 15.
This actually reminds me of "es-operating-system"; an experimental operating system copyrighted by Nintendo (yes, Nintendo!), where "every system API is defined in Web IDL".

AFAIK it never went anywhere, but maybe building an entirely new OS/Browser based around WebIDL seemed less insane 10 years ago.

https://code.google.com/archive/p/es-operating-system/
Maybe housing in Japan wouldn't be so expensive if they didn't keep knocking down perfectly good houses to build a new one. It seems like they throw away a lot of value.
> I don't think nationalism is really tied to Nazism fundamentally.

Nationalism is inherently tied to xenophobic forms of right-authoritarianism, though not necessarily the particular forms called out as Nazism or Fascism.

> It's basically a synonym with patriotism

No, it's not, though nationalists equate the two.
This isn't a tutorial, it's a starter kit, and I'd like to see it grow and help people with elixir/phoenix:

https://github.com/iNeedThis/phoenix-starter
To me, simply asking the question seems a bit 'off'. I mean, what do you mean 'final straw'? It bothers you that someone has some mild curiosity about what you've been up to? I probably wouldn't respond to that either. Sometimes you're just curious what that kid in your ____ grade class that you never really spoke to is up to. For whatever reason. I just assume that if they are the 'Facebook is only for close friends' type, then they will simply not accept the request. No big deal. I accept requests from people I don't necessarily know that well, but share some kind of background with (went to school together, used to be coworkers, etc.). I also know people who don't, and that's totally fine too. But they don't get offended by getting requests from people they don't necessarily know that well.

There's nothing nefarious about it. If I got your question, I'd be torn between just saying "just curious what you have been up to for ____ years, that's all," and her response, because the question in and of itself seems kind of unusual.
Ah, good times. Win95 used to crash so much, that my brother and I became quite adept at resurrecting Explorer by causing a surviving process to trigger it. Eventually, we discovered the infamous "Login? No, just help yourself to the desktop" hack. No one cared, it was normal for stuff to be broken.

https://imgur.com/rG0p0b2
I'm aware that individual implementations of the ISA are nonfree. There's still a huge benefit to using the free ISA, because we can target nonfree hardware while necessary and our software will just work on free hardware when it's available. There are already some free low-power designs, and if RISC-V gains traction I expect some free high-power designs to come out of the woodwork.

A robust open processor ecosystem could be the impetus for a huge improvement in open-source EDA tooling and public EDA research. Even now, the absolute cutting edge in HDL research is free and open-source (and 100x more user-friendly than anything to come out of Xilinx or Altera), and I suspect the same would happen for silicon-targeting synthesis tools if there was a demand for it.

The idea would be to get 90% of Intel's performance for 5% of the work. Intel spends insane amounts of money on manual routing and optimization, extensive testing at every stage of prototyping and production, stuff like that. The creative laziness of the free software/hardware people could probably improve on that very substantially with minimal losses to the finished product.
Closure compiler understands your code, it is using Java based Rhino Javascript engine. And using "advanced mode" it is really good - just make sure you read the docu to understand advanced mode!

edit:

What you meant with "it barely understands your code" is probably: if you compress just one JS and they access third party libraries, you have to write some annotation OR import their object namespaces (the annotation style is a bit weird in JS world and looks like Java Doc comments, but you can completely avoid it as I mentioned; read the documentation)

Closure Compiler compiles from JavaScript to better JavaScript. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left. It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls. UglifyJS and co don't understand Javascript, they do regex/string replace operations which is faster, but you get bigger code output and less warranty as they don't understand JS.
Thanks! That's exactly what excites us as well and motivated us to work on this.

What message would you use on the landing page?
yes, I would bet on this being the case in four years. Bannon (and Breitbart in general) are not Nazis, Trump received a larger share of the AA and hispanic vote than Romney (and doesn't appear to me to be a racist, despite near-constant insistence from journalists that he is), and isn't the Tea Party about libertarianism?

I wouldn't take anything that comes out of 4chan seriously, as they're known for intentionally riding the line of Poe's law. In the same way that I assume /r9k/ isn't full of obese autistic children who abuse their mothers, I assume /pol/ isn't full of fervent Nazis who hate Jews.
I actually tried using it in this manner recently to test paypal IPN notifications, but it seems like paypal denies the SSL installed on the ngrok urls. I had to setup a domain with letsencrypt instead.
> The solution, then, is the code should be "properly" formatted at all times

This is why I love gofmt(1).
The Soviet Union's Scientific Marvels Came from Prisons
Depending on where it crashed, the Python script would raise an exception. It would most likely be an `IoError`, `KeyError`, or `ValueError`. Then it would show an error message with a line number, column number, and traceback. Using a debugger would allow you to step backwards through the traceback to determine if the error was caused by something further up the line or where the exception was raised.

All of Python's exceptions are an instance of `Exception`. In order to catch and handle any exception that can be raised, you can use a `try, except` block with the base `Exception` class. This, however, is bad practice as there may be some exceptions you want to ignore and, generally, you also want to print a different error message depending on which exception was raised.
Thanks for this comment, even if you're just stating the obvious. It's amazing the lack of humility some posters display on HN when it comes to discussing the work of professionals with experience in the field.

(I'm not Elad or affiliated to him or his instutition btw).
See also https://news.ycombinator.com/item?id=14226790 (40 comments)
Bringing up 802.11ac on FreeBSD
The art of sending an email – Why you should care to learn it
How a typical startup should track errors
TJSON is ultimately being written in service of a credential format I'm working on (however it will be using a compact binary format isomorphic with TJSON)

The main inspiration for this format is SPKI/SDSI, which was based on S-expressions. As beautiful as you think the S-expression version may be over the (T)JSON, I personally blame the use of S-expressions as one of many reasons SPKI/SDSI failed to gain more widespread traction, and personally think something like TJSON is a lot more likely to gain traction than the second coming of S-expressions. This is, of course, a debatable point, but you won't find me working on Sexp-based formats any time soon.

ASN.1 of course has a sordid history in the credential space as well, often reviled by security experts as the source of frequent vulnerabilities, particularly problematic encodings like BER. I will admit OER is nice, but nobody uses OER and the IETF prefers things be standardized in terms of DER.

"Research things", yes been there, done that.
> cannot give you a generalization

Maybe a second NN could find that for you. You might end up with factors like "speed of an unladen swallow", but perhaps all that is needed is some nudge away from that local maxima to keep searching the space.
"The creation of the EU may or may not have helped to bring peace in the beginning"

May or may not? Care to point out the last war between EU members?
There's unwrap() and panic!, does that not do what you want?