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
Captain Foo
May 11, 2004

we vibin'
we slidin'
we breathin'
we dyin'

DONT THREAD ON ME posted:

i call them megastinktastic variables

Adbot
ADBOT LOVES YOU

Shaggar
Apr 26, 2006
I think the most common use of brackets in tsql is for objects named using reserved words.

CRIP EATIN BREAD
Jun 24, 2002

Hey stop worrying bout my acting bitch, and worry about your WACK ass music. In the mean time... Eat a hot bowl of Dicks! Ice T



Soiled Meat

cinci zoo sniper posted:

there is a rather stark difference between swearing at your computer, which no one should give a poo poo about unless you're calling your computer a gently caress at 120 dB in your open space office, and slinging personal insults at other people for whatever reason

i mean i dont call someone a "loving idiot" but i will often come up with "what the gently caress were you thinking?" or "gently caress why did you do that?"

Shaggar
Apr 26, 2006
open offices are a hostile work environment regardless of behavior

Carthag Tuek
Oct 15, 2005

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



Shaggar posted:

open offices are a hostile work environment regardless of behavior

fuckin' a

distortion park
Apr 25, 2011


CRIP EATIN BREAD posted:

i mean i dont call someone a "loving idiot" but i will often come up with "what the gently caress were you thinking?" or "gently caress why did you do that?"

both seem kind of aggressive to me although i suppose it depends on the context and tone.

Shaggar
Apr 26, 2006
someone in my office is creating a hostile work environment thru some awful smelling perfume/lotion/spray.

Chalks
Sep 30, 2009

CRIP EATIN BREAD posted:

i mean i dont call someone a "loving idiot" but i will often come up with "what the gently caress were you thinking?" or "gently caress why did you do that?"

i often call code loving dumb and broken but i hope nobody is offended because more often than not i turn out to be the guy who wrote it

Sapozhnik
Jan 2, 2005

Nap Ghost
i mean that's the justification lkml uses and i wouldn't call that an entirely healthy social environment

"calling code loving stupid is fine as long as you don't call people loving stupid. code is like virtual quantum particles, it just springs into existence spontaneously *composes twelfth What The gently caress Were You Thinking email of the day*"

Chalks
Sep 30, 2009

basically everyone needs to realise that we all write dumb code sometimes, there is no shame in it, it is just that when it comes down to it we are all a bit dumb

cinci zoo sniper
Mar 15, 2013




Fiedler posted:

sql server has alarmingly few restrictions on object names. dots are allowed in object names. brackets are allowed in object names. you can have a column literally named "[dbo].[table1].[column1]":
create table dbo.table1 ([[dbo]].[table1]].[column1]]] int)

which naturally you would query like so:
select [dbo].[table1].[[dbo]].[table1]].[column1]]] from dbo.table1

Kilometres Davis posted:

this is violence

cinci zoo sniper
Mar 15, 2013




pointsofdata posted:

both seem kind of aggressive to me although i suppose it depends on the context and tone.

agreed

Bloody
Mar 3, 2013

Shaggar posted:

open offices are a hostile work environment regardless of behavior

cinci zoo sniper
Mar 15, 2013




Symbolic Butt posted:

I'm not sure if I understood the problem but I feel like you should store the diff steps as a trie (or like partial hash entries?)

if you can, try to make it more concrete with some code, like

Python code:
# get libs

import random
import copy

# remember, this is not a code review

baz = {"latest_foo": {"chome": 219}, "foos": [{"chome": 219}]}

num_foo = 5

bar_keys = ["chome", "mome", "lo", "marf", "tayne", "etc"]
bar_values = [69, 219, 420]


def do_a_bar(previous_bar, keys, values):
    key = random.choice(keys)
    value = random.choice(values)
    previous_bar[key] = value
    return previous_bar


for i in range(1, num_foo):
    fart = do_a_bar(baz["latest_foo"], bar_keys, bar_values)
    baz["latest_foo"] = copy.deepcopy(fart)
    baz["foos"].append(copy.deepcopy(fart))
the idea is to go into baz["foos"] and retroactively reproduce each append that happened

