I fairly regularly send things out with USPS. I find that if your just using normal shipping or the lower teir ones, then yes, the tracking is beyond uselss. For priority or first class mail though, it seems to show pretty much every hop the package takes. I don't use UPS enough to have an opinion, but I can't stand DHL. They've managed to loose my package within the service center twice now (at the time, I was living in a college dorm, and it made it difficult to schedule a pickup and meet the guy so I would drive to the service center, and wait an hour to find the package. Although on the other hand, I didn't have this issue with the DHL in NYC when I lived there). I miss Airborne Express; they were so much better :-/
Posts made by Michael_Casadevall
-
RE: USPS Package Tracking
-
RE: Bizarre "Find in Files" fix in VS.NET, 2005, 2008...?
I've worked extensively with both GCC and Visual Studio (and I use Linux both at home and at work), and suspect most people would say the latter is better. GCC on Windows is extremely painful to use, and as you yourself indicadted, it doesn't have full support for the Win32 API (this is a limitation of the w32api headers package vs. GCC itself).
IDEs work well for many people, and frankly, Visual Studio is one of the best products to ever leave Microsft, and its debugger deminates GDB in terms of functionality and speed (as well as ease of use; although Eclipse+GDB is getting better with each release). There is no equivelent to it on any other platform (XCode is alright, but Eclipse+CDT wasn't that great the last time I used it (I always felt there is a disconnect between the IDE and the build system and it was easy for things to go boom ...); I use vim with cmake or automake on Linux). When I ported a Windows based project to Linux, we used CMake to replace VS based system simply on the grounds that CMake intergrates quite nicely with VS (its not perfect, but its better then any other cross- platform build system I ever saw).
@tster said:
@beau29 said:
I remember once I did a project where I implemented serial communication over a single wire. Obviously, things have to be electrically grounded in a certain way to do this. And I had to learn a great deal about RS-232 and other standards. When I was doing this, I really felt like I was learning about the basics of computing, along with some immutable, universal laws about physics. But agonizing over, say, the ASP.NET page life cycle, or how Visual Studio 2008 compiles resources, or WPF dependency properties, just doesn't rise to the same level of learning or excitement for me. It just feels like I'm playing around in Scott Guthrie's underwear drawer, learning a whole lot of otherwise useless details about someone I don't really like anyway.
Funny, worrying about memory de-allocation and low level communication protocols makes me feel like I'm wasting my time. I program to be as productive as possible.
tster is completely right, do you want to handle everything by hand, or let a computer do what its good at and handle the resource management for you. There are times where low level programming such as hand written assembly are apporate, but those times are few and far between, and quite frankly, using Python (which is my perferred choice of doing quick and dirty apps) works because I don't need to think about it, my programs don't need to be optimized to the every last bit, I can finish my work quickly and not worry about having a crash or other bad things due to user error like freeing on a NULL pointer, or having an off by one error.
@beau29 said:
And I don't think I'll ever quit programming because, quite honestly, it gratifies me to earn a good living doing something that my colleagues say I'm bad at. I've been insulted by people who were probably even more stupid and incompetent than you, and my general response has been to go out into the open market and write myself a 20% raise. Believe me, as I sit here doing real-time programming in C++, I'm not a bit worried about the crummy database programmers (like you, probably) who used to run me down at my old jobs. But if it makes you FEEL better you can pretend I'm rotting in the gutter ;)
Quite frakly, your attitude sucks. People don't call your code or method of doing something crap without just cause. Learn to listen to some critism and maybe, just maybe improve yourself a bit. No matter how much of an expert you are on something, there is someone out there who is 10 times the expert, and by ignoring them, all you do is make yourself look like an idiot to those who you could learn something from.
-
RE: I'm all for activation codes, but this is ridiculous
@morbiuswilters said:
@ender said:
...if they didn't have 8:00 - 16:00 weekdays working hours until recently (now they work 8:00 - 20:00 weekdays, which is just a bit better)...
16:00? 20:00?? Hmm.. it looks like the drunk Slovenian (I know, redundant..) who built your country's only clock may have put some extra hours on there. In my country clocks only have 12 hours, but then again I don't live in a third-world country full of miserable alcoholics who are so poor they only have dirt to eat.
I will assume your not aware that under federal law emergency services* (you know, the guys who come when you dial 911) , as well as all branches of the US military use 24-hour time notation vs. 12? There are plenty of businesses and various government agencies which use 24hour time over 12.
Guess the United States is now "a third-world country full of miserable alcoholics who are so poor they only have dirt to eat."
* - Under the National Incident Management System (http://www.dhs.gov/xnews/releases/press_release_0367.shtm) requires all agencies adopt specifc proceeduces and response plans for handling emergencies across the board. That being said, I'm not aware of a single agency that used 12 hour time even before NIMS come into affect.
-
RE: Please use one of these browsers
I do use Linux as my desktop OS, and I use Windows at work, and I can say pretty clearly, that Javascript/AJAX/etc. support in Firefox for anything that does not require a plugin is identical (its the same codebase, all the javascript engine code is cross-platform compatible)
Now, I'm not going to pretend and delude myself that most businesses care about making their page work in Linux based web browsers. I would however think that businesses would care abotu firefox compability, simply because firefox's usage ranges anywhere between 10%-30% of current web browser usage. At worst, one in every tenth person uses firefox, at best, that goes up to every 1/3-ish. If I was a business with a few hundred thousand hits per day, I know I don't want to loose a potential 1/10-1/3rd of my userbase just because they don't use IE.
Forcibly checking a UA string to exclude based on platform if a site is using just javascript and html, and no platform specific features (which you likely have to go out of your way to use in Firefox; I'm not even aware of any off hand) just shows poor coding or at least, a dangerous unawareness by the developer.
When you take into account that a vast majority of people using the internet only use IE because that's what comes on the computer, and just thinks IE is "The Internet" and not a program for rendering web documents, I consider those statistics pretty good.
As for flash, I don't have a problem with flash in general (aside from the fact that the current implementation at times is extremely slow and buggy, although Flash 10 on both Windows and Linux seems to be a vast improve). I do however feel that a single company with a properiety product like flash should be taken with caution. Say what will you will about IE or Firefox, but no one can argue that you have to pay or reverse enginneer binary formats to create a web page. Given the fact that SWF spec files until very recently were closed (and the current "open" SWF specs still lack parts to allow someone else beside adobe from implementing the spec fully), I would only use flash if there was no other realstic alternative available. Unfortanately, for many use cases, there is no good alternative.
-
RE: An SQL WTF from the Department of Redundancy Dept.
I consider any language that is turning complete to be a programming language.
Depending on the implementation, SQL may or may not be turning complete (I believe MS-SQL T-SQL and Oracle's PL/SQL are turning complete, while MySQL isn't).
That being said, I can't see HTML being a programming language, it is by defintion a markup language, but JavaScript is since it is turning complete.
-
RE: Moderator Thread: Revisited #2
As Alex has closed the banned thread, and there isn't much point to this one, I'velocked both of them for now. If people want them reopened, hitme up on IRC or send me a PM, and I'll reopen
-
RE: Moderator Thread: Revisited #2
I don't have any intention of getting involved with this thread, but first I would like to clear up some things.
I was the one who unlocked the old thread; I had intended to merge the two together, but the forums bombed out with an error when I put in the thread ids to be merged.
Second, Jeff S is correct in his claim that he has not deleted any posts from this thread; every post deleted is archived in staff-only forum called Deleted Posts and there are no posts from this thread in there. I'd be willing to provide screenshots of this forum to prove posts haven't been deleted. MPS: if you wish, I can also post screenshots of any posts from the thread you said they were deleted from.
Finally,while CS does allow post removal without sending the email notification, it does require we type in a log entry, and its logged into the administrative control panel.Alex can check this if you aren't stasified.
-
RE: US DMV WTF
I'm not really suprised considering the trainwreck of beuraracy that powers the DMV (and the US government in general). Not all states are quite this bad, but I know New York and New Jersey often have some of the worse DMV services, requiring to make multiple phone calls and get shunted from department to department, or fill out three or four forms with at the branch office.
On the flip side, the Massachusetts and Flodira DMVs didn't seem quite so bad during the times I lived there, so it pretty much varies from state to state (and in some cases, office to office, since some are seemingly working towards streamlining the process). -
RE: All tags need to be closed
How the fuck do you screw up <stdio.h> and such O_O;
Even copy and paste code should have that right.
I'm not sure what the bigger WTF is; that horrible horrible include exists, or it compiles ....
-
RE: Anyone else subscribes the SideBar RSS feed?
It's never happened to me since I started using it, but I'm using Firefox's built in RSS reader, and not Google Reader.
-
RE: Google can now search+index Flash websites
@morbiuswilters said:
Is there an option in Google to tell it not to return sites that won't render flawlessly in Netscape 2? There should be.
I think the main reason Google should have an option not ot include flash sites. Anyone using a 64-bit version of Windows or Linux can't use native flash unless they also install a 32-bit browser; smartphones which load the HTML version of Google and not the WAP one don't have flash.
-
RE: Schrödinger's error
You'd be interested to know that Windows NT/2000/XP/Vista are also powered by a kernel :-P.
What's wrong with Linux anyway?
-
RE: Push it (doors WTF)
Thread moved to the Funny Stuff forum.
Also, I think someone just stuck the wrong sticker on there.
-
RE: Are comments read-only?
@TheDude said:
@Michael Casadevall said:
Bad comments are usually worse then no comments at all...
Maybe if you're a bad programmer and don't know what the hell you're doing!
So you'd perfer downright wrong and misleading information compared to no information (aside frm the source code itself?)
-
RE: Schrödinger's error
@upsidedowncreature said:
@MasterPlanSoftware said:
I don't know, I like that in my 'modern' (Ubuntu) Linux OS when I forget (or I am not sure if I need) to use sudo for a command it can generate some wild messages.
But...but...open source stuff never throws errors! And if you argue I'll call you a M$ shill!
Off topic, have you tried Debian and if so how do you reckon it compares with Ubuntu? I went straight to Debian and haven't been tempted to switch yet. Surprising how intense the Debian/Ubuntu wars can be though, almost on a par with Apple/Linux/Windows.
Well, the problem stems from a few issues. First off, becoming a debian developer is a rather painful process (I'm currently going through it, and I haven't had a word in the four months since my application went in; this is actually quite normal, six months is the current average) and there is a lot of ego going around due to the general way things to, so Debian tends to be rather unchanging in its policies and such.
Ubuntu on the other hand is much easier to get involved with; you don't actually have to physically drive (in my case anyway, across a state) to meet another developer and get your key signed just to help work on packages and then go through the Debian Maintainer process to get upload rights to your own packages.
Debian's unstable archive is what is used as both the basis of the current Ubuntu version, and Debian testing, so all packages more or less come from a common source*. For Ubuntu, packages are directly synced, or if Ubuntu-specific patches are needed, merged. Since Ubuntu releases every six months, even their stable is more up to date then Debian's last release (etch, released almost a year ago).
For Debian, packages enter a testing distro, which is frozen for each release. The problem is that these releases can sometimes be years apart, and stable doesn't get to see any updated versions of software (the security team backfix any important security patches). Software can be submitted for update via proposed-updates, but more or less, software doesn't get updated until a new release of Debian is made, which happens every 1-2 years.
* - Ubuntu also accepts packages directly via REVU.
-
RE: Customer complaints solved fast and cheap way
I've seen the editor crap out if it takes too long to load (usually happens when I dial in from my cell phone). Still, its one of the few things that is fairly decent about CS, although the forum software is still a WTF itself.
As for the double backspace issue, I've had it happen to me on the work computer using IE6, but never at home with IE7 or Firefox.
-
RE: We all love Vista!
Please do not bump topics (see the date of the last posting, and the general age of this topic).
Topic locked.
-
RE: Are comments read-only?
Pretty common, I've seen comments that refer to code that, according to our SVN repo, was removed ages ago. Bad comments are usually worse then no comments at all because they are misleading, and people have a tendency to think they're missing something if the documentation and the code don't appear to jive instantly.
-
RE: Lets spec out the worst programming language we can think up!
I'd like to nominate the PICK system and the Universe database. Absolute nightmare, and absolutely no documentation to be easily found.
http://en.wikipedia.org/wiki/Pick_operating_system
Anyway, COBOL isn't that bad if you have to program in it. Add some autocomplete macros to your editor, and its easy to forget its verboseness.
As a second language to nominate, how about MIPS assembly?
-
RE: Firefox 3 download day
I updated it on the WIndows machine, it feels much faster then FF2, and the memory usage seems to be somewhat better.
As for those saying that if people wanted FF3 early, they could compile it themselves, building FF and Mozilla in general is an absolute pain in the ass, espicially on WIndows since it requires Unix shell tools like bash since it uses an autoconf based configuration system, and then have fun installing/compiling all the dependencies. It also requires Visual C++'s compilers over GCC, which is WTF to me considering they're using MSYS to manage the build, but I digress.
-
RE: The news. It does not get old.
@morbiuswilters said:
The news articles are chosen algorithmically based on the contents of your inbox, just like the advertisements. Using my Advanced Google Algorithm Reversing Algorithm, I have determine the contents of you inbox.. it appears to be a few eBay notifications, a shipment tracking email from Amazon and several hundred daily digest emails from alt.sex.beastiality.donkey.
Going of that, I get links to other sites about gopher and such since I am subscribed to a mailing list about the old gopher protocol.
-
RE: When BillG bashes Windows XP
You still had to pay the tax using the old method. It just happens VIsta made it an actual application. And last I checked, even pirated copied of XP/Vista can still download security updates even if they fail to pass WGA or have not been activated yet.
-
RE: A new concept of e-mail
The rules go something like this
In both IE and FIrefox:
If you just enter a name like google, it will automatically try and append com, and failing to resolve, then add www using http by default. It may also try other suffixs like edu, and org.
FIrefox goes one step futher and aliases some site names like that, it also allows you to set custom names via the bookmark feature. I don't think IE has any equivelent behavior.
-
RE: Just "WOW"
Ugh, I feel sorry for the poor soul who ever has to properly clean it. I'm always amazed and a little sick whenever I take a keyboard apart and remove the crap under it. That laptop probably has more crap under the keyboard then most others will see throughout their lifetime.
-
RE: When BillG bashes Windows XP
Makes sense. Wish the article had included that little detail so it made a little more sense to me.
I do agree the web-based Windows Update, and manually downloading updates from Microsoft's site has always been a pain. Automatic Updates helps, but it only displays hotfixs and such; if you want to see all available upgrades, you still have to use the site (I heard this changed in Vista, but I don't know for sure).
-
RE: A new concept of e-mail
d'oh. That's what I get for posting in the wee hours in the morning.
-
RE: A WTF From The Other End
Second on the non-sense call. I used Yahoo mail for quite a long time, and Netscape and later Mozilla, and I can't remember it ever breaking. It's quite possible the newer interface broke older versions of Netscape, but I never can remember it flat not working with it.
-
RE: A new concept of e-mail
I'm suprised that would work, I've never heard of @ as a way to pass a subdomain. I would think it work try a resolve a litterial domain name of phoneumber@company.com instead of querying company.com's DNS server for the IP address of the subdomain.
-
RE: When BillG bashes Windows XP
I can't say I ever used ME, I went from NT Workstation at home right to XP. but I just find it odd that he's complaining movie maker is missing when it comes on a standard install. At the very most, he'd have to use WIndows Setup to manually add it.
-
RE: Official Membership Thread -- Just Reply Here!
Hrm, I thought I joined, but I guess not.
A few years ago, I helped on working to port a rather well known forum system to Oracle. The other programmer on the project had already gotten a working prototype of the software running on Oracle, but wanted some help running Q&A and someone to try and run the installation from the very beginning to make sure everything worked out before he sent the patches upstream. Now, I'm not a fulltime DBA, but I've got a few years experience with PostgreSQL, and MySQL, as well as some experience with a bunch of other database products (mostly interbase/firebird and MS SQL). I figured, it can't be that hard to setup a dev system, and help my friend test the new database driver.
At the time, I had no experience with the beast, but the trouble began with the freaking installer (I think it was 9, but I don't remember for sure). It would just randomly crap out half-way for no clear reason. A rather frustation experience which was only solved after a lot of googling and trial and error. I think the result required me copying all the files from the CD to the harddrive and installing from there, but I'm not 100% sure.
Ok, so I got through the install, the rest should be relatively easy to get Oracle bound to the loopback device, get PHP talking to it, and run through the installation. Nope, not at all. Getting Oracle to even properly initalize its own database was somewhat tricky, but closely following the documentation, I was able to get it all the work, and run smoothly; I even got to SQL*Plus to talk nicely to it via a socket interface (I think, its been awhile since I made this setup work).
I don't remember how long it took, or how many obsecure configuration files I had to go through before I found I needed to run EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE) on the command prompt to make all work. Looking at the oracle documentation now, this is noted in the quick start guide, but it would have saved me a heap of time back then.
I realize Oracle is a complex and powerful piece of software, but they make it difficult to even get started on it; its almost if you need to be a certified DBA just to play with it a little. I wasn't even doing any real development work; I was simply testing our product against a newly created database backend. It's like they tried hard to make the simple things impossible to figure out without constantly googling, or (trying to) make sense of the Oracle docs.
-
RE: DR on a (near) daily basis
I work as a firefighter in Rochester, and before that, I was an EMS dispatcher, and I know first hand how much people shit on and forget about the dispatchers; day one, when a fellow coworker was explaining the chain-of-command I was told "Everyone is above the dispatchers, they probably shouldn't be on this list".
Needless to say, it's not really out of the oridinary in this line of work, despite the difference they make. A few years ago, one of our dispatchers was able to make out a MAYDAY signal sent by a trapped firefighter from the base radio; appartantly, no one heard it on either the truck radios (which isn't suprising), or any of the portables. I don't doubt that by hearing that call for help and informing incident command about it, that dispatcher was directly responsiable for saving that mans life.
-
RE: When BillG bashes Windows XP
Wasn't Movie Maker shipped as part of Windows XP?
I have it here on the work computer under Programs -> Accessories -> Windows Movie Maker, and I'm fairly sure its been there since I upgraded to XP.
-
RE: A new concept of e-mail
@Albatross said:
To be honest, I think it was a pretty stupid idea to reveal the raw protocol information to the end user anyway. I suppose it's better than raw IP addresses (especially with IPv6 around the corner), but still, couldn't we have built something more sane? Like... I dunno... coming up with some kind of location/companyname pair? Or at least having fewer special characters: email addresses are okay, with "user at example dot com". Couldn't we combine the http and www into something more practical, and have "web dash example dot com"? I know these musings aren't exactly RFC material, but honestly, if I have to listen to one more verbal pronounciation of http://www., I swear I'm going to break something ><
Well, URL's are a byproduct of earlier times. It's easy to forget during the early 1990s, HTTP was used side by side with FTP, Gopher, and USENET groups, with links to telnet servers still relatively common. It was easy to say something was on example.com, but there had to be a clear way to tell what protocol it was on, especially in the early days when HTTP first appeared. I remember when Netscape 2 or 3 first came out, I used it for both as both a gopher client, and a regular web broswer for quite awhile until the former died out. These days, gopher is essentially dead (there are about 100 servers left; mozilla/gecko already have plans to remove gopher support for Firefox 4/Gecko 2), FTP is (slowly) dying out; even the mozilla team have seriously considered removing support for it.
If web broswers only used HTTP (and HTTPS) as their only protocol, then yes, I agree, URLs would have been a fairly stupid idea at the time, but its a left over from earlier times. Beside the point, both FIrefox and IE will automatically append the http:// if its left out, so its a non-issue at this point.
-
RE: Not again...
Most hollywood movies try to make cracking into systems look exciting and interesting, and not the boring lines of text which would be closer to reality; To put it another way, if you are a normal, non-tech person, which one would seem cooler to you, and more exciting to watch?
-
RE: Adobe Premiere CS 3 installation
I'd add ColdFusion and the basic Adobe Acrobat to the list. ColdFusion just because, and Acrobat because it constantly dials home even after you disable it.
-
RE: TDWTF Forums Discussions WTF
@Sunstorm said:
Real discussions are boring. I'm on the internet to get entertained, not to join the rational debate club. If I wanted to actually think about things before arguing them, and go through the effort of making an articulate argument instead of simply indulging my shortsighted whims for conflict and attention, then don't you think I'd be using my amazing powers of argument in a more productive fashion, rather than wasting them away into the vapid oblivion of an internet forum?
Anyone that doesn't troll on the internet is seriously fucking retarded.
How about you get off the internet and get a life; most of us are here for real discussions. Trolls are almost as bad as spammers in my book.
-
RE: TDWTF Forums Discussions WTF
The internet can be best summed up as a gang who is ready to beat someone senseless for anyone who disagrees with the groupthink.
-
RE: Legal/contracting question
I also agree with Alex, that 99% of lawyers don't know what they're doing in terms of IP law, and the remaining 1% are overpriced. Just make it extremely clear and a to the point.
Michael
-
RE: Got my VirtuDyne mug
Yeah, I got mine a few days ago. It's nice and big and reminds me that I'm smarter then some corperate reps. Also loved the WTF stamp, I would buy that for sure ;-)
-
RE: Dutch Railroad Screw up
I'll never understand why people use Windows for mission critical systems when its so inseucre and unreaible.
-
RE: Not so C++
[quote user="Graham"]Well the loop that set the variable had calculations, each would have a threshold, and if under, it would set the value. It's the 'once in 10 hours' thing when it would not set the value.
Because it was a mix of C/C++, none of the variables were initalised at all. Ever, in the entire application. (all declared at the top of the function too, yet classes were used, all .cpp files, etc).
Even so, it wasn't at all clear what the variable did (it wasn't called 'col', was actually 'ic'... it was used for multiple things, including as a column index), so logically you'd put an =0 on the end if you did get a warning. It wouldn't matter, as it needed to be =1 because of the stupid array decision.
the first line '{'s I mean:
if (...) {
}
syntax instead of
if (...)
{
...
}
Don't know the proper term.
I find the former very hard to read, especially with no other whitespace lines, and the level of complexity in this code.
Some files in this code has no indenting at all.
Arrays would also sometimes be allocated with a dynamic range. So [a,b], with a/b possibly being negative too.
[/quote]The one brace style is known as K&R, and quite a few of us here use it. I find Allanman style (the one you use) anonying, and GNU style to nightmare. With proper indentation, I find K&R 10 times easier to read then Allenman, because I don't have to move my eyes up to find the statement, instead, I see the statement and the brace. -
RE: Change Campus-wide MTU
[quote user="Thalagyrt"][quote user="asuffield"]
[quote user="Thalagyrt"]What's happening is that his XBox isn't registered on our network - we do MAC authentication, as well as user login (captive portal) for dorm and wireless sessions. Without some hacking, it's impossible to get an XBox to do that. There are workarounds that students are doing, and I have seen someone playing XBox Live on campus without a problem[/quote]
I don't know why people insist on these "MAC authentication" schemes, it's not like they accomplish anything. When I was a student and faced with one of these things, I just located an old pentium box that was gathering dust, shoved a couple of network cards in it, and set it up as a NAT device to defeat the pesky thing and let me do what I wanted. Nowadays you can buy a combined switch/NAT device on the high street that will do the same thing, such as the ones labelled as a 'firewall/router' from Netgear. That should solve the problem, not really much of a hack.
(Then later, just for laughs and to send a 'fuck you' to the admins who thought this was a good idea, I rigged the box to change its MAC address to a random value every night and reauthenticate, but that isn't really relevant here)
[/quote]The NAT would would work fine and we don't really care as long as it doesn't interrupt the rest of the network. As for the MAC authentication, it's for many reasons, but mostly accountability. They actually do accomplish the goal, and do it perfectly, which is to control access to the network. We don't want anyone and their mom coming onto campus and getting access to our network. We also want to be able to trace everything back to an individual user for liability issues. Without the authentication scheme, we can't tell you which student was doing what. When you have 30 thousand machines on the network, all with DHCP, you need to have some way to keep track of them. And yes, that number isn't an exaggeration, we have easily 30 thousand computers on campus.Example of why this is good: Student gets on Limewire, starts sharing ten thousand songs across the internet. The RIAA finds out, and sues the school. We don't know who it is, so we have to fight the lawsuit ourselves out of our own pockets. Without the MAC auth and a captive portal, we really have no way to know who was doing the sharing, since the computer and session aren't tied to a user. With the MAC auth and portal, we can tell who each computer belongs to, and we can kill their sessions immediately if we have to. Also, with this, we can simply disable a person if they're causing trouble - before they become a liability to the school and themselves. Our packet shapers look for P2P type traffic and immediately terminates the user's session entirely until they call the help desk and resolve it. All the student will be able to get to is a web page that tells them they've violated the campus computer usage agreement and must call the help desk.Doing MAC authentication at a typical business where you have control of every computer in the building is pretty pointless. Doing it on a campus where you don't have control over them is very useful, because you can then hold people accountable for their actions. The whole point isn't to be draconian, it's to have a good means of damage control and damage prevention.[/quote]You wouldn't be an IT admin at Rochester Institue of Techology, because that sounds like the extact policy and setup we have here. The only difference is the Resident Network (RESnet), and the main campus network are seperate, so if you have a laptop, you'll need to register your machine on both. That being said, I have about four devices registered to my account - my MacBook Pro, my T-Mobile MDA, my DS (had to get the MacBook to spoof its MAC Address to match the DS, and then register that to my account), and my Linksys WRT54GS. -
RE: What indent style do you use?
@Albatross said:
<sarcasm>I never bother to indent anything - it wastes too much vertical and horizontal space:
if (condition) { dosometing1; dosomething2; dosomething3; if (othercondition) { domorestuff1; domorestuff2; } dosmething4; } else { dootherstuff1; dootherstuff2; } doextrastuff;
</sarcasm>
ACK IT BURNS.
Back on topic, it seems those who use python also use K&R style - is there any other language that uses identation style?
-
RE: This forum has become a deletefest
@Alex Papadimoulis said:
@Richard Nixon said:
Detailed technical debates? The rest of the types of comments you mention are of little interest to me so I don't really care if those are deleted but technical discussions on a technical website?
Allow me to clarify -- when I say "detailed technical debates" I mean those that are *far beyond* the understanding and caring of the average reader *of this site*.
I can't think of an real example off hand, but I've seen it a few times; it's generally just a discussion spanning 10-20 posts between two or three people going. Know what I mean?
*this is where I loose my moderatorship*
In those cases, I usually split the thread so the discusion can continue, but only in cases where its gone off topic. I never delete them otherwise.
-
RE: What indent style do you use?
@AI0867 said:
@dave said:
@Michael Casadevall said:
I don't like wasting a line, and I've used K&R style before I even realized what that is specifically. So what are your opinions on this subject and such?
It isn't wasting a line - it offers a perfect place for that comment explaining what it is you're about to do:
while (a == 2)
{ // do stuff
// real code goes here
}So you can force yourself to right sensible comments.
I personally hate the style of putting a comment to tell you what the structure you've just terminated is - this suggests to me that you're expecting your indentation to be screwed up.
no, it means your function (or whatever) will probably be so big or have so much nested stuff, it will either scroll off the screen (go K&R) or the indentation won't make it clear enough (maybe set sw=2 is a little over the top in horizontal space conservation, but ssh usually doesn't give you too much room in your terminal.
Yeah, I learned to program on the command line, so every line counted, hence how I got started with K&R. I always do the brackets for if statements, or leave it on one line (though I do that less and less) so it doesn't break. Indentation helps me figure out what block goes where a LOT more then the brackets do - if its on the left most line, its either a preprocessor directive, or a function, and I clearly see where each one ends. I might try using the Allman/BSD style someday, but for the moment, I'm quite happy with K&R and Banner.
-
What indent style do you use?
(quick reference: http://en.wikipedia.org/wiki/Indent_style)
I personally use K&R style combined with Banner Style for fairly readible code, and when the code is big enough that you have to scroll to see the gap between braces, I make the difference. For example
int doStuff() {
doStuff1();
doStuff2();
while (a == 2) {
// do stuff
} // while (a==2)
}
Something really irks me about the BSD/Allman style (which is used in a project I'm currently coding on). I don't like wasting a line, and I've used K&R style before I even realized what that is specifically. So what are your opinions on this subject and such? -
RE: Not a WTF - just an interesting quote
@lichens said:
I heard someone say this and it made me think about all kinds of stuff:
"I don't need to be smart to succeed; just persistent. I'm not any smarter than anyone else; I've just lived longer, consumed more alcohol and killed more brain cells, yet I'm still here with the best of them."
Aren't IT managers generally older than those they manage? If so, are their brains fried from all the (pick one: booze, drugs, lack-of-sex, ...)? It would explain a lot of stuff they seem to do whaen "managing"...
The sad fact that this is 100% true, although its usually one low level guy who knows a shitload of everything, and due to FUD, gets held down.
-
RE: Alex's July 4th WTF!
Wow, and I thought I liked fire. Unfortunity, I can't watch the video from here, but your lucky you didn't nominate yourself for a Darwin Award