test-gdams-win10-aarch64-1 offline

https://ci.adoptopenjdk.net/job/build-scripts/job/utils/job/cross-compiled-version-out/118/console
[Pipeline] node
test-gdams-win10-aarch64-1 was marked offline: Connection was broken: java.util.concurrent.TimeoutException: Ping started at<PHONE_NUMBER>493 hasn't completed by<PHONE_NUMBER>494
	at hudson.remoting.PingThread.ping(PingThread.java:134)
	at hudson.remoting.PingThread.run(PingThread.java:90)

ping @gdams

ping @gdams

Hmmm I thought moving the hosting into a VM was expected to reduce these outages

Hmmm I thought moving the hosting into a VM was expected to reduce these outages

Hmm I thought that this would be more stable. It looks like it's failing with the following error:
Jan 28, 2021 9:09:10 AM hudson.remoting.UserRequest perform
WARNING: LinkageError while performing UserRequest:hudson.node_monitors.SwapSpaceMonitor$MonitorTask@7fd33c4
java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/win32-aarch64/jnidispatch.dll) not found in resource path ([])
        at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:1032)
        at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:988)
        at com.sun.jna.Native.<clinit>(Native.java:195)
        at com.sun.jna.Structure.setAlignType(Structure.java:280)
        at com.sun.jna.Structure.<init>(Structure.java:197)
        at com.sun.jna.Structure.<init>(Structure.java:193)
        at com.sun.jna.Structure.<init>(Structure.java:180)
        at com.sun.jna.Structure.<init>(Structure.java:172)
        at org.jvnet.hudson.Windows$MEMORYSTATUSEX.<init>(Windows.java:57)
        at org.jvnet.hudson.Windows.monitor(Windows.java:42)
        at hudson.node_monitors.SwapSpaceMonitor$MonitorTask.call(SwapSpaceMonitor.java:125)
        at hudson.node_monitors.SwapSpaceMonitor$MonitorTask.call(SwapSpaceMonitor.java:115)
        at hudson.remoting.UserRequest.perform(UserRequest.java:211)
        at hudson.remoting.UserRequest.perform(UserRequest.java:54)
        at hudson.remoting.Request$2.run(Request.java:375)
        at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:73)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
        at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:118)
        at java.base/java.lang.Thread.run(Thread.java:831)

Jan 28, 2021 10:08:38 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Terminated

I wonder whether switching to an x86 binary would be a more stable option than using the EA Windows Aarch64 binary to connect to Jenkins

Hmm I thought that this would be more stable. It looks like it's failing with the following error:
Jan 28, 2021 9:09:10 AM hudson.remoting.UserRequest perform
WARNING: LinkageError while performing UserRequest:hudson.node_monitors.SwapSpaceMonitor$MonitorTask@7fd33c4
java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/win32-aarch64/jnidispatch.dll) not found in resource path ([])
        at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:1032)
        at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:988)
        at com.sun.jna.Native.<clinit>(Native.java:195)
        at com.sun.jna.Structure.setAlignType(Structure.java:280)
        at com.sun.jna.Structure.<init>(Structure.java:197)
        at com.sun.jna.Structure.<init>(Structure.java:193)
        at com.sun.jna.Structure.<init>(Structure.java:180)
        at com.sun.jna.Structure.<init>(Structure.java:172)
        at org.jvnet.hudson.Windows$MEMORYSTATUSEX.<init>(Windows.java:57)
        at org.jvnet.hudson.Windows.monitor(Windows.java:42)
        at hudson.node_monitors.SwapSpaceMonitor$MonitorTask.call(SwapSpaceMonitor.java:125)
        at hudson.node_monitors.SwapSpaceMonitor$MonitorTask.call(SwapSpaceMonitor.java:115)
        at hudson.remoting.UserRequest.perform(UserRequest.java:211)
        at hudson.remoting.UserRequest.perform(UserRequest.java:54)
        at hudson.remoting.Request$2.run(Request.java:375)
        at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:73)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
        at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:118)
        at java.base/java.lang.Thread.run(Thread.java:831)

Jan 28, 2021 10:08:38 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Terminated

I wonder whether switching to an x86 binary would be a more stable option than using the EA Windows Aarch64 binary to connect to Jenkins

Naively win32-aarch64 doesn't superficially look right at all if that's for the native port, but yes I'd definitely be tempted to run a real win32 JDK8 for the jenkins agent for now.

Naively win32-aarch64 doesn't superficially look right at all if that's for the native port, but yes I'd definitely be tempted to run a real win32 JDK8 for the jenkins agent for now.

Since there is no work being done to bring this online and we have removed the platform from the pipelines, I'm closing this


hie-core stack tests are flaky

stack test in compiler/hie-core is flaky and occasionally fails with
   introduce syntax error:   FAIL (0.12s)
      test/src/Development/IDE/Test.hs:57:
      Got diagnostics for Uri {getUri = "file://"} but only expected diagnostics for [NormalizedUri "file:///tmp/extra-dir-98959485489765/Testing.hs"] got List [Diagnostic {_range = Range {_start = Position {_line = 0, _character = 0}, _end = Position {_line = 100000, _character = 0}}, _severity = Just DsError, _code = Nothing, _source = Just "compiler", _message = "hie-core: panic! (the 'impossible' happened)\n  (GHC version 8.6.5 for x86_64-unknown-linux):\n\tDynamic linker not initialised\n\nPlease report this as a GHC bug:  http://www.haskell.org/ghc/reportabug\n", _relatedInformation = Nothing}]

I haven't seen this in a while. Should it be closed?

I am gonna be optimistic and close it as it seems it is not reproduced anymore


Add update command to firebase_database

Implementing update command.

/cc @collinjackson Can you review?

@arashbi You'll also have to fix the travis errors: https://travis-ci.org/flutter/plugins/builds/246037419

@arashbi did you look at the travis issues?
Running 'gradle assembleRelease'...
Note: /home/travis/build/flutter/plugins/packages/firebase_auth/android/src/main/java/io/flutter/firebaseauth/FirebaseAuthPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/home/travis/build/flutter/plugins/packages/firebase_database/android/src/main/java/io/flutter/plugins/firebase/database/FirebaseDatabasePlugin.java:265: error: cannot find symbol
        Map value = (Map) arguments.get("value");
                          ^
  symbol:   variable arguments
  location: class FirebaseDatabasePlugin
/home/travis/build/flutter/plugins/packages/firebase_database/android/src/main/java/io/flutter/plugins/firebase/database/FirebaseDatabasePlugin.java:266: error: cannot find symbol
        DatabaseReference reference = getReference(arguments);
                                                   ^
  symbol:   variable arguments
  location: class FirebaseDatabasePlugin
Note: /home/travis/build/flutter/plugins/packages/firebase_database/android/src/main/java/io/flutter/plugins/firebase/database/FirebaseDatabasePlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors

I don't really understand why this formatting fails. And I cannot run it locally. It fails with a ProcessException: No such file or directory followed by a very long line.

@arashbi You can just apply the diff that Travis gives you to your PR and the formatter will be happy: https://travis-ci.org/flutter/plugins/jobs/251848488#L409

I think it is good now.

@collinjackson is this good to go now?

Looks good, thanks for contributing @arashbi !


MNT: Bugfixes

Fixes this problem:
In [1]: ascan(pos1, 0, 3, 20)
Stored '_scan_id' (int)
2015-04-20 14:37:36,644 [ophyd_session:INFO] Scan ID: 24
2015-04-20 14:37:36,644 [ophyd_session:INFO] Time: 2015-04-20T14:37:36.631464
2015-04-20 14:37:36,645 [ophyd_session:INFO] uid: 0ce7e249-e558-4890-ab2b-2116c4c8c913
  File "/home/edill/dev/python/ophyd/ophyd/userapi/scan_api.py", line 261, in run
    scan_args=scan_args)
  File "/home/edill/dev/python/ophyd/ophyd/runengine/runengine.py", line 339, in start_run
    keys = self._get_data_keys(**scan_args)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-1-70ff0c2c4c6c> in <module>()
----> 1 ascan(pos1, 0, 3, 20)

