[Feature] Lateral view

Search before asking

[X] I had searched in the issues and found no similar issues.

Description
The functions in SQL can be divided into the following categories according to the number of input and output rows:

Scalar function
Aggregate function
Table Function: One line of input corresponds to multiple lines of output.

Doris currently supports the first two functions, but does not support the third.
Table Function is usually used in operations such as column to row. For example, the following table data:

id
names

1
a, b, c

2
d, e, f

If you want to output multiple comma-separated data in the names column in rows as follows:

id
name

1
a

1
b

1
c

2
d

2
e

2
f

You need to use the Table Function, which converts one row of data into multiple rows.
Common Table Function, such as explode in hive, or unnest in presto, can convert array or list types into multi-line output. like:
select explode(array_col1) from tbl;
Design
Syntax
lateralView: LATERAL VIEW udtf(expression) tableAlias AS columnAlias (',' columnAlias)
fromClause: FROM baseTable (lateralView)

Multiple Lateral Views
A FROM clause can have multiple LATERAL VIEW clauses. Subsequent LATERAL VIEWS can reference columns from any of the tables appearing to the left of the LATERAL VIEW.
For example, the following could be a valid query:
SELECT * FROM exampleTable
LATERAL VIEW explode_split(col1, ",") myTable1 AS myCol1
LATERAL VIEW explode(col2, ",") myTable2 AS myCol2;

TableFunctionNode
The result of Table Function is multiple rows, which can also be regarded as a relational table. So we need to implement a new TableFunctionNode. It contains the TableFunction that needs to be processed. For each row of TableFunctionNode input, execute the corresponding TableFunction, and then perform the correlation operation and output.
MySQL [test]> explain select k1, e1, e2 from test_explode lateral view explode_split (col1, ",") tmp as e1  lateral view explode_split (col2, ",") tmp as e2;
+---------------------------------------------------------------------------+
| Explain String                                                            |
+---------------------------------------------------------------------------+
| PLAN FRAGMENT 0                                                           |
|  OUTPUT EXPRS:`k1` | `e1` | 'e2'                                                 |
|                                                                           |
|   RESULT SINK                                                             |
|                                                                           |
|   1:TABLE FUNCTION NODE                                                   |
|   |  table function: explode_split(`col1`, ','), explode_split('col2', ',')                             |
|   |                                                                       |
|   0:OlapScanNode                                                          |
|      TABLE: test_explode                                                  |
+---------------------------------------------------------------------------+

Use case
No response
Related issues
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

TODO:

table function from subquery

select * from (select k1, bitmap_union_string(v1) as new_v1 from table) lateral view explode_split(new_v1) t as tb_v1;

int result type of explode_split(string, ",")
reduce memory copy in output tuple of table function

Execution of Table Function Node
Table Function Node (TFN) contains one or more Table Functions, and its main logic is to expand the data received from the child nodes into multiple rows through the Table Function and return the data to the upper layer. The main execution process is as follows:

Get a row of data from the child node child row.
Pass the child row into each table function, and each table function will calculate and get a result set: S1, S2,...
Do the Cartesian product of child row and each result set and send it to the upper layer.

for example. Suppose the child row has 3 columns, k1, v1, v2:

k1
v1
v2

1
"a,b,c"
"4,5,6"

Two Table Functions: explod_split(v1,',') and explode_split(v2,',') respectively produce the following result sets:

explod_split(v1,',')

"a"

"b"

"c"

explode_split(v2,',')

"4"

"5"

"6"

The final Cartesian product result is:

k1
explod_split(v1,',')
explode_split(v2,',')

1
"a"
"4"

1
"a"
"5"

1
"a"
"6"

1
"b"
"4"

1
"b"
"5"

1
"b"
"6"

1
"c"
"4"

1
"c"
"5"

1
"c"
"6"

Table Function Interface Design
Because Doris does not currently support complex data types (such as Array), and Table Function is essentially an expression that returns an array type. So in this implementation, we will do special treatment for Table Function.

DummyTableFunctions
This is a deception class. Its main purpose is to generate the scalar function signature of the table function on the BE side to facilitate query planning on the FE side, and to use the existing scalar function framework when the BE performs parameter expression calculations. In other words, in the planning and execution preparation stages of the entire query, Table Function is treated as a scalar function.

TableFunctionFactory
The factory class of Table Function returns real Table Function instances based on the function name. Currently only supports matching Function by function name.

TableFunction
The actual Table Function implementation class. Provide the following interfaces:

prepare()/open()
Some preparations, such as calculation of constant expressions, memory allocation for intermediate result sets, and so on.

process(row)
According to the incoming data (row), calculate the Table Function result set.

reset()
Because of the Cartesian product relationship between multiple Table Functions, all the result sets of a Function may be traversed multiple times. This method will set the cursor of the result set to the initial position in order to continue the traversal.

get_value()
Get the value of the position pointed by the current cursor.

forward()
Move the cursor forward, then you can call get_value() to get the next value

close()
The cleanup work after Function execution.

The subclasses of TableFunction are concrete implementations of each Table Function. The following three functions are implemented in this issue:

explode_split(str, delimiter)
Split str into multiple strings according to delimiter.

explode_json_array_xxx(json_str)
Split a json array. According to the type of elements in the json array, xxx can be string, int or double

explode_bitmap(bitmap)
Expand a bitmap and return the value of each element in the bitmap.

Table Function Node Interface Design
Table Function Node inherits from Exec Node. There are the following interfaces:

init()
Some initialization work, including obtaining Table Function objects, etc.

prepare()/open()
Some preparations. For example, prepare()/open() of the call expression

get_next()
Get a batch of results. Here, get_next() of the child node will be called to get the child node data first, then calculate the result of the Table Function, and return the data after the association.


Feature Request: tick() (and batch()?)

Hi, thanks for implementing untrack(), I have come back with 2 more feature requests 😅
I would love to be able to use tick() and batch(), tick() waiting for any effects or computed to run.
My use case: I'm building a draggable library, and it will have a plugin system. Each plugin will be exactly like Vue Composition API, only using signals from alien-signals. The internal API right now(sans-signals) is somewhat like this:
instance.ctx.delta.x = e.clientX - instance.ctx.initial.x - instance.ctx.offset.x;
instance.ctx.delta.y = e.clientY - instance.ctx.initial.y - instance.ctx.offset.y;

// Core proposes delta
instance.ctx.proposed.x = instance.ctx.delta.x;
instance.ctx.proposed.y = instance.ctx.delta.y;

// Run the plugins
const run_result = run_plugins(instance, 'drag', e);

if (run_result) flush_effects(instance);
else return clear_effects(instance);

// Whatever offset we have had till now since the draggable() was mounted, add proposals to it, as long as they're not null
instance.ctx.offset.x += instance.ctx.proposed.x ?? 0;
instance.ctx.offset.y += instance.ctx.proposed.y ?? 0;

Post signals, it will become:
instance.ctx.delta.set()

// Core proposes delta
instance.ctx.proposed.set()

instance.ctx.phase = 'drag';

await EffectsWithinPLuginsToRun();

untrack(() => {
  instance.ctx.offset.set(instance.ctx.proposed.x/y)
})

