Using additional values not intended to be used with this version of the engine results in a crash.

As you MIGHT of heard Plantoids Plus functions off of a modified version of Psych engine and contains various additional features. that are supposed to be optional. As such they include their own values.

These values are designed to not be required for compatibility with PPlus' version of the engine, and are simply fun additional things that can be used. That effect only the pplus version. However in this recent update. Psych parses the week files, and if it finds an "invalid" field. say a value used by the pplus variation of the engine. It crashes.

This makes compatibility between the two impossible. a Potential fix could make it so it ignores invalid values instead of crashing the engine outright.
I have not checked if it would crash if a character.json has a set character arrow skin, the chart having a "composer" value or "uiskin" value. Or our implementation of soft-coded achievements (this one will be updated to follow the official coding once compat between the two engines is restored.)
If you have any questions, please reach out to me or Star on the github for Plantoids Plus
It would be good for both me and Star if this is fixed as soon as possible.
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
Which branch of the engine are you using?
Latest (main)
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
Nope.

Update on this.

the menu characters having the pplus value doesn't cause a crash. it is only specifically with the week.json
an easier fix for the week.json crash would be to make it recognize the values
"weekBackground_plantoidsplus", "ui_background_color" and "plantoidsplus_special", and ignores these values. thus preventing the crash without having to revert to the previous "just scan everything" approach versions prior to v0.7.2 used.
This would probably seem selfish though due to these values basically being built for the pplus build.

This issue has sense been fixed by the team, me and Star greatly appreciate this.
Have a good day!


Updating README

Go through the Project and update the README adding screenshots and listing the features.Also you may add gif or mini video demonstrating the working.

I would like to work on this issue will you please assign me this 1

hey @param-code ,
can you please assign it to me??

Yeah Yeah sure!! I am assigning both of you.All the Best!!Will see later which one to merge.


chore: bump to nightly-2022-01-17

There's still a weird crash in the NormCast file.  The IR interpreter reaches an unreachable instruction.

There's still a weird crash in the NormCast file. The IR interpreter reaches an unreachable instruction.

That's because the file uses builtin_initialize to create a simp attribute and then accesses it in the same file.  Not sure how this didn't crash before.


[UI] Rules table by screen size

tabla rules:
Large screen :
divtable-info : 130 px para todos except "Query" that we'll be longer
Small (1024):
Rework title column name


Line is too long. 80 characters max

80 line limit looks too small, it was required in old times for VGA resolution, but for now, I think we can easily set 100 or 120
https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml

I'm fine with going with either 100 or 120.

Agree!

Done in https://github.com/riboseinc/oss-guides/pull/30, but reverted in https://github.com/riboseinc/oss-guides/pull/31.
Relevant discussion was here: https://github.com/riboseinc/oss-guides/pull/31#discussion_r595879977. TL;DR: 80 chars is a good practice. If someone wants more, he should do a per-project override.
Closing.


Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

Heya, is it possible to make pre-built binaries for<EMAIL_ADDRESS>available? I'm getting the following on a Windows install.
node-pre-gyp ERR! Tried to download(404): https://node-inspector.s3.amazonaws.com/profiler/v5.7.0/node-v57-win32-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v57 ABI) (falling back to source compile with node-gyp)

you can take a look at this issue

Ah I see, it's more complicated than just adding the binaries. Thanks for letting me know!


Implemented support for Async publish/subscribe.

Hi,
I know there has been discussions before related to an async version, so I will try again. It might be that I have misunderstood something, so feel free to enlighten me:-)
I have tried to adjust your implementation to also support an async version.
My use-case is as follows:
I will publish a message which will be handled by several components. Each of these will have some non cpu bound actions, e.g. accessing Azure blob storage and Redis Cache using async methods.
I need to know that each of the subscribers have completed their work before continuing.

usage:
       hub.Subscribe<string>(async msg =>
        {
            await  ....some async opertion.
        });

       await hub.Publish("some message")

Many txh:-)
Rune

Hi Rune,
Thanks for your effort. I am still not convinced this library should support async pub/sub.
Here's an example of how you can achieve awaiting subscribers (through the message itself) until they finish processing.
async Task Main()
{
  IMessageHub hub = new MessageHub();

  var message = new SomeMessage();

  hub.Subscribe<SomeMessage>(async x => {
    await Task.Delay(3000); // Simulate async work
    x.SetAsProcessed();
    Console.WriteLine("Set as processed.");
  });

  hub.Publish(message);

  await message.IsBeingProcessed;
  Console.WriteLine("Done");
}

public sealed class SomeMessage
{
  private readonly TaskCompletionSource<bool> _tcs;

  public SomeMessage() =>
    _tcs = new TaskCompletionSource<bool>(TaskCreationOptions.RunContinuationsAsynchronously);

  public Task IsBeingProcessed => _tcs.Task;
  public void SetAsProcessed() => _tcs.SetResult(true);
}

Hi Nima,
Many thx for your feedback, much appreciated.
I very much like your implementation. I started out using Caliburn event aggregator, but found that I did not like the way it was used. Your api is much more intuitive and easy to use, not requiring subscribing to the whole class, which is easy to forget.
That being said, your workaround above will solve my issue, but then it will not have the same fluent api usage. Im sure you have very good reasons for not supporting async publish/subscribe. Could you please tell me why, just to enlighten me:-)
For the mean time, I have started to use my implementation. It could have been improved, especially the repeating code in the  PublishAsync method.
Again, thx for a very good component.
Best regards,
Rune
Note. This is fun. I have never tried to contribute to a public repository before. Must do this more often:-)

Glad you found this library useful :-)
I do not think Easy.MessageHub should concern itself with async. To me, message publication and subscription are CPU bound and it is up to the subscribers to handle the messages however they see fit be it synchronously or asynchronously.
For your specific case for example, I would create an explicit AsyncMessage base class abstraction which I would pass around in cases where publishers need to await subscribers.
To summarize:
There are many EventAggregators/Mediators and Pub/Sub libraries out there and this one was somewhat inspired by Caliburn. Many of these are too complex with many abstractions therefore, I have intentionally kept it very simple yet still flexible enough to allow building more patterns on top. In my opinion, this library should encourage (or even enforce) users to implement their intentions clearly and explicitly rather than provide them with further abstractions which are more specific to their use-case.
You are more than welcome to modify the source however you see fit to bend it to your needs but I am yet to be convinced that adding async support is justified; Who knows I may revisit the idea.
I definitely encourage contributions and try to do some myself; It is a great way of learning new coding styles, patterns and algorithms.
Hope this helps.


python312Packages.gremlinpython: 3.7.1 -> 3.7.3

Routine bump
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 353459

x86_64-linux

:x: 4 packages failed to build:

python311Packages.awswrangler
python311Packages.awswrangler.dist
python312Packages.awswrangler
python312Packages.awswrangler.dist

:white_check_mark: 11 packages built:

cassandra (cassandra_4)
cassandra_3_0
cassandra_3_11
python311Packages.cassandra-driver
python311Packages.cassandra-driver.dist
python311Packages.gremlinpython
python311Packages.gremlinpython.dist
python312Packages.cassandra-driver
python312Packages.cassandra-driver.dist
python312Packages.gremlinpython
python312Packages.gremlinpython.dist

aarch64-linux

:x: 4 packages failed to build:

python311Packages.awswrangler
python311Packages.awswrangler.dist
python312Packages.awswrangler
python312Packages.awswrangler.dist

:white_check_mark: 11 packages built:

cassandra (cassandra_4)
cassandra_3_0
cassandra_3_11
python311Packages.cassandra-driver
python311Packages.cassandra-driver.dist
python311Packages.gremlinpython
python311Packages.gremlinpython.dist
python312Packages.cassandra-driver
python312Packages.cassandra-driver.dist
python312Packages.gremlinpython
python312Packages.gremlinpython.dist

x86_64-darwin

:fast_forward: 2 packages marked as broken and skipped:

python312Packages.cassandra-driver
python312Packages.cassandra-driver.dist

:x: 4 packages failed to build:

python311Packages.awswrangler
python311Packages.awswrangler.dist
python312Packages.awswrangler
python312Packages.awswrangler.dist

:white_check_mark: 9 packages built:

cassandra (cassandra_4)
cassandra_3_0
cassandra_3_11
python311Packages.cassandra-driver
python311Packages.cassandra-driver.dist
python311Packages.gremlinpython
python311Packages.gremlinpython.dist
python312Packages.gremlinpython
python312Packages.gremlinpython.dist

aarch64-darwin

:fast_forward: 2 packages marked as broken and skipped:

python312Packages.cassandra-driver
python312Packages.cassandra-driver.dist

:x: 4 packages failed to build:

python311Packages.awswrangler
python311Packages.awswrangler.dist
python312Packages.awswrangler
python312Packages.awswrangler.dist

:white_check_mark: 9 packages built:

cassandra (cassandra_4)
cassandra_3_0
cassandra_3_11
python311Packages.cassandra-driver
python311Packages.cassandra-driver.dist
python311Packages.gremlinpython
python311Packages.gremlinpython.dist
python312Packages.gremlinpython
python312Packages.gremlinpython.dist


Update to binaryen v110

Closes #96.

Sizes are similar, and even a little bigger than with the previous version.


Unable To Connect to Endpoint (Curl returned error code 28)

I am trying to upload a .jpg to my bucket and get this error
PutObject error:  Unable to connect to endpoint
My function looks like this to upload the image to S3
inline void
  uploadToS3(Aws::String bucket_name, Aws::String key_name, Aws::String file_path)
  {
    Aws::SDKOptions options;
    Aws::InitAPI(options);
    Aws::Client::ClientConfiguration clientConfig;
    clientConfig.scheme = Aws::Http::Scheme::HTTPS;
    clientConfig.region = Aws::Region::US_WEST_1;
    Aws::S3::S3Client s3_client(clientConfig);
    clientConfig.connectTimeoutMs = 30000;
    clientConfig.requestTimeoutMs = 600000;
    Aws::S3::Model::PutObjectRequest object_request;
    object_request.WithBucket(bucket_name).WithKey(key_name);

    auto input_data = Aws::MakeShared<Aws::FStream>("PutObjectInputStream",
    file_name.c_str(), std::ios_base::in | std::ios_base::binary | std::ios_base::trunc);

    object_request.SetBody(input_data);
    object_request.SetContentType("image/jpeg");
    object_request.SetContentLength(static_cast<long>(51908));
    auto put_object_outcome = s3_client.PutObject(object_request);

    if (put_object_outcome.IsSuccess())
    {
      LOG_INFO("Uploaded to bucket");
    }
    else
    {
      std::cout << "PutObject error: " <<
      put_object_outcome.GetError().GetExceptionName() << " " <<
      put_object_outcome.GetError().GetMessage() << std::endl;
    }
    Aws::ShutdownAPI(options);
  }

