When Centos stops development what will happen to Centos web panel?


Redhat killed centos, apparently there is a general order to stop supporting many community things and to consolidate their work to paid projects only.

Someone at marketing came up with the idea to rename Redhat’s Stream beta product as CentOS Stream, just to pretend like the project is still alive, but that didn’t go far, since most people don’t want to run beta software and they also don’t want to be beta testers for Redhat.

Anyway, once the project was killed, two distros came up as CentOS alternatives, based on the same RHEL code base, these are Alma Linux and Rocky Linux. Alma is supported by the owners of CloudLinux and they offer it for free like CentOS was, with optional commercial support. Alma Linux is by a former CentOS project member.

Alma Linux provides a great conversion script, which you can run on CentOS 8 to migrate automatically to Alma Linux without fuss. I’ve used it on 10+ servers already and it worked without issues. The great thing about Alma, is that updates come faster to us, by several days/weeks than they did with CentOS (Redhat was dragging its feet).

Back to your question, the simple answer is: CWP (CentOS Web Panel) is NOT related to CentOS and they should not be using the CentOS name, I am not sure of the legality issues, but the fact is that they are completely unrelated.

In addition, CWP has horrible security with multiple remote root exploits and its highly advised to NOT use it under any circumstances. In other words, nobody cares on what CWP works or does not work, you shouldn’t be using it

ubuntu – vmware, linux guest, booting stops after virtual disk resize

I’ve got me into trouble when my 20GB Ubuntu 20.04 VM got full and i needed to resize it afterwards. My host system is windows 10.

In a trigger happy moment of absence i used the VMWare Workstation Player GUI to grow the partition to 80GB. I did not move any partitions i just resized the machine.

This is my HDD configuration thereafter:

VM HDD configuration

Afterwards i naively booted the machine and then after some dmesg output it got stuck with a cursor and a black screen.
Before i resized the machine, it booted normally.

enter image description here
cursor_backscreen

However, i can boot into rescue mode, drop into the root shell and assure myself that all the files and the root partition as well as the home directory is still there and accessible. This looks pretty good but still the machine stops booting?
Is there some VMWare hook or hidden file which may not be found anymore?

Do you have any idea what could be the reason that the machine does not boot anymore?

enter image description here
enter image description here
enter image description here

I’ve got me into trouble when my 20GB Ubuntu 20.04 VM got full and i needed to resize it afterwards. My host is windows 10.

In a trigger happy moment of absence i used the VMWare GUI to grow the partition to 80GB. I did not move any partitions i just resized the machine.

This is my HDD configuration thereafter:

VM HDD configuration

Afterwards i naively booted the machine and then after some dmesg output it got stuck with a cursor and a black screen.

enter image description here
cursor_backscreen

However, i can boot into rescue mode, drop into the root shell and assure myself that all the files and the root partition as well as the home directory is still there and accessible. This looks pretty good but still the machine stops booting?
Is there some VMWare hook or hidden file which may not be found anymore?

Do you have any idea what could be the reason that the machine does not boot anymore?

Here is an excerpt from my VMWare Log:

