InvalidArgumentError: sequence_length(0) <= 30

I'm trying to run this locally and I get:
Epoch 1/1
InvalidArgumentError: sequence_length(0) <= 30
	 [[Node: ctc/CTCLoss = CTCLoss[_class=["loc:@training/SGD/gradients/ctc/CTCLoss_grad/mul"], ctc_merge_repeated=true, ignore_longer_outputs_than_inputs=false, preprocess_collapse_repeated=false, _device="/job:localhost/replica:0/task:0/device:CPU:0"](ctc/Log/_187, ctc/ToInt64/_189, ctc/ToInt32_2/_191, ctc/ToInt32_1/_193)]]

Caused by op u'ctc/CTCLoss', defined at:
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/lib/python2.7/site-packages/ipykernel_launcher.py", line 16, in <module>
    app.launch_new_instance()
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/local/lib/python2.7/site-packages/traitlets/config/application.py", line 658, in launch_instance
    app.start()
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/local/lib/python2.7/site-packages/ipykernel/kernelapp.py", line 486, in start
    self.io_loop.start()
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/local/lib/python2.7/site-packages/tornado/ioloop.py", line 1008, in start
    self._run_callback(self._callbacks.popleft())
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/local/lib/python2.7/site-packages/tornado/ioloop.py", line 759, in _run_callback
    ret = callback()
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/local/lib/python2.7/site-packages/tornado/stack_context.py", line 276, in null_wrapper
    return fn(*args, **kwargs)
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/local/lib/python2.7/site-packages/zmq/eventloop/zmqstream.py", line 536, in <lambda>
    self.io_loop.add_callback(lambda : self._handle_events(self.socket, 0))
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/local/lib/python2.7/site-packages/zmq/eventloop/zmqstream.py", line 450, in _handle_events
    self._handle_recv()
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/local/lib/python2.7/site-packages/zmq/eventloop/zmqstream.py", line 480, in _handle_recv
    self._run_callback(callback, msg)
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/local/lib/python2.7/site-packages/zmq/eventloop/zmqstream.py", line 432, in _run_callback
    callback(*args, **kwargs)
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/local/lib/python2.7/site-packages/tornado/stack_context.py", line 276, in null_wrapper
    return fn(*args, **kwargs)
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/local/lib/python2.7/site-packages/ipykernel/kernelbase.py", line 283, in dispatcher
    return self.dispatch_shell(stream, msg)
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/local/lib/python2.7/site-packages/ipykernel/kernelbase.py", line 233, in dispatch_shell
    handler(stream, idents, msg)
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/local/lib/python2.7/site-packages/ipykernel/kernelbase.py", line 399, in execute_request
    user_expressions, allow_stdin)
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/local/lib/python2.7/site-packages/ipykernel/ipkernel.py", line 208, in do_execute
    res = shell.run_cell(code, store_history=store_history, silent=silent)
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/local/lib/python2.7/site-packages/ipykernel/zmqshell.py", line 537, in run_cell
    return super(ZMQInteractiveShell, self).run_cell(*args, **kwargs)
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/local/lib/python2.7/site-packages/IPython/core/interactiveshell.py", line 2714, in run_cell
    interactivity=interactivity, compiler=compiler, result=result)
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/local/lib/python2.7/site-packages/IPython/core/interactiveshell.py", line 2818, in run_ast_nodes
    if self.run_code(code, result):
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/local/lib/python2.7/site-packages/IPython/core/interactiveshell.py", line 2878, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-10-308b3208bb84>", line 1, in <module>
    model = train(128, load=False)
  File "<ipython-input-9-3382ff110990>", line 68, in train
    loss_out = Lambda(ctc_lambda_func, output_shape=(1,), name='ctc')([y_pred, labels, input_length, label_length])
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/local/lib/python2.7/site-packages/keras/engine/topology.py", line 619, in __call__
    output = self.call(inputs, **kwargs)
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/local/lib/python2.7/site-packages/keras/layers/core.py", line 663, in call
    return self.function(inputs, **arguments)
  File "<ipython-input-9-3382ff110990>", line 6, in ctc_lambda_func
    return K.ctc_batch_cost(labels, y_pred, input_length, label_length)
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/local/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py", line 3950, in ctc_batch_cost
    sequence_length=input_length), 1)
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/local/lib/python2.7/site-packages/tensorflow/python/ops/ctc_ops.py", line 158, in ctc_loss
    ignore_longer_outputs_than_inputs=ignore_longer_outputs_than_inputs)
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/local/lib/python2.7/site-packages/tensorflow/python/ops/gen_ctc_ops.py", line 285, in ctc_loss
    name=name)
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/local/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
    op_def=op_def)
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/local/lib/python2.7/site-packages/tensorflow/python/util/deprecation.py", line 454, in new_func
    return func(*args, **kwargs)
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 3155, in create_op
    op_def=op_def)
  File "/home/jari/.local/share/virtualenvs/yad2k_tensorbox-CNPo6oOb/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1717, in __init__
    self._traceback = tf_stack.extract_stack()

InvalidArgumentError (see above for traceback): sequence_length(0) <= 30
	 [[Node: ctc/CTCLoss = CTCLoss[_class=["loc:@training/SGD/gradients/ctc/CTCLoss_grad/mul"], ctc_merge_repeated=true, ignore_longer_outputs_than_inputs=false, preprocess_collapse_repeated=false, _device="/job:localhost/replica:0/task:0/device:CPU:0"](ctc/Log/_187, ctc/ToInt64/_189, ctc/ToInt32_2/_191, ctc/ToInt32_1/_193)]]

Nvmnd, I had misunderstood downsample_factor and set it to 1


url fact is not getting set

In order to run I need to set<EMAIL_ADDRESS>puppet device --deviceconf /etc/puppet/device/f5.conf". I would like puppet to use the url found in the deviceconf so I don't have to set the url fact on the command line. Thanks.

See fix: https://github.com/puppetlabs/puppetlabs-f5/issues/52.


Play2Die

Implement Play2Die mechanics.
When a new challenge is created, the Challenger can stake a certain amount of tokens that need to be matched by the Challenged when accepting the challenge. The winner wins the full pot, less a the developer's fee.

[x] Stake tokens from Challenger and Challenged to the smart contract
[x] Ability to stake $LORDS
[x] Ability to stake any erc-20
[ ] Ability to stake any erc-721
[x] Distribute the full amount of tokens back to players if the challenge is canceled for any reason
[x] Transfer the full amount to duel winners, less developer fee
[x] On a draw, distribute staked tokens back to players, less developer fee
[x] How much is the developer fee?
[x] Ability to configure developer fee on the smart contract

Developer fee should be 4 LORDS or 10% of the overall stake, whichever is higher, and potentially with an arbitrary fixed fee of N for any non-fungible token. Fee distribution should be:

25% to us
25% to realms
25% to client
25% to player with best score (score method TBC)

Closed by #22


Needs better handling of active/archived talks

I think it'd be better for talks to global scope to ignoring archived talks, but you can add them back with a scope modifier, like soft deletes
We should make it possible to request a list of talks including archived talks, or just archived talks, in the API
?

 Globally ignore archived talks


upgrade deps

github.com/pion/dtls/v2 v2.0.13
golang.org/x/net v0.0.0-20211216030914-fe4d6282115f

Codecov Report

Merging #267 (e07f393) into master (f07411c) will decrease coverage by 0.12%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #267      +/-   ##
==========================================
- Coverage   63.91%   63.79%   -0.13%
==========================================
  Files          79       79
  Lines        5640     5640
==========================================
- Hits         3605     3598       -7
- Misses       1678     1684       +6
- Partials      357      358       +1

Impacted Files
Coverage Δ

net/conn.go
85.24% <0.00%> (-1.64%)
:arrow_down:

tcp/session.go
70.77% <0.00%> (-1.37%)
:arrow_down:

tcp/clientobserve.go
70.58% <0.00%> (-0.99%)
:arrow_down:

tcp/clientconn.go
69.40% <0.00%> (-0.75%)
:arrow_down:

Continue to review full report at Codecov.

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


💅 Bug when linting on save, when Biome is changing RegEx to literal

Environment information
CLI:
  Version:                      1.5.3
  Color support:                true

Platform:
  CPU Architecture:             x86_64
  OS:                           linux

Environment:
  BIOME_LOG_DIR:                unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           "v20.10.0"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "npm/10.2.3"

Biome Configuration:
  Status:                       Loaded successfully
  Formatter disabled:           false
  Linter disabled:              false
  Organize imports disabled:    false
  VCS disabled:                 true

Workspace:
  Open Documents:               0

Rule name
useRegexLiterals
Playground link
https://biomejs.dev/playground/?lineWidth=120&indentStyle=space&trailingComma=es5&semicolons=as-needed&code=IAAgAGMAbwBuAHMAdAAgAHIAZQBnAGUAeAAgAD0AIABuAGUAdwAgAFIAZQBnAEUAeABwACgAIgA6AC8ALwBbAF4AOgAvAF0AKgAiACkACgAKAC8ALwAgAF4AIABiAGUAYwBvAG0AZQBzACAACgAKAGMAbwBuAHMAdAAgAHIAZQBnAGUAeAAgAD0AIAAvADoALwAvAFsAXgA6AC8AXQAqAC8ACgAKAC8ALwAgAF4AIAB1AHAAbwBuACAAcwBhAHYAaQBuAGcALAAgAHcAaABpAGMAaAAgAHcAaQBsAGwAIABjAGEAdQBzAGUAIABhAHAAcABsAGkAYwBhAHQAaQBvAG4AIAB0AG8AIABjAHIAYQBzAGgALgAgAAoACgAvAC8AIABUAGUAbQBwAG8AcgBhAHIAaQBsAHkAIABzAG8AbAB2AGUAZAAgAHUAcwBpAG4AZwA6ACAACgAKAC8ALwAgAGIAaQBvAG0AZQAtAGkAZwBuAG8AcgBlACAAbABpAG4AdAAvAGMAbwBtAHAAbABlAHgAaQB0AHkALwB1AHMAZQBSAGUAZwBlAHgATABpAHQAZQByAGEAbABzADoAIABiAGkAbwBtAGUAIABiAHUAZwBzACAAbwB1AHQAIABvAG4AIAByAGUAZwBlAHgAIABsAGkAdABlAHIAYQBsAHMA
Expected result
As the string does not contain any concatenation, I find it weird that Biome tries to lint it differently when saving.
As can be seen in the playground link, this:
const regex = new RegExp("://[^:/]*")
turns into this:
 const regex = /://[^:/]*/
