|
HoboMan posted:thanks for the reply, yeah we got an object that has other objects as properties and wanted to know what the best way to get that in and out of the database using dapper. Try using Slapper.Automapper with a denormalised query result. Don't bother with the Dapper nested object expression poo poo. e: like this https://stackoverflow.com/a/30080951 SAVE-LISP-AND-DIE fucked around with this message at 23:19 on May 8, 2019 |
# ? May 8, 2019 23:17 |
|
|
# ? Jan 25, 2025 06:21 |
|
strange posted:Try using Slapper.Automapper with a denormalised query result. Don't bother with the Dapper nested object expression poo poo. I legitimately cannot tell if this is a joke post or not.
|
# ? May 8, 2019 23:18 |
|
Powerful Two-Hander posted:
Unless your dapper query is select * from butts Don't select star
|
# ? May 8, 2019 23:20 |
|
Schadenboner posted:I legitimately cannot tell if this is a joke post or not. The .net ecosystem is Not Good at names
|
# ? May 8, 2019 23:25 |
|
dick traceroute posted:I mean, column order won't just change yeah true but you do get some people that will only ever append a column to the end of a resultset rather than change the order due to a legacy of doing raw reads referenced by column id (we still have some!!) An orm gets rid of that coupling dependency normally but the split function sort of reintroduces it if you're not careful
|
# ? May 8, 2019 23:28 |
|
Gradle is gonna make me lose my mind. It's started intermittently failing on a merge[BuildFlavor]resources task. It just kinda works sometimes without me changing anything, and the stacktrace when it fails is a NullPointerException that doesnt have our gradle files anywhere in the trace. I dont think anyone else in the office is having this problem
|
# ? May 8, 2019 23:40 |
|
Sapozhnik posted:if you think angular is bad imagine how bad angularjs (angular 1) was. i still have nightmares about that poo poo ug, one of our products is in an early version of angular 1 and code was/is just sort of forced into it so an update would require tossing pretty much the entire thing out and starting over
|
# ? May 9, 2019 00:05 |
|
brand engager posted:Gradle is gonna make me lose my mind. It's started intermittently failing on a merge[BuildFlavor]resources task. It just kinda works sometimes without me changing anything, and the stacktrace when it fails is a NullPointerException that doesnt have our gradle files anywhere in the trace. I dont think anyone else in the office is having this problem this poo poo is why I write C and build with bsdmake modern programming is bullshit
|
# ? May 9, 2019 00:12 |
|
brand engager posted:Gradle is gonna make me lose my mind. It's started intermittently failing on a merge[BuildFlavor]resources task. It just kinda works sometimes without me changing anything, and the stacktrace when it fails is a NullPointerException that doesnt have our gradle files anywhere in the trace. I dont think anyone else in the office is having this problem use maven like you're supposed to
|
# ? May 9, 2019 00:29 |
|
Shaggar posted:use maven like you're supposed to
|
# ? May 9, 2019 00:31 |
|
Someone already said that before. It's not like I, junior dev who got hired this year, can dictate what build system we use. And "someone on a forum said maven good" isnt really gonna sway anyone who decides that stuff
|
# ? May 9, 2019 00:43 |
|
Kazinsal posted:this poo poo is why I write C and build with bsdmake ah yes, C. no bullshit here officer
|
# ? May 9, 2019 01:14 |
|
pokeyman posted:ah yes, C. no bullshit here officer well actually i think you'll find there's a very important distinction between bullshit and dogshit
|
# ? May 9, 2019 01:20 |
|
pokeyman posted:ah yes, C. no bullshit here officer I kinda agree with the general feeling that there's a lot less bullshit with good old C but oh boy not when it comes to managing its build process like I avoided learning C for many years because the building process was absolutely inscrutable to me
|
# ? May 9, 2019 01:45 |
|
brand engager posted:Someone already said that before. It's not like I, junior dev who got hired this year, can dictate what build system we use. And "someone on a forum said maven good" isnt really gonna sway anyone who decides that stuff have you tried
|
# ? May 9, 2019 02:07 |
|
lmao I figured out a workaround. Something about our build config makes using the 'Clean Project' option in the build dropdown menu of android studio break future builds. I went to 'Edit Configurations' and added one that just runs the "clean" gradle task and now it works if I use that. like this
|
# ? May 9, 2019 03:12 |
|
build systems were a mistake. can't have bugs in the code if it's never executed
|
# ? May 9, 2019 03:39 |
|
brand engager posted:android studio found your problem
|
# ? May 9, 2019 03:47 |
|
Shaggar posted:use maven like you're supposed to
|
# ? May 9, 2019 03:48 |
|
ask me about the time andriod studio updated in the background and caused my build to break and i spent two days trying to figure out how i hosed up my build
|
# ? May 9, 2019 03:53 |
|
Sapozhnik posted:if you think angular is bad imagine how bad angularjs (angular 1) was. i still have nightmares about that poo poo any time im looking stuff up and i think to myself "man this code is really ugly and confusing" i check the tags and realize im accidentally reading an angularjs tutorial
|
# ? May 9, 2019 04:11 |
|
I think this one is on our build config and not studio this time. I've looked at all our .gradle stuff before, and whoever wrote it was trying to be waayyy too clever.
|
# ? May 9, 2019 04:12 |
|
I know at least one spot where they wrote a task that connects to some internal server and fetches some stuff. Definitely a cool unkown you want to account for when troubleshooting
|
# ? May 9, 2019 04:15 |
|
why does every button press in google cloud console take 15 seconds
|
# ? May 9, 2019 04:25 |
|
Java script
|
# ? May 9, 2019 04:35 |
|
i was looking up a bug in angular and there was a ticket for it on thier github already. someone even has a pull request to fix it, but they marked it as wontfix because "fixing it would break too many things over here at google"
|
# ? May 9, 2019 04:54 |
|
Symbolic Butt posted:I kinda agree with the general feeling that there's a lot less bullshit with good old C but oh boy not when it comes to managing its build process what build process, C itself is almost entirely without build process except textual inclusion via preprocessor now, any particular environment for C… yes I know
|
# ? May 9, 2019 05:32 |
|
I still prefer CMake to Maven, might be because my experience with maven was with OpenHab which uses some sort of ultra-bastardised version and has like 300 separate nested projects
|
# ? May 9, 2019 10:05 |
|
Flat Daddy posted:just saw a typo of dotnet on a jira ticket, “dontnet” and it made me picture Bizarro Shaggar ages ago but just remembered that i used to always accidentally type sourceforget.net which is pretty apt tbh
|
# ? May 9, 2019 11:48 |
|
animist posted:why does every button press in google cloud console take 15 seconds try using services in the au region from the us. I have to occasionally and its really bad in the web console
|
# ? May 9, 2019 13:36 |
|
cmake is the php of build systems
|
# ? May 9, 2019 16:07 |
|
animist posted:cmake is the php of build systems now that's just mean e: how well does Maven work with c++ and python anyway, I've only used it with java Private Speech fucked around with this message at 16:54 on May 9, 2019 |
# ? May 9, 2019 16:44 |
|
okay I admit maybe it does remind me of php a little, in the way you put a long list of unscoped commands into files
|
# ? May 9, 2019 16:58 |
|
You should do what an old colleague of mine did when faced with our ant build files. Instead of writing an ant build he used ant to bootstrap a gradle build. So now our ant build starts doing gradle builds part way through. Wait no, the opposite, do the opposite of what he did.
|
# ? May 9, 2019 17:25 |
|
I always love when I see some useful tool for Java only have an Ant task available and the official docs say to use the maven ant runner to use it. love balancing that house of cards
|
# ? May 9, 2019 17:27 |
|
i like developing c# because i just open the solution in visual studio and click build and thats the whole build process
|
# ? May 9, 2019 17:28 |
|
also this great little thing: https://issues.apache.org/jira/plugins/servlet/mobile#issue/XERCESJ-1454/comment/12881865
|
# ? May 9, 2019 17:29 |
|
Bloody posted:i like developing c# because i just open the solution in visual studio and click build and thats the whole build process I also like that my build pipeline in Azure Devops is a single stage and has like two checkboxes for configuration.
|
# ? May 9, 2019 17:39 |
|
I kind of want to try Azure Devops and see if it's any better than the bamboo/octopus setup we use at work right now
|
# ? May 9, 2019 17:47 |
|
|
# ? Jan 25, 2025 06:21 |
|
"just toss an xml blob at the database and let the sql devs figure it out" guy technically has final say in this project's design but since we are also doing the sql dev i think it would be faster an easier to just not.
|
# ? May 9, 2019 17:56 |