Erroneous node displayed

Hello.
When displaying data when using a simple network with a gateway and one node, it appears that some informations from the gateway may be displayed on the detail panel of the node.
The gateway and nodes are defined like:
Gateway / node0:

slot 0 = dimmable light
slot 2 = pressure sensor

Node 1:

slot 0 = temperature sensor
slot 2 = humidity sensor

The issue is that when I look at the second node, I see the pressure sensor values from the first node instead of the humidity values!
If I force the pressure sensor on node 0 to update its values each second,
I even see always that pressure on node 1/slot2 instead of the humidity value.
PleasSo I have 2 nodes, detailed here:
Gateway / node0:

slot 0 = dimmable light
slot 2 = pressure sensor

Node 1:

slot 0 = temperature sensor
slot 2 = humidity sensor

Everything was fine until today.
I use the android app to watch values.
But sometimes, when I look at the second node, I see the pressure sensor values from the first node instead of the humidity values!
If I force the pressure sensor on gateway node to update its values each second,
When I look at the detail panel of node 1, the correct value - humidity - appears briefly sometimes, but is most of the time replaced by the pressure from the gateway node.
You will find attached the 2 sketches to demonstrate the issue.
gateway.txt
node1.txt
The issue was already discussed in the souliss forum, in this thread:
https://groups.google.com/forum/#!topic/souliss/7UWuvrFQyi4
Have a nice day!
Sylvain

To illustrate the issue, here is a screen capture when displayiong the second node.
You can see the second device - an humidity captor - with the value of the pressure (2428) from the first node instead of humidity.
Regards,
Sylvain

could you post a screen of UDP test option after pressing "TYPREQ" ? thank you
this bug is so weird

Hello!
I'll try to do that on this week-end

Hi!
Here is the screenshot. I hope this can help!

@plinioseniore could you have a look at this? the typrequest seems strange to me, for sure the app is receiving more than two nodes...
this bug is interesting somehow, I never heard of structure requests bug...
@tew do you have root access on your phone? To go deep, I'd probably need your DB file, that is located at /data/data/it.angelic.soulissclient/databases/
you can send that privately, even tho it doesn't contain strictly personal data, nor your IP addresses

@shineangelic I'm sorry I should have told this before, but my network now contains more than 2 nodes indeed. They are 4 nodes.
However this issue also occurs with 2 nodes.
At the first post on this bug, there code source with 2 nodes to demonstrate it.
I don't think my setup is particular.
I think the bug occurs when receiving data from the first node, while displaying the second node on soulissapp. Would you be able to reproduce the setup given below? If not I can try to do this for you. Let me know.

@shineangelic there are multiple 0x31 notification that refers always to
the same node (the 0x0) and are 0x19 bytes long. Nothing strange here.
@tew Have you extended the number of slots from 24 to 25?

Yes, I've changed the number of slots.
I've made a new test, with two very basic nodes.
Gateway, ethernet <IP_ADDRESS>, 1 slot with a T58 (pressure, sent every 7 seconds)
Node1, ethernet, <IP_ADDRESS>: 1 slot with a T52 (temperature, sent every 10 seconds)
With soulissapp, I look the node1. Sometimes the slot displays a temperature, which is right, sometimes a pressure, which is wrong, since it comes from the gateway node.
Here are the screens:

As you can see, both screen shots display a T52 slot, I'm on the node1, indeed.
Here is also a TYPREQ:

I used this source code for gateway/node:
issue137.zip
Is there anything else I can do to help you?
Maybe installing a custom APK? I'm not root on my phone.

One last thing: the souliss code I use is a fresh clone from github, branch friariello, commit 5e0af6d419076f4c0a504754cbfc7c3c8193b1d9.

The log shows updates from either node 0x0 and 0x1, seems that SoulissApp
doesn't process correctly the node number while updating data.
@shineangelic could you please see how SoulissApp behave in this scenario?

The code handling souliss udp replies hasn t be touched from a loong time,
i told you this is so weird...that code is part of sapp core, how can such
a huge bug still be there?
I never noticed a behaviour like this, but something has to be wrong,
indeed.
I have to replicate the bug with adb connected, so i can go deep and find
it...sadly i dont have board available for testing right now...@tew do you
think you could TEMPORANELY give public access to your boards?
Ale
Il 30 gen 2017 22:52, "Dario Di Maio"<EMAIL_ADDRESS>ha scritto:

The log shows updates from either node 0x0 and 0x1, seems that SoulissApp
doesn't process correctly the node number while updating data.
@shineangelic could you please see how SoulissApp behave in this scenario?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/souliss/soulissapp/issues/137#issuecomment-276203262,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABRfdP35XS_XepUkiWaj0YdSNFNm6N8Kks5rXluUgaJpZM4JI5wK
.

@shineangelic could be the bind between graphic and db?

mmm not probable. We'd have noticed some weird behaviour before. Key to
update typicals is given by nodeID + slot. It has always been like this...
Maybe it could be related to T58, poorly tested, but I can't see what
Ale
2017-01-31 7:53 GMT+01:00 Dario Di Maio<EMAIL_ADDRESS>
@shineangelic could be the bind between graphic and db?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/souliss/soulissapp/issues/137#issuecomment-276288711,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABRfdCAPNCpDl4hEzZ73hwPxKKxpppnHks5rXtqGgaJpZM4JI5wK
.

anyway, this is the relevant piece of code. It always worked and I don't think the problem is here
for (short j = 0; j < numberOf; j++) {
try {
SoulissNode it = nodes.get(((int) j / typXnodo) + tgtnode);
SoulissTypical temp = it.getTypical((short) (j % typXnodo));
SoulissTypicalDTO dto = temp.getTypicalDTO();
dto.setOutput(mac.get(5 + j));
dto.setSlot(((short) (j % typXnodo)));
dto.setNodeId((short) (j / typXnodo + tgtnode));
// sufficiente una refresh
dto.refresh(temp);
Log.d(Constants.Net.TAG, "---REFRESHED NODE:" + (j / typXnodo + tgtnode) + " SLOT:" + (j % typXnodo));
} catch (NotFoundException e) {
// skipping unexistent typical");
//OK, può succedere
} catch (Exception e) {
Log.w(Constants.Net.TAG, "Errore di calcolo??" + e.getMessage());
// FIXME nodes.get(((int) j / typXnodo) + tgtnode) è SBAGLIATO l'ha detto Dario
}
}

on the log file, when app receives update, the log (/sdcard/souliss.log) will report exactly which node has been updated.
@tew what's your maxTypicalXnode setting ? You can see it when you request DB structure, it's the 7th byte

I looked at the file /sdcard/souliss.log but it has not been updated since november. Should delete it? Is it stored in another place?
How can I request the DB structure?

@plinioseniore can't be the UI binding, because the unit measure is C degrees, not pascal. So a T52 is being shown for sure.
I bet the wrong value 107 is being saved on DB, it comes from there.
I really need to replicate this in debug.
@tew you log is dated november because you had no application error, and in production/release mode, log only shows errors and warnings, not debug messages

@shineangelic it would be better to let @tew use SoulissApp in debug mode.


Added workflow for continous integeration

Fixes #48
Description
Added the code for continuous integeration when any push event occurs.
Other information
For now I have added the syntax for CI and with the help of admin I will update for the CD too.
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the master branch of the repository.
[x] My commit messages follow best practices.
[ ] I added tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[ ] I tried running the project locally and verified that there are no
visible errors.

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

@kgodey Please have a look and also help me how to I add the syntax for CD.

@kgodey I have added both CI/CD part using github actions and also tested for this repo and a sample repo of mine(built using lektor), and its working. Please have a look and let me know if I can improve upon anything.
Thank you

One more thing – could you rewrite your commits so that they are more descriptive? Update lektor-server.yml doesn't really say anything about the work you did.
It may be easiest to do a git reset to the commit before your work and then create a single new commit that's more descriptive.

Yes, I have gone through the above file but didn't understand much.
Can I close this PR and start and new one? Or else I will do a reset from very first.

Sure, go ahead and close this one.


Machine integration

Uses a single new type: machineHost with config properties for each driver.
Currently implements VirtualBox and DigitalOcean

Is this really all the there is to the cattle side of this?

If you rebase the flake8 errors will go away.  Apparently flake8 decided to change it's rules.  @sidharthamani already fixed it on master.


QuickLogic test is currently off due to Yosys v0.10 upgrade

Describe the bug
A clear and concise description of what the bug is.

[x] OpenFPGA flow

To Reproduce
Steps to reproduce the behavior:

Clone OpenFPGA repository and checkout commit id: 4e50644
QuickLogic tests are disabled because their synthesis recipe is not yet in the Yosys v0.10 release

https://github.com/lnis-uofu/OpenFPGA/blob/4e50644ea866e30ea8dadb67d127a27f8fa6375a/openfpga_flow/regression_test_scripts/quicklogic_reg_test.sh#L11-L21

Expected behavior
Should enable it soon so that the soft adder support is tested.

Enviornment (please complete the following information):

OS:

Compiler:

Version:

@tpagarani @coolbreeze413 You may consider to bring the Quicklogic scripts to the upstream and we can bump up the yosys submodule.

Added tests with #420

@coolbreeze413 Just a reminder. There are still a few quicklogic tests off: counter_5clock_test, sdc_controller_test, lut_adder_test.
When they are all back. We can safely close this issue

@tangxifan I will check about adding those as well

All done by PR #420 and #421


New output formatting for ValidateCLI.

Using new fields in the Validator struct to provide better validation output.
Advertise the new wiki: https://github.com/mt-sre/addon-metadata-operator/wiki/
Fix output breaking with inconsistent tabs.
Example of new output:
$ go run cmd/mtcli/main.go validate ../managed-tenants/addons/reference-addon

apart from the above question of mine, rest all lgtm :) great stuff!


@page compatibilty

Was looking to caniuse for details on how various browsers support @page printing rule

Found useful info at Mozilla

Duplicate of #1229.


Update export-modify-registrations-bulk.md

There was some incorrect usage of async await where tasks were not being awaited, Thread.Sleep was used and task.Result and task.Wait() were being called. See https://learn.microsoft.com/en-us/archive/msdn-magazine/2013/march/async-await-best-practices-in-asynchronous-programming#async-all-the-way
Also cleans up some references to old packages pointing to new ones.

