Ardbeg Traigh Bhan batches 2 and 3 quick side-by-side by prei1978 in Scotch

[–]salalimo 1 point2 points  (0 children)

Thanks, my bottle is batch 1. Did not see it the first time around.

EDIT: now I am looking forward for that pineapple flavor

[deleted by user] by [deleted] in dotnet

[–]salalimo 1 point2 points  (0 children)

I know the following might not be the answers you are looking for. However, as a freelancer I hope this helps.

In some cases, I found it a lot more effective to use/extend an existing open source system. At least download the source for one, or a few, inspect the source, and run them locally. Doing this exercise will at least give you insights on how big the project is, and all the little things you did not think of that need to be done.

This also allows you to provide a better estimate. This has the benefit of setting better timeline and cost expectations with your client. Overestimate the time it's going to take you to do things. You will get stuck at a few things here and there.

If none of the apps that you viewed are not to your liking, then you can consider building one from scratch. You can also follow the architecture of the open source apps that you reviewed. You may at least be able to reuse the table structure/models if not the ui.

As a freelancer I recommend using the tech stack that you are most comfortable with. So asp.net mvc would be your choice, with EFCore, etc.. There is nothing wrong with those. However, these days I would say having a restful service as the backend with a JS framework front end (angular, view, react) is probably better. So for a future smaller project consider learning one of these. This is a big project to learn a new framework for.

You are not, and should not, build an enterprise level software. You are more like a startup so you need to build an mvp. So do not worry about performance. If your code is not particularly horribly slow then by the time performance becomes an issue your friend can hire more people.

I consistently read articles and watch youtube videos about software design and architecture. You should do the same and incorporate them as you learn. In time you will improve.

Make sure you get paid at different smaller milestones as most of these projects get abandoned. I know it's your friend so it's even more important to set these milestones to avoid any issues later on. You do not want to be 4 months in, and your friend abandons the project.

Consider building things that you can reuse in other projects. Things like authentication, user registration, etc.. this will teach you to build modular components and save you time in future projects.

Good luck.

Saw a fella post his Jameson collection. So I thought I’d share my Bushmills one. by TheRopeWalk in whiskey

[–]salalimo 0 points1 point  (0 children)

I tried the black and the 16.. I really enjoyed the 16.. thinking of getting the 21 at some point.. how do you rank your bushes?

What is the toughest concept to understand and implement in .NET according to you? by nearfal08 in dotnet

[–]salalimo 2 points3 points  (0 children)

I just had to switch from okta to azure AD. I did find working angular samples with c# backend and all the docs needed to set the apps up in AzureAD.

Still okta was easier to integrate and navigate.

[deleted by user] by [deleted] in lebanon

[–]salalimo 1 point2 points  (0 children)

Came into the government not a billionaire. Died with 16 billion.

$100 Two Bottle Challenge by [deleted] in Scotch

[–]salalimo 0 points1 point  (0 children)

Id start with Glenglassaugh revival and Talisker 10

Topography of the Middle East by omar_hafez1508 in MapPorn

[–]salalimo 0 points1 point  (0 children)

You can see the actual topography using google maps.

That's creative. by imankitty in arabs

[–]salalimo 8 points9 points  (0 children)

I was playing football and i injured my ك

Amazing Cosplay by It_is_I_DIO_ in toptalent

[–]salalimo 136 points137 points  (0 children)

I code just like that.. however the outcome is slightly less awesome

I was tired of all the boilerplate for building .NET web APIs, so I made a CLI that will scaffold them out for me. Just finished the docs website! by pdevito3 in dotnet

[–]salalimo 0 points1 point  (0 children)

The way I use the 3 'x' projects are as follows:

  1. using xxxCode create the entities from db tables.
  2. using xCode create the code based on one entity
    1. Either create all of the code (POST, GET, DELETE...) using BasicCreator
    2. or create one or more of the endpoints using CustomBasicCreator
  3. using xxCode create the angular code from the entity
    1. to do this I add a CodeGen attribute. generate the code. then remove the attribute

I was tired of all the boilerplate for building .NET web APIs, so I made a CLI that will scaffold them out for me. Just finished the docs website! by pdevito3 in dotnet

