Pascal used to be in high use, heck the classic versions of MacOS (a.k.a. "System", pre-OS X) were built in it, with the C libraries really just being interfaces to the Pascal libraries. The language syntax is different, but not immensely so, from C, but it does take a few more keypresses to do the same thing (my theory as to why C/C++ overtook Pascal). The program flow is also nearly identical, the main difference being that Pascal has pass-by-reference (missing from C, included in C++) in addition to pass-by-value and pass-by-pointer, but doesn't have all the additional baggage/capability of templates and STL.
There are two things that tend to trip people up when going from Pascal to C (or C to Pascal): 1. Pascal's array indices start at 1, while C's start at 0, 2. Pascal's strings are fixed length by default with the length as a separate data member, with C's being variable length but null-terminated. Pascal's string approach is inherently safer, but is also a pain in the ass if you need a string that keeps changing size or you need one longer than 255 characters. C's approach, while more flexible, has led to the all-too-common buffer overflow vulnerabilities.
If Neil Sloane is so smart, why ain't he rich?
Let's see, they say that "Knowledge is Power", so knowledge = power, and we know from physics that power = work / time. And finally, they say that "Time is money", so time = money.
So, making the substitutions: knowledge = work / money, and solving for money, money = work / knowledge.
So, now we can see that the dumber you are, the more money you can make!
I'm looking at you, Macbook Pro!
Cmd + up/down arrows. Not the best solution, but it works, and after a while, you get used to it!
It doesn't always work, some applications have Cmd-(up/down arrow) mapped already. However Fn-(up/down arrow) is always Page Up/Down, and (IIRC) Shift-Fn-(up/down arrow) is Home/End.
How hard would it be to drop the corn syrup part and just call it fructose?
Because "High Fructose Corn Syrup" rolls off the tongue slightly better than "a 50%:50% ±10% homogeneous mixture of fructose and glucose with >0.5% residual corn proteins and cellulose."
How far away was the guy in the costume from the principal's office? I'm not familiar with that school district but most public schools I attended were set back quite a ways from the road and sidewalk. If the blaster was black plastic, would you be able to distinguish it from a real gun from 100 feet away?
Using Google Maps and Streetview, you can see that school is tiny, it's about 200ft of frontage along a commercial-zone 2-lane road (+parking shoulders and sidewalks) sandwiched between two very narrow residential streets. The play area between the school and sidewalk is maybe 15 feet wide. So, even if this guy was on the opposite side of the commercial street, I doubt the principle would have been any farther than 100ft away at close observation, and probably much closer than that.
The news story photo definitely looks like it was taken in that generally vicinity, but I can't pin the location down, exactly.
As this story has been submitted several times in the past several days, by various submitter and is going around various other tech forums( https://news.ycombinator.com/i... , https://soylentnews.org/articl... , https://www.reddit.com/r/progr...
Machines that have broken down will work perfectly when the repairman arrives.