I have to do SetContentLength otherwise I get a
BadRequest Message: An error occurred when parsing the HTTP request. error
I use this function like so:
Aws::String file_path = "testimage1.jpg";
Aws::String bucket_name = "dummy";
Aws::String key_name = "key"; //secret key
uploadToS3(bucket_name, key_name, file_path);

I attach the log where I get the error code 28 error. I'm not sure how to fix this error. thanks!
aws_sdk_2018-06-27-23.log

Seems like a firewall issue. The SDK, by default, uses virtual addressing, meaning, it will connect to the following host:
fetchdummy.s3.us-west-1.amazonaws.com make sure that endpoint is reachable from your machine using curl or similar tools

Thanks for the reply, I just used curl and was able to upload fine so I believe it is not a firewall issue. I still believe it may be related to the date header though i havent come up with a fix yet

Ah, it wouldn't be the time actually I didn't realize it was GMT. The script I used that worked successfully is here: https://gist.github.com/chrismdp/6c6b6c825b07f680e710
`S3KEY="my aws key"
S3SECRET="my aws secret" # pass these in
function putS3
{
path=$1
file=$2
aws_path=$3
bucket='my-aws-bucket'
date=$(date +"%a, %d %b %Y %T %z")
acl="x-amz-acl:public-read"
content_type='application/x-compressed-tar'
string="PUT\n\n$content_type\n$date\n$acl\n/$bucket$aws_path$file"
signature=$(echo -en "${string}" | openssl sha1 -hmac "${S3SECRET}" -binary | base64)
curl -X PUT -T "$path/$file"
-H "Host: $bucket.s3.amazonaws.com"
-H "Date: $date"
-H "Content-Type: $content_type"
-H "$acl"
-H "Authorization: AWS ${S3KEY}:$signature"
"https://$bucket.s3.amazonaws.com$aws_path$file"
}
for file in "$path"/; do
putS3 "$path" "${file##/}" "/path/on/s3/to/files/"
done`
I am having trouble identifying what information my s3 upload function is missing that this script contains

Oh that's weird then. The script shouldn't have worked then since my bucket is in the us-west-1 region right? I just reran my uploadToS3 function and set the region to us-east-1 and it gave me an error that it is expecting 'us-west-1' so it is identifying the bucket in the right region, why would it accept the script if it uses us-east-1

I identified that without this line acl="x-amz-acl:public-read", the script does not work. Does that have any relation to my uploadToS3 function not working?

I also was able to use the python aws SDK to upload a .jpg with my default region set as us-west-1, but it would be much more convenient for me if I can get it working with the cpp sdk!

Your logs show that curl returns with a timeout error after 3 seconds. However, your config shows clientConfig.connectTimeoutMs = 30000; which is 30 seconds. Depending on your location from us-west-1, you might need more than 3 seconds. Can you please verify the number you pasted above?

Yes that number is correct. I attached another log here (I set the maxContainers to 30 in this example just seeing if it would magically fix)
aws_sdk_2018-06-28-23.log

Ahhhh woops good catch! It does timeout after 30 seconds now but I'm getting another error with a RequestTimeout that can be seen in the log. I'm not sure why it is getting a bad request, I tried with a .md file as well and ran into the same error.
aws_sdk_2018-06-29-02.log

Probably because you’re hardcoding the content length and sending a file that is smaller.
The SDK will calculate the content length for you.

Check the filestream after opening it and before using it.


Chrome fails to draw content in pdf.js when switching between tabs

Attach (recommended) or Link to PDF file here: https://arxiv.org/pdf/2212.09034.pdf
Configuration:

Web browser and its version: Chrome 126.0.6463.0 (Official Build) canary (64-bit) (cohort: Clang-64)
Operating system and its version: Windows 10 Version 22H2 (Build 19045.4291)
PDF.js version: 3.9.49, 4.3.21
Is a browser extension: Yes

Steps to reproduce the problem:

Open the file FIVE times in different tabs
Switch back to the first Tab

What is the expected behavior? (add screenshot)

What went wrong? (add screenshot)

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
This is Chrome regression from 126.0.6462.0.
I opened a bug report for Chrome.
So far, they were able to reproduce the issue (on Mac), but haven't been able to bisect it.

Thanks for the information.
Given that this is apparently a browser regression, and not a PDF.js one, I'm not sure that it's necessary for us to keep this issue open here.
Generally speaking, we're quite unlikely to attempt to hack-around browser bugs unless they affect Firefox (which is the primary development target here).


Demon Lord Seed or Demon Lord Breed ?

Sorry for asking this in the wrong place.
In volume 6, I found this, "Demon Lord Seed", but in volume 7 it became "Demon Lord Breed". Are they two the same thing?
I have searched translator note for it but i can't find it.
Sorry for my bad English.

yup, they're the same thing. vol 6 and 7 had less than ideal translations as we were still working things out then

yup, they're the same thing. vol 6 and 7 had less than ideal translations as we were still working things out then

Thanks for Your reply. And thanks for Your hard Word 👍


Antti/update submitsearchquery docs

Before creating a pull request, make sure that you have read the contribution file located at
https://github.com/pnp/powerShell/blob/dev/CONTRIBUTING.md
Type

[ ] Bug Fix
[ ] New Feature
[ ] Sample
[x] Update documentation

Related Issues?
None
What is in this Pull Request ?
I was working on another issue and another branch and when playing around with Submit-PnPSearchQuery I noticed there were a few things I could improve in the documentation. :)

Thanks @koskila , merged it !!


Installing 2.4.1 fails on macOS 10.12.4 due to OpenSSL

It appears that something is causing the 2.4.1 build not to find the copy of OpenSSL (1.1.0e) that ruby-build has just installed in ~/.rbenv/versions/2.4.1/openssl/. When I run rbenv install 2.4.1, I get:
BUILD FAILED (OS X 10.12.4 using ruby-build 20170405-6-gc7a4f34)
Some of the relevant output:
Downloading openssl-1.1.0e.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/57be8618979d80c910728cfc99369bf97b2a1abd8f366ab6ebdee8975ad3874c
Installing openssl-1.1.0e...
Installed openssl-1.1.0e to /Users/kbullock/.rbenv/versions/2.4.1

[...]

Last 10 log lines:
The Ruby openssl extension was not compiled.
ERROR: Ruby install aborted due to missing extensions
Try running `apt-get install -y libssl-dev` to fetch missing dependencies.

Configure options used:
  --prefix=/Users/kbullock/.rbenv/versions/2.4.1
  --with-openssl-dir=/Users/kbullock/.rbenv/versions/2.4.1/openssl
  CC=clang
  LDFLAGS=-L/Users/kbullock/.rbenv/versions/2.4.1/lib
  CPPFLAGS=-I/Users/kbullock/.rbenv/versions/2.4.1/include

