|
in python can use something like below that auto-commits if it didnt throwPython code:
|
# ? Nov 19, 2021 19:23 |
|
|
# ? Apr 26, 2024 09:58 |
|
i can do some terrible programming to make sure it commits in gocode:
|
# ? Nov 19, 2021 19:40 |
|
ive been thinking about the idea of automatic commits in code and im kinda eehhhhh and think i prefer explicit commits. if it werent friday before vacation id probably figure out why i dont like it and if thats valid
|
# ? Nov 19, 2021 19:44 |
|
db.commit in many orm dealios is also a ctx manager
|
# ? Nov 19, 2021 19:47 |
|
Shaggar posted:ive been thinking about the idea of automatic commits in code and im kinda eehhhhh and think i prefer explicit commits. if it werent friday before vacation id probably figure out why i dont like it and if thats valid i mean if theyre all in a closure together, its basically like having begin/commit around it + you cant forget to write it out. i really like that
|
# ? Nov 19, 2021 19:54 |
|
Shaggar posted:nuget sucks c# is pretty weird about imports. why not have lib.import so I can at a glance find out where a thing is from?
|
# ? Nov 19, 2021 22:20 |
|
Commit should be explicit, abort implicit, because overwriting known good dataset should be explicit.
|
# ? Nov 19, 2021 22:46 |
|
of all the suggestions so far, github clippy saying it looks like you wanted to commit a transaction? is actually the best as much as i dont like to admit it
|
# ? Nov 19, 2021 23:33 |
|
mystes posted:Builders/"fluent apis" are rampant everywhere and the lack of real type safety sucks... I guess maybe there's no way to fix them without cool poo poo like Idris? i would like a language where you can have a record w an annotation (x: int, y: int) where [x > y] but it's literally just an assert that gets checked at runtime when you construct a record. like don't try to do any fancy logic stuff at all. (this definitely exists somewhere, I think Ada might have it??) Idris tries to check as much as possible at compile time, which is connected to their need for totality to prove that all loops terminate. but totality is a big pain on top of all the other pure-functional papercuts.
|
# ? Nov 20, 2021 01:06 |
|
animist posted:i would like a language where you can have a record w an annotation
|
# ? Nov 20, 2021 01:21 |
|
Xarn posted:Commit should be explicit, abort implicit, because overwriting known good dataset should be explicit. agreed, thats why it should be possible to wrap it in a context
|
# ? Nov 20, 2021 01:56 |
|
handle the transaction in the stored proc you're calling, not in the caller imho
|
# ? Nov 20, 2021 09:24 |
|
fritz posted:fib backoff is when you have to clarify parts of your resume
|
# ? Nov 20, 2021 14:40 |
current spark status: ill just return this job with no changes and hope the problem goes away
|
|
# ? Nov 24, 2021 23:33 |
|
Just bumped a 2-endpoint web service API into 25 separate endpoints due to massive overloading on semantics and data aggregation of the original. It's like reverse-GraphQL.
|
# ? Nov 25, 2021 00:58 |
terrible programming: It's like reverse-GraphQL.
|
|
# ? Nov 25, 2021 00:59 |
|
I'm raising a loving audit point that we are gonna keep having production problems until we can clone me because as soon as I take my eye off these chucklefucks they screw up in the dumbest of ways. today we have had: dev 1: Somehow deployed the previous version to the test server instead of actually building the code they'd changed, tested it and marked it as passed, then attached a different version to the deployment that contained an idiot bug (trying to cast a task, not the result of the task) dev 2: decided that rather than call a function once and use the result on each child in the view render, they would call the function twice for every child, causing a massive geometric scaling performance problem. this was also somehow tested 1 is not paying attention to what they're doing and the pipeline automation not being done (gently caress know what's happening there, they've spent the last 2 days asking what a 403 error means and "did you delete nuget?"), 2 should have been a code review catch except there is nobody to do them except me or the person that caused the other problem, and I'm up to my eyes in other things. so guess we need a key person risk raising again!
|
# ? Nov 25, 2021 15:24 |
|
you can enforce this audit learning by gettin a new job lol
|
# ? Nov 25, 2021 15:26 |
|
Powerful Two-Hander posted:I'm raising a loving audit point that we are gonna keep having production problems until we can clone me because as soon as I take my eye off these chucklefucks they screw up in the dumbest of ways. Before Monday they will both send you standoffish emails demanding raises and promotions.
|
# ? Nov 26, 2021 05:15 |
i see, i have figured out whats happening with this spark poo poo. the function im parallelising is somehow referencing previous argument values from previous invocations
|
|
# ? Nov 26, 2021 10:39 |
|
CarForumPoster posted:Before Monday they will both send you standoffish emails demanding raises and promotions. Or like me who hosed a bit this week will ask for 4 weeks of vacation in 2 weeks time. (in fairness I have like half of my annual leave left and it expires on the 31st without compensation)
|
# ? Nov 26, 2021 10:42 |
|
messing up and saying "gently caress I need a break" seems like a good argument to me
|
# ? Nov 26, 2021 10:52 |
|
fuckin floating point numbers man
|
# ? Nov 26, 2021 10:59 |
|
CarForumPoster posted:Before Monday they will both send you standoffish emails demanding raises and promotions. lol have you been reading my posts in the corporate thread complaining about my reportee that demanded a promotion?
|
# ? Nov 26, 2021 11:16 |
|
Powerful Two-Hander posted:lol have you been reading my posts in the corporate thread complaining about my reportee that demanded a promotion? with delight
|
# ? Nov 26, 2021 15:14 |
|
CarForumPoster posted:with delight lol. actually I have another update to that I need to post oh and the "what's a 403 where's nuget?" was that the dependency pull was going through a proxy that was blocking the library for have a vulnerability, but there weren't later versions because the author stopped putting it on nuget because "nuget shouldn't contain script libraries" (it's chart.js) answer is 'ok fine whatever we'll just hard link it while we upgrade', their solution was "can we just remove this from the application?" no dammit what do you think is gonna happen to the chart view if you remove the chart lib? Argggghhhh Powerful Two-Hander fucked around with this message at 16:14 on Nov 26, 2021 |
# ? Nov 26, 2021 16:12 |
loving git
|
|
# ? Nov 26, 2021 17:08 |
|
Powerful Two-Hander posted:lol. actually I have another update to that I need to post Yea getting my new grad employees on the "okay you have a problem, think through it and do some googling before asking me" bandwagon was one of those things I didnt know people needed to be taught as an IC. Honestly, the quality and speed of their output is pretty strongly correlated how much they take to this idea.
|
# ? Nov 26, 2021 17:12 |
|
CarForumPoster posted:Yea getting my new grad employees on the "okay you have a problem, think through it and do some googling before asking me" bandwagon was one of those things I didnt know people needed to be taught as an IC. Honestly, the quality and speed of their output is pretty strongly correlated how much they take to this idea. I feel this. I've said multiple times that I only know how to do stuff because I am moderately good at googling poo poo and am persistent. and post in yospos obviously. but actually trying to work out a solution seems just beyond some people
|
# ? Nov 26, 2021 18:38 |
|
its a genuine cultural difference betw millennials and gen z, cuz seo made googling poo poo harder
|
# ? Nov 26, 2021 18:40 |
|
bob dobbs is dead posted:its a genuine cultural difference betw millennials and gen z, cuz seo made googling poo poo harder it's not a new thing that people who should know better don't look up errors, that predates google but it def doesn't help that google got worse
|
# ? Nov 26, 2021 19:04 |
|
i dont think its SEO, i think its that they (understandably) dont know how search indexers work so they overcomplicate queries. they also buy in to some of the myths about "AI" and google as a tech company, though not anywhere near as much as boomers and gen-x. the result is they overcomplicate their queries rather than just using keywords. i dont think seo even exists anymore
|
# ? Nov 26, 2021 19:08 |
|
searching for "specific error text in quotes" has been total poo poo on google for like 5 years now, you get results for "idk similar error without the same words i guess?"
|
# ? Nov 26, 2021 19:15 |
|
Powerful Two-Hander posted:but actually trying to work out a solution seems just beyond some people I can't speak for other people but the 2 areas which used to give a lot of problems when I was a jr dev was getting lost in the big picture, and coming up with a solution without fundamental understanding the problem. The project i'm on is one of the first times i've had to work with jr devs and i've noticed they do all the same things. Lol
|
# ? Nov 26, 2021 19:16 |
|
Carthag Tuek posted:searching for "specific error text in quotes" has been total poo poo on google for like 5 years now, you get results for "idk similar error without the same words i guess?" in my experience if specific error in quotes doesnt work its cause its not anywhere that google indexes. for common errors you'll find endless results for that error text and the trick then is adding context to figure out which results apply to you
|
# ? Nov 26, 2021 19:19 |
|
Shaggar posted:i dont think seo even exists anymore lol
|
# ? Nov 26, 2021 19:19 |
|
Shaggar posted:i dont think seo even exists anymore loving what
|
# ? Nov 26, 2021 19:20 |
|
people can throw tons of garbage onto their page but i think goog almost exclusively promotes popular results over content these days
|
# ? Nov 26, 2021 19:20 |
|
Shaggar posted:
yeah tech search results are dominated by the same three blogspam ad sites at the top because those are actually better than MDN or w/e you of all people should know this shaggar, searching for anything windows-related is an absolute minefield
|
# ? Nov 26, 2021 19:25 |
|
|
# ? Apr 26, 2024 09:58 |
|
CMYK BLYAT! posted:you of all people should know this shaggar, searching for anything windows-related is an absolute minefield yeah if you're unlucky it might return windows related results
|
# ? Nov 26, 2021 19:36 |