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
FlapYoJacks
Feb 12, 2009

Feisty-Cadaver posted:

the folks on that team (not me) were absolute loving rockstars cuz they were doing that work while also having to deal with patch releases every 2 weeks.

it is a miracle that team was successful, but good on them - things got _so much better_ after they had put in ~18 months work

Bungie needs this team desperately.

Adbot
ADBOT LOVES YOU

polyester concept
Mar 29, 2017

i can't imagine what the code behind magic the gathering would be like. some of the cards are wildly specific like "gain 1 land if one of your other creatures is wearing a hat", and then suddenly the devs have to add a "has_hat" check on every card dating back 30 years

cinci zoo sniper
Mar 14, 2013




polyester concept posted:

i can't imagine what the code behind magic the gathering would be like. some of the cards are wildly specific like "gain 1 land if one of your other creatures is wearing a hat", and then suddenly the devs have to add a "has_hat" check on every card dating back 30 years

ccgs have by far the simplest code of all games, because it's literally just a calculator with some sfx slapped on. sure, it's a chore to edit 500 card json declarations by hand to extend "properties" list of 37 cards with "has_hat", but like 95% of "wildly specific" card mechanics i can think of are trivially implementable as a list membership check.

cinci zoo sniper
Mar 14, 2013




also ccgs are probably _the_ usecase for doing tutorial porn-tier functional ecs with components like "damage_booster"

polyester concept
Mar 29, 2017

oh cool well in that case i am the terrible programmer

tef
May 30, 2004

-> some l-system crap ->

Powerful Two-Hander posted:

imagine what the dwarf fortress code is like

a miserable pile of secrets

Antigravitas
Dec 8, 2019

Die Rettung fuer die Landwirte:

polyester concept posted:

oh cool well in that case i am the terrible programmer

Exactly what I thought today after perusing git blame.

MrMoo
Sep 14, 2000

Just noted TypeScript and VS Code still has no support for Web Workers? That's somewhat impressive.

Probably more poo poo on the ES6M pile, as Workers have no support for import maps at all and that's still quite 💩

Slap the VS Jest team for their work too. If I force "color" output, at least I can scroll in the terminal the output, but it's not really parsed to any useful effect. "less -R" doesn't work at all in a terminal, so some improvement at least. If I disable forcing the colour output then the VS Code extension just gobbles up all the output and hides it unless you run in debug mode. So many questions.

It would be nice if VS Jest only ran the tests for code that changes, maybe it's trying to do that 🤷‍♂️

I hate webdev tooling.

and webdev.

Antigravitas
Dec 8, 2019

Die Rettung fuer die Landwirte:
That's quite apropros, I hate webdevs.

Powerful Two-Hander
Mar 9, 2004

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


how is nuget so loving bad god drat

I just want it to output the dependencies so I don't have to bother writing them in the nuspec file manually and apparently that's too much to ask and nuget spec just outputs a bare "here's an example for you to do urself!" file

Sagacity
May 2, 2003
Hopefully my epitaph will be funnier than my custom title.

tef posted:

a miserable pile of secrets
but enough about this thread

Poopernickel
Oct 28, 2005

electricity bad
Fun Shoe

Powerful Two-Hander posted:

how is nuget so loving bad god drat

I just want it to output the dependencies so I don't have to bother writing them in the nuspec file manually and apparently that's too much to ask and nuget spec just outputs a bare "here's an example for you to do urself!" file

YOSPOS: NUGSPOS: your nugs are a POS

Powerful Two-Hander
Mar 9, 2004

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


Poopernickel posted:

YOSPOS: NUGSPOS: your nugs are a POS

more like nuget yourself then wreck yourself

e: nuget me not

12 rats tied together
Sep 7, 2006

typescript devs be like "sometimes package imports are weird when i use 1 loc to spawn an isolated worker on a client pc in my free performant async language"

meanwhile .net devs be like how do i install a package

12 rats tied together
Sep 7, 2006

Sagacity posted:

but enough about this thread

