Lua, what is Lua? [closed]

Lua is a lightweight interpreted programming language developed in Brazil with a focus on embedding. It is written in Pure ANSI C which means high portability, even as C++ code. Here is an example: print(“Hello World!”) Wikipedia Summary Official Site

Database or List of English First and Last Names [closed]

I’m compiling a database that contains last names from a variety of different countries and cultures, the UK among them. The project and its datasets can be found here: https://github.com/enorvelle/NameDatabases(Dead: link, project and GitHub account) This seems to have migrated to github.com/smashew/NameDatabases. (Sole contributer “Erik Norvelle”.)

In Terraform 0.12, how to skip creation of resource, if resource name already exists?

In Terraform, you’re required to decide explicitly what system is responsible for the management of a particular object, and conversely which systems are just consuming an existing object. There is no way to make that decision dynamically, because that would make the result non-deterministic and — for objects managed by Terraform — make it unclear … Read more

Coding magazines [closed]

The venerable Dr. Dobbs Journal is still pretty good. It covers multiple platforms, and mixes some fairly hard-core technical articles with lighter fare (interviews with notables, a “Developer Diaries” column that profiles regular-Joe (and Jane) developers from a range of fields). If you are employed and have authority to spend some non-trivial amount of money … Read more

What are some good resources for writing a chess engine? [closed]

From my archives: This is a useful chess programming wiki. This is a simple introduction to chess programming. This is a (free) book on chess algorithms. This contains several easy step-by-step YouTube tutorial series’ ranging from beginner to advanced level. This is a more advanced introduction. This is Adam Berent’s interesting computer chess blog. This … Read more

What is in your Mathematica tool bag? [closed]

One of the nice things about the Mathematica notebook interface is that it can evaluate expressions in any language, not just Mathematica. As a simple example, consider creating a new Shell input cell type that passes the contained expression to the operating system shell for evaluation. First, define a function that delegates evaluation of a … Read more

Should a RESTful ‘PUT’ operation return something….

The HTTP specification (RFC 2616) has a number of recommendations that are applicable. Here is my interpretation: HTTP status code 200 OK for a successful PUT of an update to an existing resource. No response body needed. (Per Section 9.6, 204 No Content is even more appropriate.) HTTP status code 201 Created for a successful … Read more

What is the single most influential book every programmer should read? [closed]

Code Complete (2nd edition) by Steve McConnell The Pragmatic Programmer Structure and Interpretation of Computer Programs The C Programming Language by Kernighan and Ritchie Introduction to Algorithms by Cormen, Leiserson, Rivest & Stein Design Patterns by the Gang of Four Refactoring: Improving the Design of Existing Code The Mythical Man Month The Art of Computer … Read more

tech