[BUG]

Describe the bug
if get array from range the Includes() function is not seem to work.
To Reproduce
Steps to reproduce the behavior:
Public Sub Test()
Dim arrBA As New BetterArray
'----------------------
arrBA.FromExcelRange Sheet1.Range("G7:I10")
Debug.Print arrBA.Includes(3)
End Sub
Expected behavior
exprected result is true if the range contains the value 3, but the result is always false.
Screenshots

Operating System:

Windows 10

Host Application:

MS Excel,

An eye bird view put me on the path that there is a error/typo in your range definition. Actually Sheet1.Range("G7:I10") doesn't content the value you are trying to find. Your data range, looking at the image, is Sheet1.Range("G1:I4"). Fix and try it again.

@ws-garcia thanks for your comment.
it worked after using  recurse:=true

Please @fshhady, close the issue as completed.


Release Binaries for Apple Silicon

Currently, this repo does not produce the binary for Apple Silicon.

Binaries for Apple Silicon are available starting from v0.2.0.


(Donkey Car: Epoch failure during train command) Error occurred when finalizing GeneratorDataset iterator: Failed precondition: Python interpreter state is not initialized.

Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes, uses Donkey Car train function.
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): I am not sure, using Anaconda Prompt
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):
TensorFlow version (use command below): 2.4.0 (have also tried 2.3.0 and 2.3.2)
Python version: 3.7.9
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: 10.2
GPU model and memory: GTX 1080 * GB

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with:

TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"

Describe the current behavior
When executing the Train command, it eventually fails with error: W tensorflow/core/kernels/data/generator_dataset_op.cc:103] Error occurred when finalizing GeneratorDataset iterator: Failed precondition: Python interpreter state is not initialized. The process may be terminated. [[{{node PyFunc}}]]
Describe the expected behavior
100 Epochs should be ran through.
Standalone code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.
(donkey) C:\Users\Kelvin>python C:\Users\Kelvin\mycar\train.py --tub C:\Users\Kelvin\mycar\data\ --model C:\Users\Kelvin\mycar\models\mypilot.h5
Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.
Sorry if anything is unclear, I am fairly new to this. This is in reference to autorope/donkeycar#742 . Basically, we are trying to train a neural network and go through 100 Epochs, but run into this error. I have tried with 2.3.2 and 2.4.0 and updated Cuda 10.2 and updated my graphics drivers and have had no luck.
Here is the full log when I run into the issue:
console with 2.4.0.txt

@kelvham
Will it be possible to share colab link or simple standalone code with supporting files to reproduce the issue in our environment.It helps us in localizing the issue faster.Thanks!

@kelvham
Will it be possible to share colab link or simple standalone code with supporting files to reproduce the issue in our environment.It helps us in localizing the issue faster.Thanks!

@ravikyram I am not sure exactly what code you'll need, as I was following a step-by-step guide that clones another github repo, the important pages of the instructions are http://docs.donkeycar.com/guide/host_pc/setup_windows/ and http://docs.donkeycar.com/guide/train_autopilot/ .

@ravikyram I am not sure exactly what code you'll need, as I was following a step-by-step guide that clones another github repo, the important pages of the instructions are http://docs.donkeycar.com/guide/host_pc/setup_windows/ and http://docs.donkeycar.com/guide/train_autopilot/ .

@kelvham
TensorFlow v2.4 is built and tested against CUDA 11.0 (not 11.1) and cuDNN 8
Could you please check if you are facing the same issue with TF v2.4, CUDA 11.0 and cuDNN 8.Thanks!

@kelvham
TensorFlow v2.4 is built and tested against CUDA 11.0 (not 11.1) and cuDNN 8
Could you please check if you are facing the same issue with TF v2.4, CUDA 11.0 and cuDNN 8.Thanks!

@ravikyram it failed instantly with that setup you outlined
TF 2.4, CUDA 11.0, cuDNN 8.txt

@ravikyram it failed instantly with that setup you outlined
TF 2.4, CUDA 11.0, cuDNN 8.txt

Hi @kelvham ! I checked the log in above text file.  Your device does not seem to comply AVX instructions which might be causing OOM in first case.  Please refer these threads to  build Tensorflow in your device from source . You can also constrain memory growth using to avoid OOM issue. Attaching relevant threads for reference .Ref 1, 2, 3 Thanks!

@mohantym Thank you for the reply, as you can see this thread is from over a year ago and I have since disassembled my bot. If I ever pursue the project again I will keep this in mind!
Thanks again!!

Ok @kelvham ! Closing this issue for now. Feel free to re-open if you need further assistance . Thank you!


Py 3 compatibility using Six

This uses Six to replace “basestring” and the StringIO workaround I introduced in Pull Request #2, and to instantiate a metaclass.
I also included a new test case which would indicate that the metaclass was previously not working in Python 3, although it requires syntax fixes from a separate branch to run.

Very nice! Thanks a lot!


Add support for the text input menu item (again)

Almost exactly the same than https://github.com/JamesWilko/Payday-2-BLT-Lua/pull/7
For some reason, this old PR has not been included in BLT2, I've tested this one with current BLT and it works fine.

This, once applied causes this crash, with several mods. It seems that adding it will have to change some things in somes mods
Application has crashed: C++ exception
mods/Super Skin Swapper/Lua/mod_settings.lua:63: attempt to index global 'MenuHelper' (a nil value)
SCRIPT STACK
Call() @mods/base/req/core/Hooks.lua:109
init() @mods/base/lua/MenuManager.lua:11
new() core/lib/utils/coreclass.lua:35
original() lib/setups/setup.lua:330
init_managers() @mods/base/req/core/Hooks.lua:260
init_managers() lib/setups/menusetup.lua:229
core/lib/setups/coresetup.lua:379

Callstack:
     payday2_win32_release  (???)     ???
     payday2_win32_release  (???)     ???
     payday2_win32_release  (???)     ???
                  KERNEL32  (???)     BaseThreadInitThunk
                     ntdll  (???)     RtlGetAppContainerNamedObjectPath
                     ntdll  (???)     RtlGetAppContainerNamedObjectPath
     payday2_win32_release  (???)     zip_get_name

I haven't had to change anything in Keepers. Out of curiosity, I installed the mentioned Super Skin Swapper, accessed its options menu and it worked fine.
No MenuHelper class at all? My guess is something went wrong when you copypasted the code, preventing the whole file to load.

please merge, the pr is just fine, and the crash report is bs.


Download and play

Hello, i'm trying to download a sound from the network and playing the sound after. I can download de mp3 but impossible to play the sound with react-native-sound.
downloadFileAndPlay()
    {
        console.log('Download');

        const downloadDest = RNFS.DocumentDirectoryPath + '/sample.mp3';
        const ret = RNFS.downloadFile(
            {
                fromUrl: 'http://www.julien-gustin.be/files/sample.mp3',
                toFile: downloadDest
            }
        );
        ret.promise.then(res => {
            console.log(res);
            // Load the sound file 'whoosh.mp3' from the app bundle
            // See notes below about preloading sounds within initialization code below.
            console.log(downloadDest);
            var whoosh = new Sound(RNFS.DocumentDirectoryPath + '/sample.mp3', '', (error) => {
                if (error) {
                    console.log('failed to load the sound', error);
                    return;
                }
                // loaded successfully
                console.log('duration in seconds: ' + whoosh.getDuration() + 'number of channels: ' + whoosh.getNumberOfChannels());
            });

            if(whoosh.isLoaded()){
                console.log('LOADED');
            }else{
                console.log('NOT LOADED');
            }

            // Play the sound with an onEnd callback
            whoosh.play((success) => {
                if (success) {
                    console.log('successfully finished playing');
                } else {
                    console.log('playback failed due to audio decoding errors');
                }
            });

        }).catch(err => {
            console.log(err);
        });
    }

It says that it's not loaded and after "playback failed due to audio decoding errors"
I don't understand why if my sound is downloaded and in the phone
Does anybody can help me ?

Ok I found...
downloadFileAndPlay()
    {
        console.log('Download');

        const downloadDest = RNFS.DocumentDirectoryPath + '/sample.mp3';
        const ret = RNFS.downloadFile(
            {
                fromUrl: 'http://www.julien-gustin.be/files/sample.mp3',
                toFile: downloadDest
            }
        );
        ret.promise.then(res => {
            console.log(res);
            // Load the sound file 'whoosh.mp3' from the app bundle
            // See notes below about preloading sounds within initialization code below.
            console.log(downloadDest);
            var whoosh = new Sound(downloadDest, '', (error) => {
                if (error) {
                    console.log('failed to load the sound', error);
                    return;
                }
                // loaded successfully
                console.log('duration in seconds: ' + whoosh.getDuration() + 'number of channels: ' + whoosh.getNumberOfChannels());

                if(whoosh.isLoaded()){
                    console.log('LOADED');
                }else{
                    console.log('NOT LOADED');
                }

                // Play the sound with an onEnd callback
                whoosh.play((success) => {
                    if (success) {
                        console.log('successfully finished playing');
                    } else {
                        console.log('playback failed due to audio decoding errors');
                    }
                });
            });

        }).catch(err => {
            console.log(err);
        });
    }

just try your demo code and it works for me,
update your package and try it again, it should be closed
btw, nice music.


Add LIBBPF_LIBRARIES to bpf_attach_kprobe build

When using libbcc-no-libbpf.so as bcc library,
we need to link the test also with libbpf.so,
otherwise the test compilation fails on missing
libbpf symbols.
/usr/bin/c++   -DLIBBCC_ATTACH_KPROBE_SIX_ARGS_SIGNATURE
CMakeFiles/cmTC_ddd8d.dir/src.cxx.o  -o cmTC_ddd8d
-Wl,-rpath,/opt/bcc/lib64 /opt/bcc/lib64/libbcc-no-libbpf.so
/usr/bin/ld: /opt/bcc/lib64/libbcc-no-libbpf.so: undefined reference to<EMAIL_ADDRESS>/usr/bin/ld: /opt/bcc/lib64/libbcc-no-libbpf.so: undefined reference to<EMAIL_ADDRESS>/usr/bin/ld: /opt/bcc/lib64/libbcc-no-libbpf.so: undefined reference to<EMAIL_ADDRESS>/usr/bin/ld: /opt/bcc/lib64/libbcc-no-libbpf.so: undefined reference to<EMAIL_ADDRESS>/usr/bin/ld: /opt/bcc/lib64/libbcc-no-libbpf.so: undefined reference to<EMAIL_ADDRESS>

weird ci failure, ill rerun it
 Post Cache docker image
2m 13s
    at FSReqCallback.wrapper [as oncomplete] (fs.js:470:5)
Post job cleanup.
/bin/tar --posix --use-compress-program zstd -T0 -cf cache.tzst -P -C /home/runner/work/bpftrace/bpftrace --files-from manifest.txt
[warning]uploadChunk (start: 67108864, end: 100663295) failed: Cache service responded with 503
/home/runner/work/_actions/actions/cache/v2/dist/save/index.js:3136
                        throw new Error(`Cache upload failed because file read failed with ${error.message}`);
                        ^

Error: Cache upload failed because file read failed with EBADF: bad file descriptor, read
    at ReadStream.<anonymous> (/home/runner/work/_actions/actions/cache/v2/dist/save/index.js:3136:31)
    at ReadStream.emit (events.js:210:5)
    at internal/fs/streams.js:167:12
    at FSReqCallback.wrapper [as oncomplete] (fs.js:470:5)

