Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Scaramouche
Mar 26, 2001

SPACE FACE! SPACE FACE!

Carthag posted:

Was feeling nostalgic for the late nineties and decided to look up the clusterfuck that was Hotline (basically Mac BBS software) back in the day.

Man are you kidding, Hotline was napster before it was cool. I ganked so much stuff on my broadband modem. I didn't think anyone bothered to use the actual community/talking stuff.

Adbot
ADBOT LOVES YOU

corgski
Feb 6, 2007

Silly goose, you're here forever.

Amazingly, there are still hotline servers up, and they're serving up exactly what they were serving back in 2001.... Mac warez and low-res porn jpegs. It's like a blast from the past.

Cocoa Crispies
Jul 20, 2001

Vehicular Manslaughter!

Pillbug

thelightguy posted:

Amazingly, there are still hotline servers up, and they're serving up exactly what they were serving back in 2001.... Mac warez and low-res porn jpegs. It's like a blast from the past.

"DO NOT DOWNLOAD ANY .SIT OR .HQX IF U WORK FOR THE GOVERNMENT LAW ENFORCEMENT"

Plorkyeran
Mar 22, 2007

To Escape The Shackles Of The Old Forums, We Must Reject The Tribal Negativity He Endorsed

BonzoESC posted:

"DO NOT DOWNLOAD ANY .SIT OR .HQX IF U WORK FOR THE GOVERNMENT LAW ENFORCEMENT"
One of my internships in college involved working on a defense intelligence agency contract to do stuff to cell phones. As part of this, we were using devices whose intended use appeared to be to wipe all identifying information from stolen cell phones so that they could be safely resold. Naturally, the web sites which these devices could be bought from all had 90s warez site style splash pages forbidding entry to anyone affiliated with any government or law enforcement. We decided to go out of our way to make it obvious that it was the US government buying from them in the hopes that one of them would have an interesting reaction. Sadly, despite using our dia.mil email addresses for communication with them, paying with checks from the DIA*, and having the products shipped to our person with an office in the pentagon, none of them refused to do business with us or even commented on it in any way.

* Most of these sites did not normally accept payment by check so we had to specifically ask for mailing addresses, and quite a few of them were obviously residential addresses.

Plorkyeran fucked around with this message at 05:44 on Aug 26, 2011

Carthag Tuek
Oct 15, 2005

Tider skal komme,
tider skal henrulle,
slægt skal følge slægters gang



Scaramouche posted:

Man are you kidding, Hotline was napster before it was cool. I ganked so much stuff on my broadband modem. I didn't think anyone bothered to use the actual community/talking stuff.

Oh it ruled alright, but the software was terrible. I was on lovely 56k so I wasn't a huge pirate and used it mostly for the community - I actually still talk to a handful of people from back then.

Wheany
Mar 17, 2006

Spinyahahahahahahahahahahahaha!

Doctor Rope
The best part about Git and Mercurial (and I assume also other modern version control software) is that there is no reason whatsoever to not use version control.

You just go into your source dir in a terminal, type hg init and BAM, version control.

Dessert Rose
May 17, 2004

awoken in control of a lucid deep dream...

Wheany posted:

The best part about Git and Mercurial (and I assume also other modern version control software) is that there is no reason whatsoever to not use version control.

You just go into your source dir in a terminal, type hg init and BAM, version control.

The best part is doing this to work around garbage source control standards. Even if you're being forced to use p4 or something, just put git on top of that. Hell, use git branches instead of pending changelists!

POKEMAN SAM
Jul 8, 2004

Dessert Rose posted:

The best part is doing this to work around garbage source control standards. Even if you're being forced to use p4 or something, just put git on top of that. Hell, use git branches instead of pending changelists!

Shut your mouth Perforce is awesome. :colbert:

Vinterstum
Jul 30, 2003

Ugg boots posted:

Shut your mouth Perforce is awesome. :colbert:

Perforce is awesome, Git is awesome, Perforce + Git should thus be super awesome!

more falafel please
Feb 26, 2005

forums poster

I'll think about using anything but Perforce when anything but Perforce can handle head revisions with 100+ GB of binary assets without making GBS threads itself, and has a GUI and easy integration with other tools (modeling packages, homebrew tools, etc) that make it so artists will ever be capable of using it.

Captain Capacitor
Jan 21, 2008

The code you say?
It's odd you say that, because I find that Perforce has some of the best developer tools available, and a decent Eclipse plugin to boot. However, their unique nomenclature was the worst part for me. The company I was working at was migrating away from it to Mercurial

