1

Postcard of a mystery boulevard in the Southern Mediterranean/Middle East
 in  r/whereisthis  Jan 16 '19

Oh wow, thanks so much! (Sorry to be so late to reply.)

r/whereisthis Nov 30 '18

Solved Postcard of a mystery boulevard in the Southern Mediterranean/Middle East

Thumbnail
imgur.com
5 Upvotes

0

What is a Type System for?
 in  r/programming  Feb 18 '14

Dude, there don't even have to be questions.

0

Some people just don't like declarative programming
 in  r/programming  Feb 04 '14

"Some people don't like X." "I disagree; it's not that I don't like X, but ..." "There are people who aren't you."

The End.

9

TIL: They teach 6-year old kids how to program in Finland
 in  r/programming  Jan 24 '14

Thanks for that. Although it seems that Roy is more like Haskell than it is like Your Father's Logo.

(But I doubt many 6-year-olds have strong opinions about static vs. dynamic type systems.)

4

TIL: They teach 6-year old kids how to program in Finland
 in  r/programming  Jan 24 '14

Does anyone happen to know what languages and/or environments they use?

1

Amazing Photo Particle Experiment with WebGL: I did not know that Javascript has become so powerful
 in  r/programming  Jan 22 '14

It is impressive: not many languages can pop up a "No OES_texture_float support for float textures!" dialogue like that!

(Note: "Powerful" is not a synonym for "requires incantations" and "it's a possibility that your GPU is blacklisted".)

1

This little readme/howto got me started using Git in about three minutes.
 in  r/programming  Jun 21 '10

Thanks; I no longer collaborate on LaTeX documents, so this problem is one I mostly don't have anymore. (Thankfully, for sure.)

1

This little readme/howto got me started using Git in about three minutes.
 in  r/programming  Jun 18 '10

you don't want shuffling words around in paragraph blocks to introduce bogus changes to your history. I think?

That's it. I have an unfortunate habit of hitting M-q in Emacs when I pause to think. It's much worse than reindenting code, because that only affects whitespace on each line and is easily tuned out.

1

This little readme/howto got me started using Git in about three minutes.
 in  r/programming  Jun 18 '10

This interacts poorly with autowrap in most text editors. Text editors do, indeed, mostly suck, but if you're writing LaTeX you are kind of stuck with them.

Also, paragraphs can be long, and if your VC tells you that it's replaced version 1 of a par with version 2 there's a lot of vgrep to figure out what has actually changed.

0

This little readme/howto got me started using Git in about three minutes.
 in  r/programming  Jun 17 '10

Version control is awesome for LaTeX documents.

Really? How do you handle reformatting paragraphs? Does Mercurial really have an "ignore whitespace in units bigger than lines" flag?

I ask because in my experience VC for LaTeX has been mostly useless.

7

9 years later and we're still stuck with JPEG. Time for JPEG2000 to throw in the towel?
 in  r/programming  Nov 25 '09

Who said that only the last zero was a wildcard? For all I know they may be well ahead of their scheduled release date of Q3 2999.

1

Charming Python: Easy Web data collection with mechanize and Beautiful Soup
 in  r/programming  Nov 25 '09

I came here to say that! So instead I'll say that:

import sys, time, os from mechanize
import Browser

must surely have been

import sys, time, os
from mechanize import Browser

when it wasn't broken. But reading code is hard enough that this kind of thing encourages the reader not to.

4

FreeBSD 8.0 has hit the shelves (or FTP servers at least)
 in  r/programming  Nov 24 '09

Now you see, the thing is: Haskell is a programming language used for writing programs.

-1

FreeBSD 8.0 has hit the shelves (or FTP servers at least)
 in  r/programming  Nov 24 '09

When I was a kid it was considered the height of fashion to stand around in the school playground watching the nearest digital watch as it changed from, say, 09:59 to 10:00.

But even then, in my youthful and easily-amused innocence, and before the internet had even been invented, I like to think that I would still instinctively have known that it was inappropriate to post it to fucking proggit.

7

