Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Peaker
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
166 ms
·
1501.
▲
by
Peaker
16y ago
Names are great places to put documentation. Documentation in comments isn't as likely to stay up-to-date. If your names are merely for binding (e.g: f(x) = .. x ..) and don't contribute much, then getting rid of them can be helpful. In Ha
1502.
▲
by
Peaker
16y ago
In Haskell: factorial n = product [1..n] Also polymorphic to all of those types and results in 1 for negatives. If you want the polymorphic "memoizing version": factorials = scanl (*) 1 [0..] factorial = (factorials !!)
1503.
▲
by
Peaker
16y ago
Maybe you can start the loudspeaker on a call without staring at the screen while it's dialing :-)
1504.
▲
by
Peaker
16y ago
Sounds great. I'm a very big Haskell fan. I'd love to point people to this when trying to convey some advantages of Haskell. To make it more compelling, can you expand some on the downsides and maybe obstacles you encountered? The thing I'
1505.
▲
by
Peaker
16y ago
When modern copyrights were first created in the US, they were viewed as a necessary evil. Society trades some of its liberty (publishers' copying for 14-28 years, mainly) hoping this will increase incentive and thus authorship of new works
1506.
▲
by
Peaker
16y ago
Derivative works are one of the most beneficial forms of work society can enjoy. Unfortunately, we ban them.
1507.
▲
by
Peaker
16y ago
Soon there will be more smart phones than desktops, and most of those run Linux, so the desktop has become irrelevant :-)
1508.
▲
by
Peaker
16y ago
I agree with most points. But I violently disagree with "Git is easier to learn". I love git, but its command-line is just horribly designed: * git reset on files takes them out of the index, whereas without files, it moves the current HEAD
1509.
▲
by
Peaker
16y ago
P=NP does not imply cryptography is impossible at all. For example, "Quantum encryption" allows you to send data and know whether you're being eavesdropped. Then, once you manage to send it without being eavesdropped, you can use what you
1510.
▲
by
Peaker
16y ago
Why is Iran developing long-range missiles with the capability of carrying nuclear warheads in parallel to its nuclear program? Iran has been involved in multiple wars by proxy for a while now, it is unlikely an opportunity to arm itself wi
1511.
▲
by
Peaker
16y ago
> So really?! Holocaust? You really want to get into this? holocaust happened or not is one thing, Are you trying to suggest that you're a holocaust denier too?
1512.
▲
by
Peaker
16y ago
Does the strace approach allow parallelizing the build?
1513.
▲
by
Peaker
16y ago
Merging, cherry picking, scalability/speed, rebasing, synchronizing multiple remote repositories, no need for commit "rights", and github are my reasons for preferring git over svn...
1514.
▲
by
Peaker
16y ago
In my various projects, we've decided to rewrite quite a few large components, and we've never regretted a single time (yet). We've regretted continuing work on horrible code bases though. When you have hindsight, stronger developers, and m