Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dpratt71
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
dpratt71
8y ago
> which string type do I use? I think this issue is way overblown. The reasons for choosing a particular string representation in Haskell are analogous to the reasons to choose among e.g. byte arrays, streams, string builders, etc. in ma
32.
▲
A GIF decoder in SQL
(explainextended.com)
4 points
by
dpratt71
8y ago
|
0 comments
33.
▲
by
dpratt71
8y ago
Various parts of an algorithm/procedure are related to each other in various ways. Sometimes those relationships describe a sequence. Other times they do not. For me, this is the essence of functional programming: a means to describe h
34.
▲
by
dpratt71
8y ago
I don't think it makes sense to characterize Haskell as "big" on this basis, because 1) it is trivial to define an operator in Haskell, so there's bound to be a lot of them and 2) even the "standard" operators
35.
▲
by
dpratt71
9y ago
There is no mention of starvation in the title of the article nor in the text. I'm not sure why it's in the title of the submission. There is a link to a related article "2009: Ala. Sheriff Jailed For Starving Inmates".
36.
▲
by
dpratt71
9y ago
This reminds me that we had a cat that developed diabetes. Besides the usual treatment, we changed the cat's diet "radically". Eventually the cat no longer required insulin shots, i.e. it was "cured". I remarked to
37.
▲
by
dpratt71
9y ago
As we have recently adopted TypeScript, this is a nice affirmation, but preventing bugs is only part of the benefit and I'm not sure it's the most important part. TypeScript, in conjunction with a code editor that supports it, sig
38.
▲
by
dpratt71
9y ago
TypeScript is certainly not flawless and there are tradeoffs. But this is not a good argument against TypeScript. The point of TypeScript and any other statically typed programming language is to have type checking performed statically, tha
39.
▲
by
dpratt71
9y ago
Here is something I think we are close to agreement on. Companies have made food more addictive, cheaper, more shelf stable in a variety of ways, to the detriment of nutritious food and consumer health in general. But unless we put the focu
40.
▲
by
dpratt71
9y ago
When people refer to "chemicals" in food, without distinguishing what type or category of chemicals, I tend to assume that they have an agenda of frightening an uninformed populace or that they are a member of that uninformed popu
41.
▲
by
dpratt71
9y ago
What is "he" right about, exactly? You say "yes they can be useful", but that's not the impression I get from OP. I am also confused because the very quote OP is responding to states that "...type systems are n
42.
▲
by
dpratt71
9y ago
It could be at least argued that type systems aren't very effective at reducing meaningful bugs and/or aren't worth the costs they impose, but you went way beyond that argument. As I see it, the only way you can believe that
43.
▲
by
dpratt71
9y ago
I know that mice have been used very successfully to study many diseases and conditions that can also affect people. But are mice a good human analogue when it comes to diet? I don't have time to find citations at the moment, but I see
44.
▲
by
dpratt71
9y ago
There is a fellow by the name of Jon Harrop who has in times pasted "showed up" when Haskell came up for discussion. To say that he does not like Haskell is putting it mildly. I have the impression that the mere existence of Haske
45.
▲
by
dpratt71
10y ago
I bought a T-fal "professional" 8" non-stick skillet about a year and a half ago. I do a poor imitation of Jacques, complete with metal fork, several times a week. The skillet has held up.
46.
▲
by
dpratt71
10y ago
I'm not a math guy either and I did indeed find it difficult to penetrate the inner sanctum of Haskell for this very reason. I won't say I've completely succeeded in that effort, but I've come quite a long way. I'm
47.
▲
by
dpratt71
10y ago
I think it could be argued that the behavior you ascribe to humans exists for the same reason that some dogs chase after cars. That is, it is an ingrained behavior that tends to enhance our survival and is sometimes expressed or triggered i
48.
▲
by
dpratt71
10y ago
Why would bees willingly share with humans?
49.
▲
by
dpratt71
10y ago
That makes sense, thank you.
50.
▲
by
dpratt71
10y ago
Does someone want to take on the challenge of explaining the basics of this to a lay person? For starters, I don't understand the relationship between the scatter plot and the contour plot. I would guess that the blue (?) dots relate t
51.
▲
by
dpratt71
10y ago
<> is a placeholder for an operation (a function, really) taking two inputs, mempty is a placeholder for a special value, and x and y are placeholders for arbitrary values. If you can find something that fits the pattern, then it is a
52.
▲
by
dpratt71
11y ago
Yes, although there is also https://en.wikipedia.org/wiki/Hague_Adoption_Convention
53.
▲
by
dpratt71
11y ago
How about a really long comment instead? :) This was our second adoption. The first was for an infant. We planned for another infant adoption for #2, but several things conspired to change that. The first of those was that the political win
54.
▲
by
dpratt71
11y ago
Not exactly, but...we adopted two thirteen-year-old girls from Ethiopia. They're 24 now. One of the best decisions of my life.
55.
▲
by
dpratt71
11y ago
In everyday English, when someone mentions sugar, they are probably talking about sucrose aka 'table sugar'. And you are correct that sucrose consists of a glucose and fructose molecule bonded together. In a more...official or sci
56.
▲
by
dpratt71
11y ago
Maybe I missed the point, but you seem to be implying that you need to eat things with sugar mentioned on the label on a regular basis to keep your brain functioning normally.
57.
▲
by
dpratt71
11y ago
I think SQL is a far leakier language than Haskell in terms of the correlation between code and performance, but it seems to have achieved a measure of success even in situations where performance is critical.
58.
▲
by
dpratt71
11y ago
Indeed. There is something very familiar about the tone and content of these posts from haskeldownvot5. There was another individual that achieved a degree of infamy within the Haskell community for posting similar screeds to various forums
59.
▲
by
dpratt71
11y ago
I started to read the first article, but I got confused, so I watched the video. The latter is probably a poor substitute for the former, but assuming the video is accurate (as well as my understanding of it): Insulin sensitivity seems to r
60.
▲
by
dpratt71
12y ago
I'm a self-taught programmer. I started with Pascal (what seems like an age ago), then C, then VB5/6, then C# and JS and a bunch of other programming languages. At this point I felt like I could pick up about any mainstream progra
More ›