I wonder if it makes sense to start making libbpf a requirement now that it is available as separate tree: https://github.com/libbpf/libbpf. If we vendor (git submodule) the libbpf version we need we can clean up some of the library mess and  I think it will clean up some of our library mess and libbpf related ifdefs:
HAVE_LIBBPF
HAVE_LIBBPF_BTF_DUMP
HAVE_LIBBPF_BTF_DUMP_EMIT_TYPE_DECL
HAVE_LIBBPF_MAP_BATCH

I wonder if it makes sense to start making libbpf a requirement now that it is available as separate tree: https://github.com/libbpf/libbpf. If we vendor (git submodule) the libbpf version we need we can clean up some of the library mess and I think it will clean up some of our library mess and libbpf related ifdefs:

do you mean add libbpf as submodule and compile it in? I'd be strongly against ;-)
it's already added in bcc like that and we ended up with multiple libbpf loaded
in process, causing issues during dynamic linking and more pain if those 2 libbpf
libraries were on different versions
that's why in fedora we link bpftrace with libbcc-no-libbpf.so and libbpf.so to be clear
and have just one libbpf.so loaded

that's why in fedora we link bpftrace with libbcc-no-libbpf.so and libbpf.so to be clear
and have just one libbpf.so loaded

Yes we would have to be sure that everyone does that.  I guess it probably causes more issues than it solves :)


[HADOOP-15214] Make Hadoop compatible with Guava 21

After this change Hadoop could build against Guava 21.0
Justification for migration is the same as previous migrations here:
https://issues.apache.org/jira/browse/HADOOP-11032

Was merged in https://issues.apache.org/jira/browse/HADOOP-15214


Generated  models and request builders

This pull request was automatically created by Azure Pipelines. Important Check for unexpected deletions or changes in this PR.

@andrueastman it seems we've had negative side effect from the enum changes here. Can you take a look please?

Superceded by https://github.com/microsoftgraph/msgraph-sdk-typescript/pull/357


consder removing project?

I believe the purpose of this project has been replaced by the following:
https://salsa.debian.org/auth-team/libyubikey

Thanks, will do!


Functions with spaces in their name fail with 404

Repro:

From portal, create new Http C# function named "Foo bar" (without the quotes)
Click run

Result: fails with 404

In F12, I see the POST request made to https://davidfunccs.azurewebsites.net/api/foo bar. So it sounds like something in the runtime side is getting confused.


Allow options for afl-tmin

Let the user specify afl-tmin options on afl-minimize invocation.
This is for example needed for targets that need a non-default memory limit or timeout. I ran into cases where afl-tmin simply could not detect instrumentation in the target. Since afl-tmin output is suppressed, afl-minimize silently failed during the case trimming step.

Same game for afl-cmin invocation from within afl-minimize...


Extend list stage to retrieve a specific object

Consider to add an optional objectName input to the list stage so that it can return a specific item. Or, create a separate get stage.

We consider to add get stage provider.


feat: build out playground based on provided mock

Describe the feature you'd like to request
Build out the components / page to spec.
A couple things

there is a concurrent effort building out the required RPC endpoints to retrieve the desired data.
the designs will be fluid in the beginning as we're still not 100% sure about the contents of the node GUI

Describe the solution you'd like to see
Would like to see composable design to achieve the desired outcome here. Will also be actively stubbing out mock data until we're able to create the required RPC endpoints.

Additional information
No response

closing as stale


Fix Issue #36

If possible, can you resubmit without the Dockerfile remove/readd commits?

Sure! New pull request https://github.com/michaelgrosner/tribeca/pull/39


[feature request] Proxy support

Hi,
I'm currently testing this project for my company and I've come across a blocker.
Our Confluence wiki is only accessible through a proxy, but it seems that the confluence-publisher is ignoring the java proxy settings at the moment.
I'd like to propose modifying the HTTPClient a little bit, so it honors the java proxy settings if set.

Hi @123Haynes, did you already get the chance to have a look at this proxy configuration support? Feedback would be very much appreciated in order to merge this pr and perform a release soon. Thank you!


Support macro invocations in match branch position

Sorry if there's already and issue for this, but I couldn't find one.
On many occasions I've wanted to use macros to generate match branches. eg.
match x {
    macro_which_outputs_some_branches!(),
    Foo::Bar => 23,
}

Is there a reason not to support this?

Do you mean multiple branches?
For a single branch this will be automatically supported by https://github.com/rust-lang/rust/issues/54883.

Multiple match arms would be nice, yeah.

@petrochenkov That just supports or-patterns; but afaik you cannot generate match arms (pat (if expr?) => expr) today...?


[FEATURE] 增加知识库文档来自confluence，直接使用ConfluenceLoader

功能描述 / Feature Description
希望增加知识库文档来源confluence，导入文档通过url和token进行导入文档到知识库，并且存储到向量数据库。

像这样：
`Personal Access Token (Server/On-Prem only)
This method is valid for the Data Center/Server on-prem edition only. For more information on how to generate a Personal Access Token (PAT) check the official Confluence documentation at: https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html. When using a PAT you provide only the token value, you cannot provide a username. Please note that ConfluenceLoader will run under the permissions of the user that generated the PAT and will only be able to load documents for which said user has access to.
from langchain_community.document_loaders import ConfluenceLoader
loader = ConfluenceLoader(url="https://yoursite.atlassian.com/wiki", token="12345")
documents = loader.load(
space_key="SPACE", include_attachments=True, limit=50, max_pages=50
)`

之后考虑加入，可以提一个PR


e2e: make checkpointer tests more robust.

Instead of extending the existing checkpointer daemonset to run on
worker nodes, start a new checkpointer daemonset instead. This makes
sure that the existing checkpointer (on the apiserver) is not disturbed.
Furthermore, this allows the checkpointer tests to work with the new
checkpointer that is only allowed to look at its own namespace.

Note: includes commit from #778

cc @ericchiang

coreosbot run e2e

coreosbot run e2e

In the most recent run the reboot test failed. Looks like the apiserver never came back. That is pretty concerning. I'll run some stress tests on that locally.

coreosbot run e2e

e2e didn't even run this time: ssh: connect to host <IP_ADDRESS> port 22: Connection timed out

coreosbot run e2e


ginac: 1.7.8 -> 1.7.9

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/ginac/versions.
meta.description for ginac is: "GiNaC is Not a CAS"
meta.homepage for ginac is: "http://www.ginac.de/"
Updates performed:

Version update

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.7.9 with grep in /nix/store/403rh390jl8vg3z033z2cxwayxjqxalp-ginac-1.7.9

directory tree listing: https://gist.github.com/341e2f63babb5396f9280d957d8c27be

du listing: https://gist.github.com/1dad79c6c8e21c41a3143280a7441618

Rebuild report (if merged into master) (click to expand)

7 total rebuild path(s)
2 package rebuild(s)
2 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
ginac
i-score

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/403rh390jl8vg3z033z2cxwayxjqxalp-ginac-1.7.9 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A ginac https://github.com/r-ryantm/nixpkgs/archive/9b5aad064438cdfc8bf8afb81f140fdfdacabae9.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/403rh390jl8vg3z033z2cxwayxjqxalp-ginac-1.7.9
ls -la /nix/store/403rh390jl8vg3z033z2cxwayxjqxalp-ginac-1.7.9/bin

cc @lovek323 for testing.

Result of nixpkgs-review pr 85069 1

1 package marked as broken and skipped:
- i-score

1 package built:
- ginac


Optimized the mod operation in HashPartition.

This small PR optimized out the mod operation % when possible.

Looks good to me.


Every time Html.AntiForgeryToken() is used a X-Frame-Options is added to HTTP Header - Firewalls block the request

Some firewalls (ie: Fortinet FortiGate) blocks the Widget page in admin.
This is caused because every time Html.AntiForgeryToken() is used a X-Frame-Options is added to HTTP Header. If you have many widgets in your project (about 200 in my case) you get 200 HTTP headers added, the FW treats it like an attack and resets the connection. The user gets a HTTP 302 error page and is unable to use the function.

I think this was fixed by upgrading the framework to .net 4.8. (see #8444 )
Can we test this?


Cannot Deploy to Heroku using web UI

Clicked on the 'Deploy to Heroku' button, entered all the required config variables. All was going well and then boom. Heroku isn't happy - it won't complete deployment when using the web interface.
Seems weird/overkill that a deprecation warning stops it from finishing - is there a way around this?
See screenshot here - http://files.artificial.io/image/3K1Q3x1g3T0G
Full message from the 'Run scripts & scale dynos' section below:
DEPRECATION WARNING: The configuration option `config.serve_static_assets` has been renamed to `config.serve_static_files` to clarify its role (it merely enables serving everything in the `public` folder and is unrelated to the asset pipeline). The `serve_static_assets` alias will be removed in Rails 5.0. Please migrate your configuration files accordingly. (called from block in tsort_each at /app/vendor/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:226)
Migrating to CreateDeployments<PHONE_NUMBER>0427)
==<PHONE_NUMBER>0427 CreateDeployments: migrating ================================
-- create_table(:deployments)
   -> 0.0213s
==<PHONE_NUMBER>0427 CreateDeployments: migrated (0.0214s) =======================

Migrating to CreateRepositories<PHONE_NUMBER>0201)
==<PHONE_NUMBER>0201 CreateRepositories: migrating ===============================
-- create_table(:repositories)
   -> 0.0203s
-- add_column(:deployments, :repository_id, :integer)
   -> 0.0023s
==<PHONE_NUMBER>0201 CreateRepositories: migrated (0.0354s) ======================

Full build log can be seen here https://gist.github.com/johnnybridges/365ec66a353deb3105e8
Thanks!

It's just a warning that I removed. The part that says
-----> Launching... done, v7

in your heroku output means that it deployed.  You probably have an application error, check the logs.

Thanks for the quick reply! I can't check the logs though because when the warning is shown at the Run scripts & scale dynos stage, Heroku then deletes the environment - so can't actually check. Don't think I'm the only one either - http://stackoverflow.com/questions/31127976/deployment-to-heroku-of-heaven-fail


Improve compiler setup

If the user has passed in the compiler to use for building, use it. Otherwise set it to clang++
On Fedora there is no /opt/rocm/llvm/bin/clang++, the compiler used is a system compiler wrapped by hipcc. So set COMPILER_FOR_HIP to llvm/bin/clang++ only if that file exists, otherwise use the CMAKE_CXX_COMPILER.

Merege pending - CI -- http://math-ci.amd.com/blue/organizations/jenkins/main%2Fprecheckin%2Frpp/detail/PR-414/1/pipeline


Failed to build on Netlify

Have you checked that your issue isn't already filed?

[X] I read through FAQ and searched through the past issues, none of which addressed my issue.
[X] Yes, I have checked that this issue isn't already filed.

Bug description
Failed to build on Netlify
How to reproduce the bug

Clone the repository.
Set the environment variable RUBY_VERSION to 3.2.2 on Netlify.
Deploy on Netlify.