@sethmanheim

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@msftph Thank you so much for the contribution! #sign-off


add Triple function

This is a shortcut for those that are not using the label field. It can
become very verbose always calling Quad with an empty string as the last
parameter.
I've signed the CLA.

LGTM


Add deployment for host package

This is largely adapted from safe-tools-client in cardstack/cardstack. It adds:

a workflow that will allow Cardie to deploy the application
a job in the existing ci.yaml that deploys to staging upon a successful test on main

here, generated before adding the if that restricts the branch

preview deployments for PRs

staging
production

Some assumptions:

the application is built with DEMO_REALM_URL, pending the merging of #177
the realm server domains are boxel-realm-server-staging.stack.cards and boxel-realm-server.cardstack.com

these do not yet exist, that work is forthcoming

based on your assumptions it sounds like we have only one server to host both the base realm and demo realm for each environment (which is fine), but it means that we'll need to land https://linear.app/cardstack/issue/CS-5132/start-realms-in-series first. (i plan on tackling that today).

I failed to revisit this after I understood that there are two realm servers. My current understanding is that demo realm server consumes base, so host should point to demo? I can change it today to point to the prospective demo URL.

Confirm the host should point to the demo realm.
However if we do decide that we want both the base and demo realms on the same server, i just posted the PR to start servers serially (https://github.com/cardstack/boxel-motion/pull/185). I personally don't have a preference.


Add optional Operators extension for ERC721

🎉 Description
With ERC721 slowly being finalized, we found that "operators" are a desired feature. It's not going to be included in the standard, but it's a nice optional extension. I've added some crude code below that extends the ERC721Token contract with operators. Please let me know your thoughts.

[ ] 🐛 This is a bug report.
[ ] 📈 This is a feature request.

👍 Other Information
pragma solidity ^0.4.18;

import "./ERC721Token.sol";

/**
 * @title OperatedToken
 * Implements the optional Operator extension.
 */
contract OperatedToken is ERC721Token {
  event AuthorizedOperator(address indexed _owner, address indexed _operator);
  event RevokedOperator(address indexed _owner, address indexed _operator);

  mapping(address => mapping(address => bool)) internal tokenOperators;

  /**
  * @dev Guarantees msg.sender is owner or operator of the given token
  * @param _tokenId uint256 ID of the token to validate its ownership belongs to msg.sender
  */
  modifier onlyOwnerOrOperatorOf(uint256 _tokenId) {
    require(ownerOf(_tokenId) == msg.sender || isOperatorFor(msg.sender, ownerOf(_tokenId)));
    _;
  }

  function authorizeOperator(address _operator) public {
    tokenOperators[msg.sender][_operator] = true;
    AuthorizedOperator(msg.sender, _operator);
  }

  function revokeOperator(address _operator) public {
    tokenOperators[msg.sender][_operator] = false;
    RevokedOperator(msg.sender, _operator);
  }

  function isOperatorFor(address _operator, address _owner) public constant returns (bool) {
    return tokenOperators[_owner][_operator];
  }

  /**
  * @dev Transfers the ownership of a given token ID to another address
  * @param _to address to receive the ownership of the given token ID
  * @param _tokenId uint256 ID of the token to be transferred
  */
  function transfer(address _to, uint256 _tokenId) public onlyOwnerOrOperatorOf(_tokenId) {
    clearApprovalAndTransfer(msg.sender, _to, _tokenId);
  }

  /**
  * @dev Approves another address to claim for the ownership of the given token ID
  * @param _to address to be approved for the given token ID
  * @param _tokenId uint256 ID of the token to be approved
  */
  function approve(address _to, uint256 _tokenId) public onlyOwnerOrOperatorOf(_tokenId) {
    address owner = ownerOf(_tokenId);
    require(_to != owner);
    if (approvedFor(_tokenId) != 0 || _to != 0) {
      tokenApprovals[_tokenId] = _to;
      Approval(owner, _to, _tokenId);
    }
  }
}

With the recent changes to 841, these are now disguised as setApprovalForAll. I'd suggest we close this issue.

makes sense. Will work on a new implementation.


Vue 3.5 global directive types are not picked up by vue-tsc / volar

Vue - Official extension or vue-tsc version
2.1.4
VSCode version
1.92
Vue version
3.5.0
TypeScript version
5.5.3
System Info
System:
    OS: Linux 6.6 Manjaro Linux
    CPU: (16) x64 11th Gen Intel(R) Core(TM) i7-11850H @ 2.50GHz
    Memory: 12.88 GB / 31.08 GB
    Container: Yes
    Shell: 5.2.26 - /bin/bash
  Binaries:
    Node: 20.9.0 - ~/.nvm/versions/node/v20.9.0/bin/node
    npm: 10.1.0 - ~/.nvm/versions/node/v20.9.0/bin/npm
    pnpm: 9.6.0 - /usr/bin/pnpm
  Browsers:
    Chromium: 127.0.6533.119

package.json dependencies
No response
Steps to reproduce
The latest Vue minor (3.5.0) introduced support for better typing of global directives (https://github.com/vuejs/core/pull/3399), but vue-tsc and volar seem to completely ignore it and keep the custom global directive types as any.
Reproduction:

Alter GlobalDirectives with a custom directive:
declare module '@vue/runtime-core' {  interface GlobalDirectives {  	VTooltip: VTooltip  } }
Use v-tooltip in a Vue SFC

What is expected?
v-tooltip has typescript support
What is actually happening?
v-tooltip is typed as any
Link to minimal reproduction
No response
Any additional comments?
No response

try this
https://gofile.io/d/yMHabA
select the desired compiler in the installer


feat: vite cloudflare websocket proxy

WebSocket proxy for Cloudflare Durable Object based WebSocket.

[x] Docs
[x] Tests

Testing Strategy:
This test covers this code: vite-cloudflare-websocket-test.ts
Example:
izznatsir/remix-cloudflare-websocket

Looks like there are merge conflicts, is that the only thing blocking this from moving forward?

@izznat any update on this?

When React Router v7 is out I will try to revisit. The proxy might not be necessary if Vite Environment API is being integrated to the official adapter.


Cannot import: unexpected keyword argument 'root_dir'

File "C:\Users\NAME\ComfyUI\custom_nodes\ComfyUI-Custom-Scripts_init_.py", line 12, in
files = glob.glob("*.py", root_dir=py, recursive=False)
TypeError: glob() got an unexpected keyword argument 'root_dir'
Cannot import C:\Users\NAME\ComfyUI\custom_nodes\ComfyUI-Custom-Scripts module for custom nodes: glob() got an unexpected keyword argument 'root_dir'

Looks like you're probably running a version of python pre 3.10 as that is when that parameter was added, if you try updating your python to 3.10 and see if that resolves it


config method it's not totally synchronous

when i use localforage.config({ name: "myDB" }) sometimes the first getItem call hits on default db configuration.

Could you provide a CodePen/JSFiddle/etc. example of this we could test against? Also: which browser/OS are you using when you encounter the error?

i think that is not easy reproduce this, i am using chrome 80 on xubuntu, and occurred sometines when refresh browser, i don't know if i can reproduce this in jsfiddle/codepen.


Debug logging

The following line isn't the best way to provide debug logging:
query: process.env.DEBUG ? function (e) { console.log(e.query) } : undefined

The standard way in Node JS to determine the DEV environment is like this:
process.env.NODE_ENV === "development"; // => DEV environment, do detailed logging;
process.env.NODE_ENV === "production"; // => PROD environment, log errors only;

Also, I would suggest using pg-monitor for DEV environment, as it shows all DB communications, which you can also log separately, if you want, via log event. See complete example.

Thank you for all your important contributions, @vitaly-t. This one, like the previous issues you've raised, will be taken into account and fixed as soon as I can. I also thank you for writing pg-promise and maintaining it, as it is the easiest and best Postgres library I've found out there, and it made pgjson much easier to write.
However, I find quite annoying that on every commit I push you come here to try to teach me things about promise best practices or standard Node environment variables. I'm concentrating on getting this library to work for me in a specific use-case. I take some time writing brief documentation because I think there are people wanting to use it. If I can adhere to best practices much better, but that isn't my main concern right now.
It would be probably nicer if you submitted pull requests fixing these minor details. In this case, for example, a PR would be very welcomed.

@fiatjaf sorry, if that bothered you. I am myself quite busy continuously working on my projects, which you can see from the many commits going in daily. Advise is all I have time for.


added the new ORDER_CHANGE notification type

The ORDER_CHANGE notification type has replaced ORDER_STATUS_CHANGE which was deprecated on June 21, 2023 and no longer useable after December 31, 2023.

Please approve this change


Missing license

I miss a hint under which license this library is published. It would be great to read about it in README.md

That would be very important.

Best is: add a LICENSEfile. See also https://choosealicense.com/

@jgreth @DanielRuf Thank you guys, I've just added it. The link you shared is super helpful due to it explains which license you may need. I will also add this here for documentation purposes, that GitHub actually provides the option once a new file is created to add the name LICENSE for it, which will give you the option to choose a template where everything is grouped and can be pushed quickly. Thank you for the comments, hope now it is better. I will also assume this as solved and close the issues, again I appreciate it.

Hi @sboriskirov,
thanks for the quick response and that you have documented the license now =)

@sboriskirov thank you for this fast fix ;)


not reading css and javascript

Hello! I did all the steps as you mentioned, but there is not line "RewriteBase /" in .htaccess file. Moreover, home page is loading without css and javascript, and if I click other links, they are not opening. Thanks

the same

@Uzbekyt  Did you add your website url to the config.php file?

@Uzbekyt please check that htaccess is enabled in your virtual host. It fooled me quite a while in the beginning ;-)


[Question] error accept: Invalid argument in HTTP server, asynchronous example only in browser

Steps to reproduce:

Download the http_server_async.cpp example from the boos beast website
create a test file called test.txt in the same directory with some text inside
Compile example: clang++ http_server_async.cpp -std=c++17 -lpthread -lboost_system
run: ./a.out <IP_ADDRESS> 8000 . 1
perform get request: curl -v GET localhost/8000/test.txt
close the program: Ctrl+C
run again: ./a.out <IP_ADDRESS> 8000 . 1

