azure ad – Access Denied error After migrate on-prem Local AD SP Database to Sharepoint Farm joined to AzureAD DS

I have migrated Sharepoint 2013 Farm which is joined to Local AD DS to Sharepoint 2016 Farm joined to AzureAD DS.

Client wants to take full use of AzureAD DS and want to migrate sharepoint farm to Azure VMs connected to AzureAD DS.

I created a Sharepoint 2016 farm. created normal webapp/Site collection and is able to access as expected.

When I attach sharepoint 2013 DB after upgrade it gives access denied to those upgrade web app.
Do I need to do any changes to existing usernames as they has been now talking to AzureAD DS instead of Local AD.

9 – Please help me understand “Class not found” error

I’ve set up a very basic Drupal 9 website to educate myself about how to program modules for this version of Drupal.

I am trying to do create a module named “Hello World” that implements a very simple service that basically has a method to return “Hello World”.

I’ve registered this service as follows in hello_world.services.yml:

services:
  hello_world.salutation:
    class: Drupalhello_worldHelloWorldSalutation

The service itself lives in a a file named HelloWorldSalutation.php in the src/ subdirectory of the project. It looks like this:

namespace Drupalhello_world;
class HelloWorldSalutation {
  public function getSalutation() {
    return 'Hello world';
  }
}

I am trying to use this service in hello_world.module by means of the following line

$service = Drupal::service('hello_world.salutation');

After a cache rebuild, this results in:

Error: Class 'Drupalhello_worldHelloWorldSalutation' not found in DrupalComponentDependencyInjectionContainer->createService() (line 257 of core/lib/Drupal/Component/DependencyInjection/Container.php).

I am unable to grasp what the problem is. The system is clearly looking up the service name (“hello_world.salutation“), and translates this into the class “HelloWorldSalutation” in the “Drupalhello_world” namespace, which I believe exists. But then the error message says that this class does not exist.

It is probably something obvious I’ve overlooked, but I’ve spent the best part of the day on this, and I am not able to figure it out. Please help.

google – type ‘Color’ is not a subtype of type ‘MaterialColor’ error in Flutter?

══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following _TypeError was thrown building Builder:
type ‘Color’ is not a subtype of type ‘MaterialColor’

The relevant error-causing widget was:
MaterialApp file:///D:/FlutterExercise/FlutterExercise/07/spanishaudioplayer/lib/main.dart:9:12

When the exception was thrown, this was the stack:
#0 new _HomePageState (package:spanishaudioplayer/HomePage.dart:22:35)
#1 HomePage.createState (package:spanishaudioplayer/HomePage.dart:7:35)
#2 new StatefulElement (package:flutter/src/widgets/framework.dart:4584:24)
#3 StatefulWidget.createElement (package:flutter/src/widgets/framework.dart:916:38)
… Normal element mounting (166 frames)
#169 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3541:14)
#170 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6094:32)
… Normal element mounting (300 frames)
#470 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3541:14)
#471 Element.updateChild (package:flutter/src/widgets/framework.dart:3306:18)
#472 RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:1182:16)
#473 RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:1153:5)
#474 RenderObjectToWidgetAdapter.attachToRenderTree. (package:flutter/src/widgets/binding.dart:1095:18)
#475 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2647:19)
#476 RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:1094:13)
#477 WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:934:7)
#478 WidgetsBinding.scheduleAttachRootWidget. (package:flutter/src/widgets/binding.dart:915:7)
(elided 11 frames from class _RawReceivePortImpl, class _Timer, dart:async, and dart:async-patch)

════════════════════════════════════════════════════════════════════════════════════════════════════
W/InputMethodManager(14486): startInputReason = 8
W/IInputConnectionWrapper(14486): getExtractedText on inactive InputConnection
W/IInputConnectionWrapper(14486): getTextBeforeCursor on inactive InputConnection
V/ActivityThread(14486): Finishing stop of ActivityRecord{801579c token=android.os.BinderProxy@63e470c {com.example.spanishaudioplayer/com.example.spanishaudioplayer.MainActivity}}
W/libEGL (14486): EGLNativeWindowType 0x76efee7010 disconnect failed
W/libEGL (14486): EGLNativeWindowType 0x7713667010 disconnect failed
V/ActivityThread(14486): Handle window ActivityRecord{801579c token=android.os.BinderProxy@63e470c {com.example.spanishaudioplayer/com.example.spanishaudioplayer.MainActivity}} visibility: false

