Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chris-martin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
Is learning Haskell about tackling Big Ideas?
(typeclasses.substack.com)
3 points
by
chris-martin
3y ago
|
0 comments
2.
▲
Abstractions of Import
(typeclasses.substack.com)
2 points
by
chris-martin
3y ago
|
0 comments
3.
▲
Faking with Type Families
(typeclasses.substack.com)
1 points
by
chris-martin
3y ago
|
0 comments
4.
▲
by
chris-martin
11y ago
Was kind of surprised to find that this company had no Wikipedia article. Just started one: https://en.wikipedia.org/wiki/Axact How in the world do you fit a scam this big so far under the radar?
5.
▲
by
chris-martin
11y ago
For a lot of web development work, three is the perfect number. Terminal, IDE, browser.
6.
▲
by
chris-martin
12y ago
Hey, I just wanted to share this library I put together, because Chain looks really promising as a way to quickly put together a Bitcoin app. I'm particularly excited about it because I'm currently using Coinbase for payment notif
7.
▲
Show HN: Python Library for Chain.com Bitcoin API
(github.com)
12 points
by
chris-martin
12y ago
|
1 comments
8.
▲
by
chris-martin
12y ago
A short list: - Trying to making small payments is terrible; the only way to tell whether a transaction requires fees is to try it, see it fail, and parse the error message to figure out the fee amount. - The "order" abstraction i
9.
▲
by
chris-martin
12y ago
> The hi-tech road is supposed to be installed once for several decades, where paved roads are re-paved every few years. We're comparing the cost of solar panels to the cost of pouring some shit onto the ground... I'd assume th
10.
▲
by
chris-martin
12y ago
Yes! (Both.) You'll end up spending an amount of BTC that is equivalent to 90% of the cost of your coffee. So, an example: If you choose the $10 option, and $10 is worth 10mBTC (exchange rate made up to simplify the math), then you
11.
▲
by
chris-martin
13y ago
Someone in Vietnam released software to the world, therefore this is a story about American culture. That's just how Americans think. It's also necessarily about modern American culture, even if you know absolutely nothing about
12.
▲
by
chris-martin
13y ago
This headline is sickening. Comal County criminal prosecutors ruined this man's life.
13.
▲
by
chris-martin
13y ago
PS1="$(hr -) $PS1" Beautiful. Now I need a way to make this happen in SBT too.
14.
▲
by
chris-martin
13y ago
How about a photosynthetic process that makes graphite from atmospheric carbon dioxide?
15.
▲
by
chris-martin
13y ago
"write a program that copies standard input to standard output": org.apache.commons.io.IOUtils.copyLarge(System.in, System.out); I despise the Java language as much as the next dev, and the core library is drastically underfeature
16.
▲
by
chris-martin
13y ago
The Wikimedia Foundation isn't a government agency, if that's what you're asking.
17.
▲
by
chris-martin
13y ago
> Simply snail-mail a 128 bit one-time key pad to every voter. Cool. Who do you think would pay me the most for my pad?
18.
▲
by
chris-martin
13y ago
So... we've determined that you violated the law, but we're choosing not to enforce the law. This what the kids call a bad code smell, right?
19.
▲
by
chris-martin
13y ago
The code that the functional programmer produces is a more direct expression of the programmer's thoughts. The author thinks "I want to map this list using this transformation" (although perhaps not in those exact words). The
20.
▲
by
chris-martin
13y ago
I don't think recursion itself is difficult for most people to learn. The hard part is translating recursive functions into procedures. The imperative coding is what makes it confusing.
21.
▲
by
chris-martin
13y ago
> Personally, I think imperative code is more intuitive. It matches how people think of operational behaviors. The masses agree with you, apparently. That's why they sit in their cubes all day writing the same god damn re-implementa
22.
▲
by
chris-martin
13y ago
What is complex about Scala's pattern matching? x matches the value x, x:A matches instances of A, A(x) matches if A.unapply(x) evaluates to a Some, and _ matches anything. Erasure throws a wrench into it, but otherwise it's prett