Error messages and logs
3:30:20 AM: $ bundle exec jekyll build
3:30:21 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
3:30:21 AM: /opt/build/cache/bundle/ruby/3.2.0/gems/mini_racer-0.15.0/lib/mini_racer.rb:22:in `load': /opt/build/cache/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/mini_racer-0.15.0/mini_racer_extension.so: undefined symbol: __libc_single_threaded (LoadError)
	from /opt/build/cache/bundle/ruby/3.2.0/gems/mini_racer-0.15.0/lib/mini_racer.rb:22:in `<top (required)>'
	from /opt/buildhome/.rvm/gems/ruby-3.2.2/gems/bundler-2.5.7/lib/bundler/runtime.rb:60:in `require'
	from /opt/buildhome/.rvm/gems/ruby-3.2.2/gems/bundler-2.5.7/lib/bundler/runtime.rb:60:in `block (2 levels) in require'
	from /opt/buildhome/.rvm/gems/ruby-3.2.2/gems/bundler-2.5.7/lib/bundler/runtime.rb:55:in `each'
	from /opt/buildhome/.rvm/gems/ruby-3.2.2/gems/bundler-2.5.7/lib/bundler/runtime.rb:55:in `block in require'
	from /opt/buildhome/.rvm/gems/ruby-3.2.2/gems/bundler-2.5.7/lib/bundler/runtime.rb:44:in `each'
	from /opt/buildhome/.rvm/gems/ruby-3.2.2/gems/bundler-2.5.7/lib/bundler/runtime.rb:44:in `require'
	from /opt/buildhome/.rvm/gems/ruby-3.2.2/gems/bundler-2.5.7/lib/bundler.rb:187:in `require'
	from /opt/build/cache/bundle/ruby/3.2.0/gems/jekyll-4.3.4/lib/jekyll/plugin_manager.rb:53:in `require_from_bundler'
	from /opt/build/cache/bundle/ruby/3.2.0/gems/jekyll-4.3.4/exe/jekyll:11:in `<top (required)>'
	from /opt/build/cache/bundle/ruby/3.2.0/bin/jekyll:25:in `load'
	from /opt/build/cache/bundle/ruby/3.2.0/bin/jekyll:25:in `<main>'
	from /opt/buildhome/.rvm/gems/ruby-3.2.2/bin/ruby_executable_hooks:22:in `eval'
	from /opt/buildhome/.rvm/gems/ruby-3.2.2/bin/ruby_executable_hooks:22:in `<main>'

3:30:21 AM: "build.command" failed
3:30:21 AM: ────────────────────────────────────────────────────────────────
3:30:21 AM:
3:30:21 AM:   Error message
3:30:21 AM:   Command failed with exit code 1: bundle exec jekyll build (https://ntl.fyi/exit-code-1)
3:30:21 AM:
3:30:21 AM:   Error location
3:30:21 AM:   In Build command from Netlify app:
3:30:21 AM:   bundle exec jekyll build
3:30:21 AM:
3:30:21 AM:   Resolved config
3:30:21 AM:   build:
3:30:21 AM:     command: bundle exec jekyll build
3:30:21 AM:     commandOrigin: ui
3:30:21 AM:     environment:
3:30:21 AM:       - RUBY_VERSION
3:30:21 AM:     publish: /opt/build/repo/_site
3:30:21 AM:     publishOrigin: ui
3:30:21 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
3:30:21 AM: Failing build: Failed to build site
3:30:22 AM: Finished processing build request in 1m8.435s

What operating system are you using?
Linux
Where are you seeing the problem on?
Deployed site
More info
I attempted to deploy the latest version of al-folio on Netlify but encountered the following error: error: mini_racer_extension.so: undefined symbol: __libc_single_threaded (LoadError). I have updated the Gemfile.lock using bundle update inside the Docker container. I am unsure if this error is due to Netlify using an older version of the Ubuntu image. Please help, thanks!
Build image on Netlify: Ubuntu Focal 20.04 (default, the only available Ubuntu image on Netlify right now)
Netlify Build Configuration

Take a look at the configuration I used in #2432. See if that works for you.

Thanks for your reply. Unfortunately, I got the same error message even using the configuration in https://github.com/alshedivat/al-folio/issues/2432
Everything works perfectly fine using GitHub pages.
7:59:00 PM: ❯ Current directory
7:59:00 PM:   /opt/build/repo
7:59:00 PM:
7:59:00 PM: ❯ Config file
7:59:00 PM:   No config file was defined: using default values.
7:59:00 PM:
7:59:00 PM: ❯ Context
7:59:00 PM:   production
7:59:00 PM:
7:59:00 PM: Build command from Netlify app
7:59:00 PM: ────────────────────────────────────────────────────────────────
7:59:00 PM:
7:59:00 PM: $ sed -i "s/^\(baseurl: \).*$/baseurl:/" _config.yml && bundle exec jekyll build
7:59:01 PM: /opt/build/cache/bundle/ruby/3.2.0/gems/mini_racer-0.15.0/lib/mini_racer.rb:22:in `load': /opt/build/cache/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/mini_racer-0.15.0/mini_racer_extension.so: undefined symbol: __libc_single_threaded (LoadError)
	from /opt/build/cache/bundle/ruby/3.2.0/gems/mini_racer-0.15.0/lib/mini_racer.rb:22:in `<top (required)>'
	from /opt/buildhome/.rvm/gems/ruby-3.2.2/gems/bundler-2.5.7/lib/bundler/runtime.rb:60:in `require'
	from /opt/buildhome/.rvm/gems/ruby-3.2.2/gems/bundler-2.5.7/lib/bundler/runtime.rb:60:in `block (2 levels) in require'
	from /opt/buildhome/.rvm/gems/ruby-3.2.2/gems/bundler-2.5.7/lib/bundler/runtime.rb:55:in `each'
	from /opt/buildhome/.rvm/gems/ruby-3.2.2/gems/bundler-2.5.7/lib/bundler/runtime.rb:55:in `block in require'
	from /opt/buildhome/.rvm/gems/ruby-3.2.2/gems/bundler-2.5.7/lib/bundler/runtime.rb:44:in `each'
	from /opt/buildhome/.rvm/gems/ruby-3.2.2/gems/bundler-2.5.7/lib/bundler/runtime.rb:44:in `require'
	from /opt/buildhome/.rvm/gems/ruby-3.2.2/gems/bundler-2.5.7/lib/bundler.rb:187:in `require'
	from /opt/build/cache/bundle/ruby/3.2.0/gems/jekyll-4.3.4/lib/jekyll/plugin_manager.rb:53:in `require_from_bundler'
	from /opt/build/cache/bundle/ruby/3.2.0/gems/jekyll-4.3.4/exe/jekyll:11:in `<top (required)>'
	from /opt/build/cache/bundle/ruby/3.2.0/bin/jekyll:25:in `load'
	from /opt/build/cache/bundle/ruby/3.2.0/bin/jekyll:25:in `<main>'
	from /opt/buildhome/.rvm/gems/ruby-3.2.2/bin/ruby_executable_hooks:22:in `eval'
	from /opt/buildhome/.rvm/gems/ruby-3.2.2/bin/ruby_executable_hooks:22:in `<main>'