=> observe that everything works normally as expected
Perform steps 1 till 7 again but replace step 5 with:
5. perform get request: open a browser (chromium) and type in the URL localhost/8000/test.txt
=> observe that the program hangs in the on_accept() method with error code Invalid argument
What's different between a curl get request and one performed by the browser that it creates this error and what do I need to change in the example so that it can also handle get requests from the browser properly after a restart of the program?
Edit: http_server_async.cpp not websocket_server_async.cpp example

websocket-server-async will never handle requests from the browser, because this example only accepts WebSocket Upgrade requests. If you want a server that responds to HTTP GET requests, you need to use either one of theHTTP server examples, or one of the Advanced examples.

Oh my apologies, I meant the http_server_async.cpp example (I tested the advanced server example shortly too and I observed the same behavior)

http-server-async works perfectly for me, I am able to serve entire websites with no trouble at all. I'm not sure why you're having issues, but I suspect the cause is outside of the example.

Hmm interesting, I seem to observe that when I stop the HTTP server and I've done at least one request from the browser that it somehow still occupies the port or something (if that makes sense?) because the error that I get is the same error that I would get if I tried to start two HTTP servers on the same port.
And if I wait a little while (>10 seconds) between stopping the HTTP server and starting it up again (on the same port) then everything is fine but if I only wait a few seconds between stopping the HTTP server and starting it again I get this error.
It also only seems to occur if I do at least 1 request from the browser. If I don't do any requests or if I do requests by curl I observe no error...
I was hoping that you might have an idea where to look, but otherwise, I'm fine with waiting half a minute between shutting down and starting up the HTTP server too. It's a great library :)

I'm fine with waiting half a minute between shutting down and starting up the HTTP server too. It's a great library :)

Well, mind you that the examples are not part of the library proper, they are just examples. Beast itself does not need or use sockets.

I was hoping that you might have an idea where to look

Yes, I do! I ran this on Windows which is a bit more relaxed when it comes to reusing the port. It looks like you are on some flavor of Linux so I would investigate the network settings. Are you running as a superuser? Maybe you need to set some kind of reuse-socket option. I thought I was already doing that in the server:
https://github.com/boostorg/beast/blob/f4c3e52a8cabefc97fbe3884b2675a784cf2bed2/example/http/server/async/http_server_async.cpp#L387
You might start with investigating along these lines
Another thing I notice is that this server doesn't have the code to do the clean stop (I left it out for simplicity). So when you say you are stopping the HTTP server I guess you are just killing it. This might be what is causing the operating system to keep a hold of the socket, to make sure the full TCP/IP timeout period elapses (otherwise, late packets could confuse the operating system).
To see if this helps, you can try the advanced server, or copy the code from the advanced server into your http-async example, it is lines 840 through 867 here:
https://github.com/boostorg/beast/blob/f4c3e52a8cabefc97fbe3884b2675a784cf2bed2/example/advanced/server/advanced_server.cpp#L840
If you run a server that has this code for intercepting SIGINT or SIGTERM, you can shut it down cleanly by pressing CTRL+C or using kill to send a SIGINT or SIGTERM.

Cool thanks for all the additional info and yes you're correct I am running on Linux and no I'm not running as super user (but I didn't need super user priveleges for the other REST library either and that was build on top of ASIO too).

Maybe you need to set some kind of reuse-socket option. I thought I was already doing that in the server:

The example from boost.org only has the acceptor_.open, acceptor._bind and acceptor_.listen in the constructor.
Adding the following code as you suggested:
acceptor_.set_option(boost::asio::socket_base::reuse_address(true), ec);
        if(ec)
        {
            fail(ec, "set_option");
            return;
        }

works perfectly, so yes adding the reuse option seems to fix it (for me at least).
Maybe you could consider adding this to the examples on boost.org as it isn't that much additional code.
Thank you very much for your help :)

Oooh I did not realize that some examples don't set the reuse address option. They should.

You linked the version from Boost 1.66 which is out of date and contains bugs (see the release notes)
https://www.boost.org/doc/libs/1_66_0/libs/beast/example/http/server/async/http_server_async.cpp
Boost 1.68 and later should work correctly. I switched to using the shared pointer  for the document root because it is less likely to be misused through a dangling reference.

This is the latest shipping example:
https://github.com/boostorg/beast/blob/boost-1.68.0/example/http/server/async/http_server_async.cpp
This is the example from the master branch
https://github.com/boostorg/beast/blob/master/example/http/server/async/http_server_async.cpp

Cool, I didn't notice I was using the example of an older version (I just picked the first thing that showed up in google at the time). Thanks a lot.

Hmm...I've reviewed all the examples and it looks like they all have this line
acceptor_.set_option(boost::asio::socket_base::reuse_address(true), ec);

I'll go ahead and close this issue since there is nothing actionable in it. If you feel there is still a problem, please do not hesitate to open a new issue, thanks!


Some find contrib commands not working through trigger

I'm trying to execute the following commands using trigger, but it does't work editor.action.replaceOne ,editor.action.replaceAll ,editor.action.selectAllMatches. It's weird because closeFindWidget works fine and has the same preconditions and creation/registration.

Have you tried to debug into them? Some of those commands require valid values in the find widget. (e.g. they can be disabled when the inputs are empty):

Yeah I've tried adding valid values, to no avail. I'll try to debug properly over the weekend.
I've also ran into an issue where actions.find doesn't focus the input, I'll open up another issue once I have more detail. But even HTMLInputElement.focus() isn't working on it :confused:


core: add missing async to _astream definition

Description: The abstract method _astream appears to be wrongly defined without async
Issue: The abstract method _astream appears to be wrongly defined as non-async even though it returns an AsyncIterator. This is throwing pylint error for subclasses - Method '_astream' was expected to be 'non-async', found it instead as 'async'
Dependencies: None

I'll review -- i remember trying to make this change, but there was some issue -- i think it's a sync function that returns an async iterator which is fine


[Hotfix][API] card_data => cardData on /api/datasets

api change: /api/datasets[...] now returns cardData not card_data (for consistency with models)
We didn't find any evidence for people using this API attribute yet so are hotfixing it on master

Note that the CI failure was not intentional and I will fix it as soon as I have some time!