In the log, I see:
*** Following extensions failed to configure:
../.././ext/gdbm/extconf.rb:0: Failed to configure gdbm. It will not be installed.
../.././ext/openssl/extconf.rb:64: Ignore OpenSSL broken by Apple.
../.././ext/openssl/extconf.rb:64: Please use another openssl. (e.g. using `configure --with-openssl-dir=/path/to/openssl')
*** Fix the problems, then remove these directories and try again if you want.

...which is confusing given that the build script claims it is passing --with-openssl-dir.

I'm seeing exactly the same problem. I recently upgraded to Sierra, and am installing rbenv for sass, as the upgrade trashed my previous gems and I've decided to avoid using the system ruby from now on.
Other than some html build errors, the only thing I can see which might be a problem are these libraries with "no symbols" - are these errors?  It will not be installed.
../.././ext/openssl/extconf.rb:64: Ignore OpenSSL broken by Apple.
../.././ext/openssl/extconf.rb:64: Please use another openssl. (e.g. using `configure --with-openssl-dir=/path/to/openssl')
*** Fix the problems, then remove these directories and try again if you want.
linking ruby
Generating RDoc documentation
Parsing sources...
  0% [ 1/889]  ...440000gn/T/ruby-build.20170707130024.92585/ruby-2.4.1/doc/ChangeLog-0.06_to_0.52
  0% [ 2/889]  ...440000gn/T/ruby-build.20170707130024.92585/ruby-2.4.1/doc/ChangeLog-0.50_to_0.60

...
Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin16.6.0
Thread model: posix
generating enc.mk
making srcs under enc
make[1]: Nothing to be done for `srcs'.
generating transdb.h
transdb.h unchanged
generating makefile exts.mk
*** Following extensions failed to configure:
../.././ext/gdbm/extconf.rb:0: Failed to configure gdbm. It will not be installed.
../.././ext/openssl/extconf.rb:0: Failed to configure openssl. It will not be installed.
*** Fix the problems, then remove these directories and try again if you want.
make[2]: `ruby' is up to date.
making enc
make[1]: Nothing to be done for `enc'.
making trans
make[1]: Nothing to be done for `./enc/trans'.
making encs
make[1]: Nothing to be done for `encs'.
Generating RDoc documentation

...
The Ruby openssl extension was not compiled.
ERROR: Ruby install aborted due to missing extensions
Configure options used:
  --prefix=/Users/pipjones/.rbenv/versions/2.4.1
  --with-openssl-dir=/Users/pipjones/.rbenv/versions/2.4.1/openssl
  CC=clang
  CFLAGS= -O3 -Wno-error=shorten-64-to-32
  LDFLAGS=-L/Users/pipjones/.rbenv/versions/2.4.1/lib
  CPPFLAGS=-I/Users/pipjones/.rbenv/versions/2.4.1/include

By the end of the build the entire ~/.rbenv/versions/2.4.1/ is gone, but I did have a poke around during the build process and the ssl installation looked OK.
It is like you say, it installs it but then can't find it, or is ignoring the option path and finding the default "broken apple" version and ignoring it. My only thought was if those libs are empty from the "no symbols" warning - perhaps it detects the built version as similarly broken?

I worked around this (as have many other people) by setting the path in the environment.
I have MacPorts SSL so this path locates the installed lib:
$ RUBY_CONFIGURE_OPTS=--with-openssl-dir=/opt/local/
I know this doesn't "fix" the problem in the build, but thought I'd share it as a workaround
See https://github.com/rbenv/ruby-build/wiki for more examples of similar problems and solutions.

This is still an issue on 10.12.6 building Ruby 2.4.2.

After some further investigation, I believe this is happening in the presence of a pkg-config command installed by something other than the base system. In my case, this came from Fink, but I expect the same would happen if you'd gotten pkg-config from Homebrew or MacPorts. In Ruby 2.4, ext/openssl/extconf.rb has:
result = pkg_config("openssl") && have_header("openssl/ssl.h")
# ...
unless result
  unless find_openssl_library
    Logging::message "=== Checking for required stuff failed. ===\n"
    Logging::message "Makefile wasn't created. Fix the errors above.\n"
    exit 1
  end
end

where find_openssl_library is a fallback that uses have_library and friends from mkmf to locate OpenSSL if pkg_config fails to.
One possible fix for this would be to set PKG_CONFIG_PATH to the OpenSSL directory that ruby-build creates. I think this would still work if pkg-config isn't present, because it'll just fall back to looking in the normal system paths for the library. Does this sound reasonable? If so I'll put in a pull request for it.

Confirming that @krbullock's pull request above did resolve this issue for me of installing ruby 2.4.2 using rbenv (1.1.1), running on macOS 10.12.6.

Based on @krbullock’s comment, I removed /opt/local/bin and /opt/local/sbin from my PATH (these are MacPort’s bin directories) and then rbenv install 2.4.2 succeeded. I’m using rbenv 1.1.1 on macOS 10.12.6.

I had this issue installing 2.4.2. This solution worked for me: https://github.com/rbenv/rbenv/issues/1042#issuecomment-334090748

macOS 10.12.x is EOL now. Unfortunately, We couldn't fix it with macOS 10.12.x now.


New request from cathy

hi there, just want to test if I can pull a request successfully.

Looks like you got up and running, Cathy :)


fix: prevent pnpm from removing dev deps while in production

Description

This PR adds an args --prod=false to installPackage function for pnpm.
Prevent it from removing installed devDeps while NODE_ENV is production
Linked Issues
Fix #18
Additional context

Refs:

https://pnpm.io/cli/install#--prod--p

Besides
@iconify/utils and @unocss/preset-icons need to be updated after this is addressed.
I'm encountering this from using unocss.

I don't know. Isn't this too specific to your case? Why NODE_ENV is production in your case?

I removed @iconify/json from deps and added autoInstall: true to presetIcons.
Then run build script, let unocss do the rest.

I'm wondering is there any case people need to remove already installed devDeps while installing deps.
If so, maybe we could add an option and fix this case in iconify repo.


Running data-sealing and attestation samples fails on Simulation Mode

Hi,
I'm running OpenEnclave on a Ubuntu 18.04 VM and am successfully able to run the helloworld and file-encryptor samples using simulation mode (make simulate). However, I noticed that the data-sealing, local_attestation, and remote_attestation samples don't have simulation natively supported in the Makefile. As a result, I tried manually running the enclave in simulation mode by adding the flag  OE_ENCLAVE_FLAG_SIMULATE in the create_enclave method of the host.cpp file in the host directory of these samples. Specifically, I modify the oe_create method as below
 oe_result_t result = oe_create_datasealing_enclave(         enclavePath,         OE_ENCLAVE_TYPE_SGX,         OE_ENCLAVE_FLAG_DEBUG|OE_ENCLAVE_FLAG_SIMULATE,         NULL,         0,         &enclave);
Now, the sample is able to successfully create an enclave, but it fails at a later step. I am unable to figure out why. Is there anything else I need to add to make the sample files run in simulation mode? For the data-sealing sample, the error I receive is below :

@ShivKushwah Data-sealing and attestation rely on special SGX instructions that generate the cryptographic sealing-key and report respectively. Hence these samples won't work in simulation mode.
Do you have access to a machine/VM with SGX support?
CC: @soccerGB

Hi, thanks for the quick response!
I don't currently have access to a machine/VM with SGX support, but I noticed that there are options online. Do you recommend anything in particular?
Also, do you have any experience using Scone? https://sconedocs.github.io/firstcontainer/
I noticed it has native SGX support.
Finally, one last thing, I was able to run the attestation and sealing examples provided in the Intel SGX SDK in simulation mode. Is there any reason why simulation mode works there and not in OpenEnclave?
Thanks!

Sorry for not being more clear about the fact that those three samples do not support under simulation mode.
The OE SDK's simulation mode support is kind of limited, which does not cover data-sealing or any report related operations.
With the available of SGX-enabled CPUs coming up the market, we are finding less justification to invest in the simulation mode, we would like to hear any useful scenarios that could help us justify future investment on this.

Thanks for the information!


perf(artifacts): conserve memory when hashing files

Fixes
Fixes WB-NNNN
Fixes #NNNN
Description
What does the PR do?
Testing
How was this PR tested?
Checklist

[ ] Include reference to internal ticket "Fixes WB-NNNN" and/or GitHub issue "Fixes #NNNN" (if applicable)
[ ] Ensure PR title compliance with the conventional commits standards

copilot:poem

Current dependencies on/for this PR:

main

PR #5513   👈

This comment was auto-generated by Graphite.

Code looks good. I'm not sure why this uses less memory though, do you know?

Yeah, it's just the 64KiB allocation, which is fine for larger files (and much faster than smaller allocations like 4KiB), but always allocates chunks that big before reading even for tiny or empty files. mmap does it more gracefully for large files and for small files it's more efficient to read it all in at once, whether that's a single larger allocation or a smaller one.


can not buid

Module 'com.github.Almeros:android-gesture-detectors:1ffb8444ee' depends on one or more Android Libraries but is a jar
:app:prepareDebugDependencies FAILED

I import the source.
I will rewrite the "Android Gesture Detectors" in few days.


[$250]  [AU] Chat - Mac / Safari - Web - User details tooltip persists upon opening emoji suggestions

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.68-2
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5279387&group_by=cases:section_id&group_id=306201&group_order=asc
Issue reported by: Applause Internal Team
Action Performed:

Navigate to https://staging.new.expensify.com/
Log in with any account
Open any 1:1 DM
Send a single letter message to the chat
Hover over your name/email
Type ":sm" into the composer without moving the mouse

Expected Result:
User details tooltip should disappear.
Actual Result:
User details tooltip persists upon opening emoji suggestions.
Workaround:
Unknown
Platforms:

[ ] Android: Standalone
[ ] Android: HybridApp
[ ] Android: mWeb Chrome
[ ] iOS: Standalone
[ ] iOS: HybridApp
[ ] iOS: mWeb Safari
[x] MacOS: Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/5c0592c6-48ab-407e-aa56-b9fb4afe7aab

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~021863596043381250880
Upwork Job ID:<PHONE_NUMBER>381250880
Last Price Increase: 2024-12-02

Issue OwnerCurrent Issue Owner: @eVoloshchak

Proposal
Please re-state the problem that we are trying to solve in this issue.
Chat - Mac / Safari - Web - User details tooltip persists upon opening emoji suggestions
What is the root cause of that problem?
The User Details tooltip uses the rootWrapperStyle style with a zIndex of 10050, which is higher than the zIndex of the emoji suggestions (which currently lacks a zIndex value). This issue also occurs with SuggestionMention component.
What changes do you think we should make in order to solve the problem?
In the AutoCompleteSuggestionsPortal/index file, add a zIndex of 10050(equal to or higher than the tooltip) to the View style.
https://github.com/Expensify/App/blob/d3d20f6582e3a85ce0f25b603b7e44c3f913102f/src/components/AutoCompleteSuggestions/AutoCompleteSuggestionsPortal/index.tsx#L43
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
N/A
What alternative solutions did you explore? (Optional)
N/A

Proposal
Please re-state the problem that we are trying to solve in this issue.
In Safari when the user has hovered on the name and sees the tooltip with the details and at the same time tries to type in the chat; the autocomplete tooltip of the suggestions does not close the one of tthe user details and the user can see both at the same time.
What is the root cause of that problem?
The tooltip is closed when the user hovers out of the tooltip, which is triggered here:
https://github.com/Expensify/App/blob/a2ad3f38b63c9fdd9b2cf5957a43e6aba4d2bd59/src/components/Tooltip/BaseTooltip/index.tsx#L111
The tooltip opens up as a portal with fixed position and a transparent overlay that takes the whole window.
In the same way we have the autocomplete suggestions but with slight differences, one of them being the lack of the zIndex.
In Chrome, when the new component is added on top of the previous one the browser generates a hoverOut event because it sees that the mouse was on one div and went on another.
However, that does not work in the same way for Safari, which you can see if you add a console.log on the onHoverOut.
What changes do you think we should make in order to solve the problem?

We need to trigger the onHoverOut for Safari browsers and we can do that by dispatching a mouseover event on the AutoCompleteSuggestionsPortal when the portal is opened.

Add a viewRef:
 const viewRef = useRef<View>(null);
Add useEffect to dispatch a mouseover event on render:

 useEffect(() => {
        if (!Browser.isMobileSafari()) {
            return;
        }
        const event = new MouseEvent('mouseover', {
            bubbles: true,
            cancelable: true,
            view: window,
        });
        viewRef?.current.dispatchEvent(event);
    }, []);

Pass the viewRef to the view in line:

https://github.com/Expensify/App/blob/a40eb994e4cad7c27147ea2dab507497ff0803e5/src/components/AutoCompleteSuggestions/AutoCompleteSuggestionsPortal/index.tsx#L43
What alternative solutions did you explore? (Optional)

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~0199e748d533994ec0

@eVoloshchak, please review the updated proposal above. Thanks!

Bump @eVoloshchak. Thanks!

@eVoloshchak I DM'd you for visibility. Thanks!

Not a quality bug

@linhvovan29546, thank you for the proposal!
I don't think that's the approach we should take, this doesn't close the tooltip, just makes it so suggestions composer is rendered on top of it. This means the behavior on Chrome and Safari would be different, which is not desirable

However, that does not work in the same way for Safari

@klajdipaja, let's dig a bit deeper here. Why does it not work the same way in Safari? Is this a bug or the expected behavior according to Apple?

@eVoloshchak seems like a webkit bug:
https://bugs.webkit.org/show_bug.cgi?id=4117

@eVoloshchak, please share an update. Thanks!

Bump @eVoloshchak for an update. Thanks!

FYI, I will be OOO from Dec 23 to Jan 6, so please reassign the issue to another team member for urgency, IF needed.


refactor(Stops.Repo): create a behaviour

Similar idea to #2027

added Stops.Repo.Behaviour & the configuration needed to swap out Stops.Repo for Stops.Repo.Mock
updated everything else accordingly

The Dotcom.GreenLine.Supervisor test was a bit harder to wrangle with and it's probably still terrible, but it's mocked better now and has some coverage!
Also figured out that the stop_count property on TripInfo wasn't used for anything, so I removed it so that I didn't need to adjust yet another test.

In anticipation of your question @kotva006 I'm not quite sure why my formatter needed to reformat a bunch of JSON here, but it did and it passes here.

Just realized I missed a bunch of tests.

In anticipation of your question @kotva006 I'm not quite sure why my formatter needed to reformat a bunch of JSON here, but it did and it passes here.

I usually bring it up because it pollutes the git history with unrelated changes.  I do understand its a small thing overall.


Better printing of special characters

[x] Make a function that will pretty-print any string's special characters
[ ] Option to print inline or one-character-per-line
[ ] Option to include image addresses or not (for determinism)
[ ] Make -debugDescription on BONText and BONChain use these methods.
[ ] Unit tests
[ ] Optional: add category to NSString to make this more streamlined.

This is partially addressed in https://github.com/Raizlabs/BonMot/pull/125

Resolved in 4.0


Upgrade to Spring Boot 3.0.0-RC2 and Spring Cloud 2022.0.0-RC2

As title.

API change check
APIView has identified API level changes in this PR and created following API reviews.
spring-cloud-azure-autoconfigure


Camera rotates slower with devtools open

For some reason the camera rotates slower if you have the devtools tab open (Ctrl + Shift + I). This bug was introduced in commit d3b2f9d2a0d293c041cf1885e540a3baf00e545f (prev commit dd571dc48a3b27a7f4832e339cd3f0b4e60bdf3f). I have tried tackling this bug numerous times and I haven't been able to fix it. The fix is definitely trivial but is so small I can't find it.

Fixed by #95


Re-add support for non-resumable digests

If resumable digest support is disabled, detect this when closing the blobwriter and allow the close to continue.  Also update the name of the function.
closes #1717
Signed-off-by: Richard Scothern<EMAIL_ADDRESS>

LGTM


Debug - watch variable - Does not display multiline

When debugging I am getting results with multiline.
When I add these varaibles to my watch I only get the first line but nothing more.
Couuld you please provide a way to make multiline visible?
I am using visual studio code in a linux environment
Executables
Version of bash-debug: 0.3.9
nsolthe@nsolthe-lm:~$ which bash
/bin/bash
nsolthe@nsolthe-lm:~$ code --version
1.46.1
cd9ea6488829f560dc949a8b2fb789f3cdc05f5d
x64
nsolthe@nsolthe-lm:~$ bash -c 'uname -a; for P in bash bashdb cat mkfifo pkill; do echo ---; which -a $P; command $P --version; done'
Linux nsolthe-lm 4.15.0-106-generic #107-Ubuntu SMP Thu Jun 4 11:27:52 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
---
/bin/bash
GNU bash, version 4.4.20(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
---
bash: bashdb: command not found
---
/bin/cat
cat (GNU coreutils) 8.28
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Torbjorn Granlund and Richard M. Stallman.
---
/usr/bin/mkfifo
mkfifo (GNU coreutils) 8.28
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David MacKenzie.
---
/usr/bin/pkill
pkill from procps-ng 3.3.12

Debug output
Debug Console:
To client: {"seq":0,"type":"response","request_seq":1,"command":"initialize","success":true,"body":{"supportsConditionalBreakpoints":true,"supportsConfigurationDoneRequest":false,"supportsEvaluateForHovers":true,"supportsStepBack":false,"supportsSetVariable":false}}
From client: launch({"type":"bashdb","request":"launch","name":"test","program":"/home/nsolthe/repos/sap-sysinfo/test.sh","showDebugOutput":true,"trace":true,"args":[],"argsString":"","env":{},"cwd":"/home/nsolthe/repos/sap-sysinfo","pathBash":"bash","pathBashdb":"/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb","pathBashdbLib":"/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir","pathCat":"cat","pathMkfifo":"mkfifo","pathPkill":"pkill","__sessionId":"cba10d77-789c-4131-86c2-1ac3685faa07"})
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stderr","output":"::PROXYID::3835\n"}}
::PROXYID::3835
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stderr","output":"/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/command/source.sh: line 41: /dev/stdin: No such device or address\n"}}
/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/command/source.sh: line 41: /dev/stdin: No such device or address
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"(/home/nsolthe/repos/sap-sysinfo/test.sh:10):\n10:\t'\n"}}
(/home/nsolthe/repos/sap-sysinfo/test.sh:10):
10:	'
To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"Sending StoppedEvent"}}
To client: {"seq":0,"type":"event","event":"stopped","body":{"reason":"break","threadId":42}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Debug environment: bash_ver=4.4.20(1)-release, bashdb_ver=4.4-0.94-mod, program=/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb, args=\n"}}
Debug environment: bash_ver=4.4.20(1)-release, bashdb_ver=4.4-0.94-mod, program=/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb, args=
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"3837\n"}}
3837
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"############################################################\n"}}
############################################################
To client: {"seq":0,"type":"response","request_seq":2,"command":"launch","success":true}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"Sending InitializedEvent"}}
To client: {"seq":0,"type":"event","event":"initialized"}
From client: threads(undefined)
To client: {"seq":0,"type":"response","request_seq":3,"command":"threads","success":true,"body":{"threads":[{"id":42,"name":"Bash thread"}]}}
From client: setExceptionBreakpoints({"filters":[]})
To client: {"seq":0,"type":"response","request_seq":4,"command":"setExceptionBreakpoints","success":true}
From client: stackTrace({"threadId":42,"startFrame":0,"levels":20})
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"backtrace\n"}}
backtrace
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"->0 in file `/home/nsolthe/repos/sap-sysinfo/test.sh' at line 10\n"}}
->0 in file `/home/nsolthe/repos/sap-sysinfo/test.sh' at line 10
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"##1 source"}}
##1 sourceTo client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"(\"/home/nsolthe/repos/sap-sysinfo/test.sh\") called from file `/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 102\n"}}
("/home/nsolthe/repos/sap-sysinfo/test.sh") called from file `/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 102
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"##2 main"}}
##2 mainFrom client: stackTrace({"threadId":42,"startFrame":0,"levels":20})
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"(\"--quiet\", \"--tty\", \"/tmp/vscode-bash-debug-fifo-17719\", \"--tty_in\", \"/tmp/vscode-bash-debug-fifo-17719_in\", \"--library\", \"/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir\", \"--\", \"/home/nsolthe/repos/sap-sysinfo/test.sh\") called from file `/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 0\n"}}
("--quiet", "--tty", "/tmp/vscode-bash-debug-fifo-17719", "--tty_in", "/tmp/vscode-bash-debug-fifo-17719_in", "--library", "/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir", "--", "/home/nsolthe/repos/sap-sysinfo/test.sh") called from file `/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 0
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"3837############################################################\n"}}
3837############################################################
To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"Execution breaks at '->0 in file `/home/nsolthe/repos/sap-sysinfo/test.sh' at line 10'\n"}}
To client: {"seq":0,"type":"response","request_seq":5,"command":"stackTrace","success":true,"body":{"stackFrames":[{"id":0,"source":{"name":"test.sh","path":"/home/nsolthe/repos/sap-sysinfo/test.sh","sourceReference":0,"adapterData":"bash-adapter-data"},"line":10,"column":0,"name":"->0 in file `/home/nsolthe/repos/sap-sysinfo/test.sh' at line 10"},{"id":1,"source":{"name":"bashdb","path":"/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb","sourceReference":0,"adapterData":"bash-adapter-data"},"line":102,"column":0,"name":"##1 source(\"/home/nsolthe/repos/sap-sysinfo/test.sh\") called from file `/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 102"},{"id":2,"source":{"name":"bashdb","path":"/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb","sourceReference":0,"adapterData":"bash-adapter-data"},"line":0,"column":0,"name":"##2 main(\"--quiet\", \"--tty\", \"/tmp/vscode-bash-debug-fifo-17719\", \"--tty_in\", \"/tmp/vscode-bash-debug-fifo-17719_in\", \"--library\", \"/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir\", \"--\", \"/home/nsolthe/repos/sap-sysinfo/test.sh\") called from file `/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 0"}],"totalFrames":4}}
From client: threads(undefined)
To client: {"seq":0,"type":"response","request_seq":7,"command":"threads","success":true,"body":{"threads":[{"id":42,"name":"Bash thread"}]}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"backtrace\n"}}
backtrace
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"->0 in file `/home/nsolthe/repos/sap-sysinfo/test.sh' at line 10\n"}}
->0 in file `/home/nsolthe/repos/sap-sysinfo/test.sh' at line 10
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"##1 source"}}
##1 sourceTo client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"(\"/home/nsolthe/repos/sap-sysinfo/test.sh\") called from file `/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 102\n"}}
("/home/nsolthe/repos/sap-sysinfo/test.sh") called from file `/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 102
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"##2 main"}}
##2 mainTo client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"(\"--quiet\", \"--tty\", \"/tmp/vscode-bash-debug-fifo-17719\", \"--tty_in\", \"/tmp/vscode-bash-debug-fifo-17719_in\", \"--library\", \"/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir\", \"--\", \"/home/nsolthe/repos/sap-sysinfo/test.sh\") called from file `/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 0\n"}}
("--quiet", "--tty", "/tmp/vscode-bash-debug-fifo-17719", "--tty_in", "/tmp/vscode-bash-debug-fifo-17719_in", "--library", "/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir", "--", "/home/nsolthe/repos/sap-sysinfo/test.sh") called from file `/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 0
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"3837############################################################\n"}}
3837############################################################
To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"Execution breaks at '->0 in file `/home/nsolthe/repos/sap-sysinfo/test.sh' at line 10'\n"}}
To client: {"seq":0,"type":"response","request_seq":6,"command":"stackTrace","success":true,"body":{"stackFrames":[{"id":0,"source":{"name":"test.sh","path":"/home/nsolthe/repos/sap-sysinfo/test.sh","sourceReference":0,"adapterData":"bash-adapter-data"},"line":10,"column":0,"name":"->0 in file `/home/nsolthe/repos/sap-sysinfo/test.sh' at line 10"},{"id":1,"source":{"name":"bashdb","path":"/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb","sourceReference":0,"adapterData":"bash-adapter-data"},"line":102,"column":0,"name":"##1 source(\"/home/nsolthe/repos/sap-sysinfo/test.sh\") called from file `/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 102"},{"id":2,"source":{"name":"bashdb","path":"/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb","sourceReference":0,"adapterData":"bash-adapter-data"},"line":0,"column":0,"name":"##2 main(\"--quiet\", \"--tty\", \"/tmp/vscode-bash-debug-fifo-17719\", \"--tty_in\", \"/tmp/vscode-bash-debug-fifo-17719_in\", \"--library\", \"/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir\", \"--\", \"/home/nsolthe/repos/sap-sysinfo/test.sh\") called from file `/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 0"}],"totalFrames":4}}
From client: scopes({"frameId":0})
To client: {"seq":0,"type":"response","request_seq":8,"command":"scopes","success":true,"body":{"scopes":[{"name":"Local","variablesReference":15,"expensive":false}]}}
From client: variables({"variablesReference":15})
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Program stopped.\n"}}
Program stopped.
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"It stopped after being stepped.\nNext statement to be run is:\n\tORA_SBP2='\n========================================================\nGENERIC OPATCH VERSION - FOR USE IN SAP ENVIRONMENT ONLY\n========================================================\nOPatch could not create/open history file for writing.\n\n'\n"}}
It stopped after being stepped.
Next statement to be run is:
	ORA_SBP2='
