"bazel clean" will undo "./configure" when source configured to build for GPU.

Environment info
Operating System:
ubuntu 14.04
Installed version of CUDA and cuDNN:
(please attach the output of ls -l /path/to/cuda/lib/libcud*):
cuda 8.0.44, cudnn 5.5
If installed from binary pip package, provide:
No
If installed from source, provide

The commit hash (git rev-parse HEAD)
c8d4896e3231c3ac32f174fd0af051867645fbb5
The output of bazel version
Build label: 0.3.1
Build target: bazel-out/local-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Fri Jul 29 09:09:52 2016<PHONE_NUMBER>)
Build timestamp:<PHONE_NUMBER>
Build timestamp as int:<PHONE_NUMBER>

If possible, provide a minimal reproducible example (We usually don't have time to read hundreds of lines of your code)
./configure   # configure with GPU support)
bazel test -c opt --config=cuda tensorflow/core:common_runtime_direct_session_test # this one should pass
bazel clean
bazel test -c opt --config=cuda tensorflow/core:common_runtime_direct_session_test  # this one fails, complaining no GPU support configured.
Logs or other output that would be helpful
(If logs are large, please upload as attachment or provide link).
java.lang.RuntimeException: Unrecoverable error while evaluating node 'CONFIGURATION_FRAGMENT:com.google.devtools.build.lib.skyframe.ConfigurationFragmentValue$ConfigurationFragmentKey@ae
3629bd' (requested by nodes 'CONFIGURATION_COLLECTION:com.google.devtools.build.lib.skyframe.ConfigurationCollectionValue$ConfigurationCollectionKey@1374ec1e', 'CONFIGURATION_FRAGMENT:com
.google.devtools.build.lib.skyframe.ConfigurationFragmentValue$ConfigurationFragmentKey@3686b55', 'CONFIGURATION_FRAGMENT:com.google.devtools.build.lib.skyframe.ConfigurationFragmentValue
$ConfigurationFragmentKey@a93d9174')
at com.google.devtools.build.skyframe.ParallelEvaluator$Evaluate.run(ParallelEvaluator.java:1070)
at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:474)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
David, Damien, looks like bazel clean undid some output of "./configure" at head.
Any idea where things went wrong?

I don't have the code of cuda_configure in my HEAD but it sounds like the repository itself is invalidated by bazel clean which should not happens, @kchodorow might have an idea on why a simple clean would invalidate a remote repository (maybe a bug in the skylark remote repositories).
Side-note: we should fix the failure message that fail at the wrong step (i.e. not have that stack trace, why do even have that lever?)

Ping, any updates, comments on this?

Is this still happening? I have some in progress change to fix invalidation of skylark remote repository (to avoid the clean --expunge in the configure step) but it shold not affect this one (or maybe it will).

Yes, I am still running into this if I do bazel clean:
...
		fail("ERROR: Building with --config=c...")
ERROR: Building with --config=cuda but TensorFlow is not configured to build with GPU support. Please re-run ./configure and enter 'Y' at the prompt to build with GPU support.
ERROR: no such target '@local_config_cuda//crosstool:toolchain': target 'toolchain' not declared in package 'crosstool' defined by /usr/local/google/home/gunan/.cache/bazel/_bazel_gunan/f65fe95058266630d298f8662514e702/external/local_config_cuda/crosstool/BUILD.
INFO: Elapsed time: 0.318s

The reason why this is happening is that it looks like bazel clean is, as Damien described, invalidating the repository created by cuda_configure, and because the environment variables used by cuda_configure are no longer set (since they were only set in the subshell when ./configure ran), we end up re-fetching with all default values and thus configuring the repository to not build with GPU.
Seems this behavior we are observing where running bazel clean without --expunge invalidates the repository might be a bug.

Ok I found out the issue.
local = True from cuda_configure.bzl#L818 basically invalidate the repository for a lot of little things, I suggest removing that local = True.

Will try the suggestion out locally.

After removing local=True, I still see the same problem.
@damienmg do you think I missed something, or is this not the full fix?

I need to investigate a bit more. removing local = True should do the trick... I'll try to reproduce tomorrow, all I need is docker right?

You actually need a machine with a NVIDIA gpu, docker or not.
When I try on my machine, I can confirm that local = True does not fix the
problem for me.
On Mon, Jan 9, 2017 at 1:56 PM, Damien Martin-Guillerez <
<EMAIL_ADDRESS>wrote:

I need to investigate a bit more. removing local = True should do the
trick... I'll try to reproduce tomorrow, all I need is docker right?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/4848#issuecomment-271419905,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHlCOdG7NqdrAekh_Phu2swIgtZ6pGYHks5rQq0GgaJpZM4KR74N
.

No bazel clean in history:
$ history | grep ' bazel'
........
241 bazel build -c opt --config=cuda //tensorflow/tools/pip_package:build_pip_package
242 bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg

But then:
$ bazel build --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package
......
ERROR: /home/kit/.cache/bazel/_bazel_kit/5f23834381991ebb87bab85ad8b737c5/external/local_config_cuda/crosstool/BUILD:4:1: Traceback (most recent call last):
	File "/home/kit/.cache/bazel/_bazel_kit/5f23834381991ebb87bab85ad8b737c5/external/local_config_cuda/crosstool/BUILD", line 4
		error_gpu_disabled()
	File "/home/kit/.cache/bazel/_bazel_kit/5f23834381991ebb87bab85ad8b737c5/external/local_config_cuda/crosstool/error_gpu_disabled.bzl", line 3, in error_gpu_disabled
		fail("ERROR: Building with --config=c...")
ERROR: Building with --config=cuda but TensorFlow is not configured to build with GPU support. Please re-run ./configure and enter 'Y' at the prompt to build with GPU support.
ERROR: no such target '@local_config_cuda//crosstool:toolchain': target 'toolchain' not declared in package 'crosstool' defined by /home/kit/.cache/bazel/_bazel_kit/5f23834381991ebb87bab85ad8b737c5/external/local_config_cuda/crosstool/BUILD.
INFO: Elapsed time: 0.571s

Seems like cache invalidation issue to me. AFAIR it's time dependent, i.e. will fail only if looong time passed between builds.


chore(net): expose max concurrent GetPooledTransactions reqs in cli

Exposes GetPooledTransactions requests concurrency parameters in cli

@emhane semicolons ... please 🙏

something went wrong here
perhaps it's easier to close this and reopen again

you need to be more specific for me to follow. what went wrong?


command line to convert svg to font

https://github.com/FontCustom/fontcustom

dnf install gcc mysql-devel ruby-devel rubygems zlib-devel

you need mysql to create a font ?

Indeed it does not make sense. I change my comment.

I was not able to install this project. @targos if you have the opportunity to try on your computer. I have an error when I do the gem install fontcustom and could not find a solution on the web.

Finally we are including directly the SVG but this has as consequence to increase the size of the css by a factor 10 ...


Safari - Clean AppleScript Handling

1. Setting to Enable AppleScript
A setting must be enabled to use. Here is how to read and write it:
/usr/bin/defaults write com.apple.Safari AllowJavaScriptFromAppleEvents -bool true
/usr/bin/defaults read com.apple.Safari AllowJavaScriptFromAppleEvents

Unfortunately, the following returns an empty string:
LibC resultOfCommand: '/usr/bin/defaults read com.apple.Safari AllowJavaScriptFromAppleEvents

So not sure if we can check this from inside the image. Maybe documentation is the best we can do here?
2. Delegate to Applescript Project
CwSafari>>#doJavascript: uses Applescript underneath, but CwSafari>>#applescriptTell: is using something handrolled

1. Setting to Enable AppleScript
A setting must be enabled to use. Here is how to read and write it:

/usr/bin/defaults write com.apple.Safari AllowJavaScriptFromAppleEvents -bool true

/usr/bin/defaults read com.apple.Safari AllowJavaScriptFromAppleEvents

Unfortunately, the following returns an empty string:

LibC resultOfCommand: '/usr/bin/defaults read com.apple.Safari AllowJavaScriptFromAppleEvents

So not sure if we can check this from inside the image. Maybe documentation is the best we can do here?
2. Delegate to Applescript Project
CwSafari>>#doJavascript: uses Applescript underneath, but CwSafari>>#applescriptTell: is using something handrolled


Release v2.4

We are going to make a v2.4 maintenance release on top of lwaftr_starfruit.  We'll be listing things here that need to be back-ported from the main lwaftr branch back to lwaftr_starfruit.

[ ] https://github.com/snabbco/snabb/pull/707 (possibly already present in lwaftr_starfruit via a different path; not sure)

[ ] https://github.com/snabbco/snabb/pull/783

All of those previous ones are from before the lwaftr was merged.  After, it gets more complicated -- we have to rebase instead of merging.  I don't know if it is worth it.  I will attempt to assemble a list here:

[ ] https://github.com/Igalia/snabb/pull/291

[ ] https://github.com/snabbco/snabb/pull/827
[ ] https://github.com/snabbco/snabb/pull/866

OK that's all I can see.

#707 is already in lwaftr_starfruit as commit 5528edbae217d22a6cab52d638e4e88574e98530

#783 is already in lwaftr_starfruit as commit 940dc86027e2f71ed291aa9afe717bd278971570

[ ] https://github.com/snabbco/snabb/pull/909

291 is absolutely essential, and 294 is moderately important. Definitely both worth it.

snabbco#827 and  snabbco#866 backported via https://github.com/Igalia/snabb/pull/307

#291 via https://github.com/Igalia/snabb/pull/306#issuecomment-216524166

#294 via #308

#311 via #304 . #304 is a backport of #909 to lwaftr branch. #311 is a backport of #304 to lwaftr_starfruit branch. It includes all the commits except the "with_restart" commit.

Whew, done; tagged as v2.4.  Thank you both, @dpino and @kbara!


Fix #59.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
http://guh.guru:8080/job/guh-webinterface-pull-request/45/
Test PASSed.


Last Korean character disappear when moving the cursor in query editor

System information:

Operating system (distribution) and version: macOS 10.14.3
DBeaver version: <IP_ADDRESS>011291229

Connection specification:

Database name and version: MySQL

Describe the problem you're observing:
When I type Korean characters in your query editor and move cursor or change to English, the last Korean character just disappears.
Or when I'm trying to delete one last Korean character, the second last character is also deleted not only the last one.
But when I use quotation mark after the last Korean character to treat it as string, it doesn't disappear.
Steps to reproduce, if exist:
Type Korean characters and move the cursor.

Thank you for the report.

This bug comes from Eclipse platform itself. It can be tracked here https://bugs.eclipse.org/bugs/show_bug.cgi?id=371397

Oh, I see. It has been 10 years since the first report but hasn't been fixed. Thanks anyway.


Resize all of the maki assets

maki - right - down is the correct size but the other maki assets need to go from 256 pixels down to 200.

Done


[Feature] Integrate a CodeCarbon plugin

https://mlco2.github.io/codecarbon/
https://mlco2.github.io/codecarbon/usage.html#context-manager

Was implemented in #196


rbd: added rbd info to validateRBDImageCount func

