skysight-inc/HackerNews huggingface dataset:
I am the author of Deep Reinforcement Learning: An Overview.
I fully understand my overview is far from perfect,
and I warmly welcome (constructive and responsible) comments and criticisms.

My overview was published on arXiv on Jan 25, 2017, with major updates on July 15, 2017, much earlier than the brief survey of DRL, submitted to arXiv on Aug 19 2017 (manuscript to the special issue due on March 1, 2017).

The brief survey did not cite my overview.
There were some discussions about it on Twitter a couple days ago when the brief survey appeared online. I thought it was friendly handled. I realized that it was not, when I saw this comment.

As a result, 1) I registered an account on YCombinator, with my real name, and reply now; 2) in the meanwhile, I sent a formal request to the authors and the editors of the brief survey to cite my overview, and make comments on it, positively or negatively.
These conversations are endless and repetitive. Both sides are fully entrenched in their positions and I don't know how we can come back to having productive discussions on this topic when both sides have already decided what they believe to be true. How can we talk about anything when we don't agree on the facts?
Yes, that was the "one good use" I mentioned.

However, in practice it's not used that way. This specific LWN article concerns the following code from functools.py:

_CacheInfo = namedtuple("CacheInfo", ["hits", "misses", "maxsize", "currsize"])

It is used like this:

def decorating_function(user_function):
wrapper = _lru_cache_wrapper(user_function, maxsize, typed, _CacheInfo)
...
def _lru_cache_wrapper(user_function, maxsize, typed, _CacheInfo):
...
def cache_info():
"""Report cache statistics"""
with lock:
return _CacheInfo(hits, misses, maxsize, cache_len())

The _lru_cache_wrapper is then replaced by a C extension in _functoolsmodule.c which only uses the cache_info_type as:

static PyObject *
lru_cache_cache_info(lru_cache_object *self, PyObject *unused)
{
return PyObject_CallFunction(self->cache_info_type, "nnOn",
self->hits, self->misses, self->maxsize_O,
PyDict_GET_SIZE(self->cache));
}

This is basically the same code, just in C.

There is no reason for this to expose a tuple API. And yet it does.

>>> @functools.lru_cache(maxsize=None)
... def fib(i):
... if i <= 1: return 1
... return fib(i-1)+fib(i-2)
...
>>> for i in range(10):
... print(i, fib(i))
...
0 1
1 1
2 2
3 3
4 5
5 8
6 13
7 21
8 34
9 55
>>> fib.cache_info()
CacheInfo(hits=17, misses=10, maxsize=None, currsize=10)
>>> for x in fib.cache_info():
... print(x)
...
17
10
None
10

A spot check shows no uses of namedtuple in the Python standard library which are used to keep backwards compatibility with tuples, though I only looked at a few.

So while I agree with you, it appears that the core developers do not agree with us.
Cookie warnings is a bad example as it was widely acknowledged by anyone vaguely techy that they'd got it completely wrong from the start.
This author’s every post is vacuous clickbait for angry right-wingers, https://thefederalist.com/author/danielpayne/

“Trump Spoke Truth About ‘Both Sides’ In Charlottesville, And The Media Lost Their Minds”

“If We’re Tearing Down White Supremacy, Start With Planned Parenthood”

“If Google Fires Anyone Over Stereotyping, It Should Be The Employees Who Stayed Home To Cry Over A Memo”

“Dear Climate Alarmists: Now That The Paris Accord Is Settled, Please Go Away”

etc.
No, but there is bigger fish to fry.

Censorship of speech is much much bigger issue for me than Net Neutrality.

I can't stand with multi-billion corporations claiming victimhood on subject of Net Neutrality, while at the same time playing God with people being able to speak their mind.
That's true. But most of the web is written in JS, not wasm.
I mean that in an immediate threat sort of way. For instance, if someone robbing a bank it's the governments job to protect the citizens by apprehending the suspect. It's not the citizens job to protect themselves from immediate danger.

