text:
Unable to access Product Dashboard, re directing to login page

Unable to access any Product Dashboard created, it is always re directing back to login page and doesnt allow me log back in.
Logs show this error:
ERROR c.c.d.rest.RestApiExceptionHandler - Required request body is missing: public java.lang.Iterable<com.capitalone.dashboard.model.PipelineResponse> com.capitalone.dashboard.rest.PipelineController.searchPipelines(com.capitalone.dashboard.request.PipelineSearchRequest) throws com.capitalone.dashboard.misc.HygieiaException

agreed, fix is being worked on. Expect it sometime  next week

Can you please let us know if the fix has been implemented

authors: guruprasadsane rvema

repo: Hygieia/Hygieia


text:
Question about some parameters set in GRUB_CMD_LINE.

Hello!
I tried to build Hyperenclave for AMD R7-6800H, I changed the GRUB_CMDLINE_LINUX parameter into the following one:
memmap=4G\\\$0x100000000 amd_iommu=off mem_encrypt=off intremap=off no5lvl

Despite of some crash for general protection fault: 0000 [#1] SMP NOPTI, after the booting process of hyperenclave-driver, I stil successfully ran the sgx-code you offered in docker image with the aid of the hyperenclave. But the fault is still a bit of annoying, so I wonder if you can offer me the specific parameters of GRUB_CMDLINE_LINUX you are using in AMD processors. I've referred the version offered in atc-22 repos, but I don't know why after setting up hyperenclave for a while the crash will happen. So I doubt that maybe I've made some fault as I set the GRUB_CMDLINE_LINUX.
Besides, I am currently reading the source code of hyperenclave-driver and got some questions that I can't figure out now.
I wonder why we should turn amd_iommu and intremap to off mode, and why we should disable 5-level page mechanism? Could you please further explain the reason behind here?
Looking forward to your reply.

Besides, in project hyperenclave-driver, I came across a function in function he_cmd_enable in hyperenclave-driver/driver/main.c.
	num_iomem = get_iomem_num();
	/*
	 * memmap region should be removed from iomem regions,
	 * so the max num of mem_regions is iomem_num + nr_rsrv_mem.
	 */
	mem_regions = kvmalloc(sizeof(*mem_regions) * (num_iomem + nr_rsrv_mem),
			       GFP_KERNEL);

I am a little confused whether the flag amd_iommu=off or intel_iommu=off has some impacts on the function get_iomem_num, therefore triggering a wrong number of mem_regions?
int get_iomem_num(void)
{
	int num;
	struct resource *child;

	num = 0;
	child = iomem_resource.child;
	while (child) {
		num++;
		child = child->sibling;
	}

	return num;
}

Looking forward to your reply~

Hello! I tried to build Hyperenclave for AMD R7-6800H, I changed the GRUB_CMDLINE_LINUX parameter into the following one:
memmap=4G\\\$0x100000000 amd_iommu=off mem_encrypt=off intremap=off no5lvl

Despite of some crash for general protection fault: 0000 [#1] SMP NOPTI, after the booting process of hyperenclave-driver, I stil successfully ran the sgx-code you offered in docker image with the aid of the hyperenclave. But the fault is still a bit of annoying, so I wonder if you can offer me the specific parameters of GRUB_CMDLINE_LINUX you are using in AMD processors. I've referred the version offered in atc-22 repos, but I don't know why after setting up hyperenclave for a while the crash will happen. So I doubt that maybe I've made some fault as I set the GRUB_CMDLINE_LINUX.

The GRUB_CMDLINE_LINUX you used is correct. Please provide more log about the hyperenclave setup and the crash.

Besides, I am currently reading the source code of hyperenclave-driver and got some questions that I can't figure out now.
I wonder why we should turn amd_iommu and intremap to off mode, and why we should disable 5-level page mechanism? Could you please further explain the reason behind here?

turn amd_iommu and intremap to off
In our design, hyperenclave restricts the physical memory accessed by the peripherals with the support of IOMMU. Hyperenclave is responsible for IOMMU hardware initialization, so we need to turn the amd_iommu and intremap to off for host linux.
disable 5-level page
Currently, hyperenclave doesn't support 5-level page table. Some hardware platform may use 5-level page table, such as，Intel Ice Lake. So we just add the no5lvl to disable it.

Looking forward to your reply.

Besides, in project hyperenclave-driver, I came across a function in function he_cmd_enable in hyperenclave-driver/driver/main.c.
	num_iomem = get_iomem_num();
	/*
	 * memmap region should be removed from iomem regions,
	 * so the max num of mem_regions is iomem_num + nr_rsrv_mem.
	 */
	mem_regions = kvmalloc(sizeof(*mem_regions) * (num_iomem + nr_rsrv_mem),
			       GFP_KERNEL);

I am a little confused whether the flag amd_iommu=off or intel_iommu=off has some impacts on the function get_iomem_num, therefore triggering a wrong number of mem_regions?

The IOMMU parameter amd_iommu=off has nothing to do with the function get_iomem_num. Function get_iomem_num is used to get the physical memory information. There may be some other issue triggering the crash. As i said above, we need the hyperenclave setup log and the crash log to figure out the reason.

int get_iomem_num(void)
{
	int num;
	struct resource *child;

	num = 0;
	child = iomem_resource.child;
	while (child) {
		num++;
		child = child->sibling;
	}

	return num;
}

Looking forward to your reply~

Thank u for your answer and patience!
Here is the log in dmesg, it seems that although it crashes at the beginning, it still successfully handled sgx code somehow:
[  229.301014] hyper_enclave: loading out-of-tree module taints kernel.
[  229.301162] hyper_enclave: module verification failed: signature and/or required key missing - tainting kernel
[  229.312632] HE: cpu_vendor_detect: 39. Vendor ID: AuthenticAMD
[  229.325575] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x0000000000000000 -> 0x000000000009f000], type: System RAM
[  229.325577] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x000000000009f000 -> 0x00000000000c0000], type: Reserved
[  229.325578] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x0000000000100000 -> 0x0000000009b00000], type: System RAM
[  229.325579] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x0000000009b00000 -> 0x0000000009e00000], type: Reserved
[  229.325580] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x0000000009e00000 -> 0x0000000009f00000], type: System RAM
[  229.325580] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x0000000009f00000 -> 0x0000000009f28000], type: ACPI Non-volatile Storage
[  229.325581] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x0000000009f28000 -> 0x00000000a07ff000], type: System RAM
[  229.325582] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000a07ff000 -> 0x00000000a0800000], type: Reserved
[  229.325582] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000a0800000 -> 0x00000000a2364000], type: System RAM
[  229.325583] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000a2364000 -> 0x00000000a4564000], type: Reserved
[  229.325584] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000a4564000 -> 0x00000000a456d000], type: System RAM
[  229.325584] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000a456d000 -> 0x00000000a4570000], type: Reserved
[  229.325585] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000a4570000 -> 0x00000000b077f000], type: System RAM
[  229.325586] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000b077f000 -> 0x00000000b2f7f000], type: Reserved
[  229.325587] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000b2f7f000 -> 0x00000000baf7f000], type: ACPI Non-volatile Storage
[  229.325587] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000baf7f000 -> 0x00000000bafff000], type: ACPI Tables
[  229.325588] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000bafff000 -> 0x00000000bb000000], type: System RAM
[  229.325589] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000bb000000 -> 0x00000000bc000000], type: Reserved
[  229.325589] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000bce00000 -> 0x00000000c0000000], type: Reserved
[  229.325590] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000fde00000 -> 0x00000000fdf00000], type: Reserved
[  229.325590] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000fed80000 -> 0x00000000fed81000], type: Reserved
[  229.325591] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000ff000000 -> 0x0000000100000000], type: Reserved
[  229.325592] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x0000000100000000 -> 0x000000041e300000], type: System RAM
[  229.325593] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x000000041f340000 -> 0x0000000460200000], type: Reserved
[  229.325596] HE: get_convertible_memory: 213. Convertible Memory[ 0]: 0x0000000000000000 -> 0x000000000009f000
[  229.325596] HE: get_convertible_memory: 213. Convertible Memory[ 1]: 0x0000000000100000 -> 0x0000000009b00000
[  229.325597] HE: get_convertible_memory: 213. Convertible Memory[ 2]: 0x0000000009e00000 -> 0x0000000009f00000
[  229.325598] HE: get_convertible_memory: 213. Convertible Memory[ 3]: 0x0000000009f28000 -> 0x00000000a07ff000
[  229.325599] HE: get_convertible_memory: 213. Convertible Memory[ 4]: 0x00000000a0800000 -> 0x00000000a2364000
[  229.325599] HE: get_convertible_memory: 213. Convertible Memory[ 5]: 0x00000000a4564000 -> 0x00000000a456d000
[  229.325600] HE: get_convertible_memory: 213. Convertible Memory[ 6]: 0x00000000a4570000 -> 0x00000000b077f000
[  229.325600] HE: get_convertible_memory: 213. Convertible Memory[ 7]: 0x00000000bafff000 -> 0x00000000bb000000
[  229.325601] HE: get_convertible_memory: 213. Convertible Memory[ 8]: 0x0000000100000000 -> 0x000000041e300000
[  229.325602] HE: get_convertible_memory: 218. Convertible Memory size: 0x3cc4f3000
[  229.325603] HE: get_valid_rsrv_mem: 285. Reserved Memory[ 0]: 0x100000000 -> 0x200000000
[  229.325604] HE: get_valid_rsrv_mem: 290. Reserved Memory size: 0x100000000
[  229.325606] HE: get_sme_mask: 63. CPU does not enable SME
[  229.325649] HE: mem_test: 48. Memory[0x100000000 - 0x200000000] test begin
[  230.196819] HE: mem_test: 78. Memory[0x100000000 - 0x200000000] test pass
[  230.211666] HE: get_hv_heap_size: 375. Hypervisor heap size: 0x43800000
[  230.211668] HE: get_hv_cmrm_size: 387. Hypervisor cmrm size: 0x62d5000
[  230.211669] HE: get_hv_frame_size: 400. Hypervisor frame size: 0x1c00000
[  230.211669] HE: get_hypervisor_size: 413. Hv_core_and_percpu_size: 0xe40000, Hypervisor size: 0x80000000
[  230.211670] HE: he_cmd_enable: 302. hypervisor size: 0x80000000
[  230.211672] HE: get_sme_mask: 63. CPU does not enable SME
[  230.394700] HE: he_cmd_enable: 352. config_size: 1860
[  230.417661] HE: add_epc_pages: 43. total_epc_pages: 0x80000, free_epc_pages: 0x80000
[  230.417663] HE: init_enclave_page: 317. epc ranges: [0x180000000-0x200000000], 0x80000000
[  230.417664] HE: init_enclave_page: 333. Initialized EPC ranges size: 0x80000000
[  230.417665] HE: he_cmd_enable: 383. config_header load_addr: 0xffffff0000e40000
[  230.417695] HE: he_cmd_enable: 404. mem_region load_addr: 0xffffff0000e40124
[  230.417696] HE: inspect_tpm: 206. using fake tpm
[  230.417697] HE: he_cmd_enable: 411. tpm mmio type=8,size=0 pa=ffffffff
[  230.574385] HE: init_cmrm: 448. Initialize [0x0 -> 0x41e300000]'s CMRM
[  230.574631] HE: he_cmd_enable: 483. The hyperenclave is opening.
[  240.645555] [0] Activating hypervisor on CPU 0...
[  240.645557] [1] Activating hypervisor on CPU 1...
[  240.645558] [2] Activating hypervisor on CPU 2...
[  240.645559] [3] Activating hypervisor on CPU 3...
[  240.645560] [4] Activating hypervisor on CPU 4...
[  240.645561] [5] Activating hypervisor on CPU 5...
[  240.645561] [6] Activating hypervisor on CPU 6...
[  240.645562] [7] Activating hypervisor on CPU 7...
[  240.645563] [8] Activating hypervisor on CPU 8...
[  240.645564] [9] Activating hypervisor on CPU 9...
[  240.645564] [10] Init HHBox log feature ok
[  240.645565] [10] Init HHBox crash feature ok
[  240.645565] [10] tpm_detect starting....
[  240.645565] [10] fake tpm is detected and initialized
[  240.645566] [10] FAKE TPM: tpm signing key pub x
[  240.645566] [10] C29974C9F1090FA4A10E9990620E91828B593A7211E2468450E3DC96DD5933FB
[  240.645567] [10] size= :0x20
[  240.645567] [10] FAKE TPM: tpm signing key pub y
[  240.645568] [10] 402206ECCC5479289F33668EAAB85527ABBBB9F7B41CEB71551027D57AF28267
[  240.645568] [10] size= :0x20
[  240.645568] [10] FAKE TPM: root secret is generated and sealed
[  240.645569] [10] FAKE TPM: hypervisor AK pub x=
[  240.645569] [10] 3D9BB7BA028C5F97AC5AB1619336D9ED23E86858DDBDC23B510D5F0EBA8FF338
[  240.645569] [10] size= :0x20
[  240.645570] [10] FAKE TPM: hypervisor AK pub y=
[  240.645570] [10] 0B28428BDA30B2800FCB032ABCED81071B5F0DCB1A02B22AFF56B7DD22E52522
[  240.645571] [10] size= :0x20
[  240.645571] [10] FAKE TPM: hash of he_ak_pub extended to PCR 13:
[  240.645571] [10] AAA056CA1F030B7BD6C4089C2AEEC36D01173B46E0FD2B4C1BD2C14649B66539
[  240.645572] [10] size= :0x20
[  240.645572] [10] HyperEnclave: root of trust initialized!
[  240.645572] [10] Activating hypervisor on CPU 10...
[  240.645573] [11] Activating hypervisor on CPU 11...
[  240.645574] [12] Activating hypervisor on CPU 12...
[  240.645575] [13] Activating hypervisor on CPU 13...
[  240.645575] [14] Activating hypervisor on CPU 14...
[  240.645576] [15] Activating hypervisor on CPU 15...
[  254.042706] general protection fault: 0000 [#1] SMP NOPTI
[  254.042715] CPU: 0 PID: 1595 Comm: upowerd Tainted: G           OE     5.4.0-050400-generic #201911242031
[  254.042717] Hardware name: HONOR GLO-NX6/GLO-NX6-PCB, BIOS 1.10 06/13/2023
[  254.042724] RIP: 0010:acpi_ex_system_memory_space_handler+0x239/0x2b5
[  254.042728] Code: 02 00 00 00 00 41 83 fc 20 74 25 77 12 41 83 fc 08 74 17 41 83 fc 10 75 58 41 0f b7 06 eb 14 41 83 fc 40 75 4c 49 8b 06 eb 09 <41> 0f b6 06 eb 03 41 8b 06 49 89 02 eb 3c 41 83 fc 20 74 2d 77 15
[  254.042730] RSP: 0018:ffffbbb7c231f8a8 EFLAGS: 00010246
[  254.042733] RAX: ffffbbb7c03f937e RBX: 00000000fe80037e RCX: 0000000000000080
[  254.042734] RDX: 00000000fe800400 RSI: 00000000000000f4 RDI: 0000000000000033
[  254.042735] RBP: ffffbbb7c231f8d8 R08: 0000000000000000 R09: ffff9e4ccfa56b00
[  254.042736] R10: ffffbbb7c231fa08 R11: ffff9e4cc9c95038 R12: 0000000000000008
[  254.042737] R13: 0000000000000000 R14: ffffbbb7c03f937e R15: ffff9e4ccfa027e0
[  254.042739] FS:  00007f90743d1080(0000) GS:ffff9e4cd2400000(0000) knlGS:0000000000000000
[  254.042740] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  254.042742] CR2: 00007fc1bd15a9dc CR3: 00000003da4fa000 CR4: 0000000000740ef0
[  254.042743] PKRU: 55555554
[  254.042744] Call Trace:
[  254.042751]  acpi_ev_address_space_dispatch+0x2f7/0x39f
[  254.042754]  ? acpi_ex_prep_field_value+0x513/0x513
[  254.042756]  acpi_ex_access_region+0x454/0x4ed
[  254.042759]  acpi_ex_field_datum_io+0x18a/0x42d
[  254.042762]  acpi_ex_extract_from_field+0xff/0x320
[  254.042764]  ? acpi_ev_acquire_global_lock+0x1de/0x1e6
[  254.042767]  ? acpi_ex_acquire_mutex_object+0x115/0x11f
[  254.042769]  acpi_ex_read_data_from_field+0x30f/0x361
[  254.042771]  acpi_ex_resolve_node_to_value+0x3a7/0x4dd
[  254.042773]  acpi_ex_resolve_to_value+0x3c3/0x472
[  254.042776]  acpi_ds_evaluate_name_path+0xb1/0x169
[  254.042779]  ? acpi_db_single_step+0x1f/0x252
[  254.042781]  acpi_ds_exec_end_op+0x118/0x76b
[  254.042784]  acpi_ps_parse_loop+0x84b/0x920
[  254.042786]  acpi_ps_parse_aml+0x1af/0x550
[  254.042789]  acpi_ps_execute_method+0x208/0x2ca
[  254.042791]  acpi_ns_evaluate+0x34e/0x4f0
[  254.042793]  acpi_evaluate_object+0x18e/0x3b4
[  254.042796]  acpi_battery_get_state+0x94/0x220
[  254.042798]  acpi_battery_get_property+0x4f/0x3e2
[  254.042803]  power_supply_get_property.part.0+0x15/0x20
[  254.042805]  power_supply_get_property+0x18/0x30
[  254.042807]  power_supply_show_property+0x9d/0x300
[  254.042811]  dev_attr_show+0x1d/0x40
[  254.042815]  sysfs_kf_seq_show+0xa1/0x100
[  254.042817]  kernfs_seq_show+0x27/0x30
[  254.042820]  seq_read+0xdc/0x430
[  254.042822]  kernfs_fop_read+0x35/0x190
[  254.042826]  __vfs_read+0x1b/0x40
[  254.042828]  vfs_read+0xab/0x160
[  254.042830]  ksys_read+0x67/0xe0
[  254.042832]  __x64_sys_read+0x1a/0x20
[  254.042836]  do_syscall_64+0x57/0x190
[  254.042841]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  254.042843] RIP: 0033:0x7f9074f4b3cc
[  254.042846] Code: ec 28 48 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 89 fc ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 30 44 89 c7 48 89 44 24 08 e8 bf fc ff ff 48
[  254.042848] RSP: 002b:00007ffcd424da40 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
[  254.042850] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9074f4b3cc
[  254.042851] RDX: 0000000000001000 RSI: 000055ab9cd11f00 RDI: 000000000000000a
[  254.042852] RBP: 000055ab9ccdbb30 R08: 0000000000000000 R09: 0000000000001000
[  254.042853] R10: 000055ab9cc56010 R11: 0000000000000246 R12: 00007ffcd424db70
[  254.042854] R13: 0000000000000000 R14: 0000000000000000 R15: 000000000000000a
[  254.042856] Modules linked in: sm3_generic hyper_enclave(OE) rfcomm xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c xt_addrtype iptable_filter bpfilter br_netfilter bridge stp llc ccm cmac algif_hash algif_skcipher af_alg overlay bnep kvm_amd ccp joydev kvm irqbypass snd_hda_codec_generic snd_hda_codec_hdmi nls_iso8859_1 snd_hda_intel snd_intel_nhlt rt2800usb snd_hda_codec rt2x00usb rt2800lib snd_hda_core rt2x00lib snd_hwdep crct10dif_pclmul uvcvideo videobuf2_vmalloc ghash_clmulni_intel snd_pcm mac80211 videobuf2_memops videobuf2_v4l2 btusb videobuf2_common btrtl btbcm snd_seq_midi btintel snd_seq_midi_event bluetooth snd_rawmidi cfg80211 aesni_intel snd_seq videodev huawei_wmi crypto_simd snd_seq_device cryptd ecdh_generic ledtrig_audio glue_helper snd_timer mc hid_multitouch libarc4 input_leds ecc sparse_keymap serio_raw wmi_bmof snd soundcore snd_pci_acp3x mac_hid acpi_tad sch_fq_codel
[  254.042902]  parport_pc ppdev lp parport ramoops drm reed_solomon efi_pstore ip_tables x_tables autofs4 hid_generic crc32_pclmul nvme i2c_piix4 nvme_core wmi video i2c_hid hid
[  254.042917] ---[ end trace 174b1af698bdf677 ]---
[  257.158924] RIP: 0010:acpi_ex_system_memory_space_handler+0x239/0x2b5
[  257.158932] Code: 02 00 00 00 00 41 83 fc 20 74 25 77 12 41 83 fc 08 74 17 41 83 fc 10 75 58 41 0f b7 06 eb 14 41 83 fc 40 75 4c 49 8b 06 eb 09 <41> 0f b6 06 eb 03 41 8b 06 49 89 02 eb 3c 41 83 fc 20 74 2d 77 15
[  257.158935] RSP: 0018:ffffbbb7c231f8a8 EFLAGS: 00010246
[  257.158938] RAX: ffffbbb7c03f937e RBX: 00000000fe80037e RCX: 0000000000000080
[  257.158940] RDX: 00000000fe800400 RSI: 00000000000000f4 RDI: 0000000000000033
[  257.158941] RBP: ffffbbb7c231f8d8 R08: 0000000000000000 R09: ffff9e4ccfa56b00
[  257.158942] R10: ffffbbb7c231fa08 R11: ffff9e4cc9c95038 R12: 0000000000000008
[  257.158943] R13: 0000000000000000 R14: ffffbbb7c03f937e R15: ffff9e4ccfa027e0
[  257.158945] FS:  00007f90743d1080(0000) GS:ffff9e4cd2400000(0000) knlGS:0000000000000000
[  257.158947] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  257.158948] CR2: 00007fc1bd15a9dc CR3: 00000003da4fa000 CR4: 0000000000740ef0
[  257.158949] PKRU: 55555554
[  261.125550] [0] [WARN][0] #VMEXIT(NPF) @ NptViolationInfo {
[  261.125551]     guest_paddr: 0xfe80037e,
[  261.125552]     present: false,
[  261.125552]     write: false,
[  261.125552]     user_mode: true,
[  261.125553]     reserved_bits_used: false,
[  261.125553]     execute: false,
[  261.125554]     shadow_stack_access: false,
[  261.125554]     final_translation: true,
[  261.125554] } RIP(0xffffffff9cbf91e5)
[  261.125555] [0] [WARN][0] #VMEXIT handler returned Err([src/arch/x86_64/amd/vmexit.rs:167:9] Function not implemented):
[  261.125555] VmExitInfo {
[  261.125556]     exit_code: Ok(
[  261.125556]         NPF,
[  261.125556]     ),
[  261.125557]     exit_info_1: 0x100000004,
[  261.125557]     exit_info_2: 0xfe80037e,
[  261.125558]     guest_rip: 0xffffffff9cbf91e5,
[  261.125558] }

[  261.125558] Guest State Dump:
[  261.125559] Vcpu {
[  261.125559]     guest_regs: GuestRegisters {
[  261.125559]         rax: 0xffffbbb7c03f937e,
[  261.125560]         rcx: 0x80,
[  261.125560]         rdx: 0xfe800400,
[  261.125560]         rbx: 0xfe80037e,
[  261.125561]         _unused_rsp: 0x0,
[  261.125561]         rbp: 0xffffbbb7c231f8d8,
[  261.125561]         rsi: 0xf4,
[  261.125562]         rdi: 0x33,
[  261.125562]         r8: 0x0,
[  261.125562]         r9: 0xffff9e4ccfa56b00,
[  261.125563]         r10: 0xffffbbb7c231fa08,
[  261.125563]         r11: 0xffff9e4cc9c95038,
[  261.125563]         r12: 0x8,
[  261.125564]         r13: 0x0,
[  261.125564]         r14: 0xffffbbb7c03f937e,
[  261.125564]         r15: 0xffff9e4ccfa027e0,
[  261.125565]     },
[  261.125565]     rip: 0xffffffff9cbf91e5,
[  261.125565]     rsp: 0xffffbbb7c231f8a8,
[  261.125566]     rflags: INTERRUPT_FLAG | ZERO_FLAG | PARITY_FLAG | 0x0x2,
[  261.125566]     cr0: PROTECTED_MODE_ENABLE | MONITOR_COPROCESSOR | NUMERIC_ERROR | WRITE_PROTECT | ALIGNMENT_MASK | PAGING | 0x0x10,
[  261.125567]     cr3: 0x3da4fa000,
[  261.125568]     cr4: PAGE_SIZE_EXTENSION | PHYSICAL_ADDRESS_EXTENSION | MACHINE_CHECK_EXCEPTION | PAGE_GLOBAL | OSFXSR | OSXMMEXCPT_ENABLE | USER_MODE_INSTRUCTION_PREVENTION | OSXSAVE | SUPERVISOR_MODE_EXECUTION_PROTECTION | SUPERVISOR_MODE_ACCESS_PREVENTION | PROTECTION_KEY,
[  261.125568]     cs: VmcbSegment {
[  261.125569]         selector: 0x10,
[  261.125569]         attr: 0x29b,
[  261.125569]         limit: 0xffffffff,
[  261.125570]         base: 0x0,
[  261.125570]     },
[  261.125570] }
[  261.125571] [0] [ERROR][0] Failed to handle VM exit, inject fault to guest...
[  261.125571] [src/arch/x86_64/amd/vmexit.rs:167:9] Function not implemented
[  261.125572] [0] [WARN][0] VCPU fault: PerCpu {
[  261.125572]     cpu_id: 0x0,
[  261.125572]     state: HvEnabled,
[  261.125572]     vcpu: Vcpu {
[  261.125573]         guest_regs: GuestRegisters {
[  261.125573]             rax: 0xffffbbb7c03f937e,
[  261.125574]             rcx: 0x80,
[  261.125574]             rdx: 0xfe800400,
[  261.125574]             rbx: 0xfe80037e,
[  261.125575]             _unused_rsp: 0x0,
[  261.125575]             rbp: 0xffffbbb7c231f8d8,
[  261.125575]             rsi: 0xf4,
[  261.125576]             rdi: 0x33,
[  261.125576]             r8: 0x0,
[  261.125576]             r9: 0xffff9e4ccfa56b00,
[  261.125577]             r10: 0xffffbbb7c231fa08,
[  261.125577]             r11: 0xffff9e4cc9c95038,
[  261.125577]             r12: 0x8,
[  261.125578]             r13: 0x0,
[  261.125578]             r14: 0xffffbbb7c03f937e,
[  261.125578]             r15: 0xffff9e4ccfa027e0,
[  261.125579]         },
[  261.125579]         rip: 0xffffffff9cbf91e5,
[  261.125579]         rsp: 0xffffbbb7c231f8a8,
[  261.125580]         rflags: INTERRUPT_FLAG | ZERO_FLAG | PARITY_FLAG | 0x0x2,
[  261.125580]         cr0: PROTECTED_MODE_ENABLE | MONITOR_COPROCESSOR | NUMERIC_ERROR | WRITE_PROTECT | ALIGNMENT_MASK | PAGING | 0x0x10,
[  261.125581]         cr3: 0x3da4fa000,
[  261.125582]         cr4: PAGE_SIZE_EXTENSION | PHYSICAL_ADDRESS_EXTENSION | MACHINE_CHECK_EXCEPTION | PAGE_GLOBAL | OSFXSR | OSXMMEXCPT_ENABLE | USER_MODE_INSTRUCTION_PREVENTION | OSXSAVE | SUPERVISOR_MODE_EXECUTION_PROTECTION | SUPERVISOR_MODE_ACCESS_PREVENTION | PROTECTION_KEY,
[  261.125582]         cs: VmcbSegment {
[  261.125583]             selector: 0x10,
[  261.125583]             attr: 0x29b,
[  261.125583]             limit: 0xffffffff,
[  261.125584]             base: 0x0,
[  261.125584]         },
[  261.125584]     },
[  261.125585]     enclave_thread: Inactive,
[  261.125585] }
[  472.325810] HE: he_cmd_encl_create: 226. encl: 0xffff9e4cc8094000
[  472.325837] HE: he_cmd_encl_create: 259. encl: 0xffff9e4cc8094000, encl.start_gva=0x7fd49ec15000, encl_size: 0x1000000
[  472.427682] HE: shared_memory_destroy: 327. mmu_notifier_unregister
[  472.428057] HE: he_encl_cleanup: 966. nr_free_epc_page: 0x80000, encl: 0xffff9e4cc8094000
[  875.504580] HE: he_cmd_encl_create: 226. encl: 0xffff9e4c120e4000
[  875.504594] HE: he_cmd_encl_create: 259. encl: 0xffff9e4c120e4000, encl.start_gva=0x7fb9a4f4e000, encl_size: 0x200000000
[  917.053466] HE: shared_memory_destroy: 327. mmu_notifier_unregister
[  917.094283] HE: he_encl_cleanup: 966. nr_free_epc_page: 0x80000, encl: 0xffff9e4c120e4000
[ 1097.502777] HE: he_cmd_encl_create: 226. encl: 0xffff9e4c1a218000
[ 1097.502792] HE: he_cmd_encl_create: 259. encl: 0xffff9e4c1a218000, encl.start_gva=0x7f7a57d3e000, encl_size: 0x200000000
[ 1115.746853] HE: shared_memory_destroy: 327. mmu_notifier_unregister
[ 1115.788011] HE: he_encl_cleanup: 966. nr_free_epc_page: 0x80000, encl: 0xffff9e4c1a218000

Thank u for your answer and patience! Here is the log in dmesg, it seems that although it crashes at the beginning, it still successfully handled sgx code somehow:
[  229.301014] hyper_enclave: loading out-of-tree module taints kernel.
[  229.301162] hyper_enclave: module verification failed: signature and/or required key missing - tainting kernel
[  229.312632] HE: cpu_vendor_detect: 39. Vendor ID: AuthenticAMD
[  229.325575] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x0000000000000000 -> 0x000000000009f000], type: System RAM
[  229.325577] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x000000000009f000 -> 0x00000000000c0000], type: Reserved
[  229.325578] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x0000000000100000 -> 0x0000000009b00000], type: System RAM
[  229.325579] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x0000000009b00000 -> 0x0000000009e00000], type: Reserved
[  229.325580] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x0000000009e00000 -> 0x0000000009f00000], type: System RAM
[  229.325580] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x0000000009f00000 -> 0x0000000009f28000], type: ACPI Non-volatile Storage
[  229.325581] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x0000000009f28000 -> 0x00000000a07ff000], type: System RAM
[  229.325582] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000a07ff000 -> 0x00000000a0800000], type: Reserved
[  229.325582] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000a0800000 -> 0x00000000a2364000], type: System RAM
[  229.325583] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000a2364000 -> 0x00000000a4564000], type: Reserved
[  229.325584] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000a4564000 -> 0x00000000a456d000], type: System RAM
[  229.325584] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000a456d000 -> 0x00000000a4570000], type: Reserved
[  229.325585] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000a4570000 -> 0x00000000b077f000], type: System RAM
[  229.325586] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000b077f000 -> 0x00000000b2f7f000], type: Reserved
[  229.325587] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000b2f7f000 -> 0x00000000baf7f000], type: ACPI Non-volatile Storage
[  229.325587] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000baf7f000 -> 0x00000000bafff000], type: ACPI Tables
[  229.325588] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000bafff000 -> 0x00000000bb000000], type: System RAM
[  229.325589] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000bb000000 -> 0x00000000bc000000], type: Reserved
[  229.325589] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000bce00000 -> 0x00000000c0000000], type: Reserved
[  229.325590] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000fde00000 -> 0x00000000fdf00000], type: Reserved
[  229.325590] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000fed80000 -> 0x00000000fed81000], type: Reserved
[  229.325591] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x00000000ff000000 -> 0x0000000100000000], type: Reserved
[  229.325592] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x0000000100000000 -> 0x000000041e300000], type: System RAM
[  229.325593] HE: get_convertible_memory: 136. BIOS E820 table from firmware: [0x000000041f340000 -> 0x0000000460200000], type: Reserved
[  229.325596] HE: get_convertible_memory: 213. Convertible Memory[ 0]: 0x0000000000000000 -> 0x000000000009f000
[  229.325596] HE: get_convertible_memory: 213. Convertible Memory[ 1]: 0x0000000000100000 -> 0x0000000009b00000
[  229.325597] HE: get_convertible_memory: 213. Convertible Memory[ 2]: 0x0000000009e00000 -> 0x0000000009f00000
[  229.325598] HE: get_convertible_memory: 213. Convertible Memory[ 3]: 0x0000000009f28000 -> 0x00000000a07ff000
[  229.325599] HE: get_convertible_memory: 213. Convertible Memory[ 4]: 0x00000000a0800000 -> 0x00000000a2364000
[  229.325599] HE: get_convertible_memory: 213. Convertible Memory[ 5]: 0x00000000a4564000 -> 0x00000000a456d000
[  229.325600] HE: get_convertible_memory: 213. Convertible Memory[ 6]: 0x00000000a4570000 -> 0x00000000b077f000
[  229.325600] HE: get_convertible_memory: 213. Convertible Memory[ 7]: 0x00000000bafff000 -> 0x00000000bb000000
[  229.325601] HE: get_convertible_memory: 213. Convertible Memory[ 8]: 0x0000000100000000 -> 0x000000041e300000
[  229.325602] HE: get_convertible_memory: 218. Convertible Memory size: 0x3cc4f3000
[  229.325603] HE: get_valid_rsrv_mem: 285. Reserved Memory[ 0]: 0x100000000 -> 0x200000000
[  229.325604] HE: get_valid_rsrv_mem: 290. Reserved Memory size: 0x100000000
[  229.325606] HE: get_sme_mask: 63. CPU does not enable SME
[  229.325649] HE: mem_test: 48. Memory[0x100000000 - 0x200000000] test begin
[  230.196819] HE: mem_test: 78. Memory[0x100000000 - 0x200000000] test pass
[  230.211666] HE: get_hv_heap_size: 375. Hypervisor heap size: 0x43800000
[  230.211668] HE: get_hv_cmrm_size: 387. Hypervisor cmrm size: 0x62d5000
[  230.211669] HE: get_hv_frame_size: 400. Hypervisor frame size: 0x1c00000
[  230.211669] HE: get_hypervisor_size: 413. Hv_core_and_percpu_size: 0xe40000, Hypervisor size: 0x80000000
[  230.211670] HE: he_cmd_enable: 302. hypervisor size: 0x80000000
[  230.211672] HE: get_sme_mask: 63. CPU does not enable SME
[  230.394700] HE: he_cmd_enable: 352. config_size: 1860
[  230.417661] HE: add_epc_pages: 43. total_epc_pages: 0x80000, free_epc_pages: 0x80000
[  230.417663] HE: init_enclave_page: 317. epc ranges: [0x180000000-0x200000000], 0x80000000
[  230.417664] HE: init_enclave_page: 333. Initialized EPC ranges size: 0x80000000
[  230.417665] HE: he_cmd_enable: 383. config_header load_addr: 0xffffff0000e40000
[  230.417695] HE: he_cmd_enable: 404. mem_region load_addr: 0xffffff0000e40124
[  230.417696] HE: inspect_tpm: 206. using fake tpm
[  230.417697] HE: he_cmd_enable: 411. tpm mmio type=8,size=0 pa=ffffffff
[  230.574385] HE: init_cmrm: 448. Initialize [0x0 -> 0x41e300000]'s CMRM
[  230.574631] HE: he_cmd_enable: 483. The hyperenclave is opening.
[  240.645555] [0] Activating hypervisor on CPU 0...
[  240.645557] [1] Activating hypervisor on CPU 1...
[  240.645558] [2] Activating hypervisor on CPU 2...
[  240.645559] [3] Activating hypervisor on CPU 3...
[  240.645560] [4] Activating hypervisor on CPU 4...
[  240.645561] [5] Activating hypervisor on CPU 5...
[  240.645561] [6] Activating hypervisor on CPU 6...
[  240.645562] [7] Activating hypervisor on CPU 7...
[  240.645563] [8] Activating hypervisor on CPU 8...
[  240.645564] [9] Activating hypervisor on CPU 9...
[  240.645564] [10] Init HHBox log feature ok
[  240.645565] [10] Init HHBox crash feature ok
[  240.645565] [10] tpm_detect starting....
[  240.645565] [10] fake tpm is detected and initialized
[  240.645566] [10] FAKE TPM: tpm signing key pub x
[  240.645566] [10] C29974C9F1090FA4A10E9990620E91828B593A7211E2468450E3DC96DD5933FB
[  240.645567] [10] size= :0x20
[  240.645567] [10] FAKE TPM: tpm signing key pub y
[  240.645568] [10] 402206ECCC5479289F33668EAAB85527ABBBB9F7B41CEB71551027D57AF28267
[  240.645568] [10] size= :0x20
[  240.645568] [10] FAKE TPM: root secret is generated and sealed
[  240.645569] [10] FAKE TPM: hypervisor AK pub x=
[  240.645569] [10] 3D9BB7BA028C5F97AC5AB1619336D9ED23E86858DDBDC23B510D5F0EBA8FF338
[  240.645569] [10] size= :0x20
[  240.645570] [10] FAKE TPM: hypervisor AK pub y=
[  240.645570] [10] 0B28428BDA30B2800FCB032ABCED81071B5F0DCB1A02B22AFF56B7DD22E52522
[  240.645571] [10] size= :0x20
[  240.645571] [10] FAKE TPM: hash of he_ak_pub extended to PCR 13:
[  240.645571] [10] AAA056CA1F030B7BD6C4089C2AEEC36D01173B46E0FD2B4C1BD2C14649B66539
[  240.645572] [10] size= :0x20
[  240.645572] [10] HyperEnclave: root of trust initialized!
[  240.645572] [10] Activating hypervisor on CPU 10...
[  240.645573] [11] Activating hypervisor on CPU 11...
[  240.645574] [12] Activating hypervisor on CPU 12...
[  240.645575] [13] Activating hypervisor on CPU 13...
[  240.645575] [14] Activating hypervisor on CPU 14...
[  240.645576] [15] Activating hypervisor on CPU 15...
[  254.042706] general protection fault: 0000 [#1] SMP NOPTI
[  254.042715] CPU: 0 PID: 1595 Comm: upowerd Tainted: G           OE     5.4.0-050400-generic #201911242031
[  254.042717] Hardware name: HONOR GLO-NX6/GLO-NX6-PCB, BIOS 1.10 06/13/2023
[  254.042724] RIP: 0010:acpi_ex_system_memory_space_handler+0x239/0x2b5
[  254.042728] Code: 02 00 00 00 00 41 83 fc 20 74 25 77 12 41 83 fc 08 74 17 41 83 fc 10 75 58 41 0f b7 06 eb 14 41 83 fc 40 75 4c 49 8b 06 eb 09 <41> 0f b6 06 eb 03 41 8b 06 49 89 02 eb 3c 41 83 fc 20 74 2d 77 15
[  254.042730] RSP: 0018:ffffbbb7c231f8a8 EFLAGS: 00010246
[  254.042733] RAX: ffffbbb7c03f937e RBX: 00000000fe80037e RCX: 0000000000000080
[  254.042734] RDX: 00000000fe800400 RSI: 00000000000000f4 RDI: 0000000000000033
[  254.042735] RBP: ffffbbb7c231f8d8 R08: 0000000000000000 R09: ffff9e4ccfa56b00
[  254.042736] R10: ffffbbb7c231fa08 R11: ffff9e4cc9c95038 R12: 0000000000000008
[  254.042737] R13: 0000000000000000 R14: ffffbbb7c03f937e R15: ffff9e4ccfa027e0
[  254.042739] FS:  00007f90743d1080(0000) GS:ffff9e4cd2400000(0000) knlGS:0000000000000000
[  254.042740] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  254.042742] CR2: 00007fc1bd15a9dc CR3: 00000003da4fa000 CR4: 0000000000740ef0
[  254.042743] PKRU: 55555554
[  254.042744] Call Trace:
[  254.042751]  acpi_ev_address_space_dispatch+0x2f7/0x39f
[  254.042754]  ? acpi_ex_prep_field_value+0x513/0x513
[  254.042756]  acpi_ex_access_region+0x454/0x4ed
[  254.042759]  acpi_ex_field_datum_io+0x18a/0x42d
[  254.042762]  acpi_ex_extract_from_field+0xff/0x320
[  254.042764]  ? acpi_ev_acquire_global_lock+0x1de/0x1e6
[  254.042767]  ? acpi_ex_acquire_mutex_object+0x115/0x11f
[  254.042769]  acpi_ex_read_data_from_field+0x30f/0x361
[  254.042771]  acpi_ex_resolve_node_to_value+0x3a7/0x4dd
[  254.042773]  acpi_ex_resolve_to_value+0x3c3/0x472
[  254.042776]  acpi_ds_evaluate_name_path+0xb1/0x169
[  254.042779]  ? acpi_db_single_step+0x1f/0x252
[  254.042781]  acpi_ds_exec_end_op+0x118/0x76b
[  254.042784]  acpi_ps_parse_loop+0x84b/0x920
[  254.042786]  acpi_ps_parse_aml+0x1af/0x550
[  254.042789]  acpi_ps_execute_method+0x208/0x2ca
[  254.042791]  acpi_ns_evaluate+0x34e/0x4f0
[  254.042793]  acpi_evaluate_object+0x18e/0x3b4
[  254.042796]  acpi_battery_get_state+0x94/0x220
[  254.042798]  acpi_battery_get_property+0x4f/0x3e2
[  254.042803]  power_supply_get_property.part.0+0x15/0x20
[  254.042805]  power_supply_get_property+0x18/0x30
[  254.042807]  power_supply_show_property+0x9d/0x300
[  254.042811]  dev_attr_show+0x1d/0x40
[  254.042815]  sysfs_kf_seq_show+0xa1/0x100
[  254.042817]  kernfs_seq_show+0x27/0x30
[  254.042820]  seq_read+0xdc/0x430
[  254.042822]  kernfs_fop_read+0x35/0x190
[  254.042826]  __vfs_read+0x1b/0x40
[  254.042828]  vfs_read+0xab/0x160
[  254.042830]  ksys_read+0x67/0xe0
[  254.042832]  __x64_sys_read+0x1a/0x20
[  254.042836]  do_syscall_64+0x57/0x190
[  254.042841]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  254.042843] RIP: 0033:0x7f9074f4b3cc
[  254.042846] Code: ec 28 48 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 89 fc ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 30 44 89 c7 48 89 44 24 08 e8 bf fc ff ff 48
[  254.042848] RSP: 002b:00007ffcd424da40 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
[  254.042850] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9074f4b3cc
[  254.042851] RDX: 0000000000001000 RSI: 000055ab9cd11f00 RDI: 000000000000000a
[  254.042852] RBP: 000055ab9ccdbb30 R08: 0000000000000000 R09: 0000000000001000
[  254.042853] R10: 000055ab9cc56010 R11: 0000000000000246 R12: 00007ffcd424db70
[  254.042854] R13: 0000000000000000 R14: 0000000000000000 R15: 000000000000000a
[  254.042856] Modules linked in: sm3_generic hyper_enclave(OE) rfcomm xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c xt_addrtype iptable_filter bpfilter br_netfilter bridge stp llc ccm cmac algif_hash algif_skcipher af_alg overlay bnep kvm_amd ccp joydev kvm irqbypass snd_hda_codec_generic snd_hda_codec_hdmi nls_iso8859_1 snd_hda_intel snd_intel_nhlt rt2800usb snd_hda_codec rt2x00usb rt2800lib snd_hda_core rt2x00lib snd_hwdep crct10dif_pclmul uvcvideo videobuf2_vmalloc ghash_clmulni_intel snd_pcm mac80211 videobuf2_memops videobuf2_v4l2 btusb videobuf2_common btrtl btbcm snd_seq_midi btintel snd_seq_midi_event bluetooth snd_rawmidi cfg80211 aesni_intel snd_seq videodev huawei_wmi crypto_simd snd_seq_device cryptd ecdh_generic ledtrig_audio glue_helper snd_timer mc hid_multitouch libarc4 input_leds ecc sparse_keymap serio_raw wmi_bmof snd soundcore snd_pci_acp3x mac_hid acpi_tad sch_fq_codel
[  254.042902]  parport_pc ppdev lp parport ramoops drm reed_solomon efi_pstore ip_tables x_tables autofs4 hid_generic crc32_pclmul nvme i2c_piix4 nvme_core wmi video i2c_hid hid
[  254.042917] ---[ end trace 174b1af698bdf677 ]---
[  257.158924] RIP: 0010:acpi_ex_system_memory_space_handler+0x239/0x2b5
[  257.158932] Code: 02 00 00 00 00 41 83 fc 20 74 25 77 12 41 83 fc 08 74 17 41 83 fc 10 75 58 41 0f b7 06 eb 14 41 83 fc 40 75 4c 49 8b 06 eb 09 <41> 0f b6 06 eb 03 41 8b 06 49 89 02 eb 3c 41 83 fc 20 74 2d 77 15
[  257.158935] RSP: 0018:ffffbbb7c231f8a8 EFLAGS: 00010246
[  257.158938] RAX: ffffbbb7c03f937e RBX: 00000000fe80037e RCX: 0000000000000080
[  257.158940] RDX: 00000000fe800400 RSI: 00000000000000f4 RDI: 0000000000000033
[  257.158941] RBP: ffffbbb7c231f8d8 R08: 0000000000000000 R09: ffff9e4ccfa56b00
[  257.158942] R10: ffffbbb7c231fa08 R11: ffff9e4cc9c95038 R12: 0000000000000008
[  257.158943] R13: 0000000000000000 R14: ffffbbb7c03f937e R15: ffff9e4ccfa027e0
[  257.158945] FS:  00007f90743d1080(0000) GS:ffff9e4cd2400000(0000) knlGS:0000000000000000
[  257.158947] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  257.158948] CR2: 00007fc1bd15a9dc CR3: 00000003da4fa000 CR4: 0000000000740ef0
[  257.158949] PKRU: 55555554
[  261.125550] [0] [WARN][0] #VMEXIT(NPF) @ NptViolationInfo {
[  261.125551]     guest_paddr: 0xfe80037e,
[  261.125552]     present: false,
[  261.125552]     write: false,
[  261.125552]     user_mode: true,
[  261.125553]     reserved_bits_used: false,
[  261.125553]     execute: false,
[  261.125554]     shadow_stack_access: false,
[  261.125554]     final_translation: true,
[  261.125554] } RIP(0xffffffff9cbf91e5)
[  261.125555] [0] [WARN][0] #VMEXIT handler returned Err([src/arch/x86_64/amd/vmexit.rs:167:9] Function not implemented):
[  261.125555] VmExitInfo {
[  261.125556]     exit_code: Ok(
[  261.125556]         NPF,
[  261.125556]     ),
[  261.125557]     exit_info_1: 0x100000004,
[  261.125557]     exit_info_2: 0xfe80037e,
[  261.125558]     guest_rip: 0xffffffff9cbf91e5,
[  261.125558] }

[  261.125558] Guest State Dump:
[  261.125559] Vcpu {
[  261.125559]     guest_regs: GuestRegisters {
[  261.125559]         rax: 0xffffbbb7c03f937e,
[  261.125560]         rcx: 0x80,
[  261.125560]         rdx: 0xfe800400,
[  261.125560]         rbx: 0xfe80037e,
[  261.125561]         _unused_rsp: 0x0,
[  261.125561]         rbp: 0xffffbbb7c231f8d8,
[  261.125561]         rsi: 0xf4,
[  261.125562]         rdi: 0x33,
[  261.125562]         r8: 0x0,
[  261.125562]         r9: 0xffff9e4ccfa56b00,
[  261.125563]         r10: 0xffffbbb7c231fa08,
[  261.125563]         r11: 0xffff9e4cc9c95038,
[  261.125563]         r12: 0x8,
[  261.125564]         r13: 0x0,
[  261.125564]         r14: 0xffffbbb7c03f937e,
[  261.125564]         r15: 0xffff9e4ccfa027e0,
[  261.125565]     },
[  261.125565]     rip: 0xffffffff9cbf91e5,
[  261.125565]     rsp: 0xffffbbb7c231f8a8,
[  261.125566]     rflags: INTERRUPT_FLAG | ZERO_FLAG | PARITY_FLAG | 0x0x2,
[  261.125566]     cr0: PROTECTED_MODE_ENABLE | MONITOR_COPROCESSOR | NUMERIC_ERROR | WRITE_PROTECT | ALIGNMENT_MASK | PAGING | 0x0x10,
[  261.125567]     cr3: 0x3da4fa000,
[  261.125568]     cr4: PAGE_SIZE_EXTENSION | PHYSICAL_ADDRESS_EXTENSION | MACHINE_CHECK_EXCEPTION | PAGE_GLOBAL | OSFXSR | OSXMMEXCPT_ENABLE | USER_MODE_INSTRUCTION_PREVENTION | OSXSAVE | SUPERVISOR_MODE_EXECUTION_PROTECTION | SUPERVISOR_MODE_ACCESS_PREVENTION | PROTECTION_KEY,
[  261.125568]     cs: VmcbSegment {
[  261.125569]         selector: 0x10,
[  261.125569]         attr: 0x29b,
[  261.125569]         limit: 0xffffffff,
[  261.125570]         base: 0x0,
[  261.125570]     },
[  261.125570] }
[  261.125571] [0] [ERROR][0] Failed to handle VM exit, inject fault to guest...
[  261.125571] [src/arch/x86_64/amd/vmexit.rs:167:9] Function not implemented
[  261.125572] [0] [WARN][0] VCPU fault: PerCpu {
[  261.125572]     cpu_id: 0x0,
[  261.125572]     state: HvEnabled,
[  261.125572]     vcpu: Vcpu {
[  261.125573]         guest_regs: GuestRegisters {
[  261.125573]             rax: 0xffffbbb7c03f937e,
[  261.125574]             rcx: 0x80,
[  261.125574]             rdx: 0xfe800400,
[  261.125574]             rbx: 0xfe80037e,
[  261.125575]             _unused_rsp: 0x0,
[  261.125575]             rbp: 0xffffbbb7c231f8d8,
[  261.125575]             rsi: 0xf4,
[  261.125576]             rdi: 0x33,
[  261.125576]             r8: 0x0,
[  261.125576]             r9: 0xffff9e4ccfa56b00,
[  261.125577]             r10: 0xffffbbb7c231fa08,
[  261.125577]             r11: 0xffff9e4cc9c95038,
[  261.125577]             r12: 0x8,
[  261.125578]             r13: 0x0,
[  261.125578]             r14: 0xffffbbb7c03f937e,
[  261.125578]             r15: 0xffff9e4ccfa027e0,
[  261.125579]         },
[  261.125579]         rip: 0xffffffff9cbf91e5,
[  261.125579]         rsp: 0xffffbbb7c231f8a8,
[  261.125580]         rflags: INTERRUPT_FLAG | ZERO_FLAG | PARITY_FLAG | 0x0x2,
[  261.125580]         cr0: PROTECTED_MODE_ENABLE | MONITOR_COPROCESSOR | NUMERIC_ERROR | WRITE_PROTECT | ALIGNMENT_MASK | PAGING | 0x0x10,
[  261.125581]         cr3: 0x3da4fa000,
[  261.125582]         cr4: PAGE_SIZE_EXTENSION | PHYSICAL_ADDRESS_EXTENSION | MACHINE_CHECK_EXCEPTION | PAGE_GLOBAL | OSFXSR | OSXMMEXCPT_ENABLE | USER_MODE_INSTRUCTION_PREVENTION | OSXSAVE | SUPERVISOR_MODE_EXECUTION_PROTECTION | SUPERVISOR_MODE_ACCESS_PREVENTION | PROTECTION_KEY,
[  261.125582]         cs: VmcbSegment {
[  261.125583]             selector: 0x10,
[  261.125583]             attr: 0x29b,
[  261.125583]             limit: 0xffffffff,
[  261.125584]             base: 0x0,
[  261.125584]         },
[  261.125584]     },
[  261.125585]     enclave_thread: Inactive,
[  261.125585] }
[  472.325810] HE: he_cmd_encl_create: 226. encl: 0xffff9e4cc8094000
[  472.325837] HE: he_cmd_encl_create: 259. encl: 0xffff9e4cc8094000, encl.start_gva=0x7fd49ec15000, encl_size: 0x1000000
[  472.427682] HE: shared_memory_destroy: 327. mmu_notifier_unregister
[  472.428057] HE: he_encl_cleanup: 966. nr_free_epc_page: 0x80000, encl: 0xffff9e4cc8094000
[  875.504580] HE: he_cmd_encl_create: 226. encl: 0xffff9e4c120e4000
[  875.504594] HE: he_cmd_encl_create: 259. encl: 0xffff9e4c120e4000, encl.start_gva=0x7fb9a4f4e000, encl_size: 0x200000000
[  917.053466] HE: shared_memory_destroy: 327. mmu_notifier_unregister
[  917.094283] HE: he_encl_cleanup: 966. nr_free_epc_page: 0x80000, encl: 0xffff9e4c120e4000
[ 1097.502777] HE: he_cmd_encl_create: 226. encl: 0xffff9e4c1a218000
[ 1097.502792] HE: he_cmd_encl_create: 259. encl: 0xffff9e4c1a218000, encl.start_gva=0x7f7a57d3e000, encl_size: 0x200000000
[ 1115.746853] HE: shared_memory_destroy: 327. mmu_notifier_unregister
[ 1115.788011] HE: he_encl_cleanup: 966. nr_free_epc_page: 0x80000, encl: 0xffff9e4c1a218000