this thread is good but it's better when we all have different stupid opinions instead of it being 6 pages of "ah yes have you considered that the computer is bad"

Shaggar
Apr 26, 2006
Nap Ghost

12 rats tied together posted:

typescript devs be like "sometimes package imports are weird when i use 1 loc to spawn an isolated worker on a client pc in my free performant async language"

meanwhile .net devs be like how do i install a package

source ur quotes

abraham linksys
Sep 6, 2010

:darksouls:

MrMoo posted:

Slap the VS Jest team for their work too.

the current vs code jest "team" appears to be some person on github who doesn't even have an employer listed on their profile who is not being paid for their work but sure go off king

Doom Mathematic
Sep 1, 2008

Feisty-Cadaver posted:

I worked on a very popular game that’s been around for a decade+ and we had at one point years ago a team called CUTS - clean up this poo poo

they did great work and the code base is mostly readable but it was a goddamn nightmare before then

Cold on a Cob posted:

cleaning up crufty code is so drat fun, I’d love this job

This is pretty much what I do all day, every spare minute I can claw out from the actual feature work I'm supposed to be doing. Scrapping old workarounds, simplifying pointlessly complex code, adding comments and documentation, updating old dependencies to newer stuff which works faster, making useful but inconsistently applied practices universal across the whole codebase, adding linting rules, small- and medium-sized performance stuff, renaming things, moving stuff so it's easier to find... just gradually ratcheting up how good the code is. My net contributed lines of code is well into the negative tens of thousands. I love it.

Sooner or later they'll give me an actual workload and I'll have to scale my efforts back, but oh well.

MrMoo
Sep 14, 2000

abraham linksys posted:

the current vs code jest "team" appears to be some person on github who doesn't even have an employer listed on their profile who is not being paid for their work but sure go off king

White knighting Facebook project spinoffs? Of all the companies to choose from.

All the significant work should be in the core Jest project, passing JSON objects back and forth, and just being a thin visual wrapper is all that is asked.

abraham linksys
Sep 6, 2010

:darksouls:

MrMoo posted:

White knighting Facebook project spinoffs? Of all the companies to choose from.

All the significant work should be in the core Jest project, passing JSON objects back and forth, and just being a thin visual wrapper is all that is asked.

sounds like an easy PR for you to make then! maybe you can offer to maintain it for free as well, since it's so easy

MrMoo
Sep 14, 2000

That’s a somewhat elitist and toxic attitude to take. I may indeed do a patch, whatever, this is day one obvious issues with the software.

Carthag Tuek
Oct 15, 2005

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



hell yeah docker is broken, skipping out early :cool:

cool av
Mar 2, 2013

Carthag Tuek posted:

hell yeah docker is broken, skipping out early :cool:

pretty sure this is how everyone thinks when my poo poo goes down too so really my terrible programming is doing the world a favor

Bloody
Mar 3, 2013

Powerful Two-Hander posted:

how is nuget so loving bad god drat

I just want it to output the dependencies so I don't have to bother writing them in the nuspec file manually and apparently that's too much to ask and nuget spec just outputs a bare "here's an example for you to do urself!" file

can you migrate to sdk style? I updated some of our packages to not use nuspec files and it was extremely easy and doing it in the project files is 1000x better because you don’t have to fuss with all that bullshit

Bloody
Mar 3, 2013

Doom Mathematic posted:

This is pretty much what I do all day, every spare minute I can claw out from the actual feature work I'm supposed to be doing. Scrapping old workarounds, simplifying pointlessly complex code, adding comments and documentation, updating old dependencies to newer stuff which works faster, making useful but inconsistently applied practices universal across the whole codebase, adding linting rules, small- and medium-sized performance stuff, renaming things, moving stuff so it's easier to find... just gradually ratcheting up how good the code is. My net contributed lines of code is well into the negative tens of thousands. I love it.

Sooner or later they'll give me an actual workload and I'll have to scale my efforts back, but oh well.

condolences for being on the git blame for everything

Antigravitas
Dec 8, 2019

