Lang Min
langminneu.bsky.social
Lang Min
@langminneu.bsky.social
#ProgrammingParadigms
@northeasternu.bsky.social
I was thinking about combining photography and programming, so I developed a simple app on @observablehq.com . Here is the link: observablehq.com/@lang-min-ne... and the demo video: youtu.be/jcEdRZhS58Q
Tagged Image Searcher
Description Tagged Image Searcher is a simple application that allows users to upload up to ten pictures at a time, attach tags to each one, and search for images by clicking on checkboxes that are ge...
observablehq.com
April 22, 2025 at 10:52 PM
#ProgrammingParadigms
@northeasternu.bsky.social
I am not a guy very into low-level stuff, but D3 is one of the tools that I want to learn more about. It has magic, especially in visualizing data. Although more lines of code are needed to get it to work, it provides significant flexibility.
April 16, 2025 at 9:59 PM
#ProgrammingParadigms
@northeasternu.bsky.social
Ruby on Rails is a robust full-stack web framework. I've had some bad experiences with it, mostly because my team was rushing a project and I didn't have the time to learn its unique syntax systematically. Nevertheless, this demo is just impressive.
April 9, 2025 at 5:44 PM
#ProgrammingParadigms
@northeasternu.bsky.social
The first moment I saw Observable notebooks, I thought they are the JavaScript version of Jupyter Notebook. They seem so convenient for visualizing data, and we can even bring interactivity, such as buttons, slides, and dropdowns, to users.
April 2, 2025 at 9:37 PM
#ProgrammingParadigms
@northeasternu.bsky.social
One role of TDD is to set a more specific set of goals. I used to have a "see what I can do" attitude, which means that I do not have an exact goal that I wish to achieve but always prepare a plan B. TDD may be an excellent choice for my work.
March 26, 2025 at 9:33 PM
#ProgrammingParadigms
@northeasternu.bsky.social
Jest is to JavaScript as JUnit is to Java. It is quite a powerful testing tool for examining JavaScript code. I wish I had read about it before I dived deep into the project I just finished.
March 19, 2025 at 10:05 PM
#ProgrammingParadigms
@northeasternu.bsky.social
A dedicated worker is a hardworking employee who takes orders from the manager main.js and makes coffee as required. However, a shared worker is a factory that takes orders from multiple customers, and orders will only be received by phone calls.
March 12, 2025 at 7:54 PM
#ProgrammingParadigms
@northeasternu.bsky.social
Promise is a potent tool for handling asynchronous operations efficiently in JavaScript. It's like one function saying to another, "I promise I'll give you a result later." It can pass the result to the next function using .then() or other formats.
February 25, 2025 at 7:30 AM
#ProgrammingParadigms
@northeasternu.bsky.social
Simply put, synchronous programming is ordering and waiting for coffee at the counter, while asynchronous programming is making an order and picking up the coffee later. Also, callbacks are so helpful when passing arguments to functions.
February 20, 2025 at 12:05 AM
#ProgrammingParadigms
@northeasternu.bsky.social
I am surprised by the fact that Safari implements PTC to elide stack frames and enhance computing. But, a painful truth is, that I always thought recursion was tough enough, but currying is much harder for me to understand in functional programming.
a pile of dirt is spread out on a white background .
ALT: a pile of dirt is spread out on a white background .
media.tenor.com
February 11, 2025 at 6:30 PM
#ProgrammingParadigms
@northeasternu.bsky.social
Guess who gets lost after spring break? At least I'll be. There is nothing more painful than not being able to remember what code I wrote. It is where JSDoc comes in. It provides a clearer view of the function that even others can quickly understand.
February 5, 2025 at 5:41 PM
#ProgrammingParadigms
@northeasternu.bsky.social
Abstraction is a potent tool for reducing code redundancy and achieving interface polymorphism. To make a practical abstract class, we may maximize the shared functionality among its subclasses and allow them to be customized as needed.
January 29, 2025 at 10:20 PM
#ProgrammingParadigms
@northeasternu.bsky.social
As an amateur photographer, I always correlate making models with three.js and shooting close-up. Set a clear background, pick a nice camera angle, and let lights become the renderer. I just wish my object can rotate on its own like having animation.
January 22, 2025 at 8:30 PM
#ProgrammingParadigms
@northeasternu.bsky.social
Suppose I need to cook pasta. As I understand it, functional programming is like buying a pot, a fork, a handful of pasta, and tomato sauce individually, while OOP is like getting a kit that includes a pot, a fork, pasta, and tomato sauce.
January 15, 2025 at 8:17 AM