339 karma · joined Mar 19, 2018 (8y ago) · 43 submissions
1.
Stack Overflow: How We Do App Caching (2019)(nickcraver.com ↗)
3 points · by eadan · 5y ago · discuss
comment 6y ago · link · parent
3.1.3(d) Person-to-Person Experiences: If your app enables the purchase of realtime person-to-person experiences between two individuals (for example tutoring students, medical consultations, real estate tours, or fitness training), you may use purchase methods other than in-app purchase to collect those payments. One-to-few and one-to-many realtime experiences must use in-app purchase.
This is huge news. Being able to use third-party payments methods to bypass Apple's 30% charge is essential for service driven marketplace apps. Classpass and AirBnB bumped into this issue [0], but, I wonder if this exception will apply for them?
[0] https://www.nytimes.com/2020/07/28/technology/apple-app-stor...
Edit: In excitement, I missed the last sentence; group services aren't covered by the exception :(
comment 6y ago · link · parent
comment 6y ago · link · parent
I'm trying to understand the architecture of Splitgraph. Are all foreign data wrappers controlled directly by you, or can third parties host a database and connect it to Splitgraph in a federation?
comment 6y ago · link · parent
https://www.covra.nl/en/radioactive-waste/the-art-of-preserv...
comment 6y ago · link · parent
comment 6y ago · link · parent
if err := foo(x); err != nil {
return fmt.Errorf("foo: bad argument %s", x)
}comment 6y ago · link · parent
[1] https://dropbox.tech/infrastructure/evaluating-bbrv2-on-the-...
comment 6y ago · link · parent
The potential for ABMs are huge now that we have access to cheap and massively parallel compute. Imagine arbitrarily complex models of each individual in an economy interacting with each other over a distributed network of thousands of machines -- that's possible now. Instead of trying to predict the future, we can compute it.
[1] https://github.com/iodide-project/pyodide
[2] https://github.com/gpuweb/gpuweb/wiki/Implementation-Status
comment 6y ago · link · parent
First, would it be possible to perform sensitivity analysis on parameters of the model? For example, with the city infection model, run a number of simulations in parallel with different infection rate values, and see how it affects the model output. Relatedly, I think it would be useful to specify a probability distribution over a parameter rather than setting a fixed value. The state space of the model would become exponential in the number of parameters which can vary, so I understand if it's infeasible, at least in the public version.
The real-time spatial and plot views are great. I would like to try some network based simulations. Any plans to add visualizations for these?
16.
Ask HN: Transferring large (over 100GB) files?
1 points · by eadan · 6y ago · 1 comment
18.
Show HN: JotFS: a content-defined deduplicating file store backed by S3(eadan.net ↗)
1 points · by eadan · 6y ago · discuss
comment 6y ago · link · parent
comment 6y ago · link · parent
Since QUIC is also over UDP, perhaps we now have more flexibility on ACK windows etc.
Btw. there are open protocols like Tsunami UDP (https://en.wikipedia.org/wiki/Tsunami_UDP_Protocol) that try to fill the same niche
comment 6y ago · link · parent
comment 6y ago · link · parent
https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjec...
comment 6y ago · link · parent
xxhash (https://github.com/Cyan4973/xxHash) with 32/64 bit output. The latest version, xxh3, supports up to 128 bit output.
meow hash (https://github.com/cmuratori/meow_hash)
The recently released Blake3 which is designed to be cryptographically secure is very fast also (https://github.com/BLAKE3-team/BLAKE3)
26.
Ask HN: Dataset version control for ML / data science?
1 points · by eadan · 6y ago · discuss
comment 6y ago · link · parent
comment 6y ago · link · parent
As the title states these are probability models for describing the purchasing behavior of customers. The paper outlines outlines several models depending on if customers may purchase at discrete times or continuously, and whether the customer relationship is contractual or not. As an example let's take the "BG/NBD" model for continuous time, non-contractual customer relations.
We assume each customer, `i`:
1. Makes purchases according to an exponential distribution with mean rate `lambda[i]` [0].
2. After a purchase becomes inactive (never makes a purchase again) with a fixed probability `p[i]`.
And, across all customers: 3. The purchasing rate, `lambda[i]`, follows a Gamma distribution with parameters `alpha` and `beta` [1].
4. The inactivity probability, `p[i]`, follows a Beta distribution with parameters `a` and `b` [2].
This is a generative model of the purchasing behavior of each customer. The goal is to find values of the parameters `lambda[i]`, `p[i]`, `alpha`, `beta`, `a` and `b` that "fit" your data the "best". Emphasis here because there different notions on what "best" means, but the two main approaches are optimization (typically maximizing the likelihood) and Bayesian approaches which rather than finding the "best" value for a parameter, find a distribution over all possible values called the posterior.There are implementations of these models for python [3] and R [4].
[0] https://en.wikipedia.org/wiki/Exponential_distribution
[1] https://en.wikipedia.org/wiki/Gamma_distribution
[2] https://en.wikipedia.org/wiki/Beta_distribution
comment 6y ago · link · parent
[1] MezzanoOS, an OS written in Common Lisp (https://github.com/froggey/Mezzano)
[2] SerenityOS, a Unix-like OS (https://github.com/SerenityOS/serenity/). The primary author has a youtube channel (https://www.youtube.com/c/AndreasKling/)
[3] RedoxOS, a microkernel OS written in Rust (https://www.redox-os.org/)
[4] Nebulet, a microkernel based on webassembly (https://github.com/nebulet/nebulet)
[5] It was never released by Microsoft, but Midori OS had some fascinating ideas like software isolated processes, asynchronous message passing and object capabilities. Nice write-up about the project by Joe Duffy here http://joeduffyblog.com/2015/11/03/blogging-about-midori/