Screen Brightness not Changing on XPS 7590

After installing Ubuntu 18.04 LTS a new XPS 7590 laptop with OLED display, the brightness is stuck at the highest point (the fn + f11 or f12 commands show that the brightness is being changed, but no brightness change occurs). I have tried many suggestions from the web but all failed; e.g., changing the acpi_backlight parameter values in /etc/default/grub, creating a xbacklightmon file, or installing brightness controller. Is there any way that the brightness could be changed?

How to handle multiple changing ID’s for a single person

I have a company with a single party table containing Member ID(the primary key), Subscriber ID, Member Sequence ID, Legacy ID, and a myriad of other identifiers from random source systems. Because they all live in a single table, it’s not possible to capture the full scope of a person as they could have multiple unique ID’s in this table (they can be assigned a new member ID for various reasons).

They can get also get changes to their subscriber ID (or any other ID) as well, with no other changes. I’ve tried to figure out the best way to track a person, but am a bit lost.

I’ve created a new table, DIM_PERSON that contains some attributes. I’ve linked this to DIM_MEMBER via FK so a record in DIM_MEMBER can be

ID   Person_dim_id  Member_dim_id 1    123            100 2    123            200 

Which will allow you to have a one-many membership ID’s to a single person. However they can change subscriber ID’s without changing member_id or person_ID so i’m wondering if I need to follow the same logic and build a new DIM_SUBSCRIBER table with foreign key for the two previously mentioned tables.

Would this also be the same for all other ID’s and each would need a separate dimension table?

The idea is to pull a single person ID and ideally see a history of all data tied to various ID’s within the fact tables.

Changing File Header using wxHexEditor

I am trying to copy the image header for example a bmp file’s header using wxHexEditor. I load the file and then select the first 54 bytes and then click edit–> copy, it works. But when I upload another file and then select the first 54 bytes of the file, and try to paste the earlier copied first 54 bytes, I can’t see the paste option enabled in the wxHexEditor. I tried bless but it was crashing.

Can some body please guide me, how to copy and paste the header from one file to another using wxHexEditor? I am using ubuntu 18.04 and running wxHexEditor using ‘sudo’ option. I have also changed the permissions to 664.


Skype loses focus when changing keyboard layout with ALT+SHIFT

This happens only in Skype on Ubuntu 18.04. I have used Skype on other platforms (Ubuntu and others) and this does not happen. I use ALT+SHIFT to switch keyboard layout to another language. When I use Skype on Ubuntu 18.04 and press ALT+SHIFT the language is changed but also the focus is moved to the application menu (as if I had pressed ALT only).

Any help is welcome!

How come changing the speed of an animation isnt making the animation speed up?

I made an animation of a bow string being pulled and another animation of the string being released but my issue is that I need the string to snap back quickly. I changed the speed of the release animation which is what makes the string go back to being straight (as if you had just released it). However, changing the speed isn’t making the animation happen any faster… Any ideas why this might be happening?

Just to show u I'm not an idiot and I'm changing the speed in the right spot

Changing URL from /%postname%/%post_id to /%category%/%postname%/%post_id%

I want to add categories to my URL structure. I’m sure this has been covered and I found many resources online to create the redirect code in .htaccess, but when I enter the code it doesn’t work. Running an Apache server.

Essentially, I want to go from

to example/posts-category/this-is-a-post/1111

I added the following to my .htaccess:

RedirectMatch 301 ^/([^/]+)/(\d+)/$$ 1

But I still get 404s when accessing links from outside sources (Google, Reddit etc)

MySQL 5.6 row format changes when changing storage engine from MyISAM to InnoDB

I am testing an upgrade of all existing MySQL 5.6 tables from MyISAM to InnoDB. I converted all row formats to ‘dynamic’ first for all the tables to be on Barracuda then running “alter table engine = InnoDB” for 16 tables. 12 of the 16 tables changed file formats as well without an alter table command. I am at a loss to understand this. I think this may be related to the .frm files, but I’m not sure how. I’ve checked environment variables:

innodb_file_format is showing Barracuda

innodb_file_format_check is ON

A couple of the tables: Articletranslations is showing as compressed, pubmedabstractauthors and pubmedtranslated are showing as compact. The create table statements from tables that I had changed to dynamic file format before changing the storage engine to InnoDB.

Table: articletranslations

