Wonky Pong Mac OS
While the general Mac user community is ooh-ing and ahh-ing over Mac OS X 10.5 features like Time Machine, or opining about the new Dock, Stacks, et al, those of us who support Mac users are deep into learning about one of the biggest below-the-hood changes to happen in any version of Mac OS X: The end of Netinfo.
Nov 18, 2014 Here’s how to play Pong, Tetris, Snake, and more right in the OS X Terminal. First, launch Terminal, located in the Applications Utilities folder in OS X. With a new Terminal window open, type emacs and press Return to launch the Emacs text editor.
- Have the computer play a game of Pong against itself when you're away with the PongSaver screensaver for Mac OS X. The time is displayed in a gray font at the top of the screen, and two white paddles move up and down along the left and right edges of the screen, trying to prevent the 'ball' from escaping around them and reaching the edge of the screen.
- Born in 1958, the game of Pong is considerably older than I am, and it was first played on a computer both larger and less powerful than any Macintosh ever conceived. Yet here I am, reviewing a version requiring a G3 processor, which installs from a CD-ROM with 720 files, resulting in a.
- Sep 11, 2018 Without the boot ROM that supports the Mac, the graphics card won’t be initialized until after the Mac loads the graphics drivers. This can prevent boot up information from being displayed, including running firmware updates (should any become available) or using boot options that require any type of interaction.
- A tempo synchronized delay with an initial quarter note triplet holdup followed by eighth note triplet repeats all spiced up with ping pong and a tiny bit of modulation for depth and thickness.
When I say “end,” I mean it in the most “end-ish” sense. In Mac OS X 10.5, Netinfo is gone. Not “deprecated,” not “hidden away for only the most advanced users.” It’s gone. Deleted. It does not exist. No more Netinfo database, no more Netinfo Utilities such as nicl
, no more Netinfo Manager. The entire structure for managing local users, groups, and other such things has been completely replaced by local Directory Services, and the Netinfo Database is now a series of XML files living in /var/db/dslocal/
.
Netinfo is—well, was —a directory service used for user and computer management. Originally created for NeXTStep, Netinfo was able to manage not only individual machines, but entire networks. Its biggest problem was that the rest of the world turned to LDAP for doing the same thing.
Why is the end of Netinfo such an important change? Because when it came to managing local users and groups—that is users you created on your Mac, or network accounts that were mapped to local accounts (a.k.a. mobile accounts)—Netinfo handled all that. When you created a new user in System Preferences, that was all just a nicer interface into Netinfo. When you enabled sharing on your Mac, managing access to shares was handled by Netinfo. Now, it’s all done by Directory Services.
This may seem like a sudden change to some, but the truth is, Apple’s been actively easing Netinfo out of the picture since Mac OS X 10.2. Starting with that release, and continuing into Mac OS X 10.4, Netinfo was reduced from the primary mechanism for managing not just local users and groups, but entire network directories, ala Microsoft’s Active Directory or Novell’s eDirectory, to being only used for local user management. With Mac OS X 10.5, that easing out is complete.
So what does this mean? Well to the average user—whatever that means anymore—not much. The things you used to manage users, file sharing, and so forth are all still there—they just talk to different plumbing. There are some new features in those areas in Mac OS X 10.5, such as the “Advanced Options” in Accounts in System Preferences that allow you to configure a user’s home directory, login shell, add/remove login aliases, and so forth; you used to have to go to Netinfo Manager for these. There’s also the new ability to share any folder on your hard drive, but that could have been done with Netinfo too. The real changes here are in other areas
The most obvious change for most is the death of the Netinfo database. With Mac OS X 10.5, all the Netinfo database information are in a series of plist files in /var/db/dslocal/ under nodes/Default/. Within there, you see a set of directories:
Within each of these is a set of plist files where the data for that directory is kept, so in users/, there’s one plist per user, in groups/, one plist per group, and so on. Looking at the entry for the “staff’ group in staff.plist, (staff is the default group for all local users you create in Mac OS X), we see the following:
It’s pretty easy to decipher. You have a UUID, or Universally Unique Identifier, a unique number that identifies the group outside of conventional Unix group IDs. You have the GID (or Group ID), the Unix group identifier number, the name of the group, the password for the group, (in this case, there isn’t one), the realname (or the more human friendly name), a sid number used for windows file sharing, and then a list of users in this group, including my own, jwelch. If you go looking through all the other plists, they all look like this, more or less.
But so what? Why does anyone care about this stuff? Well, for one, these are all text xml files. You can view or edit them in anything that can handle text files, from Apple’s own Text Edit and Property List Editor, to BBEdit, to Emacs or vi. You don’t need a special database application to view or work with these files. This makes them more easily maintainable and fixable. It also makes it easier for network administrators to manage local-only accounts on their network. The XML structure of these files makes it easier to integrate the data they contain into various kinds of user management tools, since almost everything out there, commercial and home-built can handle XML data.
Network administrators trying to manage Mac laptops on directories also benefit from the elimination of Netinfo. Prior to Mac OS X 10.5, binding a laptop to a directory was a painful process. Because of the way directory services worked in Mac OS X 10.4 and earlier, if your laptop was bound, or attached to a directory service, and you had to boot up or log in when you couldn’t see the network that directory service was on, you were in a world of pain, and would probably never actually log in, or get anything done. There were a few workarounds, but it was all very wonky, due to how Netinfo and its associated processes—in particular, lookupd—worked. With Mac OS X 10.5, all that is fixed, and now you can have a laptop bound to a directory, and it just works.
For those of you wondering what command line utilities you use, now that all the ni* utilities and lookupd are gone, it’s pretty simple. For general needs, you use dscl
. If you want to see what group a user or another group are a member of, or check user/group UUIDs, you use dsmemberutil
. To edit, create, manipulate, or delete groups, you use dseditgroup
. To work with various Directory Service caches, including LDAP and DNS, you use dscacheutil
. Finally, to enable root, you use dsenableroot
.
The removal of Netinfo from Mac OS X is a major change from both the operational and historical perspectives. But in end, I think it’s one that was long in coming, and it will make Mac OS X much nicer to deal with from the administrator point of view—something that will aid Apple as it continues to establish a greater presence in the business world.
[ John C. Welch is a Unix/Open Systems Administrator for Kansas City Life Insurance and a long-time Mac IT pundit. ]
Controls | Key-bindings |
---|---|
Paddle Movement | Up Arrow & Down Arrow (or W & S) |
Shoot | Space key |
Exit To Main Menu | Escape key |
- Easy mode - infinite play; you have 5 health points.
- Hard mode - infinite play; you have 1 health point.
- Tutorial - a tutorial level, with explanations at each appearance of a genre.
- Slight delay of visual background effects in Tutorial.
- Leaderboard not working in WebGL build.
- Ping pong ball phasing through the screen boundaries at rare occasions.
- Programming - Danial Jumagaliyev, Cactus, Zhubanysh Burlibaev
- Pixel Art - Zhubanysh Burlibaev
- Sound Effects - KINGOFMUSIC
- Music - TeknoAxe
Status | Released |
Platforms | Windows, macOS, Linux, HTML5 |
Rating | |
Authors | Danial Jumagaliyev, zhubanyshburlibaev, KINGOFMUSIC |
Tags | 2D, Arcade, gamepad, online, pong, Retro, Singleplayer |
Download
Click download now to get access to the following files:
Development log
- Update 1! More spiciness!Nov 24, 2020
Log in with itch.io to leave a comment.
Just recently discovered this game and I have to say that I absolutely love the idea of a mixed pong genre!
Really interesting game - just looked at the tutorial of the Linux version. Would it be possible to add just an 'exit' choice to the menu - or did I just missed that point?
Hello, thanks for checking out our game! As mentioned in Controls, you can press the Escape key to exit to the main menu.
Sorry - I was not precise.
I have played the game with a friend now and we have problems to exit the game - I miss an exit option as part of the menu - or just pressing Esc in the menu to exit the game (maybe with yes/no dialogue).
With Logitech F310 the left analogue stick can be used to steer but none of the buttons has a function. Would be nice if A (and X) were similar to space and Start same function as Esc (to invoke the main menu).
We encountered a bug by pressing Esc during the tutorial being stuck in a black screen with mouse cursor and music playing (i.e. no menu appearing).
It is really impressive what can be done in such small time.
Hi again, I released an update for the game, with the addition of an exit button and other features with bugfixes.
Thanks for the reply and your work.
But it seems only the Windows version was updated ... and I am using GNU/Linux (as visible by my avatar ;) ... so can not check right now ...
Oh sorry, my bad 😅 I thought your friend was on Linux. Anyways, I added it in the Download section, it is available now!
Wonky Pong Mac Os Update
this game is so epic and creative. The best game in the Game Jam in my opinion!
Mac Os Catalina
Wonky Pong Mac Os Catalina
Amazing game! I found a bug, the ball can get stuck outside the boundries and never come back, lo