Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
srijs
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
1.
▲
Speeding up gearhash on ARM64 (2× faster)
(sam.dev)
1 points
by
srijs
11d ago
|
0 comments
2.
▲
by
srijs
4y ago
1x RCU gives you 1 strongly consistent read of up to 4KB _per second_. So 8000 reads per second require 8000 RCUs, which at list pricing comes to $1 per hour. And that's assuming reads do need to be strongly consistent (otherwise half
3.
▲
by
srijs
11y ago
Author here. Slightly simplifying, a Kleisli arrow is just a function from `A` to `M<B>`, and which is composable, similar to function composition: Kleisli<M, A, B> + Kleisli<M, B, C> = Kleisli<M, A, C> Alth
4.
▲
by
srijs
11y ago
There is also NDJSON (aka Newline-delimited JSON): http://ndjson.org/ (disclosure: I'm the author of the Haskell ndjson-conduit library)
5.
▲
by
srijs
13y ago
From the official update: $ shasum -a 256 atom-mac.zip 4614ec62feaea32392ad7f6b3a80534c8ad0c758ed210cabafcc86c5c49a49a1 atom-mac.zip $ md5sum atom-mac.zip 5454bd3a8271c93f5225cd2b57cdab81 atom-mac.zip
6.
▲
Show HN: Open Source Node.js Interpreter for iOS
(itunes.apple.com)
15 points
by
srijs
13y ago
|
0 comments
7.
▲
Show HN: Node.app - Node.js for iOS (supports timers, events, fs, utils, ...)
(nodeapp.org)
3 points
by
srijs
13y ago
|
1 comments
8.
▲
by
srijs
13y ago
Very happy about your input! :) I think you got a very good point there regarding the impedance mismatch between native and js apis. Really enjoying the uvbook, this got me sold on the libuv api. After skimming through the source and being
9.
▲
by
srijs
13y ago
Thanks a bunch for your feedback :) My initial plan was to provide the node features using Foundation.framework features only. Now, this could turn out to be more boilerplate code than I intended to write and if it does, I'm now prett
10.
▲
by
srijs
13y ago
I did some evaluation a while ago about bundling a Javascript engine with mobile apps on iOS and concluded JSC was way easier to compile and integrate. This is in fact what e.g. Appcelerator Titanium does currently. However, this bundling r
11.
▲
by
srijs
13y ago
Thanks :)
12.
▲
by
srijs
13y ago
JavaScriptCore is a cross-platform javascript engine on it's own that is used by default in WebKit browsers (Safari, Mobile Safari, Konqueror, etc.). The new thing on iOS 7 is that this framework is exposed as a public API you can code
13.
▲
by
srijs
13y ago
This is very rough and no IO is supported yet. However, I think it serves well as a proof-of-concept that a lightweight node-compatible interface can be done for mobile apps using javascript. Tell me what you think! :)
14.
▲
Show HN: Proof-of-concept Node.JS-like interface with iOS 7 JavaScriptCore
(github.com)
30 points
by
srijs
13y ago
|
14 comments
15.
▲
Add Support for 80+ Filetypes to your iPhone
(doctapeviewer.com)
14 points
by
srijs
13y ago
|
4 comments
16.
▲
by
srijs
13y ago
Typed arrays do deliver a lot of speedup, and in fact, the above example is slightly faster in Chrome than in Firefox Nightly for me. However, if your algorithm does crunch a lot of data in a low-level way, there is definitely even more per
17.
▲
by
srijs
13y ago
Thank you. I just updated my code and it's really within half of native speed now... (benchmarks in the README, if any of you are interested) asm.js is very exciting technology!
18.
▲
by
srijs
13y ago
Cool. I recently wrote a low-level sha1 implementation in pure javascript, trying to leverage asm.js ( http://github.com/srijs/rusha ). Can you tell me, how did you confirm you wrote valid asm.js and there was no fallback-mechanism kicking
19.
▲
Fixing the Sad State of Javascript SHA1 implementations
(awesam.de)
5 points
by
srijs
13y ago
|
0 comments