Re: Fast JSON parsing - was Re: opinion? LISTCAT (equivalent) with XML / JSON output
On Tue, Jul 21, 2015 at 5:52 AM, David Crayford dcrayf...@gmail.com wrote: On 20/07/2015 9:37 PM, John McKown wrote: Thanks for the pointer. This is a on my own project which has been put on the back burner. I'm fighting a hardware upgrade issue at home right now. I think the SATA interface on the motherboard of one of my systems is getting flaky. And the old, IDE, CD-ROM has gone totally silent, along with the main HD getting a lot of read errors. So I put in some more memroy, a 512 MiB SSD, and 2 (older) SATA HDs I had laying around; ordered new PCIe SATA controller DVD burner. I did a fresh install of RedHat Fedora on the SSD. Now in the process of re-installing all the software. Whew! Not easy for a man with arthritis. Looks like a good build. Just out of interest why do you favor RedHat Fedora? Versus what other distribution? RH was one of the first available. When I first tried, and failed, there was mainly only Slackware. I couldn't get that installed on my XT. I don't remember what else was available when I first got RedHat. I do remember that I had to pay for it and got access to RHN for updates. This was long before Fedora. I guess that I've stayed with RH simply because I'm used to it. I have also dabbled with OpenSUSE, on a laptop, and Linux Mint. For some reason, I never even tried Ubuntu (yes, Mint is an offshoot) or Debian. I definitely am not going DIY. The only thing RH has done, lately, which has been irritating was going with systemd. I'm learning it, but I really understood SYSTEM V init. And I agree with the philosophical argument that systemd violates the pristine UNIX motto of do _one_ thing and to it _well_. systemd is trying to do way too much, IMO. -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! John McKown -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Fast JSON parsing - was Re: opinion? LISTCAT (equivalent) with XML / JSON output
On Tue, Jul 21, 2015 at 12:45 PM, John McKown john.archie.mck...@gmail.com wrote: Versus what other distribution? RH was one of the first available. When I first tried, and failed, there was mainly only Slackware. I couldn't get that installed on my XT. Ahhh... Good ol' Slackware. I tried that when it first came out and used it for many years. Not sure if I ever tried SLS, which Slackware was forked from. My first distribution of Linux was nothing more than the boot/root floppies from tsx-11.mit.edu. After that and Slackware I also moved to Redhat. Currently I too am on Fedora ... for now. Not sure where else I can go. Debian is a political mess with the Systemd war and Ubuntu on the desktop took a nose dive after version 8(?), IMHO. Maybe I should check out BSD. But you weren't going to get any Linux distribution running on your XT. Linux has always required the memory management capabilities first made available in the 80386. However, I think Minix could run on a XT. systemd is trying to do way too much, IMO. Systemd is trying to do *everything*. And about the only distribution that doesn't force you to use it (yet) is good ol' Slackware. Jim -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Fast JSON parsing - was Re: opinion? LISTCAT (equivalent) with XML / JSON output
On 20/07/2015 9:37 PM, John McKown wrote: Thanks for the pointer. This is a on my own project which has been put on the back burner. I'm fighting a hardware upgrade issue at home right now. I think the SATA interface on the motherboard of one of my systems is getting flaky. And the old, IDE, CD-ROM has gone totally silent, along with the main HD getting a lot of read errors. So I put in some more memroy, a 512 MiB SSD, and 2 (older) SATA HDs I had laying around; ordered new PCIe SATA controller DVD burner. I did a fresh install of RedHat Fedora on the SSD. Now in the process of re-installing all the software. Whew! Not easy for a man with arthritis. Looks like a good build. Just out of interest why do you favor RedHat Fedora? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Fast JSON parsing - was Re: opinion? LISTCAT (equivalent) with XML / JSON output
On Mon, Jul 20, 2015 at 8:12 AM, David Crayford dcrayf...@gmail.com wrote: FYI, If you are interested in the most efficient JSON parser out there check out jsmn (jasmine) http://zserge.com/jsmn.html. It's an incredibly simple low level API that does no memory allocations and is a thing of absolute beauty. Ironically, simple APIs are always hard to design. Here's an example of how to use it http://alisdair.mcdiarmid.org/2012/08/14/jsmn-example.html. I compiled this in Metal/C so it can be used in any language that can knock-up the mappings. This could easily be offload to a zIIP. Thanks for the pointer. This is a on my own project which has been put on the back burner. I'm fighting a hardware upgrade issue at home right now. I think the SATA interface on the motherboard of one of my systems is getting flaky. And the old, IDE, CD-ROM has gone totally silent, along with the main HD getting a lot of read errors. So I put in some more memroy, a 512 MiB SSD, and 2 (older) SATA HDs I had laying around; ordered new PCIe SATA controller DVD burner. I did a fresh install of RedHat Fedora on the SSD. Now in the process of re-installing all the software. Whew! Not easy for a man with arthritis. -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! John McKown -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN