|
Saw something spooky in our repo: theres a class named AES (already a red flag right there), most of the methods have 'throws Exception' instead of specific execption types, all the catch blocks are just catch Exception, and the error state branches in some of the methods just end in "return null;"
|
# ? Apr 13, 2019 06:02 |
|
|
# ? Dec 3, 2024 06:32 |
|
ssis is great if you like versioning a huge, unreadable xml blob that you can only change using a shithouse gui tool
|
# ? Apr 13, 2019 07:03 |
|
redleader posted:<literally every professional tool that isn't a programming language> is great if you like versioning a huge, unreadable xml blob that you can only change using a shithouse gui tool
|
# ? Apr 13, 2019 09:41 |
|
redleader posted:ssis is great if you like versioning a huge, unreadable xml blob that you can only change using a shithouse gui tool xml versions just fine, the ssis xml is actually quite readable, and even if it wasn't it doesn't matter because you will never need to read it. also the ui works fine
|
# ? Apr 13, 2019 14:58 |
|
gently caress SOAP UI
|
# ? Apr 13, 2019 15:14 |
|
Shaggar posted:xml versions just fine, the ssis xml is actually quite readable, and even if it wasn't it doesn't matter because you will never need to read it. also the ui works fine if a xml file can be modified by different people, you'll end up having to read it at some point to resolve a merge conflict
|
# ? Apr 13, 2019 15:40 |
|
Janitor Prime posted:gently caress SOAP UI DROP TABLE SOAP
|
# ? Apr 13, 2019 16:27 |
|
Luigi Thirty posted:uh... I got the GNU runtime working, this is quite possibly the most cursed thing I have ever made
|
# ? Apr 13, 2019 17:34 |
|
it’s way too slow to be practical for much (1/10th the speed of C) but it should be fun to experiment with, optimizing the MIPS assembly
|
# ? Apr 13, 2019 19:42 |
|
Luigi Thirty posted:it’s way too slow to be practical for much (1/10th the speed of C) but it should be fun to experiment with, optimizing the MIPS assembly you are psychotic and I love it
|
# ? Apr 13, 2019 21:01 |
|
If you stuck to one platform you could have made TempleOS by now.
|
# ? Apr 13, 2019 21:17 |
|
mystes posted:If you stuck to one platform you could have made TempleOS by now. I have legit add and end up bouncing between lots of projects
|
# ? Apr 13, 2019 23:33 |
|
you do so much cool poo poo with each one though
|
# ? Apr 14, 2019 05:58 |
|
Luigi Thirty posted:I have legit add and end up bouncing between lots of projects when are you making a hymn generator Slash oracle
|
# ? Apr 14, 2019 06:15 |
|
I would trust Luigi to remove the Gutenberg text from the Bible before she added it to the oracle
|
# ? Apr 14, 2019 12:08 |
|
eschaton posted:you do so much cool poo poo with each one though seriously, I wish I had half the motivation she does to work on stuff. instead I’m over here writing cmake so no one else has to suffer
|
# ? Apr 14, 2019 19:10 |
|
Slurps Mad Rips posted:seriously, I wish I had half the motivation she does to work on stuff. same, but i don't do any sort of computer touching outside of work
|
# ? Apr 14, 2019 19:40 |
|
redleader posted:same, but i don't do any sort of computer touching outside of work
|
# ? Apr 14, 2019 22:46 |
|
I do math touching when i have a computer touching job, i think it's a deec compromise
|
# ? Apr 15, 2019 01:36 |
|
CPColin posted:Ignore what the ORM puts out until a new query floats to the top of your database monitor's "Bad Queries" report, imo. it's this. just code. the quality doesn't matter, until it does and then you profile and improve the worst code.
|
# ? Apr 15, 2019 06:51 |
|
Wheany posted:it's this.
|
# ? Apr 15, 2019 06:56 |
|
things i've learned: it's far faster to do a single List<Butt> = buttRepository.findAllByButtIdIn(List<Long> ids), than it is to do a foreach loop on the id list and fetch each Butt individually. but last summer, when i wrote the original code, it didn't matter
|
# ? Apr 15, 2019 06:58 |
|
Wheany posted:List<Butt> = buttRepository.findAllByButtIdIn(List<Long> ids) BuT i DoN't KnOw WhAt SqL tHaT rUnS
|
# ? Apr 15, 2019 07:31 |
|
Wheany posted:it's this. i see you haven't produced code for restricted systems! "why hello there 2000 points of requirements for security how are you doing?"
|
# ? Apr 15, 2019 07:31 |
|
Wheany posted:BuT i DoN't KnOw WhAt SqL tHaT rUnS optimizing sql will never get you friends, or a pat on the back best I've ever received was mild indifference, worst was "why are you wasted your time its running" for a minutes long operation that business required run in seconds. thanks previous boss
|
# ? Apr 15, 2019 07:33 |
|
Boiled Water posted:i see you haven't produced code for restricted systems! just write the worst code that fulfills those requirements until you run into a problem.
|
# ? Apr 15, 2019 10:01 |
|
Boiled Water posted:i see you haven't produced code for restricted systems! Just write it all in Spark Ada, then follow the maxim of the worst code that fulfils the requirements and it's still pretty good.
|
# ? Apr 15, 2019 10:13 |
|
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 |
|
front end or back end? we use sentry for error reporting on both frontend and backend, it's okay I guess? speaking of it though, I discovered the other week that we've had it misconfigured so it just never reported errors in our legacy angularjs components at all. i ~our metrics~ (tbf it's pretty much exclusively issues that are invisible to users, just terrible programming going on in the background)
|
# ? Apr 15, 2019 15:43 |
|
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 |
|
HoboMan posted:i guess back end for now. for all i know about angular right now it might already have a built-in logging service. Nothing built in for Angular but things like ngx-logger are fine.
|
# ? Apr 15, 2019 16:04 |
|
HoboMan posted:i see that .net core has a logging thing, it any good? it looks extremely basic it is. but if you don't need actual analytics and just want to ctrl-f for a stack trace, it's more than good enough. if you want to go further, serilog is great. structured logs, good api, and it can interface with every storage / analytics medium under the sun. the only pain point I ever encountered with it is that async logging is in a separate nuget package, and without it the console output was bottlenecking my webapi
|
# ? Apr 15, 2019 16:09 |
|
HoboMan posted:i guess back end for now. for all i know about angular right now it might already have a built-in logging service. Yeah, the basic .net logger is "fine" and probably needs suiting for the most part. I've used Serilog a fair amount, which has some decent configuration where you can control the log level for lots of system level stuff in addition to your own poo poo. e: hurrdurr not sure why I didn't even see NihilCredo's post, but yeah, what he said.
|
# ? Apr 15, 2019 16:26 |
|
ctps: implementing design patterns using c macros
|
# ? Apr 15, 2019 16:51 |
|
https://github.com/orangeduck/Cello why would anyone make this
|
# ? Apr 15, 2019 19:02 |
|
animist posted:https://github.com/orangeduck/Cello pls don't give me ideas
|
# ? Apr 15, 2019 19:26 |
|
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 |
|
i'm having increasing amount of issues with discord's formatting especially on mobile. how dumb is it for my bot to dynamically generate a png or svg instead of responding in discord's half-assed markup? I lose: copy/pasting, any links to web or other users. bandwidth maybe?? I gain: columns stay even on mobile, dynamic text scaling to the size of the user's screen.
|
# ? Apr 15, 2019 19:55 |
|
I use nlog for most things and it works pretty well. I connected it to application insights and wrote a thing to send nlog context variables and it makes error reporting actually useful.
|
# ? Apr 15, 2019 19:56 |
|
|
# ? Dec 3, 2024 06:32 |
|
HoboMan posted:thanks i will check out serilog apis aren't really unit testable except for a few purely functional aspects like input validation wait until you have multiple endpoints that form a story. eg. register -> verify -> shitpost -> ban -> can't post anymore. then test as many variations as you care to come up with. when you get tired of it, go down the fuzz testing / property based testing rabbit hole
|
# ? Apr 15, 2019 20:19 |