画面遷移図にて画面遷移契機のエッジ文字列にマウスカーソルを合わせると赤太文字になるがそれに伴って文字の右端が切れる

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

特段，見栄えに致命的な影響は無いとみられる．
issue整理のためクローズとする．


Blank line at the top(or  bottom) of lsp window and no way remove it

Hover

Signature

Completion

I think those blank lines aren't that blank after all. Those are code blocks with language not visible in the markdown preview. Nevertheless, it would be good to get rid of them :D

You are right, that makes sense.

In the default Neovim lsp markdown renderer, we strip the begininig and end of code blocks and use syn-region to highlight the syntax.
The new Noice markdown renderer uses Treesitter under the hood, since it is by far superior in terms of highlighting and concealing, but the Treesitter highlighter currently doesn't support highlighting regions.
I'm planning to make a PR upstream to make this possible.
Once that's done, I can use that to strip those lines.

Another issue maybe also related to this.

The last row in this case is a markdown link.
Window's width is not rendering correctly.
It's should same with the length second last row.

There's no way to caculate the concealed str width as far as I know. So that's why the window width is wider

Indeed, it's a small problem, does't affecting the rest of the awesome features

couldn't this be done with injections @folke or have I missunderstood something?

I thought with the "highlight a region" you meant sth like injections

Sorry to comment on an old issue, but what is the current state of this?
Judging by the "Closed" status I guess it's solved somehow, but I can't seem to configure it properly.
I've been trying to figure it out for several hours now, but I still get the empty (concealed) lines in the hover pop-ups (in Rust, with rustaceanvim) no matter what configuration I try.
Right now I use the default config that is used in LazyVim.


Christmas day in Spain

In Spain, when christmas is on a sunday (as it will be in 2022), the holiday will be on the monday 26/12, I will propose a PR to update this behaviour.

@sylvaincombes Is this because of a recent change in regulations or has this been incorrect in Yasumi all the time?

After thinking a little more about it :

It has been said to me by a native one as a general rule
But searching online I didn't find precise clear confirmation of that rule
I think maybe we should handle it better like some case where I saw keys like "substituteHoliday:christmasDay" and let Christmas on 25/12
If we can have some help by spain natives it would be great


TypeError: Cannot read property 'getPublicInstance' of undefined with react 16

I am trying out jest with react 16 and I get:
    TypeError: Cannot read property 'getPublicInstance' of undefined

      at WrapperComponent.getWrappedComponent (node_modules/enzyme/build/ReactWrapperComponent.js:95:31)
      at new ReactWrapper (node_modules/enzyme/build/ReactWrapper.js:100:34)
      at mount (node_modules/enzyme/build/mount.js:19:10)
      at Object.<anonymous> (src/components/common/PickUsersModal.spec.js:8:30)

when I try to mount my react component. shallow and render work fine

enzyme is not yet compatible with react 16; as npm ls will show you.
You'll have to downgrade react or wait for enzyme v3.


chore(audit): update audit report display for elements to delete

Download Artifacts :

win-ia32
win-x64
linux-x64


cat: Put splice code in separate file, handle more failures

Currently, if the second call to splice fails, or if pipe creation fails, cat will not attempt to fall back to normal read/write. This was an oversight on my part. This PR fixes that.

I guess it is too hard to write a test for this?

It's pretty much impossible to test the pipe() failure unless we use something like seccomp, but I've added tests for the second splice failing (when stdout is a file opened in append mode).

could you please fix the conflict? sorry

@sylvestre Could you take another look? Thanks.

thanks!


Fixes optional rc bugs

The process library GOCART2G_Process.F90 had several instances of an optional rc being set without first checking if it is present. This fixes those instances which resolves #9.

Note: The CI failure is because the CircleCI config file is only on develop and not on main (or this branch) yet.

Can we use the _EXAMPLE commands? I thought this was MAPL related.

@gmao-esherman, you can use any of the macros defined at the top of the file (lines 1-7). They happen to imitate the MAPL ones.

This PR requires a discussion.

Closing due offline discussion between @tclune and @amdasilva


Write a load/performance/size scaling proposal for ReportStream

Write a scaling proposal.  Up to 1 million Items per day.

I'm closing this as we have a good understanding of current load issues.   We can open specific issues as the need arises.


Support plugin "Quiet Outline"

@damiankorcz hello again
Plugin
Quiet Outline is an enhanced outline plugin.
quiet outline
would u please make Prism suit this plugin ?

Environment
OS: win10
OB: v0.14.6
Prism: v2.1.0
Quiet Outline 0.2.4
Last
😁

This should now be addressed in Version 2.2.0.


Myosuit with windows

It seems that Myosuit only works on Linux and Mac. Does it also works on windows or not?

Hi! we didn't test it on Windows (so we could not provide instructions). The major issue on running MyoSuite on windows is that we depend on mujoco-py, which is deprecated in windows. I know that some have successfully managed to install MyoSuite on windows, so it should be possible.
The seps I would follow are:

install mujoco windows binaries -- https://github.com/deepmind/mujoco/releases/tag/2.1.2 under assets
pip install mujoco-py
git clone git@github.com:facebookresearch/myosuite.git
cd myosuite
pip install -e .

if you succeed, please suggest the steps you followed to update the advanced installation instructions

@vahid34 did the above solutions work for you?

Hi,
maybe have a look here: https://medium.com/@sayanmndl21/install-openai-gym-with-box2d-and-mujoco-in-windows-10-e25ee9b5c1d5

Myosuite is only installed on Macbook or Linux. Therefore, installing Myosuite requires Linux on Windows. Two options available are the built-in WSL or a virtual box. The virtual box performs better for Myosuite due to its simpler visualization capabilities.

Install Virtual box from Here
Follow the instructions to create a virtual box with Linux Ubuntu 20.0.04+ installed (need to download the ubuntu .iso file and include it in the creation of the VM)
Follow the  linux advanced installation guide to install Myosuite
Download the github repo for myosuite to be able to run the python test code on your VM

Potential issues:

IMPORT ERROR: ‘GLIBCXX_3.4.30 not found’
Solution: solution found on stackoverflow: libstdcxx is replaced by libstdc++ in conda therefore we can need to libstdcxx-ng=12 for conda
Use the command:
conda install -c conda-forge libstdcxx-ng=12
If that doesn’t solve the issue refer to solutions presented HERE

Illegal instructions (CORE DUMPED) when running the test script provided in github page:
Solution: this issue might not be related to virtual box and windows itself. If you see a turtle with the V logo in the bottom right corner of your VM, these solutions and instructions can be found HERE

Hi! we didn't test it on Windows (so we could not provide instructions). The major issue on running MyoSuite on windows is that we depend on mujoco-py, which is deprecated in windows. I know that some have successfully managed to install MyoSuite on windows, so it should be possible.
The seps I would follow are:

install mujoco windows binaries -- https://github.com/deepmind/mujoco/releases/tag/2.1.2 under assets
pip install mujoco-py
git clone git@github.com:facebookresearch/myosuite.git
cd myosuite
pip install -e .

if you succeed, please suggest the steps you followed to update the advanced installation instructions

These steps worked for me for running on Windows without a VM, as far as getting to the random action example scenes, and passing tests. The following additional changes were required:

os.add_dll_directory(r"<PATH_TO_MINICONDA>\Miniconda3\envs\myosuite\lib\site-packages\mujoco_py\binaries\windows\mujoco210\bin") added to mujoco-py's builder.py
removing from os import sendfile  (which is seemingly unused) from the pen_v0.py environment


Handle Error When Local Creds Used

When the Hyper-V host is set up with local credentials instead of domain
credentials, and an attempt is made to run SSA against a VM whose virtual
disk resides on a network-mounted datastore, a cryptic error is returned
and not handled correctly.
In case this happens, an exception is raised and a meaningful error is written to the log.
Note that this exception is handled within a loop of the different disk module
probes. A future modification should specify that one error in particular should
be reflected to the UI and the loop should not continue.
In addition, other exceptions might fall through the cracks because we previously
checked only for errors formatted in one specific manner.  We now handle this as well.
@roliveri @Fryguy @chessbyte please review and merge when appropriate.  Thank you.

@roliveri @Fryguy any chance of reviewing/merging this minor PR?  Thanks.

I'm ok with this for now, but we'll have to see if other valid errors crop up. If they do, we should consider switching the code to ignore certain stderr messages rather than trying to catch the ones we think are valid.


Build Failure with nvcc: TensorFlow 2.15.0 with CUDA 12.2 on Jetson Orin Nano

Issue type
Support
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
2.15.0
Custom code
No
OS platform and distribution
Ubantu 22.04 for jetson orin nano
Mobile device
Jetson Linux 36.3
Python version
3.10
Bazel version
6.1.0
GCC/compiler version
11.4.0
CUDA/cuDNN version
cuda 12.2.140, cuDNN <IP_ADDRESS>
GPU model and memory
NVIDIA Jetson orin nano devkit
Current behavior?
I'm attempting to build TensorFlow 2.15.0 with CUDA support using Bazel for . However, the build process fails with multiple errors.
nvidia@nvidia-desktop:~/tensorflow_lib_2_15/tensorflow-2.15.0$ sudo ./configure
You have bazel 6.1.0 installed.
Please specify the location of python. [Default is /usr/bin/python3]:

Found possible Python library paths:
  /usr/lib/python3.10/dist-packages
  /usr/lib/python3/dist-packages
  /usr/local/lib/python3.10/dist-packages
Please input the desired Python library path to use.  Default is [/usr/lib/python3.10/dist-packages]

Do you wish to build TensorFlow with ROCm support? [y/N]: n
No ROCm support will be enabled for TensorFlow.

Do you wish to build TensorFlow with CUDA support? [y/N]: Y
CUDA support will be enabled for TensorFlow.

Do you wish to build TensorFlow with TensorRT support? [y/N]: Y
TensorRT support will be enabled for TensorFlow.

Found CUDA 12.2 in:
    /usr/local/cuda-12.2/targets/aarch64-linux/lib
    /usr/local/cuda-12.2/targets/aarch64-linux/include
Found cuDNN 8 in:
    /usr/lib/aarch64-linux-gnu
    /usr/include
Found TensorRT 8.6.2 in:
    /usr/lib/aarch64-linux-gnu
    /usr/include/aarch64-linux-gnu

Please specify a list of comma-separated CUDA compute capabilities you want to build with.
You can find the compute capability of your device at: https://developer.nvidia.com/cuda-gpus. Each capability can be specified as "x.y" or "compute_xy" to include both virtual and binary GPU code, or as "sm_xy" to only include the binary code.
Please note that each additional compute capability significantly increases your build time and binary size, and that TensorFlow only supports compute capabilities >= 3.5 [Default is: 3.5,7.0]: 8.7

Do you want to use clang as CUDA compiler? [Y/n]: n
nvcc will be used as CUDA compiler.

Please specify which gcc should be used by nvcc as the host compiler. [Default is /usr/bin/gcc]:

Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -Wno-sign-compare]:

Would you like to interactively configure ./WORKSPACE for Android builds? [y/N]:
Not configuring the WORKSPACE for Android builds.

Preconfigured Bazel build configs. You can use any of the below by adding "--config=<>" to your build command. See .bazelrc for more details.
	--config=mkl         	# Build with MKL support.
	--config=mkl_aarch64 	# Build with oneDNN and Compute Library for the Arm Architecture (ACL).
	--config=monolithic  	# Config for mostly static monolithic build.
	--config=numa        	# Build with NUMA support.
	--config=dynamic_kernels	# (Experimental) Build kernels into separate shared objects.
	--config=v1          	# Build with TensorFlow 1 API instead of TF 2 API.
