|
trønderen wrote: If you cannot read the whole thing into memory, maybe JSON isn't for you
The entire world of IoT would scarcely exist online if that were the case.
Real programmers use butterflies
|
|
|
|
|
...and that might not be such a bad thing.
|
|
|
|
|
I'd be out of work.
Real programmers use butterflies
|
|
|
|
|
Somehow I imagine you could easily find something else!
|
|
|
|
|
But something I enjoy this much?
My core nature is not "software developer"
It's "builder"
I like to make things. The reason I got into software is when I was very young I was building simple digital circuits but i didn't have money to buy the neverending list of equipment and supplies to keep up the hobby, so I got into software, which required nothing upfront (at the time) but effort. I fell in love with it and just never stopped.
But ultimately I like to build. Under slightly different circumstances I could have been a metal fabricator and/or engineer.
The IoT stuff incorporates some of that physicality that I like.
Real programmers use butterflies
|
|
|
|
|
They're "key value pairs" ... no order implied. XML has paths. That's why XML is "more perfect".
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
XML also does not impose order.
|
|
|
|
|
Well, obviously the user should be responsible for specifying the order of the desired fields and not you.
|
|
|
|
|
With JSON *nobody* gets to specify the order. That makes them suitable for putting in things like std::unordered_map, but not so great for sequential forward only queries.
Real programmers use butterflies
|
|
|
|
|
honey the codewitch wrote: JSON is deceptively complicated.
Only because you're not using it as intended.
There's nothing that stops you from defining a new ordered JSON-standard. I mean, another standard is just what we need isn't it.
Wrong is evil and must be defeated. - Jeff Ello
Never stop dreaming - Freddie Kruger
|
|
|
|
|
I mean, I don't know that JSON wasn't *intended* for low memory environments, but I could get behind the idea that it wasn't designed for them.
Real programmers use butterflies
|
|
|
|
|
honey the codewitch wrote: but I could get behind the idea that it wasn't designed for them
Fair enough.
I see it this way, JSON was intended to be used with Javascript. Javascript is anything but low memory! Intentional or not.
Wrong is evil and must be defeated. - Jeff Ello
Never stop dreaming - Freddie Kruger
|
|
|
|
|
|
Herself asked me to play some Christmas music in the background. We have a Yamaha sound bar under the TV that can be set to use Bluetooth as its sound input. So I thought it would great to send music from my laptop to the sound bar, as its sound quality is fantastic.
I must have tried for more than an hour to get the two devices to connect via Bluetooth, with no luck. In the end in sheer desperation, I decided to read the Yamaha manual - and there it was plain as day: If you have difficulty to connect, you may have another Bluetooth device too close to the sound bar. Yes! I turned off my desktop's (which was nearby) Bluetooth and the sound bar immediately connected to the laptop. Aaaaargh!
So she asked me why I did not read the manual in the first place? I said: "I am an engineer, I shouldn't have to read manuals."
She said: "For a clever engineer you are rather stupid!" So here I sit listening to Christmas music with a deflated ego!
Get me coffee and no one gets hurt!
modified 12-Dec-20 14:18pm.
|
|
|
|
|
For something a bit different, try John Fahey's Christmas music played on guitar : https://www.amazon.com/s?k=john+fahey&ref=nb_sb_noss_1[^]. It's really very, very good if you like acoustic guitar music.
A piece of trivia : in the movie "A Clockwork Orange", Alex goes into a record store and at the counter there are two albums displayed. One is the soundtrack of "2001, A Space Odyssey" and the other is a John Fahey record.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
Thanks! I'll check it out.
Get me coffee and no one gets hurt!
|
|
|
|
|
I could't see any preview (or pre-listen) on Amazon, but I'll take one note of the name, and try to find a preview somehwere else.
One of my primary Christmas record is another acoustic guitar one - Jul I Gammel Tid by Rolf Lislevand[^] ("Chistmas on the old days").
In this case it is somewhat unfortunate that Amazon tends to pick their 30 sec samples from the start, or early part, of the track. That is when the theme is introduced, and you do not get an opportunity to hear how the player elaborates on it, makes his variations, plays around it, the way old musicians did. A few of the tracks chains together two or three tunes in a beautiful way, that you will not get a chance to hear (without buying the album).
Lislevand may be the very best baroque guitar player of today, knowing more about the historically "correct" interpretation than most others. Yet, he is very playful: Listen to the way his group goes completely crazy with old "Tourdion" on the album "Diminitio"! (Here, the first 30 seconds reveal none of the crazyness )
|
|
|
|
|
My missus is the opposite, she hates it when I take the time to read the manual, which is the second thing I usually do, the first is power cycle. Her patience, like many, has been tossed aside by her need for instant gratification. If, after reading the manual and attempting the troubleshooting, it still doesn't work, well then my patience is gone, and a device smashing I will go. That kind of crap I don't need.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
Just say "yes dear" and be done with it.
If you can keep your head while those about you are losing theirs, perhaps you don't understand the situation.
|
|
|
|
|
I play bridge with the wife as a partner, she is more experienced than I, "yes dear" is the common response, annoys her.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
Pass.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Mycroft Holmes wrote: I play bridge with the wife as a partner
Now, that's a sign of a strong marriage!
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
I'm an engineer. Unless it's a piece of software (which no longer comes with a manual in any case), I read the manual. The end result is that appliances I buy work out of the box and assemble it yourself furniture goes together without too much cursing. Best of all, Her Nibs is satisfied with whatever ridiculous whatsit she bought and I'm not the one creating a bad experience for her.
I've probably lost a slew of engineering-grade manpoints with this admission, but you know something... I don't give a flying .
Software Zen: delete this;
|
|
|
|
|
Gary R. Wheeler wrote: I've probably lost a slew of engineering-grade manpoints with this admission, but you know something... I don't give a flying [mastadon] . +1
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Herself does have something going for her!
Then, regarding Christmas music: I am not one to get ecstatic over a music box playing Jingle Bells. Here in Norway, we have a 24/7 jazz channel: The last week, about half of the music is "music box style" jazzifications of every traditional Christmas tune, from Jingle Bells to medieval Maria songs. Some of it makes me shudder. It is just so ... primitive! Exploitative. Disrespectful. There are no non-commercial reasons for playing the music this way!
So I switch off the jazz channel, and rather dig up some of my CDs with the groups playing medieval Maria songs in the medieval style. Or that CD with "Cypriot Advent Antiphons".
My new Christmas record this year is a Latin American one - Dino Saluzzi: Navidad de los Andes. If you have a broad-minded musical sense, you may call Saluzzi's music 'Latin jazz' (it is published on ECM!), but I never heard it on the jazz channel. In any case: His Andes style Christmas music is far more satisfying for me than a syncopated version of Jingle Bells!
|
|
|
|