Describe what this PR does
Added rbd info and rbd status on Failure message
bash-5.1$ rbd info --pool=replicapool csi-vol-2b6574ee-9c6f-4a3b-9a96-09060763f7a7
rbd image 'csi-vol-2b6574ee-9c6f-4a3b-9a96-09060763f7a7':
	size 1 GiB in 256 objects
	order 22 (4 MiB objects)
	snapshot_count: 0
	id: 1102e70da18f
	block_name_prefix: rbd_data.1102e70da18f
	format: 2
	features: layering
	op_features:
	flags:
	create_timestamp: Thu Oct 31 13:26:32 2024
	access_timestamp: Thu Oct 31 13:26:32 2024
	modify_timestamp: Thu Oct 31 13:26:32 2024

bash-5.1$ rbd status --pool=replicapool csi-vol-2b6574ee-9c6f-4a3b-9a96-09060763f7a7
Watchers: none

Is there anything that requires special attention
Do you have any questions?
Is the change backward compatible?
Are there concerns around backward compatibility?
Provide any external context for the change, if any.
For example:

Kubernetes links that explain why the change is required
CSI spec related changes/catch-up that necessitates this patch
golang related practices that necessitates this change

Related issues
Mention any github issues relevant to this PR. Adding below line
will help to auto close the issue once the PR is merged.
Fixes: #issue_number
#4547
Future concerns
List items that are not part of the PR and do not impact it's
functionality, but are work items that can be taken up subsequently.
Checklist:

[ ] Commit Message Formatting: Commit titles and messages follow
guidelines in the developer
guide.
[ ] Reviewed the developer guide on Submitting a Pull
Request
[ ] Pending release
notes
updated with breaking and/or notable changes for the next major release.
[ ] Documentation has been updated, if necessary.
[ ] Unit tests have been added, if necessary.
[ ] Integration tests have been added, if necessary.

Show available bot commands
These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:

/retest ci/centos/<job-name>: retest the <job-name> after unrelated
failure (please report the failure too!)

/test ci/centos/mini-e2e-helm/k8s-1.30

/test ci/centos/mini-e2e-helm/k8s-1.30

/test ci/centos/mini-e2e-helm/k8s-1.30

