React, css not loading but importing correctly?

I have recently started making an app using electron-react-boilerplate, but for some reason when i import my css from any ohter files than the main App.tsx they get imported but not loaded, here is my App.tsx

import React from 'react';
import { BrowserRouter as Router, Switch, Route } from 'react-router-dom';
import Journal from './Journal';
import './';

const Main = () => {
  return (
      <Journal />

export default function App() {
  return (
        <Route path="/" component={Main} />

Here is my Journal.tsx

import React from 'react';
import j_background from './res/j_background.svg';
import './css/Journal.css';

function Journal() {
  return (
      <div id="j_background">
        <img id="background_img" src={j_background} alt="Journal background." />

export default Journal;

Everything that is in ./css/Journal.css does not get applied but the app is compiled correctly?

import – Problems with importing .mat data that contains NaNs

I had a .mat data that I wanted to import to Mathematica. I tried using

Import("File path","Data")

But it didn’t work. It just returned de message “Import:Cannot import data as MAT format.”

Afterwords, I discovered that it wasn’t working because the file contained NaNs (I removed the NaNs form the original file and tried to import it and it worked).

I wanted to know why Mathematica couldn’t just import it normally and how to import this kind of data (.mat with NaNs) without having to change the actual file.

Problem importing Blender materials into Unity via FBX

I’ve created a simply low poly house in Blender (2.92) that I have imported into Unity as an FBX. Materials (simple colours) are all set up in Blender.

Initially this was all working fine. Colours all came across correctly (bit dark, but they always seem to do that), but now all of a sudden I am finding that in some cases the material for object A is applied to object B and the material for B applied to A, and so on. Most are fine, but not all (eg the window frames – meant to be white, are coming out dark wood, and the sills – meant to be dark wood, are coming out white.

The only thing that appears to have changed between working OK, and not working, is that I started to apply different colours to different faces of the walls for different rooms. However, the walls themselves are fine, all the right colours in the right places, it is just some other bits as above – and those bits were previously OK.

I’ve read there are issues in importing complex textures from Blender, but these are nothing complicated, just plain colours. Everything looks fine in Blender. What I do before creating the FBX is join most of the objects together in Blender with CTRL-J to minimise the number of objects going across, but again, this was all fine up to now.

I’d be grateful for any suggestions. I don’t really want to have to reapply all material in Unity if I can avoid it.

import – Some problems importing *.hdf5 files in MA12.2

I’m attempting to Import datasets from a *.hdf5 file into Mathematica 12.2 in Win 7.

After looking at the syntax in the Wolfram Documentation Center and displaying the StructureGraph, I had no problem importing some of the datasets, from various levels, using Import(“file.hdf5”,elem)

However, the one dataset I’m really interested with, just gives me $Failed, with no additional explanations. Suggestions?

I can look at the data in this dataset using an app called HDFView. It looks fine, a spreadsheet similar to those in the datasets that were imported.

using Import(file, {{“Dimensions”, “DataFormat”}}), I do notice one thing that is perhaps a problem? The format of one column is “bitfield”. Using HDFView, this column includes values of either 01 or 00. Is this the problem and can it be solved?

Two of the other datasets in this files I also can’t import, but at least I get a warning message:

LibraryFunction::fpexc: Numeric data containing a floating point exception (NaN or Inf) encountered.

When looking at these datasets with HDFView, they indeed contain some NaN values. Is there a way to import them?

How to normalize different date formats when importing in google sheets

The problem I’m solving is mentioned here in detail. Another glitch is that the spreadsheet I’m reading from has random changes to the date format like so:

10/3/2021   11/3/2021   12/3/2021   13-03-2021  14-03-2021

When I import these dates into another sheet, how can I do it so that the dates are normalized (ie are imported in the same format)?

enter image description here

B/c what’s happening is that when I’m extracting these dates and I run a chart on them, the chart only reads the first format and ignores the rest:

enter image description here

Spreadsheet details

I get the spreadsheet by email as an .xlxs file. I open it and save it as a google spreadsheet, which has locale as the United States.

I made a copy of the spreadsheet here.

What I tried

I simply tried applying a date format of DD/MM/YYYY on the cells with the different date format but that’s not working. What’s weird is that in the sheet I’m importing from, it’s giving me a different date format than what appears:

enter image description here

Right now all I’m doing is manually changing dates from the DD-MM-YYYY format to DD/MM/YYYY Format.

I also tried converting the dates using this formula


but it worked with some cells not others

enter image description here

Getting a warning-message after importing a module Sharepointpnpowershelloline in Powershell

I have put a module at the location: documentsWindowsPowershellModules. And when i execute the command:
Import-Module -Name sharepointpnppowershellonline I get the error-message:

“WARNING: The names of some imported commands from the module ‘SharePointPnPPowerShellOnline’ include unapproved verbs that might make them less discoverable. To find the commands with unappro
ved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb”

I think the module does not get imported. Because when i run my code i get al lot of error-messages.
What can i do to solve this?



Importing accessibility options in recent versions of ubuntu

I’m new to this forum, but without further redo, here’s the question:
Being blind, I have to use a screen reader, in this case, Orca.
Now, everything works wonderfully untill I try to open an electron app, or a QT app.
In Fedora, and Arch Linux, I found out that if you place some lines in the .bash_profile and xinetrc files respectively, accessibility will be enabled.
In Ubuntu, though, when I put those lines, nothing happens.
I’ll paste the lines below:

export GTK_MODULES=gail:atk-bridge

Does anyone know how this could be fixed in recent versions of Ubuntu, like 20.04 and 20.10?
Thing is, without these options, things like Chrome become totally non usable, although they are.
Thanks for any answer.

postgresql – Postgres : Out of memory error while importing a .sql file

I have taken a dump of postgres database from server, let’s say abc.sql whose total size is 56 GB. I created a local database in postgres, let’s say import_here where I have to import the abc.sql.
I am using the following command to import:

sudo -u postgres psql import_here < abc.sql

I get the following error:

enter image description here

I have tried the solutions from the following link but nothing worked for me:,writing%20to%20temporary%20disk%20files

I am using ubuntu 20.04.
I am also sharing disk space status for your reference:
enter image description here