Update Uuid format in docu+templates (fixes #160)

Consolidated Iswaryaa's feedback (Many thanks for documenting so many findings!).
@PrathibaJee, @IswaryaaS: Please, let me know, if you would like to provide further review.

Consolidated Prathiba's feedback (Many thanks for documenting so many findings!), too.
Will merge now.


Usb detection inside docker container

Docker-compose uses privileged mode and mounts required volume. frontend.Dockerfile install USB dependencies to container.

Good job!


v3/4 Auth isn't supported?

Running a very simple server that uses auth according to the documentation here:
https://socket.io/docs/v4/server-socket-instance/#sockethandshake
I have discovered that this plugin has no way to send the auth object needed. Doing it through the query field, as documented for this plugin, leaves a handshake on the server log that looks like this:
connection from a socket
{
  headers: { connection: 'keep-alive', host: 'localhost:8000' },
  time: 'Mon May 16 2022 14:01:12 GMT-0700 (Pacific Daylight Time)',
  address: '::1',
  xdomain: false,
  secure: false,
  issued:<PHONE_NUMBER>041,
  url: '/third_party//?EIO=4&transport=polling&auth=123',
  query: [Object: null prototype] {
    EIO: '4',
    transport: 'polling',
    auth: '123'
  },
  auth: {}
}

Note how the auth field is empty. Is there some way of filling in that field that is undocumented? I notice that there is no auth option at the Query/EIO/Path/ExtraHeader level, SocketIOOptions, which is where it needs to be.

I believe there has been a miscommunication, so allow me to explain in more depth. I'm trying to connect to a server that I do not have control over but have been given the ability to pull logs from. As I explained, the server uses auth as indicated by the documentation I linked. The auth object is at the same hierarchy level as query and headers, as seen in the log I provided. Submitting auth through the query object does not get it sent to the auth object in standardized Socket.IO architecture, as documented, and you can see the result of that in the query object, also as seen in the log I provided.
I checked the repo you suggested I open an issue on. That which you are wrapping does, in fact, have an auth object as an option available for socket connections. I need your wrapper to take advantage of that specific hierarchy of auth. As is, the query object level of auth is not actually doing this, as evidenced by the log I have provided.


Personal RPC module baseline/structure

What was wrong?
Personal RPC module has not been implemented yet and the error messages make it not explicit to users.
How was it fixed?
The base structure has been added without any implementation yet.

I don't think the personal module will be implemented for quite a while (if at all). The intention in the near term is to not do any account management inside trinity.  So I don't think the Personal module stubbing is necessary.

the error messages make it not explicit to users.

Which error were you seeing? I would have expected you to see:

Module unavailable: personal

Any suggestions on how to improve that message to make it clear that RPC does not support that module?

Even if the modules should not be implemented, trinity should provide some hints for the users.
Currently, if I use http://web3py.readthedocs.io/en/stable/web3.personal.html only some cryptic exception is thrown. This applies for the other Management APIs, too.

Closing until we have some better sense for what we're doing in this realm.

Even if the modules should not be implemented, trinity should provide some hints for the users.

@mateuszk87 I would agree with you except that we're in pre-alpha so while we care about UX a lot, we can't address everything at the same time.

keep me in loop if you are ready. I am already implementing various managements api methods, maybe it will help:
e.g. https://github.com/mateuszk87/py-evm/commit/a53eed7c7cf116733dea3ab172953c50ac8ff684


⚠ Beamable Auth (Object) has degraded performance

In 1c1ac56, Beamable Auth (Object) (https://api.beamable.com/object/auth/platform/docs) experienced degraded performance:

HTTP code: 504
Response time: 10510 ms

Example test

issue is resolved.


crackmapexec throws a long list of errors

Describe the bug
crackmapexec throws a long list of errors, this behavior started all of a sudden without changing anything in the system
If there is any missing or corrupted packages that I can replace/upgrade kindly let me know, it will be greatly apprecdiated.
To Reproduce
just use crackmap exec (with a correct or a wrong password) against any host
Screenshots
root@kali:~/Desktop/CTF/offshore# crackmapexec smb <IP_ADDRESS> -u administrator-p Passw0rd
SMB         <IP_ADDRESS>   445    FSOCIETY         [*] Windows 10.0 Build 18362 x64 (name:FSOCIETY) (domain:FSOCIETY) (signing:False) (SMBv1:False)
Traceback (most recent call last):
  File "src/gevent/greenlet.py", line 766, in gevent._greenlet.Greenlet.run
  File "/usr/lib/python3/dist-packages/cme/protocols/smb.py", line 110, in __init__
    connection.__init__(self, args, db, host)
  File "/usr/lib/python3/dist-packages/cme/connection.py", line 42, in __init__
    self.proto_flow()
  File "/usr/lib/python3/dist-packages/cme/connection.py", line 74, in proto_flow
    self.login()
  File "/usr/lib/python3/dist-packages/cme/connection.py", line 215, in login
    if self.plaintext_login(self.domain, user, password): return True
  File "/usr/lib/python3/dist-packages/cme/protocols/smb.py", line 250, in plaintext_login
    self.conn.login(username, password, domain)
  File "/usr/lib/python3/dist-packages/impacket/smbconnection.py", line 267, in login
    return self._SMBConnection.login(user, password, domain, lmhash, nthash)
  File "/usr/lib/python3/dist-packages/impacket/smb3.py", line 778, in login
    type3, exportedSessionKey = ntlm.getNTLMSSPType3(auth, respToken['ResponseToken'], user, password, domain, lmhash, nthash)
  File "/usr/lib/python3/dist-packages/impacket/ntlm.py", line 631, in getNTLMSSPType3
    ntResponse, lmResponse, sessionBaseKey = computeResponse(ntlmChallenge['flags'], ntlmChallenge['challenge'],
  File "/usr/lib/python3/dist-packages/impacket/ntlm.py", line 39, in computeResponse
    return computeResponseNTLMv2(flags, serverChallenge, clientChallenge, serverName, domain, user, password,
  File "/usr/lib/python3/dist-packages/impacket/ntlm.py", line 902, in computeResponseNTLMv2
    responseKeyNT = NTOWFv2(user, password, domain, nthash)
  File "/usr/lib/python3/dist-packages/impacket/ntlm.py", line 891, in NTOWFv2
    return hmac_md5(theHash, user.upper().encode('utf-16le') + domain.encode('utf-16le'))
  File "/usr/lib/python3/dist-packages/impacket/ntlm.py", line 882, in hmac_md5
    h = hmac.new(key)
  File "/usr/lib/python3.8/hmac.py", line 153, in new
    return HMAC(key, msg, digestmod)
  File "/usr/lib/python3.8/hmac.py", line 51, in __init__
    raise TypeError("Missing required parameter 'digestmod'.")
TypeError: Missing required parameter 'digestmod'.
2020-04-29T19:30:17Z <Greenlet at 0x7f9efb2e1bf0: smb(Namespace(clear_obfscripts=False, content=False, c, <protocol.database object at 0x7f9efb240c40>, '<IP_ADDRESS>')> failed with TypeError

Crackmapexec info

OS: Kali - latest

Probably duplicate of #355
If not, re-open the issue with more details, is this crackmapexec from apt or from this repo ?

Hi, this is from apt.
I've uninstalled and reinstalled CME and still getting the same error.
CME versions is 5.0.1dev

Three years later.  If anyone has  a solution I'd be all ears.  Apt install initially. Then went through the pipx install to see if it would help, it didn't.   Installed cme, no help.
--- Logging Traceback (most recent call last):
File "/usr/bin/crackmapexec", line 8, in
sys.exit(main())
^^^^^^
File "/usr/lib/python3/dist-packages/cme/crackmapexec.py", line 257, in main
asyncio.run(
File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/cme/crackmapexec.py", line 105, in start_threadpool
await asyncio.gather(*jobs)
File "/usr/lib/python3/dist-packages/cme/crackmapexec.py", line 69, in run_protocol
await asyncio.wait_for(
File "/usr/lib/python3.11/asyncio/tasks.py", line 452, in wait_for
return await fut
^^^^^^^^^
File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/cme/connection.py", line 65, in init
self.proto_flow()
File "/usr/lib/python3/dist-packages/cme/protocols/ftp.py", line 37, in proto_flow
if self.login():
^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/cme/connection.py", line 287, in login
for f_pass in password_file:
File "", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf1 in position 933: invalid continuation byte

Forgot, here was the CL entry.
crackmapexec ftp  ..*. -u anonymous -p /usr/share/wordlists/rockyou.txt


keystone.sh line 92 hardcodes username

Regarding keystone.sh
Line 91 refers to  user "$OPENSDS_SERVER_NAME"
Line 92 refers to user "opensds"
Probably both should reference '$OPENSDS_SERVER_NAME`

See this commit for suggested fix

Hi @noelmcloughlin , could you pull a PR to resolve it? If appropriate, I would assign this issue to you : )

Hi @leonwanghui, yes no problem.


Fixed #28337 -- Preserved extra headers of requests made with django.test.Client in assertRedirects().

Continue https://github.com/django/django/pull/8931:

Rebased with the master.
Fixed @timgraham comments.

@hramezani Thanks for finishing this :+1: I pushed minor edits.


Deeplink from nwc.getalby.com does not automatically close after app connection is created

Try at https://paper-scissors-hodl.fly.dev/
On mobile this leaves the app connection completely broken - and copying the connection secret cannot work either because Alby Hub does not know it

we miss this event then:
// notify the opener if present of the success full connect
  window.addEventListener("load", (event) => {

    // dispatch a success event which can be listened to by the opener or by the app that embeddes the webview
    // this gives those apps the chance to know the user has enabled the connection
    const nwcEvent = new CustomEvent("nwc:success", { detail: {} });
    window.dispatchEvent(nwcEvent);

    // notify the opener of the successful connection
    if (window.opener) {
      window.opener.postMessage(
        {
          type: "nwc:success",
          payload: {success: true},
        },
        "*"
      );
    }
  });

is this useEffect correct? https://github.com/getAlby/hub/blob/master/frontend/src/screens/apps/AppCreated.tsx#L76-L90

We need to design a new 1-click app connection flow that works in all environments


ValueError: not enough values to unpack (expected 3, got 2)

can you kindly help me with this ?
$ PYTHONPATH='.' python3 read_image.py read-text-from-local-image -f PHOTO-2024-02-15-13-03-31.jpg
[2024-02-15 14:54:07,764] INFO : Processing image for text Extraction
[2024-02-15 14:54:07,797] INFO : Removing noise and smoothening image
Traceback (most recent call last):
  File "read_image.py", line 135, in <module>
    cli()
  File "/home/sridhar/.local/lib/python3.8/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/home/sridhar/.local/lib/python3.8/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/home/sridhar/.local/lib/python3.8/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/sridhar/.local/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sridhar/.local/lib/python3.8/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "read_image.py", line 119, in read_text_from_local_image
    return read_image_from_file(filename)
  File "read_image.py", line 92, in read_image_from_file
    image_text = extract_image_text(image)
  File "read_image.py", line 36, in extract_image_text
    contours = find_possible_contours_in_image(inv_img)
  File "read_image.py", line 84, in find_possible_contours_in_image
    _, contours, hierarchy = cv2.findContours(
ValueError: not enough values to unpack (expected 3, got 2)

Patched it locally with the solution provided at https://stackoverflow.com/a/55806272/1029379

Could you kindly update the code and then close the issue as it might be useful for others using your project.
Thank you.

Closing this as it is already mentioned in https://github.com/yardstick17/image_text_reader/issues/7

$ pip3 freeze | grep opencv-python
opencv-python==<IP_ADDRESS>


OCSP requests Proxy

Is there something similar like SSLOCSPProxyURL for OCSP requests with mod_md?
MDHttpProxy seems to not cover the OCSP requests.

I have admittedly not tested it, but the intention is that MDHttpProxy works for OCSP requests as well.

We've found the reason in compiling libcurl without the --enable-proxy configure option. Doing so, MDHttpProxy works as expected... thanks!


Dependency hell: possible missed dependency

npm doesn't have flat deps tree, it can lead to following:

package A have dependent B; once developers of A just remove B as redundant and after updating application api.registry.require() can fall down

what about to restrict possible load to explicitly existed in package.json? or just show warn dev to force him install package

it can be got from:
$> npm ls --depth 0 --prod --parseable

I can't catch you idea @scilganon but we are not supporting random dependencies, everything in registry will be from metarhia stack, node internal or strongly checked before adding to registry.

Not actual because dependency loader changed a lot


Pre Go Live: Performance validation

LHS of 100 on both desktop and mobile on the .hlx.live site.

Both blog home and article pages are getting 100 performance on LHS consistently. Will keep monitoring on each phase anyways.


ZEPPELIN-252: Add PostgreSQL Interpreters Documentation to gh-pages

Ready for reviewing.

looks great!

Looks great!!


ipynb/examples/android/workloads: Fix Gmaps notebook

Some of Trappy's API has been changed, so this brings the notebook
in line with these changes.

This isn't a trappy API, but the change itself is correct AFAICS

@bjackman Right, it's an update of LISA's trace API (which uses Trappy). Relevant PR is https://github.com/ARM-software/lisa/pull/390


Add Redox support

This enables GroupExtras and UserExtras on Redox

Since this project is unmaintained, I forked to https://github.com/gierens/uzers-rs where I for example merged this PR and maintain it from now on. It's also available in v0.11.1 on https://crates.io/crates/uzers


Add Nong Song

Song Name
Close eyes
Artist Name
Dxrt
Source
Youtube
Youtube Link
https://youtu.be/ao4RCon11eY?si=Ntgwu5hWbV1iPzUk
Direct File Link
No response
Song ID
88
Start Offset [ms]
No response
Extra
No response

reject
sorry, but the artist is called DVRST
if you think this was a mistake on my end please message @spuckwasser.de on Discord


How to apply variables in clickhouse sql Task db

For example, I output the variable env: test in test_para, but in the ods sql task it becomes 'test' with double quotes

hive sql also reports errors

hi @liusy-bd it seem not related to sdk but dolphinscheduler itself. Which version do you use in this case?

你好@liusy-bd它似乎与sdk无关，而是dolphinscheduler本身。在这种情况下您使用哪个版本？

ds :3.1.8
pyds: 4.0.4
Do you have any ideas?

你好@liusy-bd它似乎与sdk无关，而是dolphinscheduler本身。在这种情况下您使用哪个版本？

ds :3.1.8 pyds: 4.0.4
Do you have any ideas?

I had check the related version, seems dolphinscheduler can not replace the table name and some of field name correctly. Could you add an issue to apache/dolphinscheduler?

你好@liusy-bd它与 sdk 关联，而 dolphinscheduler 似乎本身。在这种情况下您使用哪个版本？

ds：3.1.8 pyds：4.0.4
你有什么想法？

我检查了相关版本，似乎dolphinscheduler无法正确替换表名和一些字段名。您可以向 apache/dolphinscheduler 添加问题吗？

Updated to dolphinscheduler！！！
https://github.com/apache/dolphinscheduler/issues/15457

hi @liusy-bd  maybe we can use !{}  #15238 cc @zhongjiajie

hi @liusy-bd maybe we can use !{} #15238 cc @zhongjiajie

Got it and thanks for you clarification, cc @liusy-bd and I would like to close this issue


Use new environment variables API

Instead of using the temporary hack to get environment variables, use https://github.com/microsoft/vscode-python/issues/20056.
cc/ @heejaechang

Is this related to the client move?

Yes

@heejaechang, I see this issue was moved to "Done". Can it be closed?

there is one more place we can use it (server using the API through custom LSP to resolve env variables) or we resolve things like $workspaceroot in the middleware. but that work is separate work I guess.

this specific issue is done. this one is about pythonPath


Add link to go view NS site?

This would be really handy to have in the dropdown menu :)

This was added in #8, thanks to @jessiepusateri!


How to reduce the time cost of networking round in SPU

Hi,
There are several operations which need at least log(k) networking rounds, and is hard to be parallelized, such as carry-out circuit. I think there exists time cost everytime you call the networking interface to broadcast the secret shares.
I'm wondering, when dealing with big dataset, how to reduce the time cost on this? Does bRPC can help to resolve the problem?

Hi, There are several operations which need at least log(k) networking rounds, and is hard to be parallelized, such as carry-out circuit. I think there exists time cost everytime you call the networking interface to broadcast the secret shares. I'm wondering, when dealing with big dataset, how to reduce the time cost on this? Does bRPC can help to resolve the problem?

Hi BeStrongok,
bRPC can help a little bit here through async send chunks. You can check the code here.
But in general, optimize operations with networking is something we would like to do in the future.
Best

Hi, There are several operations which need at least log(k) networking rounds, and is hard to be parallelized, such as carry-out circuit. I think there exists time cost everytime you call the networking interface to broadcast the secret shares. I'm wondering, when dealing with big dataset, how to reduce the time cost on this? Does bRPC can help to resolve the problem?

Hi BeStrongok,
bRPC can help a little bit here through async send chunks. You can check the code here.
But in general, optimize operations with networking is something we would like to do in the future.
Best

Thanks for your helpful reply :).
I have another question:
For example, you implement mul op in SPU VM, this operation needs one communication round. When dealing with element-wise multiplication on vector of length 10, are you call networking interface 10 times, or do local computation in batches and just call networking interface only once?

Hi, There are several operations which need at least log(k) networking rounds, and is hard to be parallelized, such as carry-out circuit. I think there exists time cost everytime you call the networking interface to broadcast the secret shares. I'm wondering, when dealing with big dataset, how to reduce the time cost on this? Does bRPC can help to resolve the problem?

Hi BeStrongok,
bRPC can help a little bit here through async send chunks. You can check the code here.
But in general, optimize operations with networking is something we would like to do in the future.
Best

Thanks for your helpful reply :). I have another question: For example, you implement mul op in SPU VM, this operation needs one communication round. When dealing with element-wise multiplication on vector of length 10, are you call networking interface 10 times, or do local computation in batches and just call networking interface only once?

Hi BeStrongok,
Just once, ABY3's mul implementation is here.

Hi, There are several operations which need at least log(k) networking rounds, and is hard to be parallelized, such as carry-out circuit. I think there exists time cost everytime you call the networking interface to broadcast the secret shares. I'm wondering, when dealing with big dataset, how to reduce the time cost on this? Does bRPC can help to resolve the problem?

Hi BeStrongok,
bRPC can help a little bit here through async send chunks. You can check the code here.
But in general, optimize operations with networking is something we would like to do in the future.
Best

Thanks for your helpful reply :). I have another question: For example, you implement mul op in SPU VM, this operation needs one communication round. When dealing with element-wise multiplication on vector of length 10, are you call networking interface 10 times, or do local computation in batches and just call networking interface only once?

Hi BeStrongok,
Just once, ABY3's mul implementation is here.

Thanks!

Hi, There are several operations which need at least log(k) networking rounds, and is hard to be parallelized, such as carry-out circuit. I think there exists time cost everytime you call the networking interface to broadcast the secret shares. I'm wondering, when dealing with big dataset, how to reduce the time cost on this? Does bRPC can help to resolve the problem?

Hi BeStrongok,
bRPC can help a little bit here through async send chunks. You can check the code here.
But in general, optimize operations with networking is something we would like to do in the future.
Best

Thanks for your helpful reply :). I have another question: For example, you implement mul op in SPU VM, this operation needs one communication round. When dealing with element-wise multiplication on vector of length 10, are you call networking interface 10 times, or do local computation in batches and just call networking interface only once?

Hi BeStrongok,
Just once, ABY3's mul implementation is here.

Thanks! BTW, i have't found the concrete implementation of xor_bb operation. @anakinxc

Here

Hi, There are several operations which need at least log(k) networking rounds, and is hard to be parallelized, such as carry-out circuit. I think there exists time cost everytime you call the networking interface to broadcast the secret shares. I'm wondering, when dealing with big dataset, how to reduce the time cost on this? Does bRPC can help to resolve the problem?

Hi BeStrongok,
bRPC can help a little bit here through async send chunks. You can check the code here.
But in general, optimize operations with networking is something we would like to do in the future.
Best

Thanks for your helpful reply :). I have another question: For example, you implement mul op in SPU VM, this operation needs one communication round. When dealing with element-wise multiplication on vector of length 10, are you call networking interface 10 times, or do local computation in batches and just call networking interface only once?

Hi BeStrongok,
Just once, ABY3's mul implementation is here.

Thanks! BTW, i have't found the concrete implementation of xor_bb operation. @anakinxc

Here

Thanks a lot! :)