Here, the effects within plugins will run when delta and proposed change(They'll watch these two properties in their own effect()s, and call ctx.propose() with new deltas). Then we wait for effects to be done running and then update offset in a non-notifying manner with the new proposed.
So, here I have two concerns: delta and proposed updates should be batched. As in, setting both shouldn't trigger the effects twice. Maybe this library already does that, not sure. But if it doesn't, a batch helper would be really beneficial.
Secondly, await EffectsWithinPLuginsToRun() should be await tick() essentially, to wait for all plugins to be done running, and then move forward.
I would really appreciate a solution to these problems, if its feasible 😄
Keep up the great work!
Thanks

So, here I have two concerns: delta and proposed updates should be batched. As in, setting both shouldn't trigger the effects twice.

We have startBatch, endBatch to support this behavior:

Ohh cool, didn't know that. It's prolly not documented haha! Thanks!


Update sizes.md

Ls is in Previous generation

@sasha-melamed : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off I'll make sure this has been made to the Linux version as well. Thank you!


Fixed "Salesfoce" typo

Hi @vancinad! Thank you for your contribution. Before we merge your PR, please sign the CLA. You can follow the instructions on the cla-bot comment. Thanks!

This issue no longer appears in Salesforce Connector 10.13

This issue has been moved to this PR: https://github.com/mulesoft/docs-connectors/pull/1806/files


Request: Mention "Enroute Flight Information" in the EFB Compatibility list or the home page

Dear Stratux developers,
I am writing as the author of the free EFB app "Enroute Flight Navigation", a project of the Akaflieg Freiburg flight club. The app is relatively new but has already more than 10,000 active installations.

App Homepage: https://akaflieg-freiburg.github.io/enroute
Development:  https://github.com/Akaflieg-Freiburg/enroute
Google Play: https://play.google.com/store/apps/details?id=de.akaflieg_freiburg.enroute
F-Droid: https://f-droid.org/de/packages/de.akaflieg_freiburg.enroute/

The app works well with Stratux. Compatibility has been tested by Adrian Batzill, who kindly advised us in the development process. By now, we have received some very positive feedback from our users. We saw that you list compatible EFB apps on your home page. I am writing to request that you add our app to this list.
Do not hesitate to contact us if you have any questions or concerns. We are looking forward to hearing from you!
Best regards from Freiburg (Germany),
Stefan Kebekus.

Hi Stefan,
Adrian already added it to the Wiki of the Stratux Europe fork:
https://github.com/b3nn0/stratux/wiki/EFB-Configuration#enroute-using-flarm-nmea-protocol
Feel free to improve the entry if necessary.
Btw, any plans to release the App for iOS?
Best regards from Würzburg (Germany)
PS: please consider joining our Slack channel:
https://join.slack.com/t/stratuxadsb/shared_invite/zt-i8zqhhg7-L~zUvPWDIwwOEUwywXObCg


Fix table alignment and padding.

PR Summary
The original change #5568 to remove extra padding didn't take into account alignment.
Fix logic to accommodate left, center, and right alignment in table for only right side padding and added test.
Removed over active debug assert when formatting was necessary.
Marked Set-Date tests as -Pending due to #6227
Fix https://github.com/PowerShell/PowerShell/issues/6228
Fix https://github.com/PowerShell/PowerShell/issues/6234
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Change is not breaking
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready.

User-facing changes

[x] Not Applicable
OR
[ ] User-facing Documentation needed

[ ] Issue filed - Issue link:

Testing - New and feature

[ ] Not Applicable or can only be tested interactively
OR
[x] Make sure you've added a new test if existing tests do not effectively test the code changed

[x] Add [feature] if the change is significant or affects feature tests

Does it fix the #6234 as well?

This PR fixes a consistent crash that I was getting with any command that uses Format Table.
The issue tracking that crash is here: https://github.com/PowerShell/PowerShell/issues/6234

I think I figured out why the tests are failing.  Working on a fix.

Linux/Mac failures due to https://github.com/PowerShell/PowerShell/issues/6227

Marked Set-Date tests requiring sudo as Pending for now due to #6227

@SteveL-MSFT Can you add information about Set-Date change in the description.

@adityapatwardhan done


Update TinyGPS++

Update to 1.1.0, seems to be improvement in GPS discovery.

test report on 12h: quicker GPS satellite connected from cold boot.

Thank you


visualization of the results and Replica dataset

Hello, I would like to know how to achieve the visualization of the results for scene instance segmentation. Additionally, I am very much looking forward to the release of the Replica dataset. Thank you for your contributions to this project

Hi @1304150468.

Since SOLE is based on the code of Mask3D, it supports visualization with pyviz3d library. You may refer to this line in trainer\opentrainer.py.

Since authors are currently occupied to other project and paper is under review, the code and weight for Replica dataset will be released after the paper is accepted. Thanks for your understanding and stay tuned!


modulators

hello,Where are Modulators in your code？is it qk_bias?

qkv_bias is boolean type I think there is no modulator in open source code

没调制器？

哪部分代码是调制器的内容啊


JRTB-9: As a User, I want to start working with bot OR set active if I used it before

As a User, I want to start working with bot OR set active if I used it before
Acceptance criteria:
/start command added

#29


Eslint --fix not working on a fresh CRA v4 app

Describe the bug
Running eslint --fix <filename> does not automatically fix the problems on a fresh CRA v4.0.3 app.
(Also in PhpStorm/WebStorm, the option for Run eslint --fix on save. does not work, unlike with CRA v3. This is perhaps related.)
Did you try recovering your dependencies?
The app is fresh.
Which terms did you search for in User Guide?
Eslint
Environment
Environment Info:

  current version of create-react-app: 4.0.3
  running from /home/attila/.npm/_npx/1202486/lib/node_modules/create-react-app

  System:
    OS: Linux 5.8 Ubuntu 20.04.2 LTS (Focal Fossa)
    CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
  Binaries:
    Node: 10.15.1 - ~/.nvm/versions/node/v10.15.1/bin/node
    Yarn: 1.22.4 - ~/.nvm/versions/node/v10.15.1/bin/yarn
    npm: 6.4.1 - ~/.nvm/versions/node/v10.15.1/bin/npm
  Browsers:
    Chrome: 88.0.4324.150
    Firefox: 85.0.1
  npmPackages:
    react: ^17.0.1 => 17.0.1
    react-dom: ^17.0.1 => 17.0.1
    react-scripts: 4.0.3 => 4.0.3
  npmGlobalPackages:
    create-react-app: Not Found

(paste the output of the command here.)
Steps to reproduce

Clone this repo: https://github.com/amcsi/react-app-eslint-fix-not-working-example
Run yarn to install the dependencies.
Run eslint --fix -- src/App.tsx

Expected behavior
The file should be fixed: hey should be added to the list of the useEffect() dependencies. Also I believe the output of the command should be silent.
Actual behavior
The file did not get fixed. Also I get this non-silent output:
attila-Predator :: 0/quick/react-app-typescript-2021 ‹master› % eslint --fix -- src/App.tsx

/home/attila/0/quick/react-app-typescript-2021/src/App.tsx
  9:6  warning  React Hook useEffect has a missing dependency: 'hey'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

✖ 1 problem (0 errors, 1 warning)

Reproducible demo
https://github.com/amcsi/react-app-eslint-fix-not-working-example

I was happy to hear that a different eslint related ticket (#10509) was fixed with version 4.0.3.
But sadly, version 4.0.3 did not fix this issue. I have updated the issue to reflect this.

me too

I'm closing this issue, because it turns out that this is intentional, and not a bug.
https://github.com/facebook/react/issues/18235#issuecomment-598256997
Basically they made it so the react-hooks/exhaustive-deps does not autofix anymore by default.
The way you can get it to work again is by making sure you have this in your eslint config. In the case of package.json, ensure you have this rule:
  "eslintConfig": {
    "rules": {
      "react-hooks/exhaustive-deps": [
        "warn",
        {
          "enableDangerousAutofixThisMayCauseInfiniteLoops": true
        }
      ]
    }
  },


1.0: Logo and name

Change the name of the 1.0 app to: "Legacy Hexa app - do not download"
Change the logo to something not even close to Hexa and having the word legacy/ do not download on it.
Idea if for making sure users don't download it. Both stores.
Also for 2.0: I suggest we change the names to 'Hexa Wallet' from 'Bitcoin wallet Hexa'

Check the updated name "Hexa 2.0 bitcoin wallet"

@antuz123 app name "Hexa 2.0 Bitcoin App" for hexa 2.0 is updated on stores. Its under review on playstore and on appstore it'll update with build

Tested on playstore and Appstore.


Performance - Slick carousel takes a long time to load

Hey I was just wondering why Slick carousel takes a long time to load?
I have my site here: https://www.webpagetest.org/video/compare.php?tests=180308_XC_c71aa19c5b9f425a0ea72fbe92d140a0-r:1-c:0
it takes around 7s on fast 3G before the carousel loads.
Slick is contained within vendor.bundle.js which finishes loading at 5.5s and the initiator is in common.js
The scripts are set to defer.
I feel like slick carousel is firing the init on load or it is waiting for all the images to load before it fires.

If there is a faster way to spin up slick then are I am open to suggestions.

I guess you are using lazy loading for the images?
Gesendet von Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 für Windows 10
Von: Matthew<EMAIL_ADDRESS>Gesendet: Donnerstag, 8. März 2018 17:04
An<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS>Betreff: [kenwheeler/slick] Performance - Slickk carousel takes a long time to load (#3362)
Hey I was just wondering why Slick carousel takes a long time to load?
I have my site here: https://www.webpagetest.org/video/compare.php?tests=180308_XC_c71aa19c5b9f425a0ea72fbe92d140a0-r:1-c:0
it takes around 7s on fast 3G before the carousel loads.
Slick is contained within vendor.bundle.js which finishes loading at 5.5s and the initiator is in common.js
The scripts are set to defer.
I feel like slick carousel is firing the init on load or it is waiting for all the images to load before it fires.
[filmstrip 1]https://user-images.githubusercontent.com/10598938/37161210-f9f65cc6-22e9-11e8-87e9-f53ce07bb4cb.png
If there is a faster way to spin up slick then are I am open to suggestions.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/kenwheeler/slick/issues/3362, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFmRU5rCshwhUpW-EohV2LcLvDdgsUAWks5tcVZwgaJpZM4Si6tt.

@pscdodd not the carousel images. I am preloading the images in the carousel so they have a higher priority in the network.

Also lazyloading with Picture does not work on slick.

See http://kenwheeler.github.io/slick/ «layzy loading» - worked for me
Gesendet von Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 für Windows 10
Von: Matthew<EMAIL_ADDRESS>Gesendet: Freitag, 9. März 2018 11:15
An<EMAIL_ADDRESS>Cc: Dodd, Paul Sutton<EMAIL_ADDRESS><EMAIL_ADDRESS>Betreff: Re: [kenwheeler/slick] Performance - Slick carousel takes a long time to load (#3362)
Also lazyloading with Picture does not work on slick.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/kenwheeler/slick/issues/3362#issuecomment-371770013, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFmRU9bZ2XoM_nBWVJgCqo11helm2tNcks5tclSrgaJpZM4Si6tt.

One thing I found great use with the carousel performance is load all your media urls with rxjs forkjoin() in parallel asynchronously and populate the results as blob urls in your media array. This greatly reduced the load time for me with around 12 carousels and 10 assets in each (image/video or audio) shown at any time as a gallery in my angular app.. Love slick to get us more adventurous :)


Add collapsibles to the sidebar

With the Design decided on in #183 there's a sidebar being added that will allow a user to select an option. This option will then expand into several other options that a user can select.
This functionality needs adding. It's also important that when a user selects another item the previous selection is collapsed again.

This work has been completed on this branch where all the work for this epic is.


It is not working properly in new version of react native

same too

Not sure if it's relevant to your particular problem, but in case it would help: did you run the npm run android script after installing the package with npm?
For me, it's working just fine with the<EMAIL_ADDRESS>The only problem I've encountered was the "Sockets.createSocket() method is null". Usually during the development process, I run the Metro server and connect to it remotely from an Android device. This was the case this time. The catch is that react-native-udp package requires some code to be compiled on the native side, the Metro was missing this code, thus the missing method. The npm run android did all the necessary linking/compilations and resolved the issue.

I am having this same issue, I tried manually linking too, but it didn't work. Did anyone find a solution?

I just tested this morning with last RN V 0.71.10 and it works

I just tested this morning with last RN V 0.71.10 and it works

I am currently using and here are the details
Basically I am trying to create a tictactoe which can be played on different devices (if on same network)

Here are the logs on metro
LOG  Running "tictactoe" with {"rootTag":251,"initialProps":{}}
ERROR  Invariant Violation: "tictactoe" has not been registered. This can happen if:

Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
A module failed to load due to an error and AppRegistry.registerComponent wasn't called., js engine: hermes

const socket = UdpSocket.createSocket({ type: 'udp4' });

useEffect(() => {
  socket.on('message', (data, rinfo) => {
    setMessage(data.toString())
    socket.send('Hello from the server!', undefined, undefined, rinfo?.port, rinfo?.address, (error) => {
      if (error) {
        console.log('Error sending message:', error);
      } else {
        console.log('Message sent successfully');
      }
    });
    console.log('Message received:', data.toString());
  });

  socket.on('listening', () => {
    console.log('Server listening on port:', socket.address().port);
    setConnectionStatus(`Server listening on port ${socket.address().port}`);
  });

  socket.bind(8888);

  return () => {
    socket.close();
  };
}, [isServer]) // isServer is just a boolean controlled by a button

  const sendMessage = () => {
    if (isServer) return;

    socket.send('Hello from the client!', undefined, undefined, 8888, ipServer, (error) => {
      if (error) {
        console.log('Error sending message:', error);
      } else {
        console.log('Message sent successfully');
      }
    });
    socket.on('message', async (message, remoteInfo) => {
      setMessage(message.toString())
    });
  };

hi,
your : const socket = UdpSocket.createSocket({ type: 'udp4' });
is not inside the useEffect : , you should write instead :

useEffect(() => {
    const fetchIpAddress = async () => {
      const ip = await NetworkInfo.getIPV4Address();
      setIpAddress(ip);
    };

    fetchIpAddress();
    if (isServer) {
      // Configura la aplicación como servidor
      const server = UdpSocket.createSocket('udp4');

      server.on('message', (data, rinfo) => {....

I just tested this morning with last RN V 0.71.10 and it works

I am currently using and here are the details
"react": "18.2.0", "react-native": "0.72.4", "react-native-udp": "^4.1.7"
Basically I am trying to create a tictactoe which can be played on different devices (if on same network)

Here are the logs on metro
LOG Running "tictactoe" with {"rootTag":251,"initialProps":{}} ERROR Invariant Violation: "tictactoe" has not been registered. This can happen if:

Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
A module failed to load due to an error and AppRegistry.registerComponent wasn't called., js engine: hermes

const socket = UdpSocket.createSocket({ type: 'udp4' });

useEffect(() => {
  socket.on('message', (data, rinfo) => {
    setMessage(data.toString())
    socket.send('Hello from the server!', undefined, undefined, rinfo?.port, rinfo?.address, (error) => {
      if (error) {
        console.log('Error sending message:', error);
      } else {
        console.log('Message sent successfully');
      }
    });
    console.log('Message received:', data.toString());
  });

  socket.on('listening', () => {
    console.log('Server listening on port:', socket.address().port);
    setConnectionStatus(`Server listening on port ${socket.address().port}`);
  });

  socket.bind(8888);

  return () => {
    socket.close();
  };
}, [isServer]) // isServer is just a boolean controlled by a button

  const sendMessage = () => {
    if (isServer) return;

    socket.send('Hello from the client!', undefined, undefined, 8888, ipServer, (error) => {
      if (error) {
        console.log('Error sending message:', error);
      } else {
        console.log('Message sent successfully');
      }
    });
    socket.on('message', async (message, remoteInfo) => {
      setMessage(message.toString())
    });
  };

Sorry guys for replying little late but here's what I understood by doing some code here and there
To solve above error I simply run command: cd ios && pod install (this fixed my problem)
Thanks for the comments.


Can be marked as 1.20.2 compatible

Mod isn't listed as 1.20.2 compatible on Modrinth, but it seems to work. That's it 😊

Oh I see you're right! I've adjusted that now, thanks for letting me know!


Can you add "An Improved One millisecond Mobile Backbone" (MobileOne)

As above

@ghoshaw @dsp6414 the model itself would be quick to put together, with a bit of fiddling to switch between deploy / train mode. This biggest issue though is that there are no pretrained weights out there and I've got my hands full training other models for a while now... so eventually...

Hi @rwightman apple release their pre-trained model at https://github.com/apple/ml-mobileone

@rwightman Any updates on this issue ?

已收到！

Better late than never, done w/ related FastViT

thanks for your excellent work!


[WIN] Webview doesn't work, command not found.

[x] I am on the latest Hyper.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: Windows 10
Hyper.app version: 1.1.0
Link of a Gist with the contents of your .hyper.js: https://gist.github.com/stefanivic/72716e463b639a136c338330d44c58b2
Relevent information from devtools (CMD+SHIFT+I on Mac OS, CTRL+SHIFT+I elsewhere): N/A
-The issue is reproducible in vanilla Hyper.app: Yes.

Issue
Trying to open a webpage on Windows 10 will result in an error depending on the shell type.

 Windows 10, clean install, no configuration options modified.

This isn't really elaboration on the issue so much as what I've discovered regarding the implementation... I haven't been able to locate any cases for handling URLs in the cmd or powershell shells - It looks like hyper matches url-formatted strings in the error messages that shells return when you attempt to execute a URL. The patterns which match these errors are in lib/utils/url-regex.js and keyed by shell identifier - but there is no pattern for either built-in Windows shell, nor does the file history show there ever was... As a result the isUrlCommand() function always returns null.
Unless there's special logic for the Windows shells that exists outside the url utils files, it looks to me that hyper doesn't currently support URLs in webviews on Windows - if this is the case though, the documentation and website should be updated to reflect as much.
I'll come back to update this issue if I figure out anything interesting.

I can confirm at this point that webview itself works fine on Windows, as does the actual mechanism which would open a URL in it.
Looks like the cmd and powershell cases may have been omitted since the URL matches against the "invalid command" shell error, and in the case of protocol-prefixed URLs, cmd's error message is to the effect of 'https:' is not recognized as an internal or external command, operable program or batch file. - since this error does not contain the full address, the current mechanism cannot obtain the URL.
The cmd regex could match strings in the format of foo.bar without the schema prefix - but that would have the unfortunate side-effect of launching webview every time you fat-finger some executable name.
I think there are definitely possible fixes to get URL handling up and running for the Windows shells; quite possibly by examining state or adding meta-data to the relevant actions in order to obtain the URL from user input, which could then be used in the case of a Windows shell-error.

closed in #2070


Getting started guide improvements

fixes #262

LGTM Made a couple of comments.  If you agree with the changes I can do them on merge.

Updated the doc for both comments, thanks @cppwfs good to merge


Add custom attribute label validator

Adds support for using attribute labels to be displayed in the error message instead of prettified attribute. This enables error message localisation. Usage:
const validationConstraints = {
  age: {
    attributeLabel: "The user age",
    presence: true,
    type: "string"
  }
};

Output: The user age is required

Changes:

attributeLabel validator is bypassed in validator check loop.
If errorInfo attributeLabel is set in convertErrorMessages, it will be prepended in place of prettified errorInfo attribute.

Coverage decreased (-0.2%) to 99.787% when pulling dcbdd58487d53e958937253b7bb7f26befc4eb3d on app-shack:master into c64df5dad1a1908a6bdb36ca3d01063cf6b8d3bc on ansman:master.


Not seeing config.json

[Edit:   This is a documentation error.   Found it under the proper path of AppData\LocalLow\XSOverlay VRChat Parser]
The wiki page mentions:
%AppData%\..\LocalLow\VRChat\vrchat\config.json
as a place to find additional configuration settings.
I'm not seeing it at that location.  I installed from the .zip file.
Thanks

The config file is generated by the application when it's first run, but you appear to have noticed a mistake in the README. It's not in \LocalLow\VRChat\vrchat\ , it's in \LocalLow\XSOverlay VRChat Parser\ . I'll fix the readme.


Updates for latest ensembles

Includes:

updates to ensembling scripts to allow for grid use
pion filters for RPC work

Hi @sophiemiddleton,
You have proposed changes to files in these packages:

JobConfig
Scripts
/
CampaignConfig
Tests

which require these tests: build.
@Mu2e/write, @Mu2e/fnalbuild-users have access to CI actions on main.
:hourglass: The following tests have been triggered for 97f49872de97118d3a1bfffbc02cf83c265575d3: build  (Build queue is empty)
About FNALbuild. Code review on Mu2e/Offline.

with https://github.com/Mu2e/Offline/pull/1341

:sunny: The build tests passed at 97f49872de97118d3a1bfffbc02cf83c265575d3.

Test
Result
Details

test with
:white_check_mark:
Command did not list any other PRs to include

merge
:white_check_mark:
Merged 97f49872de97118d3a1bfffbc02cf83c265575d3 at a28b68d240d14174a7bac680deadc06a80a78d35

build (prof)
:white_check_mark:
Log file. Build time: 04 min 14 sec

ceSimReco
:white_check_mark:
Log file.

g4test_03MT
:white_check_mark:
Log file.

transportOnly
:white_check_mark:
Log file.

POT
:white_check_mark:
Log file.

g4study
:white_check_mark:
Log file.

cosmicSimReco
:white_check_mark:
Log file.

cosmicOffSpill
:white_check_mark:
Log file.

ceSteps
:white_check_mark:
Log file.

ceDigi
:white_check_mark:
Log file.

muDauSteps
:white_check_mark:
Log file.

ceMix
:white_check_mark:
Log file.

rootOverlaps
:white_check_mark:
Log file.

g4surfaceCheck
:white_check_mark:
Log file.

FIXME, TODO
:white_check_mark:
TODO (0) FIXME (0) in 0 files

clang-tidy
:white_check_mark:
0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at 97f49872de97118d3a1bfffbc02cf83c265575d3 after being merged into the base branch at a28b68d240d14174a7bac680deadc06a80a78d35.
For more information, please check the job page here.
Build artifacts are deleted after 5 days. If this is not desired, select Keep this build forever on the job page.

Any comments on this? I would like to start making RPC samples this week to make MDS-1

Any more comments on this, it would be good to have it merged and tagged in a SimJob to use the python scripts that way

I have done the required changes. As for the ini/cfg for the ensembles, I propose us discussing this at the Production meeting, there's a few complexities and those scripts are mostly out of date now

@brownd1978 I think we are good to merge this. I will work on the cfg/ini files which we discussed in the meeting yesterday. Thats a spearate PR


[BUG] Busylight UC Omega not detected

Software Versions:

Operating System: Arch Linux
Python version: 3.8.10
BusyLight version: 0.15.2

General Type of Problem

[ ] Installation
[x] Command-line
[ ] Integrating into another project
[ ] Web API
[ ] other

Describe the Problem
Busylight Omega is not detected. It seems a new revision is out, with the product ID 0x3BCF. Currently, only 0x3BCD is defined.
Also, busylight throws an error for a failing assertion on exit.
Expected Behavior
Correct detection of omega light and no assertion error on exit.
Error Output
Error missing Product ID:
$ busylight -D on red
2022-02-21 19:24:06.382 | INFO     | busylight.manager:update:172 - Manager has 0 lights
2022-02-21 19:24:06.382 | DEBUG    | busylight.lights.usblight:all_lights:177 - USBLight querying subclass lights...
2022-02-21 19:24:06.382 | DEBUG    | busylight.lights.usblight:all_lights:167 - Searching for lights belonging to: BlinkStick
2022-02-21 19:24:06.382 | DEBUG    | busylight.lights.usblight:first_light:118 - BlinkStick looking for first unclaimed light...
2022-02-21 19:24:06.384 | DEBUG    | busylight.lights.usblight:first_light:137 - BlinkStick found no unclaimed lights.
2022-02-21 19:24:06.384 | DEBUG    | busylight.lights.usblight:all_lights:174 - BlinkStick found 0 lights
2022-02-21 19:24:06.384 | DEBUG    | busylight.lights.usblight:all_lights:167 - Searching for lights belonging to: Blynclight
2022-02-21 19:24:06.384 | DEBUG    | busylight.lights.usblight:first_light:118 - Blynclight looking for first unclaimed light...
2022-02-21 19:24:06.384 | DEBUG    | busylight.lights.usblight:first_light:137 - Blynclight found no unclaimed lights.
2022-02-21 19:24:06.385 | DEBUG    | busylight.lights.usblight:all_lights:174 - Blynclight found 0 lights
2022-02-21 19:24:06.385 | DEBUG    | busylight.lights.usblight:all_lights:167 - Searching for lights belonging to: Busylight
2022-02-21 19:24:06.385 | DEBUG    | busylight.lights.usblight:first_light:118 - Busylight looking for first unclaimed light...
2022-02-21 19:24:06.387 | DEBUG    | busylight.lights.usblight:first_light:121 - Busylight entry found for vendor_id 27bb
2022-02-21 19:24:06.387 | DEBUG    | busylight.lights.usblight:first_light:125 - entry: {'path': b'1-1:1.0', 'vendor_id': 10171, 'product_id': 15311, 'serial_number': '922092FF001024FF13FFFFFF8102FFFF9102FFFF', 'release_number': 256, 'manufacturer_string': 'PLENOM A/S', 'product_string': 'BUSYLIGHT OMEGA', 'usage_page': 0, 'usage': 0, 'interface_number': 0}
2022-02-21 19:24:06.387 | ERROR    | busylight.lights.usblight:first_light:132 - Busylight Requested device product_id not supported: product_id=0x3bcf for vendor_id 27bb
2022-02-21 19:24:06.387 | ERROR    | busylight.lights.usblight:identifier:384 - unsupported format string passed to NoneType.__format__
Traceback (most recent call last):

  File "/home/daniel/projects/busylight/.venv/bin/busylight", line 8, in <module>
    sys.exit(cli())
    │   │    └ <typer.main.Typer object at 0x7f6065886df0>
    │   └ <built-in function exit>
    └ <module 'sys' (built-in)>
  File "/home/daniel/projects/busylight/.venv/lib/python3.8/site-packages/typer/main.py", line 214, in __call__
    return get_command(self)(*args, **kwargs)
           │           │      │       └ {}
           │           │      └ ()
           │           └ <typer.main.Typer object at 0x7f6065886df0>
           └ <function get_command at 0x7f6064d2c700>
  File "/home/daniel/projects/busylight/.venv/lib/python3.8/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
           │    │     │       └ {}
           │    │     └ ()
           │    └ <function BaseCommand.main at 0x7f6064d54280>
           └ <TyperGroup main-callback>
  File "/home/daniel/projects/busylight/.venv/lib/python3.8/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
         │    │      └ <click.core.Context object at 0x7f6064c7d3a0>
         │    └ <function MultiCommand.invoke at 0x7f6064d56310>
         └ <TyperGroup main-callback>
  File "/home/daniel/projects/busylight/.venv/lib/python3.8/site-packages/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
           │               │       │       │      └ <click.core.Context object at 0x7f60649dc4f0>
           │               │       │       └ <function Command.invoke at 0x7f6064d54d30>
           │               │       └ <TyperCommand on>
           │               └ <click.core.Context object at 0x7f60649dc4f0>
           └ <function MultiCommand.invoke.<locals>._process_result at 0x7f60649d7670>
  File "/home/daniel/projects/busylight/.venv/lib/python3.8/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           │   │      │    │           │   └ {'color': 'red'}
           │   │      │    │           └ <click.core.Context object at 0x7f60649dc4f0>
           │   │      │    └ <function on_subcommand at 0x7f60649d71f0>
           │   │      └ <TyperCommand on>
           │   └ <function Context.invoke at 0x7f6064daaaf0>
           └ <click.core.Context object at 0x7f60649dc4f0>
  File "/home/daniel/projects/busylight/.venv/lib/python3.8/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
                       │       └ {'color': 'red'}
                       └ ()
  File "/home/daniel/projects/busylight/.venv/lib/python3.8/site-packages/typer/main.py", line 500, in wrapper
    return callback(**use_params)  # type: ignore
           │          └ {'ctx': <click.core.Context object at 0x7f60649dc4f0>, 'color': 'red'}
           └ <function on_subcommand at 0x7f60649c1e50>
  File "/home/daniel/projects/busylight/.venv/lib/python3.8/site-packages/busylight/__main__.py", line 126, in on_subcommand
    manager = LightManager()
              └ <class 'busylight.manager.LightManager'>
  File "/home/daniel/projects/busylight/.venv/lib/python3.8/site-packages/busylight/manager.py", line 86, in __init__
    self.update()
    │    └ <function LightManager.update at 0x7f60649c1820>
    └ LightManager()
  File "/home/daniel/projects/busylight/.venv/lib/python3.8/site-packages/busylight/manager.py", line 173, in update
    self.lights.extend(USBLight.all_lights())
    │    │             │        └ <classmethod object at 0x7f6064d46070>
    │    │             └ <class 'busylight.lights.usblight.USBLight'>
    │    └ <property object at 0x7f6064c79360>
    └ LightManager()
  File "/home/daniel/projects/busylight/.venv/lib/python3.8/site-packages/busylight/lights/usblight.py", line 179, in all_lights
    lights.extend(supported_light.all_lights())
    │      │      │               └ <classmethod object at 0x7f6064d46070>
    │      │      └ <class 'busylight.lights.kuando.busylight.Busylight'>
    │      └ <method 'extend' of 'list' objects>
    └ []
  File "/home/daniel/projects/busylight/.venv/lib/python3.8/site-packages/busylight/lights/usblight.py", line 170, in all_lights
    lights.append(cls.first_light())
    │      │      │   └ <classmethod object at 0x7f6064d3cfd0>
    │      │      └ <class 'busylight.lights.kuando.busylight.Busylight'>
    │      └ <method 'append' of 'list' objects>
    └ []
  File "/home/daniel/projects/busylight/.venv/lib/python3.8/site-packages/busylight/lights/usblight.py", line 135, in first_light
    pass
  File "/home/daniel/projects/busylight/.venv/lib/python3.8/site-packages/busylight/lights/usblight.py", line 250, in __del__
    self.release()
    │    └ <function Busylight.release at 0x7f6064c47160>
    └ <unprintable Busylight object>
  File "/home/daniel/projects/busylight/.venv/lib/python3.8/site-packages/busylight/lights/kuando/busylight.py", line 145, in release
    self.keepalive_thread.cancel()
    │    └ <property object at 0x7f6064c41180>
    └ <unprintable Busylight object>
  File "/home/daniel/projects/busylight/.venv/lib/python3.8/site-packages/busylight/lights/kuando/busylight.py", line 126, in keepalive_thread
    self.keepalive(), f"keepalive-{self.identifier}"
    │    └ <function Busylight.keepalive at 0x7f6064cbaee0>
    └ <unprintable Busylight object>
> File "/home/daniel/projects/busylight/.venv/lib/python3.8/site-packages/busylight/lights/usblight.py", line 382, in identifier
    return f"0x{self.vendor_id:04x}:0x{self.product_id:04x}"

TypeError: unsupported format string passed to NoneType.__format__
2022-02-21 19:24:06.393 | DEBUG    | busylight.lights.usblight:stop_animation:541 - 'Busylight' object has no attribute '_animation_thread'
2022-02-21 19:24:06.394 | DEBUG    | busylight.lights.usblight:first_light:137 - Busylight found no unclaimed lights.
2022-02-21 19:24:06.394 | DEBUG    | busylight.lights.usblight:all_lights:174 - Busylight found 0 lights
2022-02-21 19:24:06.394 | DEBUG    | busylight.lights.usblight:all_lights:167 - Searching for lights belonging to: Flag
2022-02-21 19:24:06.394 | DEBUG    | busylight.lights.usblight:first_light:118 - Flag looking for first unclaimed light...
2022-02-21 19:24:06.394 | DEBUG    | busylight.lights.usblight:first_light:137 - Flag found no unclaimed lights.
2022-02-21 19:24:06.394 | DEBUG    | busylight.lights.usblight:all_lights:174 - Flag found 0 lights
2022-02-21 19:24:06.394 | DEBUG    | busylight.lights.usblight:all_lights:167 - Searching for lights belonging to: Status_Indicator
2022-02-21 19:24:06.394 | DEBUG    | busylight.lights.usblight:first_light:118 - Status_Indicator looking for first unclaimed light...
2022-02-21 19:24:06.394 | DEBUG    | busylight.lights.usblight:first_light:137 - Status_Indicator found no unclaimed lights.
2022-02-21 19:24:06.394 | DEBUG    | busylight.lights.usblight:all_lights:174 - Status_Indicator found 0 lights
2022-02-21 19:24:06.394 | DEBUG    | busylight.lights.usblight:all_lights:167 - Searching for lights belonging to: Blink1
2022-02-21 19:24:06.394 | DEBUG    | busylight.lights.usblight:first_light:118 - Blink1 looking for first unclaimed light...
2022-02-21 19:24:06.394 | DEBUG    | busylight.lights.usblight:first_light:137 - Blink1 found no unclaimed lights.
2022-02-21 19:24:06.394 | DEBUG    | busylight.lights.usblight:all_lights:174 - Blink1 found 0 lights
2022-02-21 19:24:06.394 | DEBUG    | busylight.lights.usblight:all_lights:180 - USBLight found 0 in total.
2022-02-21 19:24:06.394 | INFO     | busylight.manager:update:175 - After all_lights, Manager has 0 lights
2022-02-21 19:24:06.395 | INFO     | busylight.manager:update:182 - Manager has 0 lights after update
Light '0' not in the range of 0..-1

Error assertion (after adding product ID):
$ busylight -D on red
2022-02-21 19:25:07.897 | INFO     | busylight.manager:update:172 - Manager has 0 lights
2022-02-21 19:25:07.897 | DEBUG    | busylight.lights.usblight:all_lights:177 - USBLight querying subclass lights...
2022-02-21 19:25:07.897 | DEBUG    | busylight.lights.usblight:all_lights:167 - Searching for lights belonging to: BlinkStick
2022-02-21 19:25:07.897 | DEBUG    | busylight.lights.usblight:first_light:118 - BlinkStick looking for first unclaimed light...
2022-02-21 19:25:07.899 | DEBUG    | busylight.lights.usblight:first_light:137 - BlinkStick found no unclaimed lights.
2022-02-21 19:25:07.899 | DEBUG    | busylight.lights.usblight:all_lights:174 - BlinkStick found 0 lights
2022-02-21 19:25:07.899 | DEBUG    | busylight.lights.usblight:all_lights:167 - Searching for lights belonging to: Blynclight
2022-02-21 19:25:07.899 | DEBUG    | busylight.lights.usblight:first_light:118 - Blynclight looking for first unclaimed light...
2022-02-21 19:25:07.899 | DEBUG    | busylight.lights.usblight:first_light:137 - Blynclight found no unclaimed lights.
2022-02-21 19:25:07.899 | DEBUG    | busylight.lights.usblight:all_lights:174 - Blynclight found 0 lights
2022-02-21 19:25:07.899 | DEBUG    | busylight.lights.usblight:all_lights:167 - Searching for lights belonging to: Busylight
2022-02-21 19:25:07.899 | DEBUG    | busylight.lights.usblight:first_light:118 - Busylight looking for first unclaimed light...
2022-02-21 19:25:07.901 | DEBUG    | busylight.lights.usblight:first_light:121 - Busylight entry found for vendor_id 27bb
2022-02-21 19:25:07.901 | DEBUG    | busylight.lights.usblight:first_light:125 - entry: {'path': b'1-1:1.0', 'vendor_id': 10171, 'product_id': 15311, 'serial_number': '922092FF001024FF13FFFFFF8102FFFF9102FFFF', 'release_number': 256, 'manufacturer_string': 'PLENOM A/S', 'product_string': 'BUSYLIGHT OMEGA', 'usage_page': 0, 'usage': 0, 'interface_number': 0}
2022-02-21 19:25:07.901 | DEBUG    | busylight.lights.usblight:__init__:243 - Busylight init 27bb 3bcf b'1-1:1.0' False
2022-02-21 19:25:07.901 | DEBUG    | busylight.lights.usblight:acquire:473 - Busylight.acquire(reset=False)
2022-02-21 19:25:07.901 | DEBUG    | busylight.lights.usblight:acquire:475 - lock acquired
2022-02-21 19:25:07.902 | SUCCESS  | busylight.lights.usblight:acquire:491 - Busylight hid.open_path('1-1:1.0') was a success None
2022-02-21 19:25:07.902 | DEBUG    | busylight.lights.thread:run:73 -  <CancellableThread(keepalive-0x27bb:0x3bcf, started daemon<PHONE_NUMBER>24000)> running target <generator object Busylight.keepalive at 0x7f34baeb36d0>
2022-02-21 19:25:07.902 | INFO     | busylight.lights.kuando.busylight:keepalive:98 - keepalive generator 8f00000000000000, 15 s 0.100
2022-02-21 19:25:07.904 | DEBUG    | busylight.lights.usblight:all_lights:171 - Busylight added a light Kuando Busylight Omega: 0x27bb:0x3bcf
2022-02-21 19:25:07.904 | DEBUG    | busylight.lights.usblight:first_light:118 - Busylight looking for first unclaimed light...
2022-02-21 19:25:07.907 | DEBUG    | busylight.lights.usblight:first_light:121 - Busylight entry found for vendor_id 27bb
2022-02-21 19:25:07.907 | DEBUG    | busylight.lights.usblight:first_light:125 - entry: {'path': b'1-1:1.0', 'vendor_id': 10171, 'product_id': 15311, 'serial_number': '922092FF001024FF13FFFFFF8102FFFF9102FFFF', 'release_number': 256, 'manufacturer_string': 'PLENOM A/S', 'product_string': 'BUSYLIGHT OMEGA', 'usage_page': 0, 'usage': 0, 'interface_number': 0}
2022-02-21 19:25:07.907 | DEBUG    | busylight.lights.usblight:__init__:243 - Busylight init 27bb 3bcf b'1-1:1.0' False
2022-02-21 19:25:07.907 | DEBUG    | busylight.lights.usblight:acquire:473 - Busylight.acquire(reset=False)
2022-02-21 19:25:07.907 | DEBUG    | busylight.lights.usblight:acquire:475 - lock acquired
2022-02-21 19:25:07.907 | ERROR    | busylight.lights.usblight:acquire:479 - hid_open open failed for open_path('1-1:1.0')
2022-02-21 19:25:07.907 | ERROR    | busylight.lights.usblight:first_light:132 - Busylight Device open failed, already open for vendor_id 27bb
2022-02-21 19:25:07.907 | DEBUG    | busylight.lights.usblight:stop_animation:541 - 'Busylight' object has no attribute '_animation_thread'
2022-02-21 19:25:07.907 | DEBUG    | busylight.lights.usblight:first_light:137 - Busylight found no unclaimed lights.
2022-02-21 19:25:07.907 | DEBUG    | busylight.lights.usblight:all_lights:174 - Busylight found 1 lights
2022-02-21 19:25:07.908 | DEBUG    | busylight.lights.usblight:all_lights:167 - Searching for lights belonging to: Flag
2022-02-21 19:25:07.908 | DEBUG    | busylight.lights.usblight:first_light:118 - Flag looking for first unclaimed light...
2022-02-21 19:25:07.908 | DEBUG    | busylight.lights.usblight:first_light:137 - Flag found no unclaimed lights.
2022-02-21 19:25:07.908 | DEBUG    | busylight.lights.usblight:all_lights:174 - Flag found 0 lights
2022-02-21 19:25:07.908 | DEBUG    | busylight.lights.usblight:all_lights:167 - Searching for lights belonging to: Status_Indicator
2022-02-21 19:25:07.908 | DEBUG    | busylight.lights.usblight:first_light:118 - Status_Indicator looking for first unclaimed light...
2022-02-21 19:25:07.908 | DEBUG    | busylight.lights.usblight:first_light:137 - Status_Indicator found no unclaimed lights.
2022-02-21 19:25:07.908 | DEBUG    | busylight.lights.usblight:all_lights:174 - Status_Indicator found 0 lights
2022-02-21 19:25:07.908 | DEBUG    | busylight.lights.usblight:all_lights:167 - Searching for lights belonging to: Blink1
2022-02-21 19:25:07.908 | DEBUG    | busylight.lights.usblight:first_light:118 - Blink1 looking for first unclaimed light...
2022-02-21 19:25:07.908 | DEBUG    | busylight.lights.usblight:first_light:137 - Blink1 found no unclaimed lights.
2022-02-21 19:25:07.908 | DEBUG    | busylight.lights.usblight:all_lights:174 - Blink1 found 0 lights
2022-02-21 19:25:07.908 | DEBUG    | busylight.lights.usblight:all_lights:180 - USBLight found 1 in total.
2022-02-21 19:25:07.908 | INFO     | busylight.manager:update:175 - After all_lights, Manager has 1 lights
2022-02-21 19:25:07.908 | INFO     | busylight.manager:update:182 - Manager has 1 lights after update
2022-02-21 19:25:07.909 | DEBUG    | busylight.lights.usblight:stop_animation:541 - 'Busylight' object has no attribute '_animation_thread'
2022-02-21 19:25:07.909 | DEBUG    | busylight.lights.usblight:update:554 - Busylight update for b'\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\x03\r'
2022-02-21 19:25:07.909 | DEBUG    | busylight.lights.usblight:stop_animation:541 - 'Busylight' object has no attribute '_animation_thread'
2022-02-21 19:25:07.909 | DEBUG    | busylight.lights.usblight:update:554 - Busylight update for b'\x10\x00d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\x03q'
^C2022-02-21 19:25:10.286 | DEBUG    | busylight.lights.usblight:stop_animation:541 - 'Busylight' object has no attribute '_animation_thread'
2022-02-21 19:25:10.287 | DEBUG    | busylight.lights.usblight:update:554 - Busylight update for b'\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\x03\r'
python: io.c:2115: handle_events: Assertion `ctx->pollfds_cnt >= internal_nfds' failed.
[1]    215416 IOT instruction (core dumped)  busylight -D on red

Additional Infos
I will file a quick PR for the missing ID myself, not sure what goes on with the wrong assertion though, and cannot test with other devices if this is something new with the new Product ID.
Is this error currently expected?

Hi and thanks for the bug report and the pull request with the new product_id value!
The other thing you noticed is the result of my decision to use threads to update the Busylight family of devices in the background. Unfortunately, HIDAPI doesn't support accessing HID devices from multiple threads and has recently started crashing under MacOS in the tests (and presumably Linux too, I haven't looked to closely at the results of the automated testing).
I'm in the process of re-writing with an eye towards using asyncio to keep everything in a single thread while taking advantage of an asyncio event loop to deliver keep-alive messages to Busylights. Easily my least favorite light since it needs so much hand-holding.
No ETA for the re-write as I've just begun this weekend, however it's giving me the opportunity to clean up a bunch of kludges.

Thanks for the quick response! If you need any help, or help testing, I would be happy to lend a hand!


Mohammad/ Convert trader-tools page to TS

Changes:

Convert trader-tools page to TS

Type of change

[ ] Bug fix
[ ] New feature
[ ] Update feature
[x] Refactor code
[ ] Translation to code
[ ] Translation to crowdin
[ ] Script configuration
[ ] Improve performance
[ ] Style only
[ ] Dependency update
[ ] Documentation update
[ ] Release

The security hotspots that sonarcloud is reporting are related to unlimited text length on the regexes,
We should define a specific length for the valid value in them.


C#-style provided extension members on non-statically-parameterized types

Resurrecting
https://visualfsharp.codeplex.com/SourceControl/network/forks/dsyme/cleanup/contribution/7773
https://visualfsharp.codeplex.com/SourceControl/network/forks/dsyme/cleanup/contribution/7780
Also, it would be nice to have statically parameterized provided extension members for erased types.

Hi @dmitry-a-Morozov,
The end conclusion from those PRs was "not to be implemented".  I couldn't see a way to make the feature work
I suppose we should circle back and take the feature through fslang.uservoice.com - e.g. write up a speclet and link it there if you think there's a sensible spec to be found.
I'll close this, since per CONTRIBUTING.md an issue here should be either a bug report, discussion etc.  (though not language design discussions).
thanks
don


Not working on 64bits binary!

Hi bro, its seems that the overlay won't work on 64bits binary. its gives a error createwindows: System.Exception: 'CreateWindowEx failed with error code: 127'

He already knows about it, it has been reported in UC thread :)

working for me

It's working now.
I reworked everything. All bugs fixed. 64bit support.


添加徽章

这个 PR 解决的 Issue

close #1
详细描述这个 PR 做的事情

添加 workflow, codecov 和 go report 的徽章到 README.md

Codecov Report

Merging #2 (2e1a5d0) into master (57c703b) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master        #2   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines            2         2
=========================================
  Hits             2         2

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 57c703b...2e1a5d0. Read the comment docs.


Bug: command is not recognized of the command postinstall

Description
When i run yarn install it tells me that the command patch-package is not recognized.
My colleague who has the mac does not have this problem while I from windows have this problem.

Expected result
What i expect is that i would have to create it in the public monaco-editor folder to be able to use it locally
Actual result
This not work
Reproduction
nextjs
Additional context
No response

Could you list the content of the directory that you get back from npm bin? This directory is usually just node_modules/.bin but I'm not sure if the location is the same on Windows. I usually just do this:
ls -alh node_modules/.bin

But I'm also not sure if you have access to ls.

The command is wrong but I made these screens if I can be useful.


Adding app icon size classes

Adding app-icon-xs and -sm classes and updating default and -lg

can you fix the the formatting in the code block


panic: template: configFileTemplate:422:36: executing "configFileTemplate"

Summary of Bug
I'm trying to change some value in the config, but I got the error instead.
$ grep log_level ~/.fxcore/config/config.toml
$ fxcored config config.toml log_level warn

Same happens when trying to change different parameters (such as moniker, p2p.laddr, p2p.persistent_peers, etc.).
This was working before.
And still works for other configs, e.g. fxcored config app.toml API.Enable False
Version
$ fxcored version
HEAD-49d991f692d6662660c2c2dd9e009238f595c438

Steps to Reproduce
$ grep log_level ~/.fxcore/config/config.toml
log_level = "warn"
$ fxcored config config.toml log_level warn
panic: template: configFileTemplate:422:36: executing "configFileTemplate" at <.Storage.DiscardABCIResponses>: nil pointer evaluating *config.StorageConfig.DiscardABCIResponses

goroutine 1 [running]:
github.com/tendermint/tendermint/config.WriteConfigFile({0xc0014bd560, 0x27}, 0xc0001f2280?)
	github.com/tendermint/tendermint@v0.34.23/config/toml.go:63 +0xd3
github.com/functionx/fx-core/v3/client/cli.(*configTomlConfig).save(0xc00143fc40)
	github.com/functionx/fx-core/v3/client/cli/config.go:110 +0x77
github.com/functionx/fx-core/v3/client/cli.RunConfigCmd(0x1f8dfa0?, {0xc0014fd260, 0x3, 0xc001273840?})
	github.com/functionx/fx-core/v3/client/cli/config.go:40 +0x242
github.com/functionx/fx-core/v3/cmd.configTomlCfgCmd.func1(0xc00111db00?, {0xc001273840?, 0x2?, 0x2?})
	github.com/functionx/fx-core/v3/cmd/config.go:80 +0xeb
github.com/spf13/cobra.(*Command).execute(0xc00111db00, {0xc0012737e0, 0x2, 0x2})
	github.com/spf13/cobra@v1.6.0/command.go:916 +0x862
github.com/spf13/cobra.(*Command).ExecuteC(0xc00118db00)
	github.com/spf13/cobra@v1.6.0/command.go:1040 +0x3b4
github.com/spf13/cobra.(*Command).Execute(...)
	github.com/spf13/cobra@v1.6.0/command.go:968
github.com/spf13/cobra.(*Command).ExecuteContext(...)
	github.com/spf13/cobra@v1.6.0/command.go:961
github.com/cosmos/cosmos-sdk/server/cmd.Execute(0x0?, {0xc00135bf20, 0x14})
	github.com/cosmos/cosmos-sdk@v0.45.11/server/cmd/execute.go:36 +0x1eb
main.main()
	github.com/functionx/fx-core/v3/cmd/fxcored/main.go:13 +0x2c

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned
[ ] Is a spike necessary to map out how the issue should be approached?

store.discard_abci_responses is missing in your config file, you can use fxcored config update to get it back to default


Problems with recurring events showing for days when they have been removed

Love your extension BTW.
Google calendar using private ICAL link (ICS).
I have several recurring events that happen weekly. However, if during some week, you decide to remove that event for the week, it doesn't seem to propagate correctly.
I'm not sure if this is the EXDATE not working properly or not. For example, the following event shows up:
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20191203T180000
DTEND;TZID=America/Los_Angeles:20191203T190000
DTSTAMP:20200408T000157Z
UID:DCF3A5A6-E936-4F86-95F4-A68891CF9F4A
RECURRENCE-ID;TZID=America/Los_Angeles:20191203T180000
CREATED:20190704T053758Z
DESCRIPTION:Mr. XXX
LAST-MODIFIED:20200407T235514Z
LOCATION:Studio E
SEQUENCE:28
STATUS:CONFIRMED
SUMMARY:L—Hip Hop Tech @ 6-7pm
TRANSP:OPAQUE
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20190820T180000
DTEND;TZID=America/Los_Angeles:20190820T190000
EXDATE;TZID=America/Los_Angeles:20191029T180000
EXDATE;TZID=America/Los_Angeles:20191112T180000
EXDATE;TZID=America/Los_Angeles:20191119T180000
EXDATE;TZID=America/Los_Angeles:20191126T180000
EXDATE;TZID=America/Los_Angeles:20191224T180000
EXDATE;TZID=America/Los_Angeles:20191231T180000
EXDATE;TZID=America/Los_Angeles:20200317T180000
EXDATE;TZID=America/Los_Angeles:20200324T180000
EXDATE;TZID=America/Los_Angeles:20200331T180000
EXDATE;TZID=America/Los_Angeles:20200407T180000
EXDATE;TZID=America/Los_Angeles:20200414T180000
RRULE:FREQ=WEEKLY;UNTIL=20200617T010000Z
DTSTAMP:20200408T000157Z
UID:DCF3A5A6-E936-4F86-95F4-A68891CF9F4A
CREATED:20190704T053758Z
DESCRIPTION:Mr. XXX
LAST-MODIFIED:20200407T235514Z
LOCATION:Studio E
SEQUENCE:28
STATUS:CONFIRMED
SUMMARY:L—Hip Hop Tech @ 6-7pm
TRANSP:OPAQUE
X-BUSYMAC-LASTMODBY:XXXXXX
END:VEVENT
But it does not in Google Calendar.

This module is using old 3rd party parser(originally same root with default calendar module), but it has several bugs on certain conditions.
If possible, try MMM-CalendarExt2, it is newer and more powerful.

I have tried MMM-CalendarExt2 - but most of the time it doesn't render anything in the browser. I am using the default everything, and I get nothing in the browser (testing with node serveronly).
I see logs:
[CALEXT2] calendar:0 >> Scanning start with interval:1800000
[CALEXT2] calendar:0 >> Scanned: 1053, Selected: 1053
There are no errors in the browser log. I am using the following config
{
    module: "MMM-CalendarExt2",
    config: {
        calendars: [
          {
            url: <private google url>,
          },
        ],
        views: [
          {
            mode: "daily",
           },
        ],
        scenes: [
          {
            name: "DEFAULT",
          },
        ],
     }
},


What would the expected output be in stuff.txt?
first line
first line

or
    first line
    first line

?

The former.  The code block as rendered has no indentation before the f's.
One could argue for a desire to be able to add arbitrary indentation so you  could describe, say, the body of a method without the leading indentation, but this isn't the way to get control of that because it depends on a particular markdown structure.
I am pretty bullish on the current KISS approach taken by lmt, BTW.  I wrote a much more complicated literate programming system for ReStructuredText many years ago, but I don't think it pulled it's own weight.  So I'm not asking for that feature!


Auto Commenting on New Issue creation

It ensures that comments on issues follow a consistent format or structure. This helps teams maintain a standardized approach to handling issues, reducing confusion and misunderstandings.
Users don’t need to manually add repetitive information or instructions. The automatic comment can include standard guidelines, troubleshooting steps, or links to documentation.
By automatically adding relevant comments, all stakeholders are immediately informed about the context or next steps, making collaboration smoother and more efficient.
Overall, this feature enhances the issue tracking process, making it more organized and user-friendly.

@sejals23 assigned


Is possible to use sourceRoot to point a folder inside outDir and generate the paths relatively to that folder

TypeScript Version:  3.7.2
I'm working with a private package that instead of publishing the root folder and everything related, I'm publishing the content of the outDir folder. So, instead of importing things like:
import bla from 'private-package/lib/folder1/bla';

I'm doing this:
import bla from 'private-package/folder1/bla';

Everything works fine until I'm debugging. My sourceRoot points to ./_src which is inside the outDir folder (lib). Files in the root of the lib folder will work as expected, but files inside folders from within the lib folder won't because the map file will be treating the sourceRoot like an URL. So I get the following:
// lib/folder1/bla.js.map
{
  "version": 3,
  "file": "bla.js",
  "sourceRoot": "./_src/",
  "sources":["folder1/globalActionsBuilders.ts"],
  // ...
}

But what I want is this:
// lib/folder1/bla.js.map
{
  "version": 3,
  "file": "bla.js",
  // The source root is one folder above in the hierarchy for files inside folder1
  "sourceRoot": "../_src/",
  "sources":["folder1/globalActionsBuilders.ts"],
  // ...
}

Is this possible?
Thank you in advance!

It sounds like you want to set the mapRoot option

Isn't the mapRoot for moving the .map files to different location?
I'm not moving the .map files, but the source files.


add requireSpaceAfterComma to jscsrc

Added a required space after commas into the jscsrc and updated files to meet the new conditions.
Requested here https://github.com/howdyai/botkit/pull/88#issuecomment-171300650
Let me know if I misunderstood the request, this touched more lines than I was expecting it to.

Nice catch. Thanks @shahruz


Different time scales fix

Part of my data is daily and the most recent ones are hourly. I can display everything on a stockchart but it shows the time scale differences. Is there a way to show the data properly with auto scaling the X axis ?

You are using discontinuous scale, which is capable of dealing with gaps in the data. So this is correct behavior. If you want to plot continuous time, then use a d3.scaleTime()


python310Packages.pykostalpiko: 1.1.1-1 -> 1.1.2

Description of changes
Update to latest upstream release 1.1.2

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

2 packages built:

python310Packages.pykostalpiko
python39Packages.pykostalpiko


integrate with Skrill (was Moneybookers)

https://www.skrill.com/app/
Reticketed from #65 (@chmike).

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Reopening per https://github.com/naspeh/mailur/issues/4.

Heh. Thanks, @rohitpaulk. :-)

Re-ticketed to support more means of payin and payout for further discussion and planning. After deciding on concrete implementation plan and dev work starts, this will be reopened for tracking purpose.


crash on smartcard auth to Win 2008 R2 farm (and ugly workaround)

Hello,
freerdp crashes with a segfault while using scard auth against Win 2008 R2 farm (works OK connecting to W 2003 one ...),
on Red Hat Enterprise Linux 6.2.
After some tracing I've discovered it happens in handle_Transmit() stream_read_uint32(irp->input, map[6]) in scard_operations.c, commenting it out fixes the problem for me and does not seem to affect smart card operation in any way.
Now .. this is rather an quite ugly workaround, not a real fix, but  ... I'm not able to figure out what is it trying to read .. and this data seems unused .. perhaps somebody knows real solution ??
Jarek
   if (map[4] & SCARD_INPUT_LINKED)
    {
            /* recvPci */
            stream_read_uint32(irp->input, linkedLen);

            stream_read_uint32(irp->input, pioRecvPci.dwProtocol);
            stream_seek(irp->input, linkedLen - 4);

            sc_input_repos(irp, linkedLen);

/*              stream_read_uint32(irp->input, map[6]); */
            map[6]=NULL;
            if (map[6] & SCARD_INPUT_LINKED)
            {
                    /* not sure what this is */
                    stream_read_uint32(irp->input, linkedLen);
                    stream_seek(irp->input, linkedLen);

                    sc_input_repos(irp, linkedLen);
            }
            pioRecvPci.cbPciLength = sizeof(SCARD_IO_REQUEST);
            pPioRecvPci = &pioRecvPci;
   }
    else

Any progress or updates to smart card redirection?  (different from authentication which works fine for me, talking about the actual redirection of the card services into the RD session)

Well, I do this since ages - but I'm still on 1.0 with the applied workaround using a pretty common USB device (here in Germany) called mIDentity. For reference, you can find my builds here:
https://build.opensuse.org/project/show/home:frispete:RemoteDesktop
Be aware, that the 1.1 and 1.2 codebase is outdated. Every time, I tried to went upstairs, hard to track down stability problems dropped me back. Unfortunately, I'm too time restricted to dive deeper..

Thanks for the reply @frispete; is there a way I can use your builds on OS X?  Pardon my inexperience here...

Well, I'm not experienced enough for this kind of stuff in the OS X eco system. Sorry.

Update:  Purchased the Omni 3021 and Smartcard redirection works with a custom build of developer Felix's LMFreeRDPClient on OS X 10.11.2.  It is, however, still broken for me within Royal TSX and FreeRDP v<IP_ADDRESS>

@sconstantine In the regular Royal TSX release I'm still using an old version of FreeRDP that doesn't include the recent changes to the smart card stuff because of other issues.
I will however try to integrate a current FreeRDP release into the first Royal TSX V3 beta.

@sconstantine The first Royal TSX V3 beta is now available at https://www.royalapplications.com/ts/osx/features-beta

@lemonmojo @sconstantine please use the Royal TSX forum/list/.. for Royal TSX related stuff.
Thank you.

@bmiklautz Sorry, didn't want to turn this into a Royal TSX thread...

@lemonmojo no prob just mentioned it ;)

looks like nobody cares since FIVE years.

@jaroslawp smard code was rather re-written since the initial report. Did you try with a recent version lately?


chore: update metadata.version's description

This makes it a bit more clear what it should be set to
Signed-off-by: Christopher Schmitt<EMAIL_ADDRESS>

The metadata.version is the OCSF schema version, which was used to create the event. In other words, there is no class version.


Draft: Empty branch

Empty branch for review

Thanks @nicolas-vgl-mf for your review. Now I will be able to publish version 1.0.0 of the component.


[BUG] Packet length incorrect for BusyLights

Software Versions:

Operating System: Win/Mac
Python version: 0.24.2 (Win 3.9.13/ Mac 3.10.6)
BusyLight version: Omega2, UC, Alpha

General Type of Problem

[X] other

Describe the Problem
Incorrect packet length at device.
Expected Behavior
Correct packet length.
Error Output
Non-display.
Hi, I found what seems to be a bug which presents differently on both Windows and Mac.
Both: The packet sent to the HID device is shifted left by one byte (i.e. the leading 0x10 is gone).
Mac: This results in a 63 byte packet received by the Busylight. The Busylight seems to handle this. (Fills its buffer backwards?)
Debug in your app correctly shows whole packet, data:64 = b'' wrote 64 [bytes].
Windows: The packet received is 64 bytes, but the packet sent is 65 bytes(!). The Busylight does not handle this.
Debug in your app states: data:64 = b'' wrote 65.
(Note: I don't know how faithful the logging is, but often the data is sprinkled with spurious characters - random '\r' '?' or bytes being longer 'x002')
I've not toyed with the Python HID libs to know where best to start tinkering.

Plot thickens. Wireshark packets screenshot.
The highlight sections show the difference between the SDK and BLfH.
The packets sent are 64 bytes, still off-by-one on the BLfH packet though.

Thank you very much for the bug report.

I'd have assumed as much as this time of year 👍.
I'm throwing what I can when possible and triple checking I've not made mistakes.

Can you confirm for me what versions of python you are using on MacOS and Windows.

Windows 3.9.13 (x64)
macOS 3.10.6 (ARM64)
Both using busylight 0.24.2 lib via pip

That's the version of Busylight for Humans :) I'm looking for the version of python: python --version so I can attempt to recreate the problem.

Nope, the versions are 100% Python versions.
If you're not seeing them, i can screenshot and circle them 🤣

So now I see the disconnect, I was presuming the MacOS and Windows values were operating system versions and I admit to wondering briefly how such an old version of MacOS would run on an ARM based Mac. Chalk it up to still being on island time.

Aha, i was wondering if GitHub was parsing/filtering numbers and stripping them.
(Windows 10 and 11 tried now, and macOS 13.2, if that clears those up )
I'll try to get usb traces on macOS, but it requires fiddling with the security.

Unfortunately, I don't have a Windows machine to test on.  I added some extra debugging to the Kuando Busylight write strategy functions but haven't been able to see a short (63-byte) write to the device yet. I also don't have an ARM-based Mac to to test on, further complicating things.
The leading "0x10" is the busylight JUMP opcode and isn't always present.  An opcode of 0x00 is invalid, so I agree that the buffer appears shifted in the Wireshark screenshot. That's likely the JUMP target.
If this was a case of  incorrect word-endianness handling, I would expect the Mac ARM packet to be more scrambled. I haven't inspected the checksum in the Mac packet, but it looks like it's in the ballpark.

Fyi, the image above is from Wireshark on Windows x64. But the packet layout seen is the same received by my tool.
When I get back to the office, I will try on an Intel Mac.
Quick context for discovering the bug: I recently needed to test that our product uses various lamp SDK's properly, so built a HID tool to fake a few. (Enumerates as a device, parses the data and returns via a CDC channel).
For speed/laziness, I found your tool quicker to spit Busylight/Blynclight data at me!
Initially I used the real devices with your tool and found the Busylight didn't respond on Windows, but did on Mac, so thus down the rabbit hole I began.
My tool was showing shifted data which I initially assumed was a bug my side.
But using Wireshark I could see the same packet misalignment, hence the bug report.
I guess the main thing really is - if you only support Mac and it works on Mac, then it's a non-issue.
In which case, I'll try find time to learn some more python.
As for 2 weeks away is like starting again - I completely understand! I reversed the Busylight in 2013 to write a driver in Obj-C and it's always alien if I have to revisit USB/HID code.

I have not having any luck reproducing this error. I'll be able to work on an M1 Mac later this week so hopeful I can reproduce the problem and start working on a fix for it.

I have not been able to reproduce this bug, please re-open if you have more information or have further ideas about what might be happening here.  Sorry for not being able to provide a good answer.


VOC dataset mAP with my trained-model is 10% lower than RFB300_80_5.pth

hello,
I just follow your guide step by step and then trained a new VOC model (RFB-300-vgg16). I turned it down when epoches went to 130, so finally I used model with RFB_vgg_VOC_epoches_130.pth in test_RFB.py but only get mAP 70%...
could you help me how can I train RFB model with so good results as yours?
thanks a lot

@zufall1985 You should follow my original schedule in train_RFB.py. For VOC, a recommend schedule is 240 epoches, and the lr will decreased by 10 factor at 150 and 200 epoch. so 130 epoch version is not fully converged.


Upgrading to latest syn and deku versions

Just changed versions and fixed compilation issues

Thanks, could you remove the .gitignore, README.md, and .idea changes?

Ignore the failing CI, that's not related to your changes directly (except for the code coverage, but it's fine for now)

Thanks, could you remove the .gitignore, README.md, and .idea changes?

Sorry... Still don´t figure how to do it... Will try.

Thanks, could you remove the .gitignore, README.md, and .idea changes?

I think it's done. Plz, review. Thanks


Error: System internal error when running b2c

I have the following in  my mpesa.php config file
 /*-----------------------------------------
    |B2C timeout url
    |------------------------------------------
    */
    'b2c_timeout' => 'https://f830cde94bcd.ngrok.io/api/validate',

    /*-----------------------------------------
    |B2C results url
    |------------------------------------------
    */
    'b2c_result' => 'https://f830cde94bcd.ngrok.io/api/validate'

and in my routes api.php file I'm defining the /validate route as follows:
Route::post('mpesa/b2c', 'Payments\MpesaController@mpesaB2C');
Route::post('validate', function (Request $request) {
    \Log::info($request->getContent());
});

and in the MpesaController I'm running the b2c code in your documentation as follows:
public function mpesaB2c()
    {
        $b2cResponse=Mpesa::b2c(100, '254702067561', 'PromotionPayment', 'testing');

        dd(json_decode($b2cResponse));
    }

but when I run it the response I get is the following error:
{#415
  +"requestId": "30937-36662169-1"
  +"errorCode": "500.002.1001"
  +"errorMessage": "System internal error."
}

Is a part of my configuration wrong or are my urls wrong. I don't understand what's wrong and the error is not explanatory enough. Thanks.

@timgithinji  this is an  internal error on mpesa side, keep trying

Okay, thanks.

{
"requestId":"33908-14618724-1",
"errorCode": "500.002.1001",
"errorMessage": "Service is currently under maintenance. Please try again later"
}
what could be the problem.. try to use daraja api

@OwinoBen that is most likely daraja's API temporary downtime. Happens often, take this into account when doing the integration

{
"requestId":"13851-8756258-1",
"errorCode": "500.002.1001",
"errorMessage": "Service is currently under maintenance. Please try again later"
}
@ken-nah  thanks.. and what about this one.. am getting this each time i try testing my app

@ken-nah thanks

@csrf_exempt
@require_http_methods(["POST", "GET"])
def lipa_na_mpesa(request):
try:
payment = Mpesa_Payments()
req = json.loads(request.body.decode("utf-8"))
payment.MerchantRequestID = req['Body']['stkCallback']['MerchantRequestID']
payment.CheckoutRequestID = req['Body']['stkCallback']['CheckoutRequestID']
payment.Amount = req['Body']['stkCallback']['CallbackMetadata']['Item'][0]['Value']
payment.MpesaReceiptNumber = req['Body']['stkCallback']['CallbackMetadata']['Item'][1]['Value']
payment.TransactionDate = req['Body']['stkCallback']['CallbackMetadata']['Item'][3]['Value']
payment.PhoneNumber = req['Body']['stkCallback']['CallbackMetadata']['Item'][4]['Value']
payment.save()
    order = Order.objects.get(user=request.user, ordered=False)
    orderitems = order.cart.all()
    orderitems.update(ordered=True)
    for item in orderitems:
        item.save()
    order.ordered = True
    order.payment = payment
    order.save()

except:
    pass

return JsonResponse({})

hello guys. i have a problem with saving the order objecs in the database.. what could be the problem.. this is my mpesa callbackURL function

@OwinoBen  are you getting the callback and able to save the payment object?

@gathuku  yes.. problem comes when i want to pass the payment on the order table

is this python? am not familiar with the language but if you are able to save the payment you can debug to check what's happening.

yeah its python..
okay thanks

I don't know how you are getting the order since the callback isn't authenticated can you don't have access to the user.
Maybe you can save save CheckoutRequestID at the request initiation stage because here you will have access to the user initiation of the request. Then after receiving the call back  match the returned CheckoutRequestID in req['Body']['stkCallback']['CheckoutRequestID'] with the the already saved checkouts. The saved checkouts could also be associated with a certain order.

@gathuku  sorry how do i authenticate the callback?

I don't think you can authenticate a callback, the only thing you can check is if it's coming from the trusted source by checking the request origin IPS

@gathuku good.. let me give it a try bro


Allow overriding proxy.config.config_dir.

Explicitly check whether proxy.config.config_dir has been overridden in
the environment before trying to load any configuration files.
This fixes #1425.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/freebsd-github/1586/ for details.

Intel CC build successful! See https://ci.trafficserver.apache.org/job/icc-github/19/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/linux-github/1481/ for details.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/freebsd-github/1588/ for details.

Intel CC build successful! See https://ci.trafficserver.apache.org/job/icc-github/21/ for details.

clang-analyzer build successful! See https://ci.trafficserver.apache.org/job/clang-analyzer-github/151/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/linux-github/1482/ for details.

clang-analyzer build successful! See https://ci.trafficserver.apache.org/job/clang-analyzer-github/153/ for details.


feat: add checksum metadata to s3 write function TDE-1181

Motivation
Store checksum as s3 metadata so that we can determine if files have changed
Modification

add checksum to s3 object metadata as filechecksum

Output

nb: in the code, it is defined as filechecksum and in the tests you use resp["Metadata"]["filechecksum"] but something else adds the prefix x-amz-meta- here that I can't remove.
Checklist
If not applicable, provide explanation of why.

[x] Tests updated - has also been tested manually
[ ] Docs updated - no docs
[x] Issue linked in Title

the x-amz-meta- is a prefix forced upon any non standard tag https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingMetadata.html#UserMetadata
do we have a preference on the name, im assuming : is not allowed, do we want to just shorten it to checksum, checksum is very generic though, and doesnt tell you what it is, having something like multihash might be better?

do we have a preference on the name, im assuming : is not allowed, do we want to just shorten it to checksum, checksum is very generic though, and doesnt tell you what it is, having something like multihash might be better?

:+1: multihash


tcp-idle-timeout effectively disabled after initial query/response

Hi,
as observed in
https://nlnetlabs.nl/pipermail/unbound-users/2019-August/011748.html
and
https://nlnetlabs.nl/pipermail/unbound-users/2019-November/011904.html
unbound appears to have issues with the tcp-idle-timeout handling; it does
not appear to work the way one would reasonably expect.
I think this may be due to the tcp-idle-timeout effectively being disabled
after an initial DNS message exchange on a TCP socket, and I have tried to
fix the bug with the code in pull request #122
Review would be most appreciated.

Yes, I think you are right and I merged the pull request.  Thanks!
I'll close the ticket, then, if things appear to be working.  (It can be hard to test TCP, TLS, because a quick test does not elicit the same behaviour as you can get in other environments, by the way).


Refactor insight collector

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

🚀
/lgtm

👍
/approve


fix: long picker options truncated in quiet mode

Quiet Picker would overflow its parent container when its content was very long. Fix uses inline-size: 100% to allow the FieldWrapper to fill its container, and max-width: max-content to limit the growth to avoid the picker filling all available space.

Truncate overflowing text in quiet pickers that are in a fixed width container
Add story to demonstrate quiet picker in fixed width container

Closes https://github.com/adobe/react-spectrum/issues/5460
✅ Pull Request Checklist:

[x] Included link to corresponding React Spectrum GitHub Issue.
[x] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[x] Filled out test instructions.
[x] Updated documentation (if it already exists for this component) -- N/A, no docs updates needed
[x] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:
Load the Quiet Picker story, long text should be truncated if it would overflow the container. The picker should fit in the width of its container.
In the below I've highlighted the parent container in red for easier comparison
Before:

After:

🧢 Your Project:
Pandora

GET_BUILD


repo overall refresh

New bundling stack
Overall housekeeping

Refer to #155

@marinhoarthur sorry, getting error [vite] Internal server error: Preprocessor dependency "sass" not found. Did you install it? when running npm run dev

@marinhoarthur sorry, getting error [vite] Internal server error: Preprocessor dependency "sass" not found. Did you install it? when running npm run dev on template package. Can this be run before being used by a specific chain?

Which commands you executed?

@marinhoarthur npm install npm run dev

Both rollup-plugin-sass and vite have sass as a dependency. How is your node_modules looking like?

sass needs to be added as a devDependency.... template does not have rollup-plugin-sass

this is my npm ls sass

Both rollup-plugin-sass and vite have sass as a dependency. How is your node_modules looking like?

@marinhoarthur npm install npm run dev

please take a look here on how to get the new stuff


Preserve original order in which the tags were given

When adding or updating tags, the original order that I had given is not preserved when I go back and check. The order is completely different than the way I had done it. Is there any way to preserve the original order in which the tags were given?

You can override the model classes and write your own logic to preserve the order.

Can you provide more detail on this? I'm unsure where / how to update my model class to preserve the order of tags based on the user's original input.

We don't define a model-based ordering by default, but I've seen this in a couple issues, I think we might want to just bite the bullet and apply some ordering for people to use. Also just documenting solutions with custom tags.
Workarounds include things like sorting thing.tags.all() before outputting it into a template or whatever as workarounds.


Update image docker.io/ollama/ollama to v0.5.2

This PR contains the following updates:

Package
Update
Change

docker.io/ollama/ollama
patch
0.5.1-rocm -> 0.5.2-rocm

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


[RDS] @EnableRdsInstance enhancement

Although @EnableRdsInstance allows us to configure an RDS datasource, we can not use a placeholder for all of its value, specifically for the boolean value readReplicaSupport.
Would it be possible to have another value, let's say readReplicaSupportString (of type String as the name suggests), which would allow us to have a placeholder for this particular value ?
It makes sense for instance to have the read replica support in production but not in development while having this different configuration value in a properties file for dev and for prod.
The alternative is to create 2 configuration, one for dev and one for prod, but why having 2 configurations if we could/should have one.
Spring does that for the annotation @Scheduled for instance, there put a String alternative for non String values such as: fixedDelay (and fixedDelayString), or fixedRate (and fixedRateString).
You could answer that I should go with the configuration from properties instead of the Java configuration alternative, but the thing is that I need it (the Java config) in order to override the default values of the pool configuration through the provided RdsInstanceConfigurer interface.

@EnableRdsInstance has been deprecated as part of 2.3. Instead there are configuration property for this scenario cloud.aws.rds.*.readReplicaSupport


Added section "Changed" into changelog

Section "changed" was missing in our documentation. It is specified in http://keepachangelog.com/en/1.0.0/ and already used with some releases:
https://github.com/zendframework/zend-expressive/releases/tag/2.0.3
https://github.com/zendframework/zend-expressive-skeleton/releases/tag/2.0.3
...

I was actually missing that section a few weeks back.

Thanks, @webimpress


Fixed ship workflow pull request index

#556
#555
#554  👈
main

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

Join @CatChen and the rest of your teammates on  Graphite


Compute all project info once

This should help with #25
@liutikas @mathjeff does this help with android x build times?

Yes! When I apply this change and profile the androidx build I no longer see DefaultProject.getAllprojects even showing up in the trace

Yes! When I apply this change and profile the androidx build I no longer see DefaultProject.getAllprojects even showing up in the trace

That's a little concerning? shouldn't it somewhere?


Improve extractPackages processing time

Our team faced a problem related to the report processing. It took a very long time to build with our dependencies. And we tried to fix it.
The point of the fix:
if (
  !instance.reasons.find(
    (r) =>
      r.type === 'module' &&
      r.data.moduleIdentifier === reason.moduleIdentifier &&
      r.data.loc === reason.loc
  )
) {
  ...
}

replaced by
const instanceReasonsKeys = new Set(
  instance.reasons.map((reason) => {
    return buildReasonKey(
      reason.type,
      reason.data.moduleIdentifier,
      reason.data.loc
    );
  })
);
...
if (!instanceReasonsKeys.has(reasonKey)) {
  ...
}

With this fix, the report processing time was reduced by 30 seconds. From 38 seconds to 8 seconds.

Thanks! 👍


database-mariadb-plugin

Repository URL
https://github.com/jonesbusy/database-mariadb-plugin
New Repository Name
database-mariadb-plugin
Description
See https://github.com/jenkins-infra/repository-permissions-updater/issues/3638
GitHub users to have commit permission
@jonesbusy
Jenkins project users to have release permission
jonesbusy
Issue tracker
GitHub issues

Security audit, information and commands
The security team is auditing all the hosting requests, to ensure a better security by default.
This message informs you that a Jenkins Security Scan was triggered on your repository.
It takes ~10 minutes to complete.
Commands
The bot will parse all comments, and it will check if any line start with a command.
Security team only:

/audit-ok => the audit is complete, the hosting can continue :tada:.
/audit-skip => the audit is not necessary, the hosting can continue :tada:.
/audit-findings => the audit reveals some issues that require corrections :pencil2:.

Anyone:

/request-security-scan => the findings from the Jenkins Security Scan were corrected, this command will re-scan your repository :mag:.
/audit-review => the findings from the audit were corrected, this command will ping the security team to review the findings :eyes:.
	It's only applicable when the previous audit required changes.

Only one command can be requested per comment.

(automatically generated message, version: 1.26.21)

/hosting re-check

Error for the scan:

Could not find artifact io.jenkins.plugins:mariadb-api:jar:3.3.0-1.vd6b_57e1411c2 in repo.jenkins-ci.org (https://repo.jenkins-ci.org/public/)
I imagine because https://github.com/jenkins-infra/repository-permissions-updater/issues/3638 is not yet "used".

After a quick manual check, everything is fine.
/audit-ok

@Wadeck Correct, will work after publishing the API plugin. But if you install it on your local maven cache it works

The API is published and tag updated. Plugin should build now on CI

Is there a reason you don't have Java 21 in the Jenkinsfile?

@timja No, I've generated with  mvn archetype:generate -Dfilter=io.jenkins.archetypes: maybe an old version
Fixed now

@timja No, I've generated with  mvn archetype:generate -Dfilter=io.jenkins.archetypes: maybe an old version
Fixed now

I've released a new archetype version just yesterday 😄

/hosting host


Formatting and remove unnecessary eslint-ignore comments

What:
Fixed some formatting and removed unnecessary eslint-ignore comments

Why:
Keeping the code base clean and readable

How:
Same as what

Checklist:

[ ] Documentation N/A
[ ] Tests N/A
[x] Ready to be merged

[ ] Added myself to contributors table N/A

Thanks!

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


feat: add ES5 build

This adds a very basic build step using babel.
Fixes #57

@TomFrost friendly bump :wink:

@TomFrost friendly bump 😉


Added london bus safety dataset

Added london bus safety dataset
DATA SOURCE: Transport for London
👨💻 Changes proposed

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers
Merge it under hacktoberfest

Good one @iamrahul8
Congrats 🎉, your PR got merged. To be eligible for the swags from ClueLess. Follow these steps.

Star this repository. ⭐
Follow Clueless on GitHub
SignIn / SignUp in [ClueLess Website](https://www.clueless.tech/) .
Go to the profile section from the top right-hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.

That’s it. Follow the leaderboard!
And don’t forget to share your achievement with your friends.

@nikhil25803 , Here is my profile link - https://www.clueless.tech/profile/admin/107087746951592717989