Unreal crashes and looks like it's because of OSVR Plugin

Hello,
I'm using OSVR plugin for artistic installation done in Unreal4 engine.
However after 10-20 minutes of usage the package crashes with following
call stack. Can you please take a look at it ? It's a bit urgent, since the expo
opens on 10 of December and worry about this crashes.
Thanks
M
Access violation - code c0000005 (first/second chance not available)
Speaker!FModuleManager::GetModule()
Speaker!FModuleManager::GetModuleChecked()
Speaker!FModuleManager::LoadModuleChecked()
Speaker!FOSVRHMD::UpdateHeadPose()
Speaker!FOSVRHMD::PreRenderViewFamily_RenderThread()
Speaker!FRelevancePacket::RenderThreadFinalize()
Speaker!TGraphTask<FRendererModule::BeginRenderingViewFamily'::21'::EURCMacro_FDrawSceneCommand>::ExecuteTask()
Speaker!FNamedTaskThread::ProcessTasksNamedThread()
Speaker!FNamedTaskThread::ProcessTasksUntilQuit()
Speaker!RenderingThreadMain()
Speaker!FRenderingThread::Run()
Speaker!FRunnableThreadWin::Run()

This is fixed in the master branch, but not yet in the Unreal source code drop:
https://github.com/OSVR/OSVR-Unreal/issues/87
Switch to a local project plugin and build it from source (master branch). Should solve your problem. See these instructions for how to build from source:
https://github.com/OSVR/OSVR-Unreal/blob/master/README.md
If the ImportFromSDK.cmd script is broken, which it probably is since it hasn't been updated in a while, let me know and I'll talk you through it. I'll leave this issue open for that. Good luck at your expo!

Hello Jeremy! Thanks for your answer. I downloaded source and compiled the plugin. It seems to be working on my system. However the other person who handles the build can't package it. He get's a packaging error. Is it still the case that you need to convert blueprint project to C++ project in order for it to work or not ? And maybe you fixed  osrv plugin has been integrated into UE 4.14 ? Thanks M

We haven't submitted a new code drop yet, so it won't be in 4.14. Yes, for local plugins you need to create at least one C++ class, otherwise it won't create a visual studio project or build the plugin into your final package. As an alternative, if you have Unreal Engine source code access, you can also update the OSVR plugin in the engine code and use that to build a custom engine. The OSVR plugin is located in the following places in the engine:
/Engine/Plugins/Experimental/OSVR
/Engine/Source/ThirdParty/OSVRClientKit
/Engine/Binaries/ThirdParty/OSVRClientKit

Hello again,
Somehow it doesn't work. I follow the instructions.  In my project I create Plugins directory  and I copy  OSVRUnreal/Plugins/OSVR there. So in Plugins I have folder named OSVR. Now when I open my project in Unreal it gives an error window saying unreal has crashed.  What am I doing wrong ? Thanks, M

MachineId:49326872447E563F13CEC6BEBB3D40DF
EpicAccountId:be08ff2f030143bfb2830257fbae77ae
Access violation - code c0000005 (first/second chance not available)
UE4Editor_OSVR!FOSVRHMD::CalculateRenderTargetSize() [d:\base\crowd_prj\dev\osvr-unreal-master\osvrunreal\plugins\osvr\source\osvr\private\osvrrender.cpp:155]
UE4Editor_Engine!FSceneViewport::InitDynamicRHI() [d:\build++ue4+release-4.13+compile\sync\engine\source\runtime\engine\private\slate\sceneviewport.cpp:1549]
UE4Editor_RenderCore!FRenderResource::InitResource() [d:\build++ue4+release-4.13+compile\sync\engine\source\runtime\rendercore\private\renderresource.cpp:29]
UE4Editor_RenderCore!BeginInitResource() [d:\build++ue4+release-4.13+compile\sync\engine\source\runtime\rendercore\private\renderresource.cpp:124]
UE4Editor_Engine!FSceneViewport::UpdateViewportRHI() [d:\build++ue4+release-4.13+compile\sync\engine\source\runtime\engine\private\slate\sceneviewport.cpp:1307]
UE4Editor_Engine!FSceneViewport::EnqueueBeginRenderFrame() [d:\build++ue4+release-4.13+compile\sync\engine\source\runtime\engine\private\slate\sceneviewport.cpp:1365]
UE4Editor_Engine!FViewport::Draw() [d:\build++ue4+release-4.13+compile\sync\engine\source\runtime\engine\private\unrealclient.cpp:1138]
UE4Editor_Engine!FSceneViewport::ResizeViewport() [d:\build++ue4+release-4.13+compile\sync\engine\source\runtime\engine\private\slate\sceneviewport.cpp:1226]
UE4Editor_Engine!FSceneViewport::SetViewportSize() [d:\build++ue4+release-4.13+compile\sync\engine\source\runtime\engine\private\slate\sceneviewport.cpp:1180]
UE4Editor_OSVR!FOSVRHMD::EnableStereo() [d:\base\crowd_prj\dev\osvr-unreal-master\osvrunreal\plugins\osvr\source\osvr\private\osvrhmd.cpp:600]
UE4Editor_UnrealEd!UEditorEngine::CreatePIEGameInstance() [d:\build++ue4+release-4.13+compile\sync\engine\source\editor\unrealed\private\playlevel.cpp:3285]
UE4Editor_UnrealEd!UEditorEngine::PlayInEditor() [d:\build++ue4+release-4.13+compile\sync\engine\source\editor\unrealed\private\playlevel.cpp:2426]
UE4Editor_UnrealEd!UEditorEngine::StartQueuedPlayMapRequest() [d:\build++ue4+release-4.13+compile\sync\engine\source\editor\unrealed\private\playlevel.cpp:1141]
UE4Editor_UnrealEd!UEditorEngine::Tick() [d:\build++ue4+release-4.13+compile\sync\engine\source\editor\unrealed\private\editorengine.cpp:1306]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [d:\build++ue4+release-4.13+compile\sync\engine\source\editor\unrealed\private\unrealedengine.cpp:371]
UE4Editor!FEngineLoop::Tick() [d:\build++ue4+release-4.13+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:2834]
UE4Editor!GuardedMain() [d:\build++ue4+release-4.13+compile\sync\engine\source\runtime\launch\private\launch.cpp:156]
UE4Editor!GuardedMainWrapper() [d:\build++ue4+release-4.13+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\build++ue4+release-4.13+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:202]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:264]
kernel32
ntdll

@SFR75 Could you check if the latest code on master fixes your issue? That last error may have been a repro of this bug: https://github.com/OSVR/OSVR-Unreal/issues/141

Hello. Yes I can check.... at the same time strangely enough the OSVR plugin which is released with Unreal (4.13) strangely enough stopped crashing... I just ran it for 15 hours continously... it's good and bad at the same time.. good that it works, bad that we don't know why it did crash before...


Assigning variables in @if statement

I have just updated node-sass from v3.4.2 to v3.8.0, and some errors are appearing where I have used @if statements. Here is the Sass I have written:
$variable: value;
@if ($variable == 'value') {
  $padding: 2px;
} @else {
  $padding: 4px;
}

.selector {
  padding: $padding;
}

In node-sass v3.4.2 this worked perfectly, however I now get an Undefined variable: $padding error. Taken a look at the changelogs for node-sass and Libsass and couldn't find any notes about it (entirely possible I missed something though).
I appreciate this may not be an error with node-sass but it'd be great if someone could point me in the right direction. Thanks!

This project is an implementation of the Sass language. Our goal is to be 100% compatible with Sass. We're closing this issue since Ruby Sass produces the same output. In the future please confirm that LibSass' output differs from Ruby Sass before opening an issue.
If you wish to suggest features of file bugs in the Sass language please open an issue with Sass - https://github.com/sass/sass

I understand this feels like an unexpected breaking change. I've explained further in #1474.


Memory usage

Hi,
This might not be a async-graphql question. Nevertheless, my app under heavy load start to use lots of memory.
I wonder what is the best way to start looking into how the libraries in rust are using memory, and async-graphql in particular.
Thanks a lot.

Maybe you should use valgrind to see how your memory is consumed.

Thanks for advising, I will look into this


⚠ Minecraft has degraded performance

In 894fd57, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 1184 ms

Resolved: Minecraft performance has improved in 3f507f9.


Fix support for timesteps list in case model has rain but radar does not

Thanks for this extra fix related to #368, @mats-knmi!


Use "Fix Spawner Status" in between server teardowns

Signed-off-by: Luca Giorgi<EMAIL_ADDRESS>

lgtm


Them::path() use force = true to work with specifying the port

Issue
https://github.com/timber/timber/issues/1739
Solution
In order to turn off the parse_url()['host'] and self::get_host() check, we pass  force = true, so that Timber::path () works correctly when the site is opened with the port number ,
Impact
It should not be, because in URLHelper::get_rel_url() it is passed Theme::link()
Usage Changes
No changes

Coverage remained the same at 94.197% when pulling 5568dc6353930a86c25dddf36334d3ce9e7df791 on 0x6368656174:master into 9eae5dbd8e899eb9e947a4abbdfb1c425a66c98d on timber:master.

Coverage remained the same at 94.197% when pulling 5568dc6353930a86c25dddf36334d3ce9e7df791 on 0x6368656174:master into 9eae5dbd8e899eb9e947a4abbdfb1c425a66c98d on timber:master.

Thanks @0x6368656174 ! I just added a test in #1741 to cover the behavior. Merged!


Problem using select data-role in table control

Hello Olton,
I hope your are well.
Tonight an issue using "select" data-role in a table control.
Here the code pen to see : https://codepen.io/Falconpage/pen/OaBrmK
With select data-role the select area cannot be display
Without select data-role it is OK.
I tried playing with z-index without success.

use attribute data-cell-wrapper="false" for table

https://codepen.io/Falconpage/pen/OaBrmK, demo3 with the fix : it's OK
If I'm correct this is the css rule "overflow: hidden;" that cause this problem in my code ?
Thanks again spending time to this.
Have a great day Olton !


Adding incentre formula calculator

I would like to add a calculator for finding the incentre of a triangle in the coordinate geometry calculator section.
Please assign this issue to me.

Go ahead
Deadline 24 April,2021 11:59 PM IST


Upload File

User Story
As a user, I would like to be able to upload a modified excel file so that I can modify the data in my database.
Detailed Description
After the user clicks on the Upload button from #8 , user should be given the option to select a CSV file to upload to the wizard from their machine.
Acceptance Criteria

[x] Given user has clicked on the Upload button, then text that says "Please select a file to upload", and give the user the ability to choose a CSV file.
[x] Given user has chosen a CSV file, then there should be a Next button and a Back button:

[x] If Next is clicked, go to #35
[x] If Back is clicked, go to #8

Tasks

[x] #59
[x] #60
[x] #61
[x] #62

Done.


Can't use Samsung S6812B on linux

The current git version of Heimdall cannot access my device.
The device in ODIN mode have VID:PID: 04E8:685D
Investigating this, I found:
During the process of initialization, the device accepts configuration
requests from the host computer.
When this process finishes, the device enters a state waiting ONLY for
handshake "ODIN" "LOKE". Any other request will fail and lock the
device in a error state.

PROBLEMS:

ModemManager.
The ModemManager send configuration requests to the USB
causing the lock of the device.
To avoid this, the ModemManager can be deactivated before connecting the
USB cable: su -c "systemctl stop ModemManager"
Or the device can be blacklisted for the ModemManager.

Heimdall
The call of libusb_set_interface_alt_setting send configuration requests
causing the lock of the device.
Suggestion: do not use libusb_set_interface_alt_setting.
Since there is only one altsetting, I think is not necessary
to call this function (need to investigate more!).
The call of libusb_get_string_descriptor_ascii send configuration requests
causing the lock of the device.
Suggestion: do not use.

Simple quick fix: (only comment out source)
diff --git a/heimdall/source/BridgeManager.cpp b/heimdall/source/BridgeManager.cpp
index b7bff3d..4bd4042 100644
--- a/heimdall/source/BridgeManager.cpp
+++ b/heimdall/source/BridgeManager.cpp
@@ -128,23 +128,23 @@ int BridgeManager::FindDeviceInterface(void)
 	{
 		unsigned char stringBuffer[128];

-		if (libusb_get_string_descriptor_ascii(deviceHandle, deviceDescriptor.iManufacturer,
-			stringBuffer, 128) >= 0)
-		{
-			Interface::Print("      Manufacturer: \"%s\"\n", stringBuffer);
-		}
-
-		if (libusb_get_string_descriptor_ascii(deviceHandle, deviceDescriptor.iProduct,
-			stringBuffer, 128) >= 0)
-		{
-			Interface::Print("           Product: \"%s\"\n", stringBuffer);
-		}
-
-		if (libusb_get_string_descriptor_ascii(deviceHandle, deviceDescriptor.iSerialNumber,
-			stringBuffer, 128) >= 0)
-		{
-			Interface::Print("         Serial No: \"%s\"\n", stringBuffer);
-		}
+//		if (libusb_get_string_descriptor_ascii(deviceHandle, deviceDescriptor.iManufacturer,
+//			stringBuffer, 128) >= 0)
+//		{
+//			Interface::Print("      Manufacturer: \"%s\"\n", stringBuffer);
+//		}
+//
+//		if (libusb_get_string_descriptor_ascii(deviceHandle, deviceDescriptor.iProduct,
+//			stringBuffer, 128) >= 0)
+//		{
+//			Interface::Print("           Product: \"%s\"\n", stringBuffer);
+//		}
+//
+//		if (libusb_get_string_descriptor_ascii(deviceHandle, deviceDescriptor.iSerialNumber,
+//			stringBuffer, 128) >= 0)
+//		{
+//			Interface::Print("         Serial No: \"%s\"\n", stringBuffer);
+//		}

 		Interface::Print("\n            length: %d\n", deviceDescriptor.bLength);
 		Interface::Print("      device class: %d\n", deviceDescriptor.bDeviceClass);
@@ -261,13 +261,13 @@ bool BridgeManager::SetupDeviceInterface(void)
 {
 	Interface::Print("Setting up interface...\n");

-	int result = libusb_set_interface_alt_setting(deviceHandle, interfaceIndex, altSettingIndex);
+//	int result = libusb_set_interface_alt_setting(deviceHandle, interfaceIndex, altSettingIndex);

-	if (result != LIBUSB_SUCCESS)
-	{
-		Interface::PrintError("Setting up interface failed!\n");
-		return (false);
-	}
+//	if (result != LIBUSB_SUCCESS)
+//	{
+//		Interface::PrintError("Setting up interface failed!\n");
+//		return (false);
+//	}

 	Interface::Print("\n");
 	return (true);

Complementing the report, the test sequence used was:

Put the device in Power off state, no USB cable.

Press and hold Power, Volume Down and Home.

Wait for a Warning screen and release de keys.

Follow the screen intructions and click Volume UP.

Now the device is in "ODIN Mode" and is in "INITIAL STATE".

Plug the Usb cable to the computer.

The Usb sub-system senses a new device and will
send commands to identify the device:

Get Descriptor Request Device
Get Descriptor Request Configuration
Get Descriptor Request String
Set Configuration Request
Set Line Coding Request

The device respond correctly.

At this point the device is in "Initial Handshake" (see figure).

If the ModemManager is present and the device is not blacklisted
then:
It will try identify the device to see if its a modem and
will send configuration requests over the cable.
These requests lock the device in "ERROR STATE".

Heimdall sequence of calls to libusb:

libusb_get_device_list (A)
libusb_free_device_list (A)
libusb_get_device_descriptor (A)
libusb_get_string_descriptor_ascii (B)
libusb_get_config_descriptor (A)
libusb_free_config_descriptor (A)
libusb_claim_interface (A)
libusb_set_interface_alt_setting (B)
SendBulkTransfer   ---> ODIN (B)

The calls marked with (A) use information cached in the
system and do not send commands over the cable.
The calls marked with (B) send commands over the cable and
lock the device in "ERROR STATE".

fedora 22
kernel-4.1.4-200.fc22.x86_64
libusbx-1.0.19-2.fc22.x86_64
libusbx-devel-1.0.19-2.fc22.x86_64

This is the correct RCA of all the reported issues on error 110 and similar for many devices.
Running off master it can be easily tested by only commenting out the set_interface_alt_setting call and running without --verbose (as get_string_descriptor_ascii locks the device and now it's only called when running with --verbose).
As an alternative to just removing that piece of code, I just put an if(altindex == 0) return(true) for set_interface_alt_setting, instead.
Tested on Gentoo running kernel 4.3.3 and libusb-1.0.20 against a Samsung GT-S5367.

Investigating at source level (libusb and kernel usb), I found:
Linux kernel have a module called "cdc_acm" that is automatically
called when the Samsung Mobile Phone in ODIN mode is plugged.
This module is used for USB modems and ISDN adapters. It creates
a character device /dev/ttyACM* and sends "Set Line Coding" to the
device. Then a system service called ModemManager run on /dev/ttyACM*
to provide unified high level API for communicating with the modem.
I suppose that all Samsung Mobile Phones in ODIN mode are recognized
as "CDC ACM" and the module "cdc_acm" is always called.
To verify this for your phone check the system log for a line with:
"cdc_acm 2-1.2:1.0: ttyACM0: USB ACM device"
Note: "Set Line Coding" is not sent when the module "cdc_acm" is not
called and Heimdall uses "libusb".
Problem:
All phones in ODIN mode receive the command "Set Line Coding", but
only a subset (GT-S6812B, GT-S5367, GT-S7580 ...) locks if some "libusb"
calls are called like:
libusb_set_interface_alt_setting and libusb_get_string_descriptor_ascii.
These are described in more detail at the start of the thread.
The devices not affected by "Set Line Coding" can have problems with
ModemManager. Depending of timing, ModemManager can run simultaneously
with Heimdall. See @kynan comment in issue #228. He propose a "blacklist"
for ModemManager.
I think that a solution would be:
Blacklist the Samsung devices in ODIN mode in the module "cdc_acm".
I send patches to the maintainer of cdc_acm to blacklist the 3 devices used:
http://marc.info/?l=linux-usb&m=145185842102902&w=2
@Benjamin-Dobell There is a problem with 2 devices. Do you have more
information about these devices?
This also solves the ModemManager problem since there is no ttyACM device.
This solution works for new kernels.
Since there is no ttyACM device, there is no problem with ModemManager.
For old kernels, the user can temporarily blacklist the module "cdc_acm"
using this instructions:

Put the device in ODIN mode (no USB cable)
Execute the commands as root:

  echo "blacklist cdc_acm" >/etc/modprobe.d/cdc_acm-blacklist.conf
  rmmod cdc_acm  # ignore ERROR is not currently loaded

Plug the USB cable and use heimdall.
At the end remove the file /etc/modprobe.d/cdc_acm-blacklist.conf

There is no need to mess around with the cdc_acm module and ModemManager. There's a proper method to make ModemManager ignore an interface and that is setting:
ENV{ID_MM_DEVICE_IGNORE}="1"

in the udev rule for the devices. Heimdall already installs such an udev rule  to set the permissions of the device's character files in /dev , it's just a matter of adding this, such as:
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="685d", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"

At least on my testing, with the previously mentioned changes (skipping set_interface_alt_setting and running without --verbose) having both ModemManager running and cdc_acm loaded doesn't affect Heimdall flashing at all.


Removing Emoticons when moving cursor

Related Issue
BUG: Removing Emoticons when moving cursor in website #677
Fixes:  #issue no. #677
Description
Removed the Emoticons when moving cursor in website. Due to which website not looks good.
Issue no: #677
Type of PR

[ ] Bug fix

Screenshots / videos (if applicable)
Before:

After:

Checklist:

[x ] I have made this change from my own.
[ ] I have taken help from some online resources.
[x ] My code follows the style guidelines of this project.
[ x] I have performed a self-review of my own code.
[ x] My changes generate no new warnings.
[ x] I have tested the changes thoroughly before submitting this pull request.
[ x] I have provided relevant issue numbers and screenshots after making the changes.

@PriyaGhosal @samarth-6 Please review my pr and also add label of hactoberfest'24, hacktoberfest-accepted, level-2.

@Sudhanshu248 Your pull request has been successfully merged! Don't stop here—continue contributing by addressing more issues and aiming to become a top contributor. Exclusive swag awaits for those who go the extra mile!
Great contribution to GSSOC'24 EXTENDED! 🎉


huggingface Network address error

when I was running ATM_S_reconstruction_scale_0_1000.py, an error occurred in the eegdatasets_leaveone.py file. I checked the cause online and said that the address of huggingface was incorrect.

Hi, @koro-github , If you are in mainland China, you need to set up a proxy based on your VPN. This means you need to fill in an IP address and port number with a foreign proxy:
proxy ='http://xx.xx.xx.xx:port'
os.environ['http_proxy']= proxy
os.environ['https_proxy']= proxy

But if you are in other regions outside of mainland China, these lines of code are unnecessary.

Hi Dongyang, I have successfully run ATM_S_reconstruction_scale_0_1000.py and saved the weights. Now I am trying to run your Generation_metrics_sub1.ipynb, but there are some problems, some packages are not imported, can you tell me how to import them? Hi Dongyang, I have successfully run ATM_S_reconstruction_scale_0_1000.py and saved the weights. Now I am trying to run your Generation_metrics_sub1.ipynb, but there are some problems, some packages are not imported, can you tell me how to import them?

Hi Dongyang, I have successfully run ATM_S_reconstruction_scale_0_1000.py and saved the weights. Now I am trying to run your Generation_metrics_sub1.ipynb, but there are some problems, some packages are not imported, can you tell me how to import them? Hi Dongyang, I have successfully run ATM_S_reconstruction_scale_0_1000.py and saved the weights. Now I am trying to run your Generation_metrics_sub1.ipynb, but there are some problems, some packages are not imported, can you tell me how to import them?

Hi Dongyang, I have successfully run ATM_S_reconstruction_scale_0_1000.py and saved the weights. Now I am trying to run your Generation_metrics_sub1.ipynb, but there are some problems, some packages are not imported, can you tell me how to import them?

These classes or functions are defined in the custom_pipeline.py module.
And if you need them, you should uncomment this code and import these modules:

Thanks for your answer. Now the problem of import package has been solved, but I still can't find the list of texts.

Can you tell me how to find or define a list of texts? 2.Generation_metrics_sub1.ipynb file contains train prior diffusion. Could you please tell me the correct reading order of ipynb file?

Thanks for your answer. Now the problem of import package has been solved, but I still can't find the list of texts.
1.Can you tell me how to find or define a list of texts?
2.Generation_metrics_sub1.ipynb file contains train prior diffusion. Could you please tell me the correct reading order of ipynb file?

I assume that the list of texts you mentioned refers to the text description of each image. Here, the image name label is simply used.
Generation_metrics_sub1.ipynb is missing the definition of texts, I have updated it. Other files are not missing, you can try using other files first.

thanks you answer,dongyang.  I can't find the difference between ATM_S_insubject_retrieval.py and ATM_S_insubject_classification.py.  One of them is retrieval and the other is classification. What's the difference in the code.
there  model 、acc_compute、dataset  are same.
ATM_S_insubject_classification.py

ATM_S_insubject_classification.py

thanks you answer,dongyang.  I can't find the difference between ATM_S_insubject_retrieval.py and ATM_S_insubject_classification.py.  One of them is retrieval and the other is classification. What's the difference in the code.
there  model 、acc_compute、dataset  are same.
ATM_S_insubject_classification.py

ATM_S_insubject_classification.py


All links to components are broke when running from localhost (missing .html)?

When running npm build and going to http://localhost/24ways/www the page loads fine initially, but links to all components are broke (missing the .html extension).
Now, do one have to do other arbitrary stuff to just make this work out of the box?

Create an .htaccess file (or modify the existing one, if any) and add:
Options +MultiViews
But please state that somewhere in the docs ... I at least wasn't able to find it anywhere.

@sabsaxo I did create a .htaccess file in the www/ folder however the issue remains :/

Haven't fiddled with this in a while. Waiting for V2 ...

You need to change: fractal.web.set('builder.urls.ext', null); to  fractal.web.set('builder.urls.ext', '.html');

Well, then one may wonder why setting this kind of stuff to null as default ...

Closing this issue as it relates more to Fractal than this particular component library, and solutions have been provided in the comments above.


Fix location delegation demo

The demo does not work on Android 11 for 2 reason:

ExtraFeaturesService was not public
The service is at the beginning of AndroidManifest.xml instead of at bottom

I'm not sure why it causes the issue, and why only on Android 11, but this can fix it 😄
@andreban PTAL Thanks

Tested only making ExtraFeaturesService and its constructor public and it fixes it for me, without moving the service tag around.

Interesting, it wasn't work yesterday, but it seems work now. Reverted the manifest change


Decode problem: string size limit

Hi,
I'm getting an error (-111, EXI_ERROR__CHARACTER_BUFFER_TOO_SMALL) while decoding a CertificateInstallationReq.
In this message, my X509IssuerName contains 90+1 (nullterminator) characters and it seems like the maximum is set to 60.
See: https://github.com/EVerest/cbexigen/blob/4142ec02561602b80d564e5c9ffa780c18c937db/src/input/code_templates/c/static_code/exi_basetypes_decoder.c.jinja#L352-L355
As far as i can see it, the concrete limit comes from here:
https://github.com/EVerest/cbexigen/blob/4142ec02561602b80d564e5c9ffa780c18c937db/src/input/code_templates/c/static_code/exi_basetypes.h.jinja#L16
Why are EXI Strings limited to 60 characters?

Hi Thoren,
we originally had size 50, the same as OpenV2G also uses. We increased it to 60, because we encountered actual messages using a size of 52.
If I read the RFCs correctly, the issuer field should be a DN, and thereby restricted to 64 (+1) bytes. Why is yours 90?
What do you suggest we use?
You are of course free to change this value in the code template, or in your generated code.

The limit was concluded from StackOverflow comments and skimming over X.509 RFCs.;-) We're glad to discuss more details.
Where and how are you using the cbV2G codec?
We welcome more testing and feedback!

According to the W3C XMLDsig Recommendation, the X509IssuerSerial is a "Distinguished Name". I interpret this StackOverflow comment and what it is quoting as an indication that 64 is the upper limit.
We will bump our limit up to this value, and leave it up to you to increase it even more.


MacOS notes, DSM test tif

phenomenal project, thanks!
I tried on a Mac M1 MB and wrote up some notes here:  https://github.com/mhaberler/ctod/blob/main/README-macos.md
I assume this works with a vrt of a set of COG GeoTIFFs, right?
ps: should this go to Discussions?

Appreciate it! An issue report is sufficient; no need for a discussion.
Unfortunately, I don't have access to a Mac for testing but good to hear that you could get it to work.
I've validated that a VRT should function properly. I tested clipping two TIFFs with a gap between them, created a VRT, and successfully added it to the viewer. You can view the result in this image:

I noticed in your readme that the process seems slow with the TIFF you're testing. We're encountering a similar issue with a 320GB COG and are currently looking to find a solution.

I saw you used Python 3.10, will try that later - maybe the triangle module for 3.10 is ok on pypi
great to hear the VRT feature works!
since all the 55 or so DSM tiles for Austria are HTTP-accessible I'll try a VRT with all of those and post results
that's a huge step forward for me - previously I had used tumgis/ctb-tiler but ran into size/memory limitations so could only use a small patch of a province -  that limit is removed!
happy to act as MacOS guinea pig!

re: performance:
does the projection come into play?
my COG dataset is EPSG 3035 - would a gdalwarp to 4326 or 3857 potentially help?

Tomorow we will conduct some performance tests on a COG with different projections/overviews/etc and report back to you with the results.
The performance for the COG mentioned in your readme doesn't look that bad, here is a video running it on my machine with caching disabled:
https://github.com/sogelink-research/ctod/assets/6178776/49f38f12-62f9-481d-85d3-48511474460f

that's much faster visually than my local experiment
seems like the HTTP access is not the issue
I'll have an eye on it

here's another DTM source which I've been using for a while with Cesium and ctb-tiler, pretty well maintained: https://sonny.4lima.de/
I plan to use those with ctod as a replacement for parts of Cesium World Terrain via ION
Those are GeoTIFF's which were to massaged into COG GeoTIFF's like so:
# create overview
gdaladdo -r average input.tif 2 4 8 16
# convert to COG GeoTIFF
gdal_translate -co  BIGTIFF=YES -co TILED=YES -co COMPRESS=DEFLATE -co COPY_SRC_OVERVIEWS=YES input.tif output

the files are publicallly accessible with CORS headers via: https://static.mah.priv.at/cors/sonny-dtm-cog/ and the links can be pasted into the ‘cog’ field of the viewer

Closing this issue and continuing in issue: https://github.com/sogelink-research/ctod/issues/6 for performance problems


Add imports of initializers and math, required in "Define your own function" examples

Add imports of initializers and math, required in "Define your own function" examples.
In examples, provided in https://docs.chainer.org/en/stable/guides/functions.html#links-that-wrap-functions, there are two missing imports: from chainer import initializers and import math.

class EltwiseParamProduct(Link):
    def __init__(self, shape):
        super(EltwiseParamProduct, self).__init__()
        with self.init_scope():
            self.W = chainer.Parameter(**initializers**.Normal(scale=1.), shape)

    def forward(self, x):
        return self.W * x

class Linear(Link):
    def __init__(self, in_size, out_size):
        super(Linear, self).__init__()
        with self.init_scope():
            self.W = chainer.Parameter(
                initializers.Normal(1. / math.sqrt(in_size)),
                (out_size, in_size))
            self.b = chainer.Parameter(0, (out_size,))

    def forward(self, x):
        return linear(x, self.W, self.b)

Thanks, LGTM!
Jenkins, test this please.

Jenkins CI test (for commit 62cad809e53cfa01cc06e9dcd50c6bc501913277, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

Jenkins, test this please.

Jenkins CI test (for commit 62cad809e53cfa01cc06e9dcd50c6bc501913277, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

Jenkins, test this please.

Jenkins CI test (for commit 62cad809e53cfa01cc06e9dcd50c6bc501913277, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

LGTM! Test failures are not related to this PR.


iOS PIP not working as expected - on Android works perfectly (running example)

On Android, it works as expected. The Countdown widget keeps ticking.
On iOS, after clicking the home button, the PiP freezes. On toggle or Enable when bg, a black screen appears —no exceptions are shown in the logger, not seeing either the main or pipMain app.
flutter 3.19.1
iOS 17.3.1
Iphone se
package version 2.0.0

see https://github.com/flutter/flutter/issues/158913


llvmlite / numba compile: g++: error: unrecognized command line option ‘-Wcovered-switch-default’

Trying to compile llvmlite or numba from https://github.com/numba I am getting
g++: error: unrecognized command line option ‘-Wcovered-switch-default’
any help on how to fix this would be most appreciated. -mark
(I'm sorry not to have realized this issue tracker before also posting to stackoverflow)

Can you explain how you are trying to compile it, and what your system is?

I try to compile with:

llvmlite
python setup.py install --prefix=...testdir...
numba
pip install -r requirements.txt --install-option="--prefix=...testdir...."
I don't get beyond any of those

my system is:
distro openSUSE 13.1 (x86_64)
kernel 3.11.10-34-desktop
gcc version:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.8/lto-wrapper
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.8 --enable-ssp --disable-libssp --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --enable-linker-build-id --program-suffix=-4.8 --enable-linux-futex --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux
Thread model: posix
gcc version 4.8.1 20130909 [gcc-4_8-branch revision 202388] (SUSE Linux)

Anything else that would be of help?

How was LLVM compiled? What does llvm-config --cxxflags say?

llvm comes with the distro and says:
~>llvm-config --cxxflags
-I/usr/include  -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG  -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS

Ok, so the flag is what LLVM was compiled with. Probably your distro compiles LLVM with a different compiler than the C++ compiler it provides. You'll have to find out or ask them about that and use the same compiler, probably.

Closing as there's nothing we (llvmlite) can do about that, probably.

just in case useful, in docker / ubuntu 16.04, following works ok: https://github.com/numba/numba/wiki/Build-0.33-on-ubuntu-16.04

Same issue here, can't install llvmlite, error got:
g++: error: unrecognized command line option ‘-stdlib=libc++’
    g++: error: unrecognized command line option ‘-Wcovered-switch-default’
    g++: error: unrecognized command line option ‘-Wstring-conversion’

llvm-config --cxxflags:
-stdlib=libc++  -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -ffunction-sections -fdata-sections -O3 -DNDEBUG  -fno-exceptions -fno-rtti -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS


build failing

I just tried to build in java 6, 7, 8 and 9 (using vanilla java dockers as specified here: https://hub.docker.com/_/java/)
6 and 7 both seemed to go furtherest but failed with
:cql:test FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':cql:test'.
> There were failing tests. See the report at: file:///usr/src/myapp/cql/build/repor
ts/tests/index.html

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug opti
on to get more log output.

BUILD FAILED

java8 failed with
FAILURE: Build failed with an exception.

* Where:
Build file '/usr/src/myapp/elm/build.gradle' line: 12

* What went wrong:
Execution failed for task ':elm:generateSources'.
> unable to parse the schema. Error messages should have been provided

We've never tested this using the Docker java, nor have we tested it using OpenJDK (which is what Docker is using).  It's possible that there's an issue somewhere in there, although it's hard to say.
It should work fine using the official Oracle Java SDK 1.8.0_x.  I am using 1.8.0_92 on Mac OS X and can build cleanly.  In addition, the Travis builds pass with Oracle JDK 1.8.0_31 (which actually run on a Linux Docker container of some sort).
I'd suggest you use 1.8 and try a clean build (in case there are build remnants messing things up):
./gradlew clean build

If it still doesn't work, might you be able to use a natively installed Oracle JDK rather than the dockerized OpenJDK?

Thanks Chris
I'm now on a dockerised oracle java 8 and I'm getting this:
:elm:generateSources FAILED

FAILURE: Build failed with an exception.

* Where:
Build file '/usr/src/myapp/elm/build.gradle' line: 12

* What went wrong:
Execution failed for task ':elm:generateSources'.
> unable to parse the schema. Error messages should have been provided

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

java -version  gives:
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)

Can you add the --debug option and see if we get more information about the error?

here we go:
23:37:16.124 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecut
er                                                                                ]
                                                                                E
xecuting actions for task ':cql:compileJava'.
23:37:16.127 [INFO] [org.gradle.api.internal.changedetection.changes.RebuildIncrementa
lTaskInputs                                                                          ]
                                                                                A
ll input files are considered out-of-date for incremental task ':cql:compileJava'.
23:37:16.136 [DEBUG] [org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler] C
ompiler arguments: -d /usr/src/myapp/cql/build/classes/main -g -sourcepath /usr/src/my
app/cql/build/tmp/compileJava/emptySourcePathRef -classpath /root/.gradle/caches/modul
es-2/files-2.1/org.antlr/antlr4/4.5/af4a530e3cd7fa03636645d8077145eefac12907/antlr4-4.
5.jar:/root/.gradle/caches/modules-2/files-2.1/org.antlr/antlr4-runtime/4.5/29e48af049
f17dd89153b83a7ad5d01b3b4bcdda/antlr4-runtime-4.5.jar:/root/.gradle/caches/modules-2/f
iles-2.1/org.antlr/antlr-runtime/3.5.2/cd9cd41361c155f3af0f653009dcecb08d8b4afd/antlr-
runtime-3.5.2.jar:/root/.gradle/caches/modules-2/files-2.1/org.antlr/ST4/4.0.8/a1c55e9
74f8a94d78e2348fa6ff63f4fa1fae64/ST4-4.0.8.jar:/root/.gradle/caches/modules-2/files-2.
1/org.abego.treelayout/org.abego.treelayout.core/1.0.1/e31e79cba7a5414cf18fa69f3f0a2cf
9ee997b61/org.abego.treelayout.core-1.0.1.jar /usr/src/myapp/cql/src/main/java/org/cqf
ramework/cql/Main.java -XDuseUnsharedTable=true
23:37:16.136 [INFO] [org.gradle.api.internal.tasks.compile.JdkJavaCompiler] Compiling
with JDK Java compiler API.
23:37:16.333 [ERROR] [system.err] /usr/src/myapp/cql/src/main/java/org/cqframework/cql
/Main.java:6: error: package org.cqframework.cql.gen does not exist
23:37:16.333 [ERROR] [system.err] import org.cqframework.cql.gen.cqlLexer;
23:37:16.333 [ERROR] [system.err]                               ^
23:37:16.334 [ERROR] [system.err] /usr/src/myapp/cql/src/main/java/org/cqframework/cql
/Main.java:7: error: package org.cqframework.cql.gen does not exist
23:37:16.334 [ERROR] [system.err] import org.cqframework.cql.gen.cqlParser;
23:37:16.334 [ERROR] [system.err]                               ^
23:37:16.357 [ERROR] [system.err] /usr/src/myapp/cql/src/main/java/org/cqframework/cql
/Main.java:25: error: cannot find symbol
23:37:16.357 [ERROR] [system.err]         cqlLexer lexer = new cqlLexer(input);
23:37:16.357 [ERROR] [system.err]         ^
23:37:16.358 [ERROR] [system.err]   symbol:   class cqlLexer
23:37:16.358 [ERROR] [system.err]   location: class Main
23:37:16.358 [ERROR] [system.err] /usr/src/myapp/cql/src/main/java/org/cqframework/cql
/Main.java:25: error: cannot find symbol
23:37:16.358 [ERROR] [system.err]         cqlLexer lexer = new cqlLexer(input);
23:37:16.358 [ERROR] [system.err]                              ^
23:37:16.358 [ERROR] [system.err]   symbol:   class cqlLexer
23:37:16.358 [ERROR] [system.err]   location: class Main
23:37:16.359 [ERROR] [system.err] /usr/src/myapp/cql/src/main/java/org/cqframework/cql
/Main.java:27: error: cannot find symbol
23:37:16.360 [ERROR] [system.err]         cqlParser parser = new cqlParser(tokens);
23:37:16.360 [ERROR] [system.err]         ^
23:37:16.360 [ERROR] [system.err]   symbol:   class cqlParser
23:37:16.360 [ERROR] [system.err]   location: class Main
23:37:16.360 [ERROR] [system.err] /usr/src/myapp/cql/src/main/java/org/cqframework/cql
/Main.java:27: error: cannot find symbol
23:37:16.361 [ERROR] [system.err]         cqlParser parser = new cqlParser(tokens);
23:37:16.361 [ERROR] [system.err]                                ^
23:37:16.361 [ERROR] [system.err]   symbol:   class cqlParser
23:37:16.361 [ERROR] [system.err]   location: class Main
23:37:16.376 [ERROR] [system.err] 6 errors
23:37:16.378 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExe
cuter                                                                                ]
                                                                                F
inished executing task ':cql:compileJava'
23:37:16.378 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :cql:compileJava FAILE
D
23:37:16.379 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :cql:com
pileJava (Thread[main,5,main]) completed. Took 14.68 secs.
23:37:16.379 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task wo
rker [Thread[main,5,main]] finished, busy: 14.694 secs, idle: 0.002 secs
23:37:16.385 [ERROR] [org.gradle.BuildExceptionReporter]
23:37:16.385 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an
 exception.
23:37:16.386 [ERROR] [org.gradle.BuildExceptionReporter]
23:37:16.386 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
23:37:16.386 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':c
ql:compileJava'.
23:37:16.386 [ERROR] [org.gradle.BuildExceptionReporter] > Compilation failed; see the
 compiler error output for details.
23:37:16.386 [ERROR] [org.gradle.BuildExceptionReporter]
23:37:16.387 [ERROR] [org.gradle.BuildExceptionReporter] * Try:
23:37:16.387 [ERROR] [org.gradle.BuildExceptionReporter] Run with --stacktrace option
to get the stack trace.
23:37:16.387 [LIFECYCLE] [org.gradle.BuildResultLogger]
23:37:16.388 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
23:37:16.388 [LIFECYCLE] [org.gradle.BuildResultLogger]

here is full log of build in case you need that:
build.txt

It looks like the generateSources step didn't run for the cql project (that's where the Antlr4 generation is happening). That's the only thing I can see that would cause that error in the debug. Not sure why it wouldn't be running (and I don't see anything in the build.txt that indicates anything went wrong with downloading the Antlr dependency). Can you try running just the generateGrammarSource task? Maybe something's going wrong there that isn't showing up in the build logs here.

Happy too, but how do I do that?
Sent from pad please excuse brevity
On 16/06/2016 3:52 AM, "Bryn Rhodes"<EMAIL_ADDRESS>wrote:

It looks like the generateSources step didn't run for the cql project
(that's where the Antlr4 generation is happening). That's the only thing I
can see that would cause that error in the debug. Not sure why it wouldn't
be running (and I don't see anything in the build.txt that indicates
anything went wrong with downloading the Antlr dependency). Can you try
running just the generateGrammarSource task? Maybe something's going wrong
there that isn't showing up in the build logs here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cqframework/clinical_quality_language/issues/54#issuecomment-226266706,
or mute the thread
https://github.com/notifications/unsubscribe/AA6EAi65qiU2WmqCAPOj4acYnO0Qyxqjks5qMDvqgaJpZM4I1JHc
.

ok different error now after manually firing ./gradlew generateGrammarSource
00:04:45.892 [ERROR] [org.gradle.api.internal.project.ant.AntLoggingAdapte
r] [ant:xjc] [ERROR] schema_reference.4: Failed to read schema document 'f
ile:/usr/src/cql-lm/schema/elm/library.xsd', because 1) could not find the
 document; 2) the document could not be read; 3) the root element of the d
ocument is not <xsd:schema>.
00:04:45.894 [ERROR] [org.gradle.api.internal.project.ant.AntLoggingAdapte
r] [ant:xjc] unknown location
00:04:45.895 [ERROR] [org.gradle.api.internal.project.ant.AntLoggingAdapte
r] [ant:xjc]
00:04:45.903 [ERROR] [org.gradle.BuildExceptionReporter]
00:04:45.904 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build fa
iled with an exception.
00:04:45.904 [ERROR] [org.gradle.BuildExceptionReporter]
00:04:45.905 [ERROR] [org.gradle.BuildExceptionReporter] * Where:
00:04:45.905 [ERROR] [org.gradle.BuildExceptionReporter] Build file '/usr/
src/myapp/elm/build.gradle' line: 12
00:04:45.905 [ERROR] [org.gradle.BuildExceptionReporter]
00:04:45.905 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong
:
00:04:45.905 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed
for task ':elm:generateSources'.
00:04:45.906 [ERROR] [org.gradle.BuildExceptionReporter] > unable to parse
 the schema. Error messages should have been provided
00:04:45.906 [ERROR] [org.gradle.BuildExceptionReporter]
00:04:45.906 [ERROR] [org.gradle.BuildExceptionReporter] * Try:
00:04:45.906 [ERROR] [org.gradle.BuildExceptionReporter] Run with --stackt
race option to get the stack trace.

log1.txt

Interesting.  It says it is not able to find the ELM XSD.  I remember seeing a previous error in one of your logs that looked like it couldn't find the CQL grammar.  So... it seems like it is having trouble finding some of the files in other source paths.  Is this possibly a docker thing with the file paths?
Did you checkout the whole clinical-quality-language repository and leave it in-tact?  It looks like you may have modified some paths.  I noticed in the log above that it references a build file at '/usr/ src/myapp/elm/build.gradle'.   That's not a valid path in our repo (it should be 'clinical-quality-language/Src/java/elm/build.gradle').  Are you trying to embed this code into a different codebase?  If so, that's probably your problem -- the elm module is expecting to find specific files and projects using relative paths within the whole repo.  If you just copied out part of the repo, those parts of the build would fail.  Is that possibly what's going on?
Do you actually need/want to build the source code, or do you really just need to use it (unmodified) in your project?  If the latter, then you might be better off just using our jars from Maven Central: http://search.maven.org/#search|ga|1|g%3A"info.cqframework"

ah thanks Chris - I just need to shift my mount point higher up the tree - I'm only mounting from Src/java down
standby :-)

Great.  Let me know how it goes.  If successful, I wouldn't be surprised if you can also switch back to OpenJDK 8.  The mount point has probably been the problem all along.  Sorry I didn't notice it earlier!

ah that would be nice
its running now
would you like a nice docker image for the project to run in?

Woot indeed!  Sorry it took so long to get here, but I'm glad we finally made it!  Thanks @brynrhodes for your help too!  Regarding a docker image, I'm (sadly) not really in this project much anymore -- so I'll let Bryn decide if he wants to pursue that.
I'm closing this issue, but please do come back and let us know if you try OpenJDK and it works!

all good - thanks for the help :-)


1.20.3

This is a branch to gather work on supporting features and representation changes from Minecraft 1.20.3.
Relevant changelogs:

23w40a

So, my current thought for handling version differences is, we should have a 'feature flag' system, where things like 'emit legacy hover event' or 'emit uuid as ints' vs 'emit uuid as string' are toggleable options. We'd need to produce presets for compatibility with different game versions, plus probably a 'latest' and 'most compatible' levels.
Should this be game versions? Then how do we handle snapshots?
Alternately, we could mark these revisions by:

datapack versions
protocol versions
data versions

Thoughts on what makes most sense?

We still need to implement:

[ ] handling for the type field
[ ] NBT component serialization (or DFU integration)
[ ] matching the strictness of Vanilla serialization

but I think it's worth merging this as-is just to have published snapshots that others can depend on.


FEATURE: Use direct_message_enabled_groups for DM access

This commit introduces the direct_message_enabled_groups setting,
which is used to control which groups can send direct messages in
chat. Staff can always send direct messages.
If a user is not part of any direct_message_enabled_groups,
then they cannot create new DM channels, cannot send messages
in existing DM channels, and if they have no existing DM channels
they will not see the DM channel list in the sidebar.
Note, this requires https://github.com/discourse/discourse/pull/18042 to be merged first.

Good points @tgxworld thanks, I opened this ages ago so I think my eyes glazed over a little. Will reexamine today and address comments :+1:


Put timeout on batch; fix #7

Note: timeout is not configurable yet.

Can you add the guava version as a properties in the pom?

In poll this is very java
val l = new util.ArrayListStatus
Replace with
Val l = new ListBufferString
Its a mutable list in scala.

From: Rollulus<EMAIL_ADDRESS>Sent: 01/03/2016 16:24
To<EMAIL_ADDRESS>Cc: Andrew<EMAIL_ADDRESS>Subject: Re: [kafka-connect-twitter] Put timeout on batch; fix #7 (#8)
Assigned #8https://github.com/Eneco/kafka-connect-twitter/pull/8 to @andrewstevensonhttps://github.com/andrewstevenson.
—
Reply to this email directly or view it on GitHubhttps://github.com/Eneco/kafka-connect-twitter/pull/8#event-573182195.


remove openuserjs

no one cares about it

merge immediately! no delay!!!

This is not the right attitude towards open source projects @RainerZufall187


not require the use of babel-node in npm package

I am already using babel-node programmatically in my project. But babel-node doesn't go through node_modules. If I instruct it to do so, then it fails on an express middleware ("static is a reserved keyword").
It would make it easier to not require the use of babel in the npm package.

I am not sure if I understand it right, but graffiti-mongoose is transpiled to ES5, if you install it using npm, it shouldn't be a problem.

You understood right. Is there a way for me to get rid of that error ?
/node_modules/@risingstack/graffiti/src/koa/index.js:14
    return function *(next) {
                    ^
SyntaxError: Unexpected token *
    at exports.runInThisContext (vm.js:73:16)
    at Module._compile (module.js:443:25)
    at Module._extensions..js (module.js:478:10)

It looks like it should be possible using babel-node arguments, but I am fuzzy on the details and asked a question there : http://stackoverflow.com/questions/33174008/babel-node-not-ignore-some-node-modules

@nha hi it's a generator function. You don't need babel for that just use the latest Node.js: 4.x.x

@hekike Ah thanks let me try that.

Alright it seems to solve the issue (I have another one related to gyp-rebuild and probably osx but it seems unrelated so I will close this issue). Thanks @hekike.

@nha ok, sure! Probably you need to update some of your packages and I also recommend to remove node_modules folder and npm install it again because the updated node-gyp. More info here: https://nodejs.org/en/blog/weekly-updates/weekly-update.2015-09-04/


bumping to 0.8.2

The last merge #27 didn't get versioned before releasing the gem. Would be great to merge this version bump and I'll release a new gem. cc @tshak @scottdensmore

this fixes #39


Page contains wrong documentation

The explanation for parameter -filter1 is wrong.
It contains examples with symbol = like -> -Filter1 = @("Activity", "LabelApplied", "LabelRemoved")

If you use this parameter with other filter parameters, AND behavior is used across parameters. For example:
-Filter1 = @("Activity", "LabelApplied", "LabelRemoved") -Filter2 = @("Workload", "Exchange") returns records with the activity values LabelApplied or LabelRemoved for the Exchange workload. In other words, ((Activity eq LabelApplied) OR (Activity eq LabelRemoved)) AND (Workload eq Exchange)._

And this is wrong.
This parameter has to be executed without = like its reflected on the example 4 of the article:
Export-ActivityExplorerData -StartTime "07/06/2022 07:15 AM" -EndTime "07/08/2022 11:08 AM" **-Filter1 @("Activity", "FileArchived") -OutputFormat Csv**

If you executed with = you will receive:
PS C:\Users\outlook> Export-ActivityExplorerData -StartTime 2023/04/12 -EndTime 2023/05/11 -Filter1 = @("Activity", "LabelApplied") -Filter2 = @("Activity", "LabelApplied")
Cannot validate argument on parameter 'Filter1'. The number of provided arguments (1) is fewer than the minimum number of allowed arguments (2). Provide
more than 2 arguments, and then try the command again.
    + CategoryInfo          : InvalidData: (:) [Export-ActivityExplorerData], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Export-ActivityExplorerData
    + PSComputerName        : eur01b.ps.compliance.protection.outlook.com

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 2f188a25-7afc-f6cf-5d2a-5bc9fd08ca1f
Version Independent ID: 33ed55ee-de0e-2c0c-2141-9a21083392cd
Content: Export-ActivityExplorerData (ExchangePowerShell)
Content Source: exchange/exchange-ps/exchange/Export-ActivityExplorerData.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

@v-2caque, fixed.
In the future, you too can make changes like this yourself; no need to open an issue first. For instructions, see here.
Thanks for the feedback.
Closing


Vickel: Watch<EMAIL_ADDRESS>

Vickel requests the watch of the watch_keyword deepwatch880(?:@outlook\.com). See the MS search here and the Stack Exchange search in text, in URLs, and in code.

<EMAIL_ADDRESS>has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Rejected by Jeff Schaller in Charcoal HQ. Reason: 'at the author's request-- syntax error'


feat(tls): generate client certificates for agents

Welcome to Cryostat! 👋
Before contributing, make sure you have:

[ ] Read the contributing guidelines
[ ] Linked a relevant issue which this PR resolves
[ ] Linked any other relevant issues, PR's, or documentation, if any
[ ] Resolved all conflicts, if any
[ ] Rebased your branch PR on top of the latest upstream main branch
[ ] Attached at least one of the following labels to the PR: [chore, ci, docs, feat, fix, test]
[ ] Signed all commits: git commit -S -m "YOUR_COMMIT_MESSAGE"

Fixes: #936
Description of the change:

Creates a uniquely-named certificate for each target namespace for use by Cryostat agents within it. The certificate has a wildcard hostname within the namespace subdomain, and supports client and server usages.

Create a Certificate in the install namespace with a cluster unique name (hashed install_namespace/cr_name/target_namespace)
Once cert-manager creates the secret in the install namespace, copy it to the target namespace
If the target namespace is removed, the Certificate and its secret will be deleted, along with the copy in the target namespace
If the CR is deleted, the finalizer allows the operator to delete the secret copies from all target namespaces

Adds a test for finalizing CA cert secret copies in target namespaces
Makes use of the TARGET_NAMESPACES variable in the Makefile, previously used for ClusterCryostat

Motivation for the change:

This PR is part of the work to allow auto-configuration of the agent (#784) using client certificates as an alternative authentication mechanism. The certificate and key can also be used to set up TLS for the agents' HTTP servers.

How to manually test:

Deploy PR
Create multi-namespace Cryostat
Add/remove namespaces
Verify certificates/secrets are created/deleted in expected namespaces

/build_test

I tried creating a Cryostat with targetNamespaces: ['cryostat', 'apps1', 'apps2'], where cryostat is also the installation namespace. Then I used oc get secrets -n $ns to check that the cert secret was created in each, which it was. Then I tried oc delete project apps1 - oc get secrets -n apps1 shows nothing (obviously), oc get secrets -n cryostat shows all three secrets still present. Then I did oc new-project apps1 and oc get secrets -n apps1, oc get secrets -n cryostat - the secret still exists in the installation namespace, but did not get (re-)copied into apps1.
I guess for this to work the Operator would also need to be watching for any namespaces to be created/deleted in the cluster, so that it can reconcile by deleting the original secrets if namespaces are deleted, or recreating/re-copying them if a matching namespace is recreated too?
Otherwise, the change itself looks good, though it seems that scorecard tests are failing.

I guess for this to work the Operator would also need to be watching for any namespaces to be created/deleted in the cluster, so that it can reconcile by deleting the original secrets if namespaces are deleted, or recreating/re-copying them if a matching namespace is recreated too?

I suppose other objects that are placed in target namespaces would suffer from the same issue (e.g. role bindings, CA secrets). This might be a bit tricky to handle. Since we can't have cross-namespace owner references, maybe we could do something like this:

Apply a label to all cross-namespace objects pointing to the namespace/name of the CR
Add a custom controller watch on cross-namepsace object types (e.g. secret, rolebinding) that checks for the label(s)
If the label exists, enqueue a reconcile request for that CR's namespace/name
Controller recreates any missing objects

As for deleting the certificate object from the install namespace for deleted namespaces, we could issue a get request for the namespace and, if it doesn't exist, delete the certificate and secret. I think the namespace deletion event should be captured with the above custom controller watch.

/build_test

I filed #941 for the target namespace issue. I'll work on that next in a follow-up PR.


[suggestion] ore spawn by dimension

Hi, this mod is great to create modpack on 1.16 with progression, but i suggest a other field in [[Custom Ore]] section, to spawn ore in a specific dimension like it
`[["Custom Ore"]]
"Ore Name" = "minecraft:coal_ore"

"Filler Name" = "minecraft:stone"

"Max Vein Size" = 48

"Min Vein Level" = 1

"Max Vein Level" = 256

"Spawn Rate" = 48

    "dimension" = 0

`
I don't know if possible.

The way to use this in another dimension is to change "minecraft:stone" to "minecraft:endstone" or "minecraft:netherrack".
If your trying to put ores in a modded dimension with different blocks you would put "(The mod name):(The block from the mod)".
To find the exact names you can go in game and type "/give @p" then the name of the mod and then go through the options until you find the block you want the ore to spawn in.

The way to use this in another dimension is to change "minecraft:stone" to "minecraft:endstone" or "minecraft:netherrack".
If your trying to put ores in a modded dimension with different blocks you would put "(The mod name):(The block from the mod)".
To find the exact names you can go in game and type "/give @p" then the name of the mod and then go through the options until you find the block you want the ore to spawn in.

The way to use this in another dimension is to change "minecraft:stone" to "minecraft:endstone" or "minecraft:netherrack".

This only works in dimensions with other stone types, this doesn't work ie in a mining dimension, which is filled with vanilla stone.
It would be amazing if the dimension option could be added to the config!

The way to use this in another dimension is to change "minecraft:stone" to "minecraft:endstone" or "minecraft:netherrack".

This only works in dimensions with other stone types, this doesn't work ie in a mining dimension, which is filled with vanilla stone.
It would be amazing if the dimension option could be added to the config!

I'll look into adding biome and dimension filters.

I'll look into adding biome and dimension filters.

Excuse me, do you have any plans to continue doing this...? :(

i'd love to see biome and dimension specific filters in the near future =)


Backend - Project update feed

I don't know anything about testing this @MoeNick

@CarlosQ96 can you please provide the name of the service so @MohammadPCh can QA it.

Linking. my current PR: https://github.com/Giveth/impact-graph/pull/752
I will modify it with what we talked in the meeting.

Summary:

One card per project (even if they do many updates, only get latest update)
Join with the project for the slug and image.

Making the changes said in the meeting. Will deploy tomorrow early.

Unique project card (1 update max in the list)
Join project data.

https://github.com/Giveth/impact-graph/issues/856#issuecomment-1462015572
In latest updates the unlisted and deactivated projects are shown @CarlosQ96

Now we show the latest update of each project
That is, if a project has, for example, two updates in one day
In the list of latest updates, the second update replaces the first, is this ok? @MoeNick

I'll add the validations tomorrow.

Yeah I don't remember where, but I talked to Ashley and the latest update should replace the new one.

@WhyldWanderer can you confirm?

#856 (comment) In latest updates the unlisted and deactivated projects are shown @CarlosQ96

This problem has been resolved and now the unlisted and deactivated projects are not shown in latest updates list