Move declaration of the extended class for the extended record into the namespace.

When you define an extended record +c declaration of the extended class was placed outside the namespace. In our case Rect class was declared outside the namespace and it was in conflict with existing struct Rect (from MacTypes.h) already being imported in the global namespace.

Fixed in other PR. Thanks.


experiments/poseidon trait

Rework merkle tree
Rework merkle tree
cargo fmt
Enable the feature
wip
perf: trait-intensive Poseidon

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

Comparison is base (f5208ff) 96.26% compared to head (7469c52) 96.29%.

Files
Patch %
Lines

crypto/src/merkle_tree/backends/field_element.rs
16.66%
5 Missing :warning:

...o/src/merkle_tree/backends/field_element_vector.rs
16.66%
5 Missing :warning:

crypto/src/hash/poseidon/starknet/parameters.rs
97.33%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #704      +/-   ##
==========================================
+ Coverage   96.26%   96.29%   +0.03%
==========================================
  Files         130      130
  Lines       29734    29665      -69
==========================================
- Hits        28623    28566      -57
+ Misses       1111     1099      -12

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

Superseded by #706


Add the "Framework :: AnyIO" classifier

Request to add a new Trove classifier.
The name of the classifier(s) you would like to add:

"Framework :: AnyIO"

Why do you want to add this classifier?
AnyIO is an asynchronous networking and concurrency library that works on top of either asyncio or trio.  It is the basis for at least 96 projects on PyPI, including starlette and (soon) FastAPI.  Currently the available relevant classifiers are "Framework :: AsyncIO" and "Framework :: Trio", and searching for the combination of these classifiers results in 56 matching projects.  In the future, AnyIO may support additional back-ends which would complicate the classifiers further.  Many existing projects (such as anyio-mqtt or anyio-serial name themselves specifically to increase discoverability.  A specific PyPI classifier would improve the discoverability of these projects for the long-term future.
Closes #11

anyio now has 131 dependent packages on PyPI.  Framework :: AsyncIO + Framework :: Trio results in [12]("Framework :: AsyncIO" and "Framework :: Trio") projects.  It would be very nice to have this new classifier!


Terminal shows Errors but Software Reports 0 Errors

I came across this some time ago but had this issue again, I'm testing a CFExpress Card with Stressdisk, there are Write Errors shown in the Terminal Window and Log but the Software reports unter each Segment 0 Errors.
How can this be? Is this a Bug of expected behaviour?

That is normal. The error is stressdisk filling up the disk. You can see it switches from writing to reading at that point, so nothing to worry about.


When you zoom in on the map, is there a way to bring the various nearby charging stations together?

I'll take recommendations.

Use MarkerCluster.
When you zoom in on a map, you'll see a bunch of nearby markers.


jquery document ready question

testsite: http://www.smooth1.yourweblab.nl
Hi,
How do I add this to the functions.js?
$(document).ready(function($){
$('#social-stream').dcSocialStream({
feeds:{
twitter:{
id:'/1089335060,#allmedialab,allmedialab',
thumb: true
},
facebook:{
id:'414663138583560',
image_width: 3
}}});
});
It is the social media stream at the bottom right of the test site.
I added it to the footer.inc.php and functions.js with the document ready function so obviously I get JavaScript errors.
Please some help!
Thanks!
David

@Allmedialab is this still an issue? Let us know.

I've realized it would best to move personal support requests over to Stack Overflow. There's a special smoothstate.js label for us there. This will help us keep the Github issue tracker clean for bugs, pull requests, and enhancements. If you're not having any luck on Stack Overflow, feel free to join the Gitter room and ping me there. I'll try to help as much as I can.
That said, I'll be closing out this issue.


Improving README

Adding how to use pytime.parse("Apr,21st.2015")

I'll already add it in the second section.


Add options to match start or end of input

Why? What's your use-case?

I use this regex in a call to Codemirror's stream.match API (https://codemirror.net/doc/manual.html#modeapi) It requires that the pattern has starting anchor ^` so that it can match a token at the beginning of the stream.

Sorry about the delay. Alright. Will merge if you add a couple of tests ;)

Ping @akonsu :)

Closing for lack of response.