2021-08-11T15:31:29.312+02:00| vmx| I005: Log for VMware Player pid=2264 version=16.1.2 build=build-17966106 option=Release
2021-08-11T15:31:29.312+02:00| vmx| I005: The host is 64-bit.
2021-08-11T15:31:29.312+02:00| vmx| I005: Host codepage=windows-1252 encoding=windows-1252
2021-08-11T15:31:29.312+02:00| vmx| I005: Host is Windows 10 Enterprise, 64-bit (Build 19042.1110)
2021-08-11T15:31:29.296+02:00| vmx| I005: VTHREAD 12268 "vmx"
2021-08-11T15:31:29.312+02:00| vmx| I005: LOCALE windows-1252 -> NULL User=407 System=407
2021-08-11T15:31:29.312+02:00| vmx| I005: Msg_SetLocaleEx: HostLocale=windows-1252 UserLocale=NULL
2021-08-11T15:31:29.312+02:00| vmx| I005: DictionaryLoad: Cannot open file "C:UsersUserAppDataRoamingVMwareconfig.ini": Unknown error 2 (0x2).
2021-08-11T15:31:29.312+02:00| vmx| I005: Msg_Reset:
2021-08-11T15:31:29.312+02:00| vmx| I005: (msg.dictionary.load.openFailed) Cannot open file "C:UsersUserAppDataRoamingVMwareconfig.ini": Unknown error 2 (0x2).
2021-08-11T15:31:29.312+02:00| vmx| I005: ----------------------------------------
2021-08-11T15:31:29.312+02:00| vmx| I005: ConfigDB: Failed to load C:UsersUserAppDataRoamingVMwareconfig.ini
2021-08-11T15:31:29.312+02:00| vmx| I005: Win32U_GetFileAttributes: GetFileAttributesExW("C:UsersUserDocumentsVirtual MachinesUbuntu 64-bitUbuntu 64-bit.vmpl", ...) failed, error: 2
2021-08-11T15:31:29.312+02:00| vmx| I005: OBJLIB-LIB: Objlib initialized.
2021-08-11T15:31:29.312+02:00| vmx| I005: DictionaryLoad: Cannot open file "C:ProgramDataVMwareVMware Playerconfig.ini": Unknown error 2 (0x2).
2021-08-11T15:31:29.312+02:00| vmx| I005: (msg.dictionary.load.openFailed) Cannot open file "C:ProgramDataVMwareVMware Playerconfig.ini": Unknown error 2 (0x2).
2021-08-11T15:31:29.312+02:00| vmx| I005: PREF Optional preferences file not found at C:ProgramDataVMwareVMware Playerconfig.ini. Using default values.
2021-08-11T15:31:29.312+02:00| vmx| I005: DictionaryLoad: Cannot open file "C:ProgramDataVMwareVMware Playersettings.ini": Unknown error 2 (0x2).
2021-08-11T15:31:29.312+02:00| vmx| I005: (msg.dictionary.load.openFailed) Cannot open file "C:ProgramDataVMwareVMware Playersettings.ini": Unknown error 2 (0x2).
2021-08-11T15:31:29.312+02:00| vmx| I005: PREF Optional preferences file not found at C:ProgramDataVMwareVMware Playersettings.ini. Using default values.
2021-08-11T15:31:29.312+02:00| vmx| I005: DictionaryLoad: Cannot open file "C:ProgramDataVMwareVMware Playerconfig.ini": Unknown error 2 (0x2).
2021-08-11T15:31:29.312+02:00| vmx| I005: (msg.dictionary.load.openFailed) Cannot open file "C:ProgramDataVMwareVMware Playerconfig.ini": Unknown error 2 (0x2).
2021-08-11T15:31:29.312+02:00| vmx| I005: PREF Optional preferences file not found at C:ProgramDataVMwareVMware Playerconfig.ini. Using default values.
2021-08-11T15:31:29.312+02:00| vmx| I005: DictionaryLoad: Cannot open file "C:UsersUserAppDataRoamingVMwareconfig.ini": Unknown error 2 (0x2).
2021-08-11T15:31:29.312+02:00| vmx| I005: (msg.dictionary.load.openFailed) Cannot open file "C:UsersUserAppDataRoamingVMwareconfig.ini": Unknown error 2 (0x2).
2021-08-11T15:31:29.312+02:00| vmx| I005: PREF Optional preferences file not found at C:UsersUserAppDataRoamingVMwareconfig.ini. Using default values.
(...)
2021-08-11T15:31:29.359+02:00| vmx| I005: System uptime 112827887115 us
2021-08-11T15:31:29.359+02:00| vmx| I005: Command line: "C:Program Files (x86)VMwareVMware Playerx64vmware-vmx.exe" "-T" "querytoken" "-ssnapshot.numRollingTiers=0" "-sRemoteDisplay.vnc.enabled=FALSE" "-s" "vmx.stdio.keep=TRUE" "-#" "product=4;name=VMware Player;version=16.1.2;buildnumber=17966106;licensename=VMware Player;licenseversion=16.0;" "-@" "pipe=\.pipevmx1646e917cab0f0bb;msgs=ui" "C:UsersUserDocumentsVirtual MachinesUbuntu 64-bitUbuntu 64-bit.vmx"
(...)
2021-08-11T15:31:29.421+02:00| vmx| I005: PTSC: current PTSC=159754
2021-08-11T15:31:29.421+02:00| vmx| I005: WQPoolAllocPoll : pollIx = 3, signalHandle = 904
2021-08-11T15:31:29.452+02:00| vmx| I005: ConfigCheck: No rules file found. Checks are disabled.
2021-08-11T15:31:29.452+02:00| vmx| I005: changing directory to C:UsersUserDocumentsVirtual MachinesUbuntu 64-bit.
2021-08-11T15:31:29.452+02:00| vmx| I005: Config file: C:UsersUserDocumentsVirtual MachinesUbuntu 64-bitUbuntu 64-bit.vmx
2021-08-11T15:31:29.452+02:00| vmx| I005: Vix: (mainDispatch.c:4205): VMAutomation_ReportPowerOpFinished: statevar=1, newAppState=1873, success=1 additionalError=0
(...)
2021-08-11T15:31:29.492+02:00| vmx| I005: DICT installerDefaults.dataCollectionEnabled = "no"
2021-08-11T15:31:29.492+02:00| vmx| I005: DICT installerDefaults.dataCollectionEnabled.epoch = "6795"
2021-08-11T15:31:29.492+02:00| vmx| I005: DICT --- GLOBAL SETTINGS C:ProgramDataVMwareVMware Workstationsettings.ini 
2021-08-11T15:31:29.492+02:00| vmx| I005: DICT          printers.enabled = "FALSE"
2021-08-11T15:31:29.492+02:00| vmx| I005: ToolsISO: open of C:Program Files (x86)VMwareVMware Playerisoimages_manifest.txt.sig failed: Could not find the file
2021-08-11T15:31:29.492+02:00| vmx| I005: ToolsISO: Unable to read signature file 'C:Program Files (x86)VMwareVMware Playerisoimages_manifest.txt.sig', ignoring.
2021-08-11T15:31:29.493+02:00| vmx| I005: ToolsISO: Updated cached value for imageName to 'linux.iso'.
2021-08-11T15:31:29.493+02:00| vmx| I005: ToolsISO: Selected Tools ISO 'linux.iso' for 'ubuntu-64' guest.
2021-08-11T15:31:29.493+02:00| vmx| I005: Vix: (mainDispatch.c:4205): VMAutomation_ReportPowerOpFinished: statevar=1, newAppState=1873, success=1 additionalError=0
(...)
2021-08-11T15:31:29.530+02:00| vmx| I005: LICENSE: Running unlicensed VMX (VMware Player)
2021-08-11T15:31:29.530+02:00| vthread-10304| I005: VTHREAD 10304 "vthread-10304"
2021-08-11T15:31:29.530+02:00| vmx| I005: Win32U_GetFileAttributes: GetFileAttributesExW("C:UsersUserDocumentsVirtual MachinesUbuntu 64-bitUbuntu 64-bit.vmpl", ...) failed, error: 2
2021-08-11T15:31:29.530+02:00| vmx| I005: PolicyVMXFindPolicyKey: policy file does not exist.
2021-08-11T15:31:29.530+02:00| vmx| I005: Win32U_GetFileAttributes: GetFileAttributesExW("C:UsersUserDocumentsVirtual MachinesUbuntu 64-bitUbuntu 64-bit.vmpl", ...) failed, error: 2
2021-08-11T15:31:29.530+02:00| vmx| I005: PolicyVMXFindPolicyKey: policy file does not exist.
2021-08-11T15:31:29.530+02:00| vmx| I005: Host PA size: 39 bits. Guest PA size: 45 bits.
2021-08-11T15:31:29.530+02:00| vmx| I005: ToolsISO: Refreshing imageName for 'ubuntu-64' (refreshCount=1, lastCount=1).
2021-08-11T15:31:29.530+02:00| vmx| I005: ToolsISO: open of C:Program Files (x86)VMwareVMware Playerisoimages_manifest.txt.sig failed: Could not find the file
2021-08-11T15:31:29.530+02:00| vmx| I005: ToolsISO: Unable to read signature file 'C:Program Files (x86)VMwareVMware Playerisoimages_manifest.txt.sig', ignoring.
2021-08-11T15:31:29.530+02:00| vmx| I005: ToolsISO: Updated cached value for imageName to 'linux.iso'.
2021-08-11T15:31:29.530+02:00| vmx| I005: ToolsISO: Selected Tools ISO 'linux.iso' for 'ubuntu-64' guest.
(...)
2021-08-11T15:31:29.561+02:00| vmx| I005: MainMem: CPT PLS=1 PLR=1 BS=1 BlkP=32 Mult=4 W=50
2021-08-11T15:31:29.566+02:00| vmx| I005: MainMem: Opened paging file, 'C:UsersUserDocumentsVirtual MachinesUbuntu 64-bit564d0221-2c76-b85e-454a-ea909a115285.vmem'.
2021-08-11T15:31:29.566+02:00| vmx| I005: MStat: Creating Stat vm.uptime
(...)enderer
2021-08-11T15:31:29.577+02:00| mks| I005: MKS-RenderMain: Starting ISBRenderer
2021-08-11T15:31:29.577+02:00| mks| I005: ISBRendererComm: mksSandbox command-line: C:Program Files (x86)VMwareVMware Playerx64mksSandbox.exe --logFile C:UsersUserDocumentsVirtual MachinesUbuntu 64-bitmksSandbox.log --pipeInfo \.pipevmwaremksSandboxmksSandbox-52 e5 89 94 f5 e4 ef 95-f0 ed 49 e8 f0 f8 89 76
(...)
2021-08-11T15:31:29.679+02:00| vmx| I005: MigrateBusMemPrealloc: BusMem preallocation completes.
2021-08-11T15:31:29.679+02:00| vmx| A000: ConfigDB: Setting scsi0:0.redo = ""
2021-08-11T15:31:29.679+02:00| vmx| I005: DISK: OPEN scsi0:0 'C:UsersUserDocumentsVirtual MachinesUbuntu 64-bitUbuntu 64-bit.vmdk' persistent R()
2021-08-11T15:31:29.684+02:00| vmx| I005: DISKLIB-DSCPTR: Opened (0): "Ubuntu 64-bit-s001.vmdk" (0xa)
2021-08-11T15:31:29.685+02:00| vmx| I005: DISKLIB-DSCPTR: Opened (1): "Ubuntu 64-bit-s002.vmdk" (0xa)
2021-08-11T15:31:29.685+02:00| vmx| I005: DISKLIB-DSCPTR: Opened (2): "Ubuntu 64-bit-s003.vmdk" (0xa)
2021-08-11T15:31:29.686+02:00| vmx| I005: DISKLIB-DSCPTR: Opened (3): "Ubuntu 64-bit-s004.vmdk" (0xa)
2021-08-11T15:31:29.687+02:00| vmx| I005: DISKLIB-DSCPTR: Opened (4): "Ubuntu 64-bit-s005.vmdk" (0xa)
2021-08-11T15:31:29.688+02:00| vmx| I005: DISKLIB-DSCPTR: Opened (5): "Ubuntu 64-bit-s006.vmdk" (0xa)
2021-08-11T15:31:29.689+02:00| vmx| I005: DISKLIB-DSCPTR: Opened (6): "Ubuntu 64-bit-s007.vmdk" (0xa)
2021-08-11T15:31:29.690+02:00| vmx| I005: DISKLIB-DSCPTR: Opened (7): "Ubuntu 64-bit-s008.vmdk" (0xa)
2021-08-11T15:31:29.691+02:00| vmx| I005: DISKLIB-DSCPTR: Opened (8): "Ubuntu 64-bit-s009.vmdk" (0xa)
2021-08-11T15:31:29.692+02:00| vmx| I005: DISKLIB-DSCPTR: Opened (9): "Ubuntu 64-bit-s010.vmdk" (0xa)
2021-08-11T15:31:29.692+02:00| vmx| I005: DISKLIB-DSCPTR: Opened (10): "Ubuntu 64-bit-s011.vmdk" (0xa)
2021-08-11T15:31:29.693+02:00| vmx| I005: DISKLIB-DSCPTR: Opened (11): "Ubuntu 64-bit-s012.vmdk" (0xa)
2021-08-11T15:31:29.694+02:00| vmx| I005: DISKLIB-DSCPTR: Opened (12): "Ubuntu 64-bit-s013.vmdk" (0xa)
2021-08-11T15:31:29.695+02:00| vmx| I005: DISKLIB-DSCPTR: Opened (13): "Ubuntu 64-bit-s014.vmdk" (0xa)
2021-08-11T15:31:29.695+02:00| vmx| I005: DISKLIB-DSCPTR: Opened (14): "Ubuntu 64-bit-s015.vmdk" (0xa)
2021-08-11T15:31:29.696+02:00| vmx| I005: DISKLIB-DSCPTR: Opened (15): "Ubuntu 64-bit-s016.vmdk" (0xa)
2021-08-11T15:31:29.697+02:00| vmx| I005: DISKLIB-DSCPTR: Opened (16): "Ubuntu 64-bit-s017.vmdk" (0xa)
2021-08-11T15:31:29.697+02:00| vmx| I005: DISKLIB-DSCPTR: Opened (17): "Ubuntu 64-bit-s018.vmdk" (0xa)
2021-08-11T15:31:29.698+02:00| vmx| I005: DISKLIB-DSCPTR: Opened (18): "Ubuntu 64-bit-s019.vmdk" (0xa)
2021-08-11T15:31:29.699+02:00| vmx| I005: DISKLIB-DSCPTR: Opened (19): "Ubuntu 64-bit-s020.vmdk" (0xa)
2021-08-11T15:31:29.700+02:00| vmx| I005: DISKLIB-DSCPTR: Opened (20): "Ubuntu 64-bit-s021.vmdk" (0xa)
2021-08-11T15:31:29.701+02:00| vmx| I005: DISKLIB-DSCPTR: Opened (21): "Ubuntu 64-bit-s022.vmdk" (0xa)
2021-08-11T15:31:29.701+02:00| vmx| I005: DISKLIB-LINK  : Opened 'C:UsersUserDocumentsVirtual MachinesUbuntu 64-bitUbuntu 64-bit.vmdk' (0xa): twoGbMaxExtentSparse, 167772160 sectors / 80 GB.
2021-08-11T15:31:29.701+02:00| vmx| I005: DISKLIB-LIB   : Opened "C:UsersUserDocumentsVirtual MachinesUbuntu 64-bitUbuntu 64-bit.vmdk" (flags 0xa, type twoGbMaxExtentSparse).
2021-08-11T15:31:29.701+02:00| vmx| I005: DISKLIB-LIB_MISC   : DiskLib_GetStorageBlockSizes: Failed to get storage block sizes, The virtual disk requires a feature not supported by this program.
2021-08-11T15:31:29.701+02:00| vmx| I005: DiskGetGeometry: Reading of disk partition table
2021-08-11T15:31:29.701+02:00| vmx| I005: DISK: Disk 'C:UsersUserDocumentsVirtual MachinesUbuntu 64-bitUbuntu 64-bit.vmdk' has UUID '60 00 c2 9f 20 43 85 bc-23 c8 33 ad eb 08 60 4f'
2021-08-11T15:31:29.701+02:00| vmx| I005: DISK: OPEN 'C:UsersUserDocumentsVirtual MachinesUbuntu 64-bitUbuntu 64-bit.vmdk' Geo (10443/255/63) BIOS Geo (328965/255/2)
2021-08-11T15:31:29.705+02:00| vmx| I005: DISKUTILWIN32: DiskUtilW32IsATASSDDevice: Failed to send ATA IDENTIFY command to the target device.
2021-08-11T15:31:29.705+02:00| vmx| I005: DISKUTILWIN32: DiskUtilW32IsScsiSSDDevice: Reported rotation rate = 1
2021-08-11T15:31:29.707+02:00| vmx| I005: DISKUTILWIN32: DiskUtilW32IsATASSDDevice: Failed to send ATA IDENTIFY command to the target device.
2021-08-11T15:31:29.707+02:00| vmx| I005: DISKUTILWIN32: DiskUtilW32IsScsiSSDDevice: Reported rotation rate = 1
(...)
2021-08-11T15:31:29.779+02:00| vmx| I005: USB: Initializing 'Virtual Video' backend
2021-08-11T15:31:29.806+02:00| vmx| I005: USBGW: Skipping disk backing for file (C:UsersUserDocumentsVirtual MachinesUbuntu 64-bitUbuntu 64-bit.vmx).
2021-08-11T15:31:29.809+02:00| vmx| I005: USBGW: Skipping disk backing for file (C:UsersUserDocumentsVirtual MachinesUbuntu 64-bitUbuntu 64-bit.vmdk).
2021-08-11T15:31:29.811+02:00| vmx| I005: USBGW: Skipping disk backing for file (C:UsersUserDocumentsVirtual MachinesUbuntu 64-bitUbuntu 64-bit.vmsd).
2021-08-11T15:31:29.814+02:00| vmx| I005: USBGW: Skipping disk backing for file (C:UsersUserDocumentsVirtual MachinesUbuntu 64-bitUbuntu 64-bit.nvram).
2021-08-11T15:31:29.841+02:00| usbCCIDEnumCards| I005: USB-CCID: Could not establish context: SCARD_E_NO_SERVICE(0x8010001d).
2021-08-11T15:31:29.841+02:00| vmx| A000: ConfigDB: Setting pciBridge4.pciSlotNumber = "-1"
(...)
2021-08-11T15:31:29.925+02:00| vmx| I005: VMX_PowerOn: ModuleTable_PowerOn = 1
2021-08-11T15:31:29.925+02:00| vmx| A000: ConfigDB: Setting cleanShutdown = "FALSE"
2021-08-11T15:31:29.925+02:00| vmx| A000: ConfigDB: Setting softPowerOff = "FALSE"
2021-08-11T15:31:29.928+02:00| vcpu-0| I005: VTHREAD 680 "vcpu-0"
2021-08-11T15:31:29.928+02:00| vcpu-0| I005: ULM_InitVCPU: 0 0x0
2021-08-11T15:31:29.928+02:00| vcpu-0| I005: CPU reset: hard (mode Interp)
2021-08-11T15:31:29.929+02:00| vmx| I005: ToolsISO: Refreshing imageName for 'ubuntu-64' (refreshCount=1, lastCount=1).
2021-08-11T15:31:29.929+02:00| vmx| I005: ToolsISO: open of C:Program Files (x86)VMwareVMware Playerisoimages_manifest.txt.sig failed: Could not find the file
2021-08-11T15:31:29.929+02:00| vmx| I005: ToolsISO: Unable to read signature file 'C:Program Files (x86)VMwareVMware Playerisoimages_manifest.txt.sig', ignoring.
2021-08-11T15:31:29.929+02:00| vcpu-1| I005: VTHREAD 5972 "vcpu-1"
2021-08-11T15:31:29.929+02:00| vcpu-1| I005: ULM_InitVCPU: 1 0x0
2021-08-11T15:31:29.929+02:00| vcpu-1| I005: CPU reset: hard (mode Interp)
2021-08-11T15:31:29.930+02:00| vcpu-2| I005: VTHREAD 15324 "vcpu-2"
2021-08-11T15:31:29.930+02:00| vcpu-2| I005: ULM_InitVCPU: 2 0x0
2021-08-11T15:31:29.930+02:00| vcpu-2| I005: CPU reset: hard (mode Interp)
2021-08-11T15:31:29.930+02:00| vcpu-3| I005: VTHREAD 10056 "vcpu-3"
2021-08-11T15:31:29.930+02:00| vcpu-3| I005: ULM_InitVCPU: 3 0x0

enter image description here
enter image description here
enter image description here

webapp rec – Laravel artisan schedule run stops all of the sudden

I have got a cron job running on Apache which worked fine until last week. There was no changes made to server or application.

The cron job compares a date adds 20 days to it and should update the database. Until now the database field got the standard value of „NULL“ and it worked until last week.
Now, I have to change the NULL value to 0 or another date in order to get the schedule working.

Any ideas?

Thanks in advance

GSA stops creating links — 👉 GSA SEO and Marketing Forum 👈

After a few monthes using GSA, when i create and start new campaing i see this picture: “Loaded XX/XX url’s from site lists”
But it doesn’t start creating links.

I use purchased databases of verified links. Perhaps there is something wrong with my settings. 
How can i solve this problem?

USB Ethernet stops working but works when another Windows partition is running

My USB ethernet suddenly stops working. I suspected that it’s an OS problem so I tried to install another Windows and it works again but I don’t want to redo my setup on my main installation to the new one? Where should I start looking for problems?

I’ve already tried to reinstall drivers but no luck. My main OS detects the virtual disk drive that my USB ethernet provides but I am unable to open it. Windows says that the disk is corrupted which I think is not because the USB ethernet is detected even before a connection is established on the second installation.

What stops a bad BIOS lying to the TPM?

