Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
goto11
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
goto11
4y ago
Honestly there is also a lot of hipster contrarianism in it. Like the comment saying the web was better when everything was served from cgi-bin.
92.
▲
by
goto11
4y ago
> Intellectual property is an unnatural, made up construct Ownership of land is an unnatural, made up construct. In contrast to intellectual creations, land is limited. Therefore, granting ownership of land to a person is literally robbi
93.
▲
by
goto11
4y ago
This is a very convolution way of saying that Haskell can have side effects, but some parts of the code is pure. This is also similar to any other languages. Any code is side-effect free until it is executed. The actually interesting part o
94.
▲
by
goto11
4y ago
The context is she is using Haskell type declarations as if it was a regular programming language. Arguable the type declarations are interpreted, and dynamically typed in the sense that there is no static type checking before the interpret
95.
▲
by
goto11
4y ago
But the described language change correlates with 80's Reaganism rather then late-60s summer of love and counterculture. So I guess Blooms correlation have been falsified?
96.
▲
by
goto11
4y ago
Did Bloom use "intuition"-language or "rationality"-language?
97.
▲
by
goto11
4y ago
"Analysing language from millions of books" - I assume this means they just did a Google Ngram search? https://books.google.com/ngrams/graph?content=rationality&ye... It is funny they talk about the "
98.
▲
by
goto11
4y ago
SQL tables are multisets (sets allowing duplicates) rather than sets as defined by the relational model. This was likely a deliberate decision in order to make implementations simpler and faster, since it avoids some uniqueness checks. For
99.
▲
by
goto11
4y ago
As far as I know, SQL won because it was used by the first commercially successful relational database systems, and then other systems entering the marked needed to support it. It is a bit like JavaScript. Everyone knows it has its flaws an
100.
▲
by
goto11
4y ago
1NF is defined as eliminating nested relations. I assumed "[ cryptography, databases]" in the example represent a nested relation. 1NF is not defined in terms of what you want to do with the the data, it is defined in terms of dom
101.
▲
by
goto11
4y ago
This violates first normal form. So if you want to query this result further you need a more complex language than relational algebra because you need to be able to query nested structures.
102.
▲
by
goto11
4y ago
The problem with SQL is it is based on relational algebra, just not consistently. SQL allows you to insert a duplicate row or update a row such that it becomes similar to another row. But then it is not possible to delete or change the row
103.
▲
by
goto11
4y ago
I use multiple languages and I always consider the context of programming advice. I recommend a broadened perspective. In general I would rather maintain code by someone who have read Clean Code than by someone who considers it beneath them
104.
▲
by
goto11
4y ago
So you are saying context doesn't matter, switch is always better?
105.
▲
by
goto11
4y ago
As an old-timer it is easy to forget that we all started as beginners and had to learn all the things which now are second nature to us. At some point the material which is valuable to a beginner seems trite, obvious and simplistic to a sen
106.
▲
by
goto11
4y ago
> E.g. preferring inheritance over switch is less readable. Surely this depends on the context? If you have a many different classes it tend to lead to cleaner code if you encapsulate the class-specific logic with the class definition ra
107.
▲
by
goto11
4y ago
I'm sure there are all kinds of things we don't know about the planets and universe. But astrologers make positive claims about particular effects on human life. These claims are unfounded. The fact we don't know everything d
108.
▲
by
goto11
4y ago
> I find people applying it religiously often create over-complex designs like FizzBuzz Enterprise. To be fair, this can be said about any technique. Lots of bad code results from people taking a reasonable principle and applying it reli
109.
▲
by
goto11
4y ago
You can't prove a negative, as I'm sure you are aware. The burden of proof is on the one making the claim of an effect.
110.
▲
by
goto11
4y ago
Proof of what? You can't prove or disprove an unfalsifiable claim.
111.
▲
by
goto11
4y ago
Yes, it is a really refreshing style of writing.
112.
▲
by
goto11
4y ago
Predictions are falsifiable, which is why prediction-making astrology is easy to show as bullshit. Your "real" astrology sound like it is vague enough to be non-falsifiable. But it is still bullshit, since celestial bodies does no
113.
▲
by
goto11
4y ago
Yes but before you can make that call you need to have a reliable estimate of how costly it will be to rewrite the system. This in turn requires a through understanding of the current behavior of the system, which means you will have to stu
114.
▲
by
goto11
4y ago
> it’s believed to be beginner friendly compared to other languages. I’m not really sure why - maybe the whitespace? Experienced programmers tend to forget how the experience was as a beginner programmer. But Python grew out of actual us
115.
▲
by
goto11
4y ago
> Why isn't Perl as popular as Python? Perl was significantly more popular at one point, but it slowly lost traction while Python gradually gained traction over the years. Better ecosystem for numeric computing is definitely a big r
116.
▲
by
goto11
4y ago
> if you compare it to C#, which is improving over time, you'll see the hello world also takes one line Well yes it it does now , since C# 10 or, but in Python is have been a one liner since the beginning 30 years ago, and over the
117.
▲
by
goto11
4y ago
Maybe the lesson is just that competitions tends to have arbitrary rules and limitations. If you think the rules are stupid, don't participate in the competition.
118.
▲
by
goto11
4y ago
The story of an American housewares brand marketed as if it was Danish. Not an uncommon approach in marketing.
119.
▲
by
goto11
4y ago
The problem is that some decimal amounts, e.g. 10 cent ($ 0.10) cannot be represented precisely using binary floating point. It doesn't matter how many bits you use since 0.1 have an infinite expansion in binary. This is exactly what t
120.
▲
by
goto11
4y ago
If there is an argument beneath the hyperbole and i-am-very-smart posturing, it seem very weak. He end up advocating a binary format (like TCP/IP) instead of a text-based like XML because it will be faster to parse. And because a bin
More ›