HackerTrans
TopNewTrendsCommentsPastAskShowJobs

danbst

no profile record

Submissions

Show HN: Did you know you can multiply matrices without multiplication?

6 points·by danbst·3 वर्ष पहले·3 comments

Robomojo.io – Pop Culture Reimagined by Artificial Intelligence

robomojo.io
2 points·by danbst·4 वर्ष पहले·0 comments

I was stuck on a side project for 5 years – how I finished it (2020)

cassandraxia.com
185 points·by danbst·5 वर्ष पहले·45 comments

Dramatica: A Theory of Story [pdf]

dramatica.com
39 points·by danbst·5 वर्ष पहले·5 comments

Fiction.Tools

fiction.tools
2 points·by danbst·5 वर्ष पहले·0 comments

A German Easter Egg in Python Turtle

github.com
1 points·by danbst·5 वर्ष पहले·1 comments

Why Mathematics is Boring (2007) [pdf]

math.ucr.edu
86 points·by danbst·5 वर्ष पहले·124 comments

comments

danbst
·3 वर्ष पहले·discuss
this is a disaster. There are rumors that part of infrastructure is destroyed.

There are 26 million Kyivstar users. Now they all are without mobile for an indefinite time. I'm one of them

2FA via SMS doesn't work. Our biggest bank was partner for Kyivstar, and now it's 2FA doesn't work either.
danbst
·3 वर्ष पहले·discuss
in llama.cpp inference runs on CPU, using AVX-2 optimizations. You don't need GPU at all

It runs on my 2015 ThinkPad!
danbst
·3 वर्ष पहले·discuss
to make this complete, the "Silpo" market chain created unique design for many years already. Here is full list, together with ideas behind each design

https://silpo.ua/about/dyzainerski-supermarkety
danbst
·3 वर्ष पहले·discuss
The idea is to store all matrix weights for neural model in log space, and never leave it. Maybe create a new activation function which doesn't leave log space.

You can check the code, I don't just replace multiplication, I perform addition (with tricks) in log space
danbst
·4 वर्ष पहले·discuss
remove word egg
danbst
·4 वर्ष पहले·discuss
There exists `sd` which does the same! Maybe details differ. See intro in https://ianthehenry.com/posts/a-cozy-nest-for-your-scripts/
danbst
·4 वर्ष पहले·discuss
There are several layers of propaganda, and you point to only one of them.

1) The propaganda for West is that "power balance" shit story. US citizens are distant enough to believe this is rational PoV. (it is not)

2) The propaganda for russians is that Ukraine is a failed state, has no legitimate govt, makes undercover nukes and nazis use ukrainian people as hostages. (all of this is lie)

3) The propaganda for Ukraine is that Russians and Ukrainians are literally "brothers", more "brothers" than ukrainians and poles. Everyone speaking russian language is part of Russia. (clear manipulation)

We Ukrainians don't like this propaganda and don't want live under Putin's (or any other non-democratic) regime. If US (and Europe) feels we can help them achieve their goals, we are fine with that. Because it aligns with our national goals -- make Russia weak, or even make it disappear from global map.
danbst
·5 वर्ष पहले·discuss
Partly related, the No Bullshit Guide to Linear Algebra has a concept map as a first page, which looks really stunning. Author definitely had spent time mindmapping stuff before writing.

https://minireference.com/miniref/lib/tpl/miniref/dist/image...
danbst
·5 वर्ष पहले·discuss
Both are correct from math POV, but they differ in how "integer division" works.

Python floors `7 // -5` to -2, C rounds `7 / (-5)` to -1.
danbst
·5 वर्ष पहले·discuss
This is explanation from author

http://fastcompression.blogspot.com/2011/05/lz4-explained.ht...
danbst
·5 वर्ष पहले·discuss
Correct link: https://github.com/python/cpython/blob/3.10/Lib/turtle.py#L3...