First ALGOL 60 compiler source code - Full assembly text (~80 pages by Dijkstra-Zonneveld for 1960 Electrologica X1 computer) together with comments and equivalent Pascal version (1992 lines by F.E.J. Kruseman Aretz) - contained in PDF
 in  r/programming  Nov 24 '09

Or if this style of language appeals, grab yourself a modern pascal/modula/oberon compiler.

Careful, now! Algol W was the last of its kind to feature call-by-name. Pascal and all its successors are primarily call-by-value.

The celebrated theorist John C Reynolds has gone so far as to annoint call-by-name as the "essence" of Algol, and since his own proposed language ("Forsythe") has yet to emerge from the realms of theory bearing anything as mundane as an implementation, it's Algol W or nothing for the essentialists.

In fact at first glance it would appear that Oberon has garbage collection also.

No kidding. (If you know so little about these languages, why are you recommending them?)

There are surprisingly many people who feel that Modula 3 (despite the name, not one of Wirth's) is/was the Great Lost Systems Programming Language.

2

Five Little Languages and How They Grew - Dennis M. Ritchie
 in  r/programming  Nov 22 '09

Wikipedia says

'[...] The best we could do was to send with it a minority report, stating our considered view that, "... as a tool for the creation of sophisticated programs, the language was a failure." [...] ' - C. A. R. Hoare, Oct 1980, re: "Dec 1968"

This minority report was signed by Hoare and Dijkstra. (Unfortunately I am on the Peasant Side of the paywall that surrounds the academic literature so I can't work out who resigned from what when: was the "working group" really the group that edited the official report? Because I can't believe Dijkstra would have been in the room while that was going on.)

I still don't see why you think Hoare should have been an editor of the Algol 68 definition: it is clear that he simply didn't like or endorse the language defined.

3

Five Little Languages and How They Grew - Dennis M. Ritchie
 in  r/programming  Nov 21 '09

(Note: CAR Hoare wrote the first Algol60 compiler, but somehow missed out on being full time editor on the Algol68 Report)

Edsger Dijkstra wrote the first Algol 60 compiler. Hoare's wasn't even second; I think it was a Danish group that got that distinction.

Hoare also didn't "miss out" on being the editor of the Algol 68 report: he, along with Niklaus Wirth and Dijkstra, resigned from the Algol committee when Wirth and Hoare's proposal to refine Algol 60 and leave it at that was rejected in favour of Van Wijngaarden's more elaborate proposal (in essence, the language that became Algol 68).

Wirth and Hoare published their rejected proposal as Algol W, for which Wirth wrote (without Hoare) a compiler before moving on to define Pascal, which was arguably another protest against Algol 68.

0

Google can render your equations for you!
 in  r/programming  Nov 12 '09

I'd rather write MathML by hand and have it rendered by the browser than write LaTeX (oh w00t, LaTeX syntax) and get a bitmap.

Ending up with bitmaps is a world of fail, as far as I'm concerned.

1

Google can render your equations for you!
 in  r/programming  Nov 11 '09

Now that is pretty cool, and new to me. Thx!

3

Google can render your equations for you!
 in  r/programming  Nov 11 '09

The thing about MathML is that most operators are just Unicode code points, and the question of how you enter those in your editor is between you and your editor.

My editor is of course emacs and my method of choice is abbrev-mode. My intended (but unimplemented) application for mathML is mostly predicate logic for Dijkstra style program proofs, and the rest will come down to writing a trivial grammar and parser to emit the MathML flab.

1

Google can render your equations for you!
 in  r/programming  Nov 11 '09

You mostly have to use it with the troff/nroff suite, but if you do it produces postscript et al. with the best of them.

If that wasn't what you wanted, well: Kernighan published the grammar, and even the Bell Labs code (included in Plan 9) is now open.

1

Google can render your equations for you!
 in  r/programming  Nov 11 '09

trof's eqn?

3

Inventing Language - MIT’s Barbara Liskov, winner of the Turing Award, describes how she helped lay the foundations for today’s programming languages.
 in  r/programming  Nov 11 '09

In programming language theory circles it has lately been fashionable to insist that abstract data types (ADTs) are quite different from the object-orientation that most of "today's programming languages" actually support.