|
|
# ¿ Jul 14, 2020 16:11 |
|
|
# ¿ Oct 4, 2024 07:26 |
|
Shinku ABOOKEN posted:what is so extreme about systemd? every service that systemd provides you have to do anyways so you might as well integrate it in your service manager and get it over with. the argument about it being single point of failure is something I don't buy since for such a critical component you better have a single point of failure and focus your attention there instead of a billion points of failure. yeah, kinda true MrMoo posted:Usually with Systemd cruft doesnt stay around too long. lol
|
# ¿ Aug 10, 2020 02:30 |
|
dependency injection as a concept is cool and good dependency injection frameworks are frequently terrible
|
# ¿ Sep 11, 2020 01:17 |
|
Beamed posted:.net core providing one ootb so that you don't have to put up with nonsense was a real smart move yeah but ooth every java di framework is ridiculous nonsense
|
# ¿ Sep 11, 2020 01:27 |
|
abraham linksys posted:the only js framework i know of that has embraced DI as a concept was angular and, well, that didn't go super well on a number of fronts yeah, that's more or less my perspective. you don't need a framework to follow the pattern, and sometimes a framework introduces complexities that just make poo poo worse
|
# ¿ Sep 11, 2020 02:31 |
|
Arcsech posted:and drat near impossible to get rid of if you fall into the trap of relying on them too hard guice is one of the specific examples i was thinking of. also whatever eclipse rcp calls its di framework. jesus. just jesus side note: angular still loving sucks
|
# ¿ Sep 11, 2020 04:19 |
|
piratepilates posted:at work for testing react components that are connected to the redux store, I've just been exporting the unconnected component to be tested with, and exporting the connected components as the default export to be used in the app. yeah, i've had much more success (and a much more pleasant experience) using react. i've worked less with redux, but only because most of my react apps are relatively small, and passing a data interface to the top-level component is frequently good enough
|
# ¿ Sep 11, 2020 17:00 |
|
gonadic io posted:any advice for breaking out of the classic loop of: doing tech debt informally, so tickets take longer, and management won't dedicate time to tech debt due to tickets always already being behind gonadic io posted:I mean that's the successful strategy I have used for previous companies I'm trying to avoid it this time I like this company but it's got the classic startup-no-more growing pains other than i guess try to convince management of the business value. maybe if you can prove it with their own metrics, e.g, "doing this chore first would have avoided these bugs/made these tickets take half as long/whatever" if management is non-technical and business-driven, it'll probably be an uphill battle no matter what. if there are technical people involved in those decisions, it should be much easier, but if that was the case, you probably wouldn't be asking good luck. at my current job, i've actually struggled to report chores related to tech debt, because so many shittier jobs forced me to handle them through the back door
|
# ¿ Sep 11, 2020 17:37 |
|
piratepilates posted:redux is one of the react cases where it got super hyped up for some reason, and everyone thought it should be used everywhere always at all times for everything. cool. sounds like redux solves an even narrower problem than i attributed to it. so far i haven't encountered many cases where component-level states and props didn't do the job, maybe with the help of a callback prop to handle an api call, or a dom event that propagated to a parent component
|
# ¿ Sep 11, 2020 18:00 |
|
abraham linksys posted:to be fair, local state and async behavior was difficult to unit test in react for a really long time. was hard to write a test like "click this button that will trigger a mocked async api call and check to make sure it updates to show a success state" or something, compared to testing "this async action creator will dispatch a success action, this reducer will set the didSucceed flag in redux state, this mapStateToProps() will pass didSucceed from the store to the wrapped component, and this component will show a success state when passed didSucceed=true." i only started using it recently, but so far enzyme has been v needs suiting
|
# ¿ Sep 11, 2020 18:04 |
|
abraham linksys posted:we're moving off enzyme to react-testing-library soon, probably, though i couldn't really tell you exactly why ah, okay. you're probably dealing with a way more complex app than my typical project. i think my biggest has around 15 components, and the entire api for the data model can be expressed in 3 or 4 extremely simple functions (which are all mocked in the enzyme tests) DaTroof fucked around with this message at 18:17 on Sep 11, 2020 |
# ¿ Sep 11, 2020 18:14 |
|
gonadic io posted:please read my latest medium article: lkdsjflsdjlj sdljfl dsjf l;sdjk; flkas;'l d';pakf; lsdjk; fksa';d/ kas'kf,
|
# ¿ Sep 12, 2020 00:58 |
|
in ruby you can docode:
|
# ¿ Sep 15, 2020 01:38 |
|
i typically expect the commit message to tell me what changed since the last commit, so idgaf what the first commit message is. might as well be blank
|
# ¿ Oct 8, 2020 11:57 |
|
Soricidus posted:you must be disappointed a lot well...yeah also Symbolic Butt posted:"initial commit" is fine because the README of your project at that point serves as a detailed "commit message" describing what's going on Soricidus posted:you must be disappointed a lot
|
# ¿ Oct 8, 2020 12:34 |
|
idgaf if the development process uses merge, squash, or headbutts as long as the deployment process shuts you down for being stupid the earlier it happens in the process the better, but please have safeties at the deployment level
|
# ¿ Oct 10, 2020 02:06 |
|
Illusive gently caress Man posted:my recent pet peeve is when a function starts out clean. like it has one or two input parameters and returns a value. nice an over-generalized abstraction? e: premature generalization? DaTroof fucked around with this message at 17:24 on Oct 27, 2020 |
# ¿ Oct 27, 2020 17:22 |
|
Boiled Water posted:i tried but it ruined my ubuntu install yeah, booting into ubuntu always ruins a perfectly good post
|
# ¿ Nov 6, 2020 17:08 |
|
CRIP EATIN BREAD posted:that domain is hilarious and don't you deny it
|
# ¿ Nov 11, 2020 00:53 |
|
jesus WEP posted:reader mode is such a good instakill for anti-adblock bullshit holy poo poo, i never tried that. it works pretty consistently
|
# ¿ Feb 28, 2021 12:14 |
|
Powerful Two-Hander posted:"this code was generated by a tool" lol you got that right visual studio
|
# ¿ Jul 9, 2021 12:31 |
|
Powerful Two-Hander posted:this one is funny because it goes through loads and loads of problems caused by chasing an architecture based on it being hip rather than practical, but instead of providing and alternative s or solutions just goes 'guess we better just keep trying lol!: reminds me of a coworker who constantly pushed for nosql in new projects (usually parse server) because he was completely incapable of imagining how to use an rdbms without implementing an eav anti-pattern
|
# ¿ Aug 10, 2021 15:27 |
|
my current job just had a devops guy who was promoted by attrition ask the engineering team "does this database really need to be relational" and welp now i have to decide between being the voice of reason and going down with the ship nb: i'm not going down with this dumbass fuckin ship
|
# ¿ May 18, 2022 07:46 |
|
|
# ¿ Oct 4, 2024 07:26 |
|
sisyphus because it will inevitably get stuck in an infinite loop
|
# ¿ May 22, 2022 18:36 |