Another way is to just wrap it:
const regex = new RegExp(`^${emailRegex().source}`);

regex.match('unicorn hello@example.com');
//=> false

regex.match('hello@example.com');
//=> true


[Proposal] Replace setup.py with pyproject.toml file

According to PEP 518 the 'way forward' for storing build system requirements is pyproject file.
Something to consider since we will now be using this file for black linting/formatting.

Thanks for bringing this to our attention. Definitely good to be aware of. I will read/look into more and then get back to you with more substantial comments/questions.


There is a way to put math formulas on the Speed Attribute?

Hi, I'm using metric system and my system is in imperial system, so in order to convert the value from the speed I need to do somenthing like this
actor.data.data.attributes.speed.land.total*0.3
But don't work, there is a formula that works? thanks for the mod

This is not possible with the Generic Speed Provider currently. However, it's possible to write a small extension module that allows to do exactly that (and possibly do even more integration into the game system, if the rules of your system need it). Doing so is relatively easy and the process of how to accomplish it is detailed in the API section of the README.


Please add extra targets and releases for native platforms

At least:
macosArm64
macosX64
linuxX64

Sorry for inconvenience, will do ASAP.

Staging, will be available in a few hours.


Support true half-precision in Trainer

Description & Motivation
We recently added the HalfPrecision plugin in Fabric. The usage looks like this:
fabric = Fabric(precision="16-true")
# or
fabric = Fabric(precision="bf16-true")

This feature is not exclusive to Fabric and can easily be added to Trainer as well.
Pitch
Support the following:
trainer = Trainer(precision="16-true")
# or
trainer = Trainer(precision="bf16-true")

To support this, we need to add the HalfPrecision plugin and minor modifications to the DeepSpeedPrecision and FSDPPrecision plugins.
Alternatives
No response
Additional context
This change should also include/close #17727
cc @borda @carmocca @justusschock @awaelchli

This will also unblock quantization and using flash attention with the Trainer. We should do this before 2.1


Release latest version on GitHub

Gerrit Code Review is still consuming codemirror-minified with bower. Given that latest releases were not tagged on GitHub, they cannot be found:
ERROR: /home/davido/projects/gerrit/lib/js/BUILD:27:16: //lib/js:codemirror-minified depends on @codemirror-minified//:zipfile in repository @codemirror-minified which failed to fetch. no such package '@codemirror-minified//': failed [/usr/bin/python, /home/davido/projects/gerrit/tools/js/download_bower.py, "-b", "/usr/bin/python /home/davido/projects/gerrit/tools/js/run_npm_binary.py<EMAIL_ADDRESS>"-n", "codemirror-minified", "-p", "Dominator008/codemirror-minified", "-v", "5.59.0", "-s", "d00f3b97345772d5a7790f206cb1e3c22e96caf6", "-o", "codemirror-minified__download_bower.zip"]: [{
  "code": "ENORESTARGET",
  "details": "Available versions in https://github.com/Dominator008/codemirror-minified.git: 5.50.2, 5.47.0, 5.46.0, 5.45.0, 5.44.0, 5.43.0, 5.37.0, 5.28.0, 5.27.2, 5.26.0, 5.25.0, 5.24.2, 5.24.0, 5.23.0, 5.22.0, 5.21.0, 5.20.2, 5.20.0, 5.19.0, 5.18.2, 5.17.0, 5.16.0, 5.15.2, 5.14.2, 5.14.0, 5.13.4, 5.13.2",
  "data": {
    "endpoint": {
      "name": "",
      "source": "Dominator008/codemirror-minified",
      "target": "5.59.0"
    },
    "resolver": {
      "name": "codemirror-minified",
      "source": "https://github.com/Dominator008/codemirror-minified.git",
      "target": "5.59.0"
    }
  },
  "id": "ENORESTARGET",
  "level": "error",
  "message": "No tag found that was able to satisfy 5.59.0",

This is the issue upstream: https://crbug.com/gerrit/13760.

Done. Thanks for the reminder.

Done. Thanks for the reminder.


Interpolator

Support for the hardware interpolator of the RP2040
I am using it in one project and it works as expected.
Strange thing I did :
Each lane is accessed through a function returning a mutable reference to the lane to ensure the whole interpolator is borrowed as long as we hold to the reference as both lane are linked and can mutate each other. Maybe there is a cleaner way to achieve this.

Code looks good to me to, but without examples it's hard to gauge usability.
Do you think we could add a port of the example from https://github.com/raspberrypi/pico-examples/blob/master/interp/hello_interp/hello_interp.c?


does it support official redis cluster??

Hi,
There is, unfortunately, no support for Redis cluster in cpp_redis and no plan to provide it at the moment.
Of course, if you are willing to provide such support, you are encouraged to submit a pull request!
Best


Docs(web, web-react, web-twig): Minor typo fix

Description
Just a small typo fixes in the migration guides. 🧹

coverage: 96.46% (+16.9%) from 79.547% when pulling 62b09cfd0e4b4e311ec2a61c898e9981a47d05f4 on docs/fix-typo-in-the-migration-guides into dbf0d1d166be09eb0f6a711c959c4b0e62e311ba on main.


Route not sending correct Match object as prop

Hello!
In attempting to use path params, I'm encountering an issue where the state of the <Route> shows the correct match object (with the correct path, params object) but a different match object is being passed to the render prop function. So here's some sample code:
class App extends Component {
  render() {
    return (
      <div>
        <Switch>
          <Route exact path="/" render={props => <Home {...props} {...this.props} />} />
          <Route exact path="/users" render={props => <Users {...props} {...this.props} />} />
          <Route exact path="/users/new" render={props => <NewUser {...props} {...this.props} />} />
          <Route path="/users/:id" render={props => <User {...props} {...this.props} />} />
        </Switch>
      </div>
    )
  }
}

And some screenshots from dev tools to show you what I mean:

The User component, which should be getting the same match object from the above state as a prop:

Also note that for some reason isExact is true on the Route's state when it should be false. Am I doing something wrong, or is this a bug of some sort? Using<EMAIL_ADDRESS>and it's under a react-router-redux <ConnectedRouter /> but I don't think that's the cause.
Thanks!

Is there a withRouter in your User.js file? Currently, a pathless <Route> (which is what withRouter uses to inject props into your component) creates a new match object. That is the most likely culprit, but it is difficult to say without seeing the User.js file.
If that is your issue, PR #4704 should fix it because it has pathles <Route>s reuse their parent match.

@pshrmn Nope there is not a withRouter in the User component; sounds like there should be according to the current API but it seems like a bad idea. Glad to see that PR. Hopefully it'll be merged in soon, until then I'll take a look at using withRouter in all the many components I want to work like this. Thanks!

No, you don't need withRouter. The props from the render function are the same as the ones that are injected by withRouter.

Well that's what I thought would be the case but my experience says the opposite. With the above code, wrapping the component exported from User.js in withRouter like export default withRouter(class User extends...) works as I would expect it to. The Route component's state is passed as a prop to the User component. If in the render attribute function I include a console.log(props.match) it shows an empty params object and the path being '/', regardless of what the Route component's state is.

That is odd. I put together a mini test case using your <App> and it works for me. https://codesandbox.io/embed/npAAE2Ep

My actual code is basically that... I'll see if I can find any differences, but as far as I can tell it should be working just like that.

Be great if you could update your findings on here :)

Any news on this? Having the same problem here...


Update scalatest to 3.2.8

Updates org.scalatest:scalatest from 3.2.7 to 3.2.8.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalatest", artifactId = "scalatest" } ]

labels: library-update, semver-patch

Codecov Report

Merging #26 (b5b61a2) into main (0242441) will decrease coverage by 48.38%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main      #26       +/-   ##
===========================================
- Coverage   83.87%   35.48%   -48.39%
===========================================
  Files           2        2
  Lines          31       31
===========================================
- Hits           26       11       -15
- Misses          5       20       +15

Impacted Files
Coverage Δ

.../de/tobiasroeser/mill/vcs/version/VcsVersion.scala
0.00% <0.00%> (-83.34%)
: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 0242441...b5b61a2. Read the comment docs.


Global/Default Search Verticals List is Inaccurate

According to this paragraph in the indicated documentation, there are 5 organization-level default search verticals (see below):

All
People
Files
Sites
News

