-
Recent Posts
Recent Comments
- R.P. Churchill on TWSL Series 07: Discovery and Data Collection
- R.P. Churchill on A Simulationist’s Framework for Business Analysis: Round Two
- LN on A Simulationist’s Framework for Business Analysis: Round Two
- R.P. Churchill on Starting to Learn About the Java Memory Model
- R.P. Churchill on Multidimensional Arrays in Javascript
Categories
Meta
October 2024 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Tag Archives: JavaScript
TWSL Tech Series 02: Three.JS and WebGL
Today I gave this webinar for the Tom Woods School of Life Lunch and Learn Series. The slides are here.
Course Wrap-up: JavaScript: Understanding the Weird Parts
I finished plowing though Anthony Alicea’s Udemy course, JavaScript: Understanding the Weird Parts, and found it to be quite satisfying. To answer the question left hanging yesterday, yes, the course did describe more details of prototype inheritance, and it did … Continue reading
JavaScript Inheritance: A Form of Composition
Lectures 53 through 56 of JavaScript: Understanding the Weird Parts discuss more about the creation and manipulation of objects under the hood. I’d seen different aspects of this material previously, which gave me a different take on how to build … Continue reading
Posted in Software
Tagged composition, discrete-event sim project, inheritance, JavaScript, memory management, OOP in JS, Underscore.js
Leave a comment
JavaScript IIFEs
The Udemy course, JavaScript: Understanding the Weird Parts, includes 85 lectures. In lecture 45 I finally encountered something meaningfully new, IIFEs, or Immediately Invoked Function Expressions. This construction is unique to JavaScript in an explicit sense, though there is mention … Continue reading
To Do List Project: Part 10
Right now just plowing ahead with either PHP/MySQL, Bootstrap, or whatever is going to be kind of rote. Make filters, pretty up screens, etc. That would just be practice reps without much hardcore learning. Therefore, once I finish plowing through … Continue reading
A Simple Discrete-Event Simulation: Part 89
Direct link for mobile devices. I was walking a few miles in the nice weather this evening when two possible solutions popped into my head for the DisplayGroup drag problem I had in the simulation app (where the pointer arrow … Continue reading
Posted in Software
Tagged discrete-event sim project, drag items, JavaScript, mouse events, select items, touch events
Leave a comment
To Do List Project: Part 6
Writing the ending time to each ToDoSlice item is more complex because we have to match to an existing record without benefit of having a unique ID to reference. Instead, we use a combination of the ToDoID index and the … Continue reading
To Do List Project: Part 5
The next step is to make the back end actually write some data to a database using PHP and MySQL. This is the UpdateStartTime.php file. The startSliceAjax function that communicates with this PHP is shown below, just slightly modified from … Continue reading
To Do List Project: Part 4
The five states and four transitions in the AJAX process are: request not initialized server connection established request received processing request request finished and response is ready If we don’t care about trying to trap process errors, assume we’ll always … Continue reading
To Do List Project: Part 2
Today I spent most of my time reading and watching videos. I’m trying to get a feel for matters of style in PHP (wrt endless rows of echo statements vs. raw JavaScript, among other things), revisit AJAX operations, and so … Continue reading