cinci zoo sniper
Mar 15, 2013




tbh it's even more impressively bad now that i've had to code a faithful reproduction of system in action

Soricidus
Oct 21, 2010
freedom-hating statist shill

Shaggar posted:

open offices are a hostile work environment regardless of behavior

shaggar was right

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder
im not really opposed to open offices in theory, because in theory i like my coworkers and we’re working on something we care about and the serious collaboration ive done has always been my best work.

in reality i hate my coworkers and we’re making garbage and i need a place to drink

Soricidus
Oct 21, 2010
freedom-hating statist shill

DONT THREAD ON ME posted:

im not really opposed to open offices in theory, because in theory i like my coworkers and we’re working on something we care about and the serious collaboration ive done has always been my best work.

none of these things have anything to do with open offices though?

e.g. if you like your coworkers then you are less likely to want to disturb them by trying to collaborate with someone else at the desk next to them, for example.

distortion park
Apr 25, 2011


DONT THREAD ON ME posted:

im not really opposed to open offices in theory, because in theory i like my coworkers and we’re working on something we care about and the serious collaboration ive done has always been my best work.

in reality i hate my coworkers and we’re making garbage and i need a place to drink

If they aren't used to reduce space used per employee and have plenty of soft furnishings etc they can be OK but that's like 1 in 100

Powerful Two-Hander
Mar 10, 2004

Mods please change my name to "Tooter Skeleton" TIA.


well I just wasted 3 months trying to get these vendor apps upgraded and talking to each other because it turns out they "talked" by sharing copies of the same jar files so now that one app got bought by someone else that changed the class names from foo.CompanyA to foo.CompanyB and now everything is ffuuckkkked. gj building a loosely coupled system vendor devs, well done.

this is blocking like 3 other big projects so people are going to be super pissed but I'm feeling so burned out from dealing with it and the other 100 "critical" projects there's no one else to deal with I just can't bring myself to care

supabump
Feb 8, 2014

ever since switching to an open floorplan, my idea of work is now inextricably linked with the sound of white noise through noise-cancelling headphones

pointsofdata posted:

If they aren't used to reduce space used per employee and have plenty of soft furnishings etc they can be OK but that's like 1 in 100

the only soft furnishing we have is the beat up couch I had in my office before we switched over

MrMoo
Sep 14, 2000

So who's going 32" portrait mode terrible coding?



Only $6k, god drat apple.

cinci zoo sniper
Mar 15, 2013




MrMoo posted:

So who's going 32" portrait mode terrible coding?



Only $6k, god drat apple.

i've actually tried this with a vesa-mounted 30" 21:9 panel and it's very awkward

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder

MrMoo posted:

So who's going 32" portrait mode terrible coding?


Only $6k, god drat apple.

when you turn your monitor off it resembles a rococo portrait

CPColin
Sep 9, 2003

Big ol' smile.
My eye muscles are tired just from that image!

Soricidus
Oct 21, 2010
freedom-hating statist shill

MrMoo posted:

So who's going 32" portrait mode terrible coding?



Only $6k, god drat apple.

$6k? a shameful cheappost. it's $7k if you want a stand and the work-appropriate non-mirror surface. or i guess only $6200 if you go full professional and get the vesa mount instead of the proprietary stand.

Progressive JPEG
Feb 19, 2003

pointsofdata posted:

If they aren't used to reduce space used per employee and have plenty of soft furnishings etc they can be OK but that's like 1 in 100

no that's 0 in 100

it's for saving money on rent, nothing else is even a consideration

pseudorandom
Jun 16, 2010



Yam Slacker

Progressive JPEG posted:

no that's 0 in 100

it's for saving money on rent, nothing else is even a consideration


Eh, my last job was in an open office. We each had our own full size desk, so it could have easily been tiny cubicles instead, so it definitely wasn't to save money on rent.

It was to save money on furniture because ikea desks are cheap as poo poo and real office furniture is pricey.

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

Powerful Two-Hander posted:

well I just wasted 3 months trying to get these vendor apps upgraded and talking to each other because it turns out they "talked" by sharing copies of the same jar files so now that one app got bought by someone else that changed the class names from foo.CompanyA to foo.CompanyB and now everything is ffuuckkkked. gj building a loosely coupled system vendor devs, well done.

this is blocking like 3 other big projects so people are going to be super pissed but I'm feeling so burned out from dealing with it and the other 100 "critical" projects there's no one else to deal with I just can't bring myself to care

time for jar jar links!

champagne posting
Apr 5, 2006

YOU ARE A BRAIN
IN A BUNKER

pseudorandom posted:

Eh, my last job was in an open office. We each had our own full size desk, so it could have easily been tiny cubicles instead, so it definitely wasn't to save money on rent.

It was to save money on furniture because ikea desks are cheap as poo poo and real office furniture is pricey.

I’ve worked in this terrible office and it turns out of management is cheating out on furniture they’re willing to buy the cheapest anything and make cheap decisions such as allowing two radios to play i a room of 20 people, or decide all hands to put decals on cars make sense in a room of somehow highly paid professionals

leper khan
Dec 28, 2010
Honest to god thinks Half Life 2 is a bad game. But at least he likes Monster Hunter.
started doing some stuff with the server team here. go is such a godawful language for this, why would anyone use it willfully?

:smith:

DELETE CASCADE
Oct 25, 2017

i haven't washed my penis since i jerked it to a phtotograph of george w. bush in 2003

leper khan posted:

started doing some stuff with the server team here. go is such a godawful language for this, why would anyone use it willfully?

:smith:

google fetish

eschaton
Mar 7, 2007

Don't you just hate when you wind up in a store with people who are in a socioeconomic class that is pretty obviously about two levels lower than your own?

Shaggar posted:

open offices are a hostile work environment regardless of behavior

shaggar was right

eschaton
Mar 7, 2007

Don't you just hate when you wind up in a store with people who are in a socioeconomic class that is pretty obviously about two levels lower than your own?

DONT THREAD ON ME posted:

im not really opposed to open offices in theory,

you should be, because no matter how you feel about that collaboration, you were only a fraction as effective as you could be when you weren’t actively collaborating

have open spaces where you can go collaborate, and then private spaces where you can implement

Soricidus
Oct 21, 2010
freedom-hating statist shill

eschaton posted:

you should be, because no matter how you feel about that collaboration, you were only a fraction as effective as you could be when you weren’t actively collaborating

have open spaces where you can go collaborate, and then private spaces where you can implement

only managers think anyone "actively collaborates" in an open plan office

most workers are not in fact sociopaths and thus try to avoid interrupting anyone who seems to be trying to work. so what you actually end up with is people either giving up and just socialising, or working alone with headphones on to block out the noise (and signal that they aren’t available for socialising)

Corla Plankun
May 8, 2007

improve the lives of everyone
most of the times I've seen go in real life it was because someone wanted to roll their own thing that's in the standard library of any other language on earth

animist
Aug 28, 2018
ctps: https://docs.rs/runtime/ + async/await makes rust async remarkably bearable

leftist heap
Feb 28, 2013

Fun Shoe
a little while ago our CEO got huffy because too few people were coming into the huge new office space and someone he was personally giving a tour remarked that it looked empty lol. he then went on to implore everyone to come into the office as much as possible because it would be better for morale. the ensuing open mic was all questions/comments on how awful it is to deal with people in the office.`

CRIP EATIN BREAD
Jun 24, 2002

Hey stop worrying bout my acting bitch, and worry about your WACK ass music. In the mean time... Eat a hot bowl of Dicks! Ice T



Soiled Meat
ctps: me and a co-worker spent 12 hours debugging an issue today and by the end we wanted to kill each other and i wouldnt want it any other way.

Adbot
ADBOT LOVES YOU

Fiedler
Jun 29, 2002

I, for one, welcome our new mouse overlords.

CRIP EATIN BREAD posted:

ctps: me and a co-worker spent 12 hours debugging an issue today and by the end we wanted to kill each other and i wouldnt want it any other way.

that's cool. how does your coworker like it?

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