more falafel please
Feb 26, 2005

forums poster

Captain Capacitor posted:

It's odd you say that, because I find that Perforce has some of the best developer tools available, and a decent Eclipse plugin to boot. However, their unique nomenclature was the worst part for me. The company I was working at was migrating away from it to Mercurial

You mean like "depot", "changelist", "integrate", "clientspec", etc?

Opinion Haver
Apr 9, 2007

At least it's not Unity Asset Server. No branches, no way to do a rollback commit (or for that matter make any commit based off of an old version of the repo.) And it costs $500 a seat for the license, plus it requires Unity Pro which is $1500 per seat.

Oh but Unity 3.5 is going to have integration with other version control systems! Perforce and SVN :shepface:

Plorkyeran
Mar 22, 2007

To Escape The Shackles Of The Old Forums, We Must Reject The Tribal Negativity He Endorsed

more falafel please posted:

I'll think about using anything but Perforce when anything but Perforce can handle head revisions with 100+ GB of binary assets without making GBS threads itself, and has a GUI and easy integration with other tools (modeling packages, homebrew tools, etc) that make it so artists will ever be capable of using it.
I've worked on projects where the developers and not-developers used different source control systems and it really wasn't much of a problem. Perforce is definitely the best at dealing with large binary blobs but that doesn't actually make it good for source code.

Scaramouche
Mar 26, 2001

SPACE FACE! SPACE FACE!

When I worked in games they used Perforce to manage all the build pipelines/etc. It really does seem to do giant BLOBs better than other solutions I've seen.

SavageMessiah
Jan 28, 2009

Emotionally drained and spookified

Toilet Rascal

yaoi prophet posted:

At least it's not Unity Asset Server. No branches, no way to do a rollback commit (or for that matter make any commit based off of an old version of the repo.) And it costs $500 a seat for the license, plus it requires Unity Pro which is $1500 per seat.

Oh but Unity 3.5 is going to have integration with other version control systems! Perforce and SVN :shepface:

That's weird, I was under the impression that's based on mercurial. At least Unity is credited with some of the work on the upcoming standard big files support in hg.

Hughlander
May 11, 2005

Scaramouche posted:

When I worked in games they used Perforce to manage all the build pipelines/etc. It really does seem to do giant BLOBs better than other solutions I've seen.

Yep, that's about the only reason I like perforce. At every company I been to we use p4 for assets and code, but by god at home I'm all git all the time.

Munkeymon
Aug 14, 2003

Motherfucker's got an
armor-piercing crowbar! Rigoddamndicu𝜆ous.



The worst part about my new job is that our code is spread across VSS and TFS. Some projects exist partially in both :smithicide:

Opinion Haver
Apr 9, 2007

SavageMessiah posted:

That's weird, I was under the impression that's based on mercurial. At least Unity is credited with some of the work on the upcoming standard big files support in hg.

I know Unity Asset Server does some behind-the-scenes stuff with their .scene files to avoid massive binary diffs; maybe that's what hg is getting.

Blue Footed Booby
Oct 4, 2006

got those happy feet

Munkeymon posted:

The worst part about my new job is that our code is spread across VSS and TFS. Some projects exist partially in both :smithicide:

Ditto, except some projects also exist partially in neither. I'm currently working on one of these--a VB6 application that interfaces with about a dozen separate Access databases. In particular, I'm working on a section consisting of two 1700+ line classes full of long, meandering functions with unhelpful and confusingly similar names, mysterious behavior, and lots of gotos. All the people who wrote this code no longer work at the company, and my boss is on vacation. What few comments exist are written in broken English and range from mostly intelligible to comically ambiguous. The application has exactly one user, who, if I understand things right, is also the sole tester.

I want to die.

Blue Footed Booby fucked around with this message at 03:26 on Sep 1, 2011

dwazegek
Feb 11, 2005

WE CAN USE THIS :byodood:
When I started working here, they had every solution in its own VSS repository (or whatever VSS calls them), so if solution 1 used projects A, B and C and solution 2 had used projects A, B and D, then A and B would exist in 2 different VSS repositories. I can't even begin to number the amount of ways that could go horribly wrong, and I have no idea how they actually used it.

TheresaJayne
Jul 1, 2011
at a previous place i used ClearCase that was so annoying,
I have used Subversion, Git, CSV and SourceSafe
currently i am using SVN and/or git with IDEA or NetBeans

