- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 34
- Posts with Upvotes
- 30
- Upvoting Members
- 19
- Downvotes Received
- 13
- Posts with Downvotes
- 7
- Downvoting Members
- 7
Programmer
- Interests
- Cyber Security
130 Posted Topics
Re: Try not to think of this quote in regaurds to any previous quotes, I think this one's one of the funniest I have ever heard: "Just close your eyes and think of england. "--Lady Hillingdon When you look it up you will either think it is the funniest thing in … | |
Re: Shout boxes are interesting, they basically just display all user input that is submitted via button to the web page. I believe some of them use session state on the server to use only a limited number of posts, removing the oldest n from a circular buffer. Alternatively you could … | |
Re: Well, let's remember there are three types of hackers, white hat, black hat, and gray hat. Two of them are illegal. One is not. White hats work as penetration testers on corporate networks, they are essentially testing the security of the network in question, and are paid to break in … | |
Re: Well, at least trump does not use home made email servers for top secret documents. Anybody else would be thrown in jail for that. There is a slew of regulations about that. So at least he is not making insecure email servers for every wannabe hacker and foreign intelligence agency … | |
Re: One of the pain points I have had with danni web is that there is not a very good turn around time with this site as compared to stack overflow, perhaps your main competition. This is problably not addressable, because your clientelle is smaller for the time being. Some of … | |
Re: I noticed this too. I also noticed that some people think it's just straignt C, which is incorrect, due to the implementation of the common language runtime, JIT compiler, and MISTLE code. It is a high level language like Java, in fact java has copied some C# functionality recently, the … | |
How do I start a MonoDevelop software program as a system service on Windows, Linux, and Mac? Windows appears to not have a system service setting. I have a WCF service that essentially runs from command line. Even if I have to run from command line, I will need to … | |
Hello all, I was wondering if I could get some questions answered about how cupons work in the work place. I have an idea which involves creating a very flexible cupon service, but would require knowing the rudiments of how cupons work. The main question I have is how is … | |
This may sound wierd, or easy, I just don't have a statistics background. How do I alter the statistical value of an array of emmitted random numbers? I am completely capable of using ranges, or creating an algorithim, I just need pseudo code or a brief description to guide me … | |
I would like to be able to open a port on windows programatically. I don't care whether is power shell, or something else, but I would like it to be a script that I can simply run as I install a software program. I have no experience in this area, … | |
Re: It's called WPF, windows presentation forms, or alternatively WCF, windows communication framework. WPF is a graphical user interface, whereas WCF is a communication framework for distributed computing. | |
Re: Read this book; Genetic Algorithms in Java Basics 1st ed. Edition by Lee Jacobson (Author), Burak Kanber (Author) | |
Re: At the very least you will need to research the technologies you will be utilizing for locational data. For sql server this will be the spatial functionality, for postgre sql you would use postgis, or perhaps something else, I have only heard about postgis, there could be other technologies. Oracle … | |
Re: Right, you could have your class that is pulled from the table implementing a calculated method based on that date diff (a getter). I use object relational mappers. If you need to query such values you use sql functionality to calculate that date diff. | |
Re: We probably don't even need to create a super AI, we just need clever software which applies heuristics and AI type functionality to our domain specific problems which appers to have an inspired response to problems, but in fact is operating well within the bounds of our intended software architecture. … | |
Re: I have an extremely dated book called "Beginning ASP.NET E-Commerce in C#" by Cristian Darie and Karli Watson. Unfortunately the tech in the book is old. It's vanilla ASP.NET, instead of ASP.NET MVC. It does go over the fundamentals of this however. I am trying to transcribe it to something … | |
I started working on a windows forms authentication project, which uses nhibernate, and has some management pages for managing user settings, such as resetting user password. This forms based authentication uses session state in order to save the user's authentication information. I will be using a special authentication attribute in … | |
Re: You could use an object relational mapper and JSON.NET to read the JSON into a model, and then persist the data to a database table, relational style. I have never stored JSON in the actual database. The Object relational mapper could then read the object into the model, and JSON.NET … | |
Re: A regular expression or reflection may work. | |
This is surprisingly difficult. Consider it a snippet. Deletes all tables from a sql server schema. Useful for those times on your dev machine where you need to tear down all the cruft that has built up on your server due to refactoring of object relationally mapped tables. --Author: Cameron … | |
Re: All e-commerce sites require SSL, otherwise people can skim your user's credentials as well as their Credit card numbers. Essentially they craft a regex that matches the credit card number that is applied to a certain page which is returned to the server. The man in the middle acquires the … | |
Re: I have like a $900 one because I need to run virtual machines on it for my servers. It was a gaming one. Has a glut of RAM, and supports Hyperthreading, which from what I understand is very good. Hyperthreading essentially has one CPU but it timeshares the CPU among … | |
Re: No, you are wrong. C is not C#. C# is built on a common language runtime with a just in time compiler. C# is c-esque, but not C. C# is more akin to a refined language such as Java. In fact Java has recently tried to emulate some of C# … | |
Re: One of the things I had to learn is first, there is always a database. Second, always go back to the database in order to get current data, don't rely on cached values, each page always goes to the database for all persistance. Furthermore your database entries should reflect your … | |
I had a cool idea concerning threading in C#. I was reading a book called "CLR via C#" and it was discussing threading, and how people should seldom use actual thread objects, and instead should use the thread pooling services. The reason being they spool up worker threads for you … | |
Ok, So I have an instance of **Windows Server 2012 R2** installed to a virtual machine on my local development PC with **IIS** . The idea being I need to practice and learn about how to deploy sites to web servers. I have tinkered around with some of the settings, … | |
Re: I hope it is not too intrusive for me to provide a little sample code... The object relational mapper would probably be your own responsibility. Object relational mappers pull objects out of the database and map them to properties in your objects, the model. You would have to determine the … | |
I have a bootstrap view which I am trying to get a modal working for. Unfortunately the modal is displaying as part of the page, not invisable. So it is displaying with it's content as part of the page. Here is my code: <!-- Placing excel upload modal here... --> … | |
Does anybody know whether System.Data.SqlLite has the capability to do a Change notification callback when one of it's tables is changed? I know that Python can do it by calling the C api, but This is kind of beyond me. I know I have done this before on an oracle … | |
I need some help building a bootstrap Angular UI modal. This is what I have so far, but I am pretty sure it is wrong. Any assistance would be good. This actually appears to be doing mostly bootstrap stuff. It was originally jquery, but I figured out the hard way … | |
Re: You don't speak english that great, but what I think you want is to enable both sql server authentication and Windows Authentication, aka Mixed mode. I only have sql server developer 2014, so it is probably all different, so take this with a grain of salt. Open Micorosoft SQL server … | |
The following is the correct way to do encryption. I thought it useful to post for various reasons, most particular being the necessity for our companies to have good security controls. This is very important. If anybody has any other good snippets feel free to post. The user class is … | |
I think the community in general will benefit from this discussion. I have an IT horror story I would like to tell everybody about. Additionally I have discovered some solutions to some IT problems, which may have been faced by others in the community. A few years ago I started … | |
I have a question about the dining philosopher problem. This is not about homework. I seem to have solved it, does it actually relate to anything? Is there any software that actually requires it? | |
I am trying to write some symmetric cryptography for holding an FtpCredential in the database, unfortunately I am having a few problems, one of which is getting back gobbley gook from a crypto decoder. I have trimmed it down to just the bare minimum code. Please look at the SetPassword … | |
I am creating a reporting engine, it is kind of novel. **The only question I have is what are some of the wierder scheduling related things you guys have seen for you cyclical computer programs to date**. I am trying to cover as many fringe cases as I can, and … | |
I have a web application I am trying to obfuscate portions of it, but use library mode so that all the public portions of the application should appear with names unchanged so it is accessible to the web. So I am trying to obfuscate some parts and not others. The … | |
I am creating an application that uses NHibernate, an object relational mapper that is a port of the Java Object relational mapper hibernate. Currently I am trying to represent my entities via hibernate xml files. The application I have right now is throwing an error I am thinking may be … | |
The following lines do not work. The bool is always false. I have been having trouble getting danni's site to work so if the reply is too short it's 'cuz I typed in the longer version three times and got errrors. FormsAuthentication.SetAuthCookie(login.EmailAddress, login.RememberMe); bool isauth = User.Identity.IsAuthenticated; | |
I have the following error as part of my nhibernate project; **Could not find a setter for property '0' in class 'AdHockey.Models.User'** The following is my model; public class User { /// <summary> /// Unique identifier for group used by program and database layer. /// </summary> public virtual int UserId … | |
Is it possible to make a web page that takes up responsibility for backing up a web applications tables(Oracle DB, and perhaps SQL server I am trying to be multi db supportive)? Essentially I want to create a database backup script that is kicked off by pressing a button on … | |
Re: I don't know, I have been told by some developers that Entity Framework is one of the "new things" in database development only recently (looking up some info on google, it originally came out 7 years ago, but is still under active development). I got some books on the subject, … | |
Re: What exactly is this encog stuff? I remeber buying a book on C# web bots by the same guy that made encog, and all I got out of it was poorly documented loops conditionals and logic. At least I think the same guy that wrote encog wrote this stuff. Http … | |
Hey guys, have you ever had an application where it was necessary to stuff a large base 64 string into a ticket tracking application? It's a javascript variable which is being stuffed. I am seeing some strange stuff in one of my work place's web sites. I was wondering if … | |
I am trying to build a program for transferring files to an arduino project with an attached sd card. I have some code, it does some interesting stuff, but it's not quite what I want it to do. What I need it to do is to be able to transfer … | |
Re: Do you know much programming? Reason I ask is that if you intend to code your own 'server' software, you could implement a journaling type setup for your hard drive. You could do this with application code, doing so just requires some interesting interfaces etc. First found out about the … | |
Re: They have some good points. You see, when you use ssh, or ssl, or some form of encryption you not only verify that no-one has modified the transmission in transit, you have what is called 'attribution' because you know that 'this transmission' has come from 'this address', and you know … | |
I was wondering if there were any USB powered web cams for the Raspberry pi that are specifically No-IR. I know about the camera module which plugs directly into the board, I was wondering however if there are any alternatives, usb powered so I could perhaps plug in more than … | |
Re: You mean you want these two classes to be, perhaps used in the same array, or code etc as if they were the same type of object? Perhaps the adapter pattern is what you are looking for? I haven't used it that much so I defer the example code to … | |
Re: Dude, Bit-torrent isn't illegal. Just use wisely. What you download could be illegal, but lots of sites use it to conserve their server's bandwidth. It could be illegal in your country, but I doubt it. |
The End.