Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
joeyh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
331.
▲
by
joeyh
14y ago
Here I've translated the example to haskell: data Exchange = Exchange { bic :: String, name :: String } data Security = Security { description :: String, exchange :: Exchange, isin :: String } data Stock = Stock { security ::
332.
▲
by
joeyh
14y ago
I have JavaScript enabled, using chromium, on Debian; it still thinks I have a Mac.
333.
▲
by
joeyh
15y ago
Something that worries me about perl to no end is tests like: if ($lastname) { ... } This fails when $lastname="0". But I am constantly seeing perl code that does it.
334.
▲
by
joeyh
15y ago
Maybe Sorta. Most of Yesod is also reusable libraries, for example I've used Hamlet to generate HTML without using any of the rest of Yesod.
335.
▲
by
joeyh
15y ago
Ah, so it's some kind of hourglass/throbber display. As a linux user with a whopping 1 gb of ram on my laptop, I was puzzled by what that term meant. :)
336.
▲
by
joeyh
15y ago
You say that and get downvoted.. My email client is a shell built up carefully to my needs over years. Inhabiting it has shaped me in turn. I know that it won't change without my say, and if I move to another shell one day it will be my own
337.
▲
by
joeyh
15y ago
I read HSoE a couple of weeks ago to see what more adacamically oriented Haskell books were like. I'm glad I started with RWH, and LYaH covers a lot more ground, but HSoE is excellent in the clarity of what it does cover, in using graphics
338.
▲
by
joeyh
15y ago
I have friends involved in Riseup, and I know they do good work. Software projects like monkeysphere and backupninja. Didn't realize they hosted so many mailing lists, apparently 14,000. This is a good time to https://help.riseup.net/en/do
339.
▲
by
joeyh
15y ago
I have never, ever seen "Monads are just monoids in the category of endofunctors" used in an actual conversation with someone who is trying to learn monads. The phrase is and always has been a joke; surely part of the joke is that most of u
340.
▲
by
joeyh
15y ago
An excellent game. Along with telehack ( http://telehack.com/ ), oldusenet ( http://olduse.net/ ), and now this, semi-accurate emulation of the 80's online really seems to be catching on lately. (disclaimer: I did olduse.net)
341.
▲
by
joeyh
15y ago
Since 2000, I've spent half my time in locations with only dialup internet access at home. While I can still get distracted by Hacker News (as I just now have when I had meant to come out and enjoy an hour of spring twilight), it does cut d
342.
▲
Welcome to My Brain
(jerrysbrain.com)
2 points
by
joeyh
15y ago
|
0 comments
343.
▲
by
joeyh
15y ago
Would have been more appropriate to release it tomorrow.
344.
▲
by
joeyh
15y ago
Actually, there are packages in hackage with > 100 kloc: CHXHtml KiCS-debugger HaRe
345.
▲
by
joeyh
15y ago
At 15 thousand lines, git-annex is only 5 thousand lines less of haskell than darcs. I happen to know, since I wrote git-annex. I'm not sure where you're coming from with your statement about there only being two large haskell programs. For
346.
▲
by
joeyh
15y ago
I've had the same experiences with both Verizon and Sprint. My conclusions about the telcos turning a blind eye are the same. I suspect these spammers leech onto large percentage of new cell phone customers. I'm very happy to not currently
347.
▲
by
joeyh
15y ago
In one project, I refactor my code late, late at night. I do it in almost a dream state; it's a process of nearly pure symbolic manipulation, involving none of the complex mental model that we're used to needing to maintain while programmin
348.
▲
by
joeyh
15y ago
About that wireless connection to the device connected to your heart, and such things as security and bugs, here's a really excellent talk by Karen Sandler. https://www.youtube.com/watch?v=5XDTQLa3NjE
349.
▲
by
joeyh
15y ago
When this happens to me (using haskell), I just quickly do: otherfunc = undefined otherfuncReal :: ... otherfuncReal = ... The best exploratory programming I've seen in haskell also does this for types to some extent; you know
350.
▲
by
joeyh
15y ago
The problem with Olympus Mons, when it comes to views, is that when you're on it, it's too big, and too gradual a slope to see off it. Also, when standing at the base of it, the summit is off over the horizon. Give me Valles Marineris any
351.
▲
by
joeyh
15y ago
Ah, the vindication of Neal Stephenson! :) Also: It's been a long time since I read Godel Escher Bach, so I cannot trust this for sure, but at the time I got the feeling there were hints that the book as such ended before the last page, the
352.
▲
by
joeyh
15y ago
This reminds me of how I used to read series out of order (back when I read many books that were part of a series, in physical form so the whole series was often unavailable). Much as you learned about the new girlfriend through exposure, I
353.
▲
by
joeyh
15y ago
Let's take the coffee analogy a little further. Not only is some hippie giving away coffee with a "do no evil" license, but just down the road there is a large market, where many people have come together to give away their own special vari
354.
▲
by
joeyh
15y ago
My mistake, not knowing python's variable interpoltion well, I thought that the $0 was expanded by it, not the shell. Which, if it were the case, would indeed be vulnerable. Isn't it a bit harsh to downvote to -1 a comment which links to tw
355.
▲
by
joeyh
15y ago
Your quoting of "$0" does not protect it from the shell. An attacker need only provide an input such as: /tmp"; rm -rf /; " There are pipeline libraries that avoid the shell for several languages. Some I can recommend: * libpipeline http:/
356.
▲
by
joeyh
15y ago
FWIW, I've also seen this cause the terminal to freeze for seconds at a time when there's heavy write contention to a slow SSD.
357.
▲
by
joeyh
15y ago
Web frameworks like Yesod have shown that it's possible to make a web framework that is secure by design (at the type level, even) without compromising on usability.
358.
▲
Backing up my HN comments?
1 points
by
joeyh
15y ago
|
0 comments
359.
▲
by
joeyh
15y ago
Perl XS libraries often provide a full object oriented wrapper around the native C calls. They always have, at a minimum, a thin perl wrapper function. There's plenty of scope for the encoding to be done automatically, but the current state
360.
▲
by
joeyh
15y ago
Several openid providers do use them to identify users. For example see link on https://www.myopenid.com/signin_password Also, I've heard mention that Monkeysphere is working on something to generate client SSL certs that are tied to your
More ›