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.
 
  • Locked thread
Posting Principle
Dec 10, 2011

by Ralp

General Olloth posted:

this bothers me so god drat much

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\General
DWORD: SuppressUppercaseConversion
Value: 1

Adbot
ADBOT LOVES YOU

Salynne
Oct 25, 2007

Posting Principle posted:

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\General
DWORD: SuppressUppercaseConversion
Value: 1

from their blog post about it

"we'll continue to allow you to change it as an option"

(with a registry edit)


it's almost kinda genius

cowboy beepboop
Feb 24, 2001

Posting Principle posted:

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\General
DWORD: SuppressUppercaseConversion
Value: 1

lol thanks for reminding me the registry exists

Dessert Rose
May 17, 2004

awoken in control of a lucid deep dream...

Posting Principle posted:

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\General
DWORD: SuppressUppercaseConversion
Value: 1

this was a backdoor feature implemented by one of the devs, it's kind of awesome that that kind of thing still flies around here

~Coxy
Dec 9, 2003

R.I.P. Inter-OS Sass - b.2000AD d.2003AD
some chucklefuck in CSC made a group policy setting that disables tab-completion in cmd.exe for some god-forsaken reason

had to go into the registry to reverse it

Nomnom Cookie
Aug 30, 2009



One very nice side effect of using a Mac at work is IT can't touch you. Eat poo poo domain admins, I'm going to set my wallpaper to whatever I want.

a cyberpunk goose
May 21, 2007

Nomnom Cookie posted:

One very nice side effect of using a Mac at work is IT can't touch you. Eat poo poo domain admins, I'm going to set my wallpaper to whatever I want.

I was your worst enemy 2 years ago

a cyberpunk goose
May 21, 2007

Casper + Open Directory



I'll gently caress your poo poo up

a cyberpunk goose
May 21, 2007

i have some notes tucked away where i was pushing binaries and configs into base64, making payloads with them and deploying the payloads with scripts on user login and using OD to suppress control over tons of things and when OD/Casper wouldn't let me do it i'd just figure out which plist it was and stop the user from being able to gently caress with it anyways


do you even osx


im probably like 1 of 20 people on this awful earth who managed huge osx domains effectively

Nomnom Cookie
Aug 30, 2009



Bring it on, bitch. First one to set the wallpaper for a week straight wins.

Morkai
May 2, 2004

aaag babbys

Nomnom Cookie posted:

One very nice side effect of using a Mac at work is IT can't touch you. Eat poo poo domain admins, I'm going to set my wallpaper to whatever I want.

lol you just work with incompetent sysadmins. I joined macs to the AD and exerted control because gently caress YOU doctor assfuck you have to comply with password policy because I do not like you.

Morkai
May 2, 2004

aaag babbys

Mido posted:

i have some notes tucked away where i was pushing binaries and configs into base64, making payloads with them and deploying the payloads with scripts on user login and using OD to suppress control over tons of things and when OD/Casper wouldn't let me do it i'd just figure out which plist it was and stop the user from being able to gently caress with it anyways


do you even osx


im probably like 1 of 20 people on this awful earth who managed huge osx domains effectively

:respek:

Nomnom Cookie
Aug 30, 2009



Morkai posted:

lol you just work with incompetent sysadmins. I joined macs to the AD and exerted control because gently caress YOU doctor assfuck you have to comply with password policy because I do not like you.

So in that situation should I remove my work Mac from the domain or bring my personal laptop to work? I'm comfortable with either option.

Morkai
May 2, 2004

aaag babbys

Nomnom Cookie posted:

So in that situation should I remove my work Mac from the domain or bring my personal laptop to work? I'm comfortable with either option.

if you're competent and they left you a local admin just leave the domain. again, lol at your sysadmins that let you accomplish this.

Nomnom Cookie
Aug 30, 2009



I was never in the domain. :unsmigghh: Casper is installed though, no clue what it's for. Making sure I use my phone for porn I guess.

Morkai
May 2, 2004

aaag babbys

Nomnom Cookie posted:

I was never in the domain. :unsmigghh: Casper is installed though, no clue what it's for. Making sure I use my phone for porn I guess.

heh. wipe and restore from App Store or whatever Macs do to kick all their stupid poo poo off your drive and reset your password on schedule with OWA or whatever. laugh your way to the armory.

fritz
Jul 26, 2003

i started reading thru the frontend thread in cobol and dang i cant understand all that web stuff my eyes just start glazing

MrMoo
Sep 14, 2000

Morkai posted:

lol you just work with incompetent sysadmins.

MrMoo fucked around with this message at 01:29 on Sep 26, 2013

BONGHITZ
Jan 1, 1970

thats not too bad

just coverin their asses

Bloody
Mar 3, 2013

current matlab status:

what the gently caress this is the worst poo poo i have ever seen

objects can have methods

except

those methods are really just functions that don't know anything about the object they're being called on they actually just take the calling object as the first parameter (and you have to write this out explicitly) and any references to parameters of the object you're currently working on (if you were being really verbose in C# or java you'd say this) are with that name and you can't not use it

