Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
codygman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
211.
▲
by
codygman
10y ago
Thanks!
212.
▲
by
codygman
10y ago
> Cabal sandboxes weren't much harder to use than stack… The actual benefit of stack is sharing compiled packages across all sandboxes instead of rebuilding everything every time. I disagree. Stack saves tons of time by giving me pa
213.
▲
by
codygman
10y ago
I know a fair amount of Haskell. For instance I know Haskell doesn't use reference equality.
214.
▲
by
codygman
10y ago
> even basic equality is a whole 'nother can of worms in Haskell How so?
215.
▲
by
codygman
10y ago
Yeah, Luckily I caught myself interpreting it uncharitably and decided to clarify.
216.
▲
by
codygman
10y ago
> you should avoid it because you can't ship or maintain the kind of deliverables you need to write. To clarify, you were saying "you should avoid Haskell in the case you can't ship or maintain the kind of deliverables you
217.
▲
by
codygman
10y ago
Yes! I believe that was it. If not it's very similar.
218.
▲
by
codygman
10y ago
I would guess that you'd fall in love with Purescript: http://www.purescript.org/
219.
▲
by
codygman
10y ago
> (I like to think of this as pretty similar to the Haskell IO monad. At some point you have to break out of your cozy side-effect free code and actually do something. At that point you have to deal with the messy real world.) And Haskel
220.
▲
by
codygman
10y ago
Firstly, sweetroll looks amazingly cool and being able to add javascript plugins seems like a great idea. Second, have you looked at clckwrks[0]? It aims to specifically dethrone wordpress by making plugins that are provably safe. I think t
221.
▲
by
codygman
10y ago
I don't think that's so bad, it's just you are using a function instead of the usual built in indexing operator [0]. Here's something a bit more convenient using Data.Array.Lens[1]. arr ^. ix 2 vs the original:
222.
▲
by
codygman
10y ago
I wouldn't depend on invocations of sort to be anything but the worst case.
223.
▲
by
codygman
10y ago
I'm confused at why the Haskell version is implied to only have entertainment value.
224.
▲
by
codygman
10y ago
> It doesn't matter how good you are in [insert almost any common language], you'll really struggle to understand that code. Perhaps I've been using Haskell too long but that code looks very clear to me.
225.
▲
by
codygman
10y ago
> You shouldn't avoid Haskell because you are irritated with a bit of syntax, you should avoid it because you can't ship or maintain the kind of deliverables you need to write. I can ship and maintain deliverables I need to wri
226.
▲
by
codygman
10y ago
There exists a phenomenal paper comparing ropes, gap buffers, and piece chains I cannot recall. There is a lua editor called Vis that uses piece chains which the paper suggests is best.
227.
▲
by
codygman
10y ago
What K compiler do you have in your phone? I have the awesome J Android app[0] on my phone, but J doesn't seem as polished as K. 0: http://code.jsoftware.com/wiki/Guides/JAndroid
228.
▲
by
codygman
10y ago
Could you link any simple examples on calculating a type or TypeRep based on incoming JSON data? One of my bigger interests in Haskell right now is the Frames library but I've honestly been struggling with using and understanding Templ
229.
▲
by
codygman
10y ago
> Haskell requires an extreme amount of discipline. Does it? With the type system guiding me if feels like it requires less discipline. As far as freedom is concerned, I can't offhand think of something I'd want to do but can&#
230.
▲
by
codygman
10y ago
That Haskell example needs some love. There should also be a Haskell lens example. Perhaps I can help out when I get home.
231.
▲
by
codygman
10y ago
Maybe a lot of people are hitting it, but this webpage loaded slowly for me.
232.
▲
by
codygman
10y ago
Careful, there was a mistake in that Haskell code and possible bug causing it to drop a lot of messages.
233.
▲
by
codygman
10y ago
I use Haskell everywhere I would have previously used Python.
234.
▲
by
codygman
10y ago
https://github.com/andrewrk/zig/issues/176
235.
▲
by
codygman
10y ago
Make issues. I made one for the %% operator: https://github.com/andrewrk/zig/issues/176
236.
▲
by
codygman
10y ago
https://github.com/andrewrk/zig/issues/176
237.
▲
by
codygman
10y ago
I was just reading an article describing Sawzall needing to sandbox code really makes me think of Haskell, or some other language with an effect system.
238.
▲
by
codygman
10y ago
> "Proper generics" is a red herring put forth by Pike, where its would only be OK to have generics if it came without any tradeoff at all, where tradeoffs even include the compiler being harder to write. This. To further add t
239.
▲
by
codygman
10y ago
Go handles simple problems well but copy pasting more "simplicity" as complexity scales results in a complex program.
240.
▲
by
codygman
10y ago
Methods in the standard library panicking if the method receiver is nil for one.
More ›