Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stefanka
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
91.
▲
by
stefanka
3y ago
Nice! Thanks
92.
▲
by
stefanka
3y ago
Can I write time critical functions in Rust and make it available to gleam as a module? This would be an interesting way of building a distributed framework (e.g., on a cluster for scientific computing like ML) in rust.
93.
▲
by
stefanka
3y ago
Having close centers might help with the labeling. Let me know if I can help
94.
▲
by
stefanka
3y ago
You could also use a Bayesian version of kmeans. It applies a Dirichlet process as a prior to an infinite (truncated) set of clusters such that the most probable number k is automatically found. I found one implementation here: https:/
95.
▲
by
stefanka
3y ago
great analogy!
96.
▲
by
stefanka
3y ago
"Harrison Ford once said" .. hillarious
97.
▲
by
stefanka
3y ago
https://lemonfold.io I write about about my favorite machine learning algorithms using as few formulas as possible, and about my journey of learning Rust writing my own machine learning frameworks. Unfortunately, I only find tim
98.
▲
by
stefanka
3y ago
For me it’s Capoeira; cool Music, learning petrified, good workout, less competitive than other marital arts and great community
99.
▲
by
stefanka
3y ago
I got their „studio“ and it’s pretty decent for its price
100.
▲
by
stefanka
4y ago
Bobby tables ( https://xkcd.com/327/ )
101.
▲
by
stefanka
4y ago
> No one else may ever read them Where can we find it?
102.
▲
by
stefanka
4y ago
(German) wikipedia mentions it is a relatively expensive sugar replacement. Maybe that's why it is less popular. Interesting is that it is pretty common in multiple plants (it sounds more natural at least)
103.
▲
by
stefanka
4y ago
Together with rust-numpy, it is a great way of writing numeric code (using the ndarray library) https://github.com/PyO3/rust-numpy
104.
▲
by
stefanka
4y ago
Maybe use an synonym. 'Corsair weather', 'privateer weather' ?
105.
▲
by
stefanka
4y ago
Good one! is_hiring()?.apply()?.code_rust()? Error handling is really nice in rust Edit: Just realized that the first question mark in my original question was a mistake
106.
▲
by
stefanka
4y ago
Maybe later then :)
107.
▲
by
stefanka
4y ago
Thanks for the article? You are not still hiring per chance..?
108.
▲
by
stefanka
4y ago
What difference does this make if the information is on your own site? Or do you share upon request only?
109.
▲
by
stefanka
4y ago
Seems you refer to a domain specific language in the annotations. This is exactly what https://github.com/AndreaCensi/contracts does (it's an amazing project but has a very large code base). However, I wanted to a
110.
▲
by
stefanka
4y ago
Thanks! I will have to run some tests very soon I guess. I usually handle functions that do some heavy number crunching where the overhead seems less important. I expect some impact but also see some space for optimization through caching.
111.
▲
by
stefanka
4y ago
Let's say I did not put a focus on speed–and there will be a performance overhead ontop of the actual checks. In a production system, you should probably consider to deactivate it in performance-critical parts (evaluate=False)
112.
▲
by
stefanka
4y ago
Fair. I personally prefer to see the expectation to the arguments (especially in a scientific / data science context) over looking into asserts in the function body, which distract from the algorithm in there. Originally, I planned to
113.
▲
by
stefanka
4y ago
Thanks! Yes, it is for runtime checking only
114.
▲
Show HN: A design-by-contract Python package in ~100 lines
(github.com)
58 points
by
stefanka
4y ago
|
12 comments
115.
▲
by
stefanka
6y ago
Where will the development go on from now? We have been working on a geometrical approach that avoids the curse of dimensionality to solving the same problem for the last few months. Now, I wonder whether it makes sense to continue at all (