I’ve learned that a TPM can supposedly attest to the state of a computer’s BIOS being good. It does this by asking the BIOS to send a hash of its current state.

So what stops a compromised BIOS from sending a precalculated hash of a good state (that it is not in)?

java – Android studio Application Stops responding when image is imported manually from Gallery or Camera app

So my application is an Image to text and text-to-speech app. The idea is to scan text from any source and it is read out to the user. The basic functionality of the app is working, when I click on “Capture Image” on the main screen, it opens the camera, takes a pic, and extracts text. But I also added another function where the user can manually add pictures from his gallery by clicking on the gallery icon.

So the problem is when I select the gallery and choose my own image, it won’t add to the main image view canvas, instead, it crashes the application. There is no error in the code, but it just won’t run.

Here are 20-second clips I have attached on Google Drive to show you the precise problem for a better understanding for you all. I’m very close! APP LOGCAT ERROR MESSAGE IN THE BOTTOM

https://drive.google.com/drive/folders/18oCeFkVEvi1xPv_O4DEI3EZz0TtVyZ36?usp=sharing

Kindly please let me know what the problem is, as Android studio does not give any warnings or errors when the project is run. By crashing I meant, it gives the message “app not responding” error message.

MainActivity.Java

package com.example.textrecognition;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.ActivityCompat;
import androidx.core.content.ContextCompat;