7:59:01 PM: "build.command" failed
7:59:01 PM: ────────────────────────────────────────────────────────────────
7:59:01 PM:
7:59:01 PM:   Error message
7:59:01 PM:   Command failed with exit code 1: sed -i "s/^\(baseurl: \).*$/baseurl:/" _config.yml && bundle exec jekyll build (https://ntl.fyi/exit-code-1)
7:59:01 PM:
7:59:01 PM:   Error location
7:59:01 PM:   In Build command from Netlify app:
7:59:01 PM:   sed -i "s/^\(baseurl: \).*$/baseurl:/" _config.yml && bundle exec jekyll build
7:59:01 PM:
7:59:01 PM:   Resolved config
7:59:01 PM:   build:
7:59:01 PM:     command: 'sed -i "s/^\(baseurl: \).*$/baseurl:/" _config.yml && bundle exec jekyll build'
7:59:01 PM:     commandOrigin: ui
7:59:01 PM:     environment:
7:59:01 PM:       - RUBY_VERSION
7:59:01 PM:     publish: /opt/build/repo/_site
7:59:01 PM:     publishOrigin: ui
7:59:02 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
7:59:02 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
7:59:02 PM: Failing build: Failed to build site
7:59:02 PM: Finished processing build request in 1m1.697s

My build settings are these:

I also have these environment variables set

Hmm, it gives me the same error using the same build settings.

Just realized that I am in fact having the same issue, also here in #2432.

Get the latest updates and try it again. I just removed mini_racer in #2791.

Everything works smoothly after removing mini_racer. Thanks!

Since you recently set your Netlify, would you mind sending a PR adding this to our CUSTOMIZE.md?

I have opened PR #2798 to include steps to deploy al-folio on Netlify in CUSTOMIZE.md.


Visualize the summary of OSS Vulnerabilities of Interest

Vulnerabilities of interest feature has been developed and release by @sudhirverma in release 0.0.10


Updated package should solve most issues

There's a latest version of local compiler package (0.1.0) which supports new buildpack format. It should fix most of the issues you all reported. Give it a go if you want!
/cc: @steelydev @unseenshadow2 @LukeUSMC @nanodust @csoulakian @mfogel @mjoelmendes @kasperkamperman @yostinso @rafaelmaeuer @Zuph @robertdolca @rei-vilo @mikey0000

Hi, sadly i get following error when i try to install:
Installing<EMAIL_ADDRESS>failed.Hide output… <>
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":">=6.0.0"} (current: {"node":"0.10.40","npm":"2.13.3"})
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":">=4"} (current: {"node":"0.10.40","npm":"2.13.3"})
npm ERR! Darwin 16.5.0
npm ERR! argv "/Applications/Particle Dev.app/Contents/Resources/app/apm/bin/node" "/Applications/Particle Dev.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/Rafael/.particledev/.apm/.apmrc" "--userconfig" "/Users/Rafael/.particledev/.apmrc" "install" "/private/var/folders/rs/fzjnnw_d73n3m99zlk6zw1n80000gp/T/d-11745-11757-9bgy8q/package.tgz" "--target=0.36.8" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code ENOTSUP
npm ERR! notsup Unsupported
npm ERR! notsup Not compatible with your version of node/npm<EMAIL_ADDRESS>npm ERR! notsup Required: {"node":">= 6.2"}
npm ERR! notsup Actual:   {"npm":"2.13.3","node":"0.10.40"}
npm ERR! Please include the following file with any support request:
npm ERR!     /private/var/folders/rs/fzjnnw_d73n3m99zlk6zw1n80000gp/T/apm-install-dir-11745-11757-1xd5mcb/npm-debug.log
already installed particle Dev again, updated to node v6.10.3. - I am on OS X 10.12.4
Regards Rafael
rafael mäuer | portfolio http://www.rafaelmaeuer.de/ | linkedin https://www.linkedin.com/in/rafael-mäuer-84054610b | vimeo https://vimeo.com/rafael91
creative developer | software engineer

Am 05.05.2017 um 13:27 schrieb Wojtek Siudzinski<EMAIL_ADDRESS>There's a latest version of local compiler package (0.1.0) which supports new buildpack format. It should fix most of the issues you all reported. Give it a go if you want!
/cc: @steelydev https://github.com/steelydev @unseenshadow2 https://github.com/unseenshadow2 @LukeUSMC https://github.com/LukeUSMC @nanodust https://github.com/nanodust @csoulakian https://github.com/csoulakian @mfogel https://github.com/mfogel @mjoelmendes https://github.com/mjoelmendes @kasperkamperman https://github.com/kasperkamperman @yostinso https://github.com/yostinso @rafaelmaeuer https://github.com/rafaelmaeuer @Zuph https://github.com/Zuph @robertdolca https://github.com/robertdolca @rei-vilo https://github.com/rei-vilo @mikey0000 https://github.com/mikey0000
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/spark/particle-dev-local-compiler/issues/30, or mute the thread https://github.com/notifications/unsubscribe-auth/AGHwG6l73DxRuHyuIM1MW0msjLevK_dgks5r2wetgaJpZM4NRy_6.

Oh this might be caused by Particle Dev App bundling with Node 5.1.1. Could you try installing the package in Atom?
We'll update the app next week so it will contain more recent Node version.

Any update? Thank you!

Hi Rei, sorry but we're focused on our cloud compiler recently. We'll try to get back to this asap

Thank you for the update. Good luck with the development.


$import Documentation

Documentation refers to kicking off submission using the $import operation repeatedly, however I've been unable to locate general documentation around $import.  The closest thing I've found is a pair of draft proposals from three years ago.
Current UDS+ IG documentation indicates:

The Data Receiver SHALL download the NDJSON formatted, de-identified data from the health center using the links provided by the Data Submitter following the protocol specified in the manifest file.

Documentation around manifest arguments is fairly light (and referred to specifically around $export), but does have an argument for requiresAccessToken which seemed to fit the bill for 'the protocol specified in the manifest file".
However on a previous UTC call (1/17?) I had asked a question regarding whether the Receiver would make OAUTH access token requests in order to retrieve data from the protected urls in the manifest, and the response was something along the lines of "No, we aren't going to store our own clientID/secret for retrieving the data, but temporary access tokens can be provided in the manifest itself."
I've been searching for documentation around that process for the last two weeks without any significant results.  Is there documentation that you can point me to?  Is there an extension involved that should be referred to?  The FHIR Artifacts page for $import is a little bit light.

The following links should help in gaining more clarity on the process.
https://fhir.org/guides/hrsa/uds-plus/reportingguidance.html
https://fhir.org/guides/hrsa/uds-plus/requestresponseexamples.html
Are you looking for definition of the data elements or looking for more documentation of the step by step process. The latter is explained in the above artifacts. The former (data elements) is explained in the Manifest profile.

So the part that's missing from that documentation is how the HRSA system is going to negotiate the OAUTH calls to the urls from the manifest. This stems from a question I asked a call or two back on this front.  The urls from the manifest are all OAUTH protected.  What was communicated in response was "you'll provide a temporary access token in the manifest", but I have found no documentation around the manifest that provides a mechanism to do so.

Joshua
Here is the relevant documentation:
https://fhir.org/guides/hrsa/uds-plus/StructureDefinition-uds-plus-import-manifest.html
Please review this section.
Also the Manifest file has the "importAccessToken" data element that can be provided so that we can use the same on the query back.
Registering HRSA as client across all the EHRs and their systems to authenticate/authorize and get an access token is not in the roadmap currently.
Providing Security Tokens
A Health Center may wish to make sure that the HRSA Data Receiver provide a security token during the download of the UDS Plus data. In order to facilitate these tokens, the Data Submitter may echo a “security token” of type “bearer” in the manifest file for each UDS Plus file that needs to be downloaded. This bearer token will be echo’ed back by the Data Receiver in the HTTP header during the download process. This further enhances the security protocols between the Data Submitter and the Data Receiver systems.


Export error in json or xml

Hi !
For statistic purpose, I would like to have an export in json or xml of the lint error for making graph and being able to track down evolution.
Do you know if there's any solution already working or if codelyzer can do that ?
Thank you for your help !

Hey @olivierscheffler you should be able to do this with a custom tslint reporter. See https://palantir.github.io/tslint/formatters/json/.


usage: git cat-file (-t|-s|-e|-p||--textconv)

usage: git cat-file (-t|-s|-e|-p|<type>|--textconv) <object>
   or: git cat-file (--batch|--batch-check) < <list_of_objects>

<type> can be one of: blob, tree, commit, tag
    -t                    show object type
    -s                    show object size
    -e                    exit with zero when there's no error
    -p                    pretty-print object's content
    --textconv            for blob objects, run textconv on object's content
    --batch[=<format>]    show info and content of objects fed from the standard input
    --batch-check[=<format>]
                          show info about objects fed from the standard input

Found commit: ee9061b25d8a35bae8380339f187b44dc26f4999
usage: git cat-file (-t|-s|-e|-p|<type>|--textconv) <object>
   or: git cat-file (--batch|--batch-check) < <list_of_objects>

<type> can be one of: blob, tree, commit, tag
    -t                    show object type
    -s                    show object size
    -e                    exit with zero when there's no error
    -p                    pretty-print object's content
    --textconv            for blob objects, run textconv on object's content
    --batch[=<format>]    show info and content of objects fed from the standard input
    --batch-check[=<format>]
                          show info about objects fed from the standard input

usage: git cat-file (-t|-s|-e|-p|<type>|--textconv) <object>
   or: git cat-file (--batch|--batch-check) < <list_of_objects>

<type> can be one of: blob, tree, commit, tag
    -t                    show object type
    -s                    show object size
    -e                    exit with zero when there's no error
    -p                    pretty-print object's content
    --textconv            for blob objects, run textconv on object's content
    --batch[=<format>]    show info and content of objects fed from the standard input
    --batch-check[=<format>]
                          show info about objects fed from the standard input

usage: git cat-file (-t|-s|-e|-p|<type>|--textconv) <object>
   or: git cat-file (--batch|--batch-check) < <list_of_objects>

<type> can be one of: blob, tree, commit, tag
    -t                    show object type
    -s                    show object size
    -e                    exit with zero when there's no error
    -p                    pretty-print object's content
    --textconv            for blob objects, run textconv on object's content
    --batch[=<format>]    show info and content of objects fed from the standard input
    --batch-check[=<format>]
                          show info about objects fed from the standard input

usage: git cat-file (-t|-s|-e|-p|<type>|--textconv) <object>
   or: git cat-file (--batch|--batch-check) < <list_of_objects>

<type> can be one of: blob, tree, commit, tag
    -t                    show object type
    -s                    show object size
    -e                    exit with zero when there's no error
    -p                    pretty-print object's content
    --textconv            for blob objects, run textconv on object's content
    --batch[=<format>]    show info and content of objects fed from the standard input
    --batch-check[=<format>]
                          show info about objects fed from the standard input

Found commit: 8ac4f76df2ce8db696d75f5f146f4047a315af22
usage: git cat-file (-t|-s|-e|-p|<type>|--textconv) <object>
   or: git cat-file (--batch|--batch-check) < <list_of_objects>

<type> can be one of: blob, tree, commit, tag
    -t                    show object type
    -s                    show object size
    -e                    exit with zero when there's no error
    -p                    pretty-print object's content
    --textconv            for blob objects, run textconv on object's content
    --batch[=<format>]    show info and content of objects fed from the standard input
    --batch-check[=<format>]
                          show info about objects fed from the standard input

it actually prints that hundreds of times, but I snipped it.
This happens when you use the Extractor script.

Same here

Hey @Arinerron @caioluders
thanks for reporting the issue.
What operating system are you using? Is this possible that this might be related to this commit https://github.com/internetwache/GitTools/commit/e8a7f3be81b72ddb9acf22366db2a6a5017d3a90 ?

@genaxelt I'm using Arch Linux.

OS X and Ubuntu here
2017-03-17 13:42 GMT-03:00 Arinerron<EMAIL_ADDRESS>
@genaxelt I'm using Arch Linux.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/internetwache/GitTools/issues/5#issuecomment-287407093,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC08tM9I1XJ7MVFjYw1Su46T1K1eqQlzks5rmrfwgaJpZM4Me0JU
.

--
Att
geolado | g3ol4d0

Hey,
I hope that I've fixed the issue now.  ;)

@Arinerron Yep hahaha , solved manually but the tool is pretty good

@caioluders same :)


Force remove extension on SASS

Only for "pass" in linters verifications (SASS Lint for example), at this moment I need use "hack" like this:
fileTypes: {
  scss: {
    block: /(([ \t]*)\/\/\s*bower:*(\S*))(\n|\r|.)*?(\/\/\s*endbower)/gi,
    detect: {
      scss: /@import\s['"](.+\.scss)['"]/gi
    },
    replace: {
      scss: function (filePath) {
        var path = filePath.replace('.scss', '').replace('/_', '/');

        return '@import \'' + path + '\';';
      }
    }
  }
}

Will be nicer if wiredep does this automatically. Thanks!

Why is it a bad thing to specify exactly what you want imported? I think this should fine and maybe that linter is a little too strict.

Well @eddiemonge, I guess this well known linter has the right philosophy and the question is not answered here.


Fix layout gravity for CoordinatorLayout

LayoutGravity currently resolved with manually written dsl and Setter in core module, hence, support for layout gravity for CoordinatorLayout slipped through autogen and our eyes)