It seems the normal vm access the memory with no npt mapping and then trigger the general protection fault.
Please provide the physical memory layout of your machine with the following command：
sudo cat /proc/iomem

Thanks.

Thank u 4 u reply~
The physical memory layout is shown below.
00000000-00000fff : Reserved
00001000-0009efff : System RAM
0009f000-000bffff : Reserved
  000a0000-000bffff : PCI Bus 0000:00
000c0000-000c3fff : PCI Bus 0000:00
000c4000-000c7fff : PCI Bus 0000:00
000c8000-000cbfff : PCI Bus 0000:00
000cc000-000cffff : PCI Bus 0000:00
000d0000-000d3fff : PCI Bus 0000:00
000d4000-000d7fff : PCI Bus 0000:00
000d8000-000dbfff : PCI Bus 0000:00
000dc000-000dffff : PCI Bus 0000:00
000e0000-000e3fff : PCI Bus 0000:00
000e4000-000e7fff : PCI Bus 0000:00
000e8000-000ebfff : PCI Bus 0000:00
000ec000-000effff : PCI Bus 0000:00
000f0000-000fffff : System ROM
00100000-09afffff : System RAM
09b00000-09dfffff : Reserved
09e00000-09efffff : System RAM
09f00000-09f27fff : ACPI Non-volatile Storage
09f28000-a07fefff : System RAM
a07ff000-a07fffff : Reserved
a0800000-a0d1c017 : System RAM
a0d1c018-a0d26e57 : System RAM
a0d26e58-a2363fff : System RAM
a2364000-a4563fff : Reserved
a4564000-a456cfff : System RAM
a456d000-a456ffff : Reserved
a4570000-b077efff : System RAM
b077f000-b2f7efff : Reserved
  b1677000-b16c1fff : AMDI0100:00
  b2ed2000-b2ed5fff : MSFT0101:00
    b2ed2000-b2ed5fff : MSFT0101:00
  b2ed6000-b2ed9fff : MSFT0101:00
    b2ed6000-b2ed9fff : MSFT0101:00
b2f7f000-baf7efff : ACPI Non-volatile Storage
baf7f000-baffefff : ACPI Tables
bafff000-baffffff : System RAM
bb000000-bbffffff : Reserved
bce00000-bfffffff : Reserved
c0000000-dfffffff : PCI Bus 0000:00
  c0000000-c01fffff : PCI Bus 0000:01
    c0000000-c01fffff : 0000:01:00.0
  c0200000-c04fffff : PCI Bus 0000:04
    c0200000-c02fffff : 0000:04:00.0
      c0200000-c02fffff : xhci-hcd
    c0300000-c03fffff : 0000:04:00.3
      c0300000-c03fffff : xhci-hcd
    c0400000-c04fffff : 0000:04:00.4
      c0400000-c04fffff : xhci-hcd
  c0500000-c08fffff : PCI Bus 0000:03
    c0500000-c05fffff : 0000:03:00.3
      c0500000-c05fffff : xhci-hcd
    c0600000-c06fffff : 0000:03:00.4
      c0600000-c06fffff : xhci-hcd
    c0700000-c07fffff : 0000:03:00.2
    c0800000-c087ffff : 0000:03:00.0
    c0880000-c08bffff : 0000:03:00.5
    c08c0000-c08c7fff : 0000:03:00.6
      c08c0000-c08c7fff : ICH HD audio
    c08c8000-c08cbfff : 0000:03:00.1
      c08c8000-c08cbfff : ICH HD audio
    c08cc000-c08cdfff : 0000:03:00.2
  c0900000-c09fffff : PCI Bus 0000:02
    c0900000-c0903fff : 0000:02:00.0
      c0900000-c0903fff : nvme
f0000000-fdc00000 : PCI Bus 0000:00
fde00000-fdefffff : Reserved
  fde00000-fdefffff : pnp 00:00
    fde10510-fde1053f : MSFT0101:00
fec00000-fec003ff : IOAPIC 0
fec01000-fec013ff : IOAPIC 1
fed00000-fed003ff : HPET 0
  fed00000-fed003ff : PNP0103:00
fed45000-fed814ff : PCI Bus 0000:00
  fed80000-fed80fff : Reserved
fed81500-fed818ff : AMDI0030:00
fed81900-fed81fff : PCI Bus 0000:00
fedc0000-fedc0fff : PCI Bus 0000:00
fedc2000-fedc2fff : AMDI0010:00
  fedc2000-fedc2fff : AMDI0010:00
fedc6000-fedc6fff : PCI Bus 0000:00
fee00000-fee00fff : Local APIC
  fee00000-fee00fff : pnp 00:00
ff000000-1ffffffff : Reserved
200000000-41e2fffff : System RAM
  2cfe00000-2d0c00e90 : Kernel code
  2d0c00e91-2d1655dff : Kernel data
  2d1913000-2d1dfffff : Kernel bss
41e300000-41f33ffff : RAM buffer
41f340000-4601fffff : Reserved
460200000-7effffffff : PCI Bus 0000:00
  7ee0000000-7ef01fffff : PCI Bus 0000:03
    7ee0000000-7eefffffff : 0000:03:00.0
      7ee0000000-7ee0bf3fff : efifb
    7ef0000000-7ef01fffff : 0000:03:00.0

BTW: I am running hyperenclave in a machine with dual system, I don't know whether this might have some impact on the result especially for the crash, though it sounds so bizarre.
Looking forward to your reply~

The physical memory 0xfe800400 accessed by the power management is not in the e820 table. It may be the bios bug, i suggest you check if there is newer bios and upgrade the bios to the latest version.

Thank u for u reply! So maybe there is something wrong with the bios of my HONOR magicbook 14. LMAO.

Besides, the fault only occur when start hyperenclave, right?

Yes. The bug only occur when I start Hyperenclave.

Hi Unik-lif, about the crash issue, we propose another solution, which is to add mappings for the accessed memory not in the e820 table.

Hi Unik-lif,
about the crash issue, we propose another solution, which is to add mappings for the accessed memory not in the e820 table. You can use the hyperenclave patch 0001-Support-handling-NPF-for-linux-vm.patch to confirm if the patch solves the issue. Looking forward to your test result.
Thanks

Ok, recently I am bit of busy. so long as I got some spare time, I will reply as soon as possible.

Hi @Unik-lif ,
This repository has been archived, and moved to a new location: https://github.com/asterinas/hyperenclave.
If you still have such issue, please copy it there: https://github.com/asterinas/hyperenclave/issues and discuss there.

source: gharchive/issue

authors: Bonjourz Unik-lif cz-chenzhou

repo: HyperEnclave/hyperenclave

license_type: permissive

license_source: github-api


text:
Infrequent NoSuchMethodError

I'm running MC 1.16.2 and eldritch-mobs-1.3.1 and things will seem to be running OK and I do get "eldritch" mobs spawning... but every once in a while I get a crash like this:
java.lang.NoSuchMethodError: net.minecraft.class_1299.method_5899(Lnet/minecraft/class_1937;Lnet/minecraft/class_2487;Lnet/minecraft/class_2561;Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;Lnet/minecraft/class_3730;ZZ)Lnet/minecraft/class_1297;
	at net.hyper_pigeon.eldritch_mobs.mod_components.modifiers.DuplicatorComponent.useAbility(DuplicatorComponent.java:27)
	at net.hyper_pigeon.eldritch_mobs.mod_components.modifiers.ModifierComponent.useAbility(ModifierComponent.java:259)
	at net.hyper_pigeon.eldritch_mobs.EldritchMobsMod.useAbility(EldritchMobsMod.java:37)
	at net.minecraft.class_1308.handler$zfk000$ability_try(class_1308.java:1827)
	at net.minecraft.class_1308.method_5773(class_1308.java)
	at net.minecraft.class_3218.method_18762(class_3218.java:616)
	at net.minecraft.class_1937.method_18472(class_1937.java:561)
	at net.minecraft.class_3218.method_18765(class_3218.java:406)
	at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:868)
	at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:808)
	at net.minecraft.class_1132.method_3748(class_1132.java:92)
	at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:667)
	at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:254)
	at java.lang.Thread.run(Unknown Source)

Not really sure what is the cause. If there's more information you need, just let me know. I'm using fabric-api-0.18.0+build.397-1.16 and Cardinal-Components-API-2.5.0 if that matters.

Eldritch Mobs has not been updated to 1.16.2 yet, this is most likely the cause of the crash.

Ah okay you're probably right. I disabled the Duplicator in the config and haven't had any crashes since. It does seem to generally work thankfully, though I haven't verified every single feature actually functions as expected. Sorry for opening on an unsupported version!

authors: HyperPigeon nephatrine

repo: HyperPigeon/Eldritch-Mobs

license: MIT


text:
revolution3 - 타이틀 화면, 옵션 화면, 그리고 출력 화면의 UI 개선

기존에 개선된 부분에선 아직 문장들의 정렬이 이루어져 있지 않고, 출력 구간 사이의 구분이 없었기 때문에 게임이 진행될 때 읽기 어렵다는 문제가 있었다.
이를 해결하기 위해 페이지의 전환이 있을 때(타이틀 화면에서 옵션 메뉴로 넘어갈 때) 구분선을 출력하는 printRow 함수를 추가하였으며, 맥락이 맞지 않는 문자의 변경이 이루어졌다.

merge 찬성합니다

source: gharchive/pull-request


text:
Not Working

The bot no longer works it guesses the image's filename which is now just a random mess of letters and numbers i.e. : p!catch UcdyiCKAZMY instead of : p!catch vullaby

Yes pretty much. So the selfbot's autocatcher mode is down for now.
You can continue using the other features of the bot. More improvements and new features coming soon.
Stay tuned.


text:
add spotify

I've added a spotify status plugin:

Close this in favor of #90

repo: Hyperline/hyperline

license: mit

license_source: bigquery


text:
Upgrade pip packages

Fixes #3127
Upgrade following pip packages:
Production requirements

Sentry = 1.9.5 - 1.14.0
Babel = 2.9.1 - 2.11.0
boto3 = 1.26.27 - 1.26.57
celery = 5.2.2 - 5.2.7
django-anymail = 8.4 - 9.0
django-bleach = 3.0.0 - 3.0.1
django-countries = 7.2.1 - 7.5
django-extensions = 3.1.5 - 3.2.1
django-file-form = 3.4.1 - 3.4.3
django-fsm = 2.8.0 - 2.8.1
django-hijack = 3.1.4 - 3.2.6
django-redis = 5.1.0 - 5.2.0
django-salesforce = 4.0 - 4.1
django-select2 = 7.9.0 - 8.0
django-slack = 5.17.7 - 5.18.0
django-storages = 1.12.3 - 1.13.2
django-tables2 = 2.4.1 - 2.5.1
django-tinymce = 3.4.0 - 3.5.0
djangorestframework-api-key = 2.2.0 - 2.3.0
djangorestframework = 3.12.4 - 3.14.0
drf-yasg = 1.20.0 - 1.21.4
mailchimp3 = 3.0.16 - 3.0.17
mistune = 2.0.3 - 2.0.4
more-itertools = 8.12.0 - 9.0.0
phonenumberslite = 8.12.39 - 8.13.4
Pillow = 9.3.0 - 9.4.0
tablib = 3.2.1 - 3.3.0
xmltodict = 0.12.0 - 0.13.0
Dev requirements
django-debug-toolbar = 3.6.0 - 3.8.1
dslr = 0.3.1 - 0.4.0
ruff = 0.0.206 - 0.0.236
model-bakery = 1.7.0 - 1.10.1
pytest-xdist[psutil] = 2.5.0 - 3.1.0
responses = 0.21.0 - 0.22.0

