|
I do bunch of Azure functions work. Although microsoft last 5 something years they really driven the splitting up packages, so something which was 1 like storage, is now 3.
go tos because used to, and easy to explain to juniors to use
MOQ, fluent assertions
Newtonsoft I try to replace in existing projects where I can, the defaults for System.Text.Json just ahh I understand why but I dont want it like that.
ftp/sftp/email (like some other protocols as well) - use a package if need interaction, I do not want to repeat relearning mistakes with handling these things reliably.
most other things, logging Im fine and prefer defaults provided, azure logging 👍. Logging to a file: handful of methods in a class file I would prefer over log4X, by which at deploy find that some setting not working. Package functionally, sounds great, I want it the same format across all things so all them bells just dead weight
As someone else pointed, sounds like most OP work embedded systems, which just a whole different level of wow to me, and would see looking at a 10kb package add to do something which only need one functionality from, could write in under a 1kb class.
Webpage work, very much been trying to write in browser games with own code, no 5MB of packages.
|
|
|
|
|
I don't like NuGets, but I have to use them. Microsoft stuff, Newtonsoft, Oracle, Informix, proprietarily libraries etc.
In my previous job NuGets were the bread and the butter. Here is the rant: The Lounge[^]
There is only one Vera Farmiga and Salma Hayek is her prophet!
Advertise here – minimum three posts per day are guaranteed.
|
|
|
|
|
I use NuGet quite a bit. I think carefully about what dependencies are worth adding to a project. I'll never add a package carelessly. I think being productive in .NET means using NuGet packages wisely. If you want to be a senior or principal level developer in a typical corporate environment, it's not a good use of your time to re-invent stuff like logging or an IoC container or security/authorization IMO.
There is a time and place for doing low-level invention when it helps you think through a fundamental problem, and get some insight or appreciation for how certain low-level services work. ORM is a good example, and one area where I'm a hypocrite. (This came from legit unhappiness with Entity Framework.)
>>Sometimes someone refers me to a package from some developer, and I think "What's in this? Is it secure? What benefit do I get from adding another assembly versus use code I already have?<<
Certainly it depends on the package, but I think you have to be honest with yourself about how much time you have and how much you're trying to achieve. I would be very surprised/skpetical if a lone developer believes he has code already written for every single problem he encounters. Just yesterday I was implementing html email. This typically requires inlining CSS because typical mail clients don't respect stylesheets. A package like Premailer.Net makes this very easy. There is no reason to invent this myself. I could think of a dozen situations like this.
I have a few NuGet packages myself, as there are a few areas where I was truly unhappy with the status quo and wanted to offer my own solution. But I've made quite a number of ridiculous packages also, if you go through my public packages. (They are a bit hard to delete on NuGet.org.)
|
|
|
|
|
I may pull a NuGet package while working out the early stages of something - fast. But I agree with you, I want something
to do what it is supposed to do and nothing more. No need
having tons of options I don't need (do I really need my
logging process to receive emails?). In the end if I do not
already have a utility process then I will write it.
|
|
|
|
|
A combination of both, including publishing my own libraries to nuget.org so I don't have to rewrite the same thing over and over, or, equally bad: copy-paste code between projects. The latter comes back to bite you when project diverge and you can't share fixes / enhancements any more (I've seen this on copy-pasted code at my work).
My first nuget packages literally were so that I wouldn't have to write the same code twice - and that legacy continues. I don't think any of my packages have been used in only one place, and not having a central source of truth that can be fixed and easily propagated seems like a crazy idea to me.
Libraries that I've made & found immensely useful across multiple apps include:
- a duck-typer (duck-type objects or dictionaries to well-defined interfaces)
- an ini file reader/writer
- a management class for windows services (start/stop/restart/install/uninstall, etc)
- container/manager for spinning up temporary databases for testing (mssql, mysql, sqlite, sqlce) & cleaning up once disposed
- temporary http server, again for unit testing - spin up, add handlers, disposable pattern
- an easy-to-use commandline arguments parser / mapper-to-an-object (because there was one that I liked, and the dev updated & broke things, and I thought "nuts, I can make that and have control over it"
- miscellaneous utils like auto-deleting (via disposable pattern) temp files/folders, common reflection-based functionality, easy parallelisation, easy interaction with a sub-process (esp the I/O part), and some more
For testing, I would imagine that you're either not rolling your own unit test & assertion frameworks every time, or you're just not testing. I wanted smarter assertions that felt similar to JS-land ones, so I wrote NExpect.
I'm happy to use nuget packages that are well-maintained & documented. I don't think anyone can do web work these days without nuget - I really don't think anyone is writing web servers from the ground up? Surely?
------------------------------------------------
If you say that getting the money
is the most important thing
You will spend your life
completely wasting your time
You will be doing things
you don't like doing
In order to go on living
That is, to go on doing things
you don't like doing
Which is stupid.
|
|
|
|
|
I got my CPU and my cooler today so I was able to do a rough visual check (on top of my initial spec sheet perusal) for clearance in my chassis.
It's going to be tight, assuming it fits.
I'm pretty anxious. I won't be able to check until my mobo gets here.
Argh. The anxiety is getting to me, so I just want it to be done with.
To err is human. Fortune favors the monsters.
|
|
|
|
|
I remember you used to be able to get low profile mounting studs for mobos - if it's that tight it might be worth seeing if they are still available? Been a very long time since I needed them though!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
This chassis doesn't use studs. It has raised posts built into the floor of the case.
To err is human. Fortune favors the monsters.
|
|
|
|
|
OriginalGriff wrote: I remember you used to be able to get low profile mounting studs for mobos - if it's that tight it might be worth seeing if they are still available? Been a very long time since I needed them though!
Changing the standoff hieght would mean your back panel IO won't line up with the back of the case anymore. A few blocked USB ports probably isn't the end of the world, but you'd also be unable to fully install a PCIe card; and fixing that would require a lot more work than just cutting a bigger hole.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
|
|
|
|
|
What files and hack saws are for (I use my Dremel tools).
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
honey the codewitch wrote: It's going to be tight, assuming it fits.
Sounds like a good time
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
Oh my!
To err is human. Fortune favors the monsters.
|
|
|
|
|
I would think that a larger case (if necessary) would be a lot cheaper and less hassle than trying to re-spec. everything else.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
I just bought this case last december and it is the best chassis I've ever owned by a large margin. They do have a larger version of it, but I don't have room for it, and it's so heavy I'd probably have to put it on the floor, which I am loath to do on account of dust and such. This line of chassis are all tempered glass, so they are beautiful but heavy as heck.
To err is human. Fortune favors the monsters.
|
|
|
|
|
I just built two new machines and everything is so easy today as long as things fit!
However I always use tower or Mid-tower cases and they always go on the floor. I also prefer high air flow cases over tight enclosures, this was learned from building dual processor systems years ago. Dual Xeon systems would generate far too much heat for anything but high air flow.
For the new systems I used a Corsair 7000d airflow and a Corsair 5000d airflow. Both cases a very nice and a pleasure to build in. I care little about looking at the stuff, but care more about cooling it all.
Good luck with your new system! I hope everything fits and your build goes smoothly.
|
|
|
|
|
Three dinosaurs are running across the desert when they stumble upon a magic lamp.
They rub it, and a genie appears.
"I have three wishes, so I'll give one to each of you," the genie announces.
The first dinosaur thinks hard.
"Alright," he says, "I'll have a big, juicy, piece of meat."
Instantly, the biggest, juiciest piece of meat he'd ever seen appears in front of him.
Not to be outdone, the second dinosaur thinks even harder.
"I know! I'll have a shower of meat!"
Immediately, huge pieces of meat rain down around him.
The third dinosaur, certainly not to be outdone, thinks harder than the previous dinosaurs.
"I've got it!" he cries, "I want a MEATIER shower!"
I'm sorry. I'll show myself out.
There is only one Vera Farmiga and Salma Hayek is her prophet!
Advertise here – minimum three posts per day are guaranteed.
|
|
|
|
|
Where did the magic lamp come from?
|
|
|
|
|
From
There is only one Vera Farmiga and Salma Hayek is her prophet!
Advertise here – minimum three posts per day are guaranteed.
|
|
|
|
|
I'm picturing T-Rexes trying rub the lamp.
// TODO: Insert something here Top ten reasons why I'm lazy
1.
|
|
|
|
|
So, I'm in Visual Studio, and I have been coding 3 hours straight when <insert interruption="" of="" choice="" occurs="">. For me, my grandson, who is a 2 foot tall Jedi, comes in to say hi, and tries to start pushing all of grandpa's office buttons. He's a cute bugger, so 15 minutes later of defense and hugs, "what the elephant was I doing?"
So, I go back to VS and hit ctrl-z, many times, then ctrl y to put it all back.
This morning, I'm in outlook, and I delete two emails. Email 1 I need, email 2 can stay gone. ctrl-z - email 2 comes back. ctrl z, it goes away again. ctrl z, it's back.
For some company that CONSTANTLY elephants with user interfaces for "improvement", you'd think, you'd THINK, they would drive some consistency.
Pants on head stupid.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
The office team isn't like the rest of Microsoft, but they're bringing in the dough, so no one is going to tell them off.
|
|
|
|
|
Considering the amount of users and technical debt the Office team needs to contend with, I don't envy them but I do respect their skills.
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
You're quite right.
One have to differentiate between the marketing team and the programming team at the office department.
|
|
|
|
|
And Ctrl-F behaves differently in Outlook as well.
|
|
|
|
|
And F5 doesn't refresh the mail - that's F9 just to be damned annoying.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|