However, that does not appear to be the case.  The SharePoint start page and Office page search results include an additional default search vertical:  Power BI (see below).
In addition, the Bing work search results page shows another 2 additional search verticals:  Groups and Conversations (see below).
This is relevant, because the 'All' search vertical does not include results from 3 additional verticals:  Power BI, Groups, and Conversations (see below).  Similarly, the 'All' search vertical also does not include results from any custom search verticals that are created/indexed.
I have opened a support ticket with Microsoft regarding this behavior (CR# 23540625).
I was told that the 'All' search vertical will only include content from SharePoint and OneDrive.  If that is the case, I believe this behavior should be documented and perhaps the Microsoft Search team should consider renaming the 'All' vertical to something that will indicate it does not actually include 'All' search results.

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

ID: 1ce38a86-b4a9-9c13-f772-4f79b8ecd0cb
Version Independent ID: 933c3664-1f7f-680a-fb5f-5576bed5943c
Content: Customize the Microsoft Search page
Content Source: MicrosoftSearch/customize-search-page.md
Service: mssearch
GitHub Login: @jypal
Microsoft Alias: jeffkizn

Hello Tracy, thanks for the feedback.
The list of verticals (tabs) on the search results page on Bing@Work and SP-Home + office.com are not the same.
We are working towards coherence on both the endpoints. We will update the documentation to call out the 2 lists separately.

Our vision for the All vertical is to truly make it All. We have introduced the concept of result clusters on All vertical where snippets of connector results can show up, if there is a match. We would be improvising All vertical to bring in other content sources as well. Meanwhile, we are providing a feature to rename the default verticals. This feature will be available in Targeted Release channel starting early March.

Hope this helps. Do let me know for any further questions.

Thanks @AnjanaValsan!  Do you have a roadmap item for the feature to rename the default verticals?

The feature to rename the default verticals is targeted for public preview in March. Please use the link here to track this feature release on our M365 roadmap.
https://www.microsoft.com/en-us/microsoft-365/roadmap?filters=Microsoft Search
The item id is 57054


fix(slots): improve dynamic slot change handling

Alaska Airlines Pull Request
Fixes: #32
Summary:
Small tweak to handle slot changes and make sure all steps are run on connectedCallback and slotchange.
Type of change:
Please delete options that are not relevant.

[ ] New capability
[x] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

:tada: This PR is included in version 1.3.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


handle hex inputs

reopened because https://github.com/Calindra/nonodo/pull/165 wasnt merged correctly

Hello. Reminder to review this PR. Thanks


Modified link so multiple react components can instantiate different …

…plaid links

@pbernasconi Any update?

I went ahead and pulled the latest into my fork and pull request. I'm not too familiar with this process so let me know if I need to redo the pull request before merging.

What would it take to get this merged in? It would be super useful for what I'm working on, and I'm sure for many others as well.

@pawelmaczka I modified this to not use this.setState to hold the linkHandler. I also fixed the package.json referencing lib/ instead of dist/

Sorry that I have been unresponsive for this repo!
In the next few weeks, I'm planning to move this repo over to the official Plaid organization, and will be addressing this, and the other open issues then!
Stay tuned for an update soon.

Hi @pbernasconi! Thanks for your work on this. Are there any updates on moving this to the Plaid org?

Would be awesome if this got merged soon! @pbernasconi

@pbernasconi @jeffcoh23 This should be all good to go for a merge.


How to send ATOM using cosmjs? ( can't find sample )

i  checked,

create wallet, deposit ATOM, get balance.

But there are no sample or code to make send transaction and send.
Anyone who can help? or any docs?

const rpcEndpoint = "~~~";
const client = await SigningStargateClient.connectWithSigner(rpcEndpoint, wallet);
const result = await client.sendTokens(firstAccount.address, firstAccount.address, [coin], 11111, "Have fun with your star coins");
assertIsBroadcastTxSuccess(result);
i found this. but always error.
Maybe wrong rpcEndpoint or sendTokens error
an how to calculate gasFee for transaction?

and other solution is using https://v1.cosmos.network/rpc/v0.41.4
but i don't know how to make transaction object.
sample:
const value = {
"tx": {
"msg": ["string"],
"fee": {
"gas": "1",
"amount": [
{
"denom": "uatom",
"amount": "50"
}
]
},
"memo": "string",
"signature": {
"signature": "MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH"
},
"account_number": "0",
"sequence": "0"
}
},
"mode": "block"
}

@webmaster128 Hi. You are professional about cosmjs ^^;
Can you guide me how to withdraw using
https://v1.cosmos.network/rpc/v0.41.4
this REST API ?
POST /cosmos/tx/v1beta1/txs
I can't understand how can i make body data.
i also read your article.
https://gist.github.com/webmaster128/8444d42a7eceeda2544c8a59fbd7e1d9
but there are errors when call sendTokens.
const result = await client.sendTokens(firstAccount.address, recipient, [amount], "Have fun with your star coins");
assertIsBroadcastTxSuccess(result);

this is my final code. ( finally success )

what is proper gasPrice ? ( i just fixed 0.002 )
let gasprice = GasPrice.fromString("0.002uatom");

when i use  v1.cosmos.network how to add 'tx_bytes' value to REST API?
const txBytes = TxRaw.encode(txRaw).finish();
txBytes are Uint8Array.

    const wallet = await Sinign.DirectSecp256k1HdWallet.fromMnemonic(mnemonic);
    const [firstAccount] = await wallet.getAccounts();
    const coin = await cosmos.getBalance(firstAccount.address);
    const rpcEndpoint = "https://~~~";
    const client = await SigningStargateClient.connectWithSigner(rpcEndpoint, wallet);

    const amt = Coins.coin(8000, coin.denom);
    const sendMsg = {
        typeUrl: "/cosmos.bank.v1beta1.MsgSend",
        value: {
          fromAddress: firstAccount.address,
          toAddress: firstAccount.address,
          amount: [amt],
        }
    };

    const gasEstimation = await client.simulate(firstAccount.address, [sendMsg], "MSG");
    const multiplier = 1.3;
    let gasprice = GasPrice.fromString("0.002uatom");
    let usedFee = calculateFee(Math.round(gasEstimation * multiplier), gasprice);
    const txRaw = await client.sign(firstAccount.address, [sendMsg], usedFee, "MSG");
    const txBytes = TxRaw.encode(txRaw).finish();

Hey @bytesmix , we have a new tutorial online that shows you how to do a token transfer using CosmJS, it also includes some info about gas and how to encode/decode. You can find it here:
You can also find working RPC endpoints in the Chain Registry that you can use for testing & development purposes.
This should probably help you, so I'm closing this issue for now, but please re-open if you're running into further obstacles that might be related to problems in CosmJS.

link "here" is broken :)

Ah yes, that changed, here you go @ranlavanet :)

link still broken @nooomski

@Tocard , updated link is here:
For future reference, just go to https://developers.cosmos.network, you'll find all CosmJS tutorials there :)


Google: Need better way to discover when google+ api not enabled

It would be helpful for the google middleware to handle the situation where just the google+ me request fails.  Currently today this results in a 403, which is caught and swallowed.  OnAuthenticated isn't called, and I had to debug into sources to see that it was the google plus me request failing here:
            // Get the Google user
            HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Get, UserInfoEndpoint);
            request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", accessToken);
            HttpResponseMessage graphResponse = await _httpClient.SendAsync(request, Context.RequestAborted);
            graphResponse.EnsureSuccessStatusCode();

Do we need some kind of error callback?  Instead of just getting called back with a null Identity in the authentication result?

@Tratcher So I tried this again with our new changes, the main problem is we only get a 403 back with no other error when things are misconfigured, so we currently just blow up when we try to EnsureSuccessCode.  The best we can do is special case 403 to say "failed, Forbidden by OAuth provider"?  Any other ideas?

POR: do not throw, give the status code 403.  We should also consider documenting why this may be happening.

238fdf24e8b0e3c5e84cd8dc7f7324502a439429

This came up during my testing and it was hard to diagnose. Can we improve the error message? Right now it just says:
An unhandled exception occurred while processing the request.

HttpRequestException: Response status code does not indicate success: 403 ().
System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()

Yes, but not in RC2 😄

Fixed in https://github.com/aspnet/Security/pull/905/commits/5de4816f59a87d00436bf386b23d9ff10e9f6bf6


Poor IntelliSense in debug console

stop at a breakpoint
type the prefix of a variable in scope (suffi here)
quick suggest shows which is nice
hit escape
continue typing :bug: no more quick suggest
manually trigger suggestion via ctrl+space: :bug: no suggestions

https://user-images.githubusercontent.com/1794099/176383072-61822c2a-f5dc-48d7-ba8d-3856ea757a69.mov

My guess is that the completion item provider doesn't take the current prefix into account (when triggered). Let me know if you need consulting

It looks like vscode sent the right request but js-debug didn't return any completions


[KOGITO-6358] Inject Kogito Process meta data to OpenAPI generated client

Signed-off-by: Ricardo Zanini<EMAIL_ADDRESS>See: https://issues.redhat.com/browse/KOGITO-6358
Changes

Incorporate CloudEvents utils to Kogito Events API module. Since our core is naturally compatible with CloudEvents, it makes sense to have these classes in our core modules.
Separate of concerns from the CE extensions to Process meta informatioin
Inject Process meta info into OpenAPI auto-generated rest clients

PRs related

https://github.com/kiegroup/kogito-apps/pull/1180
https://github.com/kiegroup/kogito-examples/pull/1061

Many thanks for submitting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:

[x] You have read the contributors guide
[x] Your code is properly formatted according to this configuration
[x] Pull Request title is properly formatted: KOGITO-XYZ Subject
[x] Pull Request title contains the target branch if not targeting main: [0.9.x] KOGITO-XYZ Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains link to any dependent or related Pull Request
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket

How to replicate CI configuration locally?

Build Chain tool does "simple" maven build(s), the builds are just Maven commands, but because the repositories relates and depends on each other and any change in API or class method could affect several of those repositories there is a need to use build-chain tool to handle cross repository builds and be sure that we always use latest version of the code for each repository.
build-chain tool is a build tool which can be used on command line locally or in Github Actions workflow(s), in case you need to change multiple repositories and send multiple dependent pull requests related with a change you can easily reproduce the same build by executing it on Github hosted environment or locally in your development environment. See local execution details to get more information about it.

How to retest this PR or trigger a specific build:

Run all builds
Please add comment: Jenkins retest this

Run (or rerun) specific test(s)
Please add comment: Jenkins (re)run [kogito-runtimes|optaplanner|kogito-apps|kogito-examples|optaplanner-quickstarts|optaweb-employee-rostering|optaweb-vehicle-routing] tests

Quarkus LTS checks
Please add comment: Jenkins run LTS

Run (or rerun) LTS specific test(s)
Please add comment: Jenkins (re)run [kogito-runtimes|optaplanner|kogito-apps|kogito-examples|optaplanner-quickstarts|optaweb-employee-rostering|optaweb-vehicle-routing] LTS

Native checks
Please add comment: Jenkins run native

Run (or rerun) native specific test(s)
Please add comment: Jenkins (re)run [kogito-runtimes|optaplanner|kogito-apps|kogito-examples|optaplanner-quickstarts|optaweb-employee-rostering|optaweb-vehicle-routing] native

Full Kogito testing (with cloud images and operator BDD testing)
Please add comment: Jenkins run BDD
This check should be used only if a big change is done as it takes time to run, need resources and one full BDD tests check can be done at a time ...

The (build) kogito-apps check has failed. Please check the logs.

The (build) kogito-apps check has failed. Please check the logs.

The (build) kogito-examples check has failed. Please check the logs.

The (build) kogito-examples check has failed. Please check the logs.

The (build) kogito-apps check has failed. Please check the logs.

The (build) kogito-examples check has failed. Please check the logs.

The (build) kogito-apps check has failed. Please check the logs.

Jenkins rerun kogito-apps tests
Jenkins rerun kogito-examples tests

The (build) kogito-examples check has failed. Please check the logs.

Jenkins rerun kogito-examples tests

The (build) kogito-apps check has failed. Please check the logs.

Jenkins rerun kogito-apps tests

The (build) kogito-apps check has failed. Please check the logs.

Since we are already passing KogitoProcessContext to service calls as extra parameters, wont it be possilbe to use the same approach with this PR?.

