filterCreationErrorCallback is not a function

Dear Orlenys López Pintado,
I installed Caterpillar on Linux Mint with versions of node, gulp and npm equal to:
^Cdanga@danga-mint ~/ProgramFiles/Caterpillar-master/caterpillar-core $ node -v
v8.5.0
danga@danga-mint ~/ProgramFiles/Caterpillar-master/caterpillar-core $ gulp -v
[11:31:49] CLI version 1.4.0
[11:31:49] Local version 3.9.1
danga@danga-mint ~/ProgramFiles/Caterpillar-master/caterpillar-core $ npm -v
5.3.0
danga@danga-mint ~/ProgramFiles/Caterpillar-master/caterpillar-core $
When I start gulp in the folder caterpillar-core I get an error:
filterCreationErrorCallback is not a function
See output below - can you help me out with this?
started on port 8090
Listening on port 3000
/home/danga/ProgramFiles/Caterpillar-master/caterpillar-core/node_modules/solc/soljson.js:1
(function (exports, require, module, __filename, __dirname) { var Module;if(!Module)Module=(typeof Module!=="undefined"?Module:null)||{};var moduleOverrides={};for(var key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=typeof window==="object";var ENVIRONMENT_IS_WORKER=typeof importScripts==="function";var ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof require==="function"&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER;var ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;if(ENVIRONMENT_IS_NODE){if(!Module["print"])Module["print"]=function print(x){process["stdout"].write(x+"\n")};if(!Module["printErr"])Module["printErr"]=function printErr(x){process["stderr"].write(x+"\n")};var nodeFS=require("fs");var nodePath=require("path");Module["read"]=function read(filename,binary){filename=nodePath"normalize";var ret=nod
TypeError: filterCreationErrorCallback is not a function
at Object.callback (/home/danga/ProgramFiles/Caterpillar-master/caterpillar-core/node_modules/web3/lib/web3/filter.js:153:13)
at /home/danga/ProgramFiles/Caterpillar-master/caterpillar-core/node_modules/web3/lib/web3/method.js:142:25
at /home/danga/ProgramFiles/Caterpillar-master/caterpillar-core/node_modules/web3/lib/web3/requestmanager.js:82:20
at XMLHttpRequest.request.onreadystatechange (/home/danga/ProgramFiles/Caterpillar-master/caterpillar-core/node_modules/web3/lib/web3/httpprovider.js:118:13)
at XMLHttpRequestEventTarget.dispatchEvent (/home/danga/ProgramFiles/Caterpillar-master/caterpillar-core/node_modules/xhr2/lib/xhr2.js:64:18)
at XMLHttpRequest._setReadyState (/home/danga/ProgramFiles/Caterpillar-master/caterpillar-core/node_modules/xhr2/lib/xhr2.js:354:12)
at XMLHttpRequest._onHttpRequestError (/home/danga/ProgramFiles/Caterpillar-master/caterpillar-core/node_modules/xhr2/lib/xhr2.js:544:12)
at ClientRequest. (/home/danga/ProgramFiles/Caterpillar-master/caterpillar-core/node_modules/xhr2/lib/xhr2.js:414:24)
at emitOne (events.js:115:13)
at ClientRequest.emit (events.js:210:7)
[11:28:05] [nodemon] app crashed - waiting for file changes before starting...

I believe the problem is connected with some incompatibilities among versions web3.js. You can see a similar issue at https://github.com/ethereum/web3.js/issues/552
You can probably check the version of web3.js that is installed in your local project. If the version does not correspond with the one specified in caterpillar-core's package.json, you could try to downgrade to such version. Unfortunately, I cannot check the problem myself in this moment. But, Orlenys can later double-check my answer and come up with a fix or workaround.
Luciano

This error TypeError: filterCreationErrorCallback occurs when the BlockChain (Ethereum) server is not running.
In the lines 23-24 in
https://github.com/orlenyslp/Caterpillar/blob/master/caterpillar-core/src/models/models.controller.ts and 12-13 in
https://github.com/orlenyslp/Caterpillar/blob/master/services-manager/src/models/models.controller.ts
you will see the provider is http://<IP_ADDRESS>:80. That is an Ethereum node that we have at the university but unfortunately, it needs to be restarted continuously after some time.
For running the demo, I would recommend you to install testrpc on your computer. You can follow the instructions here https://github.com/ethereumjs/testrpc. Then, change the provider in both files to http://localhost:8545. Be aware that it's necessary to start testrpc on your computer before running the applications. Additionally, to run caterpillar_core you need to register the services because they are used by the demo example (see the demo video). You can also specify another provider if you prefer.
By the end of the next week, I will upload a new release of Caterpillar with some updates after the demonstration in BPM 2017. From there, you will see testrpc as the default provider.

I checked my web3 version, and it seems to match the one in package.json in caterpillar-core for v1.0.

This issues still persists - any idea how to fix it?


Complete Basketball Category Acronyms in STATS_MAP

ESPN allows for counting 36 different stats, but not every stat was mapped in constant.py.  The API also fetches a few stats that aren't scorable in fantasy, but being mapped will improve readability of a players stat data structure. I updated"3PTM" and "3PTA" acronym to be consistent with ESPN's  "3PM" and "3PA".
Countable stats found in ESPN League > Settings > Scoring:

Games Played (GP)
Games Started (GS)
Minutes (MIN)
Field Goals Made (FGM)
Field Goals Attempted (FGA)
Field Goals Missed (FGMI)
Field Goal Percentage (FG%)
Adjusted Field Goal Percentage (AFG%)
Free Throws Made (FTM)
Free Throws Attempted (FTA)
Free Throws Missed (FTMI)
Free Throw Percentage (FT%)
Three Pointers Made (3PM)
Three Pointers Attempted (3PA)
Three Pointers Missed (3PMI)
Three Point Percentage (3P%)
Offensive Rebounds (OREB)
Defensive Rebounds (DREB)
Rebounds (REB)
Assists (AST)
Assists To Turnover Ratio (A/TO)
Steals (STL)
Steals To Turnover Ratio (STR)
Blocks (BLK)
Turnovers (TO)
Ejections (EJ)
Flagrant Fouls (FF)
Personal Fouls (PF)
Technical Fouls (TF)
Disqualifications (DQ)
Double Doubles (DD)
Triple Doubles (TD)
Quadruple Doubles (QD)
Points (PTS)
Points Per Minute (PPM)
Team Wins (TW)

Non Fantasy Stats I added:

APG - Assists Per Game
BPG - Blocks Per Game
PPG - Points Per Game
RPG - Rebound Per Game
SPG - Steals Per Game
TOPG - Turnovers Per Game
3PG - Threes Per Game
FTR - Free Throw Rate

ESPN does not establish acronyms for these, so I'm open to adjusting these.
I confirmed these stats with Lebron's  23-24 numbers, and checked fouls, ejection, and disqualifications against other players who had these stats.
lebron.json

This is great thanks for adding these stats!

Looks like one int test failed with the new naming/format. Would you be able to update that test

Looks like in had missed a '3PTM' in NINE_CAT_STATS. Updated to '3PM' and tests succeed now.


feat(db): support Nitro useDatabase()

Resolves #2
Waiting for https://github.com/unjs/nitro/pull/2228 to be released.
This will allow to use useDatabase() with no configuration 🚀

Any update on this? @Atinux ?

Actually I need to change it @cpreston321 to only enable it if nitro.experimental.database is set to true.
After discussing with @pi0, NuxtHub should not set experimental feature on behalf of the user.

After discussing with @pi0, NuxtHub should not set experimental feature on behalf of the user.

I also agree.
Since useDatabase() is based on db0 (that quite early in development), would this mean that this feature will be postponed till a later Nitro 3.x version?

useDatabase() will be eventually enabled out of the box for Nitro v2 as well.
In the meantime I appreciate any feedback from direct db0 integration which can help to stabilize and discover any issues with it.


problems with build-ss3-warnings.yml after switch to ADMB 13.0

Working the "admb13" branch of this workflows repo and the stock-synthesis repo, I got the github actions working with the exception of the one that depends on build-ss3-warnings.yml.
Here's the most recent manually run github action that failed: https://github.com/nmfs-stock-synthesis/stock-synthesis/actions/runs/3016994393
@k-doering-NOAA, can you take a look?

After much struggle, I was saved by the fix to ADMB from Johnoel https://github.com/admb-project/admb/issues/272. I still can't understand why I was able to get the regular build working but not the warnings one, but it doesn't matter.


[Sui SDKs] [Rust SDK] Updated with additional features, clarifications, and examples for interacting with Sui Blokchain using the Rust programming language

I would like to update further and show examples of interacting with Sui Blockchain through the use of the Rust SDK.
During the process of building my product, I encountered some problems with the Rust SDK, and I felt that the Rust SDK docs page was not really effective, so I wanted to update it with more information and specific examples. for your Sui SDKs.
One of the problems I encountered was calling a function on my module that is on Sui Blockchain, and I found a few links to the answer but it wasn't really clear.
Here is the link I found: https://github.com/MystenLabs/sui/issues/15538
Here is one of my solutions that I would like to update:
// programmable transactions allows the user to bundle a number of actions into one transaction
    let mut ptb = ProgrammableTransactionBuilder::new();

    // Create an Argument::Input for the Pure 10 value of type u64
    let input_value = 10u64;
    let input_argument = CallArg::Pure(bcs::to_bytes(&input_value).unwrap());

    // Add this input to the builder
    ptb.input(input_argument);

    ptb.command(Command::MoveCall(Box::new(
        sui_sdk::types::transaction::ProgrammableMoveCall {
            package: ObjectID::from_hex_literal("0x883393ee444fb828aa0e977670cf233b0078b41d144e6208719557cb3888244d").unwrap(),
            module: Identifier::new("hello_wolrd").unwrap(),
            function: Identifier::new("hello_world").unwrap(),
            type_arguments: vec![],
            arguments: vec![Argument::Input(0)],
        }
    )));

    // finish building the transaction block by calling finish on the ptb
    let builder = ptb.finish();

### If you don't mind I can create a Pull Request so I can update my solution for the community on the docs page describing your Sui SDKs - Rust SDK

@FucktheKingcode We'd love to have more examples for the Rust SDK. Please feel free to create a PR and I will make sure we review it quickly and get it merged.
Thanks in advance for your contribution!

Hey bro, I have issue with my PR
https://github.com/MystenLabs/sui/pull/18008

Hi @stefan-mysten I want to rewrite the Rust SDK documentation on Sui SDK because it has many limitations and very little description, but I think this seems like quite a big challenge and I need a small grant.

For grants, have a look here https://sui.io/grants-hub
On the other hand, we're planning on having a new/improved Rust SDK so I wouldn't want you to spend the time to do it, and shortly after a new SDK is released.


Translate <IP_ADDRESS> to localhost

Closes #1991.

@josevalim ftr here's a past discussion: https://github.com/livebook-dev/livebook/pull/1181#issuecomment-1122229958, one of the points is that binding to a different port using Docker would also invalidate the URL. I don't have a strong opinion though, your call!

@jonatanklosko good call. I think we should at least make it work with the default Docker command we provide. Port remapping will be broken indeed.

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


Add a wrapper for stdlib testing logging.

This allows logging to be redirected to the test where it belongs.
I couldn't think of any tests that would cover it reasonably.

Moved to separate file.


add zh CN version documentation for Chinese reader/audience

add zh CN version documentation for Chinese reader/audience
if possible, I hope someone can cross check with the zh CN version document before merge.
if Chinese is a language barrier for all reviewers, I suggest reviewer copy paste content to google translate for help maybe?
Signed-off-by: Sam Yuan<EMAIL_ADDRESS>

Thank you @SamYuan1990!


Initial render flickering

I get a weird flickering of the elements in my nav menu on the initial page render. If I look at the preview of the initial request under the network tab of the chrome developer tools I see that the elements are all bunched up. Does this have something to do with the ssrClientHints? I have configured module as follows:
vuetify: {
  moduleOptions: {
    styles: {
       configFile: "/assets/scss/settings.scss",
    },
    ssrClientHints: {
      viewportSize: true,
      reloadOnFirstRequest: true,
    },
  },
  vuetifyOptions: "./config/vuetify/vuetify.config.ts",
},

The client hint headers are sent to the server, but it does not look like they are doing anything. You can check it out at compiile.no/dev.
https://github.com/userquin/vuetify-nuxt-module/assets/48122613/5bec838d-198e-410b-893d-d38d6ed1407a

Fixed this. I hav VApp in my app.vue file, and my VAppBar and VMain in my default layout file. I fixed it by moving the app bar and VMain to app.vue. Think it is because those components must be direct descendants of VApp.


Issue + Commit: [LICENSE-CODE]

Commit:
The MIT License (MIT)
Copyright Copyright ©  Microsoft Corporation April 4, 1975 -2021
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.

IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

This bot account has been harassing Kodi team members for a long time. It recently scraped a team member's github activity feed, and tried to submit a vulnerability to another org's repo with commits by that team member.
https://github.com/wolvesofwallstreet/wolves.finance/pull/1

This bot account has been harassing Kodi team members for a long time. It recently scraped a team member's github activity feed, and tried to submit a vulnerability to another org's repo with commits by that team member.
https://github.com/wolvesofwallstreet/wolves.finance/pull/1

Here is the only evidence we have of the bot ever responding to us: https://github.com/ronie/xbmc/pull/6#issuecomment-658890855
We complained to GH and the account was removed, and now it appears to be recreated with a different name and sending vulnerabilities.

Here is the only evidence we have of the bot ever responding to us: https://github.com/ronie/xbmc/pull/6#issuecomment-658890855
We complained to GH and the account was removed, and now it appears to be recreated with a different name and sending vulnerabilities.

Ping: @garbear garbear
I Okay I have seen This Bot beeing made on kodi/xbmc
It looks like peak3d has intregraded a crypto miner in to the code?
I have forked a few repos to show the history
It has been imported by peak3d on https://github.com/peak3d/wolves.finance
Is there a way for you to confirm this as I cannot as I am a newer
Developer and don't want to jump to conclusions
account as it is cryptomineing

We complained to GH and the account was removed, and now it appears to be recreated with a different name and sending vulnerabilities.
Some previous interactions:

ronie/xbmc#6 (comment)
xbmc/xbmc#17583 (comment)
AlwinEsch/kodi#39
xbmc/xbmc#17901

Ping: @garbear garbear
I Okay I have seen This Bot beeing made on kodi/xbmc
It looks like peak3d has intregraded a crypto miner in to the code?
I have forked a few repos to show the history
It has been imported by peak3d on https://github.com/peak3d/wolves.finance
Is there a way for you to confirm this as I cannot as I am a newer
Developer and don't want to jump to conclusions
account as it is cryptomineing

We complained to GH and the account was removed, and now it appears to be recreated with a different name and sending vulnerabilities.
Some previous interactions:

ronie/xbmc#6 (comment)
xbmc/xbmc#17583 (comment)
AlwinEsch/kodi#39
xbmc/xbmc#17901

Ping: @garbear garbear
I am not a bot
can u guys help me learn what i am doing wrong
I Okay I have seen This Bot beeing made on kodi/xbmc
It looks like peak3d has intregraded a crypto miner in to the code?
I have forked a few repos to show the history
It has been imported by peak3d on https://github.com/peak3d/wolves.finance
Is there a way for you to confirm this as I cannot as I am a newer
Developer and don't want to jump to conclusions
account as it is cryptomineing

We complained to GH and the account was removed, and now it appears to be recreated with a different name and sending vulnerabilities.
Some previous interactions:

ronie/xbmc#6 (comment)
xbmc/xbmc#17583 (comment)
AlwinEsch/kodi#39
xbmc/xbmc#17901

refrences = me asking for help
https://github.com/ronie/xbmc/pull/6#issuecomment-658943455
https://github.com/xbmc/xbmc/pull/17901#issuecomment-631165028
https://github.com/AlwinEsch/kodi/pull/39#issuecomment-674254787

Ping: @garbear garbear
I am not a bot
can u guys help me learn what i am doing wrong
I Okay I have seen This Bot beeing made on kodi/xbmc
It looks like peak3d has intregraded a crypto miner in to the code?
I have forked a few repos to show the history
It has been imported by peak3d on https://github.com/peak3d/wolves.finance
Is there a way for you to confirm this as I cannot as I am a newer
Developer and don't want to jump to conclusions
account as it is cryptomineing

We complained to GH and the account was removed, and now it appears to be recreated with a different name and sending vulnerabilities.
Some previous interactions:

ronie/xbmc#6 (comment)
xbmc/xbmc#17583 (comment)
AlwinEsch/kodi#39
xbmc/xbmc#17901

refrences = me asking for help
https://github.com/ronie/xbmc/pull/6#issuecomment-658943455
https://github.com/xbmc/xbmc/pull/17901#issuecomment-631165028
https://github.com/AlwinEsch/kodi/pull/39#issuecomment-674254787

@I-Cat I apologize for calling you a bot. Also for mistaking your intentions with the crypto-related repo. I can vouch for peak's code and say that it's unrelated to both kodi and crypto-mining.
Thanks for raising the concern. This concern is low-risk in open source (given review) but only if some's eyes catch it and they say something.
And please going forward, consider that Team Kodi is feeling harassed by you. We would like to worth with you in a more healthy manner. There are outstanding requests from other team members about cancelling your new accounts. I'll ask for these to be rescinded if you're interested in improving your communication.
I think this issue here can be closed.

@I-Cat I apologize for calling you a bot. Also for mistaking your intentions with the crypto-related repo. I can vouch for peak's code and say that it's unrelated to both kodi and crypto-mining.
Thanks for raising the concern. This concern is low-risk in open source (given review) but only if some's eyes catch it and they say something.
And please going forward, consider that Team Kodi is feeling harassed by you. We would like to worth with you in a more healthy manner. There are outstanding requests from other team members about cancelling your new accounts. I'll ask for these to be rescinded if you're interested in improving your communication.
I think this issue here can be closed.

@I-Cat I apologize for calling you a bot. Also for mistaking your intentions with the crypto-related repo. I can vouch for peak3d's code and say that it's unrelated to both kodi and crypto-mining.
Thanks for raising the concern. This concern is low-risk in open source (given review) but only if some's eyes catch it and they say something.
And please going forward, consider that Team Kodi is feeling harassed by you. We would like to work with you in a more healthy manner. There are outstanding requests from other team members about cancelling your new accounts. I'll ask for these to be rescinded if you're interested in improving your communication.
I think this issue here can be closed.

mention @garbear garbear
(tone=happy)
Tnx, for responding. Unfourtuntly sometimes reading a comment (text) is interpurted incorrectly because we
cannot hear a persons tone.
To accuse me of harassment is a serious accusion lawfully. (Do you think we should contact a lawyer?)
I don't see my self on how I was, disturbing, upsetting or threatening = (definition of harassment?).
I apologize if it looks like I harassed some one(s), Thats not my intention. I Don't approve with harassment as I know what it is like to have been harassed. As with harrasment I have actually been asking for help/questions this whole time. I recived no feed back/on how to fix/solve something. Also on ronnies pr I complied just fine. Because he asked me not to make a pr / (bother him?).
Wich is edvience that I have good intentions and dissaprove of harassment.
How would I even know if I harassed someone if no one mention it to me or gave me any help/feedback?(like ronnie did).
Okay , Who is the owner of xbmc/xbmc? + how do I contact the mods of the group & are you a mod?
Will You help me? I honestly, don't know what happend with my account becoming a gost.
As with peak3d's stuff unfourtunatly, I half to leave that in your hands. Since you are a team member that has been told about it. Yea I'd would like to try to solve this with the team.
If you want you can try to open a new issue with githubs mods and attach me to it since im newer and
don't know how to add a github mod.
Tnx again for the reply.

@I-Cat I apologize for calling you a bot. Also for mistaking your intentions with the crypto-related repo. I can vouch for peak3d's code and say that it's unrelated to both kodi and crypto-mining.
Thanks for raising the concern. This concern is low-risk in open source (given review) but only if some's eyes catch it and they say something.
And please going forward, consider that Team Kodi is feeling harassed by you. We would like to work with you in a more healthy manner. There are outstanding requests from other team members about cancelling your new accounts. I'll ask for these to be rescinded if you're interested in improving your communication.
I think this issue here can be closed.

mention @garbear garbear
(tone=happy)
Tnx, for responding. Unfourtuntly sometimes reading a comment (text) is interpurted incorrectly because we
cannot hear a persons tone.
To accuse me of harassment is a serious accusion lawfully. (Do you think we should contact a lawyer?)
I don't see my self on how I was, disturbing, upsetting or threatening = (definition of harassment?).
I apologize if it looks like I harassed some one(s), Thats not my intention. I Don't approve with harassment as I know what it is like to have been harassed. As with harrasment I have actually been asking for help/questions this whole time. I recived no feed back/on how to fix/solve something. Also on ronnies pr I complied just fine. Because he asked me not to make a pr / (bother him?).
Wich is edvience that I have good intentions and dissaprove of harassment.
How would I even know if I harassed someone if no one mention it to me or gave me any help/feedback?(like ronnie did).
Okay , Who is the owner of xbmc/xbmc? + how do I contact the mods of the group & are you a mod?
Will You help me? I honestly, don't know what happend with my account becoming a gost.
As with peak3d's stuff unfourtunatly, I half to leave that in your hands. Since you are a team member that has been told about it. Yea I'd would like to try to solve this with the team.
If you want you can try to open a new issue with githubs mods and attach me to it since im newer and
don't know how to add a github mod.
Tnx again for the reply.

@I-Cat thanks for responding. I didn't say you were harassing, I said we were feeling harassed. I'm sorry we misinterpreted your intentions, but mistakes happen. Can you join the freenode channel #kodi-freenode? I'd like to talk without using other peoples' GitHub space.

@I-Cat thanks for responding. I didn't say you were harassing, I said we were feeling harassed. I'm sorry we misinterpreted your intentions, but mistakes happen. Can you join the freenode channel #kodi-freenode? I'd like to talk without using other peoples' GitHub space.

@I-Cat thanks for responding. I didn't say you were harassing, I said we were feeling harassed. I'm sorry we misinterpreted your intentions, but mistakes happen. Can you join the freenode channel #kodi-freenode? I'd like to talk without using other peoples' GitHub space.

@garbear garbear
Okay no problem

@I-Cat thanks for responding. I didn't say you were harassing, I said we were feeling harassed. I'm sorry we misinterpreted your intentions, but mistakes happen. Can you join the freenode channel #kodi-freenode? I'd like to talk without using other peoples' GitHub space.

@garbear garbear
Okay no problem

@garbear garbear
I cant join freenode im on windows and dont have a windows irc.

@garbear garbear
I cant join freenode im on windows and dont have a windows irc.

@I-Cat can you send me your email? My address is<EMAIL_ADDRESS>We'll send you a slack invite to our public #kodi-dev-freenode channel

@I-Cat can you send me your email? My address is<EMAIL_ADDRESS>We'll send you a slack invite to our public #kodi-dev-freenode channel

@I-Cat I'm not able to access slack invites right now, but you can join with IRC on windows. My friend recommends the mIRC client, https://www.mirc.com. You can also do your own research and choose a client: https://www.google.com/amp/s/amp.slant.co/questions/1265
Once you log on to freenode, the channel is #kodi-dev-freenode.

@I-Cat I'm not able to access slack invites right now, but you can join with IRC on windows. My friend recommends the mIRC client, https://www.mirc.com. You can also do your own research and choose a client: https://www.google.com/amp/s/amp.slant.co/questions/1265
Once you log on to freenode, the channel is #kodi-dev-freenode.

@I-Cat I'm not able to access slack invites right now, but you can join with IRC on windows. My friend recommends the mIRC client, https://www.mirc.com. You can also do your own research and choose a client: https://www.google.com/amp/s/amp.slant.co/questions/1265
Once you log on to freenode, the channel is #kodi-dev-freenode.

@I-Cat I'm not able to access slack invites right now, but you can join with IRC on windows. My friend recommends the mIRC client, https://www.mirc.com. You can also do your own research and choose a client: https://www.google.com/amp/s/amp.slant.co/questions/1265
Once you log on to freenode, the channel is #kodi-dev-freenode.

@I-Cat can you send me your email? My address is<EMAIL_ADDRESS>We'll send you a slack invite to our public #kodi-dev-freenode channel
EDIT: We'll send an invite to your github email sometime soon.

I sent you an e mail I hope u get it

@I-Cat can you send me your email? My address is<EMAIL_ADDRESS>We'll send you a slack invite to our public #kodi-dev-freenode channel
EDIT: We'll send an invite to your github email sometime soon.

I sent you an e mail I hope u get it

I received no email. It wouldn't do any good anyway - instead you need to log on to IRC. Yes, it's a scary old technology, but you can figure it out with the hints I gave.

I received no email. It wouldn't do any good anyway - instead you need to log on to IRC. Yes, it's a scary old technology, but you can figure it out with the hints I gave.

I didn't receive an email. It wouldn't do any good anyway, I don't have slack invite privileges - instead you need to log on to IRC. Yes, it's a scary old technology, but you can figure it out with the hints I gave.

Yep I will Try.

I didn't receive an email. It wouldn't do any good anyway, I don't have slack invite privileges - instead you need to log on to IRC. Yes, it's a scary old technology, but you can figure it out with the hints I gave.

Yep I will Try.


Joaomarra/hs 1195 as a client i want the select element to not shift in size

Fixed the resizing of select input whenever it was searchable.
Now it's working like below:

Daniel, let me know if this is the behaviour that we wanted.

Yes perfect! That's exactly how it should work


Please make a PR to pull 3.1.x MiMa changes to 3.2.x

Hi Chee Seng,
After merging PR #1269 into 3.1.x, a pull from 3.1.x to 3.2.x gets a very small conflict in scalatest.scala. I can guess how to fix it, but I'd rather you take a look and be sure. Please make a PR to resolve that conflict pulling 3.1.x into 3.2.x.
Thanks.
Bill

Next step for this one: https://github.com/scalatest/scalatest/issues/1271
But I'll close this since it is done.

Duh, this is 1271! Reopening.

Fixed in the following PR:
https://github.com/scalatest/scalatest/pull/1273


Do not flush OutputStream to avoid contamination

Related with https://github.com/xetorthio/jedis/issues/997
BinaryJedisPubSub#process use Client#getObjectMultiBulkReply and it flush output stream before read from socket. This cause contamination of outputbuffer and redis close client connection due to Protocol Error. Using Client#getRawObjectMultiBulkReply will fix this.
JedisPubSub already use it. So if we change that test case with JedisPubSub it do not fail.
Maybe there was a missing.
Here is TCP dump log of test case provided https://github.com/xetorthio/jedis/issues/996
11:16:26.417775 IP localhost.61043 > localhost.6379: Flags [P.], seq 1:34, ack 1, win 12759, options [nop,nop,TS val 596420889 ecr 596420884], length 33
E..Un<EMAIL_ADDRESS>..1..I.....
#...#...*2  <--- first subscribe
$9
SUBSCRIBE
$8
whatever

11:16:26.417800 IP localhost.6379 > localhost.61043: Flags [.], ack 34, win 12758, options [nop,nop,TS val 596420889 ecr 596420889], length 0
E..4(A<EMAIL_ADDRESS>..o...1..(.....
#...#...
11:16:26.417844 IP localhost.6379 > localhost.61043: Flags [P.], seq 1:38, ack 34, win 12758, options [nop,nop,TS val 596420889 ecr 596420889], length 37
E..Y.Z<EMAIL_ADDRESS>..o...1..M.....
#...#...*3
$9
subscribe
$8
whatever
:1

// omitted

11:16:26.436680 IP localhost.61043 > localhost.6379: Flags [P.], seq 220:222, ack 236, win 12752, options [nop,nop,TS val 596420907 ecr 596420907], length 2
E..6q4<EMAIL_ADDRESS>#..+#..+*2     <----  partial tx due to contamination

11:16:26.436692 IP localhost.61043 > localhost.6379: Flags [P.], seq 222:264, ack 236, win 12752, options [nop,nop,TS val 596420907 ecr 596420907], length 42
E..^r<EMAIL_ADDRESS>#..+#..+*2     <----  normal tx
051a2777-c81f-455c-a607-4f48fe5a59ce

// omitted

11:16:26.436715 IP localhost.6379 > localhost.61043: Flags [P.], seq 236:283, ack 306, win 12749, options [nop,nop,TS val 596420907 ecr 596420907], length 47
E..c.|<EMAIL_ADDRESS>#..+#..+-ERR Protocol error: invalid multibulk length   <--- Protocol error

// omitted

11:16:26.436786 IP localhost.6379 > localhost.61043: Flags [R], seq<PHONE_NUMBER>, win 0, length 0
E..(+.@.@..............s...;....P.......     <--- RST

LGTM. Whenever another collaborator approves we should definitely merge.
@itugs thanks for the thorough investigation.

I've just try tcpdump and found there's some issue but I don't think about difference of BinaryJedisPubSub and JedisPubSub.
Amazing works!

Yes. Good catch! Lets merge it!

@itugs did you run the tests before commiting?. Seems like something else broke because if this change

@itugs BinaryJedisPubSub.proceed() and BinaryJedisPubSub.proceedWithPatterns() should execute flush().

Oh, I'll follow that test failure. Sorry to bother you.

I revised and PublishSubscribeCommandsTest successed.
Some tests are still fail but I think it's due to env of CI.

No problem. We also know random test failures, and we re-run tests.

OK, test failure issue is gone.

Amazing! @HeartSaVioR. Can you merge?

@marcosnils I'll merge it within 1 hour. :)

Merged to master, 2.7, 2.8 respectively.
Thanks for your amazing work! @itugs

Thanks! I'm very exciting to be contributing to Jedis.


search user API request

Hi,
I did not find this search user API in sdk, and found that there is already a deprecated API named SearchUser inside user.go, so if this SearchUser can be modified to follow the docs, I can PR for this.

Making the sdk updated with mixin api is always welcomed 👍


PyPI downloads page does not show all wheels available

Describe the bug
Earlier when trying to figure out why we could not get a specific package to install via pip I realized that not all wheels are shown under the "Built Distributions" section of a given package's download page.
Expected behavior
I would expect that the downloads page would show me all available wheels to download should I need to.
To Reproduce
A good example exists here:
https://pypi.org/project/mysqlclient/2.1.0/#files
Only win_amd64.whl files are shown, though linux_x86_64.whl versions do exist.
My Platform
I am running Firefox 101.0.1 on Windows 11.
Additional context
I feel this is an important issue as it would be useful to be able to determine if an install issue lies with pip, pypi, or the package its self. From a lot of trial and error we were able to deduce that the mysqlclient package must just be missing linux distributions for 2.1.1, however, when we looked at 2.1.0 and also saw only windows distributions listed it added a lot of confusion as we know for a fact that they exist (as we were able to install 2.1.0).

I can't confirm this issue yet - inspecting https://pypi.org/simple/mysqlclient/ and https://pypi.org/pypi/mysqlclient/json/ both confirm the same set of built distributions.
How are you confirming that linux_x86_64.whl versions exists?

I just realized that pip was grabbing source and building the wheel, so looks like it might be a different issue entirely.


Update node versions in .travis.yml

Coverage remained the same at 92.13% when pulling 80e8042f5c0202eda13bc81fdd3b79ae9ef631b5 on develop into 58afd041742c2f9a6211ab8efaf4a024d2849fad on master.

Coverage remained the same at 92.13% when pulling 80e8042f5c0202eda13bc81fdd3b79ae9ef631b5 on develop into 58afd041742c2f9a6211ab8efaf4a024d2849fad on master.


feature: the config and register type can be obtained through env variable

Ⅰ. Describe what this PR did
the config and register type can be obtained through env variable
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

What scenarios need this feature?

Codecov Report

Merging #3264 (765c326) into develop (be83b1e) will increase coverage by 0.00%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##             develop    #3264   +/-   ##
==========================================
  Coverage      50.75%   50.76%
- Complexity      3278     3280    +2
==========================================
  Files            612      612
  Lines          20087    20089    +2
  Branches        2472     2472
==========================================
+ Hits           10195    10198    +3
- Misses          8843     8844    +1
+ Partials        1049     1047    -2

Impacted Files
Coverage Δ
Complexity Δ

...a/io/seata/discovery/registry/RegistryFactory.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...ain/java/io/seata/config/ConfigurationFactory.java
57.97% <100.00%> (+0.61%)
10.00 <1.00> (ø)

...in/java/io/seata/server/session/GlobalSession.java
83.72% <0.00%> (+0.46%)
71.00% <0.00%> (+1.00%)

...o/seata/server/coordinator/DefaultCoordinator.java
55.15% <0.00%> (+0.51%)
29.00% <0.00%> (+1.00%)

What scenarios need this feature?

@xingfudeshi @slievrly


Add click for dependencies

Codecov Report

Merging #13 (e4d26e8) into master (8a4d667) will decrease coverage by 0.18%.
The diff coverage is 80.00%.

@@            Coverage Diff             @@
##           master      #13      +/-   ##
==========================================
- Coverage   94.22%   94.04%   -0.19%
==========================================
  Files          12       12
  Lines         849      856       +7
  Branches       54       54
==========================================
+ Hits          800      805       +5
- Misses         40       42       +2
  Partials        9        9

Impacted Files
Coverage Δ

fastapi_mongodb/managers.py
100.00% <ø> (ø)

fastapi_mongodb/models.py
85.71% <ø> (ø)

fastapi_mongodb/config.py
88.88% <80.00%> (-11.12%)
:arrow_down:

Continue to review full report at Codecov.

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


Alpha Version - Random study group assignment

Given a list of at least 2 study groups, randomly assign the participants in the (filtered) list of persons into the study groups.
Format: assign STUDY_GROUP_1 STUDY_GROUP_2 [...]
Eg. assign P90-Placebo P90-Control P90-Ex

Currently, StudyGroupTag does not support dashes - or any other special characters. Refer to #124.


Edit uppercase from login detection dialog buttons

Task/Issue URL: https://app.asana.com/0/488551667048375/1204228331606181/f
Description
Edit uppercase strings so we have consistency across the app
Steps to test this PR (optional)

Install from this branch
Sign in on a website
Fireproofing dialog appears
[x] select "Not Now" option
Repeat this action 3 times
[x] Check "Disable fireproofing reminder" dialog appears with buttons in CamelCase instead uppercase

UI changes

Before
After

CI checks are not triggered so a new PR was created -> https://github.com/duckduckgo/Android/pull/3020


chore(main): release ngx-intl 1.3.2

:robot: I have created a release beep boop
1.3.2 (2022-08-03)
Bug Fixes

test release (6045af8)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/haiilo/ngx-intl/releases/tag/ngx-intl-v1.3.2 :sunflower:


Added keyword syntax for parameter properties

Added syntax for parameter properties. Unsure if the following work
properly as atom seems to detect that they are keyword if it is at the
left most edge is it is indented in it doesnt seem to detect them.
#END_PROP_FULL_DESCRIPTION|
#END_PROP_NOTES|
#BEGIN_PROP_FULL_DESCRIPTION|\ #BEGIN_PROP_NOTES|\

Good morning, sorry for the delay. Thanks for this. Yes the indentation was breaking the regexp for preprocessor directive type matches that start with the non word char #. Not sure if they are actually preprocessor, who knows with Simpl+! I have hopefully fixed this (v0.1.3) by instead matching the beginning of a line or whitespace (^|\\s).


remove unnecessary darwin build file

/usr/local/opt is not a standard location for packages on OS X. Since we
don't have a .pc for libjpeg, it is better to specify the location in
environment variables such as CGO_CFLAGS.

@harukasan How do you think?

We are fine with getting rid of jpeg_darwin.go, because at the moment there is no way to try building with plain libjpeg. The problem is that some tests fail without libjpeg on Mac OS X probably because of tolerance threshold.
% CGO_CFLAGS=-I/usr/local/opt/jpeg-turbo/include CGO_LDFLAGS=-L/usr/local/opt/jpeg-turbo/lib LD_LIBRARY_PATH=/usr/local/opt/jpeg-turbo/lib go test -a .
ok  	github.com/pixiv/go-libjpeg/jpeg	2.137s
% go test -a .
 - test: cosmos.jpg
 - test: kinkaku.jpg
 - test: cosmos.jpg
 - test: kinkaku.jpg
 - test: cosmos.jpg
 - test: kinkaku.jpg
 - test: checkerboard_444.jpg
 - test: checkerboard_440.jpg
 - test: checkerboard_422.jpg
 - test: checkerboard_420.jpg
 - test: cosmos.jpg
 - test: kinkaku.jpg
 - test: checkerboard_444.jpg
 - test: checkerboard_440.jpg
 - test: checkerboard_422.jpg
 - test: checkerboard_420.jpg
 - test: cosmos.jpg
 - test: kinkaku.jpg
--- FAIL: TestDecodeTestdataFromGoStdlib (0.08s)
	testdata_test.go:102: testdata/video-001.221212.jpeg: at (93, 0): got {96 11 0 255} want {34 106 166}
FAIL
FAIL	github.com/pixiv/go-libjpeg/jpeg	2.310s
% brew info libjpeg
jpeg: stable 8d (bottled)
JPEG image manipulation library
http://www.ijg.org
/usr/local/Cellar/jpeg/8d (18 files, 772K) *
  Built from source
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/jpeg.rb
==> Options
--universal
	Build a universal binary

We may consider about pkg-config?


Remove version: taers232c.GAMADV-XTD3 version 6.67.32

This version is older than what has been set in max-versions-to-keep by the publisher.
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/taers232c/GAMADV-XTD3/releases/download/v6.67.32/gamadv-xtd3-6.67.32-windows-x86_64.msi
OK
(Automated message - build 910)


semantic ui 2.0  select module multiselect option

Adds 'multiselect' option for select module.

1.* in in composer.json.
I will re-write extension for 2.0.


repo not found

Hi, I was unable to download the metadata from the links provided, the urls were not found. Would you please fix the issue?

Hi, thanks for bringing this issue to our attention! We will fix it soon.
Before that, you can download the data from Hugging Face Hub instead, which contains that same copy of data.


Bump asreview version, increase upload size, fixe project volume

Bumping ASReview from 1.6.1 to 1.6.2 is already done in another PR, sorry about that. In the Nginx config file the upload file size is increased to 100M because a user had to import a bigger file than 75M.
The most important fix is the project volume in the compose file. The project folder is located in the root directory, not in the /app directory.

Thanks!


Missing coverage information in random lines

🐛 Bug Report
Since update jest to version 27 (27.0.6) we have the problem that on random lines no coverage information are collected. Our project is using Angular. So maybe thats an problem in that combination. I made a minimal angular project with that behaviour. When I run all tests with jest --coverage I got this result: https://biga-software.de/assets/dummy.page.ts.html
The method cardMessageText is tested but according to the report there is no coverage availible.
To Reproduce
Don't know just took our project and remove sources.
Expected behavior
Having correctly coverage information. Method is tested.
Link to repl or repo (highly encouraged)
https://github.com/MoritzOtto/jest_coverage_bug
envinfo
System:
OS: Linux 5.8 Ubuntu 20.04.2 LTS (Focal Fossa)
CPU: (8) x64 Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz
Binaries:
Node: 15.14.0 - ~/.nvm/versions/node/v15.14.0/bin/node
npm: 7.7.6 - ~/.nvm/versions/node/v15.14.0/bin/npm

Hitting this in react, in my case, somehow:
	if (company.logoUrl == null || company.logoUrl == "" || imageLoadFailed) {
-		return <BusinessName variant="body1">{company?.name || ""}</BusinessName>;
-	}
-
-	return (
-		<BusinessImage
-			onError={() => setImageLoadFailed(true)}
-			src={company.logoUrl}
-			alt={company.name || ""}
			height={40}
	  />
	);

lines marked with - are not covered.
Running tests one by one produces result tables that indicate that those lines are covered, but running all tests mark those lines as not covered.

Here's a minimal reproduction: https://github.com/CharlesStover/monorepo-template/runs/4734914005?check_suite_focus=true
100% coverage in Jest 26. By simply upgrading to Jest 27, you get uncovered empty lines in a file that only exports.

@CharlesStover It could be that in your case ts-jest is the issue. Here is what I get:

using jest 27 and babel

using jest 27 and ts-jest 27

@mrazauskas Nice debugging. What configuration did you use for Babel to get those results?

What configuration did you use for Babel to get those results?

Here is the whole babel.config.json:
{
  "presets": [
    ["@babel/preset-env", { "targets": { "node": "current" } }],
    ["@babel/preset-react", { "runtime": "automatic" }],
    "@babel/preset-typescript"
  ]
}

To be honest, I have no experience with React. The line with @babel/preset-react is just a guess.

@CharlesStover Found it. Including "sourceMap": true in tsconfig.json makes the jest v27 and ts-jest v27 duo work just like you would expect. Seems like ts-jest changed its defaults.

using jest 27 and babel

I am also having the same issue where index.ts is coming up 0. do you know of a config that would resolve that? also, does it effect reporting overall test coverage?

The same issue.
Reproducible repo here - just clone & run npm i && npm test

In my case coverage for single file works correct.
When files were 5...6 - it was ok.
But now when files a lot it's wrong and different time to time (just try to run npm test several times and compare)

Facing this same problem, but with Jest 26.6.3 in a Node server

Ping


make dev_setup not working

every time I run make dev_setup I get this
docker tag ghcr.io/ix/sandbox:351deee50d1620b5f0d4551ce88cba95 ghcr.io/ix/sandbox:latest
touch .sentinel/image
docker-compose run --rm sandbox ./manage.py graphql_schema --out ./frontend/schema.graphql
Dev Containers CLI: RPC pipe not configured. Message: {"args":["docker-credential-helper","get"],"stdin":"https://index.docker.io/v1/"}
Dev Containers CLI: RPC pipe not configured. Message: {"args":["docker-credential-helper","get"],"stdin":"https://index.docker.io/v1/"}
[+] Running 0/0
⠋ redis Pulling                                                                                0.0s
⠋ db Pulling                                                                                0.0s
error getting credentials - err: exit status 255, out: ``
make: *** [Makefile:73: graphene_to_graphql] Error 1
I tried again from inside VScode and got a little bit different error
Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "./manage.py": stat ./manage.py: no such file or directory: unknown
make: *** [Makefile:73: graphene_to_graphql] Error 1
I found this issue in manage.py as well
Import "django.core.management" could not be resolved from source Pylance(reportMissingModuleSource) [Ln 11, Col 14|

Does make image run?

Yes it seems so, I get these two lines at the end after running "make image"
\docker tag ghcr.io/ix/sandbox:351deee50d1620b5f0d4551ce88cba95 ghcr.io/ix/sandbox:latest
touch .sentinel/image

I've never seen that error before, Iappears to be related to how your docker is configured. Do you have credential helpers enabled?
Does this drop you into a bash shell?
docker run -it ghcr.io/ix/sandbox:latest /bin/bash

Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "./manage.py": stat ./manage.py: no such file or directory: unknown
make: *** [Makefile:73: graphene_to_graphql] Error 1

This is probably from starting in the wrong working directory.  It should be /var/app

When I run that command it drops me here
root@710c7771f37a:/var/app#
It probably does have something to do with how my docker is configured. Honestly, I'm not very familiar with running docker so I wouldn't be surprised if I configured it incorrectly. What do you suggest I try to resolve this? Do you know if I can change my current configuration or if I start from scratch do you have any suggestions on how I should configure docker?

When I navigate the file system from the command line it tells me that /var/app does not exist, also looking at the files list in docker desktop app I don't see it there either.

When I run that command it drops me here

root@710c7771f37a:/var/app#

That looks right.

When I navigate the file system from the command line it tells me that /var/app does not exist, also looking at the files list in docker desktop app I don't see it there either.

/var/app is the path inside the docker image where the app source code is installed.

I might have just figured out my issue. It was due to the way I tried to build the image. I could not figure out how to do it from the command terminal.
However now I've hit another snag, I've rebuilt the container and now when I run make dev_setup it gets hung up on line 35 of the Makefile. I tried running each line one at a time and got this...
echo building ghcr.io/ix/sandbox:761af16ee0175fb40d112d3b3f609f64
building ghcr.io/ix/sandbox:761af16ee0175fb40d112d3b3f609f64
docker build -t ghcr.io/ix/sandbox:761af16ee0175fb40d112d3b3f609f64 -f Dockerfile .
/bin/sh: 9: docker: not found

/bin/sh: 9: docker: not found

That means docker isn't available in the context you're running it.

When I explore the file system everything is in /var/app including the Dockerfile I don't understand why it can't see it

Yeah, the whole app is added to /var/app for simplicity.  Easier than trying to pick out specific files.
btw you can find me on discord as @robot3yes.  I'll be out for a bit but I'm usually around.
https://discord.gg/uCKNH4q7


Stardew Valley [PCSE01235]

Game summary

Game name: Stardew Valley
Game serial: PCSE01235
Game version: 01.00

Vita3K summary

Version: v0.1
Build number: 1303
Commit hash: https://github.com/vita3k/vita3k/commit/fa6f5bf

Test environment summary

Tested by: IllusionMan1212
OS: Windows 10 Pro
CPU: AMD Ryzen 5 1600
GPU: NVIDIA GTX 1050Ti
RAM: 8 GB

Issues
Unicorn error
Screenshots
None at the moment
Log
vita3k.log

How to download it


Split interface from implementation in Context class

In GitLab by @tpaluszk on Apr 23, 2018, 09:38
This change would increase maintainability of the code and allow us to mock Context class in tests.

closed via merge request !123

In GitLab by @tpaluszk on Apr 23, 2018, 09:38
created branch 88-split-interface-from-implementation-in-context-class


Add or Edit new features

Currently this chatbot consists of 10 features like disease prediction from symptom, calorie tracker, hospital recommender, pill remainder, Hospital booking and much more.
As a part of  HACKTOBERFEST I'm excited to hear more from you.

[ ] Come up with a feature which is relevant to medical chatbot
[ ] Add the feature

Or If you are seeing any bug or negative path in the  existing feature feel free to update that also.

Hey @injusticescorpio I find this issue interesting and would like to work on it. Since Hacktoberfest is almost over, I would like to keep working even after that. Please assign this to me.
Thank you.


Update sbt-softwaremill-browser-test-js, ... to 2.0.13

About this PR
📦 Updates

com.softwaremill.sbt-softwaremill:sbt-softwaremill-browser-test-js
com.softwaremill.sbt-softwaremill:sbt-softwaremill-common
com.softwaremill.sbt-softwaremill:sbt-softwaremill-publish

from 2.0.12 to 2.0.13
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.softwaremill.sbt-softwaremill" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.softwaremill.sbt-softwaremill" }
}]

labels: sbt-plugin-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #89.


Glmnet mex error on Windows 10

Running SCINGE_Example on Windows 10 with MATLAB R2014b generated a system error: MATLAB has encountered an internal problem and needs to close.
The error details include the message Access violation detected.  The first lines of the stack trace (with paths edited) are:
Stack Trace (from fault):
[  0] 0x00000000fe160b03 ...\MATLAB\R2014b\bin\win64\libmx.dll+00396035 MXGETPR+00000003
[  1] 0x00007ff879dc19dc ...\SCINGE\glmnet_matlab\glmnetMex.mexw64+00006620 MEXFUNCTION+00002524

Possibly related to these issues:

https://stackoverflow.com/questions/45323117/matlabs-run-and-time-crashes-with-mex-file
https://stackoverflow.com/questions/31388417/matlab-mex-file-crashing-every-third-run

Re-compiling the Glmnet code may be the next step.

I tried running SINGE_Example on Windows 10 with MATLAB R2018a.  It appears to run now.  I'm still using the same version of glmnet_matlab I have from 2015 and did not recompile anything.
We should explore whether SINGE runs stably in Windows on newer versions of MATLAB.


Support F5 instances in partition other than "Common"

The F5 backend only supports creating elements in the Common partition. This is a limitation from the backend API used.

This is now configurable but haven't been tested.


Pick a license

I'm fine with something as permissive as possible, don't know if people have any particular thoughts about licensing.

https://tldrlegal.com/license/university-of-illinois---ncsa-open-source-license-(ncsa)#summary ?

Classic (default) option: https://opensource.org/licenses/MIT

btw, seems this can be closed since NCSA License was added.

Yep; we have a license now!


185788995 deck merge 3

This adds a merge data set button to the Data Card deck toolbar, as described in PT-185788995.  The asset being used for the icon will be replaced.
I do have one question about the overall naming-scheme involved here.  I was able to use/expand the ITileLinkMetadata interface, but I'm still wondering if this is the best way to go - in this case, as well as in the case of the variable currently called mergableTiles - the thing we are passing around is really metadata for a dataset, which includes association to a tile via the providerId.  So I am curious to know if people think its ambiguous, or if it makes sense because what were are presenting to the user to reason about are tiles, not dataSets.

@scytacki - after looking at what you were working on with the add-data-card-view work, and @bgoldowsky I know you are about to embark on toolbar refactoring.  So I thought it would make sense for you to also take a look at this and see if anything looks incompatible (or anything else).


Remove Nexysvideo from SW tree

The CW305 bitstream is currently built using the Nexysvideo board target. Nexysvideo was originally removed from Bazel in #12239, but was reverted in #12976 to allow the CW305 bitstream to be built using only Bazel.
Per the discussion here, we should either use the CW310 bitstream or create a device_fpga_cw305.c if we plan to support this board long term.
This change is slated to take place after the removal of meson.

This is also tracked in #12221 and I think @jprendes wanted to look into this task.


extractor does not generate features.fea for OpenType features

All UFO files generated by extractor does not produce the Adobe OpenType Feature File features.fea according to UFO 3 specification. This will make the font lose all OpenType features when converting into UFO. (UFO export of FontForge did include features.fea.
Since this is using fontTools for binary OpenType font file, the feaLib can be used to accomplish the task. The main OpenType tables involved are GSUB, GPOS and GDEF.

I'm not sure how to add support for this.... 😅 There seem to be a library that does that though: https://github.com/simoncozens/fontFeatures

Think I got it working now. Actually VFB module does have feature in it which surprise me for a sec there. I used the same parameter name as that.

Thank you!

Just wondering, should we pass the do_gdef and doLookups paramms in fontFeatures unparse to the extractor function?

@benkiel , CC @simoncozens

Do not add all options fontFeatures offers to unparse, extractor just extracts from various formats to UFO.

@NightFurySL2001 Agree with @typemytype, for this you don't want the gdef and the default in fontFeatures is to do the lookups, which is what you want.
I'm looking at see if it may be possible to just use fontTools for this instead of importing another package, but for now this is good and needs nothing else.


How do I make my arrowhead pointy?

I just want a simple triangular arrowhead that comes to a point, but when I try this:
this.polyline = L.polyline([this.tail, this.tip], { color: this.color }).addTo(this.map);
this.arrowHead = L.polylineDecorator(this.polyline, {
    patterns: [
        {
            offset: "100%",
            repeat: 0,
            symbol: L.Symbol.arrowHead({ pixelSize: 20,
                pathOptions: { fillOpacity: 1, weight: 0, color: this.color } })
        }
    ]
}).addTo(this.map);

It comes out looking like this:

Giving the arrowhead 50% opacity reveals what's happening. The line extends all the way to the tip:

Is there a way to make the line stop short so it doesn't mess up the point? I've tried calculating an artificial end point but got bogged down in conversions between pixels, degrees, and meters. This seems like it should be pretty basic, so I figure I must be missing something.

I solved the problem myself. Hopeful this will be useful to someone else and perhaps even make it into the code:
// the arrowhead is a triangle that comes to a fine point. We don't
// want the line of the arrow extending all the way to that point or
// it messes up the tip. The solution is to stop the line at the back
// of the arrowhead.
const backOfArrowHead = calcBackOfArrowHead(map, tail, tip, arrowHeadSize, arrowHeadAngle);
polyline = L.polyline([tail, backOfArrowHead], { color: 'blue' }).addTo(map);

// Add the arrowhead using Leaflet.PolylineDecorator
arrowHead = L.polylineDecorator([tail, tip], {
    patterns: [
        {
            offset: "100%",
            repeat: 0,
            symbol: L.Symbol.arrowHead({ pixelSize:arrowHeadSize, pathOptions: { fillOpacity: 1, weight: 0, color: 'blue' } })
        }
    ]
}).addTo(map);

The calcBackOfArrowHead() function looks like this:
calcBackOfArrowHead(map, tail, tip, arrowHeadSize, arrowHeadAngle) {
    // Project LatLng points to pixel coordinates
    var tailP = map.project(tail);
    var tipP = map.project(tip);

    // Calculate the vector from tail to tip in pixel coordinates
    var vector = tipP.subtract(tailP);

    // Normalize the vector to a unit vector (length 1)
    var unitVector = vector.divideBy(vector.distanceTo([0, 0]));

    // Calculate a new point some distance back from the tip
    // The distance is the length of the adjacent side of a right triangle.
    // This is the right half of the arrowhead, pointing up and scaled to the unit circle.
    // We need the ratio d to help us find the bottom left corner, which is where
    // the line of the arrow needs to stop drawing.
    //   |\
    //   |θ\
    //   |  \ 1
    // d |   \
    //   |    \
    //   |_____\
    //

    const halfArrowHeadAngleRadians = arrowHeadAngle / 2 * (Math.PI / 180); // θ
    const arrowHeadRatio = arrowHeadSize * Math.cos(halfArrowHeadAngleRadians); // d
    var newTipP = tipP.subtract(unitVector.multiplyBy(arrowHeadRatio));

    // Unproject the new pixel point back to LatLng coordinates
    var newTipLatLng = map.unproject(newTipP);

    return newTipLatLng;
}


Console throwing 404 error when editing LB config

Steps:

have developer tools open
Go to Balancer Configs page
Edit and Save config

Results:
UI is fine but the console is showing 404 errors.
GET http://...:8080/v1/loadbalancers/1lbl9?include=loadBalancerConfig&include=loadBalancerTargets&include=hosts 404 (Not Found)
Expected:
No 404 error?

no config page anymore


Move IntrinsicsHandler to separate package

It seems to be useful making this as separate nuget package

https://github.com/Noxious-Raccoons/IntrinsicsGeneric

https://github.com/Noxious-Raccoons/IntrinsicsGeneric


Simplify logging config

Not sure since I don't have historical context for the logging config code, but it seems that we can configure a single console root logger, and just have filters for the individual package/module loggers for filtering out logs of a certain level, rather than having multiple loggers defined.

@jamesbursa not urgent but curious for your thoughts here, current logging config is
"loggers": {
    "alembic": {"handlers": ["console"], "level": "INFO", "propagate": False},
    "werkzeug": {"handlers": ["console"], "level": "WARN", "propagate": False},
    "api": {"handlers": ["console"], "level": "INFO", "propagate": False},
    # Log DB pool connection invalidations and recycle events. At DEBUG
    # level includes all connection checkin/checkouts to the pool.
    #
    # https://docs.sqlalchemy.org/en/13/core/engines.html#configuring-logging
    "sqlalchemy.pool": {"handlers": ["console"], "level": "INFO", "propagate": False},
    # Log PostgreSQL NOTICE messages
    # https://docs.sqlalchemy.org/en/13/dialects/postgresql.html#notice-logging
    "sqlalchemy.dialects.postgresql": {
        "handlers": ["console"],
        "level": "INFO",
        "propagate": False,
    },
},

but why can't it just be
"loggers": {
    "root": {"handlers": ["console"], "level": "INFO"},
    "werkzeug": {"level": "WARN"},
},


bug: Class constructor <class_name> cannot be invoked without 'new'

Flutter web project fails to compile in debug mode (dartdevc) with the following steps:

Create a new flutter project using flutter create
Create a new file with the following contents:

class $Connection extends $ConnectionBase<$Connection> {}

class $Connection$ extends $ConnectionBase$<$Connection$> {}

class $ConnectionBase<T extends $ConnectionBase<T>> {}

class $ConnectionBase$<T extends $ConnectionBase$<T>> {}

Import the file in main.dart and create an instance of $Connection anywhere (such as in build method of MyApp).
Run the app in debug mode.

The app will fail to compile with following stack trace:

Stack Trace
Uncaught TypeError: Class constructor $36ConnectionBase$36 cannot be invoked without 'new'
    at load__packages__dartdevc__example_dart (example.dart:3:60)
    at Object.execCb (require.js:1696:33)
    at Module.check (require.js:883:51)
    at Module.<anonymous> (require.js:1139:34)
    at require.js:134:23
    at require.js:1189:21
    at each (require.js:59:31)
    at Module.emit (require.js:1188:17)
    at Module.check (require.js:938:30)
    at Module.enable (require.js:1176:22)
    at Module.init (require.js:788:26)
    at callGetModule (require.js:1203:63)
    at Object.completeLoad (require.js:1590:21)
    at HTMLScriptElement.onScriptLoad (require.js:1717:29)

Additional Observations

On changing $ConnectionBase and $ConnectionBase$ to either

not include type parameter
remove $ from classnames, the app compiles successfully.

The error only occurs in web debug mode. Android/iOS/dart2js (web release) work fine.

Additional info:

Operating System: macOS
Browser: Chrome

`dart info`
General info

Dart 3.3.3 (stable) (Tue Mar 26 14:21:33 2024 +0000) on "macos_arm64"
on macos / Version 14.4.1 (Build 23E224)

Project info

sdk constraint: '>=3.0.0 <4.0.0'
dependencies: lints, melos
dev_dependencies:

Process info

Memory
CPU
Elapsed time
Command line

282 MB
0.0%
03:27:03
dart language-server --client-id=Android-Studio --client-version=AI-232.10300.40 --protocol=analyzer

0 MB
0.0%
02-06:22:52
dart run melos:melos CLI_LAUNCHER_LAUNCH_CONTEXT {"d":"/internal"}} exec -- flutter clean

33 MB
0.6%
01-22:37:18
flutter_tools.snapshot daemon

Probably a name mangling issue.

Thanks @Diaga for the very nice repro!
Here is a simplified example illustrating the problem in a standalone application:
class B<T> {}
class B$<T> {}

main() => B<int>();

It appears DDC introduces a helper declaration when defining generic classes, but it is not checking whether the name for the helper conflicts with other definitions in the same module. In the example above, it introduces a helper called B$ to represent the generic instantiation of B, but B$ is also the declaration of the second class. When the latter overrides the former, it makes uses of the former invalid (like the instantiation of B<int>())

It's worth noting that this also happens with other conflicting declarations. For example:
class B<T> {}
final B$ = 0;
main() => B<int>();

So it's not sufficient to look for conflicts among classes. The error is slightly different in this case, but the cause is the same.

DDC emits auxiliary classes (and other top level identifiers) for generics and other structures with a $ suffix (see here). Lemme take a look at making these temporary Ids instead, which obey the built-in renaming semantics.

Closing the loop here, DDC implicitly emits a generic object constructors as their original class name + $. The renaming logic here is a tricky to clean up (we can't just use temporaries since this "API" needs to be stable across our runtime). The workaround is simple (i.e., avoid creating top level elements named X$ if X is a generic class), but we can obfuscate the name in the short term if this becomes a blocker.

Consider working towards a fix. I expect names with $ in then may get more prevalent with macros.


Flow didn't catch a call to missing property(or method) on a function

Flow version: 0.100.0
// @flow strict

function func(): void {
  return func.somethingMissing(); // <-- property 'somethingMissing' is missing
}

function func2(): number {
  return func2.__length__; // <-- property '__length__' is missing
}

Expected behavior
Flow yields an error that property 'x' is missing on a function
Actual behavior
Flow didn't catch a typo, so if that code is not covered by tests - you get a runtime error.

Link to Try-Flow or Github repo: https://flow.org/try/#0PTAEAEDMBsHsHdQGcAuAnAlgYxQKF5AK4B2OGsxoRpAFAJQBcoAbrBgCagDeuooaAUxSE0lalgB0SWAFshACwzEA5gFkMSJEuX0A3KBCgAPAFoToAA5pYFgWhQBPUAHJpclIpXrN256A2gMhpaKrgAvvjiKORiJFgATPRMxIQyAEZ23Lz8QiKxpPESAPpF0AIqHiX6hqbmVjZ2ji4lZRXyJX4BQT6hEUA

Link to how the same is handled in Typescript:
https://www.typescriptlang.org/play/index.html#src=function func()%3A void {
  return func.somethingMissing()%3B %2F%2F <-- property 'somethingMissing' is missing
}

function func2()%3A number {
  return func2.__length__%3B %2F%2F <-- property '__length__' is missing
}

Duplicate of #106


Create tatheer-pr5.md

Level1 PR
https://github.com/recodehive/awesome-github-profiles/pull/1265 https://github.com/tanishaness/SPROCTOR/pull/108

2 are level 1


Missing text fragments when SmartTags are used

Hello,
I am using python-docx to process Word documents in bulk and it has been reported that python-docx skip some text fragment (see here: https://github.com/echr-od/ECHR-OD_process/issues/152). I am unable so far to trace the root cause but it seems to happen only with words with special characters.
Example:
Original Word document: https://echr-opendata.eu/api/v1/cases/001-83979/docs/judgment
sentence in document:
2.  The applicants were represented by Mr F. Gümüş, a lawyer practising in Diyarbakır. The Turkish Government (“the Government”) did not designate an Agent for the purposes of the proceedings before the Court.

python-docx outcome:
2. The applicants were represented by Mr F. Gümüş, a lawyer practising in . The Turkish Government (“the Government”) did not designate an Agent for the purposes of the proceedings before the Court.

It seems to be related to the usage of SmartTags in the XML. See my comment here: https://github.com/echr-od/ECHR-OD_process/issues/152#issuecomment-801930170


ECDSA-certificates through ingress-shim?

Hi,
We are relying heavily on the use of ingress annotations to generate our Certificate objects.
This works perfectly except for the fact that we now are looking into upgrading to ECDSA as Key Algorith, ironically due to better backwards compatibility with Windows Server.
Our initial tests with a Certificate resource works promising, but I would really like to see this automatically created. Is it possible to set the default keyAlgorithm on the ClusterIssuer or the Ingress-annotations?
apiVersion: cert-manager.io/v1alpha2
kind: Certificate
metadata:
  name: ecdsa-test
  namespace: sre-test
spec:
  dnsNames:
  - ecdsa-test.example.com
  issuerRef:
    name: letsencrypt-prod
    kind: ClusterIssuer
    group: cert-manager.io
  secretName: ecdsa-test
  keyAlgorithm: ecdsa

Input would be highly appreciated!

Currently the ingress-shim doesn't support that.
I would suggest generating a Certificate resource with the same secret name as used in the Ingress and not using the annotations. That way cert-manager will still provide your ingress with the cert but allow more complex certificate options to be set.

Is this a feature we can expect in the future?

+1

There's a feature request tracking support for adding a CertificatePreset resource which I think would resolve this too: https://github.com/jetstack/cert-manager/issues/2239
Whilst we can add more annotations, this becomes more complex over time as we add more and more things, but that said in this instance it isn't too complex... I think we could add this as an option here if you think it's valuable in the short term.
/priority backlog
/good-first-issue
/area ingress-shim

We ended up just defining the certificate resources like @meyskens suggested. After an internal discussion we concluded that the "extra effort" is worth the transparency, especially for the people less involved.

With cert-manager.io/v1 the keyAlgorithm option of Certificate custom resource was removed so the solution @meyskens suggested, dose not working anymore.

@devopstales I would never remove ECDSA from a product :wink: (unless it is the year 2040 and it is deemed insecure)
We just moved it to a new home: https://cert-manager.io/docs/reference/api-docs/#cert-manager.io/v1.CertificatePrivateKey
apiVersion: cert-manager.io/v1a
kind: Certificate
metadata:
  name: ecdsa-test
  namespace: sre-test
spec:
  dnsNames:
  - ecdsa-test.example.com
  issuerRef:
    name: letsencrypt-prod
    kind: ClusterIssuer
    group: cert-manager.io
  secretName: ecdsa-test
  privateKey:
      algorithm: ecdsa

Should the title be 'ECDSA-certificates through ClusterIssuer, Issuer or ingress-annotations' ?

Renamed to be specific for ingress-shim

We plan on adding "certificate presets" (#2239) in cert-manager 1.6. You will be able to create a CertificatePreset object of the form:
apiVersion: admission.cert-manager.io/v1alpha1
kind: CertificatePreset
spec:
  keyAlgorithm: ECDSA

I know this feature won't 100% fit the feature request of setting the key algorithm on a per-Ingress or per-Issuer basis, but that should help you set a default algorithm for all your certificates, hence allowing your use-case.

I think this has been discussed thoroughly so I am closing the issue.
@syst0m if there still are bugs with the concept, would you care to report it as another issue? I do unfortunately have a new position in a new company, so are not able to spend too much time on following up this these days.
Thanks for the input everyone.


Use a more permissive license

IANAL but GPL is too restrictive for a JS library. LGPL would be nice, apache better, or BSD if you want to make sure your name is kept on all derivatives.

What about mit or http://giant-penis-license.org/?

Changed to MIT! I've thought about changing to GPL but maybe it's too offensive HAHAHA


Arbitrary keys for arbitrary records

It would be nice to be able to specify arbitrary keys for arbitrary records, just like the new es6 syntax allows. For example, I want to be able to use jsc.record to generate objects with the following structure:
{
  [someDynamicKey]: someDynamicValue
}

Here is what I had to do in my case to generate an object with arbitrary keys from a predetermined list. Is there an easier way? Otherwise, I think this should be added to the library:
const possibleKeyNames = ['peer1', 'peer2', 'peer3', 'peer4'];
    const arbPeersSeen = jsc.dict(jsc.integer(0, 10000)).smap((arbPeersSeen: PeersSeen) => {
        const numKeysToInsert = Object.keys(arbPeersSeen || {}).length !== 0 ? Object.keys(arbPeersSeen || {}).length % (possibleKeyNames.length + 1) : 0;
        const slicedKeyNames = possibleKeyNames.slice(0, numKeysToInsert);
        return slicedKeyNames.reduce((accum: PeersSeen, possibleKeyName: string, index: number) => {
            return {
                ...accum,
                [possibleKeyName]: arbPeersSeen[Object.keys(arbPeersSeen || {})[index]]
            };
        }, {});

So do you simply want dict(k: Arbitrary<String>, v: Arbitrary<A>): Arbitrary<Map<A>>?

I think that looks like what I want. I want to generate keys arbitrarily, with constraints that I choose. I found a more generic way to get what I wanted with the current library functionality, so I updated my example code.
I created a dictionary of records, with one of the record's properties being the key that I'll eventually want that record to be the value of. Then I mapped over the arbitrary record and constructed a new dictionary with properties that have the appropriate keys.
So, if dict(k: Arbitrary<String>, v: Arbitrary<A>): Arbitrary<Map<A>> gives me that same kind of functionality, which I think it does (I'm a little new to this, that's why I hesitate to say for sure), then yes!


Can't reproduce the exampe in the Readme

Hi,
first of all, thanks for sharing this code!
When I copy-paste the example from the Examples section of the Readme, the line output = reloaded_model([s1, s2, s3]) causes the following error:
In [16]: output = reloaded_model([s1, s2, s3])
    ...:
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-16-977dbd3103dd> in <cell line: 1>()
----> 1 output = reloaded_model([s1, s2, s3])

~/.cache/pypoetry/virtualenvs/tftokenizers-F6-m1WpK-py3.8/lib/python3.8/site-packages/tensorflow/python/saved_model/load.py in _call_attribute(instance, *args, **kwargs)
    699
    700 def _call_attribute(instance, *args, **kwargs):
--> 701   return instance.__call__(*args, **kwargs)
    702
    703

~/.cache/pypoetry/virtualenvs/tftokenizers-F6-m1WpK-py3.8/lib/python3.8/site-packages/tensorflow/python/util/traceback_utils.py in error_handler(*args, **kwargs)
    151     except Exception as e:
    152       filtered_tb = _process_traceback_frames(e.__traceback__)
--> 153       raise e.with_traceback(filtered_tb) from None
    154     finally:
    155       del filtered_tb

~/.cache/pypoetry/virtualenvs/tftokenizers-F6-m1WpK-py3.8/lib/python3.8/site-packages/tensorflow/python/saved_model/function_deserialization.py in restored_function_body(*args, **kwargs)
    261     """Calls a restored function or raises an error if no matching function."""
    262     if not saved_function.concrete_functions:
--> 263       raise ValueError("Found zero restored functions for caller function.")
    264     # This is the format of function.graph.structured_input_signature. At this
    265     # point, the args and kwargs have already been canonicalized.

ValueError: Found zero restored functions for caller function.

Have you guys ever encountered that before?

Packages were installed this way:
## git clone https://github.com/Hugging-Face-Supporter/tftokenizers.git
## cd tftokenizers
## conda create -n py38 python=3.8
## conda activate py38
## curl -sSL https://install.python-poetry.org/ | python3 -
## poetry env use `which python3.8`
## poetry shell
## poetry install

This looks relevant: https://www.tensorflow.org/api_docs/python/tf/saved_model/save#example_3 ?

The following change made the error go away:
selimcan@patroclus:/tmp/tft/tftokenizers$ git diff
diff --git a/tftokenizers/model.py b/tftokenizers/model.py
index 1d91bca..ef77ea0 100644
--- a/tftokenizers/model.py
+++ b/tftokenizers/model.py
@@ -39,6 +39,7 @@ class TFModel(keras.layers.Layer):
         self.tokenizer = tokenizer
         self.model = model

+    @tf.function(input_signature=(tf.TensorSpec(shape=[None], dtype=tf.string),))
     def call(
         self,
         inputs,


Drop indexes to improve data import performance

@cledvina has advised that loading millions of records into folio is known to cause things to grind to a halt. This is due to indexing. The solution is to disable indexing and re-enable after load.

Here's the script:
#!/usr/bin/env perl
use strict;
use warnings;

use Getopt::Long;
use DBI;
use JSON;

my $start_time = time();

# Process command line
my ($tenant,$storage_url,$db_credentials);
my $help = 0;
my $all = 0;

GetOptions( 'h' => \$help,
            't=s' => \$tenant,
            'db-credentials=s' => \$db_credentials,
            'all' => \$all );

if ($help) {
  help();
  exit;
}
unless ($tenant) {
  help();
  die "Missing tenant on command line\n";
}
unless ($db_credentials) {
  help();
  die "DB credentials not specified on command line\n";
}

my $table_clause = "tablename = 'instance'";
if ($all) {
  $table_clause .= " OR tablename = 'holdings_record' OR tablename = 'item'";
}

# Get DBH
my $dbh;
my $db_credentials_json = slurp($db_credentials);
my $db_credentials_ref = decode_json($db_credentials_json);
print "Connecting to db...";
$dbh = DBI->connect("dbi:Pg:dbname=$$db_credentials_ref{database};host=$$db_credentials_ref{host};port=$$db_credentials_ref{port}",$$db_credentials_ref{username},$$db_credentials_ref{password})
  or die "Error connecting to database: $DBI::errstr\n";
print "OK\n";

# Drop indexes (save for reinstating after load)
my $indexes;
open (my $out, '>', "${tenant}_mod_inventory_storage_indexes.sql")
  or die "Can't open SQL file: $!\n";
print "Dropping indexes...";
$indexes = $dbh->selectall_arrayref("SELECT indexname, indexdef FROM pg_indexes WHERE schemaname = '${tenant}_mod_inventory_storage' AND ($table_clause)");
if ($indexes && @{$indexes}) {
  foreach my $i (@{$indexes}) {
    if ($$i[0] !~ 'pkey') {
        $dbh->do("DROP INDEX ${tenant}_mod_inventory_storage.$$i[0]")
        or warn "Unable to drop index ${tenant}_mod_inventory_storage.$$i[0]: $DBI::errstr\n";
      print $out "$$i[1];\n";
    }
  }
  print $out "VACUUM ANALYZE ${tenant}_mod_inventory_storage.instance;\n";
  if ($all) {
    print $out "VACUUM ANALYZE ${tenant}_mod_inventory_storage.holdings_record;\n";
    print $out "VACUUM ANALYZE ${tenant}_mod_inventory_storage.item;\n";
  }
  print "done\n";
  print "Index restore file saved to ${tenant}_mod_inventory_storage_indexes.sql\n";
} else {
  warn "no indexes found for $tenant\n";
}

sub slurp {
  my $file = shift;
  open my $fh, '<', $file or die "Unable to open $file: $!\n";
  local $/ = undef;
  my $cont = <$fh>;
  close $fh;
  return $cont;
}

sub help {
  print <<EOF;
Usage

perl import.pl [-h] -t tenant_id -u storage_URL [-f number_of_processes] [-r rules_file] [--drop-indexes] [--analyze] [--db-credentials db_credentials_file] import_directory [import_directory...] data_loader_URL

Options

-h : Print help message.

-t : The tenant ID (required).

--db-credentials : Path to a file containing database credentials (required).

--all : If this switch is present, drop indexes on instance, holdings_record, and item tables. Otherwise, default behavior is to only drop indexes on the instance table.

Database credentials

The db_credentials_file is a simple JSON file using the following format:

{
  "host": "postgres.example.com",
  "port": 5432,
  "username": "folio_user",
  "password": "mysecretpassword",
  "database": "inventory_storage_database"
}

The values, of course, depend on your particular installation.
EOF
}
Collapse

Depends on #170 where we can experiment with this.


fix: fix tab screen tracking only on first tap

The type of this PR is: fix
This PR resolves CX-303
Description
Fixes issue causing screen views in our main tabs to only be fired the first time a tab is tapped.
The issue is that our screen tracking by default happens when the screen component mounts. For most screens this is okay but our tabs are lazily mounted so they are not triggering the event on subsequent taps. This pr just removes the typical screen tracking from our tab screens and instead fires the event in the switchTab function.
Before
After
PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have tested my changes on iOS and Android.
[x] I have added tests for my changes, or my changes don't require testing, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a changelog entry below or my changes do not require one.

Changelog updates
Changelog updates

Cross-platform user-facing changes

Fix tab screen tracking - Brian

iOS user-facing changes

Android user-facing changes

Dev changes

This PR contains the following changes:

Cross-platform user-facing changes (Fix tab screen tracking - Brian)

  Generated by :no_entry_sign: dangerJS against bc591a63e766bd3e1142d27fc8ff3c6b9b582efb


Redshift Serverless support

Hi team, I would like to add Redshift Serverless as a data source for this plugin.
I also made some small enhancements. Following are the changes in this pull request:

Redshift Serverless support
1-1. Frontend: Added components for Serverless in the datasource configuration UI.
1-2. Backend: Added a logic to absorb difference for Provisioned and Serverless.
1-3: Unit test: Added unit test for both frontend and backend.
1-4: Documentation: Updateed README.md for Redshift Serverless.

Enhancements
2-1. Added sort list in the backend api (api.go) before returning the result to frontend.
2-2. Align label width in the data source configuration UI.
2-3. Remove redundant nil check in the backend api.
2-4. Rename mock test component "fake" to "mock" by following other mock packages in this repo.

Supplement 1. Serverless support: Authentication pattern
There are 4 authentication patterns from combinations of Redshift type (Serverless or Provisioned) and authentication type (Secrets Manager or Temporary Credential) for Redshift Data API. Following table shows the required input and screenshot for each authentication pattern. The frontend and backend will implement all four patterns.

User input parameter
Serverless + Secrets Manager
Serverless + Temporary Credential
Provisioned + Secrets Manager
Provisioned + Temporary Credential

Managed Secret ARN
Y
N
Y
N

Workgroup
Y
Y
N
N

Cluster Identifier
N
N
N (will be retrieved from Secrets Manager)
Y

Database User
N (will be retrieved from Secrets Manager)
N
N (will be retrieved from Secrets Manager)
Y

Database
Y
Y
Y
Y

Serverless + Secrets Manager
Serverless + Temporary Credential

Provisioned + Secrets Manager
Provisioned + Temporary Credential

Supplement
2-1. Sorting list in the backend api
I added this because currently pull downs in the datasource configuration UI lists objects (clusters, secrets etc.) at random order which is returned from AWS SDK. So it's bit difficult for users to find a target object if they see a lot of objects in the pull down. Displaying sorted values in the pull down will make it easier to navigate.
2-2. Align label
Due to the default font change introduced at https://github.com/grafana/grafana/pull/59544 , the UI label for "Send events to Amazon Eventbridge" is spilling out from the box after Grafana 9.x. I changed the phrase a bit so that label will fit in the box.

Before
After

2-3. Remove redundant nil check
Currently backend api (api.go) is performing nil check for the result of Redshift.DescribeClusters but according to the AWS SDK, the return value is slice so it will never be nil. I confirmed the plugin works fine without nil check, so I think there's no reason to leave the check in the code.
https://pkg.go.dev/github.com/aws/aws-sdk-go/service/redshift#Redshift.DescribeClusters
https://pkg.go.dev/github.com/aws/aws-sdk-go/service/redshiftserverless#RedshiftServerless.ListWorkgroups
2-4. Rename mock test component "fake" to "mock"
This is a small refactoring to align the naming with other mock files.
Please let me know if there's anything I should change. Thanks.

Thanks for taking time @sarahzinger, I'll work on the each of the feedback and update.

let's try to minimize the number of changes in this pr

Understood, I'll revert the commits except 7c416014a2ede1513c4e6ffce86a8f3f17315bda and submit separate PR for enhancements.
Do you want 2-1. to 2-4. to be separate 4 PRs or as a single PR?

Hi @sarahzinger , thanks for your patience.
I replied in each comments and fixed the code accordingly. Appreciate if you can take a look again.

Thank you team!
Yes I'm planning to send a pr to provisioner app too.
I've just started exploring that repo and so far I was able to build the plugin. Need a bit of time to get more familiar with it.
Will reach out to you if I need help, thanks!

Sent a pr to the provisioner app repo, appreciate if you can take a look. Thank you!


Tutorials drafts

First installation tutorial created
outlined index notebook: this is not fully developed yet. I am hoping we can have an tutorial index notebook that
points to all available notebooks, so that one can navigate those on Binder. Or maybe this is causing more complications than it is useful.

Would be nice to bring this online soon, so we can experiment with links to binder etc.


Filter list on "date killed"

By default, don't show bottles that have been killed.
Allow a filter in the list.

Ended up doing this all client side with a data tables filter. It's not great... but we'll see if it grows on me.


Windows e2e tests failed on waiting for Pod IP

Describe the bug

=== RUN   TestPodConnectivitySameNode
    fixtures.go:165: Creating 'antrea-test' K8s Namespace
    fixtures.go:128: Applying Antrea YAML
    fixtures.go:132: Waiting for all Antrea DaemonSet Pods
    fixtures.go:136: Checking CoreDNS deployment
    connectivity_test.go:81: Creating 2 agnhost Pods on 'a-ms-0013-win-0'
    connectivity_test.go:35: Waiting for Pods to be ready and retrieving IPs
    connectivity_test.go:40: Error when waiting for IP for Pod 'test-pod-0-s1208s6g': timed out waiting for the condition
    fixtures.go:371: Deleting Pod 'test-pod-1-0985wyhb'
    fixtures.go:371: Deleting Pod 'test-pod-0-s1208s6g'
    fixtures.go:239: Exporting test logs to '/var/lib/jenkins/workspace/antrea-windows-e2e-for-pull-request/antrea-test-logs/TestPodConnectivitySameNode/beforeTeardown.Jan25-09-19-55'
    fixtures.go:343: Error when exporting kubelet logs: error when running journalctl on Node 'a-ms-0013-0', is it available? Error: <nil>
    fixtures.go:364: Deleting 'antrea-test' K8s Namespace

From antrea-agent logs, it received CNI Add requests and handled it correctly. I have created https://github.com/antrea-io/antrea/pull/3248 to log Pod status when it fails, but it's likely due to image pulling error.
Could we load image when setting up the tests to avoid such errors like the tests on Kind?

@XinShuYang could you help take a look?

I'm working on #3267 to improve test stability and debugability, which will cover this.


Worker Start/Stop behavior

I'm reopening uber-go/cadence-client#642
Listening to signals should be left to the caller.
Something closer to a work actor like this would be nice:
https://github.com/sagikazarmark/appkit/pull/7
Then again, this is probably not the highest priority right now.

Awesome! 🎉


Problem: MacForgeHelper crashes SecurityAgent.

In loading MacForgeHelper, it crashes SecurityAgent. And the window of input youser name and pass freeze on the top level. Another windows have gone behind.
So, please fix this problem.

You'd need to go into more detail. What is SecurityAgent?
Also this sounds like maybe a specific plugin issue?

this is a path of SecurityAgent.
/System/Library/Frameworks/Security.framework/Versions/A/MachServices/SecurityAgent.bundle
Apple's system protecting function.
Inputting user name and password, it is loaded by MacOS.

Okay interesting.
macOS version?
Do you have any plugins loaded?
Do you have System Integrity Protection on or off?

Sorry!, I forgot them.
my MacOS is 10.12.6 (16G2128), and using Afloat.
Of course, I had turned off SIP, but MacForge tells SIP still on (i don't know why).

If you turn off afloat does this issue still occur?

Turning off afloat, this didn't occur.

So, just afloat's a problem is this, isn't it?

That would be my guess. In order to stop it from loading into SecurityAgent there would probably need to be changes to made to Afloat to look for classes specific to that and avoid touching those windows.


Upgrade dependencies

Pull Request Test Coverage Report for Build 252

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 34.099%

Totals

Change from base Build 250:
0.0%

Covered Lines:
297

Relevant Lines:
871

💛  - Coveralls


[cms] performance log on generating nodes or pages

Coverage decreased (-5.1%) to 76.984% when pulling cdc781981b579d239da11a57487fd32bc34cc8e7 on feature/cms-generate-performance-log into 2be8b5b7bb378e853aac6a6829bec998b188473f on master.


Dead Master update minor issues

The updated version works pretty well, but with the limited time summons it looks like they disappear if your not looking. Ideally the combat log would say the summon has expired to stop player confusion and erroneous bug reports.
The spells info have the concentration tag, but they don't use actually it.

Dead Master won’t require concentration but the spells will still show the tag as they originally require. Not an issue.


Automated cherry pick of #5056

Cherry pick of #5056 on release-5.22.

#5056: Blur text box to reset before focusing

/cc  @bradjcoughlin

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Trying to auto merge this PR.

Pull Request successfully merged
SHA: 571bda438c5b872a5f928423dea2b52135b52506


grpc++ port reuse issue: can start same server multiple times

What version of gRPC and what language are you using?
grpc++ v1.16.0
What operating system (Linux, Windows, …) and version?
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.1 LTS
What runtime / compiler are you using (e.g. python version or version of gcc)
clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
What did you do?
I can start the same server(eg greeter_async_server) multiple times, without seeing any kind of error.
NOTE: I have not yet tried with greeter_async_server but that happens with my own code, which is based on this(ie c++ async, etc).
What did you expect to see?
Some kind of "address already in use" in the logs, and exit.
What did you see instead?
Nothing.
This issue is the same as #16005, and I guess also #16920.
To clarify #16005:

if you try to start a server on an already bound port like ssh(22), or any other port not set with SO_REUSEPORT(I'm guessing), you indeed get "address already in use"
if you try to start multiple grpc server processes using the same addr/port, there is no error. It then fails client-side b/c they will be "randomly" dispatched to a process. It would probably work if you start a totally unrelated process bound to the same port, with SO_REUSEPORT set.

I have added a workaround to my code which just does a quick socket::connect on the target port before BuildAndStart, and error+exit if it can connect.

This is working as intended. You can disable the feature by setting grpc.so_reuseport to 0.


jwt not in schema

Hello!
I am following https://github.com/8gears/n8n-helm-chart?tab=readme-ov-file#n8n-specific-config-section
image: n8nio/n8n:1.58.2
helm: 0.25.2
I am getting this message
message: configuration param 'security.jwtAuth.active' not declared in the schema
configuration param 'security.jwtAuth.jwksUri' not declared in the schema
configuration param 'security.jwtAuth.jwtHeader' not declared in the schema

Also tried with 1.60.1, that also does not work

https://github.com/n8n-io/n8n/blob/master/CHANGELOG.md#100-2023-06-27
I see, looks like it was removed


[DOC] Add Documentation for Correlations in PPL

What do you want to do?

[x] Request a change to existing documentation (in PPL)
[ ] Add new documentation
[ ] Report a technical problem with the documentation
[ ] Other

Tell us about your request. Provide a summary of the request and all versions that are affected.
We added correlation functionality to PPL in 2.13 and need it added to the documentation site for reference.
What other resources are available? Provide links to related issues, POCs, steps for testing, etc.
https://github.com/opensearch-project/opensearch-spark/blob/main/docs/PPL-Correlation-command.md

Thanks, @brijos. Do you know who from Dev can create the PR?