@Mishkun
https://github.com/inkremental/inkremental/blob/master/anvil/src/main/kotlin/dev/inkremental/dsl/android/CustomSdkSetter.kt#L329
:(

I'd say this could be merged as is, and as soon as we deal with attribute overriding, we can deprecate this method in favor of generic one.


OPTIONS requests for /status

The access log shows OPTIONS requests being made to /status, a sign of CORS pre-flight requests. This is odd since requests to status ought not be cross domain and thus not engage the CORS system.
Here's the high hitters this week (uri, referer, virtual host):
      6 /status "-" mogru.tiddlyspace.com
     16 /status "-" rhythmical7.tiddlyspace.com
     17 /status "-" freestyle.tiddlyspace.com
     18 /status "-" rhythmical.tiddlyspace.com
     21 /status "-" chrischipman.tiddlyspace.com
     24 /status "-" tiddlywiki.org
     70 /status "-" sunyit-com380.tiddlyspace.com

There are some (much more rare) OPTIONS requests for /bags/<bag>/tiddlers.
Making a ticket out of this as it implies weirdness at play and weirdness that is not understood is not a good thing.

The logs suggest this might be happening from TiddlyWiki's that have been recently downloaded and are being run locally. This supports the idea that we want offline tiddlywiki's from tiddlyspace to behave differently from online.


Notifications when game is ready

I've tried my best to make this in the same style as your code, needs to be done some work and tested on mobile

Thank you. I'll take a look when I have time.

Does this work on mobile when queueing in the background?

Does this work on mobile when queueing in the background?

I don't think this works on mobile at all, mobile notifications, from what I've seen, need to use the new notification api ServiceWorkerRegistration.showNotification() but this needs a Service Worker that  I couldn't get it to work


Comprehensive bounds on canvas layer update (fix #3583)

Fix #3583
The issue is that when updating a layer, we update all others layers that intersect with this first layer bounds, but leaving the edge case of other layers that may intersect with those updated layers.
For example, in this situation:

When mouse over the Maryland, only the Maryland center marker and the West Virginia polygon intersect with its polygon and thus are updated. See the Maryland bounds:

Though I'm not big fan of the proposed patch: it computes recursively the comprehensive bounds of all impacted layers. So I'm not sure how this would scale, and if the optimization of not updating all layers still worth it at this cost.
Thoughts?

Depends on #3837

Looks great to me! I'll verify with the debug page and merge.

this._ctx.rect(bounds.min.x - 10, bounds.min.y - 10, bounds.max.x - bounds.min.x + 20, bounds.max.y - bounds.min.y + 20);

This gets rid of artifacts in geojson.html, but obviously we don't want to have it hardcoded. Ideally we'd use half of stroke width + 1 for padding (or something like that).

Not sure about which artifacts you are referring to in geojson.html. If you are talking about the white states border being drawn above the grey border on mouseover, this bug is also reproducible in stable when in canvas: http://playground-leaflet.rhcloud.com/top/edit?html,output

I'm referring to a different bug. If you look at canvas-powered geojson example and move your mouse a bit, you'll see leftovers of strokes like this:


GUI for git operations on git-based repository

Do we need something like iceberg?

solved by https://github.com/ReMobidyc/ReMobidyc/pull/138


Publish android artifacts during release

Need to publish mobile.aar and the generated protobuf classes to jcenter so they can be used as dependencies by android-textile.

Figured out the mechanics of this, still need to automate. Will follow up will an issue for that.


Add eclipse mosquitto icon

Icon Name
eclipse-mosquitto.png
Icon(s)
I got the icon from here: https://raw.githubusercontent.com/docker-library/docs/757578e3a44e5460a8a11d32a81776f8b74231a9/eclipse-mosquitto/logo.png
This was the best quality/size that I could find. Still, only a 256x256 png file, I hope it's ok. I couldn't find an SVG file...

Thank you

Thank you @walkxcode 👍


Off by one error in echo example

In the *echo() generator function example:
After .next(x), the value x is the next value yielded, so the expect calls are all off by one.

Good catch. I guess the example should be
function *echo() {
    var message,
        message2 = function.next; // the value of the first .next() call
    while (true) {
        message1 = yield message1;
        message2 = yield message2;
    }
}

or, if we wanted to get fancy and use a single yield only,
function *echo() {
    var messages = [ , function.next];
    while (true) {
        messages.push(yield messages.shift());
    }
}

The error is in fact a good catch. However, since the point of the example is to illustrate the behavior of the generator from a very basic implementation, the resolution is to fix the expected behavior and surrounding prose, hopefully without crippling the point. Thanks for pointing this out.

Do you mind if I attempt a PR to fix this?

@Gahen You’re welcome to. See my prior note.

@kriskowal Ok so I didn't wanted to change the code spirit because I would need to remove most of the following text, so I made a simpler fix and added an extra line just to complete the execution described. It would be like this:
function *echo() {
    var message, tmp_message, old_message;
    while (true) {
        message = yield old_message;
        old_message = tmp_message;
        tmp_message = message;
    }
}

We then populate the message variable with a value, receiving its former
undefined content again.

After that we take the previous yielded value and save it for the next iteration.


probable thread safety issue with Rack middleware

Probably I should duplicate the Rack Middleware instance before trying to set the ooor session, see
http://stackoverflow.com/a/26662213
or http://ieftimov.com/writing-rails-middleware+h
while I currently don't do any dup.

this has been fixed a while back now: https://github.com/akretion/ooor/blob/master/lib/ooor/rack.rb#L125


Cloud July 2022 Release Notes

https://cockroachlabs.atlassian.net/browse/DOC-4619

This change is

@kevin-v-ngo @thtruo @ianjevans hoping to get this out tomorrow just fyi!


add peek function

We need to peek at the queue but not ack the message before ensure the message is correctly handled.

Thanks @xiezhenye. Could you describe this use case in more detail please?

We use go-diskqueue to persist events in order to prevent lose event when process crash. If we read an event from the ReadChan and crash before the event handled, the event will lose. I added an Peek function that only read the first event but not ack it. Now, I can Peek an event, handle it, and use ReadChan to ack at to ensure the events be handled.

I think I follow, but would it be more consistent with the existing interface to expose PeekChan() <-chan []byte instead?

Peek operation always returns the first message, not looks like reading something from a stream as a chan.
Using Peek() interface{} instead of PeekChan() <-chan can also prevent misuse. For example,
for msg := range q.PeekChan() {
 ...
}

is an infinite loop.

I think that the concern is that with this interface:
func (d *diskQueue) Peek() []byte {
	return <-d.peekChan
}

there is no way to avoid blocking, like:
select {
	case msg := <- peekChan:
		return msg
	default:
		return nil
}

and no way to mix with other conditions, like:
select {
	case msg := <- peekChan:
		return msg
	case <- exitChan:
		return nil
}

I changed the code just like Depth do.

I need this feature too.

we'll probably end up taking #24, closing, but thanks for the PR.


Write config file error to stderr or file

When revad is starting with a wrong configuration and is started by system manager, in this case supervisord, the error message is lost as stdout is not taken into account.
# /usr/bin/revad -c /etc/revad/revad-gateway.toml
error reading the configuration file(s): config: error decoding toml data: toml: line 115 (last key "grpc.services.storageregistry.drivers.dynamic.rules.eosmedia"): Key 'grpc.services.storageregistry.drivers.dynamic.rules.eosmedia' has already been defined

is already the case, therefore the supervisord manager needs to be configured appropiately.

        confs, err := getConfigs()
        if err != nil {
                fmt.Fprintf(os.Stderr, "error reading the configuration file(s): %s\n", err.Error())
                os.Exit(1)
        }


Allow different font size in different instances

Sometimes I need open two vscode and display in two screen, they are the same font size, but the two screens have different resolution.

Are you saying your monitors have different resolutions? Maybe a screenshot would help explain.

Are you saying your monitors have different resolutions? Maybe a screenshot would help explain.

Yeah, one is big, and anthor is small. I use  "zooming in / out" to change font size in the big monitor, but the vscode in the small monitor was also changed.

The window zoom level can be set as a workspace setting, thus you can have different font sizes  / zooming per window.

I open two vscode at same time,  when  I use "zooming in / out" to change font size in one, the other also changed. Can the two be independent?


Cron errors are sometimes not caught by the EM framework

This only applies to Vanderbilt.
Some or all cron errors are not being caught and emailed to DataCore, Kyle, and I like they should be.  They are instead emailed to<EMAIL_ADDRESS> Here's an example:
From<EMAIL_ADDRESS><EMAIL_ADDRESS>Sent: Tuesday, July 03, 2018 11:09 AM
To: REDCap<EMAIL_ADDRESS>Subject: [REDCap] PHP Crashed!

PHP Crashed on redcap.vanderbilt.edu at 2018-07-03 11:07:01!

Page: https://redcap.vanderbilt.edu
User: USERID

Error message: Call to undefined method Project::getEventIdFromUniqueEvent()
File: /app001/www/redcap/modules/vanderbilt_emailTrigger_v2.0.2/EmailTriggerExternalModule.php
Line: 804

This should be taken care of by the following commit and PR:
https://github.com/vanderbilt/redcap-external-modules/commit/a758bb10f8af31c6c1618f6e1c8b863e1a3676b1
https://github.com/vanderbilt/REDCap/pull/80


accessing_cod

EPIC Link
#230
Acceptance Criteria (Tasks)

[ ] Collection is not being pulled in (even when adding updated cmr_host and/or maap_host without .ops) - fix
[x] fix broken links

Except for collection "FIFE_STRM_15M_1", all other collections have no granules in them. Even in the case "FIFE_STRM_15M_1" collection the URLs are pointing towards files with extension s15.

Link to PR: https://github.com/MAAP-Project/maap-documentation/pull/253


'Connect to' incorrectly prompts me to install an extension that I've disabled

Testing #177702

Disable remote ssh
Open connect to quick input from welcome view

bug
I see an option to install the remote ssh extension:

Clicking this button does not fix the issue because the extension remains disabled. Instead we should likely show an option to enable the extension

Fixed.

Use the remote picker to install a remote extension if you do not have one installed.
Verify that the relevant commands for that remote extension show up in the remote picker next time around.
Disable the remote extension
Verify that the commands do not show up in the remote picker.


Gagan/latest package migration

Please increase the version number and then build a VSIX file before merging the PR.


Test need for bitstring compression

Problem: Address FIXME comment about potentially moving leading zeros for bitstring compression
Reference: Comment from PR #1

Hi @dlongley, could you elaborate on this FIXME comment? Are you suggesting that we somehow exploit the fact that the first byte of all public and secret PKCS8 and SPKI prefixes is 48, which only requires 6 bits?

@kezike,

could you elaborate on this FIXME comment?

I probably should have said "may need to remove any leading zeros for bitstring compression", not "move".

Are you suggesting that we somehow exploit the fact that the first byte of all public and secret PKCS8 and SPKI prefixes is 48, which only requires 6 bits?

No, nothing that exotic :). IIRC, the issue was related to differences in implementations and how they handle possible leading zeros in key material. At the time I was writing the code there were some differences in implementations, e.g., perhaps some would export keys that removed the leading zeros and others would not. I think I found that, however, all the implementations I was able to test could import zero-padded keys, so I just normalized the code to do that. I was not able to test any WebKit browsers (like Safari) to see if there was any issue with this. Ideally there is no additional complexity needed in the code.
So, I'd recommend just removing the FIXME -- and getting some testing on Safari. If that works, we can close the issue.


Adding aws_accessanalyzer_archive_rule, aws_acmpca_permission, aws_acmpca_policy, aws_appconfig_extension, aws_appconfig_extension_association, aws_applicationinsights_application, aws_apprunner_observability_configuration resources to v1beta1 version

Description of your changes
Adding 7 resources to v1beta1:

accessanalyzer

[x] aws_accessanalyzer_archive_rule

acmpca

[x] aws_acmpca_permission
[x] aws_acmpca_policy

appconfig

[x] aws_appconfig_extension
[x] aws_appconfig_extension_association

applicationinsights

[x] aws_applicationinsights_application

apprunner

[x] aws_apprunner_observability_configuration

Fixes #490
I have:

[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested
Manual:
aws_acmpca_permission - Creation of CertificateAuthority resource costs over $100, so it is not suitable for continuous testing.

aws_acmpca_policy -

Manual & Uptest:
aws_accessanalyzer_archive_rule -
aws_appconfig_extension -
aws_appconfig_extension_association -
aws_applicationinsights_application -
aws_apprunner_observability_configuration -

/test-examples="examples/appconfig/extensionassociation.yaml"

/test-examples="examples/accessanalyzer/archiverule.yaml"

/test-examples="examples/applicationinsights/application.yaml"

/test-examples="examples/apprunner/observabilityconfiguration.yaml"


D3D12: Crash when rendering a non-square texture with mipmaps

Tested versions
Reproducible in 4.3-stable, 4.4-dev1
System information
Windows 10.0.19045 - d3d12 (Forward+) - dedicated NVIDIA GeForce RTX 4060 Ti (NVIDIA; <IP_ADDRESS>44) - AMD Ryzen 9 5900X 12-Core Processor (24 Threads)
Issue description
The engine crashes when trying to create a non-square texture with mipmaps on the GPU under D3D12. The crash always occurs, even if both the texture's width and height are powers of 2.
Steps to reproduce

Open the MRP.
Click on aa.png to preview it in the inspector.
The crash should occur.

Minimal reproduction project (MRP)
d3d12-mip-crash.zip

Here it is crashing with 0xc0000094 (STATUS_INTEGER_DIVIDE_BY_ZERO) at https://github.com/godotengine/godot/blob/61598c5c88d95b96811d386cb20d714c35f4c6d7/drivers/d3d12/rendering_device_driver_d3d12.cpp#L4890


spyder-ide conda channel doesn't appear up-to-date

I've just tried to update to Spyder 3.0.2 using conda:
conda update spyder

And it seems that the spyder-ide Anaconda channel hasn't been updated beyond the 3.0.0b7 release: https://anaconda.org/spyder-ide/spyder/files
Is this expected to be updated regularly with new releases - or do you have another channel that you're hosting updates on?

We only use our own Anaconda channel to distribute betas. Final releases are distributed through the official Continuum channels.
Please be patient. I'm sure Continuum will update Spyder in a couple of days :-)

@ccordoba12 ok, I was under the impression that the channel (-c spyder-ide) was the best place to look..
It seems the continuum channel lists version 3.0.0 (Sept 24 2016) at the moment: https://docs.continuum.io/anaconda/pkg-docs
It's a pity that there is such a lag in the system, I've just been getting the upgrade nag screen for a couple of days, and went to upgrade using conda and there just wasn't the updated package there

3.0.0 is the version that comes with Anaconda 4.2 (the latest version of Anaconda), but 3.0.1 is already in Continuum channels, and 3.0.2 is soon going to be :-)


Prompts appear in very dim grey color...

In my terminal window, which is the default setting for Linux Mint... the black bg has an opacity of 90% (ish)... your dk grey text prompts were illegible.  I ran the utility several times without seeing them at all.  I had to go to your docs to figure out what was going on.  Please use a better color.  Blue maybe?

@artemis-prime thanks for opening an issue, but this is an issue with prompt in printing descriptions. Please re-open this issue on their repository.


Mask with numericInput true and parenthesis shows incorrect mask

If you have a mask with parenthesis and numericInput true it invert the parenthesis direction.
Here's a jsfiddle to see the problem.
http://jsfiddle.net/y2euek5p/1/

@maubin ,
Fixed with latest version on github  http://jsfiddle.net/y2euek5p/2/


Renamed TestIsRegExpMatch to TestIsGlobExpMatch

Renames TestIsRegExpMatch in watch_test.go to TestIsGlobExpMatch
Also modified ignores from regular expressions to glob expressions in TestWatchAndPush

:white_check_mark: odo build 1332 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/b7744c8a3b by @mik-dass)