Preconfigured Bazel build configs to DISABLE default on features:
	--config=nogcp       	# Disable GCP support.
	--config=nonccl      	# Disable NVIDIA NCCL support.
Configuration finished

Key observations:
Warnings about the cuda config being expanded multiple times.
The issue persists even after trying alternative compilers like Clang 16 and integrating NVCC.
Below are logs with nvcc compiler
ERRORLOGS.txt
Standalone code to reproduce the issue
bazel build --config=cuda --jobs=2 //tensorflow:libtensorflow_cc.so

Relevant log output
No response

@Abhay-2412,
Thanks for reporting the issue. Looks like this is a known issue while building the TensorFlow v2.15 with aarch64.
Could you please try to refer to the issue for the updates on the same. Also please check the version compatibility w.r.t CUDA and cuDNN
https://github.com/tensorflow/tensorflow/issues/62490
https://github.com/tensorflow/tensorflow/issues/59924
Thank you!


[Bug]: Appropriate cursor does not appear when hovering over pencil icon to change workspace name

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When hovering over the pencil icon to edit a workspace name, the expected CTA cursor does not appear. This got introduced as part of this fix PR: https://github.com/appsmithorg/appsmith/pull/35855
Steps To Reproduce

Try to change a workspace name

Expected: The appropriate CTA cursor should appear.
Public Sample App
No response
Environment
Release
Severity
Low (Cosmetic UI issues)
Issue video log
https://jam.dev/c/164fd07c-4017-4f55-9a1d-fd577ddb0ec3
Version
Cloud

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."


runmodels: add --norun option

compile and link only

Closes #31
Note I have only done some sanity checking (didn't run all models)

Note I have only done some sanity checking (didn't run all models)

running here: https://github.com/neuronsimulator/nrn-modeldb-ci/actions/runs/2453365351

I'll have to think about the purpose of the "Skipped runs":

I remember some of those were because the simulation was taking too long. So I curated a few and enabled them. The rest didn't have any comments or were not straightforward to shorten, therefore still skipped.

i.e. https://github.com/neuronsimulator/nrn-modeldb-ci/blob/master/modeldb/modeldb-run.yaml#L414

I have run locally all models with --norun and did not spot any issue. Will merge.


Query Regarding the Number of Subjects for 5-min vs. 10-min Data Trimming

Hello all,
I'm trying to get a clear understanding of the trimming conditions for data based on FD 0.2 restrictions. My interpretation is that the condition requires the data to satisfy the FD 0.2 threshold and, at the same time, have a duration where the subject satisfies the FD 0.2 restriction for more than 5 minutes.
However, I've come across an observation that I find puzzling. The dataset labeled _ses-baselineYear1Arm1_task-rest_bold_atlas-Gordon2014FreeSurferSubcortical_desc-filtered_timeseries_thresh-fd0p2mm_censor-10min_conndata-network_connectivity.pconn.nii has more subjects than the dataset labeled _ses-baselineYear1Arm1_task-rest_bold_atlas-Gordon2014FreeSurferSubcortical_desc-filtered_timeseries_thresh-fd0p2mm_censor-5min_conndata-network_connectivity.pconn.nii. Specifically, there are 577 subjects in the 5-minute dataset and 609 subjects in the 10-minute dataset.
Can someone shed some light on why the 10-minute dataset has more subjects than the 5-minute dataset? It seems counterintuitive.
Thanks in advance for your insights!

@tjhendrickson can you check in on this for the new release?

This will be resolved in upcoming release. The original mistake was caused by there not being all subjects uploaded for the 5 min data group


Small changes (typos?) to bot guide

Adding a paired ')' and switching a number to one that makes more sense?

Automated message from Dropbox CLA bot
@neiljp, thanks for the pull request! It looks like you haven't yet signed the Dropbox CLA. Please sign it here.

@neiljp this seems to merge conflict with some other doc fixes merged today; can you try rebasing this / seeing if it's needed now that we've merged them?

Please see #4924 instead.

Automated message from Dropbox CLA bot
@neiljp, thanks for signing the CLA!


Add OpenBSD to the Makefile test.

Yes, good point too.
And same request : please target "dev" branch for PR integration.


Sankey node's color can't be changed

Just noticed that color of a node inside sankey diagram can't be changed:

setting color:"#ffffff" doesn't have any effect as described in the docs.

Sankey diagram can't set a unique color in series.itemStyle.normal.color since each node needs to be encoded different color. Instead you can using a color palette like fowllowing
series: [{
  type: 'sankey',
  color: ['#fff']
}]

I still think it should be possible to use colors for individual items (as defined in the docs). Using palette means that color order matches nodes order in the sankey diagram + number of colors would need the be the same as number of nodes (if we want to match exact color).
In this example, each category (Business, Materials,.. ):

has its own color which is hard to set using color palette, considering there are variable number of countries on the right.
If color can be set on individual nodes, this should be easy + it would be consistent with other charts too. At least make this as enhancement?

Agree with that. Setting itemStyle.normal.color in each node has been supported in commit https://github.com/ecomfe/echarts/commit/d0a171ff2a94542bc95eb4e0785e1f3022c37549

This is awesome @pissang thanks heaps!


Introduce end-of-line normalization

End-of-lines are normalized before being committed (i.e., they're converted to LF).
Upon checkout, they're converted to CRLF on Windows, or left as-is on OS X/Linux by default.
Closes #113.
Tip: add ?w=1 to the URL of the diff page to see that it's almost only whitespace changes.

Thanks for the PR.  I'll review in a couple of weeks (sorry I cant do sooner)


i cant get v13

I cleared cache, cookies and logged in again, still I can't get v13 no dev

I've responded to you under #64, please see my response there.

Please keep it to #64 as this is yet another duplicate of the same issue. There's no need to split the discussion like this.


what are the changes to be made if we want too change the FRAME SIZE from 480 to 160?

by changing the the frame size from 480 to 160 and not changing anything else the code is not working. there is some memory issues? What are the respective changes needed to be made if the frame size has to be 160? getting stack smashing error after changing FRAME SIZE to 160 and PITCH_FRAME_SIZE to 320 keeping the original 480:960 ratio?

I don't know if this is going to help you, but I tried to change those macros from 480 to 160 cause I need those values too but in my case it didn't work. I rebuilt the library and I installed it and I tested the demo which comes with the source but it didn't work anyway. I think it didn't work because I need to retrain the model again but I'm not sure, sorry I'm not an expert in ML or that stuff. So finally, I left those macros untouched.

I think, you don't need to change the frame size;
Instead, create a buffer with size 480, and fill your 160 frame samples into 480 buffer, and keep the reset part of the buffer 0. after denoise with rnnoise, get the result from the 480 buffer and fill back to you frame;


no integration auto restart/recheck when moonraker is not available?

If the 3d printer/moonraker is not online when HA reboots, then the integration goes into error at starting and doesn't recover (aka rechecks) automatically.
But if I'm using the http rest call + manual template sensors derived from the rest call result in the configuration.yaml (my old way), then these come back 'alive' automatically.
I do prefer an integration, as you've built, but the need to manually restart it whenever I need to see the info of the printer (after a restart of HA when the printer was off), is kind of limiting.
Any chance of improving that behaviour?

Yes that sounds more than reasonable.
I have to figure out the way to do this cleanly.
Will fix, no ETA

Note for solution
https://developers.home-assistant.io/docs/integration_setup_failures/#handling-offline-or-unavailable-devices-and-services


[OTHER] Update COC email to link

What would you like to share?
Change Code of Conduct's email address to link.
The new link is: http://eddiejaoude.io/contact
Additional information
No response

I agree with this suggestion.

Is this the link that you talked about, @OkeyChukwude ?


Unclear usage/install instructions

You demonstrate usage using the npx binary.
I assume you mean npx which I had never heard about before. Ah, I see a link on the Readme to this blog post but had to really look for it...
Please provide better usage instructions, including using the create-inferno-app binary directly without npx. Thanks :)

npx is native program since npm 5.2+ There are instructions on Readme how to use it on older npm version. Also updated websites. https://infernojs.org/docs/guides/installation


group membership by user

trying to get a list of groups by a user's email address by:
gam print group-members member<EMAIL_ADDRESS>getting part of the groups and then:
Getting members for<EMAIL_ADDRESS>(1/35)
Getting members for<EMAIL_ADDRESS>(3/35)
Getting members for<EMAIL_ADDRESS>(4/35)

ERROR: 403: Domain cannot use apis. - domainCannotUseApis

Why do I get group results outside my domain?
all I need is the groups this user is a member-of inside current domain
is there any solution for this?
Thanks!

eyalgett,
If you want to restrict the domain, use the domain option: gam print
group-members member<EMAIL_ADDRESS>domain domain.com
Ross
On Wed, Jan 25, 2017 at 6:20 AM, eyalgett<EMAIL_ADDRESS>wrote:

trying to get a list of groups by his email address by:
gam print group-members member<EMAIL_ADDRESS>getting part of the groups and then:
Getting members for<EMAIL_ADDRESS>(1/35)
Getting members for<EMAIL_ADDRESS>(3/35)
Getting members for<EMAIL_ADDRESS>(4/35)
ERROR: 403: Domain cannot use apis. - domainCannotUseApis
Why do I get group results outside my domain?
all I need is the groups this user is a member-of inside current domain
is there any solution for this?
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/issues/400, or mute the thread
https://github.com/notifications/unsubscribe-auth/AIU8Lw2qig7ocArQnVzmyNg3_Xsfso8bks5rV1o3gaJpZM4LtiU2
.

--
Ross Scroggs
<EMAIL_ADDRESS>

just tried this, still the same error

gam print group-members member<EMAIL_ADDRESS>domain domain.com
I checked the API, member overrides domain, so using both doesn't help you.
I've added some error handling that should help, try this version:
https://github.com/taers232c/GAM-B/releases
This is a drop-in replacement for Jay's version, install it, copy
client_secrets.json, oauth2.txt, oauth2service.json from existing folder to
new folder.
Try your command: gam print group-members member<EMAIL_ADDRESS>Let me know the results, if it helps, I'll pass the changes on to Jay.
Ross
On Wed, Jan 25, 2017 at 7:47 AM, eyalgett<EMAIL_ADDRESS>wrote:

just tried this, still the same error
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/issues/400#issuecomment-275143954, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIU8L4R0o_e1FklT7-VjVN4nUDri6FrXks5rV26SgaJpZM4LtiU2
.

--
Ross Scroggs
<EMAIL_ADDRESS>

@eyalgett what are you trying to achieve here? You need to know ALL the members of a group that a user is a member of or you need to know all the groups the given user is in? Maybe try:
gam print groups member<EMAIL_ADDRESS>

@jay0lee  - i'm trying to get all groups that a specific user are in.
the command you just gave me works, but it also brings back groups that are out of the domain, not sure why (all from @googleforwork.com).
so i wonder if i can filter them out

@taers232c - havn't tried yet, but seems that the syntax @jay0lee wrote in his last respose is better, as it doesn't gives an error, and since it only gives some none-domain groups from gooleforwork.com, i've managed to remove them, so i'm good.
thanks all :)


Room searching algorithm improvement proposal

Changes will be described in pull request #41.
Check out the changes and merge this pull request if you agree with the changes.
By the way, I added allwaysVisibleMockDestination in the RoomSearchImpl just to showcase the difference between start and destination searches. You can think of them as having the same result, for now.

I agree with all changes.


fix: version string splitting

Contributor checklist

[ ] Bug fixes include regression tests
[ ] Features include unit/acceptance tests

This PR fixes how the dependency version string is parsed in igniter.install. Right now, adding a ref with another @ at the end raises a match error because the first split produces three parts instead of two, making lines 201 and 214 are not reachable.

🚀 Thank you for your contribution! 🚀


add in minuteInterval so it sets time correctly to the selected interval.

Added in support for the minuteInterval on the android side. It doesn't update the clock itself, but rather the time once the dialog has been dismissed. Added in several tests around the code changed to cover edge cases.

Coverage increased (+0.2%) to 98.45% when pulling c1fc63af3d18822da6b5e14540de81acf6bef3b7 on haleo9000:master into 58ed2b1fa9c6f372104788e6d2b5fa960be2792f on xgfe:master.


UUID support

Hi,
when using clickhouses UUID conversion with a fixed String I'm ending up with this error (for write and read):
[04:55:41] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[04:55:41] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at java.lang.Thread.run(Unknown Source)
[04:55:42] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]: java.sql.SQLException
[04:55:42] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at com.github.housepower.jdbc.misc.Validate.isTrue(Validate.java:14)
[04:55:42] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at com.github.housepower.jdbc.misc.Validate.isTrue(Validate.java:8)
[04:55:42] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at com.github.housepower.jdbc.misc.SQLLexer.stringLiteral(SQLLexer.java:72)
[04:55:42] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at com.github.housepower.jdbc.data.type.complex.DataTypeFixedString.deserializeTextQuoted(DataTypeFixedString.java:60)
[04:55:42] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at com.github.housepower.jdbc.stream.ValuesWithParametersInputFormat.next(ValuesWithParametersInputFormat.java:53)
[04:55:42] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at com.github.housepower.jdbc.ClickHouseConnection.sendInsertRequest(ClickHouseConnection.java:134)
[04:55:42] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at com.github.housepower.jdbc.statement.ClickHousePreparedInsertStatement.executeBatch(ClickHousePreparedInsertStatement.java:61)
[04:55:42] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at com.helion3.prism.storage.clickhouse.ClickhouseRecords.write(ClickhouseRecords.java:65)
[04:55:42] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at com.helion3.prism.queues.RecordingQueueManager.run(RecordingQueueManager.java:49)
[04:55:42] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at org.spongepowered.api.scheduler.Task$Builder.lambda$execute$0(Task.java:139)
[04:55:42] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at org.spongepowered.common.scheduler.SchedulerBase.lambda$startTask$0(SchedulerBase.java:192)
[04:55:42] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[04:55:42] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at java.util.concurrent.FutureTask.run(Unknown Source)
[04:55:42] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[04:55:42] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[04:55:42] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at java.lang.Thread.run(Unknown Source)

