Some friends and I have set up a board to talk about the socio-political issues surrounding IT careers. I think it is imperative that we stop shipping our IP overseas and our jobs without some controls. YOu may agree or disagree...we welcome you to post and tell us how you feel about it. Hopefully something constructive will come of it. Cheers. http://endangeredIT.xlan.org
sharkfish
Posts
-
is IT endangered? -
please helpFound the answer: HttpWebRequest myReq = (HttpWebRequest)WebRequest.Create("http://del.icio.us/api/posts/add?&url=blah"); myReq.Credentials = new NetworkCredential(username, password); WebResponse myRes = myReq.GetResponse(); myRes.Close();
-
please helpI can execute a URL on someone else's server (del.icio.us) if I type in the URL, but for some reason, the same URL gives me a 401 error when I try to execute and stream the result (which is a bit of text as an xml result code) using an http stream reader or xml reader object. Please please give me any pointers. I've been searching this issue for two days now. I don't get it. What process am I utilizing when I run the URL in the browser that gives me the different result? How can I use this same process, but in my code? del.icio.us usese Http basic authentication, by the way.
-
at my wit's end: http authdel.icio.us links uses http auth. I send a link such as: http://username:password@del.icio.us/api/posts/add?&url=http://www.engadget.com/&description=engadget&extended=engadget&tags=blog&dt=3/10/2005 12:34:49 AM with my username and password, and I get the little xml snippet via html <result code='done'> If I try to grab this result code with
string lcUrl="http://username:password@del.icio.us/api/posts/add?&url=http://www.engadget.com/&description=engadget&extended=engadget&tags=blog&dt=3/10/2005 12:34:49 AM" // *** Establish the request HttpWebRequest loHttp = (HttpWebRequest) WebRequest.Create(lcUrl); // *** Set properties loHttp.Timeout = 10000; // 10 secs loHttp.UserAgent = "code I borrowed trying to do this dang-it!"; // *** Retrieve request info headers HttpWebResponse loWebResponse = (HttpWebResponse) loHttp.GetResponse(); Encoding enc = Encoding.GetEncoding(1252); // Windows default Code Page StreamReader loResponseStream = new StreamReader(loWebResponse.GetResponseStream(),enc); string lcHtml = loResponseStream.ReadToEnd(); loWebResponse.Close(); loResponseStream.Close();
I get the 401 error. I am trying to stream out the result code so I can store it in a string variable. Any guidance is appreciated. -
Worse case election scenarios...I absolutely agree that this will happen and it is happening already. I happen to be one of those that believe we are slowly morphing and the religious zealotry is at the core of the beast that is taunting more rational people to become angry enough to drop everything and retaliate.
-
New Development BlogI am curious as to why your employer preferred Java over C#. ??? Thanks!
-
Worst performance ever!GISNet...I clicked on your site...I saw this KnowledgeGEEK Geek used to be a four letter word. Now it's a six-figure one. I just want to know...since when do geeks make six figures? Just asking. Maybe in 2000, but not now, ya know.
-
Joel on SoftwareNow, if only someone could write a set of browser independent controls, generated by XAML style markup that talk SOAP back to buisiness objects located on the server to minimise postaback and get it to run on Mono.. Shame I am too damn lazy/employed. Are you sure this isn't being developed by someone already? If so, I would be very interested to hear about it. If not, do you know of any articles to get me started on my own? I have no knowledge of XAML, and only a little bit of experience with SOAP. I need a summer project. ok, maybe this would take longer than a summer :)
-
why you may have bad clicketieshttp://slashdot.org/articles/04/06/15/1427213.shtml?tid=126&tid=95 http://slashdot.org/articles/04/06/15/1427213.shtml?tid=126&tid=95[^] Posted by CmdrTaco on Tuesday June 15, @10:39AM from the point-of-failure dept. katre writes "Checking all my favorite sites this morning, I saw that about half a dozen seem to be offline. Trying to figure out why, I found an interesting article on the front page at http://isc.incidents.org/. Seems that the problems at Akamai are screwing over Yahoo, Google, Microsoft, Fedex, Xerox, Apple, and others. Whatever happened to my decentralized net with no single point of failure?"
-
share sessions between asp and asp.netIs there a canned piece of code out there (C#, preferably) somewhere I can use to share session values from asp.net to asp? I have a couple of scripts I won't have time to re-write, and I'd rather not spend scarce funds on a third party product. Thanks in advance.
-
Session value read only on refresh!I am setting a session value on login to my web site from a radiobuttonlink. The value is read fine when the page is redirected, but of course, when I do an autopostback or submit to the same page, the session value is not read by my codebehind until I refresh the page. Is there a workaround? I'm thinking I will have to also get the value from Request.Form in order to combat this. BUT...I am using a linkbutton to submit the radiobuttonlist value and I don't know how to grab my radiobuttonlist value so that request.form can read it. I'm drawing a blank on this simple issue. It was so simple to do in regular old ASP! Thanks in advance.
-
custom attribute questionIs there a way to set a property of a property, at runtime, then? This is what I REALLY want to do, but I believe this is not possible:
[AttributeUsage(AttributeTarget.Property,Inherited=true,AllowMultiple=true)] public class SecurityInfoAttribute : Attribute { // Private Data private int readable; private int writable; // Constructor public SecurityInfoAttribute(int readable, int writable) { this.security_readable = 0; this.security_writable = 0; } public int Readable { get { return readable; } set { readable = value; } } public int Writable { get { return writable; } set { writable = value; } } } public class employee { string name; [SecurityInfo(getReadSecurityInfo(userId), getWriteSecurityInfo(userId))] string Name{get{return name;}set{name = value;}} }
-
custom attribute questionIs it possible to define an attribute that describes a property of a class at runtime? For example, you have a class called "employee", and it has a property "name". The "name" property has an attribute that tells any calling code whether or not this property is "writable" and/or "readable", even though this property has both get/set accessors. Maybe there is another way to do this, and I just don't have enough experience. Any help is appreciated.
-
need some opinions.I have a hashtable with the object property names as keys, and true/false bit as values. This hashtable represents a security schema. It sets access rights for every property of every object in my application. (I may change the true/false value to some combo of "rwz"..."read, write, or no access"). I want to apply this schema to my classes....I'm wondering if there is something flawed in the following design: In the constructor, I will grab the the security schema and set the initial values of the properties to the values in the security hashtable. When that object is instantiated from within a function, I will (usually) grab data from the database. If that particular property is already set to false (as the security hash directed), then I will not re-set the value from the database. In the client code (ASP.NET pages), I haven't figured out yet how I will gracefully not show those values with the false setting...since they are false, they are not to be shown. If any of you know how to HIDE a column/field in datagrid/datalist/repeater based on property value, I would be much obliged! Thank you for your opinions/suggestions.
-
help I'm drowning in something obviousThanks for your reply. I found my error. It was something unrelated to the issue I posted. Apologies for wasting your time.
-
help I'm drowning in something obviousbut I can't see it! I have a constructor
public nerd(int locNo) { location = locNo }
and a method/function that uses that constructorpublic nerd myMethod(int locNo, divNo) { nerd myNerd = new nerd(locNo); //but here I want to change the value of nerd's location property nerd.location = 9999; return nerd; }
But the returned nerd object from myMethod shows its location property still equal to the original locNo, not 9999. So I tried passing in a nerd object using the ref keyword, and got the same result. What is going on here? Yes, the constructor set the value of location, but then I change that value so I should now see the new value, not the old. If I do this using a ref like so://somewhere in the web page code behind I do this: nerd myNerd = new nerd(6666); public nerd myMethod(ref nerd refNerd, int locNo, int divNo) { nerd.location = locNo; } myMethod(ref nerd, 9999, 1);
I still get the old location number, not 9999. Am I crazy? -
Anybody here worried about their job?You must have decent savings socked away. I wouldn't expect to be able to retire from working in a video store/library!
-
Anybody here worried about their job?I wouldn't underestimate the stupidity of management :doh:
-
Anybody here worried about their job?I am probably an IFTP, but I am also an INTP. I see folks here think they can just morph into anything they want. Sometimes the job market requires things like special degrees, etc., therefore limiting your options!
-
Anybody here worried about their job?Thank you ALL for your perspectives. Your posts have been more valuable than any I have read on any other site/forum. I am in this for the long haul, but the worry eats at me because of my own issues/insecurities. I am convinced that there are more IT folks in the US that will be bounced out of the field because they haven't increased their value/specialization. The best suggestion, by far, is to find a vertical application (someone here mentioned genetics,etc.) and learn how to code for it. My belief is that this is the only way to stick around, along with other specialty niches like the poster that says he does neglected maintenance work on older systems. What I would really like to do is build my own software and sell it. It will be more and more difficult to do this and I simply don't want to have to get out there and sell. But the reality of being a woman and aging will set in (how many over 40, female programmers do you know of), so I need to start saving my money and building my product soon before I get bounced out. Cheers. I hope to be doing this work when I'm 90, God willing.