also you can't mutate an object fullstop. everything is maximally pass-by-value, so when you call that method-thats-a-function, the object you're passing it isnt the calling object but instead a copy of it

this is loving retarded

Bloody
Mar 3, 2013

literally can't use getters and setters in this lang unless you wanna write like

foo = foo.setFarts(Butt)

this obviously gets comedy stupid when you want to add any levels of abstraction to anything

like god forbid you have an object managing a collection of objects :lol:

Jonny 290
May 5, 2005



[ASK] me about OS/2 Warp

my stepdads beer posted:

johny use postgres

alright srschat

im comin from a 'shadetree learning while writing goofy poo poo' perspective. sell me. how will postgres > mysql in this context

is it because it is better at all levels, or because going any deeper in mysql would give me training in poo poo that doesnt earn a dude money

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder
using them is indifferentiable if you are using an orm like you should be but sqlite is very bad for your cred


also sqlite gets db locks with async requests

but i'm also curious as to the answer to the question

Symbolic Butt
Mar 22, 2009

(_!_)
Buglord
this is why python numpy is a gift from gods, matlab is so drat awkward

Bloody
Mar 3, 2013

suddenly the skills i picked up in my college's intro to oo programming class, which used java in a bizarro-functional/immutable way, will come in handy!!! apparently any time you would change an object you should discard it for a new one with whatever values changed!

Malcolm XML
Aug 8, 2009

I always knew it would end like this.

USSMICHELLEBACHMAN posted:

using them is indifferentiable if you are using an orm like you should be but sqlite is very bad for your cred


also sqlite gets db locks with async requests

but i'm also curious as to the answer to the question

SQLite is single access only. Postgres actually obeys the SQL standard while MySQL will silently do it's own thing without warning you.

Orms are overkill and u shouldn't use them unless u know how to write every line of SQL it would generate otherwise have fun debugging the inevitable object relational impedance mismatch

Statement mappers are fine though

I like mssql too but it costs money for the non crippled editions


There's a video on how exactly MySQL will helpfully misinterpret your commands out there

uG
Apr 23, 2003

