Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
travv0
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
travv0
4y ago
See https://news.ycombinator.com/item?id=31416448
2.
▲
by
travv0
4y ago
I assumed those were aliases for `git a` and `git cp` which are in the config file.
3.
▲
by
travv0
4y ago
What tools? That's a git config file.
4.
▲
by
travv0
4y ago
> The fact most kids dont have a relationship with their parents or guardians where they can talk to them about anything is highlighted with metadata like you have highlighted. You have a source for that? The statistics you're refer
5.
▲
by
travv0
4y ago
I also haven't seen an ad on the Gmail web client in years. Maybe because I pay for extra storage through Google One? Edit: It looks like it doesn't happen in the primary tab and I have all the other tabs disabled which would expl
6.
▲
by
travv0
4y ago
Reading through the GitHub issue, it seems like the one place it makes sense in my eyes is that you can refer to stuff in external libraries with your convention even if the library uses a different one. I'm not sure if there's so
7.
▲
by
travv0
4y ago
Thanks, but an answer from someone that knows the language that they're talking about would be much more productive.
8.
▲
by
travv0
4y ago
> Lately when I search for something like "recipe for borgelnuski" I get a page of links to sites with names like "Molly and Audrey" that first tell you a long story about their grandmothers pet kangaroo, then go thro
9.
▲
by
travv0
4y ago
> FP is terrible at logging Um, what? You can't just drop this without elaborating. I've never seen anybody have problems logging in a functional language.
10.
▲
by
travv0
5y ago
You still haven't shown me any data to back up your assertion, but you're welcome I guess.
11.
▲
by
travv0
5y ago
Here's one more file than you listed without BangPatterns enabled: https://github.com/rainbyte/frag/blob/master/src/BitSet.hs https://github.com/rainbyte/frag/blob
12.
▲
by
travv0
5y ago
> The vast majority of the code in that repository is in the IO monad and uses carefully placed “!” eager evaluation annotations. This is the claim we're talking about. Since you're into facts, not subjective opinions, show som
13.
▲
by
travv0
5y ago
Yes, rendering is by definition I/O. That's also one file. You stated: > The vast majority of the code in that repository is in the IO monad and uses carefully placed “!” eager evaluation annotations. Do you have anything to ba
14.
▲
by
travv0
5y ago
> The vast majority of the code in that repository is in the IO monad and uses carefully placed “!” eager evaluation annotations. Looking through that repository, I believe we have extremely different definitions of "vast majority.&
15.
▲
by
travv0
5y ago
I find VS Code with the Haskell extension to be very good for displaying type signatures, code completion and navigation, etc. Holes (which are covered by the article) are the go-to way to see what's possible at the current location. Y
16.
▲
by
travv0
5y ago
It's absolutely not peculiar to Python, it's something that every single language implementation has to make a decision on one way or the other. Here's an SO answer from 2008 about how to enable TCO in various C and C++ compi
17.
▲
by
travv0
5y ago
I'm not sure, so here are a couple examples. def f() = g() In a language implementation that doesn't optimize tail calls, the stack would look like the following after the call to g: g f main In a
18.
▲
by
travv0
5y ago
Tail call optimization has nothing to do with optimizing for different CPUs, it's about dropping a function's stack frame when it's evaluating its return expression and its stack frame isn't needed anymore.
19.
▲
by
travv0
5y ago
What problem? I'm looking for an example of where poor scalability has been a problem in a Haskell codebase.
20.
▲
by
travv0
5y ago
I'd also be interested in a Haskell example.
21.
▲
by
travv0
5y ago
You almost never use List<T>? Dictionary<TKey, TValue>? IEnumerable<T>?
22.
▲
by
travv0
5y ago
> - oh, it's not "just a bind operator" It is though, it's a function/operator that is defined in userland. > - oh, you need special syntax > - oh, you need a third party library that may or may not have su
23.
▲
by
travv0
5y ago
> Even Haskell has dot notation to chain functions since it's just so much easier to read and write... Are you referring to function composition?
24.
▲
by
travv0
5y ago
The people that would want to know about a new version of some software are surely already familiar with that software, no?
25.
▲
by
travv0
5y ago
> Everyone who could possibly care about Lisp already knows everything they care to know about it. I think you're in a bit of an HN bubble if you honestly believe this to be true.
26.
▲
by
travv0
5y ago
> But what is purpose of `Maybe`? In this case, it's to provide a better error message in case there's an empty list than `fromList` would provide. > You never have to worry about that value in this case because... well... t
27.
▲
by
travv0
5y ago
The very first property testing library was written in Haskell, as far as I know.
28.
▲
by
travv0
5y ago
Lexi absolutely understands how to properly use the Maybe monad. What you're saying to do here is the exact opposite of what this post is advocating for. You're talking about pushing the handling of the Maybe till later and the
29.
▲
by
travv0
5y ago
Just to elaborate a bit, in CL, numbers are FIXNUMs by default but are promoted to BIGNUMs if needed. CL also has rational and complex numbers, which it probably got from Scheme but I'm not familiar with that history.
30.
▲
by
travv0
5y ago
The "Embeddable" in Embeddable Common Lisp means that you can embed your CL code in C programs, not that it's for embedded programming. Probably a poor naming choice because a lot of people have this perception about it.
More ›