test: fs: Test cases for file system interfaces

Focus on file system interfaces implemented in file system core,
not specific file system.
Signed-off-by: Meng xianglin<EMAIL_ADDRESS>

Hi @pabigot , thank you for your question.
This patch aims to  test the infrastructure of file system which is mainly implemented in subsys/fs/fs.c, test the behavior of interfaces such as fs_open fs_readdir in fs.c which in turn call interfaces implemented in specific file system. Existing test only test apis in specific file system.
Since there is no need to test specific file system but this test really need a specific file system, I disable FatFs and littlefs and include a stub implementation for the sake of simplicity.

I may be mistaken, but I think there's some confusion between mount points (file systems) and file system types (implementations of the fs API).  I've added #25883 to enable support for a custom filesystem implementation as used in this PR.  Supporting that required making some additional changes to the test, which can be viewed at https://github.com/pabigot/zephyr/commits/pr/25570.  In particular, you cannot rely on the type field of a mount point to uniquely identify the mount point.
I do think the test should be renamed to fs_common since it's not actually testing an implementation of the fs API, but rather the glue code that lives between the functions the user calls and a specific fs implementation.
This will be a valuable addition to Zephyr's test infrastructure, but there is significant rework to be done.  The test should be using zassert() macros throughout, rather than returning TC_FAIL which doesn't allow a maintainer to see what specifically wasn't satisfied.  Some of my patches referenced above add examples.
Also there should be infrastructure to make sure that the file system registry, which is owned by the glue code, is reset to a known state after each test completes.  That can probably be done by using setup/teardown functions through [this api](file:///mnt/devel/external/zp/zephyr/doc/_build/html/guides/test/ztest.html#c.ztest_unit_test_setup_teardown).

@zephyrbot Thank you for your concern. I will refine my code according to your #25883 .


replace initialize_all_variables()

This fix is to replace tf.initialize_all_variables() to tf.global_variables_initializer() in test_file_v0_11.py

Nagging Reviewer @aselle: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 14 days with no activity and the awaiting review label has been applied.


[Event Request] COD 396 NoSeriesManagement - OnGetNextNo3OnBeforeModify

Following this Yammer thread
https://www.yammer.com/dynamicsnavdev/#/Threads/show?threadId=97831429193728
Our finance consultants do not want to have 'Empty Posted Documents' created when deleting a non-posted document that has already a pre-assigned posting no. Seems like a specific aversion of empty documents with Belgian accountants.
Therefore we created an option not to create empty documents (to fill the gap of posted document no. series) upon deletion of the non-posted document. Users had to reset the 'Last No. Used' before creating/posting a new document, which is cumbersome. Instead we store the no. in a separate table, and want to re-use this number when creating a new document (instead of increasing the 'last no. used') (This approach is also not 100% fail-safe since numbers might be stored and never re-used ...)
Can you please provide a OnGetNextNo3OnBeforeModify(VAR NoSeriesLine, VAR IsHandled) event on exact place below? (OnAfterGetNextNo3 is not usable for this scenario)
IF ModifySeries THEN BEGIN
  OnGetNextNo3OnBeforeModify(VAR NoSeriesLine, VAR IsHandled); // >> Add event here ...
  IF NOT IsHandled THEN // >> ... to skip the MODIFY
    NoSeriesLine.MODIFY
END ELSE
  LastNoSeriesLine := NoSeriesLine;

PS: Ideally, if MS could avoid to increase / define the actual posted no. series at the beginning of the posting routine (UpdatePostingNos before COMMIT), and include the no. series update as part of the transaction (after the COMMIT), this would solve all of the above work-arounds ...

[ ] Available in BC 14

@AlexanderYakunin
Could you please advice the path MS is thinking to deliver this request?
OnGetNextNo3OnBeforeModify is one of the last remaining publisher to get our Belgian localisation on extensions (although I personally think it's not the nicest solution...).
Or can we expect MS to include setting the actual posted no. series as part of the transaction (after the commit) or would that be a major breaking change?

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

Thanks for submitting this issue. We will publish a fix for it in the next minor update for release 16.


Option to disable the code execution from string (eval and function)

Hey folks,
our scenario is "customer scriptable multitenant" runtime. We want to be very cautious what to allow.
In order to make it a bit more safer,
we need the ClearScript API to disable eval and other ECMAScript APIs that convert strings into code (e.g., the Function CTOR).
I see there is some flag in V8 (pro'ly) resulting right in the behaviour we crave for: "--disallow-code-generation-from-strings"
We were able "disable" eval exectuting the following script:
eval = function() {
    throw new Error("The 'eval' function is disabled.");
}

This is what I've tried with function CTOR so far
test('use function for code generation', async (t) => {
    // Has no effect
    (function () { }).constructor = null;
    // so ....
    // These are the main problem
    const FuncCtor = (function () { }).constructor;
    const AsyncFuncCtor = (async function () { }).constructor;

    const log1 = new FuncCtor('str', 'console.log(str);');
    log1('Hello, world! 1');

    const fetchURL = new AsyncFuncCtor('url', 'return await fetch(url);');
    await fetchURL("https://www.google.com")
        .then((res) => res.text())
        .then((text) => text.slice(0, 100))
        .then(console.log);

    // This is fine, throws (but the lines above....)
    Function = null;
    const log2 = new Function('str', 'console.log(str);');
    log2('Hello, world! 2');
});

Hi @simontom,
How about something like this:
engine.Execute(@"(() => {
    const AsyncFunction = (async () => {}).constructor;
    const ctor = (function () { throw new Error('Function constructors are disabled'); }).bind();
    Object.defineProperty(Function.prototype, 'constructor', { value: ctor });
    Object.defineProperty(AsyncFunction.prototype, 'constructor', { value: ctor });
    Function = new Proxy(Function, { construct: ctor, apply: ctor });
})()");

Please let us know if that works for you. Thanks!

Alright, folks, it seems it's working like a charm :magic_wand: :green_heart:
test('test 1', async (t) => {
    // Disable Function constructor (works like a charm)
    const AsyncFunction = (async () => {}).constructor;
    const newThrowingCtor = (function () {
        throw new Error('Function constructors are disabled');
    }).bind();
    Object.defineProperty(Function.prototype, 'constructor', {value: newThrowingCtor});
    Object.defineProperty(AsyncFunction.prototype, 'constructor', {value: newThrowingCtor});
    Function = new Proxy(Function, {construct: newThrowingCtor, apply: newThrowingCtor});

    try {
        const FuncCtor = (function () {}).constructor;

        const log = new FuncCtor('str', 'console.log(str);');
        log('Hello, world! 1');
    } catch (e) {
        console.log(e);
    }

    try {
        let AsyncFuncCtor = (async function () {}).constructor;

        const fetchURL = new AsyncFuncCtor('url', 'return await fetch(url);');
        await fetchURL("https://www.google.com")
            .then((res) => res.text())
            .then((text) => text.slice(0, 100))
            .then(console.log);
    } catch (e) {
        console.log(e);
    }

    try {
        const log = new Function('str', 'console.log(str);');
        log('Hello, world! 2');
    } catch (e) {
        console.log(e);
    }
});

Error: Function constructors are disabled
    at new <anonymous> (/TypeScriptWorkbench/test/eval-and-function.test.mjs:31:15)
    at TestContext.<anonymous> (/TypeScriptWorkbench/test/eval-and-function.test.mjs:40:21)
    at Test.runInAsyncScope (node:async_hooks:206:9)
    at Test.run (node:internal/test_runner/test:631:25)
    at Test.processPendingSubtests (node:internal/test_runner/test:374:18)
    at Test.postRun (node:internal/test_runner/test:715:19)
    at Test.run (node:internal/test_runner/test:673:12)
    at async startSubtest (node:internal/test_runner/harness:216:3)
Error: Function constructors are disabled
    at new <anonymous> (/TypeScriptWorkbench/test/eval-and-function.test.mjs:31:15)
    at TestContext.<anonymous> (/TypeScriptWorkbench/test/eval-and-function.test.mjs:49:26)
    at Test.runInAsyncScope (node:async_hooks:206:9)
    at Test.run (node:internal/test_runner/test:631:25)
    at Test.processPendingSubtests (node:internal/test_runner/test:374:18)
    at Test.postRun (node:internal/test_runner/test:715:19)
    at Test.run (node:internal/test_runner/test:673:12)
    at async startSubtest (node:internal/test_runner/harness:216:3)
Error: Function constructors are disabled
    at file:///C:/_git/slack/prodaas/TypeScriptWorkbench/test/eval-and-function.test.mjs:31:15
    at TestContext.<anonymous> (/TypeScriptWorkbench/test/eval-and-function.test.mjs:59:21)
    at Test.runInAsyncScope (node:async_hooks:206:9)
    at Test.run (node:internal/test_runner/test:631:25)
    at Test.processPendingSubtests (node:internal/test_runner/test:374:18)
    at Test.postRun (node:internal/test_runner/test:715:19)
    at Test.run (node:internal/test_runner/test:673:12)
    at async startSubtest (node:internal/test_runner/harness:216:3)

IMHO, an option / flag might be a better solution for future handling of such security :bulb:

Thanks a bunch for your lightning-fast help 🙇


Performance optimization for plan action

In common situation terraform plan action can take up 5-6 minutes, purpose of this Issue is to track changes to optimize plan time and achieve around a minute for plan stage.

Closing as 5.6.0


Variable speed per frame

Hello, I have an application which uses an array of images and a variable time per frame starting from 0.04 seconds to 2 seconds. So if the array has 20 images and the time per frame is 0.5 , the total video time should be 20 * 0.5 = 10 seconds.
Would it be possible to do something like this? I am trying to modify the self.movieMaker.frameTime = CMTimeMake(self.frameArray.count, 1.0 / speedPerFrame); but I get some unexpected video output.

Did you read the documentation for CMTime?  It's a strange class and that might be the source of your problem.  Any code examples would be helpful!


Create a form to request food (HTML/CSS/JS) English

Look for the fields in #3 , wait for #4  to close before starting work on this one
For the design, use a standard bootstrap form design
It will use the endpoint /api/request/new and send the form data. Verify it stores correctly by looking into the database or by requesting /api/request/status/:shortId using the short id returned when creating the request.

Working on this one. Please add me as collaborator.

Can do this one. Please add me as collaborator @dvidsilva

Ready to push changes, awaiting access.

@slay2k  sent you an invite so you can push and open a pull request

Thanks @slay2k !


Add X-Indie-Wiki header for BreezeWiki

Coming from a discussion with @cloudrac3r:
When the user is viewing BreezeWiki (or a BreezeWiki mirror), the request should have an X-Indie-Wiki header with value 1. This will allow BreezeWiki to adjust its UI when Indie Wiki Buddy is enabled (e.g. hide any duplicate redirect notices + the notification to install Indie Wiki Buddy).

The x-indie-wiki header will now have value {"power":"on","breezewiki":"on"}; this stringified JSON will let BreezeWiki know that the user has Indie Wiki Buddy installed, and whether the extension and BreezeWiki redirecting is toggled on.

Now available in version 2.0.0


Backport: In airgap setup with private registry, cluster fails to provision - Error: No such image: registry:443/rancher/rke-tools:v0.1.34

Backport https://github.com/rancher/rancher/issues/21621

User error: Including the private registry credentials in custom cluster configuration allowed cluster creation to succeed.


Update matrices.py

Made possible single extraction of values with negative indexes.
I don't understand why if key is not in self.data the output is 0 instead of raising an error. But I think it's a wanted choice so i didn't touch it.

What about setting?  This also lacks tests.

why if key is not in self.data the output is 0 instead of raising an error.

perhaps, because it's a sparse matrix?


feat: Set the complication providers in the default order

Have the weather icon first, the max temp second, and the min temp third.

Seems to be in alphabetical order and not able to be changed at all let alone customised for each complication.


Add RFC 0004 - Values.

Summary | Résumé
Add a copy of the CDS values into the repo to facilitate linking from
other documents as they're created. Each value is a header which means
they should function as anchor tags.

These come from https://docs.google.com/document/d/13mFNfvn1F-HaYBhSEENPdzxrn0Rtg_hFguECUB7CTfk/edit for the moment.


Change Fixnum to Integer for Ruby 2.4

See https://bugs.ruby-lang.org/issues/12005

Sorry folks, I missed the notification. I'll review and look at adding a maintainer.

Merged, released v0.0.3.


Change for loops to map

As @Gridonyx has mentioned, .map() iterates through arrays much faster. Let's make these changes to all of the methods where applicable.

Working on this now

Noticed a bug in .array that I'm also fixing, with how it is currently handling unique = true it could output an array length less than the specified count

This feels like an absolutely disgusting solution but it does fix the bug:
array(arr, count = 1, unique = false) {
  if (arr.length < count && unique) throw new Error(
    "Array length must be larger than count if unique = true"
  );

  let newArr = [...Array(count)].map(
    () => arr[this.to(arr.length - 1)]
  );

  if (unique) {
    newArr = [...new Set(newArr)];

    if (newArr.length < count) {
      while (newArr.length < count) {
        const addElem = arr[this.to(arr.length - 1)];

        if (newArr.includes(addElem))
          continue;
        else newArr.push(addElem);
      }
    }
  }

  return count === 1 ? newArr[0] : newArr;
}

Yeah just make sure you leave comments if it's hard to follow. Also don't forget to add countError!

I'm going to set trying to resolve the bug aside for now and work on getting things updated to use .map()


feat(uikit-playground): Added Action Preview

Proposed changes (including videos or screenshots)

Issue(s)

Further comments

Added Action Preview section to the playground


Invalid SBML generated

The SBML file generated using make_sbml_model is not valid SBML.
Valid SBML files can be checked using the inbuilt cobra function : cobra.io.sbml.validate_sbml_model(path_to_SBML_file)

I don't have access to MATALB - does this test require MATLAB? If so, then I can't use it.

Just generated test SBML file, and checked with libSBML via PyCall. Generated file can be parsed by libSBML. Procedure can be found here: https://stochasticreveller.wordpress.com/2016/08/02/sbml-and-the-julia-programming-language/

I could open the generated SBML with PyCall in Julia1.5


data help!

I want to use the raw data to generate trajectory data for our own robots, but I see in the data generation file that each robot has a dict which contains tuples of multipliers and offsets for each joint. I would like to take the robot H1 as an example and want to know how you determine the values in the dict. Thank you!

Hi!
here we documented how to generate the dataset for each robot. You can check it out and do the same for yours!

What I want to ask is how you map the robot to the numerical value, that is, what is the basis for setting the offset and multiplier of the tuple, thank you!

Hello! Our robot also wants to join the ranks of these robots and make some contributions to the open source library. The actual picture of the robot is as follows. Looking forward to your reply.

Hi  @zhangqingbo6,
sorry for the late reply ..
Your robot looks super cool and is most welcome in LocoMuJoCo!
As of now, the multipliers and offset have to be set manually (we are working on an automated retargeting script). The signs of the multipliers are most important. An easy way to identify the signs of the multipliers is to open two Mujoco simulators, and paste the Xml of your robot in one, and the XML of the HumanoidTorque model in the other (the latter has the same signs as the dataset). Then go joint by joint and check whether they move in the same direction when changing the joint slider or not. If yes, the multiplier can be set to 1, if not set it to -1. Once you have done that, the motion should already look reasonable. The last thing to do is to set the vertical offset of your robot, and maybe adapt the multipliers for the pelvis_x and pelvis_z to reduce sliding feet. But in that stage, I can help fine tuning as well.
Also, your XML has to fulfil some properties to work well with LocoMuJoCo:

it needs to be parseable with mjcf (meta elements in the xml like "frame"  are not supported there)
we currently do not support free joints, you have to add 6 distinct (3 translation; 3 rot) joints for the main body.
we group geoms to group=0 for visual geoms and group=1 for collision geoms (can be a primitive shape)
actuators are expected to be limited (used for action space normalization)
add a license on the top of your xml

If there is anything I could help you with, let me know!

Thank you very much for your reply! We are also very happy to contribute to loco-mujoco and add our robot! We will send you the robot's xml file after completing it later. Is that ok with you? Thank you


Overview page

Codecov Report

Merging #571 into master will increase coverage by 0.09%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #571      +/-   ##
==========================================
+ Coverage   76.53%   76.63%   +0.09%
==========================================
  Files          72       72
  Lines        2549     2546       -3
==========================================
  Hits         1951     1951
+ Misses        598      595       -3

Impacted Files
Coverage Δ

src/events/views.py
64.8% <0%> (+1.51%)
:arrow_up:

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 384c988...977d303. Read the comment docs.


Build Transaction UI Tests

Sorry for the long PR, but it didn't make sense to split the operations into multiple PRs.
I'm testing the happy path for all of the operations and validation tests only where the fields have not already been tested. For example, we can test a public key input once because the same component will be used everywhere where the input is a public key.

Preview is available here:http://laboratory-pr1173.previews.kube001.services.stellar-ops.com/


Replaced declare_tailcall_if with logic in the loader

This PR replaces the declare_tailcall_if macro with loader logic in Go. Before this we had the declare_tailcall_if and invoke_tailcall_if. These were used together to determine if a function should be inlined or be emitted and called as a tailcall. For this to work, both the declare and invoke side needed to have the same condition or risk a missed tailcall.
This change simplifies the datapath code a bit without performance regressions. We now always emit all tailcalls into the ELF, but we use logic in the loader to see if any invoke_tailcall_if or any non-conditional tail_call_static references a given tailcall. If a tailcall is unreachable it will not be loaded, saving us load time.
This is part of a larger movement from compile time logic to load time logic to enable clang-free in the future, and to make the datapath code easier today.
Replaced `declare_tailcall_if` with logic in the loader

/test

/test

/test

/test

/test

/test

/test

/test

/test

/test

/test

/test

/test

/ci-verifier

/ci-verifier

/test

/test

@dylandreimerink Still a few missed tail calls in the jobs I checked (clustermesh & eks). I'll take a closer look this afternoon, maybe I'll spot something.

Still a few missed tail calls in the jobs I checked (clustermesh & eks).
I suspected as much, but I can't find logs / metrics to indicate which one and more specifically its callsite.

/test

/test

/test

/test

/test


Why is Enterprise Edition required?

"VMs in Azure running SQL Server 2016 (or greater) Enterprise edition"... Standard Edition also support AGs, (although you have to create multiple AGs if you have multiple databases) so why is that not supported?

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

ID: 2ccbc869-93e2-edbc-dad6-cbb33df6ca98
Version Independent ID: b5088ad0-a1bd-0060-117c-e37cec2fd02c
Content: Use Azure SQL VM CLI to configure Always On availability group for SQL Server on an Azure VM
Content Source: articles/virtual-machines/windows/sql/virtual-machines-windows-sql-availability-group-cli.md
Service: virtual-machines-sql
GitHub Login: @MashaMSFT
Microsoft Alias: mathoma

@loopfish  I have assigned this issue to the content author to answer your query.

Hi @loopfish , thanks for your question! Let me research this a bit and get back to you. Thanks!

Hi @loopfish , thanks again for contacting Microsoft! After some research, it looks like there are some significant differences between what availability group features are available between a standard and enterprise edition. As such, due to these limitations, enterprise edition is a requirement for deploying an availability group with AZ SQL VM CLI. For more information on these differences, please see basic availability groups. I hope that helps and please let me know if I can be of further assistance. Thanks!

ok, thanks for finding that out for me
closing this issue now


⚠ Spryr has degraded performance

In e392e26, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 4845 ms

Resolved: Spryr performance has improved in 0d56e49 after 11 minutes.


message: 'HTTP Error: Requested page not reachable',   status: '500 INTERNAL SERVER ERROR',   requestURI: 'http://localhost:9984/api/v1/transactions?mode=commit'

Testing local bigchaindb node gives Error
I am following bigchaindb Basic usage example from bigchaindb docs.
https://docs.bigchaindb.com/projects/js-driver/en/latest/usage.html
I am using following versions :
bigchaindb : 2.0
bigchaindb-driver: 4.0.0
But I face following problem
In node console :
{ message: 'HTTP Error: Requested page not reachable',   status: '500 INTERNAL SERVER ERROR',   requestURI: 'http://localhost:9984/api/v1/transactions?mode=commit' }
From bigchaindb server console :
Traceback (most recent call last):   File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1949, in full_dispatch_request     rv = self.dispatch_request()   File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1935, in dispatch_request     return self.view_functions[rule.endpoint](**req.view_args)   File "/usr/local/lib/python3.6/dist-packages/flask_restful/__init__.py", line 458, in wrapper     resp = resource(*args, **kwargs)   File "/usr/local/lib/python3.6/dist-packages/flask/views.py", line 89, in view     return self.dispatch_request(*args, **kwargs)   File "/usr/local/lib/python3.6/dist-packages/flask_restful/__init__.py", line 573, in dispatch_request     resp = meth(*args, **kwargs)   File "/usr/local/lib/python3.6/dist-packages/bigchaindb/web/views/transactions.py", line 98, in post     status_code, message = bigchain.write_transaction(tx_obj, mode)   File "/usr/local/lib/python3.6/dist-packages/bigchaindb/lib.py", line 95, in write_transaction     response = self.post_transaction(transaction, mode)   File "/usr/local/lib/python3.6/dist-packages/bigchaindb/lib.py", line 90, in post_transaction     return requests.post(self.endpoint, json=payload)   File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 116, in post     return request('post', url, data=data, json=json, **kwargs)   File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 60, in request     return session.request(method=method, url=url, **kwargs)   File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 533, in request     resp = self.send(prep, **send_kwargs)   File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 646, in send     r = adapter.send(request, **kwargs)   File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 516, in send     raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=26657): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f21900ae4a8>: Failed to establish a new connection: [Errno 111] Connection refused',))

i'm facing also this problem. is someone have a solution ?


Latest stable 0.25 model grid

type_non-CMIP6   |    by<EMAIL_ADDRESS>
Liase with Andrew Kiss to obtain latest stable ACCESS-OM2-025 grid.

Issue migrated from trac:381 at 2024-01-31 18:36:05 +1100

<EMAIL_ADDRESS>changed status from new to accepted

<EMAIL_ADDRESS>uploaded file bathymetry.png (1025.6 KiB)
Latest bathymetry

<EMAIL_ADDRESS>changed owner from cm2704 to aph502

<EMAIL_ADDRESS>changed component from ACCESS data management to ACCESS model

<EMAIL_ADDRESS>commented

Andrew Kiss says there is no plan to change the land/sea mask any further.
The ACCESS-OM2-025 bathymetry is made using the tools here
https://github.com/COSIMA/make_025deg_topo/
The latest version on disk was made using this specific commit
https://github.com/COSIMA/make_025deg_topo/commit/37274b2f0d5848263070cbf87d9e88de3e64e093
and is available here:
/g/data/ik11/inputs/access-om2/input_rc/mom_025deg/topog.nc
and looks like so

<EMAIL_ADDRESS>commented

Just an update, the location of this has moved:
$ md5sum /g/data/ik11/inputs/access-om2/input_20201022_old_topog/mom_025deg/topog.nc
3f9773e1e1cd7759ec524d443bde7c92  /g/data/ik11/inputs/access-om2/input_20201022_old_topog/mom_025deg/topog.nc


Implement exponential backoff in egress RPC client retry logic

This uses exponential increases for both the timeout and backoff parameters. The formula is for the increase is:
base * 2 ^ (attempt - 1) * rand[1,2)
This means that for the different attempts, we get:
1: base * [1-2)
2: base * [2-4)
3: base * [4-8)
4: base * [8-16)
...

Thinking about this again, there is no reason to have a random component to the timeout parameter. Will change this.


Auto focus window

It would be nice when hitting a break point, it should automatically bring the window into focus or highlight the taskbar icon, to let us know it has hit a break point and your action is required.

I'm not sure if it's possible to do this programmatically.


[DO NOT MERGE] Improve UG

Update the UG according to assignment!

Codecov Report

Merging #186 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #186   +/-   ##
=========================================
  Coverage     66.11%   66.11%
  Complexity      536      536
=========================================
  Files            83       83
  Lines          1803     1803
  Branches        228      228
=========================================
  Hits           1192     1192
  Misses          552      552
  Partials         59       59

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 adf69f1...8dc9aee. Read the comment docs.


Add custom adornment example and include input handlers in getInputProps

This PR adds the inputRef, handleMenuToggle, and handleClearSelection to the getInputProps callback.
This allows the ability to specify a custom endEdorment for the input component while leveraging the existing focus handlers.

Seemed liked a reasonable approach, thanks!
I'd like to restructure accessing downshift props through React context or via a hook at some point, but without a major semver change, this will work well.
Released as 1.3.0


add fraunhofer remarks and olahd

so far, the additional parameters are only added as a test for ocrd-olena-binarize


Cant get get it to work at all

Describe the bug
I have many Errors depending on what i tried can elaborate if needed. I just cant get citations to run at all.
Additional information

TeX distribution: TeX Live 2024
Package citation-style-language version: 22.06.2024 just put /usepackage{citation-style-language} im my latex program nothing more
LaTeX engine: lualatex, but nothing works anyways when tried

To Reproduce
Try Windows, Texlive2024 on windws, emacs on msys2, auctex, having .bib file in same folder, having austrian-legal.csl downloaded in same folder (or the azr austrian one)
having local variables set to luatex and utf-8. running latexmk with
What i want to happen is pressing C-c C-a and having s synced pdf with sourced opening/updating. It works with bibtex fine, but i need a specific citation style.
One Error is: The lua interpreter ran into a problem, so the remainder of this lua chunk will be ignored.
the other one is :
command failed with exit code 12:perl.exe c:\texlive\2024\texmf-dist\scripts\latexmk\latexmk.pl -lualatex --synctex=1 -interaction=nonstopmode -file-line-error "main.tex"
When does wich error occour? No freaking idea, somtimes it compiles then no citation (first error) sometimes it doesnt compile at all (2nd error). Running from a clean slate never works. C-c C-c commands first makes C-cC-a work without references. I am not even sure if latexmk works with lua. Anyways it does not work standalone anyways (error 1).
What i need is, how can i get my citation requirements working? what should i put in my init.el file?? what in my local variables? whatin my .tex file? § - and other signs need to work too. but getting that to work with lua on filepaths made me just not use special charakters. But inportant the Special Charakters need to work in the .bib file too (either with latex commands or just work planely)
If needed i can add my latex code, and my init.el code and my file setup
maybe you can direkt me to a thread that has proper emacs setup, and latex setup until then i will use bibtex since i have been learning emacs and latex auctex in the last 20 days and only have 8 days left to start and finish writing my thesis xD.

Can you provide a small LaTeX example as in #67 so that I can reproduce the errors?

One Error is: The lua interpreter ran into a problem, so the remainder of this lua chunk will be ignored.

What is the error message? A typical Lua module error is like the following and the message is very useful to me.
...exmf/scripts/citation-style-language/citeproc-engine.lua:113: attempt to concatenate a nil val
ue
stack traceback:
        ...exmf/scripts/citation-style-language/citeproc-engine.lua:113: in function '
citeproc.new'
        .../scripts/citation-style-language/citeproc-latex-core.lua:238: in function '
citeproc-latex-core.init'
        ...texmf/scripts/citation-style-language/citeproc-latex.lua:33: in function 'c
iteproc-latex.init'
        [\directlua]:1: in main chunk.
\lua_now:e #1->\__lua_now:n {#1}

l.19 \begin{document}

I am not even sure if latexmk works with lua.

The citation-style-language is expected to work with latexmk -lualatex.


Bot image not loading when using blob in icon_url attribute

Description
I'm trying to add an image to change it for my bot when sending a message to a chat. When I try to add an image blob, it does not appear, but the default image is displayed.
I also tried adding a link to a PNG image and it showed up correctly.
Can you please tell me how to make it work with a blob image?
What type of issue is this? (place an x in one of the [ ])

[ ] bug
[ ] enhancement (feature request)
[x] question
[ ] documentation related
[ ] example code related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version: "@slack/bolt": "^3.12.1",
node version: v14.19.1
OS version(s): Windows 10 Home, 21H1, 27.12.2021, 19043.1889
Steps to reproduce:

send message via client.chat.postMessage
add attribute icon_url
insert blob image in icon_url

Expected result:
Displaying my image on the screen in Slack.
Actual result:
The default image is displayed.
Attachments:

Hi @Billiardist94, thanks for asking the question!
The short answer for your question is that, unfortunately using a blob image is not supported for the icon image URL. You have to pass a publicly accessible image file URL. Also, as far as I know, there is no plan to add blob support to the Slack platform.
I know this is not an ideal answer for you but I hope this was helpful to you!


Publish new release to Pypi

Hi, Is it possible to publish a new release of nni to pypi (https://pypi.org/project/nni/#description) with changes that was made for the https://github.com/microsoft/nni/pull/3311 pull request?

Yeah we are also waiting 😄

@snoopysecurity @Anon-Artist thanks for raising your request. Does nightly build solve your problem, we have nightly build but have not exposed to users. Or, in your scenario you need official release?

The vulnerability that the PR https://github.com/microsoft/nni/pull/3311 fixed was reported to Snyk Vulnerability disclosure program (https://snyk.io/vuln) We wanted to release an advisory crediting the reporter, as well as tell current users of nni to update to the latest version where this issue is fixed. So I mainly wanted a a pypi official release they could upgrade to (https://pypi.org/project/nni/#history) Am I right in thinking the nightly builds are not in pypi?
Also am I right to assume that Microsoft Security Response Center (MSRC) (https://msrc.microsoft.com/create-report) can assign a CVE to this issue?

@snoopysecurity thanks, got the scenario. We will release a new version soon.

Any update @QuanluZhang  😊

@Anon-Artist v2.1 will be released on March 8th.

@Anon-Artist v2.1 will be released on March 8th.

Thats cool 😊

HI @QuanluZhang can we get a CVE id For this.

@QuanluZhang Snyk.io has recognized this vulnerability as https://snyk.io/vuln/SNYK-PYTHON-NNI-1073630 so can we get a CVE for this.

@Anon-Artist @B3EF , sorry, I am not familiar with Snyk.io. could you give me some context about CVE and how to do it. maybe some links and guidance?

hi @snoopysecurity can you please explain  the criteria to be done to @QuanluZhang  ,to assign a CVE-id for us .

Hey, indeed I can help @QuanluZhang Snyk can't help with a CVE since its a microsoft product/software, Reading https://cve.mitre.org/cve/request_id.html, you should be able to assign a CVE by contacting<EMAIL_ADDRESS>or directly MITRE through https://cveform.mitre.org/
All you need to do is contact one of the above authorities and provide the details, you can just copy and paste the details here https://snyk.io/vuln/SNYK-PYTHON-NNI-1073630 (fixed version, github commit, vulnerability information etc etc) and they will assign a CVE for you. hope this helps

@qfyin @liuzhe-lz - Has the problem been solved? may we close the issue? thanks.

Yes sure the problem is fixed
Thank you 😊

I will close this issue as this problem had been solved, feel free to reopen it.


New Hook: useWebWorkerFunction

Hey, i would like to contribute a port of https://github.com/alewin/useworker.
This is just a work in progress branch.
There is still some work to do:

How to tell build tools about worker code
Implement more Demos
Better Documentation
Unit Tests

I was asking for some help with that Babel Issue. Not sure if its about babel, some code compile tool. Its happening on the preview when you click on Worker Sort. Then the error occurs, because the worker uses helpers functions, which arent available in worker context. You can inspect the worker code in network tab.

There is some

Thanks for the great work!
I did a quick review and please check it out :)
I am a little confused about the demo, I suppose it's just not finished yet.
And for this function, I think maybe we would need to add some unit tests in case it breaking in the future API changes.
Thanks again, indeed great util!

I think, it cant be tested using jest. There is an error
TypeError: URL.createObjectURL is not a function
because of this issue. Its not supported in jsdom.

OK let's forget about the tests for now. Maybe I could find some browser testing later.
About the demo, I have tried the demo of useWorker. Now I got the spinning it to demonstration UI blocking. I think it's good for react's logo but not ours. A simpler solution may displaying the current time(precise to ms), and when the clock stops, the UI blocking starts.
Sorry I am a little picky, maybe useWebWorkerFn would better aligned with other functions.
Thanks!

OK i'll test and work on documentation in the next days.
I like cypress a lot. What do you have in mind?

I have used cypress for my other projects, and it's awesome. I think it's a good idea. Go ahead for it if you would like to set it up, and it's ok if you don't. I can do that later.
And if you don't mind, I can push some commits directly, to adjust the docs and demo a bit.
Thanks :)

Ofc you can. I things to do in the next days.
Lets see if i have some free time at weekend

I have updated the demo and docs. And the returning signature to { workerFn, workerStatus, workerTerminate }.
Let me know what you think about it :)

