Automated Ubuntu install script

Description
New install instructions for Ubuntu users including automated Bash script that will run required install commands (ROS2, rosdep, ect.)
Fixes issue 75
Testing Steps

Follow along with the updated Ubuntu installation instructions

Expectation: The script should run and our ROS packages should build without errors
Self Checklist

[x] I have tested that the new behavior works

I'm putting this in so I don't forget, but am waiting until Vishwa can test this before requesting a review :)

Closing since this is a stale PR, idea behind it is solid though. Should be built off of the new drone/rover combined folder directory before a new PR is made


v1.7.1 - SearchError: Could not execute search. Maximum number of redirects exceeded

Steps to reproduce
I've been using the module successfully, but all of a sudden, in the middle of a script, I started getting this error. Now, any query I do via this module gives me back the same error.
Sample usage:
const options = {
        page: 0,
        safe: false,
        parse_ads: false,
        additional_params: {
            hl: language
        }
    }

const response = await google.search(query, options) // error happens here

Failure Logs
SearchError: Could not execute search
    at Object.search (C:\...\node_modules\googlethis\lib\core\main.js:70:11)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

info: { status_code: 0, message: 'Maximum number of redirects exceeded' },
  date: 2023-08-31T16:27:03.467Z,
  version: '1.7.1'

Expected behavior
I expected the search to not fail.
Current behavior
The search functionality is currently failing.
Version
Default
Anything else?
No response
Checklist

[X] I am running the latest version.
[X] I checked the documentation and found no answer.
[X] I have searched the existing issues and made sure this is not a duplicate.
[X] I have provided sufficient information.

I've been rerunning my search script and the error went away. It may have occurred because, for a short time, I was smashing it with 3 parallel searches.
If anyone sees this in the future, give it half an hour or so and retry.


When MRB_UTF8_STRING is enabled, giving byte characters for String#index and String#split gives wrong results

I build with MRUBY_CONFIG=host-debug.
mruby revision is https://github.com/mruby/mruby/commit/dcee404ebb8d37c0a85707ad61d55516e2aba022.
p "①②③④⑤\xe2".size
# => 6
p "①②③④⑤\xe2".unpack1("H*")
# => "e291a0e291a1e291a2e291a3e291a4e2"

p "①②③④⑤\xe2".index("\xa4")
# => 6
## Expected to nil
## mruby-3.3 returns nil

p "①②③④⑤\xe2".split("\xe2")
# => ["", "\x91\xa0", "\x91\xa1", "\x91\xa2", "\x91\xa3", "\x91\xa4"]
## Expected to ["①②③④⑤"]
## mruby-3.3 is also wrong

The String#split method uses the result of mrb_memsearch() directly.
The String#index method adjusts the result of mrb_memsearch() with byte2char(), but the result is wrong.
Just reporting it for now.

I am not sure what is the correct behavior when we search a byte in UTF-8 string. Basically it is undefined behavior, that means anything could happen. For example, if we specify ASCII-8BIT encoding for strings in CRuby, that last p line prints ["", "\x91\xA0", "\x91\xA1", "\x91\xA2", "\x91\xA3", "\x91\xA4"].

Thanks for your comment.
I had assumed that since the encoding cannot be changed in mruby, all but illegal bytes are handled in UTF-8 character units.
However, I can agree with your opinion.
So if it's not a UTF-8 string, you need to use byte-oriented methods.

Use String#byteindex instead of String#index.
If you give String#split a byte sequence, it will be split as it should be.

:smiley_cat: Ok, no problem.

Thank you. But p "①②③④⑤\xe2".index("\xa4") should still be nil. So I reopen this issue, and fix it soon.


Processor for S2095 (UnclosedResources) introduces new resource leak

In the following code there is a resource leak for bw2:
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.*;

class Test {
    public static void saveTo(File file1, File file2) {
        BufferedWriter bw1 = null;
        BufferedWriter bw2 = null;
        try {
            bw1 = new BufferedWriter(new FileWriter(file1));
            bw1.write("Write some stuff to file 1");

            bw2 = new BufferedWriter(new FileWriter(file2));
            bw2.write("Write some stuff to file 2");

        } catch (IOException e) {
            e.printStackTrace();
        } finally {
            System.out.println("done");
            try {
                if (bw1 != null) {
                    bw1.close();
                }
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
    }
}

The processor UnclosedResourcesProcessor for S2095 seems to just remove the whole finally-block when creating the try-with-resources statement. While this behavior fixes the resource leak for bw2 it introduces a new resource leak for bw1 and also changes the output of the program. Here's the result:
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.*;

class Test {
    public static void saveTo(File file1, File file2) {
        BufferedWriter bw1 = null;
        try (BufferedWriter bw2 = new BufferedWriter(new FileWriter(file))) {
            bw1 = new BufferedWriter(new FileWriter(file));
            bw1.write("Write some stuff to file 1");
            bw2.write("Write some stuff to file 2");
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}

This is related to but different from #386 I think.
Edit: Running it one more time on the output from the previous run introduces a compile error:
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.*;

class Test {
    public static void saveTo(File file1, File file2) {
        try (BufferedWriter bw1 = new BufferedWriter(new FileWriter(file1))) {
            bw1.write("Write some stuff to file 1");
            bw2.write("Write some stuff to file 2");
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}

Yeah, this processor is just not working at all when there are multiple unclosed resources in the same try block. It can (sometimes) handle one unclosed resource.
I've never touched this processor, it's from before my time here. But perhaps it's about time that I do. I'll possibly be able to get around to it next week. Possibly.

I think the automatic closing of this issue was unintentional.

oops, it definitely was


Feat console.dir

close #39
I added the following to Button.stories.tsx at local.
export const Primary: Story = {
  args: {
    primary: true,
    label: 'Button',
    onClick: () => console.dir('hello console.dir'), // <- add console.dir
  },
};

it works.

@ndelangen
Please check and review :)

@ndelangen
Thanks for the check and review!!
I don't have the authority to merge, please merge!!

Any timing is fine. :)


Refactorize nitunit

Future improvement of nitunit require a saner codebase.
This PR does not bring a lot of features but propose instead some code improvements.
Summary:

a new class UnitTest to factorize DocUnit and TestCase
DocUnit are created, with its metadata, while discovered
DocUnit do not enclose a XML node to fill but will generate one with to_xml.
Easter egg: precise locations are included in the DocUnits. Each line of collected code can be located back to the original source code. This feature is not really used yet, except to locate the docunit itself.

The last commits are divided in order to make the reviewing more easy. I tought that is was better than a big stashed change.
Future PR will target usability since unit-tests are now reified in a common way on both sides (docunits and testsuites).

+1

Toaster: test this please


refactor forwardToRippled()

Currently, we just connect a new socket every time. We should refactor how this works to maintain a websocket connection.
We should maintain a pool of sockets, and acquire one per request. Or we can maintain a list of IDs and only maintain one connection to each p2p node.

Do we need to make this change given your async changes?


ovos-utils 0.1.0

Things to do before releasing 0.1.0

[ ] https://github.com/OpenVoiceOS/ovos-utils/pull/81
[ ] https://github.com/OpenVoiceOS/ovos-utils/issues/2
Deprecate top-level imports here
Deprecate ovos_utils.configuration
Deprecate ovos_utils.fingerprinting utils?
Remove extra log in PIDLock. Maybe refactor that class?
Remove if __name__ == "__main__" code in smtp_utils

Planning this release, breaking changes mean we should be certain there is no ~=0.0 dependency reference in any stable package before pushing a breaking change to 0.1.0 unless we've explicitly tested that package with the latest ovos-utils alpha

PAHL is using ovos-utils~=0.0, >=0.0.31a6

Do we want to keep the PIDLock? https://github.com/OpenVoiceOS/ovos-messagebus/issues/4

I say we should just stop using it everywhere, but PIDLock can remain here as it might be useful in the future

https://github.com/OpenVoiceOS/ovos-utils/pull/237


Show on App Launch: Fix option item height

Task/Issue URL: https://app.asana.com/0/1207908166761516/1208648215243996/f
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#5209  👈
#4944 : 4 other dependent PRs (#4946 , #5050 , #5127  and 1 other)
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @mikescamell and the rest of your teammates on  Graphite


Redis access-policy-assignment --object_id_alias parameter has incorrect documentation

Describe the bug
The --object_id_alias parameter is documented as:

User friendly name for object id. Also represents username for token based authentication

However, it is not used as the username for token authentication. That's still the object ID.
Related command
redis access-policy-assignment create
redis access-policy-assignment update
Errors
N/A
Issue script & Debug output
N/A
Expected behavior
Documentation should note that the object ID is the username, not the alias.
Environment Summary
azure-cli                         2.61.0
core                              2.61.0
telemetry                          1.1.0
Extensions:
arcappliance                       1.0.2
azurestackhci                      0.2.9
connectedk8s                       1.6.7
connectedvmware                    0.2.1
customlocation                     0.1.3
k8s-extension                      1.6.1
ssh                                2.0.2
Dependencies:
msal                              1.28.0
azure-mgmt-resource               23.1.1
Python location '/usr/local/Cellar/azure-cli/2.61.0/libexec/bin/python'
Extensions directory '/Users/mark/.azure/cliextensions'
Development extension sources:
/Users/mark/Projects/arcappliance-cli-extensions
Python (Darwin) 3.11.9 (main, Apr  2 2024, 08:25:04) [Clang 15.0.0 (clang-15<IP_ADDRESS>)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response

Thank you for opening this issue, we will look into it.


Correct resnet.py and hdf5_classification.py

1. Update tensorflow/examples/skflow/resnet.py
move "upscale to the next block size" to the outer loops
2. Update tensorflow/examples/skflow/hdf5_classification.py
classifier.fit and metrics.accuracy_score takes ndarray as input.
Direct input of HDF5 dataset will cause TypeError: PointSelection getitem only works with bool use HDF5 dataset's value or convert to numpy array

Can one of the admins verify this patch?

I have signed it！
Google account<EMAIL_ADDRESS>GitHub account<EMAIL_ADDRESS>Best wishes！

在 2016年5月29日，23:48，googlebot<EMAIL_ADDRESS>写道：
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/ to sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.
If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
If you signed the CLA as a corporation, please let us know the company's name.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@sun9700 Could you provide a failing example that's reproducible? Thanks.

@terrytangyuan
The resnet.py 's error is obvious
Traceback (most recent call last):
File "/home/sun/tensorflow/tensorflow/examples/skflow/resnet.py", line 158, in
mnist.train.images, mnist.train.labels, logdir='models/resnet/')
File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/base.py", line 241, in fit
self._setup_training()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/base.py", line 156, in _setup_training
self._out)
File "/home/sun/tensorflow/tensorflow/examples/skflow/resnet.py", line 119, in res_net
net = conv + net
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/math_ops.py", line 520, in binary_op_wrapper
return func(x, y, name=name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_math_ops.py", line 44, in add
return _op_def_lib.apply_op("Add", x=x, y=y, name=name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/op_def_library.py", line 694, in apply_op
op_def=op_def)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2155, in create_op
set_shapes_for_outputs(ret)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1611, in set_shapes_for_outputs
shapes = shape_func(op)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/math_ops.py", line 1367, in _BroadcastShape
% (shape_x, shape_y))
ValueError: Incompatible shapes for broadcasting: (?, 14, 14, 128) and (?, 14, 14, 256)

Sorry I meant hdf5 example. BTW, you need to use the primary email of your Github to sign CLA.

@terrytangyuan The error of hdf5_classification.py only occurs in the latest (20160530) nightly binaries. It works in my previous tensorflow.
Traceback (most recent call last):
File "/home/sun/tensorflow/tensorflow/examples/skflow/hdf5_classification.py", line 46, in
classifier.fit(X_train, y_train)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/base.py", line 172, in fit
monitors=monitors)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 433, in _train_model
monitors=monitors)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/graph_actions.py", line 346, in train
reraise(*excinfo)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/graph_actions.py", line 272, in train
feed_dict = feed_fn() if feed_fn is not None else None
File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/io/data_feeder.py", line 333, in _feed_dict_fn
if len(self.X.shape) == 1 else self.X[batch_indices])
File "/usr/lib/python2.7/dist-packages/h5py/_hl/dataset.py", line 419, in getitem
selection = sel.select(self.shape, args, dsid=self.id)
File "/usr/lib/python2.7/dist-packages/h5py/_hl/selections.py", line 71, in select
sel[arg]
File "/usr/lib/python2.7/dist-packages/h5py/_hl/selections.py", line 209, in getitem
raise TypeError("PointSelection getitem only works with bool arrays")
TypeError: PointSelection getitem only works with bool arrays

