C#:
I am thinking about the "[JsonIgnore]" property (from System.Text.Json.Serialization) used by NewtonSoft JSON newtonsoft.com/json/help/html/… in C#.
Things I don't get:
- Imagine I have a private member which is accessed through a public property. Does [JsonaIgnore] need to go on the private field AND the public property, or just the private field?
- Imagine my class implements an interface. Do I need [JsonIgnore] on the interface fields, or only the class fields?
Heavily redacted transcript (barely) shows how Congress decided to pass the TikTok bill.
The Department of Justice filed a very redacted transcript of the classified briefing House lawmakers received before passing the bill that could ban TikTok unless it spins out from its Chinese owner. If you squint around the blocks of blacked-out text, you can kind of start to see how the DOJ will likely defend the bill in oral arguments on September 16th.
Ebb and Flow
This piece is available, free, and high resolution for your digital needs at ko-fi.com/s/f51f964f95 but if your taste runs more toward physical objects, those are available at redbubble.com/shop/ap/16381133…
Now that you've been called to action, I'm going to tell a long, esoteric sorry that you can skip if you just want to look at the picture (though you can do that in higher resolution for free at ko-fi.com/s/f51f964f95 hint hint). Thanks in advance for indulging me if you have.
When I was in college back in the early years of the Dark Ages (you may think I'm joking but I'm really just anticipating future history) I fancied myself much more of a math person than I guess I really am. It helped that the professor of computer science topics also taught various ancillary topics including math, and I really liked him, so I took whatever courses he was offering. That's how I came to take a class on Complexity, which, for the non-mathematically-inclined, is the study of how simple rules and behaviors create complex systems when many simple individuals interact. We did Chaos Theory too, but if I can be honest, chaos theory is less interesting to me. I'm not Ian Malcolm, I'm a bird watcher, as it were.
Now, as this was the Dark Ages, a lot of this stuff was just being theorized, and a lot of computer stuff which is probably simple today was incredibly complicated back then. For instance, I took an artificial intelligence course where we built simple neural nets ourselves because the tooling didn't exist outside of labs with more money than God. I was lucky enough to have a computer powerful enough to do this, but computer vision, for instance, was in its infancy. We were really excited about the possibility that OCR might one day exist for the average human. Heady days.
Anyway, the tool we used to explore complex systems, when possible, was a program called NetLogo. I say "program" but it was more of a programming language with an IDE. And if you just said to yourself, "I wonder if that's related to Logo?" schedule a colonoscopy but also, you're intuition is correct. Except that where Logo has one turtle, NetLogo allows you to make many turtles, all of which follow the same instructions. It's also Turing-complete, which means it's capable of getting you into a lot of trouble when you ask it to do things for which it was never intended.
I am... really good at asking NetLogo to do things for which, it turns out, it was never intended. It's a teaching tool, and at the time was underpowered, and I liked to try to simulate things which were more complicated than the simple stuff. I take no real pride in this. I also did the same things with training sets for neural networks. I actually plugged the output from a NetLogo simulation into a neural network. I'm stupid.
Anyway, for those of you whose eyes glazed over a paragraph or two back, en.m.wikipedia.org/wiki/NetLog… is the Wikipedia page, but one must understand that we were using a very, very early version. Basically, all you really need to know is that it can create pretty pictures like the example. Think of it as a more complicated version of Conway's Game of Life.
I spent *a lot* of time staring at the pretty patterns that NetLogo can create. A lot. I still have flashbacks occasionally. The ones I spent most of my time looking at would ebb and flow like tides. And then, many years later, I created the image below and it reminded me of the patterns I still had burned into my retinas, and so I named the piece "Ebb and Flow" even though it has very little tidal about it really.
Obviously I can't tell this story to everyone. But now you know.
#art #ArtistsOnMastodon #artist #AbstractArt #DigitalArt #wallpaper #MastoArt #FediArt #free #TestPatterns
OSOM is shutting down on Friday
https://techcrunch.com/2024/09/05/osom-is-shutting-down-on-friday/?utm_source=flipboard&utm_medium=activitypub
Posted into Startup News @startup-news-Techcrunch
The Arizona Attorney General's office found "no criminal wrongdoing in the investigative process," but questioned the actions of command staff with the Pima County Sheriff's Department the night a deputy was allegedly sexually assaulted by her supervisor
#Tucson #Arizona
Every time I go in for the tummy I hear Admiral Ackbar warning me
He’s always right. 😼
when I first got my old cat, he has no concept that love bites are meant to be gentle, so his love is always harder to deal with than when he's being an intentional little shit. I never knew if I should bite back and get a mouthful of fur or something.
Turned out immediately walk off and ignore him worked really well
Sensitive content
A four-panel comic featuring a mischievous cat and a human.
- In the first panel, the cat bites down on the human's arm with a fierce expression and wide eyes, saying, "I BITE." The background is orange.
- In the second panel, the cat looks apologetic, with its tongue sticking out slightly while still holding the arm, and says, "I SORRY." The background is light blue.
- In the third panel, the cat bites again, showing the more aggressive face than the first panel, and says, "I BITE AGAIN." The background is red.
- In the final panel, the cat starts kicking and scratching the arm with its hind legs while still holding it in its mouth, with the text "[KICKING INTERLUDE]" written over the action. The background is yellow.
The comic is by Li Chen from Exocomics.com, indicated in the bottom corners.
Only one more week until #IBC2024!
Visit us at Booth C40 in Hall 5 to see our demos on the DAB protocol, #LCEVC, or #XR: collabora.com/news-and-blog/ne… #OpenSource #GStreamer
I can't recall a time this year when I was able to install a #Python project's dependencies without painful issues. I have been using #Poetry for some years now, and while it's better than the default experience, things are still frustrating.
How does the world work when Python's dependency management is so broken!?
Donald Trump Rambles Incoherently When Asked About Reducing Child Care Costs (Jonathan Cohn/HuffPost)
huffpost.com/entry/trump-child…
memeorandum.com/240905/p94#a24…
youtu.be/2fdVN0Etz3k?si=S0fOcI…
#EndHomelessnessNow
#PovertyKills
#lightwithin
#mentalhealthadvocate
#MutualAid
#traumasurvivor
#cptsd
#mentalhealth
#advocacy
#activism
#disability
#ableism
#complacencykills
#apathykills
#disabilityadvocate
#dementiaawareness
#supportdisabledartists #boost #mastodon #fediverse #sabilewsounds @SabiLewSounds
#Beavernotes 3.6.0 is here! This update includes minor improvements, bug fixes, and new features like the drawing block, additional highlighter colors, and more.
Thanks to our incredible community, #BeaverNotes is now available in French, Turkish, and Russian!
We're also making progress on #BeaverPocket, aiming for a stable release this fall. So far, we've implemented iCloud sync and are working on support for Google Drive and OneDrive.
Check out the release notes: github.com/Beaver-Notes/Beaver…
#dog #MastoArt #art #painting #petportrait #acrylicpainting #artist
Calgary has already spent $1.5 billion on a light-rail line expansion, with provincial support.
This week, the UCP killed it.
Debbie Goldsmith 🏳️⚧️♾️🇺🇦 reshared this.
According to Von Shitsinpants, this solar-powered electric boat we were on today on the Douro River in #Portugal can’t exist.
Funny how that’s completely untrue, innit?
(And that boat name!)
𝙉𝙞𝙘𝙝𝙚 𝙋𝙖𝙧𝙩𝙞𝙩𝙞𝙤𝙣𝙞𝙣𝙜 3
Acrylic on paper,
19.5 x 26.5” framed
𝘕𝘪𝘤𝘩𝘦 𝘗𝘢𝘳𝘵𝘪𝘵𝘪𝘰𝘯𝘪𝘯𝘨 is a generative art program that directs a robotic pen plotter to produce layered harmonic waveforms, built from hundreds of oscillating paint strokes. When the program is initialized, the properties of each waveform are randomly selected, resulting in a unique structure each time it is run.
#generativeart #plotterart #abstractart #creativecoding #p5js #axidraw #genartclub #mastoart #moire #worksonpaper
Et force pour tout.
Oh, quelle mauvaise nouvelle…
Veuillez accepter de sincères condoléances.
Serrez-vous fort et bon courage pour la suite.

Tu mériteras un même article ! (Tel père, tel fils)
Sacré bonhomme ! 🖤
Mes sincères condoléances


Joel Davis
in reply to mcc • • •Teixi
in reply to mcc • • •docu mentions field/property but no class?
newtonsoft.com/json/help/html/…
BTW considered migration?
learn.microsoft.com/en-us/dotn…
Violet
in reply to mcc • • •mcc
Unknown parent • • •Jean-Baptiste Zeller
in reply to mcc • • •JsonIgnore goes on the public interface only.
By default System.Text and Newtonsoft both will only include publicly accessible member of the object.
So if you serialized:
// private here doesn’t matter as if you serialized this object they’ll recover the Type with myobj.GetType()
private class MyObject {
// included in newtonsoft, hidden by default in System.Text, [JsonIgnore] goes here
public string MyField;
// excluded everywhere, not included;
protected internal string MyOtherField;