/home/edill/dev/python/ophyd/ophyd/userapi/scan_api.pyc in __call__(self, positioners, start, stop, npts, **kwargs)
    437         """
    438         self.setup_scan(positioners, start, stop, npts, **kwargs)
--> 439         self.run(**kwargs)
    440
    441     def setup_scan(self, positioners, start, stop, npts, **kwargs):

/home/edill/dev/python/ophyd/ophyd/userapi/scan_api.pyc in run(self, *args, **kwargs)
    259             # Run the scan!
    260             data = self._run_eng.start_run(self.scan_id,
--> 261                                            scan_args=scan_args)
    262
    263             self._data_buffer.append(Data(data))

/home/edill/dev/python/ophyd/ophyd/runengine/runengine.py in start_run(self, runid, start_args, end_args, scan_args)
    337         end_args['run_start'] = run_start
    338
--> 339         keys = self._get_data_keys(**scan_args)
    340         data = defaultdict(list)
    341

TypeError: _get_data_keys() got an unexpected keyword argument 'settle_time'

which led to this problem:
In [1]: ascan(pos1, 0, 3, 20)
Stored '_scan_id' (int)
2015-04-20 14:39:40,727 [ophyd_session:INFO] Scan ID: 25
2015-04-20 14:39:40,728 [ophyd_session:INFO] Time: 2015-04-20T14:39:40.722365
2015-04-20 14:39:40,728 [ophyd_session:INFO] uid: 54a87b44-76da-498e-927c-0e97ce0c0cdb
2015-04-20 14:39:40,728 [ophyd_session:INFO] Begin Run...
2015-04-20 14:39:40,728 [ophyd_session:INFO] pos1	det1
Exception in thread Scanner:
Traceback (most recent call last):
  File "/home/edill/anaconda/envs/ophyd/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/home/edill/anaconda/envs/ophyd/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/edill/dev/python/ophyd/ophyd/runengine/runengine.py", line 189, in _start_scan
    posvals = self._move_positioners(**kwargs)
  File "/home/edill/dev/python/ophyd/ophyd/runengine/runengine.py", line 148, in _move_positioners
    status = [pos.move_next(wait=False)[1] for pos in positioners]
TypeError: 'NoneType' object is not iterable

which has also been fixed

Also starting to nuke the rampant kwargs throughout

:+1: for nuking un-needed kwargs!

Callbacks that can block the RunEngine are sufficiently complicated and tied in to the guts of the RunEngine that I would rather wait until @dchabot has RunEngine v2 before I spend more time trying to get blocking callbacks into RunEngine v1.


Better mobile navigation UX

Summary
Make the left sidebar navigation available on top, and consider also making the TOC navigation available on top.
Basic example

See also:

the new Gatsby Docs: https://www.gatsbyjs.com/docs/reference/config-files/gatsby-config/ and
the new Bootstrap 5 Docs: https://getbootstrap.com/docs/5.0/getting-started/introduction/

Motivation
Now, a user has to scroll to the bottom of a page to navigate to another documentation page.
See also: #65

I want to add a few more examples, that I like:

https://tailwindcss.com/docs/extracting-components
https://www.docsy.dev/docs/

Another example: https://forestry.io/docs/welcome/
I think my favorite is the bootstrap example. I like that the left sidebar navigation gets collapsed to the top and the right TOC section gets added inline to the content.
Many themes either hide these on mobile devices or shove them to the bottom of the page. Both of which are important navigational aids on mobile, so they should be kept closer to the top (but collapsed).

https://github.com/h-enk/doks/releases/tag/v0.3.4


switch status polling of service state requests

Currently the status polling of service state requests are still using the old methods. It must be changed similar to deploy and destroy status polling.

[ ] Use getLatestServiceOrderStatus for polling
[ ] Use all details from getLatestServiceOrderStatus only.
[ ] Only if necessary use the getServiceDetailsById to fetch any details after  the order is completed.

Depends on https://github.com/eclipse-xpanse/xpanse/issues/2026

let me do it

I'll take this.


ADD Dockerfile

Thanks for your PR, I changed upstream to dev branch, will merge to master once the next release comes out.


Analyse one single file in a large project

I have an android app which contains more than 500 java classes and every time I run infer, it checks through the entire project, which takes a lot of time.Is it possible to run the tests in one single class only?

@kumarbanty have you seen the Differential Workflow in http://fbinfer.com/docs/infer-workflow.html?
Alternatively, if your use case is different than a loop, change code + analyze, there are some experimental options to specify a list of files to be analyzed.

Thank you so much for your reply


在PAI平台搭建LLaMA Factory时提示ImportError: /usr/local/lib/python3.10/site-packages/flash_attn_2_cuda.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN3c104impl3cow11cow_deleterEPv

Reminder

[X] I have read the README and searched the existing issues.

System Info
root@dsw-555043-6c9d589c7b-m4tdt:/mnt/workspace/LLaMA-Factory# llamafactory-cli env
2024-07-09 15:51:15.428336: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
2024-07-09 15:51:15.469654: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX512F AVX512_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-07-09 15:51:16.178271: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
Traceback (most recent call last):
File "/usr/local/bin/llamafactory-cli", line 33, in
sys.exit(load_entry_point('llamafactory==0.8.3.dev0', 'console_scripts', 'llamafactory-cli')())
File "/usr/local/bin/llamafactory-cli", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/local/lib/python3.10/importlib/metadata/init.py", line 171, in load
module = import_module(match.group('module'))
File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 992, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/usr/local/lib/python3.10/site-packages/llamafactory/init.py", line 3, in
from .cli import VERSION
File "/usr/local/lib/python3.10/site-packages/llamafactory/cli.py", line 4, in
from .api.app import run_api
File "/usr/local/lib/python3.10/site-packages/llamafactory/api/app.py", line 7, in
from ..chat import ChatModel
File "/usr/local/lib/python3.10/site-packages/llamafactory/chat/init.py", line 2, in
from .chat_model import ChatModel
File "/usr/local/lib/python3.10/site-packages/llamafactory/chat/chat_model.py", line 5, in
from ..extras.misc import torch_gc
File "/usr/local/lib/python3.10/site-packages/llamafactory/extras/misc.py", line 6, in
from peft import PeftModel
File "/usr/local/lib/python3.10/site-packages/peft/init.py", line 22, in
from .auto import (
File "/usr/local/lib/python3.10/site-packages/peft/auto.py", line 32, in
from .mapping import MODEL_TYPE_TO_PEFT_MODEL_MAPPING
File "/usr/local/lib/python3.10/site-packages/peft/mapping.py", line 22, in
from .mixed_model import PeftMixedModel
File "/usr/local/lib/python3.10/site-packages/peft/mixed_model.py", line 26, in
from peft.tuners.mixed import COMPATIBLE_TUNER_TYPES
File "/usr/local/lib/python3.10/site-packages/peft/tuners/init.py", line 21, in
from .lora import LoraConfig, LoraModel, LoftQConfig
File "/usr/local/lib/python3.10/site-packages/peft/tuners/lora/init.py", line 20, in
from .model import LoraModel
File "/usr/local/lib/python3.10/site-packages/peft/tuners/lora/model.py", line 50, in
from .awq import dispatch_awq
File "/usr/local/lib/python3.10/site-packages/peft/tuners/lora/awq.py", line 26, in
from awq.modules.linear import WQLinear_GEMM
File "/usr/local/lib/python3.10/site-packages/awq/init.py", line 2, in
from awq.models.auto import AutoAWQForCausalLM
File "/usr/local/lib/python3.10/site-packages/awq/models/init.py", line 1, in
from .mpt import MptAWQForCausalLM
File "/usr/local/lib/python3.10/site-packages/awq/models/mpt.py", line 1, in
from .base import BaseAWQForCausalLM
File "/usr/local/lib/python3.10/site-packages/awq/models/base.py", line 46, in
from awq.quantize.quantizer import AwqQuantizer
File "/usr/local/lib/python3.10/site-packages/awq/quantize/quantizer.py", line 10, in
from awq.quantize.scale import apply_scale, apply_clip
File "/usr/local/lib/python3.10/site-packages/awq/quantize/scale.py", line 8, in
from transformers.models.llama.modeling_llama import LlamaRMSNorm
File "/usr/local/lib/python3.10/site-packages/transformers/models/llama/modeling_llama.py", line 54, in
from flash_attn import flash_attn_func, flash_attn_varlen_func
File "/usr/local/lib/python3.10/site-packages/flash_attn/init.py", line 3, in
from flash_attn.flash_attn_interface import (
File "/usr/local/lib/python3.10/site-packages/flash_attn/flash_attn_interface.py", line 10, in
import flash_attn_2_cuda as flash_attn_cuda
ImportError: /usr/local/lib/python3.10/site-packages/flash_attn_2_cuda.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN3c104impl3cow11cow_deleterEPv
Reproduction
git clone --depth 1 https://github.com/hiyouga/LLaMA-Factory.git
cd LLaMA-Factory
pip uninstall -y vllm
pip install llamafactory[metrics]==0.7.1
llamafactory-cli version
Expected behavior
No response
Others
No response

pip uninstall -y flash_attn


No suitable build variant has been found.

Found package configuration file:
/usr/local/lib/cmake/boost_date_time-1.76.0/boost_date_time-config.cmake

but it set boost_date_time_FOUND to FALSE so package "boost_date_time" is
considered to be NOT FOUND.  Reason given by package:
No suitable build variant has been found.
The following variants have been tried and rejected:

libboost_date_time-mt.dylib (shared, Boost_USE_STATIC_LIBS=ON)

libboost_date_time-mt.a (shared runtime, Boost_USE_STATIC_RUNTIME=ON)

libboost_date_time.dylib (shared, Boost_USE_STATIC_LIBS=ON)

libboost_date_time.a (shared runtime, Boost_USE_STATIC_RUNTIME=ON)

v1.65 and v1.67 of Boost work


Fix internal server error

fixes #553
While the list of "type" parameters for the query was compiled, a null entry sneaked in and caused the exception.

:+1:

:+1:

Codecov Report

Merging #583 into master will increase coverage by 0.04%.
The diff coverage is 25%.

@@             Coverage Diff              @@
##             master     #583      +/-   ##
============================================
+ Coverage     56.23%   56.27%   +0.04%
- Complexity      596      597       +1
============================================
  Files           151      151
  Lines          3384     3385       +1
  Branches        222      222
============================================
+ Hits           1903     1905       +2
+ Misses         1396     1395       -1
  Partials         85       85

Impacted Files
Coverage Δ
Complexity Δ

.../fullstop/web/controller/ViolationsController.java
84.21% <25%> (+0.42%)
11 <0> (ø)
:arrow_down:

...ation/repository/impl/ViolationRepositoryImpl.java
57.47% <0%> (+1.14%)
15% <0%> (+1%)
:arrow_up:

Continue to review full report at Codecov.

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


Fix pre-commit typing python version

Just figured out, when language_version is not specified, the python_version in additional_dependencies is ignored, although the configuration in pyproject.toml is still respected.
@happz, you might want to pull this one early for the typing fixes

/packit build


Adding a NOTE about PowerShell usage

I've seen this issue brought up by multiple sources and wanted to clarify correct usage in a PowerShell instance related to quotations.

@jasondemps1 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi @jasondemps1, thanks for the feedback. The main focus of the article is showing the Azure CLI commands, and as such we feel showing identical Powershell that differs only in formatting to be outside of the scope of the document. If it becomes a common enough issue, it may warrant a refactoring/additional doc, but for now we'll leave it as is.
#please-close

Hi @jasondemps1, thanks for the feedback. The main focus of the article is showing the Azure CLI commands, and as such we feel showing identical Powershell that differs only in formatting to be outside of the scope of the document. If it becomes a common enough issue, it may warrant a refactoring/additional doc, but for now we'll leave it as is.
#please-close


allows to specify spi transfer_size chunk length

if dma is not enabled the max_transfer size is used to determine the transfer chunk size. this is 64 bits. ->  every transaction shorter than 64 bits will be clocked out with continuous 64 clk cycle. often devices on spi wants an 8bit chunked version.
Before Patch:

With Patch:

Sorry for the delay @Vollbrecht, would you mind fixing the conflicts one last time?

Hi @Vollbrecht, would you mind rebasing this PR to fix the conflicts?

Hi @Vollbrecht, would you mind rebasing this PR to fix the conflicts?

yeah i will get there the next days. was kinda busy the last weeks. need to also spin up some hardware test afterwards.


Makes sure that animation is paused when steps === one

Ref. #133
@javisantana

don't know if being in pause if you rescale the thing would start again


Single newlines in @param blocks are interpreted as linebreaks in generated markdown

What package is the bug related to?
docusaurus-plugin-typedoc
Describe the issue
Single newline characters in @param blocks are preserved in the generated markdown files and are even converted to
 tags when parametersFormat: 'table' is used.
For example, take the following documentation:
/**
 * @param param1 This is a parameter documentation with a newline after this sentence.
 * This sentence is on a new line.
 */
 function foo(param1: number): void { }

It gets translated into the following markdown:
• **param1**: `number`

This is a parameter documentation with a newline after this sentence.
This sentence is on a new line.

This is unexpected but somewhat okay since single newlines are still treated as spaces in markdown.
However, when formatting parameters into a table, the following markdown is generated:
| Parameter | Type | Description |
| :------ | :------ | :------ |
| `param1` | `number` | This is a parameter documentation with a newline after this sentence.
This sentence is on a new line. |

Now there is an undesired forced linebreak where the single newline character used to be.
TypeDoc configuration
typedoc: v0.25.13
typedoc-plugin-markdown: v4.0.1
docusaurus-plugin-typedoc: v1.0.1
Options (passed to docusaurus-plugin-typedoc):
{
  excludePrivate: true,
  parametersFormat: 'table' // or 'list'
}

Expected behavior
Single newlines in @param blocks should be interpreted as a space instead of a linebreak. They should never be converted to
 tags in markdown and probably should always be converted to a space instead of being preserved as a newline character.

I experience a related issue with parametersFormat: 'table'. I may open a separate issue later, if necessary.
I actually use paragraphs in doc strings extensively. And I observe nearly all markdown tables broken, because I get unexpected newlines before
.
Expectation - one (maybe two)
 tags and no \n inside tables, when paragraphs are found.

Thank you. Fixed in<EMAIL_ADDRESS>@cywang90 you are absolutely correct a soft line should not result in a line break.
@KillyMXI Your issue with the superfluous should also be fixed. Please do a raise a separate issue regarding index tables.
Handling how to process comments inside the table is actually a bit complex. We basically cannot have any markdown blocks rendered in the table, so the solution to this bug is to first normalize line breaks and then parse markdown block tags to html.  Previouslly we were just converting new lines to  which is not correct.

@tgreyuk Thanks for the quick fix. Just re-built my docs using v4.0.2 and can confirm my issue was fixed.


”Grădinari”, ”Medeleni”, ”Petrești”, ”Podu Jijiei” are listed in the drop-down menu

Description:
When user writes ”Grădinari”, ”Medeleni”, ”Petrești”, ”Podu Jijiei” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Grădinari"

Expected results
The location appears in the drop-down menu as "Sat Grădinari, IAȘI (Golăiești)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Medeleni"

Expected results
The location appears in the drop-down menu as "Sat Medeleni, IAȘI (Golăiești)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Petrești"

Expected results
The location appears in the drop-down menu as "Sat Petrești, IAȘI (Golăiești)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Write in the search bar "Podu Jijiei"

Expected results
The location appears in the drop-down menu as "Sat Podu Jijiei, IAȘI (Golăiești)".


Added ldas-tools-al-swig output package

This PR updates the recipe to produce an actual ldas-tools-al-swig package, which was an oversight in the original packaging.
Checklist

[x] Used a fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


MouseRegion not hit tested outside its parent

Steps to reproduce
Run https://dartpad.dev/?id=a408077b04f6090d4b2138c60b5b34bd (both web/windows confirmed)
Expected results
Hovering any part of the box makes it turn orange.
Actual results
Box not turning orange on hover anywhere outside the non-offset coordinates, unless the DecoratedBox widget is removed.
Code sample
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MainApp());
}

class MainApp extends StatelessWidget {
  const MainApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        backgroundColor: Colors.grey.shade800,
        body: Center(child: HoverBox()),
      ),
    );
  }
}

class HoverBox extends StatefulWidget {
  const HoverBox({super.key});

  @override
  State<HoverBox> createState() => _HoverBoxState();
}

class _HoverBoxState extends State<HoverBox> {
  bool _hovered = false;

  @override
  Widget build(BuildContext context) {
    return DecoratedBox(
      decoration: BoxDecoration(border: Border.all()),
      child: Transform.translate(
        offset: Offset(100, 0),
        child: SizedBox.square(
          dimension: 200,
          child: MouseRegion(
            onEnter: (_) => setState(() => _hovered = true),
            onExit: (_) => setState(() => _hovered = false),
            child: ColoredBox(
              color: _hovered ? Colors.orange : Colors.blue.withAlpha(100),
            ),
          ),
        ),
      ),
    );
  }
}

Screenshots or Video
No response
Logs
No response
Flutter Doctor output
Doctor output
[√] Flutter (Channel master, 3.26.0-1.0.pre.223, on Microsoft Windows [Version 10.0.22631.4317], locale en-US)
    • Flutter version 3.26.0-1.0.pre.223 on channel master at C:\Users\postd\fvm\versions\master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 8925e1ffdf (4 weeks ago), 2024-09-26 11:52:53 +1200
    • Engine revision d6d5fdba6a
    • Dart version 3.6.0 (build 3.6.0-278.0.dev)
    • DevTools version 2.40.0-dev.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at C:\Users\postd\AppData\Local\Android\Sdk
    • Platform android-35, build-tools 35.0.0
    • Java binary at: C:\Users\postd\.jdks\jbr17_0_12\bin\java
    • Java version OpenJDK Runtime Environment JBR-17.0.12+1-1087.25-nomod (build 17.0.12+1-b1087.25)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.11.5)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.11.35327.3
    • Windows 10 SDK version 10.0.22621.0

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/to/windows-android-setup for detailed instructions).

[√] IntelliJ IDEA Ultimate Edition (version 2024.2)
    • IntelliJ at C:\Users\postd\AppData\Local\Programs\IntelliJ IDEA Ultimate 3
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart

[√] VS Code, 64-bit edition (version 1.94.2)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.99.20240930

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22631.4317]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 129.0.6668.103
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 129.0.2792.89

[√] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Reproducible using the code sample provided above.
https://github.com/user-attachments/assets/e3533cd5-f87b-4903-a5c4-aa60a884fd80

flutter doctor -v
[✓] Flutter (Channel stable, 3.24.3, on macOS 15.0.1 24A348 darwin-arm64, locale en-US)
    • Flutter version 3.24.3 on channel stable at /Users/deanli/dev/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (6 weeks ago), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3

[!] Flutter (Channel master, 3.27.0-1.0.pre.153, on macOS 15.0.1 24A348 darwin-arm64, locale en-US)
    • Flutter version 3.27.0-1.0.pre.153 on channel master at /Users/deanli/dev/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 383a221cf3 (3 hours ago), 2024-10-22 06:41:31 +0200
    • Engine revision 88288446c3
    • Dart version 3.7.0 (build 3.7.0-47.0.dev)
    • DevTools version 2.40.1


Update tox config to avoid sdist for tox 4.x.x compat

Summary
This commit updates the tox configuration to remove the sdist configuration flag which avoids the intermediate sdist creation as part of tox building the package under test in it's venv. It is replaced by the isolated_build option which configures tox to use a PEP 518/PEP 517 mechanism for building experiments. This mirrors the default behavior in tox 4.0.0. By making this change the tox.ini should be compatible with both tox 3.x.y and 4.x.y.
Details and comments

I merged #988. I guess we can merge this first to confirm we don't break tox 3 and then remove the pins in a follow up PR?


Indentation is off when adding a row to an Entity Relation Table 1

Preflight Checklist

[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug
After inserting Table 1 into my drawing page. I modified the Text spacing of the cells to Global: 0pt, Left: 10pt.
When I insert rows using the icons from the Arrange tab the new row doesn't seem to inherit the spacing from the other rows. The values of Global and Left alignment do not show that, but entered text would be offset incorrectly.
To Reproduce
Steps to reproduce the behavior:

Insert a Table 1 from the Entity Relation shapes.
Change Text spacing to something else beyond the default.
Fill text in the existing row(s)
Insert a new row using the icons on the Arrange tab, and type text into it. The text will be not aligned with the other rows.

Expected behavior
New rows should respect the alignment of the rows already in the table.
draw.io version (In the Help->About menu of the draw.io editor):

draw.io version [e.g. 18.0.1]

Desktop (please complete the following information):

OS: [macOS]

A bit more info to aid fixing: I notice that using many of the actions in the Text tab will fix the indentation. For example clicking the Left indent icon (even though that is the current setting), or changing the Spacing by 1pt up and down -- will immediately inherit the correct setting.


XCode 7 and Swift 2 compilation errors and warnings fixes

human generated file requires import Foundation
forced cast in objects as! Set<NSObject> causes a warning

Any updates here?

We are declaring pull request and issue 0 now that 1.3 is out. If this is still an issue you'd like to see address with 1.30 and going forward, please open a new issue so we can start a fresh discussion. Thank you!


TMUX Server cannot create a session?!

Tried everything, anyone have some guidance?????

User issues are supported within the steam group.
If you're hoping any help, at least give some relevant information (distro, logs, tmux version, stuff like that).
Github is not Twitter, you can write more than 1 line.

Ubuntu 16.04 LTS
TMUX 2.1
Install went flawless, I go to initiate the server and it comes up with the above error. As far as logs nothing really presents itself.

Never seen this issue, seems like a tmux one, i agree with ya but i can't be sure with so few clues. Further investigation required. Maybe first try the debug start ? It won't use tmux that way.
./insserver debug
(i'll be very busy for the next 24h, i wish you good luck to find somebody else to follow up the issue.

Thank you for your insight, I will dig deeper and report back.

I've seen this issue before when you've started a tmux session and then upgraded the system tmux.  If that's the issue, the easiest fix is to reboot.

Good idea, but reboot is lame :p
Another way would probably be to find the PID and kill it.

No luck as far as rebooting. I'm fairly certain it may actually lie in the permissions of Ubuntu 16.04. I have actually reinstalled the system to attempt to fix it, no luck with 16.04. I plan on giving 14.04 a good ole college try as I believe it's less "set up" and more minimalist in installation with regards to security. If all else fails I'm certain it'll run on Centos 7 which will probably be my final attempt.

Before you do a reinstall. Have you tried out the ./insserver debug ?
Could you give us your logs etc. as well. (I know you said that "nothing really presents itself" but still I'd like to go through them either way.)
If you wish to reinstall your OS anyway just give us a heads up and we can close this issue in that case.

If you wish to reinstall before trying the debug console, you're a bit foolish, but even more if you quit Ubuntu for CentOS. Lol.  If you want nice web features but loads of knowledge required and a huge loss of time, go for CentOS.

A bit of relevant Linux history is in order!
Did you know....

"Ubuntu" is an historic word of African entymology, whose meaning translates to:
   Definition: _Ubuntu_ **One who cannot configure Debian.**
Betcha didn't know that!

Haha :p
I knew it sounded like an urban dictionary definition. Google confirmed. ^^
Let's say Ubuntu is to Debian what Windows XP Media Center is to Windows XP. :o))


#61 add support to shallow param

I just added the param to shallow results

Google CLA account created

Failed test solved in commit https://github.com/rodolphopivetta/firebase-admin-python/commit/3bc92f4cd34ba98755d258e0a039f38409a99317

Please fix the linter error detected by CI: https://travis-ci.org/firebase/firebase-admin-python/builds/289052233
You can run ./lint.sh all locally to see what the output is like.

I'll asap @hiranya911. Thanks


adding azure-servicefabric to management list

No tests, we need releases to actually work.

Can one of the admins verify this patch?


cannot find the pretrained model:softgroup_s3dis_spconv2.pth

Hello! Thanks for your wonderful work!
When I train model from frozen backbone using S3DIS dataset, it reminds me that File Not Found of the pretrained model: ./checkpoint/softgroup_s3dis_spconv2.pth. Where can I find this model? Thank you!
2024-01-12 11:39:05,329 - INFO - Load pretrain from ./checkpoint/softgroup_s3dis_spconv2.pth
Traceback (most recent call last):
File "/home/featurize/work/SoftGroup/SoftGroup-main/./tools/train.py", line 206, in
main()
File "/home/featurize/work/SoftGroup/SoftGroup-main/./tools/train.py", line 194, in main
load_checkpoint(cfg.pretrain, logger, model)
File "/home/featurize/work/SoftGroup/SoftGroup-main/softgroup/util/utils.py", line 115, in load_checkpoint
state_dict = torch.load(checkpoint, map_location=lambda storage, loc: storage.cuda(device))
File "/environment/miniconda3/lib/python3.10/site-packages/torch/serialization.py", line 791, in load
with _open_file_like(f, 'rb') as opened_file:
File "/environment/miniconda3/lib/python3.10/site-packages/torch/serialization.py", line 271, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/environment/miniconda3/lib/python3.10/site-packages/torch/serialization.py", line 252, in init
super().init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: './checkpoint/softgroup_s3dis_spconv2.pth'

https://github.com/thangvubk/SoftGroup?tab=readme-ov-file#pretrained-models


rust nightly errors with doesn't have an adapter listed

With rust nightly, I'm getting one of these two errors:
error: import of `__wbg_cargowebsnippetc26ddf75f581148e029dfcd95c037bb50d502e43_f494f4a63cf92998` doesn't have an adapter listed
Error: Running the wasm-bindgen CLI
Caused by: failed to execute `wasm-bindgen`: exited with exit code: 1

error: import of `__wbg_cargowebsnippetc26ddf75f581148e029dfcd95c037bb50d502e43_f494f4a63cf92998` doesn't have an import map item listed
Error: Running the wasm-bindgen CLI
Caused by: failed to execute `wasm-bindgen`: exited with exit code: 1

I'm building with wasm-pack build --target web.
$ cargo install-update --list
Package           Installed  Latest    Needs update
wasm-bindgen-cli  v0.2.56    v0.2.56   No
wasm-pack         v0.8.1     v0.8.1    No

rustup default nightly
nightly-x86_64-apple-darwin unchanged - rustc 1.42.0-nightly (9b98af84c 2019-12-22)
It is working fine on rust stable.

Same exact error here. Seems that even the hashes match up. Would greatly appreciate some recommendation on how to debug this. I am on a slightly newer nightly version. rustc 1.42.0-nightly (3a3f4a7cb 2019-12-28)
error: import of `__wbg_cargowebsnippetc26ddf75f581148e029dfcd95c037bb50d502e43_f494f4a63cf92998` doesn't have an adapter listed
Error: Running the wasm-bindgen CLI
Caused by: failed to execute `wasm-bindgen`: exited with exit code: 1

Thanks for the report! The bad news is that this was a breakage caused by a behavior change in upstream Rust, but the good news is that our internal test suite caught it and I just was on break and wasn't around to fix it! I've posted a fix for this at https://github.com/rustwasm/wasm-bindgen/pull/1942

Hope you had a wonderful break! Thanks for the fix. I really like wasm-bindgen.

Without having a full reproducer at hand, my colleague observed
error: import of __wbindgen_array_new doesn't have an adapter listed
today when running wasm-bindgen on his mac...
he was also using rust nightly and a command like wasm-pack build --target browser --mode normal --no-typescript
anybody else?


Another Instance_Del FK violation

Msg 547, Level 16, State 0, Procedure dbo.Instance_Del, Line 435 [Batch Start Line 24]
The DELETE statement conflicted with the REFERENCE constraint "FK_RunningJobs_Instances". The conflict occurred in database "DBADashDB", table "dbo.RunningJobs", column 'InstanceID'.
We have a largish SQL estate (450+) with many different versions of SQL (2008R2 - 2022)
Occurred on an unpatched 2008R2 that would get memory dumps and stop the SQL service. Instance has been shut down for good and put out of its misery, but managed to leave behind a zombie row in the RunningJobs table!
Hope you don't mind us putting DBA Dash through its paces!

Hi,
I have a PR that will fix this issue.  If you want to try it out, you can replace the Instance_Del stored proc with this one from the pull request. #959
Thanks for reporting this,
David

Perfect, did the job. Thanks for the update.

Great.  Thanks for letting me know.  The fix will be included in the next release.

Included in 3.8.0 🎉


CSHARP-2221: Add ReadPreference to TransactionOptions and update JSON driven transaction tests

Evergreen patch build:
https://evergreen.mongodb.com/version/5af5433cc9ec4463a9755b94

I could have sworn I added reviewers to this pull request already... but checking today I find there were none. I just added you.

Rebased and merged


TypeError: e.replace is not a function

Describe the bug
To Reproduce
Expected behavior
Screenshots
Applicable Versions:

Netlify CMS version<EMAIL_ADDRESS>Git provider: proxy
Browser version: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36

CMS configuration
backend:
  name: proxy
  proxy_url: http://localhost:8081/api/v1
  local_backend:
    url: http://localhost:8081/api/v1
media_folder: static/img
public_folder: /img
collections:
  - name: work
    label: Work
    folder: content/work
    create: true
    extension: .md
    format: frontmatter
    slug: "{{title}}"
    editor:
      preview: false
    fields:
      - label: Site Name
        name: title
        widget: string
      - label: Subtitle
        name: subtitle
        widget: string
      - label: Color
        name: color
        widget: select
        options:
          - label: Light Blue
            value: "#CDECF4"
          - label: Dark Blue
            value: "#266978"
          - label: Red
            value: "#E24854"
          - label: Brown
            value: "#5E1015"
          - label: Yellow
            value: "#FFB703"
          - label: Green
            value: "#A5CF00"
          - label: Black
            value: "#1B2D04"
          - label: Navy
            value: "#2E5559"
      - name: modules
        widget: object
        fields:
          - name: image_full_width
            label: Featured Image
            widget: object
            fields:
              - name: image
                label: Image
                widget: object
                fields:
                  - label: Featured Image
                    name: source
                    widget: image
                  - label: Alt
                    name: alt
                    widget: string
                    default: So says I!
          - name: two_column
            label: Two Columns
            widget: object
            fields:
              - label: First Column
                name: first_column
                widget: markdown
              - label: Second Column
                name: second_column
                widget: markdown
          - name: full_width_image
            label: Full Width Image
            widget: object
            fields:
              - label: Image
                name: full_width_image
                widget: image
              - label: Quote
                name: image_quote
                widget: object
                fields:
                  - label: Quote
                    name: quote
                    widget: string
                    default: Everything is awesome!
                  - label: Attribution
                    name: attribution
                    widget: string
                    default: So says I!
          - name: two_wide_images
            label: Two Image Row
            widget: list
            fields:
              - label: Image
                name: first_image
                widget: image
              - label: Image
                name: second_image
                widget: image
          - name: three_wide_images
            label: Three Image Row
            widget: list
            fields:
              - label: Image
                name: first_image
                widget: image
              - label: Image
                name: second_image
                widget: image
              - label: Image
                name: third_image
                widget: image
    publish: true
    type: folder_based_collection
    sortable_fields:
      - title
    view_filters: []
    view_groups: []
publish_mode: simple
slug:
  encoding: unicode
  clean_accents: false
  sanitize_replacement: "-"
isFetching: false
error: null

Additional context

Hi @adhoch, can you provide a reproduction scenario per our issue template https://github.com/netlify/netlify-cms/issues/new?assignees=&labels=type%3A+bug&template=bug_report.md&title=Please+replace+with+a+clear+and+descriptive+title


Why the attribute "String zip" exists?

Why the attribute "String zip" in the class "org.brunocvcunha.instagram4j.requests.payload.InstagramUser" exists?
I think that it's unused.

Addressed in rewrite or no longer relevant.


Union signatures should exclude "uncallable" callbacks, so methods like .map work on union containing empty array

Suggestion
When merging union signatures, skip "uncallable" callbacks: those that request a never callback argument. These functions can't be called, so they can be removed from consideration when building the function corresponding to a union signature.
💻 Use Cases
TypeScript sometimes infers empty arrays as having type never[]. Usually, this doesn't cause problems, until it gets unioned with another type, and you try to call it as a function/method:
function orDefault<T, D>(x: T | null, d: D): T | D {
    if (x === null) {
        return d;
    }
    return x;
}

const xs: string[] | null = ["a", "bc", "def"];

// y: string[] | never[]
const y = orDefault(xs, []);

// ERR: TypeScript 4.1
//  Each member of the union type
//    (<U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any) => U[])
//  | (<U>(callbackfn: (value: never, index: number, array: never[]) => U, thisArg?: any) => U[])
// has signatures, but none of those signatures are compatible with each other. (2349)

// ERR: TypeScript 4.2 (dev)
// Parameter 'item' implicitly has an 'any' type.(7006)
const yThen = y.map(item => item.length);
const yChain = orDefault(xs, []).map(item => item.length);

In this example, since the [] is typed as never[], the .map method has a union type with two incompatible types; one possibility is a string, number, string[] argument list returning a generic U, and the other is a never, number, never[] argument list returning a generic U.
In TypeScript 4.1, the two signatures were considered "incompatible", so attempting to call the function would raise an error. TypeScript 4.2 improves this situation slightly, since the function is now callable; however, it fails to infer the right types for the callback parameters, and so they get defaulted to any.
However, there's a generic rule which can be used to "fix" the union signature so that the correct typing machinery is activated! Since "legal" code can't create values of type never, legal code can't call functions with any argument having type never. For brevity, a callback where any of its required, non-rest parameters have type never is called "uncallable".
To avoid introducing too many new bugs or soundness holes, we can restrict this reasoning just to where union signatures are created. Specifically, when merging two callback types, if one of them is "uncallable" and the other is not, then we use the "callable" one for their intersection.

TypeScript currently handles a more-restrictive form of this check. It's able to see that (for example)

const mapNums: <R>(func: (item: number) => R) => R[]
    = null as any;
const mapNever: <S>(func: (item: never) => S) => S[]
    = null as any;
// mapSomething inferred: <R>(func: (item: number) => R) => R[]
const mapSomething = Math.random() < 1/2 ? mapNever : mapNums;

in this case, mapSomething has the same type as mapNums, since it can verify that the types are "compatible". The problem happens when an "irrelevant" type appears, which often occurs for "methods" since they have an implicit or explicit this parameter:
const mapNums: <R>(func: (item: number, x: string) => R) => R[]
    = null as any;
const mapNever: <S>(func: (item: never, y: number) => S) => S[]
    = null as any;
// mapSomething inferred: const mapSomething: (<S>(func: (item: never, y: number) => S) => S[]) | (<R>(func: (item: number, x: string) => R) => R[])
const mapSomething = Math.random() < 1/2 ? mapNever : mapNums;

now, the x and y parameters prevent tsc from assigning a subtyping relation between the two functions. However, since mapNever still can't be called, its type has effectively not changed from the previous example! So it's safe to merge them by treating it as a subtype still. That's what this change proposes, to handle some of the rough-cases where never doesn't aggressively "poison" the types it's wrapped in.
🔍 Search Terms

empty array map
"This expression is not callable"
Each member of the union type '((callbackfn: (value: Item, index: number, array: Item[]) => U, thisArg?: any) => U[]) | ((callbackfn: (value: never, index: number, array: never[]) => U, thisArg?: any) => U[])' has signatures, but none of those signatures are compatible with each other
ts(2349)
never type
incompatible callbacks

Vaguely related, but broader/different from this proposal: #40157

specific issue with empty tuples: #38514
more elaborate related case for ts(2349) not specific to arrays/never #38048

I previously opened and closed #42487 since I originally didn't know about the change in behavior in 4.2.
✅ Viability Checklist

My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

@weswigham what do you think?

I think this is morally equivalent to producing the union of the possibilities for the inferred parameter type, which iirc, we've declined to do in the past because it's a breaking change unless you're in noImplicitAny mode, and even then, there's no guarantee the types flow from the parameter to the return to make a valid signature (the typical example being two overloads with identical input and output types - you'd expect x => x to satisfy that, but it doesn't if you assign x a union of it's possible types).

Errr, scratch that, I'm thinking of overloads. For union's signatures our issue I'm this case is really that both signatures have generics, and those generics need to be reconciled. I actually thought I had a PR that merged generics when they came from the same base signature, and thus allowed the signatures to merge...

@weswigham it shouldn't be a breaking change for any existing code - TS 4.1 and below typically rejects anything with union signatures that are complicated enough to trigger this change.
Since TS 4.2(dev) fails to infer callback parameter types in the one case this doesn't work, so you'd need type annotation to get it to compile. In that case, the type signature might be slightly refined after this change, but not enough to reject existing annotations (since e.g. string[] is a subtype of string[] | never[]).
It also goes beyond generic code; this is a non-generic example:
const f: (ask1: (x: string, y: never) => void) => void = null as any;
const g: (ask2: (z: number, w: string) => void) => void = null as any;

const h = Math.random() < 1/2 ? f : g;

h((a, b) => {
	return;
});

f and g ask for two different callbacks:

f wants (x: string, y: never) => void
g wants (z: number, w: string) => void

Since f can't intend to call its callback, "morally", we only need to pass a function satisfying g's requirements. Thus, we type h( ... ) as if it were g( ... ) since f is "uncallable".
Also for the record, the implementation at #42559 didn't find any breakages in existing code, and I think it would be exceedingly unlikely to find any. Union signatures aren't common, and they're much less common when they ask for callbacks that ask for arguments with type never.

@weswigham I want to ping on this issue again, since it's something I have run into in a few different ways in TS.
This is not about merging generic params on signatures - tsc already does this.
This is just about skipping callback parameters when these signatures are merged.

Effectively, it's a much-more constrained version of the following typing rule (which is sound, but TS currently does not use):
((x: never) => Whatever) & AFunctionType
=
AFunctionType

Is this addressed by #42620?

All the cases I originally cared about seem to be solved in 4.3 beta, so looks good to me! Thanks!


Update dependencies

A new release would be great!

@ju5t Whoops. Changed. You're right. This wasn't intended. Sorry for that.


Exit if no tests were loaded

Same as errored tests: exit code 2

https://github.com/testingrequired/tf/blob/master/src/middlewear/runner.ts#L13


Update node version warning in devtoolsserver.ts

The warning says 16+ is required, when actually 20+ is required. I had 18 and was very confused with the warning until I looked at the source code.

nice fix thanks

Cool -- here is another PR for the docs -- https://github.com/microsoft/devicescript/pull/681


InkWhale Phase 2

Project Abstract
In this milestone, We will be adding auto calculation of reward liquidity for each staking pool and creating a comprehensive token launchpad.
Grant level

[X] Level 1:  Up to $10,000, 2 approvals
[ ] Level 2:  Up to $30,000, 3 approvals
[ ] Level 3:  Unlimited, 5 approvals (for >$100k: Web3 Foundation Council approval)

Application Checklist

[x] The application template has been copied and aptly renamed (project_name.md).
[X] I have read the application guidelines.
[X] Payment details have been provided (bank details via email or BTC, Ethereum (USDC/DAI) or Polkadot/Kusama (USDT) address in the application).
[X] The software delivered for this grant will be released under an open-source license specified in the application.
[X] The initial PR contains only one commit (squash and force-push if needed).
[X] The grant will only be announced once the first milestone has been accepted (see the announcement guidelines).
[ ] I prefer the discussion of this application to take place in a private Element/Matrix channel. My username is: @_______:matrix.org (change the homeserver if you use a different one)

@nad128668 thank you for the grant application. How the scope of this grant would help our ecosystem as an open-source software and not only benefit your company as part of the inkWhale product?

Hi @Noc2 and @dsm-w3f
Thanks for your feedbacks. I have removed the specific token from the application. The launchpad that we are working on is really one of the first launchpads using Ink!. It is one of the important elements in many blockchain ecosystem. With the code totally open-source, I am confident that many Ink! developers will benefits from our work.
The launchpad is part of InkWhale platform allows users to create their own PSP22 tokens; create sale phase with vesting plan and whitelist. It will let project creators to bring their token and product to the market quicker therefore enrich Polkadot ecosystem in general and Ink!-based blockchains in specific.


can u provide sample for Kore.ai bots ?

we are trying to run test cases using Kore.ai  bots deployed on azure can u give sample to integrate them

You can use the Directline connector for this.
Closed for long inactivity.


feat: lets break tokio rt on wasm

@maan2003 If the tokio's block_on fails on wasm, we should have a conditional fedimint_core::task::block_on and enforce using that with semgrep?

makes sense, we may want to just avoid block_on in client code

nice, finally failing

#4854 is a reaction to this, right?

yep

Can this be closed then?


DynamicForm Checkbox Element does not save value.

The DynamicForm Checkbox Element does not save its value when the form is submitted.
Steps

Create a form with a Checkbox.
View the form,  check the checkbox, and press submit.
The form is submitted but the checkbox value is never written to the database.

For a dynamic form to save a checkbox value, you have to specify a value for the checkbox element in the element editor.

Exactly. I keep forgetting that myself. Maybe we should add a note about it.

After some experimenting I managed to figure it out.   However,  if you are going to approach it this way rather than a simple binary (Checked/UnChecked),  you should have a value when checked and a value when not checked.     With the current description of Value I thought it would contain (True/False) as the state of the checkbox.


[pt] Update kube-apiserver.md

en PR https://github.com/kubernetes/website/pull/47743/files

Hi @Arhell!
Thanks for this, but the content of the new page isn't localized yet in Portuguese, so the link will lead to an empty page if we update it now 😕

Opened #48002 to track updates to the page so we can merge this PR.
/hold

Opened #48002 to track updates to the page so we can merge this PR.

I open a this PR as an effort to solve #48002.

/remove-lifecycle stale


Memory leak, all event listeners not are automatically removed, and the browser leaves in the heap vue listeners

Version
2.6.14
Browser
Version 97.0.4692.99 (Official Build) (64-bit) (Ubuntu)
Reproduction link
github.com
Steps to reproduce

Call method $destroy for element with id='app'.
Create Heap snapshot in browser .

Screenshot for steps:

1 step
2 step
And we see heap not cleared from Vue components.
But if we remove @click="myMetd" from line 5. and uncomment the code on line 30 in which we ourselves add a click event on the button element, and on line 33 we remove this event listening, then we see that the memory in the browser has really cleared :) .
Screenshot with cleaned heap:

I also checked memory leaks for prod builds:
Screenshot of prod build result with Vue event @click heap size 4.6mb:

Screenshot of prod build result without Vue event @click but have addEventListener and removeEventListener heap size 1.8mb :

What is expected?
VueComponents not exist in heap after destroy App.vue(this happens after manual removeEventListener)
What is actually happening?
VueComponents exist in heap after destroy App.vue (see memory heap size)

I saw a similar issue https://github.com/vuejs/vue/issues/5187 but the browser still doesn't remove the vue handlers.
Also in the documentation for 2.x vue, https://vuejs.org/v2/guide/events.html#Why-Listeners-in-HTML, the third point about the fact that vue does not remove event listeners is still faulty.

I think it maybe the fix has been merged but it hasn't been released yet.
https://github.com/vuejs/vue/pull/10085

Thank you)you are well versed in the problems of vue, are you a vue engine
developer?)
вт, 15 февр. 2022 г., 09:56 Che Guevara @.***>:

I think it maybe the fix has been merged but it hasn't been released yet.
#10085 https://github.com/vuejs/vue/pull/10085
—
Reply to this email directly, view it on GitHub
https://github.com/vuejs/vue/issues/12445#issuecomment-1039965174, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AXPIC3CZBHZHI25FSFARJVDU3IBI7ANCNFSM5M3RWS7A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

Honestly, I don't know, it depends on @yyx990803

Fixed but not released yet.

@posva when can we expect the release?

@posva any ETA for this one?

@posva  check it in 2.7.14, this bug doesn't reproduce !

Can 2.6.15 be published for this fix (the fix seems to have been merged to 2.7.0 which has breaking changes)

Can 2.6.15 be published for with the below fix
https://github.com/vuejs/vue/pull/10085


Remove leading slash from BLOG_SLUG url pattern

Gives error "?: (urls.W002) Your URL pattern '^/' has a regex beginning with a '/'. Remove this slash as it is unnecessary."
Mezzanine 4.1.0
Django 1.9.6
Python 3.4.4
MySQL 5.7.10
Darwin 15.5.0

Was already fixed in fdfafa47e038a397653f5afe898b84fa7402aa2e

Alright, I tested it again with BLOG_SLUG in settings to an empty string and it gives me a %2F after which is a leading slash. If I set BLOG_SLUG to 'blog' or anything else it works perfectly.

Thanks for the info, I see the problem now. The previous fix wasn't quite right though, I've pushed the correct fix in 5a8e38cdc44d693320729a2e4baf76051ed2541b


Returning true value of IsNullable from ClickHouseResultSetMetaData

ResultSetMetaData::isNullable method should return nullability of values in the designated column.
Currently, Clickhouse returns columnNoNulls for all columns including Nullable. This patch fixes the issue.

@serebrserg Any feedback on this pull request?

@serebrserg  any updates?


GVRViewSceneObject not working after migration from 3.2 to 4.0

Hi :)
Finally i'm migrating from old framework to new one. After migrating, old code that was showing Android Views is not working.
Code in 3.2
gvrContext.activity.runOnUiThread {
            val frameLayout = GVRFrameLayout(gvrContext.activity)
            View.inflate(gvrContext.activity, R.layout.left_panel, frameLayout)
            frameLayout.setBackgroundColor(Color.BLACK)
            frameLayout.layoutParams.width = 750
            frameLayout.layoutParams.height = 300
            val sceneObject = GVRViewSceneObject(gvrContext,frameLayout,gvrContext.createQuad(1.5f,1f))
            sceneObject.transform.positionZ = -2.5f
            sceneObject.transform.positionX = -1f
            sceneObject.transform.positionY = -1f
            addSceneObject(sceneObject)
        }

Code in 4.0
gvrContext.activity.runOnUiThread {
            val frameLayout = FrameLayout(gvrContext.activity)
            gvrContext.activity.registerView(frameLayout)
            View.inflate(gvrContext.activity, R.layout.left_panel, frameLayout)
            frameLayout.setBackgroundColor(Color.BLACK)
            frameLayout.layoutParams.width = 750
            frameLayout.layoutParams.height = 300
            gvrContext.activity.unregisterView(frameLayout)
            val sceneObject = GVRViewSceneObject(gvrContext,frameLayout,gvrContext.createQuad(1.5f,1f))
            sceneObject.transform.positionZ = -2.5f
            sceneObject.transform.positionX = -1f
            sceneObject.transform.positionY = -1f
            addSceneObject(sceneObject)
        }

In 3.2 i could see android view and it was working. In 4.0 i don't see this view. I've checked in debugger that view is created, inflated, but scene looks empty. Did i missed something during migration for GVRViewSceneObject?

Hi @felislynx-silae . Converted gvr-events to use your code and do this from onInit:
        gvrContext.getActivity().runOnUiThread(
                new Runnable() {
                    public void run() {
                        frameLayout = new FrameLayout(gvrContext.getActivity());
                        gvrContext.getApplication().registerView(frameLayout);
                        View.inflate(gvrContext.getActivity(), R.layout.activity_main, frameLayout);
                        frameLayout.setBackgroundColor(Color.WHITE);
                        frameLayout.getLayoutParams().width = 750;
                        frameLayout.getLayoutParams().height = 300;
                        gvrContext.getApplication().unregisterView(frameLayout);

                        GVRViewSceneObject sceneObject = new GVRViewSceneObject(gvrContext, frameLayout, gvrContext.createQuad(1.5f, 1f));
                        sceneObject.getTransform().setPositionZ(-2.5f);
                        sceneObject.getTransform().setPositionX(-1f);
                        sceneObject.getTransform().setPositionY(-1f);

                        gvrContext.getMainScene().addSceneObject(sceneObject);
                    }
                }
        );

It worked as expected for me. Do you notice any suspicious logcat messages?

@liaxim what tag i should look at?

I've runned app in developer mode and those are only "not ordinary outputs"
07-16 17:51:55.512 7733-7785/pl.fream.evryplacevr.gearvr.evr.debug W/gvrf: GVRActivity::leaveVrMode: ignored, have not entered vrMode
07-16 17:51:55.970 7733-7808/pl.fream.evryplacevr.gearvr.evr.debug W/VRSurfaceManager: VRSurfaceManager : setFrontBuffer
07-16 17:51:58.913 7733-7785/pl.fream.evryplacevr.gearvr.evr.debug E/GVRShaderTemplate: SHADER: generated shader #1 GVRTextureShader$a_texcoord
07-16 17:51:58.918 7733-7785/pl.fream.evryplacevr.gearvr.evr.debug E/GVRShaderTemplate: SHADER: generated shader #2 GVRTextureShader$u_texture-#a_texcoord#
07-16 17:51:58.923 7733-7785/pl.fream.evryplacevr.gearvr.evr.debug E/GVRShaderTemplate: SHADER: generated shader #3 GVROESShader

By the way:
Gradle dependencies
implementation 'org.gearvrf:framework:4.0.0'
implementation 'org.gearvrf:3DCursorLibrary:4.0.0'
implementation 'org.gearvrf:backend_oculus:4.0.0'

Can you try 4.0.1-SNAPSHOT instead of 4.0.0?

Sure, it'll take a while. 4.0.1 have more breaking changes to my code. I'll update you ASAP

If you are going through all the trouble to migrate, it is better to migrate to 4.0.1.

@liaxim I've made all changes but last thing that prevents me from run and check if views are visible:
Execution failed for task ':app:transformNativeLibsWithMergeJniLibsForEvryplaceOculusDebug'.
> More than one file was found with OS independent path 'lib/armeabi-v7a/libc++_shared.so'

Add the following packaging options:
    packagingOptions {
        pickFirst 'lib/*/libc++_shared.so'
    }

It works :) I can see my view.
Do you recommend some demo to look at new way to implement cursor events?
CursorActivationListener, CursorActivationListener are missing now so i believe they are replaced by new API

You could look at gvr-controller.

Thank you very much. I hope it'll work with Oculus GO too ;)

@liaxim Is it allowed to change mainScene or in 4.0.1 this will not work

@felislynx-silae Still works

I've get this exception after changing scene and using assetloader to load android resource (background photosphere)
07-17 13:06:16.292 31134-31297/? A/libc: Fatal signal 11 (SIGSEGV), code 2, fault addr 0x76c1f80a in tid 31297 (GLThread 5775)
07-17 13:06:16.519 32740-32740/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    Build fingerprint: 'samsung/zerofltexx/zeroflte:7.0/NRD90M/G920FXXU6ERD1:user/release-keys'
    Revision: '11'
    ABI: 'arm'
    pid: 31134, tid: 31297, name: GLThread 5775  >>> pl.fream.evryplacevr.gearvr.evr.debug <<<
    signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x76c1f80a
        r0 b7444000  r1 76c1f80a  r2 00000010  r3 00000000
        r4 ef7b5008  r5 cabd86e8  r6 cabd86f8  r7 cabd8b30
07-17 13:06:16.520 32740-32740/? A/DEBUG:     r8 cabd871c  r9 cabd8704  sl cabd8b20  fp 00000000
        ip cd422c38  sp cabd8588  lr cbc2b460  pc ef73f610  cpsr 000f0010
07-17 13:06:16.538 32740-32740/? A/DEBUG: backtrace:
07-17 13:06:16.539 32740-32740/? A/DEBUG:     #00 pc 00017610  /system/lib/libc.so (memcpy+156)
        #01 pc 0032845c  /system/vendor/lib/egl/libGLES_mali.so
        #02 pc 003287e8  /system/vendor/lib/egl/libGLES_mali.so
        #03 pc 0066a210  /system/vendor/lib/egl/libGLES_mali.so
        #04 pc 0068957c  /system/vendor/lib/egl/libGLES_mali.so
        #05 pc 0068abd4  /system/vendor/lib/egl/libGLES_mali.so
        #06 pc 00677634  /system/vendor/lib/egl/libGLES_mali.so
        #07 pc 00678200  /system/vendor/lib/egl/libGLES_mali.so
        #08 pc 00608090  /system/vendor/lib/egl/libGLES_mali.so (glCompressedTexImage2D+156)
        #09 pc 001271c9  /data/app/pl.fream.evryplacevr.gearvr.evr.debug-2/lib/arm/libgvrf.so (_ZN3gvr13GLBitmapImage16updateFromMemoryEi+180)
        #10 pc 00126f57  /data/app/pl.fream.evryplacevr.gearvr.evr.debug-2/lib/arm/libgvrf.so (_ZN3gvr13GLBitmapImage6updateEi+66)
        #11 pc 001218c5  /data/app/pl.fream.evryplacevr.gearvr.evr.debug-2/lib/arm/libgvrf.so (_ZN3gvr5Image14checkForUpdateEi+36)
07-17 13:06:16.540 32740-32740/? A/DEBUG:     #12 pc 00147703  /data/app/pl.fream.evryplacevr.gearvr.evr.debug-2/lib/arm/libgvrf.so (_ZN3gvr7Texture7isReadyEv+18)
        #13 pc 00137bb7  /data/app/pl.fream.evryplacevr.gearvr.evr.debug-2/lib/arm/libgvrf.so (_ZN3gvr10ShaderData9updateGPUEPNS_8RendererEPNS_10RenderDataE+46)
        #14 pc 00134c59  /data/app/pl.fream.evryplacevr.gearvr.evr.debug-2/lib/arm/libgvrf.so (_ZN3gvr10RenderPass7isValidEPNS_8RendererERKNS_11RenderStateEPNS_10RenderDataE+70)
        #15 pc 00141f1f  /data/app/pl.fream.evryplacevr.gearvr.evr.debug-2/lib/arm/libgvrf.so (_ZN3gvr10RenderData7isValidEPNS_8RendererERKNS_11RenderStateE+110)
        #16 pc 001226f7  /data/app/pl.fream.evryplacevr.gearvr.evr.debug-2/lib/arm/libgvrf.so (_ZN3gvr8Renderer13addRenderDataEPNS_10RenderDataERNS_11RenderStateERNSt6__ndk16vectorIS2_NS5_9allocatorIS2_EEEE+30)
        #17 pc 001227dd  /data/app/pl.fream.evryplacevr.gearvr.evr.debug-2/lib/arm/libgvrf.so (_ZN3gvr8Renderer19occlusion_cull_initERNS_11RenderStateERNSt6__ndk16vectorIPNS_11SceneObjectENS3_9allocatorIS6_EEEEPNS4_IPNS_10RenderDataENS7_ISC_EEEE+164)
        #18 pc 00120a9f  /data/app/pl.fream.evryplacevr.gearvr.evr.debug-2/lib/arm/libgvrf.so (_ZN3gvr10GLRenderer14occlusion_cullERNS_11RenderStateERNSt6__ndk16vectorIPNS_11SceneObjectENS3_9allocatorIS6_EEEEPNS4_IPNS_10RenderDataENS7_ISC_EEEE+38)
        #19 pc 0012265d  /data/app/pl.fream.evryplacevr.gearvr.evr.debug-2/lib/arm/libgvrf.so (_ZN3gvr8Renderer14cullFromCameraEPNS_5SceneEP8_jobjectPNS_6CameraEPNS_13ShaderManagerEPNSt6__ndk16vectorIPNS_10RenderDataENS9_9allocatorISC_EEEEb+792)
        #20 pc 00142a45  /data/app/pl.fream.evryplacevr.gearvr.evr.debug-2/lib/arm/libgvrf.so (_ZN3gvr12RenderTarget14cullFromCameraEPNS_5SceneEP8_jobjectPNS_6CameraEPNS_8RendererEPNS_13ShaderManagerE+40)
        #21 pc 00143149  /data/app/pl.fream.evryplacevr.gearvr.evr.debug-2/lib/arm/libgvrf.so (Java_org_gearvrf_NativeRenderTarget_cullFromCamera+88)
        #22 pc 01331ce1  /data/app/pl.fream.evryplacevr.gearvr.evr.debug-2/oat/arm/base.odex (offset 0x1218000)

GOLog.txt

Interesting thing is that if i dont call this to setup background sphere in first scene, call in second sphere results in loading background. If i go back to first scene and call this, it results in black texture. (Or if i call it on first scene and then on second, second one have black texture). Third call on third scene causes crash of GL thread
        val texture =
            gvrContext.assetLoader.loadTexture(GVRAndroidResource(gvrContext, "phl.astc"))
        sphere.renderData.material.mainTexture = textureLeft

@liaxim i've made change, that on one singler scene if i click a button, new texture is loaded for sphere  (i'm rotating 3 different images). Results ->
Initial launch (without texture) white background
1click -> proper texture
2click -> after a while second texture is loading
3click -> background is black
4click -> background is black
5click -> sometimes texture is loaded
6click -> black background
In most cases, after first click, asset loader stops loading properly any textures. If i do this after changing a scene asset loader causes crashes described above

Another insight: after modifying code to load 4 sphere textures inside Main onInit (before setting main scene), i can swap texture and it works correctly. This breaks functionality of downloading assets from web and setting them as background. I think that on 4.0.1 there might be something with assetloader

@felislynx-silae Will look into it. It will be quicker if you could share some sample app that reproduces the problems.

Sure, i'm extracting necessary code right now

@liaxim Murphy's law. Very very simple code, works o_O.
https://github.com/felislynx-silae/GearBugSample (develop)
This is simplified version which doesn't inflate all layouts, do network calls. But workflow, threading is the same. (code is copy pasted so it is not different from main app)
I'll add more code until i'll recreate issue.
Damn murphy's laws.

There are two different crashes in the logs. It is clear that invalid memory access is occurring. Switching the scenes leads to dangling pointers left around somewhere.

What is the memory usage of your app? When you switch the scene do you keep references to the previous scene? In other words, do you think a lot of garbage collection goes on?

@liaxim second crash from txt file is present only on 4.0.1 (JNI DETECTED ERROR IN APPLICATION: input is not valid Modified UTF-8: illegal start byte 0xaa). This is happening while saving Retrofit body to a file (astc file is compressed texture). On 3.2 no problems, on 4.0.1 some spheres are causing this issue :). I've read that this might be due to 32/64 libs. But no good solution to avoid this. Right now i've patchworked around this.
val fileReader: ByteArray? = ByteArray(4096)
inputStream = body.byteStream()
outputStream = FileOutputStream(targetFile, append)
while (true) {
val read = inputStream?.read(fileReader) ?: -1 //<-- this line is causing crash
if (read == -1) {
break
}
outputStream.write(fileReader, 0, read)
}
outputStream.flush()

Tried to reproduce your problem by frequently changing the main scene and adding photospheres using background threads. No luck.
The UTF-8 error I believe is a symptom of memory corruption actually. It happens while accessing the filename associated with a GVRImage. It looks to me a bad pointer to a BitmapImage is being used. The format doesn't matter when it comes to the filename.
Do some of the images you load from the network take long time? Like tens of seconds.

Some of them may take a long time, but GVRImage is not used until file is saved. method above must have provide callback to scene, that it is safe to use an image. It wasn't a problem before :).
Would it help if i would provide obfuscated APK where the problem occurs?

It might. Send it to<EMAIL_ADDRESS>

@liaxim i've forgot about one thing... OSIG

When i get "Texture X loaded from cache" black screen occurs:
07-20 08:39:45.754 18713-18713/pl.fream.evryplacevr.gearvr.evr.debug V/ASSET: loadTexture phl.astc
    loadTexture phr.astc
07-20 08:39:45.755 18713-19008/pl.fream.evryplacevr.gearvr.evr.debug V/ASSET: Texture: phl.astc loaded from cache
07-20 08:39:45.757 18713-19003/pl.fream.evryplacevr.gearvr.evr.debug V/ASSET: Texture: phr.astc loaded from cache

I've updated github project, bug is reproducible on S6. it depends how many different textures i'll load.

The particular crash in the latest GearBugSample is a problem in our Java/C++ objects lifecycle management. It looks to be raised in GVRCursorController.setScene which reacts to main scene changes.
You could easily work around it by not switching the scenes. I am looking at it but have no meaningful progress.

Have a fix for you. Wouldn't be surprised it is not the only one you need.

@liaxim do you think this will also fix the black texture issue from my commit: 4a0d519e9493b1ba630081cc957492b1580796d0?

Checked the latest GearBugSample.
There is a reference to 3.JPG when the file is named p3.JPG.
Also phl.astc and phr.astc do not seem to be valid ASTC-compressed files.

I've used https://github.com/ARM-software/astc-encoder
with this command
astcenc -c ./phl.jpg ./phr.astc 6x6 -medium
I'm correcting 3.JPG and i'll try again to reproduce

@liaxim i can confirm, that using JPG's works. It is strange that ASTC is not working now on new lib. On previous version using those ASTC's gave us enormous performance boost.

Decoding to jpeg with the Mali tools failed for me with possible corruption error. Also the astc file is surprisingly large. If you include the jpg's too in the repo I will try encoding them also. We will get astc working if there is a problem.

@liaxim Pushed to github. Until this is somehow resolved i've switched my development version to JPG's to finish up upgrading. Production version is using ASTC (with 3.2 framework)

It doesn't look to be an inherent problem in our compressed images support. More like an issue with the Image/Texture classes in the scenario your app exercises.

Traced it to a problem with the texture parameters. We have a mIsCompressed flag that looks to be reset (or never set) correctly whenever the texture is created again and again for the same image. We cache the so called images but not the so called texture objects.

@felislynx-silae https://github.com/Samsung/GearVRf/pull/1963 fixes your problem.

@felislynx-silae Fix has been merged. Snapshots updated too. Please try again.

@liaxim i've checked latest snapshot:
W/System.err:     at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:146)
        at java.io.FileInputStream.<init>(FileInputStream.java:99)
        at org.gearvrf.utility.MarkingFileInputStream.<init>(MarkingFileInputStream.java:34)
        at org.gearvrf.GVRAndroidResource.openStream(GVRAndroidResource.java:377)
        at org.gearvrf.GVRAndroidResource.getCompressedLoader(GVRAndroidResource.java:671)
        at org.gearvrf.asynchronous.GVRAsynchronousResourceLoader$2.run(GVRAsynchronousResourceLoader.java:205)
        at org.gearvrf.utility.Threads$1.run(Threads.java:108)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)

@felislynx-silae Could you please provide further details? Are you getting a FileNotFoundException?


Handle Discourse change 'Remove Presence' mixin

Eviltrout has commited this: https://github.com/discourse/discourse/commit/02a968bd27c32a7413fdb63f696abfcecd6e018e
...which removed the Presence mixin, rendering "this.blank" unusable. Substitute with Ember.isEmpty and remove the import line, and we're good to go. Addresses https://github.com/gdpelican/babble/issues/21

Sweet, sounds good.


Formatting is not stable

I'm getting this message on this following file:
https://github.com/horo-fox/horo.services/blob/main/src/pages/journal/[slug].astro
With this following config:
{
    "excludes": ["**/node_modules", "**/*-lock.json"],
    "plugins": [
        "https://plugins.dprint.dev/typescript-0.91.6.wasm",
        "https://plugins.dprint.dev/json-0.19.3.wasm",
        "https://plugins.dprint.dev/markdown-0.17.6.wasm",
        "https://plugins.dprint.dev/g-plane/malva-v0.9.1.wasm",
        "https://plugins.dprint.dev/g-plane/markup_fmt-v0.12.0.wasm"
    ],
    "indentWidth": 4
}

(I haven't minimized this cause there's a more important failure mode I'm encountering; I'll make a bug report for that first)

I suspect this is due to malva because when I remove that from the plugins list, this stops outputting like this. Let's see if I can reproduce with just that.


New package: AdoptOpenJDK.OpenJDK.17 version <IP_ADDRESS>

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.0 schema?

Microsoft Reviewers: Open in CodeFlow

Derp, this package is here https://github.com/microsoft/winget-pkgs/tree/master/manifests/e/EclipseAdoptium/Temurin/17


Add Metadata Column To UAC QID Links

Motivation and Context
Need a metadata column to add extra information
What has changed
SMS fulfilment now allows JSON metadata to be added into UI
How to test?
Build images on card and then run ATs
Run support tool ui and choose a request SMS fulfilment for a case and then add metadata IN JSON FORMAT
Links
https://trello.com/c/7v6yksSr

 SIS2: Add metadata to UACQidLinks (8)


Date-fns version updated

Trying to update date-fns version in the project.
Unfortunately I wasn't able to test my code and I haven't enough time to dig more into it.

I'll try this out and merge if it all works well n good. :) thanks for the PR.

Thanks so much. Merged & Released as 3.1.7-beta.3


Feature: added support for Atom feed

When setting up a status page for Babylon, I found one of our dependencies (Auth0) provided an Atom feed, but not an RSS feed.
I have tried to add the functionality in keeping with the style of the rest of the app, but I am not a regular JS developer, so please feel free to critique the style.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: New Relic CLI:x: wpoynterNew Relic CLI seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Do I need to commit the auto-generated NR1 ID? I assumed it was just to create a separate app for local development and removed it from the final commit.

 My bad. Closing issue.


fix(regional): use new gridualizer to calculate breaks, and switch to…

… pow(2) scale.
This pow scale provides smaller classes as accessibility increases, meaning there is more definition
in the highest accessibility areas.
This depends on conveyal/gridualizer#12.

Current coverage is 54.07% (diff: 0.00%)

Merging #235 into dev will decrease coverage by 0.02%

@@                dev       #235   diff @@
==========================================
  Files           180        180
  Lines          3791       3793     +2
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           2051       2051
- Misses         1740       1742     +2
  Partials          0          0

Powered by Codecov. Last update bdfb90f...d4a3166


Fixing running PostgreSQL locally

This is a PR for the playground itself. Without this change, running master branch locally fail for me with:
[error] failed to initialize database, got error failed to connect to `host=/tmp user=gorm database=gorm`: dial error (dial unix /tmp/.s.PGSQL.9920: connect: no such file or directory)
2020/08/05 21:41:25 failed to connect database, got error failed to connect to `host=/tmp user=gorm database=gorm`: dial error (dial unix /tmp/.s.PGSQL.9920: connect: no such file or directory)

Unstale.


[RESOLVED] meltano.com is down (404)

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2886
Originally created by @aaronsteers on 2021-08-10 13:30:14

Meltano.com and www.meltano.com are reporting 404:

View 13 previous comments from the original issue on GitLab


What is the theme in the screenshot?

Hi Jonathan, thank you so much for creating this, I would love to know what theme you are using in the screenshot, and any other bits of information on how I could replicate this.
Kind regards,
N

@psyanite I'm using oh-my-zsh with the spaceship prompt


fix: Fixes for PR #13 comments

I updated according to the comments in PR #13. With the exception of putting the enumerated endpoints into the integration databag.

Please change the PR name and description to contain what it actually contains, "Fixes PR#13 comments" is not very descriptive.

Let's change the PR title - it does not only implement integration with hydra, but also adds login_endpoints interface.

Please fix the IndexError issue


Remove version: igoogolx.lux version 1.10.0

This version is older than what has been set in max-versions-to-keep by the publisher.
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/igoogolx/lux/releases/download/v1.10.0/lux-1.10.0+1.10.0-windows-setup.exe
OK
(Automated message - build 919)


Use release of represent-boundaries

With even more commits by a James.

In retrospect, setup.py already uses represent-boundaries release. requirements.txt can be what it wants.

:+1: thanks!

Ah, very good :)


feat(icons): dc-icon--spin makes any icon rotate in-place

Closes #350
Additionally I also alphabetically ordered icons in the demo. Closes #413

👍

The feature itself looks good to me but I still see the link icon broken...

:-1:

@dami-gg @rbarilani I have updated the gulp-iconfont version required. it does build correctly on travis as well.

@sambhav-gore if you change that then we also need to change the Node dependency version since for instance in my case I fulfill that requirement by having 6.2.2 but I can't do npm install because it triggers an incompatible module error on that library you changed

@dami-gg @rbarilani I have updated required node version to 7.0.0 now.

:+1:

👍


[Project] New expense submission V2

Overview
Complete and release the new expense submission and have it replace the legacy expenses submission flow.
Ownership
@iamronen @hdiniz @aminakazi @gustavlrsn
Note: Project owner responsibilities include coordinating all the different people that need to contribute to the project, defining specs and goals, communicating project progress, being the point person for decisions, QA, documentation, and a plan for ongoing maintenance. If the project owner can't continue, they need to hand the role over to another person explicitly.
Desired Outcomes

Tasks
### Tasks
- [ ] Design iteration on collective picker in expense flow
- [x] Add expanded view of payout methods picker
- [x] Add edit/delete payout method options
- [x] Add vendor picker option
- [x] Connect update legal name actions to API
- [x] Add option to upload expense attachments via graphql
- [x] Add animation for completed steps in step list
- [x] Add ability to edit draft expense in current expense flow
- [x] Add summary and sucess pages at end of expense flow
- [ ] Add cookies for acknowledged expense policies

Context & related issues

https://coda.io/d/Make-Open-Collective_dnHLKv7oLV0/Currently_suSgoFhs#CurrentProjects_tuTeF75U/r230&view=modal

Last week

Iterated on UI components

This week

[ ] Kickoff project
[ ] Put up a plan for implementation/release
[ ] Iterate & discuss on UI components

This week

[x] Design sync: discuss UI alternatives
[ ] Finalize functionality

[ ] manage payout methods
[ ] submit form

This week

[ ] Decisions on UX/UI
[ ] Schedule workshops for finetuning colors/spacing/...
[ ] Edit payout methods

This week

[ ] Error handling/displaying
[ ] Review (and eventually implement invoice generation) (see https://github.com/opencollective/opencollective/issues/3865)
[ ] UI tweaks
[ ] Fix test pipelines

This week

[ ] Review UI tweaks

This is done, but we still need https://github.com/opencollective/opencollective/issues/7683 and a significant QA pass before we can release it more broadly.


Hauki 222 loading indicator

Move loading of date-periods inside opening-hour component and add loading and error state indicators/texts.

Move loading of date-periods inside opening-hour component and add loading and error state indicators/texts.

Not sure if the loading indicator stands out enough for people to notice it? Though not that big of a deal. Would it stand out more if we horizontally center it?

Good improvement! 💪

I could first merge the HDS-library update PR. The we could use the new spinner


Endian prefix

With this feature the user can control endianness by prefixing a field with le or be.
Also I changed AssertionError to Defect since the former are deprecated.

Looks good, but we should check and verify that only fields with a full set of bytes are possible to attach the be/le rule to. For example a leu4 doesn't make any sense as little-endian refers to the byte-endianess and u4 is only 4 bits long. So be and le should only be available when size mod 8 == 0.

Yes, it's an issue to address. What you are saying is not entirely true though. You can have the concept of endianness within a byte. In fact tools like KS allow you to specify both endianness and bit-endianness separately.

Yes, you can, but this doesn't do bit-endianess it does byte-endianess and should therefore not work when it doesn't apply. If someone wants to add that in the future then an additional thing can be added, but for now it should verify that size mod 8 == 0.

Agreed. Just wanted bit-endianness to be mentioned here for future reference. I'll implement the checking, keep the PR open.

Before this makes it into the syntax, we should discuss the alternative of postfixing instead of prefixing. Ex. u8le instead of leu8. I think postfix is the more natural syntax. The reason I chose prefix initially is because it was easier to implement(le/be are expected always at slice 0..1 of the identifier string). Anyhow since we are extending the syntax it's worth the debate. For example how would the syntax look like if bit endianness is also implemented? Have to be smart now so that the syntax is kept extensible and not overly complicated.

I disagree with it being more natural. I read leu8 as "little-endian unsigned 8-bit word" while u8le reads "unsigned 8-bit word, little-endian". Since it defaults to big endian it would also be possible to use lu8 and u8 for the two versions (and using only one letter, as all the other symbols are single-letter). Unless of course we want to (and I think we might) set the endianess as the default for an entire block, in that case we would need both b and l modifiers. Initially I was also thinking of using < and >, but those might be confusing, and possibly worse to implement. Definitely a discussion to be had, these are just the ideas I've had, curious what you think.

I like your idea of keeping all symbols single-letter. This way in the future we could even allow them to be ordered arbitrarily (ex. ul and lu could both be valid and have the same effect). Now I am thinking of such a syntax where we have many different single-letter specifiers before the size.
Using prefix operators like </> is equally easy to implement since we can check if node is nnkPrefix, unwrap it, specify endian (or whatever), and then continue processing the inner node. Though it does go against the above idea (doesn't allow mixing order), so I think it composes less nicely and should only be used for more special cases, if there are any.

Are there instances where the endianess will change within a single binary file? I was thinking it would just need to be an optional input parameter to the to the createParser macro
createParser(simple, littleEndian):
    u8: unsignedeightbitinteger

with littleEndian being the enum from the systems module

Are there instances where the endianess will change within a single binary file?

Sure.

I was thinking it would just need to be an optional input parameter to the to the createParser macro

This mixes up things though because these extra parameters are currently only used to provide user with fields defined in an outer parser.

I agree that you should be able to set the default endianes for a parser. Not quite sure what you mean @sealmove.

Shall we merge this?

I'll have to look over your most recent changes, but this looks good so far. We can add the default later. Expect this to be merged very soon.


HiFi Wireframe Updates (Sprint 8.3)

Updates to be made to this version of the prototype: https://xd.adobe.com/view/c103c998-65ff-432a-b1f9-c586ebbceafa-9450/
Updates to be made:

Update the left-hand menu (Screens 1 and 2)
Remove Expand option from Screens 5,6,7,8,11 and 13)
Add the Test Summary Section
Add scroll bars to enable users to scroll through the entire data

https://app.zenhub.com/files/287570343/89800e34-cc4e-44dd-a86b-5e6c4dcd10d1/download

XD prototype: https://xd.adobe.com/view/c103c998-65ff-432a-b1f9-c586ebbceafa-9450/


Adjusted README

and added some butts

These changes to the readme (and the butts) sure look good!


[Bug] : #176 Dark mode is not functional in about us page

🚀Pull Request:
Issue : [Dark mode is not functional in about us page] #176
Fix Dark Mode Functionality on "About Us" Page
This PR resolves the issue where the "About Us" page does not properly switch to dark mode when toggled. Currently, while other pages on the site reflect the dark mode setting correctly, the "About Us" page remains in light mode.
Bug Description: Dark mode is not functioning properly on the "About Us" page.
Changes Made

Modified the JavaScript function responsible for toggling the theme to include a specific selector for the "About Us" page.
Verified that the changes do not affect the dark mode functionality on other pages.

Steps to Test

Navigate to the "About Us" page.
Toggle dark mode using the switch or button.
Verify that the "About Us" page now correctly reflects the dark mode styling.

Former Behaviour
Before this fix, the "About Us" page remained in light mode even after dark mode was activated.
Behaviour after fix
After the changes, toggling dark mode should result in the "About Us" page transitioning to dark mode, consistent with the behaviour of other pages.
Screen recording to show the working of theme toggle :
https://github.com/user-attachments/assets/b53d3468-6913-47c3-b106-2e945f01e820

@param-code Please review and merge the code ASAP and use the labels of hacktober fest, gssoc extended and level you see fit for the bug fixation.


Task view icons get hidden if message is long

Azure Data Studio Version:
Dev Builds

Steps to Reproduce:
If a task fails with long error (or has a long message) the task view icons  get hidden

Tagging as Data Explorer because we don't have a task view label

@anthonydresser

This seems like an easy fix, adding to Planning


tests/e2e: EnableNsMetrics and EnableDebugServer enabled by default

A new option to configure tagging the Namespaces with OSM annotations
to expose prometheus endpoints have been added, and are enabled by default.
Minor also: enable Debug server by default for all testing, when
not overriden by the test.

Tests                  [X]

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?
No

Codecov Report

Merging #2130 (180c606) into main (388f828) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2130      +/-   ##
==========================================
- Coverage   58.70%   58.69%   -0.01%
==========================================
  Files         144      144
  Lines        5930     5936       +6
==========================================
+ Hits         3481     3484       +3
- Misses       2446     2449       +3
  Partials        3        3

Impacted Files
Coverage Δ

pkg/envoy/rds/response.go
30.43% <0.00%> (+1.86%)
:arrow_up:

Continue to review full report at Codecov.

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


bulk create in batches to lower memory footprint and speedup lookups

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

10 of 15 (66.67%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.06%) to 69.894%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

compass/dao/rad_csv.py
10
15
66.67%

Totals

Change from base Build<PHONE_NUMBER>4:
-0.06%

Covered Lines:
2844

Relevant Lines:
4069

💛  - Coveralls