There's no change in the service calls method signature in this PR. We are just reusing the very same parameters passed to it to create the headers.
If you think there's a good way to improve it by changing the operation, we can open a follow-up JIRA and refactor there. Sorry, it's out of the scope of this PR, and it's already large.

The (build) kogito-apps check has failed. Please check the logs.

Jenkins rerun kogito-apps tests

The (build) kogito-apps check has failed. Please check the logs.

Jenkins rerun kogito-apps tests

The (build) kogito-apps check has failed. Please check the logs.

Jenkins rerun kogito-apps tests

The (build) kogito-apps check has failed. Please check the logs.


Replicate and document the shitty code-oss build steps i guess in general

i guess it was in general something around
tsc --emitDir --module esm

FileSystem Provider
Workspace Provider
LiveShare vsls see: './modules/share'
We should offer a Service Adapter as code-oss uses this pattern all over we can adapt that Services as the offer getter setter apis and methods.


Fix a broken anchor link

This PR fixes the #check-access anchor link in the bisync.md document.
#check-access-option does not exist in bisync.md; #check-access does.
What is the purpose of this change?
Improve documentation by fixing a broken anchor link.
Was the change discussed in an issue or in the forum before?
Not to my knowledge
Checklist

[x] I have read the contribution guidelines.
[x] I have added tests for all changes in this PR if appropriate.
[x] I have added documentation for the changes if appropriate.

[x] I'm done, this Pull Request is ready for review :-)

GitHub, did you actually just fork this repo without asking me if I wanted to fork it, and then open a PR against my own fork? Wow.


New Theme for Transfer - Campfire

I've created a new Dracula theme for Campfire, a writing and worldbuilding app.
Repository
This has already been transferred to the Dracula org

Hey, very cool! ✨
Thanks for building this! 🎉

🧟♂ It's alive: https://draculatheme.com/campfire


Send me a link to the spreadsheet that contains the fields for the geo capture tool

i.e the categories of locations etc.

found the categories


Does not work !

This bot just starts and load commands.
Could you make a tutorial how to setup ?

I developed this bot last year (2023/03), and I'm no longer interested in maintaining it. However, I believe it still functions perfectly. All the bot configurations are documented in the README file and within comments throughout the code. It requires a backend server running for both the website and the Discord bot.
Additionally, you'll need to set up an authentication application in the Discord Developer Portal to ensure proper integration and functionality of the bot. Please note that I understand that users may encounter difficulties in connecting all the essential functions of the project.

Well, im not sure im following best, but how should redirect_uri look
https://<IP>:<PORT>/auth or https://domain/auth ?

From what I remember, it could be: https://:/auth or https://domain/auth. If problems arise, you can also debug the code and try to identify the problem.
Additionally, it's necessary to have the ports open and ensure that the server is accessible to the public and also configured in the Discord Developer Portal.


How to expose only a few fields from model to api, if I leverage t.crud

What should I do if I want to expose only a few fields from model to api? Example:
In prisma I have:
model Email {
  id                            ID
  value                         String      @unique
  expirationMoment  DateTime
}

expirationMoment should be set to now + 1 day (in code) and should not be exposed by graphql api neither by output, nor by input objects.
I can hide expirationMoment from being a part of Email output type using this:
export const Email = objectType({
    name: "Email",
    definition(t) {
        t.model.id()
        t.model.value()
    },
})

but if I expose CRUD operations using this:
export const EmailMutation = extendType({
    type: "Mutation",
    definition(t) {
        t.crud.createOneEmail({alias: "createEmail"})
    },
})

then EmailCreateInput type will contain a required expirationMoment anyway.
How to avoid this?

I think the way which model is used should affect the related crud methods.

I don't think models and inputs should be coupled, it entirely depends on what you're trying to achieve. eg:
One could be willing to expose expirationMoment on Email, but not on the input type because you want it to always be programmatically defined.
I added that issue to #477, as we need to offer a way to customize input types (namely EmailCreateInput here)

@Weakky agree, it is more nuanced than I make it seem. We might want the concept of strategies/polices.


Remove OS specific ternary

In the Control Gallery example you have a line like this:
onDarwin ? entry(searchText) : searchEntry(searchText),

It makes more sense to me, to just move that logic into the definition of searchEntry.
const entry = mkControl(libui.UiEntry, {
    readOnly: false,
    enabled: true,
    text: '',
    visible: true,
    onChanged: EventHandler
});

let searchEntry;

if (os.platform === 'darwin') {
    searchEntry = mkControl(libui.UiEntry, {
        readOnly: false,
        enabled: true,
        text: '',
        visible: true,
        onChanged: EventHandler
    });
} else {
    searchEntry = mkControl(libui.UiSearchEntry, {
        readOnly: false,
        enabled: true,
        text: '',
        visible: true,
        onChanged: EventHandler
    });
}

This way the API is cleaner for users, also it allows for improvements in the future. I assume this ternary exists because searchEntry is not available on OSX, so it just uses the entry fallback. If this functionality becomes available in the future of that OS, then user's will inherit it automatically, and until then they will get a graceful degradation.
I'm just using this one piece of code as an example, but I think this should be considered more broadly as a pattern to reduce the complexity of the cross-platform nature of the API.
I've also been looking at the code base for about 30 minutes, so I welcome feedback/discussion on this suggestion.

I don't think that check is needed anymore.
Original bug report: https://github.com/parro-it/libui-node/issues/9#issuecomment-225481658
Bug was solved in libui: https://github.com/andlabs/libui/issues/132

@TheJaredWilcurt would you mind doing a PR that remove the check altogether?

@TheJaredWilcurt any chance?


Electrical Misc: M/F Contact needs --< line end

[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Is your feature request related to a problem? Please describe.
I am trying to draw a connection using classic (male) arrow head but cannot find a mating (female) arrow head option. The two symbols would look like --> >--.
Describe the solution you'd like
A new line end (--<) is needed to complement the existing -->.
Describe alternatives you've considered
I have searched other types of connectors having the appropriate ending and found nothing.
Additional context
This is what I am trying to achieve.

There will be a Plug-Socket Connector stencil in Electrical\Misc in the next release. It will have appropriate connection points for this purpose.


Correcting the import of createEsbuildPlugin

In the distributed package files, the esbuild.js file has an export.default which will work in less instances than the named export export.createEsbuildPlugin.

This has been superseded by 02d37e0.


androidx.annotation.NonNull

in my project react-native I don't use androidx, and i have a lot of lib didn't use androidx, I have to delete the import line androidx.annotation.NonNull; in RNSensitiveInfoModule to work. any help please

Take a look at this explanation of androidx. This is likely what will fix your issue.


Sdk 0.5.1 new functionality

I have read the CLA Document and I hereby sign the CLA

I have read the CLA Document and I hereby sign the CLA


Use a CopyOnWriteArrayList in Mediator instead of synchronize {}.

Remove synchronize {} from all Mediator functions. Replaced the MutableList with a CopyOnWriteArrayList, that will allow multiple readers of list at once and caller that modifies the list (add,remove, etc) will get a new copy of the list that will automatically synchronized by the JVM in a safe way.
See: https://developer.android.com/reference/kotlin/java/util/concurrent/CopyOnWriteArrayList
Note: It looks to me that this has greatly sped up sending events through the timeline.

Codecov Report
Patch coverage: 100.00% and project coverage change: +5.41 :tada:

Comparison is base (108a98f) 78.34% compared to head (de63541) 83.76%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #141      +/-   ##
============================================
+ Coverage     78.34%   83.76%   +5.41%
+ Complexity      492      479      -13
============================================
  Files            73       65       -8
  Lines          6036     5174     -862
  Branches        757      672      -85
============================================
- Hits           4729     4334     -395
+ Misses          711      273     -438
+ Partials        596      567      -29

Impacted Files
Coverage Δ

...segment/analytics/kotlin/core/platform/Mediator.kt
86.20% <100.00%> (-5.23%)
:arrow_down:

...segment/analytics/kotlin/core/platform/Timeline.kt
90.90% <100.00%> (ø)

...core/platform/plugins/DestinationMetadataPlugin.kt
78.78% <0.00%> (-3.04%)
:arrow_down:

...tics/kotlin/android/AndroidLifecyclePluginTests.kt

...m/segment/analytics/kotlin/android/StorageTests.kt

...om/segment/analytics/kotlin/android/utils/Mocks.kt

...egment/analytics/kotlin/android/EventsFileTests.kt

...ics/kotlin/android/AndroidContextCollectorTests.kt

.../analytics/kotlin/android/utils/MockPreferences.kt

... and 3 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


CAMEL-17229: optimisation to create files from a String

This change reduces the risk of a file being consumed before being completely
written which frequently happens during parallel unit tests.

Ah we need to wait till after 3.14 LTS has been released because Files.wrireString is not part of Java 8.
Camel 3.15 will drop Java 8 so we can do this PR in about 1 month when 3.14 is released

The main branch has been upgraded to java 11, so we can go ahead with this PR


"This is the beginning..." appears in LNH when closing and reopening a task

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

Action Performed:

Send a  task from account A to B with B as the assignee
From account A, check and then uncheck the task
Notice the bottom text in LNH on account B

Expected Result
It should show "Reopened Task" in the LNH bottom text on both accounts
Actual Result
It shows "This is the beginning of your conversation..." text first on account B, then A as well
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.17
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/43996225/607cffb4-2407-441e-9416-87282a3bbe64
https://github.com/Expensify/App/assets/43996225/f20faf19-185c-408f-92e8-4c3c4cc2a8b0
Expensify/Expensify Issue URL:
Issue reported by: @esh-g
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1684520514678929
View all open jobs on GitHub

Reproduced. Adding engineering to confirm whether this is a back-end issue or not.

Hmm, what am I doing wrong here? I've tried a handful of times to repro both locally and on prod with no success:
https://github.com/Expensify/App/assets/7277067/a60cf297-0f49-4016-a474-80165225c50f
The initial bug report is from 6 days ago, so perhaps it's been fixed in the interim? (cc @thienlnam if you know anything about this off the top of your head)
PS I'm OOO tomorrow and Monday.


[V2 API] Migrate and clean up usage of observation existence API

Follow the new file layout pattern:

Create data fetch function in fetch.py, with response simplification
Remove v1/v2 observation existence REST call wrapper in datacommons.py

Thanks for the review!