In React i see a lot of array return values from Hooks. Like here. Its unpopular in Vue right? Can you explain why?
Because ref/reactive dont use arrays and useState does?

I think it's just about preference. I am personally not a big fan of array spreading. You have to know the one you want on which index and give it a name. And something you don't want all of the returning values. you have to write like const [value, _, _, something] = useWhatever() which is kinda annoying.
Another iron fact is that I think Vue prefers object spreading: https://vue-composition-api-rfc.netlify.com/#code-organization
And yeah, let's get it merged. Thanks for your work!


Compiler/0.12

Needs runSeed, which seems to have gone from QuickCheck?
LCG was separated from QC. Resolved.

Hey @hdgarrood are you back in town?

@hdgarrood psst

@hdgarrood hey

Hi :) can you explain the changes you made in .travis.yml please?

Hey Harry
I hardly remember now!
I think I was very closely following the errors it was giving.
At d7aaed travis failed with
E: Unable to locate package g++-4.9
E: Couldn't find any package by glob 'g++-4.9'
E: Couldn't find any package by regex 'g++-4.9'

well if theres no such package, maybe just remove it?

Ok. I'd usually want to go back and check why a line was added before removing it, especially if the reason why it was added was unclear. After checking the history it seems that we previously needed that particular version of g++ for the microtime dependency, but I suppose now the version of Ubuntu we're using must come with an appropriate C++ compiler. So that's probably fine to remove, I think.