Output from failure job: https://url.corp.redhat.com/e9aa53d
[38;5;9m[FAILED] backend images not matching kubernetes resource count,image count 1 kubernetes resource count 11
  backend image Info:
   [csi-vol-d2bb1f89-26f7-4c37-a22d-d72f9a7aa30b]
   images information and status Pool: replicapool, Image: csi-vol-d2bb1f89-26f7-4c37-a22d-d72f9a7aa30b, Info: {csi-vol-d2bb1f89-26f7-4c37-a22d-d72f9a7aa30b 0 0 4194304}, Status: {  0 false 0 }�[0m
  �[38;5;9mIn �[1m[It]�[0m�[38;5;9m at: �[1m/go/src/github.com/ceph/ceph-csi/e2e/rbd.go:206�[0m �[38;5;243m@ 11/04/24 13:29:22.803�[0m

@Madhu-1 @nixpanic Is this the desired output? When I ran it manually I got the following results:
bash-5.1$ rbd info --pool=replicapool csi-vol-2b6574ee-9c6f-4a3b-9a96-09060763f7a7
rbd image 'csi-vol-2b6574ee-9c6f-4a3b-9a96-09060763f7a7':
	size 1 GiB in 256 objects
	order 22 (4 MiB objects)
	snapshot_count: 0
	id: 1102e70da18f
	block_name_prefix: rbd_data.1102e70da18f
	format: 2
	features: layering
	op_features:
	flags:
	create_timestamp: Thu Oct 31 13:26:32 2024
	access_timestamp: Thu Oct 31 13:26:32 2024
	modify_timestamp: Thu Oct 31 13:26:32 2024
bash-5.1$ rbd status --pool=replicapool csi-vol-2b6574ee-9c6f-4a3b-9a96-09060763f7a7
Watchers: none

How about if we just return the stdout and log it, i think it will be useful for debugging instead of unmarshal output. i tlooks like the above logs is not much helpful, @nixpanic WDYT?

How about if we just return the stdout and log it, i think it will be useful for debugging instead of unmarshal output. i tlooks like the above logs is not much helpful, @nixpanic WDYT?

Logging stdout is sufficient for me too. It may also be easier to find the right timestamp/location of errors when the logs contain pretty unique words like block_name_prefix.

Info: {csi-vol-d2bb1f89-26f7-4c37-a22d-d72f9a7aa30b 0 0 4194304}, Status: {  0 false 0 }

Info: {csi-vol-d2bb1f89-26f7-4c37-a22d-d72f9a7aa30b 0 0 4194304}, Status: {  0 false 0 } This should log both key and value from the struct without it its difficult to understand and debug it.
It would be good if we just return the stdout and log the stdout in the logs that helps for debugging, actual struct is missing few details.

Info: {csi-vol-d2bb1f89-26f7-4c37-a22d-d72f9a7aa30b 0 0 4194304}, Status: { 0 false 0 } This should log both key and value from the struct without it its difficult to understand and debug it.
It would be good if we just return the stdout and log the stdout in the logs that helps for debugging, actual struct is missing few details.

images not matching kubernete

Info: {csi-vol-d2bb1f89-26f7-4c37-a22d-d72f9a7aa30b 0 0 4194304}, Status: {  0 false 0 }

Info: {csi-vol-d2bb1f89-26f7-4c37-a22d-d72f9a7aa30b 0 0 4194304}, Status: { 0 false 0 } This should log both key and value from the struct without it its difficult to understand and debug it.
It would be good if we just return the stdout and log the stdout in the logs that helps for debugging, actual struct is missing few details.

And what should be done with this function? It relies on the imgInfo struct.
https://github.com/ceph/ceph-csi/blob/cea8bf8110531284d272582b9c536ffdb2ece82b/e2e/rbd_helper.go#L1132-L1133

@Madhu-1 @nixpanic Which method would be better: getImageStatus, which returns a string output, or getImageInfo, which returns a struct with all parameters?

@Madhu-1 @nixpanic Which method would be better: getImageStatus, which returns a string output, or getImageInfo, which returns a struct with all parameters?

we could have a base function that returns the string and getImageStatus can use the base function and later do unmarshal and from the validation we will call the base function that returns the string data and print it.

@OdedViner changes LGTM , please squash the commits into 1

@Madhu-1 done

@OdedViner can you please fix CI problem

@OdedViner can you please fix CI problem

@Madhu-1 I deleted the blank line on getImageInfo func

@mergifyio rebase

@mergifyio rebase

@mergifyio queue

/retest ci/centos/mini-e2e/k8s-1.29

@OdedViner, a CI job failed and resulted in the following output:
[FAILED] backend images not matching kubernetes resource count,image count 1 kubernetes resource count 0
  backend image Info:
   [csi-vol-76e28f0b-4ae2-43f7-b9e6-c8e28d891c25]
   images information and status Pool: replicapool, Image: csi-vol-76e28f0b-4ae2-43f7-b9e6-c8e28d891c25, Info: , Status:

It looks like Info and Status are both empty for some reason, maybe you want to double check what it is doing?

@OdedViner, a CI job failed and resulted in the following output:
[FAILED] backend images not matching kubernetes resource count,image count 1 kubernetes resource count 0
  backend image Info:
   [csi-vol-76e28f0b-4ae2-43f7-b9e6-c8e28d891c25]
   images information and status Pool: replicapool, Image: csi-vol-76e28f0b-4ae2-43f7-b9e6-c8e28d891c25, Info: , Status:

It looks like Info and Status are both empty for some reason, maybe you want to double check what it is doing?

@Madhu-1 @Madhu-1Can we re-run the job? Alternatively, I can create a PR with validateRBDImageCount(f, 111, defaultRBDPool). The test is expected to fail so we can review the failure output.

1Can we re-run the job? Alternatively, I can create a PR with validateRBDImageCount(f, 111, defaultRBDPool). The test is expected to fail so we can review the failure output.

I see this happening as well, This happens when there is a delay in volume deletion where the volume is present in first get and gets deleted when we try to query in details (due to async deletion)

1Can we re-run the job? Alternatively, I can create a PR with validateRBDImageCount(f, 111, defaultRBDPool). The test is expected to fail so we can review the failure output.

I see this happening as well, This happens when there is a delay in volume deletion where the volume is present in first get and gets deleted when we try to query in details (due to async deletion)

@Madhu-1 is there a method to add to fix it? or only add sleep before first get?

1Can we re-run the job? Alternatively, I can create a PR with validateRBDImageCount(f, 111, defaultRBDPool). The test is expected to fail so we can review the failure output.

I see this happening as well, This happens when there is a delay in volume deletion where the volume is present in first get and gets deleted when we try to query in details (due to async deletion)

@Madhu-1 is there a method to fix it? or only add sleep before first get?

This is very corner case there i no 100 % solution to fix it but we need more than sleep. we need to take tasks in to consideration when we do get call for the count.


AsyncSnapshot

I totally get the reasoning behind changing the API to use AsyncSnapshot but part of the beauty of context_watch was the simplicity of the API, would have loved to see .watch stay as it was, and then add a .watchSnapshot with the AsyncSnapshot return type

still think the migration bloats the simplicity of the API and would have preferred to see this as .watchSnapshot leaving .watch as is.
ended up with this extension which I now have to cart around to all my projects
extension ValueStreamX<T> on ValueStream<T> {
  T watchValue(BuildContext context) => watch(context).data ?? value;
}

@lukepighetti, looks like the watchValue extension you use can be simplified to the watch(context).data! or watch(context).requireData since context_watch handles a special case of ValueStream's initial value being already present under the hood and returns the data in that case in the same frame.
Regarding the package API design decision, I don't want to get rid of the AsyncSnapshot as it allows for keeping the API surface really tiny and easy to remember and use. I love the fact that there's only two additional methods on everything observable: .watch() (for observing the whole thing) and .watchOnly() (for observing a part of the thing) and don't plan on adding any new methods to the base packages.
However, I think it would be very fairly easy to introduce another "integration" package for rxdart specifically, with the .watchValue() and .watchValueOrNull() extensions, which would just always return the respective property values of the ValueStream. Please let me know if that could be of any value to you.


[projmgr] add support for toolchain agnostic pre-include files in YAML Input files

There are many cases that a project has a pre-include file. All IDEs and compilers supports pre include file.
Without pre include supported, many projects cannot be supported directly in Open-CMSIS-Pack.

@tcsunhao, I guess you could use misc to specify a pre-include file, however the exact syntax would depend on the selected toolchain.
Do you have any suggestion for specifying files as pre-include files. Do we need to specify the pre-include files only globally or for a certain scope, e.g. a file group.
For components we have dedicated FileCategoryTypes

Thank you @jkrech , for the time being, I will use 'misc' to hold toolchain specific preinclude file.
In NXP existing cases, preinclude file is for project level, but I think if we support it, in data model, we shall support all while in implementation, we can do with priority.

@tcsunhao I will review this and try to come up with a tool agnostic way to specify pre-include files.

Sorry my answer is late.  I have looked into options and would suggest to add a note pre-include: as shown below.
It is similar to add-path: and the control should be allowed at the same positions as add-path:.
@tcsunhao would this fulfil the request?
@brondani @jkrech could we add this feature for CMSIS-Toolbox 2.2?
pre-include:
Add pre-include files to the command line of the development tools for C and C++ source files.

pre-include:
Content

    - <file-name>
Filename of the pre-include file to be added

Note:
This control only applies to C and C++ source files.  For assembler source files use the misc: node.

Another use case for such a feature could be ARM-software/CMSIS_6#122

Toolbox 2.3.0 will have an "experimental" version of cbuild2cmake and we need to see whether this version will have support for new features like -preinclude

this feature did not make it into CMSIS-Toolbox 2.4.0.

@brondani Pre-include is now specified here https://github.com/ReinhardKeil/cmsis-toolbox/blob/main/docs/YML-Input-Format.md#pre-include
It is possible on all places where language-c can be specified (means at group, file, component, project, etc. level).

@ReinhardKeil User pre-include files are already supported in cbuild2cmake via file categories preIncludeGlobal and preIncludeLocal similarly as it is for component files, for example:
  groups:
    - group: Source
      files:
        - file: ./pre-inc.h
          category: preIncludeGlobal

Could you please check whether this solves the issue so additional nodes are not needed?


New make_relative_value behaviour on complete cross section

Modified _prepare_basket behaviour as request on ticket #497

Will fail until https://github.com/macrosynergy/macrosynergy/pull/500 is approved.
Additionally, the make_relative_value.py Unit Test will also fail given the changes.
I'll still review the logic and get back to you.


Image [image Id] not found

I deploy cloudfoundry on openstack(devstack),  It came out an error:
Started deploying
  Creating VM for instance 'bosh/0' from stemcell '63580cce-1770-4240-9db9-07cf4e2e2c08'... Failed (00:00:02)
Failed deploying (00:00:04)

Stopping registry... Finished (00:00:00)
Cleaning up rendered CPI jobs... Finished (00:00:00)

Command 'deploy' failed:
  Deploying:
    Creating instance 'bosh/0':
      Creating VM:
        Creating vm with stemcell cid '63580cce-1770-4240-9db9-07cf4e2e2c08':
          CPI 'create_vm' method responded with error: CmdError{"type":"Bosh::Clouds::CloudError","message":"Image `63580cce-1770-4240-9db9-07cf4e2e2c08' not found","ok_to_retry":false}

Could you please provide the full output? Best would be to include the debug log output as well (see https://bosh.io/docs/using-bosh-init.html#logging to configure bosh-init to provide debug output).
I cannot imagine stemcell upload to succeed and VM creation to fail with "stemcell not found" without somebody or something deleting the image from Glance in between.
Did you happen to unstack.sh and stack.sh or otherwise interact with devstack Glance during the execution?

the VM CID is persisted in deployment state file in the same folder as the deployment manifest. I delete the old state.json file and redploy the error got away.


Why directory in unmanagedClasspath is copied to system temporary directory?

I'm using SBT 1.2.1 on Mac for a multimodule project.
My project directory looks like this:
project/
  module1/
    src/
  module2/
    src/
  app/
    config/
      xitrum.conf
    src/
  build.sbt

In my build.sbt, I'm adding app/config directory to classpath of module app like this:
unmanagedClasspath in Compile += baseDirectory.value / "config"
unmanagedClasspath in Runtime += baseDirectory.value / "config"

When I run the project with sbt run, I see that the config directory is copied to system temporary directory like this:
/var/folders/gc/14jrc47n1k17cz4zfx2f9t6h0000gp/T/sbt_d931459f/target/dbed45b7/config

Question:
Why SBT 1.2.1 doesn't simply use the config file as is? Why does it need to copy (unlike SBT 0.13.x)?

I'm asking because in the multimodule project, path to the directory containing the config directory is calculated like this:
val url = Thread.currentThread.getContextClassLoader.getResource("xitrum.conf")
val fileName = url.getFile
val rootDir = fileName.replace("/config/xitrum.conf", "")

The code works with SBT 0.13.x, but not with SBT 1.2.1.
Note: System.getProperty("user.dir") can be used, but it's not flexible for multimodule SBT project.

Question: If modifying SBT to use the config directory as-is is not an option, in a multimodule SBT project, what should I do to get path to directory containing the config directory dynamically (that is, do not hardcode System.getProperty("user.dir") + "/app")?

Also, it seems that SBT doesn't clean up the temporary directory it created when it exits (https://github.com/sbt/sbt/issues/502).

sbt run now uses bgRun (background run). If you would like the same behavior as 0.13, please use fgRun.

I searched about bgRun and found this: https://github.com/sbt/sbt/pull/2936
Is there more official doc about bgRun and fgRun?


Add The Guardian Open Platform

The Open Platform is a public web service for accessing all the content the Guardian creates, categorized by tags and section.
The Developer key (for any non-commercial usage of the content, such as student dissertations, hackathons, nonprofit app developers) has the following features:

Up to 12 calls per second
Up to 5,000 calls per day
Access to article text
Access to over 1,900,000 pieces of content
Free for non-commercial usage

Even though they do have a commercial version, the free Developer version seems quite helpful and enough for most developer needs.

Thanks @dakshshah96 !


Extending Promise gives runtime error: undefined is not a promise

I also asks this on Stackoverflow, but I think this is a bug:
I'm trying to cancel my async method call in Typescript.
To do this, I have created a new Promise type, which inherits from Promise.
My first version was without the Object.setPrototypeOf(..), but I took it for here
TypeScript Version:  2.2.0, targeting ES5
Code
class CancelablePromise<T> extends Promise<T>{

    public cancelMethod: () => void;
    constructor(executor: (resolve: (value?: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void) {
        super(executor);
        // Set the prototype explicitly.
        // See: https://github.com/Microsoft/TypeScript-wiki/blob/master/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work
        Object.setPrototypeOf(this, CancelablePromise.prototype);

    }

    //cancel the operation
    public cancel() {
        if (this.cancelMethod) {
            this.cancelMethod();
        }
    }
}

class Test{

    async postFileAjax<T>(file: File): CancelablePromise <T> {

        var promiseFunc = (resolve) => { resolve() };
        var promise = new CancelablePromise<T>(promiseFunc);
        promise.cancelMethod = () => { console.log("cancel!") };

        return promise;
    }
}

var test = new Test();
test.postFileAjax(null);

Expected behavior:
No runtime error, or compile error if not allowed.
And of course working promise if no error.
Actual behavior:
Go a run-time error
Error:
(unknown) Uncaught TypeError: undefined is not a promise
    at CancelablePromise.Promise (<anonymous>)
    at new CancelablePromise (<anonymous>:44:28)
    at __awaiter (<anonymous>:7:12)
    at Test.postFileAjax (<anonymous>:62:16)
    at <anonymous>:75:6
    at HTMLButtonElement.excuteButton.onclick (https://www.typescriptlang.org/play/playground.js:242)

Link to playground

The issue here is that ES6 classes (e.g. Promise) are not callable, the way ES5 built in classes (e.g. Array). The emitted code that the compiler produces uses super.call which throws in ES6 engine.
The fix here is to use Reflect.construct if it exists instead of call. Reflect.construct is not something we can polifill, but we can assume if built-in Promise is there, Refelect.construct is there too.
Here is a proposal for that from @rbuckton:
var __construct = (this && this.__construct) || function (self, target, args) {
    return typeof Reflect !== "undefined" && Reflect.construct
        ? Reflect.construct(target, args, self.constructor)
        : target.apply(self, args);
};

var PatchedPromise = (function (_super) {
    __extends(PatchedPromise, _super);
    function PatchedPromise(executor) {
        var _this = this;
        _this = __construct(this, _super, [executor]) || this;
        return _this;
    }
    return PatchedPromise;
}(Promise));

I have filed #15397 for this proposal.

FWIW, another workaround that seems to work is wrapping the promise in a class that's a "thenable". Here's one for a Deferred promise:
export default class Deferred<T> {
  private res: (value?: T | PromiseLike<T>) => void
  private rej: (reason?: any) => void
  private readonly promise: Promise<T>

  constructor() {
    this.promise = new Promise((resolve, reject) => {
      this.res = resolve
      this.rej = reject
    })
  }

  then(
    onfulfilled?: (value: T) => T | PromiseLike<T>,
    onrejected?: (reason: any) => PromiseLike<never>
  ): Promise<T> {
    return this.promise.then(onfulfilled, onrejected)
  }

  catch(onRejected?: (reason: any) => PromiseLike<never>): Promise<T> {
    return this.promise.catch(onRejected)
  }

  resolve(value?: T | PromiseLike<T>): void {
    return this.res(value)
  }

  reject(reason?: any): void {
    return this.rej(reason)
  }
}

Seems to work with async and whatnot.

FYI, @304NotModified , this is anti-pattern to call async method in a constructor. Try to use an async factory instead.

closing in favor of #15397


reverse proxy

is it possible to use this as a reverse proxy? For example have a webserver locally, but make it available from the cloud. Something like ngrok is doing.

I think this project can be used as a reverse proxy
just as previous issue mentioned  https://github.com/jpillora/go-tcp-proxy/issues/1#issuecomment-57404413


"typeahead" functionality

Is there a way to use smart select with type ahead functionality - that is to present the user with a text field and as they type the options are returned "live" from an async function?
The use case is I have 1000s of records which I would like the user to start typing to filter them down to ultimately select one, maintaining all the same styling as smart select.

I released https://pub.dev/packages/flutter_awesome_select with fixed null safety.
Could you check that everything works for you?

Hi everyone,
I'm really sorry for not maintaining the smart_select package in a long time. It's been a great project, but it's become too difficult for me to maintain, especially since I've been going through a tough time for the past few years.
In its place, I've released a new package called choice. The combination to smart_select and chips_choice with cleaner, more flexible, and composable API for creating inline or prompted choice widgets with single or multiple selection.
I hope you'll check out choice. I think you'll find it to be a great replacement for smart_select.
Thanks for your understanding.


Specify CvBridge encoding bgr8

The colors of the debug_image are inverted when the input image topic is not encoded in bgr8. I apologize for the lack of confirmation, but I suspect that the input to the Detic model is also inverted.
This problem can be solved by specifying the encoding of the CvBridge conversion. This is also done in jsk_recognition, which I used as a reference.
image topic not in bgr8 encoding
$ rostopic echo /hsrb/head_rgbd_sensor/rgb/image_rect_color --noarr
header:
  seq: 25135
  stamp:
    secs:<PHONE_NUMBER>
    nsecs: 431184046
  frame_id: "head_rgbd_sensor_rgb_frame"
height: 480
width: 640
encoding: "rgb8"
is_bigendian: 0
step: 1920
data: "<array type: uint8, length: 921600>"
---

before
after

Comparison before and after change, the upper image is input image topic and the lower image is debug_image.
image topic in bgr8 encoding
$ rostopic echo /kinect_head/rgb/image_color --noarr
header:
  seq: 39033
  stamp:
    secs:<PHONE_NUMBER>
    nsecs: 387932439
  frame_id: "head_mount_kinect_rgb_optical_frame"
height: 480
width: 640
encoding: "bgr8"
is_bigendian: 0
step: 1920
data: "<array type: uint8, length: 921600>"
---

before
after

Comparison before and after change, the upper image is debug_image and the lower image is input image topic.

Thanks


Please specify a license in package.json

Great call, I've added it: https://github.com/woodenconsulting/react-js-diagrams/blob/master/package.json#L24


Sorry I did not get this change.
I think the calculated values will be the same before and after this PR. Especially as the tests are not updated, i.e.:
https://github.com/apache/hbase/blob/6e6393350b54db486e103cf5bd2dd6869728aecc/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/mapreduce/TestRegionSizeCalculator.java#L70-L72
Do I miss something?

I assumed Size class method get(Unit unit) will return the value in teh given unit, but turns out it has just the same conversation basically, and we set it in MB so while we do get Byte unit back, it converts again from MB, but this time in Size class. We set regionszie in RegionMetricsBuilder:
setStoreFileSize(new Size(regionLoadPB.getStorefileSizeMB(), Size.Unit.MEGABYTE))
But this is a much bigger change then I originally anticipated, and I have less and less belief this is something we want to change.

Closed this as I started fresh (force pushed auto-closed it to be precise)


Better sticker support (GIF support & better layout)

Below is the same conversation in BlueBubbles and on macOS. Only two of the five stickers show up on Android, and four of those stickers (all except for the "Party!" one in the top left) are GIFs rather than static images. Neither of the GIFs move on Android, though I have had other stickers that are GIFs that do play properly on Android (see here). This is the sticker pack.

Ultimately, we need to organize the stickers a bit better. Right now, they are "stacked" on top of each other. It looks like Apple lays them out in a row for the most part.
@CSab6482 if the message is really short, how does Apple layout the stickers

Marking this as hard because you have to understand how the "Stack" of message items works. It should be marked as medium if you already know this.

@CSab6482 if the message is really short, how does Apple layout the stickers

Here is an example from iOS
https://user-images.githubusercontent.com/53708281/122244112-9bd66c00-ce92-11eb-9471-6d41280c6ec5.mp4

and the same conversation in BlueBubbles

and just so I can have these photos all in one place, here's AirMessage

I feel like AirMessage did a better job in this case since it shows not only the narwhal, but also a bit of SpongeBob and the dog, even though they are stacked and not spaced out. Also, the "and" and "huh?" texts were correctly covered by the emoji stickers in AirMessage.


[FLINK-3521] Make Iterable part of method signature for WindowFunction

Scrolled over the changes, didn't spot anything suspicious

Looks good, but I need a few more minutes to check this...

May be unrelated to this change, but I think fold() for non-keyed windows is not incremental, meaning it has no constant space requirement.

Yes, this is correct. (about the fold() on non-keyed windows)

I like this, especially the natural Scala path. Some concerns, though:

As noted before, the fold function in the non-keyed window is not space constant. That is quite a serious issue, if people count heavy streams in large windows. That should be fixed.

The reduce(...) code on the WindowedStream creates a pass-through window function over Iterable, instead of an pass-through internal window function. The result is that for reduced windows, the single result value is wrapped and unwrapped, instead of simply passed through.

Minor comment, more for future code, (and that applies to virtually all Scala API code): The code creates function objects in line a lot. As a result, we have for example at least 10 classes that implement a Flink ReduceFunction and call a Scala Function2. I would suggest to define that class once externally (not inline), because it reduces number of subclasses of the reduce function and that may actually have a positive impact on the JIT friendliness of some programs (if the number of loaded implementations of ReduceFunction at any point becomes reasonably small)

The PassThroughFunction is created because at that point it is not yet clear what type of InternalWindowFunction will be created. I can fix it by duplicating all the WindowOperator creation code, but this applies to reduce/fold both on the Java and Scala API.

Is very hard to fix, ditching the non-keyed window operators altogether and using a dummy key selector would be easier.

I think (2) can be done easier if the operator creation code goes into something more generic, but that is not that urgent.

Let's merge this and open a follow-up issue for (1)

Merging ...


Fixing README for docker pull command

fix for #213

removing duplicate docker pull command

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Skip ova-boot Image Test on osbuild-composer < v84

This pull request includes:

[ ] adequate testing for the new functionality or fixed issue
[ ] adequate documentation informing people about the change such as

[ ] submit a PR for the guides repository if this PR changed any behavior described there: https://www.osbuild.org/guides/

8.9 nightly CI pipeline:
https://gitlab.com/redhat/services/products/image-builder/ci/osbuild-composer/-/pipelines/905367797
Only azure_eap7_rhui image type failing, which is expected.

Please ignore edge-ignition-9 and edge-ignition-cs9 failure. Those tests are just landed by PR https://github.com/osbuild/osbuild-composer/pull/3501. To run those tests, please make a rebase. Thanks.


Implement JS in Flyio adapter

Implement JetStream in the Flyio adapter

Nothing special needed, can just be implemented with regular NATSServerOptions


Original and decoded files differ

Hi,
I am having an issue using modem code in short branch.
I cannot use diff command to compare the original text file and decoded file.
The input file:
netbsd-raspa$ cat text_2_encode.txt
cadena de prueba para codificar que es un infierno de larga
Encoding and decoding commands:
netbsd-raspa$ ./encode encoded.wav 8000 16 1 text_2_encode.txt
real PAPR: 7.98158 .. 10.1444 dB
netbsd-raspa$  ./decode text_decoded.txt encoded.wav
symbol pos: 2330
coarse cfo: 1500 Hz
oper mode: 16
call sign: ANONYMOUS
demod .... done
coarse sfo: -0.0737413 ppm
finer cfo: 1500 Hz
Es/N0 (dB): 35.7273 35.8356 31.9839 30.681
bit flips: 0
The input and decoded files appear the same:
netbsd-raspa$ cat text_2_encode.txt
cadena de prueba para codificar que es un infierno de larga
netbsd-raspa$ cat text_decoded.txt
cadena de prueba para codificar que es un infierno de larga
But both files have different size:
netbsd-raspa$ ls -lh text*
-rw-r--r--  1 ramiro  users   60B Feb 29 10:09 text_2_encode.txt
-rw-r--r--  1 ramiro  users   85B Feb 29 10:09 text_decoded.txt
So diff command say they differ
netbsd-raspa$ diff text_2_encode.txt text_decoded.txt
Binary files text_2_encode.txt and text_decoded.txt differ
Looking at text_decoded.txt file with Vim editor, it shows something like this:
cadena de prueba para codificar que es un infierno de larga
^@^@^@^@^@^@^@^@
"text_decoded.txt [noeol]"

Even more strange:
If I change the input string to something slightly different, changing two characters:
netbsd-raspa$ cat text_2_encode.txt
cadena de prueba para codificar que es un infieebo de larga
netbsd-raspa$         ./encode encoded.wav 8000 16 1 text_2_encode.txt
real PAPR: 7.98158 .. 11.1614 dB
netbsd-raspa$  ./decode text_decoded.txt encoded.wav
symbol pos: 2330
coarse cfo: 1500 Hz
oper mode: 16
call sign: ANONYMOUS
demod .... done
coarse sfo: -0.0939333 ppm
finer cfo: 1500 Hz
Es/N0 (dB): 30.6984 30.5499 31.338 31.4607
payload decoding error.
Decoded text is 0 B size:
netbsd-raspa$ ls -lh text*
-rw-r--r--  1 ramiro  users   60B Feb 29 10:21 text_2_encode.txt
-rw-r--r--  1 ramiro  users    0B Feb 29 10:21 text_decoded.txt
Sure I am missing something but I am not able to find it.
Thanks in advance.
Ramiro.

You see two different problems there ..
Diff only works when both files have the exact same size:

-rw-r--r-- 1 ramiro users 60B Feb 29 10:09 text_2_encode.txt
-rw-r--r-- 1 ramiro users 85B Feb 29 10:09 text_decoded.txt

decode creates a 85 byte file while the file you used to encode only has 60 bytes.
So you should zero-pad your file if you want to use diff:
dd if=/dev/zero of=text_2_encode.txt bs=1 seek=60 count=25
Oversaturation of the fixed-point polar list decoder at high SNR:
Usually we do not have this problem with real transmissions, as the SNR estimation will always be lower, and we have "fair" AWGN, so destructive oversaturation in the decoder is unlikely. I've already fixed that problem with 3112e07854ecd01b483dc20e79fb871c4a969591 and you should update your local copy if you want to continue playing with "perfect" signals.

Many thanks for the detailed explanation. I understand it better now.
Regards

Just found out that the limit I've chosen is not low enough to handle corner cases, so I've lowered it even further in 4d64b30affd1100afab80b72f9245cc1ae643c7a to avoid the oversaturation. Please check it out.

Hmm, forcing the list size to 32, the gcc cross-compilers give the same problem with ARMv7 and AARCH64

Replacing std::nth_element with std::sort in the polar list decoder seems to fix the problem when using the gcc compiler. Omitting -stdlib=libc++ with clang produces the same problem, which reinforces the theory that there must be a problem with the std::nth_element implementation in the gcc standard template library.

Or maybe not: std::nth_element is doing a non-stable partial sort in the gcc std lib, while std::nth_element in clang does a stable one. Doing a non-stable sort is allowed AFAIK in the standard, so all is good and the new limit is good.

Hello Ahmet:
I have updated the source:
netbsd-raspa$ git branch

short

netbsd-raspa$ git log
commit 8fb7a2aeb896501a472c75a40f9a2e6f898e695c (HEAD -> short, origin/short)
Author: Ahmet Inan<EMAIL_ADDRESS>Date:   Thu May 11 09:06:40 2023 +0200
added aarch64 example

commit 4d64b30affd1100afab80b72f9245cc1ae643c7a
Author: Ahmet Inan<EMAIL_ADDRESS>Date:   Fri Mar 1 09:14:49 2024 +0100
lower factor even further to improve corner cases

commit 459ef628c5d86ccd39d1518e363a77f2a0ade905
Author: Ahmet Inan<EMAIL_ADDRESS>Date:   Fri Mar 1 09:06:00 2024 +0100
made gcc happy

commit 3112e07854ecd01b483dc20e79fb871c4a969591
Author: Ahmet Inan<EMAIL_ADDRESS>Date:   Wed Feb 21 11:28:35 2024 +0100
avoid oversaturation decoder errors at high SNR

...
...
I have tested both, gcc and clang and fails decoding with both compilers:
echo "cadena de prueba para codificar que es un infieebo de larga" > text_2_encode.txt
./encode encoded.wav 8000 16 1 text_2_encode.txt
./decode text_decoded.txt encoded.wav

doing  1 tests ...
test number: 0 ...
real PAPR: 7.98158 .. 11.1614 dB
symbol pos: 2330
coarse cfo: 1500 Hz
oper mode: 16
call sign: ANONYMOUS
demod .... done
coarse sfo: -0.0939333 ppm
finer cfo: 1500 Hz
Es/N0 (dB): 30.6984 30.5499 31.338 31.4607
payload decoding error
netbsd-raspa$ ls -lh text*
-rw-r--r--  1 ramiro  users   60B Mar  1 20:23 text_2_encode.txt
-rw-r--r--  1 ramiro  users    0B Mar  1 20:23 text_decoded.txt
My operating system is NetBSD running in a Raspberry Pi Zero W.
netbsd-raspa$ uname -a
NetBSD netbsd-raspa 10.0_RC3 NetBSD 10.0_RC3 (RPI) #0: Tue Jan 16 08:28:51 UTC 2024  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/RPI evbarm
Thanks.

Can you please give me that exact encoded.wav file, so I can reproduce the problem?

Also, you need to update your local copy of the code repository

Yes, I also updated code repository. I send the encoded file for you.
https://ea4nz.cloudns.cc/hamradio/encoded.wav

Thanks. Interestingly, this still gives a decoding error even with the new limit and gcc. With clang the decode works fine.

Thank you so much for your feedback. I was able to improve the polar list decoder further with: https://github.com/aicodix/code/commit/ed9521ba4b26d59b55515a903fc3b816507e1b6d
It is now decoding your encoded file both in gcc and clang without problems.

Hello Ahmet:
netbsd-raspa$ ./test2.sh
doing  1 tests ...
test number: 0 ...
real PAPR: 7.98158 .. 11.1614 dB
symbol pos: 2330
coarse cfo: 1500 Hz
oper mode: 16
call sign: ANONYMOUS
demod .... done
coarse sfo: -0.0939333 ppm
finer cfo: 1500 Hz
Es/N0 (dB): 30.6984 30.5499 31.338 31.4607
bit flips: 0
netbsd-raspa$ ls -lh text*
-rw-r--r--  1 ramiro  users   60B Mar  2 13:51 text_2_encode.txt
-rw-r--r--  1 ramiro  users   85B Mar  2 13:51 text_decoded.txt
It works now! Many thanks!
Regards.
Ramiro.


Worked on two, didn't work on one

Hi and thanks for this extension. I used it in three azure sites and didn't work on one of them. I don't know how to troubleshoot or alternate it so I wonder if you can give me pointers?
Miguel Delgado

hehe, sorry... I read your "read me", restarted the site from the azure portal, not the button that shows in the scm site, and it worked... slight but meaningful difference... thanks again.


Missing board border and wrong switch on resize

Description
When we resize the window on smaller screens, the border and the switch do not work as expected.
https://user-images.githubusercontent.com/60005702/139803576-ed1ea75f-4ca2-49d2-8e99-253268d2f498.mov

If you go to the rightmost column and then resize the board, the IntersectionObserver thinks that no column is visible and returns -1 for firstVisibleColumnIndex and for lastVisibleColumnIndex.


fix(change comment when create branch): change comment to Thanks for …

resolves #15

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


Juz 20 mistake, Quran.com tajweed font

Surah Number
29
Ayah Number
38
Script Type
Other
Detailed Description of the Issue
Mistake in the new tajweed font on Quran.com. The madd in the word "masaakinihim" has been coloured grey, which suggests that it is silent and not to be pronounced. This is incorrect and changes the word. The madd is pronounced as a normal 2 count madd and should therefore be coloured mustard.

JazakAllah kharain for reporting, fixed now.


LF / CR LF files are not handled correctly outside Windows

Description
when you set EOL as CR LF (I didn't checked CR) in YAML file and you try to parse it on e.g. Linux, you will get error:
type_error: The node value is not a sequence. type=mapping
but when you try to parse LF file on Windows, everything should work
Reproduction steps

create CR LF file (just by creating on Windows)
copy file to Linux (server or something)
when you try to deserialize document - node value is not a sequence!

Expected vs. actual results
expected result should handle EOL (for example like JSON libraries) and correctly parse document
currently we have problem with parsing
Minimal code example
No response
Error messages
No response
Compiler and operating system
Linux: C++latest, Clang 14.0.6 Windows: C++latest, MSVC latest
Library version
0.3.9/0.3.10
Validation

[X] The bug also occurs if the latest version from the develop branch is used.
[ ] I can successfully compile and run the unit tests.

@sndth
Thanks for filing the issue.
I'll try the reproduction steps and see if something wrong happens in my environment too.

@sndth
I successfully reproduce your situation.
After investigating the root cause, a bug was found in normalizing new line codes (either LF or CR+LF) in a given input into LF only, which has been implemented to reduce too many if-else branches due to taking care of both LF and CR+LF in the whole deserialization process.
But I somehow dropped checks for the normalized input values for the UTF-8 encoding and unfortunately didn't recognize the bug until now.
I've already fixed it in my local environment, and so the fix will be available soon.
Sorry for your inconvenience.

@sndth
The fix is merged into the develop branch since all the CI checks passed successfully.
Can you confirm the fix also works in your environment too?

Yes, fix works like charm, thank you very much for fast support!


Convert from Build to Post-Build Step

The build step has now been refactored to be a post-build step.
This will help accomodate job configs where sonar analysis is only
performed as a post build step.
As well, some additional console logging was added.
[JENKINS-31003]

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

Thank you for participation!

Do you think you'll release a new version soon?


Not supporting in in Internet explorer.

Plugin is not working properly in internet explorer browser.

@izzatullokanoatov what version of IE?

Hi @VinceG .

@izzatullokanoatov any errors in console? What doesn't work ?


Properly support small bootloaders

When the code section of the bootloader is smaller than normal, the free physical memory starts at 0x600000 instead of 0x800000 and booting fails:
[LOADER] Loader: [0x100000 - 0x116008]
[LOADER] Found Multiboot information at 0x9500
[LOADER] Found module: [0x118000 - 0x49c1d0]
[LOADER] Module length: 0x3841d0
[LOADER] Found an ELF module at 0x118000
[LOADER] Map 232 pages at 0x118000 (page size 4 KByte)
[LOADER] Map 2 pages at 0x200000 (page size 2048 KByte)
[LOADER] Found entry point: 0x82f410
[LOADER] File Size: 2627224 Bytes
[LOADER] Mem Size: 3147104 B
[LOADER] start 0x118000, size 0x300560
[LOADER] Load HermitCore Application at 0x600000
[LOADER] Copy kernel from 0x600000 to 0x800000
[LOADER] Loader: [0x100000 - 0x116008]
... (loop)

https://github.com/hermitcore/rusty-loader/pull/185 fixes this for Rust, but not for C, as C is not relocatable.

Resolved by https://github.com/hermit-os/loader/pull/185.


DxForm: Cannot read property '_triggerOnFieldDataChangedByDataSet' of undefined after changing input property

I'm submitting a ... (check one with "x")
[x] bug Report
[ ] feature request
[ ] support inquiry

Current behavior
When i am trying to change some option of form i am getting the following error:
TypeError: Cannot read property '_triggerOnFieldDataChangedByDataSet' of undefined
    at eval (VM1990 ui.form.js:463)
    at SafeSubscriber.schedulerFn [as _next] (VM1952 core.umd.js:3701)
    at SafeSubscriber.__tryOrUnsub (VM1976 Subscriber.js:234)
    at SafeSubscriber.next (VM1976 Subscriber.js:183)
    at Subscriber._next (VM1976 Subscriber.js:125)
    at Subscriber.next (VM1976 Subscriber.js:89)
    at EventEmitter.Subject.next (VM1973 Subject.js:55)
    at eval (VM2177 events-strategy.js:28)

Expected behavior
There should be possible changing form properties without any error
Minimal reproduction of the problem with instructions
I created plunker to reproduce this issue https://plnkr.co/edit/6DmFm1PEtbhUlG5zCXqO?p=preview

Open plunker and run example
Open browser console
Click Clean data button
Observe console

The workaround here is using devextreme api direcrly
 this.form.instance.updateData('someField', '');
Specify the version of the devextreme-angular and devextreme packages you are using.

devexteme version: 16.2.5
devextreme-angular version: 16.2.5

Thank you for hard work and any help you can provide.

This is a known bug and it was fixed in the context of the T490078 ticket.


Support comments in bitquery

example:
// A query lists all twetch
// author: _unwriter
{
  "v": 3,
  ...

help people to share and reuse their bitquery.

bitquery queries are JSON objects. JSON doesn't have provision for comments. Refer to ECMA-404.


no cookie or nonce with proxy auth

Hi,
I can't submit any POST requests after switching to proxy auth because there's no valid nonce. FAQ mentions the possibility of multiple cookies, but I got none and - looking at the source - it seems like a nonce is only generated with cookies and cookies are only set for cookie auth?

@phaer Can you see if this fixed it?

@kiwiz Yes, it is. Thanks for the quick response!


Brian/set network link lib

Pull Request Test Coverage Report for Build 7542

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 100.0%

Totals

Change from base Build 7533:
0.0%

Covered Lines:
1687

Relevant Lines:
1687

💛  - Coveralls


Removed last references to osc command

Hi,
This PR just remove the remaining references to osc command.
Andrea

ok to test

[test]

@mfojtik clearly we still don't have this working for non-whitelisted folks :)

seems safe enough to me.
thanks for the catch, @oscerd!

@bparees was worth trying :) I will try to fix jenkins for all repos tomorrow.


Retrieve value of dynamic items and properties via MSBuild APIs

Hi
i have this target:
    <Target Name="build">
        <ItemGroup>
            <Part1 Include="$(SLN1);$(SLN2)">
              <Properties>Platform=Any CPU</Properties>
            </Part1>
            <Part1 Include="$(SLN3);$(SLN4);">
           </Part1>
        </ItemGroup>

        <MSBuild Projects="@(Part1)"
                 StopOnFirstFailure="true"
                 BuildInParallel="true" />
    </Target>

I am trying to get the evaluated value Part1 in a application: like this
let value = (msbuildproject.GetPropertyValue("Part1"))

This returns null, if i try let value = (msbuildproject.GetPropertyValue("SLN1")) it works
If i understand the documentation this is the effect of using dynamic property, that is only evaluated when the MSBuild task is run.
But is there a alternative to evaluate those before running the that target?
thanks in advance
jorge costa

In your snippet, msbuildproject.GetPropertyValue("Part1") you are passing an item name (Part1) to an API that expects the name of a property (GetPropertyValue).
You are correct, evaluation time state (obtained via Microsoft.Build.Evaluation.Project) does not execute targets, and therefore state operations from within targets (dynamic properties and dynamic items) are not seen.
If possible, you can try moving the dynamic items / properties outside of targets and then evaluation time state should be good.
If, however, you cannot move the items / properties outside of targets, then you can use something similar to the following snippet to get engine state after a full build:
            var projectInstance =
                new ProjectInstance(@"D:\tests\ConsoleApplication1.csproj");

            var result = BuildManager.DefaultBuildManager.Build(
                new BuildParameters(),
                new BuildRequestData(projectInstance, new string[0], new HostServices(),
                    BuildRequestDataFlags.ProvideProjectStateAfterBuild));

            Console.WriteLine(result.ProjectStateAfterBuild.GetPropertyValue("DynamicProperty"));
            Console.WriteLine(
                result.ProjectStateAfterBuild.Items.First(i => i.ItemType == "DynamicItem").EvaluatedInclude);

            Console.ReadKey();

The downside to the previous approach is that you also get the side effects of the build (dlls etc).

@cdmihai thanks a lot for the clarification, unfortunelly the tool im using needs to support dyn properties defined inside and outside a target. and building the target is not feasible since usually each target contains multiple solutions.
the workaround im using is to parse the file and retrive that missing information where the target is defined. but i think im doing this rather inneficiently.
is there a way to get the xml string for the target in question?

You can't access the raw xml, but you can retrieve just about everything via the the MSBuild 'xml construction model': ProjectRootElement.Targets gives you the targets, and then you can use ProjectTargetElement.Items or ProjectTargetElement.Properties to retrieve the items and properties defined in that target.

I would caution you, that static analysis of MSBuild programs of this type can be extremely difficult. In the original example, you can't know what the value of Part1 will be after a build without running a build, because a target may have run that changes the values of the properties SLN1 and SLN2 from what they were when the project was evaluated (but no target had been executed). Ensuring that nothing would modify those values is itself pretty difficult.

@cdmihai thanks for the hint, however i dont think the Items and Properties will hold Part1 on the example above since Part1 can exist and other target definitions. At least after i do let msbuildproject = new Microsoft.Build.Evaluation.Project(path) and look at those i dont see those defiitions. Or am my overlooking?
@rainersigwald thanks for the hint, so for that case i assume you suggest both check the evaluated value of SLN1 exists and look inside the target (so that i get the correct value for my example). However inside the target there might be a custom task changing those SLN1 that i would not be able to catch by statically looking at that. Luckly in our context that does not exit, and i supose i will need to live with that limitation.

@jmecosta Any property or item read by the dynamic property or item that you're trying to compute could potentially have been changed by a task in the target that creates the new item or in any target that runs before it. Plus you'll have to evaluate things "as MSBuild would"--which for simple things like your example is easy but for more complicated things like item transforms or property functions might be difficult.
You might be able to live with these limitations but you definitely should be aware of them.

How to query the target xml from a Microsoft.Build.Evaluation.Project.
var project = new Project(@"...\ConsoleApplication1.csproj");

foreach (var target in project.Xml.Targets)
{
    Console.WriteLine($"target:{target.Name}");

    foreach (var propertyGroup in target.PropertyGroups)
    {
        foreach (var property in propertyGroup.Properties)
        {
            Console.WriteLine($"\t{property.Name} = {property.Value}");
        }
    }

    foreach (var itemGroup in target.ItemGroups)
    {
        foreach (var item in itemGroup.Items)
        {
            Console.WriteLine($"\titem: {item.ItemType}, include={item.Include}, exclude={item.Exclude}, remove={item.Remove}");
        }
    }
}

As @rainersigwald said, trying to infer things correctly from the xml will be quite hard, since you'd have to write an msbuild interpreter, whose semantics are only documented in its code ...

@cdmihai thanks project.Xml.Targets was exactly what was was trying to find, i was looking at project.Targets :)
@cdmihai @rainersigwald yes i will keep in mind this limitation, for my use case it should be ok. Since i am maitaining the msbuild files. The purpose of this is to keep track of solutions that are called within msbuild file. In principle i would imagine no one in is right mind would hide the solution output of such properties inside a custom task.
The other thing i done in past was to modify thet msbuild file, so that the target file is executed in isolation. DependsOn is removed, and in this case, remove anything from the target that does not use those properties. Than build the target and check the results as mentioned above.
I am not totally sure whats the best approach, in my case (solution checking), i think just checking the nodes is ok.
Anyway thanks for the help, the hints above are very usefull for anywone trying to use msbuild automation.
best regards
jorge costa


Default icon

if an icon doesn't exist is there a way to show a default one for an extension not recognized?
kind regards

Same question! You mention it briefly in readme but I need an example.

For anyone still wondering, the readme pretty much tells you what you can do, each of the sets has a catalog: https://github.com/dmhendricks/file-icon-vectors/blob/master/dist/icons/high-contrast/catalog.json said catalog contains an array of all file-extensions, you have multiple ways of checking it:

webrequest a githack'd version of the catalog you want
hard-code copy paste the catalog of your icon set(s) into your code
embed it via external script tag, but then you'd have to give the script tag a unique identifier in the DOM to be able to access the contents and flush them into a variable

either way you choose, you can then simply check if the catalog array contains the file extension you are requesting, if not, fallback to a default e.g. the txt svg-icon is pretty universal.

to a default

FWIW, the set does include the default icon, default.svg


Allow for serving the dockers on <IP_ADDRESS>

The dockers are set up to serve on localhost at the moment, this makes it not possible to connect to them over the network from anotehr computer, or in my specific case during RN Expo development, through the Expo client which connects over the local network to the services.
If the option existed to choose to serve the dockers to listen on <IP_ADDRESS> or the current local network IP, then this would allow for reaching the services over the local LAN.

For anyone coming after me, even on MacOS Docker actually exposes the ports correctly and if Mac Firewall is off the services are accessible from the local network (i.e. so that Expo Go can point to the local dev environment from a physical device).
For Expo, you can set the URLs as below, this makes the production builds point to the nhost cloud (you need to insert your URL here), the physical devices using Expo Go point to the IP of the machine running the Metro Bundler and the simulators run on the machine point to localhost.
TLDR: In Expo, to make development use the dev environment and production use production, see code below:
export const auth_url =
  Constants.manifest.packagerOpts.dev && !Constants.isDevice
    ? "http://localhost:9001"
    : typeof manifest.packagerOpts === `object` && manifest.packagerOpts.dev
    ? `http://${manifest.debuggerHost.split(`:`).shift().concat(`:9001`)}`
    : "nhost.io cloud url";

@nunopato @elitan this could benefit from being added to the Nhost docs for future Expo users. Closing the issue here for now though as it is solved.

@nunopato @elitan this could benefit from being added to the Nhost docs for future Expo users. Closing the issue here for now though as it is solved.

Could you open an issue for that at https://github.com/nhost/docs ?


Fix concurrent use of basex.Encoding (Crash, hang or corrupted data)

The encoder will fail if you try to use it concurrently because the Encoding is keeping a "scratchInt" variable that it is mutating on decode. This is particularly gnarly because it can randomly cause the decoded data to be changed (if it doesn't crash). I've also seen it just hang the runtime as well.
I added a test case which shows a crash on concurrent use, and a fix which removes use of a scratchInt.
Nothing in the Encoding struct should be change on encode or decode since it is used as a shared instance variable.

cc @maxtaco, merging


1/6 Frame rate with 6 second shutter speed results in instant solid green image

I'm trying to get a long exposure picture with the following settings.
framerate = fraction(1,6)
iso = 100
shutter_speed = 6000000
exposure_mode = verylong
awb_mode = 'fluorescent'

Raspberry Pi B
Camera Rev 1.3
picamera installed and wheezy updated on 4/7/15.
I get an image after 6 seconds (what I'm after). However, the image is solid green. By commenting out the frame rate line, I get a proper picture but it's an instant one, not the 6 seconds. Are there any conflicting or missing settings? Or does anyone have a couple of suggestions I can try?

You're not missing any settings - what you're missing is an extremely long wait while AWB sorts out some decent gains for the preview; see the explanation I just wrote under #227 (with a framerate of 1/6th fps I'd expect to have to wait minutes for decent AWB gains - if you know what gains you want to use in advance you could specify them manually by setting awb_mode to off and then settings awb_gains accordingly).


Sync eng/common directory with azure-sdk-tools for PR 2331

Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/2331  See eng/common workflow

/check-enforcer override


required file(s) missing

Running on CiviCrm 4.7.11  (WordPress)
Processing bounces fails on missing required file require_once 'ezc/Base/src/ezc_bootstrap.php'
Is there a dependency or a version issue?
 PHP Fatal error:  require_once(): Failed opening required 'ezc/Base/src/ezc_bootstrap.php' (include_path='/home/xxx/public_html/wp-content/uploads/civicrm/ext/com.cividesk.apikey-master/:/home/xxx/public_html/wp-content/uploads/civicrm/ext/nz.co.fuzion.extendedreport/:/home/xxx/public_html/wp-content/uploads/civicrm/ext/uk.teamsinger.civicrm.mailgun-master/:/home/xxx/public_html/wp-content/uploads/civicrm/ext/net.fullworks.reports/:.:/home/xxx/public_html/wp-content/plugins/civicrm/civicrm:/home/xxx/public_html/wp-content/plugins/civicrm/civicrm/packages:/home/xxx/public_html/wp-content/plugins/civicrm/civicrm/vendor/tecnickcom:/home/xxx/public_html/wp-content/plugins/civicrm/civicrm/vendor/phpseclib/phpseclib/phpseclib:.:/home/xxx/public_html/wp-content/plugins/civicrm/civicrm/:/home/xxx/public_html/wp-content/plugins/civicrm/civicrm//packages:.:/usr/share/php:/usr/share/pear') in /home/xxx/public_html/wp-content/uploads/civicrm/ext/uk.teamsinger.civicrm.mailgun-master/CRM/Mailing/MailStore/MailgunDB.php on line 36,

Just want to say - commenting out the ezc  includes seemed to work without causing any issues

Thanks for the bug report, looking at Civi core these were removed there as well civicrm/civicrm-core@ccee4da2 so these should be safe to remove.
I'll test removing them on my version (4.6) and assuming that's fine remove them from here as well.


Unable to Test Nativewind Components with Jest

Describe the bug
I know I had a similar issue quickly closed but I'm pretty confident my issue is with NativeWind.
I have a ReactNative Component that looks like this.
import { styled } from 'nativewind'
const StyledView = styled(View)

export const PostCard: React.FC<{
  post: inferProcedureOutput<AppRouter['post']['all']>[number]
}> = ({ post }) => {
  return (
    <StyledView className="color-slate">
      <Text>{post.title}</Text>
      <Text>{post.content}</Text>
    </StyledView>
  )
}

and a test that looks like this:
import { PostCard } from './home';
import { render } from '@testing-library/react-native';
import React from 'react';

describe('<HomeScreen />', () => {
  it('<PostCard /> exists', () => {
    const { container } = render(
      <PostCard post={{ id: '1234', title: 'yes', content: 'woo' }} />
    );
    expect(container).toBeTruthy();
  });
});

when I run this test in Jest I get this error.
 FAIL  src/screens/home.test.tsx
  ● Console

    console.error
      Warning: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
      1. You might have mismatching versions of React and the renderer (such as React DOM)
      2. You might be breaking the Rules of Hooks
      3. You might have more than one copy of React in the same app
      See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.

      at printWarning (node_modules/react/cjs/react.development.js:209:30)
      at error (node_modules/react/cjs/react.development.js:183:7)
      at resolveDispatcher (node_modules/react/cjs/react.development.js:1587:7)
      at useContext (node_modules/react/cjs/react.development.js:1597:20)
      at NativeWindStyledComponent (node_modules/nativewind/dist/styled/native/index.js:40:53)
      at renderWithHooks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:6097:18)
      at updateForwardRef (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:9704:20)
      at beginWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:11710:16)

    console.error
      The above error occurred in the <ForwardRef(NativeWindStyledComponent)> component:

          at NativeWindStyledComponent (/Users/mike/dev/heir/heir/apps/mobile/node_modules/nativewind/dist/styled/native/index.js:39:99)
          at PostCard (/Users/mike/dev/heir/heir/apps/mobile/src/screens/home.tsx:16:9)

      Consider adding an error boundary to your tree to customize error handling behavior.
      Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

      at logCapturedError (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:8409:23)
      at update.callback (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:8442:5)
      at callCallback (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:3811:12)
      at commitUpdateQueue (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:3832:9)
      at commitLayoutEffectOnFiber (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12650:13)
      at commitLayoutMountEffects_complete (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13728:9)
      at commitLayoutEffects_begin (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13714:7)
      at commitLayoutEffects (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13699:3)

  ● <HomeScreen /> › <PostCard /> exists

    TypeError: Cannot read properties of null (reading 'useContext')

      at useContext (node_modules/react/cjs/react.development.js:1613:21)
      at NativeWindStyledComponent (node_modules/nativewind/dist/styled/native/index.js:40:53)
      at renderWithHooks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:6097:18)
      at updateForwardRef (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:9704:20)
      at beginWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:11710:16)
      at performUnitOfWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15265:12)
      at workLoopSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15201:5)
      at renderRootSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15173:7)
      at performSyncWorkOnRoot (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14880:20)
      at flushSyncCallbacks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2533:22)

However if I run the test again and simply remove the nativewind/tailwind class color-slate the test magically passes with no errors.
My component is very simple and doesn't use anything related to context so I think it may be something regarding Nativewind.
I've looked on the web and can't find any resources regarding testing React Native apps that use Nativewind with Jest.
Would be great if you could share some insight on this.
Here is my jest config for reference:
module.exports = {
  clearMocks: true,
  preset: 'jest-expo',
  modulePathIgnorePatterns: ['./src/.*/__mocks__/*'],
  setupFilesAfterEnv: ['./test-utils/jest-setup-after-env.ts'],
  testMatch: ['**/?(*.)test.!(*.){js,jsx,ts,tsx}'],
  transformIgnorePatterns: [
    'node_modules/(?!((jest-)?react-native|@react-native(-community)?)|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|@react-navigation/.*|@unimodules/.*|unimodules|sentry-expo|native-base|react-native-svg)',
  ],

  moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
};

After playing with this some more it seems the fix was to upgrade to jest 29 instead of jest 26. However its odd because we're using expo and when running npx expo install jest which is supposed to install the correct version for your expo project it installs 26 (I'm on the latest version of expo). When going to jest 29 it fixes Nativewind tests but pnpm throws a peer dependency error.

I suspect this is more an issue between @testing-library/react-native / jest-expo and jest. This repo has many tests written just like that one and it works without issue. For reference these are the versions being used at time of writing this comment
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
I created a branch and added your test to NativeWind's test suite https://github.com/marklawlor/nativewind/blob/issue-310/packages/nativewind/tests/issue-340.tsx
This was created using the next version detailed in #308
I'm going to move this to a discussion in case other community members have some insight to what is happening


Fix #include <windows.h> for case-senstive cross-compilation.

Fixes "common/platform.h:22:12: fatal error: Windows.h: No such file or directory" error when trying to cross-compile for Windows using mingw-64 compiler on Linux, because on Linux filenames are case-sensitive.
Includes the patch file should it be needed. The upstream PR request can be found here.

Thanks!


Finder support for dev/service tokens

Added ability to include a serviceToken in options, as a second means to authenticate
Not sure if frontify is accepting PRs but this is a common function for private apps & is a usecase for our client, so would be nice to have on the main branch rather than a forked, recompiled version.

Hi, @jrkd
Thank you for your suggested contribution 🙌 After some internal discussions we decided not to include this change in our Frontify Finder package release cycle. The reason for this is that it may lead to inadvertent insecure misusage for public integrations built using the package. The discontinuation of this feature from v1 to v2 was deliberate and we do not intend to reintroduce it. We will proceed to removing the possibility to link the finder:read scope to newly created developer/service tokens as this should no longer be available. We invite you to fork v2.1 and fulfill your use case using this approach (being aware of the security compromises) or to create an application with a valid clientId and handle authorization through the OAuth flow if possible. Will mark this PR closed for now.
Thank you for your understanding 🙏


Adds support for conditionally adding MARC field.

closes #590

@mjgiarlo this is odd, I'm surprised it's possible to have a PR with an ID lower than the issue. Some wires are crossed somewhere.

@aaron-collier AFAICT, this PR (#476) should have closed #463. I suspect #590 was a typo. Maybe @justinlittman knows more.


Sidebar disappears on last document for a collection

[ ] This is a question about using the theme.
[X] I believe this to be a bug with the theme --- not Jekyll, GitHub Pages or one of the bundled plugins.
[ ] This is a feature request.
[X] I have updated all gems with bundle update.
[X] I have tested locally with bundle exec jekyll build.

Environment informations

Minimal Mistakes version: 4.1.1
github-pages or jekyll gem version: 114
Operating system: Windows

Expected behavior

I'm using a custom sidebar navigation menu to display a collection. When I click on the last item of the menu, the menu disappears and the page shows the information of the author instead.
Steps to reproduce the behavior

Check https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/ and click on the last item in the sidebar menu: "Terms & Privacy Policy" (link). That page shows the information about the author, instead of the sidebar menu for the collection. Is it an intended behaviour?

Not a bug. It's linked to the "Terms" page which isn't part of that collection... it's just a single page.


Change in _logdir variable initiation

Thanks Andrew! I have a one-minute increment and a few other versions of this script as well. I'm going to mash them together soon and use get opts to pass options.


tests-l4lb: Use Helm chart from local branch

Checkout pull request branch so that test.sh uses the local Helm chart
from the pull request. This ensures that any Helm-related changes get
reflected in the CI run.
Checkout stable branch under "upstream" for Vagrantfile. We don't want
to deploy the VM using Vagrantfile from pull requests.

Signed-off-by: Michi Mutsuzaki<EMAIL_ADDRESS>

✅ v1.10: https://github.com/cilium/cilium/runs/6583381991?check_suite_focus=true

/ci-l4lb

v1.10 and v1.11 PRs to update test.sh:

https://github.com/cilium/cilium/pull/20004
https://github.com/cilium/cilium/pull/20003


When loading new data set dynamically, list displays empty until user scrolls.

I have three tabs on my main screen of my app. When I switch tab, I load a new array of items. However the list displays empty until I scroll a little then all items start showing up.

User error! Im using this on an ionic app and just realize I left the infinite scroll component in the same view causing this issue.


hot reload

Hi, thanks for this useful widget!
I don't know why, but found hot reload does not work properly.
For example, when I change uncheckedColor works well, but when size is changed, hot reload does not work.

Hi @jjangga0214, thanks for using this package.
What do you mean with "hot reload does not work"?
Maybe if you send a gif it will be more clear what the error is.
Thanks!


Compatibility with Laravel 5.4

I am having mayor issues trying to set it up on Laravel 5.4

I see there is already a pull request, will close

There's a new version released, you could try that


Create author documentation

We can create a couple of documents to cover each template, landing page with all blocks and their variation in the /drafts/examples folder.
To explain how templates or blocks work precisely eg hero (text-right) variations, we can use comments directly in the document.

I propose to get familiar with the different templates we have built. For that, you can pick a link from https://github.com/headwirecom/helix-sportsmagazine#demo, go to the document and copy paste the content into a new document and finally publish the new document.
To avoid impacting the current site, you can create these new documents in the draft folder here :https://drive.google.com/drive/folders/1OgNUtvBAaF3h60t_qHKIEUGgtm4fu2Q7
Feel free to use the commenting system to add explanations on how things work.

I created an examples folder under /drafts/ -- direct link: https://drive.google.com/drive/folders/1rxSStEK-BKGGEpR007K8cOiFeeOHZ7VM?usp=sharing
I'll create the examples using the linked demo templates and provide direct links here so we can collaborate.

Initial template editing / testing is complete. Created a feedback document that can be viewed here: https://docs.google.com/document/d/1_fKzcIm_bc6ZUm0S6MKGXwlnINuzrnuf6IQTj6zDB7w/edit?usp=sharing
It's open to sharing/editing for all hw employees. All links are included in this doc, but for ease of access, here's the list:

Template
Preview
Live

Default Article
https://main--helix-sportsmagazine--headwirecom.hlx.page/drafts/examples/default-article-copy-creation-test-ehd
https://main--helix-sportsmagazine--headwirecom.hlx.page/drafts/examples/default-article-copy-creation-test-ehd

Gallery Listicle
https://main--helix-sportsmagazine--headwirecom.hlx.page/drafts/examples/gallery-listicle-copy-creation-test-ehd
https://main--helix-sportsmagazine--headwirecom.hlx.live/drafts/examples/gallery-listicle-copy-creation-test-ehd

Gallery
https://main--helix-sportsmagazine--headwirecom.hlx.page/drafts/examples/gallery-copy-creation-test-ehd
https://main--helix-sportsmagazine--headwirecom.hlx.live/drafts/examples/gallery-copy-creation-test-ehd

Product Listing
https://main--helix-sportsmagazine--headwirecom.hlx.page/drafts/examples/product-listing-page-copy-creation-test-ehd
https://main--helix-sportsmagazine--headwirecom.hlx.live/drafts/examples/product-listing-page-copy-creation-test-ehd

Open Article
https://main--helix-sportsmagazine--headwirecom.hlx.page/drafts/examples/open-article-copy-creation-test-ehd
https://main--helix-sportsmagazine--headwirecom.hlx.live/drafts/examples/open-article-copy-creation-test-ehd

Long Form Article
https://main--helix-sportsmagazine--headwirecom.hlx.page/drafts/examples/long-form-article-copy-creation-test-ehd
https://main--helix-sportsmagazine--headwirecom.hlx.page/drafts/examples/long-form-article-copy-creation-test-ehd

Full Bleed Article
https://main--helix-sportsmagazine--headwirecom.hlx.page/drafts/examples/full-bleed-article-copy-creation-test-ehd
https://main--helix-sportsmagazine--headwirecom.hlx.page/drafts/examples/full-bleed-article-copy-creation-test-ehd


[MNT] Fixed spelling mistakes as identified by codespell and typos

Commands used:

codespell --write-changes .
typos --locale en --write-changes

@fkiraly I interpreted from https://github.com/sktime/sktime/pull/5502#pullrequestreview-1728255526 that skbase has methodd typo as well, but I could not find. Did you mean something else?

@fkiraly I interpreted from https://github.com/sktime/sktime/pull/5502#pullrequestreview-1728255526 that skbase has methodd typo as well, but I could not find. Did you mean something else?

Looks like I already fixed it there, the names are method_shallow and method_public.


Stucked in preprocessing

I am tryng to compute the gene KOs for a large network, Human-GEM, but it is stucked in preprocessing.
Is this normal?
Strain design computation progress:
Preparing strain design computation.
Using gurobi for solving LPs during preprocessing.
Removing reaction bounds when larger than the cobra-threshold of 1000.
FVA to identify blocked reactions and irreversibilities.
FVA(s) to identify essential reactions.
Preprocessing GPR rules (2897 genes, 8091 gpr rules).

Yes, this is - unfortunately - normal. The problem is that GPR rules are often extremely large. As an example, look at ATPase from Recon3D. This reaction has plenty of genes associated with it and a GPR term with over to 600 disjuctions. For the computation of gene-KOs, all genes and GPR-terms need to be integrated in the stoichiometric network structure. In extreme cases this adds tens of thousands of metabolites and reactions. You can check how large the resulting model gets if you use the standalone-GPR-integraton on your model first. For Recon3D my network went up to 20,000 reactions and 10,000 metabolites and that can be too large for network compression and MILP construction.
You might be able to simplify or remove GPR terms that are irrelevant to your computation before going into strain design. For an example, take a look at the genome scale strain design chapter.

Thank you very much Philipp, I will try some of your advices. Thank you very much.

Thank you very much Phillipp. I will try some of your advices!


Not compatible with Home Assistant 2024.6.1

We Connect ID no longer works with the latest Home Assistant Core (2024.6.1). This seems to relate to an incompatible version of the requests library (2.32.3 in Home Assistant vs. 2.31.0 in the WeConnect-Python library)
Version of the custom_component
0.2.0 or 0.2.2
Installation method (hacs / manual)
HACS
Installation method of hass (venv, docker, hassio,...)
HASSIO
Configuration
Default configuration via UI
Describe the bug
We Connect ID no longer works with the latest Home Assistant Core (2024.6.1). This seems to relate to an incompatible version of the requests library (2.32.3 in Home Assistant vs. 2.31.0 in the WeConnect-Python library)
Reverting to a backup of 2024.6.0 works fine.
Debug log

Unable to install package weconnect==0.60.2: ERROR: Cannot install weconnect==0.60.2 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
...
Setup failed for custom integration 'volkswagen_we_connect_id': Requirements for volkswagen_we_connect_id not found ['weconnect==0.60.2'].

Same error here on my HA. Also noticed by https://community.home-assistant.io/t/custom-integration-volkswagen-weconnect-id-europe/380933/316

second this with the same error after updating HA to 2024.6.1

See this one: https://github.com/tillsteinbach/WeConnect-python/issues/192

Same issue when I upgraded this morning
Logs show:
Logger: homeassistant.setup
Source: setup.py:269
First occurred: 8:39:02 AM (1 occurrences)
Last logged: 8:39:02 AM
Setup failed for custom integration 'volkswagen_we_connect_id': Requirements for volkswagen_we_connect_id not found: ['weconnect==0.60.2'].

So is it a python version issue?

also getting this issue straight after upgrading to 2024.06.01 on version 0.20

Sorry to pile on but same issue for me. A fix would be very much appreciated. Thanks!

Unfortunately same here...I would also very much appreciate a fix. Thank you for the great work.

Same here. Integrations stopped working and is not configurable anymore. Waiting for a fix. Would be highly appreciated. If help is needed, reach out.
Warm regards
Sven

Same here, works fine again if I restore a backup with core 5.4

Same problem on my side, and I can confirm it's not a question of VW servers because in parallel another custom integration "Volkswagen WeConnect"  works.

No use in a flood of “me too” comments here, because the code change is needed first in the WeConnect-python library used by this integration, with a different maintainer. Someone else has already created an issue and a PR in that library’s repo:

https://github.com/tillsteinbach/WeConnect-python/issues/192
https://github.com/tillsteinbach/WeConnect-python/pull/189

Same issue. If you we're able to update your integration, that would be highly appreciated!

Amazing! Thanks so much. I only had to restart HA after the edit for it to start working.

Are we currently waiting for the other repo to be updated so that the update can go through here too?

Are we currently waiting for the other repo to be updated so that the update can go through here too?

This integration requires weconnect.
1h ago this library ( https://github.com/tillsteinbach/WeConnect-python/ ) was updated so that their requirements fit to the other libraries currently installed in  home assistant.
I guess this integration should work again?

Closed by commit 97a8360


skip binding generationon docs.rs

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
see 2 files with indirect coverage changes


Calculator logic

in this PR we've performed the followings

add logic files
understand how logic files work
add and import big.js
implement the logic files on the UI

thanks @sja-thedude you're the best


Simplify codegen for scoped and singleton services

Ok turns out this is in general less efficient because of the magic the C# compiler does. It's fixable but it requires more codegen:
Consider:
provider.CaptureDisposable(
     new A(
        provider.GetOrAdd(key, p =>
            new B(p._root.GetOrAdd(key, new C())))

The compiler will hoist the lambdas into a static method:

public static Func<ServiceProvider, object> ACallback;
public static Func<ServiceProvider, object> BCallback;

{
    if (BCallback != null)
    {
        BCallback = p => new C();
    }

    if (ACallback != null)
    {
        ACallback = p => new B(p._root.GetOrAdd(key, BCallback));
    }

    provider.CaptureDisposable(new A(provider.GetOrAdd(key, ACallback));
}

/cc @pranavkm @halter73
Tapping out :smile:


JS: Uncaught SyntaxError: Invalid shorthand property initializer

The following error was reported by the browser
Uncaught SyntaxError: Invalid shorthand property initializer

This has been used with Sphinx 5.2.3 See here ... partially working with alabaster with some quirks;

Thanks, I added a commit to try to get tests to run

Thanks @OATalha. There was quite a lot of bitrot in the repo, but in the end it passed tests.


Fix gofmt

Run make update-gofmt with go 1.21 to prepare the repo to merge to csi-operator that insists on clean make verify-gofmt.
@openshift/storage

/label px-approved
/label docs-approved
/label qe-approved
There are only formatting changes

/lgtm

/retest-required

/retest-required

/test e2e-azure-ovn-upgrade

/jira refresh


FIX:: list and table should return Promise

They call to async functions, and so should allow for async operation at
the call site.

Good catch. Thanks!

This change can cause rendered elements to render out of order now unless you explicitly await... while maybe technically correct, this makes for unintuive API, so going to have to partially revert for now.


Introduce Trace (what endpoint was matched) [RFC]

We've been talking quite a bit about the ways to provide users with a context of what endpoint was actually matched (see #953 for a top-level issue). This wasn't possible today.
Both of our attempts to built-in metrics/telemetry failed because of that (see #845 and #855) as we didn't have the right tools to implement it.
I've been playing with the idea of including the matched path into an EndpointResult so it could be propagated along the request/input path. This way, at the very bottom (in ToService) we can extract this matched path and do something useful with that, for example, report metrics.
This PR [RFC] introduces a new concept io.finch.Trace that represent a matched path of an endpoint and is optimized for low footprint and fast concat. Right now, we aren't doing anything useful with it in ToService as I wanted to make sure we settle on a general idea before I proceed with actually employing the new data.
Let me know what do you think! Here is a quick usage example.
scala> import io.finch._, io.finch.syntax._
import io.finch._
import io.finch.syntax._

scala> val foo = get("foo" :: "bar" :: path[String]) { s: String => Ok(s) }
foo: io.finch.Endpoint[String] = GET /foo :: bar :: :string

scala> val bar = get("bar" :: "foo" :: path[Int]) { i: Int => Ok(i) }
bar: io.finch.Endpoint[Int] = GET /bar :: foo :: :int

scala> val fooBar = foo :+: bar
fooBar: io.finch.Endpoint[String :+: Int :+: shapeless.CNil] = (GET /foo :: bar :: :string :+: GET /bar :: foo :: :int)

scala> fooBar(Input.get("/foo/bar/baz")).trace
res0: Option[io.finch.Trace] = Some(/foo/bar/:string)

scala> fooBar(Input.get("/bar/foo/10")).trace
res1: Option[io.finch.Trace] = Some(/bar/foo/:int)

Codecov Report

Merging #957 into master will decrease coverage by 0.26%.
The diff coverage is 84.61%.

@@            Coverage Diff             @@
##           master     #957      +/-   ##
==========================================
- Coverage   83.24%   82.98%   -0.27%
==========================================
  Files          49       50       +1
  Lines         794      817      +23
  Branches       48       49       +1
==========================================
+ Hits          661      678      +17
- Misses        133      139       +6

Impacted Files
Coverage Δ

core/src/main/scala/io/finch/endpoint/path.scala
96% <100%> (+0.76%)
:arrow_up:

...tee/src/main/scala/io/finch/iteratee/package.scala
95.45% <100%> (+0.21%)
:arrow_up:

core/src/main/scala/io/finch/ToService.scala
100% <100%> (ø)
:arrow_up:

core/src/main/scala/io/finch/endpoint/header.scala
75% <100%> (ø)
:arrow_up:

core/src/main/scala/io/finch/endpoint/param.scala
77.14% <100%> (ø)
:arrow_up:

...rc/main/scala/io/finch/syntax/EndpointMapper.scala
100% <100%> (ø)
:arrow_up:

core/src/main/scala/io/finch/endpoint/cookie.scala
46.66% <100%> (ø)
:arrow_up:

...e/src/main/scala/io/finch/endpoint/multipart.scala
72.05% <100%> (ø)
:arrow_up:

core/src/main/scala/io/finch/Endpoint.scala
76.53% <100%> (+0.74%)
:arrow_up:

core/src/main/scala/io/finch/endpoint/body.scala
65% <25%> (-1.67%)
:arrow_down:

... and 4 more

Continue to review full report at Codecov.

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

Looks awesome, I was about to land the very similar PR but with trace replaced by Endpoint.Meta where meta is just a type alias to string.
My point is that Trace looks like the very lightweight & cut version of metadata ADT and I wonder if we are able to extend its use to the API users anyhow.

Maybe it makes sense to introduce lazy val metadata in Endpoint and during the compilation phase, all HList and Coproduct endpoints will compose their metadata together. It means, there will be fewer allocations spent on each call for concat operation as it is now.
@vkostyukov what are your thoughts?

@sergeykolbasov Yeah, I think exporting the Trace object under a response's record schema is a reasonable thing to do at this point.
Re: Meta. I'm perfectly fine if we keep metadata's purpose as a structure defining composed endpoints (built at endpoint creation), while trace could carry the information about what endpoints were matched during this evaluation (built when an endpoint is run). I hear you, we can populate Trace with metadata (similar to how we do it with Strings) in case if users would want that information at the end. As of now, there is an immediate use-case a Trace structure is trying to address - figuring out what endpoint was matched so we can report telemetry. In my mind's eye, we should stick with it and see if people need anything more than that.

LGTM 👍

@rpless - that's a really good point about the failed request. We, however, have a top-level failure handler that always catches everything and converts it into a very basic 400 response. I think we should be fine with just setting the response.ctx field.
The new structure definitely comes at the cost yet I think we're in the position to pay it. Some recent performance optimizations should make it more-or-less even. I want to run some benchmarks to see the overhead.

There is a slight (and expected) increase for path endpoints but nothing concerning:
BEFORE:

[info] MatchPathBenchmark.stringSome                                avgt   10  207.146 ±   10.804   ns/op
[info] MatchPathBenchmark.stringSome:·gc.alloc.rate.norm            avgt   10  280.000 ±    0.001    B/op

AFTER:

[info] MatchPathBenchmark.stringSome                                avgt   10  216.268 ±  57.560   ns/op
[info] MatchPathBenchmark.stringSome:·gc.alloc.rate.norm            avgt   10  304.000 ±   0.001    B/op


Fixed the german translation of "Support MultiMC"

Changed the german translation of the Patreon-donation site in the main-window called "Support MultiMC" in english from "MultiMC Unterstützten" to "MultiMC unterstützen". Corrects the case of the first letter and removes the "t" after the "z" for it to have the right conjugation.

Translations can be done on crowdin. Please avoid making direct pull requests to the translations repository.

Sorry for doing it this way. I have now applied for the Translation team on crowdin. Have a nice day!


Help parsing JSON

I have some JSON I'd like to format using the Event Formatting Agent. I cannot figure out how to format anything in the "episodes" array. I think I'm missing something super simple.
{   "series": {     "id": 1,     "title": "Test Title",     "path": "C:\\testpath",     "tvdbId": 1234,     "tvMazeId": 0,     "type": "standard"   },   "episodes": [     {       "id": 123,       "episodeNumber": 1,       "seasonNumber": 1,       "title": "Test title"     }   ],   "eventType": "Test" }

figured it out

How did you fix it?  What did you see?

How did you fix it? What did you see?

{{episodes[0].id}} or {{episodes[0].episodeNumber}} etc...