Better HN
topnewbestaskshowjobs
Log inSign up

samcodes

255 karma · joined Jan 14, 2016 (10y ago) · 114 submissions

Submissions

1.

Behavioral Testing of NLP Models with CheckList(github.com ↗)

2 points · by samcodes · 5y ago · discuss

comment 5y ago · link · parent

well this really takes me back to fiddling with FruityLoops in all my spare time in my teens. very fun, and I love the code

comment 5y ago · link · parent

I think alcohol and tobacco use are primarily symptoms, not causes, of problems. They, along with depression, anxiety, ADHD, and other addictions, are strongly correlated with ACE (adverse childhood experience) score. As smoking has become taboo, other stimulants became more popular (adult ADD). I'd expect something similar if we restricted alcohol without solving the problems that lead to dependency.

comment 5y ago · link · parent

this is a good explanation of intrinsic dimension https://eng.uber.com/intrinsic-dimension/

comment 5y ago · link · parent

if you use a library for Chinese/Japanese tokenization (which is harder because the lack of space), it seems like the rest of the code would work?

comment 5y ago · link · parent

having the laity meditate at all is, AFAIK, a pretty modern development

comment 5y ago · link · parent

Meditation is a pretty broad term encompassing many different activities/intentions (though they all look pretty similar from the outside). In the studies I’ve read on the adverse effects of meditation, the style has a major influence. Due to historical accidents, vipassana is a common style in the West - I find this mind blowing, since it is probably the most likely to cause adverse effects.

As a long time meditator, my experience with vipassana is that it is the hardcore path, for those willing to risk crashing and burning to get to enlightenment faster. Techniques like mettā, tonglen, or dzogchen seem to be ~5-10x less likely to be associated with a psychotic event - which at that point, seems like it could just be about prior history [1]. It's worth mentioning that Britton, the academic meditation critic in the article is a co-author of this paper.

[1] https://journals.plos.org/plosone/article?id=10.1371/journal...

comment 5y ago · link · parent

it's possible to do NLP at scale much better than they do. they just don't care

comment 5y ago · link · parent

do you have a repo? this sounds cool

comment 6y ago · link · parent

"deep state" meaning... information you didn't know already?

comment 6y ago · link · parent

I don’t understand how someone can say “this is the worst software I use daily” and then you say “you are wrong.” Maybe you use worse software than them? Also, you seem to implicitly default to comparing each piece of software to others in it's class; you’re grading on a curve. The parent comment is saying “of all software, these are the worst”, and you are saying “but other PM/VC/OS software is worse” which is different.

For example, git is the best version control software; it is also a disaster of a UX.

Your appraisal of Docker is also too generous, I honestly can’t tell if it’s sarcasm

comment 6y ago · link · parent

Not to nitpick, but wouldn’t Etherium Be the right cryptocurrency? I try to ignore it, but I remember that that’s the “smart contracts” one, so it could make the job contracts in such a way that if they are completed, payment is automatic or something?

comment 6y ago · link · parent

> the mask averse amongst us

Oh can we coin a term like this for drunk driving? You know, when it’s more convenient to drive home drunk than leave your car out? That’s just being taxi-averse

comment 6y ago · link · parent

They model a system which they know to be constrained by a closed-form equation called the Hamiltonian. They (cleverly, IMO) force the network’s predictions to be constrained by the Hamiltonian, by choosing the right output and loss function.

I don’t see a way to generalize this to the procedural rule-based systems you describe, unless they too are governed by a fairly simple continuous function Like the Hamiltonian.

I don’t know if it was “dramatic”, but it made me really happy.

comment 6y ago · link · parent

I think software engineering is depressingly, suboptimally stable. The space of all possible ways to write programs is so, so large and almost completely unexplored. Lisps, Hindley-Milner type systems, Cox, neural networks with autodifferentiation ... whenever we substantially depart from the local optima around C-like programming, we find cool shit.