========================================================
GENERIC OPATCH VERSION - FOR USE IN SAP ENVIRONMENT ONLY
========================================================
OPatch could not create/open history file for writing.

'
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"examine <$PWD> \n"}}
examine <$PWD>
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"/home/nsolthe/repos/sap-sysinfo\n"}}
/home/nsolthe/repos/sap-sysinfo
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"examine <$? # from . \"$_Dbg_script_file\"> \n"}}
examine <$? # from . "$_Dbg_script_file">
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"0 # from '. \"$_Dbg_script_file\"'\n"}}
0 # from '. "$_Dbg_script_file"'
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"3837############################################################\n"}}
3837############################################################
To client: {"seq":0,"type":"response","request_seq":9,"command":"variables","success":true,"body":{"variables":[{"name":"$PWD","type":"string","value":"/home/nsolthe/repos/sap-sysinfo","variablesReference":0},{"name":"$? ","type":"string","value":"0 # from '. \"$_Dbg_script_file\"'","variablesReference":0}]}}
From client: continue({"threadId":42})
To client: {"seq":0,"type":"response","request_seq":10,"command":"continue","success":true}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"continue\n"}}
continue
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Debugged program terminated normally. Use q to quit or R to restart.\n"}}
Debugged program terminated normally. Use q to quit or R to restart.
To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"Sending TerminatedEvent"}}
To client: {"seq":0,"type":"event","event":"terminated"}
From client: disconnect({"restart":false})
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stderr","output":"bash: line 1:  3839 Killed                  \"bash\" \"/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb\" --quiet --tty \"/tmp/vscode-bash-debug-fifo-17719\" --tty_in \"/tmp/vscode-bash-debug-fifo-17719_in\" --library \"/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir\" -- \"/home/nsolthe/repos/sap-sysinfo/test.sh\"\n"}}
bash: line 1:  3839 Killed                  "bash" "/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb" --quiet --tty "/tmp/vscode-bash-debug-fifo-17719" --tty_in "/tmp/vscode-bash-debug-fifo-17719_in" --library "/home/nsolthe/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir" -- "/home/nsolthe/repos/sap-sysinfo/test.sh"
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stderr","output":"Terminated\n"}}
Terminated
To client: {"seq":0,"type":"response","request_seq":11,"command":"disconnect","success":true}

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "type": "bashdb",
            "request": "launch",
            "name": "test",
            "program": "${workspaceFolder}/test.sh",
            "showDebugOutput": true
            "trace": true
        }
    ]
}