when saving/running linter. This is a syntax error and will crash the node application.
Expected outcome is, I guess, that Biome does not do anything with this variable's value, as there is no string concatenation present.
Using // biome-ignore lint/complexity/useRegexLiterals temporarily to avoid this, but that should not be necessary.
Code of Conduct

[X] I agree to follow Biome's Code of Conduct

I'll take a look :)


[registry/auth] Update access controller interface

Rename Challenge error interface to AuthenticationChallenge.
Introduce PermissionDenied error for indicating insufficient access.
Remove 'Access' type to simplify 'Authorized' calls to use only a
single resource with multiple actions.
Relies on #1033
Fixes #749
Fixes #967

This isn't really the direction we'd like these interfaces to head. Not sure if this will be an easy merge, either.


Add Bahasa Indonesia translations

Hello, I have added a new translation for Bahasa Indonesia.
Please consider accepting my pull request, thanks

Thank you!


⚠ Jenkins Plugins Artifactory has degraded performance

In 28f989e, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1143 ms

Resolved: Jenkins Plugins Artifactory performance has improved in ab0844d after 12 minutes.


Allow SDK authors to use nullable annotations internally

We would like to allow SDK authors to use nullable annotations internally but avoid them on the public API surface.

[ ] Add a check to ensure we don't ship annotations in public API (a Roslyn analyzer should be reasonable)
[ ] Maybe find a way to compile the package against annotated APIs without shipping an extra package target so the library author get System.* type annotations.

Can you expand on why the annotations shouldn't be on the public API surface? When I'm programming against an API, nullable annotations are a boon to me. They quickly let me know when an API admits a null value and when it doesn't. I have to look at documentation or guess otherwise.


JS Edits not always firing in Usermin>File Manager

Provide the following information:

What is your server-side OS and its version?
Ubuntu 16.04
What is your client-side OS, browser and its versions?
OSX Sierra, Chrome 57
What are the steps to reproduce the issue
I'm not sure if this is a filemin issue or a theme issue but in the theme extension editor I have the code below. The purpose of the code is to hide certain folders/files based on page location to only visibly show files ending in certain extensions, such as .xlsx.

When I go to Others > File Manager and click that it has about a 25% chance of hiding the files, so I know it works sometimes but not all the time. Is this because of the way Webmin loads modules and it's not detecting? I have the function being called from both $(document.ready(function () {}) as well as $(document).ajaxSuccess(function() { }).
Edited out irrelevant code.
Code:
function fileminCleanup() {
	if(window.location.href.indexOf(":20000") > -1 ) {
		$("#list_form tbody > tr").each(function() {
            if(!/(\.csv|\.doc|\.docx|\.xls|\.xlsx|>mnt<|>pd<|>hsx_[A-Za-z]*<)/.test($(this).html())) {
               $(this).hide();
            }

        })
    } //end href if
}

At the moment the current version of Filemin in Usermin is not compatible with the latest version of the theme 18.30+.
It will be fixed on the next release of Usermin. Jamie is ready to do it. Please wait a little longer. In case you still have an issue with it, please let me know.
I'm releasing 18.45 right now.

Ok thanks, wasn't sure. Just to clarify though, that should fix it to work 100% of the time on page loads?

@qooob are there known issues with this despite the recent update? I've updated the theme for webmin/usermin from the github ./theme-update.sh as well as updated webmin+usermin to recent versions but still experiencing this issue on most page loads, file uploads.

What is your Usermin version?

1.710

Just reload the whole page using Ctrl+Shift+R.
Try incognito mode or the other browser. It's stuck cache. Anytime I reload the browser and it's cache it went away.

I'll try another browser, but I went in as incognito and it somewhat worked. The login page was missing our icon and some other theme settings. Everything was good until I got to my desired $PATH and reloaded page from a hard refresh (should trigger $(document).ready()?) and then it didn't work.
Some scripts are working, but the one from the original post at the top is still not working. Also, it does not seem to trigger  on file upload either when the page is loaded.
I can share my code with you if you think it'd help diagnose, there are no errors in dev console but I can try adding some debuggers in. The code is just a bunch of functions that are visual changes since usermin is being used for end users we need it to be as simplified as possible, and then I take those functions in call them in two blocks like so:
$(document).ready(function() {
    allCleanup();
	if(window.location.href.indexOf(":20000") > -1) {
    	   forceFilemin(); //forces screen to file manager
           userminCleanup(); //visual usermin changes
           fileminCleanup(); //removes some drop downs and should hide files but only removes dropdowns when it doesnt work
          putDirections(); //directions for using file manager (for end users, it just overwrites one of the elements under the file manager)
    }
});

$(document).ajaxSuccess(function() {
	if(window.location.href.indexOf(":20000") > -1) {
            forceFilemin();
            fileminCleanup();
            userminCleanup();
            putDirections();
        }
});

What is this code? Is it what you add to extensions?
I'm not sure what is not working for you.

Yes, it's added in theme extensions and I check if :20000 is in the url because I only want these changes to affect Usermin.
This code below is meant to hide certain file types (like in OP) and also hide some other drop downs. Really the most important part is to hide the file types from the regex but that is what is not firing on some page loads, even though part of the function is actually working:
function fileminCleanup() {
	if(window.location.href.indexOf(":20000") > -1) {

        //Hide option to make new tabs - don't remove.
        $("#file-manager-new-instance").remove();

        //Hide any files that don't atch the specified file types, or if they are folder in the `/mnt/pd/abc_` path
		$("#list_form tbody > tr").each(function() {
    		if(!/(\.csv|\.doc|\.docx|\.xls|\.xlsx|>mnt<|>pd<|>abc_[A-Za-z]*<)/.test($(this).html()))
    		{
            	$(this).hide();
    		}
		});

		//clean up drop downs to only include create new file
        $("body.filemin.file-manager div.btn-group.pull-right ul[aria-labelledby*=dropdownMenu] li").each(function() {
        	if($(this).html().toLowerCase().indexOf("upload to current directory") > -1) {
            	return true; //leave this one
            } else {
            	$(this).remove();
            }
        });

        //remove drop downs that don't matter
        $("body.filemin.file-manager div.btn-group.pull-right button").each(function() {
        	if($(this).html().toLowerCase().indexOf("file") > -1) {
            	return true;
            } else if($(this).html().toLowerCase().indexOf("fa-refresh") > -1) {
            	return true;
            } else if($(this).html().toLowerCase().indexOf("fa-trash") > -1) {
            	return true;
        	} else {
            	$(this).remove();
            }
        });
   } }

Hope that makes more sense, thanks for the help

The problem is that dataTables (DT) draw's function run each time the table changes. Looking at your code makes me think that it would only hide things upon first load?
It's not gonna be easy to achieve as the core code isn't meant to be extensible like this at the moment.
Hiding menus is probably alright but what about the hotkey? User can always click the hotkey?
I really not sure why you're trying to cut-off functionality like this.
It seems to me like this "security via obscurity" is not secure at all.

I do agree with you about the "security via obscurity" but it's more of hiding against accidents rather than malicious attacks. After all, I don't think using client sided code would ever be considered a security best practice anyway. Not too worried about the hot key. If someone ends up using a hot key then so be it, or I guess I could just throw listeners in there and just return false.
The draw function must work on ajax because the $().ajaxSuccess() picks up most changes, and sometimes fixes ones that weren't caught.
We went with webmin/usermin for this usage because of its ease of use specifically with privacy because of the need for HTTPS and authenticating Unix users directly, also your theme makes it a lot more attractive for everyday end users and back end alike.

Would it be feasible to use dataTable's drawCallback? Only downside is the datatable creation is on the server I believe..

Would it be feasible to use dataTable's drawCallback

It would be possible but it will be difficult to do.
No, dataTables runs on the client-side.


Add monitoring dbt project [DE-274]

This PR migrates the one-off view in /analysis/rpt_pipeline_health.sql into a standalone dbt project for all data monitoring use cases.
TODO (post-merge):

[ ] manually deploy changes to dbt_project.yml and various schema.yml files

oooooo gonna look now - real quick @jackwelty have you tried running this dbt locally?

oh actually I just saw your other PR with the DAG! presumably that's running in dev if this PR is ready for review 🧐 👀

oh actually I just saw your other PR with the DAG! presumably that's running in dev if this PR is ready for review 🧐 👀

Yep green runs locally and in dev!


[ERROR] begin_create_operation failed, when executing sync

