Readit News logoReadit News
akrasuski1 commented on Adventure Games and Eigenvalues (2017)   evanmiller.org/adventure-... · Posted by u/rayvega
toxik · 7 years ago
More precisely, construct a graph with vertices (u, v) where u is a prior state and v a possible successor state, then there must not be a node of out-degree zero unless it is an end state.

As far as complexity goes, this should be linear in number of vertices. In fact, you don't even really have to construct the graph, just count out degree.

akrasuski1 · 7 years ago
That is not enough, since you may still get stuck in a loop.
akrasuski1 commented on Converting Wi-Fi signals to electricity with new 2-D materials   news.mit.edu/2019/convert... · Posted by u/beautifulfreak
akrasuski1 · 7 years ago
40 microwatts of power, to be precise. Compared to, say, 5V*1A=5W of typical phone charger, this is impractical by a large margin.
akrasuski1 commented on The art of creating very tiny programs for the 80x86 family of CPUs   sizecoding.org/wiki/Main_... · Posted by u/kken
akrasuski1 · 8 years ago
Another nice site aggregating many clever tiny x86 programs: https://www.xorpd.net/pages/xchg_rax/snip_00.html
akrasuski1 commented on CLI: Improved   remysharp.com/2018/08/23/... · Posted by u/Bootvis
orf · 8 years ago
Is anyone else impressed with the quality (and speed!) of some of the tools written in Rust? I'm an avid user of fd and bat, the former being ridiculously fast. Often I find something on github, I'm impressed by the quality of the documentation, features, UI etc, then lo and behold it's written in Rust.

Another one potentially for this list is tokei[1] I was trying to count the code in our repos at work and used the venerable 'cloc' utility. It took over 5 minutes. Looking around I found tokei, written in rust. Same-ish results (more accurate actually) took 10 seconds.

1. https://github.com/Aaronepower/tokei

akrasuski1 · 8 years ago
This could actually be caused by disk caching effects. Have you tried running cloc second time afterwards?
akrasuski1 commented on Mod and remainder are not the same   rob.conery.io/2018/08/21/... · Posted by u/yread
akrasuski1 · 8 years ago
Well, that's why I always define RED(x) (for reduce modulo) as ((((x) % MOD) + MOD) % MOD). Quite useful in algorithmic competitions, which often ask you for answer modulo some prime.
akrasuski1 commented on GitHub is down   status.github.com/message... · Posted by u/geekjock
dvfjsdhgfv · 8 years ago
And the value of karma is? There are many intelligent people here on HN. The fact that we even mention such a petty concept as karma shows we got hooked up on these little mind tricks just as easily as everyone else.
akrasuski1 · 8 years ago
And thus you used a throwaway account...
akrasuski1 commented on A Linguistic Enclave in Central Europe   culture.pl/en/article/cen... · Posted by u/jxub
akrasuski1 · 8 years ago
From the listed words only two have immediately obvious Polish connotations (dźjada (grandpa), and dziadek is grandpa in Polish; śpjelik (sparrow), where śpiewać is "to sing"). Most words have German-ish sound to them, somewhat similar to Silesian subdialect of Polish (though Silesia was occupied by Germany, which is the reason for its influence). The spelling is mostly Polish-like, perhaps from older centuries though; except for some umlauts which clearly originate in German and similar.
akrasuski1 commented on The Emerald Programming Language   emeraldprogramminglanguag... · Posted by u/palerdot
akrasuski1 · 8 years ago
Looks like jewellery is popular in language namimng: we've got Ruby, Crystal, now Emerald...

u/akrasuski1

KarmaCake day75June 14, 2017View Original