Am I in a bubble, or is it true that C has become much more popular than Pascal? If so, why did it get popular?
3,039 karma · joined August 10, 2011
Am I in a bubble, or is it true that C has become much more popular than Pascal? If so, why did it get popular?
After doing that book I wanted to see what other books were out there, which ones were the good ones, and sort of classify them. I came up with this list: https://begriffs.com/posts/2016-07-24-best-linear-algebra-bo...
I classify the books as Generalist (like Axler's), Theoretical (starting from e.g. modules rather than vector spaces), Numerical (matrix normal forms and algorithms), Practice (books full of problems), and a few other categories.
Or if that seems like a lot of keystrokes, /EX<enter> will probably jump to what you want most of the time too.
Of course it's always nice to have a bunch of curated examples like TLDR or "bro" pages, but just wanted to point out that the manpage situation isn't universally grim.
Last week I began working to improve that, by writing a series of tutorials. Here's the first: https://postgrest.com/en/v4.1/tutorials/tut0.html
More to come, including tutorials about row-level security and authentication.
For more updates to more complicated views (such as some joins), you can use a trigger as also described in the linked docs above.
Basically PostgREST translates cryptographically signed JWT claims from the client request into local SQL variables accessible by postgresql's "current_setting" function. The additional claims can identify the user beyond their db role. They can specify, for instance, the user's email address.
Row level security policies can use current_setting to refer to the extra claims. So multiple users can share a db role and connection pooling works fine.
For U2A two-factor auth I use a little Yubikey that is dedicated just for that and fits comfortably on a keychain. https://www.yubico.com/products/yubikey-hardware/fido-u2f-se...
A NOTIFY SQL command can be sent out from either a stored procedure or a table trigger. (The docs could use some examples of this, but that's the idea.)
As many people have pointed out there are faster methods of static hosting through a CDN, and many of the techniques of this site are inapplicable for larger sites. But A+ on the marketing.
-----------
To make myself as plain as I can, I should give my standards for technological innovation in my own work. They are as follows:
1. The new tool should be cheaper than the one it replaces. 2. It should be at least as small in scale as the one it replaces. 3. It should do work that is clearly and demonstrably better than the one it replaces. 4. It should use less energy than the one it replaces. 5. If possible, it should use some form of solar energy, such as that of the body. 6. It should be repairable by a person of ordinary intelligence, provided that he or she has the necessary tools. 7. It should be purchasable and repairable as near to home as possible. 8. It should come from a small, privately owned shop or store that will take it back for maintenance and repair. 9. It should not replace or disrupt anything good that already exists, and this includes family and community relationships.
I do have Halmos' linear algebra problem book on the list because it's quite good.
There's this helpful site that suggests libraries for various things: http://haskelliseasy.com Someone should make a companion site listing snippets of code for common tasks showing plain ways of doing things.
Here's a direct link in case it helps https://player.vimeo.com/external/152389902.hd.mp4?s=ec96813...
So you can have local scripts that affect the files and the changes will be synced for your other devices to see.
"The upper-class kitchen, designed to be entered only by servants, is identifiable at once: it's beat-up, inconvenient, and out-of-date, with lots of wood, no Formica whatever, and a minimum of accessories and labor-saving appliances like dishwashers and garbage disposals. Why tolerate these noisy things when you can have a silent servant do precisely what they do? The upper-class kitchen does have a refrigerator, but so antique that it has rounded corners and a big white coil on top. Neatness and modernity enter as we move down toward the middle class, and the more your kitchen resembles a lab, the worse for you socially." -- Class, a Guide to the American Status System
I'm currently working on PostgREST, an open source server that turns any PostgreSQL database into a RESTful API. http://begriffs.com/about.html
https://git-scm.com/docs/git-filter-branch
But this will sever history with all cloned copies, much like rebasing master would.
1. The new tool should be cheaper than the one it replaces. 2. It should be at least as small in scale as the one it replaces. 3. It should do work that is clearly and demonstrably better than the one it replaces. 4. It should use less energy than the one it replaces. 5. If possible, it should use some form of solar energy, such as that of the body. 6. It should be repairable by a person of ordinary intelligence, provided that he or she has the necessary tools. 7. It should be purchasable and repairable as near to home as possible. 8. It should come from a small, privately-owned shop or store that will take it back for maintenance and repair. 9. It should not replace or disrupt anything good that already exists, and this includes family and community relationships.
What are some good ways for a programmer to help the field? Maybe learning data science would allow me to help researchers while not knowing medicine myself.