/////////////////////////////////////////////////////////////////////////////////////////////////////
//main.dart

import 'package:flutter/material.dart';
import 'HomePage.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Spanish Audio Numbers',
      theme: ThemeData(
        primarySwatch: Colors.teal,
      ),
      home: HomePage(),
    );
  }
}

/////////////////////////////////////////////////////////////////////////////////////////////////////
//HomePage.dart

import 'package:flutter/material.dart';
import 'package:audioplayers/audio_cache.dart';
import 'NumberAudio.dart';

class HomePage extends StatefulWidget {
  @override
  _HomePageState createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {
  AudioCache audioPlayer = AudioCache();
  List<NumberAudio> audioList = (
    NumberAudio("one.wav", Colors.red, "one"),
    NumberAudio("two.wav", Colors.blue, "two"),
    NumberAudio("three.wav", Colors.pink, "three"),
    NumberAudio("four.wav", Colors.orange, "four"),
    NumberAudio("five.wav", Colors.purple, "five"),
    NumberAudio("six.wav", Colors.cyan, "six"),
    NumberAudio("seven.wav", Colors.green, "seven"),
    NumberAudio("eight.wav", Colors.grey, "eight"),
    NumberAudio("nine.wav", Colors.yellow, "nine"),
    NumberAudio("ten.wav", Colors.black, "ten"),
  );
  play(String audioFile) async {
    audioPlayer.play(audioFile);
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(
          'Spanish Numbers',
          style: TextStyle(
            color: Colors.white,
            fontSize: 24.0,
            fontWeight: FontWeight.bold,
          ),
        ),
        //backgroundColor: Colors.teal,
      ),
      body: Center(
        child: Column(
          children: (
            Image(
              image: AssetImage("images/logo.png"),
            ),
            Expanded(
              child: GridView.builder(
                padding: EdgeInsets.all(10.0),
                gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
                  childAspectRatio: 1.0,
                  crossAxisCount: 2,
                  crossAxisSpacing: 5.0,
                  mainAxisSpacing: 5.0,
                ),
                itemCount: audioList.length,
                itemBuilder: (context, index) => SizedBox(
                  height: 50.0,
                  width: 100.0,
                  child: RaisedButton(
                    child: Text(
                      audioList(index).buttonTitle,
                      style: TextStyle(
                        color: Colors.white,
                        fontSize: 24.0,
                        fontWeight: FontWeight.bold,
                      ),
                    ),
                    color: audioList(index).buttonColor,
                    onPressed: () {
                      play(audioList(index).audioFile);
                    },
                  ),
                ),
              ),
            ),
          ),
        ),
      ),
    );
  }
}

/////////////////////////////////////////////////////////////////////////////////////////////////////
//NumberAudio.dart

import 'package:flutter/material.dart';

class NumberAudio {
  String audioFile;
  MaterialColor buttonColor;
  String buttonTitle;
  NumberAudio(String audioFile, MaterialColor buttonColor, String buttonTitle) {
    this.audioFile = audioFile;
    this.buttonColor = buttonColor;
    this.buttonTitle = buttonTitle;
  }
}

/////////////////////////////////////////////////////////////////////////////////////////////////////

audio files are in the assets folder and the logo is in images folder.

magento2.3 – Sorry, something went wrong. You can find out more in the error log

magento2.3 – Sorry, something went wrong. You can find out more in the error log – Magento Stack Exchange

ESXi esxcli Error: Unknown command or namespace vm process kill –t=soft –w=67909

I’m running ESXi 6.5 embedded host client. When i ssh into the system I can run esxcli vm process list and get the expected output:

testserver1
   World ID: 67909
   Process ID: 0
   VMX Cartel ID: 67908
   UUID: someuuid
   Display Name: testserver1
   Config File: /vmfs/volumes/somelocation/testserver1/testserver1.vmx