Bluetooth gamepad controls in Unity SDK ?

Does Unity SDK come with bluetooth gamepad controls by chance or is it something that can be added separately, through Asset Store for example?

You should be able to add those separately.  They appear through the Input class as buttons and axes.


chore: update Discord API version in README

Summary

Checklist

[x] I have run nox and all the pipelines have passed.
[x] I have made unittests according to the code I have added/modified/deleted.

Related issues

It completely flew over my head to check for this. Iirc, there should be another v9 lying around (think it's in shard.py). Mind fixing that one too?
Ty for the pr tho!

There's 2 instances of V8 in hikari.impl.shard, 2 in hikari.impl.rest and 1 in hikari.api.shard too btw :P

I couldn't find any instances of v9 anywhere.
Are you sure it exists?
Please confirm.

Think those are all. I believe they were just never updated from v8 to v9. Thanks for taking the time to do this!

Think those are all. I believe they were just never updated from v8 to v9. Thanks for taking the time to do this!

:bow:


Silent Hill 3(SLUS-20622)

Gets stuck at the first "Silent Hill 3" screen when you just boot the game. It works perfectly in the latest version of opl tho.
This used to happen in old versiones of opl.
Game is running over USB

I can confirm this issue.
UDPBD with PS2 - works
HDD with PCSX2 - works
USB with PCSX2 - works
USB with PS2 - freezes on the Silent Hill 3 logo
This game does not load/use USB, so it's trange that only USB seems to be an issue.

Thanks for reminding me. This got fixed in c8c265f.


add freeze to block / enable refreshes in layers

Description
This is a very small PR that adds a _freeze property to layers that can block the refresh method. It's purpose is to allow setters to be called during layer construction but to prevent their refresh methods from executing. It will also be useful when manipulating parts of layers that need to be manipulated together and then have a refresh called at the end of the process rather than on every manipulation along the way. (i.e. adding new markers where both the size property and the data property may need to change, but you only want to refresh after both have changed). Most concretely this freeze property will be used in #102 to remove the duplicate code that is currently in the constructor for setting the size property.
Type of change

[x] New feature (non-breaking change which adds functionality)

How has this been tested?

[x] example: test with examples/layers.ipynb

Final checklist:

[x] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works

thanks! agreed improving the update system sounds like a good idea - right now i find the combination of refresh / update and setting various flags to True / False slightly confusing.

I have now switched to using a context manager. If @jni can review again that would be appreciated. Thanks!

I'm not sure why the linux tests are failing. I tried rerunning them once, maybe @kne42 has an idea. Also I'm not sure why this PR doesn't have a PEP8 comment.

Error message is really obscure – may have to investigate in a docker image sometime... I'll disable required tests in the meantime.


Service::connect and Service::prepare_connection_info are tested and working.

Service::connect and Service::prepare_connection_info are tested and working. This should be enough for routing to use and make utp connections.

r? @vinipsmaker
(maidsafe_highfive has picked a reviewer for you, use r? to override)

Build fails on OSX. I tried restarting the build several times (given udp rendezvous not always succeed and we need to retry a few times), but it kept failing.


Update README.md

Clarify usage of $BP_RUSTUP_INIT_LIBC, or rather that it's not usually required.

Please merge after #45 and #46 to reduce the likelihood of merge conflicts on those PRs.


Realtime USD calculation on Send Transaction page

Users do not yet see the USD conversion of their ETH on the Send Transaction page. The conversion from ETH to USD should be found once and then updated in realtime as the user types the ETH amount into the input field.

[ ] Find the ETH to USD conversion rate on page load (this is found on the homepage, so maybe we should cache the conversion rate)
[x] Update the value in realtime as the user types the ETH amount

Did the conversion in a more taxing way, so probably need to change some time soon.

You should be able to do this by finding the conversion rate on page load and storing it in a state variable

Loaded in the state the same exact way as the home page to get the conversion rate


Missing German translations

There several parts with missing translations in German (some parts don't have translations also in other languages)
Login

Info text
"Forgot password?" -> "Passwort vergessen?"

Home

info texts left and right is in English

Wallet / Account

Wallet - correct translation of Account => Konto
text to link of explorer is in English
Activity text for sending to paratime is in English

Stake (Rose)

Menu item is only "Stake", in English it is "Stake ROSE"

Validators

Commission bounds is in English
Info text for high stake is in English
Confirmation box text is in English

Staking pop-up

Warning is in English
Type info text is in English

Staked

Tab texted was "Active delagations" is now "Staked" in Germen still translations of the old text
info text when nothing is staked/delegated is in English

Buttons are in English

Debonding

info text is in English

ParaTimes

info text is in English

Deposit

title is in English
info text is in English
dropdown text is in English
asteriks text is in English

Withdraw

title is in English
info text is in English
dropdown text is in English
asteriks text is in English

Buy Rose

Menu item in English is "Buy ROSE" in German only "Kaufen" => ROSE kaufen

Testnet

Info text is in English
Warning is in English

Mainnet

Info text is in English
Confirmation box text is in English
asteriks text is in English

Delete Profile

All info text is in English - apart from the word to confirm the deletion

Footer

left side isn't translated
right side is translated, but as date is here before the time correct translation would be "gebaut am"

Hello, are you or someone else working on this problem?

Feel free to contribute German translations to https://app.transifex.com/oasisprotocol/oasis-wallet-web/translate/#de/translationjson/506767042


[Feature]: Adding z-index to the Account-Center

Is your request related to a problem?
No response
Feature Description
For many valid reason , the account-center should be configurable and styling the main container should be possible. Where ever it is used, it is not supposed to be on the z-index:0 but rather your already existing application should have be able to support it. For that as much configuration on the top level of the account center should be possible.
Alternative Solutions
No response
Anything else?
No response

Yes we do need to add this. Thanks for creating the issue. We'll try and get this sorted this week.

Thank you again for the comment! Closing as this is available with latest releases - https://github.com/blocknative/web3-onboard/releases/tag/web3-onboard%2F2.2.0

@Adamj1232 Thank you the change. Can you please tell me how to change the z-index of the account-center. I have pulled the latest version and passed the   --account-center-z-index: 1600; in the css file but it is not taking an effect.

@mahmud-bn can you take a look?

Hi @sgurmani, as explained in our docs, you have to add account-center custom styling CSS variables to the :root in your CSS file
For example,
:root {
  --account-center-z-index: 1600
}

will implement your desired effect.


Zebra ZD421 ZPL no dithering on mac?

Hi,
We have a Zebra ZD421 in our warehouse. Now when tried printing a shipping label, all the text and lines are not sharp.
Now this seems to be a problem caused by the driver/dithering option. However there is no way to disable this on mac.
As there is no driver installed on mac for Zebra, it's built into apple via CUPS. Any solution for this problem? Zebra says we need to contact either CUPS or APPLE... As they just refer to updating firmware perhaps as a solution on windows, but we don't have any windows computers.
Cheers

Hello! I'm experiencing the exact same problem on my Zebra ZD421 thermal printer. Barcodes are printed with very rough jagged edges. I've tried turning the print speed down and I've played with the darkness settings. Nothing seems to help. Is this a dithering issue? How can this be resolved?


2019-02-05のJS: Firefox 65、Safari 12.1(リリース候補)、ECMAScript 2019に入るものが決定

Firefox 65.0, See All New Features, Updates and Fixes
Firefox 65 for developers - Mozilla | MDN
Firefox 65 サイト互換性情報 | Firefox サイト互換性情報
Firefox 65: WebP support, Flexbox Inspector, new tooling & platform updates - Mozilla Hacks - the Web developer blog
Safari 12.1 Release Notes | Apple Developer Documentation
[Ricky Mondello on Twitter: "Release Notes for Safari 12.1 (included with iOS 12.2 and macOS 10.14.4) have been published. I’m going to quote a few lines, but all of the notes are worth checking out if you’re a web developer, an iOS app developer, or a Safari extensions developer. https://t.co/LmiDoREz8e"](https://twitter.com/rmondello/status/1091073294202269696 "Ricky Mondello on Twitter: "Release Notes for Safari 12.1 (included with iOS 12.2 and macOS 10.14.4) have been published. I’m going to quote a few lines, but all of the notes are worth checking out if you’re a web developer, an iOS app developer, or a Safari extensions developer. https://t.co/LmiDoREz8e"")
ECMAScript 2019: the final feature set
[ES2019] ECMAScript proposal updates @ 2019-01 | ECMAScript Daily

bors r+


Contact box request

URL:
https://docs.google.com/forms/d/1Ivul2fh2dpvy6vH17Q3KAfPj5K0C0FDQbuIbjD-QbJU/viewform?usp=send_form

Goes live at midnight!


Server error for urls with special chars (for example %E9)

Sails version: 0.12.7
Node version: v6.6.0
NPM version: 3.10.3
Operating system: OS X

Hello. I've experienced an error for urls with special chars in it. For example I want to open url /members/kbiadun/09xt660zt%E9n%E9r%E9/ but I get this:
error: Server Error:
error: Error: Failed to decode param 'members/kbiadun/09xt660zt%E9n%E9r%E9/'
    at Route.match (/Users/ezhlobo/Work/Datarockets/bikepics/node_modules/sails/node_modules/express/lib/router/route.js:65:17)
    at Router.matchRequest (/Users/ezhlobo/Work/Datarockets/bikepics/node_modules/sails/node_modules/express/lib/router/index.js:259:17)
    at pass (/Users/ezhlobo/Work/Datarockets/bikepics/node_modules/sails/node_modules/express/lib/router/index.js:104:30)
    at Router._dispatch (/Users/ezhlobo/Work/Datarockets/bikepics/node_modules/sails/node_modules/express/lib/router/index.js:173:5)
    at Object.router (/Users/ezhlobo/Work/Datarockets/bikepics/node_modules/sails/node_modules/express/lib/router/index.js:33:10)
    at next (/Users/ezhlobo/Work/Datarockets/bikepics/node_modules/sails/node_modules/express/node_modules/connect/lib/proto.js:174:15)
    at Object.xPoweredBy [as handle] (/Users/ezhlobo/Work/Datarockets/bikepics/node_modules/sails/lib/hooks/http/get-configured-http-middleware-fns.js:222:7)
    at next (/Users/ezhlobo/Work/Datarockets/bikepics/node_modules/sails/node_modules/express/node_modules/connect/lib/proto.js:174:15)
    at Object.methodOverride [as handle] (/Users/ezhlobo/Work/Datarockets/bikepics/node_modules/method-override/index.js:65:14)
    at next (/Users/ezhlobo/Work/Datarockets/bikepics/node_modules/sails/node_modules/express/node_modules/connect/lib/proto.js:174:15)
    at next (/Users/ezhlobo/Work/Datarockets/bikepics/node_modules/sails/node_modules/express/node_modules/connect/lib/proto.js:176:9)
    at Object._parseHTTPBody [as handle] (/Users/ezhlobo/Work/Datarockets/bikepics/node_modules/skipper/index.js:56:14)
    at next (/Users/ezhlobo/Work/Datarockets/bikepics/node_modules/sails/node_modules/express/node_modules/connect/lib/proto.js:174:15)
    at Object.addCurrentUserToCookie [as handle] (/Users/ezhlobo/Work/Datarockets/bikepics/config/http.js:93:14)
    at next (/Users/ezhlobo/Work/Datarockets/bikepics/node_modules/sails/node_modules/express/node_modules/connect/lib/proto.js:174:15)
    at require.readdir (/Users/ezhlobo/Work/Datarockets/bikepics/config/http.js:82:16)
    at FSReqWrap.oncomplete (fs.js:123:15)

No need any extra dependencies to reproduce it. However let me know if you need separate repository for this.
Also I see that this error related to express and I found that they've fixed it in 4.13 version:
https://github.com/expressjs/express/issues/2652
Is it possible to run sails with the newest version of express js? I guess it helps me, but I'm not sure. Or how can I handle such routes with current sails version?

I can reproduce this as well. It looks like express throws an error in this case, but sets the status of the error to 400, so this case is handled correctly by express on its own. Something about the interaction with sails is causing this error to be unhandled and sent to the client as a 500 error.

@not-an-aardvark @ezhlobo hey guys, thanks for bringing this up.  In Express 4.13, you'll still see this error, as you pointed out-- the difference is that the lower-level error bubbles up.
In Sails v0.12.7, the error looks like this:

I agree that this would be better handled as a 400- @ezhlobo is that the behavior you're expecting as well?

@not-an-aardvark @ezhlobo would you guys take https://github.com/balderdashy/sails/commit/cb74c3cd62d0b5e4ad5b672bb58e08a1e3cbcd52 for a spin?  It looks good to go from over here, but always nice to get some verification.  There's a few other things I'd like to include in 0.12.8, but assuming this looks good, we'll be ready to go on that tomorrow.  Thanks!

I can confirm that https://github.com/balderdashy/sails/commit/cb74c3cd62d0b5e4ad5b672bb58e08a1e3cbcd52 fixes the problem. Thanks for resolving this so quickly!

@not-an-aardvark awesome, thanks (and likewise re testing it!)

@mikermcneil thank you! It looks much better!
Actually I wanted to work with such urls. I thought that we can use not encoded strings :). But nevermind, I'll do redirects in nginx (because according to spec we should encode all urls). Thanks for handling this issue as 400.

@ezhlobo @not-an-aardvark 🙇
Published in 0.12.8


Incorrect warning for parameters with multiple types

You're probably aware of this but for parameters that accept multiple types, like vec3ui and vec4ui for Geometry.index, a status message is shown due to the parameter value being retrieved in one of the types while the other type is passed. E.g. when passing a vec4ui array:
OSPRAY STATUS: ospray::Mesh ignoring 'index' array with wrong element type (should be vec3ui)

Order matters as well, if I pass a vec3ui array the message isn't shown, as that type is tested first.

Hmmm, just ran into this issue again 1.5 years later :smile: The message is still quite misleading in the way it is worded

Tricky. Indeed, the check (and message) happens in isolation, the code has no context that an alternative type of the parameter would be accepted. We need to check at a higher level.

I find the should be ... part to be the most troublesome, as it puts me on the wrong foot. Perhaps rewording that to checked for ..., to correctly say that only a check for a single type was done (while leaving open the possibility for another type).

6df5ab4cb5836c1b08b85c1f5443c6e5d84bfd82 also improves this error message.


clients: use connect API in faucet

This PR will use the connect API in the faucet! Reflection, types and everything nice.

test failures are unrelated


Update to OL 3.3.0 and Cesium 1.7.1

Latest stable versions.

+1

Thank you for the review @fredj.


Exit if agent cannot initially create certificate or parse flags

currently, the agent will continue 'running' in a loop of errors if it cannot get a key signed. This gives the impression that the agent is running happily, even when it isn't, making it more difficult to detect errors.
This PR changes the behaviour so that the agent will exit if it cannot get a valid certificate or if it cannot parse the config flags given.
With this, it will be easier to detect a misconfigured agent e.g. running as a k8s deployment (it will crashLoop)

We still verify the keys on exit from the ssh command, so we still cover the case where a certificate expires since the last start.

+1

@dafydd-t do we have any timeline for this rolling out? It's a critical failure for us and affecting our production stacks.

@dafydd-t unfortunately #31 did not fix the issue. More details provided on the grafana case. May be an idea:
it should be pretty straightforward to provide healthcheck possibility / probe for k8s setup that way we can run multiple replicas and since each of them fails at different duration atleast we will have high availability when the pod crashes and k8s takes care of container restart.

Seconding @chit786 's response, though we're just running a single instance in Docker on an EC2

thanks @dafydd-t for picking this up.. 💪


ListBox in StackPanel has wrong size

When putting a ListBox into a StackPanel, the ListBox does not honor the vertical size restriction.
<Window xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        d:DesignWidth="800" d:DesignHeight="450"
        x:Class="TopologyEditor.MainWindow"
        Title="MainWindow">
    <StackPanel VerticalAlignment="Stretch">
        <ListBox HorizontalAlignment="Left"
                 ScrollViewer.VerticalScrollBarVisibility="Visible" Items="{Binding Items}">
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <TextBlock Text="{Binding Name}" />
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>
    </StackPanel>
</Window>

In the example above the bottom part of the vertical scrollbar lies outside the window. I tried numerous VerticalAlignments and/or Components - I cannot manage to put a ListBox below any dynamically sized element.
This example produces an exception:
<Window xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        d:DesignWidth="800" d:DesignHeight="450"
        x:Class="TopologyEditor.MainWindow"
        Title="MainWindow">
    <StackPanel VerticalAlignment="Stretch">
        <RelativePanel VerticalAlignment="Stretch">
            <ListBox RelativePanel.AlignBottomWithPanel="True" VerticalAlignment="Stretch" HorizontalAlignment="Left"
                     ScrollViewer.VerticalScrollBarVisibility="Visible" Items="{Binding Items}">
                <ListBox.ItemTemplate>
                    <DataTemplate>
                        <TextBlock Text="{Binding Name}" />
                    </DataTemplate>
                </ListBox.ItemTemplate>
            </ListBox>
        </RelativePanel>
    </StackPanel>
</Window>

Unhandled exception. System.InvalidOperationException: Invalid size returned for Measure.
   at Avalonia.Layout.Layoutable.Measure(Size availableSize) in /_/src/Avalonia.Layout/Layoutable.cs:line 373
   at Avalonia.Controls.StackPanel.MeasureOverride(Size availableSize) in /_/src/Avalonia.Controls/StackPanel.cs:line 207
   at Avalonia.Layout.Layoutable.MeasureCore(Size availableSize) in /_/src/Avalonia.Layout/Layoutable.cs:line 559
   at Avalonia.Layout.Layoutable.Measure(Size availableSize) in /_/src/Avalonia.Layout/Layoutable.cs:line 364
   at Avalonia.Layout.LayoutHelper.MeasureChild(ILayoutable control, Size availableSize, Thickness padding) in /_/src/Avalonia.Layout/LayoutHelper.cs:line 46
   at Avalonia.Layout.LayoutHelper.MeasureChild(ILayoutable control, Size availableSize, Thickness padding, Thickness borderThickness) in /_/src/Avalonia.Layout/LayoutHelper.cs:line 39
   at Avalonia.Controls.Presenters.ContentPresenter.MeasureOverride(Size availableSize) in /_/src/Avalonia.Controls/Presenters/ContentPresenter.cs:line 362
   at Avalonia.Layout.Layoutable.MeasureCore(Size availableSize) in /_/src/Avalonia.Layout/Layoutable.cs:line 559
   at Avalonia.Layout.Layoutable.Measure(Size availableSize) in /_/src/Avalonia.Layout/Layoutable.cs:line 364
   at Avalonia.Layout.LayoutHelper.MeasureChild(ILayoutable control, Size availableSize, Thickness padding) in /_/src/Avalonia.Layout/LayoutHelper.cs:line 46
   at Avalonia.Controls.Primitives.VisualLayerManager.MeasureOverride(Size availableSize) in /_/src/Avalonia.Controls/Primitives/VisualLayerManager.cs:line 133
   at Avalonia.Layout.Layoutable.MeasureCore(Size availableSize) in /_/src/Avalonia.Layout/Layoutable.cs:line 559
   at Avalonia.Layout.Layoutable.Measure(Size availableSize) in /_/src/Avalonia.Layout/Layoutable.cs:line 364
   at Avalonia.Layout.Layoutable.MeasureOverride(Size availableSize) in /_/src/Avalonia.Layout/Layoutable.cs:line 625
   at Avalonia.Layout.Layoutable.MeasureCore(Size availableSize) in /_/src/Avalonia.Layout/Layoutable.cs:line 559
   at Avalonia.Layout.Layoutable.Measure(Size availableSize) in /_/src/Avalonia.Layout/Layoutable.cs:line 364
   at Avalonia.Layout.Layoutable.MeasureOverride(Size availableSize) in /_/src/Avalonia.Layout/Layoutable.cs:line 625
   at Avalonia.Controls.Window.MeasureOverride(Size availableSize) in /_/src/Avalonia.Controls/Window.cs:line 859
   at Avalonia.Controls.WindowBase.MeasureCore(Size availableSize) in /_/src/Avalonia.Controls/WindowBase.cs:line 246
   at Avalonia.Layout.Layoutable.Measure(Size availableSize) in /_/src/Avalonia.Layout/Layoutable.cs:line 364
   at Avalonia.Layout.LayoutManager.Measure(ILayoutable control) in /_/src/Avalonia.Layout/LayoutManager.cs:line 287
   at Avalonia.Layout.LayoutManager.ExecuteInitialLayoutPass() in /_/src/Avalonia.Layout/LayoutManager.cs:line 174
   at Avalonia.Controls.Window.ShowCore(Window parent) in /_/src/Avalonia.Controls/Window.cs:line 660
   at Avalonia.Controls.Window.Show() in /_/src/Avalonia.Controls/Window.cs:line 611
   at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args) in /_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 115
   at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode) in /_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 148