Flooding in Houston - it is the governments job to help people to safety. It isn't their job to buy them a new home if they didn't purchase insurance.
Native or hybrid apps – go for user experience [pdf]
It's funny. Go on #python on freenode and ask a question about named tuple. Consensus there is that they should be avoided in favor of real classes or attrs decorated classes.
Yes, there is a fade in effect (but no shaking). It is mentioned in the post, you have to click 'Load 13
more images' at the bottom to see the whole post.
Please don't post uncivil or unsubstantive comments to HN. This one is unfortunately both, even if your underlying point is correct.

https://news.ycombinator.com/newsguidelines.html
Great trick with laser cutter and black paint on the pcb. I wonder how end resolution compares to milled pcb.

Also this is one of problems I have with Imgur. How to archive such detailed imgur post?

I have tried ripme [1](great for grabbing image sets without addnotations), printscreen browser extensions (mixed results - most do not cope with floating menus and have problems with dynamic image loading), page saving or printing via browser (similar problems with dynamic loading).

Does anyone have seen something that could archive imgur post with all content?

1. https://github.com/4pr0n/ripme
Did you have trouble extending to 7 years ?
Also note that this will require internet access for no other reason than performing that DNS request - even if all the actual communication with the device were local.
Is this new or simply badly advertised? If I had known about this feature I would have adopted Alfred way earlier.
D'oh of course.
Ironically, in multiple parts of India, auto-rickshaw drivers are infamous for having rigged price meters, or flat out refuse to use the meter. Bangalore auto drivers have their unofficial motto as "One-and-half" which basically means you have to pay 1.5x what the government stipulated rate meter reads at the end of your trip.

Uber, in these cases, is a breath of fresh air. Upfront pricing, reasonably friendly drivers, decent customer service in case of issues etc. is very welcome, even if it involves waiting for 2-5 mins. I'd rather wait for a cab than have insults hurled at me for not wanting to get ripped off. :/
The price of his battery and power converter are pretty insane, and a Raspberry Pi is convenient but overkill. Given a more price-conscious part choice and at least some volume (since what's the point in building only one cartridge), you should be able to get that to $5 plus display fairly easily. Suitable displays can be found for $10 from Amazon (shipped from China).

So you can probably home-build it for $15. If you're a startup in Shenzhen it might be feasible to sell them assembled for $10 and make a nice profit if you can sell a million of them.
This is exactly the same argument that has been made hundreds of times. "Oh, they're simple peasants now and forever, they can't work in factories, they'll never learn to read, they can't invent productive industries" and so on.

You seem to be implying that training for jobs is somehow something that's done mainly by the governments of countries - that people are just passive receptors of whatever training and education the state can provide, and can't seek it out, or create it for themselves. This is of course wholly wrong, and almost none of the specialized skills developed by people in the course of industrialization are gained through formal education.

You don't have to make lots of roboticists in Bangaldesh anyways (and there aren't many of those in industrialized economies either) - people can and will move into the sectors that have been small simply because labour was more valuable elsewhere - services, like health care, education, retail, et cetera. These are useful tasks no less than textile work, and largely don't require a massive "training program".
It's hard to say it's about broadening horizons when it's a prerequisite to most jobs. Also I've broadened my horizons significantly after college so it's hard to justify paying 30k a year for that.

Edit: I think part of it is that college is a requirement for many things in modern life whether it's good for you or not. I personally found it constricting but leaving would've closed a lot of doors so I just ended up staying but really resenting it
Jesus christ. As much as I hate the cold, I'll stick with snowstorms and blizzards over this stuff.
Thought provoking comparison. But it illuminates a key difference in assumptions. Climate change is objectively bad, and one of the greatest problems society faces. It is wrong for corporations to silence the truth about climate change.

OTOH I don't think Google is a clear and present danger to the world, and I don't think criticism of Google is objective truth; hence I don't think this is an evil act from Google.

I do believe that corporate money should not even be in this equation. Unfortunately, the strong governmental influence necessary for that to be true is an unlikely reality in the US.
No. In fact, AFAIK it's already implemented on Node, behind the --expose-wasm flag: http://thecodebarbarian.com/getting-started-with-webassembly...
unrelated but evernote's webclipper does a good job and can capture the page. You can also 'print to PDF' from your browser.
$ time python -c ''
real	0m0.071s
user	0m0.064s
sys	0m0.000s