When doing the conversion my self, I'm ending up with setBytes not being supported:
[05:03:05] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]: java.sql.SQLFeatureNotSupportedException
[05:03:05] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at com.github.housepower.jdbc.wrapper.SQLStatement.setBytes(SQLStatement.java:295)
[05:03:05] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at com.helion3.prism.storage.clickhouse.ClickhouseRecords.write(ClickhouseRecords.java:54)
[05:03:05] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at com.helion3.prism.queues.RecordingQueueManager.run(RecordingQueueManager.java:49)
[05:03:05] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at org.spongepowered.api.scheduler.Task$Builder.lambda$execute$0(Task.java:139)
[05:03:05] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at org.spongepowered.common.scheduler.SchedulerBase.lambda$startTask$0(SchedulerBase.java:192)
[05:03:05] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[05:03:05] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at java.util.concurrent.FutureTask.run(Unknown Source)
[05:03:05] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[05:03:05] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[05:03:05] [pool-3-thread-1/INFO] [STDERR]: [com.helion3.prism.storage.clickhouse.ClickhouseRecords:write:68]:  at java.lang.Thread.run(Unknown Source)

Can this be supported or is there a workaround?

Closing this issue because UUID support is already fixed in master.


Implement flattened doc storage

Overview
Implementation of "flattened" doc storage format to Document Storage RFC
Testing recommendations
$ make eunit apps=couch suites=couch_util tests=json_explode_test_,json_implode_test_

$ make eunit apps=couch_jobs,couch_views,fabric

@davisp : Hi Paul, I'm almost done with this, the only thing I'm still wrestling is a limiter on a depth of flattening JSON. Can you please take a look at fabric2_fdb part if I'm missing something or off the mark on how it suppose to be done? Thank you.

I read through this and am not seeing where you're limiting depth at all. In terms of implementing it, if I'm not mistaken that's just extending your json_explode function with an extra parameter that tracks where you are in the JSON object.
Although, I don't think depth is the correct metric here? It should be based on the length of the key path that's constructed so that its guaranteed to fit within FoundationDB's key size requirements, right? Same idea, just have to count differently.

I don't see anything technical/algorithmic that's gonna help here. You've already enumerated the major first ways I can think of that we'd want to add thresholds. Beyond that its just a definitions game of how things behave when those thresholds are exceeded.
One new thing that does occur to me with the depth limit though. The exploded storage model was always thought of as a path to getting sub-document updates to be more efficient. Assuming that when we hit a certain depth we just store anything further down in the value, it strikes me as something we'll need to ponder extra hard when defining that subdoc update stuff. The transition at that threshold seems like it'd be an easy off-by-one territory.

@davisp good call on complications for subdoc update! To be honest I'm confused how that suppose to work even without limiter, I mean we have revision as a part of keys and we are not keeping sub-part of old revision docs around. So even for subdoc update it'll be "read the whole range or keypath-values, update some, insert all back". This doesn't strike me as massivly superior to just reading doc body as a whole and patching it with diff send as PATCH's payload.

Closing as obsolete.


Jm setup testing

We will need to figure out why { weather } is not defined in our CurrentWeather Test.

Looks great!!


Add AMI docs into main docs, modified weave token instructions in one place

@2opremio I've added the AMI doc to the main docs.
Place the doc after installing.md and also changed the title, so we'll need to update the guide as well.
Let me know if there is anything else we need to add in here.
(Also modified an instance of the weave token. )

We need to fix the ECS guide when we merge this to get the ids from here

I'll make a PR over in Guides for this.

@abuehrle Please update the PR to cover the changes from https://github.com/weaveworks/integrations/pull/123 . I will happily update the guides and make https://github.com/weaveworks/integrations/blob/master/aws/ecs/README.md point to the website once this PR is deployed.

@2opremio addressed  weaveworks/integrations#123

@abuehrle The AMI IDs also changed

Please let me know when you deploy this so that I can update the guides and remove the docs from https://github.com/weaveworks/integrations/


important

why do we call it oven if you of in the cold food of out hot eat the food?
impatiently awaiting your response,
sprit snek

A great question indeed, but unfortunately I don't house the required brain capacity to answer such intellectual problems. Perhaps Yahoo! Answers could provide a more profound solution.
Thank you!


STP object typo

schema/switch.yml stp definition has a typo:
          hellow_time:
            description:
              Determines how often switches send BPDU.

Which also affect the output json schema...
This should be fixed;
Originally discovered by @karthick-palanisamy-t

Fixed by https://github.com/Telecominfraproject/ols-ucentral-schema/pull/9 PR;
Can be safely closed, as addressed already;


Update and clarify aspects in documentation

Minor updates to the CATS documentation, including:

fix some typos appearing to the user. some misleading e.g. 'cpus' should be 'gpus' in the corresponding CLI argument description;
clarify some statements which are somewhat misleading e.g. 'cats looks for a file named config.yaml in the current directory' when strictly it just needs a YAML extension so the same with .yml is also acceptable;
update a code snippet implying that 'cats errors out' if no location is provided via CLI or configuration file, when actually at this stage CATS is more clever and will try to estimate location from the IP address.

Hopefully these are fairly self-explanatory suggestions, but please feel free to question.

Go ahead and merge - that will tell us for sure what the merge conflicts are for #110. I think they would be easy to fix.


Create SchoolFinder Component

At this view we will have list of schools and they can be filtered by:

Name
Distance from the point(less than)
Time travel from the point(less than)
"Perspektywy" badge
Technical school or normal high-school
... and some more but that in the future

Component with school at list should be as simple as possible. Just name

Component working with extended list of filters. Added to layout.


bug: reqwest always reuses http/2 connections

What is the issue?
When quickly creating a large amount of requests (150) in a short amount of time (within a few 100ms) to a single origin that serves HTTP/2, some requests will fail with the error http2 error: protocol error: refused stream before processing any application logic. I assume this is because all requests are multiplexed onto a single HTTP/2 connection, which causes the connection to exceed the maximum amount of concurrent streams that it can handle (SETTINGS_MAX_CONCURRENT_STREAMS). This would explain why this only happens at more than ~100 requests, because most clients and servers set SETTINGS_MAX_CONCURRENT_STREAMS to ~100 as recommended by the HTTP/2 spec.
What do I expect?
Before reaching the maximum amount of concurrent streams for a connection, reqwest starts another HTTP/2 connection to that origin to handle requests with.
or
Reqwest buffers requests until the single HTTP/2 connection has free stream capacity again to handle the request.
How to reproduce?
A full reproduction can be found here: https://gist.github.com/lucacasonato/3dd98a7eb81516d20fd464a9c52a299f. Clone the gist, move main.rs to src/main.rs and run cargo run
What this does:

Create a reqwest::Client
Create many requests (about 120) to a single origin in a very short amount of time
Check the response for each request and log it

You will see that out of 120 requests, about 15 will fail with the error http2 error: protocol error: refused stream before processing any application logic. You might need to increase the amount of requests to the origin if you don't see this request.
Meta
Reqwest: 0.16.4
OS: Ubuntu 20.04
Rust: 1.45.0 stable
cc @ry

any news on this issue ?

See https://github.com/hyperium/h2/issues/731.
To summarize:

the http/2 spec allows a client to open as many stream as possible before getting max_concurrent_stream.
most servers implement 100 max as a default, although this is the minimum recommended by the http/2 spec
hyper, and subsequently reqwest does not have a way for client to configure this at the moment

After https://github.com/hyperium/h2/issues/731:

The default will be set in hyper to 100. The version that this will be shipped with is still TBD.
Any user of the hyper client can configure this themselves.

This is shipped in hyper 1.2.0.
Just realised this is likely causing me problems interacting with various Google APIs hyper::Error(Http2, Error { kind: GoAway(b"client_misbehavior", PROTOCOL_ERROR, Remote) })

Thanks for the reminder, yea so this should be fixed in 0.12 (released today or tomorrow, I hope).


GitHub Action to use T2 from other GitHub Workflows

As we will need Stackable clusters provisioned by T2 in many GitHub Workflows, we shoud write an action that covers the launch and termination of a cluster. Some research has to be done beforehand as we don't have our own GitHub action yet.

I recommend to keep it simple and stick with Python scripts. The GitHub Actions would require us to use another language (JS, TS, ...) or even containerize the action. As we don't plan to publish these actions soon, it would just be a lot of overhead for a quite simple API client.
We should extract the Python scripts to the T2 repo (they are now in PIT) and clean them up a little, that should do...


Build step on Dev branch not working.

Pressing CTRL+B or F8 does not work on the dev branch under ST3 on Windows 8.1. Currently created custom build system, but would much rather like to use the one from T3S. Any suggestions?