Details
I hope I have given all required info above
no_multiline.zip

I've noticed this exists in the debug console as well - you can see the full version with 'showDebugOutput' option but it isn't ideal.


Can we have a simplified block for doing something to all elements of a type?

Students shouldn't have to learn about arrays before they can clear all their enemies or projectiles.  Can we have a simplified block that combines:

Into:
for [sprite] of kind [Enemy] {
}

No plans to implement this.


DNA is missing for trait

Hi, Why do i get this error?
Error:  DNA is missing for trait: Backs, is something misnamed or missing? Or is this a one of one?
at /Users/neoreo/Downloads/animated-art-engine-main/step2_spritesheet_to_generative_sheet/src/main.js:389:15
at Array.forEach ()
at /Users/neoreo/Downloads/animated-art-engine-main/step2_spritesheet_to_generative_sheet/src/main.js:375:17
at Array.map ()
at constructLayerToDna (/Users/neoreo/Downloads/animated-art-engine-main/step2_spritesheet_to_generative_sheet/src/main.js:370:35)
at startCreating (/Users/neoreo/Downloads/animated-art-engine-main/step2_spritesheet_to_generative_sheet/src/main.js:819:23)
at Command. (/Users/neoreo/Downloads/animated-art-engine-main/step2_spritesheet_to_generative_sheet/index.js:39:7)
at Command.listener [as _actionHandler] (/Users/neoreo/Downloads/animated-art-engine-main/step2_spritesheet_to_generative_sheet/node_modules/commander/lib/command.js:488:17)
at /Users/neoreo/Downloads/animated-art-engine-main/step2_spritesheet_to_generative_sheet/node_modules/commander/lib/command.js:1227:65
at Command._chainOrCall (/Users/neoreo/Downloads/animated-art-engine-main/step2_spritesheet_to_generative_sheet/node_modules/commander/lib/command.js:1144:12)

Hi there which step is this for? What did you run? Are you trying to regenerate? There might be a typo check that Backs corresponds EXACTLY the same. Also try message me on Discord I'll get back faster Hashlips Discord


CharacterGen Reconstruction Model: Missing Textures

Hello. I wanted to try out the CharacterGen_Vanilla workflow, but it only produces untextured meshes. No errors.

Just to be sure I imported the glb in Blender. It's also missing the material.

in the original version of charactergen, .glb models are colored used vertex colors.
These aren't displayed by default in blender, but you can still recover them.
I think blender will show them somewhere in the shader menu?
You create a material and give it an attribute, iirc.

@Duodecimus
Well problem is it's also missing vertex color attributes:

This is the glTF validation Report:
Validation report
Format: glTF 2.0
Generator<EMAIL_ADDRESS>Stats:
    1 draw calls
    0 animations
    0 materials
    39287 vertices
    49604 triangles
Extensions:
    None
Report generated byKhronosGroup/glTF-Validator 2.0.0-dev.3.9.

Save promblem, do you have any solution?

@genericgod did you find a solution? im running into the same issue


Added ResourcePathAttribute

Resource path attribute turns strings properties into object fields in the inspector that will only take objects from Resource folders. Useful for making ScriptableObjects use a path reference instead of a direct object reference which can cause longer load times when using the ScriptableObject.

Thanks for the contribution, but I'm leaning against incorporating more tools to the toolbag that I didn't write.
That said if you want to host your own repo I'm happy to add a section to the main README to link to it.


Custom logger regression on 3.0

When registering a custom logger using the code below the final output.xml file differs from robot 2.9.2 to 3.0 regarding log messages generated in the start_keyword and end_keyword methods. This causes rebot to fail with the following message:
[ ERROR ] Reading XML source 'path/output.xml' failed: Incompatible XML element 'msg'.

Here is a test suite file and a custom logger that can be used to reproduce the issue:
*** Settings ***
Library   ./custom_logger.py

*** Test Case ***
This is a test case
    Log  testing

from robot.api import logger
from robot.output.logger import LOGGER

class CustomLogger(object):

    def start_keyword(self, kw):
        logger.debug("Started keyword '%s'" % kw.name)

    def end_keyword(self, kw):
        logger.debug("Ended keyword '%s'" % kw.name)

# Register logger
custom_logger = CustomLogger()
LOGGER.register_logger(custom_logger)

def keyword():
    pass

Below you can find both output.xml files:
output.zip

robot.output isn't part of the public API and thus changes to it are possible and even likely in major releases. I actually hope I would have time to rewrite it altogether at some point. This is even documented in the module docs:
http://robot-framework.readthedocs.io/en/3.0/autodoc/robot.output.html
If the old behavior can be restored easily and without affecting other features, I won't have anything against it. Can you investigate this yourself?
An alternative solution would be implementing some public and supported API for your custom logging needs. The example you provided could probably be implemented using the listener API, but perhaps you have some more complicated needs.

I'll take a look if I can figure out the reason for this change, but we have fixed our problem by not logging things in robot with those two methods.
We are using a custom logger at our internal modules to log not only to robot itself, but also to a custom formatted file (always with TRACE level). Also, our custom logger inherits from the BackgroundLogger because we issue log messages from multiple threads. Does this scenario fits well with the listener interface?

Logging to external sources works fine from listeners but logging from threads isn't really supported. BackgroundLogger should just enhanced and integrated better with the core to support it.

Looks like the feature of writing to a file all TRACE messages can not be implemented with listeners in RF 3.0 because the log_message method obeys the log level in place. We run lots of telnet sessions and at the TRACE level we log all data on the wire. This give us a very good debugging method without making Robot's output files huge (we were getting 1.5Gb logs per run at some point).

Hmm, I think we actually changed listeners to honor the specified log level in RF 3.0. I don't have time now to find the relevant issue, but I think the motivation was avoiding to spent time to actually construct those messages. Making the listener log level configurable either in listeners themselves or from the command line could be considered.

Have you @vkruoso inspected could the problem with custom loggers be fixed somehow? That would be only a temporary solution, though, because these internal modules are going to change also in the future.
A better solution would be using the normal listener API. As already discussed, log_message nowadays only gets same messages that actually are logged, and TRACE messages are thus logged only if running tests with --loglevel TRACE. The reasoning behind this changes is explained in #2242. The change was marked backwards incompatible, with a note that we could make the listener log level configurable if needed. In practice that could be done adding an option like --listenerloglevel TRACE or, perhaps better, by allowing listeners to set the level with an attribute like ROBOT_LISTENER_LOG_LEVEL = 'TRACE'. This would require a separate issue, though.

No new info since 2016. Closing.


feature: dockerPrivateKey option to specify path to mounted SSH key

Problem
The SSH key that is being mounted to a dockerized pip is hardcoded as ~/.ssh/id_rsa. This key format is considered legacy and there's no way to use a different key. Moreover, to get the user's home directory, home env var is being used, which does not cover 100% of cases.
Solution
Compared to previously proposed solution of mounting the whole .ssh directory , adding an option to specify the path is a lightweight approach that shouldn't be problematic.
process.env.HOME is switched to require('os').homedir() to increase system compatibility.
The test I came up with is using a read-only deploy key to download a simple pip package from a private repo created for this purpose. Perhaps such repo should exist in /serverless profile?
Solves: https://github.com/serverless/serverless-python-requirements/issues/488, https://github.com/serverless/serverless-python-requirements/issues/617
Potentially helps: https://github.com/serverless/serverless-python-requirements/issues/560, https://github.com/serverless/serverless-python-requirements/issues/272
-edit
Some permission denied errors popped up in the second test run, not sure why?

Hey @martinezpl, thanks a lot for the proposal here. I think in this particular case we could skip the integration test as it has a bit more complicated setup - otherwise we should create a repo owned by serverless to host that package to install. As for the errors - it seems like they're only happening for this PR, do you have any idea if any change introduced might be causing it?

Hi @pgrzesik!
Regarding the errors - you can see that the first test batch has only one fail each. Two commits later (prettier + .at() -> .splice() + adding brokenOn('win32'))  all tests fail because of the same reason:
EACCES: permission denied, rmdir '/home/runner/.cache/serverless-python-requirements/downloadCacheslspyc/http'
I don't see the code-related reason here?
As for the test, I invited you to that private repo so you can fork it to /serverless and substitute the key if you wish. This also serves as the only test for dockerSsh currently.
Otherwise, I guess it's pretty safe to assume it's gonna work if dockerizePip tests pass, as we're just appending docker commands there.

