Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pklausler
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
61.
▲
by
pklausler
9mo ago
The discussion there badly misunderstands the nature of ELEMENTAL procedures in Fortran and their relevance to parallel execution. ELEMENTAL is relevant to DO CONCURRENT only indirectly. The ELEMENTAL attribute matters there only because i
62.
▲
by
pklausler
9mo ago
1) Not all programming languages are imperative. 2) If you want a clean language to use as an entry point into the current state of Fortran, you want Fortran 90, not Zig.
63.
▲
by
pklausler
9mo ago
Range reduction for trig functions is basically a real remainder of division by 2*pi, and real remainders can be computed precisely if you want to, even when quotients can't be.
64.
▲
by
pklausler
9mo ago
Cray old-timer here; 'nert was definitely Cray-2 and later. In the Cray-3 it was turned into mist.
65.
▲
by
pklausler
9mo ago
There may be a difference of degree here, but not a difference of kind.
66.
▲
by
pklausler
9mo ago
> There are thousands of contributors and the distribution is relatively flat (that is, it’s not the case that a small handful of people is responsible for the majority of contributions.) This certainly varies across different parts of l
67.
▲
by
pklausler
9mo ago
The duplication is the problem if you want to use positions as DB keys.
68.
▲
by
pklausler
9mo ago
Yes, that number just can't be right; thank you for the check.
69.
▲
by
pklausler
9mo ago
26 bytes is 208 bits, about twice what you really need for a minimal encoding that has enough context (en passant, castling) to generate an accurate set of legal moves. I wrote a chess database tool back in the 90's (CDB) that used 96
70.
▲
by
pklausler
9mo ago
That must have been a great consolation to illiterate peasants dying in their 20's from mysterious plagues.
71.
▲
by
pklausler
9mo ago
It's not all-or-nothing, though, and free sources like Attikos provide word definitions at a tap. Since I'm old, I also have a shelf of Loebs, and have no shame about skimming the dull bits by reading the trots.
72.
▲
by
pklausler
9mo ago
Disposable film cameras and FRS walkie-talkies, I think.
73.
▲
by
pklausler
9mo ago
I think that it would be easier to get younger people to study Quenya to be able to read fragments of Tolkien in the "original" than it would be to somehow get them to learn to read classical Greek. But it's not that hard to
74.
▲
by
pklausler
9mo ago
Want to know what a retreat from the Renaissance and scientific Enlightenment back into medieval mindlessness looks like? This is what it looks like.
75.
▲
by
pklausler
10mo ago
Those pages in K&R define primary expressions through shift expressions.
76.
▲
by
pklausler
10mo ago
When writing code meant to last, you need a language that’s portable across compilers and through time. C has demonstrated both. Fortran 77 and 90 were portable across compilers, but are now at risk from breaking changes, and later versio
77.
▲
by
pklausler
10mo ago
I have learned to think about this problem thus: there's reality, and then there's perceptions, and communication is a task of persuading somebody else's perception to somehow align with yours. When you both view reality cle
78.
▲
by
pklausler
10mo ago
I think that Feynman was talking about preparing a freshman-level lecture for Caltech-standard freshmen, but maybe you have somebody else in mind.
79.
▲
by
pklausler
10mo ago
Where exactly does K&R specify the buddy system?
80.
▲
by
pklausler
10mo ago
Fortran requires compilers to “honor the integrity of parentheses” but otherwise doesn’t restrict compilers from rearranging expressions. Want a specific order of operations and rounding? Use parentheses to force them. This is why you’ll
81.
▲
by
pklausler
10mo ago
Let’s hope that they don’t also replicate ISO Fortran’s design flaws with lower array bounds, which contain enough pitfalls and portability problems that I don’t recommend their use.
82.
▲
by
pklausler
10mo ago
But this is just Fortran's call-by-reference in action. It's not aliasing.
83.
▲
by
pklausler
10mo ago
It wasn't a variable.
84.
▲
by
pklausler
10mo ago
How does this bug concern aliasing?
85.
▲
by
pklausler
10mo ago
Is "accuracy" defined anywhere on that page?
86.
▲
by
pklausler
10mo ago
This is complete misinformation and you should stop posting it. One can explicitly declare a function (or subroutine) to be PURE in Fortran, but it is not the default and never has been.
87.
▲
by
pklausler
10mo ago
> Fortran functions correspond to "pure" functions in C/C++ and other languages, i.e. idempotent functions that do not modify arguments or global variables. This is nonsense. Fortran functions aren't pure. They can
88.
▲
by
pklausler
10mo ago
Functions are called only within the context of expression evaluation, and Fortran allows a compiler to perform algebraic transformations on expressions. If you write X=Y*F(Z) and we can determine that Y is zero, the function call can be d
89.
▲
by
pklausler
10mo ago
I suspect that nearly all of the Fortran code that will exist ten years from now already exists today, so knowing the language is a skill that is more likely to be useful to you for performance testing and code porting than for new developm
90.
▲
by
pklausler
10mo ago
Spaces don't matter in fixed-form Fortran source files, so I don't get that at all. And case doesn't matter in either source form.
More ›