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
necrotic
Aug 2, 2005
I owe my brother big time for this!
i am currently hybrid remote and they aren’t giving me two computers. no way I’m using one of mine at home for work

Adbot
ADBOT LOVES YOU

necrotic
Aug 2, 2005
I owe my brother big time for this!
I use a light backpack with a slot in the back for my laptop. nice for the random time I go in and I can use it for anything else otherwise

Hadlock
Nov 9, 2004

Bloody posted:

leave your work computer at work. hth

The last time I saw an office with desktop computers permanently plugged into the wall was in like 2014

Edit: and even then most of my coworkers had laptops with docking stations

Phobeste
Apr 9, 2006

never, like, count out Touchdown Tom, man

Hadlock posted:

The last time I saw an office with desktop computers permanently plugged into the wall was in like 2014

Edit: and even then most of my coworkers had laptops with docking stations

that doesn't have anything to do with what bloody said

mystes
May 31, 2006

Phobeste posted:

that doesn't have anything to do with what bloody said
there's no need to swear

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.
my work computer is a too-small screen stuck to an unergonomic pointing device and a built-in ups

and my answer is also "small backpack with a laptop slot"

ElehemEare
May 20, 2001
I am an omnipotent penguin.

Hadlock posted:

What are you guys using for your work laptop commuter bag

I just raw dog my laptop in my bare hands in the hopes that when the bus finally takes me I can cause a minor inconvenience to the infosec team when a random passerby steals it.

Carthag Tuek
Oct 15, 2005

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



Bloody posted:

leave your work computer at work. hth

yep, lovely laptop stays at the office. everything is over rdp anyway whether wfh or at the office so theres no reason to lug it around

Carthag Tuek
Oct 15, 2005

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



trying to figure out a good name for a property

we have a bunch of "tasks" that have associated "posts". normally, users can create posts, but for one task we found it beneficial to pregenerate them. this was just filtered by task id because we were in a rush. now we are developing a new task that will also have pregenerated posts. so to avoid having inscrutable task-id checks everywhere im gonna change them to a boolean property on the task

"pregenerated_posts" is a bit clunky. any better ideas?

Bloody
Mar 3, 2013

Perot’s

Bloody
Mar 3, 2013

that got autocorrected after preview somehow. neat

Carthag Tuek
Oct 15, 2005

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



sadly we cant have apostrophes in property names

did you mean preposts?

The Fool
Oct 16, 2003


if all of the posts are pregenerated just call it pregenerated

The Fool
Oct 16, 2003


Bloody posted:

that got autocorrected after preview somehow. neat

awful app does this on the last word if there is s "pending" correction in ios

Carthag Tuek
Oct 15, 2005

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



The Fool posted:

if all of the posts are pregenerated just call it pregenerated

tasks have all kinds of associated stuff and we might want to pregenerate other types of stuff so i think its best to have "posts" in there, or at least make clear that its not a general pregeneration

The Fool
Oct 16, 2003


just call it what it is then

don't sacrifice clarity for brevity

Carthag Tuek
Oct 15, 2005

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



The Fool posted:

just call it what it is then

don't sacrifice clarity for brevity

yeah, you right.

Plorkyeran
Mar 22, 2007

To Escape The Shackles Of The Old Forums, We Must Reject The Tribal Negativity He Endorsed
make up an entirely new term which has no obvious connection to what it's describing

Presto
Nov 22, 2002

Keep calm and Harry on.

Hadlock posted:

The last time I saw an office with desktop computers permanently plugged into the wall was in like 2014

I have two of them at my desk. :colbert:

Mantle
May 15, 2004

Carthag Tuek posted:

trying to figure out a good name for a property

we have a bunch of "tasks" that have associated "posts". normally, users can create posts, but for one task we found it beneficial to pregenerate them. this was just filtered by task id because we were in a rush. now we are developing a new task that will also have pregenerated posts. so to avoid having inscrutable task-id checks everywhere im gonna change them to a boolean property on the task

"pregenerated_posts" is a bit clunky. any better ideas?

templates?

MrMoo
Sep 14, 2000

placeholders surely?

Bloody
Mar 3, 2013

pregposts

pregs

prgpsts

pprgs

Jabor
Jul 16, 2010

#1 Loser at SpaceChem
come up with some incredibly tortured metaphor that has nothing to do with your application and a name that only makes sense in light of it

like call them "augers" because that's what's in a post-hole before you're putting a post in it

redleader
Aug 18, 2005

Engage according to operational parameters

Plorkyeran posted:

make up an entirely new term which has no obvious connection to what it's describing

i didn't know we worked together

redleader
Aug 18, 2005

Engage according to operational parameters
another pro move is to reuse the name of an existing feature for something different. you lose some (but not all) points if the feature is no longer used

Carthag Tuek
Oct 15, 2005

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



gonna go with "preform", that wont clash with the enttry form

also found out that there was an older "multiPost" property that wasnt actually on the task objects, but was just set based on task.id a couple random places in the code lol so i made that a real property as well

mystes
May 31, 2006

Jabor posted:

come up with some incredibly tortured metaphor that has nothing to do with your application and a name that only makes sense in light of it

like call them "augers" because that's what's in a post-hole before you're putting a post in it
No call them augury because you're creating them before the fact

Have the task to create them be called scry

Carthag Tuek
Oct 15, 2005

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



mystes posted:

No call them augury because you're creating them before the fact

Have the task to create them be called scry

but since the posts are created, its the generation process thats the Task.augur()

the property can then be called Task.is_scryed

Ocean of Milk
Jun 25, 2018

oh yeah
Just write all code related to that in point-free style, then you don't have to come up with a name.

Carthag Tuek posted:

did you mean preposts?

No that would be preposterous.

Carthag Tuek
Oct 15, 2005

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



Ocean of Milk posted:

Just write all code related to that in point-free style, then you don't have to come up with a name.

i would still need to choose which function to use based on something, perhaps not a property but a named ~thing~

CPColin
Sep 9, 2003

Big ol' smile.

Bloody posted:

pregposts

pregs

prgpsts

pprgs

can u get pregposté

Share Bear
Apr 27, 2004

so usually when i write integration tests, i write like a separate script or something external to what i am testing to like set up the project in a way where some component is broken or unavailable and then test what goes in out, but this time i wanna like have them integrated into the project. what do people usually do for this in java?

Ocean of Milk
Jun 25, 2018

oh yeah
We do testcontainers and wiremock in our integration testsuite. Then I guess you can just shut down the container or mock a 500 response.
Also Spring 's MockBean annotation lets you replace any bean in an integration test with a mock, though I am not sure whether that's the level you wanna operate at. But you can just make it throw an exception to simulate failure.

Kazinsal
Dec 13, 2011



CPColin posted:

can u get pregposté

how is querry formed

dioxazine
Oct 14, 2004

Kazinsal posted:

how is querry formed

argh!

Carthag Tuek
Oct 15, 2005

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



dangerops prangent post? will it hurt code readible.?

Carthag Tuek
Oct 15, 2005

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



[/quote]

Antigravitas
Dec 8, 2019

Die Rettung fuer die Landwirte:
It's incredible how deep that stupid video has burrowed into people's minds.

Err, I mean

parger.Net?

Captain Foo
May 11, 2004

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

The Fool posted:

awful app does this on the last word if there is s "pending" correction in ios

holy poo poo i got wrecked by this a couple months ago and thought i was going insane

Adbot
ADBOT LOVES YOU

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.
the whole awful.app posting flow needs reworking, it is janky as gently caress

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