see my last comment in https://github.com/Railk/T3S/pull/63 (tl;dr there is a new plugin named ArcticTypescript)


Feature/process adv search criteria

Checklist

[x] the [contributor license agreement][] is signed
[x] commit message follows [commit guidelines][]
[x] tests are included
[ ] screenshots are included showing significant UI changes
[ ] documentation is changed or added

Description of change
This is the third PR for building the Advanced search criteria.

Add the support for Tokensation in REST Module.
Create TokensationModule which talks to the REST Module in react-front-end .
Update the type definition of ControlTarget to include a new flag indicating whether to tokenise.
Create functions to build raw Lucene queries in WizardHelper.

GHA failed on a couple flaky tests so merge on.


Create a basic nav bar to let users navigate across the application

Done, we have a navbar in the app making it navigable


Fix -compact.skip-block-with-out-of-order-chunks

[ ] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes
The PR https://github.com/thanos-io/thanos/pull/4469 was just merged but I've the feeling it's not correct. The problem is that when the skip is disabled it should still be a critical error while right now the error is ignored at all (see comment annotation in the PR).
Also, from a design perspective, I don't think it's the responsibility of the grouper to know if skipping is enabled or not, so I've moved that config to the BucketCompactor.
Verification
Existing tests.

@huyan0 @yeya24 could you please take a look?

LGTM, thanks for the fix.


Course 1.6 feedback

I just finished the Course 1.6 assignment. The codespaces did not work, but the scripts ran fine and produced the expected output. Was quite fun, to put the pieces together!
A few things I noticed on my way:

In the microcontroller.py the import ussl did not work. I replaced it with import ssl and the issue was solved
In the import from my secrets in this course there are four new variables: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION, DYNAMODB_TABLE_NAME. These are either new or have a different name compared to Course 1.5. As far as I can see, the last two variables are not necessary
A general thing, that still confuses me, is the structure of messages being sent via AWS. I still dont get, how exactly they are composed of several layers of json/string/whatever and when I have to manually add the keyword argument body and when this is automatically added. Sorry, if I´m a bit dumb here, just wanted to let you know, that this can cause confusion to a newcomer
One major takeaway from module 1.6 was, that the data collected by the sensor cannot be easily transformed to RGB values. Knowing this, the whole process of optimization makes a lot more sense to me. It might be worth pointing this fact out somewhere in the course.

In the microcontroller.py the import ussl did not work. I replaced it with import ssl and the issue was solved

That's a leftover artifact that was addressed in some other modules, but I must have missed for this one. Thanks for catching!

In the import from my secrets in this course there are four new variables: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION, DYNAMODB_TABLE_NAME. These are either new or have a different name compared to Course 1.5. As far as I can see, the last two variables are not necessary

@SissiFeng could you address? (should be a quick fix I think)

A general thing, that still confuses me, is the structure of messages being sent via AWS. I still dont get, how exactly they are composed of several layers of json/string/whatever and when I have to manually add the keyword argument body and when this is automatically added. Sorry, if I´m a bit dumb here, just wanted to let you know, that this can cause confusion to a newcomer

Thanks for the feedback. Maybe next week @SissiFeng we can record a walkthrough video and also consider moving the AWS/MongoDB integration to course 4? At least, let's chat about how we want to address https://github.com/AccelerationConsortium/ac-microcourses/issues/108

One major takeaway from module 1.6 was, that the data collected by the sensor cannot be easily transformed to RGB values. Knowing this, the whole process of optimization makes a lot more sense to me. It might be worth pointing this fact out somewhere in the course.

Great point! Any ideas for where this could be pointed out? I think this has been brought up a couple other times, definitely worth providing some more clarification early on. Maybe as a "tip/note" in Module 1 in Q&A format

Great point! Any ideas for where this could be pointed out? I think this has been brought up a couple other times, definitely worth providing some more clarification early on. Maybe as a "tip/note" in Module 1 in Q&A format

I would point that out rather in the beginning of the course, to clarify the overall goal of the self driving lab. Maybe a little graphics like this sketch could help? Just an idea

I revised the assignment md document. Okay, I think recording a video would be a most direct and effective way to do this.

i think i finished the course but couldn't get it to run the autograding. some notes:

is there an extra } in the devcontainer.json file? removing that and rebuilding the container seemed to get the codespaces running.

this is the error i get when the autograding tries to run. I don't know what this error is.

i'm just going to throw this here that when i run pytest, i feel like i pass enough tests that I can get over 70% to pass the course if the autograding runs


MongoDB Persistence

@mcollina : We are using mongodb for persistence with mosca and want to use the same with aedes as well. Do you know when can we have that?

Watch this project: https://github.com/mcollina/aedes-persistence-mongodb

Any updates? Also a quick question does qos 2 make sense without db persistence?
How are offline messages handled?

@guptaashishiitr 1) not really, it's done when it's done. Lot's of refactoring. 2) qos 2 makes almost no sense, but you can use redis or level 3) yes.

Thanks a lot @mcollina
We will use in mem to test and then move to redis


put parameters ignored

From<EMAIL_ADDRESS>on July 22, 2013 16:37:20
What steps will reproduce the problem? 1. JUNIT test:
expect().statusCode(Status.NO_CONTENT.getStatusCode())
.given()
.parameters("name", name, "URL", URL)
.cookie(cookie_name, newapi_session_id)
.put("/IfdOrganization/"+orgGuid);
Server code:
@PUT @Path("/{guid}") @Produces({APPLICATION_XML, APPLICATION_JSON})
public void update(@PathParam("guid") String guid, @FormParam("name") String name,@FormParam("URL") String URL,@CookieParam(session_cookie_name) String sessionId, @Context HttpHeaders headers) {
} What is the expected output? What do you see instead? "@FormParam("name") String name" and "@FormParam("URL") String URL" should have a value. When using put they are null What version of the product are you using? On what operating system? eclipse kepler, windows 8, rest-assured-1.8.0 Please provide any additional information below. When doing a PUT in my JUnit test the parameters "name" and "URL"' value are null on the server. If I change ".put()" to ".post()" on the JUnit test and change "@PUT" to "@POST" on the server the parameters' value is correct. Also, when using PUT in AJAX the parameters gets the correct value.
Any help appreciated
Original issue: http://code.google.com/p/rest-assured/issues/detail?id=251

From<EMAIL_ADDRESS>on July 22, 2013 07:46:26
Same problem with rest-assured-1.8.1

From<EMAIL_ADDRESS>on August 06, 2013 12:32:13
That's because the default parameter types for PUT is request parameters and not form parameters. Change "parameters(..)" to "formParameters(..)" and it'll probably work.
Status: Invalid


Feature request: Support IPinfo IP to Country ASN database

I am requesting to add support for IPinfo's IP to Country database to the project. The database has the following features:

It includes country and ASN information in the same database.
It is updated daily, with zero compromise to accuracy. There is no range clustering, and the database provides full accuracy.
The data granularity reaches /32 level.
The database comes in MMDB database format.

Database schema

Field Name
Example
Data Type
Description

start_ip
<IP_ADDRESS>
TEXT
Starting IP address of an IP address range

end_ip
<IP_ADDRESS>
TEXT
Ending IP address of an IP address range

country
JP
TEXT
ISO 3166 country code of the location

country_name
Japan
TEXT
Name of the country

continent
AS
TEXT
Continent code of the country

continent_name
Asia
TEXT
Name of the continent

asn
AS2519
TEXT
Autonomous System Number

as_name
ARTERIA Networks Corporation
TEXT
Name of the AS (Autonomous System) organization

as_domain
arteria-net.com
TEXT
Official domain or website of the AS organization

Samples are available here: https://github.com/ipinfo/sample-database/tree/main/IP to Country ASN
Usage
The database is available for free to download by opening a free IPinfo account. The database is licensed under CC-BY-SA 4.0, which permits commercial usage through providing attribution and can be integrated directly into the project. The database can be downloaded simply by accessing the storage URI with an access token.
curl -L https://ipinfo.io/data/free/country_asn.mmdb?token=<YOUR_TOKEN> -o country_asn.mmdb

Additional context
Supporting IPinfo's IP to Country ASN database will resolve this issue as well: https://github.com/brimdata/geoip-conn/issues/39

Please let me know if you have any feedback.

Hi @philrz, were you able to review my request? I am looking forward to hearing from you. Thanks!

@abdullahdevrel: I did see this issue as it arrived and also your email, so thanks for that. The priorities of the team at Brim Data has recently been less network-centric than in the past which is why we've not been able to spend time on this yet. I'll spend some time looking closer at it as soon as I can and will update here when that happens.

Thank you very much, @philrz. No worries. Please, there is no rush. Really appreciate your reviewing the ticket.

Hello again @abdullahdevrel. I had a chance to look closer at this. Unfortunately I think there needs to be some development at the Zeek layer before this geoip-conn package can leverage a different geolocation database. I'm really not much of a developer myself, and I was only able to put together this modest package because the Zeek scripting is pretty minimal and I was able to repeat the pattern of a previous package. But based on what I can find, it looks like the Zeek geolocation docs set expectations that Zeek is only expected to work specifically with MaxMind's databases. Looking at their MMDB.cc code it does look like they're wired up to look for data using field names that are specific to MaxMind's schema. In other words, while it's surely handy that your databases are in MMDB format, that alone may not be sufficient.
Just to be sure, I did try swapping in the IPinfo country_asn.mmdb in place of the GeoLite2-City.mmdb that this package currently uses and tried processing a sample pcap. Zeek didn't have any complaints about the database format, but it also didn't add any of the geolocation data to the conn records.
With that, I'll need to flip this issue back in your direction and pose it as a challenge. If you can manage to enhance Zeek to make use of the IPinfo databases (e.g., get a PR merged into the Zeek repo that allows Zeek's BIFs like lookup_location() and lookup_autonomous_system() to successfully retrieve values when an IPinfo database is in place instead of MaxMind) then I think this geoip-conn package would "just work" with the IPinfo data. If for some reason you get that far and geoip-conn still needs some further enhancement, I'd be happy to pick up the effort from there.

Hey @philrz, thank you very much for looking into the issue and providing a detailed guideline on how to add our bring our data to Zeek. I really appreciate it. I will close the request for now. If I make some progress with the Zeek project, I will let you know. Again, thank you very much.


Docs-1638-CC-3.17.1

Product Version(s):

Issue:

Link to docs preview:

SME review:

[ ] An SME has approved this change.

DOCS review:

[ ] A member of the docs team has approved this change.

Additional information:

Merge checklist:

[ ] Deploy preview inspected wherever changes were made
[ ] Build completed successfully
[ ] Test have passed

Closing out this PR in favor of this one: https://github.com/tigera/docs/pull/862.


Taking over maintainership

@sdruskat and @bbunzeck I would like to take over maintainership

Go for it!

Finished Taking over as maintainer checklist including the new release 0.8.0


feature: add new project and images

I added new project and image please take a look!

Looks good!


HIP runtime error when targeting both CUDA and HIP

Bug summary
When the app is compiled for both CUDA and HIP (with explicit multipass), the embedded HIP objects cannot be found at run time:
$ syclcc -O3 --hipsycl-explicit-multipass --hipsycl-targets='hip:gfx1032;cuda:sm_86' test.cpp -o test && ./test
clang: warning: CUDA version is newer than the latest supported version 11.5 [-Wunknown-cuda-version]
Trying to run on NVIDIA GeForce RTX 3060
   Done!