@sun9700 Thanks for reporting. However, it should be fixed in data_feeder. Some recent changes broke the example and this test is not checked on Jenkins since we don't have it installed there. @ilblackdragon @martinwicke Moving forward, are we planning to test those on Jenkins? What's the status on data_feeder refactoring?

@terrytangyuan Yes, thanks for your efforts.

Yes, we should be running those tests. You can add the h5py package to install_pip_packages.sh (and possibly the 3.5 version of that), then the tests should start running. @caisq FYI in case I forgot something important that would make that a bad idea.

@tensorflow-jenkins test this please!

@tensorflow-jenkins test this please

Needs to be rebased.

(Sorry for the delay).

Hi @sun9700. It's been a month since the last ping, so I'm going to close this PR as stale for now. Please feel free to re-open it when you have time to update it, we would be glad to have it.


Add projects for Fortran-lua interfacing to package index

flook

Documentation: http://electronicstructurelibrary.github.io/flook/doxygen/index.html
Source: https://github.com/ElectronicStructureLibrary/flook
Builds with make

LuaF

Source: https://chiselapp.com/user/vadimz/repository/luaf (fossil)

aotus

Documentation: https://geb.sts.nt.uni-siegen.de/doxy/aotus/
Source: https://osdn.net/projects/apes/scm/hg/aotus/ (mercurial)
Builds with waf

fortran-lua53

Source: https://github.com/interkosmos/fortran-lua53
Builds with xmake

The Fortran-Lua binding projects hanging around at interesting places, the software choices seem non-mainstream from our git centered bubble here:

LuaF, using fossil, hosted at https://chiselapp.com
aotus, using mercury, hosted at https://osdn.net/, builds with waf

Both projects are alive and active, but somewhat hard to find.

Great additions, thanks!


Detect OS architecture

This commit is broken.  Reverting.  I need to separate my dev work in a different branch.


[SPARK-48748][SQL] Cache numChars in UTF8String

What changes were proposed in this pull request?
Cache numChars value in a thread-safe way.
Why are the changes needed?
Faster access to numChars() method, which currently requires entire UTF8String scan every time.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Existing tests.
Was this patch authored or co-authored using generative AI tooling?
No.

Thank you @uros-db , merged to master


help

proxyyy@bruh:~$ sudo java -jar /home/proxyyy/.local/share/multimc/instances/proxy/.minecraft/mods/headlessforge-1.1.jar
No .minecraft path given, assuming we are .minecraft/mods...
Starting HeadlessForge with Arguments: []
Starting Launchwrapper...
Exception in thread "main" java.lang.NoClassDefFoundError: net/minecraft/launchwrapper/Launch
at me.earth.headlessforge.launch.Main$Companion.main(Main.kt:116)
at me.earth.headlessforge.launch.Main.main(Main.kt)
Caused by: java.lang.ClassNotFoundException: net.minecraft.launchwrapper.Launch
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
... 2 more

on ssh ubuntu
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (build 1.8.0_292-8u292-b10-0ubuntu1~18.04-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)

I can't really tell whats wrong from that log. Here's some ideas:

Make sure you have 1.12.2-forge-<IP_ADDRESS>54 installed (and only that exact version).
cd into the /mods directory so you only have to do java -jar headlessforge-1.1.jar.
Make sure that your .minecraft is set up properly. There should be a "versions" and a "libraries" folder.

im using multimc

I doubt that will work then.


Adding await statements to tests.

@yaronvel @ilanDoron please review

@ilanDoron I think you need to merge it as I am currently missing write permissions in this repo.


LaravelLogger does not implement Log::listen() and Log::getMonolog(), present in default Log facade

Laravel's Log facade has two very handy functions, Log::listen() and Log::getMonolog().
When Bugsnag's handler is added, it replaces the Log facade handler, but it doesn't implement these methods:

These are very handy for console commands, where log messages coming from internal recyclable classes can be captured and displayed as console output.
Tested with bugsnag/bugsnag-laravel at ^2.5 (2.5.0)

Sample usage for Log::listen():
class Command extends \Illuminate\Console\Command {

	protected function setupLogging() {
		Log::listen(function (MessageLogged $msg) {

			if($msg->level == "error") {
				$this->error($msg->message);
				return;
			}

			$this->comment($msg->message);

		});
	}

}

@GrahamCampbell Hey, can I open a PR to fix this, or are you guys already working on it?

Also don't seem to be able to test properly when using Bugsnag and Log::spy().
No matching handler found for Mockery_1_Bugsnag_BugsnagLaravel_LaravelLogger::debug()

Thanks everyone. I am working on a fix for this. :)

Any progress? I could really do with some Bugsnag reporting!

@DfKimera, @richstandbrook Please let me know if https://github.com/bugsnag/bugsnag-laravel/pull/239 fixes this for you. :)

@GrahamCampbell I'm having a Closure type error, seems to be a missing back-slash:

By poking the code, I've noticed it is missing a back-slash on \Closure in the EventTrait:

By fixing this minor issue, I get another error:

For reference, this is the userland code I'm calling:

Thanks for trying it out. I'll push some fixes shortly. :)

Try now. :)

It's working now! :D
For some reason, the event handler is called three times instead of one. Here's my testing scenario and output:

Here's how I'm registering it in the app service provider:

In the log, however, it is registered correctly:

Are you calling the log listen method after you've registered the aliases?

When is setup logging called in your command class? I think that's being called too many times perhapse?

Yes, the register and alias calls are in AppServiceProvider::register.
I've tested commenting/uncommenting lines, and this line is what causes the extra calls:
$this->app->alias('bugsnag.multi', \Psr\Log\LoggerInterface::class);
Commenting it reduces the calls back to one.

Here's a snapshot of the entire AppServiceProvider, for clarity:

Thanks. Why are you aliasing Bugsnag like that. It doesn't look correct. Did you mean to just write class_alias? The service container aliases have a very specific use, and it's not a good idea to use them to shorten class names.
Is you app service provider registered after the bugsnag one?

I'm doing that way because I've opted to only load Bugsnag in the production environment, so it's no longer in app.php. Removing that line has no effect.
I've tried moving back the alias and service provider to the config file, but it still triples the callback call when I add the \Psr\Log\LoggerInterface Bugsnag alias.

Oh, to answer your previous question: setupLogging() is called only once, on the command handle().

Thanks for the details. I'll investigate soon.

This line definitely is incorrect. Please remove it. A container alias is not at all the same as a class_alias, which is what I assume you want there.

Did you follow the lumen specific instructions? The multi logger needs different setup to Laravel:

You will also need to pass in the events instance in, as not shown in the docs, since the docs are for the current version, not this PR. Basically, you need to only write the following, and nothing else:
$this->app->register(Bugsnag\BugsnagLaravel\BugsnagServiceProvider::class);

$this->app->extend(\Psr\Log\LoggerInterface::class, function ($logger, $app) {
    return new \Bugsnag\BugsnagLaravel\MultiLogger([$logger, $app['bugsnag.logger']], $app['events']);
});

