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
Che Delilas
Nov 23, 2009
FREE TIBET WEED

Blue Footed Booby posted:

You're also not hosed if the computer is embedded in a six ton block of iron.

But I'm not doing that either.

Guess someone isn't serious about protecting his data. :colbert:

Adbot
ADBOT LOVES YOU

FamDav
Mar 29, 2008

QuarkJets posted:

It's reasonable to use disk encryption but nobody does it

maybe you dont use zeus's own operating system mac os ten dot ten

Deus Rex
Mar 5, 2005

QuarkJets posted:

It's reasonable to use disk encryption but nobody does it

It ranges from trivially easy to pretty easy to set up in every operating system I've ever used. If you're not using it and value your data, you probably should be!

Subjunctive
Sep 12, 2006

✨sparkle and shine✨

Deus Rex posted:

It ranges from trivially easy to pretty easy to set up in every operating system I've ever used. If you're not using it and value your data, you probably should be!

On Android it used to be a pain and hosed your performance utterly. That's OK, though, because who would ever lose a phone?

Rule check: how often am I allowed to complain about Perforce in here?

omeg
Sep 3, 2012

C code:
ULONG PossiblyHandleTerminatedClientNoLocks(CLIENT_INFO *pClientInfo)
Maybe the author should possibly :fuckoff:

Spatial
Nov 15, 2007

Anyone used a source control system called SOS? 'Cause drat if this poo poo ain't aptly named.

Soricidus
Oct 21, 2010
freedom-hating statist shill

Deus Rex posted:

It ranges from trivially easy to pretty easy to set up in every operating system I've ever used. If you're not using it and value your data, you probably should be!
It's a tradeoff. Are the tiny performance hit, and the tiny risk that you'll forget your password and lose all your data, worth the assurance that nobody else will access that data without your knowledge?

On my phone, it's a no-brainer. The data's all in the cloud anyway, and the risk that someone else will get their hands on my phone is very high.

On my PC? Not such an obvious choice.

down with slavery
Dec 23, 2013
STOP QUOTING MY POSTS SO PEOPLE THAT AREN'T IDIOTS DON'T HAVE TO READ MY FUCKING TERRIBLE OPINIONS THANKS

Spatial posted:

Anyone used a source control system called SOS? 'Cause drat if this poo poo ain't aptly named.



Bigger horror: https://sourcegear.com/sos/documentation/pricing.html

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe

Subjunctive posted:

Back to code: my team is building software for the Linux desktop that has to interact with the X stack, various vendor drivers, libudev version of the month, and such bullshit. Everything is crap that needs workarounds for esoteric things like portrait orientation. I'm going to need to register these guys for the PTSD treatment that people are building on top of our device. :suicide:

(We also build the software for desktop operating systems that people actually use.)

Have you hit the Mali 400 driver yet? That is the first driver that made me literally scream in frustration when I found out what it was doing.

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
The biggest problem with working on Linux graphics is that it's so specialized that you can't rant to anybody when you realize exactly how hosed you are, because it would take 40 minutes to explain the context.

Subjunctive
Sep 12, 2006

✨sparkle and shine✨

This is desktop and not mobile, so happily we "only" need to worry about NVIDIA/AMD/Intel. Our mobile guys have fewer configs to care about and OS vendor/OEM co-operation, and I am so jealous I could spit.

Optimus, you are a jerk.

SavageMessiah
Jan 28, 2009

Emotionally drained and spookified

Toilet Rascal

Oh god, sourcegear! I had to suffer with Vault for a couple of years until I eventually got us on mercurial.

het
Nov 14, 2002

A dark black past
is my most valued
possession

Spatial posted:

Anyone used a source control system called SOS? 'Cause drat if this poo poo ain't aptly named.