Trying to run on hipSYCL OpenMP host device
   Done!
Trying to run on    ## HIP reports empty name for AMD GPUs
[hipSYCL Error] from /home/aland/hipSYCL/src/runtime/hip/hip_code_object.cpp:125 @ build(): hip_executable_object: could not create module (error code = HIP:218)
[hipSYCL Error] from /home/aland/hipSYCL/include/hipSYCL/runtime/kernel_cache.hpp:291 @ get_or_construct_code_object_impl(): kernel_cache: code object creation has failed
[hipSYCL Error] from /home/aland/hipSYCL/src/runtime/hip/hip_queue.cpp:522 @ submit_kernel_from_code_object(): hip_queue: Code object construction failed
   Fail!

The error is distinct from simply not having a target:
$ syclcc -O3 --hipsycl-explicit-multipass --hipsycl-targets='cuda:sm_86' test.cpp -o test && ./test
clang: warning: CUDA version is newer than the latest supported version 11.5 [-Wunknown-cuda-version]
clang: warning: CUDA version is newer than the latest supported version 11.5 [-Wunknown-cuda-version]
Trying to run on NVIDIA GeForce RTX 3060
   Done!
Trying to run on hipSYCL OpenMP host device
   Done!
Trying to run on
[hipSYCL Error] from /home/aland/hipSYCL/include/hipSYCL/runtime/kernel_launcher.hpp:86 @ find_launcher(): No kernel launcher is present for requested backend
[hipSYCL Error] from /home/aland/hipSYCL/src/runtime/hip/hip_queue.cpp:307 @ submit_kernel(): Could not obtain backend kernel launcher
   Fail!

When targeting only the AMD device, it works fine:
$ syclcc -O3 --hipsycl-explicit-multipass --hipsycl-targets='hip:gfx1032' test.cpp -o test && ./test
Trying to run on NVIDIA GeForce RTX 3060
[hipSYCL Error] from /home/aland/hipSYCL/include/hipSYCL/runtime/kernel_launcher.hpp:86 @ find_launcher(): No kernel launcher is present for requested backend
[hipSYCL Error] from /home/aland/hipSYCL/src/runtime/cuda/cuda_queue.cpp:314 @ submit_kernel(): Could not obtain backend kernel launcher
   Fail!
Trying to run on hipSYCL OpenMP host device
   Done!
Trying to run on
   Done!

To Reproduce
Commands are listed above. I think any code will suffice, but here is what I used.
#include <SYCL/sycl.hpp>
#include <iostream>

void run_kernels(const sycl::device &syclDevice) {
  unsigned int numThreads = 512;
  sycl::queue queue = sycl::queue(syclDevice);
  int *ptr = sycl::malloc_device<int>(numThreads, queue);
  queue
      .submit([&](sycl::handler &cgh) {
        cgh.parallel_for<class KernelA>(sycl::range<1>{numThreads},
                                        [=](sycl::id<1> id) { ptr[id] = 0; });
      })
      .wait_and_throw();
  sycl::free(ptr, queue);
}

int main() {
  for (const auto &dev : sycl::device::get_devices()) {
    std::cout << "Trying to run on " << dev.get_info<sycl::info::device::name>() << std::endl;
    try {
      run_kernels(dev);
      std::cout << "   Done!" << std::endl;
    } catch (std::exception) {
      std::cout << "   Fail!" << std::endl;
    }
  }
}

Expected behavior
Code successfully runs on devices it was compiled for.
Describe your setup

hipSYCL 989026577b62409139c856491e9d67707448780a. A quick test shows that the problem is also reproduced with<PHONE_NUMBER>8c93e0a14c8a2a35fb84c8f68e91f4.
Describe the dependencies that hipSYCL sits on top of in your setup:

clang++ 15 from apt.llvm.org (15.0.0-++20220914063142+6fe69891d15c-1~exp1~20220914063154.53)
CUDA 11.7 from https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/
ROCm 5.2.0 from https://repo.radeon.com/rocm/apt/debian/

Optional additional diagnostic information
Looking at the flags used for linking, nothing is clearly suspicious. Note: changing the order of the targets changes the flags a bit.
$ HIPSYCL_DRYRUN=1 syclcc -O3 --hipsycl-explicit-multipass --hipsycl-targets='hip:gfx1032;cuda:sm_86' test.cpp -o test
/usr/lib/llvm-15/bin/clang++ -I/home/aland/local/bin/../include/ -D__HIPSYCL__ -std=c++17 -isystem /home/aland/local/bin/../include/hipSYCL/std/hiplike -isystem /usr/lib/llvm-15/lib/clang/15.0.0/include/.. -U__FLOAT128__ -U__SIZEOF_FLOAT128__ -I/opt/rocm//include -I/opt/rocm//include --rocm-device-lib-path=/opt/rocm//amdgcn/bitcode --rocm-path=/opt/rocm/ -fhip-new-launch-api -mllvm -amdgpu-early-inline-all=true -mllvm -amdgpu-function-calls=false -D__HIP_ROCclr__ -x hip -D__HIPSYCL_ENABLE_HIP_TARGET__ -D__HIPSYCL_CLANG__ -fplugin=/home/aland/local/bin/../lib/libhipSYCL_clang.so --cuda-device-only --cuda-gpu-arch=gfx1032 -c -o /tmp/hipSYCL-syclcc-9ypnu18w/hipfb-gfx1032.hipsycl_kernels -fpass-plugin=/home/aland/local/bin/../lib/libhipSYCL_clang.so -O3 test.cpp
/usr/lib/llvm-15/bin/clang++ -I/home/aland/local/bin/../include/ -D__HIPSYCL__ -std=c++17 -U__FLOAT128__ -U__SIZEOF_FLOAT128__ -isystem /home/aland/local/bin/../include/hipSYCL/std/hiplike -x cuda -D__HIPSYCL_ENABLE_CUDA_TARGET__ -D__HIPSYCL_CLANG__ -fplugin=/home/aland/local/bin/../lib/libhipSYCL_clang.so --cuda-path=/usr/local/cuda --cuda-device-only --cuda-gpu-arch=sm_86 -S -o /tmp/hipSYCL-syclcc-9ypnu18w/nvptx-sm_86.hipsycl_kernels -fpass-plugin=/home/aland/local/bin/../lib/libhipSYCL_clang.so -O3 test.cpp
/usr/lib/llvm-15/bin/clang++ -I/home/aland/local/bin/../include/ -D__HIPSYCL__ -std=c++17 -D__HIPSYCL_MULTIPASS_HIP_HEADER__="/tmp/hipSYCL-syclcc-9ypnu18w/__hipsycl_embedded_hip_kernels.hpp" -D__HIPSYCL_ENABLE_HIP_TARGET__ -x hip --cuda-host-only -isystem /home/aland/local/bin/../include/hipSYCL/std/hiplike -isystem /usr/lib/llvm-15/lib/clang/15.0.0/include/.. -U__FLOAT128__ -U__SIZEOF_FLOAT128__ -I/opt/rocm//include -I/opt/rocm//include --rocm-device-lib-path=/opt/rocm//amdgcn/bitcode --rocm-path=/opt/rocm/ -fhip-new-launch-api -mllvm -amdgpu-early-inline-all=true -mllvm -amdgpu-function-calls=false -D__HIP_ROCclr__ -D__HIPSYCL_MULTIPASS_CUDA_HEADER__="/tmp/hipSYCL-syclcc-9ypnu18w/__hipsycl_embedded_cuda_kernels.hpp" -D__HIPSYCL_ENABLE_CUDA_TARGET__ -D__HIPSYCL_ENABLE_OMPHOST_TARGET__ -I/usr/include -D_ENABLE_EXTENDED_ALIGNED_STORAGE -O3 test.cpp -o test -L/home/aland/local/bin/../lib/ -lhipSYCL-rt -Wl,-rpath=/home/aland/local/bin/../lib/ -Wl,-rpath=/opt/rocm//lib -Wl,-rpath=/opt/rocm//hip/lib -L/opt/rocm//lib -L/opt/rocm//hip/lib -lamdhip64 -Wl,-rpath=/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -L/usr/lib/x86_64-linux-gnu -lboost_context -lboost_fiber -Wl,-rpath=/usr/lib/x86_64-linux-gnu

$ HIPSYCL_DRYRUN=1 syclcc -O3 --hipsycl-explicit-multipass --hipsycl-targets='hip:gfx1032' test.cpp -o test
/usr/lib/llvm-15/bin/clang++ -I/home/aland/local/bin/../include/ -D__HIPSYCL__ -std=c++17 -isystem /home/aland/local/bin/../include/hipSYCL/std/hiplike -isystem /usr/lib/llvm-15/lib/clang/15.0.0/include/.. -U__FLOAT128__ -U__SIZEOF_FLOAT128__ -I/opt/rocm//include -I/opt/rocm//include --rocm-device-lib-path=/opt/rocm//amdgcn/bitcode --rocm-path=/opt/rocm/ -fhip-new-launch-api -mllvm -amdgpu-early-inline-all=true -mllvm -amdgpu-function-calls=false -D__HIP_ROCclr__ -x hip -D__HIPSYCL_ENABLE_HIP_TARGET__ -D__HIPSYCL_CLANG__ -fplugin=/home/aland/local/bin/../lib/libhipSYCL_clang.so --cuda-device-only --cuda-gpu-arch=gfx1032 -c -o /tmp/hipSYCL-syclcc-vv8jw2m7/hipfb-gfx1032.hipsycl_kernels -fpass-plugin=/home/aland/local/bin/../lib/libhipSYCL_clang.so -O3 test.cpp
/usr/lib/llvm-15/bin/clang++ -I/home/aland/local/bin/../include/ -D__HIPSYCL__ -std=c++17 -D__HIPSYCL_MULTIPASS_HIP_HEADER__="/tmp/hipSYCL-syclcc-vv8jw2m7/__hipsycl_embedded_hip_kernels.hpp" -D__HIPSYCL_ENABLE_HIP_TARGET__ -x hip --cuda-host-only -isystem /home/aland/local/bin/../include/hipSYCL/std/hiplike -isystem /usr/lib/llvm-15/lib/clang/15.0.0/include/.. -U__FLOAT128__ -U__SIZEOF_FLOAT128__ -I/opt/rocm//include -I/opt/rocm//include --rocm-device-lib-path=/opt/rocm//amdgcn/bitcode --rocm-path=/opt/rocm/ -fhip-new-launch-api -mllvm -amdgpu-early-inline-all=true -mllvm -amdgpu-function-calls=false -D__HIP_ROCclr__ -D__HIPSYCL_ENABLE_OMPHOST_TARGET__ -I/usr/include -D_ENABLE_EXTENDED_ALIGNED_STORAGE -O3 test.cpp -o test -L/home/aland/local/bin/../lib/ -lhipSYCL-rt -Wl,-rpath=/home/aland/local/bin/../lib/ -Wl,-rpath=/opt/rocm//lib -Wl,-rpath=/opt/rocm//hip/lib -L/opt/rocm//lib -L/opt/rocm//hip/lib -lamdhip64 -L/usr/lib/x86_64-linux-gnu -lboost_context -lboost_fiber -Wl,-rpath=/usr/lib/x86_64-linux-gnu

