|
Ok, I see, but I don't have access to the source repository ...
|
|
|
|
|
If you don't have access to it, then there's no way to know what's in it. You can't even perform a manual comparison.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Right click the branch you are targeting and select Compare with Current Branch. Alternatively, you can utilize the branch list on the Git Repository window to access the same command.
|
|
|
|
|
1) Why are you replying to me, and not the OP?
2) How do you think that's going to work when the OP has said they don't have access to one of the branches they want to compare?
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
First you must have access to both of them. At least to download. You do not need permission to modify.
Then if it was me I would download both to different directories on my local computer.
Then I would get a tool that does file comparisons. Myself I use both WinMerge (free) and BeyondCompare (need to buy.)
|
|
|
|
|
Hi!
I want to upgrade my programming skills but don't know where to go.
Programming is an important hobby for me and I also made some tools for my company and for me to facilitate my work and my other hobbies.
For decades I used Visual Basic in MS Visual Studio. The last years a also tried HTML, CSS, JS, PHP, Python, SQL. And a view months ago I changed from Visual Basic to C#. And I ask myself if I should leave MS.
What I need and want:
- Nice graphical user interfaces.
- At the moment preferred Windows desktop apps. Web apps only if they also can handle local data.
- Maybe Linux and/or mobiles in the farer future, never ever Apple.
- Local and server databases. (XML, SQLite; MySQL, ...)
- Graphics (photos, charts, simple games, ...).
What I think of different tools and languages:
- Visual Studio WinForms: Old, outdated but still not bad.
- Visual Studio WPF and UWP: Nice but also outdated, MS stopped them.
- Visual Studio ASP.NET: I never tried it.
- JS: Great but not for local data(bases) und code is readable for everyone.
- Python: Great but no nice GUIs and I don't know if the compiler is good.
- Java: I never tried it but I think it can do everything. What about GUIs? How difficult to learn?
So what do you think? What are your experiences? What can you recommend?
Thanks
|
|
|
|
|
If you want to stick with MS, their latest offering is MAUI:
.NET Multi-platform App UI documentation - .NET MAUI | Microsoft Learn[^]
That will let you create apps that work on Android, iOS, macOS, Windows, and Tizen.
However, I haven't tried it yet, so I don't know how good or bad it is. I'm still using WPF, which still works and is still supported.
There's also Avalonia UI, which is an open-source cross-platform system "considered a spiritual successor to WPF":
Avalonia UI - Home[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
While WPF and UWP are "deprecated", they are not abandoned; and make it easier to transition to WinUI3 due to the similarities. UWP is the equivalent of WinUI2, and I still haven't found anything in WinUI3 to make me take notice.
While an EV may be the future, a lot of people are still buying ICE in the meantime in order to get somewhere.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
... and what about Electron?
|
|
|
|
|
hi i will recomended Visual Studio it's best note code software.
|
|
|
|
|
I am researching some standard models for Datawarehouse of accounting/ financial model? Is there any recommended books or knowledge base for these? I would like to find some best practice samples or the good way to identify the model. Any advice is really appreciated. Thanks!
|
|
|
|
|
He's got every model and relation under the sun. Sometimes its easier to reverse engineer Quick Books or something similar.
https://www.amazon.ca/Len-Silverston/e/B000APUYFQ/ref=dp_byline_cont_book_1
For data warehouses (publications), the keyword is "snow flake".
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
With the hodgepodge of frameworks available to make Windows applications these days - MFC, WinForms, WPF, WinUI, UWP, MAUI, Blazor Hybrid - and that's just the ones made by Microsoft! - it's really difficult to know which are suitable for a modern commercial application.
Rather than ask for recommendations or believe marketing hype, the best evidence for whether a framework or language is good is who's actually developing commercially successful applications with it. So what frameworks and languages are the big commercial shops using when publishing Windows applications these days?
Specific applications I'd like to know about are -
- Microsoft Office for Windows - this appears to be C++ with some kind of Javascript engine. There might be some .NET in there but it doesn't seem to be prevalent. I'm guessing they're using DirectComposition and have a homegrown control library that's completely untethered from the OS, but does anyone know for sure?
- Adobe Suite - also appears to be C++, but I'm guessing they have some home-grown cross-platform framework that allows them to keep the Mac and Windows versions in sync easily.
- Visual Studio IDE (not Code) - At one point this was WPF, but I can't tell what it is now.
- Slack - Electron maybe?
- Google Chrome - Obviously not .NET - guessing C++ and DirectComposition?
Secondarily, I can't find any evidence that big commercial applications are actually written using any of the Microsoft frameworks that are publicly available, other than perhaps WPF. UWP, WinUI, and Blazor all seem to be commercially irrelevant as far as I can tell. Would love to hear evidence to the contrary though.
|
|
|
|
|
XAML (WPF, UWP, WINxUI) does not appear to be going away. Pick a flavor and a device. Desktop, mobile, Xbox, all of the above, etc. Then use the corresponding (Visual Studio) project type(s).
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
Not at all what I'm asking.
|
|
|
|
|
I think you need to define "big commercial" better, are you talking twatter, FB, and the host of social media or large corporates, banks, insurance etc?
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
Has anyone here used RIBs architecture before? I’m starting a new cross platform mobile project using it. I’m trying to figure out:
- For Android whether to use Kotlin or Java,
- For iOS whether to use SwiftUI or UIKit
- What good dependency injection practices using needle and RIBs are? Does needle replace RxSwift?
- How and where to properly use “Plugins” on a more practical level than this article gives
- How to write unit tests for the interactor. Unfortunately I have almost no experience writing unit tests in Java/Kotlin & Swift but I really want to learn.
Thank you for reading this and I greatly appreciate any assistance.
|
|
|
|
|
in a video game you have a ton of different objects, they usually fall into categories: walls, characters/units, buildings, resource type objects (crystals, gold mines etc). the categories behave very differently. My question is how do you keep it all organized? I only have two types of objects and it`s a mess already, and I need to add another type or two. I have been keeping a separate list for each type of object, the exchange of information between types tends to be messy and that will just increase if I add new types.
|
|
|
|
|
Without knowing all the details of your problem, it seems like a case where object inheritance can help. Your objects can inherit from a base class, let’s say “entity” and reimplement various polymorphic functions.
For instance, each can have a collide function that does different things depending on the specific type of object. On the other hand, all objects have a location on the game map so you might have a function Entity::location() that returns the position of an object without having to reimplement it.
Also, your hierarchy might become more complicated as you find common traits between various classes of objects. You might have FixedEntity that describes walls and other things that stay put, and MobileEntity for players, dragons and what not.
Mircea
|
|
|
|
|
All my objects are the same "game block"; with a "type code".
Each type loads a different "image" (with a transparent background) so they all look different.
The "game block" can rotate, reverse, fire, etc.; except that certain interactions are disabled depending on the type of block currently selected / active (e.g. the "scout" doesn't have fire power which is handled by giving him "zero" range).
I thought of deriving from one "base class", but in the end didn't find it necessary; just the occasional switch statement here and there.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
Quote: All my objects are the same "game block"
I think I`ve seen that before somewhere. There`s two ways to code what you`re saying. You either have a single class or a struct for all types of objects, in which case you need a field/variable to hold your 'type code' or you can use inheritance in which case each type of object is a class derived from a common base class.
|
|
|
|
|
The problem with using switch statements to control behavior is this: when you want to add a new type of block, you have to hunt down every switch statement that requires a new case label. That's why using virtual methods is preferable. You just invoke the virtual method, and each different type of block provides the code that would otherwise have gone with a case label.
It can sometimes be hard to define the interface for a virtual method. For those situations, you can invoke a virtual type method that returns a block's type, which you can then use in a switch statement after all. But if you find yourself doing this often, it can mean that your methods are too big and should be broken into smaller pieces that would make it easier to delegate most of what they do to virtual methods instead.
It's annoying to have to define a virtual method and override it in all the necessary places. The "code it now!" approach is to just write a switch statement. But in a large program, the time needed to add virtual methods will be more than recovered because the resulting code will be easier to maintain and evolve.
|
|
|
|
|
I almost never use switch - case approach to logical gates (good old if is always there to help)
|
|
|
|
|
You're generalizing about switch without knowing the details.
A switch could be implemented via a Dictionary ... Is that more "acceptable"?
(In fact, the "game" is primarily driven via dictionary "tables")
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
If it didn't mean a switch statement, I think you can see how it was misleading.
|
|
|
|
|