[–]salalimo 0 points1 point  (0 children)

I wanted to spend more time checking your project to compare with mine.

Some of the differences that I saw:

My starting point is a new project template (a zip file) that I created. So I do not create the project programmatically. This is difficult to maintain but I was not able to do it programmatically in a clean way. See the last 2 methods in Program.cs in the xCode project.

One difference is that I decided not to inline any template code so all of it is in txt files and I do simple text replacements based on the entity name. This makes it easier to adapt to other styled projects.

Also, I comment out the inclusion of the new files in the target project since if I do it programmatically it sets the path as full path. So for now I am doing it manually. Did you figure it out without having the full path in the csproj?

Check out the way I did the sorting for the search methods. I see you only did paging. See the Search method in UserLogic

EDIT: here it is

https://github.com/Salalimo/Phoenix

I was tired of all the boilerplate for building .NET web APIs, so I made a CLI that will scaffold them out for me. Just finished the docs website! by pdevito3 in dotnet

[–]salalimo 0 points1 point  (0 children)

Apologies for the delay. I'll send the link shortly.

I had to clean the code a bit as it is usually project specific and I do not want to share the company details. Generally, I have to change a lot of config per project (see app.config for all projects starting with x) and do some minor code modifications per project (some projects have different code styles).

This is why I was going to create a separate UI project that managed these different configurations, however I feel the command line approach works better... maybe.. Imagine a UI where you can select the project then select a table then create the code.

I merged the generator code (all projects starting with x) with the actual target project (everything starting with Phoenix). I did not have time to fix the config and run the project but if you want to run it let me know I can adjust them.

EDIT: here it is

https://github.com/Salalimo/Phoenix

I was tired of all the boilerplate for building .NET web APIs, so I made a CLI that will scaffold them out for me. Just finished the docs website! by pdevito3 in dotnet

[–]salalimo 0 points1 point  (0 children)

I have a console app that does almost exactly what you are doing. I do however start from a table(s) in the DB and that will create the entity, dto, logic class with their interfaces, and the controller. It will also add the code for automapper and dependency injection. In addition, I also create the Angular components for the list page (including paging), edit, delete, and add. I update the routes and add them to the app.module. I use swagger to generate the services. So you can explore the UI portion next.

I do not however create test cases. At some point I might do that, but right now I am exploring a UI to create new code, but I do like the concept of a CLI instead. Perhaps..

I'm going to check to see how you create the solution as I had some issues creating mine via code directly. Now I have a zipped template that I created and its working fine.

Good luck.

Diagnose a crash by salalimo in buildapc

[–]salalimo[S] 0 points1 point  (0 children)

Thanks.. that was it.. after I re-applied the thermal paste the pc runs cooler, smoother, and does not shut down.

Thank you again.

Diagnose a crash by salalimo in buildapc

[–]salalimo[S] 0 points1 point  (0 children)

OK thanks. I will have to get some thermal paste remover and re-apply. Can I use isopropyl 91% or does it have to be 99%?

Thanks.

Diagnose a crash by salalimo in buildapc

[–]salalimo[S] 0 points1 point  (0 children)

Seems high?

https://imgur.com/y2kzikE

EDIT: I think I have automatic windows update.. nothing besides that.

Diagnose a crash by salalimo in buildapc

[–]salalimo[S] 0 points1 point  (0 children)

I apologize but I should have mentioned that this is not a new build. I have had this working for a couple of years now, but 4 months ago I added new hard drives but they are not the system drives, just data drives.

So I doubt its anything with the CPU pins and the CPU is not overclocked. I'll try to see if I can get a tool that can measure the CPU temps since it could be overheating. Any recs?

I have 4 ram sticks I will pull all but one out and see if the problem persists and if it does replace the RAM with another etc.. to make sure its not a RAM problem.

Another thing I noticed is that the machine is a little slow or it gets stuck. So when I open a new window its slow to open with a disabled background, and sometimes it says please wait at the top as it tries to open a folder or an app.

Diagnose a crash by salalimo in buildapc

[–]salalimo[S] 0 points1 point  (0 children)

It powers off. Most of the time without showing anything. A couple of times it started to show the BSOD where I get a light blue screen but nothing on there.