hipSYCL configuration is the default:
$ syclcc --hipsycl-version
syclcc [hipSYCL compilation driver], Copyright (C) 2018-2022 Aksel Alpay and the hipSYCL project
  hipSYCL version: 0.9.3
  Installation root: /home/aland/local
  Plugin LLVM version: 15, can accelerate CPU: True
  Available runtime backends:
     librt-backend-cuda.so
     librt-backend-omp.so
     librt-backend-hip.so

Full configuration [can be overriden using environment variables or command line arguments]:
    version-major: 0
    version-minor: 9
    version-patch: 3
    plugin-llvm-version-major: 15
    plugin-with-cpu-acceleration: true
    default-clang: /usr/lib/llvm-15/bin/clang++
    default-nvcxx: (unconfigured)
    default-platform: cuda
    default-cuda-path: /usr/local/cuda
    default-gpu-arch: (unconfigured)
    default-cpu-cxx: /usr/bin/clang++-15
    default-rocm-path: /opt/rocm/
    default-use-bootstrap-mode: false
    default-is-dryrun: false
    default-use-accelerated-cpu: true
    default-clang-include-path: /usr/lib/llvm-15/lib/clang/15.0.0/include/..
    default-sequential-link-line: -L/usr/lib/x86_64-linux-gnu -lboost_context -lboost_fiber -Wl,-rpath=/usr/lib/x86_64-linux-gnu
    default-sequential-cxx-flags: -I/usr/include -D_ENABLE_EXTENDED_ALIGNED_STORAGE
    default-omp-link-line: -L/usr/lib/x86_64-linux-gnu -lboost_context -lboost_fiber -Wl,-rpath=/usr/lib/x86_64-linux-gnu -fopenmp
    default-omp-cxx-flags: -I/usr/include -fopenmp -D_ENABLE_EXTENDED_ALIGNED_STORAGE
    default-rocm-link-line: -Wl,-rpath=$HIPSYCL_ROCM_PATH/lib -Wl,-rpath=$HIPSYCL_ROCM_PATH/hip/lib -L/opt/rocm//lib -L/opt/rocm//hip/lib -lamdhip64
    default-rocm-cxx-flags: -isystem $HIPSYCL_PATH/include/hipSYCL/std/hiplike -isystem /usr/lib/llvm-15/lib/clang/15.0.0/include/.. -U__FLOAT128__ -U__SIZEOF_FLOAT128__ -I$HIPSYCL_ROCM_PATH/include -I$HIPSYCL_ROCM_PATH/include --rocm-device-lib-path=$HIPSYCL_ROCM_PATH/amdgcn/bitcode --rocm-path=$HIPSYCL_ROCM_PATH -fhip-new-launch-api -mllvm -amdgpu-early-inline-all=true -mllvm -amdgpu-function-calls=false -D__HIP_ROCclr__
    default-cuda-link-line: -Wl,-rpath=$HIPSYCL_CUDA_LIB_PATH -L$HIPSYCL_CUDA_LIB_PATH -lcudart
    default-cuda-cxx-flags: -U__FLOAT128__ -U__SIZEOF_FLOAT128__ -isystem $HIPSYCL_PATH/include/hipSYCL/std/hiplike
    default-is-explicit-multipass: false
    default-save-temps: false

Nothing interesting in runtime debug output:
[hipSYCL Info] kernel_cache: Querying kernel cache, having 2 code objects.
[hipSYCL Info] kernel_cache: Requested object not hooked up to kernel index, attempting full cache search.
[hipSYCL Info] kernel_cache: cache MISS; constructing new object for kernel index 0 and backend kernel name _Z16__hipsycl_kernelIN7hipsycl4glue20complete_kernel_nameIZZ11run_kernelsRKNS0_4sycl6deviceEENKUlRNS3_7handlerEE_clES8_E7KernelAEEEvv
[hipSYCL Error] from /home/aland/hipSYCL/src/runtime/hip/hip_code_object.cpp:125 @ build(): hip_executable_object: could not create module (error code = HIP:218)
[hipSYCL Error] from /home/aland/hipSYCL/include/hipSYCL/runtime/kernel_cache.hpp:291 @ get_or_construct_code_object_impl(): kernel_cache: code object creation has failed
[hipSYCL Error] from /home/aland/hipSYCL/src/runtime/hip/hip_queue.cpp:522 @ submit_kernel_from_code_object(): hip_queue: Code object construction failed

Does it work if you remove the --hipsycl-explicit-multipass flag? It should automatically select a working configuration without it.
Does it work if you remove the --hipsycl-explicit-multipass flag and only set one of the two to explicit multipass, i.e

--hipsycl-target="hip.explicit-multipass:gfx1032;cuda.integrated-multipass:sm_86"
--hipsycl-target="hip.integrated-multipass:gfx1032;cuda.explicit-multipass:sm_86"

Can you try dumping the HCF objects using the runtime environment variable HIPSYCL_HCF_DUMP_DIRECTORY and setting it to some directory where it can dump the HCF code. If both backends are in explicit multipass, you should get two HCF objects (one for CUDA, one for HIP) that we can inspect with hipsycl-hcf-tool to validate them. The error code indicates that the data that HIP gets is invalid.
I'm on vacation at the moment and cannot spend a lot of time debugging this unfortunately.

Ok, I think I found the issue: https://github.com/illuhad/hipSYCL/blob/989026577b62409139c856491e9d67707448780a/include/hipSYCL/glue/generic/hiplike/hiplike_kernel_launcher.hpp#L946
This assumes that only one multipass is active at the same time. We cannot use macros here and should instead the Backend_id template argument. The current code will always pick the CUDA HCF object first if both CUDA and HIP are available.
I tested one in explicit, one in integrated and also both in explicit multipass, but it's possible that in the case where both are in explicit multipass I only tried running it on NVIDIA -.-
At least it should be an easy fix :)


Cannot build for py311

Ref:
log: https://github.com/VOLTTRON/dnp3-python/actions/runs/4757291625/jobs/8453926574
error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
 1912 |             frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0));

@kefeimo I was wondering if you had built it locally with py11

I did. But I forgot it failed last time, that's why I stopped it at py310.

I've been attempting packaging for 3.11 but haven't had time to truly debug/look into it.
Packaging for windows (with Visual Studio 2022 installed) and the appropriate cmake etc.
3.10 works fine but 3.11 I run into these issues.

I've been attempting packaging for 3.11 but haven't had time to truly debug/look into it. Packaging for windows (with Visual Studio 2022 installed) and the appropriate cmake etc. 3.10 works fine but 3.11 I run into these issues.

@Xelus22 , Thanks for the comment.
I only build for Linux and haven't tested for Windows yet. Can you describe the process you used to successfully build for Python3.10 on Windows so I can try to reproduce on my end. Especially,

Could you confirm the codebase version (for example point to the repo and commit)?
Could you confirm the dependency versions (e.g., Cmake)
(This is a wild guess of the root cause, but) Could you go to the /deps/pybind11, then run git log --oneline display the output. (In essence, the content should be up-to-date with  https://github.com/pybind/pybind11 956390a)

Yep no worries

This repo master.

cmake 3.25.1-msvc1
installed with VS 2022 -

pybind 11 log

Got it. It looks like your pybind11 submodule is behind, which is likely the cause of py3.11 fail (at least for Linux.) We merged PR https://github.com/VOLTTRON/dnp3-python/pull/36 recently to update the submodule pybind11. in to develop branch. So, I am hopeful that at local develop branch run git pull --recurse-submodules, then try to build again and it should succeed. (more on Git Pull with Submodule)

Yep that worked. Needed to use develop and update the submodules there.
However it is now saying bdist_wheel command doesn't exist

@Xelus22
Can you google "python 3.11 error: invalid command 'bdist_wheel`"? the following links look promising to me

Fix Python error: invalid command 'bdist_wheel'
Error: invalid command 'bdist_wheel' in Python [Solved]
Why is python setup.py saying invalid command ' ...

Thanks, the first link worked! That created the wheel :)
Looks like it works now
dnp3_python-0.2.3b3-cp311-cp311-win32.whl.zip
Compiled for win32 py3.11

@Xelus22
Out of curiosity, are you using virtual environment on your Windows? How do you accomplish coexistence of python 3.10, 3.11

Python now comes with its own unified/version control with py instead of python or python3 now. you just use py -V:x.yy e.g. py -V:3.10  or py -V:3.11 with the commands/files to run after

Thanks, the first link worked! That created the wheel :) Looks like it works now dnp3_python-0.2.3b3-cp311-cp311-win32.whl.zip
Compiled for win32 py3.11

Good work!!!
On a side note: I provided feedback on PR: Add Windows Notes-on-Packaging.md. It would be awesome to include a solid example on WINDOWS. Especially you have fresh material now.

And technically this compilation is done on a VM but should in theory work the exact same since I just have a fresh VM for mucking around


[Loc] refresh notebook xlf

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 41.758%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
30827

Relevant Lines:
69081

💛  - Coveralls


detects DECL_ASSIGN_LINE on const pointers to functions

Describe the bug
DECL_ASSIGN_LINE on const variable
Erroneous code
Please use markdown to send the code here.
#include <stddef.h>
#include <stdlib.h>

int     main(void)
{
        void *(*const   f)(size_t) = malloc;
}

main.c: Error!
Error: INVALID_HEADER       (line:   1, col:   1):      Missing or invalid 42 header
Error: DECL_ASSIGN_LINE     (line:   6, col:  32):      Declaration and assignation on a single line

Additional infos

OS: Linux
python3 --version: Python 3.11.6
norminette -v: norminette 3.3.55

Additional context
f is a const variable and it should be possible to declare and assign it on the same line.

#include <stddef.h>
#include <stdlib.h>

int main(void)
{
    void *(*const f)(size_t) = &malloc; // Assign the address of the malloc function
    return 0;
}


⚠ Mobitopup has degraded performance

In aec7404, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 4380 ms

Resolved: Mobitopup performance has improved in 39523ac.


RNCoreMl.mainBundlePath is Null on Startup

Running into this issue on startup.
TypeError: null is not an object (evaluating 'RNCoreML.mainBundlePath')
- node_modules/react-native/Libraries/LogBox/LogBox.js:148:8 in registerError
- node_modules/react-native/Libraries/LogBox/LogBox.js:59:8 in errorImpl
- node_modules/react-native/Libraries/LogBox/LogBox.js:33:4 in console.error
- node_modules/expo/build/environment/react-native-logs.fx.js:27:4 in error
- node_modules/react-native/Libraries/Core/ExceptionsManager.js:104:6 in reportException
- node_modules/react-native/Libraries/Core/ExceptionsManager.js:171:19 in handleException
- node_modules/react-native/Libraries/Core/setUpErrorHandling.js:24:6 in handleError
- node_modules/expo-error-recovery/build/ErrorRecovery.fx.js:9:32 in ErrorUtils.setGlobalHandler$argument_0
- node_modules/regenerator-runtime/runtime.js:63:36 in tryCatch
- node_modules/regenerator-runtime/runtime.js:293:29 in invoke
- node_modules/regenerator-runtime/runtime.js:63:36 in tryCatch
- node_modules/regenerator-runtime/runtime.js:154:27 in invoke
- node_modules/regenerator-runtime/runtime.js:164:18 in PromiseImpl.resolve.then$argument_0
- node_modules/react-native/node_modules/promise/setimmediate/core.js:37:13 in tryCallOne
- node_modules/react-native/node_modules/promise/setimmediate/core.js:123:24 in setImmediate$argument_0
- node_modules/react-native/Libraries/Core/Timers/JSTimers.js:130:14 in _callTimer
- node_modules/react-native/Libraries/Core/Timers/JSTimers.js:181:14 in _callImmediatesPass
- node_modules/react-native/Libraries/Core/Timers/JSTimers.js:441:30 in callImmediates
- node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:387:6 in __callImmediates
- node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:135:6 in __guard$argument_0
- node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:364:10 in __guard
- node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:134:4 in flushedQueue
* [native code]:null in flushedQueue
* [native code]:null in invokeCallbackAndReturnFlushedQueue