Avolonia 0.10.6

In the example above the bottom part of the vertical scrollbar lies outside the window.

Expected. Stack Panel does not constraints child size, but allows to take as much space as it needs. Otherwise it wouldn't be possible to "stack" elements after each other. Depending on your task you might need Grid or UniformGrid or DockPanel or else.
Or you can remove scroll bar from ListBox by disabling it, and put ScrollViewer as parent of your StackPanel. It will work, but it will disable virtualization (if you have a lot of items there).
About second example, having ListBox inside of RelativePanel inside of StackPanel does not sounds as expected scenario... But exception also isn't something that I might expect there.

Actually I tried a lot of combinations - even with RelativePanel the bottom part of the scrollbar is cut
<Window xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        d:DesignWidth="800" d:DesignHeight="450"
        x:Class="TopologyEditor.MainWindow"
        Title="MainWindow">

    <RelativePanel VerticalAlignment="Stretch">
        <TextBlock x:Name="test" Text="Test" />
        <ListBox RelativePanel.Below="test" RelativePanel.AlignBottomWithPanel="True"
                 ScrollViewer.VerticalScrollBarVisibility="Visible" Items="{Binding Items}">
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <TextBlock Text="{Binding Name}" />
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>
    </RelativePanel>
</Window>

I am not sure how exactly it should work with RelativePanel, but I expect it to be similar to StackPanel in this scenario.
Have you tried more common (for this scenario) Grid or DockPanel?
    <DockPanel VerticalAlignment="Stretch">
        <TextBlock DockPanel.Dock="Top" x:Name="test" Text="Test" />
        <ListBox ScrollViewer.VerticalScrollBarVisibility="Visible" Items="{Binding Items}">
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <TextBlock Text="{Binding Name}" />
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>
    </DockPanel>