Die Rettung fuer die Landwirte:
Should really rename it to git scapegoat

Powerful Two-Hander
Mar 9, 2004

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


don't worry git blame is practically unreadable most of the time so you're fine op

Carthag Tuek
Oct 15, 2005

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



cool av posted:

pretty sure this is how everyone thinks when my poo poo goes down too so really my terrible programming is doing the world a favor

thank you for your service

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

Powerful Two-Hander posted:

don't worry git blame is practically unreadable most of the time so you're fine op

spoken like a frequent git blamee

Doom Mathematic
Sep 1, 2008

Carthag Tuek posted:

hell yeah docker is broken, skipping out early :cool:

Modern technology snow day, I love it.

Poopernickel
Oct 28, 2005

electricity bad
Fun Shoe

Powerful Two-Hander posted:

don't worry git blame is practically unreadable most of the time so you're fine op

Much like your posts

Powerful Two-Hander
Mar 9, 2004

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


pokeyman posted:

spoken like a frequent git blamee

impossible I'm the only person that commits anything of worth and it still makes no loving sense

Poopernickel posted:

Much like your posts

otoh

Dylan16807
May 12, 2010

polyester concept posted:

i can't imagine what the code behind magic the gathering would be like. some of the cards are wildly specific like "gain 1 land if one of your other creatures is wearing a hat", and then suddenly the devs have to add a "has_hat" check on every card dating back 30 years

cinci zoo sniper posted:

ccgs have by far the simplest code of all games, because it's literally just a calculator with some sfx slapped on. sure, it's a chore to edit 500 card json declarations by hand to extend "properties" list of 37 cards with "has_hat", but like 95% of "wildly specific" card mechanics i can think of are trivially implementable as a list membership check.

has_hat is easy because that's in the silly set and they didn't even try to code it

in theory all they need to track is basically name, cost, type, rules text, and then they have to make a thousand different hooks for when different categories of events happen

but they apparently have awful spaghetti codebases, even on the new client that came out a couple years ago. they had entire sets that were implemented in the beta, taken out on launch day, and then 2-3 years later "oh no we changed too much we'd have to re-code those cards from scratch and it would take months"

Sagacity
May 2, 2003
Hopefully my epitaph will be funnier than my custom title.
"terrible programming: i would simply make a thousand different hooks for when different categories of events happen"

Jabor
Jul 16, 2010

#1 Loser at SpaceChem
Apparently for the new one they've got a setup that automatically produces code for the simple cards based on the rules text, and they only need to program the new mechanics and complex cards from each set.

Which I'm sure was very fun to write, but I don't know how much programmer time it saves in practice.

Corla Plankun
May 8, 2007

improve the lives of everyone

Jabor posted:

very fun to write, but I don't know how much programmer time it saves in practice.

this is the only actual problem i have at work anymore. the temptation to write the fun stuff is so strong!!! but it is almost never worth it and most of the time would actually make things worse

Soricidus
Oct 20, 2010
freedom-hating statist shill

Corla Plankun posted:

it is almost never worth it and most of the time would actually make things worse

does that fit in a thread title?

Carthag Tuek
Oct 15, 2005

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



docker still hosed

boss wrote me like "lemme know if i need to escalate something" lmao

animist
Aug 28, 2018

help
docking with my boss on a Friday

Adbot
ADBOT LOVES YOU

Powerful Two-Hander
Mar 9, 2004

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


our tools team think they're such hot poo poo but I swear none of their stuff is any good if you even slightly scratch the surface.

today's adventure: their client library is giving an error that's like "data server not found in connection list" which is utterly meaninglessness, what it actually means is "you don't have permission to connect to the source. would it kill you idiots to actually throw a custom exception? Or even just put in a meaningful message? apparently!


bonus: the permissions are done with IP whitelisting so when you reconnect to the VPN you lose them because your IP gets reset. it's completely unclear if setting a hostname works because it's not loving documented.

e: this is the same client library where they didn't document the dependencies either so you had to work them out by calling stuff and working through the stack traces to find the missing dll names.

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