Create Table: CREATE TABLE `articletranslations` (   `TranslationID` int(11) NOT NULL AUTO_INCREMENT,   `ArticleID` int(11) NOT NULL,   `language` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,   `TextContent` longtext COLLATE utf8_unicode_ci,   `Name` text COLLATE utf8_unicode_ci,   `Tags` varchar(1000) COLLATE utf8_unicode_ci DEFAULT NULL,   `Detail_Abstract` longtext COLLATE utf8_unicode_ci,   `Disclosures` varchar(2000) COLLATE utf8_unicode_ci DEFAULT NULL,   `Discussion` longtext COLLATE utf8_unicode_ci,   `Acknowledgements` longtext COLLATE utf8_unicode_ci,   `D` longtext COLLATE utf8_unicode_ci,   `Materials` text COLLATE utf8_unicode_ci,   `HTMLTopContent` text COLLATE utf8_unicode_ci,   `Rep_Results` longtext COLLATE utf8_unicode_ci,   `Introduction` text COLLATE utf8_unicode_ci,   `IsMachine` tinyint(1) NOT NULL DEFAULT '1',   `DateTranslated` datetime DEFAULT CURRENT_TIMESTAMP,   PRIMARY KEY (`TranslationID`),   KEY `ArticleTranslations_Language_ArticleID` (`language`,`ArticleID`),   KEY `ArticleTranslations_ArticleID` (`ArticleID`) ) ENGINE=InnoDB AUTO_INCREMENT=177437 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=COMPRESSED 

Table: pubmedabstractauthors

Create Table: CREATE TABLE `pubmedabstractauthors` (   `AuthorID` int(11) NOT NULL AUTO_INCREMENT,   `ForeName` varchar(255) NOT NULL,   `LastName` varchar(255) NOT NULL,   `Initials` varchar(255) NOT NULL,   PRIMARY KEY (`AuthorID`),   KEY `names` (`ForeName`,`LastName`,`Initials`) ) ENGINE=InnoDB AUTO_INCREMENT=712515 DEFAULT CHARSET=latin1 

Table: pubmedtranslated

Create Table: CREATE TABLE `pubmedtranslated` (   `PMID` int(11) NOT NULL,   `ArticleTitle` text COLLATE utf8_unicode_ci NOT NULL,   `ArticleAbstract` text COLLATE utf8_unicode_ci NOT NULL,   `LanguageID` smallint(6) NOT NULL,   PRIMARY KEY (`PMID`,`LanguageID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci 

SPFX property pane changing on page refresh

I have added few controls to property pane, I have few labels which get updated on button click as shown in below image.

enter image description here

But once the page is refreshed, the label values are lost as I am using an array to update these fields which gets empty on page refresh.


PropertyPaneLabel('linkLabel1', {  text: array[0] }) 

Other fields values exists after page refresh also but label values are lost. So what is the right way of doing this?

How to deal with a DM changing my backstory and dismissing my ideas?

The buildup

I am playing a campaign with a few friends and we are all kinda new including the DM, though he does have a little more experience than the players. The other day the DM asked everyone for their character’s backstory, offering to help people come up with more details if they wanted to but otherwise leaving it up to the player.

The character I am playing is an anime trope I thought would be fun to play in a D&D game, everyone agreed it’d be fun and that these aren’t often played if ever. (according to our extensive research as internet duellers)

As I struggle to have time between work to properly write my character’s backstory and send it, the DM and I kept texting back and forth and he would offer up scenarios he thought would match my character, most of them, stuff I had already thought about and had decided were in my character’s backstory.
At this point I thought we were in the same page.

When I finally get a day off I type everything up. I believe my backstory is original because I haven’t seen it in any anime before. It was great, it made sense with the character, and it had the potential to be both simple or very emotional and heartstring pulling, depending on what the DM decided to do with it.

The problem

5 minutes after I sent the DM my backstory and he sends me a lengthy text telling me how he doesn’t like it and changing pretty much everything, ignoring half of it and letting me know how mediocre he thinks the parts he’s letting stay are. All with a tone of “I don’t like it because don’t think its original”

I don’t know if maybe I didn’t choose the right words to get the message across or if he just made my character’s backstory all on their own and planned to shut my idea down regardless, while still telling me I got to do it myself.
I don’t like this version of my backstory, it changes a lot of my characters core beliefs and I won’t know how to play them anymore.

I don’t know what to do as both of us are creative minds and are attached to our ideas. I don’t want the DM to give me a backstory I don’t like, but the with character like this, I won’t have fun. I also don’t necessarily wanna tell him how to do his job.

My question

What should I do?