Do not try to do aliasing with the bugsnag.multilogger, that is laravel specific, and will not work in lumen.

The app is a Laravel app. I followed the Laravel instructions found here.
I've since removed the alias line you mentioned, but it has no effect on the log messages tripling. The line that has this effect is:
$this->app->alias('bugsnag.multi', \Psr\Log\LoggerInterface::class);

When I comment this line, the events are no longer tripled.


SSE - Header environment variable is not evaluate before request

Expected Behavior
When we set an environment variable (e.g api-key) and we use it in header section on a SSE request, the value of variable should be used in the request header.
Actual Behavior
The header is present but with the {{ _.variable_name }} as a value, instead of the real value
Reproduction Steps
Create an environment variable with some value
Use this variable as header on a SSE request
Send request and check the timeline - the variable value is not evaluated
Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
No response
Insomnia Version
9.3.2
What operating system are you using?
macOS
Operating System Version
14.5
Installation method
download from inso
Last Known Working Insomnia version
No response

Thanks for the feedback @fmeriaux. This is now fixed in the latest beta and will be released in the coming patch version!

Hey @gatzjames, unfortunately this problem is appearing again :/

Version: Insomnia 10.0.0
Build date: 9.9.2024
OS: Windows_NT x64 10.0.19045
Electron: 31.4.0
Node: 20.16.0
Node ABI: 125
V8: <IP_ADDRESS>-electron.0
Architecture: x64
Could you please look into this issue again?


Add gcc-4-8-pic-hid-sections-cxx11-c11

gcc-4-8-pic-hid-sections-cxx11-c11 =  gcc-4-8-pic-hid-sections + flags(c11.cmake)

Should we update c11.cmake to use CMAKE_C_STANDARD (similar to cxx11.cmake)?
set(CMAKE_C_STANDARD 11 CACHE STRING "C standard" FORCE)
set(CMAKE_C_STANDARD_REQUIRED YES CACHE BOOL "C++ Standard required" FORCE)

Should we update c11.cmake to use CMAKE_C_STANDARD (similar to cxx11.cmake)?

See https://github.com/ruslo/polly/commit/6ef4a3cb29e40bf2ed5fc67b58c70279f5fb71ae


fix Fix txn_insert execute timeout

Proposed changes

The execuete timeout is set to 5 seconds and forget to rest, this will make txn_insert execute timeout.
Add a insert overwrite case which is not supported in txn insert.

run buildall


OperationalInsights 2022-10-01: Changing retentionInDaysAsDefault to boolean.

ARM API Information (Control Plane)
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo.  If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.
Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[x] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review.  Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.
NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)
Please follow the link to find more details on PR review process.

@akning-ms This is correcting an issue in the swagger and the SDK has not been released yet. In the original review I had suggested to update the boolean to enum and had incorrectly suggested that this does not need any change in the backend. But Davids team needs to keep this as boolean so this change reverts it back to the correct implementation. Can we bypass the breakingchange validation and get this checked in since this is not released ?

LRO_RESPONSE_HEADER

can you share me which PR is getting 2022-10-01 merged?

Hi @dulikvor, Can you share me which PR is getting 2022-10-01 merged?

Hi @akning-ms, this is the original PR -
https://github.com/Azure/azure-rest-api-specs/pull/20236

Hi @dulikvor, Can you share me which PR is getting 2022-10-01 merged?

Hi @akning-ms, this is the original PR - #20236

Ok, got it, can you also fix the 4 modal validation error in your example files?

Hi @dulikvor, Can you share me which PR is getting 2022-10-01 merged?

Hi @akning-ms, this is the original PR - #20236

Ok, got it, can you also fix the 4 modal validation error in your example files?

@akning-ms Done.


Change template for temp file creation

This makes the script compatible with other 'versions' of mktemp.

Thanks!


Build lightweight Docker images for deployment.

The base images are meant for development, and include everything needed
to bootstrap and build Vitess.
For actual deployment, we can drop all the dev packages and just put the
binaries into a fresh image.
At this time, the savings in image size are:
vitess/base = 2.269GB -> vitess/lite = 568.4MB
vitess/etcd:v0.4.6 = 442.4MB -> vitess/etcd:v0.4.6-lite = 108.6MB
This makes Kubernetes pods start a lot faster, since each node has to
download the images.
@thompsonja I haven't changed the Docker image spec in the benchmarking templates, since I'm not sure if your scripts need any extra files that I've removed.

LGTM


Add dcos cluster setup

Refactor httpclient options
[prompt] Add yes/no confirmation
[login] Fix missing parameter in a log message
Move back cli.Cluster to config.Cluster
Support the /metadata endpoint in DCOSClient
Add a Mesos client
Add dcos cluster setup

@mhrabovcin : thanks for the review, I've addressed your comments and made some further improvements.


(maint) Use beaker 4 by default in acceptance

These versions reflect what's being used in CI now.

CLA signed by all contributors.

The Travis/AppVeyor errors appear to be completely unrelated, merging


$in/$nin doesn't support RegExp

Sift fails silently with queries such as "{'field': {$in: [/regexp1/, /regexp2/, /regexp3/]}}". It must support this syntax as per https://docs.mongodb.com/manual/reference/operator/query/regex/#syntax-restrictions

PR in https://github.com/crcn/sift.js/pull/130


Added max_length, limit the size of the slug without its number part.

This addresses #203, cc: @alloy.

There's also Mongo::INDEX_KEY_LIMIT_BYTES, maybe that should be the default? We do
  # slug composed of artist's slug and artwork title
  slug :artist_ids, :title, :cultural_maker, :published, index: true, history: true do |doc|
    if doc.published? || doc.has_slug?
      [
        doc.first_maker_text,
        doc.title
      ].map(&:presence).compact.join(' ')[0..Mongo::INDEX_KEY_LIMIT_BYTES - 30].to_url
    else
      doc.id.to_s
    end
  end

The code looks good to me :+1:
API-wise I have a question. Is the numerical part of the slug part of the index?

If not, why are you subtracting 32 bytes from the default value?
If it is, I wonder if it wouldn’t make more sense to make that an implementation detail; i.e. the max length you could assign would be 992. Having the user having to keep in mind and perform this calculation seems a tad confusing to me.

@alloy I'll edit the docs to make this clearer.

Thanks, that does make it more clear :+1:
:shipit:


feat: added hiring call out

@RistoBIn can you take a look at conflicts?
@orcunilbeyli is this ok to merge?

@RistoBIn can you take a look at conflicts?
@orcunilbeyli is this ok to merge?

I am holding this issue @ianaya89 . I know this is open for a bit long time but I gotta update the design.

@orcunilbeyli just checking in. Should we keep this open?

Let's close this @ianaya89. We've added the callout to the footer. We can revisit if any more improvement is needed. Closing it.


Namespace member lookup on a separate file fails if import{} is used

TypeScript Version:  Tried on Version 3.1.0-dev.20180813, and 3.0.1, failed on both.

Search Terms: typescript import namespace lookup
Code
//file aa.ts
namespace A {
	export class Foo {
		constructor() {
		}
	}
	export function bar() {
	}
}

//file b.d.ts
export interface B {}

//file a-err.ts
import {B} from "./b"; //this import seems to cause lookup of A.foo and A.bar to fail below
namespace A {
	export class AA {
		constructor() {
		}
	}
	export function error() {
		//false errors, unable to find Foo and bar defined in aa.ts.
		//Seems to be caused by the type import above.
		let a = new A.Foo();
		let b = A.bar();

		let c : B; //lookup ok
		let d = new A.AA(); //lookup ok
	}
}

//file a.ts
namespace A {
	export function main() {
		//works as expected, picks up Foo and bar defined in aa.ts
		let a = new A.Foo();
		let b = A.bar();
	}
}

Expected behavior: Lookup in a-err.ts should still be able to find class Foo and function bar defined (in the same namespace) in the separate file aa.ts
Actual behavior: Gives the following errors:
ts/import-err/a-err.ts:13:17 - error TS2339: Property 'Foo' does not exist on type 'typeof A'.

13      let a = new A.Foo();
                      ~~~

ts/import-err/a-err.ts:14:13 - error TS2339: Property 'bar' does not exist on type 'typeof A'.

14      let b = A.bar();
                  ~~~

Lookup does still work on classes defined in the same file.
Playground Link: n/a, playground doesn't do multiple files. Full test case can be found here: https://github.com/fat4eyes-mwo/ts-tests (ts files are in ts/import-err)
Related Issues: https://github.com/Microsoft/TypeScript/issues/23041 (could be related, but doesn't use import {})

When a file contains an import, that puts everything in it in the module's scope. Just like how a const in a module is separate from a global variable, a namespace in a module is local to that module. There's no good way to write to a global namespace from within a module.

I see. So a file becomes a module the moment it uses an import.
As a note to myself and others, I've used this workaround to 'access' aa.ts from a-err.ts:
//in file a-err.ts
declare namespace A {
	export class Foo {
		constructor();
	}
	export function bar() : void;
}

It's basically the contents of the d.ts file for aa.ts copied into the file that used the import.
This issue came up when I was trying to use Vue and typescript together without using any bundlers. I use global namespaces and old-fashioned

If you just need access to some types globally, you could declare a globals.d.ts file like so:
import { VueConstructor as ImportVueConstructor } from "vue/types/vue";
declare global {
    type VueConstructor = ImportVueConstructor;
}

Then you can access VueConstructor from any file.

Wow that's much better. Thanks for the replies.


Is it possible to automatically create SendGrid Account?

