Live data from Hacker News

Redbox left PII on decommissioned machines

digipres.club

171–173 of 173 posts

Re: Redbox left PII on decommissioned machines

#171

Earlier quoted context omitted.

I stopped reading when it got all shouty, and a quick scan doesn't show whether it's got actual sample code. It's also been a long while since I wrote any C# for real, and even longer since I had to deal with .NET's XmlSerializer. It used to be a pain in the backside to deal with XML in .NET if you wanted to just deserialise a file to an object. You'd need to mark up the class with attributes and stuff. I remember be…

> I'm not sure if XmlSerializer ever caught up in that regard. Not really. The one thing that exists to make this easier is xsd.exe, which can generate the code for these classes from and XML Schema file. https://learn.microsoft.com/en-us/dotnet/standard/serializat...

Ah, yeah, xsd.exe - I had successfully wiped that from my memory.

I had a ton of scripts that generated classes from XML and SQL Tables. I forget exactly how.

Re: Redbox left PII on decommissioned machines

#172

Earlier quoted context omitted.

> more baroque and harder to understand I don't understand how this is the case. If anything, an interface is MUCH easier to understand than a variety of functions strung together. I mean, this is the whole reason we have APIs. If I'm a consumer, I would much rather read and understand the API and its contract than try to read through the code to find out requirements.

We are talking about a single function that possibly takes zero arguments versus an interface (TFA doesn't seem to show the code, but the interface presumably exists for DI). I have waded through such code in Java, rather than C#. At least some of it is fighting the language; Java is pretty hostile to writing DI style code. On top of that, even in languages that are more DI friendly, DI significantly decreases the le…

I don't think that you necessarily need lexical locality, rather you need specification. And interfaces are just an easy way to make a specification. The problem with "too much" lexical locality is that now you have to search DEEP into stacks to figure out what really going on.

The whole point of specifications is trying to extract the most requirements in the least amount of time. With more "top level" interfaces and tools like DI you can do that, but certainly you can take it too far. A single function, I'd say, is way too far.

Re: Redbox left PII on decommissioned machines

#173
post #28

Earlier quoted context omitted.

I didn't bring 5 dollars cash the first time I took a plane to SF from the east coast. You end up watching a movie on a projector screen without sound. I end up reading through Microsoft foundation classes books. On the way back I had my 5 dollars ready. The movie was about a brother who returns to a small town to visit his sister in a southern town. He ends up staying and helping her with the kids. But his irrespons…

I'm 'kinda curious to know which movie is this.

I did find this while looking for it the other day: https://en.wikipedia.org/wiki/Uncle_Buck
Post reply on HN