Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

Daniel Petersen

@Daniel Petersen
About
Posts
10
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Looks like I may have to give up consulting
    D Daniel Petersen

    I alluded to this in my posting but essentially right now an S-Corp is taxed as a partnership, which is the same way an LLC can be taxed. Avoiding the SS the way an S-Corp does started with partnerships. The only real reason for using an S-Corp vs a partnership is liability protections and the ability to issue stock (both of which an LLC gives you as well), other then that they are taxed the same (IRS Schedule K-1). The law in question only affects the taxation of S-Corps but does not change the taxation of partnerships which the LLC falls under unless the LLC elects to be taxed as a corporation. This new law is not only foolish in terms of penalizing small businesses but also for creating a new form of taxation that will cost more to enforce than it would generate in revenue.

    Daniel Petersen

    The Lounge csharp com tools question

  • Looks like I may have to give up consulting
    D Daniel Petersen

    Just reorganize as an LLC and your problem is fixed. If the bill only affects S-Corps then you are home free. LLCs can elect to be taxed as either Partnerships (Like the way S-Corps were taxed) or C-Corporations, and they can elect one time to change that taxation status. I've run several businesses and the LLC is by far the best and most flexible form of business. There really is no good reason to be an S-Corp anyway, since there are so many restrictions on number of shareholders, plus the complexity of running a corporate structure. With an LLC you get the relative informality of a partnership with the liability protections of a C-Corp.

    Daniel Petersen

    The Lounge csharp com tools question

  • Problems with image rendering in IE6
    D Daniel Petersen

    Yes I have tried launching the page from several different machines, all with the same results. IE will usually act like it is trying to download an image but is never able to complete it, yet Firefox will grab the images and displays them without any delay. Sorry about the typo I did mean src not source, thanks Daniel Petersen

    ASP.NET help database html graphics performance

  • Problems with image rendering in IE6
    D Daniel Petersen

    I have been having a problem with IE6 not rendering an image retrieved from a MS SQL 2000 database, however, Firefox will render the image just fine. I have tried ideas to fix this from a number of sources but nothing works. The HTML that retrieves the images looks like: resource.aspx is handled by a custom HttpHandler for performance reasons, here is the code to it. using System; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Web; using System.Web.Caching; namespace naulor { public class Resource : IHttpHandler { private string conn; public Resource() { conn = (String)System.Configuration.ConfigurationSettings.AppSettings.Get("sql_app"); } #region IHttpHandler Members public void ProcessRequest(HttpContext ctx) { if(ctx.Request.Params.HasKeys() == true) { Byte[] data = (Byte[])ctx.Cache[ctx.Request.Params[0].ToString()]; string mime = String.Empty; string title = String.Empty; string extension = String.Empty; if(data == null) { SqlDataReader reader = null; SqlConnection cnn = new SqlConnection(conn); SqlCommand cmd = new SqlCommand("GetResource",cnn); cmd.CommandType = CommandType.StoredProcedure; cmd.CommandTimeout = 30; cmd.Parameters.Add("@ID",SqlDbType.BigInt); cmd.Parameters["@ID"].Value = Int64.Parse(ctx.Request.Params[0].ToString()); try { cnn.Open(); reader = cmd.ExecuteReader(); reader.Read(); title = reader[0].ToString(); mime = reader.GetString(1); extension = reader[2].ToString(); data = (Byte[])reader[3]; ctx.Cache.Insert(ctx.Request.Params[0].ToString(), data, null,DateTime.Now.AddSeconds(300),TimeSpan.Zero); } catch(Exception ex) { System.Web.Mail.MailMessage msg = new System.Web.Mail.MailMessage(); msg.From = (String)System.Configuration.ConfigurationSettings.AppSettings.Get("administrator"); msg.To = (String)System.Configuration.ConfigurationSettings.AppSettings.Get("developer"); msg.BodyFormat = System.Web.Mail.MailFormat.Html; msg.Subject = "NAU LOR Resource Error"; msg.Body = String.Format("An error occurred while performing**{0}** The error was: {1}",ex.Message,ex.ToString()); System.Web.Mail.SmtpMail.SmtpServer = (String)System.Configura

    ASP.NET help database html graphics performance

  • An American scapegoat in London
    D Daniel Petersen

    I have talked with several people who were involved during the Vietnam war, and they have stated that America is quite a bit more divided now than during Vietnam. I would be inclined to believe them since they are very credible sources from all sides of the conflict (political, military, and former civilian activists). This conflict has not only divided people along political lines, it has divided entire families. As such I would have to disagree with your view point, but in the end I think history will have to decide how the affects of this conflict compares to those of Vietnam. Daniel Petersen President Pulsar Enterprises, L.L.C.

    The Back Room html com tools question

  • An American scapegoat in London
    D Daniel Petersen

    Just because something has been done in the past, does not make it right! In fact it relates to the dangerous nature of our governments more recent activities. If the federal government makes laws, and later chooses not to follow them because it is inconvenient, then they are not laws at all. If our government is willing to violate a constitutional law that has been unchanged since our countries formation, then what’s to stop them from violating other sections of the constitution, like the Bill of Rights? As far as your reference to Section 8 Clause 10 “To define and punish Piracies and Felonies committed on the high Seas, and Offences against the Law of Nations;” The Senate did follow proper procedure when it authorized the president to use force as a last resort to enforce the UN resolution. However, he did not use force as a last resort, and he did not use it to enforce the UN resolution. The UN Resolution only called for Iraq to fully disclose to weapons inspectors, its WMD programs so that they could be dismantled if they existed. This does not mean invading the country and destroying its government before allowing inspections to continue, which was completely unnecessary. Furthermore, once Bush crossed the line by openly stating we were going to war with Iraq, he invalidates the use of Clause 10 and brings up the use of Clause 11, which states that only the Senate can declare war. Thus, IMO he overstepped his authority, but the only way to get a direct answer on whether this is to proper way to interpret the constitution would be to take it to the Supreme Court, and no one seems to have the guts to do that yet. I do not dispute that we have the right to defend ourselves against Al Queda, or to bring Bin Laden to justice, because we clearly have that right, but I still think we should hold our government accountable for following its own laws in doing so. I agree that the president’s oath and responsibility is to protect the US and not the UN, but it was agreed when the UN was formed that it was in our best interest to work within its framework. It is unwise for our government to take arrogant unilateral action on matters of diplomacy, and in effect anger our allies because we are heavily dependent upon foreign oil and foreign investment. Both of which could easily dry up if Bush goes too far. It may not be the quickest or most convenient way to do things but it tends to work better in the long run. Daniel Petersen President Pulsar Enterprise

    The Back Room html com tools question

  • An American scapegoat in London
    D Daniel Petersen

    I would say that we are at least as violently divided not as we were in Vietnam, possibly more so, which is scary. The problem that makes this time around more serious is that you have an already politically charged atmosphere and then you add in a mounting sense of economic hopelessness, because people who have worked hard to get professional college degrees are becoming just as poor as the factory workers who lost their jobs to earlier outsourcing. Added to this is a rising cost of living and a shrinking paycheck, if left unchecked it makes for a situation that historically has led to governments being overthrown, look at what happed in Russia with the Czars or the Revolutions of France. There is clear historic precedence for civil up rise in these circumstances if things are not changed. We need a president who realizes the dangers we are facing and will do something to calm the situation down. The USA is the longest surviving democracy in the history of the world, but all things eventually come to an end, I just hope that it doesn’t happen if my life time. Daniel Petersen President Pulsar Enterprises, L.L.C.

    The Back Room html com tools question

  • An American scapegoat in London
    D Daniel Petersen

    America has just as many intelligent people as any other country, our problem is that we can't seem to keep the most ignorant among us off the television and out of politics. The "American Stereotype" is primarily due to this ignorant group, which Bush is part of. Many people do not recognize it but the current political climate in America is very dangerous. We have not been this violently divided as a people since just before our Civil War. If another fiasco like what happened in 2000 were to occur this year, and Bush gets installed as president by the Supreme Court again, it would not be unreasonable to expect a lot of violent civil up rise. The reason I say this is that after the 2000 election, the American people do not have a great deal of faith in the US government, and if the same thing happens, what little faith still exists may be shattered forever. I don't mean to sound like a radical alarmist, but this is what I am seeing everyday where I live. Personally, I find it impossible to respect a man who undermines 50+ years of diplomatic work by charging into a conflict like some Texas gunslinger. Not to mention the fact that our president has been called incompetent by a lot of very credible people (senators, ambassadors and other diplomats). The other problem I have, is that according to international law, president Bush is a war criminal. He attacked a sovereign nation without an explicit UN mandate for war, and without having been attacked first (Iraq was not part of 9/11). This is further complicated by the fact that according to our constitution, he does not have the authority to take America to war, without an explicit declaration of war from congress. Our founders made that check and balance to avoid this very scenario, but for some reason, congress did not stop him or force him to go through the proper procedures. The US constitution does not give the president the authority to override the law through fancy wording like "Policing Action" or "Enforcing a UN Resolution", war is defined under international law as being 'any offensive military or paramilitary action taken against a foreign entity' not necessarily a country, so we should have declared war on Al'Queda before he had any authority to have the troops attack. Daniel Petersen President Pulsar Enterprises, L.L.C.

    The Back Room html com tools question

  • google popup blocker
    D Daniel Petersen

    Really? When I tried to update my desktop the first time, I could not even login to my system, it kept on giving me all kinds of error messages about the login security table being empty. I tried a fresh install, and at least that time I could login to my PC but the system always came up with at least 100 error messages on startup, and was very unstable. I think I will wait until SP3, it seems that odd numbered service packs from MS work better. Daniel Petersen President Pulsar Enterprises, L.L.C. www.pulsarenterprises.com

    The Lounge question announcement

  • Need some Advice (long)
    D Daniel Petersen

    I know exactly how hard a situation this can be. I am currently going to school full time for my Master's Degree, working full time, trying to build a business part-time, and raising a family. A few of my instructors and co-workers have told me that I have way too many full-times in there. If you work full-time and go to school full-time as well, your headed into nothing but trouble. It may work for the first couple of years, but when you get to the upper division courses your grades will really drop off. Everyone rants about how great a college degree is, but when I got my B.S. Computer Engineering degree, I found out just how worthless they can be. What you have with that appraiser job is solid gold, hold on to it as tight as possible. Learn everything you can about real estate and business, stockpile your assets and get ahead in life while you can! After what I just said many would ask why am I getting my Master's Degree. The simple answer is that this particular degree teaches very specific useful information that I need to run business operations more smoothly, but I still fee that the B.S. was absolutely worthless, especially after the whole outsourcing thing. That's my advice, take it or leave it. Good Luck! Daniel Petersen President Pulsar Enterprises, L.L.C. www.pulsarenterprises.com

    The Lounge linux business help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups