Software – Edit the registration of Window 10 to display wider flyout boxes

I use Archicad and in Windows versions some of the flyouts cut off the text in the middle with (…..). I want the entire lines of text to be displayed and the flyout only wider. I talked to the developers of the program and they say it's a Windows problem. The Mac version works the way I want it. I explain my problem a lot better HERE with pictures and a more detailed description. I thought I could change the windows registry to get more and more flyouts, but it's up to me where to start looking. I assume that Windows has a maximum width or maximum characters for the flyouts. I tried to get the developers to tell me what kind of switch the flyout was, but obviously they would not tell me.

testing – Testable class / interface in embedded software, written in C ++

I'd like to get feedback on possible solutions for creating testable classes / interfaces.

In a normal non-embedded C ++ development, references / pointers and forward declarations can be used to obtain a dynamic polymorphism (see "Solution with References" below).

With the embedded restrictions, no dynamic memory, no virtual calls, no delete, No free etc. It seems that the only solution for achieving polymorphism is to use templates (see "Template Solution" below). This solution seems to be a good one, except that the code now always has to be in the header files and this can later lead to a slower compile time.

I wonder what other solutions are available that allow testable classes / interfaces:

  • When I'm on real hardware, I use the real driver implementation
  • In testing, I use the mock driver classes
  • I can easily switch between the real and the fake interface (Dependency Injection approach).

Solution with references

// Driver.h
class Driver {
public:
  virtual void doHardwareCall() = 0;
};

// DriverUser.h
class Driver;
class DriverUser {
  Driver &driver;

public:
  DriverUser(Driver &driver);

  void foo();
};

// DriverUser.cpp
DriverUser::DriverUser(Driver &driver) : driver(driver) {}
void DriverUser::foo() {
  driver.doHardwareCall();
}

// Test file
#include "DriverUser.h"

class MockDriver : public Driver {
  void doHardwareCall() override {
    std::cout << "MockDriver::doHardwareCall()" << std::endl;
  }
};

TEST(DriverUser, usingMockDriver) {
  MockDriver mockDriver;
  DriverUser driverUser(mockDriver);

  driverUser.foo(); // => outputs "MockDriver::doHardwareCall()"
}

Solution with templates

// Driver.h
class Driver {
public:
  void doHardwareCall();
};

// DriverUser.h
class Driver;

template 
class DriverUser {
  T &driver;
public:
  DriverUser(T &driver) : driver(driver) {}
  void foo() {
    driver.doHardwareCall();
  }
};

// Test file
#include "DriverUser.h"

class MockDriver : public Driver {
public:
  void doHardwareCall() {
    std::cout << "MockDriver::doHardwareCall()" << std::endl;
  }
};

TEST(DriverUser, usingMockDriver) {
  MockDriver mockDriver;
  DriverUser driverUser(mockDriver);

  driverUser.foo();
};

Business Software

Discussion in & # 39; Starting a Business & # 39 ;, launched by NordVPN Teams, August 22, 2019 at 7:32,


  1. NordVPN teams


    NordVPN teams




    uix_expand



    uix_collapse

    New member


    joined:
    today
    Messages:
    8th
    Likes received:
    0

    Which business software do you use?

    # 1


    NordVPN Teams Formerly
    August 22, 2019 at 7:32

Share this page

Computer Architecture – Software Management of TLB Errors?

I read a textbook for operating systems and it was about TLB errors that are handled by software. Incidentally, I am very new to all this. So there is a context switch to a kernel procedure. But surely in this case the TLB is not deleted, and the kernel code does not use the TLB itself, as this would nullify the purpose? But how exactly does it work? I do not know why the text does not deal with such an obvious question.

Also, you still use virtual memory, right? So you would do two context switches, a set of page table lookups in memory in addition to the actual kernel statements per missing TLB entry. It just does not seem intuitive to do all this work to use something that will save you work. I'm sorry if I'm doing something completely wrong here. Thank you in advance.

Get software information

My Samsung J7 Prime Phone has received an update from July 2019. I would like to know the previous firmware release (February era) to install this earlier version, or if there is a way to return to the previous update.

Note: Both have the same version of Android 8.1.0.

Design – Pure components in the software architecture

Are there any "abstract functions" in functional programming that have no side effects, equivalent abstractions in software architecture / system design?

One of my key considerations during the design phase of systems is to isolate side effects (such as calling external services) on a part of the system and keep the rest of the system clean (for example, AWS lambda components that only transform events) ). This helps me to decouple components better and to isolate and selectively eliminate possible bottlenecks (eg components based on external systems).

Right now, based on pure intuition, I want to see if there are already discussions / theories about this type of design.

Note: I understand that this is a bit vague. I can try to provide a better context and comment on my question. Many thanks

freenas – offline deduplication software for ZFS

I have a 300 TB Freenas server to back up multiple Linux nodes. Backup works with daily snapshot and rsync tasks.

The user often moves large amounts of data (2 to 5 TB) between servers. As a result, large files are often backed up multiple times on multiple servers.

Online deduplication would be too expensive (1.5TB of RAM …). Is there an offline deduplication software?

I mean, the files have the same name and often the same access times – fdupes would see them as identical with minimal effort …