by Ralp
it's not as bad as it used to be now that mysql doesn't default to myisam but postgresql generally has a better optimizer, more features of which I never use but maybe my orm does, and doesn't have the reputation of php

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder
i think i'm a little bit confused about what an orm does (it would probably be solved just by learning some sql which i should do at some point because it's not like it's hard). in rails with active record i still have to create the table and specify field names/datatypes. if i have an object of that type and it has an ivar that matches a field name it will be persisted but it's not like all ivars on an object get automatically mapped. i only have the data i actually want/need to store in the DB (which is one of shaggar's complaints i think).

it just seems really unobtrusive. when people are talking about orms sometimes i get the feeling they're talking about something that takes an object that is in memory and automatically stores it to a db without any specifications (which would be stupid).

Bloody
Mar 3, 2013

USSMICHELLEBACHMAN posted:

i think i'm a little bit confused about what an orm does (it would probably be solved just by learning some sql which i should do at some point because it's not like it's hard). in rails with active record i still have to create the table and specify field names/datatypes. if i have an object of that type and it has an ivar that matches a field name it will be persisted but it's not like all ivars on an object get automatically mapped. i only have the data i actually want/need to store in the DB (which is one of shaggar's complaints i think).

it just seems really unobtrusive. when people are talking about orms sometimes i get the feeling they're talking about something that takes an object that is in memory and automatically stores it to a db without any specifications (which would be stupid).

the one ive used is a java orm where you lightly specify in your objects how they'd be translated to a database with @annotations or whatever and then they automagically become database elements or some poo poo it was really really really painless and required literally zero thought or effort.

double sulk
Jul 2, 2010

pass by reference supremacy

Shaggar
Apr 26, 2006

USSMICHELLEBACHMAN posted:

i think i'm a little bit confused about what an orm does (it would probably be solved just by learning some sql which i should do at some point because it's not like it's hard). in rails with active record i still have to create the table and specify field names/datatypes. if i have an object of that type and it has an ivar that matches a field name it will be persisted but it's not like all ivars on an object get automatically mapped. i only have the data i actually want/need to store in the DB (which is one of shaggar's complaints i think).

it just seems really unobtrusive. when people are talking about orms sometimes i get the feeling they're talking about something that takes an object that is in memory and automatically stores it to a db without any specifications (which would be stupid).

yeah. its called object persistence. the idea is that the store doesn't matter you just tell the persistence API "hey store this object." or "hey give me the object with this parameter" and the persistence framework translates it to the underlying store. its nice for development speed, but there are two significant downsides.

Performance can really suffer depending on the store and the objects you're using. ORMs tend to grab everything to do with an object, which isn't always right. They also can generate some really lovely data designs cause its centered around object storage instead of relational data design.

The other downside is that it tends to tie your data to that application and if you want to share it with another application you probably cant if its too specific and if you want to report on it you have to do a bunch of work.

At work we use a transactional model cause we literally get paid through reporting. We have a bunch of different apps that can all share the same core transaction design and then have individual related transaction tables with data specific to that app. So I can write procs that are reusable by all apps to generate common data, and then app specific procs to do more stuff. it makes our data really high quality which is far more important than maybe saving a few minutes of coding time.

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder

Shaggar posted:

ORMs tend to grab everything to do with an object, which isn't always right. They also can generate some really lovely data designs cause its centered around object storage instead of relational data design.


Yeah that sounds really different from active record which feels a lot more like a statement mapper. Maybe it can automagically persist objects but i've certainly never used it that way nor have i ever seen that recommended.

i feel like i get to be pretty explicit about database design. To specify a one-to-many or many-to-many relationship i still have to add the necessary foreign keys to their respective tables. it will automatically do the table join after i've specified one to many in the DSL and but it wont work unless the correct keys are in place.

honestly i'm just going to make the switch to raw sql if for no reason other than to know what i'm talking about

Notorious b.s.d.
Jan 25, 2003

by Reene

Jonny 290 posted:

alright srschat

im comin from a 'shadetree learning while writing goofy poo poo' perspective. sell me. how will postgres > mysql in this context

is it because it is better at all levels, or because going any deeper in mysql would give me training in poo poo that doesnt earn a dude money

both

as an intro, the current state of sql is this: there are a bunch of sql servers, they're all blisteringly fast, and it's very possible to port code amongst them if you stick to a common subset of features. the same code will run with virtually no changes on ms sql, postgres, and oracle. (if you pay attention to concurrency it will work on ibm db2 also)




mysql is the odd man out. you can't port to mysql, you can't port from mysql
  1. it supports no features, so that "common subset" from the other servers won't work.

  2. even if you somehow get your code ported, innodb (the storage engine) is insanely slow

  3. other storage engines exist, but they achieve speed by being incompatible in significant ways with innodb (e.g. not supporting transactions)

  4. the frontend/backend split makes it difficult to reason about mysql behavior. the "frontend" handles all sql input, and will accept virtually anything you throw at it. the backend may or may not implement any of the features you asked for with your code

  5. which is why you can't port code from mysql. the SQL triggers, constraints, ordering etc that were silently ignored by mysql will be honored by a real database, and your mysql code will stop working for mysterious reasons

  6. lastly, all the problems with mysql change all the fuckin time. you know a release of mysql is ready for production when the errata pages outnumber the other documentation combined

Notorious b.s.d.
Jan 25, 2003

by Reene
lastly, learning how to tune mysql's wretchedness just means spending more time with people who were too loving stupid to avoid mysql

unless you're gonna be a mysql/postgres or mysql/oracle porting expert ABORT ABORT ABORT





(this is also why i no longer write .NET code. C# is awesome, but writing for .NET puts you in contact with people/organisations so fuckin stupid they bought Windows and SharePoint)

Notorious b.s.d.
Jan 25, 2003

by Reene

USSMICHELLEBACHMAN posted:

Yeah that sounds really different from active record which feels a lot more like a statement mapper. Maybe it can automagically persist objects but i've certainly never used it that way nor have i ever seen that recommended.

i feel like i get to be pretty explicit about database design. To specify a one-to-many or many-to-many relationship i still have to add the necessary foreign keys to their respective tables. it will automatically do the table join after i've specified one to many in the DSL and but it wont work unless the correct keys are in place.

honestly i'm just going to make the switch to raw sql if for no reason other than to know what i'm talking about

activerecord is the prototypical example of an ORM, with proxy objects for everything and almost no control over the generated sql. it is as far from a statement mapper (e.g. mybatis) as you can get

statement mappers just return named (and possibly typed) data from an sql string you had to write yourself, by hand.

Socracheese
Oct 20, 2008

Jonny 290 posted:

alright srschat

im comin from a 'shadetree learning while writing goofy poo poo' perspective. sell me. how will postgres > mysql in this context

is it because it is better at all levels, or because going any deeper in mysql would give me training in poo poo that doesnt earn a dude money

both

Bloody
Mar 3, 2013

Notorious b.s.d. posted:

activerecord is the prototypical example of an ORM, with proxy objects for everything and almost no control over the generated sql. it is as far from a statement mapper (e.g. mybatis) as you can get

statement mappers just return named (and possibly typed) data from an sql string you had to write yourself, by hand.

that's why i like orms

coffeetable
Feb 5, 2006

TELL ME AGAIN HOW GREAT BRITAIN WOULD BE IF IT WAS RULED BY THE MERCILESS JACKBOOT OF PRINCE CHARLES

YES I DO TALK TO PLANTS ACTUALLY

Bloody posted:

current matlab status:

what the gently caress this is the worst poo poo i have ever seen

thirty year old proprietary language written to be little other than Not Fortran

Jonny 290
May 5, 2005



[ASK] me about OS/2 Warp
great chat. i originally set my scraper thing up with mysql because, well, free, linux, apt-get, done.

however now that i have that little webui set up and the django bit is all working well, i can port over the db. postgres a not-stupid next step? im obviously not doing oracle or w/e for this free joke service

Adbot
ADBOT LOVES YOU

uG
Apr 23, 2003

by Ralp

Jonny 290 posted:

i can port over the db. postgres a not-stupid next step? im obviously not doing oracle or w/e for this free joke service

nope. its almost always a pain in the rear end

  • Locked thread