Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
andrus
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
andrus
5mo ago
GitHub introduced checksums to their tokens to aid offline secret scanning. AFAIK it’s mostly an optimization for that use case. But the checksums also mean you can reveal a token’s prefix and suffix to show a partially redacted token, whic
2.
▲
by
andrus
11mo ago
Yes, this is valid JSON: []
3.
▲
by
andrus
1y ago
Don’t recent Node.js releases support this already? require(esm) was back ported to Node.js 20 in February
4.
▲
by
andrus
3y ago
I’ve found it hard to apply this pattern in Go since, if Username is embedded in a struct, and you forget to set it, you’ll get Username’s zero value, which may violate your constraints.
5.
▲
by
andrus
3y ago
AFAIK, Twilio is shutting down its Video product. I don’t think its Voice product is affected (although the SDKs for both use WebRTC).
6.
▲
by
andrus
3y ago
> That said, do many see value is in this? GitHub don't host runners for Linux × arm64, so if you need this, you need to self-host. You can also run custom AMIs with pre-installed packages, which can speed up workflows that depend o
7.
▲
by
andrus
3y ago
Hey, you're welcome! And actually, yes — I reached out to @duvallj from GitHub regarding this earlier today. He has my original email, or you could email me at my address in my HN account info.
8.
▲
by
andrus
3y ago
Yw! I'm hard at work on https://www.propeldata.com/ , but always curious to see what's going on in the WebRTC space :-)
9.
▲
by
andrus
3y ago
This is very cool to see. I haven't been able to work on or maintain node-webrtc since 2021, but I'm glad people still find these bindings useful.
10.
▲
We migrated to Apollo Server 4
(propeldata.com)
1 points
by
andrus
4y ago
|
0 comments
11.
▲
by
andrus
11y ago
app : Vect n a -> Vect m a -> Vect (n + m) a is a type signature for a function, `app`, which should append a vector (`Vect`) of length `n` to a vector of length `m`. What's cool about Idris and other dependently-typed
12.
▲
by
andrus
11y ago
The theory here is good, but I think the implementation is lacking. Haskell's QuickCheck is one of the most mature frameworks for doing what the author calls "data-driven testing", so It might be worth mentioning one of the J
13.
▲
by
andrus
11y ago
ORTC can interop with WebRTC, so you could create a an Edge to Chrome or Edge to Firefox scenario. In fact, you can implement (to some degree) the WebRTC APIs in terms of the ORTC APIs.
14.
▲
ORTC API is now available in Microsoft Edge
(blogs.windows.com)
2 points
by
andrus
11y ago
|
0 comments
15.
▲
by
andrus
11y ago
CSCI 0911 and CSCI 0912 are real, though they go by CMSC-16100, CMSC-22311, and CS240h (and I'm sure more). So do I pass CSCI 0555? ;-)
16.
▲
by
andrus
11y ago
Yes, Fantasy Land is a specification of Monad (as well as other type classes) for JavaScript: https://github.com/fantasyland/fantasy-land
17.
▲
ZuriHac 2015 – Discrimination Is Wrong: Improving Productivity
(youtube.com)
2 points
by
andrus
11y ago
|
0 comments
18.
▲
Fast Nearest Neighbor Queries in Haskell
(izbicki.me)
82 points
by
andrus
11y ago
|
19 comments
19.
▲
by
andrus
11y ago
I am glad the docs have improved. For example, RoutingRules: you used to have to go to the code to figure out how to use them.
20.
▲
by
andrus
11y ago
I think the confusion stems from the fact that .then() acts like either .map() or .flatMap() depending on the return type. If .then() was just .flatMap(), you could expect an error if you didn't return a Promise (for example, reject wi
21.
▲
by
andrus
12y ago
Why is this called "SYRO"? Confusing considering the recently-released Aphex Twin album...
22.
▲
by
andrus
12y ago
Relevant discussion on LtU: http://lambda-the-ultimate.org/node/678
23.
▲
by
andrus
12y ago
The EitherIO data type given is data EitherIO e a = EitherIO { runEitherIO :: IO (Either e a) } But, for the sake of clarity, it can be written as data EitherIO e a = MakeEitherIO { runEitherIO :: IO (Either e a)
24.
▲
by
andrus
12y ago
Google "haskell rest". Done. See @sfvisser's comment: https://news.ycombinator.com/item?id=7965468
25.
▲
by
andrus
12y ago
No, "automatically unboxing the promises that are returned" does not give Promises "the full power of Monads", because you cannot represent a Promise for a Promise for a value. Promises/A+ breaks parametricity.
26.
▲
by
andrus
12y ago
The Promises/A+ assumption that you'd never want a Promise to return a Promise is really shortsighted.
27.
▲
by
andrus
13y ago
Neat, I knew about `:set +m` for enabling multiline input, but not `:{ ... }:`.
28.
▲
by
andrus
13y ago
Just for grins: $ alias sum="xargs | tr ' ' '+' | bc" $ echo -e "1\n2\n3\n" | sum 6
29.
▲
by
andrus
13y ago
Actually, he was in normal mode and issued 5dd at the start of the block.
30.
▲
by
andrus
13y ago
Would like to know whether the author feels his rewrite is more successful than the original. The following takes me longer to read: for ( ; (*to = *from) != 0; ++from, ++to
More ›