|
necrotic posted:im also an idiot who continues to use vim. ive spent too much time getting all my terminal poo poo just how I like it to migrate to other options at this point. oh, i have no problem with that. after all, i'm a child who needs colours and pictures to help me work with a core part of my job
|
# ? Aug 10, 2019 01:02 |
|
|
# ? Apr 19, 2024 21:35 |
|
me at work & at home: https://www.youtube.com/watch?v=EvBD1Rh86tI
|
# ? Aug 10, 2019 01:58 |
|
necrotic posted:im also an idiot who continues to use vim. ive spent too much time getting all my terminal poo poo just how I like it to migrate to other options at this point. my excuse for still using vim is that i spent a long while working with locked-down BSD systems where vi was the only option other than ed. that and my debugging strategy of hot-patching within running containers because lol interpreted languages
|
# ? Aug 10, 2019 03:02 |
|
I once knew a guy who was terribly condescending about people choosing not to use command line git. This was the same guy that declared, "I don't use docker because I tried it 2 years ago and didn't like it." So instead of docker, web projects in that company had this structure: To start working on a web project, first you got to pull the web project repository into your computer. Next, you have to pull this special repository called "infrastructure" and make sure it's on the same directory level as the project you just pulled. After which, go to the project directory and type "make-abc-xyz", in which "abc-xyz" are totally arbitrary strings. I.e. if it's a Laravel project it's "make-laravel" or "make-silverstripe" for some other weird rear end framework. After doing the initial make, be prepared to execute many other "make-what-thefuck" commands from terminal. The follow up commands are non standard, and change from project to project, and for God's sake don't just type "make" because it'll start registering and pulling down production settings. Finally, once all the make is done, nothing works because to run the PHP server it all depends on hard coded PHP executable paths that assume you have this old specific version of a MAMP stack that you need to pay for.
|
# ? Aug 10, 2019 04:35 |
|
floatman posted:I once knew a guy who was terribly condescending about people choosing not to use command line git. I still haven't figured out how to use Docker for a production-like set-up, but I'm really happy that I've managed to figure out how to make a somewhat acceptable dev environment using it.
|
# ? Aug 10, 2019 06:45 |
|
red hat's set of container tools seem to take the core ideas of docker and implement them in a way that doesn't involve being docker still not in a hurry to use them tho
|
# ? Aug 10, 2019 06:50 |
|
Arcsech posted:intellij's built in git thing is really good actually, and so is the merge tool yeah it rules
|
# ? Aug 10, 2019 07:08 |
|
pseudorandom posted:I still haven't figured out how to use Docker for a production-like set-up, but I'm really happy that fwiw you wouldn't want to use docker itself directly, instead you'd be using docker images as a vehicle for moving artifacts around. the images themselves would then be run using some orchestration system like kubernetes. dockerd sucks and nobody should touch it yes it's a cambrian explosion alphabet soup at the moment but hopefully things will narrow down as investment money dries up
|
# ? Aug 10, 2019 07:29 |
|
From what I did with docker, I think it's great that you could just pull down a repo and run a set of common docker commands to get your local Dev setup. I understand if people don't want to use docker. What I don't understand is people who don't want to use docker, then proceed to make their own in house lovely version of docker that doesn't even work. I just remembered that that "infrastructure" repository was shared among all projects, so once in a while your project would fail to boot because MR 10X decided to mess around with the code for some other project breaking other unrelated projects in the process.
|
# ? Aug 10, 2019 07:48 |
|
always use git rebase -i
|
# ? Aug 10, 2019 07:54 |
|
floatman posted:From what I did with docker, I think it's great that you could just pull down a repo and run a set of common docker commands to get your local Dev setup. oh right i completely forgot about the use case of running things locally on your machine, in which case plain ol' docker to pass around your dependencies is totally acceptable and even preferable if e.g. youd otherwise be stuck with some bullshit trashfire dependency management such as whats offered by go or python i just meant for like running the production setup. for that specifically it's more like dockerd-ont
|
# ? Aug 10, 2019 08:13 |
|
also update on my dumb life: I'm back in a team lead position for an international company. I got to hire someone, which I haven't done before. although they sent my new hire a contract which they signed, corporate hasn't signed it themselves and I can't seem to navigate the lovely process of getting them added to Slack and all that. it makes me kinda nervous but I've had execs tell me it's 100% gonna get done and we're already working together regardless. just make me kinda nervous. I didn't get a pay increase and nor did I ask for one. I think my previous lead has some doubt about what we're doing, since it's kinda new territory/R&D, but it's actually 100% what I was hired to do on day one and (the team) just never got done. so there's a bit of pressure, but I'm confident at the moment because of the cocaine! it sounds kinda solid, but half the reason I got this position is because of a big beef that happened between me and another guy on the old project. I was employee #2 and this new guy came in (I think I posted about it here 1000 pages ago) and did a whole bunch a annoying stuff, which in part led to like 75% of our plans and processes for the project being dropped. my old lead said they were "adapting to the team", but shouldn't they lead the team to fulfill objectives rather than drop features cause so-and-so didn't like them? what the gently caress? I stayed clear of the guy as much as humanly possible so the tension could die down, but he never stopped harassing and starting poo poo with me which I never engaged in. the lead on that project refused to discipline or fire the guy because he thinks he's a genius for no reason, so they opted to try move us to different projects. I took that opportunity to connect with other executives and fully take the lead on a new project that actually made my former lead act a little strange. first asked me to work 60% on his project and I said I can't commit to any amount yet, but can take on overflow work later on. said I should do things this way and that way to make things "backwards compatible" but I said our (previous) project abandoned sharing components and never worked from a universal design document, so doing that would require very messy code that tries to detect if the app using the components is new or our 5-month older one (his). I said nah, just implement our stuff over time and adopt the components gradually if/when they are not compatible, and we'll version them to try help. so next day he said I might get fired or whatever for over-reaching, but he had to concede once I explained that I got approval from the right people and all is good. so yeah I'm back on top (a position I use to be basically anti-lead and just facilitate folks doing what they do best, mentoring softly when they need help, and peer programming as much as possible to build knowledge and create a healthy team culture). still, I have to break away from the on-premise part of the job which is only a few hours a week that I barely adhere to. anyway, it's going pretty good.
|
# ? Aug 10, 2019 11:44 |
|
Sapozhnik posted:red hat's set of container tools seem to take the core ideas of docker and implement them in a way that doesn't involve being docker Openshift is definitely an improvement but it still feels like it has a long way to go. We tried using helm with it but that was a mistake, it's almost easier to just manage the config by hand. it suffers a bit from poor documentation and being half kubernetes half over stuff, so if you want to do something you'll find a load of articles about how to do it in plain kubernetes which isn't what you want
|
# ? Aug 10, 2019 12:01 |
|
git --rebonghit
|
# ? Aug 10, 2019 16:14 |
|
rancher is the answer, OpenShift has too much proprietary poo poo in it that's different than k8s native and That's Bad because it's IBM messing around in there. if you're using it as a service, ok fine but don't run your own, use rancher.
|
# ? Aug 10, 2019 17:41 |
|
If stack overflow doesn't require kubernetes then odds are that your bullshit fart app doesn't either Have you considered using libraries whose api stability periods are not measured in weeks?
|
# ? Aug 10, 2019 20:32 |
|
Sapozhnik posted:If stack overflow doesn't require kubernetes then odds are that your bullshit fart app doesn't either afaik this isn't an option if you work in web development
|
# ? Aug 10, 2019 20:36 |
|
i have no opinions on docker for production, but for local dev purposes Im always happy to see a dockerfile. at worst its an authoritative list of deps that doesnt accidentally depend on things he developers happened to have installed globally.
|
# ? Aug 10, 2019 21:14 |
|
after having used bitbake a bunch at work, I really really wish I was back on docker. Raspberry pis can be a docker host just fine we're not stretching the hw at all.
|
# ? Aug 10, 2019 21:23 |
|
docker and k8s are pretty good. we run prod clusters in 5 aws regions, a staging cluster, and a dev cluster and they're perfectly needs suiting my team doesn't manage the cluster tho and outages can be a pain because our operations team is in a different time zone but those are pretty infrequent
|
# ? Aug 10, 2019 21:29 |
|
what I want to know is: for my personal stuff I have 1 VM running container os. what i would like is something that I can change the image tag in a single file and it'll update to the new image and then keep it up. right now i have to ssh in, docker down, docker pull, docker up manually. i deffo do not want k8s, and docker swarm still seemed more for multiple machines in a cluster?
|
# ? Aug 10, 2019 21:36 |
|
If you change the image it has to restart, if that's what you mean by keep it up. Otherwise, without something to manage the container (an orchestrator) you'll have to do the down/pull/up. docker-compose could at least remove the pull step, and maybe even a single restart command would see the change to the compose file.
|
# ? Aug 10, 2019 21:45 |
|
necrotic posted:If you change the image it has to restart, if that's what you mean by keep it up. Otherwise, without something to manage the container (an orchestrator) you'll have to do the down/pull/up. docker-compose could at least remove the pull step, and maybe even a single restart command would see the change to the compose file. that's a pretty good suggestion! yeah I don't mean anything hotloading or whatever, just restart it if it crashes.
|
# ? Aug 10, 2019 21:51 |
|
gonadic io posted:after having used bitbake a bunch at work, I really really wish I was back on docker. Raspberry pis can be a docker host just fine we're not stretching the hw at all. Yocto is terrible.
|
# ? Aug 10, 2019 22:22 |
|
Serverless seems like it'd be nicer to live with in prod than containers but obviously some apps don't fit in that particular hole I will say a lot of the container ecosystem seems to be built to solve problems that containers have, themselves, created
|
# ? Aug 10, 2019 23:09 |
|
serverless is just per request billing
|
# ? Aug 11, 2019 02:05 |
|
it's funny that it only becomes serverless when you have a poo poo-ton of servers
|
# ? Aug 11, 2019 02:34 |
|
take a look at my serverless website: [picture of a book] also. i'm always infuriated by programmers who think "basic understanding of HCI" is just weakness. like no, i don't want to use deliberately awful interfaces if i can avoid it
|
# ? Aug 11, 2019 05:38 |
|
i have a little program that generates text files. specifically, it takes a bunch of mods for the game dominions 5, puts them all into one file, and then replaces the IDs used so that there aren't conflicts. however it seems to also randomly place one large block of null bytes in the middle of the file. which line it does it on seems to be different each time too, and there's only ever one. wtf could possibly be happening? it's in rust so i'm hoping i don't have memory corruption. i looked at the lines surrounding the block, and their original locations, and couldn't see anything weird - none of the input files have the null bytes in them.
|
# ? Aug 11, 2019 17:05 |
|
animist posted:take a look at my serverless website: you will never become a project manager with that attitude
|
# ? Aug 11, 2019 17:38 |
|
I was once tasked with doing something on the front end of our site and once I started posting js libraries for CLI poo poo in our work slack that task got reassigned to someone else pretty quick
|
# ? Aug 11, 2019 18:12 |
|
take out the code that writes the null bytes op
|
# ? Aug 11, 2019 18:59 |
|
gonadic io posted:i have a little program that generates text files. specifically, it takes a bunch of mods for the game dominions 5, puts them all into one file, and then replaces the IDs used so that there aren't conflicts. maybe you are replacing ids with shorter ids but keeping the string the same length?
|
# ? Aug 11, 2019 19:04 |
|
CRIP EATIN BREAD posted:I was once tasked with doing something on the front end of our site and once I started posting js libraries for CLI poo poo in our work slack that task got reassigned to someone else pretty quick lol clever trick
|
# ? Aug 11, 2019 19:07 |
|
CRIP EATIN BREAD posted:I was once tasked with doing something on the front end of our site and once I started posting js libraries for CLI poo poo in our work slack that task got reassigned to someone else pretty quick power move
|
# ? Aug 11, 2019 19:58 |
|
pseudorandom posted:Assuming you've got C++ experience, or are good in other languages and don't need an intro level book, I really like Effective C++; paired with Effective Modern C++ would probably be good. late reply, but i just want to point out that C++ Templates, 2nd Edition is a book but maybe that was
|
# ? Aug 12, 2019 00:41 |
|
me, today: drat this massive nested interface object structure is pretty clever, also reflection is cool me, in 6 months time: gently caress, why did I use reflection this is a pain in the assssss
|
# ? Aug 12, 2019 20:10 |
|
im hitting a debug assert in my c# app but cannot attach a debugger for some reason is there a way to get the full stacktrace outta the stupid lil abort/retry/quit window
|
# ? Aug 12, 2019 20:23 |
|
Bloody posted:im hitting a debug assert in my c# app but cannot attach a debugger for some reason is there a way to get the full stacktrace outta the stupid lil abort/retry/quit window no, but if you find out i'm wrong please let me know so i can go back in time and punch myself god that was a bad day
|
# ? Aug 12, 2019 20:31 |
|
|
# ? Apr 19, 2024 21:35 |
|
Powerful Two-Hander posted:me, today: drat this massive nested interface object structure is pretty clever, also reflection is cool being clever is never, ever worth it My coworkers are often clever.
|
# ? Aug 12, 2019 20:59 |