|
PIZZA.BAT posted:don't you understand i'm so much faster because my finger motion is so EFFICIENT now!! I mean like, what else are you going to use on a terminal There's nano and vi and emacs but frankly none of those is clearly a better option even if you suck at vim Well maybe emacs but that's pretty heavyweight for running on a remote server or whatever I admit I'm kinda crap at vim but I still use it a fair bit
|
# ? May 20, 2020 17:01 |
|
|
# ? Apr 25, 2024 20:09 |
|
Cold on a Cob posted:cargo culting after reading thousands of articles and books about super-productive 10xers It's the same people writing their Angular apps as a one long line of taps like they're trying to communicate is loving Morse code.
|
# ? May 20, 2020 17:01 |
|
obviously none of that applies to using it instead of a local IDE or editor, which I guess was the intention, just saying I still use vim sometimes even if I don't remember most of it maybe I should try and get better at it, but whenever I do I always forget everything within a few weeks
|
# ? May 20, 2020 17:07 |
|
vim's a lot easier once you just give up on learning the more advanced motions and just start using visual mode for everything complicated ime i do need to get better at using the surround motions though that's like the one thing i just straight up forgot how to do and i know is super useful
|
# ? May 20, 2020 17:13 |
|
lmao I ruined someone's day by pointing out that flash is gonna get removed from Windows installs in December and "we'll just run in ie compatibility mode" is not gonna let you carry on using Adobe/apache flex
|
# ? May 20, 2020 17:14 |
|
I have a question about how do do maven, my new job is basically a Java-shop and I haven’t touched that in 15(yikes, I’m an old now) years. Right now I’m just doing the frontend but this place also needs some devops triage. Right now there is a develop and a master branch, were develop is merged to master when making a release. The pom in develop has some arbitrary -SNAPSHOT version that no one seems to care about. And on the master branch there is a version number that we care about. We have a pom file for each environment in a good old TFS repo and changing them is how a release gets deployed. I have no idea if this is terrible or not, but I’m not going to be allowed to change it any time soon. What I have been allowed to do is to take away everyones push privileges and force stuff through PRs, and to setup policies for them. What I want is that when PRs to master has a check that verifies that the version in the pom doesn’t exist. And to make things easy I’d like to do it with a maven plugin. I found the external version plugin which should allow me to grab the version from the package.json pretty easily, but how to see if that version is new or not? My only idea that seems workable so far is to just use a script to curl our nexus artifact repository and hope for a 404. But someone has got to have wanted to do this before me...
|
# ? May 20, 2020 19:38 |
|
redleader posted:now all the jvm has to reinvent is supervisor trees and its convergence towards erlang will be complete akka has supervisor trees but .... akka
|
# ? May 20, 2020 19:50 |
|
zokie posted:I have a question about how do do maven, my new job is basically a Java-shop and I haven’t touched that in 15(yikes, I’m an old now) years. this is the standard way to use maven. the working branches are all just $NEXT_THING-SNAPSHOT, and "real" versions are only found in artifacts that might be deployed zokie posted:What I have been allowed to do is to take away everyones push privileges and force stuff through PRs, and to setup policies for them. this is not standard at all and is a very, very contentious thing to argue about zokie posted:What I want is that when PRs to master has a check that verifies that the version in the pom doesn’t exist. And to make things easy I’d like to do it with a maven plugin. I found the external version plugin which should allow me to grab the version from the package.json pretty easily, but how to see if that version is new or not? My only idea that seems workable so far is to just use a script to curl our nexus artifact repository and hope for a 404. let nexus deal with this -- it will tell you to gently caress off if you try to upload the same version twice, and your jenkins just has to note the error and mark the build as failed
|
# ? May 20, 2020 19:52 |
|
requiring reviewed prs is contentious?
|
# ? May 20, 2020 19:59 |
|
Powerful Two-Hander posted:lmao I ruined someone's day by pointing out that flash is gonna get removed from Windows installs in December and "we'll just run in ie compatibility mode" is not gonna let you carry on using Adobe/apache flex
|
# ? May 20, 2020 20:04 |
|
Bloody posted:requiring reviewed prs is contentious?
|
# ? May 20, 2020 20:21 |
|
mystes posted:I'm sure if you're really determined there will be some way to have flash just for one specific terrible legacy site, although I would not personally suggest that to anybody. our time sheet and budgeting system is all flex based lmbo there was a whole thing of "we can just use flex! We don't need expensive developers we can get cheap heads in India!" like 10 ish years ago that got imported with a cto who basically got backhanders from some outsourcing Corp and it spewed out a poo poo load of flex apps that are still in use it seems that you can in theory you can convert to Adobe air and some apache supported trash but lol at getting that done from a standing start with 6 months until you're hosed and after with the dev base we have E: and none of this is my problem in any way so I am taking great delight in it
|
# ? May 20, 2020 20:48 |
|
guys https://twitter.com/steveklabnik/status/1263190719721766918 idk i think i love it
|
# ? May 20, 2020 20:57 |
|
my only worry is that I'd ship this with debugging turned on and really gently caress with people
|
# ? May 20, 2020 20:58 |
|
But we don’t want to upload any release artifacts to nexus until the PRs are merged, that would remove the whole point of doing them in the first place. Also forcing PRs is great and not bad in anyway. At my previous job we had an awesome pipeline that checked all sorts of stuff, like making sure we handled any changes to GraphQL schemas and OpenAPI specs. Just push to remote, open PR, link some work items, click auto-complete. Then you just have to nag your co-workers to review and fix anything that comes up. If you have any sort of CD you don’t want people just pushing their poo poo into master and risk breaking stuff for everyone else!
|
# ? May 20, 2020 21:34 |
|
"we need some sort of system to control these jar versions" "better make a new tool then, I don't think we have any systems for controlling versions"
|
# ? May 20, 2020 21:45 |
|
Where the gently caress do you work that people can just push to master?
|
# ? May 20, 2020 22:21 |
|
Xarn posted:Where the gently caress do you work that people can just push to master? i'm just happy when my clients even use source control
|
# ? May 20, 2020 22:24 |
|
Xarn posted:Where the gently caress do you work that people can just push to master? PIZZA.BAT posted:i'm just happy when my clients even use source control
|
# ? May 20, 2020 22:39 |
|
two sides of techlands.... correlated but not perfectly w figgielands vs not
|
# ? May 20, 2020 23:21 |
|
Xarn posted:Where the gently caress do you work that people can just push to master? hello edit: no wait I disabled that except for my own side projects nevermind
|
# ? May 20, 2020 23:57 |
|
Xarn posted:Where the gently caress do you work that people can just push to master? hi
|
# ? May 21, 2020 01:42 |
|
Xarn posted:Where the gently caress do you work that people can just push to master? force push, no less
|
# ? May 21, 2020 01:58 |
|
a past boss once did git push -f before they changed the default to only push the current branch instead of all and we sure did have fun asking the last person to merge if they could push their local master again since it was the only one with the merge commit
|
# ? May 21, 2020 02:44 |
|
rotor posted:"we need some sort of system to control these jar versions" Hey, I’m asking for help specifically because I’m new to this java stuff. And when something breaks you want to know as early as possible, we could just do mvn verify or whatever is the proper thing to run for just checking if a PR builds OK. If we rely on nexus that means we only make sure the version gets bumped after we have already merged. It’ll be pretty annoying to have the release build fail just because someone forgot to bump the version. Releasing might not happen that often because this is a place that has IT Freezes all the god damned time (which I guess makes sense since if a bug stopped just one of the manufacturing lines in our factory attached to the HQ the company would lose hundreds of thousands of € per day). The key to making it nice to force PRs is reducing the friction and getting a fast feedback cycle. Thinking more on this either I make my own maven plugin, which seems to be what maven is all about, or maybe we should switch our release process to using maven release or something similar...
|
# ? May 21, 2020 08:00 |
|
PIZZA.BAT posted:why the gently caress does every single customer have that one guy who insists on using vim for everything but they absolutely suck at using it it was infuriating having to wait a minute every time he'd want to ask me a question, clacking around on his mechanical keyboard, splitting and unsplitting his tmux windows accidentally, just to get to the line of code he had a question about please note this was in a windows shop where the rest of us were just using visual studio Sagacity fucked around with this message at 08:45 on May 21, 2020 |
# ? May 21, 2020 08:43 |
|
tryhard juniors are a curse
|
# ? May 21, 2020 09:28 |
|
Cold on a Cob posted:cargo culting after reading thousands of articles and books about super-productive 10xers hahahaha code completion goes brrrr
|
# ? May 21, 2020 09:46 |
|
mods change my name to junior tryhard js hero
|
# ? May 21, 2020 11:24 |
|
abraham linksys posted:a past boss once did git push -f before they changed the default to only push the current branch instead of all and we sure did have fun asking the last person to merge if they could push their local master again since it was the only one with the merge commit I never ran into that, but when I teach people git, I tell them to use --force-with-lease, and if they actually need --force, then they are doing it wrong.
|
# ? May 21, 2020 12:35 |
|
git's defaults are ever-so-slowly getting less outright insane
|
# ? May 21, 2020 13:13 |
|
zokie posted:But we don’t want to upload any release artifacts to nexus until the PRs are merged, that would remove the whole point of doing them in the first place. so dont. upload snapshots into your snapshot repo in nexus and then once you get to the point where everything is done and approved for that version, you just get rid of -snapshot and publish it to your release repo. At that point you consider that version totally immutable. Any future changes for that artifact require you start the process again with a new version-snapshot
|
# ? May 21, 2020 15:42 |
|
zokie posted:Hey, I’m asking for help specifically because I’m new to this java stuff. maven is about doing what other people do which in this case would be maven-release-plugin
|
# ? May 21, 2020 17:27 |
|
Xarn posted:
i had never heard of force-with-lease until, uh, yesterday love that famously learnable ux of git
|
# ? May 21, 2020 17:58 |
|
if you are asking for help with maven then you don't want to make your own maven plugin, you want to use the existing plugins. if your workflow does not match how the existing plugin works, well then maybe you should change your workflow because it works for everyone else. only once you are an expert on both maven and that workflow should you consider making a custom plugin
|
# ? May 21, 2020 17:59 |
|
DrPossum posted:mods change my name to junior tryhard js hero
|
# ? May 21, 2020 18:37 |
|
DELETE CASCADE posted:if you are asking for help with maven then you don't want to make your own maven plugin, you want to use the existing plugins. if your workflow does not match how the existing plugin works, well then maybe you should change your workflow because it works for everyone else. only once you are an expert on both maven and that workflow should you consider making a custom plugin but about everything
|
# ? May 21, 2020 18:38 |
|
|
# ? May 21, 2020 23:13 |
|
tryhard junior js hero tryhard junior js hero tryhard junior js hero new framework in July on the metal
|
# ? May 21, 2020 23:42 |
|
|
# ? Apr 25, 2024 20:09 |
|
i fuckin hate pull request workflow everywhere i've worked that used that poo poo ended up with forever-forks with unfinished work that just needed one more change we'll meet about this again next week at my last job i had a PR remain open for two years while people yak-shaved it also makes CI/CD basically impossible -- since everyone is developing in a separate fork it's very difficult to "integrate" any changes in progress.
|
# ? May 22, 2020 00:21 |