now we are trying to use this plugin, but below error happens.
will dive into details
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/spaceone/core/pygrpc/api.py", line 100, in _generate_response
    for response in response_iterator:
  File "/usr/local/lib/python3.8/site-packages/plugin_azure_cost_mgmt_cost_datasource-1.1.9-py3.8.egg/cloudforet/cost_analysis/interface/grpc/plugin/cost.py", line 15, in get_data
    for costs_data in response_stream:
  File "/usr/local/lib/python3.8/site-packages/plugin_azure_cost_mgmt_cost_datasource-1.1.9-py3.8.egg/cloudforet/cost_analysis/manager/cost_manager.py", line 51, in get_data
    blobs = self.azure_cm_connector.begin_create_operation(
  File "/usr/local/lib/python3.8/site-packages/plugin_azure_cost_mgmt_cost_datasource-1.1.9-py3.8.egg/cloudforet/cost_analysis/connector/azure_cost_mgmt_connector.py", line 108, in begin_create_operation
    raise ERROR_UNKNOWN(message=f'[ERROR] begin_create_operation failed')
spaceone.core.error.ERROR_UNKNOWN:
        error_code = ERROR_UNKNOWN
        status_code = INTERNAL
        message = [ERROR] begin_create_operation failed
2024-02-08T09:22:27.265Z [ERROR]       (azure_cost_mgmt_connector.py:107) [begin_create_operation] error message: Operation returned an invalid status 'Not Acceptable'
2024-02-08T09:22:27.266Z [ERROR]       (api.py:93) (Error) => [ERROR] begin_create_operation failed
        error_code = ERROR_UNKNOWN
        status_code = INTERNAL
        message = [ERROR] begin_create_operation failed
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/plugin_azure_cost_mgmt_cost_datasource-1.1.9-py3.8.egg/cloudforet/cost_analysis/connector/azure_cost_mgmt_connector.py", line 94, in begin_create_operation
    response = self.cost_mgmt_client.generate_cost_details_report.begin_create_operation(scope=scope,
  File "/usr/local/lib/python3.8/site-packages/azure/core/tracing/decorator.py", line 78, in wrapper_use_tracer
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/azure/mgmt/costmanagement/operations/_generate_cost_details_report_operations.py", line 329, in begin_create_operation
    raw_result = self._create_operation_initial(
  File "/usr/local/lib/python3.8/site-packages/azure/mgmt/costmanagement/operations/_generate_cost_details_report_operations.py", line 164, in _create_operation_initial
    raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
azure.core.exceptions.HttpResponseError: Operation returned an invalid status 'Not Acceptable'

Hi, @kaz-tk
I apologize for the delayed response. After reviewing the details you provided, it seems that there might be a network issue or an issue with your billing account status.Of course, I will conduct further investigation. Could you please check your environment and the status of your Azure Billing Account as well?


How to Turn On Multicore Computing

use "collections"
use "time"
use "math"

actor Main
  new create(env: Env) =>

    var c: U64 = 1000
    for i in Range[U64](0, 10) do
      c = c * 10
      var re = b(c)
      env.out.print(re._1.string() + "," + re._2.string())
    end

  fun b(count: U64):(U64, U64) =>
    var total: U64 = 0
    var t = Time.now()

    for i in Range[U64](0, count) do
      if a(i) then total = total + 1 end
    end

    (total, (Time.wall_to_nanos(Time.now()) - Time.wall_to_nanos(t)) / 1000000)

  fun a(num: U64): Bool =>
    var num' = num
    var tnum: U64 = 0

    while num' != 0 do
      tnum = (tnum * 10) + (num' % 10)
      num' = num' / 10
    end

    tnum == num

if@mint ~ $ cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c
      4  Intel(R) Core(TM) i3-4170 CPU @ 3.70GHz

if@mint ~/Documents/test/aaaa $ /home/if/Downloads/ponyc-master//build/release/ponyc -v
0.8.0 [release] (llvm 3.8.0) (cc (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609)
if@mint ~/Documents/test/aaaa $ /home/if/Downloads/ponyc-master//build/release/ponyc
Building builtin -> /home/if/Downloads/ponyc-master/packages/builtin
Building . -> /home/if/Documents/test/aaaa
Building collections -> /home/if/Downloads/ponyc-master/packages/collections
Building ponytest -> /home/if/Downloads/ponyc-master/packages/ponytest
Building time -> /home/if/Downloads/ponyc-master/packages/time
Building math -> /home/if/Downloads/ponyc-master/packages/math
Generating
 Reachability
 Selector painting
 Data prototypes
 Data types
 Function prototypes
 Functions
 Descriptors
Optimising
Writing ./aaaa.o
Linking ./aaaa
Warning: environment variable $CC undefined, using cc as the linker
if@mint ~/Documents/test/aaaa $ ./aaaa
199,0
1099,2
1999,27
10999,104
19999,911
109999,10744
199999,123596

top - 10:49:00 up  1:41,  1 user,  load average: 1.59, 1.20, 0.76
Tasks: 213 total,   1 running, 212 sleeping,   0 stopped,   0 zombie
%Cpu0  :100.0 us,  0.0 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu1  : 19.6 us,  1.0 sy,  0.0 ni, 58.8 id, 20.6 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu2  : 11.9 us,  4.0 sy,  0.0 ni, 84.2 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu3  : 16.3 us,  2.0 sy,  0.0 ni, 74.5 id,  7.1 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem :  8073476 total,  4113476 free,  1236980 used,  2723020 buff/cache
KiB Swap:  8286204 total,  8286204 free,        0 used.  6003876 avail Mem

You have one actor. Actors are the unit of concurrency. You wont ever run on more than 1 core.
This is really more of a mailing list question. In the future, please direct "how do I?" questions there:
https://pony.groups.io/g/user
We try to keep issues limited to bugs.
I'm happy to pick up this conversation with you on the mailing list and talk about designing for the actor model.

`use "collections"
actor Main
new create(env: Env) =>
var c: U64 = 1000
for i in Range[U64](0, 100) do
  c = c * 10
  Aaa(env, i, c)
end

actor Aaa
new create(env: Env, index: U64, count: U64) =>
env.out.print(index.string() + "," + count.string())
var total: U64 = 0
for i in Range[U64](0, count) do
  total = total + 1
end

`
top - 11:41:45 up  2:34,  1 user,  load average: 2.06, 2.33, 2.32 Tasks: 215 total,   1 running, 213 sleeping,   0 stopped,   1 zombie %Cpu0  :100.0 us,  0.0 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st %Cpu1  :100.0 us,  0.0 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st %Cpu2  :  5.0 us,  2.0 sy,  0.0 ni, 92.0 id,  1.0 wa,  0.0 hi,  0.0 si,  0.0 st %Cpu3  :  4.1 us,  2.1 sy,  0.0 ni, 92.8 id,  1.0 wa,  0.0 hi,  0.0 si,  0.0 st KiB Mem :  8073476 total,  3625868 free,  1650332 used,  2797276 buff/cache KiB Swap:  8286204 total,  8286204 free,        0 used.  5569352 avail Mem
help me
cpu2 and cpu3 still do not work

@SeanTAllen

Please bring this up on the mailing list.


option -d ignored & snapshot delete gives error

Hi Jack,
I had to make some changes to your code in order to make the snapshot delete work :

-d option was ignored because the command line arguments were not processed by the setScriptOptions() function.

FIX :
310c310
< setScriptOptions
---
> setScriptOptions "$@"

error when deleting snapshot :

ERROR: (gcloud.compute.snapshots.delete) too few arguments
Usage: gcloud compute snapshots delete  NAME [NAME ...] [optional flags]

FIX :
291c291
<            OUTPUT_SNAPSHOT_DELETION=$(deleteSnapshot) ${snapshot}
---
>            OUTPUT_SNAPSHOT_DELETION=$(deleteSnapshot ${snapshot})

Kind regards,
Koen.

please ignore remark (2) ... it's a bugfix for a bug I seem to have introduced myself ... sorry.
sorry,
Koen.

Cheers Koen - I've updated master!


add Kolors

Thanks for providing kolors support in our webui. However, we plan to merge the kolors_pipeline to sdxl_pipeline, so that the models based on SDXL (LoRA, IP-Adapter, AnimateDiff) can be used in Kolors. We will support kolors in the webui later.


Build Error from 'bpfrpt_proptype_WindowScroller'

when i run my program, will appear this error

i find this line, this var is not use and why import it? how can i fix it?

help me

@Hank-LinJunYu Searching this term in the repo: https://github.com/search?q=repo%3Abvaughn%2Freact-virtualized+bpfrpt&type=issues
Shows this as the most recent issue: https://github.com/bvaughn/react-virtualized/issues/1849
And history dating back to https://github.com/bvaughn/react-virtualized/issues/1722 and https://github.com/bvaughn/react-virtualized/issues/1632
Perhaps this plugin (https://www.npmjs.com/package/esbuild-plugin-react-virtualized) will be the most helpful? Good luck!


Add public preview API in DataMap

Add public preview APIs for

Audit log API
This audit API has been previously reviewed.
Issue: https://github.com/Azure/azure-rest-api-specs/issues/24004
PR: https://github.com/Azure/azure-rest-api-specs/pull/24133
Path: POST /audit/query
Updates:

Using continuationToken instead of watermark

Entity delete with hierarchy
This API has been previously reviewed.
PR: https://github.com/Azure/azure-rest-api-specs/pull/23095
Issue: https://github.com/Azure/azure-rest-api-specs/issues/23248
Updates:

Using query parameter parallelCount
Instead of using hierarchy within the api path, we use entity/bulk/delete
Path:
DELETE /entity/bulk/delete
GET /entity/operations/{operationId}

Diff: https://openapihub.azure-devex-tools.com/tools/diff/eyJzb3VyY2VVcmwiOiJodHRwczovL2dpdGh1Yi5jb20vQXp1cmUvYXp1cmUtcmVzdC1hcGktc3BlY3MvYmxvYi9tYWluL3NwZWNpZmljYXRpb24vcHVydmlldy9kYXRhLXBsYW5lL0F6dXJlLkFuYWx5dGljcy5QdXJ2aWV3LkRhdGFNYXAvc3RhYmxlLzIwMjMtMDktMDEvcHVydmlld2RhdGFtYXAuanNvbiIsInRhcmdldFVybCI6Imh0dHBzOi8vZ2l0aHViLmNvbS9BenVyZS9henVyZS1yZXN0LWFwaS1zcGVjcy9ibG9iL3lpZmFuemhvdTkyMi0xMC0wMS1wcmV2aWV3L3NwZWNpZmljYXRpb24vcHVydmlldy9kYXRhLXBsYW5lL0F6dXJlLkFuYWx5dGljcy5QdXJ2aWV3LkRhdGFNYXAvcHJldmlldy8yMDIzLTEwLTAxLXByZXZpZXcvcHVydmlld2RhdGFtYXAuanNvbiJ9
Click here to open a PR for a Data Plane API.
Click here to open a PR for a Control Plane (ARM) API.

Hi @mikekistler , @MushMal , could you please help review the API changes for this public preview version?  These two set of APIs have been go through the review meeting and updated accordingly. Many thanks.

The new version is missing a client parameter that was found in the old version. Was 'operationGuid' removed or renamed?
New: Azure.Analytics.Purview.DataMap/preview/2023-10-01-preview/purviewdatamap.json#L7271:3
Old: Azure.Analytics.Purview.DataMap/stable/2023-09-01/purviewdatamap.json#L6779:3
For this breaking changes, the original operationGuid was never used in the old version. In the new version, we rename it to operationId to align with the azure guidelines.

Thanks @weidongxu-microsoft  for the review comments. Could you please help signoff this preview version changes if there are no other comments needed for discussion. Many thanks.

API need further review

https://github.com/Azure/azure-rest-api-specs/pull/26689#discussion_r1427468482
https://github.com/Azure/azure-rest-api-specs/pull/26689#discussion_r1432314451

/pr RequestMerge

Please get a breaking changes approval from Azure Breaking Changes Reviewers<EMAIL_ADDRESS>and ARM can review the changes afterwards. Once you have the approval, please remove the "ARMChangesRequested" label from the PR to make the PR visible to the ARM reviewers.

The new version is missing a client parameter that was found in the old version. Was 'operationGuid' removed or renamed? New: Azure.Analytics.Purview.DataMap/preview/2023-10-01-preview/purviewdatamap.json#L7271:3 Old: Azure.Analytics.Purview.DataMap/stable/2023-09-01/purviewdatamap.json#L6779:3
For this breaking changes, the original operationGuid was never used in the old version. In the new version, we rename it to operationId to align with the azure guidelines.

Skip the breaking change CI. As detailed by Yifan, the removed model was never used anywhere. So removing should not affect anyone (no SDK released for DataMap).
This is PR for data-plane.

API need further review/discussion

Add public preview API in DataMap #26689 (comment)
Add public preview API in DataMap #26689 (comment)

One again, do review these in next preview or before GA


Avatar custom ring bug fix

Platforms Impacted

[x] iOS
[ ] macOS

Description of changes
The show custom ring toggle has been changed to show even when show ring toggle is off.
Verification
UIKit

Before
After

SwiftUI

Before
After

Pull request checklist
This PR has considered:

[ ] Light and Dark appearances
[ ] iOS supported versions (all major versions greater than or equal current target deployment version)
[ ] VoiceOver and Keyboard Accessibility
[ ] Internationalization and Right to Left layouts
[ ] Different resolutions (1x, 2x, 3x)
[ ] Size classes and window sizes (iPhone vs iPad, notched devices, multitasking, different window sizes, etc)
[ ] iPad Pointer interaction
[x] SwiftUI consumption (validation or new demo scenarios needed)
[ ] Objective-C exposure (provide it only if needed)

Microsoft Reviewers: Open in CodeFlow

This must be what you were working on when you found out that you can't add didSet to a @State. I didn't find a good way to sync the two toggles in SwiftUI, but if it exists, it'd be nice to update the demo so that setting the image ring to true would also set show ring.


Feature relationscan

Immigrate following component to standalone branch:

IndexedRelationScan
KDTreePartitioner, QuadTreePartitioner
QuadTree
QuadTreeIndexRelation

Pls merge the branch instead of copy-paste it...
It causes me a lot of trouble to diff and merge my code to the standalone branch:(


app won't start - any trick to this?

Describe the bug:
<!- my app won't start. -->
Link to the blitz that caused the error
https://stackblitz.com/edit/node-3yzrsi
Steps to reproduce:

Install the app from github (beta feature)
http://github.com/module-federation/microlib
yarn build
yarn start
or use npm
https://stackblitz.com/edit/node-3yzrsi
❯ npm start
$ node --title aegis -r dotenv/config dist/index.js
Error: Cannot find module '/home/projects/node-3yzrsi/aegis'
at Function.Module._resolveFilename (https://node-3yzrsi.jw.staticblitz.com/blitz.ded7c1cfbe6b33641b5f3c9265989f8bd71ed771.js:6:186558)
at Function.Module._load (https://node-3yzrsi.jw.staticblitz.com/blitz.ded7c1cfbe6b33641b5f3c9265989f8bd71ed771.js:6:184175)
at Function.executeUserEntryPoint [as runMain] (https://node-3yzrsi.jw.staticblitz.com/blitz.ded7c1cfbe6b33641b5f3c9265989f8bd71ed771.js:6:709049)
at Object.a0_0x400c (https://node-3yzrsi.jw.staticblitz.com/blitz.ded7c1cfbe6b33641b5f3c9265989f8bd71ed771.js:6:1132061)
at _0x4d4074 (https://node-3yzrsi.jw.staticblitz.com/blitz.ded7c1cfbe6b33641b5f3c9265989f8bd71ed771.js:8:23960)
at _0x40da69 (https://node-3yzrsi.jw.staticblitz.com/blitz.ded7c1cfbe6b33641b5f3c9265989f8bd71ed771.js:11:42003)
at _0x55cdb1 (https://node-3yzrsi.jw.staticblitz.com/blitz.ded7c1cfbe6b33641b5f3c9265989f8bd71ed771.js:11:262912)
at Object.run (https://node-3yzrsi.jw.staticblitz.com/blitz.ded7c1cfbe6b33641b5f3c9265989f8bd71ed771.js:11:262050) {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
~/projects/node-3yzrsi
❯
Expected behavior:

Version of webcontainer:
Hash: ded7c1cfbe6b33641b5f3c9265989f8bd71ed771
Screenshots:

Desktop (please complete the following information):
Browser name  = Chrome
Full version  = 91.0.4472.114
Major version = 91
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 190737743,
  "usedJSHeapSize": 183237791,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}

Additional context:

Hi @tysonrm! Thanks for trying StackBlitz out and reporting back. I believe this could have something to do with the -r flag which if I'm not mistaken, is currently not supported. But chiming in @d3lm for this. Not sure if this is the root cause but that's the first thing that caught my eye.

Yep that's correct. Currently, the -r is not yet supported but that's coming with what I am working on. So basically it won't pre-require your dotenv stuff right now. For the time being you could have one entry point which requires that and then requires the actual main module which you are trying to run. Try and see if that solves the issue or if you run into more issues.

Sure, meant to fix that anyway. Good to know. Note that when i do remove -r as well as --title I run into...
~/projects/node-3yzrsi 6s
❯ yarn start
$ node dist/index.js
TypeError: a is not a function
at https://node-3yzrsi.jw.staticblitz.com/blitz.e6adaf772b18819f7b4ab8325b73d63276acda8f.js:6:224928
at https://node-3yzrsi.jw.staticblitz.com/blitz.e6adaf772b18819f7b4ab8325b73d63276acda8f.js:6:34189
at Object.eval (/home/projects/node-3yzrsi/node_modules/jose/lib/registry/ec_curves.js:5:5)
at Object.function (https://node-3yzrsi.jw.staticblitz.com/blitz.e6adaf772b18819f7b4ab8325b73d63276acda8f.js:11:169884)
at Module._compile (https://node-3yzrsi.jw.staticblitz.com/blitz.e6adaf772b18819f7b4ab8325b73d63276acda8f.js:6:188591)
at Object.Module._extensions..js (https://node-3yzrsi.jw.staticblitz.com/blitz.e6adaf772b18819f7b4ab8325b73d63276acda8f.js:6:188950)
at Module.load (https://node-3yzrsi.jw.staticblitz.com/blitz.e6adaf772b18819f7b4ab8325b73d63276acda8f.js:6:187030)
at Function.Module._load (https://node-3yzrsi.jw.staticblitz.com/blitz.e6adaf772b18819f7b4ab8325b73d63276acda8f.js:6:184608)
at Module.require (https://node-3yzrsi.jw.staticblitz.com/blitz.e6adaf772b18819f7b4ab8325b73d63276acda8f.js:6:187346)
at i (https://node-3yzrsi.jw.staticblitz.com/blitz.e6adaf772b18819f7b4ab8325b73d63276acda8f.js:6:425983)
BTW, this thing is awesome. Hope to get up and running soon. THanks!

this is the same problem mentioned here https://github.com/stackblitz/webcontainer-core/issues/140

Quick update, the -r flag is now supported.
Yea, the a is not a function error seems to be crypto related. We will let you know when there's an update.

@tysonrm We shipped a small fix for crypto that unblocked this. I now observe:
Error: Cannot find module '@module-federation/aegis'

both locally and on WebContainer, so I guess that we've achieved feature parity :wink:
Do you want to try to fix this issue and submit a new blitz?

I certainly will. Nice work. Thanks!

As it appears we've achieved feature parity with local I'm going to close this issue for now, but of course feel free to re-open if it pops back up for you!


Problem with ZXing on iOS 10.1 (Xamarin)

Hi,
We are having some troubles with ZXIng on IOs 10.1.
On scanning we are getting this (we are using xamarin) while it crashes:
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
Here is a fix (at the end of the thread - in code of zxing - ZXingscannerview.cs), but I don't understand why this could fix the problem. Do you have a better fix? Is this a known problem?
https://forums.xamarin.com/discussion/77721/zxingscannerview-does-not-work-anymore-in-ios-10?
Thanks,
Cyber1000

Add this to your Info.plist file:
NSCameraUsageDescription
Allow access to camera
It worked for me on iOS 10.1.1

This appears to be due to a bug in iOS 10 itself.

Thanks for reporting this issue!  Unforunately it took me way too long to respond 😭.  Sorry, I apologize!  Recently the source code for this project was completely refactored to modernize it.  Many PR's were included in this effort, and many bugs were hopefully fixed.  Please try out the latest 3.x series of NuGet packages (currently in prerelease).  To try and make the project more maintainable in my spare time going forward, I've decided to close all existing issues to start with a clean slate.  If you're still experiencing this issue on the newest version, please open a new issue with as much detail as possible.  Thank you for your patience and understanding!  Happy scanning!


Bug when password spraying WinRM protocol

Describe the bug
When password spraying under WinRM and after finding a succesful combination, every other combination is marked as Pwn3d!.
To Reproduce
Command: netexec winrm <IP> -u username.list -p password.list --continue-on-success
Resulted in:

Expected behavior
To not have the Pwn3d tag if it is not even a correct combination.
NetExec info

OS: Linux parrot 6.1.0-1parrot1-amd64
Version of nxc: develop commit d1aec0611e9ae6b36c017ad9b36a857987859357
Installed from: cloning the repo and pipx to install

How to reproduce this issue? just a user & password list?

I see, I test with it, maybe some logic bugs

Okay, I know where is the bug

Fixed!


Dispatchers: fix typo

@fufexan When submitting https://github.com/hyprwm/hyprland-wiki/pull/696 I thought that referencing would work like this https://github.com/hyprwm/hyprland-wiki/blob/33bd679037ce9bba7a11cd202053f671a4d0414c/pages/Configuring/Dispatchers.md?plain=1#L185 because both files are in the same folder. But as I found out now when I clicked on the link in the wiki it doesn't.
Is this now correct?

@fufexan you gon merge?

forgor


Update Razor to support 6.0.0-alpha.1.20575.5.

Mostly bug fixes & minor refactorings in regards to VSCode's operations.

/cc @ajaybhargavb @ryanbrandenburg @TanayParikh

I believe we'll have to copy over these changes manually.

That's for preview3


React-apollo example: correct links to external urls (social providers)

Authentication links were rendered as a react-router Link instead of a simple a tag. As the Link tag does not support external url, it ended up with incorrect urls such as
https://frontend.com/sign-in/https://backend.nhost.run/v1/auth/signin/provider/github

Codecov Report

Merging #754 (64cc648) into main (30f4e53) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #754   +/-   ##
=======================================
  Coverage   96.68%   96.68%
=======================================
  Files          39       39
  Lines        6072     6072
  Branches      375      375
=======================================
  Hits         5871     5871
  Misses        201      201

Continue to review full report at Codecov.

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


Add post about Xcode Playgrounds

Great post! Just a couple of minor suggestions on better wording to use. 😄


Rest-assured decoding gzip response

Hi,
I'am trying to test a gzip response using RestAssured as follows :
given().get("TEST_URL").then().body("/","expectedValue")
The issue is that the response body is compressed in "gzip". I need to decompress it manually with GZIPInputStream(extract().body().asInputStream()) in order to extract the json.
Is there a way in order to get the body() in json format in the response that is returned by RestAssured then()  ?
I tried defining a decoderConfig with :
config(RestAssured.config().decoderConfig(DecoderConfig.decoderConfig().contentDecoders(DecoderConfig.ContentDecoder.GZIP)))
but that just remove the deflate encoding from the header.
Thank you !

Nevermind, it appears my gzip compression was not correct.


feat(checkout): CHECKOUT-8780 Add translated strings for all the text used in new multi shipping UI

What?
Add translated strings for all the text used in new multi shipping UI
Why?
we want to support localisation for new multi shipping UI
Testing / Proof

[x] manual proof

sync changed checkout js to vm and verify:

@bigcommerce/team-checkout

If possible, could you please switch your checkout page to a language other than English and check for any missing translations?

@bc-peng thanks for asking for changing to another locale to test, and indeed I found two places missed and fixed.


Server builds are currently broken due to terser

I get the following when attempting to build the latest server code using npm install:
Hash: 4120e23763458b11ab1b
Version: webpack 4.29.0
Time: 4425ms
Built at: 02/02/2019 10:51:36 AM
 2 assets
Entrypoint main = main.min.css main.min.js
[13] (webpack)/buildin/global.js 472 bytes {0} [built]
[14] ./src/style.scss 39 bytes {0} [built]
[17] (webpack)/buildin/module.js 497 bytes {0} [built]
[21] ./src/main.js + 7 modules 102 KiB {0} [built]
     | ./src/main.js 195 bytes [built]
     |     + 7 hidden modules
    + 19 hidden modules

ERROR in main.min.js from Terser
TypeError: Cannot read property 'minify' of undefined
    at minify (/data/rpetti/git/smee/server/node_modules/terser-webpack-plugin/dist/minify.js:175:23)
    at TaskRunner.boundWorkers (/data/rpetti/git/smee/server/node_modules/terser-webpack-plugin/dist/TaskRunner.js:68:40)
    at enqueue (/data/rpetti/git/smee/server/node_modules/terser-webpack-plugin/dist/TaskRunner.js:89:14)
    at tryCatcher (/data/rpetti/git/smee/server/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/data/rpetti/git/smee/server/node_modules/bluebird/js/release/promise.js:512:31)
    at Promise._settlePromise (/data/rpetti/git/smee/server/node_modules/bluebird/js/release/promise.js:569:18)
    at Promise._settlePromise0 (/data/rpetti/git/smee/server/node_modules/bluebird/js/release/promise.js:614:10)
    at Promise._settlePromises (/data/rpetti/git/smee/server/node_modules/bluebird/js/release/promise.js:690:18)
    at _drainQueueStep (/data/rpetti/git/smee/server/node_modules/bluebird/js/release/async.js:138:12)
    at _drainQueue (/data/rpetti/git/smee/server/node_modules/bluebird/js/release/async.js:131:9)
    at Async._drainQueues (/data/rpetti/git/smee/server/node_modules/bluebird/js/release/async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/data/rpetti/git/smee/server/node_modules/bluebird/js/release/async.js:17:14)
    at processImmediate (timers.js:637:19)

This appears to be caused by webpack-contrib/terser-webpack-plugin#66. I was able to work around it by adding terser version 3.14.1 as a dependency in smee server's package.json.

Thanks for the report @rpetti 🙏 - I'm able to reproduce this as well. We still aren't committing package-lock.json 😭 so this kind of thing is inevitable until #90 is done. I'd really like to finish up #93 before making changes though. Will keep my eye on this, and if we can't resolve #93 we'll fix this up 👍

Great, thanks!

This looks like it fixed itself on its own through a patch version of terser-webpack-plugin. We still need to resolve #90, but I'm going to close this as it seems to be solved.


Dropped a RegExp in favour of an .endsWith

I personally feel this makes the code slightly easier to read. .endsWith is already used the line immediately above the changed one. Therefore, I see no reason not to use it.
Perhaps there's a performance benefit as well, I don't know.

CI has failed. Can you please check it out?

npm ERR! cipm can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with npm install before continuing.
My guess after a quick peek is that it is caused by size-limit ‒ added in 15e94f5361437bf341880915e42044a1f88b4c22 ‒ not being in package-lock.json.

Sure. See #28.
If you merge that first, I'll rebase this PR.

All green!


type-graph.txt does not include a set of classes

The problem
htmlify.p6 yields these errors
Type Telemetry not found in type-graph data
Writing type document for Test ...
Type Test not found in type-graph data
Writing type document for Systemic ...
Type Systemic not found in type-graph data
Writing type document for UInt ...
Type UInt not found in type-graph data
Writing type document for Encoding ...
Type Encoding not found in type-graph data
Writing type document for PredictiveIterator ...
Type PredictiveIterator not found in type-graph data
Writing type document for utf8 ...
Type utf8 not found in type-graph data
Writing type document for StrDistance ...
Type StrDistance not found in type-graph data
Writing type document for WrapHandle ...
Type WrapHandle not found in type-graph data
Writing type document for compiler ...
Type compiler not found in type-graph data
Writing type document for Perl ...
Type Perl not found in type-graph data
Writing type document for Telemetry::Period ...
Type Telemetry::Period not found in type-graph data
Writing type document for Telemetry::Sampler ...
Type Telemetry::Sampler not found in type-graph data
Writing type document for Pod::Defn ...
Type Pod::Defn not found in type-graph data
Writing type document for Lock::Async ...
Type Lock::Async not found in type-graph data
Writing type document for Encoding::Registry ...
Type Encoding::Registry not found in type-graph data
Writing type document for Telemetry::Instrument::Thread ...
Type Telemetry::Instrument::Thread not found in type-graph data
Writing type document for Telemetry::Instrument::Usage ...
Type Telemetry::Instrument::Usage not found in type-graph data

Some of these might not have been actually created (like Telemetry classes, also with tickets in #1834 ), but with others like utf8 it might cause errors as reported in #2416
Suggestions
Add missing classes when needed, or otherwise fix the errors.

I wonder if there's some reason why they were left out. Maybe avoid clutter?

Quite a bit more...
Type Perl not found in type-graph data
Writing type document for Routine::WrapHandle ...
Type Routine::WrapHandle not found in type-graph data
Writing type document for Telemetry::Period ...
Type Telemetry::Period not found in type-graph data
Writing type document for Telemetry::Sampler ...
Type Telemetry::Sampler not found in type-graph data
Writing type document for Pod::Defn ...
Type Pod::Defn not found in type-graph data
Writing type document for Distribution::Locally ...
Type Distribution::Locally not found in type-graph data
Writing type document for Distribution::Hash ...
Type Distribution::Hash not found in type-graph data
Writing type document for Distribution::Path ...
Type Distribution::Path not found in type-graph data
Writing type document for Lock::Async ...
Type Lock::Async not found in type-graph data
Writing type document for Encoding::Registry ...
Type Encoding::Registry not found in type-graph data
Writing type document for X::Attribute::Required ...
Type X::Attribute::Required not found in type-graph data
Writing type document for X::Scheduler::CueInNaNSeconds ...
Type X::Scheduler::CueInNaNSeconds not found in type-graph data
Writing type document for Telemetry::Instrument::Thread ...
Type Telemetry::Instrument::Thread not found in type-graph data
Writing type document for Telemetry::Instrument::Usage ...
Type Telemetry::Instrument::Usage not found in type-graph data
Writing type document for X::Proc::Async::BindOrUse ...
Type X::Proc::Async::BindOrUse not found in type-graph data


FuseController

Starting with SimpleController, this PR takes some of the features of NameWrapper and integrates them into a new controller called FuseController.

The fuses and expiry don't do anything yet, but I assume that's intentional?

This is for sure incomplete. I wanted to get some feedback, on the direction, to make sure we are on the same page.


[rancher-compose] Service Upgrade provide way to delete old service

Currently when running rancher-compose upgrade service1 service2, i have to follow it up with a rancher-compose rm --force service1, it would be nice to have a flag for the upgrade command to remove service1,
eg.
rancher-compose upgrade --remove service1 service2

Pre-duplicate of #1817


object possibly null in short circuit evaluation

An if with condition that contains an explicited short-circuit evaluation cause null check to fail:
   const m:string|null = "a";

   if(m===null || (m.length>50)) throw "";
   m.length;  // ok

   if(m===null || (m!==null && m.length>50)) throw "";
   m.length;  // fails with: Object is possibly 'null'

This actually behaves as designed due to #8548. It's easiest to understand why by breaking it into equivalent separate operations:
if (m === null) throw "";
m;  // string
if (m !== null) {
    m;  // string
    if (m.length > 50) throw "";
    m;  // string
}
else {
    m;  // null (because of #8548)
}
m;  // string | null

In the else clause above, the compiler has computed the control flow type of m to be never. But, because of #8548, the if statement is treated as an assertion that m could be null, and the control flow type of m is therefore changed to null. And since the control flow type of a variable following an if statement is the union of the control flow types at the end of each of the branches, the type of m becomes string | null.
Now, while this explains what's happening, it doesn't necessarily make it right. Without the behavior in #8548, the type of m would be never in the else clause (since, according to control flow analysis, it could never execute). And since string | never is the same as string, we'd give type string to m after the if statement as expected. That certainly would make more sense here.
It may be that #8548 causes more harm than good. We've already had some feedback to that effect, so I'll think about alternatives. One issue is that #8458 also solves the problem we had with this code:
function foo() {
    let x: string | number | boolean = 0;
    x;  // number
    while (cond) {
        x;  // Initially number, then string | number
        x = typeof x === "string" ? x.slice() : "abc";
        x;  // string
    }
    x;
}

During control flow analysis, the initial type of x is number, which cases x to be given type never in the true branch of the conditional operator, which then causes x.slice() to be an error. If we were to back out #8548, we'd need a different solution to that issue.

Fixed in #10118.


Add golangci-lint

Let's enhance code quality injecting golangci-lint into the CICD

@roydahan we need admin to merge this, looks like GitHub has new policy regarding whom can merge new GitHub actions changes.


AT Postcodes - Some of the values are not valid

Hi,
i used fixtures for addresses in different countries. But the provided post code for Austria has in some cases a leading zero like 0476 which is not valid. Austrian post codes does start with 1-9 and not with 0. Is there a fix for that?
Regards
Thomas

Added a fix for this. Although, I did notice Austrian postal code rules aren't completely being followed, see: https://en.wikipedia.org/wiki/List_of_postal_codes_in_Austria
I put a simple fix (limiting first number from 1-9), todo should be to implement rules on the aforementioned wiki link.

Thx.

Shall we close this issue as #1545 has been merged?
We can still follow up with stricter post code generation if we can.

Agree


Intellisense broken on Unix-like OSes

Using
[env:pico]
platform = https://github.com/platformio/platform-raspberrypi.git
board = pico
framework = arduino

(this means ArduinoCore-mbed is used and the builder script in this repo), on Linux and Mac machines with the latest VSCode
Version: 1.68.0
Commit: 4af164ea3a06f701fe3e89a2bcbb421d2026b68f
Date: 2022-06-08T11:49:57.055Z
Electron: 17.4.7
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.4.0-58-generic

and Microsoft C/C++ extension version 1.10.5 and PlatformIO extension version 2.4.3, the Intellisense is broken, while building works.

^-- Specifically tested on Ubuntu 20.04.4 LTS.
As reported in the forum.
Note that IntelliSense works fine on Windows with the same VSCode version. I am not sure why. There seems to be a fundamental problem here in the Intellisense behavior.

Update: This seems to be interconnected with the Microsoft C/C++ extension version:

1.10.5 (latest): fails
1.9.8 (previously released version): good
1.9.7: good
1.8.4: good

We can't fix this issue on our side. There is a CLI MAX_LEN limitation on Windows.
Let me ping the Microsoft team to fix https://github.com/microsoft/vscode-cpptools/issues/9434 ASAP. Thanks for reporting this issue to the vscode-cpptools.

Technically, the fix PR would still use -iprefix for building, but when the target is _idedata, it would read that file and expose the paths in env[CPPPATH] -- so building would not break, but individual paths would show up in Intellisense. But indeed, Microsoft bugs should be fixed instead.

Hi @maxgerhardt , thanks for reporting. Should be fixed in the latest VSCode C/C++ extension v1.10.6. As for the _idedata target, it seems like an internal target used by PlatformIO core, so it might not be the best idea to use it in build scripts.


Crash on TargetComponent.cpp line 31

How to reproduce:
I have a AActor with a Target component and a method called Die(). If I set a SetLifespan to remove the actor from the scene after it dies, the game goes on but when you hit esc to stop the simulation/play in viewport, it crashes in TargetComponent.cpp line 31.
Here's the crash report:
LoginId:e8a1a7f24dc66d495ebf968a08e3cf9b
EpicAccountId:c40bbf764741428c85a49fd30146ff5d
Assertion failed: GetWorld() [File:D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\LockOnTarget\Source\LockOnTarget\Private\TargetComponent.cpp] [Line: 31]
UnrealEditor_LockOnTarget!UTargetComponent::EndPlay() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\LockOnTarget\Source\LockOnTarget\Private\TargetComponent.cpp:78]
UnrealEditor_Engine!UActorComponent::BeginDestroy() [D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\Components\ActorComponent.cpp:690]
UnrealEditor_CoreUObject!UObject::ConditionalBeginDestroy() [D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Obj.cpp:1175]
UnrealEditor_CoreUObject!UnhashUnreachableObjects() [D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp:4837]
UnrealEditor_CoreUObject!UE::GC::CollectGarbageImpl<1>() [D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp:4736]
UnrealEditor_CoreUObject!UE::GC::CollectGarbageFull() [D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp:4538]
UnrealEditor_CoreUObject!CollectGarbage() [D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp:4887]
UnrealEditor_UnrealEd!UEditorEngine::EndPlayMap() [D:\build++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:478]
UnrealEditor_UnrealEd!UEditorEngine::Tick() [D:\build++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:2244]
UnrealEditor_UnrealEd!UUnrealEdEngine::Tick() [D:\build++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\UnrealEdEngine.cpp:531]
UnrealEditor!FEngineLoop::Tick() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5825]
UnrealEditor!GuardedMain() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:188]
UnrealEditor!GuardedMainWrapper() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:118]
UnrealEditor!LaunchWindowsStartup() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:258]
UnrealEditor!WinMain() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:298]
UnrealEditor!__scrt_common_main_seh() [D:\a_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll

Hello, could you provide a little more information about the setup. Wasn't able to reproduce the issue in UE 5.1 (Debug, Development, Shipping editor builds). It's also a bit of a weird callstack since components should be destroyed by the owning actor.
Does this only happen with SetLifeSpan() or with basic DestroyActor() too? Also for testing, try to manually call CollectGarbage() after destroying the target.

Hi!
About the setup:
Using Unreal 5.3.2. Project is using C++ Enemy actor child to another class called BaseCharacter. In blueprint I added the target component to the Enemy and it works great with the LockOnTarget of the HeroClass.
I spawned a new map with some actors, and as the enemy died this function was called:
void ABaseCharacter::Die()
{
DisableCapsule(); // remove collision from capsule component
SelectDeathMontage();
Tags.Add(FName("Dead"));
SetLifeSpan(DeathLifeSpan); //10 seconds by default
}
Replace all the lines above with
void ABaseCharacter::Die()
{
//DisableCapsule();
//SelectDeathMontage();
//Tags.Add(FName("Dead"));
Destroy();
}
The problem persisted.

Here's a short clip https://streamable.com/43fixj

Tried to add CollectGarbage() after the Destroy() call and that crashed the game even before I hit ESC to exit, but I don't know if it's related to your plugin. I never had to call manually the garbage collector after destroying one actor I'm not sure if its safe to do this in the project.

Ok Man, thanks will test it later.


TFException: Attempting to use uninitialized value

Hello,
I'm attempting to import a model created in Keras/Tensorflow and use it for inference in a Unity project.
I have successfully imported the model and validated by printing names of input and output nodes in the graph. Though, when I try to get the output value from the runner, I get this exception.
TFException: Attempting to use uninitialized value action_b
[[Node: action_b/read = IdentityT=DT_FLOAT, _class=["loc:@action_b"], _device="/job:localhost/replica:0/task:0/cpu:0"]]
TensorFlow.TFStatus.CheckMaybeRaise (TensorFlow.TFStatus incomingStatus, System.Boolean last) (at <6ed6db22f8874deba74ffe3e566039be>:0)
TensorFlow.TFSession.Run (TensorFlow.TFOutput[] inputs, TensorFlow.TFTensor[] inputValues, TensorFlow.TFOutput[] outputs, TensorFlow.TFOperation[] targetOpers, TensorFlow.TFBuffer runMetadata, TensorFlow.TFBuffer runOptions, TensorFlow.TFStatus status) (at <6ed6db22f8874deba74ffe3e566039be>:0)
TensorFlow.TFSession+Runner.Run (TensorFlow.TFStatus status) (at <6ed6db22f8874deba74ffe3e566039be>:0)
RecordArbitraryData.AllInOne (System.Single[] input) (at Assets/Scripts/Spells/RecordArbitraryData.cs:324)
RecordArbitraryData.FixedUpdate () (at Assets/Scripts/Spells/RecordArbitraryData.cs:101)
Here is a sanity check function I used to attempt to make a prediction. The model is being imported correctly because I can see the input and output layer's names with debug.
void AllInOne(float[] input){
		var graph = new TFGraph();
		string model_name = "simple_as_binary.pb";
		var model = File.ReadAllBytes(model_dir + model_name);
		Debug.Log(model_dir + model_name);
		graph.Import (model, "");

		session = new TFSession (graph);
		using (session) {
			//Assign input tensors
			var runner = session.GetRunner ();
			runner.AddInput (session.Graph [input_node_name] [0], input);

			//Calculate and access output of graph
			runner.Fetch (session.Graph [output_node_name] [0]);
			float[,] recurrent_tensor = runner.Run () [0].GetValue () as float[,];
		}
	}

@migueldeicaza  Do you have any idea what is happening? Is my graph being initialized incorrectly? Is there a step im missing after importing my model?

You can use this to debug your problem:
https://www.tensorflow.org/programmers_guide/graph_viz

I was able to figure out most of my problems. I'm currently at a point where my model is predicting in unity, but only predicting the first of four classes. My guess is it has something to do with the weights not getting initialized correctly from the checkpoint files?
Preface: Mozilla Firefox works best for displaying tensorboard; it took me a long time to realize that google chrome was causing my graph to be invisible (tensorboard is how I was able to figure out the nodes that needed to be used for input and output).
First Issue: I was renaming a .pb file into a .bytes file. This is incorrect because the model’s weights come from the checkpoint file, and are given to the nodes held in the .pb file.
Second Issue: I was using the file created called ‘checkpoint’, which was throwing an error. I then changed the name of the checkpoint to ‘test’ and used this in the freeze_graph function. When calling the checkpoints file, I was required to use ‘test.ckpt’. I assume this function knows to grab the three files automatically based on the .ckpt? ‘Test’ without ‘.ckpt’  did not work.
Third Issue: when using the freeze_graph function, I needed to export the .pb file in keras/tf with text=False. I tested True and False; True threw an error about “bad wiring”.
Fourth Issue: Tensorboard was very difficult to use without any organization. Using tf.name_scope helped a lot with not only visualization, but making sure I was using/referencing the correct nodes in TensorFlowSharp. In keras I found it helpful to separate the final Dense layer and Activation into their own scopes so I could find the correct output node. The rest of my network was put into a ‘body’ scope, and the sole input layer in ‘input’ scope. The name_scope function prepends ‘scopename/’ to the node name. I don't think it’s necessary, but it helped me.
Fifth Issue: The version of tensorflowsharp released as a unity package is not up to date. This caused an issue with a keras placeholder for ‘keras_training_phase’. In keras, you pass this along with an input like [0] + input. I tried to do the same by creating a new TFTensor(bool), but I was getting an error ‘inaccessible due to its protection level. This was an error with the implicit conversion between bool and TFTensor in my unity TensorFlowSharp version. To fix this I had to use a function found in this stackoverflow solution where the .bytes file is read in, the placeholder for keras_training_phase is found, and is swapped out for a bool constant set to false. This worked for me because my model was pretrained in python, so it may not be a great fix for someone that’s trying to train and test the model. A condition for removing this node with the freeze_graph function would really be useful.
Hope someone finds this useful!


Add a user friendly error message for http exceptions

What this PR does / why we need it:
Adds a user friendly error message to http exceptions that may happen when sending requests to the predictor node.
Example error log:
2024-12-12 12:12:12.333 37708 kserve ERROR [_http_predict():279] Could not send a request to predictor at url https://predictor/generate with headers {'Content-Type': 'application/json', 'x-request-id': 'xxxxx'} and with data b'{"inputs":"generate prompt text.","parameters":{"max_new_tokens":128,"temperature":0.9,"top_p":0.9,"top_k":50,"seed":12345,"details":true,"do_sample":true}}' due to exception [Errno 8] nodename nor servname provided, or not known

Type of changes
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Feature/Issue validation/testing:
Tested locally. Spun up a transformer and pointed it to a wrong url. Generated the log message above.
Special notes for your reviewer:
No image changes.
Checklist:

[ ] Have you added unit/e2e tests that prove your fix is effective or that this feature works?
[x] Has code been commented, particularly in hard-to-understand areas?
[ ] Have you made corresponding changes to the documentation?

Release note:

Not worth of a release note.

cc @yuzisun @cmaddalozzo

/hold

Can you sign DCO?

Yes, signing the DCO in a minute.

@terrytangyuan signed the DCO. Thank you.

/lgtm

/assign @jinchihe

@jinchihe @terrytangyuan @yuzisun is there anything else needs to be done for this pr?

/unhold

/assign @yuzisun

/unassign @terrytangyuan

/meow

@grandbora You'll have to be a little more patient since the only active approver is @yuzisun right now.

/lgtm
/approve


Can not export motions with broken relations

Describe the bug
Motion export is not working when you have an amendment where the referenced original motion does not exist any more. An error is then shown in the developer console, but no error dialogue is shown.
How to Reproduce

Create a motion: m1
Create an amendment to this motion: m1a
Delete motion m1
Try to export all motions as an PDF

Expected behavior

Error dialogue that the export did not work because of broken relations
Export without the amendment m1a with information that this one is missing

System information

OpenSlides-Version: OpenSlides 3.3-master-20201008

#5131


Is it possible to have the glow as well?

I know the glowing effect takes some custom css to be imported for vscode.
hyper supports custom css natively, that should make it possible right?
I could look into it and do a pr if you like.

Hey man ;) that's would be amazing! We can try to arrive in close glowing effet. Fell free to do your PR ;)

As promised I've looked into it, and it unfortunately seems like it's not possible.
Since Hyper v2 it uses xterm.js, which outputs to a canvas, it's no longer possible to apply CSS styles to the text itself. I've also looked at xterm.js' theming options, but it only supports simple colors, no text-shadow-like styles.
I will open an issue at xterm.js but I doubt that the use case is relevant enough for them to consider adding something like this. I'll include this image to hopefully convince them:

It's a pity, if i could collaborate in some way, please tell me ;)


Allow to filter out wait events through the rest api

Hi,
I am developing a discovery service based on the version 2.0 of the rest api.
Each instance is represented by a key associated to a ttl which is refreshed periodically.
Detecting discovery changes using "?wait=true" would allow to react fast to topology changes (instance added/removed).
However the amount of requests that each instance issues due to the ttl maintenance is too large to be practical.
Assuming a cluster with 100 instances which refresh their ttl every 10 seconds, it would generate an average overhead load of 1k req/s. The overhead load could be reduced to 0 if we could filter out any events else than child keys being added/removed.
Could the next version of the api allow to specify a fine grained set of event types to watch for ?
Regards,
Timothee

In v3 API, we introduce lease concept. As long as lease is valid, the keys attached to the lease will be there. When the lease expires or revoked, the keys will be deleted. (https://github.com/coreos/etcd/pull/2675/files#diff-22f48da10db79c87fa69a04d3203af57R36)
I think it can handle your use cases perfectly, right?

@yichengq Thanks for your reply. Currently, I store each instance announce under the key
/announces/<uniqueId>
           + value = "{ ... some json identifying the instance associated to the announce ...}"
           + ttl = 10

where <uniqueId> key is created by etcd atomically and in order (POST req + ttl)
The first announce (ordered by the key name) under /announces/ is the leader in my topology.
I looked at the Lease proposal and I would need a few details to see if it could fit. My understanding is the following:
before creating a <uniqueId> key, I would need to first create a lease using LeaseCreate.
The lease would not be stored in the existing structure of key and folders but and I would get a lease id back.
Then, I would need to atomically create a <uniqueId> key and associate it to the lease. For this operation, the API proposal seems to provide LeaseTnx, however it seems the doc says
This is rpc is useful when you want to put a key and attach it to a lease atomically.

Would that also work with created keys (using POST) ?
If that's the case, then I could apply the lease concept to my existing data structure and periodically extends the lease ttl instead of the <uniqueId> key ttl (in fact there would be no ttl on it).
Furthermore, if there will be no events generated when extending the lease (using LeaseKeepAlive), then it would be an efficient way to solve the problem mentionned in this issue.
Are my assumptions regarding the events and ability to atomically create and associate keys to a lease correct ?
Thanks a lot!

Would that also work with created keys (using POST) ?

Yes. You can use LeaseAttach to attach existing keys to the lease. Or you can use LeaseTnx to create key in the lease.
We don't support POST in v3, and instead you can create unique key using transaction.

I would set a single watch under the key /announces/ which would trigger either when an announce key is removed (because the lease has elapsed, because the instance failed to refresh it) or when the announce is modified (because an instance changed its properties stored under its announce key).

Yes, and you will not receive refresh info anymore. That also helps etcd to have better ttl key scalability.

We don't support POST in v3, and instead you can create unique key using transaction.

Excellent. I don't see how it could not fit, so I'll close this issue. Thanks!


Very good program, but Now E subtitle cannot download fully...all I can download from 0:00 to 40:00 around....

only around 0:00 - 40:00 downloaded, after 40:00 mins....will be missed...
very nice program and very easy to use

what is the issues of this? I can duplicate the issues

how to send you my account?


"Debug JS Remotely option not seen on IOS simulator

Description
I want to set breakpoint at various point in code. But even after installing the react-native-debugger and restarting simulator, i don't see "Debug JS Remotely" option which hampers my debugging. Kindly help.
Version
0.68.2
Output of npx react-native info
info Fetching system and libraries information...
(node:69634) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
System:
OS: macOS 12.6
CPU: (8) arm64 Apple M1
Memory: 182.97 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.13.0 - /usr/local/bin/node
Yarn: 1.22.17 - /usr/local/bin/yarn
npm: 8.1.0 - /usr/local/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK: Not Found
IDEs:
Android Studio: 2021.2 AI-212.5712.43.2112.8609683
Xcode: 13.3/13E113 - /usr/bin/xcodebuild
Languages:
Java: 18.0.1 - /usr/local/opt/openjdk/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.68.2 => 0.68.2
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce

Run any app in IOS simulator.
In simulator menu, go to Device>Shake.
you will see debugging options, but no option of "Debug JS Remotely".

Snack, code example, screenshot, or link to a repository

hi @rukna123, I tried and found that you already have enabled "Debug JS Remotely" this text has changed to "Debug with Chrome". Also you need to close the default tab open in chrome or your preferred browser by react native default debugger than you need to reload the bundle by pressing r in metro terminal.
Let me know if this solves your issue or not.

You're right Lovely, thanks for helping out!!


Implement and observability example

Description:

Write an observability example in Ballerina based on doc
https://docs.wso2.com/display/EI650/Using+the+Analytics+Dashboard

Fixed.
https://github.com/wso2/ballerina-integrator/pull/326/files


#0002: Find cheaper alternatives to OpenAI API.

Currently, this program utilizes OpenAI's API, which, while effective, incurs significant costs. I am exploring alternative, cost-effective APIs, models, or web scraping methods to optimize expenses.

Planning to use a private LLM hosted in my Azure account.


Login link in the footer is changed to sign out link if user is logged in

Describe the changes you have made in this PR -
There is a redundant login link in the footer if a user is currently signed in. It now changes to a sign out link if there is a user signed in.
Screenshots of the changes (If any) -
When user is not logged in:

When user is logged in:

Coverage remained the same at 84.266% when pulling 13fc9b584a5c1f80cabdbd0fde44b0e0745a3831 on hconlin:changed-login-link into d7b831b5f29d05e8a0aa6250d4d9449f31a631cc on CircuitVerse:master.

@hconlin are you working on the required changes, I could see the files changes commited in this PR.

@aayush-05 someone actually fixed this after I had submitted this pull request I just forgot to close it. Closing it now. https://github.com/CircuitVerse/CircuitVerse/pull/1301


Can I fork and change this?

@hkbakke I don't see any license so... I have to ask. Can I make a version of this where the bash doesn't insult you but instead is saying nice things?

Also what license to add? Or not add anything, if given the permission to fork?

Hi, I added a license to the project. Just go and have fun with it!
However, I just added the possibility to configure your own messages using CMD_NOT_FOUND_MSGS and CMD_NOT_FOUND_MSGS_APPEND as documented in the README, withouth having to change the source code at all. Perhaps this will solve your problem without having to write your own version!

Nice. Thanks. In my case I kinda want to have an anime girl bash sorta thing, so I will see.


No sound in vscode.dev

I was able to install this in vscode.dev
I added a MP3 into my Local Library
But playing has no sound

Please post the log.

If I only want to play local files, must I login and have an account to music.163.com?


Support timestamp epoch integer in to_timezone function

What type of enhancement is this?
API improvement
What does the enhancement do?
From https://github.com/GreptimeTeam/greptimedb/pull/3470 and follow up #2029.
We support timestamp type only so far (String can be implicitly casted to timestamp). Perhaps add support for timestamp epoch integer in milliseconds precison.
Implementation challenges
No response

You can check the code here for how to handle Int input.


upto facebook share api

Hi Danish, this build contains the following functionalities :
Category - Add, GetAll, Subscribe
User - Registration, FacebookShare
Deals - Add, GetMyDeals
Accept the pull request; I will be creating the wiki soon.

I have merged the pull request.


Implement support for Zepto.js

http://zeptojs.com
Should be almost identical API to jQuery.

Low priority at the moment, but might be really quick and easy to implement.

Try this, Zepto.js. Made with TypescriptToCS2.


update google bucket references [DFE-6]

updated all instances of gs://broad-references to gs://gcp-public-data--broad-references
https://broadworkbench.atlassian.net/browse/DFE-6

Updates to the JSON for the new google reference bucket were merged here


TTF files don't work in compiled executable

The TTF font files are not loaded properly when in fused/compiled mode. They work only when running the engine from the source itself. In other case, they are reported as missing.

Fixed: https://github.com/jakubg1/OpenSMCE/commit/a991ad0761897026a0ba6598782fde71d090ee1d


Subscribe to SAP Process Automation Using Booster in SAP BTP Free Tier

Tutorials: https://developers.sap.com/tutorials/spa-subscribe-booster.html
Hi Team,
According to Step 1 (first tutorial), the SAP Process Automation is only available in the SAP BTP Free Tier Account (so not in a Trial Account).
When continuing to the next tutorial - Create a Business Process, it is stated otherwise. The Prerequisites is stated as follows: "You will need either a trial account with the SAP Process Automation enabled (as described by this blog), or a regular account with the free-tier service plan for SAP Process Automation (as described in Subscribe to SAP Process Automation Using Booster in SAP BTP Free Tier)." Here it looks as if Process Automation is also available within a Trial Account.
This might lead to some confusion.
Kind regards,
Lysanne Jansen

Celine, please update it accordingly since SBPA is available on the Trial account from Nov 2022.Looks like some the places were missed in updating the statement

Hello, updates have been completed.


Why not using key_padding_mask in MultiHeadAttention?

Hi, i noticed you not using the key_padding_mask is the MultiHeadAttention. Which means the mask are not using in the Transformer?
Mu guess is, from the original author, the mask have the img original size info before padding, so the transformer would know which part is real img and which part is padding from the mask.
But you have fixed size input, transformer no need worried the img padding.
If in that case, why not keep them? Any special reason?
"""
 if key_padding_mask is not None:
     attn_output_weights = tf.reshape(attn_output_weights,
                         [batch_size, self.num_heads, target_len, source_len])
     key_padding_mask = tf.expand_dims(key_padding_mask, 1)
     key_padding_mask = tf.expand_dims(key_padding_mask, 2)
     key_padding_mask = tf.tile(key_padding_mask, [1, self.num_heads, target_len, 1])
     #print("before attn_output_weights", attn_output_weights.shape)
     attn_output_weights = tf.where(key_padding_mask,
                                    tf.zeros_like(attn_output_weights) + float('-inf'),
                                    attn_output_weights)
     attn_output_weights = tf.reshape(attn_output_weights,
                         [batch_size * self.num_heads, target_len, source_len])
 """

Hello,
Thanks for the question. A few weeks ago I was about to remove that part since it is never used by the training pipeline (that used fixed-sized input images). However, as mentioned here https://github.com/Visual-Behavior/detr-tensorflow/issues/10 it might be a good feature to have an alternative training pipeline with all the images padded as in the original implementation.
If the feature is useful and needs to be implemented I will go back through that code to check if everything is working properly with padded images.
Thibault

Hello,
Thanks for the question. A few weeks ago I was about to remove that part since it is never used by the training pipeline (that used fixed-sized input images). However, as mentioned here https://github.com/Visual-Behavior/detr-tensorflow/issues/10 it might be a good feature to have an alternative training pipeline with all the images padded as in the original implementation.
If the feature is useful and needs to be implemented I will go back through that code to check if everything is working properly with padded images.
Thibault

Okay, thanks for the explain. So no special reason :)
I think the non-fix size training is actually one of key features of the original one (it might not seems highlight in paper), as the authors specially using the mask. This feature will make this project more suitable for other dataset or training from scratch.

Okay, thanks for the explain. So no special reason :)
I think the non-fix size training is actually one of key features of the original one (it might not seems highlight in paper), as the authors specially using the mask. This feature will make this project more suitable for other dataset or training from scratch.


Ability to use numerics baseline other than llvm-aie

There are some pros and cons of using the llvm-cpu backend as a source of truth for testing the numerical correctness of the code generated for AIE backend.
Pros:

easy (we don't need to write additional code to do convs / matmuls using numpy / torch)
sort of tests 2 backends at once. If there is a discrepancy between llvm-cpu and aie backends, we might end up fixing a bug in llvm-cpu (less likely than fixing a bug in the aie backend)

Cons:

additional compile time, and runtime: cannot benefit by sampling results, like IREE does (via run_matmul_test.sh)
maybe we don't want to rely on llvm-cpu, would prefer to get the source of truth from torch directly, or somewhere else (onnx runtime?)

This PR basically shows how we can switch the llvm-cpu backend for another source of truth. In this PR I use numpy to do a matmul to get the source the truth.
Future things I'd like to do

ability to sample results. AIE in theory can do way more compute than CPU, so if we want to test large matmuls they might be very fast on AIE and slow on CPU. If we can (1) sample the result of the AIE matmul and (2) only compute the outputs at sample indices on CPU, we can have larger matmuls in CI. This is exactly what happens under the hood in run_matmul_test.sh
ability to store golden values as serialized numpy files directly (now that we're confident the random number generation is deterministic across platforms, this is feasible)
Provide nicer (unicorn-level nice) feedback about where the numerical failure is.

We might eventually consider deprecating run_matmul_test.sh (and move all tests here), if that reduces complexity in iree-amd-aie

IIUC there is no actual aie_vs_golden test case added? do we want to do that here?

aie_vs_golden is the base method which aie_vs_llvm_cpu and aie_vs_np_matmul, just for code reuse. Maybe "golden" is confusing in the name of this function, I'll change to aie_vs_provided or aie_vs_baseline


[BuildBuild] Have excellent documentation for how to setup OpenSearch for testing

For the 1.2.0 release this is what we have we should refine and improve this.

Use Docker-Compose to setup a cluster

Download this gist as docker-compose.yml on your machine
Get latest image versions docker-compose pull
Start the cluster docker-compose up

OpenSearch docker

Start without security

Docker command docker pull opensearchstaging/opensearch:1.2.0 && docker run -it -p 9200:9200 -e "discovery.type=single-node" -e "DISABLE_SECURITY_PLUGIN=true" opensearchstaging/opensearch:1.2.0
Connect command curl https://localhost:9200

Start with security

Docker command docker pull opensearchstaging/opensearch:1.2.0 && docker run -it -p 9200:9200 -e "discovery.type=single-node" opensearchstaging/opensearch:1.2.0
Connect command curl --insecure https://admin:admin@localhost:9200

OpenSearch-Dashboards docker

Start without security

Docker command docker pull opensearchstaging/opensearch-dashboards:1.2.0 && docker run -it --network="host" -e "DISABLE_SECURITY_DASHBOARDS_PLUGIN=true" opensearchstaging/opensearch-dashboards:1.2.0
URL https://localhost:5601

Start without security

Docker command docker pull opensearchstaging/opensearch-dashboards:1.2.0 && docker run -it --network="host" opensearchstaging/opensearch-dashboards:1.2.0
URL https://localhost:5601

Use TARs to deploy OpenSearch Manually

OpenSearch - Build 964

arm64 [manifest] [tar]
x64 [manifest] [tar]

OpenSearch Dashboards - Build 364

arm64 [manifest] [tar]
x64 [manifest] [tar]

From Docker Release

@kavilla @peterzhuamazon Can you confirm that the setup for Dashboards is correct?

--network="host" sometimes having issues on macOS.
I normally just use the docker file to handle it.

Closing this issue as we are adding the test documentation in the release issue.


Fix URL for the wget download file example

Purpose/implementation Section
What changes are being implemented in this Pull Request?
Fix a URL to a file
What was your approach?
Find the correct URL, test that it works, commit changes, make PR
What GitHub issue does your pull request address?
None
Tell potential reviewers what kind of feedback you are soliciting.
Is this correct?
New Content Checklist
I don't think any of this stuff was releavant, but please do let me know if it was

Waiting on #69

@sckott everything should be up to date GHA-wise - please merge in changes from main to re-render, thanks!

Right, please update the PR with changes from main first. This will trigger pull_request.yml to rerun

Looks like you're on a fork - can you pull fhdsl:main first to update this PR?

Forks can't initiate workflows. It's something I don't like but there's not a setting around it that I've seen yet.

updated my feature branch on my fork. yeah, i didn't have access to make a branch here, so forked. let me know how to proceed 😄

Forks can't initiate workflows. It's something I don't like but there's not a setting around it that I've seen yet.

That's annoying lol
But obviously the link looks fine. Thanks!

thank you!


[FLINK-33568] Fix NullpointerException in SinkV2MetricsITCase

What is the purpose of the change
Fix the NullpointerException found by the tests: https://issues.apache.org/jira/browse/FLINK-33568?focusedCommentId=17786726&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17786726
Brief change log
Add Null checks
Verifying this change
I was not able to repro the case, I think we might have an intermittent issue where the operator is not initialized when we try to fetch the metrics. This could happen when the specific task does not get any committables.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

Thanks @pvary, lgtm. Will wait for the tests.

@flinkbot run azure

Thanks @XComp and @mbalassi for the reviews and the merge!


init: Create a PoC importing series to Prometheus

Collector: must-gather
TODO:

https://github.com/mtulio/must-gather/pull/ 1/files
https://github.com/openshift/must-gather/pull/ 208/files

Processor: omg-metrics
input:

JSON files resulted by prometheus query collected by must-gather

processor strategies:
A) Backfill using WIP implementation to build tsdb blocks

parse the metrics collected by json converting to CSV
load CSV to TSDB blocks on Prometheus https://github.com/prometheus/prometheus/pull/ 7586

References:

https://docs.google.com/document/d/1MbBjxOVmZBGUyOvPLWtBEawpJoq1GP6iMurcsmLJzBQ/edit
https://github.com/prometheus/prometheus/pull/7586

B) Backfill metrics to a backend that supports remote_read (eg InfluxDB):

parse the metrics collected to a backend
setup Prometheus remote_read to this backend

output:

prometheus container using loaded data (tsdb blocks built by importer OR remote_writer storage)
grafana reading the prometheus DS (Grafana dashboard could also be collected by must-gather)

Next steps

discuss the better way to use. Eg standalone project, integrated with o-must-gather, etc

Sample output:
[...]
Loading metric file: .../omg-metrics/data/sample-must-gather/monitoring/prometheus//metric-apiserver_flowcontrol_request_concurrency_limit.json
{
    "status": "success",
    "totalMetricsReceived": 21,
    "totalPointesWiten": 26586
}