|
i like whitespace it makes things easier to read
|
# ¿ Jul 18, 2018 18:11 |
|
|
# ¿ Nov 5, 2024 10:13 |
|
also thank you cinci for doing the needful and making a new thread. it had been almost 6 months since the last thread got in a tabs v spaces slapfight
|
# ¿ Jul 18, 2018 18:13 |
|
|
# ¿ Jul 18, 2018 18:46 |
|
Lutha Mahtin posted:make the HQ in MSP and i will work for you. and/or i will be an unpaid hype-man because i do not have actual job experience touching codes yeah this except i am the codemaster
|
# ¿ Jul 28, 2018 08:50 |
|
yeah... in 2003
|
# ¿ Jul 31, 2018 14:47 |
|
MALE SHOEGAZE posted:thanks to whoever recommended the emulator101 tutorial it's great. should probably thank the person who wrote it. hope they like bitcoins. oh no
|
# ¿ Aug 7, 2018 18:16 |
|
ok i am having some terrible programming problems and stackoverflow is worthless. i have a .net api endpoint that sends an email to whoever's boss or some poo poo after they submit something for record keeping. i moved the email to get sent on a separate thread because the email server was slow as gently caress and it really shouldn't return an error to the user if their submission went through but the email failed to send. i just wrapped the email stuff in a Task.Run() and that seems to mostly work but any thrown exceptions in there seem to get lost to time and not logged. i'm guessing it's some threading thing???
|
# ¿ Oct 11, 2018 19:08 |
|
Finster Dexter posted:You have to be careful with tasks and exceptions. It's easy to lose them, especially if you aren't awaiting or calling .Wait() on the task. If the email is not sending and you want to know why, you can't really do a fire-and-forget Task.Run(). You gotta await that thing and see if the task had any exceptions. ugh, can't i just catch and log the exception in the task?
|
# ¿ Oct 11, 2018 19:45 |
|
Finster Dexter posted:In other words, let the frontend guys worry about it lol but i am also that guy!!!
|
# ¿ Oct 11, 2018 20:14 |
|
my code as it standsC# code:
e: i literally just added the using and Task.Run blocks around the existing try-catch that was there. e2: i forgot to include the try-catch for the json parsing, but you get the idea HoboMan fucked around with this message at 20:39 on Oct 11, 2018 |
# ¿ Oct 11, 2018 20:32 |
|
jeffery posted:he has an exception programmed in the a.i. to override the blockade of his suicide
|
# ¿ Oct 11, 2018 20:44 |
|
huh?
|
# ¿ Oct 13, 2018 03:00 |
|
yeah. i am a real bad developer but after fumbling around with the big frameworks for a while i have come to the conclusion it is still faster, easier, and more maintainable to just do everything myself
HoboMan fucked around with this message at 15:49 on Oct 18, 2018 |
# ¿ Oct 18, 2018 15:46 |
|
i just want to loving make stuff, not spend literal days debugging my dang toolchain
|
# ¿ Oct 20, 2018 06:56 |
|
Finster Dexter posted:I know I'm lttp for js spa talk, but at the risk of shaggaring I have the horrible opinion that asp.net core mvc with plain ol' razor views is the pinnacle of webdev right now. I want server-side rendering and jfc get nodejs away from me eww gross i was considering posting this but i was afraid of it being too shaggar of an opinion
|
# ¿ Oct 20, 2018 22:23 |
|
besides not being a relational database, is there anything especially bad about mongodb in particular?
|
# ¿ Apr 2, 2019 04:57 |
|
q: does redux actually do anything??? like im trying to test it out and i can't even figure out what im supposed to do with it e: posting on POS page
|
# ¿ Apr 4, 2019 15:03 |
|
pseudorandom posted:Of course, if you want to skip javascript you could just compile Rust to wasm. my former coworker was making a framework for this. also a javasript to rust converter. bless his heart.
|
# ¿ Apr 4, 2019 16:01 |
|
but also: apps are slow and i hate it.
|
# ¿ Apr 4, 2019 16:58 |
|
yeah i am also a v terrible javascript programmer, but i got the sense that adding redux wasn't really doing anything except adding a bunch of boilerplate that makes my code hard to read in exchange i get... a state machine i mostly had to make myself?
|
# ¿ Apr 4, 2019 18:16 |
|
there's a vs 2019 now???? i just got approval to move projects to 2017!
|
# ¿ Apr 4, 2019 18:58 |
|
i get to pick all the tech for a brand new webapp! i have to pick all the tech for a brand new webapp
|
# ¿ Apr 8, 2019 13:57 |
|
Powerful Two-Hander posted:maybe just avoid angular though?? this is very tempting, but i also have the chance to include angular on my resume. literally every interviewer: "i see you have react experience, and that's great we are looking for that, but do you have any angular experience as well?" me: "no" them: *clearly disappointed* "hmmmm"
|
# ¿ Apr 8, 2019 16:13 |
|
my new job will pay for it so can anyone recommend a tutorial service?
|
# ¿ Apr 8, 2019 20:04 |
|
i prefer wikihow!!!
|
# ¿ Apr 8, 2019 20:45 |
|
*mentored other developers
|
# ¿ Apr 8, 2019 21:20 |
|
i will say that if you are doing pure CRUD and your objects are strictly just tables then an ORM lets you skip doing a lot of manual mapping and can be good. however this use case is actually pretty rare unless you are very careful in your requirements and initial design. (also you may have to manually map stuff anyways because gently caress you, arbitrary business rules)
|
# ¿ Apr 9, 2019 16:42 |
|
guess who got two thumbs and found plaintext passwords in the database?
|
# ¿ Apr 9, 2019 19:29 |
|
animist posted:hows that going for you asked the client about it and the client says they are using "microsoft" for the application validation so don't worry about it
|
# ¿ Apr 10, 2019 17:22 |
|
me, a terrible programmer, after doing a few months of making a poo poo react app and now learning the absolute basics of angular: "theres actually zero difference between react & angular. you imbeciles. you loving morons"
|
# ¿ Apr 10, 2019 20:02 |
|
redleader posted:same, but i don't do any sort of computer touching outside of work
|
# ¿ Apr 14, 2019 22:46 |
|
so this is my first new app in several years. can anyone recommend a logging or error handling framework for a angular.net project? in my experience so far error handling and logging has been "none, but maybe make a bespoke thing if you need it" so i would like to do better now that i have the chance.
|
# ¿ Apr 15, 2019 14:10 |
|
i guess back end for now. for all i know about angular right now it might already have a built-in logging service. i see that .net core has a logging thing, it any good? it looks extremely basic
|
# ¿ Apr 15, 2019 15:48 |
|
thanks i will check out serilog in other baby's first modren project news i have now made 8 files for a simple get endpoint so everything is nice and decoupled with services and interfaces but i don't know what to actually unit test. i mean i could verify my service correctly returns my object from the mock data service but like this feels roughly equivalent to having code:
|
# ¿ Apr 15, 2019 19:43 |
|
man, the imposter syndrome is real at my new job. i killed it at my last job and my new manager keeps talking about how smart i must be and how everyone at my old company only had the highest praise for me, but i don't know anything about dev process or achetecture. i can make lovely code slightly less poo poo and that's all really
|
# ¿ Apr 16, 2019 23:57 |
|
aaaaaaand im fired
|
# ¿ Apr 19, 2019 00:09 |
|
HAHA, no wait, load balancing software? you working on that system that went down a couple weeks ago and got my loving flight delayed by a couple hours?
|
# ¿ Apr 19, 2019 03:56 |
|
aaaaaaaand im hired
|
# ¿ Apr 23, 2019 19:42 |
|
guy here likes to inert into the db via stored procedures where there is only one augment which is an xml blob of whatever you are updating/inserting. it skips having to do an explicit mapping and lets the same proc handle any number of items, but it still feels wrong despite not having anything specific to point to. what terrible thing am i missing? or is this fine? e: the xml blob is automagically parsed and the data properly put in the appropriate columns, not just jammed in the db HoboMan fucked around with this message at 18:02 on Apr 25, 2019 |
# ¿ Apr 25, 2019 18:00 |
|
|
# ¿ Nov 5, 2024 10:13 |
|
hell yeah
|
# ¿ Apr 26, 2019 05:08 |