Can you remove those lines rather than commenting them out please?

To me this was sufficient concern in this case, and functionality bears the
truth.
Without 4.9 travis succeeds.
Therefore 4.9 isn't necessary.
Its only a concern of this travis testing pathway, and doesn't have any
implication for any release.
A
On Sat, Aug 4, 2018 at 8:40 AM Harry Garrood<EMAIL_ADDRESS>wrote:

Ok. I'd usually want to go back and check why a line was added before
removing it, especially if the reason why it was added was unclear. After
checking the history it seems that we previously needed that particular
version of g++ for the microtime dependency, but I suppose now the
version of Ubuntu we're using must come with an appropriate C++ compiler.
So that's probably fine to remove, I think.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hdgarrood/purescript-benchotron/pull/19#issuecomment-410457912,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB5ast4j2PZVJ0pTJn9cRvvD9wdfNcAQks5uNcB-gaJpZM4USauL
.

Thanks!


[Bug]: missing phone number triggers min-length rule

Bug Description
@yulric, shouldn't this only trigger the missing-required-value rule when it's empty, if it's required in the first place?
error:
contacts(phone, 2): Value "" (of length 0) is less than the min length of "10" [less_than_min_length]
The operating system on which the bug occured
linux
Python Version
3.8

Yes, since an empty string is considered null/missing, this should not trigger a length rule. It could trigger a missing values found rule if its enabled for that column.


