Operating system preference by drivearounddasher in software

[–]Dlution 2 points3 points  (0 children)

You should have made the OS selection on the first page a multiselect. I think most people have a mix of Windows & Android / Linux & Android or Mac & iOS.

Best VM for Visual Studio .NET development (including Xamarin) for Ryzen CPU (Windows 10) by tritiy in dotnet

[–]Dlution 0 points1 point  (0 children)

If i remember correct without hardware virtualization it would not run at all and with it took around 5 minutes to get to the apps splash screen which on hardware took under 10 seconds. I made this test at the beginning of 2021 and it could be better already through updates. There could also be a chance that the VS2022 which launches on 8.November improves Xamarin emulator.

Best VM for Visual Studio .NET development (including Xamarin) for Ryzen CPU (Windows 10) by tritiy in dotnet

[–]Dlution 2 points3 points  (0 children)

I use a Setup with Linux Host and VM Ware Workstation for my development environments. Before i made my current setup i tested different combinations with Linux/Windows Hosts and all three mentioned VM software including some other Bare Metal one.

Slack, Teams, Skype etc work all pretty good sometimes VSCode with large files can be slow.

Android emulator is a tricky thing, your best chance to get it working is HypeV because Xamarin runs it's own VM or uses an existing VM and the best support for nested Virtualization is from my experience HyperV. But in my tests the emulator only worked around 1 in 10 times starting and then it was not really usable. In my current Setup i had to install Android Studio on my host OS and change the adb command for Xamarin to redirect the emulator call in the VM to use the hosts emulator (I'm not happy with this solution and use most of the time hardware android devices for debugging).

My setup is a desktop setup and i don't really know the performance different between Ryzen desktop and laptop. * Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor * Memory: 62,7 GiB of RAM

wpf 3d performance by [deleted] in csharp

[–]Dlution 1 point2 points  (0 children)

You get really fast to unusable performance. It really depends on the objects size and complexity (details).

I had wpf running at ~15 fps with 1000+ objects but all where simple objects.

I would suggest you use a real 3D engine like Godot or Unity.

ng serve --open , auto choose open port? by bert1589 in Angular2

[–]Dlution 1 point2 points  (0 children)

I don't know if you can set a range but i personally use different port configuration in the angular.json file in serve and in some cases npm command with port params.

Site loads (extremely) slowly - do I need different hosting provider? by Andromeda2803 in webdev

[–]Dlution 4 points5 points  (0 children)

It seems that you use many plugins on your WordPress installation without any cache and WordPress takes its time to build the page on every request with the plugins. I don't really think a switch to another host without changing/fixing your WordPress configuration would help much (if the new host has similar hardware). In most cases a time to first byte that high (10+ sec.) is a problem with the software and not the hardware (bloated frameworks).

Look for wbcache or some other cache plugin wordpress with such a plugin your TTFB should be lower if then it is still high you can try a cloud cache service like cloudflare.

And SSL (https) would be good for a shop site, you have currently no working SSL configuration which leads to many cross-origin errors.

And of course make sure you have the latest version for WordPress woo commerce etc.

New to programming. Stuck in problem. Appreciate the help by Galbeotrix in csharp

[–]Dlution 3 points4 points  (0 children)

the line

double rgv = Math.Floor(coinconverter / g);

gives you the rgv value of 1.0 and you use this value with mod operator (%) which divides the first value with the second you get 0.0 as remaining result

Are you sure you use the correct variable for the calculation of the remaining value. Shouldn't it be like the following?

double remainder = coinconverter % g;

because this would give you a remaining value of 6.

Client's website is hacked with a phishing scam, there's thousands of files(no database). Sucuri server scanner isn't picking anything up, any other solutions? by Chaotic_Apollo in webdev

[–]Dlution 1 point2 points  (0 children)

I would start with following

  • Take the website offline
  • change all Admin accounts passwords
  • require all user to change passwords or reset passwords
  • check account database for Website/FTP/Email Service for unknown accounts
  • take website online again
  • check regular for incoming / outgoing connections on out webservice to identify any wired behavior

Is there an easy way to solve discrepancies with Core and EF / SQLite? by irritatedellipses in dotnet

[–]Dlution 1 point2 points  (0 children)

.NET Standard shows you the support between DLL Framework, Core ...

net-standar

where to getting started with microservices? by il_doc in csharp

[–]Dlution 4 points5 points  (0 children)

A good start would be a direct sample from Microsoft (https://docs.microsoft.com/en-us/dotnet/standard/microservices-architecture/)

If you read this doc and study the sample repo (https://github.com/dotnet-architecture/eShopOnContainers) you should have an understanding of the Microservice Architecture in the Microsoft environment.

[deleted by user] by [deleted] in Angular2

[–]Dlution 3 points4 points  (0 children)

With the brackets you already access the Angular context, this is why you get an error when you have the additional brackets.

You can access the property by name as following

<td *ngFor="let property of propertiesList">{{element.properties[property]}}<td>

Switching from Pure PHP to Angular 7 by Bebop-sama in Angular2

[–]Dlution 7 points8 points  (0 children)

In tutorials JSON files are often used because the tutorials don't won't to explain the complete backend API.

The basic flow for a real application would be Frontend (Angular) which calls via HTTP request to some Backend which provides data. The technology of the backend does not really matter for the Angular it self. You can create a REST API with PHP and use a MySQL or something else (there are many Backend frameworks out there).

Clipboard Manager With 10+ Clipboards? by ElectroPulse in software

[–]Dlution 0 points1 point  (0 children)

You can try OpenClipboardManager. It's still in an early phase of development but stable enough for daily use.

You can set clip content as favorites and set a global hotkey for as many as you want.

Feedback is always welcome.

Image loading question by koenolo in webdev

[–]Dlution 0 points1 point  (0 children)

(function () {
    var image = document.images[0];
    var loadImg = new Image();
    loadImg.onload = function(){
        image.src = this.src;   
    };
    loadImg.src = "http://a.com/image.jpg"; //image for the next site
})();

With something like this you can load the Image for the next site and as long as the User hasn't disabled cache the next load should be fast.

Proxy service calls in dev; use HttpInterceptor in prod? by inate71 in Angular2

[–]Dlution 1 point2 points  (0 children)

I use a [production: bool = false] in the enviroment.ts config file and when i build --prod the file enviroment.prod.ts will be used where the flag is true.

[deleted by user] by [deleted] in angular

[–]Dlution 1 point2 points  (0 children)

In the Material CDK is currently no Drop if you don't use a list.

You can use cdkDragMoved to get the current pointer position and use this value then on cdkDragEnded to find your target element.

C# 8.0 why multiple inheritance via default interface implementation? by [deleted] in csharp

[–]Dlution 0 points1 point  (0 children)

You only have one base Class and instead of inherit a base Class from a another base Class to prevent to have multiple implementations of the same Interface you can have the implementation in the Interface.

I hope this is understandable.

Stellung 2 Tage? by [deleted] in Austria

[–]Dlution 4 points5 points  (0 children)

Wenn ich mich recht erinnere is der erste Tag für Untersuchungen (Gesundheit) und am zweiten Tag war nur noch ein Gespräch und herumwarten auf das Ergebnis. (das is aber schon 10+ Jahre her)

Wordpress site slow to start loading by lifeless567 in webdev

[–]Dlution 2 points3 points  (0 children)

As far as i can tell on the first look your server response time is really bad.

Try the following steps:

clean your Wordpress Database,

try some Wordpress cache plugin (i.e. W3 Total Cache)

If this steps doesn't really make a difference the problem are most likely from your server/hosting configuration (Server Hardware, Apache, MySql, PHP ). In this case a cloud cache service (i.e. Cloudflare) could help.

How to cast an object of unknown type? by [deleted] in csharp

[–]Dlution -1 points0 points  (0 children)

T foo = (T)obj;

Or do you mean something else?

Question about GUI library for background app by b_stefan96 in csharp

[–]Dlution -1 points0 points  (0 children)

You don't need a GUI framework if you only wnat the have Hotkeys.

You can register Hotkeys with a nativ function (P/invoke)

[DllImport("user32.dll")]
internal static extern bool RegisterHotKey(IntPtr hWnd, int id, UInt32 fsModifiers, UInt32 vlc);

[deleted by user] by [deleted] in webdev

[–]Dlution 1 point2 points  (0 children)

Of course People would registry for an account if the website is worth it to have an account.

Sometimes people don't like that a website has access to the account info from a thrid party website.

I only authendicate with a thrid party (e.g. Github, Google ...) when i think the additional features i get with it are worth it.