Thanks @martinezpl - I'm not sure what is happening then - I'll dive into that probably next week as I'm pretty busy with other things, sorry about the delay

Please merge this!

Hey @martinezpl - I believe I've fixed the CI issue, could you please rebase your branch against current master?

@pgrzesik permission denied error persists

Thanks @martinezpl - I'll look into what might be causing this 😬

@pgrzesik so turns out the new test is blocking all the tests. Perhaps it's some sort of a security measure related to the SSH connection to an external repo?

Hello @martinezpl - thanks for investigating - it looks like it might be the case. In that situation, I think we should skip adding such test - could we have a simpler test that just validates proper resolution of the command when custom key is involved?


x/net/dns/dnsmessage: cannot parse mDNS SRV records

DNS message compression was disabled SRV Target fields in golang/go#10622 / https://golang.org/cl/100055 (as per RFC 2782).
However, compression is explicitly allowed for the MDNS SRV target field (RFC 6762 Sec 18.14):

Unicast DNS does not allow name compression for the target host in an SRV record, [...] all Multicast DNS implementations are REQUIRED to decode compressed SRV records correctly.

Attempting to decode a Chromecast MDNS SRV record with dnsmessage.Message.Unpack now fails with the error:

unpacking Additional: SRV record: Target: compressed name in SRV resource data

Compression support for DNS SRV target fields is necessary to support MDNS. Please consider:

adding an option to allow compression/decompression, or
reverting the earlier change.

Cc @mdempsky @iangudger

For the incremental Parser/Builder, we can add additional methods to handle the MDNS SRV fields which I guess the user can use depending on which type of SRV record they expect. Does that sound ok?
I am not sure what we can do for the more automated Pack/Unpack interface. I guess we revert the change just to Unpack to maximize correctness and add a comment. We could also explicitly only allow parsing MDNS SRV records with the incremental interface. Thoughts?

Just thinking through the options out loud..
Unicast DNS

must not compress the target field
must not? should? decompress the target field (might be an indication of corruption, might provide the correct result)

Multicast DNS

should compress the target field
must decompress the target field

Hence, Message.Pack can't properly support both Unicast/Multicast. It is better to not compress the target field to meet unicast DNS requirement. Also, not compressing the target field is compatible with multicast DNS.
For Message.Unpack, the caller probably won't be able to determine whether result is corrupt or not for unicast DNS. I guess it is probably better to flag the error? This means Unpack can't be used for multicast, but it shouldn't be used for packing multicast either.
I'd recommend:

Documenting that Message Pack/Unpack do not compress the SRV target field and are incompatible with multicast DNS.
Change Parser/Builder to optionally support compressing/decompressing the target field and allow callers to make the decision (Eg, for multicast DNS, or if they know decompressing unicast DNS is ok).

After looking a bit more at the RFC, I have another idea. What if we add new MulticastPack and MulticastUnpack methods to Message? It appears that the message is either multicast or unicast and that the user should know which one it is.

Also RFC 3597 permits use of DNS compression in SRV:

Receiving servers MUST decompress domain names in RRs of well-known
type, and SHOULD also decompress RRs of type RP, AFSDB, RT, SIG, PX,
NXT, NAPTR, and SRV (although the current specification of the SRV RR
in [RFC2782] prohibits compression, [RFC2052] mandated it, and some
servers following that earlier specification are still in use).


morph key column type should not be fixed to unsigned big integer

Laravel Version: 5.6.17
PHP Version: 7.1
Database Driver & Version: MySQL 5.6

Description:
Just migrated to Laravel 5.6, and found that morph methods in Schema\Blueprint have been changed to use unsigned big integer: morphs() & nullableMorphs by commit.
This change breaks a lot! And I don't think it could be easy or reasonable to change existing system for this. If this change has to be kept, it should provide a parameter to determine the type of column to be used.
To my case, the related columns of the morph targets are all auto increment unsigned integer primary key columns. I don't want to bring the INT vs BIGINT auto increment primary key argument here. The short answer is we can't change those primary keys to BIGINT.
My current work around is changing our migrations to alter the column type right after the Schema::create() call, and adds foreign key afterward.
        Schema::table(
            'a_morph_table',
            function (Blueprint $table) {
                DB::query('ALTER TABLE ....');
                $table->foreign('model_id', 'fk_to_other_primary_key_columns')
                    ->references('id')
                    ->on('target_table');
            }
        );

@tillkruss why has this been closed?
I think morphs() should behave like increments(). If you need bigint morphs, then bigMorphs() would be a good alternative.

This was probably closed because it's a feature request, not a bug report. This repo is for bug reports.
Use laravel/ideas for feature requests.

Changing the column types in a patch release (it was done in v5.6.5 -> v5.6.6) is a BC-breaking change, i.e. a regression. Users might have foreign keys for that columns...
And now my local system with a fresh database has other column types than the production environment, where the migrations have run with the old version.

This issue was about migrating to 5.6, where some BC breaks are expected. If the issue was from 5.6.5 to 5.6.6, I suggest you open a new issue where the title makes it clear that it's a bug report instead of sounding like a suggestion, and reference the pull request where this was changed.
Mind you, it would probably be too late to change this back on 5.6 since there have probable been a lot more 5.6 projects started after 5.6.6 than before, and changing it back would be a BC break for all of those.


Support ports

This PR supports exposing ports to the host system. This functionality is crucial for docker and services running on a host machine.

See DOC-12

DOC-12 #done


data parameters for study-search call

From @nickmorales on October 19, 2016 13:48
http://docs.brapi.apiary.io/#reference/study/search-studies/search-studies
POST Data parameters:
{
"studyType" : "Trial",
"studyNames" : ["Study A", "StydyB"],
"studyLocations" : ["Kenya", "Zimbabwe"],
"programNames": ["Test Program", "Program2"],
"germplasmDbIds" : [ "CML123", "CWL123"],
"observationVariableDbIds": ["CO-PH-123", "Var-123"]
"active" : "true",
"sortBy" : "studyDbId",
"sortOrder" : "desc"
}
Maybe these parameters should only be DbIds like in other calls? Specifically, studyDbId, studyTypeDbId, locationDbId, and programDbId instead of studyNames, studyType, studyLocations, and programNames.
Copied from original issue: plantbreeding/Documentation#37

From @gcornut on October 21, 2016 14:4
We have been using the "programNames", "studyLocations" and "studyNames" parameters because we consider these values as unique in our database and in our partner database PHIS.
We are not against adding "studyDbIds", "locationDbIds" and "programDbIds" as parameters though.
Adding a "studySeasons" parameter would be also very useful. If i'm not mistaken the season is considered as a unique identifier.
In general "dbIds" are better but I feel like we impose identifier on some fields like study type or study season that don't need an identifier. For example, there should be only one "Winter 2006" season and only one "trial" study type, there is no need for a season identifier or a study type.

Let's re-visit this in version 2.


[ Bug ] Sometimes when i sell items using QuickSell the UI is freezed until game reloaded

It started maybe 5 days ago, guess after i used SPT-AKI profile editor or maybe installed some mod...
Maybe that image will help debugging process. Tell me if its not enough, you can contact me using Telegram

Any clue if this triggers on traders or flea?

Flea... Traders is working anytime and very stable.
Guess it depends to flea limit + ui-fixes implementation.


LocalRedirectExecutor should redirect to a well known endpoint instead of throwing when the URL is not local

Right now LocalRedirectResult throws when the URL given to it is not local. This is not ideal as it ends up becoming a 500 and its not useful for many applications.
It would be better if instead, it redirected the user to a well known local endpoint (like ~/) by convention or by giving the user the ability to specify it on a per result basis or globally.

Hi. Thanks for contacting us.
We're closing this issue as there was not much community interest in this ask for quite a while now.


Unreadable <code> nested inside link in a tip

Page: https://webpack.js.org/concepts/plugins/
Theme: dark

First link in the above image(webpack-source) is unreadable in dark mode. Somehow the styles have messed up the visibility of the element.

@chenxsan Could this be because of https://github.com/webpack/webpack.js.org/pull/6438? Maybe we need to improve Tip styles for the dark theme too.

Filed a pull request here https://github.com/webpack/webpack.js.org/pull/6481, let me know what you think.


lnd crashes after initiating rescan

Background
I have been running my lnd node for 4 months.
A problem started to appear recently: lnd crashes after "lncli unlock".
Can anyone help me out please?
Log debuglevel=debug:
Aug 11 09:43:50 RaspBolt systemd[1]: Started LND Lightning Daemon.
Aug 11 09:43:52 RaspBolt lnd[583]: Attempting automatic RPC configuration to bitcoind
Aug 11 09:43:52 RaspBolt lnd[583]: Automatically obtained bitcoind's RPC credentials
Aug 11 09:43:52 RaspBolt lnd[583]: 2018-08-11 09:43:52.109 [INF] LTND: Version 0.4.2-beta commit=7cf5ebe2650b6798182e10be198c7ffc1f1d6e19
Aug 11 09:43:52 RaspBolt lnd[583]: 2018-08-11 09:43:52.109 [INF] LTND: Active chain: Bitcoin (network=mainnet)
Aug 11 09:43:52 RaspBolt lnd[583]: 2018-08-11 09:43:52.274 [INF] CHDB: Checking for schema update: latest_version=0, db_version=0
Aug 11 09:43:52 RaspBolt lnd[583]: 2018-08-11 09:43:52.336 [INF] RPCS: password RPC server listening on <IP_ADDRESS>:10009
Aug 11 09:43:52 RaspBolt lnd[583]: 2018-08-11 09:43:52.337 [INF] RPCS: password gRPC proxy started at <IP_ADDRESS>:8080
Aug 11 09:43:52 RaspBolt lnd[583]: 2018-08-11 09:43:52.339 [INF] LTND: Waiting for wallet encryption password. Use lncli create to create wallet, or lncli unlock to unlock already created wallet.
Aug 11 09:45:18 RaspBolt lnd[583]: 2018-08-11 09:45:18.292 [INF] LNWL: Opened wallet
Aug 11 09:45:18 RaspBolt lnd[583]: 2018-08-11 09:45:18.703 [INF] LTND: Primary chain is set to: bitcoin
Aug 11 09:45:18 RaspBolt lnd[583]: 2018-08-11 09:45:18.704 [INF] LTND: Initializing bitcoind backed fee estimator
Aug 11 09:45:27 RaspBolt lnd[583]: 2018-08-11 09:45:27.027 [INF] LNWL: Opened wallet
Aug 11 09:45:27 RaspBolt lnd[583]: 2018-08-11 09:45:27.032 [INF] LNWL: Started listening for blocks via ZMQ on tcp://<IP_ADDRESS>:29000
Aug 11 09:45:33 RaspBolt lnd[583]: 2018-08-11 09:45:33.207 [INF] LNWL: The wallet has been unlocked without a time limit
Aug 11 09:45:33 RaspBolt lnd[583]: 2018-08-11 09:45:33.207 [INF] LTND: LightningWallet opened
Aug 11 09:45:33 RaspBolt lnd[583]: 2018-08-11 09:45:33.263 [INF] HSWC: Restoring in-memory circuit state from disk
Aug 11 09:45:35 RaspBolt lnd[583]: 2018-08-11 09:45:35.313 [INF] HSWC: Payment circuits loaded: num_pending=482, num_open=50
Aug 11 09:45:36 RaspBolt lnd[583]: 2018-08-11 09:45:36.187 [INF] LNWL: Started rescan from block<PHONE_NUMBER>0000000011e1a89074fa3ecf2824b3baef8adc4a8f5f2c28d933e2 (height 536237) for 1315 addresses
Aug 11 09:45:36 RaspBolt lnd[583]: 2018-08-11 09:45:36.316 [INF] LNWL: Starting rescan from block<PHONE_NUMBER>0000000011e1a89074fa3ecf2824b3baef8adc4a8f5f2c28d933e2
Aug 11 09:45:38 RaspBolt systemd[1]: lnd.service: Main process exited, code=exited, status=1/FAILURE
Aug 11 09:45:38 RaspBolt systemd[1]: lnd.service: Unit entered failed state.
Aug 11 09:45:38 RaspBolt systemd[1]: lnd.service: Failed with result 'exit-code'.
Your environment
version 0.4.2 commit=7cf5ebe2650b6798182e10be198c7ffc1f1d6e19
running on Raspberry Pi
backend Bitcoin Core RPC client version v0.16.0
Expected behaviour
Tell us what should happen
Actual behaviour
lnd crashes after "lncli unlock"