$ time python -c 'import functools'
real	0m0.073s
user	0m0.052s
sys	0m0.016s

I mean...
A previous employer refused native, no matter how many times I argued their merits. The reply was always, "but it costs more". Which on paper, sure you're doing it twice. What they always failed to take into account was the headaches that doing a hybrid app would cause down the line when you needed to get a specific feature in place, but the hybrid solution just couldn't bridge the gap.
It's Time to Return Verification to Its Intended Purpose
Men experience scary and sketchy things at night too. I've been walking with male friends in a well lit area when a car of yobs drove past yelling at us from the window. Bad start, but then an idiot in my group yelled back, the car pulled over, and the yobs started to attack us. Fortunately other people turned up before anyone got seriously hurt and they scarpered. I bet they wouldn't have attacked a group of girls - not gonna do much for your reputation as a tough guy if you pick on a group of women.

Your original point was that there's some sort of imbalance in how dangerous things are to walk around, and that it's categorically worse for women than men, but you didn't substantiate that. You just sort of assume it must be true.

But males are much, much more likely to be the victim of murder and robbery, and slightly more likely to be threatened verbally. There are stats on this, look at the "Sex differences in crime" wiki page.

"Talk to more women" is a worthless response by the way, I see this answer way too often when someone making an unsubstantiated argument about gender is asked to back it up or faced with contradictory data. It's like saying that data should be subservient to the random opinions of whoever happens to be nearby at the time.
There may or may not be, but that doesn't address that Node.js was created to specifically avoid a threaded concurrency model in the first place.
Well... they were speaking to a behavior. It's a bit murky whether `dislike for changing the subject` is accurately or usefully reduced to `castigating someone else's opinion`.
JavaScript should just copy the Tcl threading model.
Adapt, Automate, Accelerate: AI and the Future of SME Lending
I disagree that "the US would be safer" if we had no guns.
I have an old 400MHz Celeron-based system I used years ago with an AMI BIOS that would occasionally recommend a different "RAS-to-CAS delay" on startup.

As far as I know, that's roughly the era when this was introduced --- late Pentium/early Pentium II, mid to late-90s.

The "memory test" happens after the tuning (which in my experience only touches limited portions of the whole address space) but if you watch carefully and have multiple, slightly differing (or even failing) memory modules, you may see it repeat once or twice as it encounters an error and retries the tuning.
The massive cost of the great financial crisis to everyone except the financial elite is deeply underappreciated by most people. High finance and central bank operations (QE etc) are generally perceived as both dauntingly incomprehensible and deathly boring so most people don't bother trying to understand them. Even more unfortunately, the effect of it all on everyone's day-to-day lives is sufficiently indirect and diffuse that most people do not connect the dots.
There is obviously a gradient of how impactful laws are on businesses.

Federally insuring speculative businesses directly affects who wins and who loses in an industry.

On the other hand, laws against fraud and bribery cannot negatively affect industries which provide value.

Regulation is fine, but only to the extent that it cannot pick winners and losers.
Yeah, you can ignore the last part of the article now. That bit is just a mention of how my site is going to implement verification in the most 'pure' form (aka without political bias or moral judgement).

But I think the point generally stands none the less. Enough with the whole 'taking away' verification when someone does something wrong or treating what should be an objective fact as if it were a badge of honour. That's not the point of the idea nor meaning of the term.

Anyone else agree?
"Concurrently" means "at the same time", both in English and in CS. One way to make it appear as if you have concurrency is to timeslice. One really bad way to do this is to have the timeslicing granule be computations of unbounded length with no preemption.

I agree with you that it's valid to refer to event loops as a kind of concurrency. I would call it a very primitive and low-quality kind of concurrency.

But it's not at all valid to claim, as @coldtea seems to be doing, that concurrency excludes the notion of two things happening at the same time. He's implying that if you run things at the same time then it's called parallelism. That's just not true. It's still called concurrency, even though it could also be called parallelism in the right circumstances.

I think it's best to understand this terminology this way:

Concurrency: the phenomenon of two things happening at the same time, or being made to appear that way.

Parallelism: the study of how to make things run to completion in less time by using multiple CPUs or computers.
But we could have literal wars over the pronunciation. I just don't want to leave a legacy of pain and violence for the children of the hard G.
Nothing error prone about EtM.
parent poster is likely referring to the right to sit in your office all day spouting pseduoscientific essays on why 20% of your coworkers probably should not be working in the job they have.
Devils advocate: Abortion can be ethical and embryo research can be unethical, since there are additional ethical concerns. There's no consent, if you believe an embryo is alive. Also the embryo is being kept alive artificially, which may be seen as cruel.

Also it's possible to oppose both abortion and embryo research.
I think there are just certain scenarios it may not support, like at one point writing queries in the editor for JSONB fields in Postgres was either hard or impossible, things like that. But generally it's pretty great and ready to be used IMO.
How I Lost 17,000 GitHub Auth Tokens in One Night
Are those people really unable to grasp math or did they just have bad teachers and a lack of parental help?
Mom, I blew up the music industry(2000)
Yeah, I'm surprised the funders (or someone in a business office, at least), don't baulk at paying for this.

@icelander, have you ever successfully charged these third-party IRB fees to a grant?
Google-funded think tank fires prominent Google critic
http://www.telegraph.co.uk/news/2017/08/25/non-english-speak...

http://www.inquisitr.com/3428608/london-mayor-sadiq-khan-to-...

That's what effective method rational has resulted into. I would rather have them go by the book, than what they imagine to be effective.
That is not a loophole, that is a good thing.

Yeah, sorry, I was being sarcastic.
https://borgbackup.readthedocs.io/en/latest/internals/securi...
This article correctly shows that virtually none of the ideas underpinning Bitcoin are new. They can all be traced to the academic literature going back decades.

Cryptographic signatures and public-key cryptography, cryptographic hash functions, cryptographic proof-of-work, time-stamping, Merkle trees, chains of transactions blocks, Byzantine fault tolerance, smart contracts -- all of these ideas were old when Bitcoin was invented.

Satoshi Nakamoto's achievement lays in the complex, ingenious way in which he (or she, or they) combined these ideas into a new distributed algorithm.[1]

--

[1] For those who don't know, Satoshi Nakamoto's paper, "Bitcoin: A Peer-to-Peer Electronic Cash System" proposed the first known solution to the double-spending problem in a peer-to-peer network (i.e., without centralized control), with Byzantine fault tolerance (i.e., in a manner resistant to fraudulent nodes attempting to game the rules), via a clever application of cryptographic proof-of-work. The paper is available at https://bitcoin.org/bitcoin.pdf
Whether or not it's condescending, it's not "destroying open discourse", that's absurd hyperbole.
That's some next-level geekery right there. Outstanding!
a) The debate is happening whether Bill Nye takes part or not.

b) If proponents of proposition A are unwilling to debate proponents of proposition B then proponents of A will be look like they don't believe in their proposition. You need to be willing to defend your beliefs.

c) Debating someone does not legitimize their proposition. I believe you are legitimizing their proposition if you refuse to debate them.
From the benchmarks I've seen so far, there is no efficient (in terms of CPU use) deduplicating archiver. Sometimes restic is faster, sometimes Borg, no really clear picture. Compression can make Borg faster as well, when it fits the data set (LZ4 can be fast enough and compress well enough to reduce overall processing time, not just storage requirements).
What do you use it for? I use Alfred, but haven't delved deeply enough into workflows. I just find it better than spotlight for the default use case.

But I am very interesting to know what I might be missing.
I guess that sentence is referencing article 43. IANAL.

See http://data.consilium.europa.eu/doc/document/ST-5419-2016-IN...
the Django tests are slow to start up because they set up a whole database, namedtuple optimisations won't help that
My adblocker blocks the base url of the page. Maybe there is some common adblock regexp that matches stuff on this site.
An electric helicopter would be cool, but a single large rotor is more efficient and quieter than four small ones. You could make make a two-rotor VTOL craft like an Osprey. An electric version would be more reliable since you don't have to move fuel and oil around in various dimensions. That would let you get lift from wings during flight, which means longer range than a helicopter with the same battery capacity.
I wonder how that is true given that Berlin has an extremely large and militant Antifa presence.

I can't imagine anyone getting away with a hate crime here. If your store is even suspected of selling fascist stuff it gets vandalized!

Berlin is about the biggest anti-fascist place I know.
Neither would the solution in quoted in the parent.
Why is that? If you don't want to work with certain people you are free to pickup your stuff and go elsewhere.
Competition in the Age of Online Giants
It is awesome that your son has an interest in this stuff! What in particular fascinates him? I have always found it is easiest to have kids learn when it not just something they are theoretically interested in, but also has a practical application. Does he find flashlights cool? If so, build your own. Find a way to apply what he is learning and see if he can use it to solve a "problem" around the house (is a door open that shouldn't be, or make a signal his chore is complete or needs to be done).
There's a trade-off: MoreFrames vs. EasierToUse.

Imagine placing one of these images on machine for say telescope positioning and performing a controlled rotation with a perfectly immobile observer. You could probably get 100+ frames. Now imagine pulling it out of your wallet and playing with it the car. A dozen frames at most?
PGConf US Local: Ohio CFP Schedule Published
What a surprise.

Can we break down the numbers on how much they'd likely receive from an IPO vs their burn rate? It's hard to imagine that an IPO would deal with most of their problems.

https://news.ycombinator.com/item?id=15116399 is a good analysis.

Also, non-paywalled article: http://archive.is/hOt4v (Thanks to philippnagel for pointing out this trick.)
I don't know, but negotiating laws and charging corporations are very different things.
> they also had yearly or life-time limits

Usually, both. Plus, if you had high expenses they'd actively search for an (even unrelated) pre-existing condition as a pretext to cancel your coverage (recission).
I'll look up into it.

But I already have a cloud solution (tarsnap) that works great for me. The thing is I only backup a subset of my stuff to the cloud due to cost issues, so less than critical files go to my local backup.
Are any of these worth reading? I know most of the past IT ebook bundles have consisted of ~80% useless ebooks.
Sweet. How to I inform google that I moved to europe (even though I didn't)? VPN tunnel?
Anything Carl Sagan wrote is a pleasure to read aloud. I read in his biography that he did most of his writing by dictation.
That doesn't really make things immutable. Even ignoring the deep vs shallow issue, consider what effect Object.freeze has on a JS Map (hint: none, really; you can still add/remove things).
That was the plan all along. Travis didn't want to IPO so soon.
Coming from a place where public ownership of firearms is banned, I can tell you that criminals can do what they want with just the might of their clinched fists.
There's nothing error prone about choosing to do Encrypt-then-MAC, but there could be some issues with how they implemented AES-CTR.

Plain and simple, there is just more room to make a grave mistake.
For those who down voted me, you do not know your sample set or your test subjects. Go to the empirical data sources. Human behavior certainly affects the real probabilities. As of 2015 in the US [0], a person is more likely to be born in July, August or September. They're also more likely to be born during the middle of the work week rather than the weekends. Draw your own conclusions from the data.

[0] https://www.cdc.gov/nchs/data/nvsr/nvsr66/nvsr66_01_tables.p...
I see this fallacy repeated often. "Hello World is 12 MB - just imagine how big a real app will be!!!"

Hello World doesn't benefit from that 12MB. Your real app would.

12MB is not for Hello World. 12MB is for Hello World + Common Language Runtime (garbage collection, bounds checking, memory protection, execution environment etc.) + the .NET standard libraries (LINQ, task parallel library, etc.)

You're probably going to need those things in a real app.

If you're actually doing Hello World -- and that is all you're doing -- and if using 12MB of your 16GB of RAM is unacceptable for you, yes, by all means write some native code.
They died, and their guts got bought by another display company, http://tripuso.com/

At least the screens are still being made.
After 12 years as an academic computer scientist, Bitcoin was the most impressive computer science research I saw.

And it came from outside the academy.
Crafted TIFF files can buffer overflow in many browsers (CVE-2017-2870)