|
Cocoa Crispies posted:~tales from previous job~ Yeah, I'm fastidious about committing at the end of the day at latest. I honestly think it encourages more ordered thinking anyway, even ignoring the backup concerns it means you're probably a bit more aware of where you're progressing, where good breakpoints in the work are, etc. If it's not finished or not a build worthy commit just branch and squash that poo poo later.
|
# ? Mar 29, 2017 02:18 |
|
|
# ? Jun 5, 2024 04:57 |
|
MeruFM posted:or if a bug goes through unknown for a long period, might be interesting to see where it originated.. this is how I use it. maybe once a quarter. but it's drat handy also it's trivial to skip over commits while bisecting. bisect is not a reason to whine about people pushing/merging wip commits
|
# ? Mar 29, 2017 03:57 |
|
it's okay to let things fall over to the next sprint for whatever reason. your velocity will self-adjust. someone who isn't sick can just pick up something else from the backlog and not have to close out that story. of course i know people (e.g. business stakeholders) instead want to follow a process that doesn't align with reality at all and want everything committed to in a sprint to be finished in a sprint which causes all kinds of absurd issues. but yah pushing to the remote at the end of day in a branch if you have anything is a good practice
|
# ? Mar 29, 2017 05:11 |
|
i always thought everyone always joked about stuff like sprints, standups, scrum, "velocity"... but we got a new manager 6 months back who is extremely into it. now every little thing has a ticket attached and while our "velocity" is great, our actual code output has been quartered. I look at a backlog of hundreds of extremely easy fixes that are put in the back burner because doing any of them will require at least 5-10 minutes in a standup or some other meeting. bad news is we have a 30min daily stand up going over the minutiae of explaining thread vs green thread and redis cluster vs hbase to a person who stopped learning around java 5. the good news is now I work 45 minutes a day now instead of 3 hours and leave the office at 2:30 after coming in at 10:30. Also got a 50k bonus for doing a GREAT JOB keeping up with tickets. what do you do if everything is going great on the surface but you have a huge empty void in your chest?
|
# ? Mar 29, 2017 07:01 |
|
if your standup meeting takes more than 15 seconds per person you are doing something very wrong
|
# ? Mar 29, 2017 07:06 |
|
MeruFM posted:got a 50k bonus for doing a GREAT JOB keeping up with tickets. stack benjis I would fuckin love a 50k bonus in a job where I can get off super early
|
# ? Mar 29, 2017 07:07 |
|
fleshweasel posted:if your standup meeting takes more than 15 seconds per person you are doing something very wrong it's an engineering manager who wants to know how everything is done but can't be assed to read code or even commit/merge messages that are auto-posted into the group slack channel. As the honorary last person to talk in the standup(he wants us to go alphabetically), I get the least time. Usually it's 15 minutes for 1st person, 5 for 2nd and 3rd, and 1min for 4th person. I've had to correct him multiple times when he declares that we're using "so and so stack". He still thinks we use node somewhere in the backend (we don't) because we have an angular app for the UI. MeruFM fucked around with this message at 07:28 on Mar 29, 2017 |
# ? Mar 29, 2017 07:20 |
|
2 people of the original team have already left even though we came into the company via acquisition with a good chunk of retention money for a few years on top of a decent salary
|
# ? Mar 29, 2017 07:25 |
|
MeruFM posted:i always thought everyone always joked about stuff like sprints, standups, scrum, "velocity"... but we got a new manager 6 months back who is extremely into it. there's no way a 30min meeting is solely responsible for a quartering of output. why does every litttle fix add 5-10min in meetings? tell more stories!
|
# ? Mar 29, 2017 12:37 |
|
MeruFM posted:Also got a 50k bonus for doing a GREAT JOB
|
# ? Mar 29, 2017 13:22 |
|
MeruFM posted:Also got a 50k bonus for doing a GREAT JOB keeping up with tickets. lmao look at this guy Caring wtf dude
|
# ? Mar 29, 2017 14:39 |
|
lol your process is hosed
|
# ? Mar 29, 2017 15:05 |
|
Cocoa Crispies posted:mechanical drive
|
# ? Mar 29, 2017 15:09 |
|
True Git Tales: I sat through an hour-long brownbag of some rear end in a top hat telling us how we should craft our commits and commit messages to - and this is a direct quote - "to tell the story of your feature." Like his thesis was that your commits should be approached as a work of literature. If svn had line-level conflicts instead of file-level it'd be perfect.
|
# ? Mar 29, 2017 15:47 |
|
my adventures in MVC continue... im cleaning up the mess left all over the place by the devs and there is a genuine need to provide some data into the views outside of the main Model, for example to build the links on menu bars in the layout I need to embed an ID into the path and while in some cases this would come from the model, it won't always (and there are many models using the same layout) so up until now it's just using @ViewBag.ID to do this first thing im doing is creating a class for the generic data needed on pages (IDs, page titles, etc.)so it's at least linked to something concrete, and i was going to just put this into ViewData and use that, but is there a better (Shaggar approved) way of doing this? edit: What defines when viewData gets updated? Is it literally tied to the current page only or will it persist between multiple requests in the same session until overwritten? Powerful Two-Hander fucked around with this message at 16:04 on Mar 29, 2017 |
# ? Mar 29, 2017 15:48 |
|
RenderSection is probably the best way to do it if your menu bars change based on the current view. In your layout you call like RenderSection("menu") and then in your view you would have a @section menu{ } that contains the code for the menu. you would use the ViewModel for that view to determine how and what gets rendered in the menu which might also be a partial view so like in the layout:code:
code:
|
# ? Mar 29, 2017 16:13 |
|
other options would be a base model that you use for all views that contains the stuff or use viewbag and null coalescing. I don't like either of those but viewbag is probably the lesser bad of the two.
|
# ? Mar 29, 2017 16:24 |
|
MeruFM posted:what do you do if everything is going great on the surface but you have a huge empty void in your chest? spend money on cool poo poo to take your mind off the fact your existence has no intrinsic meaning
|
# ? Mar 29, 2017 16:25 |
|
MeruFM posted:what do you do if everything is going great on the surface but you have a huge empty void in your chest? depends a lot on your desired relationship with alcohol or other drugs imho
|
# ? Mar 29, 2017 16:29 |
|
rotor posted:True Git Tales: were you ing the entire time?
|
# ? Mar 29, 2017 16:31 |
|
rotor posted:
yeah pretty much
|
# ? Mar 29, 2017 16:31 |
|
Shaggar posted:RenderSection is probably the best way to do it if your menu bars change based on the current view. In your layout you call like RenderSection("menu") and then in your view you would have a @section menu{ } that contains the code for the menu. you would use the ViewModel for that view to determine how and what gets rendered in the menu which might also be a partial view so like in the layout: hmm, the sections might work but would info from the main route (like an id) be accessible to them? If not there'd be no way to actually populate the data for it. I just checked using ViewData to persist across requests and yeah as expected that doesn't work, but it does at least give me a concrete object to hold the properties instead of 100 individual variables in viewbag crapped all over the place like it was before. I *think* this is the neatest way to do it as it separate the data from the models where it doesn't technically apply, like Butt may actually have valid properties of ButtId and ButtName, but while Fart would have a ButtId (because Farts come from a Butt), it wouldn't logically have a ButtName so storing everything in a base model would be messy (Butts everywhere lol) edit: I misunderstood what the sections were, I was thinking like the async views you can do in asp.net core. These probably aren't needed because there will be a separate layout page for each part of the site that defines its menu, and then for each page in that part of the site I need to inject some standard data into the layout so ViewData is probably the "best" way. Powerful Two-Hander fucked around with this message at 16:50 on Mar 29, 2017 |
# ? Mar 29, 2017 16:35 |
|
hmm maybe there is a middle ground between having garbage grab bag commits and disappearing up your own rear end in a top hat whilst sighing over your code's magnificence
|
# ? Mar 29, 2017 17:11 |
|
MeruFM posted:what do you do if everything is going great on the surface but you have a huge empty void in your chest?
|
# ? Mar 29, 2017 17:24 |
|
Powerful Two-Hander posted:hmm, the sections might work but would info from the main route (like an id) be accessible to them? If not there'd be no way to actually populate the data for it. the idea w/ the sections is that lets say you have a view for a butt and a view for a fart and each of those has their own ViewModel you could add a property to each that is the object you need to pass to the layout. Then pass it to a partial view w/in a section in the butt/fart view. Also, are you using these ids to pick a layout to use or is the layout the same w/ same menus and everything and you're just using the ids for things like the page title? If you're generating a layout based on a view being a certain type of view, you can create separate layouts and assign them to the views. So ButtView might use ButtLayout while FartView might use FartLayout. this could potentially save you from having to pass a variable to SharedLayout that says whether to behave as a butt or fart layout.
|
# ? Mar 29, 2017 17:29 |
|
Shaggar posted:the idea w/ the sections is that lets say you have a view for a butt and a view for a fart and each of those has their own ViewModel you could add a property to each that is the object you need to pass to the layout. Then pass it to a partial view w/in a section in the butt/fart view. what i have is a pair of nested layouts, so there's Layout_Main which is the title bar, this is generic to all pages in the site and is static, then there's LayoutButt which is used for pages that render Butts and their various subsections (ButtFarts etc. note: these do not extend Butt, but will have a ButtId that linsk to their "parent"), LayoutButt specifies LayoutMain as its layout so the two nest together. So when you render a page for a Butt or a ButtFart you're using LayoutButt and what I need to do is embed information from the Butt into each page using that layout because LayoutButt puts Butt.Name, Butt.Type etc. into the header to provide something approximately like breadcrumbs. So, each page using ButtLayout also needs to provide some basic information about the Butt even if the model for that page is actually a fart. anyway, that's probably a really confusing description but what i'm going to do is add a generic method that will populate an object with this data and call it from ButtLayout on render. That cuts out ViewData entirely and puts the code in the layout itself and nowhere else so i don't have to crap up my controllers with calls to PopulateButtHeader before every render edit: yeah this works, all i need to pass via the ViewBag/ViewData is the id of the Butt being rendered and it provides the rest of the necessary data for the layout dynamically in the view. Powerful Two-Hander fucked around with this message at 18:53 on Mar 29, 2017 |
# ? Mar 29, 2017 18:17 |
|
pokeyman posted:there's no way a 30min meeting is solely responsible for a quartering of output. why does every litttle fix add 5-10min in meetings? Today is a good example. I had to go first because I was the 1st one in the meeting. Standup (finished in 55 minutes, ended ~15 minutes ago): quote:manager: Go. the ... are gaps of time that I went into a fugue state. and imagine a lumbergh-esque voice that speaks at around 30 words per minute for the manager. MeruFM fucked around with this message at 19:09 on Mar 29, 2017 |
# ? Mar 29, 2017 19:07 |
|
today i found out there's $2000 in the company budget for me to get some training or certification i have to get my request in by tomorrow to get it though. i have not even thought about this once, anyone have any suggestions? (i currently work on a .NET webforms app)
|
# ? Mar 29, 2017 19:19 |
|
HoboMan posted:today i found out there's $2000 in the company budget for me to get some training or certification not sure about the 1 day turnaround , but people here tend to blow it on a conf. Especially because you get a decent daily stipend for food. or just buy a lot of books.
|
# ? Mar 29, 2017 19:26 |
|
MeruFM posted:Today is a good example. I had to go first because I was the 1st one in the meeting. you can't fold the easy fixes in with work you're currently doing in the same file(s)? like until one such change blows up and the manager gets Even Shittier Somehow, but
|
# ? Mar 29, 2017 19:50 |
|
I have fixed some in the beginning without telling and just closing the jiras, but he reprimanded me in a "bi-weekly pruning" meeting that takes about 4 hours as we go into detail on every jira that is complete and in progress. There's an assumption that if we fix things too fast, they'll just give us more to do. The manager also got burned by his higher ups for deploying an overhaul before it was ready because of "external pressure" which resulted in supposedly 3 days of meetings. I was on vacation but that just meant after coming back, I had a 6 hour 1 on 1 as we talked about needing more tests and not adding things without permission. the reduction in output is a mix of just not wanting to deal the crap anymore and extremely low morale in the team. Like I said, 2 people left with a ton of money on the table if they stayed for just a couple more years. we've all complained to the director about this, the response is a mix of "it's a micromanagement style" and "I'll see what I can do but these things take time". edit: need to stop posting E/N MeruFM fucked around with this message at 20:15 on Mar 29, 2017 |
# ? Mar 29, 2017 20:01 |
|
micromanagement styles should be weeded out aggressively
|
# ? Mar 29, 2017 20:35 |
|
Fellow terrible programmers, I need your help. Is there a way to make g++ recognize its own drat _Pragmas? I have this minimal example, which works as expected if compiled with GCC, but triggers Wparentheses when compiled with g++ (and -Wparentheses obv). C++ code:
|
# ? Mar 29, 2017 20:59 |
|
seems like its an issue due to the macros. if I do _Pragma around the block, it seems to be fine. if you are using c++ do you really need a macro for this, though?
|
# ? Mar 29, 2017 22:01 |
|
can spacemacs from windows somehow edit poo poo on a remote computer over ssh because this remote computer has no editors
|
# ? Mar 29, 2017 22:47 |
|
MeruFM posted:I had a 6 hour 1 on 1 as we talked about needing more tests and not adding things without permission. escalating didn't work, coding outside the micromanagement didn't work, remind me why you're not #3 out the door?
|
# ? Mar 29, 2017 22:55 |
|
Bloody posted:can spacemacs from windows somehow edit poo poo on a remote computer over ssh because this remote computer has no editors you need cygwin or windows bash but emacs can remote edit via tramp. open the find-file dialog and type /ssh:user@host:file and it probably gives you an error. if it gives you an emacs error then you need to add (require 'tramp) in your emacs init file. https://www.gnu.org/software/tramp/#Inline-methods says it supports putty via plink but i've never heard of that so ymmv. if you have windows bash ill dig up my half working setup and post it
|
# ? Mar 29, 2017 23:07 |
|
lotta walls of text on this page let me distill knowledge Smoke Weed Every Day
|
# ? Mar 29, 2017 23:38 |
|
MeruFM posted:i always thought everyone always joked about stuff like sprints, standups, scrum, "velocity"... but we got a new manager 6 months back who is extremely into it. q motherfucking q what do you do that you can be in the office for only 4 hours a day and get paid my salary as a loving bonus?
|
# ? Mar 30, 2017 00:01 |
|
|
# ? Jun 5, 2024 04:57 |
|
Xarn posted:Fellow terrible programmers, I need your help. put in the god drat parentheses you animal
|
# ? Mar 30, 2017 00:11 |