But if i run esxcli vm process kill –t=soft –w=67909 I get the error Error: Unknown command or namespace vm process kill –t=soft –w=67909

To confirm i’m running the correct command, i ran esxcli vm process kill -help and get

Error: Invalid option -h

Usage: esxcli vm process kill (cmd options)

Description: 
  kill                  Used to forcibly kill Virtual Machines that are stuck and not responding to normal stop operations.

Cmd options:
  -t|--type=<str>       The type of kill operation to attempt. There are three types of VM kills that can be attempted:   (soft, hard, force). Users should always
                        attempt 'soft' kills first, which will give the VMX process a chance to shutdown cleanly (like kill or kill -SIGTERM). If that does not work
                        move to 'hard' kills which will shutdown the process immediately (like kill -9 or kill -SIGKILL). 'force' should be used as a last resort
                        attempt to kill the VM. If all three fail then a reboot is required. (required)
  -w|--world-id=<long>  The World ID of the Virtual Machine to kill. This can be obtained from the 'vm process list' command (required)

Can you see anything i’m doing wrong that might be preventing this command from working?
I realize there’s vim-cmd alternative in docs but i’m trying to figure out why the first option from the docs is responding like it’s not even a valid command.

applescript – My Apple Script Editor code doesn’t work gives “Syntax Error Expected end of line but found identifier.”

The problem is Evernote is not AppleScript scriptable.

When trying to add Evernote to the Library in Script Editor, in order to review its AppleScript dictionary, it errs with: Add Item Unable to add the item because it is not scriptable.

Additionally, when running the following command in Script Editor:

tell application "System Events" to ¬
    get has scripting terminology of application process "Evernote"

Its result is: false

convergence divergence – Calculating Error for Taylor Series (Calculus II)

Problem:

Estimate the error if P3(X) = x – x^3/6 is used to estimate the value of sin(x) at x = 0.5

Can someone explain how I’m getting this wrong? I’m using the formula (M * |x-1|^(n+1)) / (n+1).

So far, what I understand are my variables are M = 1, n = 3, and x = 0.5. (Or at least I think so)

When I plug those in I get 0.0026042, rounded to the 7 decimals place. Any info about where I went wrong would be greatly appreciated!

node.js – Jest throwing error ‘expect(received).toEqual(expected) // deep equality’

I am currently trying to test my Node/Express/SQL RESTful API with Jest and Supertest. Anytime I run my tests, I receive this error in the terminal

expect(received).toEqual(expected) // deep equality
 Object {
        "companies": Array (
          Array (
            Object {
              "code": "apple",
              "description": "Maker of OSX.",
              "name": "Apple",
            },
            Object {
              "code": "ibm",
              "description": "Big blue.",
              "name": "IBM",
            },
          ),
        ),
      }

                   const res = await request(app).get("/companies");
                   expect(res.statusCode).toBe(200)
                   expect(res.body).toEqual({
                        
                   "companies": ( 
                     {code: "apple", name: "Apple", description: "Maker of 
                     {code: "ibm", name: "IBM", description: "Big blue."},

What could be the issue? Here is my test code:

describe("GET /", () => {
    test("Get all companies", async() => {
        const res = await request(app).get("/companies");
        expect(res.statusCode).toBe(200)
        expect(res.body).toEqual({
            "companies": ( 
            {code: "apple", name: "Apple", description: "Maker of OSX."},
            {code: "ibm", name: "IBM", description: "Big blue."},
        ) 
        });
    });
});

rom flashing – Heimdall Error (PIT file)

I a have a PC running Lubuntu 16.04.06. I installed heimdall 1.4.1 in order to flash a custom recovery. It always fails to download the PIT file, part #16 to be specific. I tried multiple devices and it just gives the same error. I also tried JOdin3 before but it wouldn’t run when I execute the binary. Is it possible to fix this error I keep getting in heimdall? or does anyone have a heimdall build that’s working?

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive Proxies-free.com New Proxy Lists Every Day Proxies123