I think I will need to eject from Expo to get this to work. I'll report back soon.

I think I will need to eject from Expo to get this to work. I'll report back soon.

Ejecting from expo doesn't seem to have solved the problem.
Parallel issue here: https://stackoverflow.com/questions/65803461/mainbundlepath-is-null-for-node-package

Ejecting from expo doesn't seem to have solved the problem.
Parallel issue here: https://stackoverflow.com/questions/65803461/mainbundlepath-is-null-for-node-package

Hi @chase-robbins, I am stuck at this too, were you able to resolve the issue?

Also will this work with core ml's text classification or only image?

My code looks like this:
const [{name, path, isFile}] = await RNFS.readDir(
      `${RNFS.DocumentDirectoryPath}`,
    );

    console.log(name, path, isFile());
    const modelPath = await compileModel(path);

But when my modelPath executes and returns the following error:
[TypeError: undefined is not an object (evaluating '_$$_REQUIRE(_dependencyMap[6], "react-native-coreml").compileModel')]


Cant find InfiniteScrollModule

Hi, I'm trying to use it on ngModule, and in your documentation you import it as:
import { InfiniteScrollModule } from 'angular2-infinite-scroll';
But in 0.2.1 cannot resolve.

probably a problem with your setup?
the latest example with the modal works with v0.2.1
https://plnkr.co/edit/QnQOwE9SEapwJCCFII3L?p=preview


Move CobolRelation to a shared library?

Background
As part of our ongoing efforts to trace lineage using Spline, we have come across the need to handle CobolRelations.
Question
CobolRelation is currently part of cobrix, so spline-user-agent would require cobrix as a dependency to handle this type.
Would it be possible to move CobolRelation into a new library that both cobrix and spline-user-agent would have as a dependency?

Requires way too much refactoring, I think this is a non-starter.

Hi, I think Spline is adding support for Cobrix specifically. You might want ask at their project space.


Registration-only via external oauth2

Description
I have set the following config options
[service]
      ALLOW_ONLY_EXTERNAL_REGISTRATION= true
      REQUIRE_EXTERNAL_REGISTRATION_PASSWORD= false
      SHOW_REGISTRATION_BUTTON= true
[openid]
      ENABLE_OPENID_SIGNUP= true
      ENABLE_OPENID_SIGNIN= true

Which results in the following UI config

However, I still get the following message when clicking on the "register" button

I've seen #22168 but cannot get it working with the values provided there. Maybe a new bug?
Gitea Version
1.20.2
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Gitea helm chart (and yes, I've checked app.ini manually to make sure the issue is not due to the issue of the helm chart not fully recreating the config file)
Database
PostgreSQL

I use this config. You simply click the "Signin with [OAuth2 source name]" at the bottom of the login page instead, it will login you in/autocreate a new account for you if you haven't logged in before.
[service]
REGISTER_EMAIL_CONFIRM            = true
DISABLE_REGISTRATION              = true
ALLOW_ONLY_EXTERNAL_REGISTRATION  = false
REQUIRE_SIGNIN_VIEW               = true

[openid]
ENABLE_OPENID_SIGNIN = false
ENABLE_OPENID_SIGNUP = false

[oauth2_client]
REGISTER_EMAIL_CONFIRM   = false
ENABLE_AUTO_REGISTRATION = true
USERNAME                 = preferred_username
ACCOUNT_LINKING          = auto

Thanks!
When I do that, I get a 500 back after logging into my oauth2 provider. I wonder how it can work for you when you have ENABLE_OPENID_SIGNUP=false and DISABLE_REGISTRATION=true set 🤔

Can you check the logs? The 500 error is probably because we are using different IdPs and yours does not send the preferred_username claim and sends some other claim. OpenID is for the OpenID tab on the login page (basically anyone can use their IdP to login to your site) and is unrelated to external authentication sources.

Ahh thanks! I was completely on the wrong side...confused by "external OpenID" and "oauth2".
So I now got it working for Keycloak with the following config
    openid:
      ENABLE_OPENID_SIGNUP: false
      ENABLE_OPENID_SIGNIN: false

    service:
      SHOW_REGISTRATION_BUTTON: false
      DISABLE_REGISTRATION: true
      ALLOW_ONLY_EXTERNAL_REGISTRATION: false

    oauth2_client:
      REGISTER_EMAIL_CONFIRM: false
      ENABLE_AUTO_REGISTRATION: true
      ACCOUNT_LINKING: auto
      USERNAME: username
      OPENID_CONNECT_SCOPES: "profile email"

The openid fields are actually not needed here - it's only about the oauth2_client ones.


How to configure recaptcha with a valid key using dummy content on localhost?

Try set a virtual host. it work for me.
1) Set a virtual host on ubuntu:
sudo subl /etc/hosts
<IP_ADDRESS>	localhost
<IP_ADDRESS>	romelgomez

<IP_ADDRESS>	www.cakephp-marketplace.net

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

sudo subl /etc/apache2/sites-available/hack.conf
# http://stackoverflow.com/questions/10873295/error-message-forbidden-you-dont-have-permission-to-access-on-this-server

ServerName <IP_ADDRESS>:80

# www.cakephp-marketplace.net
<VirtualHost <IP_ADDRESS>:80>
 ServerName www.cakephp-marketplace.net
 DocumentRoot "/home/romelgomez/workspace/projects/cakephp-marketplace/app/webroot"
  DirectoryIndex index.php
  <Directory />
      Require all granted
      Options Indexes FollowSymLinks Includes ExecCGI
      AllowOverride All
      Order deny,allow
      Allow from all
  </Directory>
  <Directory "/home/romelgomez/workspace/projects/cakephp-marketplace/app/webroot">
    Options FollowSymLinks
    AllowOverride All
    Allow from all
  </Directory>
</VirtualHost>

then activate the new config
a2ensite hack.conf
For deactivate a2ensite hack.conf
Restart Apache
sudo /etc/init.d/apache2 restart
That is all
The both entire files, just to have a better reference.
hosts
<IP_ADDRESS>	localhost
<IP_ADDRESS>	romelgomez

<IP_ADDRESS>	www.sv.com
<IP_ADDRESS>	www.cakephpstore.net
<IP_ADDRESS>	www.cakephp-marketplace.net
<IP_ADDRESS>	www.notas-sobre-angular-js.net
<IP_ADDRESS>	www.cakephp-store.net
<IP_ADDRESS>	www.tuford.net
<IP_ADDRESS>	www.soylibredeseryo.net
<IP_ADDRESS>	www.iska.net
<IP_ADDRESS>	www.benllisoft.io

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

hack.conf
ServerName <IP_ADDRESS>:80

# www.sv.com
<VirtualHost <IP_ADDRESS>:80>
 ServerName www.sv.com
 DocumentRoot "/home/romelgomez/workspace/projects/sv"
  DirectoryIndex index.php
  <Directory />
      Require all granted
      Options Indexes FollowSymLinks Includes ExecCGI
      AllowOverride All
      Order deny,allow
      Allow from all
  </Directory>
  <Directory "/home/romelgomez/workspace/projects/sv">
    Options FollowSymLinks
    AllowOverride All
    Allow from all
  </Directory>
</VirtualHost>

# www.cakephpstore.net
<VirtualHost <IP_ADDRESS>:80>
 ServerName www.cakephpstore.net
 DocumentRoot "/home/romelgomez/workspace/projects/mystock.la/app/webroot"
  DirectoryIndex index.php
  <Directory />
      Require all granted
      Options Indexes FollowSymLinks Includes ExecCGI
      AllowOverride All
      Order deny,allow
      Allow from all
  </Directory>
  <Directory "/home/romelgomez/workspace/projects/mystock.la/app/webroot">
    Options FollowSymLinks
    AllowOverride All
    Allow from all
  </Directory>
</VirtualHost>

# www.cakephp-marketplace.net
<VirtualHost <IP_ADDRESS>:80>
 ServerName www.cakephp-marketplace.net
 DocumentRoot "/home/romelgomez/workspace/projects/cakephp-marketplace/app/webroot"
  DirectoryIndex index.php
  <Directory />
      Require all granted
      Options Indexes FollowSymLinks Includes ExecCGI
      AllowOverride All
      Order deny,allow
      Allow from all
  </Directory>
  <Directory "/home/romelgomez/workspace/projects/cakephp-marketplace/app/webroot">
    Options FollowSymLinks
    AllowOverride All
    Allow from all
  </Directory>
</VirtualHost>

# www.notas-sobre-angular-js.net
<VirtualHost <IP_ADDRESS>:80>
 ServerName www.notas-sobre-angular-js.net
 DocumentRoot "/home/romelgomez/workspace/projects/notas-sobre-angular-js/client"
  DirectoryIndex index.html
  <Directory />
      Require all granted
      Options Indexes FollowSymLinks Includes ExecCGI
      AllowOverride All
      Order deny,allow
      Allow from all
  </Directory>
  <Directory "/home/romelgomez/workspace/projects/notas-sobre-angular-js/client">
    Options FollowSymLinks
    AllowOverride All
    Allow from all
  </Directory>
</VirtualHost>

# www.cakephp-store.net
<VirtualHost <IP_ADDRESS>:80>
 ServerName www.cakephp-store.net
 DocumentRoot "/home/romelgomez/workspace/projects/cakephp-store/app/webroot"
  DirectoryIndex index.php
  <Directory />
      Require all granted
      Options Indexes FollowSymLinks Includes ExecCGI
      AllowOverride All
      Order deny,allow
      Allow from all
  </Directory>
  <Directory "/home/romelgomez/workspace/projects/cakephp-store/app/webroot">
    Options FollowSymLinks
    AllowOverride All
    Allow from all
  </Directory>
</VirtualHost>

# www.tuford.net
<VirtualHost <IP_ADDRESS>:80>
 ServerName www.tuford.net
 DocumentRoot "/home/romelgomez/workspace/projects/tuford/app/webroot"
  DirectoryIndex index.php
  <Directory />
      Require all granted
      Options Indexes FollowSymLinks Includes ExecCGI
      AllowOverride All
      Order deny,allow
      Allow from all
  </Directory>
  <Directory "/home/romelgomez/workspace/projects/tuford/app/webroot">
    Options FollowSymLinks
    AllowOverride All
    Allow from all
  </Directory>
</VirtualHost>

# www.soylibredeseryo.net
<VirtualHost <IP_ADDRESS>:80>
 ServerName www.soylibredeseryo.net
 DocumentRoot "/home/romelgomez/workspace/projects/soy-libre-de-ser-yo/site"
  DirectoryIndex index.php
  <Directory />
      Require all granted
      Options Indexes FollowSymLinks Includes ExecCGI
      AllowOverride All
      Order deny,allow
      Allow from all
  </Directory>
  <Directory "/home/romelgomez/workspace/projects/soy-libre-de-ser-yo/site">
    Options FollowSymLinks
    AllowOverride All
    Allow from all
  </Directory>
</VirtualHost>