If you can somehow capture stderr what error shows?

I think this could be it:
2018-08-14 08:04:51.409 [INF] LNWL: Started rescan from block<PHONE_NUMBER>000000000a284a51525407a530a01d6e33ea1532625db372c300ef (height 536238) for 1315 addresses
2018-08-14 08:04:51.624 [INF] LNWL: Starting rescan from block<PHONE_NUMBER>000000000a284a51525407a530a01d6e33ea1532625db372c300ef
2018-08-14 08:04:52.491 [ERR] SRVR: unable to create server: unable to read channel for chain_hash=6fe28c0ab6f1b372c1a6a246ae63f74f931e8365e15a089c68d6190000000000, node_key=038af0e15f3ef98e274f2d0e928ebe096214d12387ae9147a6681aa60e8edeefa2: unable to read channel data for chan_point=ed538ad9878a85c4ce7a3bc869fc206faca3563b574f4e862b44e408316b3311:1: unable to fetch chan info: no chan info found
unable to read channel for chain_hash=6fe28c0ab6f1b372c1a6a246ae63f74f931e8365e15a089c68d6190000000000, node_key=038af0e15f3ef98e274f2d0e928ebe096214d12387ae9147a6681aa60e8edeefa2: unable to read channel data for chan_point=ed538ad9878a85c4ce7a3bc869fc206faca3563b574f4e862b44e408316b3311:1: unable to fetch chan info: no chan info found

I searched around for the same error and found issue #1476. I applied a patch described in the issue, compiled lnd and it works. Thanks for helping. Closing this issue.


Fixes to Objective-C doc comments

I applied the same changes made to the Swift comments where appropriate; other than that it was just a few minor typos etc.

Also, if CFRunLoopGetCurrent() is being called on realm creation, there will a run loop attached on every thread with a realm.
I was originally thinking it’s worth documenting how to run the run loop for autorefresh, however, I’m not sure whether the docs should recommend this vs just calling -refresh directly. I suspect the latter would be preferred unless you were already doing run loop programming in the background for some reason (which is fairly unlikely these days).

I don't think it's useful to document how to run the runloop in this context since it's unlikely that one would want to do so solely for the purposes of Realm's auto-refreshing.

Okay, I’ve gone with “by default, background threads do not have an active run loop”, purely because ‘running run loop’ is a bit cumbersome. People know enough about run loops to have one running in a background thread will just skip over this, for everyone else it’s clear they need to call -refresh directly.

:+1: but you'll have to address the merge conflicts. We prefer rebasing against master over merging when these conflicts occur in PRs.

Thanks, I’ve squashed & rebased.

closing in favor of #2888 (just trailing whitespace removed). I picked it up because it's now the weekend in @samritchie's Australia.


feat: allow login via admin ui on safari

Description of changes
Currently, when pulling a project via amplify pull, it is possible to use Amplify Studio to fetch authentication tokens in browser and pass them off to the CLI's admin-login express server.
However, the local express server cannot be reached in certain browsers due to security settings (including Safari, Brave, and others).
[Warning] [blocked] The page at https://us-east-2.admin.amplifyapp.com/admin/d1v4tl0j988su7/dev/verify/ was not allowed to display insecure content from http://<IP_ADDRESS>:4242/amplifyadmin/. (main.aa9ff9bc.chunk.js, line 1)

Currently, this is "solved" with a warning banner, alerting the user to switch to Chrome, Firefox, or Edge (browsers that do not [yet] enforce this policy).

This PR proposes a new solution this problem. First, the browser will hit a GET /ping endpoint to check whether communication with the local express server is possible from the given context, which can be used instead of a known list of working browsers. This also makes SSH authentication workflows possible.
If communication is possible, it will continue to work by passing tokens to the express server.
If communication is not possible, the browser will instead display a "copy code" button that copies the authorization context encoded as a base64 string of the json blob that would typically be passed to the express server. The end user would then paste that base64 string into the terminal prompt where Amplify CLI is running to fetch the tokens.
Before:

After:

If the tokens are passed off via the express server, the express server kills the prompt. If the prompt is used to pass the base64 tokens along, the prompt promise kills the express server.

Issue #, if available
N/A

Description of how you validated changes

Pulled project, authenticated by pasting base64 string
Pulled project, authenticated normally via express server

Both paths work as expected.
Checklist

[x] PR description included
[x] yarn test passes
[ ] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This will require careful alignment with the Studio team. If they don't roll out at the same time, either the code will presented in the web ui (with nowhere to paste it) or the CLI will prompt for a code that does not appear anywhere in the web ui.

I will merge this when the backend is ready

Codecov Report

Merging #10407 (ac06145) into master (714f2fa) will decrease coverage by 0.01%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##           master   #10407      +/-   ##
==========================================
- Coverage   46.57%   46.56%   -0.02%
==========================================
  Files         703      703
  Lines       35246    35256      +10
  Branches     7134     7134
==========================================
+ Hits        16417    16418       +1
- Misses      17042    17051       +9
  Partials     1787     1787

Impacted Files
Coverage Δ

...vider-awscloudformation/src/utils/admin-helpers.ts
20.33% <0.00%> (ø)

...lify-provider-awscloudformation/src/admin-login.ts
14.28% <13.63%> (-4.24%)
:arrow_down:

...-awscloudformation/src/utils/admin-login-server.ts
42.85% <62.50%> (+0.21%)
:arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

fixes https://github.com/aws-amplify/amplify-cli/issues/6965


IO is not defined

So.. All I did was
tns plugin add nativescript-socket.io

To install the plugin.
When I
const SocketIO = require('nativescript-socket.io');

It simply tells me io is not defined (last line of log)
It appears that the declaration of io var has no real value on the ES2015 equivalent.

Hi,
I have the same issue.
io is not defined
after installing the plugin with:
tns plugin add nativescript-socket.io
how did you solve it?
Thanks,
Patrick

@PatrickVienne I think I fixed this by rebuilding the application after I added the new plugin. Hell, I made it a rule that whenever I add a plugin I uninstall the app from the vm-mobile and re-install the new build with the new plugins.

Hi,
I'm getting the same error. Why was this issue closed?
Thanks,
Mike

Completely deleting the app from the device first and reinstalling was the solution in my case as well.
Thanks a lot for the quick response!!


added dependency to systemd

Description of changes
Fix for issue #39140
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

This bakes the path to systemd into nixos-enter at nixos-enter's build time.  I'm worried that the path to system might change between nixos-enter's build time and its run time -- for example, if the user updates channels in the install environment.
Instead of changing PATH and finding systemd-tmpfiles with a PATH lookp, consider specifying the full path to systemd-tmpfiles as $system/sw/bin/systemd-tmpfiles .  This follows the convention used elsewhere in nixos-enter, which includes the ability to set $system via the --system flag.
Also, it would be great to have a test that could have caught this.  I appear to have somehow neglected to submit the tests linked in https://github.com/NixOS/nixpkgs/issues/39140#issuecomment-589905207 (oops!), but they would not have caught this problem because the nixos-installer has a systemd-tmpfiles in its PATH.  It's the users trying to install from environments like Kimsufi's rescue environment that don't have systemd stuff in PATH that were exposed to this error.  But setting up a new installer test from a wierd but realistic environment is ~1000x more work than just making this fix, so don't let that block merge of this PR.
Thanks for fixing this!

This is my first pull request to this repo, so I'm sorry if I'm not familiar with common practices here:
Do you want me to revert my changes and substitute systemd-tmpfiles with a full path instead? Or has this already been done?

Fantastic!  Welcome!
Concretely, I mean that this change would be a better way to fix this problem than the changes this PR is currently proposing.
Mechanically, I meant to suggest that you change this PR to propose that change instead, by force-pushing https://github.com/Mikilio/nixpkgs to be a single commit that makes that change.  One way to do that would be to git reset --hard HEAD^, make that change, commit, and force-push.
Alternatively, if you prefer, I could propose that change as a new PR.
(I introduced this bug in https://github.com/NixOS/nixpkgs/pull/80769 .  Thank you for identifying the problem and helping get it fixed.)

Ok! Since I agree with your points I'll change my PR. Thanks for the advice!

Great!
Next, among other things, that "Fits CONTRIBUTING.md." checkbox in the PR template is meant to encourage good, uniform commit messages.  So please skim that, look at the commit messages of some other commits in that place, change your commit message to follow those conventions (concretely: such as with git commit --amend), and force push again.
And thanks for bearing with the get-to-know-the-project-conventions first-PR back-and-forth.  :)

Thank you for the guidance!


InputStream that is replaced by getInputFromFixedValue is not closed

Describe the bug
When using Test a PipeLine to test an adapter only the stream in the message that is the result of the pipeline is closed.
Reporter
Jaco de Groot
Category

Frank Console
Frank Framework

To Reproduce
Steps to reproduce the behavior:

