Better HN
topnewbestaskshowjobs
Log inSign up

kdkdk

0 karma · joined Jun 3, 2020 (6y ago) · 4 submissions

Submissions

comment 3y ago · link · parent

It‘s not just the government. As SF controls ever larger part of the world, many power hungry people flock to SF. Prices go up and more people want a piece of the action.

comment 3y ago · link · parent

Let‘s gooo I want all the corporate companies to regret ever having used windows. They will be so vender locked that they will have to see advertisements every 10 minutes to continue using it without extra payments.

comment 3y ago · link · parent

Even rational numbers which have repeating digits at the end are not O(1) because in order to calculate the n-th digit you need to calculate n modulo k where k is the length until the number repeats its digits, which needs to read the entire input number n (thus runs in O(log(n)). The only exception are rational numbers with k being a power of two. Take 0.1010101010…, you can get the n-th digit by reading off the smallest digit of n and checking whether it is a 0 or a 1.

There are transcendental numbers where the n-th digit can be computed in O(log n) like Champerowne constant though.

comment 6y ago · link · parent

I think the system the author is looking for is probabilistic programming. It allows you to write programs/models with uncertain factors. Then at the end you can observe a few variables and it automatically computes the expectation and variance all the input variables. Check out psisolver.org for example.