Overall looks good to me, most of these are minor/patch releases.
We can try to upgrade Django once wagtail 4 (https://github.com/HyphaApp/hypha/pull/3045 ) is merged.

repo: HyphaApp/hypha


text:
🛑 I-GUIDE JupyterHub Platform is down

In 3975299, I-GUIDE JupyterHub Platform (https://jupyter.iguide.illinois.edu/hub/login) was down:

HTTP code: 0
Response time: 0 ms

Resolved: I-GUIDE JupyterHub Platform is back up in ce12f89 after 28 minutes.

repo: I-GUIDE/Status-Monitoring-with-Upptime


text:
Doesn't work

Whenever i try to put my discord token in, it says the syntax is wrong

Hello @jangodev,
Which software are you referring to? :D


text:
horizon find and cartesian grid dump

dumping data on Cartesian grid with application to horizon finder

I am not sure why we would want to convert the tracker list to a list of pointers, which is what is being done here.

I mainly want to use the std::vector because of the easiness of accessing the elements. For the std::list I need an iterator making it more lengthy to pass the position of puncture into the horizon dump object.

repo: IAS-Astrophysics/athenak


text:
Links not Working

Description
Here the links to Twitter and Facebook are not Working and are redirecting us to the same page.

Hey @IAmTamal  can you please assign this issue to me, I would love to fix it for HACKTOBERFEST.
Screenshots
No response
Additional information
No response

It's great having you contribute to Milan ! This is an auto-generated textThe maintainers/owner will look into the issue soon, add relevant tags and proceed further, please have paitence. Meanwhile feel free to support star the repo and share it with your friends. :nerd_face: :rocket:

A good issue , i want you do the following changes in that case  :

Link Twitter to https://twitter.com/mrTamall
Remove Facebook and GitHub which links to this repo
Change their colors to #9ac2fe

Hey @IAmTamal  can you assign to me also?

Hey @IAmTamal can you assign to me also?

@Himanshi2511 can u please find some other issues  I have already made corrections and sent PR

repo: IAmTamal/Milan


text:
Updated to Swift 4.0.2

Removed character reference and replaced with String(describing:). Updated Travis to Xcode 9.1, however this may not come with Swift 4.0.2.
The current beta of Xcode is 9.2 beta 1, which Travis can't use for testing as its pre-release, and I have a suspicion this version of Xcode comes with 4.0.2. Linux build should grab 4.0.2 because of the .swift-version update.
Compiles on my Mac on Swift 4.0.2.

Codecov Report

Merging #64 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #64   +/-   ##
=======================================
  Coverage   90.09%   90.09%
=======================================
  Files           6        6
  Lines         323      323
=======================================
  Hits          291      291
  Misses         32       32

Flag
Coverage Δ

#CloudFoundryEnv
90.09% <100%> (ø)
:arrow_up:

Impacted Files
Coverage Δ

Sources/CloudFoundryEnv/AppEnv.swift
91.8% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b58de4a...431d87c. Read the comment docs.

repo: IBM-Swift/Swift-cfenv


text:
Review logging due to flagged security reviews.

Review: https://sonarcloud.io/project/security_hotspots?id=compliance-trestle&hotspots=AXxeNG6mGpm9WPPYPiGO

Done

repo: IBM/compliance-trestle


text:
Update operand version for 3.19.7 and updated go version to 1.18.8

https://github.ibm.com/IBMPrivateCloud/roadmap/issues/55874
https://github.ibm.com/IBMPrivateCloud/roadmap/issues/55268

/lgtm

repo: IBM/ibm-auditlogging-operator


text:
ubi updates

ubi updates
update ubi to latest - 8.3-298
update configmapwatcher tag

/lgtm

repo: IBM/ibm-cert-manager-operator


text:
Guestbook

Preliminary scripts to meetup/presentation that fetches image from registry.ng.bluemix.net/ossdemo/guestbook:v1  and runs the meet up Lab1 and Lab2.

@duglin  please review

LGTM

authors: brahmaroutu duglin


text:
fix: Switching Carbon tabs can cause content to scroll off-viewport

carbon-components-react 7.23.0 (versus 7.22.0) had a few DOM-altering changes:

a -> button for Tab child
[aria-hidden=true] => [hidden]

This required a few changes to CSS rules and test selectors.
Fixes #6014

Description of what you did:

My PR is a:

[ ] 💥 Breaking change
[x] 🐛 Bug fix
[ ] 💅 Enhancement
[ ] 🚀 New feature

Please confirm that your PR fulfills these requirements

[x] Multiple commits are squashed into one commit.
[x] The commit message follows Conventional Commits, which allows us to autogenerate release notes; e.g. fix(plugins/plugin-k8s): fixed annoying bugs
[x] All npm dependencies are pinned.

sigh, carbon 7.23 deprecated Tab props, but itself persisted in using those props.
https://github.com/carbon-design-system/carbon/issues/7237
who knows when that fix will be released...

repo: IBM/kui


text:
chore: move publishing from bintray to maven

PR summary
Bintray support is going away, publishing needs to be done directly to maven
Fixes: <! -- link to issue -->
PR Checklist
Please make sure that your PR fulfills the following requirements:

[ ] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[X ] Build/CI related changes
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

:tada: This PR is included in version 0.16.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

repo: IBM/networking-java-sdk


text:
feat: AS-Prepends added to direct link

PR summary
Added Gateway AS Prepends endpoints to SDK,

List AS prepends
Replace existing AS prepends

Fixes:
PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[ ] Build/CI related changes
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

:tada: This PR is included in version 0.20.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

authors: MadhavanPillai MalarvizhiK

repo: IBM/networking-python-sdk


text:
New Data Science Experience accounts do not include object storage or spark services

The  Create the Project step within Create the notebook needs to add steps for adding a storage instance and spark instance as the current flow when creating a DSX account no longer creates the DSX-ObjectStorage and DSX-Spark services in the user's cloud account.

this is all changed with the new watson studio service, see latest readme

authors: stevemart timroster

repo: IBM/pixiedust-traffic-analysis


text:
PEP 8 naming

I'm very surprised to see a new Python API which doesn't follow PEP 8 naming conventions with, for example, runExperiment instead of run_experiment.

Yes, you are right @rob-smallshire , we will adapt the next version to PEP 8 :). Sorry for the inconvenience.

authors: pacomf rob-smallshire

repo: IBM/qiskit-api-py


text:
add support for httpfs

Signed-off-by: CDORON@il.ibm.com cdoron@lnx-arrow.sl.cloud9.ibm.com
Hi Roee,
I accidentally found a way to support httpfs.
Please review and check whether we want this support in the-mesh-for-data-flight-module.
Thanks!

httpfs seems like a 1 person project with zero adoption. Not saying that we can't use it but we need a requirement here and I'm not sure that we have one.
Also, technically, can you explain how this works? I don't see implementation of any of the FSSpecHandler methods in HttpFs or fs.base.FS

Looking around it seems like pyarrow is compatible with fsspec. See http://arrow.apache.org/docs/python/filesystems.html#using-fsspec-compatible-filesystems.
fsspec has an HTTPFileSystem implementation so you can use it instead (note that it also requires the aiohttp package):
from fsspec.implementations.http import HTTPFileSystem

I tried working with the fsspec HTTPFileSystem implementation.
I got the following error:
Traceback (most recent call last):
  File "sample/sample.py", line 39, in <module>
    main(args.port, args.repeat)
  File "sample/sample.py", line 22, in main
    info = client.get_flight_info(
  File "pyarrow/_flight.pyx", line 1237, in pyarrow._flight.FlightClient.get_flight_info
  File "pyarrow/_flight.pyx", line 80, in pyarrow._flight.check_flight_status
  File "pyarrow/error.pxi", line 84, in pyarrow.lib.check_status
pyarrow.lib.ArrowInvalid: 'utf-8' codec can't decode byte 0x86 in position 38: invalid start byte. Detail: Python exception: UnicodeDecodeError

It appears that fsspec HTTPFileSystem is not a friend of the parquet format. I could only get it to work when I applied the following patch to fsspec/implementations/http.py
https://github.com/intake/intake-parquet/issues/18#issuecomment-687394384

repo: IBM/the-mesh-for-data-flight-module


text:
japanese_llama system prompt name typo

unitxt/prepare/system_prompts/models/japanese_llama.py has a typo in its ID string (line 10):
Current: "system_prompt.models.japanese_llama"
Should be: "system_prompts.models.japanese_llama"

Fixed in PR #1056

repo: IBM/unitxt


text:
Check if unitxt_pkg is None

When using HuggingFace APIs to load datasets and metrics, the unitxt_pkg is None. Check it before accessing its properties. The current code breaks the installation approach documented here: https://www.unitxt.ai/en/latest/docs/lm_eval.html#installation.

Thank you @yhwang.
TrustyAI's LMEval is being affected by this https://github.com/trustyai-explainability/trustyai-service-operator/issues/367

Thanks @yhwang .  The test fails because the submission was from a fork and not branch, so I copied it to a branch in  #1387 and merged.

Thanks!

authors: ruivieira yhwang yoavkatz


text:
Home page title.

The initial home page announces
Repository for computational datasets generated on the Imperial College High Performance Computing Service resources.
General practise with this repository has resulted in a lot of instrumental data being deposited, data which was  NOT created using the  HPC resources.
Can a more general title that reflects this be considered?

That text is now changed to remove reference to  HPC.  Better page content will follow as part of overarching RCS web improvements

authors: hrzepa mj-harvey

repo: ICHPC/hpc-repo


text:
Chore: update cors origins

Update list of domains supported in cross-origin requests.
Default to allow all origins, as providing a specific list of just those known would still be very permissive (localhost:4200, *.vercel.app, *.picsa.app) so unlikely to achieve much

accidentally built on #21, rebase onto #23

repo: IDEMSInternational/epicsa-climate-api


text:
数据集下载问题

您好，CBDNet-tensorflow的model和dataset能否以其他方式上传，实在是打不开下载链接（登录微软账号之后显示“不成功很抱歉，在 zjueducn-my.sharepoint.com 目录中找不到cyl964156631@hotmail.com(我的微软账户)”），万分感谢~~

我建议你再尝试下。
我空闲时会上传到其他网盘（大概是baidu和mega），几天内吧。

好的，非常感谢，我再尝试一下
---原始邮件---
发件人: "IDKiro"notifications@github.com
发送时间: 2019年6月3日 00:11:21
收件人: "IDKiro/CBDNet-tensorflow"CBDNet-tensorflow@noreply.github.com;
抄送: "CYL0089"964156631@qq.com;"Author"author@noreply.github.com;
主题: Re: [IDKiro/CBDNet-tensorflow] 数据集下载问题 (#4)
我建议你再尝试下。
我空闲时会上传到其他网盘（大概是baidu和mega），几天内吧。
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Have you upload the dataset.zip to other platform yet? @IDKiro
I failed to download through your "dataset.zip" link all the time.

Have you upload the dataset.zip to other platform yet? @IDKiro
I failed to download through your "dataset.zip" link all the time.

i'm sorry that i delete the extra link since the model has little changed and forget to re-add it. now you can see the other download link.

Much thx for your quick reply. ^_^ @IDKiro

repo: IDKiro/CBDNet-tensorflow


text:
java.lang.ArrayIndexOutOfBoundsException: 4096

I'm getting the following error during ePub validation (using v4.0.2):
$: java -jar epubcheck.jar Selbststandig\ machen\ -\ sevDesk\ Lexikon.epub
Verwendung der EPUB 2.0.1 Prüfungen
java.lang.ArrayIndexOutOfBoundsException: 4096
	at com.sun.imageio.plugins.gif.GIFImageReader.read(GIFImageReader.java:984)
	at javax.imageio.ImageIO.read(ImageIO.java:1448)
	at javax.imageio.ImageIO.read(ImageIO.java:1308)
	at com.adobe.epubcheck.bitmap.BitmapChecker.getImageSizes(BitmapChecker.java:145)
	at com.adobe.epubcheck.bitmap.BitmapChecker.checkImageDimensions(BitmapChecker.java:269)
	at com.adobe.epubcheck.bitmap.BitmapChecker.runChecks(BitmapChecker.java:321)
	at com.adobe.epubcheck.opf.OPFChecker.checkItemContent(OPFChecker.java:423)
	at com.adobe.epubcheck.opf.OPFChecker.runChecks(OPFChecker.java:157)
	at com.adobe.epubcheck.ocf.OCFChecker.runChecks(OCFChecker.java:300)
	at com.adobe.epubcheck.api.EpubCheck.doValidate(EpubCheck.java:215)
	at com.adobe.epubcheck.tool.EpubChecker.validateFile(EpubChecker.java:161)
	at com.adobe.epubcheck.tool.EpubChecker.processFile(EpubChecker.java:495)
	at com.adobe.epubcheck.tool.EpubChecker.run(EpubChecker.java:255)
	at com.adobe.epubcheck.tool.Checker.main(Checker.java:31)
EpubCheck abgeschlossen

This seems to happen when checking GIF files.
Can you narrow down the problem to a single GIF image and attach this file or a demo epub file containing this GIF?

Still waiting for feedback...

Can you narrow down the problem to a single GIF image and attach this file or a demo epub file containing this GIF?

Hi tofi86,
You can check attachment file which also produces the same error.

Thanks for the demo data, we'll take a look!

@tofi86 sorry for being unresponsive - I was not able to reproduce the issue. @minhductin2 thanks for the demo data!

I can confirm that the error can be reproduced with the above animated GIF.
However, when reading this StackOverflow question I have the impression that there isn't an easy patch for this besides switching the ImageIO GIFImageReader.

repo: IDPF/epubcheck


text:
🛑 IDR (well 469267) is down

In e09a7d5, IDR (well 469267) (https://idr.openmicroscopy.org/webclient/?show=well-469267) was down:

HTTP code: 502
Response time: 219 ms

Resolved: IDR (well 469267) is back up in 7f3c8cb after 26 minutes.

repo: IDR/upptime


text:
Add all the team

We have a team page with a small part of the team there. It would be awesome if we have everyone added to it.

I am intrested in doing it!...can i do this?

yeah okay i'll let you know

The component part still needs to be made, I have hardcoded the rest of the team.

authors: MrGKanev atilapan seabeePraveen

repo: IEEE-Student-Branch-of-Uni-Ruse/website


text:
about checkpoint file

你好，训练好的权重方便分享吗？

你好，训练好的权重方便分享吗？

https://github.com/IIGROUP/MANIQA/releases/tag/PIPAL22-VALID-CKPT

你好，训练的时候，验证loss一直在下降，目前只有第一轮结果是最好的。为什么会出现这个情况啊。

你好，训练的时候，验证loss一直在下降，目前只有第一轮结果是最好的。为什么会出现这个情况啊。

不知道你说的啥意思，能截张图嘛

就是eval_epoch的， SRCC, PLCC值随着epoch增加，值一直在减小。

就是eval_epoch的， SRCC, PLCC值随着epoch增加，值一直在减小。

我还没训练过，感觉他的预训练权重应该就能满足需求了，你用的他说的公开训练集训练嘛，看他的readme，好像就只让训练一轮，也不知道啥原因

就是eval_epoch的， SRCC, PLCC值随着epoch增加，值一直在减小。

我还没训练过，感觉他的预训练权重应该就能满足需求了，你用的他说的公开训练集训练嘛，看他的readme，好像就只让训练一轮，也不知道啥原因

是用的pipal数据集训练的，batch_size改大了也是一样。没说只训练一轮吧。

您好，PIPAL数据集容易出现过拟合问题。我们的比赛经验是，学习率大小和训练epoch数是成反比的，当epoch数过大，会出现较大的drop，这是由于过拟合引起的。所以在训练时我们选择了一个能保证了我们只用训一个epoch就能达到最好的效果的学习率。

repo: IIGROUP/MANIQA


text:
Formatting Update

formatting update
removed renderText from server and replaced with headers
added comments for readability

Thank you! Looks great

authors: jazzy-y yv-h

repo: INDIA-CHARLIE-ECHO-MAN/ODC


text:
🛑 IOGT CLOUD is down

In e1d036a, IOGT CLOUD ($CLOUD_SERVER) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IOGT CLOUD is back up in 0a4c4a1 after 20 minutes.

repo: IOGT/upptime


text:
🛑 IOGT CLOUD is down

In 4c1be12, IOGT CLOUD ($CLOUD_SERVER) was down:

HTTP code: 523
Response time: 3276 ms

Resolved: IOGT CLOUD is back up in d6152c7.


text:
Commenting out CONFIG_KERNEL_NONE = 1 might be switching off the interrupts.

I'm working on a small W806 app (https://github.com/nyh-workshop/w806-i2s) and trying to put a FreeRTOS inside.
From the readme, I need to comment out the "CONFIG_KERNEL_NONE = 1" or else it won't work.
However when I comment out this setting, most of the interrupts are not being called anymore, even the DMA ones.
There is someone also discussing about this here: http://ask.winnermicro.com/question/269.html. There is a possible answer at the bottom of that thread - however my Mandarin is limited and the translation seems to be not working good today.
It could mean to remove the macros, but I'm not sure which one to remove on these files.

I tried the changes in the discussion,

Comment out CONFIG_KERNEL_NONE = 1 in csi_config.h
Edit function SystemInit() in system.c, change it to

void SystemInit(void)
{
    __set_VBR((uint32_t) & (irq_vectors));
    __set_CHR(__get_CHR() | CHR_IAE_Msk);

    /* Clear active and pending IRQ */
    VIC->IABR[0] = 0x0;
    VIC->ICPR[0] = 0xFFFFFFFF;

    __enable_excp_irq();
}

Then the timer interrupts will work.

I am not quite sure about the side effects... I didn't play much with w806 recently. Sure, the macros will be updated when there are more feedback on this change.

Hello, thanks for the assistance. I have written another example code  with this change and so far it is running good. :)

It's really cool~ I will try it when I get a pcm5102.

I played it using a max98357. The music reminds me of the old games, beautiful.

authors: IOsetting nyh-workshop


text:
🛑 Main is down

In 85334c5, Main (https://ipmgroupuk.com) was down:

HTTP code: 403
Response time: 693 ms

Resolved: Main is back up in d465ede after 9 minutes.

repo: IPMGroupLtd/Uptime


text:
Feature/swagger integration

@bellaabdelouahab
I have integrated Swagger docs and added Swagger documentation for the user route. The documentation will be available at the "/docs" route, and you can retrieve it in JSON format at "/docs-json".
Working with YAML data can be a real pain😭😭😭

thank you great job, i'm surprised on how much time that took you

I'm so glad you liked it!
btw while documenting you users route i have seen some security vulnerability, for example in the signup route 'role' is set by the client side.
can i fix that?
@bellaabdelouahab

Sure you can as long a s you provide details about what you do, and I'll gladly review them.

When more people start working on this project, would it be possible for me to join as well? It would be great to contribute and learn from others. Plus, I can include this collaboration experience in my resume.

repo: ISIL-ESTE/Student-Workflow-Organizer


text:
[BE] Add pino as a logger

[ ] Define metrics to be collected for backend events.
[ ] Setup production and development pino log levels
[ ] Store the logs in a .log file, that is ignored on local.

Related: #392

Updating all the controllers and it's tests for the errors to pass through errorMiddleware.

authors: SergiFont kevinmamaqi

repo: IT-Academy-BCN/ita-wiki


text:
🛑 red-circule.com is down

In 64f9cfb, red-circule.com (https://red-circule.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: red-circule.com is back up in a066531.

repo: ITGlobal/upptime


text:
replace digit parsing with subtraction

You can avoid the parse machinery here because the function is examining one decimal digit at a time.  Conveniently, subtracting the character code for '0' from the character code for another digit gives the value of that digit as an integer.

Codecov Report

Merging #76 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #76      +/-   ##
==========================================
- Coverage   93.29%   93.29%   -0.01%
==========================================
  Files          26       26
  Lines        2416     2415       -1
==========================================
- Hits         2254     2253       -1
  Misses        162      162

Impacted Files
Coverage Δ

src/smallstring.jl
91.66% <100%> (-0.23%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 790a6e3...973fb98. Read the comment docs.

authors: JeffreySarnoff codecov-io


text:
fix: spelling typos

Pull Request: Typo Corrections in Portfolio Text
Description:
This PR addresses the following typo issues in the provided text as described in #11.

"experties" corrected to "expertise."
"Massege" corrected to "Message."
"GAT IN TOUCH" changed to "GET IN TOUCH."
"Frond-End" corrected to "Front-End."

Affected Files:

index.html
projects.html
services.html
about.html
pricing.html

Changes Made:

Fixed the specified typos in the affected files.

Issues:
Closes: Issue #11

This new PR was created because my initial PR did not follow the required branch naming convention desired by maintainer.

thankyou @beingsie .
next time wait until you get assigned to the respective issue

thankyou @beingsie . next time wait until you get assigned to the respective issue

Will do, thank you @Iamdivyak 😄

authors: Iamdivyak beingsie

repo: Iamdivyak/portfolio


text:
skipped example. Why?

why is not PorterDuff example for chapter 11 published?

The code that generated the example PorterDuff images from Chapter 11 is remarkably similar to what is built in much more detail in Chapter 12, so I didn't include both versions.


text:
Pass extra params to auth code request

I would like to be able to pass some metadata/context when the Authorization Code is requested.  I can do that with the extra params from the TokenClient.  Thoughts on something like this for passing the params from the native client?

What's the use case for that?

We have a call center WPF app.  Everything is done in the context of a customer.  I want to have the customerId be a claim that is passed to services.

And how does this become a claim when sending it alongside the code request?

By overriding GetAccessTokenClaimsAsync and inspecting values in the request in the IClaimsService.

OK - makes sense.

But I think it needs to be implemented differently. The extraParameters is for the authorize request. We would need an additional one for extra parameters on the back-channel.
You could actually achieve the same today by providing a back-channel handler - just not as elegant.
Are you planning to use LoginAsync or rather the PrepareLogin/ProcessResponse approach?

I think it needs to be implemented differently

Sounds good.

You could actually achieve the same today by providing a back-channel handler - just not as elegant.

We are doing that, but as you said, it isn't very elegant and takes some explaining.

Are you planning to use LoginAsync or rather the PrepareLogin/ProcessResponse approach?

Right now we're using LoginAsync but could do either.

I am leaving for holidays now - When I am back I will think about the best way to enable that scenario.

Sorry - totally forgot about this...

better late than never
https://github.com/IdentityModel/IdentityModel.OidcClient2/commit/a8c92d5af580b2f3b17360a85726e55720c7a40f

authors: joemcbride leastprivilege


text:
asp net identity UI error

I found issue with the new samples example exactly in Quickstarts\1_ClientCredentials

Now listening on: http://localhost:5000
Application started. Press Ctrl+C to shut down.
[11:15:54 Debug] IdentityServer4.Startup
Login Url: /Account/Login

[11:15:54 Debug] IdentityServer4.Startup
Login Return Url Parameter: ReturnUrl

[11:15:54 Debug] IdentityServer4.Startup
Logout Url: /Account/Logout

[11:15:54 Debug] IdentityServer4.Startup
ConsentUrl Url: /consent

[11:15:54 Debug] IdentityServer4.Startup
Consent Return Url Parameter: returnUrl

[11:15:54 Debug] IdentityServer4.Startup
Error Url: /home/error

[11:15:54 Debug] IdentityServer4.Startup
Error Id Parameter: errorId

I didn't found the file appsettings.json in IdentityServer for configuration,
I installed asp net identitu UI from nugetpackage the same problem
how we can resolve it
thank you

What exactly is the problem?

I wann use Asp Identity UI with this example Quickstarts\1_ClientCredentials

a) this does not make sense because QS1 is about machine to machine and not end-user authentication
b) even then - what's the problem?

Thank you for the answer.

authors: amSaighi leastprivilege


text:
Allow development to affect pops

https://forum.paradoxplaza.com/forum/index.php?threads/the-eu4-to-v2-converter-project.707362/page-147#post-19835132
https://forum.paradoxplaza.com/forum/index.php?threads/the-eu4-to-v2-converter-project.707362/page-147#post-19835355
https://forum.paradoxplaza.com/forum/index.php?threads/the-eu4-to-v2-converter-project.707362/page-154#post-19976429
https://forum.paradoxplaza.com/forum/index.php?threads/the-eu4-to-v2-converter-project.707362/page-154#post-19976602
https://forum.paradoxplaza.com/forum/index.php?threads/the-eu4-to-v2-converter-project.707362/page-159#post-20127741
https://forum.paradoxplaza.com/forum/index.php?threads/the-eu4-to-v2-converter-project.707362/page-159#post-20129497
https://forum.paradoxplaza.com/forum/index.php?threads/the-eu4-to-v2-converter-project.707362/page-159#post-20137258

What does this say?

1: "On a side note, have you considered reading Development to influence population? Possibly even read the individual components to turn out the pop distribution (so, high Manpower development would increase the number of Soldier pops)."
2 (direct reply): "Yes, though I still need to work out the details. I want to address some of the other tickets (and get another release out once someone helps with the province mappings) first, though."
3: "Considering that, I think we should have a discussion on how development should influence the population. I think we should get a bigger discussion going on how it should influence and what formula should be used to calculate it. I have thought about this a bit and have come to the conclusion that I believe to be most prudent. We should first gather all the possible real world data we have to compare and then contrast that with the base province development that we have at those dates. It will be far from perfect as most provinces base development does not change with time and I highly doubt Paradox has added in development changing with dates, but I haven't looked at the province files in a long time so I might be wrong.
Thus I propose that we take the full development of a province to be the modifier that is added to the calculation once we reach a reasonable one. Then we use base production to figure out the percentage of artisan and craftsmen population in a province , use the base tax to figure out the labourers, farmers and most of the rest of the middle class, assigning weighted modifiers to all of those mentioned previously and then use the base manpower to figure out the amount of soldier pops in a province.
Alternatively we could take the manpower amount given per each province and use that factoring in the manpower development level to figure out how much population does each province development level carry and then use weighted modifiers per level of development for each pop type.
Both of these ways need many more levels of refinement but they could be a basis for a more development level accurate province population. Could we get a discussion going on this, as it would be interesting to see what could be made of this."
4: Quote: "Oh, let me explain how it works.
The converter calculates the yearly production income, yearly tax income and yearly manpower of a province based on base tax, base production, base manpower, buildings and idea groups. It then adds them up for each prov with yearly manpower having a smaller scaling as income values dont reach values of 1000s, i would have to check how much exactly and then to that is added total development and building weight. Building weight is calculated by using cost of the buildings and adding additional weight for buildings that dont affect income, but are still of use in eu4 and building weight is not the biggest part of the weights of a prov, it has roughly same effect as dev with income and manpower having roughly 50% effect.
The weights work in that way that each prov has a certain weight after this and so provs will get pop from pie of total pop based on weight and this is how end formula looks for prov weight :
Weight = Yearly Prod Income + Yearly Tax Income + Province Manpower (scaled down) + 2*Development of a prov + Building Weight"/Quote
So that forms the basis for the province populations division into pops, correct? So most of what should be done is to have the population be influenced by province development, get a base number for the development and then utilise that for the weights to get more dynamic provinces or am I wrong."
5: "Quote: Unfortunately I havn't really been playing much EU4 since these changes were released, so I'm not quite sure what the best approach is. I'll trust @dtremenak 's changes, though I'd be interested to hear his methodology :)./Quote
Just to be clear, my changes don't take development into account at all. They just update the old building algorithm to work with the new building system instead of the old one. I'm not sure development is a good way to go for pop composition (the three categories don't seem to map very well to pop types), but I'd be happy to hear ideas if you have them."
6(direct reply). "You could use a combination of trade good, buildings and development to map that out. Development in ADM and DIP could determine the size of the pop (in a 30-70 or 40-60 split). Then you could pull a general proportion of teach type from the country's technologies and ideas (e.g. innovative countries might have more priests, Quantity more troops, etc) as a flat percentage across the country, modified by the trade goods in a country (producing spices ups aristocrats and farmers, iron ups labourers, etc) and then their buildings (manufacturies produces a factory in the province and some relevant workers, universities ups priests, administrators and capitalists etc). You might even reflect terrain. In terms of cultures, you could pull from the province history - the proportion of new culture v old culture could depend on how many years it's been since culture conversion (with some arbitrary cut off, like 200 years) and the same for religion.
That might produce quite a nice system where player choice is reflected - ultimately you want a system where people go "If I build a university, in V3 I'll be good in terms of teachers" or "if I invest heavily into my capital it'll be one of the richest provinces in V2""
7(reply to 5): "Yeah, you're right that there's no clear mapping, and it's the reason I've not advanced an idea before.
First, we can reasonably infer that manpower development represents the (weighted) percentage of soldier (and officer?) pops that live in that province. That's pretty straight forward.
Second, production development is specifically about the production of that provinces trade good. Since you already use buildings to determine the presence of other pops, I'm tempted to conclude that production development actually tells us about the number of RGO pops in the province.
Lastly we have base tax. Base tax can be used to catch everyone else: an abstract number for all of the taxes raised from all the other kinds of pops we missed.
Now assuming my analysis has any validity, the trick is actually converting this all to actual numbers."

authors: Idhrendur derHochmeister kratostatic

repo: Idhrendur/paradoxGameConverters


text:
feat(comp: typography): add directive typography

fix #130
PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines
[x] Tests for the changes have been added/updated or not needed
[x] Docs and demo have been added/updated or not needed

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Component style update
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

What is the new behavior?
Other information

@danranVm @hele10086 请重新review

@danranVm @hele10086 请重新review

repo: IduxFE/components


text:
how to setup database

how to setup database

No response, I think the problem is solved 🚀
I'm closing this issue.

If you are still having problems I recommend joining our discord server - https://discord.com/invite/bVNNHuQ

authors: IgorKowalczyk PankKRB

repo: IgorKowalczyk/majobot


text:
Issues with resource manifest

There is a issue since the GUI changes, specifically adding the resource manifest to vrp is causing problems, something to do with removing entities, most likely to be a fivem client side problem as usual.

something to do with removing entities, most likely to be a fivem client side problem as usual.
This is not an issue at all. There's an explanation on FiveM docs website:
Scripts will now be registered as a game network script. This is required for networking entities.
This is how game works. To fix "removal" your script need have to get control over an entity you want to remove (SET_ENTITY_AS_MISSION_ENTITY).

Oh it seems to already be using that in the script
https://github.com/ImagicTheCat/vRP/blob/master/vrp/client/veh_blacklist.lua

@Disquse this is for 05cfa83c-a124-4cfa-a768-c24a5811d8f9, but 44febabe-d386-4d18-afbe-5e627f4af937 is used

@ImagicTheCat Same issues unfortunately

Or you could do NetworkRequestControlOfEntity
=> https://runtime.fivem.net/doc/natives/#_0xB69317BF5E782347 On Tue, Aug 20, 2019 at 1:32am, bradxy < notifications@github.com [notifications@github.com] > wrote:@ImagicTheCat [https://github.com/ImagicTheCat] Same issues unfortunately
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub [https://github.com/ImagicTheCat/vRP/issues/558?email_source=notifications&email_token=ABITCMJ4GZLRPMFCFBPIPZLQFMUQVA5CNFSM4IMUFWCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4UTCUI#issuecomment-522793297] , or mute the thread [https://github.com/notifications/unsubscribe-auth/ABITCML32IZQJNQS3TXDMVTQFMUQVANCNFSM4IMUFWCA] .

Odd all worked fine until the manifest was added... vRP was already is using the required SET_ENTITY_AS_MISSION_ENTITY for these things...

The way GTA V handles entities is complicated, even with the previous manifest we have issues. I don't know how other resources are dealing with shared entity consistency. We may need to experiment with the last manifest version and networked entities to find a better solution.

@Disquse @mickeygeecom Are you guys able to add the current resource manifest to the core vrp __resource.lua? Any help with this would be greatly appreciated and will help current members that started using vrp

@ImagicTheCat Is there anyway to downgrade vRP to remove the GUI changes and remove the resource manifest, Everyone new using the current vRP version will have the vehicles not storing problem, and if they remove the manifest the vehicle storing issues is resolved but the hanger/thrist bars stop working cause it now relies on the manifest...

You can use any version of vRP you want by checking out a specific commit with git.

authors: Disquse ImagicTheCat bradxy mickeygeecom

repo: ImagicTheCat/vRP


text:
Include user guide on GitHub Pages

I think this task is optional. It might be worth doing if it's easy.
If we write the user guide in Markdown format, then hopefully we should be able to include it into the mkdocs-based workflow we're using to generate the developer documentation.

If the user guide already written or it needs to be written? If it is the second, this is no small task!

There's a placeholder file there. @Sahil590 worked on the integration with the main program. So this is issue is just a case of publishing that file along with the other documentation.
Writing it is a separate issue: #350

authors: alexdewar dalonsoa

repo: ImperialCollegeLondon/FINESSE


text:
vr_run sometimes stalls when combining data files

Describe the bug
Sometimes when vr_run is called it stalls at the point it uses xarray.open_mfdataset() to combine the files for individual time points into a single file. This sometimes happens on CI meaning the tests don't pass (because they don't finish). This appears to be a known bug in xarray.
To Reproduce
By its nature it is hard to reproduce this bug but when I run vr_run locally (2017 MacBook Pro) it stalls ~1 in 3 times. This is more frequent than happens on the CI so I suspect the stall is somewhat spec driven.
Approach to fix
The bug thread suggests setting lock=False as a work around but suggests that this can cause errors as hdf5 is not thread safe. I feel like stopping CI from randomly breaking is probably the top priority for now, so I think we should go ahead and set this option. If setting this option proves to be too error prone for our use case then we will need to think of an alternative way of merging data, e.g. possibly a dedicated tool for merging data

The actual halt is now resolved by #355, but the option may cause occasional errors. If we start seeing HDF5 errors with any regularity then we need to revisit our solution to this issue

This cropped up again and I've raised PR #457 to explicitly turn off any attempt to parallelise the file handling in dask. I think that is as much as we can do here - it's a problem all the way down the stack to the NetCDF code, I think.


text:
PhysX needs an update - currently doesn't work on Linux!

The version we are currently using of PhysX is before nVidia released Linux support in PhysX.  This leaves Linux running the rather pathetic implementation of "BasicPhysics" I created that just simply allows avatar movement and avatar-ground collisions.
The primary problem is that we've got our own fork  of PhysX.Net, a .NET wrapper for PhysX, that should have any relevant changes found and ported as PRs back up to upstream.
So subtasks are as follows:

Find changes to our own fork and get them PR'd upstream if not already there or solved alternately.
Bring in the NuGet package of PhysX.Net and test it.
Iterate any needed changes to the above or Halcyon to make everything happy.

This was a major undertaking for multiple reasons last I investigated:
As already identified, the physx.net package had a bunch of issues that I had to fix where patches were not merged that I know of. Many of these issues were crashers, memory leaks, or O(n) / O(n^2) issues that had to be rectified before the package would perform at all well on long running and demanding simulation processes.
It was not possible to compile C++/CLI on linux. If this has changed that removes the biggest hurdle. Though it is possible to run pure C++ with only CLR calls on linux, this does not describe the bindings to physx.
I had started down an alternate path with swig wrappers to be bound to the current physic code for these reasons, but it was not completed work.
YMMV and things may have changed

Thanks for the history David!  BTW, any idea what revision of the upstream repo was forked off of? Since it went through SVN then uploaded back to GitHub from SVN, it's lost that info.

Doing some research it turns out that C++/CLI is still a no-go on anything but Windows with notes that it's likely not going to happen.  The entire library would have to be rewritten using P/Invoke which is basically a rewrite - not something a lib maintainer wants to do.

David was the SWIG work every checked in anywhere?  And yes C++/CLI isn't a viable option.  You'd need P/Invoke wrappers as a replacement

Hi there,
So I know that Halcyon uses the PhysX fork from StillDesigns so I am not sure if this will work or be of help but I figure at the very minimum it might at least provide some ideas going forward as you figure out the implementation of PhysX for Linux.   If it does not help it is okay as I will have only wasted a couple of moments to provide the information.  But even information passed on can be helpful even if in the end it does not work.
Before they officially switched over to Halcyon, the M-O-S-E-S project did, in fact, have a working PhysX wrapper for Linux in their fork of OpenSim.  My team stumbled onto it as it was mentioned to us by one of our upstream providers.  We found it on their projects page.  However, since the time we found it they have added it to their GitHub organization as a repository.  The link I am passing you is to their README.txt in that repository which contains instructions on how they built the wrapper, but if you click on the repository link you can also see their code.  The link is: https://github.com/M-O-S-E-S/physx-wrapper/blob/master/README.txt
As I indicated I am not sure if they had this particular wrapper working on their Halcyon fork or not.  At the very minimum, it was for an earlier version of OpenSim.  So it might or might not work or even be viable here.  I should also note that the versions of OpenSim that did have PhysX in the source code (i don't remember whether it was working, however, but I don't believe it was) likely was using the dlls direct from the Nvidia PhysX repositories which you can get access to but you have to register with Nvidia directly to get access to those repositories.
At any rate I hope this is of some help, even if at the very least it gives you some ideas to look at.

This issue was moved to HalcyonGrid/halcyon#2

authors: ddaeschler emperorstarfinder kf6kjg mdickson

repo: InWorldz/halcyon


text:
Create dataset loader for INDspeech_DIGIT_CDSR

NusaCatalogue: https://indonlp.github.io/nusa-catalogue/card.html?indsp_digit_cdsr

Dataset
indsp_digit_cdsr

Description
INDspeech_DIGIT_CDSR is the first Indonesian speech dataset for connected digit speech recognition (CDSR). The data was developed by TELKOMRisTI (R&D Division, PT Telekomunikasi Indonesia) in collaboration with Advanced Telecommunication Research Institute International (ATR) Japan and Bandung Institute of Technology (ITB) under the Asia-Pacific Telecommunity (APT) project in 2004 [Sakti et al., 2004]. Although it was originally developed for a telecommunication system for hearing and speaking impaired people, it can be used for other applications, i.e., automatic call centers that recognize telephone numbers.

License
CC-BY-NC-SA 4.0

#self-assign

#self-assign

Hi @ziweiji, apparently @IvanHalimP has self-assigned first and he already made a pull request, so there's no need for you to work on this dataloader.
cc: @SamuelCahyawijaya

authors: IvanHalimP SamuelCahyawijaya holylovenia ziweiji

repo: IndoNLP/nusa-crowd


text:
X-NuGet-ApiKey is not the correct header for pushing package

See http://inedo.com/support/documentation/proget/administration/security#api-keys
It should be 'X-ApiKey'

X-ApiKey is only used by ProGet, and APIs we design requests (like promotion, etc), but not necessarily APIs we implement (like NuGet, npm, etc) .
X-NuGet-ApiKey is used by NuGet servers (including ProGet); it's part of the NuGet protocol, which we don't document as part of ProGet (we just implement it).

repo: Inedo/bmx-nuget


text:
fix: unsaved changes nextjs > 13

Implementert workaround løsning foreslått her: https://github.com/vercel/next.js/discussions/47020

Btw, ser at nextjs har kommet med en støtte for pushState og replaceState i router-komponenten:
https://nextjs.org/blog/next-14-1#windowhistorypushstate-and-windowhistoryreplacestate

authors: jeffreiffers pooriamehregan