I used SOS but I thought it was just a third party VSS client (don't get me wrong, VSS is definitely awful)

ATM Machine
Aug 20, 2007

I paid $5 for this

Spatial posted:

Anyone used a source control system called SOS? 'Cause drat if this poo poo ain't aptly named.



What era is that UI from? It looks like it was designed to run on an ATM/terminal system somewhere.

pseudorandom name
May 6, 2007

It's just Tk

sarehu
Apr 20, 2007

(call/cc call/cc)

Soricidus posted:

On my PC? Not such an obvious choice.

If you would be screwed by a lost password then you'd also be screwed by a hard drive failure.

Soricidus
Oct 21, 2010
freedom-hating statist shill

sarehu posted:

If you would be screwed by a lost password then you'd also be screwed by a hard drive failure.
True. Encryption is still introducing an extra point of failure, though. (And would make it impossible to recover anything whatsoever from a failing drive.)

The risks are small. Backups exist, etc. But the risks caused by just not bothering to encrypt everything are also frankly insignificant, so why bother, unless you're paranoid about the Feds kicking down the door and stealing your cat videos?

sarehu
Apr 20, 2007

(call/cc call/cc)
Or some random Joe stealing your laptop or PC and then having to change all your passwords, and hoping you've remembered to cleanse your browsing history of those "furry rave" youtube history, or having them upload your gf's pictures to a revenge porn website. It's pretty hard to forget a disk encryption password, and if it is not, just write it down somewhere.

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe

SavageMessiah posted:

Oh god, sourcegear! I had to suffer with Vault for a couple of years until I eventually got us on mercurial.

Whatever happened to their own distributed VCS?

Gul Banana
Nov 28, 2003

code:
		// The ordering of these next three methods is important. No, really. When compiling with VS2012, if the two iterator functions are adjacent, 
		// they will be miscompiled as if the first function contains all the yields and the second has none. This leads indirectly to strange symptoms
		// like the nonpresence of a button on search screens.

Volmarias
Dec 31, 2002

EMAIL... THE INTERNET... SEARCH ENGINES...

Subjunctive posted:

Rule check: how often am I allowed to complain about Perforce in here?

In my opinion, every minute spent not complaining about it is wasted.

ulmont
Sep 15, 2010

IF I EVER MISS VOTING IN AN ELECTION (EVEN AMERICAN IDOL) ,OR HAVE UNPAID PARKING TICKETS, PLEASE TAKE AWAY MY FRANCHISE

het posted:

I used SOS but I thought it was just a third party VSS client (don't get me wrong, VSS is definitely awful)

I think there are multiple SOS source controls. This one appears designed for hardware development:
http://www.cliosoft.com/news/stortek/snug00.htm
(and looks like that may be the 2000-era UI):
http://www.cliosoft.com/products.php
http://www.semiwiki.com/forum/content/2011-brief-history-cliosoft.html

SourceOffSite from Sourcegear, on the other hand, I think is just VSS:
https://sourcegear.com/sos/

Subjunctive
Sep 12, 2006

✨sparkle and shine✨

Spatial posted:

Anyone used a source control system called SOS? 'Cause drat if this poo poo ain't aptly named.



Norton Commander is looking good.

titaniumone
Jun 10, 2001

I miss the days when this thread was primarily knowledgeable people posting obviously wrong and hilariously bad code. Someone should pin down where the transition happened from "thread contains horrors" to "thread itself is horrors"

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.
I'm not sure, but Victor posts on page one, so it probably happened earlier than you think.

tef
May 30, 2004

-> some l-system crap ->

titaniumone posted:

I miss the days when this thread was primarily knowledgeable people posting obviously wrong and hilariously bad code. Someone should pin down where the transition happened from "thread contains horrors" to "thread itself is horrors"

I miss the days when that joke was new

titaniumone
Jun 10, 2001

tef posted:

I miss the days when that joke was new

My very own tef quote and burn :syoon:

raminasi
Jan 25, 2005

a last drink with no ice
C# code:
private void maskedTextBoxMax_LostFocus(object sender, EventArgs e)
{
    checkBoxMax.Checked = true;
    checkBoxMax.Checked = false;
}
Wh...what? I don't care that the guy who wrote this isn't a professional programmer. How does this happen?

No Safe Word
Feb 26, 2005

GrumpyDoctor posted:

C# code:
private void maskedTextBoxMax_LostFocus(object sender, EventArgs e)
{
    checkBoxMax.Checked = true;
    checkBoxMax.Checked = false;
}
Wh...what? I don't care that the guy who wrote this isn't a professional programmer. How does this happen?

how else am I supposed to fire the OnCheckBoxChanged event twice??

raminasi
Jan 25, 2005

a last drink with no ice
I actually figured it out. There used to be a function call between the two lines, and when it was removed, the guy who removed it didn't think to check whether the method was still sane. (Well, it wasn't really sane before, not obviously so.)

qntm
Jun 17, 2009

GrumpyDoctor posted:

I actually figured it out. There used to be a function call between the two lines, and when it was removed, the guy who removed it didn't think to check whether the method was still sane. (Well, it wasn't really sane before, not obviously so.)