However, the vast majority of programming is done to build nearly indistinguishable CRUD SaaS apps. If we could just spend half our time doing real, interesting exploration of programming-space to satisfy our curiosity, maybe we could all agree to build apps with a more boring tech stack. However, that would require a large scale change in incentives that is hard to imagine shy of a Space Race style event.

... or Jonathan Blow was right and C was more or less the global max, and everything else was a mistake. I really hope that isn’t the case.

comment 6y ago · link · parent

He’s saying it’s not a problem for the future, because that implies it’s not a problem now, which he asserts that it is. It’s humor

comment 6y ago · link · parent

Part of me wants to ask “but who investigates the Inspector of the LECC?” But I’ve dealt with Elixir and I know that supervision trees rarely need to be very deep in practice

comment 6y ago · link · parent

“Emotional load can reduce the requirement for semantic coherence.” - great insight

19.

Modeling Covid-19 Spread vs. Healthcare Capacity(alhill.shinyapps.io ↗)

2 points · by samcodes · 6y ago · discuss

20.

Chime – an open-source tool for Covid-19 capacity planning(predictivehealthcare.pennmedicine.org ↗)

12 points · by samcodes · 6y ago · discuss

comment 6y ago · link · parent

I think this is a good observation. One thing I’ve been thinking about is probabilistically evaluating traditional software. Every un-caught exception, for example, is usually a false negative when evaluating “did the code correctly handle the input?”

Not that ML code is bug-free. But it seems like most traditional software is probabilistically correct, despite not being thought of that way.

comment 6y ago · link · parent

First off, I totally agree. Not as easy as it should be to write an async web server in python. FastAPI is probably your best bet. I usually use Sanic. Easy to accidentally block though.

That said, it sounds like you’re serving a large model. No amount of async/await or goroutines can solve this problem. A non-blocking web server is a godsend for I/O-bound tasks, but a large model is just a deep call stack - lots of multiply, nonlinear function like RELu, then add, times a billion. This would still block, even if you had perfect async/await code.

I made some assumptions here, but if I’m right, the answer is “shrink your model” and/or “buy more compute”. Neither of which are easy. But if you’re trying to shrink a model, check out Distiller https://github.com/NervanaSystems/distiller

Edit: the restriction I talk about is for event-loop based servers using something like uvloop or asyncio under the hood. Maybe this restriction doesn’t hold for other concurrency modes.

comment 6y ago · link · parent

A simplified model of ants are Turing complete (the colony, not the ants) https://link.springer.com/chapter/10.1007/3-540-59496-5_343

comment 6y ago · link · parent

Thanks! I hadn’t seen VAMPIRE! So stoked to see a new approach to topic modeling. SVD etc are very much a local max

comment 6y ago · link · parent

Yeah, if the author of the parent comment is willing to put in work to get the understanding they claim to want, this is the way to go

comment 6y ago · link · parent

This is a funny comment on HN, where it is very easy, for me at least, to be so far out of my element that I have no clue what is being discussed, such as any post about hardware!

comment 6y ago · link · parent

I was on a large dose of gabapentin for anxiety for a few years. It felt similar to the flow of a beer, before the negative parts of the alcohol kicked in

comment 6y ago · link · parent

Partake, a Canadian brewery, makes an IPA that is the best non-alcoholic beer. Because all the grain carbs are converted to alcohol, when they remove the alcohol hey remove almost all the calories too. I don’t know if I could have stopped my 6 pack per day habit without pounding those.

comment 6y ago · link · parent

I thought the latest studies hypothesized that there was a hidden variable - social interaction. Moderate drinkers were more likely to have consistent social interaction, which is strongly correlated with positive outcomes - enough to cancel out the negative health effects from drinking.

comment 6y ago · link · parent

For me, it’s weddings, holidays, and funerals. The proper way to celebrate those (this is culturally relative, and I’m talking about whatever sub-culture I come from in the US) involves alcohol. Which sometimes makes quitting alcohol feel like cutting off your nose to spite your face.
1234