Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lgas
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
451.
▲
by
lgas
7y ago
What about invalid arguments? What if someone calls: (random-elements -23 nil)? Should I write tests for those cases? The function already handles negatives by returning an empty list for any count less than one. This isn’t tested; but t
452.
▲
by
lgas
7y ago
I don't drink coffee but my father has used a non-internet-enabled coffee maker to make himself coffee at the same time every morning, thereby giving him extra sleep, for many years. I'm not sure how the internet would improve on
453.
▲
by
lgas
7y ago
Interos Solutions, Inc. | Full Stack Sr. Software Engineer (Haskell) | Full-Time | ONSITE | Arlington, VA or Menlo Park CA Interos Solutions, Inc. is a fast-growing venture backed company with an AI-driven SaaS application that delivers our
454.
▲
by
lgas
8y ago
Would Emacs' paredit be considered SDE? If so, that would be a huge counterpoint. Everyone I've talked to that's gotten up to speed with it has loved it.
455.
▲
by
lgas
8y ago
I worked almost exclusively in python for about five years and loved significant whitespace. It was one of the things I missed most when working in other languages. Now I work primarily in Haskell which has significant whitespace with opt
456.
▲
by
lgas
8y ago
Interos Solutions, Inc. | Full Stack Sr. Software Engineer (Haskell) | Full-Time | ONSITE | Arlington, VA Interos Solutions, Inc. is a fast-growing venture backed company with an AI-driven SaaS application that delivers our commercial and g
457.
▲
by
lgas
8y ago
Your examples are a good argument for types on the right, in my opinion... for the same reason the person you are replying to pointed out.
458.
▲
by
lgas
8y ago
Interos Solutions, Inc. | Full Stack Sr. Software Engineer (Haskell) | Full-Time | ONSITE | Arlington, VA Interos Solutions, Inc. is a fast-growing venture backed company with an AI-driven SaaS application that delivers our commercial and g
459.
▲
by
lgas
8y ago
But both of those are servers?
460.
▲
by
lgas
8y ago
Being more comfortable is useful to me.
461.
▲
by
lgas
8y ago
Can you point out an example or two the bracket style that I could take a look at? Thanks.
462.
▲
by
lgas
8y ago
The opt-in vs opt-out nature is definitely key. As an example, if you write a small function to operate on a non-empty list and use it on a non-empty list in exactly one place, everything is fine in either language. But in Haskell if some
463.
▲
by
lgas
8y ago
> To be fair, I wasn't comparing the two. Well, the statement you were disagreeing with from the post you responded to was: > You can't refactor Clojure without fear like in Haskell. You go on to suggest you can achieve a si
464.
▲
by
lgas
8y ago
I never claimed that Clojure can't do meaningful refactoring, and in fact I acknowledged that Clojure gives you great tools for using your own brain to do refactoring. Clojure is my favorite dynamic language and I heartily recommend i
465.
▲
by
lgas
8y ago
Having spent the last two years working professionally in Haskell after having spent the previous two years working professionally in Clojure, I'd disagree with this. Haskell is roughly infinitely better than Clojure for meaningful re
466.
▲
by
lgas
8y ago
Not sure if it's quite the same thing but it's similar to Jevon's paradox. https://en.wikipedia.org/wiki/Jevons_paradox
467.
▲
by
lgas
8y ago
Depends on the jurisdiction but for example in Las Vegas ( http://www.gambling-law-us.com/State-Laws/Nevada/ ) I believe this would fall under NRS 465.070 numbers 2, 5, and/or 7.
468.
▲
by
lgas
8y ago
How would you consider that anything less than manipulation?
469.
▲
by
lgas
8y ago
I think maybe he's not saying that type classes themselves aren't composable but rather they interfere with the composability of more fundamental things like functions which are easier to compose in the absence of type class const
470.
▲
by
lgas
8y ago
https://github.com/tj/git-extras provides "git undo" (among others).
471.
▲
by
lgas
8y ago
Not quite the same thing but detexify at least helps figure out any symbols that LaTeX knows: http://detexify.kirelabs.org/classify.html
472.
▲
by
lgas
8y ago
I don't know, I love dogs but I doubt they are doing that much research on how well we understand them.
473.
▲
by
lgas
8y ago
You don't consider it positive or you don't consider it obvious (or both)? ...and why not?
474.
▲
by
lgas
8y ago
101010
475.
▲
by
lgas
8y ago
I'm not a statistician but as I understand it, in Bayesian terms, when you get some new piece of information you must update your beliefs to incorporate the new information. So you take your belief prior to the new information and inc
476.
▲
by
lgas
8y ago
That doesn't make any sense since the worst programmers are negatively productive -- they cause more problems for the rest of the team than anything they produce could ever outweigh.
477.
▲
by
lgas
8y ago
I'm sure they have but their target audience is adults so it shouldn't be a problem.
478.
▲
by
lgas
8y ago
When you get there you probably still shouldn't do it.
479.
▲
by
lgas
8y ago
Indeed there are: https://www.youtube.com/watch?v=ulwoUq6VaSs
480.
▲
by
lgas
8y ago
My company has a Slack bot product and we've found that we are able to drive lots of clicks the "Add to Slack" button but a very low percentage complete the installation. Our assumption is that this is because most users that
More ›