import android.Manifest;
import android.content.ContentValues;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Bundle;
import android.os.PersistableBundle;
import android.provider.MediaStore;
import android.speech.tts.TextToSpeech;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;

import java.lang.Object;
import java.util.Locale;


import com.google.android.gms.tasks.OnFailureListener;
import com.google.android.gms.tasks.OnSuccessListener;
import com.google.android.gms.tasks.Task;
import com.google.firebase.ml.vision.FirebaseVision;
import com.google.firebase.ml.vision.common.FirebaseVisionImage;
import com.google.firebase.ml.vision.text.FirebaseVisionText;
import com.google.firebase.ml.vision.text.FirebaseVisionTextRecognizer;
import com.theartofdev.edmodo.cropper.CropImage;
import com.theartofdev.edmodo.cropper.CropImageView;

public class MainActivity extends AppCompatActivity implements TextToSpeech.OnInitListener {
    ImageView imageView;
    TextView textView;
    private TextToSpeech engine;


    //Action Bar Menu
    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        //Inflate Menu 
        getMenuInflater().inflate(R.menu.menu_main, menu);
        return true;

    }

    //Handle Action Bar clicks
    @Override
    public boolean onOptionsItemSelected(@NonNull MenuItem item) {
        int id = item.getItemId();
        if (id == R.id.addImage) {
            showImageImportDialog();
        }
        if (id == R.id.settings) {
            Toast.makeText(this, "Settings", Toast.LENGTH_SHORT).show();
        }
        return super.onOptionsItemSelected(item);
    }

    private void showImageImportDialog() {
        //Options or Items displayed in dialog once it is clicked

        String() items = {"Camera", "Gallery"};
        AlertDialog.Builder dialog = new AlertDialog.Builder(this);

        //Set TITLE
        dialog.setTitle("Select Image");

        dialog.setItems(items, new DialogInterface.OnClickListener() {

            @Override
            public void onClick(DialogInterface dialog, int which) {
                if (which == 0) {
                    //Camera Option Clicked
                    if (!checkCameraPermission()) {
                        ///Camera permission is not allowed, thats why we request it here
                        requestCameraPermission();
                    } else {
                        //Permission allowed, take picture
                        pickCamera();
                    }
                }

                if (which == 1) {
                    //Gallery Option Clicked
                    if (!checkStoragePermission()) {
                        //Storage Permissions Granted
                        requestStoragePermission();
                    } else {
                        //Permission allowed, take picture
                        pickGallery();
                    }
                }
            }
        });
        dialog.create().show(); //SHOW DIALOG
    }

    private void pickGallery() {
        //Intent to Pick image from gallery
        Intent intent = new Intent(Intent.ACTION_PICK);
        //Set intent type to image
        intent.setType("image/*");
        startActivityForResult(intent, IMAGE_PICK_GALLERY_CODE);

        int GET_FROM_GALLERY = 3;
        startActivityForResult(new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.INTERNAL_CONTENT_URI), GET_FROM_GALLERY);
    }

    private void pickCamera() {
        //Takes Image from Camera and saves it in storage for HIGH QUALITY
        ContentValues values = new ContentValues();
        values.put(MediaStore.Images.Media.TITLE, "NewPic"); //TITLE OF THE PIC

        values.put(MediaStore.Images.Media.DESCRIPTION, "Images to text"); //Description
        image_uri = getContentResolver().insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values);

        Intent cameraIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
        cameraIntent.putExtra(MediaStore.EXTRA_OUTPUT, image_uri);
        startActivityForResult(cameraIntent, IMAGE_PICK_CAMERA_CODE);

    }

    private void requestStoragePermission() {
        ActivityCompat.requestPermissions(this, storagePermission, STORAGE_REQUEST_CODE);
    }

    private boolean checkStoragePermission() {
        boolean result = ContextCompat.checkSelfPermission(this,
                Manifest.permission.WRITE_EXTERNAL_STORAGE) == (PackageManager.PERMISSION_GRANTED);
        return result;
    }

    private void requestCameraPermission() {
        ActivityCompat.requestPermissions(this, cameraPermission, CAMERA_REQUEST_CODE);
    }

    private boolean checkCameraPermission() {

        boolean result = ContextCompat.checkSelfPermission(this,
                Manifest.permission.CAMERA) == (PackageManager.PERMISSION_GRANTED);

        boolean result1 = ContextCompat.checkSelfPermission(this,
                Manifest.permission.WRITE_EXTERNAL_STORAGE) == (PackageManager.PERMISSION_GRANTED);
        return result && result1;

    }
    //Also add gallery permission.


    EditText mResultEt;
    ImageView mPreviewIv;

    ///******So why are these specific codes used bro*******RESEARCH******
    private static final int CAMERA_REQUEST_CODE = 200;
    private static final int STORAGE_REQUEST_CODE = 400;
    private static final int IMAGE_PICK_GALLERY_CODE = 1000;
    private static final int IMAGE_PICK_CAMERA_CODE = 1001;


    String cameraPermission();

    String storagePermission();
    Uri image_uri;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        engine = new TextToSpeech(this, this);

