Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
goto11
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
51 ms
·
751.
▲
by
goto11
5y ago
Are these COBOL programs running on obsolete hardware, or are the systems virtualized these days? I suspect the way forward for COBOL is to modernize the development tools around it, rather then rewrite the code itself.
752.
▲
by
goto11
5y ago
By "compose in both directions" you mean like arithmetic operators like + and * ? No doubt it is useful to have built-in operators for array operations if you have to do a lot of array operations.
753.
▲
by
goto11
5y ago
I find it rather weird to compare K to C. In what circumstances would the choice be between K and C? A more reasonable comparison would be between say Python with numerical libraries and K.
754.
▲
by
goto11
5y ago
Fair point. In any case, if you wanted to do more than trivial array processing in JS, you would use a library like lodash which have an array max function. And if you think lodash is still to verbose, you can define your own: const å =
755.
▲
by
goto11
5y ago
It is a typical language-comparison strawman. He is writing list.reduce((x,y)=>Math.max(x,y)) To get the max number in a list. And he is "winching" because he can't write: list.reduce(Math.max) Because th
756.
▲
by
goto11
5y ago
> Imagine the second line being added in by your ide in a light gray. So what would be the benefit compared to just writing `plus reduce range 100`?
757.
▲
by
goto11
5y ago
So it is a language with single-character symbols for the most common array operations like map, filter etc. I think the article tries to make it sound more mysterious and groundbreaking than it really is.
758.
▲
by
goto11
5y ago
> It's unlikely for a dutch person to mislead you or be dishonest. Er...didn't the Dutch government just resign due to a fraud scandal?
759.
▲
by
goto11
5y ago
> I prefer "your idea is pure garbage" over "it needs more work" because I want honesty above anything else That is not honesty or directness, that is just more colorful language. It's like saying "two plus
760.
▲
by
goto11
5y ago
How on earth is "fighting back" supposed to be correlated with "know what you were talking about"? All experience shows these are not correlated whatsoever. I have certainly met many people who didn't know what they
761.
▲
by
goto11
5y ago
Wasn't Dijkstra involved in the design of Algol?
762.
▲
by
goto11
5y ago
The superhero genre already went through the deconstruction phase. The Watchmen comic book is from 1986. It did not kill the genre - if anything it revitalized it by introducing new themes. Frank Millers The Dark Knight was supposed to deco
763.
▲
by
goto11
5y ago
A classic example: “It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration.” This is just typical gatekeep
764.
▲
by
goto11
5y ago
Dijkstras take-down of Margaret Hamilton's methodology is quite revealing of his attitude: https://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/E... After all, she did manage writing softwar
765.
▲
by
goto11
5y ago
To be clear the FAQ only states it might have been a mistake to make flexible typing the default everywhere, not that support for flexible typing in itself is a bad idea. But I don't think anyone is against support for flexible typing
766.
▲
by
goto11
5y ago
> basically spitting on the SQLite projects decision. That is a very emotional response given the SQLite FAQ itself basically admit the design is unfortunate. They just state it is too late to change due to backwards compatibility. So it
767.
▲
by
goto11
5y ago
Doesn't really change that adding n months to a date is an ambiguous operation. You would need to give all months the same length to avoid the ambiguity, but then months would not add up to a year, which has its own set of problems.
768.
▲
by
goto11
5y ago
As far as I can tell, you agree with the articles main point. `plus` is a honest name for adding days to a date but dishonest when it comes to adding months. `advanceMonths` is an awkward but more honest name for adding months. An even more
769.
▲
by
goto11
5y ago
The FAQ basically admit it was a design mistake to make "flexible typing" the default, but it is too late to fix due to backwards compatibility. https://sqlite.org/quirks.html#flexible_typing It is probably not as
770.
▲
by
goto11
5y ago
So you are saying Smith didn't know what he was talking about?
771.
▲
by
goto11
5y ago
> One nice thing that sqlite being dynamicly typed allows for, is having a key-value table for storing singleton objects, OK I can see how this can be convenient. But I would prefer a special-case "variant" column type for such
772.
▲
by
goto11
5y ago
Columns are like lists in Python - they can contain values of any type. The type is associated with the individual value.
773.
▲
by
goto11
5y ago
I think you use "low level" in a different sense than is common. Low level (and high level) typically refer to abstraction level. SQL certainly have a very high abstraction level. But given it is a domain specific language it does
774.
▲
by
goto11
5y ago
Because in old IE, <h3> was defined with an absolute font size in the built-in style sheet, in newer browsers it is defined as a relative size. Since we have nested <h3>'s they get increasingly bigger in newer browsers, but
775.
▲
by
goto11
5y ago
The <font size=...> tags are only in the top navigation bar and is not the cause of the increasing text size. The increasing text is due to nested <h3> elements, where h3 is defined to have a relative size. If a font tag automat
776.
▲
by
goto11
5y ago
The font-tags are getting unfairly blamed! The increasing size is due to the unclosed <h3> tags combined with unclosed inline level tags. This is parsed into a nested structure, with h3's nested into h3's deeper and deeper.
777.
▲
by
goto11
5y ago
Sentinel values of the same type, e.g. -1 to indicate a missing integer.
778.
▲
by
goto11
5y ago
Some of Dates gripes are valid, but some are quite questionable. In SQL you enforce uniqueness of rows by defining a primary key. Dates concern seem to be that you can have duplicate rows if no primary key is defined, but why would you do t
779.
▲
by
goto11
5y ago
Shouldn't the normalization rules be exactly the same whether the data is stored row-oriented or column-oriented and on disk or memory?
780.
▲
by
goto11
5y ago
There are multiple alternatives. Problem is SQL is "good enough" and ubiquitous and deeply entrenched. It will be extremely difficult for any alternative language to unseat SQL.
More ›