I want to create a SendGrid Account automatically, because we have different environments and we don't want to manually create SendGrid Accounts.
Is there a way to automatically create a SendGrid account(?

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

ID: 73d91616-a93f-84af-7900-5aa34b361ffd
Version Independent ID: f202a678-4853-d024-55c5-19f89558415c
Content: How to use the SendGrid email service (.NET)
Content Source: articles/sendgrid-dotnet-how-to-send-email.md
Service: multiple
GitHub Login: @thinkingserious
Microsoft Alias<EMAIL_ADDRESS>

@Rookian You should be able to use the below ARM template guide. Whenever you need a sendgrid account, call the ARM template so that it can create a new account. You can cutout the web app and storage parts of the template since Sendgrid is not dependant on those services.
https://anthonychu.ca/post/arm-template-storage-sendgrid/ (3rd party site)
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Add link from tagged item to tagger

Since we now have all the functionality in this app, we can create cross-links. This commit adds a link from the "Tagged content" page (content tagged to a certain taxon) to the Tagging page (where the user can update the tags).
Before

After

👍


Update ipxe to 23.1.2023

Will let this run in test for a while with different machine types
also closes #13

replaced by #15


R3.5, update package version to 3.5, update recipe

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

@bgruening @jdblischak Ready to merge!


AllINONE+ IS as KM (forgot password and username) links not working

Hi,
take wso2 3.0.0 and IS (5.9) as km do configurations
and try clicking these links forget password and username.
you will get errors below.

Aa mentioned in [1] we will be removing forgot username from the UI and it will be added back once [1] is fixed.
Forgot password was working in AllINONE pack and it worked without an issue. We will test this in
AllINONE + IS as KM and will get back to you soon.
[1] https://github.com/wso2/product-apim/issues/8180

@wasuradananjith can you confirm this is the bug?

@kalevivek11 I checked this. I did not get the error that you received. Did you use the prepackaged WSO2 Identity Server as a Key Manager 5.9.0 as mentioned in the docs here?

yes @wasuradananjith did checked only km or ALLINONE APIM with IS as KM. which machine you are using windows or Linux or mac

I am using Linux (Ubuntu 18.04.4 LTS), will check again.

@wasuradananjith try windows

@wasuradananjith any update?

@wasuradananjith did you try??


How to use a modified build of Pyright with Pylance?

Is it possible to integrate modifications to Pyright with Pylance? There's a static typing issue I'm running into for which I have a patch, but there are no apparent instructions on how to test the change with Pylance. On the other hand, Pyright has plenty of documentation on how to build and test; but I do not have Pyright installed as an extension. It'd be helpful if the readme addressed how modifications to Pyright can be tested in the context of an installed Pylance.

This is probably a dupe of #33, but with the way Pylance is designed and distributed, it's not currently possible to do something like this.
If you're changing something to do with static typing in general, I would recommend working in the context of pyright, as we pull changes from there and things that are more type-check specific are better reported there. I recently refactored that repo to make it more straightforward to test changes with the type checker and extension, so if you disable Pylance and just follow their instructions you should be able to test your changes.
I'm not sure what the benefit of running it within pylance would be, but if you think there's something specific where running pyright alone is not enough, I'd be curious to know what that is.


telemetryClient.trackTrace() logs are not handled by logProcessor

Hi, I am using Azure Monitor Application Insights for Java and have noticed that my logs that are published to application insights using @Slf4j log.info() are processed (successfully masked sensitive data in logs). However, when using TelemetryClient.trackTrace() to publish logs, the log processor appears to not affect these logs.
Is this an expected behaviour or is there any configuration needed to enable this to work?

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

ID: c44b3c6f-6d7c-475f-7839-2c7091f58530
Version Independent ID: d0bbbbb2-418a-9afd-cff7-e5d3ac832548
Content: Telemetry processor examples - Azure Monitor Application Insights for Java - Azure Monitor
Content Source: articles/azure-monitor/app/java-standalone-telemetry-processors-examples.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @AaronMaxwell
Microsoft Alias: aaronmax

@adamhcj - Thanks for bringing this to our attention. We will investigate it further and update you shortly.

Alright, I have raised a question at:
https://learn.microsoft.com/en-us/answers/questions/1371895/how-to-enable-telemetryclient-tracktrace()-logs-to


Remove CNCI admin password

Remove admin password for CNCI. The admin can provide an SSH key and get passwordless sudo anyway. This fixes a security issue where not specifying a password would set it to "ciao" and allow access.

Coverage increased (+0.001%) to 64.287% when pulling b2d58e6de0b86c9f09604cf3b54572bda41a6436 on rbradford:remove-cnci-password into 9ebe36f6c5befe52b1caad4da8ea8dd4a1112035 on ciao-project:master.

Coverage decreased (-0.002%) to 64.284% when pulling fecb4f7b4163fca0c77c2566779cae6df2523f20 on rbradford:remove-cnci-password into 9ebe36f6c5befe52b1caad4da8ea8dd4a1112035 on ciao-project:master.

Coverage increased (+0.01%) to 64.298% when pulling fecb4f7b4163fca0c77c2566779cae6df2523f20 on rbradford:remove-cnci-password into 9ebe36f6c5befe52b1caad4da8ea8dd4a1112035 on ciao-project:master.


DEV: Godmode not working

I suspect this is because if npm run proxy is used, most db calls are forwarded to your servers. In earlier versions there was a bin folder with mongo. But now there isn't. Any ideas how to fix?

Right, we simplified the dev setup experience to just use our backends a few years ago, so now you can't give yourself godmode when developing locally (since that would be real godmode on the production server as well).


p4pgw crashes:"UnboundLocalError: local variable 'handler' referenced before assignment"

Hello, trying the following configuration p4p crashes:
config.json:
{
    "version": 2,
    "clients":[
        {
            "name":"cam1",
            "addrlist": "cam01.eli.svc",
            "autoaddrlist":false
        }
    ],
    "servers": [
        {
            "name": "$name",
            "clients": [],                        <--- I thought that could be more permissive. But it makes the p4p crash.
            "addrlist": "",
            "autoaddrlist": false,
            "statusprefix": "GW:STS:"
        }
    ]
}

Output:
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.10/dist-packages/p4p/gw.py", line 815, in <module>
    main()
  File "/usr/local/lib/python3.10/dist-packages/p4p/gw.py", line 804, in main
    app = App(args)
  File "/usr/local/lib/python3.10/dist-packages/p4p/gw.py", line 672, in __init__
    handler.asTestPV = SharedPV(nt=NTScalar('s'), initial="Only RPC supported.")
UnboundLocalError: local variable 'handler' referenced before assignment

"clients": [],                        <--- I thought that could be more permissive. But it makes the p4p crash.

This has the opposite effect.  When combined with "statusprefix", this should create a server which only provides gateway status PVs.  I suppose a valid use case, although not one I have tested.  Which, python being so dynamic, probably explains why it doesn't work.


Trying to use a Hash160 List but got an error.

Hey
I got the following address 1H3vCn45DoSioSYRWF3cQ4LRKHwN8JhdRi and i reversed it to the Hash160 b00f4191dabe609d0624a274f99d765e83e00da4 but receiving an error (wrong address). Did I miss some parameter ?
I used:
cuBitCrack.exe -i accounts_hash160.txt --out results.txt --compressed --uncompressed --blocks 64 --threads 512 --points 1280
Thank you!

Seems to work now. Don't know what changed.
Anyway, seems to be my fault.


app can't open

Hololens2 ,2020.3.24f1c2/2022.2.2f1c1/mrtk2.8.3
can't open my app
error log:

my configs:

@zzcoppt Can you share the contents of your packages\manifest.json file please?  There is an input system bug that could cause this, I want to see what version you have imported.
Thanks!

Please re-open if you still need help with this issue.


Menu Navigation

When navigating thru a menu with submenus it always jumps to the top of the main menu when exiting a submenu.
Is there a way to return to the old position in the main menu and continue navigating without having to start from the top?

Tested and committed to master ( mbed and ESP32 ). Will be in V2.0.

There's a few edge cases around lists where the new navigation is not working, other than that, all is working.

Working for all tested cases in the 2.0 beta.


error output font

If there is an error message, the current font causes the caret to be visually misaligned with the column of the error. The space characters in this font have a different width than other characters. Here is an example.

STRONGLY agree with you.
I've also created an issue for that,
https://github.com/NFLabs/zeppelin/issues/222
Can you recommend some fixed-width font for output??

I've created a PR, changed the output as the same font with editor.
(actually, i just restore commented css)
https://github.com/NFLabs/zeppelin/pull/327

Now it just looks good and also goes well with space-formatted outputs.

Thanks for raising issue!

Thanks for providing a fix faster than I can respond!

Even I've almost forgot that issue I've created..
Raising an issue is always welcomed & desirable even there was a duplicated one!


wrong data in singlestat

Singlestat shows obviously wrong fractured numbers when item type is numeric:

source data in zabbix latest data:

item settings:

Query Inspector data:
inspector.txt
Environment:

Grafana version: 6.4.4 and 6.6.2
Data source type & version: Type: Zabbix/ Zabbix 4.0.18. © 2001–2020, Zabbix SIA
OS Grafana is installed on: CentOS Linux release 7.7.1908 (Core)
User OS & Browser: Win10 Pro chrome 80.0.3987.122 x64
Grafana plugins:
grafana-cli plugins ls
installed plugins:
alexanderzobnin-zabbix-app @ 3.10.5
grafana-clock-panel @ 1.0.3
grafana-piechart-panel @ 1.4.0
vonage-status-panel @ 1.0.9

https://github.com/grafana/grafana/issues/22533#issuecomment-593894932

To get real value in case of a Singlestat panel where you want to show the latest/current value, set the "Override relative time" parameter to e.g.: 1h
Unfortunately this workaround will not work if you want anything else with more than 4 days of data (Table, Graph etc.).

/ 4d, 7d, auto (30d) /

Hi! Yes, that's an aggregation issue. Use "Override relative time" as @zbxsyr mentioned or increase max data points (dashboard can be very slow after this change).


update to newest versions, gradle, plugins, dependencies

update to newest versions, gradle, plugins, dependencies. i tried to use rc01 - but this one failed some tests so i thought better base it on master. i did not switch the maven plugin (which will go away with gradle-7.x) for the maven-publish plugin as it published 2 jars instead of one.

thanks I'll try to review soon.

Many thanks.


flacon: 9.1.0 -> 9.2.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/flacon/flacon/releases.
meta.description for flacon is: "Extracts audio tracks from an audio CD image to separate tracks"
meta.homepage for flacon is: "https://flacon.github.io/"
meta.changelog for flacon is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 9.2.0 with grep in /nix/store/fyjjvkccp6ywyfm2izgy2icyw3x6j01s-flacon-9.2.0
found 9.2.0 in filename of file in /nix/store/fyjjvkccp6ywyfm2izgy2icyw3x6j01s-flacon-9.2.0

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
flacon

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/fyjjvkccp6ywyfm2izgy2icyw3x6j01s-flacon-9.2.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

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

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

flacon

Maintainer pings
cc @snglth for testing.

Result of nixpkgs-review pr 188845 run on x86_64-linux 1

1 package built:

flacon


Roll Engine from f925e560de65 to d10ad468ab46 (3 revisions)

https://github.com/flutter/engine/compare/f925e560de65...d10ad468ab46
2021-02-24<EMAIL_ADDRESS>[web] Fix placeholder-only paragraphs (flutter/engine#24572)
2021-02-24<EMAIL_ADDRESS>Roll Skia from 066f411b2ae6 to d15c52d2333e (3 revisions) (flutter/engine#24580)
2021-02-23<EMAIL_ADDRESS>Delete multi set intent parameter (flutter/engine#24543)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


[Stepper] Increase StepButton space for click

Closes #10035.
Basic Idea
Currently, component Stepper has a padding size based on theme, which is theme.spacing.unit * 3. This padding causes components inside it, including StepButton which width and height are both 100%, to squeeze.
One possible solution is to add padding for component StepButton with the size of Stepper padding. Ensuring the width and height do not include the padding, it should change its style's box-sizing property to content-box. This way increases the spacing of the StepperButton.
This comes to a problem that StepperButton is jerked because of this new padding. It can be solved by adding negative margin the size of that padding.
Screenshots
1. Horizontal Non-linear

2. Horizontal Non Linear - Alternative Label
The StepButton with the biggest height will span the container height.

However, the other StepButton still does not fully span the container height. Is this tolerable, or is there any suggestion for this?

It seems there's no breaking changes nor test updates required in this PR.
Really appreciate for a review!

@AlbertLucianto It's a great first-time pull request 👌🏻. Thank you for giving it a shot!


When creating a custom set (Fangame use) I cannot specify Gender.

I am creating a custom set which contains the boss trainers in my fan-game, I use my own data layer which contains custom pokemon however I wish to be able to set gender for certain pokemon sets due to abilities like Rivalry, mostly to facilitate the player not accidentally leaving this off when calculating.
I have tried several things but I can't seem to figure out what to put in the .js to make it happen.
"Onix":{"Onix [Brett (Seafoam City)]":{"level":16,"ability":"Battle Armor","moves":["Accelerock","Bulldoze","Stomp","Double Kick"],"ivs":{"hp":18,"at":18,"df":18,"sa":18,"sd":18,"sp":18},"gender":"Female"}},
Gender does not work, also have tried gender and changing Female to female and F.
Understandably this is not a priority feature, and I know the sets are not intended to be edited, but there is a small population which uses your calculator for purposes like this and it would be appreciated!


Add undeploy step in GraphQL test cases

Purpose

$subject

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 4.07%. Comparing base (a5da5bf) to head (dccdd7c).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #2101       +/-   ##
==========================================
- Coverage   31.68%   4.07%   -27.62%
==========================================
  Files          77       6       -71
  Lines        5283     712     -4571
  Branches     2672       0     -2672
==========================================
- Hits         1674      29     -1645
+ Misses       3609     683     -2926

Flag
Coverage Δ

common-controller
4.07% <ø> (?)

config-deployer-service
?

idp-domain-service
?

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add wsl --mount support to Server 2022

Is your feature request related to a problem? Please describe.
We are a BaaS/DRaaS provider, trying to leverage a new API added to our backup software. This API allows us to mount data from backed-up systems using iSCSI to access the data in a read-only manner. This works fine with Windows systems, but the data isn't accessible if the API is used on a Linux machine.
Describe the solution you'd like
Ideally, we would like wsl --mount to be a feature in Server 2022, so that we can programmatically mount the Linux data to perform virus scans and other data manipulation to the data without accessing/affecting the production environment.
Describe alternatives you've considered
DiskInternals Linux Reader however there doesn't seem to be support to make the data accessible using a CLI.

Hello, thanks for the request.
Unfortunately wsl --mount requires wsl2, which isn't supported on server. We don't have plans to add wsl2 to Windows Server at the moment, so my recommendation would be to use Windows desktop to use wsl --mount.


Define the (generic) message header

The header for all messages should be defined, and include:

API-version (issue #29)
Webhook to respond to for replies and validation (issue #12)

Is this meant for incoming or outgoing?
Or both?
Other usefull information might include :
Timezone, language, ..

We also need to address the authentication key. See issue #7 .

Incoming message headers :
Accept-Language:nl   [ISO 639-1 two letter language code]
Content-Type:application/json  [ in case of body content ]
Api-Version:1.1
Accept:application/json
Webhook-Listener:https://www.partner.com/webhooklistener    [URL for webhook calls]

The Authorization header is mostly used for Authorization keys (Fe. Bearer -- ....)
We could also use Authorization-Key or something of our own choosing.
Accept:application/json -> this is optional, in case we would provide support for other output formats (fe. XML, ....)
Outgoing message headers :
Content-Language:nl   [ISO 639-1 two letter language code]
Content-Type:application/json
Api-Version:1.1
Webhook-Listener:https://www.tomp-url.nl/webhooklistener    [URL for webhook calls]

Usefull options :
Expires:[DATE/TIME] -> for booking requests -> how long is this offer valid
Last-Modified:[DATE/TIME] -> to check when something was updated last
Cache-Control:none   [-> or a defined time ; How long can a result be cached]

Can we add TOMP as a prefix to the API-version? Since we already communicate directly with TO's with different API's and so do other parties. This way we can distinguish not only the version but also the type of API.

timestamps please in UTC

In the swagger definition the webhooks are also facilitated. https://swagger.io/docs/specification/callbacks/
I'll use it in the POST of a booking-option (end state: PENDING), so it's possible to 'commit' a booking-option to a booking using PATCH /booking-options/{id} with COMMIT. Or, in case a webhook is delivered, this one must be used, but the request body should be the same as /booking-options/.

Content-Type:application/json is needed to let everything work. It's not explicitly mentioned in swagger.
Webhook-Listener is - conform the swagger default, not in the header, but in the body.


Add-WordPicture does not see the file I am trying to pass it

Hi, I am having some trouble with Add-WordPicture, see the following script
Import-Module PSWriteWord -Force
$FilePath = "$Env:USERPROFILE\Desktop\test1.docx"
$WordDocument = New-WordDocument $FilePath
$ImagePath = "$Env:USERPROFILE\Desktop\logo.png"
Add-WordPicture -WordDocument $WordDocument -ImagePath $ImagePath
Save-WordDocument $WordDocument
Invoke-Item $FilePath

I have one image file called "logo.png" on my desktop, where I create the new Word Document.
Whenever I call Add-WordPicture - I get the following error

Exception calling "AddImage" with "1" argument(s): "Object reference not set to an instance of an object."
At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\0.5.8\Public\PSWordPicture.ps1:19 char:5
+     $Image = $WordDocument.AddImage($FilePathImage )
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : NullReferenceException

You cannot call a method on a null-valued expression.
At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\0.5.8\Public\PSWordPicture.ps1:22 char:9
+         $Picture = $Image.CreatePicture()
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

Exception calling "AppendPicture" with "1" argument(s): "Object reference not set to an instance of an object."
At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\0.5.8\Public\PSWordPicture.ps1:30 char:5
+     $data = $Paragraph.AppendPicture($Picture)
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : NullReferenceException

Thank you for reporting this. It's fixed now. Published new version.
Update-Module PSWriteWord should fix it. Please let me know!

That's great thanks.  I have just updated and it works as expected now, thanks for the quick fix.


AddVersionedApiExplorer duplicates APIs when inheriting from base controller

I have a following code
public class BaseController : ApiController{}

 [ApiVersion("1")]
 [RoutePrefix("api/v{version:apiversion}/myresource")]
 public class MyController: BaseController{

    [Route("")]
    public async Task<IHttpActionResult> GetUsers()
    {
        var users = await _userRepository.GetAllUsersAsync();
        return Ok(users);
    }
}

In WebConfig.cs , I have
      config.AddApiVersioning(opt =>
            {
                opt.ReportApiVersions = true;
                opt.AssumeDefaultVersionWhenUnspecified = true;
                opt.ApiVersionSelector = new CurrentImplementationApiVersionSelector(opt);
            }
        );

config.AddVersionedApiExplorer()

When I go to my Help Page, I see duplicates:
GET api/v{version:apiversion}/myresource
GET api/v{version:apiversion}/myresource
But when I remove the Base Controller and just inherit directly ApiController to "MyController", I don't see the duplicates.
Is there a problem with inheriting ?

Honestly, it's been a very long time since I've used the Help Pages since most have switched to Swagger. The API Explorer for API versioning uses the same discovery process as routing. If things route the way you expect, then there is likely not an issue with inheritance.
How are you building your help page? While it is possible, it's much harder to use the IApiExplorer interface directly because its design has no support for API versioning. The VersionedApiExplorer does implement this interface, but the ApiDescription items are reported in a flat list, which is all that IApiExplorer supports. I recommend using the VersionedApiExplorer directly instead. You can achieve this by capturing the reference when it's added or cast it from the registered instance.
// capture during registration
var apiExplorer = configuration.AddVersionedApiExplorer();

// cast from registered instance
apiExplorer = (VersionedApiExplorer) configuration.Services.GetApiExplorer();

Once you have an reference to the strongly-typed VersionedApiExplorer instance, the ApiDescriptions property will be grouped by API version for you. Each item in the collection is a group of groups, which should come out something like this when enumerated:

1.0

GET api/v{version:apiversion}/myresource

2.0

GET api/v{version:apiversion}/myresource

When you use IApiExplorer directly, the list is flat, which has the appearance of duplicates. The entries are not actually duplicates, but are identical route templates for different API versions. You should be able to confirm that through the debugger display. It's possible to cast the individual ApiDescription entries to their VersionedApiDescription equivalent, which will contain the API version and group information as well.
One final note. Remember that when you version by URL segment the API version is a route parameter value with a constraint. The API Explorer is not going to fill in or translate the URL for you. It will, however, include a parameter that defaults to the expected value. If you want the URLs to be pre-generated, you'll have to add your own code to perform the replacement. The behavior is no different than if the route was api/v1/myresource/{id}. You wouldn't expect the API Explorer to fill in the value of {id}. The same is true for the {version} parameter.
I hope that helps. Let me know if you have more questions.

It makes sense if I have multiple versions like you said (1.0 and 2.0). I only have 1 version.

What is the API version reported for the two routes?
a. Are they the same?
b. How many API versions are explored?
c. Which APIs are explored per API version?
What does your routing configuration look like? Are you also defining convention-based routes?

API descriptions are de-duplicated by ID and API version.

Hmmm.... seems like there might be a problem.  I was able to repro your scenario in the Web API Swagger sample. The issue seems to be evaluation of the API version itself.
I think there may be a bug here. I need to investigate further. To unblock you though, try changing your attribute from [ApiVersion("1")] to [ApiVersion("1.0")]. Things worked for me in Swagger when I made this change. This definitely doesn't matter during route evaluation and shouldn't matter here, but somehow it is.
Try that and hopefully you'll be unblocked. I'll continue investigating. Thanks.

Thanks. We removed the inheritance for now but your solution is an alternative that we can use too. Thanks for looking into it

Uggg ... it's a bug. GetHashCode is implemented poorly in the ApiVersion (bad developer; no cookie). The current implementation relies on the hash code of ToString. Early on, the minor version component wasn't optional. It's now optional, but is treated as zero when unspecified. However, ToString intentionally does not modify the source input (e.g. the input to Parse should match ToString). As a result, this ends up causing 1 and 1.0 to be evaluated differently and, thus, not de-duplicated. In your scenario, this probably because ApiVersioningOptions.DefaultApiVersion equals new ApiVersion(1,0) and [ApiVersion("1")] parses to new ApiVersion(1).
The fix is pretty simple, but I'm amazed no one else has neither hit this error or reported it. Nevertheless, the behavior is wrong. I have several fixes I'm working on. I will roll this into it and push it out as soon as possible. I'm advertising the end of next week, but there is a good chance it will be much sooner than that.
I tried the inheritance combination and that worked just fine. If BaseController doesn't provide a public API surface, consider making it abstract. That should guarantee it's excluded from the results. As a workaround, you can use [ApiVersion("1.0")]. Both cases will support either api/v1/myresource or api/v1.0/myresource.  You can use the for format codes to have your Help Pages show the version without the .0.  Hopefully that gets you back on your way.


useWatch results in null (reading 'control') error

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version, I'm using<EMAIL_ADDRESS>
Current behavior 😯
I'm trying to use useWatch({ name: "matchClaims" }), but it results in the following TypeError:
 ⨯ TypeError: Cannot read properties of null (reading 'control')

I am using the import of useWatch via react-hook-form-mui as stated in the readme.
If you comment the line of useWatch, it works fine.
Am I doing something wrong?
Expected behavior 🤔
Able to use the value of the useWatch hook to form state as stated in the RHF docs
Steps to reproduce 🕹
See this CodeSandbox example

This is expected. @n2k3 you are using useWatch in component which is not wrapped under FormContainer as children.
Try to move FormContainer to parent component or use useForm from 'react-hook-form' and pass control object to useWatch

Thanks for your comment @sadik-malik. I now understand why I can't use the useWatch() hook within a component that's not a child of the <FormContainer />.
Two remarks:

Lifting the <FormContainer /> up into a new component that is rendered in a page.tsx would not be ideal just to use the useWatch() hook.
It also doesn't seem appealing to separately install react-hook-form to be to use useWatch() hook outside of the <FormContainer />. I feels like working around the concept of the react-hook-form-mui package.

I resolved it by using local state to keep track of values for the <RadioButtonGroup />. This is possible for my specific use case as the value of this doesn't need to be included in the submit data of my form.

Thanks for your comment @sadik-malik. I now understand why I can't use the useWatch() hook within a component that's not a child of the .
Two remarks:
Lifting the <FormContainer /> up into a new component that is rendered in a page.tsx would not be ideal just to use the useWatch() hook.
It also doesn't seem appealing to separately install react-hook-form to be to use useWatch() hook outside of the <FormContainer />. I feels like working around the concept of the react-hook-form-mui package.

I resolved it by using local state to keep track of values for the . This is possible for my specific use case as the value of this doesn't need to be included in the submit data of my form.
As this is no longer an issue, I will close it now.

@n2k3 just keep in mind that react-hook-form and its API always depends either on the provided context or you pass control to its function. Its a very common case that you also might fire up your own useForm and then you can use whatever suits you to either provide control or use the  to enable the state of the form.
Here are some common use cases:
https://github.com/dohomi/react-hook-form-mui/blob/master/apps/storybook/stories/FormContainer.stories.tsx#L145

Regarding your remarks, @n2k3:

To utilize useWatch, it requires a control object. This can be passed manually or accessed through context. In React, unfortunately, due to the one-way data flow, context works in such a way that your component needs to be wrapped with FormContainer if you intend to use useWatch.

react-hook-form-mui is built on top of react-hook-form and all hooks from react-hook-form are exported from react-hook-form-mui. Therefore, it doesn't introduce additional dependencies. You can utilize useForm from either react-hook-form-mui or react-hook-form.

Additionally, I would appreciate further insight into your use case for a better way of employing useWatch outside of FormContainer. Typically, I employ it for tasks such as conditionally rendering elements or conducting validations.


conform propgation cmd to the other cmd args

Will need to update CSV after this is merged.

/lgtm


Filtering using a key which has spaces (e.g. "In Stock") raises an error

Description
Filtering using a key which has spaces (e.g. "Lens Color") raises an error
Expected behavior
You should be able to filter using keys with spaces
Current behavior
MeilisearchApiError is returned
Screenshots or Logs
[MeiliSearchApiError]: Inside `.queries[0]`: Was expecting an operation `=`, `!=`, `>=`, `>`, `<=`, `<`, `IN`, `NOT IN`, `TO`, `EXISTS`, `NOT EXISTS`, `_geoRadius`, or `_geoBoundingBox` at `Lens Color=\"Red\"`.
1:17 Lens Color="Red"
    at /home/rubie/oco-hydrogen/node_modules/@meilisearch/instant-meilisearch/dist/instant-meilisearch.umd.js:359:25
    at step (/home/rubie/oco-hydrogen/node_modules/@meilisearch/instant-meilisearch/dist/instant-meilisearch.umd.js:266:25)
    at Object.next (/home/rubie/oco-hydrogen/node_modules/@meilisearch/instant-meilisearch/dist/instant-meilisearch.umd.js:215:22)
    at fulfilled (/home/rubie/oco-hydrogen/node_modules/@meilisearch/instant-meilisearch/dist/instant-meilisearch.umd.js:174:32)
    at processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'invalid_search_filter',
  type: 'invalid_request',
  link: 'https://docs.meilisearch.com/errors#invalid_search_filter',
  httpStatus: 400
}

Environment (please complete the following information):

OS: Ubuntu
Browser: All
Meilisearch version: 1.1
instant-meilisearch version: 0.12.0
instantsearch.js version: 4.51.1

[Edited with better example]

Hello @rub1e. Sorry for the delay. I think this is due to a badly formatted filter, if you use quotes around the key or attribute it should work. For example: "filter": "'in stock' = true"

Hi @oluademola, thanks for getting back to me. Apologies for lack of clarity, I can now see what's causing the error:
The error occurs when using the instantsearch widgets like ToggleRefinement or RefinementList.
So this causes the error
<ToggleRefinement attribute="In Stock" />
<RefinementList attribute="Lens Color" />
However I'm using the widgets from React InstantSearch Hooks so maybe this error is because this version of instant-meilisearch isn't supposed to work with the latest hooks package? In which case I'll close the issue.

Hey @rub1e
Thanks for the heads-up. instant-meilisearch should definitely work with the latest react hook library. I'll tag this as a bug!

No problem, let me know if you want me to test anything


Add partial product search

I want to merge this change because...I want to add partial product search

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

What's the use case? What if I don't want this behavior?

What's the use case? What if I don't want this behavior?

@patrys For example if you had product with name monsterblack and you will type only monster into search field. You cannot turn off this functionality, we could add flag for this it will be necessary.

Why not let the client build the query and document how operators work?

I'm not familiar with the operators, how would it look like in the API for example?

https://www.postgresql.org/docs/current/textsearch-controls.html
Examples:

products(filter: { search: "foo & bar" }, ...) - containing both "foo" and "bar"
products(filter: { search: "foo | bar" }, ...) - containing "foo" or "bar"
products(filter: { search: "!foo" }, ...) - not containing "foo"
products(filter: { search: "foo:A | bar:B" }, ...) - title (weight A) containing "foo" or description (weight B) containing "bar"
products(filter: { search: "foo:*" }, ...) - containing a word starting with "foo"
products(filter: { search: "foo & (bar | baz)" }, ...) - using parenthesis to override operator precedence

Actually, that would be pretty awesome, but I have no idea how much work it would be. Seems like we should just pass the phrase from API directly to Postgres. There should be also some error handling when the user passes an invalid phrase, in which case we should raise some GraphQLError.

It seems the syntax is already handled if we drop the :* change (current implementation won't work if you search using two words). Not sure how syntax errors are handled.

We won't have time in the nearest future to improve this solution as discussed above. Should I close the PR for now?

Task linked: SALEOR-2495 Add partial search to SearchVector in product


Week 2

Package
Name
Melvin Idema
Class
Tech-3
Repo link
https://github.com/MelvinIdema/blok-tech
Summary
In this week I followed the Git & Github Bootcamp course on Udemy to thoroughly understand how Git and Github works. I documented about my findings in my wiki. I also wrote an ExpressJS server and researched multiple Templating Engines. Than I wrote the front-end for my concept.
Last but not least I studied multiple READMe files from popular repositories and constructed my own.
Resources used
Git and Github Bootcamp
Git from the bottom up
Build your own Git
How to write Git Commit Messages
choo
size-limit
Faker
📱 Het Concept
Any thoughts?
Lot's of fun!

Hey Melvin, ik zie dat je al week 3 hebt ingeleverd dus ik zal je daar alle feedback geven :)

Haha inderdaad, is goed. Dankjewel Sam!


MariaDB4j 2.4.0 stuck after shutdown of db

Hello,
we have an issue, that after our test is done (and according to the logs the database shut down) the process just gets stuck. The problem can be reproduces on concourse and also locally.
Everything works fine with 2.3.0.
Do you have any idea or guide how to debug this further?
Components used:
Spring Boot 2.1.3.RELEASE
JUnit 5.3.1
Gradle 5.1.2
OpenJDK 11.0.2 (In concourse docker image openjdk:11, locally installed through sdkman on OSX)
Logs:
{"@timestamp":"2019-03-05T14:35:59.334+00:00","message":"cleanupOnExit() ShutdownHook now stopping database","logger_name":"ch.vorburger.mariadb4j.DB","level":"INFO"} {"@timestamp":"2019-03-05T14:35:59.379+00:00","message":"mysqld: 2019-03-05 14:35:59<PHONE_NUMBER>61984 [Note] /tmp/MariaDB4j/base/bin/mysqld (unknown): Normal shutdown","logger_name":"ch.vorburger.exec.ManagedProcess","level":"INFO"} {"@timestamp":"2019-03-05T14:35:59.379+00:00","message":"mysqld: ","logger_name":"ch.vorburger.exec.ManagedProcess","level":"INFO"} {"@timestamp":"2019-03-05T14:35:59.383+00:00","message":"mysqld: 2019-03-05 14:35:59<PHONE_NUMBER>75648 [Note] InnoDB: FTS optimize thread exiting.","logger_name":"ch.vorburger.exec.ManagedProcess","level":"INFO"} {"@timestamp":"2019-03-05T14:35:59.404+00:00","message":"mysqld: 2019-03-05 14:35:59<PHONE_NUMBER>61984 [Note] InnoDB: Starting shutdown...","logger_name":"ch.vorburger.exec.ManagedProcess","level":"INFO"} {"@timestamp":"2019-03-05T14:35:59.406+00:00","message":"mysqld: 2019-03-05 14:35:59<PHONE_NUMBER>28736 [Note] InnoDB: Dumping buffer pool(s) to /tmp/MariaDB4j/data/40405/ib_buffer_pool","logger_name":"ch.vorburger.exec.ManagedProcess","level":"INFO"} {"@timestamp":"2019-03-05T14:35:59.407+00:00","message":"mysqld: 2019-03-05 14:35:59<PHONE_NUMBER>28736 [Note] InnoDB: Buffer pool(s) dump completed at 190305 14:35:59","logger_name":"ch.vorburger.exec.ManagedProcess","level":"INFO"} {"@timestamp":"2019-03-05T14:35:59.476+00:00","message":"Closing JPA EntityManagerFactory for persistence unit 'default'","logger_name":"org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean","level":"INFO"} {"@timestamp":"2019-03-05T14:35:59.476+00:00","message":"Shutting down ExecutorService 'applicationTaskExecutor'","logger_name":"org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor","level":"INFO"} {"@timestamp":"2019-03-05T14:35:59.486+00:00","message":"Shutting down ExecutorService 'applicationTaskExecutor'","logger_name":"org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor","level":"INFO"} {"@timestamp":"2019-03-05T14:35:59.491+00:00","message":"Shutting down ExecutorService 'applicationTaskExecutor'","logger_name":"org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor","level":"INFO"} {"@timestamp":"2019-03-05T14:35:59.495+00:00","message":"Closing JPA EntityManagerFactory for persistence unit 'default'","logger_name":"org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean","level":"INFO"} {"@timestamp":"2019-03-05T14:35:59.501+00:00","message":"Closing JPA EntityManagerFactory for persistence unit 'default'","logger_name":"org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean","level":"INFO"} {"@timestamp":"2019-03-05T14:35:59.509+00:00","message":"Shutting down ExecutorService 'applicationTaskExecutor'","logger_name":"org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor","level":"INFO"} {"@timestamp":"2019-03-05T14:35:59.520+00:00","message":"Closing JPA EntityManagerFactory for persistence unit 'default'","logger_name":"org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean","level":"INFO"} {"@timestamp":"2019-03-05T14:35:59.521+00:00","message":"Shutting down ExecutorService 'applicationTaskExecutor'","logger_name":"org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor","level":"INFO"} {"@timestamp":"2019-03-05T14:35:59.539+00:00","message":"Shutting down ExecutorService 'applicationTaskExecutor'","logger_name":"org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor","level":"INFO"} {"@timestamp":"2019-03-05T14:35:59.545+00:00","message":"Closing JPA EntityManagerFactory for persistence unit 'default'","logger_name":"org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean","level":"INFO"} {"@timestamp":"2019-03-05T14:35:59.546+00:00","message":"Shutting down ExecutorService 'applicationTaskExecutor'","logger_name":"org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor","level":"INFO"} {"@timestamp":"2019-03-05T14:35:59.586+00:00","message":"Shutting down embedded database: url='jdbc:h2:mem:testdb;MODE=MySQL;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false'","logger_name":"org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory","level":"INFO"} {"@timestamp":"2019-03-05T14:35:59.598+00:00","message":"Shutting down embedded database: url='jdbc:h2:mem:testdb;MODE=MySQL;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false'","logger_name":"org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory","level":"INFO"} {"@timestamp":"2019-03-05T14:35:59.609+00:00","message":"Shutting down embedded database: url='jdbc:h2:mem:testdb;MODE=MySQL;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false'","logger_name":"org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory","level":"INFO"} {"@timestamp":"2019-03-05T14:35:59.611+00:00","message":"HikariPool-1 - Shutdown initiated...","logger_name":"com.zaxxer.hikari.HikariDataSource","level":"INFO"} {"@timestamp":"2019-03-05T14:36:00.225+00:00","message":"HikariPool-1 - Shutdown completed.","logger_name":"com.zaxxer.hikari.HikariDataSource","level":"INFO"} {"@timestamp":"2019-03-05T14:36:01.118+00:00","message":"Program [/tmp/MariaDB4j/base/bin/mysqld, --no-defaults, --console, --skip-grant-tables, --max_allowed_packet=64M, --basedir=/tmp/MariaDB4j/base, --datadir=/tmp/MariaDB4j/data/40405, --port=40405, --socket=/tmp/MariaDB4j.40405.sock, --user=root] (in working directory /tmp/MariaDB4j/base) just exited, with value 0","logger_name":"ch.vorburger.exec.LoggingExecuteResultHandler","level":"INFO"} {"@timestamp":"2019-03-05T14:36:01.134+00:00","message":"Successfully destroyed Program [/tmp/MariaDB4j/base/bin/mysqld, --no-defaults, --console, --skip-grant-tables, --max_allowed_packet=64M, --basedir=/tmp/MariaDB4j/base, --datadir=/tmp/MariaDB4j/data/40405, --port=40405, --socket=/tmp/MariaDB4j.40405.sock, --user=root] (in working directory /tmp/MariaDB4j/base)","logger_name":"ch.vorburger.exec.ManagedProcess","level":"INFO"} {"@timestamp":"2019-03-05T14:36:01.134+00:00","message":"Database stopped.","logger_name":"ch.vorburger.mariadb4j.DB","level":"INFO"} {"@timestamp":"2019-03-05T14:36:01.134+00:00","message":"cleanupOnExit() ShutdownHook quietly deleting temporary DB data directory: /tmp/MariaDB4j/data/40405","logger_name":"ch.vorburger.mariadb4j.DB","level":"INFO"} {"@timestamp":"2019-03-05T14:36:01.192+00:00","message":"cleanupOnExit() ShutdownHook quietly deleting temporary DB base directory: /tmp/MariaDB4j/base","logger_name":"ch.vorburger.mariadb4j.DB","level":"INFO"}

the process just gets stuck

That normally happens if you have any non daemon threads which did not
stop... You need to use "jstack" to find them.
This may have nothing to do with MariaDB4j...

You are probably right. Im going to close this issue for now.
Thanks!


[INTEL MKL] Create a partial key for output_scale.

MKL Conv2d's primitive key creation has significant overhead, especially for quantized conv2d which has an extraordinary long output_scale post ops (for re-quantization). Instead of using actual values of output_scale vector, we are using the pointers of min/max_filter_vector as a partial key, and this works well since the filter vector is always a constant in MklQuantizedConv2DOp.
This feature could improve the performance for models with small workloads. For example, mobilenet will improve ~30%, and ssd-mobilenet will improve ~10%.

Any updates? @penpornk

@penpornk Thanks for your review. Changes applied


Merged community pr and minors fixes/features

Hi I merged most of the handy PR and during the time also added some new config options as well ass fixed some other. As of now I am using it in cluster configuration in my pre-production env (centos/rhel).
As the current cookbook version is quite outdated, I would kindly ask you to merge to master or alternative branch so 'community' may continue to work on it.
I am sorry,

'specs' were not touched. (anybody will volunteer)?
not all kitchen tests were run (will do and provide branch updates if failing)

Feedback, comments?

@phlipper , as no comments so far.  Is the community interested in maintaining this project?
In my eyes:

configuration need long term re-do
cluster bootstrap should be resolved (I have solution with consul.io)
updates to recent percona version are essential as well as community feedback how to treat older versions? (ie: keep multiple versioning part of the master branch. Forget and focus on latest version only, older cookbook versions are still available?)
official update to supermarket.

Thanks, PMi


Development server on port 80 does not start

Description
I was trying to start a app on port 80 I currently working on through WSL.
Expected behavior
It just works fine.
Actual behavior

I started it with yarn start. Executing this command in a Windows command line or a PowerShell in the same directory is working fine. Changing the port to something else resolves the issue in WSL too.
Environment
Run these commands in the project folder and fill in their results:

npm ls react-scripts (if you haven’t ejected): 1.0.6
node -v: 6.11.0
npm -v: 3.10.10

Then, specify:

Operating system: WSL under Windows 10 Version 1703

Did you try using sudo?

@Timer Ah didn't know that. Thanks. Is working with sudo now.


Screen doesn't show Info Status Screen; shows "Lightning Wallet Locked"

Hello community,
I'm new to github, so I don't know if this is the right way to describe my issue...
I've been building my own raspiblitz in the last few days/weeks. Everything works fine so far. I set up the raspiblitz using this very good instruction (thank you for that!). So far I can see my menu in the console and I also can change settings etc.
There is just one issue:
Screen Console: So I ssh in and use my password A. It starts syncing the blocks that have been added since my raspi was offline. Then it shows the main menu.
Screen raspi: While I am doing the things mentioned above, the screen on my raspiblitz stays in the "Lightning Wallet Locked"-screen. It's the note that says:
Lightning Wallet Locked
"ssh admin@IP-address
Use your password A
But I already passed this step. On the console I am already in the menu and the Lightning Wallet should be unlocked. It does not show the Status Screen which is in the first picture of this instruction. Of course I can see the screen when I go to "INFO" in the menu but it's not showing that on the lcd screen on the raspi.
What it shows is: The upper part/head line "Raspiblitz v1.7.1 - bitcoin mainnet" as well as the four buttons on the left which I can also use due to a installation via the settings.
What I have aready tried: So I already searched the internet and the FAQs in this instruction. I also tried flashing the SD again because I thought that a mistake happened during that step. I also tried switching from lcd to lcd in order to uninstall and install the drivers again. But this lead to nothing.
Hopefully someone has a clue how this issue can be addressed.

This might be a bug, but try to unlcok your lightning wallet from the command line to make that screen go away.
In the terminal (get there with pressing CTRL+C) type:
lncli unlock
and use your password C.

@unlockingscript is this still relevant? Closing for now, if it's still relevant, please re-open


Fix guide book to mention rust-toolchain and small build fix

Using the provided Dockerfile, my new GPU project failed because I didn't know about these two needed changes from the guidebook.  Add them to the guidebook so that no one else gets caught by it.

This should fix issue 19


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/100493

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/110140

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/110941

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/112835

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/112836

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/112841

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/112852


Tab and Enter keys don't behave as expected in Title field

expected behavior: tab to field and press enter to begin entering data; what happened: tab to field and press enter, the arrow expands the field but the cursor isn't in the text box; if you just keep tabbing without pressing Enter, the text box doesn't open; was NOT able to enter a second title

@astridu when you tab to an Add button and press enter, the section expands, and you have to click tab again to actually enter the field. is this expected behavior?
@jbaxmeyer tabbing without pressing enter: expected behavior is to continue to next section. would you want each section to open as you tab to it? without having to press enter?

@michelleif It is expected behavior from an accessibility point of view, but I can see how this could be annoying in the long run. We can change the behavior as @jbaxmeyer described.

The tab behavior works the same as the click behavior, so if I understand correctly this is really about behavior when the +Add button is executed.
While it seems straight-forward in the case where there is a single input box after clicking +Add, in many cases there will not be a single input box, e.g., there may be an entire nested resource template. Given this, I'd suggest that the current behavior is correct.


Add support for Cardano preview net

What changes were proposed in this pull request
Add support for cardano preview. It also includes an extra example for showing how to switch the network to connect to.

Could you please also add support for preprod?

superseded https://github.com/blockfrost/blockfrost-rust/pull/34


Check run with rnammer

Make sure it works with that option

It's related to #10
Working on the issue


Question about dexhand pose generation

Hello, thanks for your excellent work.
However, when i am following instruction of task 3, i have encountered this error:
(scenediff) xinglj@user-SYS-4029GP-TRT:/data/xinglj/Scene-Diffuser$ bash scripts/grasp_gen_ur/train.sh xlj01
/data/xinglj/miniconda3/envs/scenediff/lib/python3.8/site-packages/torch/utils/_contextlib.py:125: UserWarning: Decorating classes is deprecated and will be disabled in future versions. You should only decorate functions or methods. To preserve the current behavior of class decoration, you can directly decorate the __init__ method and nothing else.
warnings.warn("Decorating classes is deprecated and will be disabled in "
Traceback (most recent call last):
File "train.py", line 14, in
from models.visualizer import create_visualizer
File "/data/xinglj/Scene-Diffuser/models/visualizer.py", line 133, in
class MotionGenVisualizer():
File "/data/xinglj/Scene-Diffuser/utils/registry.py", line 61, in deco
self._do_register(name, func_or_class)
File "/data/xinglj/Scene-Diffuser/utils/registry.py", line 45, in _do_register
assert (
AssertionError: An object named '' was already registered in 'Visualizer' registry!
could you please offer any help about this? many thanks.

Hi, which version of PyTorch are you using? If you're using PyTorch 2, the error might be related to this issue: https://github.com/scenediffuser/Scene-Diffuser/issues/8

thanks a lot, will try it.
by the way, there's another question about the figure 5 in your paper. how can you export the mesh of shadow? thanks.

I have found the corresponding function. Thanks.


Creating structs and related functions for Odo entities

Odo entities should be represented as structs and they should have related functions like CREATE, DELETE, GET, LIST. This will help in machine readable output and also help in reducing the number of parameters passed to functions.
I would like to work on it and will create a simple sample PR for discussing design patterns

@kadel I have raised a WIP PR for the project code refactoring #1101 Please have a look and let's decide on a pattern to follow for other components

This should be handled as part of https://github.com/redhat-developer/odo/issues/1263


Anchors with relative URL's don't work.

If I have this embedded in my navbar:

This won't work because it's a relative URL, and the script throws:
Error: Syntax error, unrecognized expression: /missions/foo/edit

The problem seems to be coming from this line in stickyNavbar.js:
if ("http" === c.substring(0, 4) || "mailto:" === c.substring(0, 7)) return !0;

This looks like a faulty check. Can you simply not check if the URL does not contain a # symbol?
In the mean time, any suggestions on how to workaround this?

Hi,
just a quick fix out of my head:
replace the ifblock you mentioned with this:
if ("http" === c.substring(0, 4) || "mailto:" === c.substring(0, 7) || "/" === c.substring(0, 1)) return !0;

I did not try the code so I am not 100% it will works, but try it yourself and let me know.

Looking good! Would you mind committing this change to the repository?

Please try latest version 1.3.2 and let me know.


Can't activate extensions

Web Browser: Safari
Local OS: MacOS
Remote OS: Ubuntu 18.04
code-server --version: latest

I wanted to install the python extension, but it doesn't appears, even if it is installed, and at the beginning, I got the activating extension message.
Any clues ?

@PxBCPG have you tried restarting the server side application?

Yes, it didn't fixed the issue (even restarting the whole machine !)

I don't know for you, but the extension panel takes a little bit to load (about ~2/3 seconds)
Maybe this screenshot can help you:

I don't know for you, but the extension panel takes a little bit to load (about ~2/3 seconds)
Maybe this screenshot can help you:

Ok. I have an idea, try to install the extension elm emmet(I just tried and it was working) then make an html file and try to use it(i.e. html>div>ul>li*5)


Bug when using documentation training example code on Windows

Hello there and thanks for the release! I noticed a bug when using the code from here
from transquest.algo.transformers.evaluation import pearson_corr, spearman_corr
from sklearn.metrics import mean_absolute_error
from transquest.algo.transformers.run_model import QuestModel
import torch

model = QuestModel("xlmroberta", "xlm-roberta-large", num_labels=1, use_cuda=torch.cuda.is_available(),
                               args=transformer_config)
model.train_model(train_df, eval_df=eval_df, pearson_corr=pearson_corr, spearman_corr=spearman_corr,
                              mae=mean_absolute_error)

This code does not run properly on Windows. To have multi-processing work properly on Windows, you need to wrap this code like so:
from transquest.algo.transformers.evaluation import pearson_corr, spearman_corr
from sklearn.metrics import mean_absolute_error
from transquest.algo.transformers.run_model import QuestModel
import torch

def main():
    model = QuestModel("xlmroberta", "xlm-roberta-large", num_labels=1, use_cuda=torch.cuda.is_available(),
                                   args=transformer_config)
    model.train_model(train_df, eval_df=eval_df, pearson_corr=pearson_corr, spearman_corr=spearman_corr,
                                  mae=mean_absolute_error)

if __name__ == '__main__':
    main()

I thought I should let you know, so that you can update your documentation page. Cheers!
P.S. Looking forward to using the pretrained En-* and - models, once released.

Thank you. I will add it to the documentation

Thank you. I will add it to the documentation