A A 2 3 5 8 K
Nov 24, 2003
Illiteracy... what does that word even mean?
On my list of source control preferences, using ClearCase ranks somewhere below the option of losing all of my code in a fire.

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.
I find it fascinating that there is source control that does a worse job than "copy the folder and increment the number in its name". That's the absolute base case to be considered "source control", and if you did that and nothing else but that you'd have a useful system.

Then someone goes ahead and does a worse job. Just bizarre.

Ensign Expendable
Nov 11, 2008

Lager beer is proof that god loves us
Pillbug
Enlighten me as to the horrors of ClearCase, so that I may run from any workplace that uses it.

Mustach
Mar 2, 2003

In this long line, there's been some real strange genes. You've got 'em all, with some extras thrown in.
At my old job they used a fork of a very old version of Sablime, incorrectly. Anybody that isn't emailing around source tarchives has it lucky in comparison.

kalleth
Jan 28, 2006

C'mon, just give it a shot
Fun Shoe
Didn't know where to put this, but I just want to rant.

Guy I do some consulting work for remotely: "Do you think we can be ready in 6 weeks for a big trade show?"
Me (supposedly head of the "team" of indian developers): "Absolutely not. We will definitely not be ready. No chance."

<5 minutes pass>

BING, new email (to entire team). "Hi guys, i've just booked a tradeshow for 6 weeks time! This gives us a REAL DEADLINE, WE MUST BE READY, thanks everyone in advance for working long hours and pitching in!"

<4 weeks pass>

Guy: HELP HELP WE'RE IN DIRE STRAITS NOTHING IS WORKING HELP HELP
Me: I do 10 hours work a week for you maximum, you know im not about much, you knew that when you hired me.
Guy: BUT WE'RE NOT GOING TO BE READY ITS A DISASTER
Me: *resists urge to scream i told you so* *takes week off main job to help* *still isnt enough*
Guy: CAN YOU WORK THE WEEKEND PLEASE WE'RE SCREWED

want to murder someone right now.

tef
May 30, 2004

-> some l-system crap ->
the best bit is that he will /never/ learn and they will celebrate the heroic efforts of "the crunch", priding themselves on abysmal time management

and the other programmers will be like "never again" and then happily stand by when it happens for the next project

baquerd
Jul 2, 2007

by FactsAreUseless

kalleth posted:

Guy: BUT WE'RE NOT GOING TO BE READY ITS A DISASTER

This is where you triple your rate.

NinjaDebugger
Apr 22, 2008


baquerd posted:

This is where you triple your rate.

This is absolutely correct.

TheresaJayne
Jul 1, 2011
Clearcase - where do i start, Its like you set up a project with modules (sounds a bit like maven that does) and some modules are documentation some are architect documents and some are source repositories,
I had to manage it at one point and boy did it suck, as you have to log in and do it all with command line and long command strings,

I remember doing source control with the m2 compression program in dos, it had a "extract the archive as it was on <date> command, very very handy.

Hughlander
May 11, 2005

pokeyman posted:

I find it fascinating that there is source control that does a worse job than "copy the folder and increment the number in its name". That's the absolute base case to be considered "source control", and if you did that and nothing else but that you'd have a useful system.

Then someone goes ahead and does a worse job. Just bizarre.

I think the issue is that clear case takes the job of 'Source Code Control' very literally. It's great for controlling who has access to the source. Got this massive multi-billion dollar project that would be worth millions to the Chinese government? Put it in clear case and you can restrict different modules by rights, this person when ask for the module gets the source, this other person gets a binary, a 3rd person gets told to gently caress off. I was at a place that used it where one team was making a frame work, the other team was using the framework, maybe 2 people had access to the entirety of the source, everyone else just worked in their little bubbles and threw it over the fence.

deedee megadoodoo
Sep 28, 2000
Two roads diverged in a wood, and I, I took the one to Flavortown, and that has made all the difference.


Hughlander posted:

I think the issue is that clear case takes the job of 'Source Code Control' very literally. It's great for controlling who has access to the source. Got this massive multi-billion dollar project that would be worth millions to the Chinese government? Put it in clear case and you can restrict different modules by rights, this person when ask for the module gets the source, this other person gets a binary, a 3rd person gets told to gently caress off. I was at a place that used it where one team was making a frame work, the other team was using the framework, maybe 2 people had access to the entirety of the source, everyone else just worked in their little bubbles and threw it over the fence.

I've seen this at banks and other financial institutions. There are very few people who have access to everything.

JediGandalf
Sep 3, 2004