In Frank!Runner replace examples/Frank2Example1/configurations/Example1/Configuration.xml with Configuration.zip (it's in a zip because .xml cannot be added as an attachment tot this issue)

Add <arg value="-Dlog.level=TRACE"/> to  examples/Frank2Example1/build.xml

Start Frank2Example1

Go to Test a PipeLine

Select adapter Example1Adapter

Type a dummy message and click Send

Go to the logfile and see that creating capture of SkipBomAndDeleteFileAfterReadInputStream is printed twice and FilterInputStream.close is printed only once.

I think this behaviour can be explained because in api/TestPipeline.java result.put("result", plr.getResult().asString()); is only called for the message that is the result of the pipeline. When the Configuration.xml contains only one file pipe and one echo pipe there's one stream opened and one stream closed.
Expected behavior
The number of close statements in the log should be equal to the number of creating capture statements.
Screenshots
-
Environment:

Tomcat
H2
Firefox
FF! 7.6-20210121.133533

Additional context
-

The problem in this setup is that the inputStream that is produced by the first FilePipe is never really consumed. It is passed on by the EchoPipe, but then it is lost, because then the second FilePipe is reached, that has a getInputFromFixedValue.

The problem in this setup is that the inputStream that is produced by the first FilePipe is never really consumed. It is passed on by the EchoPipe, but then it is lost, because then the second FilePipe is reached, that has a getInputFromFixedValue.

While working on support for streams in Ladybug I made a mistake triggering an IndexOutOfBoundsException which also prevents the stream from being closed (using a configuration that will close the stream when no exception is thrown). This is the stacktrace:

Caused by: java.lang.IndexOutOfBoundsException
      at java.io.StringWriter.write(StringWriter.java:90)
      at nl.nn.testtool.Checkpoint$1.write(Checkpoint.java:200)
      at org.apache.commons.io.output.WriterOutputStream.flushOutput(WriterOutputStream.java:302)
      at org.apache.commons.io.output.WriterOutputStream.close(WriterOutputStream.java:265)
      at nl.nn.adapterframework.stream.Message$1.close(Message.java:549)
      at java.io.FilterInputStream.close(FilterInputStream.java:181)
      at nl.nn.adapterframework.stream.Message$1.close(Message.java:548)
      at java.io.FilterInputStream.close(FilterInputStream.java:181)
      at nl.nn.adapterframework.stream.Message$1.close(Message.java:548)
      at java.io.FilterInputStream.close(FilterInputStream.java:181)
      at nl.nn.adapterframework.stream.Message$1.close(Message.java:548)
      at org.apache.commons.io.input.ProxyInputStream.close(ProxyInputStream.java:145)
      at java.io.BufferedInputStream.close(BufferedInputStream.java:483)
      at sun.nio.cs.StreamDecoder.implClose(StreamDecoder.java:378)
      at sun.nio.cs.StreamDecoder.close(StreamDecoder.java:193)
      at java.io.InputStreamReader.close(InputStreamReader.java:199)
      at nl.nn.adapterframework.util.StreamUtil.readerToString(StreamUtil.java:133)
      at nl.nn.adapterframework.stream.Message.asString(Message.java:321)
      at nl.nn.adapterframework.stream.Message.asString(Message.java:311)
      at nl.nn.adapterframework.webcontrol.api.TestPipeline.postTestPipeLine(TestPipeline.java:118)
      ... 53 more

While working on support for streams in Ladybug I made a mistake triggering an IndexOutOfBoundsException which also prevents the stream from being closed (using a configuration that will close the stream when no exception is thrown). This is the stacktrace:

Caused by: java.lang.IndexOutOfBoundsException
      at java.io.StringWriter.write(StringWriter.java:90)
      at nl.nn.testtool.Checkpoint$1.write(Checkpoint.java:200)
      at org.apache.commons.io.output.WriterOutputStream.flushOutput(WriterOutputStream.java:302)
      at org.apache.commons.io.output.WriterOutputStream.close(WriterOutputStream.java:265)
      at nl.nn.adapterframework.stream.Message$1.close(Message.java:549)
      at java.io.FilterInputStream.close(FilterInputStream.java:181)
      at nl.nn.adapterframework.stream.Message$1.close(Message.java:548)
      at java.io.FilterInputStream.close(FilterInputStream.java:181)
      at nl.nn.adapterframework.stream.Message$1.close(Message.java:548)
      at java.io.FilterInputStream.close(FilterInputStream.java:181)
      at nl.nn.adapterframework.stream.Message$1.close(Message.java:548)
      at org.apache.commons.io.input.ProxyInputStream.close(ProxyInputStream.java:145)
      at java.io.BufferedInputStream.close(BufferedInputStream.java:483)
      at sun.nio.cs.StreamDecoder.implClose(StreamDecoder.java:378)
      at sun.nio.cs.StreamDecoder.close(StreamDecoder.java:193)
      at java.io.InputStreamReader.close(InputStreamReader.java:199)
      at nl.nn.adapterframework.util.StreamUtil.readerToString(StreamUtil.java:133)
      at nl.nn.adapterframework.stream.Message.asString(Message.java:321)
      at nl.nn.adapterframework.stream.Message.asString(Message.java:311)
      at nl.nn.adapterframework.webcontrol.api.TestPipeline.postTestPipeLine(TestPipeline.java:118)
      ... 53 more


Updated Read Me.me

Have you read the Contributing Guidelines on Pull Requests?
(This pull request is regarding other pull request #618. Here I have updated the Readme.Me file. )
Description
(Write your answer here.)
Checklist

[X] I've read the contribution guidelines.
[X] I've checked the issue list before deciding what to submit.
[X] I've edited the README.md and link to my code.

Related Issues or Pull Requests
(#618 )

@Rishikeshrajrxl Add the updated README in your existing PR
No need to create a new PR


Getting a false positive with this rule

I am getting this error:
-- ELM-REVIEW ERROR --------- src/Api/DataManual/ResponseLoginComplete.elm:19:30

NoUnused.CustomTypeConstructorArgs: Argument is never extracted and therefore
never used.

18|     | ResponseLoginRedirect Api.DataGenerated.ResponseLoginRedirect.ResponseLoginRedirect
19|     | ResponseUserAgreements Api.DataGenerated.ResponseUserAgreements.ResponseUserAgreements
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This argument is never used. You should either use it somewhere, or remove it at
the location I pointed at.

I found 1 error in 1 file.

but somewhere else in the code:
        Flow.State.R92_DeviceFlow_Agreement payload ->
            case Http.Boxed.body boxed of
                Just (Api.CommonRequest.Success (Api.DataManual.ResponseAgree.ResponseUserAgreements bodySuccess)) ->
                   ... using bodySuccess

@lucamug Are you sure these 2 are the same constructor? It looks like ResponseUserAgreements in the first extract is in the Api.DataManual.ResponseLoginComplete module where the one referenced by the second one is from the Api.DataManual.ResponseAgree module.
If these are indeed the same constructor, do you think you could create a SSCCE? I'm having some trouble reproducing the issue.

@jfmengels, thank you for looking into this. I cannot find this anymore in my code, some how it got resolved. So I guess this is not an issue anymore. I will reopen a new issue if I could find it again


net/http: invalid method strings

Hi.
Following the discussion at net/http: add method constants from RFC 2616 and net/http: HTTP methods check.

What version of Go are you using (go version)?
go version 1.4.2 linux/amd64

What operating system and processor architecture are you using?
Archlinux 4.1.4-1-ck #1 SMP PREEMPT Mon Aug 3 16:56:11 EDT 2015 x86_64 GNU/Linux

What did you do?
req, err := http.NewRequest("GET ", url, nil), notice the extra space.

What did you expect to see?
An error as it is not a valid HTTP method.

What did you see instead?
For https://golang.org, the proper response for a GET request is send but it is inconsistent between servers. For instance, if we use " GET", some servers will respond with a bad request status.

It would also be useful to add the commonly used method constants to net/http from RFC 7231 along with PATCH from RFC 5789:
diff --git a/src/net/http/methods.go b/src/net/http/methods.go
new file mode 100644
index 0000000..3e8b18c
--- /dev/null
+++ b/src/net/http/methods.go
@@ -0,0 +1,21 @@
+// Copyright 2015 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package http
+
+// HTTP methods, defined in RFC 7231.
+const (
+       MethodHead   = "HEAD"
+       MethodGet    = "GET"
+       MethodPut    = "PUT"
+       MethodPost   = "POST"
+       MethodDelete = "DELETE"
+
+       MethodConnect = "CONNECT"
+       MethodOptions = "OPTIONS"
+       MethodTrace   = "TRACE"
+)
+
+// PATCH HTTP method, defined in RFC 5789.
+const MethodPatch = "PATCH"

Regards, sw.

We should also investigate whether Newrequest and Transport.Roundtrip and Request.Write return errors with bogus methods.

Note that there are lots of APIs out there which use custom HTTP methods (google custom http verbs); returning an error for unexpected methods would significantly diminish the utility of the http library.

This is only about malformed method names.


Failure to compile on systems that do not define TIOCSTI

Even if now most of the code has guards like in:
https://github.com/dvorka/hstr/blob/4dca4c72d7db104b2c1043551d0d8dc611e0e260/src/hstr_utils.c#146
There's still one spot where the usage of TIOCSTI is not guarded:
https://github.com/dvorka/hstr/blob/4dca4c72d7db104b2c1043551d0d8dc611e0e260/src/hstr_utils.c#L170

For context, found this while updating the Haiku port/package for hstr (still on 2.6 there). There, we mostly need to add || defined(__HAIKU__) on the same lines with WSL, CYGWIN to avoid TIOCSTI stuff, and next to FreeBSD (for the ncurse.h includes in that case).
Will try to come up with cleaner patches, to see if those can be upstreamed, but would be nice to see an official way for this missing "TIOCSTI guard".
Thanks for your work @dvorka!

Just hit the same problem on Cygwin.  I'm using this locally:
diff --git a/src/hstr_utils.c b/src/hstr_utils.c
index c37f3ed..89f1ea6 100644
--- a/src/hstr_utils.c
+++ b/src/hstr_utils.c
@@ -160,6 +160,7 @@ void tiocsti(void)
void fill_terminal_input(char* cmd, bool padding)
{
if(cmd && strlen(cmd)>0) {
+#if 0
if(is_tiocsti) {
size_t size = strlen(cmd);
unsigned i;
@@ -171,7 +172,9 @@ void fill_terminal_input(char* cmd, bool padding)
}
// echo, but don't flush to terminal
if(padding) printf("\n");

   } else {

   } else

+#endif

   {
       fprintf(stderr, "%s", cmd);
       if(padding) fprintf(stderr, "%s", "\n");
   }

@palves @OscarL thank you both for the bug report and fix! I will include it in the next release.