# www.iska.net
<VirtualHost <IP_ADDRESS>:80>
 ServerName www.iska.net
 DocumentRoot "/home/romelgomez/workspace/projects/iska/app/webroot"
  DirectoryIndex index.php
  <Directory />
      Require all granted
      Options Indexes FollowSymLinks Includes ExecCGI
      AllowOverride All
      Order deny,allow
      Allow from all
  </Directory>
  <Directory "/home/romelgomez/workspace/projects/iska/app/webroot">
    Options FollowSymLinks
    AllowOverride All
    Allow from all
  </Directory>
</VirtualHost>

# <IP_ADDRESS>  www.benllisoft.io
<VirtualHost <IP_ADDRESS>:80>
 ServerName www.benllisoft.io
 DocumentRoot "/home/romelgomez/workspace/projects/benllisoft/app/webroot"
  DirectoryIndex index.php
  <Directory />
      Require all granted
      Options Indexes FollowSymLinks Includes ExecCGI
      AllowOverride All
      Order deny,allow
      Allow from all
  </Directory>
  <Directory "/home/romelgomez/workspace/projects/benllisoft/app/webroot">
    Options FollowSymLinks
    AllowOverride All
    Allow from all
  </Directory>
</VirtualHost>

I registered a recaptcha key for ngrok.io and i'm testing with the secure tunnel.

I was able to get around the issues I was having testing from localhost by simply adding the scripts in the following order:
<script src="bower_components/angular-recaptcha/release/angular-recaptcha.js"></script>
<!-- endbower -->
<!-- endbuild -->

<script src="https://www.google.com/recaptcha/api.js?onload=vcRecaptchaApiLoaded&render=explicit" async defer></script>

Add localhost to domain list, works for me.

I am trying to test my register controller with recaptcha directive in it. The problem is that when in the controller I call the service, with this:

vcRecaptchaService.reload($scope.widgetId);

karma test fails because:

Error: reCaptcha has not been loaded yet.
at validateRecaptchaInstance (bower_components/angular-recaptcha/release/angular-recaptcha.js:44)
at bower_components/angular-recaptcha/release/angular-recaptcha.js:77

Any ideas on how I have to implement the test in order to get it working?

@lluiscanals You should be mocking out the services which you are not testing directly. Only test the code you create, not the modules/components others have created which you use.
Using something like sinon, you can create a spies for vcRecaptchaService. Then when your code calls vcRecaptchaService methods, it doesn't actually call the real vcRecaptchaService so those never run. Instead it calls your spy, which you can test to ensure was called as you would have expected it to have been called.

Doesn't seem like we need to do anything here? Please reopen if i'm wrong.

@lluiscanals,  this portion of code helped me.
  const vcRecaptchaService = {
    reload: () => {},
    getResponse:() => {}
  };

  beforeEach(() => {angular.mock.module( ($provide) => {
    $provide.value('vcRecaptchaService', vcRecaptchaService);
  })});


fix: broker fails to delete service when create in progress

We want to avoid an error found when trying to delete a service when its creation is in progress as the service is not consolidated and the status of Terraform is not generated.
We also avoided an error when reading the Terraform state if that state was not previously generated, which generated an error when performing the Unmarshalling operation.
#182125560
Checklist:

[x] Have you added or updated tests to validate the changed functionality?
[ ] Have you added Draft Release Notes in docs/draft-release-notes.md?
[x] Have you followed the Conventional Commits specification?

Since this is a bug fix there should also be release notes added in docs/draft-release-notes.md


Difficulty linking to private copy of SZip library

This is for a static library build of netcdf-c master branch.
I think there is a problem with static builds when SZIP is enabled.
One problem is that the process used to determine whether to use SZIP is to do a CHECK_LIBRARY_EXISTS to see if the symbol H5Z_SZIP exists in the HDF5 library and if it does, then USE_SZIP is set to true and libsz is added to the link libraries CMAKE_REQUIRED_LIBRARIES.  However, the link performed in the CHECK_LIBRARY_EXISTS macro will fail if HDF5 is a static library and if the library requires the SZ library since the SZ library has not yet been added to the list of libraries to link to...
In other words, the current flow is:

link a test program to see if H5Z_SZIP is present in HDF5 library
If it is, then

set USE_SZIP
FIND_LIBRARY(SZIP NAMES szip sz)
Add the SZIP library to CMAKE_REQUIRED_LIBRARIES

But, this cannot succeed since the link in the first line requires linking with the library that is not yet added to the link line.  This succeeds with a dynamic / shared build since the HDF5 library (on most systems) will have the libsz dependency embedded in it and pull it along.
The second issue is that all other checks for HDF5 capabilities/functions also fail due to the SZIP library not being used in the linking of the test programs....
I tried adding -lsz to the NC_EXTRA_DEFS and that somewhat succeeds; however, it finds the system library instead of the version that I built/installed.  In addition, I then end up with 2 versions of the SZIP library in the link line -- the first from the NC_EXTRA_DEFS and the second is my library which is found in the CHECK_LIBRARY_EXISTS test.
Sorry I don't currently have a solution, but hoped someone else had already seen and fixed this...

Note that the title of the issue refers to a private copy of the szip library, but I think the issue still occurs with a system szip library...

Here is a partial solution that doesn't require linking and just relies on a symbol in H5pubconf.h:
  #Check to see if H5Z_SZIP exists in HDF5_Libraries. If so, we must use szip library.
  set (CMAKE_REQUIRED_INCLUDES ${HAVE_HDF5_H})
  CHECK_C_SOURCE_COMPILES("#include <H5public.h>
   #if !H5_HAVE_FILTER_SZIP
   #error
   #endif
   int main() {
   int x = 1;}" USE_SZIP)
  IF(USE_SZIP)
    FIND_LIBRARY(SZIP NAMES szip sz)
    IF(SZIP)
      SET(HAVE_H5Z_SZIP 1)
      SET(SZIP_LIBRARY ${SZIP})
      SET(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${SZIP})
      MESSAGE(STATUS "HDF5 has szip.")
    ELSE()
      MESSAGE(FATAL_ERROR "HDF5 Requires SZIP, but cannot find libszip or libsz.")
    ENDIF()
  ENDIF()

This still has the issue of finding the system szip library instead of my local szip library, but at least all of the other tests that rely on linking still work...
Will see how to get it to find my library now...

This seems to find my library instead of the system library.  Checks whether SZIP_LIBRARY is defined and if it is, uses it; if not, it tries to find it using FIND_LIBRARY:
  #Check to see if H5Z_SZIP exists in HDF5_Libraries. If so, we must use szip library.
  set (CMAKE_REQUIRED_INCLUDES ${HAVE_HDF5_H})
  CHECK_C_SOURCE_COMPILES("#include <H5public.h>
   #if !H5_HAVE_FILTER_SZIP
   #error
   #endif
   int main() {
   int x = 1;}" USE_SZIP)
  IF(USE_SZIP)
    # If user has specified the `SZIP_LIBRARY`, use it; otherwise try to find...
    IF(NOT SZIP_LIBRARY)
      FIND_LIBRARY(SZIP PATH NAMES szip sz)
      SET(SZIP_LIBRARY ${SZIP})
      IF(NOT SZIP)
        MESSAGE(FATAL_ERROR "HDF5 Requires SZIP, but cannot find libszip or libsz.")
      ENDIF()
    ENDIF()
    SET(HAVE_H5Z_SZIP 1)
    SET(CMAKE_REQUIRED_LIBRARIES ${SZIP_LIBRARY} ${CMAKE_REQUIRED_LIBRARIES})
    MESSAGE(STATUS "HDF5 has szip.")
  ENDIF()

I can put up as a PR if you want...


Fix scope for state variable that guards the silent scan for kits

Change the scope of the state variable that guards the silent scan for kits from workspace to global to avoid unnecessary scanning for each new folder.

Do you know what is going on with the tests?

Do you know what is going on with the tests?

I noticed just since this morning (or yesterday after noon) that they seldom fail and pass with rerun. I am not reproducing on my ubuntu.
Looking deeper into this now since it didn't happen just once.


add amirul abu to contributors list

@amirulabu, I'm quite elated about your PR. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a PR and learned that I merged it?

The instructions are clear, i have use git quite a bit by my self, but so far i have no experience working in a team of programmers especially using git. This is a good experience for me.

@amirulabu, I’d urge you to continue contributing to other open source projects.
We also have a slack team to help/mentor people trying to contribute to open source projects.
You can join the team by going to https://firstcontributions.herokuapp.com


NavigationView: Settings button reposition itself with some delay

When resizing the height of the NavigationView, the Settings button reposition itself to the correct position with some delay.
The problem is very noticeable when positioning a PaneFooter element near the Settings button because the PaneFooter doesn't have this problem, so for a short time they overlap with each others.
Step to reproduce the problem:

Windows 10 October update (Build 17763)
create an empty project with Min version and Target version = "Windows 10, version 1809 (Build 17763)"
add this code between Grid tags in MainPane.xaml

<NavigationView IsSettingsVisible="True">
    <NavigationView.PaneFooter>
        <NavigationViewItem Content="My Pane Footer"/>
    </NavigationView.PaneFooter>
</NavigationView>

Here's a preview of the problem (the entity of the delay may vary between different devices).

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

ID: ce4dc6f7-f3bd-16b7-7dbc-56727af3fb97
Version Independent ID: 89dadeaf-9bba-a58a-24cb-f731de2b7265
Content: NavigationView Class (Windows.UI.Xaml.Controls) - Windows UWP applications
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.ui.xaml.controls.navigationview.yml&version=GBlive&_a=contents
Product: uwp
Git Login: jwmsft
Microsoft Alias: jimwalk

Good bug. Thanks for the gif, that really helped explain it. We are asking for bugs to be filed on https://github.com/Microsoft/microsoft-ui-xaml. I can move this issue over for you.


[Event Request] Table 50 "Accounting Period" - OnCheckOpenFiscalYearsOnBeforeError

Hello. In the table 50 "Accounting Period", in the procedure CheckOpenFiscalYears, I would like to skip the standard code at the verification of NoOfOpenFiscalYears > 2. To do so, I need an event publisher and a IsHandled flag. Like this :
procedure CheckOpenFiscalYears()
var
    IsHandled : boolean;
begin
    AccountingPeriod2.Reset();
    AccountingPeriod2.SetRange("New Fiscal Year", true);
    AccountingPeriod2.SetRange("Fiscally Closed", false);
    NoOfOpenFiscalYears := AccountingPeriod2.Count();
    if AccountingPeriod2.FindFirst then;

    // check last period of previous fiscal year
    AccountingPeriod2.SetRange("New Fiscal Year");
    AccountingPeriod2.SetRange("Fiscally Closed");
    if AccountingPeriod2.Find('<') then
        if not AccountingPeriod2."Fiscally Closed" then
            NoOfOpenFiscalYears := NoOfOpenFiscalYears + 1;

    IsHandled := false;
    OnCheckOpenFiscalYearsOnBeforeError(Rec, IsHandled);
    if not IsHandled then
        if NoOfOpenFiscalYears > 2 then
            Error(Text10801);
end;

With this event integration :
[IntegrationEvent(false, false)]
local procedure OnCheckOpenFiscalYearsOnBeforeError(var AccountingPeriod: Record "Accounting Period"; var IsHandled: Boolean)
begin
end;

Do you think it could be possible ?
Thank you for your work.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Add alert-container class to ng-repeat div

With this change we can do animations like this:
.alert-container.ng-leave {
    // css...
}

LGTM. Adding it manually though since there's conflicts.. Thank you anyway! :)