News for hackers. Stuff that matters.

naters

Re:Sound Lab – A Simple Analogue Synthesiser on Monday October 14, 2024 @05:48PM (#41842368)
The intro to the article notes that this was based on a design by Waveform Processing, which was run in part by the late Ray Wilson who was the man behind MFOS! His site even hosts the instruction manual for the WP-20: https://musicfromouterspace.com/analogsynth_new/THE_CAVE/WP2....
Re:What Happened to Jai Alai? (2013) on Thursday July 20, 2023 @12:44PM (#36803164)
I’m fairly sure that “wallball” played in most elementary schools around the US is a different game than what is being referred to here. Growing up in New England, what we called wallball involved throwing a tennis ball against a wall and attempting to catch it before someone else, while the NYC handball/wallball is closer to racquetball, but played outside against a (usually) freestanding concrete wall with palms used instead of racquets.
Re:Watercolor Basics on Wednesday June 15, 2022 @09:48PM (#31761700)
RGB are the primary colors used in additive color mixing, CMYK are used as the primary colors for subtractive color mixing which is used in offset printing and similar processes.
Re:JSON parser written in 6502 assembly language on Monday March 01, 2021 @12:09PM (#26305051)
The "Library organization" section [1] explains that the json65.s file is the core of the library and the only code necessary to build the library. The additional C code provides a handy tree structure and a callback to pass to the parsing engine.

However, because SAX is a callback-oriented parsing method, you can design your own data structure and write your own callback functions and do without this tree structure.

The additional C code provides similar nice-to-haves, such as string pool interning, a function to print out the aforementioned tree structure, and a wrapper function to parse json from a file.

[1] https://github.com/ppelleti/json65#library-organization

Re:RetroForth 2021.1 on Wednesday February 17, 2021 @06:57PM (#26173582)
Jonesforth [1] is a classic example of this, and a really good example of “literate” code.

[1] https://github.com/nornagon/jonesforth/blob/master/jonesfort...

Re:J one-page interpreter fragment (1992) on Monday January 25, 2021 @09:23AM (#25903372)
`mv` is defined on the same line as `ma` is, right after the five `#define`s.

`pr` is on the last line before the only line break.

It's a pretty dense program to walk through, but not as completely impenetrable as I first thought after taking some time and making notes as I went.

Re:Async Views in Django 3.1 on Thursday September 10, 2020 @01:11PM (#24434317)
Not the GP, but I'm currently working on a small web app that synchronizes data from 2 other web services, which means that almost every endpoint involves a call to an external API. In some cases, it involves repeated calls to those APIs, but the order in which the responses are received is unimportant, which is an ideal use case for asyncio's gather function. Using a framework (I haven't tried Django's new async views yet, but am using one of the handful of Flask-ish async frameworks) that supports async views has made this a snap, whereas before I would probably have used some sort of out-of-process work queue type setup.
Re:Show HN: Space Invaders in C on Friday December 06, 2019 @10:18AM (#21722482)
That's where I assumed the comment was going as well, but it's actually not really about brace style at all. Rather it's about "if style" which is a much more interesting discussion (at least as applied to C error checking).
Re:Small C Compilers on Thursday October 10, 2019 @09:52AM (#21214452)
Re:How to read Nancy (1988) [pdf] on Thursday April 11, 2019 @10:52PM (#19641530)
The authors expanded this article out into a full book of the same name that gives each strip deconstruction (as well as a handful that don't appear in this article) a full two page spread. It's definitely worth picking up if this article appeals.

Also of interest is "Music from Nancy" [1], a performance based on an algorithm where the composers created an overlay that they could place over any Nancy strip to turn it into a musical score.

[1] https://www.youtube.com/watch?v=QkX2-LncA0M

Re:1947 Imperial and Chrysler Service Book – Cam Ground Piston on Wednesday October 04, 2017 @12:19PM (#15401591)
Will Eisner's work in PS Magazine[1] detailing preventative maintenance procedures for the army was in a similar vein. It was presented in full comic book form though, and seems like it was heavier on the entertainment than the information.

[1] http://dig.library.vcu.edu/cdm/landingpage/collection/psm

Re:GNU Guile 2.2.0 on Thursday March 16, 2017 @02:14PM (#13887414)
Is the last line in your failed function example supposed to read:

    (++ counter)

?
Re:Donald Trump is the president-elect of the U.S. on Wednesday November 09, 2016 @11:02AM (#12911194)
Regardless, nostrademons' point still stands. Over 50% of US farm workers are undocumented immigrants[1], and 1 in 10 farm workers in California are undocumented migrant workers[2]. That's a very sizable chunk of the labor pool.

[1] http://articles.extension.org/pages/9960/migrant-farm-worker...

[2] http://www.npr.org/sections/thesalt/2016/01/29/464758284/act...

Jeez, that seems unduly dismissive. While the title of the article might suggest that it follows the rhetoric you're suggesting, it is in fact a pretty well founded critique of "call out culture" and how it is a very real impediment to meaningful social change.

I think the main problem with this line of thinking represented in this article (and maybe this is what you are getting at) is that the use of shame in political dialogue is a trait exclusive to the left. It has many parallels in conservative thinking, but maybe in ways that we have grown used to (e.g. values based on religious fundamentalism).