//        mResultEt = findViewById(R.id.textId);
        mPreviewIv = findViewById(R.id.imageId);

        //camera permission
        cameraPermission = new String(){Manifest.permission.CAMERA,
                Manifest.permission.WRITE_EXTERNAL_STORAGE};

        //Storage Permission
        storagePermission = new String(){Manifest.permission.WRITE_EXTERNAL_STORAGE};


        //Find Image view
        imageView = findViewById(R.id.imageId);
        //Find text view
        textView = findViewById(R.id.textId);

        //check app level permission is granted for camera
        if (checkSelfPermission(Manifest.permission.CAMERA) != PackageManager.PERMISSION_GRANTED) {
            //Grants Permission and Prompts User
            requestPermissions(new String(){Manifest.permission.CAMERA}, 101);

        }
    }

    //    TextToSpeech tts;
    public void doProcess(View view) {

        //Open Camera in Phone. Intent object is created to open camera once the capture image button is clicked
        Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);

        //Activity result specifically used to continue using the app post taking pic
        startActivityForResult(intent, 101);

    }

    @Override
    public void onActivityResult(int requestCode, int resultCode, @Nullable Intent data)
    { if(resultCode == RESULT_OK) {
        super.onActivityResult(requestCode, resultCode, data);

//        if(requestCode == IMAGE_PICK_CAMERA_CODE) {
//            //Crops Image
//            CropImage.activity(data.getData()).setGuidelines(CropImageView.Guidelines.ON)
//                    .start(this);
//        }
//        if(requestCode == IMAGE_PICK_GALLERY_CODE) {
//            //Image received from gallery now cropped
//            CropImage.activity(image_uri)
//                    .setGuidelines(CropImageView.Guidelines.ON) //Enabled image guidelines
//                    .start(this);
//        }
//    }
//    if(requestCode == CropImage.CROP_IMAGE_ACTIVITY_REQUEST_CODE) {
//        CropImage.ActivityResult result = CropImage.getActivityResult(data);
    }
//    else if(resultCode == CropImage.CROP_IMAGE_ACTIVITY_RESULT_ERROR_CODE) {
//        Exception error = mResultEt.getError();
//    }
//        mResultEt.setText(getSupportActionBar().toString());





        Bundle bundle = data.getExtras();

        //From bundle extract image
        Bitmap bitmap = (Bitmap) bundle.get("data");

        //Set Image In ImageView
        imageView.setImageBitmap(bitmap);

        //Now we process image to extract text using Google ML Kit//

        //Create a firebase vision object
        FirebaseVisionImage firebaseVisionImage = FirebaseVisionImage.fromBitmap(bitmap);
        //2ndStep Get an Instance of FirebaseVision
        FirebaseVision firebaseVision = FirebaseVision.getInstance();

        //3rd Create an instance of firebasevision text recognizer
        FirebaseVisionTextRecognizer firebaseVisionTextRecognizer = firebaseVision.getOnDeviceTextRecognizer();

        //4Th Step Create a task to process the image
        Task<FirebaseVisionText> task = firebaseVisionTextRecognizer.processImage(firebaseVisionImage);

        //5th Step, if task is successful


        task.addOnSuccessListener(new OnSuccessListener<FirebaseVisionText>() {
            @Override
            public void onSuccess(FirebaseVisionText firebaseVisionText) {
                String s = firebaseVisionText.getText();
                textView.setText(s);

                //Conversion of text to speech
                String rawText = String.valueOf(textView.getText());

                speakText(rawText);
                ;               /* tts = new TextToSpeech(getApplicationContext(), new TextToSpeech.OnInitListener() {
                    @Override
                    public void onInit(int i) {
                        if (i == TextToSpeech.SUCCESS) {
                            //SELECTING LANGUAGE
                            int lang = tts.setLanguage(Locale.ENGLISH);

                        }
                    }
                });*/


            }


        });

        //6th. If task is failed
        task.addOnFailureListener(new OnFailureListener() {
            @Override
            public void onFailure(@NonNull Exception e) {
                Toast.makeText(getApplicationContext(), e.getMessage(), Toast.LENGTH_LONG).show();
            }
        });

    }

    public void speakText(String textContents) {

        //String textContents = text.getText().toString();
        engine.speak(textContents, TextToSpeech.QUEUE_FLUSH, null, null);

    }

    @Override
    protected void onPostCreate(@Nullable Bundle savedInstanceState) {
        super.onPostCreate(savedInstanceState);
    }

    @Override
    public void onInit(int i) {


        if (i == TextToSpeech.SUCCESS) {
            //Setting speech Language
            engine.setLanguage(Locale.ENGLISH);
            engine.setPitch(1);
        }
    }

    ///Handle Permission Result
    @Override
    public void onRequestPermissionsResult(int requestCode, @NonNull String() permissions, @NonNull int() grantResults) {
        super.onRequestPermissionsResult(requestCode, permissions, grantResults);
        switch (requestCode) {
            case CAMERA_REQUEST_CODE:

                if (grantResults.length > 0) {
                    boolean cameraAccepted = grantResults(0) ==
                            PackageManager.PERMISSION_GRANTED;
                    //Changed from 0 to 1
                    boolean writeStorageAccepted = grantResults(1) ==
                            PackageManager.PERMISSION_GRANTED;

                    if (cameraAccepted && writeStorageAccepted) {
                        pickCamera();
                    } else {
                        Toast.makeText(this, "permission denied", Toast.LENGTH_SHORT).show();

                    }
                }
                break;

            case STORAGE_REQUEST_CODE: {
                boolean writeStorageAccepted = grantResults(0) ==
                        PackageManager.PERMISSION_GRANTED;
                if (writeStorageAccepted) {
                    pickGallery();
                } else {
                    Toast.makeText(this, "permission denied", Toast.LENGTH_SHORT).show();

                }
            }
            break;

        }


    }


}

