Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pklausler
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
121.
▲
by
pklausler
1y ago
Hello from Portland, Oregon!
122.
▲
by
pklausler
1y ago
Why would you expect that? There are few incentives to work on features that nobody is using.
123.
▲
by
pklausler
1y ago
Flang does already support warnings for features that have breaking changes in F’2023.
124.
▲
by
pklausler
1y ago
Can’t compile with just a PDF file, though.
125.
▲
by
pklausler
1y ago
Languages that don't have multidimensional arrays tend to have "arrays of arrays" instead, and that naturally leads to a layout where the last subscript varies fastest. Languages that do have multidimensional arrays can of c
126.
▲
by
pklausler
1y ago
The Fortran committee botched DO CONCURRENT badly. The requirements imposed on the program only make it safe to execute its iterations in any serial order, but are not sufficient to allow safe parallel execution. So one can write a perfec
127.
▲
by
pklausler
1y ago
Some architectures, and I believe aarch64 is one, have scratch registers reserved for being clobbered in special situations required by the assembler.
128.
▲
by
pklausler
1y ago
I'm a little surprised that this bug wasn't fixed in the assembler as a special case for immediate adds to RSP. If the patch was to the compiler only, other instances of the bug could be lurking out there in aarch64 assembly code
129.
▲
by
pklausler
1y ago
F'77 added arbitrary lower bounds on arrays, including explicit-shaped and assumed-shaped dummy arrays. It is a useful and portable feature, though somewhat confusing to newcomers when they try to pass an array with non-default lower
130.
▲
by
pklausler
1y ago
Literally inventing a hill made out of dead bodies, or figuratively?
131.
▲
by
pklausler
1y ago
Literally?
132.
▲
by
pklausler
1y ago
+1 to this. Astronomy students also tend to be unexpectedly good at programming.
133.
▲
by
pklausler
1y ago
It’s insignificant. There, I understated it.
134.
▲
by
pklausler
1y ago
Old-timer tip: take a marker and draw a diagonal line across the top of your card deck, from the column 1 left side edge of the first card to the column 80 right side edge of the last card. When you drop the deck, just reassemble the line.
135.
▲
by
pklausler
1y ago
It's not. I just want "cold, cool, warm, hot" and that maps nicely to 0C, 10C, 20C, 30C very nicely.
136.
▲
by
pklausler
1y ago
As Fortran is , not was.
137.
▲
by
pklausler
1y ago
Worse than the pitfalls that can arise with a correct compiler is the fact that most Fortran compilers have bugs with non-default lower bounds -- and they're not always the same bugs, so portability is a real problem. The feature is f
138.
▲
by
pklausler
1y ago
The feature worked fine and was portable in Fortran ‘77, but its interactions with modern features are full of shocking pitfalls even when the compiler implements them correctly, which only two do, so it’s not really portable either.
139.
▲
by
pklausler
1y ago
I didn't say that they were not helpful; I said they have dangerous pitfalls. Also, they're not perfectly portable. My testing shows that only two compilers get lower bounds right in all the tricky cases that I know of.
140.
▲
by
pklausler
1y ago
Yes, but pitfalls were added to the feature in Fortran '90 and it should now be generally avoided.
141.
▲
by
pklausler
1y ago
What language does have built-in plotting capabilities that don't depend on external libraries?
142.
▲
by
pklausler
1y ago
The next pandemic is going to be an epic disaster.
143.
▲
by
pklausler
1y ago
A learning curve is a model for how much you can learn over time. A subject with a steep learning curve is actually one that doesn’t take much time to reach a high level. It’s the subjects with shallow slopes that take more work to raise
144.
▲
by
pklausler
1y ago
I have had the privilege of touring some of the French caves with these paintings, and it is a profoundly moving experience to face a wall of hand stencils that is tens of thousands of years old. From the sizes of the hands, it seems clear
145.
▲
by
pklausler
1y ago
Having written one, I'd like to disagree with the "minimal runtime" point. Fortran's I/O system, intrinsic procedures, memory management, and derived types need a lot of code in the runtime support libraries.
146.
▲
by
pklausler
1y ago
When reading a work of fiction for the first time, I'll usually DNF it if I get halfway through and haven't yet reached a point where I realize, while reading quickly, that I'll want to re-read it slowly. Lots of crud out th
147.
▲
by
pklausler
1y ago
How do you shift bits to the right?
148.
▲
by
pklausler
1y ago
Yes, and why is '@' at 0x40?
149.
▲
by
pklausler
1y ago
We got lots done with 6-bit pre-ASCII encodings, actually, like CDC Display Code and Univac's Fieldata. It's more than enough for 26 letters, 10 digits, and lots of punctuation. And there are faint echoes of these early characte
150.
▲
by
pklausler
1y ago
I wrote my first chess-playing program in 6502 hex because I didn't have an assembler, and I still remember some of its opcode values all of these years later. Such a fun little chip!
More ›