moq-api controlled routing of subscriptions between relays

Implement a possiblity for arbitrary routing of subscriptions between relays, controlled by moq-api.
The default behavior stays the same, relays are connected as a full mesh. Meaning if you SUBSCRIBE to a track on a relay, it will directly call out to the origin relay of that track, and SUBSCRIBE to the track there.
If however you supply one or more --next-relay ${RELAY_URL} parameters when starting the relay, the relay will send these next_relay URLs to moq-api as a URL parameter. If moq-api finds the track in its KV store, instead of returning the real origin of the track it will choose from the supplied next_relays, and return that as the origin.
This results in the ability to restrict traffic within nodes to arbitrary topologies. See examples in dev/topologies/star/topo.md and dev/topologies/spine-and-leaf/topo.md
By default the choice of the next relay is random, to serve as a basic load balancing mechanism, but smarter routing patterns can be implemented there.

This is a solution for #108

For now it doesn't have the stateful routing, this is more of a skeleton for that, but it's still suitable for a simple tree-like structure. I won't have time to work on figuring out an actual application-layer routing for this in the next 2 months, so if anyone wants to use this as a base, please do.

For now it doesn't have the stateful routing, this is more of a skeleton for that, but it's still suitable for a simple tree-like structure. I won't have time to work on figuring out an actual application-layer routing for this in the next 2 months, so if anyone wants to use this as a base, please do.

