Yes, I'm pretty sure this is why Object.clone() exists in Java, and I'm pretty sure there's a .NET equivalent.
Posts made by mountain
-
RE: .net parameters
-
RE: Security Scan
Well, if no one can view your web application, then it's completely secure, right?
-
RE: Security Scan
Disable HTTPS and inform them that the problem has been solved.
-
RE: On today's episode of "Stupid Use Of Glass"...
@blakeyrat said:
If the developers of NetBeans didn't get such an easy and basic detail right, how many other things do you think they got wrong? If they didn't even give the slightest FUCK to make sure the most basic thing worked, how little of a fuck was given over the rest of the product? Seriously, it's just shameful. Again: someone looked at this product, this product that can't even draw a font correctly, and said: "hey this looks good, let's ship it."
Welcome to the Java community! Enjoy your stay. -
RE: Another of IBM great ideas!
If you work in a company like this you're encouraged to file as many patents as possible for any possible idea. And they'll make it clear to you that you're never going to be promoted beyond a certain level if you haven't accumulated a certain number of patents filed (think 10, 20, 50 or even 100+ patents).
It's probably a small group of 2 or 3 people who made a writeup, submitted it to a lawyer, the lawyer decided it was novel enough to get through the patent office, then a review board looked it over and found no obvious flaws or prior art that would sink it, then the same laywer did the grunt work to submit the filing. The engineers, lawyers, and executives are all happy because their number of patents submitted went up for the year.
The only real answer is to abolish software patents and come up with some kind of alternative within the trade to protect small guys with new ideas over the short term -- I don't know what that is. But since that isn't going to happen, dumb software patents are going to go on for another 20 years or more and it's barely worth noticing.
Not that this patent is automatically terrible, it sounds like something I might come up with a use for while I'm in the shower or something.
-
RE: The mark of the geek
@Renan said:
Sounds like you've covered all your possibilities.So I've been thinking about getting a tatoo to celebrate it. Something that has to do with the profession I chose to earn my bread. I've been thinking about it, but most things that come to mind may either:
- become obsolete in five to ten years (and if I'm to ink myself, I'd like for it to be timeless).
- rub people the wrong way. I think tatooing a bar code on my right hand would cause some impression on every other religious crackpot around. Specially if I get another bar code on my forehead to match.
- be so cryptical to layspeople, they would keep asking what it is and I would have to explain it every time ("you see, 10 is only ten in base ten. In base two 10 is two. So that's why there are 10 kinds of people...")
-
RE: Skyrim is weird and confusing?
I read this trainwreck of a thread before I bought the game. Now I've been playing it for a while and I think I'm about halfway through the main quest.
There are SO many strong female characters in this game -- royalty, guard commanders, warriors, merchants, wizards, etc. By and large those female characters who have authority are obeyed without question and no one ever gives them shit. Maybe there's a few lewd comments in books and throwaway dialogue from male characters, but I've hardly noticed.
Of course, for my character, all problems are eventually solved by repeated application of warhammer.
-
RE: Posting on the Something Awful Forums Costs $9.95???
Hack into the forum and steal passwords, problem solved.
-
RE: Out-of-the-box workflow at it's best
So you can't deal with a little boolean logic in an if test? Sigh...and I bet you call yourself a programmer...
-
RE: Cisco aligns with competitive reality
@El_Heffe said:
Have you worked in a company before?http://www.zdnet.com/blog/btl/cisco-preps-layoffs-aligns-with-competitive-reality/52219 @. said:
Cisco is reportedly preparing to cut anywhere from 5,000 to 10,000 jobs
by then end of August as it adjusts to the reality that it can’t command
the prices it wants for its networking gear.Wait . . . What? They don't seem to be saying that they are selling less equipment, just that they have to sell it at a lower price due to competition from other companies. Since it takes a certain number of people to manufacture the equipment and run the business, and they aren't claiming that sales are down, isn't this an admission that they currently have about 10,000 people who aren't really doing anything worthwhile?
-
RE: Mozilla have lost their mind
I guess I'm not getting the outrage. I jumped onto Chrome a long time ago...I never know off the top of my head what version number of Chrome I run, which is a pretty good indicator I have a browser that's working the way I want it.
It's Mozilla's problem that they lost their way after Firefox 3...if they can pull off, dare I say, a more "agile" release schedule, that's fine for them. Whatever privacy features come out in the next Firefox release will come out in Chrome extensions, one way or another. I think their big problem is that extension developers have gotten used to working on Chrome by necessity (see Adblock Plus et al), while Firefox has stagnated.
I did find out this week that Seamonkey is a nice Linux HTML editor tor the simple jobs I need it for.
-
Get over it.
Nice to see code once in a while that's so self-assured...
/* ObjectPtr--Required. If a XXXXXXX template is provided, /
/ this is the address of a system pointer. /
/ Otherwise, this is the address of the object /
/ itself. Or, the address of the process when /
/ there isn't a specific object. Or the set /
/ address after process is set up. Get over it. */ -
RE: It only fails in production.
Edit: Oh, apparently you've fixed it already. Since there's literally thousands of possible reasons why a given SQL statement may or may not work, I guess I don't really get the humor of this thread. If it's actually funny, why not post it?
-
RE: She didn't like 'like'
@Aaron said:
a lot of programmers are really, really horrible at data access.
There's the answer for you -
RE: Shining examples of C++
There's a good point here, is there a good intro or walkthrough for the most-popular Boost libraries? I can't just start hacking it into a project, I'd like to do some sandbox coding with it first
It seems like their site documentation is pretty much "Here's a bunch of crap, have fun!" It looks like there's a TON of stuff there and it's probably something that C++ desperately needs (not for every project, but many of them)...but I'm just not sure where to start.edit: Okay, there's http://www.boost.org/libs/libraries.htm -- it seems pretty well organized. I guess you just have to pick what you need and learn from there.
-
RE: Why is using built-in IDE features and wizards a bad thing?
I think this specific example is a case of a situation where Visual Studio is just plain a better tool because of all the money and expertise pumped into it. There are many Eclipse plugins that try to do the same type of thing you're describing above for Java development and they don't seem to catch on outside of a niche market. Some of these plugins are actually quite good but they cost money, and honestly no one is going to pay money for an Eclipse (or NetBeans) plugin no matter what the productivity increase is. I don't know if it's the limitations of developing for Eclipse, or the "Java community culture" or what. I have not used IDEA. I have used Rational Application Developer and MyEclipse and those both try to offer as many wizard-driven features as possible, because they know that's what paying customers want. If it costs money, most Java developers will never be aware it exists. I'm not saying Java developers on thedailywtf.com, I'm saying Java developers in general.
.NET has the advantage of being in bed with Visual Studio, so they can come up with that kind of functionality and have everything work out great. Sun tried to create a competitor to ASP.NET with Java Server Faces, with the idea that developers could create wizard tools to build websites in a Visual Studio-like fashion. But it seems to be a failed experiment. I think JSF could be successful as Sun intended if the Java community rallied around it, whatever faults it has, but it seems like most are happy to stick with Servlets/JSP and use Apache Struts as a framework if they feel they must have one. As a result the free tools (i.e. the ones people actually use) are anemic at best.
I'm not saying it's bad one way or another, and I don't mean to imply developers are cheapskates but this is the way it is as I see it. I think it's a vicious cycle where Java developers look down on IDE automation and wizard tools because the ones available for Java are ineffective, plus it smacks of the "hated enemy" Microsoft. As a result, nobody invests in those tools so they never improve very much, thus propagating the cycle.
Also, if Visual Studio generates some code for a DataSet application, you know how that code is going to look for ANY such application and you know what the dependencies will be. And you know it's ALWAYS going to work on VS and IIS because that's your environment. Java developers fear vendor lock-in if they ever use any advanced IDE features, because they will include dependencies and jar files that will break if you ever move to any other IDE, application server, or JRE version. Try using Rational Application Developer to develop a Java Web application, then deploying that application on JBoss. Or try deploying a Liferay Portal Server portlet on WebSphere Portal (not sure how bad that is these days). Integration and environment issues are, ironically, the constant enemy for Java Web applications.
-
RE: Know any good software dev blogs/websites?
Wow, I'm in your situation just out of college and this is the same way I feel. A couple years ago I would stumble onto a site like theserverside.com when searching for an answer to a question...then I'd read the blog posts on a regular basis because I often didn't know what they were talking about. Of course, by far the most interesting reading was in the comments, when someone bothered to make an insightful one.
codinghorror is bad like this too IMO. I don't really want to trash anyone who puts a lot of effort into a site but I just sort of roll my eyes and go back to whatever I was doing before. dzone posts a great interview or reference link now and again, but mostly it's just "Ruby: Great or Greatest Programming Language Ever?"
I'd really like to find a good website or forum about C++ and systems programming, but there's nothing out there. Not trendy enough, I guess. And honestly I could read a forum like cprogramming.com or something, but I don't really want to spend a lot of time troubleshooting other people's problems and why would anyone else?
-
RE: A Newbie Coding
If you're a big Unix person then you might want to check out the book Minimal Perl. You don't have to learn all the gory details about Perl but it would be enough material to get started thinking like a programmer.
I'm not a huge fan of Perl but it's something that just works on any Linux or Unix system. It's also useful right away for solving problems. I never used Python or Ruby so I can't comment.
I've seen battle-hardened veteran programmers try to learn Java, only to throw their hands up in confusion and despair when they try to do something important and their Eclipse build path breaks or they start getting ClassNotFoundExceptions (which is always). Visual Studio works great most of the time but when it breaks it breaks hard, and it's not exactly multi platform.Here's the progression of how I learned to program, but it wasn't pretty:
- Early high school: Wrote some QBASIC programs, and read Teach Yourself C in 21 Days (*sigh*). Just dicking around trying to create games. It didn't go very well.
- Late high school: PHP and C++. I hacked together PHP for some webpages and picked up C++ for a programming competition I did in high school. That wasn't too bad since I already knew some fundamentals of C (i.e. I knew what a pointer was, I knew about printf, malloc, free, etc). I didn't win the competition though, I knew nothing about data structures or file i/o.
- First year college: Java. That wasn't too bad since I was comfortable with C-style syntax and I vaguely understood "object oriented" from when I was trying to learn C++. It took me a while to get interfaces and event handlers.
- Second year college: Took a C++ class which filled in a ton of gaps in my knowledge. I somehow got hired for an internship where I had to write a J2EE application. I realized I knew nothing about real programmers used Java, and experienced my first death march project. Then I got another internship where I did a bunch of C# web programming. I'm glad I got the chance to do serious work in both Java and C#.- End of college: Took a class about Lisp and Prolog, but honestly I never use those languages and I never use the concepts they were supposed to teach. I'm sure most people would say the same thing in private. I did more part-time work programming with Java and J2EE servers. Also did some more C# programming for a class project.
- Now: I do systems programming using C++ and assembler code. It's definitely been a learning experience the whole time. I'd be more comfortable if I was still doing Java, but I guess it's good to branch out and do something completely different.I guess the moral is: If you learn one language well, it gets progressively easier to learn everything else. I don't recommend starting out with QBASIC, PHP, or Teach Yourself C in 21 Days.
-
RE: Are you artistic or logic?
That's weird, I looked at it and it was OBVIOUSLY moving counter clockwise. Then I went back to this thread, went forward again to the link, and it was OBVIOUSLY moving clockwise. It's a cool optical illusion but I don't think it's any deeper than the old "fold your hands together and see what thumb is on top" trick.
-
RE: Microsoft to release the source code for the .Net Framework Libraries?
@asuffield said:
Microsoft have made all their source code to Windows available for several years now. It's under a "look but don't touch, and your soul is now ours" license, and they really do use that to control everything your company does from that point on, but it's there.
I have never heard of this; I'm assuming it's only offered to corporate customers through a special contract? I could never go anywhere near Microsoft's code since I do systems programming for a competitor.
Honestly, I've respected Microsoft for creating user friendly software and dominating the marketplace. But with the Vista release and Dr. Evil-esque moves like this, it's like Microsoft is becoming a parody of itself.
-
RE: Sexism in IT part2
@Random832 said:
[quote user="Renan "C#" Sousa"]The last seven posts were a fine example of why there are so few women working in IT.
The T-shirt itself might be, but the posts were just nitpicking its design.
[/quote]I think he meant the seven-post thread derail discussing something that's completely extraneous to the topic and no one cares about at all. Unless you were being sarcastic? Maybe I just can't tell.
-
RE: Date WTF
I don't get it. If the negative dates are offset relative to 1970, then if you printed out the negative dates, wouldn't they show up as 1943, 1944, 1945, etc? Or did you get huge negative values (due to overflow or something) that went so far back that the date really was 2007 BC and if you flipped the sign the dates would show up as 5947 AD?
-
RE: Avoiding the appearance of a lengthy survey
I got my degree from COLLEGE OF AGRICULTURE & LIFE SCIENCES (Heading - skip)
-
RE: Sexism in IT part2
The development organization I work in is about 4:1 men-women, but we do have hardcore female programmers. They're all married with kids and they've been doing this for 15-20 years or so. They're probably not hacking the Linux kernel in their spare time, but neither is anyone else here. Their husbands more often than not work in the same company. My particular team is all male though.
When I was in college it was your typical CS department with 1 female senior every year. From the ridiculously small sample size I know, I'm surprised how many seek out jobs in hardware engineering. I thought that was even more stereotypically dorky and male.
Then again, just read this site; maybe they're smarter than us for not working in this industry.
_________________________________________________A few minutes ago I was browsing through Think Geek. I found this, which I think has to do with the topic:
-
RE: Error? Just log in again. Or not.
kix32.exe - Kid tested, mother approved.
-
RE: Shame on the majority of the internet for not building in support for the character ҉
I don't care how it affects Unicode rendering, what does the character MEAN? We'll never know, apparently.
-
RE: Clueless programmers are bound to be like that forever...
I'm not reading the article and I don't want to be too much of a bleeding heart, but it sounds like maybe it's the class that sucks.
Honestly, most "intro to programming" courses are not very good and if you try to educate yourself it's really easy to be sidetracked and led astray, especially on the Internet. Before I went to college I did enough simple programming to breeze through the intro courses, but I still learned a lot about data structures and OO that I wouldn't have figured out myself. But if you're not really comfortable with programming as a physical activity, those principles of good design -- that they try to hammer into you in the beginning -- won't make sense. Once you get out of school, your employer spends exactly zero dollars on training and it's a crap shoot whether you have mentors that care about code quality or not.
I think education is the biggest problem in this industry.
-
RE: Just got the boot
I'm been at my job almost six months and I still feel like I'm in way over my head. Like a sheep to the slaughter, I took my Computer Science degree from my JavaSchool and walked into a systems programming job with no idea what I was getting into. I had an internship before I got hired but I was doing Java/webapp stuff then.
A bunch of my co-workers have been maintaining this product since the mid-90's and they still have to deal with the unknown every day. The code base is simply too huge for any one person to truly understand most of it, the best you can hope for is to master "your" piece of the stack. I've surrendered to the fact that I'm going to be against a constant learning curve as long as I have this job.
Now, one point where I did feel I screwed up was not taking the initiative to really dig into the build process and ask more fundamental design questions early on -- as in the first month. When I had questions I felt that I "should" have known the answers and held my tongue, or I was really just too confused by the jargon to formulate a proper question. I've learned enough to get by and people still tell me I'm coming up to speed well, but I know I blew it to an extent and I'm trying to make up for it now. Trust me, in your first two months no one expects you to really know your job, so you might as well play the part of the clueless newbie.
Obviously there's a line between seeking mentoring and just pissing people off, but if you at least try to work through problems yourself and fail before seeking help, people will understand. I'm very stubborn so "working through it myself" means spending days googling and trying to reverse-engineer source, when I should have just stopped by someone's office and asked them a casual question after an hour or two of being stuck. -
RE: So what is it like out there? In the world of Software Development?
Well, I just graduated from college and got a "real" programming job doing C++. Beforehand I had internships working on stuff in Java and .NET. The job market's pretty good right now, so hopefully that holds out for the next few years.
There's always a possibility that any certain company has something written in some obscure legacy language or framework that you could be hired to maintain. And there's lots of jobs out there that let you do plain old C++ or .NET programming. In my own opinion it's uncommon for interns or new hires to design new software products, but if the company wants a new tool or a quick-and-dirty business application, they might let you build that from scratch as a "warm up" project. But in my very unscientific opinion, I think only 10% of professional developers are designing brand new software at any one time. It's much more common to be working on bug fixes, patches, refactoring or adding features to an established project. Sometimes that can be exciting work, sometimes not so much.
Different departments in the same company might have completely different requirements, so you might interview with some guy who does ASP.NET and SQL for a living and get assigned to another manager who wants you to write Visual DataFlex for the rest of your life. You just have to take charge of your career and market yourself to companies who need you to do what you like to do (if that makes sense).Take the time to figure out how the company works, how your boss works, how they do recruiting, how they work with customers. That's really valuable information to learn at this point. Keep up studying on your own, and figure out how to market the skills that you're learning. In other words, when you learn something new, think about how you would apply it to your current job. Keep that knowledge that in mind when you write your resume and go to interviews.
Anyway, that's my advice, hope I didn't come off as too much of a tool.