|
also postgres owns postgis is really cool, too
|
# ? Nov 2, 2017 19:53 |
|
|
# ? May 13, 2024 23:50 |
|
Does anyone have any experience/advice for building auto-updating stuff in C#? I got dropped into this massive codebase after the sole developer left and it has been a trip so far. The application runs on machines owned by our customers and the idea is that our customers are too dumb or don't have actual access to the machines so it constantly polls an azure webservice for changes in configuration or updates to the application. Currently this involves one of two windows services (Updater or UpdaterUpdater depending on which of the ~7 other application services are being updated) doing a bunch of Process.Start() calls to try and kill all of the running services, then pulling down a chilkat self-extracting exe that dumps the updated binaries. Then it shuffles around a bunch of dlls that it has loaded through reflection and then does several more Process.Start() calls to get everything running again. In my two weeks or so working on this I've seen it update successfully maybe like 30% of the time and it makes deploying any new code stressful as gently caress since the guy wrote his own logging framework that has its own set of problems making it real difficult to see what step things broke on.
|
# ? Nov 2, 2017 20:06 |
|
Main Paineframe posted:it's supported in everything except IE, Edge, and Opera Mini, so that's 90% of users. good enough for me Dang, I have this poo poo dotted around, it looks like something off Snack. JavaScript code:
|
# ? Nov 2, 2017 20:36 |
|
elcannon posted:Does anyone have any experience/advice for building auto-updating stuff in C#? I got dropped into this massive codebase after the sole developer left and it has been a trip so far. The application runs on machines owned by our customers and the idea is that our customers are too dumb or don't have actual access to the machines so it constantly polls an azure webservice for changes in configuration or updates to the application. Currently this involves one of two windows services (Updater or UpdaterUpdater depending on which of the ~7 other application services are being updated) doing a bunch of Process.Start() calls to try and kill all of the running services, then pulling down a chilkat self-extracting exe that dumps the updated binaries. Then it shuffles around a bunch of dlls that it has loaded through reflection and then does several more Process.Start() calls to get everything running again. In my two weeks or so working on this I've seen it update successfully maybe like 30% of the time and it makes deploying any new code stressful as gently caress since the guy wrote his own logging framework that has its own set of problems making it real difficult to see what step things broke on. Maybe try ClickOnce. It can be set to require updating at each run and then internally you could have it check for updates and then kill itself or alert the user to restart it. Unless these are like web applications in which case lol good luck
|
# ? Nov 2, 2017 20:41 |
|
gonadic io posted:mysql Even as bad as mysql is, it's still way better than mongoloid.
|
# ? Nov 2, 2017 22:00 |
|
Beldantazar posted:Even as bad as mysql is, it's still way better than mongoloid.
|
# ? Nov 2, 2017 22:23 |
|
current tp s: all my stories get sized 2 or 3, everyone else gets sized 8 or 13 how close am i to being fired?
|
# ? Nov 2, 2017 23:47 |
|
seems odd that stories get assigned to a dev before they get estimated imo
|
# ? Nov 2, 2017 23:53 |
|
shipped a crash on launch today carry on then posted:current tp s: all my stories get sized 2 or 3, everyone else gets sized 8 or 13 all the stories are the same ur just a 4x programmer! more like how close to a promotion imo
|
# ? Nov 3, 2017 01:07 |
|
what is a story and how does it have a size
|
# ? Nov 3, 2017 01:26 |
AggressivelyStupid posted:what is a story and how does it have a size features and workload
|
|
# ? Nov 3, 2017 01:31 |
|
why is it so loving hard to deploy a .net app that connects to oracle to a customer machine that doesn't have an oracle client installed i've tried every combination of dlls and project settings i can think of and find on the internet and i keep getting exceptions trying to create a new OracleConnection object i'm going insane
|
# ? Nov 3, 2017 01:36 |
|
carry on then posted:current tp s: all my stories get sized 2 or 3, everyone else gets sized 8 or 13 just means you're getting things that have been split up into a lot of little tasks while everyone else is getting big things that aren't being split up into bite-size pieces most likely it's just a coincidence
|
# ? Nov 3, 2017 01:48 |
|
Your probability of getting fired is always inversely proportional to your desire to leave your current job Needless to say I'm feeling pretty loving confident about my continued employment
|
# ? Nov 3, 2017 02:07 |
|
what the gently caress does a 4 point ticket represent? time? complexity? either way that's a stupid sizing
|
# ? Nov 3, 2017 02:08 |
|
Shaggar posted:yeah its extract, transform, load. irl its about taking the terrible garbage poo poo trash your client sends you and contorting it to suit your needs. its also about handling the many failures that will occur when the client sends the wrong data, sends invalid data, doesn't send data, or any of 100 other gently caress ups they'll explore. thanks shaggar! i'd somehow gotten it into my head that etl was some enterprise doublespeak nonsense it's relevant to my work interests because we have an awful lot of integrations running. each is a unique special snowflake with its own logging, validation, error handing, and reporting, written by devs of varying skill and fucks-given, possibly under ridiculous deadlines. maybe they looked at performance with more than 10 items, maybe not everything is developed here due to absurd NIH syndrome. run a task at a certain time each day? custom scheduler! copy a file from ftp? copy some code from somewhere! or don't! use .NET's file stuff directly! or use this crappy library! schema validation? if you want! csv parsing? String.Split! or another crappy library! the best part is how 99% of these integrations are run by calling an ASP.NET handler - meaning the integration runs in-process and are subject to normal ASP.NET request timeouts. except for the ones that bothered to increase the request timeout through code strangely enough, our ops team is constantly loving bombarded with integration failure emails (email being the primary and quite probably only failure notification method). they've adopted a policy of not caring much unless someone complains. i don't have as issue with that policy since they're buried by other poo poo going wrong all the time - take a guess at how the rest of the codebase looks and performs the most motivated and optimistic ops guy wants to fix this absurd situation - inevitably by designing and writing some homegrown framework that will Fix The World. he's a great guy and a great dev, but he simply loves handcrafting his own stuff rather than looking at existing solutions
|
# ? Nov 3, 2017 02:41 |
|
Blinkz0rz posted:what the gently caress does a 4 point ticket represent? time? complexity? either way that's a stupid sizing it’s a relative figure and has no meaning outside the sizing of all the other stories the squad is working. getting this through the head of offering management is an ongoing project
|
# ? Nov 3, 2017 03:00 |
|
Depressing Box posted:You could use URLSearchParams, though you'll need a polyfill for IE. Holy hell I should have asked here first. What I found on the internet and from the UI guys at my workplace was a variety of answers that looked like this: MrMoo posted:Dang, I have this poo poo dotted around, it looks like something off Snack. God drat the last thing I want to do when trying to cozy up to a language is enumerate all the edge cases for encoding maps into strings and vice versa. Also lol @ "Snack", never heard that before.
|
# ? Nov 3, 2017 03:11 |
|
Cheekio posted:Holy hell I should have asked here first. What I found on the internet and from the UI guys at my workplace was a variety of answers that looked like this: you've never heard of jeff fatwood of snack overflow? shame.
|
# ? Nov 3, 2017 04:41 |
|
reminder. https://twitter.com/codinghorror/status/299550053968793600?lang=en
|
# ? Nov 3, 2017 04:47 |
|
MrMoo posted:Dang, I have this poo poo dotted around, it looks like something off Snack. edit: thought the functionName`template` thing was syntactic sugar but it's much weirder even though there's no reason to do this here also you need to run decodeURIComponent on k as well as v There Will Be Penalty fucked around with this message at 05:04 on Nov 3, 2017 |
# ? Nov 3, 2017 04:48 |
|
carry on then posted:it’s a relative figure and has no meaning outside the sizing of all the other stories the squad is working. getting this through the head of offering management is an ongoing project Yeah the intention is that it's completely arbitrary and is only used so that you can talk about some tasks being bigger than others
|
# ? Nov 3, 2017 08:44 |
|
baby steps: you can now make a server-side aspnet core website and then deploy it as an electron app. meaning you can write electron apps using c# razor templating (or any other templating that can run on aspnetcore) instead of javashit. paging shaggar, shaggar to the thread NihilCredo fucked around with this message at 10:33 on Nov 3, 2017 |
# ? Nov 3, 2017 10:26 |
|
Ciaphas posted:holy loving lmao, coldfusion my company's main product is written in coldfusion and is actively maintained
|
# ? Nov 3, 2017 10:34 |
|
Powerful Two-Hander posted:how can people gently caress up a merge so bad? I suck at using svn but even I know that merging a branch to trunk should *probably* include all the folders in the branch and not just the ones that were additive only but no, they merged about 50%of the changes and then took a new branch that unsurprisingly didn't work if you want to merge a branch in svn, my unironic advice is to recreate the commits in git, merge it in git, then push that to the svn repository this is the point where you start questioning the usefulness of svn if merging a branch is considered a complicated topic that people can trivially gently caress up
|
# ? Nov 3, 2017 11:13 |
'string' or "string"
|
|
# ? Nov 3, 2017 13:57 |
|
cinci zoo sniper posted:'string' or "string" in general? if you do 'string' then how do you define char literals?
|
# ? Nov 3, 2017 14:10 |
gonadic io posted:in general? if you do 'string' then how do you define char literals? in python. i don't think ive worked in anything that distinguishes between strings and chars
|
|
# ? Nov 3, 2017 14:13 |
|
cinci zoo sniper posted:in python. i don't think ive worked in anything that distinguishes between strings and chars just lol. who gives a gently caress in python then, nothing means anything.
|
# ? Nov 3, 2017 14:16 |
gonadic io posted:just lol. who gives a gently caress in python then, nothing means anything. i know, which is why im curious if there's some jaor convention about this, as i havent seen any beyond "just stick to using one of either" next dumb q: what do authors mean when they say "my framework is declarative"
|
|
# ? Nov 3, 2017 14:17 |
|
cinci zoo sniper posted:in python. i don't think ive worked in anything that distinguishes between strings and chars if your string contains ', use "". if your string contains ", use ''. if your string contains both, use """"""". also holy gently caress that sucked to type in a phone.
|
# ? Nov 3, 2017 14:24 |
minivanmegafun posted:if your string contains ', use "". if your string contains ", use ''. if your string contains both, use """"""". whoa
|
|
# ? Nov 3, 2017 14:28 |
|
cinci zoo sniper posted:i know, which is why im curious if there's some jaor convention about this, as i havent seen any beyond "just stick to using one of either" declarative programming is a style where your variables are generally immutable, often is more functional/side-effect light. so you might do like code:
code:
|
# ? Nov 3, 2017 14:30 |
gonadic io posted:
|
|
# ? Nov 3, 2017 14:31 |
|
if you don't want to escape a bunch of characters, use raw: r"this is my string full of bullshit characters"
|
# ? Nov 3, 2017 14:32 |
|
i generally prefer declarative because it means that your state is represented in actual objects that you can interact with instead of having to inspect the mutable state of objects. think the builder pattern like code:
code:
|
# ? Nov 3, 2017 14:32 |
gonadic io posted:i generally prefer declarative because it means that your state is represented in actual objects that you can interact with instead of having to inspect the mutable state of objects. same. it maybe doesn't look as slick, but there are fixed anchors for everything
|
|
# ? Nov 3, 2017 14:34 |
ultravoices posted:if you don't want to escape a bunch of characters, use raw:
|
|
# ? Nov 3, 2017 14:35 |
|
on the other hand, "declarative" is one of the words that's used by fart-huffers too so as soon as you see something like "declarative minimal embedded dsl" then it's time to start being a little sceptical. hey tef, does your bullshit programming dictionary have "embedded" in it?
|
# ? Nov 3, 2017 14:36 |
|
|
# ? May 13, 2024 23:50 |
|
cinci zoo sniper posted:i like this much better, ty for mentioning. haven't done p much anything related to strings more complicated than "Plot title" or parsing "1234,4124.53 USD" to floats There is a lot of useful stuff sort of squirreled away in the methods. str.format() does all the heavy lifting but it's not obvious, you have to read examples or the docs.
|
# ? Nov 3, 2017 14:45 |