|
Cugel the Clever posted:Argh, if you're going to take the time to pull out a chunk of code that's shared between two packages into a separate, common one, take another day to fully convert the originating packages to use the shared one or else things will just diverge again and require reconciling all three variants six months later when the work is taken back up. I'm going to take a guess and say it was this https://xkcd.com/927/ . Edit for new page: Hmm seems like this app comes with an api, let me check how to use it: code:
Nude fucked around with this message at 06:25 on May 14, 2020 |
# ? May 14, 2020 06:09 |
|
|
# ? Jun 5, 2024 16:40 |
|
Cugel the Clever posted:Argh, if you're going to take the time to pull out a chunk of code that's shared between two packages into a separate, common one, take another day to fully convert the originating packages to use the shared one or else things will just diverge again and require reconciling all three variants six months later when the work is taken back up. That's dumb, you don't need to reconcile the variants later. Just let them drift indefinitely, and keep adding additional drifting variants down the line whenever you get annoyed enough. (Or maybe a coworker will do it for you!) This is junior-grade stuff, come on.
|
# ? May 14, 2020 06:19 |
|
Foxfire_ posted:British Fact: They decided to add a y to the word 'tire' in the 1900s because they though it looked cool. Yeah well you Webster users can criticise the English maintainers when you stop trying to push half-assed changes from your fork upstream. why the gently caress would you change the spelling of sulphur but leave phosphorus alone, pick a goddamn naming convention and refactor things properly
|
# ? May 14, 2020 07:53 |
|
English should take French as an example and nominate a BDFL, instead of having a ton of local incompatible implementation flavours.
|
# ? May 14, 2020 13:43 |
|
Nude posted:I'm going to take a guess and say it was this https://xkcd.com/927/ . https://thedailywtf.com/articles/the-inner-json-effect
|
# ? May 14, 2020 14:47 |
|
But Lisps are a horror because of parenthesis.
|
# ? May 14, 2020 15:30 |
|
Today I discovered that the particular combination of terraform and vsphere we use for something apparently means that the network config file has to be a json document that contains a base64-encoded yaml document I hate devops
|
# ? May 14, 2020 20:19 |
|
Soricidus posted:Today I discovered that the particular combination of terraform and vsphere we use for something apparently means that the network config file has to be a json document that contains a base64-encoded yaml document Woah, you gotta future-proof it, be sure to encode this requirement in an XML file just in case!
|
# ? May 14, 2020 20:24 |
|
Soricidus posted:Today I discovered that the particular combination of terraform and vsphere we use for something apparently means that the network config file has to be a json document that contains a base64-encoded yaml document F Well, I mean, for those of us who are not you it's very funny
|
# ? May 14, 2020 21:18 |
|
Soricidus posted:Today I discovered that the particular combination of terraform and vsphere we use for something apparently means that the network config file has to be a json document that contains a base64-encoded yaml document Burn it all to the ground
|
# ? May 14, 2020 22:27 |
|
Soricidus posted:Today I discovered that the particular combination of terraform and vsphere we use for something apparently means that the network config file has to be a json document that contains a base64-encoded yaml document Name and shaaaaame
|
# ? May 15, 2020 01:45 |
|
Soricidus posted:Today I discovered that the particular combination of terraform and vsphere we use for something apparently means that the network config file has to be a json document that contains a base64-encoded yaml document the other day I discovered a medical format HL7, was often used to transfer a PDF file inside xml
|
# ? May 15, 2020 07:26 |
Tei posted:the other day I discovered a medical format HL7, was often used to transfer a PDF file inside xml pdf inside xml inside yaml inside json
|
|
# ? May 15, 2020 14:35 |
|
You gotta think bigger than that. That PDF needs to have some structured data in it, in a poorly formatted table, that you pull out with a series of custom regexes against an OCR text dump (you might think I'm joking, but this is common enough that AWS sells a service for dealing with it)
|
# ? May 15, 2020 15:39 |
|
Space Gopher posted:You gotta think bigger than that. you can probably write simple apps using the limited javascript you can embed on PDF-Forms https://www.evermap.com/javascript.asp#Title:%20Extract%20email%20addresses the limitation is that probably less than 10% would work consistently Tei fucked around with this message at 15:58 on May 15, 2020 |
# ? May 15, 2020 15:40 |
|
Tei posted:you can probably write simple apps using the limited javascript you can embed on PDF-Forms You can do a lot of things in PDF. https://www.youtube.com/watch?v=ADlGlFGAdiY Maybe they've changed some of this by now?
|
# ? May 15, 2020 16:09 |
|
Kilson posted:You can do a lot of things in PDF. If they changed anything it's to add more languages/runtimes.
|
# ? May 15, 2020 16:41 |
|
Kilson posted:
|
# ? May 15, 2020 17:36 |
|
Kilson posted:You can do a lot of things in PDF. Browsers are a lovely enviroment, just imagine whatever PDF viewer the user use to view the document. Chrome internal pdf viewer, a old version of Adobe, a light pdf viewer they installed...
|
# ? May 16, 2020 08:26 |
|
Tei posted:Browsers are a lovely enviroment, just imagine whatever PDF viewer the user use to view the document. Chrome internal pdf viewer, a old version of Adobe, a light pdf viewer they installed...
|
# ? May 16, 2020 22:08 |
|
SupSuper posted:How about the browser embedded in Outlook? You may try to shutdown the energy system and hammer the computer until is only a gray paste mixed with metal parts. Tei fucked around with this message at 22:44 on May 16, 2020 |
# ? May 16, 2020 22:41 |
|
I figure this thread is probably better for bitching about dumb co-workers than the Working in Development thread... So we have a React app that we have hosted on a DigitalOcean droplet, it's nothing fancy. But the off-shore guy comes to me any time there's an error and is always quick to blame my server whenever things go wrong. This time, it's a pretty standard JS error in the console, preventing any React rendering, that only happens with the prod version of the React app. I personally think this is probably just some bad dependency version or something like that. So this off-shore guy's hypothesis is the following: 1. The dev version of the React app works fine on the server, 2. The build script for the React app succeeds without error, 3. The built version of the React app, built on another server, in another Node.js environment entirely, works on that server. 4. Therefore, because his server uses Apache and mine uses Nginx, it's, uh, Nginx's fault. I don't know exactly what the problem is, but I'm going to guess that Nginx is not interfering with the local JavaScript execution of a bone-standard CRA app... Macichne Leainig fucked around with this message at 22:24 on May 20, 2020 |
# ? May 20, 2020 22:22 |
|
You should deploy your client-side js to a cdn instead
|
# ? May 20, 2020 22:25 |
|
The Fool posted:You should deploy your client-side js to a cdn instead I should mention this is a dev/test environment, we will do something like that when we're eventually ready to deploy a real production environment, yes.
|
# ? May 20, 2020 22:28 |
|
That error looks more like a build configuration problem than anything else (if it's working elsewhere at least), so yeah, your co-worker is probably stupid. Long shot but maybe some cache busting isn't working right and it didn't actually deploy the correct files?
|
# ? May 20, 2020 23:34 |
|
As far as I can tell it’s a side effect of a specific dependency and a webpack uglify plugin. I know it does work so it’s just a matter of figuring out what versions work properly. Just going to nuke the project folder and reinitialize everything, I’m not sure what they did but I noticed the file permissions got messed up at some point. I really need a proper CI/CD setup for this eventually.
|
# ? May 21, 2020 04:25 |
|
I have encountered errors where obscure combinations of headers and configs between nginx and Apache caused poo poo like that to break so I wouldn't rule it out completely, but it certainly wouldn't be my first guess
|
# ? May 21, 2020 05:14 |
|
oh no
|
# ? May 22, 2020 07:16 |
|
dougdrums posted:oh no how the gently caress do you do enough google to get that to work yet never come across win32's outputdebugstring()?
|
# ? May 22, 2020 08:20 |
|
Bruegels Fuckbooks posted:how the gently caress do you do enough google to get that to work yet never come across win32's outputdebugstring()? Doesn't that only work if it's a debug build?
|
# ? May 22, 2020 13:11 |
|
dougdrums posted:oh no This sin must be purged from the land.
|
# ? May 22, 2020 13:25 |
|
https://www.youtube.com/watch?v=k238XpMMn38 Tag yourselves, I'm code:
|
# ? May 22, 2020 13:49 |
|
The codebase at my old job is like 25+ years old at this point, so there was an eventual project to remove comments like that. The PR for that was like, 250 files, and nearly 1400 LOC changed.
|
# ? May 22, 2020 17:56 |
|
Protocol7 posted:The codebase at my old job is like 25+ years old at this point, so there was an eventual project to remove comments like that. Pretty sure the project I work on has a code file with a comment at the top that says "may God have mercy on your soul." It also periodically emails my boss Barry Manilow lyrics.
|
# ? May 22, 2020 18:04 |
|
Blue Footed Booby posted:Pretty sure the project I work on has a code file with a comment at the top that says "may God have mercy on your soul." It also periodically emails my boss Barry Manilow lyrics. do *clears throat, lowers voice* do the emails, correspond in some way, to events your boss wants to know about, or in any way convey useful information to them
|
# ? May 22, 2020 18:10 |
|
Blue Footed Booby posted:Pretty sure the project I work on has a code file with a comment at the top that says "may God have mercy on your soul." It also periodically emails my boss Barry Manilow lyrics. Yeah, there's a file I wrote which has a comment citing Dante's inscription on the door of Hell, and describing in sickening detail why the code does the lovely things it does. It became necessary when we ported our application from HP-UX to Linux and deals with shared library initialization, and that's all I'm going to say.
|
# ? May 22, 2020 18:16 |
|
Loezi posted:Tag yourselves, I'm code:
|
# ? May 22, 2020 18:26 |
|
Absurd Alhazred posted:
it works in release too. there's a tool dbgview.exe you can use to monitor the output. if you run dbgview.exe to monitor the use of outputdebugstring you can often see debug traces from apps where the developer didn't know this (and you should be SUSPICIOUS of these apps.) Bruegels Fuckbooks fucked around with this message at 18:42 on May 22, 2020 |
# ? May 22, 2020 18:37 |
|
code:
|
# ? May 22, 2020 18:40 |
|
|
# ? Jun 5, 2024 16:40 |
|
Foxfire_ posted:
|
# ? May 22, 2020 18:42 |