Activity_MainXML

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    tools:context=".MainActivity">

    <!-- Added scroll view, made sure scroll view has only one child in it. Very time consuming -->
    <ScrollView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        tools:ignore="UselessParent">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            tools:ignore="UselessLeaf" >
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="Image Preview:"
                android:verticalScrollbarPosition="defaultPosition"
                android:textColor="@color/design_default_color_primary_dark"
                android:textSize="22sp"
                tools:ignore="HardcodedText">

            </TextView>


            <ImageView

                android:id="@+id/imageId"
                android:layout_width="353dp"
                android:layout_height="368dp"
                android:layout_margin="26dp" />

            <Button
                android:layout_width="match_parent"
                android:layout_height="63dp"
                android:onClick="doProcess"
                android:text="Capture Image" />

            <TextView
                android:id="@+id/textId"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="Result:"
                android:textColor="@color/design_default_color_primary_dark"
                android:textSize="22sp" />


        </LinearLayout>
    </ScrollView>

</LinearLayout>

AndroidManifest XML


<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.textrecognition">

    <!-- User Permissions to give access to camera -->
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>


    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="Dream Eye Text Recognizer"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/Theme.TextRecognition">
        <activity android:name=".SplashScreen">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

        <activity
            android:name=".ui.login.LoginActivity"
            android:label="@string/title_activity_login" />

        <meta-data
            android:name="com.google.firebase.ml.vision.DEPENDENCIES"
            android:value="ocr" />

        <activity android:name=".MainActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

        <!-- Crop image Activity  -->
        <activity android:name="com.theartofdev.edmodo.cropper.CropImageActivity"
            android:theme="@style/Base.Theme.AppCompat"/> <!-- or AppTheme optional (needed if default theme has no action bar) -->

    </application>

</manifest>

