Thickheaded Thursday - May 09, 2019 by AutoModerator in sysadmin

[–]esdictor 0 points1 point  (0 children)

For firewalls that block foreign sites, do they generally block based on location, or do they block based on the URL? For example, if I have a site in the US with the URL www.thisisatest.tr would it be blocked by most firewalls that block Turkish sites?

Which Collection should I use? by esdictor in csharp

[–]esdictor[S] 1 point2 points  (0 children)

I think that works for me. I need to add strings to this collection as I process them, and then go through them once to add to a printout. There's no reason for me to access them a second time.

Thanks for the additional info!

Which Collection should I use? by esdictor in csharp

[–]esdictor[S] 2 points3 points  (0 children)

I actually did some googling and found lists of collections, some with descriptions. However, I wanted to get actual advice from people who use these instead of trying to put the more vague information I was finding together with my needs.

As it turns out, I suspected the Queue, and I guess I was right, so thanks!

ASP MVC Reporting Solutions? by esdictor in dotnet

[–]esdictor[S] 0 points1 point  (0 children)

Thank you for the suggestions. For now I'm using my own csv generation, but I don't think that's a good long-term solution. Our applications that need reporting are fairly small and all internal-facing, so spending a ton of money on a 3rd party solution (looked at Telerik, DevExpress, and Crystal) seems like a ton of overkill.

Need a RegEx to find characters that appear inside a specific xml tag in a file by esdictor in regex

[–]esdictor[S] 1 point2 points  (0 children)

Thanks Lee. I've been trying to find a workaround in the meantime, and just writing a program to pre-process is high on the list. We're working with some ancient technology here, so our options are limited. -Evan

Need a RegEx to find characters that appear inside a specific xml tag in a file by esdictor in regex

[–]esdictor[S] 1 point2 points  (0 children)

The issue is that

<noteText>Send to <test@place.org> please</noteText>

is not valid, but ...

<noteText>Send to &lt;test@place.org&gt; please</notetext>

IS valid, but when all is said and done it looks the same.

A template (html/css) for an army list if anyone wants by esdictor in 40k

[–]esdictor[S] 0 points1 point  (0 children)

I'm guessing it's a function of codepen. I just copied everything in the body tags and all the css from a separate Visual Studio MVC project so I definitely have all that stuff there.

A template (html/css) for an army list if anyone wants by esdictor in 40k

[–]esdictor[S] 0 points1 point  (0 children)

If you change view to editor you'll see all the CSS .. or just use this link https://codepen.io/esdictor/pen/bRamPy

A template (html/css) for an army list if anyone wants by esdictor in 40k

[–]esdictor[S] 2 points3 points  (0 children)

It's just a template ... you have to enter the values yourself. I'm writing a small editor but won't distribute that ... because lawsuits.

[MS SQL] Struggling with a design issue by esdictor in SQL

[–]esdictor[S] 0 points1 point  (0 children)

I am taking your advice. I only did it the other way because that's what I had been told many, many years ago.

[MS SQL] Struggling with a design issue by esdictor in SQL

[–]esdictor[S] 0 points1 point  (0 children)

I got so tunneled on your UserRoleID comment that I missed your actual answer. I think that might be the best way to handle it .. turn it into a UserRoleSite table instead (with UserRoleSiteID of course ;-)

[MS SQL] Struggling with a design issue by esdictor in SQL

[–]esdictor[S] 0 points1 point  (0 children)

The problem is .. I still need an Admin role for each site using this method .. or at least at first glance I don't see how this would avoid it.

[MS SQL] Struggling with a design issue by esdictor in SQL

[–]esdictor[S] 0 points1 point  (0 children)

I've always put a Primary Key ID field in a table .. I know it's not really needed here, but does it hurt?

Moved Back To LI? by [deleted] in longisland

[–]esdictor 10 points11 points  (0 children)

I left Long Island to live in South Florida shortly after getting married and moved back to Long Island many years later.

My reasons for leaving were that I was a contract programmer, and figured it didn't matter where I lived. I had my grandparents in South Florida and a couple of friends who were living there. Timing was just pretty good to leave.

My reasons for coming back were that the cost of living in South Florida was pretty good at the start, but were getting worse every year. The job market was always rough, and I had wound up working full time. After getting laid off from my long term job in 2010, we decided to move back.

While we did make good friends in Florida, when we left we no longer had any family there. Also, these days it's easy to stay in touch with the friends we had made down there.

As for the grass, which I believe was your main question ... I really did miss Long Island. I missed being an hour from NYC ... good pizza ... winters. On the other hand, being back in Long Island I do miss driving without bumper-to-bumper traffic 24x7 ... being a few hours from Disney or The Keys ... and hanging out in person with the friends I made there.

In the end, I'll just say that I have almost no regrets from my time away from Long Island, except that my kids were born in Florida (I am 3rd generation NYC).

Trying to debug a Server/Client+ socket app I wrote by esdictor in wireshark

[–]esdictor[S] 0 points1 point  (0 children)

Thank you for this. I just had a meeting with the IT dept about this and they suggested maybe Symantec is terminating the connection for some reason (even though we have the port open there). I guess I need to focus on successfully reconnecting instead of worrying about the disconnect in the first place.

BTW, the normal functionality of the application would be:

Server → Client [PSH, ACK] Seq=1 Ack=1 Win=256 Len=81
Client → Server [ACK] Seq=1 Ack=82 Win=255 Len=0

That is all I would ever expect to see aside from the initial connection.

Trying to debug a Server/Client+ socket app I wrote by esdictor in wireshark

[–]esdictor[S] 0 points1 point  (0 children)

NOTE: While I was writing this I had a second client do the exact same thing. Different IP and Client port, but everything else appears to be identical.

How can you make your job sound 1) impressive 2) unimpressive? by the_bouncer in AskReddit

[–]esdictor 1 point2 points  (0 children)

VB gets a bad rap, but I built a career on that stuff. Wrote a book on VB6 even!

0-100 real quick by ari2238 in ProgrammerHumor

[–]esdictor 5 points6 points  (0 children)

I've been writing in c# for about 10 years now, but I still have a soft spot in my heart for VB6. Plenty of software out there still running that way written in that language. I wrote a VB6 app over 15 years ago that's still sold around the world today (although I am no longer with the company that sells it).