Thank you. This seems to work good enough for the time being.
But there still is a measuring issue, it seems. There now is some additional whitespace at the bottom of the list content.

When compared to only putting the listbox in the window:

The difference could well be the height of the "Test"-text.

I believe this issue can be closed. And for flickering you already created another one - https://github.com/AvaloniaUI/Avalonia/issues/6360


Add basic continuous integration

Add some basic 'Actions' to:

build
test
vet

Build and test actions added.


Ord indexing "loops" or "resets" back to a previous level and never completes

On the Ordicord we've seen many reports of issues since the halving, where ord indexing loops indefinitely, returning to previous levels and never completing successfully. We've been recommending folks add a --commit-interval 100 (or even lower value sometimes) and that generally seems to fix it. Rather than just continue doing that forever, I wanted to bring it up here, and see if any of the devs are aware of the situation and/or working toward a fix. Or maybe our workaround is enough? Don't know, seems like there should be some way to adapt that commit interval when the machine it's running on is struggling.
Low RAM seems to be a factor, but, to be clear, this issue has not affected me directly so I don't have any specifics to report, just generalities!

On the Ordicord we've seen many reports of issues since the halving, where ord indexing loops indefinitely, returning to previous levels and never completing successfully. We've been recommending folks add a --commit-interval 100 (or even lower value sometimes) and that generally seems to fix it. Rather than just continue doing that forever, I wanted to bring it up here, and see if any of the devs are aware of the situation and/or working toward a fix. Or maybe our workaround is enough? Don't know, seems like there should be some way to adapt that commit interval when the machine it's running on is struggling.
Low RAM seems to be a factor, but, to be clear, this issue has not affected me directly so I don't have any specifics to report, just generalities!

Thanks for reporting this, so7ow.  I've been experiencing it for sometime and can confirm that a large swath of Ordicord users experience it as well.  I'm not sure the best way to handle it, but my initial thought is to just drastically lower the default commit interval (which is currently at 5000).  My machine has 32GB of RAM and I've had to lower the interval to single digits at times.
Perhaps if this setting was changed to be based on GB of RAM rather than number of blocks?

On the Ordicord we've seen many reports of issues since the halving, where ord indexing loops indefinitely, returning to previous levels and never completing successfully. We've been recommending folks add a --commit-interval 100 (or even lower value sometimes) and that generally seems to fix it. Rather than just continue doing that forever, I wanted to bring it up here, and see if any of the devs are aware of the situation and/or working toward a fix. Or maybe our workaround is enough? Don't know, seems like there should be some way to adapt that commit interval when the machine it's running on is struggling.
Low RAM seems to be a factor, but, to be clear, this issue has not affected me directly so I don't have any specifics to report, just generalities!

I have encountered the same problem as well.

Yup, I'm having the same issue myself.  I've spent a few days trying to resolve it with no success.  The reporting of any fix or workaround would certainly be appreciated.

Yup, I'm having the same issue myself.  I've spent a few days trying to resolve it with no success.  The reporting of any fix or workaround would certainly be appreciated.

The workaround that seems to resolve the issue for everyone is to set the --commit-interval to something much lower like 100, and see if that works. If not, keep lowering it until it does.

I was digging around and found that this is a dupe of #1630
I think a fix for this needs to be a priority as it is increasingly difficult for many users to index without using the --commit-interval flag. @raphjaph could we add this to the tracker?

Been experiencing this issue for the past 3 weeks. I’ve attempted the —commit-interval flag with different amounts and it still loops. Only way I can successfully index right now is to let it run and then ctrl c to safely shutdown and it registers.  It’s just very time consuming doing this and wish I could just let it run like normal 😅
Windows 64GB Ram plenty of storage.

Been experiencing this issue for the past 3 weeks. I’ve attempted the —commit-interval flag with different amounts and it still loops. Only way I can successfully index right now is to let it run and then ctrl c to safely shutdown and it registers.  It’s just very time consuming doing this and wish I could just let it run like normal 😅
Windows 64GB Ram plenty of storage.

Been experiencing this issue for the past 3 weeks. I’ve attempted the —commit-interval flag with different amounts and it still loops. Only way I can successfully index right now is to let it run and then ctrl c to safely shutdown and it registers.  It’s just very time consuming doing this and wish I could just let it run like normal 😅
Windows 64GB Ram plenty of storage.

Went as low as 25

Went as low as 25

Go lower. 👍🏻

Yeah, it finally worked for me at 5.

@raphjaph I think we could use the expertise of mconst on the fix for this issue.  It should be easy enough just to lower the default value for the --commit-interval flag.  However, I worry that if it is lowered by too much, it could lengthen the index time for a beefier machine that doesn't have any issues with the current default value.  Is this an issue that needs benchmarking to determine the optimal default value, or would setting it very low (single digits) not impact the overall indexing time by that much?
It seems like it could be a zero-sum change. For example, an index with a default commit interval might spend 5 minutes every 5000 blocks updating the db with those blocks, but lowering that value to 100 could take the same time if the server then only spent 6s per update.  If that were the case, the lower value wouldn't impact overall indexing time. I'm just not sure that is the way it works.

Yeah, it finally worked for me at 5.

I wanted to follow up and say 5 worked for me.  Thank you!

Is this specific to Windows, or does it affect other OSes?

Windows here, not sure about the others.  I'll start asking everyone in the Ordicord that experiences this issue from now on.

@cryptoni9n Thanks! @partialord is a little worried that a future performance improvement might exacerbate this issue, so we want to make sure it's nailed down. Any additional information is super useful.

Other things which would be good to know when someone runs into this bug:

What indexing options are they using? (sats, addresses, runes, inscriptions, etc)
How much RAM do they have?
What's the error message when it loops? On Windows they'll need to do set RUST_LOG=info, and on Unix export RUST_LOG=info
Which block range is it looping on?

Hey friends, this is currently happening to me as we speak. How can I help?
On windows 11
indexing sats, runes, addresses, inscriptions
32GB ram
Looping on<PHONE_NUMBER>00
Just added rust logging, will report back in a bit.
Hope this helps

[2024-12-07T04:31:56Z INFO  ord::index::updater] Block 840000 at 2024-04-20 00:09:27 UTC with 3050 transactions…
[2024-12-07T04:31:57Z INFO  ord::index::updater] Block receiver disconnected: sending on a closed channel
[2024-12-07T04:31:58Z INFO  ord::index] JSON-RPC error: transport error: Couldn't connect to host: An established connection was aborted by the software in your host machine. (os error 10053)
[2024-12-07T04:31:58Z WARN  ord::subcommand::server] Updating index: JSON-RPC error: transport error: Couldn't connect to host: An established connection was aborted by the software in your host machine. (os error 10053)
[2024-12-07T04:32:03Z INFO  ord::settings] Connecting to Bitcoin Core at http://<IP_ADDRESS>:8332/
[2024-12-07T04:32:03Z INFO  ord::index::updater] Block 839646 at 2024-04-17 14:17:10 UTC with 2957 transactions…

Looks like it's saying there is an issue with "Block receiver disconnected" - but why at 840k exactly... seems... odd.
Lowering my commit_interval to 25 broke me out of the loop.

I recently ran into this bug running ord on the fractal chain. The code is pretty much the same as upstream ord, so hopefully this is useful to nail down the bug.

Other things which would be good to know when someone runs into this bug:
* What indexing options are they using? (sats, addresses, runes, inscriptions, etc)

inscription index: true
rune index: true
address index: false
sat index: false
transaction index: false

* How much RAM do they have?

64 GB RAM and 100 GB swap

* What's the error message when it loops? On Windows they'll need to do `set RUST_LOG=info`, and on Unix `export RUST_LOG=info`

See attachments.
The first:
[2024-12-12T16:36:12Z DEBUG bitcoincore_rpc] JSON-RPC request: getrawtransaction ["aa899f1d04ec9a4652cbef36595487dbaac2bda1b6c87335ee8c7f07aec43b25",true]
[2024-12-12T16:36:27Z DEBUG bitcoincore_rpc] JSON-RPC failed parsing reply of getrawtransaction: JsonRpc(Transport(SocketError(Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" })))

The 2nd:
[2024-12-12T16:37:01Z DEBUG bitcoincore_rpc] JSON-RPC request: getrawtransaction ["91b4ab38d92eb0aae16038e53e060f981d84f7f9df82572d0fd52bd71f954fd3",true]
[2024-12-12T16:37:16Z DEBUG bitcoincore_rpc] JSON-RPC failed parsing reply of getrawtransaction: JsonRpc(Transport(SocketError(Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" })))

* Which block range is it looping on?

Various.
log1.txt
log2.txt


Dev

Coverage increased (+1.1%) to 96.133% when pulling 036cd8001c313094694347dbdc8afc8227a21a92 on dev into 92c3b99b046c95b8414ace130f48cd1795668bc5 on master.

Coverage increased (+1.1%) to 96.133% when pulling 036cd8001c313094694347dbdc8afc8227a21a92 on dev into 92c3b99b046c95b8414ace130f48cd1795668bc5 on master.