It's far easier to lazily refactor code into a horror than it is to write one directly. Let me guess, there were a few dozen such function calls across the whole codebase, and the culprit just took the lowest-effort approach to removing them all?

Volmarias
Dec 31, 2002

EMAIL... THE INTERNET... SEARCH ENGINES...

titaniumone posted:

I miss the days when this thread was primarily knowledgeable people posting obviously wrong and hilariously bad code. Someone should pin down where the transition happened from "thread contains horrors" to "thread itself is horrors"

Here, I've been saving this for a special occasion.

Che Delilas
Nov 23, 2009
FREE TIBET WEED

Volmarias posted:

Here, I've been saving this for a special occasion.

Pulling stuff from the ioccc is cheating.

That's what you did, right? I choose to believe that's what you did.

Internet Janitor
May 17, 2008

"That isn't the appropriate trash receptacle."
You can't discuss Arthur Whitney's C coding style without discussing the Incunabulum.

It's actually kinda fun to take apart. It starts making a disturbing kind of sense once you've been staring at it for a while.

dwazegek
Feb 11, 2005

WE CAN USE THIS :byodood:
C# code:
string fileName = string.Format("Something_{0}.csv", DateTime.Now.Year.ToString() + "-" + DateTime.Now.Month.ToString() + "-" + DateTime.Now.Day.ToString());

Volmarias
Dec 31, 2002

EMAIL... THE INTERNET... SEARCH ENGINES...

Che Delilas posted:

Pulling stuff from the ioccc is cheating.

That's what you did, right? I choose to believe that's what you did.

Don't you wish. Read the front page of that domain, or read the READMEs in the lower directories. The incredible terseness is described as a feature to provide incredibly fast reporting.

:getin:

raminasi
Jan 25, 2005

a last drink with no ice

qntm posted:

It's far easier to lazily refactor code into a horror than it is to write one directly. Let me guess, there were a few dozen such function calls across the whole codebase, and the culprit just took the lowest-effort approach to removing them all?

Close. A WinForms control was copied over from somewhere, but this version didn't need the function call, so the copier just took it out without considering whether the event handler itself even needed to be present. (The copying itself isn't actually a horror - it's one of those occasional cases where functionality is only incidentally duplicated.)

MrMoo
Sep 14, 2000

Subjunctive posted:

Rule check: how often am I allowed to complain about Perforce in here?

I had a Perforce manager call me on LinkedIn because I had Git, Hg, and SVN listed he wanted to interview me as a not-so-subtle sales pitch for Perforce. I simply explained I do not under any circumstances want to learn a new VCS, I already I have wasted far too much time on the topic.

Gazpacho
Jun 18, 2004

by Fluffdaddy
Slippery Tilde
If your administrator makes you lock files while editing them, you may complain only about your administrator.

nb: I'm just going off what I've heard in yospos, that apparently there are idiot Perforce administrators who set it up in some kind of RCS-like mode where you always have to lock files. Never seen it firsthand, fortunately.

Gazpacho fucked around with this message at 02:13 on Oct 24, 2014

Adbot
ADBOT LOVES YOU

Che Delilas
Nov 23, 2009
FREE TIBET WEED

Volmarias posted:

Don't you wish. Read the front page of that domain, or read the READMEs in the lower directories. The incredible terseness is described as a feature to provide incredibly fast reporting.

:getin:

This is C we're talking about, right? A language where all the code is compiled into machine language before it actually runs at all? I'm just checking.

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