I have just the top prospect YOU are looking for. Whaddya say, boss? What will it take for ME to get YOU to give up your outfielders?
So in this very thread I posted some rather horrific Javascript for a mortgage calculator we use and then attempted to "clean" it up with some jQuery. Well here is my solution:
code:
<input type="radio" id="rdoPercentage" checked name="downType" value="pct" />% of sale price 
<input type="radio" id="rdoFixedAmount" name="downType" value="fixed" />fixed amount 

$('#btnCalculate').click(function () { 
if (validForm) { 
var downType=$('#rdoPercentage').val() == "pct" ? "pct": "fixed"; 
 
var mortgage = MortgageCalculator.Calculate( 
$('#txtSalePrice').val(), 
$('#txtDownPayment').val(), 
$('#txtLoanTerm').val(), 
$('#txtInterestRate').val(), 
downType 
);
I'll you all laugh at this at my expense.

Smugdog Millionaire
Sep 14, 2002

8) Blame Icefrog
From the "pro services" division of a significant CMS vendor:

code:
if (ddBillingCountry.DataSource == null || Request.QueryString.Count == 0 || Request.QueryString["updatedBilling"] != null || Request.QueryString["updatedBilling"] != null || (Request.QueryString["updatedBilling"] != null || Request.QueryString["updatedBilling"] != null))

Cocoa Crispies
Jul 20, 2001

Vehicular Manslaughter!

Pillbug

JediGandalf posted:

So in this very thread I posted some rather horrific Javascript for a mortgage calculator we use and then attempted to "clean" it up with some jQuery. Well here is my solution:
code:
<input type="radio" id="rdoPercentage" checked name="downType" value="pct" />% of sale price 
<input type="radio" id="rdoFixedAmount" name="downType" value="fixed" />fixed amount 

$('#btnCalculate').click(function () { 
if (validForm) { 
var downType=$('#rdoPercentage').val() == "pct" ? "pct": "fixed"; 
 
var mortgage = MortgageCalculator.Calculate( 
$('#txtSalePrice').val(), 
$('#txtDownPayment').val(), 
$('#txtLoanTerm').val(), 
$('#txtInterestRate').val(), 
downType 
);
I'll you all laugh at this at my expense.

Except for the forums mangling your indentation, that looks pretty much par for the course for jQuery.

Lumpy
Apr 26, 2002

La! La! La! Laaaa!



College Slice

JediGandalf posted:

So in this very thread I posted some rather horrific Javascript for a mortgage calculator we use and then attempted to "clean" it up with some jQuery. Well here is my solution:
code:
<input type="radio" id="rdoPercentage" checked name="downType" value="pct" />% of sale price 
<input type="radio" id="rdoFixedAmount" name="downType" value="fixed" />fixed amount 

$('#btnCalculate').click(function () { 
if (validForm) { 
var downType=$('#rdoPercentage').val() == "pct" ? "pct": "fixed"; 
 
var mortgage = MortgageCalculator.Calculate( 
$('#txtSalePrice').val(), 
$('#txtDownPayment').val(), 
$('#txtLoanTerm').val(), 
$('#txtInterestRate').val(), 
downType 
);
I'll you all laugh at this at my expense.


I'm sure you mean the incorrect getting of the radio group value, but not caching your jQuery selectors is the worse part.

\/\/ correct.

Lumpy fucked around with this message at 01:16 on Sep 3, 2011

Jabor
Jul 16, 2010

#1 Loser at SpaceChem

BonzoESC posted:

Except for the forums mangling your indentation, that looks pretty much par for the course for jQuery.

code:
var downType=$('#rdoPercentage').val() == "pct" ? "pct": "fixed";
Wouldn't this always be "pct", or am I just not getting jquery?

Haystack
Jan 23, 2005





Javascript's ternary syntax is var return_value = test ? expression1 : expression2. So JediGandalf's code would return "pct" if downType=$('#rdoPercentage').val() returned "pct", or "fixed" if otherwise.

Adbot
ADBOT LOVES YOU

Jabor
Jul 16, 2010

#1 Loser at SpaceChem

Haystack posted:

Javascript's ternary syntax is var return_value = test ? expression1 : expression2. So JediGandalf's code would return "pct" if downType=$('#rdoPercentage').val() returned "pct", or "fixed" if otherwise.

Right. But my point is that there's only one HTML element with an id of #rdoPercentage, and that always has the value "pct".

Which is why I was asking about jQuery, not javascript.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply