|
Antigravitas posted:I know we could just fill this thread with this language, but what the gently caress were people smoking when they decided to have automatic unboxing in Powershell? they were trying to create bash for windows, they succeeded?
|
# ? May 26, 2020 15:22 |
|
|
# ? Apr 26, 2024 13:25 |
|
bash is a cautionary tale, not something to emulate.
|
# ? May 26, 2020 15:28 |
|
pointsofdata posted:of all the dumb js library names, "joi" has to be the worst If you like that you should check out the love2d ecosystem
|
# ? May 26, 2020 16:41 |
|
Antigravitas posted:bash is a cautionary tale, not something to emulate. yeah powershell has a ton of problems that are all related to emulating bash and other Linux type shells. it should have just been c# script instead of the hybrid mess it is
|
# ? May 26, 2020 16:48 |
|
Shaggar posted:yeah powershell has a ton of problems that are all related to emulating bash and other Linux type shells. a c# based shell without the powershell cruft would be so good
|
# ? May 26, 2020 17:13 |
|
would a c# shell still have, like, entirely c# syntax or would there be shortcuts for calling functions and stuff? i guess minimizing keystrokes isn't such a big deal w/ good autocomplete
|
# ? May 26, 2020 17:30 |
|
i would expect and prefer shortcuts for common stuff and it would still have to support piping and such of course
|
# ? May 26, 2020 17:32 |
|
every time i work with powershell i feel like the language designer actively hates me. other tools are annoying because of what feels like oversight or cut corners or bad tradeoffs but only powershell gives me the sense of malice.
|
# ? May 26, 2020 17:37 |
|
I tried another running app today, RunKeeper, by ASICS. Very basic app, can only log runs, cannot beep on distances like any other app would do. So with very little on the box, can it succeed? Nope, some how it manages to record heartbeat, time, syncs with Apple, but cannot record any movement whatsoever. The Apple app rubs it in by showing the 3+ miles moved. Terrible programmers are everywhere.
|
# ? May 26, 2020 17:43 |
|
MrMoo posted:I tried another running app today, RunKeeper, by ASICS. Very basic app, can only log runs, cannot beep on distances like any other app would do. So with very little on the box, can it succeed?
|
# ? May 26, 2020 18:08 |
|
animist posted:i check my dependencies into git but not my source code. I keep that on npm to stay extra cutting edge "Works on my machine."
|
# ? May 26, 2020 19:31 |
|
If Im using on a greenfield team was going to go with GitLab out of inertia but thats mainly because I was coming from a land of on-premise self-hosted.
|
# ? May 26, 2020 21:45 |
|
Hed posted:If Im using
|
# ? May 26, 2020 21:56 |
|
Hed posted:If Im using use azure devops
|
# ? May 26, 2020 23:12 |
|
We currently have a monorepo containing about a dozen separately-built projects all depending on some common includes. We're transitioning soon from P4 to Git so I've got a window to reorganize this My problem is how to actually do that; the only tool I know well for the task is git submodule and that particular tool sucks arse (ed) or if I even want to do so; a lot of the Googleable Internet seems to think monorepos are a good thing for various reasons that only halfway make sense to me Ciaphas fucked around with this message at 14:59 on May 27, 2020 |
# ? May 27, 2020 14:53 |
|
what about having each project be a separate repo that has the common includes as git subtrees?
|
# ? May 27, 2020 15:00 |
|
animist posted:would a c# shell still have, like, entirely c# syntax or would there be shortcuts for calling functions and stuff? it could have been like awk, where it feels c-ish but you have reduced generality (so and complexity) and more convenience
|
# ? May 27, 2020 15:04 |
|
Phobeste posted:what about having each project be a separate repo that has the common includes as git subtrees? thanks, I'll look at that I can virtually guarantee one particular developer running headfirst into "The responsibility of not mixing super and sub-project code in commits lies with you." though. Unless by "you" they mean me, the person putting in this subtree stuff, rather than developers working with it later; I'll keep reading [that developer may or may not be me, no jury will convict me] Ciaphas fucked around with this message at 15:09 on May 27, 2020 |
# ? May 27, 2020 15:05 |
|
it's a general lesson in design & abstraction: taking something like c and boiling it down and making it more specific leads to a gem like awk taking something simple and building it up leads to bash, javascript, and perl if you don't have a fixed end goal, you are going to have to grow which means warts since you are going to make missteps you have to keep around
|
# ? May 27, 2020 15:11 |
|
Ciaphas posted:We currently have a monorepo containing about a dozen separately-built projects all depending on some common includes. We're transitioning soon from P4 to Git so I've got a window to reorganize this what're you trying to accomplish by reorganizing it. smaller checkouts? preventing accidental circular dependency commits?
|
# ? May 27, 2020 15:56 |
|
cool av posted:what're you trying to accomplish by reorganizing it. smaller checkouts? preventing accidental circular dependency commits? as I explore, the answer to that question is turning into "not very much". AFAICT it would mean an easier time with Jenkins and vaguely clearer divisions of responsibility and that's about it "monorepo is fine for my case" is perfectly acceptable, i'm just exploring right now
|
# ? May 27, 2020 16:01 |
|
Ciaphas posted:thanks, I'll look at that Ciaphas posted:as I explore, the answer to that question is turning into "not very much". AFAICT it would mean an easier time with Jenkins and vaguely clearer divisions of responsibility and that's about it yeah i mean the real use case is to treat the common includes like a dependency, with dependency management tools rather than version control tools. there are unfortunately not many good dependency management tools for c++ source dependencies (at least I think; I certainly can't recommend any), but using git for this is going to be painful somehow, using subtrees vs modules vs whatever is just letting you Choose Your Pain
|
# ? May 27, 2020 16:06 |
|
you're talking about something like npm or NuGet, I suppose? 'cos yeah having that would definitely help I *guess* cmake ExternalProject_Add would fill the niche too but that feels sketch af for reasons i can't articulate yet
|
# ? May 27, 2020 16:56 |
|
in any case I don't think any of the monorepo disadvantages really apply to us so I think i'm okay with that particular status staying quo
|
# ? May 27, 2020 17:12 |
|
pointsofdata posted:of all the dumb js library names, "joi" has to be the worst I, too, get my software from walmart
|
# ? May 27, 2020 18:55 |
|
trying to release a hotfix jenkins down no gods no masters
|
# ? May 27, 2020 22:34 |
|
can you run through your build manually or somethin? or just do a rollback to an older version everyone at work likes to merge a revert PR and deploy that when something breaks, but that process takes like 45 minutes between building and testing the revert branch, merging, and building and testing master, and i always get annoyed when we have a critical bug and no one just thinks to deploy an older built docker image from a past deploy and prod is just broken for 45 minutes for no reason ofc this is in a frontend context where you don't have to worry about doing schema migrations down or whatever which is more complicated
|
# ? May 27, 2020 23:37 |
|
nah, it affected 2 customers that used a cross-product feature so we just waited until jenkins came back up and released didn't take too long cause it turns out our build infra and it teams are actually good at their jobs
|
# ? May 28, 2020 00:55 |
|
Brain Candy posted:it's a general lesson in design & abstraction:
|
# ? May 28, 2020 02:51 |
|
ugh why is handling tiff files in python such a pain in the rear end they keep getting hosed up. tried pillow & tifffile
|
# ? May 28, 2020 08:19 |
|
Blinkz0rz posted:nah, it affected 2 customers that used a cross-product feature so we just waited until jenkins came back up and released
|
# ? May 28, 2020 08:46 |
|
lmao this is the worstcode:
|
# ? May 28, 2020 09:28 |
|
just use FITS and have n-dimensional images
|
# ? May 28, 2020 10:51 |
|
Sagacity posted:well, good at their jobs while still having their infra going down without apparent redundancy? i mean idk the details but from what i've read it seems like both the primary and secondary firewalls in our dc went down or were severely limited at the same time which affected outbound traffic so i can't really fault the team for that
|
# ? May 28, 2020 18:29 |
|
Progressive JPEG posted:just use FITS and have n-dimensional images tbh i wanna just delete everything but then id get fired
|
# ? May 28, 2020 18:40 |
|
the lead programmer will let 2 hrs go by without responding after I slack him asking a question, but when I follow up that I figured it out on my own he posts a thumbs up emoji within 5 minutes
|
# ? May 28, 2020 18:54 |
|
The Scientist posted:the lead programmer will let 2 hrs go by without responding after I slack him asking a question, but when I follow up that I figured it out on my own he posts a thumbs up emoji within 5 minutes this is a pro-technique, you have a good lead
|
# ? May 28, 2020 18:59 |
|
Brain Candy posted:this is a pro-technique, you have a good lead
|
# ? May 28, 2020 19:11 |
|
The Scientist posted:the lead programmer will let 2 hrs go by without responding after I slack him asking a question, but when I follow up that I figured it out on my own he posts a thumbs up emoji within 5 minutes Wait am I your lead?
|
# ? May 28, 2020 19:34 |
|
|
# ? Apr 26, 2024 13:25 |
|
that rubber ducky thing works. If i can't figure something out, i get a new email window to the person i think knows the solution. I remove their name from the TO: field and start describing the issue in detail. 80% of the time the process of describing the issue will lead me down the path I needed to be led down to answer my problem. If I get to the end and still dont know wtf, i add their name and hit send. Works great.
|
# ? May 28, 2020 19:59 |