End to end test failing in CI with error about protobuf

We are seeing the following error:
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.8.12/x64/bin/brownify", line 5, in <module>
    from brownify.cli import main
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/brownify/cli.py", line 10, in <module>
    from brownify.runners import PipelineProcessor
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/brownify/runners.py", line 14, in <module>
    from brownify.splitters import AudioSplitter
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/brownify/splitters.py", line 6, in <module>
    from spleeter.separator import Separator
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/spleeter/separator.py", line 26, in <module>
    import tensorflow as tf
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/tensorflow/__init__.py", line 41, in <module>
    from tensorflow.python.tools import module_util as _module_util
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/tensorflow/python/__init__.py", line 40, in <module>
    from tensorflow.python.eager import context
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/tensorflow/python/eager/context.py", line 32, in <module>
    from tensorflow.core.framework import function_pb2
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/tensorflow/core/framework/function_pb2.py", line 16, in <module>
    from tensorflow.core.framework import attr_value_pb2 as tensorflow_dot_core_dot_framework_dot_attr__value__pb2
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/tensorflow/core/framework/attr_value_pb2.py", line 16, in <module>
    from tensorflow.core.framework import tensor_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__pb2
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/tensorflow/core/framework/tensor_pb2.py", line 16, in <module>
    from tensorflow.core.framework import resource_handle_pb2 as tensorflow_dot_core_dot_framework_dot_resource__handle__pb2
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/tensorflow/core/framework/resource_handle_pb2.py", line 16, in <module>
    from tensorflow.core.framework import tensor_shape_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__shape__pb2
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/tensorflow/core/framework/tensor_shape_pb2.py", line 36, in <module>
    _descriptor.FieldDescriptor(
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/google/protobuf/descriptor.py", line 560, in __new__
    _message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
 1. Downgrade the protobuf package to 3.20.x or lower.
 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

The protobuf version being installed in CI is 3.9.x, which is well behind 3.19.0. See if we can fix this error.

My locally installed version is 3.19.3, and I tried forcing the package through setup.cfg to use that version. That seems to have done the trick. I could have just forced the protobuf version to be higher than 3.19.0, but that would be inconsistent with what I have done for other dependencies. Then again, this is really not my dependency to manage (I'm not sure why it is breaking in the first place).
I think I'll open up an issue to track this in the longer term.


[ Wait for #2785 ] [ GPU / RMSNorm layer ] split kernel register from forwarding function

This PR is continuation of #2785 .
This PR applies the splitting kernel registration in forward function to RMSNorm layer.
Please refer to #2723

Self evaluation:
Build test: [X]Passed [ ]Failed [ ]Skipped
Run test: [X]Passed [ ]Failed [ ]Skipped

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #2804. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.


No notification / no sound

Running macOS Catalina V10.15.3

Well I do get the bouncing clock (which is probably the notification?) but still no sound.

There should be a system notification with sound, something like this:

After adjusting System Preference -> Notifcations -> Timer and turning on all options (banner, sound etc) I am recieving the notification in top right corner but no sound.

No sound for me either.
Also, because it vanishes after a few seconds, I completely missed it while I was coding:
using editor full screen on external monitor, and notification shortly appeared n my laptop, which I wasn't paying attention

I'm still not running Catalina so I can't test this myself, but if any of you are able to build the app from source, can you try out my volume-control branch and let me know if the sound plays in Catalina? (You will have to build and run in Xcode.)
https://github.com/robinstewart/timer-app/tree/volume-control
I'm using a different sound API in this branch (AVAudioPlayer) — it may be that the previous API was removed in Catalina.

I've submitted an update with only the AVAudioPlayer change: #80

@AndyDeNike @thiagomgd Can you test out latest version (1.5.3) to verify the issue has been fixed?

@karbassi Fully functional!  Both notification and sound are now available on my current Catalina version 10.15.4


Investigate typescript quirks + project architecture

[x] stale files in dist directory when src restructured
[ ] Long time to eslint typescript
[ ] File names: upper or lower case?
[ ] Use import { thing } from "./thing" and thing notation or import thing from "./thing" and thing.thing
[ ] Where do tests go? Beside the file, on in a separate test directory with parallel structure?
[x] TypeScript : Put a list of Objects implementing InterfaceA and InterfaceB mixed in an array. How to tell them apart again? (example)
[ ] How to use enums type safely? Turns into a string upon returning from a function (example)
[x] EventHandler* should not return SideEffect directly. Should pass through some intermediary structure & TimeHandler should turn the stuct into a SideEffect
[x] Refactor to observer design pattern

Refactor to use a publish/subscribe event messaging system using broker (inspired by kafka)
Refactor to use a rules-based system to handle state using Engine (inspired by o'doyle rules)


[CLI] Support account transfer command

rooch account transfer --help
Transfer coin

Usage: rooch account transfer [OPTIONS] --to <TO> --coin-type <COIN_TYPE> --amount <AMOUNT>

Options:
  -t, --to <TO>
          The account's address to receive coin, if account not exist, auto create account
  -c, --coin-type <COIN_TYPE>
          Struct name as `<ADDRESS>::<MODULE_ID>::<STRUCT_NAME><TypeParam>` Example: `0x3::gas_coin::GasCoin`, `0x123::Coin::Box<0x123::coin_box::FCoin>`
  -a, --amount <AMOUNT>
          The amount of coin to transfer
      --chain-id <CHAIN_ID>
          chain_id  [ROOCH: 20230101] [BITCOIN: 0] [ETHER: 60] [default: 20230101]
      --sender <SENDER>
          Sender account address [default: default]
      --max-gas-amount <MAX_GAS_AMOUNT>
          Custom the transaction's gas limit. [default: 1_000_000_000] [alias: "gas-limit"]
      --authenticator <AUTHENTICATOR>
          Custom the transaction's authenticator format: `auth_validator_id:payload`, auth validator id is u64, payload is hex string example: 123:0x2abc
      --session-key <SESSION_KEY>
          Sign the transaction via session key This option conflicts with `authenticator`
      --config-dir <CONFIG_DIR>
          rooch config path
  -h, --help
          Print help

test:
cargo test -p testsuite --test integration -- --name account
issue: #792
By the way, there seems like an error in the rooch bitcoin test.
Scenario: rooch bitcoin test
✘  Given a bitcoind server for rooch_bitcoin_test
      Step failed:
      Defined: features/cmd.feature:309:7
      Matched: crates/testsuite/tests/integration.rs:106:1
      Step panicked. Captured output: failed to list docker networks: Os { code: 2, kind: NotFound, message: "No such file or directory" }

rooch_bitcoin_test requires the docker cli.


Willing to collaborate

Hi there @neetcode-gh, thanks for this repo!
I just started contributing, and I would like to be a collaborator too. I am wishing to give some JS, TS and maybe Rust Solutions, and code review/approve solutions of others

an exhaustive list of missing solutions is maintained in the project README
https://github.com/neetcode-gh/leetcode/blob/main/README.md
following are few you can start with
0303 - Range Sum Query - Immutable
0706 - Design Hashmap
0122 - Best Time to Buy And Sell Stock II

Thank you for the feedback!
Yeah! I have created a pull request some days before https://github.com/neetcode-gh/leetcode/pull/2339


Version 0.0.3

Codecov Report

Merging #5 (f4ee4ac) into master (30d8bd9) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff            @@
##            master        #5   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           27        27
  Lines         1139      1139
=========================================
  Hits          1139      1139

Files Changed
Coverage Δ

hishel/__init__.py
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


It shouldn't be possible to add\subtract a DateTime with a number

According to the TCK tests, an Add\Substract operation between a DateTime with a number should result to an error
@"2021-01-01T10:10:10" + 10
Currently, the engine returns "2021-01-111T10:10:10"
Please notice, 10 + @"2021-01-01T10:10:10" works correctly (it returns an error)

//cc @bncriju


Error handling for get videos

From Full-Stack-Project-Assessment created by Dedekind561: CodeYourFuture/Full-Stack-Project-Assessment#469
Description
You should design your system with error handling in mind. For example if the database cannot be accessed when you call GET /api/videos, then your backend endpoint should return a properly formatted error message with a HTTP 500 error code.
Acceptance criteria
Given a client calls the /api/videos endpoint,
When the server cannot connect to the database ,
Then:

[ ] The server should respond with a 500 status code
[ ]  The server should respond with a json object indicating the type of error

Here is an example JSON response:
{ "success": false, "error": "Could not connect to the database" }

https://github.com/fhkahin/Full-Stack-Project-Assessment/pull/31


[Issue]: Multi-user session states?

Describe the issue
How can I use autogen, ideally GroupChat and GroupChatManager such that multiple users can engage with the same workflow but have their own contained chat history? I have been playing with the clear_history parameter on the initiate_chat method, but it will clear the history on all sessions that are open while using Gradio.
Steps to reproduce
No response
Screenshots and logs
No response
Additional Information
No response

Something like this? https://x.com/xpranavprakash/status/1788534328147751065


YOLO-NAS: Running onnx/tensorrt inference with dynamic image size

💡 Your Question
Hello,
I was wondering if there is any way to export the YOLO-NAS model to onnx with dynamic image size axes and then convert to TensrRT with dynamic shapes (if needed I can exclude pre and post processing from the onnx)
Basically currently I am using model.predict(img, skip_image_resizing=True) and I would like to have something like this but for onnx/TensorRt.
Versions
No response

The way export currently implemented, exported ONNX graph has static shapes and hence cannot take dynamic input. However it should be possible in theory to export it as dynamic by manually editing the logic of export code and specifying dynamic axis attributes here and there when the model is exported.
One should be really careful with nms sub-graph that is attached to the main model.


hackathon2023 constraintshub

Description
Constraints Hub work for Hackathon 2023
Changes

Versioned store for config files
[De]serialize constraint suite (and eventually validators, etc.) to/from the config store
Workflow/UI for editing, reviewing, & managing constraint suites
Autogenerate constraint suite to the workflow
Profile writer that fakes evaluating constraints in WhyLabs & reports in profile columns for monitoring

Closing but we should review and pull changes from this branch.


Write a Java program to find gcd of two numbers

Description
Write a Java program to find gcd of two numbers
GCD (Greatest Common Divisor) of two numbers is the largest number that divides both of them. A simple way to find GCD is to factorize both numbers and multiply common factors.
Input  : 12 18
Output : 6

How to contribute

Save the solution in program/FindGcdOfTwoNumbers.java file
Add FindGcdOfTwoNumbers.java file in find-gcd-of-two-numbers folder

!assign


Cuda/Cudnn file name change break ./configure & Bazel build

Ubuntu 16.04
Gtx 1080
Building master (614d4c19fb22df501ba16a3f580f4e3ac1a9df1a)
Cudnn 5 (Nvidia site download)
Cuda 8

I've got the above mostly installed, except for Tensorflow itself.
But anyways, Nvidia seems to have changed the file names on this stuff, and it is not what Tensorflow's configure and Bazel are expecting.
Actual error message below:
bazel build -c opt --config=cuda //tensorflow/cc:tutorials_example_trainer
ERROR: /home/john/.cache/bazel/_bazel_john/79381a0230f40e8d23e37c3a71bb0cd2/execroot/tensorflow/third_party/gpus/cuda/lib64/libcublas.so.8 cannot be found
##############################################################################
Cuda 8 toolkit is missing.
1. Download and install the CUDA 8 toolkit and CUDNN 5 library;

But ls /usr/llocal/cuda-8.0 looks like:
libcublas.so libcublas.so.8.0 libcublas.so.8.0.27
This is the fourth time there has been a file name change using this Tensorflow commit or perhaps Cuda/Cudnn.
I wouldn't mention this if it was one file change but it's at least 4.    Or perhaps I'm the beginner doing something wrong.
Just something I ran into and seems like a Nvidia file naming change.

Ok, this seems to be about what I type in ./configure.  Just change the version numbering when configuring to give Tensorflow what it's looking for.  Will close and maybe someone will run into this.


ANSII sequences split over multiple stream structures are not displayed correctly

https://trello.com/c/EIT75VQC/68-bug-ansii-sequences-split-over-multiple-stream-structures-are-not-displayed-correctly
When the UI calls dockerBuildLine, on some {'stream':} content, it will ansi_to_html that content. This works until an ANSII sequence is started, and spans multiple stream objects, because the formatting is "reset" after each.

Possibly fixed with #182


withInput and withErrors not Working on Huawei with Chrome

Laravel Version: 5.8
PHP Version: 7.*
Database Driver & Version:

Created a new Laravel project and used the example .env file.
I haven't changed anything there except of adding the routes in web.php, creating a basic controller and creating a simple view of a form.
When redirecting either with back() or with to() and adding withInput() or withErrors() is not working, and that's only happening on Huawei phones with Chrome. I tried it in incognito mode in Chrome and it does work.
I have also tested on Mac, iOS and Samsung and it does work. Also on Firefox it works on Huawei phones. The only way I managed to make it work with Chrome and Huawei is if I change the the form action to a different route than the route of the form, so if I the form's route is /testb and the POST route is /testb2 then it does work. Also, if I print anything to the screen from the controller itself, then it will work.
Basically it does not pass the session variables of the old input nor the session variables of the errors to the view while the middleware ShareErrorsFromSession is available for web in Kernel.php (it's enabled when creating a new Laravel project).
In the controller itself the session variables do show!
I have tested it in a hosted Laravel on Ubuntu and CentOS and on different domains with different extensions. I've tried the put() on some test variables and they are saved. I of course followed all the installation steps from laravel.com and have given the correct file and directory permissions to the storage directory (even tried 777).
I have also tested it in Laravel 5.3 with PHP 5.6 and it did work.
I tried deleting all the privacy data in Chrome from all times in my Huawei mate20 lite and have also tried it on a Huawei m8.
Please help as I'm going insane with this for the last 4 days. Did I miss something? I have looked all over the internet for answers and couldn't find anything.
You can find a demo here:
http://www.empty2.ml/testb
Steps To Reproduce:
I have created this test controller:
<?php

namespace App\Http\Controllers;

use Illuminate\Support\Facades\Redirect;
use Illuminate\Support\Facades\Validator;

class TestController extends Controller
{
    public function testb()
    {
        return redirect()->to('/testb')->withInput();
    }

    public function testbForm()
    {
        return view('testb');
    }
}

And this form:
<form role="form" method="POST" class="main-second-font" action="testb">
    @csrf
    <?php print_r($errors) ?>

    <input type="text" name="username" id="username" class="form-control" tabindex="1" value="{{ Request::old('username') }}">

    <input type="submit" value="go" class="btn btn-primary" tabindex="11">
</form>

web.php:
Route::post('/testb', 'TestController@testB');
Route::get('/testb', 'TestController@testbForm');

This is clearly a session bug in the Huawei phones or browser and has nothing to do with Laravel...

This seems to be vendor specific. You can try one of the following support channels perhaps:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

Thanks!


Seems to fail to work in Python 3.9 Pi OS 11?

Seems to fail to work in Python 3.9 Pi OS 11?  The set or write works, at lease once, because the read returns True, but every write after the first one, seems to fail.  I have a jumper between p0 and p1, p0 output, p1 input.
`import time
import pcf8574_io

try:
    #
    print("PCF8574 Test")

    #
    theDevice = pcf8574_io.PCF(0x38)
    print(theDevice.get_all_mode())
    theDevice.pin_mode("p0", "OUTPUT")
    theDevice.pin_mode("p1", "INPUT")
    print(theDevice.get_all_mode())

    #
    while True:
            print("On...")
            theDevice.write("p0", "HIGH")
            time.sleep(0.1)
            print(theDevice.read("p1"))
            time.sleep(1.0)
            print("Off...")
            theDevice.write("p0", "LOW")
            time.sleep(0.1)
            print(theDevice.read("p1"))
            time.sleep(1.0)

except Exception as theException:
    #
    print(theException)

except KeyboardInterrupt:
    #
    pass

`
Results...
# python3 relay.py PCF8574 Test ['INPUT', 'INPUT', 'INPUT', 'INPUT', 'INPUT', 'INPUT', 'INPUT', 'INPUT'] ['OUTPUT', 'INPUT', 'INPUT', 'INPUT', 'INPUT', 'INPUT', 'INPUT', 'INPUT'] On... True Off... False On... False Off... False
Note above, the On... then True, which is correct, but after that the write to p0 seems to fail again and again.

Testing with Adafruit blinka library and support for PCF8574 (using address 0x38) everything works as expected.  So I know this is not a hardware or setup issue with the jumper or i2c pins.  Using a Raspberry Pi of course.


Removed default mode='r' argument from call to open() in jinja2.get_exception_info().

Follow up to 7e3bf2662b5dedeb47856adc18a9378e2d10a599.

ISTM that we could use .read_text() here?

True, even better, thanks for the suggestion :+1:


How to perform an animation on each Activity.onResume()?

Hi @nhaarman
Thank you very much for your library!
However, something is bothering me, how to perform an animation on each Activity.onResume()?

Sometimes it animates and sometimes it doesn't.
Here INITIAL_DELAY_MILLIS:
private static final int INITIAL_DELAY_MILLIS = 300;

Here the peace of code which runs on Activity.onResume():
MainAdapter categoryAdapter = new MainAdapter(this);
AlphaInAnimationAdapter animationAdapter = new AlphaInAnimationAdapter(categoryAdapter);
animationAdapter.setAbsListView(lvCategory);
assert animationAdapter.getViewAnimator() != null;
animationAdapter.getViewAnimator().setInitialDelayMillis(INITIAL_DELAY_MILLIS);
lvCategory.setAdapter(animationAdapter);
categoryAdapter.loadObjects();

Use the reset() method on the AnimatinoAdapter.


Production setting for babili not working

Hey, I'm having trouble making babili work on different environment settings:
I'm not sure if babili is working

Reason why I say this is because I check lib.js and lib.min.js they are the same size and when I open them in the editor their contents are the same. Both seem to preserve white space and variables, etc.
I know both babel and rollup pick up the environment variables because in production babel is stripping the comments out, but in development it keeps it.

my babelrc is :
{
  "presets": [ "es2015-rollup"],
  "env": {
    "production": {
      "presets":["babili"],
      "comments": false,
      "minified": true,
      "compact": true
    }
  }
}

I want to note that both the lib.js(process.env.NODE_ENV is not production) and lib.min.js(process.env.NODE_ENV is set to production) are both identical line for line.
Also are there any other babili settings to compress an minimize size?

babili doesn't seem to be changing the code at all

Can you give some more details how you're using this babelrc file ? with babel-cli ? or create a repo which has this bug ?


bug: freeze --execute outputs "unsupported" [Windows]

When I execute freeze --execute "dir" or any command aside from dir  I get
ERROR: Something went wrong
unsupported

if --execute isn't supported on windows an explicit disclaimer would be nice

OS: Microsoft Windows 11 Pro
Version: 10.0.22631 N/A Build 22631

Charm‘s apps never care about windows platform ;-)

A COMMON SENSE:
Charm‘s apps never care about windows platform ;-)

In that case why not add a disclaimer that some features don't work on windows

Hey @SenZmaKi, thanks for opening this issue!
First class windows support is quite important to us so we'll work on getting a fix in soon.
The current implementation of --execute uses creak/pty to open a PTY which is unsupported on Windows, but we will use our internal conpty to get that supported. Very sorry that's not in currently!
Please let us know if you run into any other issues on Windows as well!

@lost22git @SenZmaKi
Windows --execute is now working!
freeze --execute "cmd /c dir"


Adds functionality to check out public unlisted repositories

This requires an update to gin-cli to expose functionality to get info on remote public unlisted repositories.

gin-cli v0.16 released. Should be good to go. Merging!


source_prepared.exe - Ordinal Not Found

Issue
I am facing the following issue when running source_prepared.exe

Note
I don't know what to input in Registry Name

@methamphetaminded What do you mean?

Now that issue is gone. But when I double click on the source_prepared.exe, it just opens "Default Apps" in settings after a while and nothing else happens. Can someone help me please?


"Refresh tests" button missing when telemetry is disabled

Environment data

VS Code version: 1.61.2
Extension version (available under the Extensions sidebar): v2021.10.1365161279
OS and version: Ubuntu 20.04
Python version (& distribution if applicable, e.g. Anaconda): Python 3.8.10
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Value of the python.languageServer setting: "Default"

Expected behaviour
I should be able to see the "refresh tests" button in the testing section with telemetry disabled. Expected:

Actual behaviour
When I set the settings.json like this:
{
    "telemetry.telemetryLevel":"off",
}

the refresh tests button disappears like so:

Steps to reproduce:

Open VSCode with an empty settings.json like so:

{
}

Now check the tests -> the button is there.

Modify the settings.json as stated above, save and restart vscode.
-> The button is now gone

Hi! I still don't see the button, but I see that the experiment has been closed. How can I get the refresh button back? Thanks.

You can use Python: Switch to Insiders commands to install the latest insiders version of the extension. Otherwise the stable release for November should also have this fix.

I installed the stable November release today, but the refresh button still does not show. Any way to check why it doesn't or enable it? Thanks.

It has not been released yet I think, it should be out by end of this week, are you on the latest VSCode version?

I updated today and it lists 1.63.0 on the About window.

Then you should be getting it soon.

The icon appeared today. Thanks!

Great!


Insert action should return updated object

When inserting an object with an ID that already exists in the store, the updated entity isn't returned. I think this would be a nice addition.
const form = await this.$store.dispatch('entities/forms/insert', {data: response.data});
console.log(form);

Hah, this is unexpected. I though I covered this situation too but I haven't wrote test for this. Let me check 🔥

Ah, okay. I thought this is intended because you wrote "returns newly  created entities" in the changelog. Thank you!

Ah, okay. I thought this is intended because you wrote "returns newly  created entities" in the changelog. Thank you!

OK I've wrote test for this case and unfortunately it's passing.
// These test passes.

it('returns the newly created entity when inserting data with existing primary key', async () => {
  class User extends Model {
    static entity = 'users'

    static fields () {
      return {
        id: this.attr(null)
      }
    }
  }

  const store = createStore([{ model: User }])

  await store.dispatch('entities/users/insert', { data: { id: 1 } })

  const data = {
    id: 1
  }

  const user = await store.dispatch('entities/users/insert', { data })

  expect(user).toBeInstanceOf(User)
  expect(user.id).toEqual(1)
})

it('returns the multiple newly created entity when inserting data with existing primary key', async () => {
  class User extends Model {
    static entity = 'users'

    static fields () {
      return {
        id: this.attr(null)
      }
    }
  }

  const store = createStore([{ model: User }])

  await store.dispatch('entities/users/insert', { data: { id: 1 } })

  const data = [{ id: 1 }, { id: 2 }]

  const users = await store.dispatch('entities/users/insert', { data })

  expect(users[0]).toBeInstanceOf(User)
  expect(users[0].id).toEqual(1)
  expect(users[1]).toBeInstanceOf(User)
  expect(users[1].id).toEqual(2)
})

Is it possible for you to create reproducable code?

I will take a look...

I didn't forget this, I'm just short on time... I'll take a look the next days...

Thanks! Take your time though 👍  I don't think it matters but Vuex ORM 0.20.0 is just released so maybe it would be nice if you could try on that version.

Hmm, seems like the issue is resolved / never existed / whatever :man_shrugging:
I'll reopen when I encounter this again.

Oh well, good news then! Thank you for checking 👍


Would it be hard to have embedded playground?

Instantly reactive to change:
https://blog.klipse.tech/lambda/2016/08/10/pure-y-combinator-javascript.html

Very much. Stay tuned.


even left/right align?

There's left align, right align, and center align.
It'll be nice to have a feature of "even" align? I do not know the name but the words are even spaced out to have a clear boundary on both left AND right. It's in microsoft for sure. Anyways it'll be a cool feature to have
edit:
justified—text is aligned along the left margin, and letter- and word-spacing is adjusted so that the text falls flush with both margins, also known as fully justified or full justification; centered—text is aligned to neither the left nor right margin; there is an even gap on each side of each line.
^ that thing. can we have it?

This will be added in the next release for text blocks (ie via the Text format panel when editing the label).


Reference configuration

New developers or users need to understand how to get started. It could be documented and scripts for helping could be provided.

[ ] How to configure environment

[ ] How to create conda environment
[ ] How to install dpbench
[ ] How to install oneAPI
[ ] How to install VTune
[ ] ...

[ ] How to run workloads
[ ] Where to search for reference results
[ ] ...

New framework addresses this issue


fix directory permissions for data dirs created by RPM

FPM has some funk when it comes to handling directory permissions.  Postgres requires tight permission on the data dir.  The most expedient, and secure way to make everyone happy was to make the default directory permissions for the RPM 0700.  Tested in the lab, and saw no problems.
closes: #444
closes: #456

Current coverage is 68.49%

Merging #445 into master will not affect coverage as of 763c8e9

@@            master    #445   diff @@
======================================
  Files           63      63
  Stmts         2787    2787
  Branches         0       0
  Methods          0       0
======================================
  Hit           1909    1909
  Partial          0       0
  Missed         878     878

Review entire Coverage Diff as of 763c8e9

Uncovered Suggestions

+0.62% via goldstone/views.py#30...46
+0.59% via ...stone/drfes/views.py#134...149
+0.41% via ...tone/drfes/models.py#165...175
See 7 more...

Powered by Codecov. Updated on successful CI builds.

why did you kill ceilometer's pipeline.yaml file in this commit?

@slashk two reasons:

we don't use any of the metric feed, just events via event_pipeline.yaml
in Liberty, the UDP output was causing eventlet exceptions in ceilometer

agent-notification.log:2016-03-27 09:58:22.303 1315 ERROR ceilometer.publisher.udp   File "/usr/lib/python2.7/site-packages/eventlet/greenio/base.py", line 383, in sendto```

Mostly item 1 though...


Switch from annotations to storageClassName in minikube example

I was running through the minikube example and note that it uses the deprecated volume.alpha.kubernetes.io/storage-class: anything annotation instead of the newer storageClassName: standard
This PR just switches to storageClassName: standard

/lgtm

/assign @sebgoa


(SERVER-972) Register dummy AuthConfigLoader when not using legacy auth

This commit registers a dummy AuthConfigLoader with core Ruby Puppet
when Puppet Server is configured with a use-legacy-auth-conf of
false.  This is done to avoid having the auth.conf be parsed (and
corresponding messages logged) by core Ruby Puppet.

This will fail Travis CI because it is dependent upon some changes that still need to land in core Puppet - https://github.com/puppetlabs/puppet/pull/4334.
This PR will need to have the Puppet submodule bumped up to a newer version before it can be merged.

I just bumped the puppet-agent and puppet submodule dependencies to pick up the work merged from https://github.com/puppetlabs/puppet/pull/4334.  This PR is ready to review for merge now.

:+1: easy

:see_no_evil:


unread_count: Remove letter spacing for better horizontal alignment.

Related CZO discussion

Screenshots:

Before
After

@karlstolley, would you be up for looking at this so we can make some changes or proceed to the integration review?

Yup, this looks good to go. Fixing the other issues as a follow up is the way to go. Marking this for integration.

Merged, thanks @shameondev and @karlstolley!


Keybinds are loaded in settings but not in-game

It seems it loads the keybinds into the settings, but doesn't actually set those loaded keybinds as the keybinds for the gameplay.
In other words: It shows "W" for forward in settings, but it won't actually be bound to "W" until you re-write the binding. (overwriting to the same letter, pretty much)

yha same for me you need to log in and out to fix it... realy enoying


mods do not seem to work (5e spells not showing any new spells at wizard level up)

Describe the bug
Built and ran Lampray from latest git master.
Configured to use the directories:
~/.steam/steam/steamapps/common/Baldurs Gate 3
~/.steam/steam/steamapps/compatdata/1086940/pfx/drive_c/users/steamuser/AppData/Local/Larian Studios/Baldur's Gate 3
$ ls -lrt ~/.steam/steam/steamapps/common/Baldurs\ Gate\ 3/
-rwxrwxr-x 1 claudio claudio  579 Jan  2 23:39 InstallScript.vdf
drwxrwxr-x 2 claudio claudio 4096 Jan  2 23:40 DotNetCore
drwxrwxr-x 3 claudio claudio 4096 Jan  2 23:40 Data
drwxrwxr-x 4 claudio claudio 4096 Jan  2 23:40 Launcher
drwxrwxr-x 3 claudio claudio 4096 Jan  3 14:22 bin
$ ls -lrt ~/.steam/steam/steamapps/compatdata/1086940/pfx/drive_c/users/steamuser/AppData/Local/Larian\ Studios/Baldur's\ Gate\ 3/
drwxrwxr-x 3 claudio claudio 4096 Jan  2 23:42 PlayerProfiles
drwxrwxr-x 2 claudio claudio 4096 Jan  2 23:43 Mods
-rw-rw-r-- 1 claudio claudio  402 Jan  3 10:47 vkDeviceConfig.lsx
-rw-rw-r-- 1 claudio claudio 2060 Jan  3 14:22 graphicSettings.lsx
drwxrwxr-x 6 claudio claudio 4096 Jan  3 14:23 LevelCache
-rw-rw-r-- 1 claudio claudio  900 Jan  3 14:23 analytics.lsx
drwxrwxr-x 2 claudio claudio 4096 Jan  3 14:30 Temp
Deployed and Enabled Mods:
Mod Fixer-141-1-0-1692715645.zip                            Select Type           Load Order 0
BG3SE-Updater-20231028.zip                                  Engine Injection  Load Order 1
5eSpells-125-1-1-38-1703360961.zip                          Select Type           Load Order 2
UnlockLevelCurve-377-2-0-0-18-1703429481.zip    Select Type           Load Order 3
UnlockLevelCurve_Patch_5eSpells-377-2-0-0-17-1702500884.zip  Select Type Load Order 4
RAW-1329-4-0-1-0-1701618432.zip                             Select Type           Load Order 5

Error message
No errors, just zero effects from the mods.
On level up, the Wizard does not have any of the new 5e spells to select from.
To Reproduce
Steps to reproduce the behaviour:

Download the above mods from NexusMods, extract and repackage the RAW-1329-4-0-1-0-1701618432.rar mod into a .zip file
git clone of the Lampray project (master)
run ./setup.sh and ./build.sh
cd build
./Lampray
Configure the BG3 game directories manually to the default values by using the Folder selector UI.
Drag the .zip files into the UI
Deploy and Enable all of the Mods
Start a New Game
Get to level 2 (on the beach after crash landing)
New spells to select from do not include any 5e spells Mod spells

Expected behaviour
Expected to be able to select new level 1 spells from the 5e spells Mod (f.e. Absorb Elements).
Screenshots
If applicable, add screenshots to help explain your problem.
System Info (please complete the following information):

Linux Flavour: Ubuntu (PopOS)
Window Manager: default PopOS AutoTiling
Lamp Version: commit ee1145d67f586947510651b2e8de32fc283305c0

Additional context
It is the first time I attempt to use mods, so it is possible the issue is somewhere else in the way I expect them to work, any help appreciated.
Thanks

You have not selected types for each mod leaving them as select type for some of them please refer to the wiki, @internetisaiah is currently rebuilding it but i believe the types should be as follows:
5e spells - standard mod
UnlockLevelCurve - standard mod
As i dont know the content of RAW-1329-4-0-1-0-1701618432 i cant say.
Sadly we cant use divinity, the windows api for mods we cant accurately auto-detect types so you'll have to set them yourself.

thanks! Maybe defaulting to Standard Mod could be a good idea?
Maybe some simple zip content file check could detect the most commonly used ones in other categories?
Same could be done with the Bg3 directories configuration, putting in there the default would be a good idea I think.
Thanks


Make dialogs on windows non-sychronous.

This does #1068 for windows.

Now that mac support has landed, I've updated this PR to remove the backwards-compatibility glue.

Now that mac support has landed, I've updated this PR to remove the backwards-compatibility glue.


it does not run with activerecord over 4.2.0

SEE ALSO: https://travis-ci.org/walf443/activerecord-mysql-unsigned/builds/48597097
it may be caused that activerecord changed ChangeColumnDefinition class definition since rails/rails@3c10043bc27.

hmm. This fail does not related to my problem.
I got
superclass mismatch for class ChangeColumnDefinition (TypeError)

I used it with activerecoard-with mysql-awesome gem.

Failing test seems to related to rails/rails@7c6f3938de

Can confirm this prevents creating new records with unsigned integers in ActiveRecord 4.2


Triage JDK 17 Primary Platform Pipeline

Release Summary Report for openjdk17-pipeline
TRSS Build and TRSS Grid View
Jenkins Build URL https://ci.adoptopenjdk.net/job/build-scripts/job/openjdk17-pipeline/187/
Started by user Martijn Verburg at 9/14/2021, 6:11:05 PM

create_installer_linux ❌ undefined ❌
create_installer_mac ❌ undefined ❌
create_installer_windows ❌ undefined ❌
jdk17-linux-x64-hotspot_SmokeTests ❌ FAILURE ❌
jdk17-windows-x64-hotspot_SmokeTests ⚠ UNSTABLE ⚠

failing with java.lang.AssertionError: Expected ZGC to be present but it is absent. expected [0] but found [1] need to confirm whether it is no longer expected to be present in JDK17 on Win64

sign_build ❌ undefined ❌
sign_installer ❌ undefined ❌

Test_openjdk17_hs_extended.openjdk_x86-64_linux ⚠ UNSTABLE ⚠
Test_openjdk17_hs_extended.openjdk_x86-64_linux_testList_0 ⚠ UNSTABLE ⚠
jdk_security_infra_1 => deep history 1/3 passed | possible issues

3 testcases failing with Execution failed: main' threw exception: java.lang.RuntimeException: TEST FAILED: couldn't determine EE certificate status `, deep history shows it passing on test-docker-ubuntu1804-x64-1, rerun on that machine in https://ci.adoptopenjdk.net/job/Grinder/1378

Test_openjdk17_hs_extended.openjdk_x86-64_linux_testList_2 ⚠ UNSTABLE ⚠
jdk_jmx_0 => deep history 1/4 passed | possible issues
jdk_jfr_0 => deep history 1/3 passed | possible issues
jdk_jfr_1 => deep history 1/3 passed | possible issues
Test_openjdk17_hs_extended.openjdk_x86-64_windows ⚠ UNSTABLE ⚠
Test_openjdk17_hs_extended.openjdk_x86-64_windows_testList_0 ⚠ UNSTABLE ⚠
jdk_other_0 => deep history 1/4 passed | possible issues
jdk_tools_0 => deep history 0/4 passed | possible issues
Test_openjdk17_hs_extended.openjdk_x86-64_windows_testList_1 ⚠ UNSTABLE ⚠
jdk_tools_1 => deep history 0/4 passed | possible issues
Test_openjdk17_hs_sanity.openjdk_x86-64_windows ⚠ UNSTABLE ⚠
jdk_math_0 => deep history 6/7 passed | possible issues

@karianna - did you see any of the notes I put in the pre-release issue or https://github.com/adoptium/aqa-test-tools/issues/541 - you have pasted the 'old style' report to this issue, below is the new style report...
Also, last week, @sophia-guo and I assigned ourselves to the triage EPIC under which this issue lives, so we will be 'helping' triage today.

Release Summary Report for openjdk17-pipeline
TRSS Build and TRSS Grid View
Jenkins Build URL https://ci.adoptopenjdk.net/job/build-scripts/job/openjdk17-pipeline/187/
Started by user Martijn Verburg at 9/14/2021, 6:11:05 PM

create_installer_linux ❌ undefined ❌
create_installer_mac ❌ undefined ❌
create_installer_windows ❌ undefined ❌
jdk17-linux-x64-hotspot_SmokeTests ❌ FAILURE ❌
jdk17-windows-x64-hotspot_SmokeTests ⚠ UNSTABLE ⚠
sign_build ❌ undefined ❌
sign_installer ❌ undefined ❌

Test_openjdk17_hs_extended.openjdk_x86-64_linux ⚠ UNSTABLE ⚠
Test_openjdk17_hs_extended.openjdk_x86-64_linux_testList_0 ⚠ UNSTABLE ⚠
jdk_security_infra_1 => deep history 1/3 passed | possible issues
Test_openjdk17_hs_extended.openjdk_x86-64_linux_testList_2 ⚠ UNSTABLE ⚠
jdk_jmx_0 => deep history 1/4 passed | possible issues
jdk_jfr_0 => deep history 1/3 passed | possible issues
jdk_jfr_1 => deep history 1/3 passed | possible issues
Test_openjdk17_hs_extended.openjdk_x86-64_windows ⚠ UNSTABLE ⚠
Test_openjdk17_hs_extended.openjdk_x86-64_windows_testList_0 ⚠ UNSTABLE ⚠
jdk_other_0 => deep history 1/4 passed | possible issues
jdk_tools_0 => deep history 0/4 passed | possible issues
Test_openjdk17_hs_extended.openjdk_x86-64_windows_testList_1 ⚠ UNSTABLE ⚠
jdk_tools_1 => deep history 0/4 passed | possible issues
Test_openjdk17_hs_sanity.openjdk_x86-64_windows ⚠ UNSTABLE ⚠
jdk_math_0 => deep history 6/7 passed | possible issues

Shelley on Win64 triage

Andrew looking at win64 smoke test issue: failing with java.lang.AssertionError: Expected ZGC to be present but it is absent.

Sophia on Linux triage

Sophia on Linux triage .

[ ] Test_openjdk17_hs_extended.openjdk_x86-64_linux_testList_0 ⚠ UNSTABLE ⚠ - OK to Release

jdk_security_infra_1 => deep history 1/3 passed | possible issues From @andrew-m-leonard
3 testcases failing with Execution failed: main' threw exception: java.lang.RuntimeException: TEST FAILED: couldn't determine EE certificate status `, deep history shows it passing on test-docker-ubuntu1804-x64-1, rerun on another docker-ubuntu machine in https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/1388/ Passes: https://ci.adoptopenjdk.net/job/Grinder/1388/testReport/

[ ] Test_openjdk17_hs_extended.openjdk_x86-64_linux_testList_2 ⚠ UNSTABLE ⚠

jdk_jmx_0 => deep history 1/4 passed | possible issues
jdk_jfr_0 => deep history 1/3 passed | possible issues
jdk_jfr_1 => deep history 1/3 passed | possible issues

@ShelleyLambert and @sophia-guo - Looks like this is now complete thank you! Are you happy for me to close this?

Yes, all primary platforms are "OK to release"


Issue with Git URL https://github.com/wso2/product-is.git

Getting below error
fatal: https://github.com/wso2/product-is.git/info/refs not valid: is this a git repository?
error: Could not fetch origin
While trying to check out the code

@skoyalada Did you experience this while cloning the repo? I just tried cloning the repo and it worked fine.

Issue is with my ssh keys. I recently moved to Windows 10 which wiped all my keys. closing the issue


Thread safety/scoping for CloudBlobClient & CloudBlob

What are the appropriate lifetimes/scopes for these types? The console application example is good, but if I put this stuff into IServicesCollection for use in a hosted service, what's the appropriate scopes? Can these types be shared across threads? Should we use a fresh client for every operation?

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

ID: 60e56e69-1c44-2056-ad5f-319535e4b525
Version Independent ID: 49fa6098-0b8e-ebf5-efe7-f50f3604e325
Content: Quickstart: Use .NET to create a blob in object storage - Azure Storage
Content Source: articles/storage/blobs/storage-quickstart-blobs-dotnet.md
Service: storage
GitHub Login: @tamram
Microsoft Alias: tamram

Any update on this?

These types are not thread safe, hence you should not share one between threads. You can create and reuse them for multiple operations in a single thread however.

#please-close


Pentaho Spoon Problem when I try to connect clickhouse table.

I copied the JDBC folder into the /data-integration/lib and I build on clickhouse database on the generic database. Still, I am faced with a problem which is my spoon freezing when I try to upload the clickhouse table.

Did you check system.query_log to understand what was the query issued from PDI to ClickHouse?

Hello, I got this error when I wrote system.query_log,
position 7 ('.'): .query_log.  (SYNTAX_ERROR) (version <IP_ADDRESS> (official build))

No I meant to query system.query_log or use show processlist on ClickHouse to see what's going on when PDI is stuck.

I could not get the any significat result by using those command because program does not execute even I have just tried to select table. Hence, potential problem does not seen in the output.

Could you share the table structure if it's not senstive? Also what's the version of PDI you're using? 9.1? I'll try to reproduce the issue tomorrow.

I'm currently using PDI version 9.2.
You can find the detailed information about the data.
clickhousehistv1.xlsx
Thank you in advance ))))

Do you have the table creation DDL? I tried with a different table and it seems PDI issued a select * query, so maybe that's the reason. Also can you make sure the datasource is using com.clickhouse.jdbc.ClickHouseDriver as driver?

I totally cannot execute when I load clickhouse database in table output. Curiously enough sometimes I could able to load clickhouse table in table input but executed so slowly (btw just load the smal data (500mb) fail to load big data (41gb))
I'm uploading clickhouse-jdbc-0.3.1-patch-shaded to the data integration/lib folder (attached in a file)
I'm little confused, what do you mean by saying table creation DDL.

thanks again for your help.

Thank you, I'm waiting for your replay.

hello is there any update?

hello is there any update?

Sorry for getting back late on this. It didn't work, because the new driver had problem convert string to nested data types like array and tuple. Will fix this in patch4.

Okey thank you very much. Also do you have any opinion about that issue (https://github.com/ClickHouse/clickhouse-odbc/issues/389) ? ODBC cannot bring the string codes which do not have fixed sizes; on the other hand, JDBC get bring those string codes correctly.

Sorry I forgot to mention that patch4 has been released. You may now download the driver from here, put it under /lib directory, and delete the old driver in same directory. Lastly, when you create connection, please remember to use new driver com.clickhouse.jdbc.ClickHouseDriver.
I think it will still slow because PDI does not support stream, but please let me know how it goes.

I am still getting not responding while trying to connect clickhouse table.

I captured a select * from <destination table> query without any restriction of max rows from PDI, but I'm not sure how it was triggered.
Can you try to append max_result_rows=7 in your connection string to verify? For example: jdbc:ch://localhost/test -> jdbc:ch://localhost/test?max_result_rows=7. This will limit all query results to 7 rows. It won't resolve your problem but it can be used to verify if the cause is on PDI.

Perhaps it's better to implement a plugin with custom datasource and steps(e.g. ClickHouse Table Input and Output) for PDI. However, it might not worthy of doing so because 1) Apache Nifi seems more popular; and 2) Apache Hop seems to be a successor of PDI.

Hello, as you said I've tried to clickhouse input and output on the apache nifi program. However, I encountered some errors during to connecting the clickhouse. I've added DBCPConnection pool then in the configuration section I entered my clickhouse information but as you can see in the picture I got error in the database driver section. In order to solve this problem I compiled JDBC driver with maven but again I encountered an error. Do you have any idea/solution to handle this? Thank you

@deniztek, the error message suggested you to check driver location. Perhaps you should remove $NIFI_HOME/?


Improve theme generation form

The theme generation form leaves a lot to be desired on the Themes section of the documentation site:
https://skeleton.brainandbonesllc.com/guides/themes
Consider updating it to operate more like the following tools:

https://tailwindcolorgenerator.com/
https://tailwind.simeongriggs.dev/blue/3B82F6

NOTE: Suggested by user "keeplearning" on the Svelte Discord (link)

This improvement is now in progress. You can track progress on this respective branch:
https://github.com/Brain-Bones/skeleton/commit/ed61eeae76fded55fd7da4ea6d18a9c1239aa379
Users can now enter four primary hex color values, and the theme generate will do the rest. It's much simpler to use!
The code is still a bit messy, so I plan to update that. Likewise I've integrated a package called Palettey: https://github.com/bartbergmans/Palettey
This does a lot of the heavy lifting and is based off Simeon Grigger's Tailwind palette generator:
https://tailwind.simeongriggs.dev/blue/3B82F6
Unfortunately Palettey has a couple issues:

It misspells "palette" in the primary method called createPalleteFromColor()
The generated set of swatches are in the reverse order dark-to-light versus light-to-dark

I'll plan to file a ticket to see if this can be addressed, and/or file my own bugfix via a pull request asap.
Once these updates are complete I'll look to roll out an update to the Skeleton documentation site for this.

Quick update - this is progressing well.

Today's update includes the following improvements:

The theme generator now has has two modes: Tailwind or Custom colors
Tailwind mode lets you mix and match Tailwind's default colors to generate a theme
Custom mode lets you provide custom hex colors to generate a theme.
The Generated CSS specifies which mode was used, and what color was used to generate each set
The swatches now include the shade value (ex: 50, 100, ..., 900)

With this in place, the final step is to begin creating a curated set of preset themes. We have two right now, but I'm aiming for 5-10 for release.

@thomasbjespersen I'd welcome your help in generating a few more!

This is now complete and deployed to the documentation site. Try it out here:
https://skeleton.brainandbonesllc.com/guides/themes


feat: support new pre-commit hook check-merge-base

closes #195

Summary by CodeRabbit

New Features

Introduced a new pre-commit hook, check-merge-base, to ensure branches are rebased onto the target branch during commits.

Documentation

Updated README.rst to include the new check-merge-base hook and modified command usage for clarity and consistency.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.27%. Comparing base (67a6560) to head (6bba256).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #197   +/-   ##
=======================================
  Coverage   97.27%   97.27%
=======================================
  Files           7        7
  Lines         294      294
=======================================
  Hits          286      286
  Misses          8        8

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


Channels support

https://core.telegram.org/bots/api#chat
bots can send messages to channels

Implemented. https://telegram.me/Zabbix_in_Telegram


Document how to circumvent the canvas reuse optimization

The optimization was introduced in https://github.com/openlayers/openlayers/pull/9584
This PR documents how to get the original functionality of map.forEachLayerAtPixel, without getting false positives. Setting a className different on each layer will do the trick.
Also I've added the className property in the API doc of the Layer class (previously it was only on the BaseLayer one).
This is intended to help with openlayers#9720

The way it is now, there is no way back after calling disableCanvasReuse(). Why not instead have a function disableCanvasReuse(boolean), so you can also call disableCanvasReuse(false) to get back the optimizations?

The preferred way to disable this optimization is to set a className on the layer. The optimiziation is only applied to layers with the same className, the default is ol-layer. I think this should be documented, because I had also forgotten about it.

The preferred way to disable this optimization is to set a className on the layer. The optimiziation is only applied to layers with the same className, the default is ol-layer. I think this should be documented, because I had also forgotten about it.

Nice, I've reworked the PR to only be about documentation. Thanks


Show some sample portals in doc folder / github pages

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

done: https://opendata-guru.github.io/peacock-user-ui/


Can you push the release 1.0.1 to Maven/Gradle Repo?

Adding the source or jar to my project is yucky. Can you fix the 1.0.1 dependency issue?

It is fixed. Use jcenter() and download the library as gradle dependency.

Still not in jcenter:
https://repo.jfrog.org/artifactory/libs-release-bintray/com/mani/thindownloadmanager/
https://jcenter.bintray.com/com/mani/thindownloadmanager
I can see only 1.0.0.

Saw the change in artifact name. Thx.


[Enhancement]: Provide $top as a synonym for $first in REST

Proposal
Provide $top as a synonym for $first in REST with no other behavioral change.
Reasons for this minor change:
Alignment with data source syntax is only a coincidence. Intuitive use and OData alignment are the primary drivers.


Upgrade ts emitter version to v0.18.0

Upgrade emitter-package and emitter-package-lock

/check-enforcer override


Improve docs on Python testing framework

After Python: creating and translating a kata has been created, docs on Python testing framework can use some improvements on wording, grammar, and to remove some redundancies.

I wanted to remove parts which became redundant after introducing "Authoring Python kata" doc, and to make it look more like an actual reference rather than a HOWTO. I hope I did not remove too much, but if you think something is missing, let me know.


chore: Formatting

(Closing for now because this has significant conflicts with my local refactor, but I will format the codebase when it is merged)

(Closing for now because this has significant conflicts with my local refactor, but I will format the codebase when it is merged)


Why is Pararallel Composition blocked for XLM-Roberta

Parallel composition of adapters are only supported for a few model types listed here:
https://github.com/Adapter-Hub/adapter-transformers/blob/9a6bf1757b684a4c627c5a35a56e61ea706dccee/src/transformers/adapters/composition.py#L101-L103
But I believe XLM-Roberta has the same architecture as Roberta, so I think parallel composition will also work with XLM-Roberta models. Is it possible to use parallel composition with XLM-Roberta models?

Nevermind seems like parallel composition does not work with XLM-Roberta models.

Well turns it was because of GPU OOM issue (strangely didn't raise OOM error directly, however). I now can confirm that parallel composition also works for xlm-roberta. Can we add xlm-roberta to the whitelist? I think adapters are well fitted to work with multilingual models, so I don't see why we should not allow xlm-roberta to the whitelist.

Hi @jinyongyoo, you're right, I think there's no reason why XLM-Roberta shouldn't be on that list. Adding in #305.


json format of the query result

We should define the JSON format we want for the output of the query interface, and solely use that (building the html table in the client, the server should absolutely not do that in no circumstance). The format should probably be something like:
{
  "links": { hateoas stuff if relevant },
  "execInfo": {
    "timing": { timing information },
    "debug": { some debug info if relevant }
  },
  "results": whatever the SPARQL query actually returned
}

see this link for hateoas, it's an interesting concept we could use for pagination (and maybe other things?). Many modern APIs use this concept. The debug information could probably be triggered by a debug parameter in the URL and there could maybe be an authentication condition for a user to use this parameter.

We are now using a custum format with pagination information and JsonParameter Strings for JSON post. Here is an example :1st_place_medal:
{
"pageNumber" : 1,
"numberOfPages" : 10,
"pageSize" : 10,
"numResults" : 100,
"execTime" : 498,
"hash" : 240864041,
"isLastPage" : false,
"isFirstPage" : true,
"pLinks" : {
"prevGet" : null,
"nextGet" : null,
"currJsonParams" : "{"L_NAME":"(\"chos rgyal\")","searchType":"Res_byName","pageSize":"10","I_LIM":"100","hash":"240864041","L_LANG":"@bo-x-ewts"}",
"prevJsonParams" : null,
"nextJsonParams" : "{"L_NAME":"(\"chos rgyal\")","pageNumber":"2","searchType":"Res_byName","pageSize":"10","I_LIM":"100","hash":"240864041","L_LANG":"@bo-x-ewts"}"
},
"headers" : [ "s", "lit" ],
"rows" : [ {
"dataRow" : {
"s" : " P4951",
"lit" : "chos rgyal/@bo-x-ewts"
}
}, {
"dataRow" : {
"s" : " P10203",
"lit" : "chos rgyal/@bo-x-ewts"
}
},
etc...
The pLinks objects holds (depending on the request method) GET Urls for previous and next pages or POST json param lists of current, previous and next pages.
I close the subject for now, until new or finer requirements.


keepass-keeagent: init at 0.8.1

Tested on top of channels/nixos-unstable
Motivation for this change
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Applied to master (6505c6e3df519bbf800f302e9ba14923b9dabee5). Thanks!


Add Prefix, Suffix and Ngram UDFs

feature: Adding ngram, prefix, postfix UDFs
Context:
We are onboarding a use case and trying the inrease query throughput. We tested the QPS cannot further improved with the existing REGEXP_LIKE queries or text_match queries. The queries as follows
select col1, col2 from table where REPEXP_LIKE(col3, '^data*')
select col1, col2 from table where REGEXP_LIKE(col3, 'data$')
select col1, col2 from table where REGEXP_LIKE(col3, '*data*')
select col1, col2 from table where TEXT_MATCH(col3, '/data*/')
...

The plan is to generated the derived columns that persisted prefix, postfix, and ngram to use inverted indexes to filter the result fast, and add the text match indexes to do validation after filtering to avoid false positive result.
This patch is created to generate prefix, postfix, and ngrams for a field.
it can be used by the following transformation config
       {
          "columnName": "col_prefix",
          "transformFunction": "prefixes(col, 3, null)"
        },
       {
          "columnName": "col_suffix",
          "transformFunction": "suffixes(col, 3, null)"
        },
       {
          "columnName": "col_3gram",
          "transformFunction": "ngrams(col, 3)"
        },
       {
          "columnName": "col_1gram_2gram_3gram",
          "transformFunction": "ngrams(col, 1, 3)"
        },

Codecov Report
Attention: 25 lines in your changes are missing coverage. Please review.

Comparison is base (d501478) 61.67% compared to head (a8b6202) 0.00%.
Report is 33 commits behind head on master.

Files
Patch %
Lines

.../pinot/common/function/scalar/StringFunctions.java
0.00%
25 Missing :warning:

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #12392       +/-   ##
=============================================
- Coverage     61.67%    0.00%   -61.68%
=============================================
  Files          2422     2352       -70
  Lines        132148   129103     -3045
  Branches      20385    19995      -390
=============================================
- Hits          81502        0    -81502
- Misses        44660   129103    +84443
+ Partials       5986        0     -5986

Flag
Coverage Δ

custom-integration1
?

integration
0.00% <0.00%> (-0.01%)
:arrow_down:

integration1
?

integration2
0.00% <0.00%> (ø)

java-11
?

java-21
0.00% <0.00%> (-61.57%)
:arrow_down:

skip-bytebuffers-false
?

skip-bytebuffers-true
0.00% <0.00%> (-61.54%)
:arrow_down:

temurin
0.00% <0.00%> (-61.68%)
:arrow_down:

unittests
?

unittests1
?

unittests2
?

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.

Are there equivalent/similar functions in other commonly used DBs (e.g. PostgreSQL)? We should try to match the behavior

i think postgresql provide a 3-gram module called pg_trgm where pg means PostgreSQL.
it including the following functions
show_trgm (text)
Do you think i should rename the function similarly?

Has this been added to the docs @deemoliu ?


Fix addition with xml queries related issues

Purpose

Fix addition with xml queries related issues.

Fixes #36541
Check List

[x] Read the Contributing Guide
[] Updated Change Log
[ ] Checked Tooling Support (#)
[x] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Add After class method for the Java test class to avoid Heap Memory issue

The problem that we aim to solve in this PR has a conflict in spec.
Hence closing for now.
Will Update the spec issue in here.

The problem that we aim to solve in this PR has a conflict in spec.
Hence closing for now.
Will Update the spec issue in here.

https://github.com/ballerina-platform/ballerina-spec/issues/1262


chore: run lint on GitHub Actions

Fixes #592

Codecov Report

Merging #596 (e7c0c2a) into master (bfe1e40) will not change coverage.
The diff coverage is n/a.


Fix MW Operation params cleaning on operation

This fixes a bug which was causing errors in the operation parameters
dialog (required fields message and empty submit button text) after
submitting an operation.
@miq-bot add_label providers/hawkular, ui, bug
cc @theute @pilhuhn

@Jiri-Kremser @mtho11 Can you please have a look ?

@miq-bot assign @chessbyte

@ammendonca if needed in darga, please label . . .


Issue in back navigation when navigating to the child page from different parents

Hi @SchabanBo, There is an issue in Nested navigation when using going to a child page from DifferentParents. Below is the route example
final route = QRoute.withChild(     path: '/dashboard',     name: dashboard,     initRoute: home,     builderChild: (router) => DashboardPage(router),     children: [       QRoute(         path: '/home',         name: home,         builder: () => const Material(child: HomePage()),         children: [           QRoute(             path: '/product/:productId',             name: productDetail,             builder: () => const Material(child: ProductPage()),           ),         ],       ),       QRoute(         path: '/my-products',         name: myProducts,         children: [           QRoute(             path: '/product/:productId',             name: productDetail,             builder: () => const Material(child: ProductPage()),           ),         ],         builder: () => const Material(child: MyProducts()),       ),     ],   );
An DashboardPage which contains a bottom nav with Home & MyProduct as bottom nav items & in both Home & MyProducts Page there is a listing of products as cards through which user can enter into that particular ProductDetailPage.
Issue:-
HomePage -> ProductDetail -> (onBack) -> (Landing on) MyProductPage ---------- But should land on HomePage itself
MyProductPage -> ProductDetail -> (onBack) -> (Landing on) MyProductPage ---------- Which is fine
So I think no matter from which page I enter into the ProductDetailPage on back from that page returning me to MyProductPage itself.

Hi @tejHackerDEV,
I made an example on what did you describe. And it is work as expected.
Can you check this?

Example
import 'package:flutter/material.dart';
import 'package:qlevar_router/qlevar_router.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  static const String dashboard = 'dashboard';
  static const String home = 'home';
  static const String productDetail = 'productDetail';
  static const String myProducts = 'myProducts';

  final routes = QRoute.withChild(
    path: '/dashboard',
    name: dashboard,
    initRoute: home,
    builderChild: (router) => Nested1(router),
    children: [
      QRoute(
        path: '/home',
        name: home,
        builder: () => const Material(child: WelcomePage(index: 1)),
        children: [
          QRoute(
            path: '/product/:productId',
            name: productDetail,
            builder: () => const Material(child: WelcomePage(index: 2)),
          ),
        ],
      ),
      QRoute(
        path: '/my-products',
        name: myProducts,
        children: [
          QRoute(
            path: '/product/:productId',
            name: productDetail,
            builder: () => const Material(child: WelcomePage(index: 4)),
          ),
        ],
        builder: () => const Material(child: WelcomePage(index: 3)),
      ),
    ],
  );
  @override
  Widget build(BuildContext context) => MaterialApp.router(
        routeInformationParser: const QRouteInformationParser(),
        routerDelegate: QRouterDelegate([routes], initPath: '/dashboard'),
      );
}

class WelcomePage extends StatelessWidget {
  final int? index;
  const WelcomePage({this.index});
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        body: Center(
          child:
              Card(child: Text(index == null ? 'welcome' : index.toString())),
        ),
        floatingActionButton: TextButton(
          onPressed: QR.back,
          child: const Text('Back'),
        ));
  }
}

class Nested1 extends StatelessWidget {
  final QRouter router;
  const Nested1(this.router);
  @override
  Widget build(BuildContext context) {
    final size = MediaQuery.of(context).size;
    return Scaffold(
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.spaceEvenly,
          children: [
            TextButton(
                onPressed: () => QR.to('/dashboard/home'),
                child: const Text('/home')),
            TextButton(
                onPressed: () => QR.to('/dashboard/home/product/2'),
                child: const Text('/home/product/2')),
            TextButton(
                onPressed: () => QR.to('/dashboard/my-products'),
                child: const Text('/my-products')),
            TextButton(
                onPressed: () => QR.to('/dashboard/my-products/product/2'),
                child: const Text('/my-products/product/2')),
            Container(
              decoration:
                  BoxDecoration(border: Border.all(color: Colors.amber)),
              width: size.width * 0.7,
              height: size.height * 0.7,
              child: router,
            )
          ],
        ),
      ),
    );
  }
}

Hi @SchabanBo,
As I said before I am using bottomNavigationBar & I am using QR.toName() instead of QR.to(). Also please find the below reproducible code of the issue which is an modification of your bottomNavigation examples which you hosted on your GitHub for qlevar As you can check the url is updating to settings no matter from which page I enter & clicking on address bar of the url it takes me back to the correct page but clicking on the arrow button on the appBar will take me to the settings page itself which is wrong in my manner. So in my observation I feel that QR.toName() will matches the last registered route with that particular name, but in some cases it will be wrong(like the one I posted now). So I think first we need to check the current route children's if no match found then we need to go out of the parent routes & then needs to match.

Reproducible code
`import 'package:flutter/material.dart';
import 'package:qlevar_router/qlevar_router.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
static bool isAuthed = false;
static const String productDetail = 'productDetail';
static List tabs = [
"Home Page",
"Store Page",
"Settings Page",
];
final routes = [
QRoute.withChild(
path: '/home',
builderChild: (c) => HomePage(c),
children: [
QRoute(
name: tabs[0],
path: '/',
builder: () => Tab('Home', Colors.blueGrey.shade900),
children: [
QRoute(
path: '/product/:productId',
name: productDetail,
builder: () => const Material(child: ProductPage()),
),
]),
QRoute(
name: tabs[1],
path: '/store',
builder: () => Tab('Store', Colors.blueGrey.shade700),
children: [
QRoute(
path: '/product/:productId',
name: productDetail,
builder: () => const Material(child: ProductPage()),
),
]),
QRoute(
name: tabs[2],
path: '/settings',
builder: () => Tab('Settings', Colors.blueGrey.shade500),
children: [
QRoute(
path: '/product/:productId',
name: productDetail,
builder: () => const Material(child: ProductPage()),
),
]),
])
];
@override
Widget build(BuildContext context) => MaterialApp.router(
routeInformationParser: QRouteInformationParser(),
routerDelegate: QRouterDelegate(routes, initPath: '/home'),
theme: ThemeData.dark(),
);
}
class HomePage extends StatefulWidget {
final QRouter router;
HomePage(this.router);
@override
_HomePageState createState() => _HomePageState();
}
class _HomePageState extends State {
@override
void initState() {
super.initState();
// We need to add listener here so the bottomNavigationBar
// get updated (the selected tab) when we navigate to new page
widget.router.navigator.addListener(_update);
}
void _update() {
setState(() {});
}
@override
void dispose() {
widget.router.navigator.removeListener(_update);
super.dispose();
}
@override
Widget build(BuildContext context) => Scaffold(
appBar: AppBar(
title: Text('My App'),
centerTitle: true,
leading: MyApp.tabs.indexWhere(
(element) => element == widget.router.routeName) <
0
? IconButton(
onPressed: () => QR.back(),
icon: Icon(Icons.arrow_back),
)
: null,
),
body: widget.router,
bottomNavigationBar: MyApp.tabs.indexWhere(
(element) => element == widget.router.routeName) <
0
? null
: BottomNavigationBar(
items: [
BottomNavigationBarItem(
icon: Icon(Icons.home), label: 'home'),
BottomNavigationBarItem(
icon: Icon(Icons.store), label: 'store'),
BottomNavigationBarItem(
icon: Icon(Icons.settings), label: 'Settings')
],
currentIndex: MyApp.tabs.indexWhere(
(element) => element == widget.router.routeName),
onTap: (v) => QR.toName(MyApp.tabs[v]),
),
);
}
class Tab extends StatelessWidget {
final String name;
final Color color;
Tab(this.name, this.color);
@override
Widget build(BuildContext context) => Container(
color: color,
child: ListView.builder(
itemBuilder: (_, index) => ListTile(
onTap: () => QR.toName(MyApp.productDetail, params: {
'productId': index,
}),
title: Text('Hi i am product $index'),
),
itemCount: 20,
),
);
}
class ProductPage extends StatelessWidget {
const ProductPage({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Container(
child: Center(
child: Text('I am product page with route \n ${QR.currentPath}',
style: TextStyle(fontSize: 20))),
);
}
}`

When you run the app, the package adds all name in a unique list as Tree Info to the routes in the app. When you use the same name for multiple routes, the name will be overwritten be the next route with the same name.  You can see in the tree Info the route with the name 'productDetail' is '/home/settings/product'. That is why this is happening.
In short, the name of the routes must be unique

Can't it happen by checking the parents route names too instead of simply checking the current route name because there might be multiple pages in a app but from multiple pages we can enter into one single route,  so we can't have multiple route names for the same page right.
So I think we can add this to a feature request

I don't think that would be a good idea, Every page should have a single unique route, if the route is different, that is mean this is a different page.

So can you suggest anything for this kind of navigation?

You can use QR.to for this case, or give the productDetail page a different name on every level.


Mod is not working 1.16.5

The player i hitting is not getting killed by the mod
https://www.youtube.com/watch?v=GFzHFwJN7XU

same config issue just different bug of #1


proposed bugfix for modeset-atomic with amd radeon doesn't work with with RS780L radeondrmfb (Radeon 3000)

the problem came when commenting out the following code:

	ret = drmSetClientCap(fd, DRM_CLIENT_CAP_ATOMIC, 1);
	if (ret) {
		fprintf(stderr, "failed to set atomic cap, %d\n", ret);
		return ret;
	}

the reason the original didn't work with this Radeon is because it doesn't support atomic modesetting.


JSON schema for Jamf Pro - FooterText Emoji not working

When I enter a emoji (💙 ) in the field for FooterText in Jamf Pro using the JSON schema, it get's saved as '?' and is displayed as same in the SupportApp itself.
Markdown emoji does also not work and is displayed as :blue_heart: in the App.
App is running on 12.5 Monterey.

@opus-nbo I have the same issue.  As a workaround I was able to paste the emoji in after loading the JSON manifest into Jamf and filling in the blank

@everetteallen I did the same, loaded the JSON and added the emoji to the blank field for "Footer Text" but the emoji is displayed as "?" in the App.

One other thing I found is that is the emoji is before any other text it will not display (ie at the beginning of the sentence)

For me, it's at the end of the sentence where it not works. strangely, the ❤  :heart: works, but not the 💙  :blue_heart:

This is likely a bug/lack of support in the MDM not supporting the Unicode variants in their databases. If you do a default write locally it might work. Report it to your MDM provider if that’s the case.

Funny… cuz I ran into the same thing wanting to load a pink heart.

I am able to to copy the actual character like from the keyboard view app and paste into the manifest and both red and blue heart work so not sure if the MDM is as fault here.

What do you mean by 'keyboard view app'? I copied it from the emoji popup, I think it's called 'Character Viewer'. This way it did not work.

@opus-nbo : this is a Jamf limitation, not anything to do with Support app.  The input field automatically converts some characters into ? or empty blocks.  File a bug with Jamf.
Recommending this be closed.


pip: Fixes no such file or directory: /tmp/zsh_tmp_cache

Zsh may be configured such that ">>" will error if the file doesn't exist.

I'll merge this but just so I know it, what settings trigger this?

The setting which causes this is setopt noclobber and setopt clobber will allow for >> even if the file doesn't exist. See https://unix.stackexchange.com/questions/212127/zsh-disable-file-exists-warning-with-redirection.

Good to know, thanks!


Failed to retrieve the Cloudflare clearance cookie

python main.py -v -f cookies.json https://nowsecure.nl
[21:56:39] [INFO] Launching headless browser...
[21:56:49] [INFO] Going to https://nowsecure.nl...
[21:56:54] [INFO] Solving Cloudflare challenge [Managed]...
[21:57:27] [ERROR] Failed to retrieve the Cloudflare clearance cookie.
what should i do with this error?

i print frames but it didnt return turnstile frame
please fix this

This program currently will not be able to solve turnstile challenges due to an issue with Playwright. For more information, see https://github.com/microsoft/playwright/issues/21780. As a temporary solution, pass the -d flag and solve the challenge manually.


Add option to mark any file outside current workspace read-only

As an extension of #4873, it would be great if there was an option to automatically mark any file which is not in the current workspace directory as read only. I sometimes end up opening files located elsewhere to view their contents (e.g. the source code for installed python modules or scripts in other directories), but I never actually want to edit these other files.
It may be possible to already create a generic filter like this with files.readonlyInclude and files.readonlyExclude, but I haven't found a combination of glob patterns that works yet.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

Related on Stack Overflow: How to prevent VSCode from changing files that do not belong to the project?
Is there supposed to be a way to achieve this using the new read-only feature from 1.79? I tried a little bit but didn't have success:
"files.readonlyInclude": {
   "*": true,
   //"${workspaceFolder}": false,
},
"files.readonlyExclude": {
   "${workspaceFolder}/**/*": true,
}

No, there is no variables support in settings as far as I know.

Posted an imperfect solution over at the Stack Overflow Q&A: https://stackoverflow.com/a/76585490/11107541

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


⚠ Bofrost.be has degraded performance

In 6cbd852, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1890 ms

Resolved: Bofrost.be performance has improved in 6c32665 after 43 minutes.


Remove All Events Not Work!!

self.allCalendarEvents.removeAll()
self.calendarWeekView.loadEvents(withData: nil)
Why are the events still displayed?

If you pass a nil object then no action is performed, this is intended behaviour to allow for default functions to pass nil objects safely without harming the state of the weekview. You must pass an empty array to remove all events. If that doesn't work then something may indeed be broken.

Okey thank you sir:)


Update spice host address after migration

Fixed #455

I am not sure that would help us. I think it depends on the migration mode (post-copy vs pre-copy) when we can update the port and the IP, and I would want to avoid storing it on the cluster VM state for "later" use.

no, it doesn't really depend on that. At the point of decision on which host you are migrating to and what machines are scheduled/running there already you do have all the information about which port you can use, and you can choose to let libvirt allocate it and return to you or select one yourself.

no, it doesn't really depend on that. At the point of decision on which host you are migrating to and what machines are scheduled/running there already you do have all the information about which port you can use, and you can choose to let libvirt allocate it and return to you or select one yourself.

That is true that we have all the information at that point, but we have different points in time for pre-copy and post-copy, when we want to show the new information on the cluster level, so that connections are routed to the right node. Or is there internal back- and forwarding between libvirt for new spice connecttions?

Either way, so you do want to store it in status or not?

The new IP and port before it can be used? I would not want to do that.

That is true that we have all the information at that point, but we have different points in time for pre-copy and post-copy, when we want to show the new information on the cluster level, so that connections are routed to the right node. Or is there internal back- and forwarding between libvirt for new spice connecttions?
In the native viewer there is an internal handover for existing connections. Not sure if we have to worry about post-copy, it typically converges way faster than all these updates are propagated through...
The handover is the exact point when you want to update it and let clients connect to the new port, and it's not tied to migration finish event.
But in general you can't really count with the availability of console connection during migration unless specifically handled like in the case of virt-viewer, so it doesn't really matter that much when exactly the port is updated
So the client logic should handle failures while the VM is migrating in any case.

The new IP and port before it can be used? I would not want to do that.
ah, so you mean to update it before it's finished. Ok. That doesn't make sense at the very lest from the point of view of a migration failure:)

@rmohr Can you please review it again?

@cynepco3hahue I'm confused looking at this patch. I recall there being much more to this PR in the past. Outside of test cases and comments, the patch now appears to be the removal of two "Phase = Running" lines. Is there more to it than that? Did the logic get moved to a different PR? Unintentionally removed?

@stu-gott Yes, I had a lot more logic before, but after an additional investigation on virt-handler side, I found that we already update the all needed details under the method updateVMStatus, but in the beginning, the method has  the check:
if vm.Status.Phase == v1.Running {
		return nil
	}

because that we updated vm.Status.Phase under virt-controller this check always prevented to update correctly spice details after VM migration.

retest this please

And @cynepco3hahue a very nice solution, I was very surprised when I saw it :+1:

retest this please


Incorrect Syntax highlighting for file scoped namespace

Environment data
❯ dotnet --info
.NET SDK (reflecting any global.json):
Version:   6.0.100
Commit:    9e8b04bbff
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.19042
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\6.0.100\
Host (useful for support):
Version: 6.0.0
Commit:  4822e3c3aa
.NET SDKs installed:
3.1.301 [C:\Program Files\dotnet\sdk]
5.0.100 [C:\Program Files\dotnet\sdk]
5.0.102 [C:\Program Files\dotnet\sdk]
6.0.100 [C:\Program Files\dotnet\sdk]
VS Code version: 1.62.1
C# Extension version: 1.23.16
OmniSharp log
Starting OmniSharp server at 10.11.2021, 08:21:28
    Target: c:\Development\temp\webapi

OmniSharp server started.
    Path: c:\Users\user\.vscode\extensions\ms-dotnettools.csharp-1.23.16\.omnisharp\1.37.16\OmniSharp.exe
    PID: 6520

[info]: OmniSharp.Stdio.Host
        Starting OmniSharp on Windows 6.2.9200.0 (x64)
[info]: OmniSharp.Services.DotNetCliService
        Checking the 'DOTNET_ROOT' environment variable to find a .NET SDK
[info]: OmniSharp.Services.DotNetCliService
        Using the 'dotnet' on the PATH.
[info]: OmniSharp.Services.DotNetCliService
        DotNetPath set to dotnet
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Because 'UseBundledOnly' is enabled in the configuration, OmniSharp will only use the bundled MSBuild.
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Located 1 MSBuild instance(s)
            1: StandAlone 17.0.0 - "c:\Users\user\.vscode\extensions\ms-dotnettools.csharp-1.23.16\.omnisharp\1.37.16\.msbuild\Current\Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        MSBUILD_EXE_PATH environment variable set to 'c:\Users\user\.vscode\extensions\ms-dotnettools.csharp-1.23.16\.omnisharp\1.37.16\.msbuild\Current\Bin\MSBuild.exe'
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Registered MSBuild instance: StandAlone 17.0.0 - "c:\Users\user\.vscode\extensions\ms-dotnettools.csharp-1.23.16\.omnisharp\1.37.16\.msbuild\Current\Bin"
            CscToolExe = csc.exe
            CscToolPath = c:\Users\user\.vscode\extensions\ms-dotnettools.csharp-1.23.16\.omnisharp\1.37.16\.msbuild\Current\Bin\Roslyn
            MSBuildExtensionsPath = c:\Users\user\.vscode\extensions\ms-dotnettools.csharp-1.23.16\.omnisharp\1.37.16\.msbuild
            MSBuildToolsPath = c:\Users\user\.vscode\extensions\ms-dotnettools.csharp-1.23.16\.omnisharp\1.37.16\.msbuild\Current\Bin
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.Completion.CompletionOptionsProvider, Order: 0
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.BlockStructureWorkspaceOptionsProvider, Order: 140
[info]: OmniSharp.Cake.CakeProjectSystem
        Detecting Cake files in 'c:\Development\temp\webapi'.
[info]: OmniSharp.Cake.CakeProjectSystem
        Could not find any Cake files
[info]: OmniSharp.MSBuild.ProjectSystem
        No solution files found in 'c:\Development\temp\webapi'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for 'c:\Development\temp\webapi\webapi.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
        Detecting CSX files in 'c:\Development\temp\webapi'.
[info]: OmniSharp.Script.ScriptProjectSystem
        Could not find any CSX files
[info]: OmniSharp.WorkspaceInitializer
        Configuration finished.
[info]: OmniSharp.Stdio.Host
        Omnisharp server running using Stdio at location 'c:\Development\temp\webapi' on host 18976.
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: c:\Development\temp\webapi\webapi.csproj
[info]: OmniSharp.MSBuild.ProjectManager
        Successfully loaded project file 'c:\Development\temp\webapi\webapi.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
        Adding project 'c:\Development\temp\webapi\webapi.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Update project: webapi
Received response for /v2/blockstructure but could not find request.
Received response for /v2/codestructure but could not find request.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
        No symbol found. File: c:\Development\temp\webapi\Controllers\WeatherForecastController.cs, Line: 15, Column: 11.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
        No symbol found. File: c:\Development\temp\webapi\Controllers\WeatherForecastController.cs, Line: 21, Column: 40.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
        No symbol found. File: c:\Development\temp\webapi\Controllers\WeatherForecastController.cs, Line: 6, Column: 13.
Received response for /v2/getcodeactions but could not find request.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
        No symbol found. File: c:\Development\temp\webapi\Controllers\WeatherForecastController.cs, Line: 0, Column: 0.

Steps to reproduce

Create a new webapi project via dotnet cli
Open the WeatherForecastController.cs
Syntax highlighting displayed in a wrong way.

Use "old" namespace nesting

Syntax is correctly highlighted

Related issues

https://github.com/microsoft/vscode/issues/136195
https://github.com/dotnet/csharp-tmLanguage/issues/225

This works correctly with semantic highlighting:
    "editor.semanticHighlighting.enabled": true,
    "csharp.semanticHighlighting.enabled": true

The issue is with the built-in textmate grammar (not maintained in this repo but, in https://github.com/dotnet/csharp-tmLanguage). Semantic highlighting will generally speaking what you want to use anyway, because it is much better especially with modern language features.

@filipw very nice - thx!
Using the setting regarding semanticHighlighting it is correctly highlighted.


Use CSS translate instead of top/left

This patch changes the drag image moving implementation to use CSS transform's translate. It also fixes the initial drag image location bug mentioned in #31 & #34.
Both -webkit-transform & -transform are supported, making the code more cross-browser friendly & future-proof.
The main gain with this change is probably sub-pixel rendering. I didn't see any performance differences greater than what can be attributed to measurement error margins. That said, my performance tests were on desktop Chrome, so there could be some wins on mobile.
Just to be clear, I did test functionality on actual mobile hardware to make sure I didn't break anything. Even so, bugs can appear ;)

Amazing! Also props for real testing! :D Happy for you to merge, I'm
offline for today
On Wednesday, 11 February 2015, Kaur Kuut<EMAIL_ADDRESS>wrote:

This patch changes the drag image moving implementation to use CSS
transform's translate. It also fixes the initial drag image location bug
mentioned in #31
https://github.com/timruffles/ios-html5-drag-drop-shim/pull/31 & #34
https://github.com/timruffles/ios-html5-drag-drop-shim/pull/34.
Both -webkit-transform & -transform are supported, making the code more
cross-browser friendly & future-proof.
The main gain with this change is probably sub-pixel rendering. I didn't
see any performance differences greater than what can be attributed to
measurement error margins. That said, my performance tests were on desktop
Chrome, so there could be some wins on mobile.
Just to be clear, I did test functionality on actual mobile hardware to
make sure I didn't break anything. Even so, bugs can appear ;)
You can view, comment on, or merge this pull request online at:
https://github.com/timruffles/ios-html5-drag-drop-shim/pull/36
Commit Summary

Now using CSS translate to move around the drag image.
Moved the initial drag image even more off-screen to allow for over
1000px wide drag elements.

File Changes

M ios-drag-drop.js
https://github.com/timruffles/ios-html5-drag-drop-shim/pull/36/files#diff-0
(44)

Patch Links:

https://github.com/timruffles/ios-html5-drag-drop-shim/pull/36.patch
https://github.com/timruffles/ios-html5-drag-drop-shim/pull/36.diff

—
Reply to this email directly or view it on GitHub
https://github.com/timruffles/ios-html5-drag-drop-shim/pull/36.


Redis port

Hi,
If i add redis://localhost:8888 for example, it fails automatically, how do you adjust the port of Redis in the connection manager?
Thanks

It takes the exact same values redis::Client does, so look there.


Mountains plot (Fig 25, main.tv.selex) and Fig 26 only goes up to 2016

Tried fixing but I think didn't work (have to leave for a meeting).

Fixed in commit dcaae0b790a3f54bc81cdd24c3d00e2fc0807d15


Introduce Architecture Decision Records

Architecture Decision Records, or ADRs, are a form of lightweight documentation of the architecture, or more generally technical, decisions made or revoked during the development of a system.

A Readme.md in docs/adr/ would be helpful and can serve as an index (what you started in the Wiki / Technical Architecture)


Error when editing parameters in add hair curve

When I using mouse scroll to edit radius

then blender crash
When I using typing or dragging to edit parameters

I'm in object mode but it pop this error , then blender crash

I didn't even know this was a part of the converter. Most people use Anime Hair Generator.
I'll consider removing this feature since not many people seem to use it and it only causes crashes. It is slightly outside the scope of this add-on, and there are better alternatives.
More investigation and community inquiry will be conducted.


ErrorBoundary loses route error in production

What version of Remix are you using?
1.19.1
Are all your remix dependencies & dev-dependencies using the same version?

[X] Yes

Steps to Reproduce
See: https://github.com/Ehesp/remix-error-boundary-issue
Notes:

This is using the Cloudflare Pages adapter, I haven't tried this to see if it's adapter specific or not.
This happens with both v2_errorBoundary set to true and false

My routes/_index.ts route throws a simple error:
export const loader = async () => {
  throw new Error('Foo bar');
};

I have a simple ErrorBoundary in root.tsx:
export function ErrorBoundary() {
  const error = useRouteError();
  console.log('ERROR FROM BOUNDARY', error);
  return
Error
;
}

Note; this is also the same when using v1 error boundary with the error as a prop:
export function ErrorBoundary({ error }: { error: unknown }) {
  console.log('ERROR FROM BOUNDARY', error);
  return
Error
;
}

Expected Behavior
During development (npm run dev), the error logged is correct (the Foo bar error instance).
ERROR FROM BOUNDARY Error: Foo bar
    at loader (80i7ughq5zj.js:16073:9)
    at callRouteLoaderRR (80i7ughq5zj.js:3329:22)
    at commonRoute.loader (80i7ughq5zj.js:3376:47)
    at runHandler (80i7ughq5zj.js:2408:105)
    at callLoaderOrAction (80i7ughq5zj.js:2434:22)
    at 80i7ughq5zj.js:2168:71
    at Array.map (<anonymous>)
    at loadRouteData (80i7ughq5zj.js:2168:55)
    at queryImpl (80i7ughq5zj.js:2048:26)
    at Object.query (80i7ughq5zj.js:2000:24) {
  stack: Error: Foo bar
    at loader (80i7ughq5zj.js:16073…:26)
    at Object.query (80i7ughq5zj.js:2000:24),
  message: Foo bar
}

During production (npm run build && npm run start) the error is:
ERROR FROM BOUNDARY Error: Unexpected Server Error {
  stack: undefined,
  message: Unexpected Server Error
}

Actual Behavior
The error in production is consistent with that of development.

Remix automatically strips error messages and stack traces in production for security reasons since you should not be leaking server-side error or stack information to the client.  If you need access to the un-sanitized error for logging/reporting you can access it via the handleError export: https://remix.run/docs/en/1.19.1/file-conventions/entry.server#handleerror

Ahh I see. I was hoping to throw a custom error and render the error message.
I guess I'll need to throw a response error then


Is it possible to show temperature?

Is it possible to show temperature?

Hi @KwangryeolPark. I will probably add this option later.


Beam to Mixer

@joannaleecy,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Uses old URL after port removed

In testing out a cloud app vendor's API, I executed the following URL in a POST request:
https://app.ebenefitsyncdemo.com:8005/api/data/v1.0/token
Then the vendor changed their configuration to use the standard HTTPS port
So I tried
https://app.ebenefitsyncdemo.com/api/data/v1.0/token
without success.  Network monitoring software indicated that ARC was still using port 8005.
I tried clearing my advancedrestclient cookie, but that had no effect.

Is this behavior still happening? I can't reproduce it.

I don't know.  I switched to using another tool for service testing soon after this happened, so I haven't used this tool for a while.  I will close the issue.


android-sdk version 3859397 : Updating build_tools_version to 26.0.1

build_tools_version 26.0.0 is unavailable from sdkmanager due to which the installation fails. Updating it to 26.0.1
If there’s a checkbox you can’t complete for any reason, that's okay, just explain in detail why you weren’t able to do so.
After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if updating a cask:

[ ] If the sha256 changed but the version didn’t,
provide public confirmation by the developer: {{link}}
sha256 remains the same

Additionally, if adding a new cask:

[ ] Named the cask according to the token reference.
[ ] brew cask install {{cask_file}} worked successfully.
[ ] brew cask uninstall {{cask_file}} worked successfully.
[ ] Checked there are no open pull requests for the same cask.
[ ] Checked the cask was not already refused in closed issues.
[ ] Checked the cask is submitted to the correct repo.

Thank you for your contribution!


issue with rwkv examples

LocalAI version:  v1.16.0
Environment, CPU architecture, OS, and Version: VM, Linux 5.15.0-72-generic #79-Ubuntu SMP Wed Apr 19 08:22:18 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Describe the bug
The rwkv examples fail.
It use Q4_2 (build.sh: python3 /build/rwkv.cpp/rwkv/quantize.py /build/float-model $OUT Q4_2
), rwkv.cpp drop Q4_2 support master-dea929f
To Reproduce
cd ~/LocalAI/examples/rwkv# docker build -t rwkv-converter -f Dockerfile.build .

Expected behavior

Logs

python3 /build/rwkv.cpp/rwkv/quantize.py /build/float-model /data/models/rwkv Q4_2
usage: quantize.py [-h] src_path dest_path {Q4_0,Q4_1,Q5_0,Q5_1,Q8_0}
quantize.py: error: argument format_name: invalid choice: 'Q4_2' (choose from 'Q4_0', 'Q4_1', 'Q5_0', 'Q5_1', 'Q8_0')

Additional context

rwkv.cpp just yesterday updated its format with the latest ggml changes which makes models incompatible: https://github.com/saharNooby/rwkv.cpp/commit/dea929f8cad90b7cf2f820c5a3d6653cfdd58c4e . I'm updating RWKV in #402 , meanwhile, you can use an older version of rwkv to quantize models, or use the LocalAI version from that branch.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_7b3458d4-2cfa-4ca4-b7ed-c7cf6d762bd1/pull/1 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target_7b3458d4-2cfa-4ca4-b7ed-c7cf6d762bd1.git

Docs Build status updates of commit 31bca7c:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Release_Archive_master_2020-01-10-07-29-53 has been deleted or has been force pushed: fatal: couldn't find remote ref refs/heads/Release_Archive_master_2020-01-10-07-29-53

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.