*Build Gradle.App

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
    repositories {
        google()
        jcenter()
    }
    dependencies {

        classpath "com.android.tools.build:gradle:4.1.1"
        classpath 'com.google.gms:google-services:4.3.3'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        google()
        jcenter()
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

LOGCAT REPORT WHEN APP CRASHES

2021-07-17 17:01:38.730 18758-18758/com.example.textrecognition E/AndroidRuntime: FATAL EXCEPTION: main
   Process: com.example.textrecognition, PID: 18758
   java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=3, result=-1, data=Intent { dat=content://media/external/images/media/306689 flg=0x1 (has extras) }} to activity {com.example.textrecognition/com.example.textrecognition.MainActivity}: java.lang.NullPointerException: null reference
       at android.app.ActivityThread.deliverResults(ActivityThread.java:4610)
       at android.app.ActivityThread.handleSendResult(ActivityThread.java:4652)
       at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:49)
       at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
       at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1948)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loop(Looper.java:214)
       at android.app.ActivityThread.main(ActivityThread.java:7050)
       at java.lang.reflect.Method.invoke(Native Method)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
    Caused by: java.lang.NullPointerException: null reference
       at com.google.android.gms.common.internal.Preconditions.checkNotNull(Unknown Source:2)
       at com.google.firebase.ml.vision.common.FirebaseVisionImage.<init>(com.google.firebase:firebase-ml-vision@@24.0.1:40)
       at com.google.firebase.ml.vision.common.FirebaseVisionImage.fromBitmap(com.google.firebase:firebase-ml-vision@@24.0.1:3)
       at com.example.textrecognition.MainActivity.onActivityResult(MainActivity.java:259)
       at android.app.Activity.dispatchActivityResult(Activity.java:7762)
       at android.app.ActivityThread.deliverResults(ActivityThread.java:4603)
       at android.app.ActivityThread.handleSendResult(ActivityThread.java:4652) 
       at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:49) 
       at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108) 
       at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68) 
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1948) 
       at android.os.Handler.dispatchMessage(Handler.java:106) 
       at android.os.Looper.loop(Looper.java:214) 
       at android.app.ActivityThread.main(ActivityThread.java:7050) 
       at java.lang.reflect.Method.invoke(Native Method) 
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) 
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)

ios – Iphone SE sound stops during a telephone call of 2+ minutes

I hope this is the appropriate place to ask this question. I saw more hardware related issues here, but it may also be a configuration / setting problem.

The problem is with my iPhone SE (2020 i think) 64GB it says on the box. After calling for 2-5 minutes my sound input and output stop. So no one hears me talk and I cannot talk..

What I did was check “do not disturb” setting, is is not enabled. Further I reseted the network settings, so had to retype wifi password and stuff. Also checked time limit setting but there is none. The settings are mostly default. Plus I started to have this problem after a few months after purchasing the phone without changing relevant settings to cause this.

The iOS version is 14.6. I updated that a few weeks ago.

Anybody have an idea to what I am doing wrong, or the phone is bugged?

Thanks in advance for a possible solution.

macbook pro – Logitech MX Master 2s Stops working

I have a MX Master 2S paired to a Macbook Air 8/8 16gb 512SSD on 11.4

I came from windows for the past 20 years. This is my first mac. I used the logi options software to change the scroll pattern and configure the buttons. It works as intended until it stops working. The only thing that fixes it for me is restarting the macbook. It’s very annoying have to restart sometimes two times a day, especially in the middle of a busy work day.

Sometimes the scroll wheel stops working totally. I try killing the logi daemon process but that doesn’t solve anything. I never had any issue with this mouse connected to my Surface devices.

I’m ready to pull my hair out and open to solutions.

(I’ve tired deleting logi options and installing it again)

dnd 5e – Does the effect of a harpy’s Luring Song continue even if the affected character stops being able to hear the song?

My interpretation of this is that RAW does in fact support the charm falling off of a character that can no longer hear the song (for any reason, but perhaps especially a Silence spell).

My reasoning is that Luring Song simply states that it’s effects end when the song ends. The first thing we need to do is define what “the song” is. I have seen plenty people make the mistake of equating “the song” with “the harpy singing”, but logically these are not the same things.

The “song” is produced by the harpy singing, yes, but functionally these are separate events or entities. The song can only exist through the harpy singing it into existence in the first place, but once it exists, it exists independently of the harpy that created it. That is to say that it’s existence (as an object or an event) once it’s been sung is no longer dependent upon anything the harpy is or does. So, what is “the song”. Well, common sense (which D&D often requires us to use – gravity for example, is presumed to exist even if it’s never explicitly stated – in a fantasy world it is presumed that everything works just like it does in the real world, except where explicitly stated otherwise, for example magic) tells us that the “song” is sound. That is, it is composed of sound (just like words or any kind of utterance from the throats of creatures is). A song, by definition, is composed of sound.

That is to say, it is not composed of light, or butter, or dragon scales, or fire, or necrosis, negative or positive energy. The song is “made of” sound. That’s what it IS. It is sound. Magical, yes, but still sound. It’s constituent parts are of sound.

Now, the Silence spell says that no sound can enter and no sound can be produced inside the zone of Silence. This is equivalent to the song ‘ending’ inside the sphere, because ‘stopping all sound’ is grammatically equivalent to “ending all sound”. In other words, if all sound dies within or at the boundary of (for sounds aimed at the sphere from outside) the sphere of Silence, then that sound “ends” right there (at the boundary if it’s external, or inside it if not).

Therefore, the sphere of the Silence spell causes sound to end. It causes the Luring Song to end. The song ends, at the boundary of the sphere, or never even gets created if you put the spell on top of the harpy. Silence ends sound, therefore it also ends anything that is sound based, which would include things like Bardic Inspiration as well as Luring Song.

This means that you can stop a harpy both by casting it on top of yourself (just be careful not to silence your own casters), OR by casting it on the harpy which stops her from singing (but doesn’t stop her from leaving the area of Silence).