Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nchammas
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
nchammas
10y ago
Related: A YouTube channel [0] dedicated to videos of "everyday life" in North Korea, from an Indonesian expat living there. Couple of random examples: * Walking around Pyongyang in the winter. [1] * Going to a computer store in P
32.
▲
Solving the Water Jug Problem from Die Hard 3 with TLA+ and Hypothesis
(nchammas.com)
6 points
by
nchammas
10y ago
|
0 comments
33.
▲
by
nchammas
10y ago
> These ratings are not great because they incentivize doctors not to take more complex cases. This reminds me of a scene in the recent Dr. Strange movie where the main character -- a neurosurgeon -- turns down a case because it had a hi
34.
▲
by
nchammas
10y ago
On the topic of fuzz testing, Python has an excellent library for property-based testing called Hypothesis [0] [1]. I don't think it does guided testing like AFL or libFuzzer (which OSS-Fuzz uses), but it's very powerful nonethele
35.
▲
by
nchammas
10y ago
I was amazed to stumble across a few case studies on YouTube of a doctor treating Tourette's by adjusting the resting position of the patient's jaw. https://www.youtube.com/watch?v=nLkPBUBmxDo I assume there are d
36.
▲
by
nchammas
10y ago
The section titled "So Why Does Abstract and Concrete Matter?" on Donald's post explains pretty clearly why you can't have these two types of dependencies in the same file. There is another discussion on the Pipfile repo
37.
▲
by
nchammas
10y ago
> And since this Pipfile is just a bunch of function calls That hasn't been settled yet. It's being actively discussed [0]. > Or is the idea to eventually get rid of setup.py? Yes, a replacement for setup.py has already been
38.
▲
by
nchammas
10y ago
As of Spark 2.0 spark-ec2 doesn't ship with Spark anymore [0]. It's been moved here [1]. [0] http://spark.apache.org/releases/spark-release-2-0-0.html#re... [1] https://github.com/amplab/
39.
▲
by
nchammas
10y ago
> This is exactly why large stores of data should be considered a liability and NOT an asset. Your comment reminded me of a post by Bruce Schneier with a similar theme, called "Data Is a Toxic Asset" [0]. [0] https://
40.
▲
by
nchammas
10y ago
> we are moving towards strictly typed Python I don't know what "strictly typed Python" is, but the type checking discussed in this post is 1) completely optional and 2) static. You don't have to do it if you don'
41.
▲
by
nchammas
10y ago
It was probably about the work of Peter Pronovost, or something closely related: https://en.wikipedia.org/wiki/Peter_Pronovost
42.
▲
by
nchammas
10y ago
Similar library for Python: https://github.com/jamesturk/jellyfish
43.
▲
by
nchammas
10y ago
I think it would be dangerous to have the default be "coalesce to 1 partition before writing", but I agree this should be better documented since it takes many people by surprise. As for the DenseVectors, that looks strange and is
44.
▲
by
nchammas
10y ago
> What happens is that each Spark partition outputs its own CSV, which is never what anyone would want! 1 file per partition is exactly what you want when the output is large, so that multiple executors can share the work of writing out
45.
▲
by
nchammas
10y ago
Well, the absolute easiest way to run Spark is to do it locally (e.g. you can brew install it on a Mac and just go) or to pay for a proprietary service like Databricks, which makes setting up a cluster take a few clicks. That said, I think
46.
▲
by
nchammas
10y ago
> as long as setting up a cluster is a bit easier! If you're on AWS, it's already quite easy to set up a cluster today, no? There's EMR of course, and there are tools like spark-ec2 [0] and Flintrock [1]. There are a few m
47.
▲
by
nchammas
10y ago
Relevant reading: * https://en.wikipedia.org/wiki/Induced_demand * https://en.wikipedia.org/wiki/Demand_destruction * https://en.wikipedia.org/wiki/Disappearing_traffic
48.
▲
by
nchammas
10y ago
I think this blog post [0] is more of a direct response to the discussion in that thread. [0] https://whispersystems.org/blog/the-ecosystem-is-moving/
49.
▲
by
nchammas
10y ago
You're right about Python and R having to pass data back and forth to the JVM for certain operations, but also keep in mind that native code still runs in the native interpreter. That means you have access to the full ecosystem of the
50.
▲
Flambo: A Clojure DSL for Apache Spark
(github.com)
2 points
by
nchammas
10y ago
|
0 comments
51.
▲
by
nchammas
10y ago
First class language support in Apache Spark: * Scala * Python * Java * R All these languages are equal, but Scala tends to be more equal than others in some areas of the API. I also believe R is mostly restricted to the DataFr
52.
▲
by
nchammas
11y ago
As Jeff and I noted on Reddit [0], the author of AsyncSSH, Ron, is very responsive and his work is high quality. The library is already pretty feature-complete, and just last week the latest release added ssh-agent client support. [1] [0]
53.
▲
by
nchammas
11y ago
`await` is Python 3.5+. AsyncSSH is compatible with Python 3.4+.
54.
▲
by
nchammas
11y ago
Good question. Perhaps that is one of the root issues here. As a layperson, I wouldn't know how to answer it, but I'm guessing the answer probably involves more rigorously detailing the various aspects of each case so that compari
55.
▲
by
nchammas
11y ago
> For example, if surgeons knew their success rate were public, they would be incentivized to take easier cases. Who would take a difficult case if they knew it would constitute a bad mark on their record almost for sure? Why would it be
56.
▲
by
nchammas
11y ago
"Together with Parse.ly, we’ve arrived at a system whereby readers of The Intercept will not directly ping Parse.ly. Instead, they will continue to send web requests to our own servers, which will, in turn, forward some of those reques
57.
▲
What the Intercept’s New Audience Measurement System Means for Reader Privacy
(theintercept.com)
2 points
by
nchammas
11y ago
|
1 comments
58.
▲
by
nchammas
11y ago
Is there a talk or discussion somewhere that touches on some of these insights into creating a great research organization?
59.
▲
by
nchammas
11y ago
For some reason this reminds me of the debacle [0][1] where some site was accepting "tips" from users who wanted to support any GitHub project of their choosing. They did it without explicit opt-in of the project owners (Armin Ron
60.
▲
by
nchammas
11y ago
The author's recommendation that the police build up community relationships to increase trust and reduce unnecessary confrontation reminded me of a book, Fixing Broken Windows [1], that made a similar recommendation for what it called
More ›