Yeah of course.
I think the play is PUT relay/<name> on startup and keep refreshing that entry while the relay is alive. It would contain the paths to other relays via --next-relay. You could then make a simple path-finding algorithm to figure out how to go from one relay to another.
But I don't think we can run this code until then. Rolling the dice on which non-equal route to take is just going to make the experience worse.


[Feature]: Supporting Google Calendar integration

Requirements

[x] I did a search to see if there is a similar issue or if a pull request is open.

Is your feature request related to a problem?
No
Describe the solution you'd like
Hello,
as far as I understand, this extension only works with the HA Calendar integration. I would like to know what you would think of supporting Google Calendar integration for HA?
My district maintains a Google calendar with the dates of when what trash is picked up.
They also take care of changes to schedules etc.
It would therefore be very practical for me if I could also use the Google calendar integration with this extension.
Not only for the trash, but also for other calendars that I have added to Google calendar.
Describe alternatives you've considered
No response
Additional context
No response

Did you mean this one?

If yes, in my case it works if the calendars are available in the calendar view of home-assistant the should be available in the card

TrashCard works with Google Calendar I can confirm. Setup Google Calendar integration, Youtube is your friend if you're struggling, then in TrashCard just select the relevant calendar entity from the dropdown menu. I had no issues setting up TrashCard very simple and easy to use. The longest part of my implementation was creating the custom pictures I wanted to add, but the TrashCard itself, can be setup within 10 mins including the Google API stuff.


COPY_ON_WRITE disappeared

It is my understanding that COPY_ON_WRITE has been removed, but flagwise it is now default unless SHARED is specified... right?

Yes, that is correct. There is some more discussion about this in #39.