2022-06-23 10:38:38 hello, i am writing an osm map renderer in forth, what are your guys recommendations for dealing with xml in forth or should i write my own parser for a protobuf format? 2022-06-23 10:41:14 i am aware of ffl xis library and vfx forths XML.fth but would be grateful for talking to someone with experience 2022-06-23 13:38:20 We discussed parsing json a few months ago, and one of our guys suggested that the json could be "simply preprocessed" by inserting spaces in certain places, to make characters like : and { and so on be "stand alone words." And then that result could potentially be directly processed by the built in Forth interpreter. 2022-06-23 13:38:26 Seemed like a good idea to me. 2022-06-23 13:38:53 It's always good to leverage Forth's existing interpreter if it's easy enough to do - no reason to re-write a whole parser when you've got "most of one" already available. 2022-06-23 13:39:11 I would think the same notions would apply to xml fairly well. 2022-06-23 13:39:54 Forth needs for its input to be space separated words, so if you can turn your input into that, then Forth can probably be programmed to gobble it right up. 2022-06-23 14:44:21 So, we have an old vintage radio, passed down from my wife's father's family. A Zenith 7S363; circa 1938. Everyone's hoping I can breath new life into it; it's kind of a wreck. 2022-06-23 14:44:31 This would be the place to start - the power supply circuit: 2022-06-23 14:44:33 https://imgur.com/a/R6zCYdS 2022-06-23 14:44:38 Pretty simple circuit. 2022-06-23 14:44:50 So I'm mulling over delving into that. 2022-06-23 14:45:34 That 6X5G is a full-wave rectifier tube. Two plates - one for each polarity of the AC waveform. 2022-06-23 14:45:58 At this point I don't even know if the transformer is sound; it may need to be re-wound. 2022-06-23 14:49:44 it's very easy to test if you have an ac power source 2022-06-23 14:50:46 well, and if you know what the ratios are supposed to be 2022-06-23 14:51:52 Yeah. I don't, but I actually have found a good bit of service info, so that may be in there somewhere. 2022-06-23 14:52:16 I think I want to get an autotransformer, so I can give it lower voltages in the early stages of testing. 2022-06-23 14:52:31 Seems like it would be a handy thing to have around. 2022-06-23 14:54:01 they're more than meets the eye. 2022-06-23 14:54:11 The circuit itself is similarly simple most of the way through - the hardest part is likely to be all the switches for various purposes. I'll be surprised if all of those still work the way they're supposed to, and I'm quite sure I can't just drop in replacements anywhere. 2022-06-23 14:54:35 Well, what I meant was that just getting the tubes and stuff and re-establishing the basic wiring shouldn't be too bad. 2022-06-23 14:54:44 I know there are some subtleties. 2022-06-23 14:55:24 I don't expect to have a terrible time finding those parts thoug, whereas for the switches and other "mechanical" aspects, it may be a lot harder. 2022-06-23 15:18:37 would they be mad or even know if you replaced it all with a raspberry pi? 2022-06-23 15:19:11 not that im recommending that but they sure do love that kind of thing on hackaday 2022-06-23 16:00:24 :-) Yes, I suspect I'd be caught up with there. My wife's an engineer as well, and she will want to look at it and will probably have some very sensible questions. 2022-06-23 16:00:35 Besides, I regard it as something of a challenge. 2022-06-23 16:00:50 On the other hand, I'm not obsessed with trying to source vintage parts. 2022-06-23 16:01:06 A lot of the wiring in there is with fabric insulated wire, and the insulation has rotted. 2022-06-23 16:01:14 I'm not going to go try to find vintage wire. 2022-06-23 16:03:15 If I can make it work with the same circuit and the same model (or work-alike) tubes, I'll be happy.