Use FormulaInstaller logic for satisfied reqs

Use FormulaInstaller::expand_requirements in test-bot's
satisfied_requirements? function to ensure that
build requirements are ignored for formulae that
are poured from bottles.
Fixes #115.
This solution has the advantage of de-duplicating some code between brew and test-bot, but it's possible that the logic in FormulaInstaller::expand_requirements is supposed to differ from the test-bot satisfied_requirements? function. If so, then this may not be the preferred solution. Thanks for your time.

how does this account for the difference between stable and devel?

FWIW: see my comment here: https://github.com/Homebrew/homebrew-core/pull/16205#issuecomment-318862727.

@ilovezfs oh, good point about stable and devel. Maybe it should be FormulaInstaller.new(formula.send(spec))? I'll see if that works too

Ok, I just tested it, and adding .send(spec) doesn't work. FormulaInstaller needs a Formula object, not SoftwareSpec. Does the Formula have an active spec embedded in it? I need to find a test case for this.

Maybe mongodb would be a good test case; it has a devel build requirement on a specific Xcode.

It's maybe not elegant, but I think I'm handling the spec properly now (1fab47975406e68c13001aa88fe4c29dcf99897c) by creating a new copy of the Formula object from Formulary.factory with the spec passed as an argument.

@scpeters wouldn't it be sufficient to skip optional and build dependencies in https://github.com/Homebrew/brew/blob/master/Library/Homebrew/software_spec.rb#L173-L190 and not change anything in test-bot?

@ilovezfs is it valid to skip build dependencies in software_spec::recursive_dependencies? It would depend on how that function is used elsewhere, I suppose. What if you are building a bottle for that formula so you need its build dependencies?

wouldn't it be sufficient to skip optional and build dependencies in https://github.com/Homebrew/brew/blob/master/Library/Homebrew/software_spec.rb#L173-L190 and not change anything in test-bot?

Coming back to this, I'm not sure that exact code block from software_spec is relevant since it addresses dependencies, but this PR is focused on requirements. Do you propose modifying the recursive_requirements function in software_spec? If you have an alternative patch, I would be happy to test it; in the meantime, I'm not sure how to test your idea.

No, recursive_requirements relies on expand, which goes through the dependencies.

See https://github.com/Homebrew/brew/pull/2822 which was added specifically to support the code here.

Is this what you had in mind?
diff --git a/Library/Homebrew/software_spec.rb b/Library/Homebrew/software_spec.rb
index dd6026fcf4..9ad9f0ab1a 100644
--- a/Library/Homebrew/software_spec.rb
+++ b/Library/Homebrew/software_spec.rb
@@ -194,7 +194,10 @@ class SoftwareSpec
   end

   def recursive_requirements
-    Requirement.expand(self)
+    Requirement.expand(self) do |_, requirement|
+      Requirement.prune if requirement.build?
+      Requirement.prune if !requirement.required? && build.without?(requirement)
+    end
   end

   def patch(strip = :p1, src = nil, &block)

This patch doesn't appeal to me because while it would probably fix #115, it seems like it would render all :build requirements toothless (for example when building qt next, would the :Xcode requirement be honored?).

I don't know. You would need to test.
As I said, the recursive dependencies section not the recursive requirements section.
In any case, I'm :-1: on this PR because this seems like an abuse of FormulaInstaller and not something that belongs in test-bot.

This patch doesn't appeal to me because while it would probably fix #115, it seems like it would render all :build requirements toothless (for example when building qt next, would the :Xcode requirement be honored?).

@scpeters Can this be modified to take that sort of approach instead? Can you elaborate on what you mean and why you feel this approach here is superior (e.g. does this approach take into account what's needed for bottled/unbottled deps?).

In #115, qt's build requirement on xcode is being propagated to its dependents even if qt itself is being installed from a bottle. I haven't tested it, but my worry was that the software_spec patch would make all :build requirements be ignored, which seems like throwing the baby out with the bathwater.
I'll close this for now while I work on testing the software_spec patch. Thanks for your time and reviews.

Thanks for understanding @scpeters!

I appreciate the work that you do and try to help in small ways when I can.


Add Shellcheck Lint, Address Caught Issues

PR adds the shellcheck linter to check the shell scripts, and fixes the found issues. Nothing major, although the existing scripts might not work if there are spaces or asterisks in the development repo path. If you would like changes, please let me know.

Noting for posterity that shellcheck -f diff **/*.sh | git apply can be used to auto-fix shellcheck issues.


This Project is for learning purposes and not for sale

Who ever signed the comittment this is my vertex Ai , my API my license being used and I am footing the bill and you are benefiting ... You are all complicit of theft of my license and console usage inclusive of the vertex AI.
The 50/50 split you decided to pursue after using bots and every way possible to keep the application and run it on my console is a screenshot for proof of intellectual theft .
The work you have done you have published for commercial gain if you wish to do such work pay for it and do it without my consoles and licensed and AI software

Hi, as far as I am aware, this Github repo does not contain nor use API keys. I am also unaware of any "50/50 split".

I was using it to build a project in have screen shots of the api keys pulled from my profile regardless of the docs when I have time I will submit the proof and disable the api


Component won't re-render (universal)

I have an action posting to my database, with the reducer successfully posting the response to my state. This works fine, however my component isn't re-rendering automatically, I can only use the updated component with a manual re-render.
Here's my component:
export default class Colours extends React.Component {

  componentDidMount() {
    this.props.getColours();
  }

  render() {...}

  addItem = () => {
    this.props.postColour({
      colour: 'pink'
    });
  }

}

my action:
import req from 'axios';

export function postColour(value) {
  return {
    type: 'POST_COLOUR',
    promise: req.post('/api/colours', value)
  };
}

and my reducer:
import Immutable from 'immutable';

export default function colourReducer(state = new Immutable.Map(), action) {
  switch(action.type) {

    case 'POST_COLOUR': {
      return state.merge(action.res.data.colours)
    }

    ...
  }
}

Am I missing/doing something completely wrong for my props not to be updated as soon as the response is merged with my initial state?
Thanks!

React Redux version?
How do you connect Colours to read the Redux state?

Using 1.0.0-rc.
Here's the parent component where I connect:
@connect(state => ({
  colours: state.colours.get('colours'),
  typography: state.typography.get('typography')
}))

export default class App extends React.Component {

  render() {

    const { colours, typography, children, dispatch } = this.props;

    const bindDispatch  = { ...bindActionCreators(actions, dispatch) };
    const mergedProps   = assign({}, { colours, typography }, bindDispatch);

    return (
      <div>
        <Header />
          { React.cloneElement(children, mergedProps) }
      </div>
    );

  }

}

What version of react-redux are you using?

Sorry my bad, 0.8,2

Any chance you could share the project to reproduce?

Just added you as a collab

Thanks. I can't get to start it. I installed nodemon, it crashes with serve-favicon missing, I installed it, now it crashes with body-parser missing, etc. Can you please declare all dependencies?

Just updated repo!

Dependencies work now, but now I get this:
    throw err;
    ^
Error: Cannot find module 'server/routes'
    at Function.Module._resolveFilename (module.js:332:15)

pushed again, very strange it's working on my machine, trying to think if I have anything globally installed that would make a difference..

Still not working.
 62% 228/259 build modulesmodule.js:334
    throw err;
    ^
Error: Cannot find module 'server/routes/routes'

I'm on OSX if that matters..

By the way I'm curious why non-relative routes are supposed to work. Shouldn't it be ./server instead of server?

Also, I'm using io.js 2.2.1

I honestly have no idea, i'm on OSX too.
You're right I didn't even notice that, that shouldn't work at all..
I've just updated my io.js to 3.1.0 and now I'm getting your error haha.. would you be able to leave this open and i'll let you know when i've fixed it?

Yeah sure.

Ok fingers crossed this one works.. Thanks for bearing with me !

It's working! What should I do to repro?

Ahh good,
If you go to /colours, and press the '+' on the page it posts a colour to mongo, however the component doesn't re-render. If you refresh/componentDidUpdate then the state updates

So, I added redux-logger and here's what I see:

Oh wait, I see your point, this is exactly what you wanted state shape to be..

Here's the action I see. There's no action.res.data.colours in it.

It's also a bit strange that you seem to be using Immutable structures for states, but state.set('colours', action.res.data) will just put action.res.data (a plain array) into the state. The React components also seem to be expecting plain arrays and objects. Why use Immutable one just one level?

I sent a PR. The problem was that the data reducer tried to use wasn't present in the action object, and also that mutable objects weren't converted before being put into Immutable maps.


Allow multi-factor selection in non-dict factor selection mode

Could you allow to use a command like:
 python main.py -s plan1/dataset=A&B+learning_rate=-3&-4
to select multiple factors in this non-dict selection mode ?

& is shell token: https://www.oreilly.com/library/view/learning-the-bash/1565923472/ch01s09.html
I can try with ,

Here is a proposal:
python3 demo.py -f -s nn_type=cnn+lstm,dropout=0:nn_type=cnn,dropout=1
dropout=0+learning_rate=0.001+n_layers=2+nn_type=cnn
dropout=0+learning_rate=0.0001+n_layers=2+nn_type=cnn
dropout=0+learning_rate=0.00001+n_layers=2+nn_type=cnn
dropout=0+learning_rate=0.001+n_layers=5+nn_type=cnn
dropout=0+learning_rate=0.0001+n_layers=5+nn_type=cnn
dropout=0+learning_rate=0.00001+n_layers=5+nn_type=cnn
dropout=0+learning_rate=0.001+n_layers=8+nn_type=cnn
dropout=0+learning_rate=0.0001+n_layers=8+nn_type=cnn
dropout=0+learning_rate=0.00001+n_layers=8+nn_type=cnn
dropout=0+learning_rate=0.001+n_layers=2+nn_type=lstm
dropout=0+learning_rate=0.0001+n_layers=2+nn_type=lstm
dropout=0+learning_rate=0.00001+n_layers=2+nn_type=lstm
dropout=0+learning_rate=0.001+n_layers=5+nn_type=lstm
dropout=0+learning_rate=0.0001+n_layers=5+nn_type=lstm
dropout=0+learning_rate=0.00001+n_layers=5+nn_type=lstm
dropout=0+learning_rate=0.001+n_layers=8+nn_type=lstm
dropout=0+learning_rate=0.0001+n_layers=8+nn_type=lstm
dropout=0+learning_rate=0.00001+n_layers=8+nn_type=lstm
dropout=1+learning_rate=0.001+n_layers=2+nn_type=cnn
dropout=1+learning_rate=0.0001+n_layers=2+nn_type=cnn
dropout=1+learning_rate=0.00001+n_layers=2+nn_type=cnn
dropout=1+learning_rate=0.001+n_layers=5+nn_type=cnn
dropout=1+learning_rate=0.0001+n_layers=5+nn_type=cnn
dropout=1+learning_rate=0.00001+n_layers=5+nn_type=cnn
dropout=1+learning_rate=0.001+n_layers=8+nn_type=cnn
dropout=1+learning_rate=0.0001+n_layers=8+nn_type=cnn
dropout=1+learning_rate=0.00001+n_layers=8+nn_type=cnn

can you test and provide feedback ?


createQuickPick and createInputBox should document when to use them

Testing #52820
Currently the doc says something like:
		 * Note that in many cases the more convenient [window.showQuickPick](#window.showQuickPick)
		 * is easier to use.

Would be cool to mention when to use them and not to mention not to use them.

I can add something saying that these should be used when the others are not sufficient. That seems like the most accurate way to put it.


Support -dapr-listen-address option to daprd

When we use vpn, the ip becomes complicated, support custom listen address helps us to solve this problem
https://github.com/dapr/dapr/pull/3429

Hello @alberthuang24, thank you for your contributions! Can you please fix the DCO?

Hello @alberthuang24, thank you for your contributions! Can you please fix the DCO?

I added to the commit
Signed-off-by: Albert Huang<EMAIL_ADDRESS>But it still doesn't pass, can you help me？

DCO works now, thanks @alberthuang24!

@shubham1172 can you check why fossa scan has failed?

@shubham1172 can you check why fossa scan has failed?

I have re-run it after resolving a false positive.

@alberthuang24 Can you update the PR with master branch?

@alberthuang24 Can you update the PR with master branch?

done.

Thanks for the contribution!
One more suggestion please allow maintainers to edit the PR.


PowerAuth Push Server - broken links

On page about PowerAuth Push Server (https://github.com/lime-company/powerauth-push-server/wiki) are broken links.

I am sorry for the broken links, we were preparing for more consistent documentation and this was an error that we made...


[de] Fix typo in hello-minikube.md

Fixes minor typo in hello-minikube.md.  anzigen should be anzeigen

Contributor License Agreement has been signed.

/check-cla

/check-cla

/check-cla

/check-cla

/check-cla

/check-cla

Sorry, for the inconvenience.

/lgtm


Avast on Windows and TLS 1.3

https://github.com/AdguardTeam/AdguardForWindows/issues/2368
We should check if it's safe to use TLS 1.3 when Avast is in the system.

Looks like it's fixed. No problems were found with AdGuard 7.1.2817 (CL 1.4.32) + Avast (TLS 1.3 enabled).


Bringup to support 1.1.0-alpha01 and up

Currently, there has been no updates to this library since September 2018 and as of today (14 Mar 2019), there have been a couple of updates of the AndroidX preference that have broken this library.
In the main build.gradle, the version that is supported is 1.0.0 of the AndroidX preference library:
https://github.com/takisoft/preferencex-android/blob/f03e8f156ac0fac863974491c9bee9d4a5c9de90/build.gradle#L10
Recent versions of the AndroidX preference library have broken this library such as the revamping of the SeekBarPreference (in 1.1.0-alpha04) which removed a couple of styles that this library still uses.
I was told on an issue that I posted to Google's Issue Tracker that I should post a bug report here regarding the issue I had.
Will there be an update on this library? This is a great library to use if not for the lack of updates.

Looks like there are new changes to the repository and with new versions. As such, I'll close this issue accordingly.


Thank you for your help
Regards

Could you try with the /forms/libreoffice/convert endpoint instead? Form fields https://gotenberg.dev/docs/routes#images-libreoffice are not available for /forms/pdfengines/convert`!

Yes, converting with /forms/libreoffice/convert works fine.
But if I try do create a PDFA directly from html to PDF I have the same problem, ie:
curl \ --request POST http://<IP_ADDRESS>:3000/forms/chromium/convert/html \ --form<EMAIL_ADDRESS>\ --form<EMAIL_ADDRESS>\ --form<EMAIL_ADDRESS>\ --form paperWidth=8.27 \ --form paperHeight=11.7 \ --form marginTop=5cm \ --form marginBottom=2cm \ --form pdfa=PDF/A-1b \ --form pdfua=true \ -o pdf_out_2.pdf
Thank you for your work and help
Regards

What form fields are you using to mitigate the issue with /forms/libreoffice/convert?

`
curl \
--request POST http://<IP_ADDRESS>:3000/forms/libreoffice/convert \
--form<EMAIL_ADDRESS>\
--form pdfa=PDF/A-1b \
--form pdfua=true \
-o pdf_out_1.pdf
`
I tried with url and has the same problem:
`
curl
--request POST http://<IP_ADDRESS>:3000/forms/chromium/convert/url \
--form url=https://github.com/gotenberg \
--form pdfa=PDF/A-1b \
--form pdfua=true \
-o pdf_out_5.pdf
`

it works, only with in  /forms/libreoffice/convert
--form pdfa=PDF/A-1b
--form pdfua=true \
Thank you

I 'am trying to convert from html or url  directly to PDF/A with chromium/convert/html or chromium/convert/url  but I get low quality images I tried different sources.
Example:
curl --request POST http://localhost:3000/forms/chromium/convert/url  --form url=https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/scale  --form pdfa=PDF/A-1b  --form pdfua=true  -o my10.pdf

Could you try this scenario and tell me if playing with the « image » form field works in your cass? Thanks 😊

Ok, so:

Convert with /forms/chromium/convert/url without using the pdfa and pdfua form fields*.
Using the resulting PDF, use /forms/libreoffice/convert with the form fields pdfa and pdfua PLUS play with https://gotenberg.dev/docs/routes#images-libreoffice to see if it mitigates the issue.

*when you use these form fields, Gotenberg actually uses LibreOffice to convert to PDF/A & PDF/UA.

with this index.html:

Title

PDF with low resolution image:
curl \
--request POST http://localhost:3000/forms/chromium/convert/html \
--form<EMAIL_ADDRESS>\
--form pdfa=PDF/A-3b \
--form pdfua=true \
-o nok.pdf

Intermediate PDF with nice image:
curl \
--request POST http://localhost:3000/forms/chromium/convert/html \
--form<EMAIL_ADDRESS>\
-o intermediate.pdf

Conversion to PDF/A with good image:
curl \
--request POST http://localhost:3000/forms/libreoffice/convert \
--form<EMAIL_ADDRESS>\
--form pdfa=PDF/A-3b \
--form pdfua=true \
--form reduceImageResolution=false \
-o ok_1.pdf

or
curl \
--request POST http://localhost:3000/forms/libreoffice/convert \
--form<EMAIL_ADDRESS>\
--form pdfa=PDF/A-3b \
--form pdfua=true \
-o ok_2.pdf

Thanks! If you update to the latest version (8.9.0), reduceImageResolution is set to false by default, so you will be able to use the Chromium module directly without the intermediate step!

curl \
--request POST http://localhost:3000/forms/chromium/convert/html \
--form<EMAIL_ADDRESS>\
--form pdfa=PDF/A-3b \
--form pdfua=true \
-o nok.pdf

Creates the PDF with the same problem
log:
2024-08-09 20:35:02 Version: 8.9.0
2024-08-09 20:35:02 -------------------------------------------------------
2024-08-09 20:35:02 [SYSTEM] modules: api chromium exiftool libreoffice libreoffice-api libreoffice-pdfengine logging pdfcpu pdfengines pdftk prometheus qpdf webhook
2024-08-09 20:35:02 [SYSTEM] libreoffice-api: LibreOffice ready to start
2024-08-09 20:35:02 [SYSTEM] chromium: Chromium ready to start
2024-08-09 20:35:02 [SYSTEM] prometheus: collecting metrics
2024-08-09 20:35:02 [SYSTEM] api: server listening on port 3000
2024-08-09 20:35:02 [SYSTEM] pdfengines: exiftool libreoffice-pdfengine pdfcpu pdftk qpdf
2024-08-09 20:42:02 {"level":"info","ts":1723232522.741591,"logger":"api","msg":"request handled","trace":"266d1f43-93ce-45ae-a79a-0dc045449a71","remote_ip":"<IP_ADDRESS>","host":"localhost:3000","uri":"/forms/chromium/convert/html","method":"POST","path":"/forms/chromium/convert/html","referer":"","user_agent":"curl/7.81.0","status":200,"latency":2623819399,"latency_human":"2.623819399s","bytes_in":587,"bytes_out":32533}

@luisforra thanks for the heads up!
TL;DR: you were in fact.. right! The PDF engine method was not using the same options as the LibreOffice convert method!

@luisforra version 8.9.1 should be available within ~1 hour.

Thank you for your help and work, I will give feedback

Is OK now, passes VeraPDF, thank you again

Can you give same example please

I've created a PDF twice. Once with 8.3.0 and one in 8.9.0. I've then uploaded it to an online validator on https://www.pdfforge.org/online/en/validate-pdfa. There was one difference:

Specification: ISO 19005-1:2005, Cause 6.3.5:
For all CIDFont subsets referenced within a conforming file, the font descriptor dictionary shall include a CIDSet stream identifying which CIDs are present in the embedded CIDFont file, as described in PDF Reference Table 5.20

Would it help if I'd upload the the files somewhere?

Hello @toooni 👋
The base image already has the NotoColorEmoji font 🤔
Could you provide a complete scenario with files so that we can reproduce your issue?

HI @gulien
I've had the font in the image builder since before it was included in the base image. I don't know why the issue occurred now and not earlier but removing the font did the trick. Sorry to bother you and thanks for your efforts!


Add string highlighting

There are a couple basic regex things that aren't working for me in TextMate grammar json, namely negated groups and back references. I'm sure the reasons are well documented. I just haven't researched yet. Without a back reference, string highlighting allows "string' (mismatched quote characters).


fix: readme example and test

the readme example and the related test where out of sync

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update wolf-smartset to 1.2.3

Please update my adapter ioBroker.wolf-smartset to version 1.2.3.
This pull request was created by https://www.iobroker.dev c0726ff.

RE-CHECK!


Changes to support MTP events to get & send object info

Added changes to support MTP events to get and send object information of files, which is required for file operations like rename, duplication etc.

Superseeded by the next version.


Document dependency on<EMAIL_ADDRESS>

when using<EMAIL_ADDRESS>as documented in their readme, go run will fail compiling whereas go build will successfully compile.
https://github.com/second-state/wasm-learning/issues/41
DarumaDocker hinted to me that reactr depends on<EMAIL_ADDRESS>and this is the issue. I was not able to find this out without this hint though and more developers will face the same issue. Therefore it would be beniftial to document this.

Thanks @chris-aeviator for pointing this out!


Unable to use data exploration "The training data observed continuous missing data near the end. Require more stable data to train"

I have tried to use simple data and its giving these issues
Here is the notebook
https://colab.research.google.com/drive/19muQTHoWxdh5fC1DQE2FpYu763fn-0zC?usp=sharing

@eaglewarrior The data you provided is monthly data but you are specifying freq='D' while initiating the DataExploration class object. That means it is expecting data to be daily and that's why it is complaining for missing data.
At this moment, Luminaire doesn't support monthly pandas offset. Kindly see the Luminaire documentation for currently supported offsets: https://zillow.github.io/luminaire/api_reference/exploration.html

Is this what is not a monthly data its daily

@eaglewarrior yes this is the Airline passengers data which is observed first day of the month at a monthly cadence.

Yes i tried some other dataset its working


building the info manual: tries to fetch images from online

When building the info manual ('make info' from the docs/ subdir), I get the following error (build happens in a container without networking):
WARNING: Could not fetch remote image: https://travis-ci.org/eerimoq/cantools.svg?branch=master [HTTPSConnectionPool(host='travis-ci.org', port=443): Max retries exceeded with url: /eerimoq/cantools.svg?branch=master (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff44cbd10>: Failed to establish a new connection: [Errno -2] Name or service not known'))]
WARNING: Could not fetch remote image: https://ci.appveyor.com/api/projects/status/github/eerimoq/cantools?svg=true [HTTPSConnectionPool(host='ci.appveyor.com', port=443): Max retries exceeded with url: /api/projects/status/github/eerimoq/cantools?svg=true (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff44cb990>: Failed to establish a new connection: [Errno -2] Name or service not known'))]
WARNING: Could not fetch remote image: https://coveralls.io/repos/github/eerimoq/cantools/badge.svg?branch=master [HTTPSConnectionPool(host='coveralls.io', port=443): Max retries exceeded with url: /repos/github/eerimoq/cantools/badge.svg?branch=master (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff44cbdd0>: Failed to establish a new connection: [Errno -2] Name or service not known'))]
WARNING: Could not fetch remote image: https://github.com/eerimoq/cantools/raw/master/docs/monitor.png [HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /eerimoq/cantools/raw/master/docs/monitor.png (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff44cb810>: Failed to establish a new connection: [Errno -2] Name or service not known'))]
done
writing... done
copying Texinfo support files... Makefile done
build succeeded, 5 warnings.

I don't care much about the appveyor and coveralls badges, but it'd be nice if the 'monitor.png', which exists in the repo, would be used instead of trying to fetch it from online.

Sounds fair. Feel free to create a PR.

Hmm, on second thought, make sure the rendered readme looks good on Github as well. It is probably not possible to use a local repo image, but I'm not sure.


You are attempting to use Flash Attention 2.0 without specifying a torch dtype. This might lead to unexpected behaviour

Hi everyone!
Trying to initialize Llava1.6-34b-hf with flash attention 2 but getting the following issue, after which it doesn't work properly and doesn't speed up inference.
The point is I explicitly pass torch_dtye=torch.float16. The question is how to handle this warning and does it affect the flash-attention work on inference.
Code is bellow
model = LlavaNextForConditionalGeneration.from_pretrained(     "llava-hf/llava-v1.6-34b-hf",      device_map="cuda",     torch_dtype=torch.float16,     attn_implementation="flash_attention_2" )

Hi, is there any updates? Thanks!


Add Ledger ThunderCore Support

Description

Website: https://www.thundercore.com
Block-Explorer: https://scan.thundercore.com
Slip-0044: https://github.com/satoshilabs/slips/pull/371
ChainId: 108

@TamtamHero Can I request that you review this change? We would like to get this merged as soon as possible.

Hello,
I am @hcleonis and I am in charge of reviewing your app. There are a few icon-related issues with your app:

Icons files for Nano X are missing. You can re-use the same one as for Nano S with e.g. foreground & background colors swapped.
The app icon for the Blue device doesn't show up on the Blue Dashboard. There are issues w/ the gif, among which : transparent background instead of solid background, size of 40x41 instead of 50x50 px, perhaps others?)
Your commits were not signed. Ledger requires commits to be signed before we can integrate your app.

Can you fix these issues & update your PR ?
Regards.

@hcleonis,
@ashwinp-r has left ThunderCore's employ since filing this. I'll fix the issue you listed and update this PR.
Any advice on how to test app icon problems on the Blue Dashboard?

@hcleonis, I updated the icons and rebased to master I suspect the conflicts would be relatively trivial for you to resolve but I could resolve them if required.

Your rebase operation have removed 2 necessary statements. See my comments in src/main.c and src/tokens.h. Please update your PR so I can finalize the merge.

Done!


add "accession" field to AntiCRISPR model per issue #119

Thanks so much @morrme! :clap:
Fixes #127.


Swift 4.2 Update

Can you please update this to Swift 4.2?
There are currently a lot of errors.
Thanks.

Hi,
I've made a pull request for that:
https://github.com/hryk224/InfiniteCollectionView/pull/27


Change the Swiper gesture direction for transformed containers

Clear and concise description of the problem
When the container is rotated 180o, the gestures does not follow the container transformation.
Suggested solution
Make possible to change the gesture direction in case the container is transformed (rotated 180o).
Alternative
Intercept all events so we can change values before apllied.
Additional context
I have a touchscreen where I mirror the interface in half of the screen.
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Would you like to open a PR for this feature?

[ ] I'm willing to open a PR

Not an option sorry


#1104 Modify docs for background tasks

What do these changes do?

Changes:

Modify docs for background tasks
Add an example code to examples directory

As discussed the old code example for background tasks creating was working but not optimal.
Removed asyncio.gather() from the example and used app.loop.create_task() instead.
Also added an example of tasks cancellation on cleanup.
Are there changes in behavior for the user?

None
Related issue number

#1104
Checklist

[x] I think the code is well written
[x] Unit tests for the changes exist
[x] Documentation reflects the changes

@asvetlov Do you think it's short enough or I should remove something (https://github.com/KeepSafe/aiohttp/issues/1104#issuecomment-241540140)?

First.
I think quickly_notify_monitoring is not necessary.
If you want to inform users to allowance for doing an instant activity on app startup -- please invite something more obvious than just sleep.
I have troubles with a good example personally,
Second.
Your code uses both zmq and redis. For sake of shortness we should choose the single one.
I believe redis is more well known library, let's keep it.
Redis example may be more realistic than, again, just sleeps in a loop.
Create and redis connection using aioredis, subscribe for events and iterate over subscribed messages.
I gives to reader a clue for real use cases.

Current coverage is 97.70% (diff: 100%)

Merging #1107 into master will not change coverage

@@             master      #1107   diff @@
==========================================
  Files            28         28
  Lines          6407       6407
  Methods           0          0
  Messages          0          0
  Branches       1078       1078
==========================================
  Hits           6260       6260
  Misses           80         80
  Partials         67         67

Powered by Codecov. Last update 4167156...a74105d

@asvetlov Thanks for guidance. I've just pushed new changes and rebased the branch to lastest master.
Currently it looks like this:

Also I've rewrote examples/background_tasks.py and ran it with redis to ensure it works and correctly. So the example in docs is an extract from there and is working fine.

@asvetlov Should I squash commits or keep for history?

Doesn't matter -- I'm doing squashing on merge anyway.

Perfect!


Datetime Picker Min/Max Displays Incorrectly

Bug Report
Ionic version:

[x] 4.x
Current behavior:
If Datetime picker Min and Max values are set, then the user can not select a day that is a valid date within the bounds of the min/max, but outside the min/max day range.
Expected behavior:
User should be able to select a day between the Min and Max date rage set.
Steps to reproduce:
Set the Datetime picker Min = '2019-02-17', Set a Max = '2020-02-17'. As a user try to select '2019-03-05'.
Related code:
https://angular-ionic4-test-nvde1r.stackblitz.io
Other information:

Ionic info:
Ionic:

   ionic (Ionic CLI)             : 4.5.0 (/usr/local/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.0.0-beta.17
   @angular-devkit/build-angular : 0.10.7
   @angular-devkit/schematics    : 7.0.7
   @angular/cli                  : 7.0.7
   @ionic/angular-toolkit        : 1.2.0

System:

   NodeJS : v10.14.2 (/usr/local/bin/node)
   npm    : 6.4.1
   OS     : macOS High Sierra

Hi there,
Thanks for the issue! I’ve added this to issue #16630 to keep track of. We’re going to close out the individual issues and address all of the Datetime issues at once. We’re not forgetting about your issue, just trying to keep them all together.
Thanks for using Ionic!


Add config parameter for liquibase.schemaName

Currently it's only possible to specify the defaultSchema (--lb-default-schema command line parameter), which is used for both Liquibase control tables and objects with unqualified names in changelog scripts. But some databases, like SQL Server, don't allow to override current user's default schema. See liquibase.database.core.MSSQLDatabase#setDefaultSchemaName:
@Override
    public void setDefaultSchemaName(String schemaName) {
        if (schemaName != null && !schemaName.equalsIgnoreCase(getConnectionSchemaName())) {
            throw new RuntimeException(String.format(
                "Cannot use default schema name %s on Microsoft SQL Server because the login " +
                    "schema of the current user (%s) is different and MSSQL does not support " +
                    "setting the default schema per session.", schemaName, getConnectionSchemaName()));
        }
        super.setDefaultSchemaName(schemaName);
    }

At the same time, while it is possible to partly work around this issue by using qualified object names in the changelog, the only way to place the control tables (DATABASECHANGELOG*) in a schema other than the user's login chema is to set a system property:
System.setProperty("liquibase.defaultSchema", "myschema");

That's what I'm doing now, but it would be cool to have a dedicated command option just for that. Thanks!

I was talking about liquibase.schemaName, of course


crunchyroll doesnt loads

Hi,
WidevineCdm is a browser module for DRM protection. Is it working when the Unblocker is removed? I can't reproduce this issue on my side so I have no idea whats going on :(
Since the unblocker only redirects the token request all other functionality should be unaffected.

I don't know if this helps, but while I'm not getting that banner, recently every once in a while CR refuses to load video (Firefox). The weirdest thing is, when I

Open the developer console (F12),
Make sure the console output is visible,
Have the console take half the screen, and
Refresh the page

...it starts working again? And just refreshing the page normally does nothing. Very odd.
There's a plethora of errors in the console, mostly related to CORS IIRC, and I had to disable Firefox strict mode just to get it to work on this page.
Haven't had to uninstall the extension, at least.

Hi,
WidevineCdm is a browser module for DRM protection. Is it working when the Unblocker is removed? I can't reproduce this issue on my side so I have no idea whats going on :(
Since the unblocker only redirects the token request all other functionality should be unaffected.

this works


trying to use lumberjack in a project that includes a library that also uses lumberjack

i'm currently using skyepub as a library to include an e-reader in my app. After following the instructions and trying to install lumberjack, i'm getting a compile error complaining that lumberjack was already included in skyepub.. and so i can't use it in my project! how do i handle this?
duplicate symbol _OBJC_CLASS_$_DDASLLogger in:
    /Users/me/Library/Developer/Xcode/DerivedData/aj-felgyoujugchfheepjnjfvwvmjcu/Build/Products/Debug-iphoneos/libCocoaLumberjack.a(DDASLLogger.o)
    /Users/me/dev/ios/aj-iOS/aj/Libraries/SkyEpub/libskyepub.a(DDASLLogger.o)
duplicate symbol _OBJC_METACLASS_$_DDASLLogger in:
    /Users/me/Library/Developer/Xcode/DerivedData/aj-felgyoujugchfheepjnjfvwvmjcu/Build/Products/Debug-iphoneos/libCocoaLumberjack.a(DDASLLogger.o)
    /Users/me/dev/ios/aj-iOS/aj/Libraries/SkyEpub/libskyepub.a(DDASLLogger.o)
duplicate symbol _OBJC_IVAR_$_DDLogFileManagerDefault._logsDirectory in:
    /Users/me/Library/Developer/Xcode/DerivedData/aj-felgyoujugchfheepjnjfvwvmjcu/Build/Products/Debug-iphoneos/libCocoaLumberjack.a(DDFileLogger.o)
    /Users/me/dev/ios/aj-iOS/aj/Libraries/SkyEpub/libskyepub.a(DDFileLogger.o)
duplicate symbol _OBJC_CLASS_$_DDLogFileFormatterDefault in:
    /Users/me/Library/Developer/Xcode/DerivedData/aj-felgyoujugchfheepjnjfvwvmjcu/Build/Products/Debug-iphoneos/libCocoaLumberjack.a(DDFileLogger.o)
    /Users/me/dev/ios/aj-iOS/aj/Libraries/SkyEpub/libskyepub.a(DDFileLogger.o)
duplicate symbol _OBJC_METACLASS_$_DDLogFileFormatterDefault in:
    /Users/me/Library/Developer/Xcode/DerivedData/aj-felgyoujugchfheepjnjfvwvmjcu/Build/Products/Debug-iphoneos/libCocoaLumberjack.a(DDFileLogger.o)
    /Users/me/dev/ios/aj-iOS/aj/Libraries/SkyEpub/libskyepub.a(DDFileLogger.o)
duplicate symbol _OBJC_CLASS_$_DDLogFileManagerDefault in:
    /Users/me/Library/Developer/Xcode/DerivedData/aj-felgyoujugchfheepjnjfvwvmjcu/Build/Products/Debug-iphoneos/libCocoaLumberjack.a(DDFileLogger.o)
    /Users/me/dev/ios/aj-iOS/aj/Libraries/SkyEpub/libskyepub.a(DDFileLogger.o)
duplicate symbol _OBJC_METACLASS_$_DDLogFileManagerDefault in:
    /Users/me/Library/Developer/Xcode/DerivedData/aj-felgyoujugchfheepjnjfvwvmjcu/Build/Products/Debug-iphoneos/libCocoaLumberjack.a(DDFileLogger.o)
    /Users/me/dev/ios/aj-iOS/aj/Libraries/SkyEpub/libskyepub.a(DDFileLogger.o)
duplicate symbol _OBJC_CLASS_$_DDFileLogger in:
    /Users/me/Library/Developer/Xcode/DerivedData/aj-felgyoujugchfheepjnjfvwvmjcu/Build/Products/Debug-iphoneos/libCocoaLumberjack.a(DDFileLogger.o)
    /Users/me/dev/ios/aj-iOS/aj/Libraries/SkyEpub/libskyepub.a(DDFileLogger.o)
duplicate symbol _OBJC_METACLASS_$_DDFileLogger in:
    /Users/me/Library/Developer/Xcode/DerivedData/aj-felgyoujugchfheepjnjfvwvmjcu/Build/Products/Debug-iphoneos/libCocoaLumberjack.a(DDFileLogger.o)
    /Users/me/dev/ios/aj-iOS/aj/Libraries/SkyEpub/libskyepub.a(DDFileLogger.o)
duplicate symbol _OBJC_IVAR_$_DDFileLogger.logFileManager in:
    /Users/me/Library/Developer/Xcode/DerivedData/aj-felgyoujugchfheepjnjfvwvmjcu/Build/Products/Debug-iphoneos/libCocoaLumberjack.a(DDFileLogger.o)
    /Users/me/dev/ios/aj-iOS/aj/Libraries/SkyEpub/libskyepub.a(DDFileLogger.o)
duplicate symbol _OBJC_CLASS_$_DDLogFileInfo in:
    /Users/me/Library/Developer/Xcode/DerivedData/aj-felgyoujugchfheepjnjfvwvmjcu/Build/Products/Debug-iphoneos/libCocoaLumberjack.a(DDFileLogger.o)
    /Users/me/dev/ios/aj-iOS/aj/Libraries/SkyEpub/libskyepub.a(DDFileLogger.o)
duplicate symbol _OBJC_METACLASS_$_DDLogFileInfo in:
    /Users/me/Library/Developer/Xcode/DerivedData/aj-felgyoujugchfheepjnjfvwvmjcu/Build/Products/Debug-iphoneos/libCocoaLumberjack.a(DDFileLogger.o)
    /Users/me/dev/ios/aj-iOS/aj/Libraries/SkyEpub/libskyepub.a(DDFileLogger.o)
duplicate symbol _OBJC_IVAR_$_DDLogFileInfo.filePath in:
    /Users/me/Library/Developer/Xcode/DerivedData/aj-felgyoujugchfheepjnjfvwvmjcu/Build/Products/Debug-iphoneos/libCocoaLumberjack.a(DDFileLogger.o)
    /Users/me/dev/ios/aj-iOS/aj/Libraries/SkyEpub/libskyepub.a(DDFileLogger.o)
duplicate symbol _OBJC_CLASS_$_DDAbstractLogger in:
    /Users/me/Library/Developer/Xcode/DerivedData/aj-felgyoujugchfheepjnjfvwvmjcu/Build/Products/Debug-iphoneos/libCocoaLumberjack.a(DDLog.o)
    /Users/me/dev/ios/aj-iOS/aj/Libraries/SkyEpub/libskyepub.a(DDLog.o)
duplicate symbol _OBJC_METACLASS_$_DDAbstractLogger in:
    /Users/me/Library/Developer/Xcode/DerivedData/aj-felgyoujugchfheepjnjfvwvmjcu/Build/Products/Debug-iphoneos/libCocoaLumberjack.a(DDLog.o)
    /Users/me/dev/ios/aj-iOS/aj/Libraries/SkyEpub/libskyepub.a(DDLog.o)
duplicate symbol _OBJC_CLASS_$_DDLog in:
    /Users/me/Library/Developer/Xcode/DerivedData/aj-felgyoujugchfheepjnjfvwvmjcu/Build/Products/Debug-iphoneos/libCocoaLumberjack.a(DDLog.o)
    /Users/me/dev/ios/aj-iOS/aj/Libraries/SkyEpub/libskyepub.a(DDLog.o)
duplicate symbol _OBJC_METACLASS_$_DDLog in:
    /Users/me/Library/Developer/Xcode/DerivedData/aj-felgyoujugchfheepjnjfvwvmjcu/Build/Products/Debug-iphoneos/libCocoaLumberjack.a(DDLog.o)
    /Users/me/dev/ios/aj-iOS/aj/Libraries/SkyEpub/libskyepub.a(DDLog.o)
duplicate symbol _OBJC_CLASS_$_DDLogMessage in:
    /Users/me/Library/Developer/Xcode/DerivedData/aj-felgyoujugchfheepjnjfvwvmjcu/Build/Products/Debug-iphoneos/libCocoaLumberjack.a(DDLog.o)
    /Users/me/dev/ios/aj-iOS/aj/Libraries/SkyEpub/libskyepub.a(DDLog.o)
duplicate symbol _OBJC_METACLASS_$_DDLogMessage in:
    /Users/me/Library/Developer/Xcode/DerivedData/aj-felgyoujugchfheepjnjfvwvmjcu/Build/Products/Debug-iphoneos/libCocoaLumberjack.a(DDLog.o)
    /Users/me/dev/ios/aj-iOS/aj/Libraries/SkyEpub/libskyepub.a(DDLog.o)
duplicate symbol _OBJC_CLASS_$_DDTTYLogger in:
    /Users/me/Library/Developer/Xcode/DerivedData/aj-felgyoujugchfheepjnjfvwvmjcu/Build/Products/Debug-iphoneos/libCocoaLumberjack.a(DDTTYLogger.o)
    /Users/me/dev/ios/aj-iOS/aj/Libraries/SkyEpub/libskyepub.a(DDTTYLogger.o)
duplicate symbol _OBJC_METACLASS_$_DDTTYLogger in:
    /Users/me/Library/Developer/Xcode/DerivedData/aj-felgyoujugchfheepjnjfvwvmjcu/Build/Products/Debug-iphoneos/libCocoaLumberjack.a(DDTTYLogger.o)
    /Users/me/dev/ios/aj-iOS/aj/Libraries/SkyEpub/libskyepub.a(DDTTYLogger.o)
ld: 21 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

You should check how they use CL. They shouldn't include the code but only require CL.
Also take a look here.


Error when calling methods in ERC20 example contract

Trying to deploy and call total_supply or balance_of on the ERC20 example contract in the mantle repo using the following code:
const oasis = require('@oasislabs/client');
const fs = require('fs');

const mnemonic = 'range drive remove bleak mule satisfy mandate east lion minimum unfold ready';
const wallet = oasis.Wallet.fromMnemonic(mnemonic);
const gateway = new oasis.gateways.Web3Gateway('ws://localhost:8546', wallet);
oasis.setGateway(gateway);

var bytecode = fs.readFileSync('../erc20/target/service/erc20.wasm');
const idl = null;
const erc20_arguments = [1000];

oasis.deploy({
  bytecode: bytecode,
  arguments: erc20_arguments,
  header: { confidential: false },
  options: { gasLimit: '0xf42400'},
}).then(async (service) => {
  console.log(service);
  const total_supply = await service.total_supply();
  console.log(total_supply);
});

Produces the following error:
(node:6937) UnhandledPromiseRejectionWarning: RangeError: Offset is outside the bounds of the DataView
    at DataView.getUint8 (<anonymous>)
    at readUint8 (/Users/davidyan/sunblaze/hivemind/oasis/client/node_modules/cbor-js/cbor.js:228:26)
    at decodeItem (/Users/davidyan/sunblaze/hivemind/oasis/client/node_modules/cbor-js/cbor.js:303:23)
    at Object.decode (/Users/davidyan/sunblaze/hivemind/oasis/client/node_modules/cbor-js/cbor.js:391:13)
    at Object.decode$1 [as decode] (/Users/davidyan/sunblaze/hivemind/oasis/client/node_modules/@oasislabs/client/dist/index.umd.js:18077:22)
    at PlaintextRpcDecoder.<anonymous> (/Users/davidyan/sunblaze/hivemind/oasis/client/node_modules/@oasislabs/client/dist/index.umd.js:30920:49)
    at step (/Users/davidyan/sunblaze/hivemind/oasis/client/node_modules/@oasislabs/client/dist/index.umd.js:17293:24)
    at Object.next (/Users/davidyan/sunblaze/hivemind/oasis/client/node_modules/@oasislabs/client/dist/index.umd.js:17274:54)
    at /Users/davidyan/sunblaze/hivemind/oasis/client/node_modules/@oasislabs/client/dist/index.umd.js:17267:72
    at new Promise (<anonymous>)
(node:6937) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rej
ecting a promise which was not handled with .catch(). (rejection id: 2)
(node:6937) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process
 with a non-zero exit code.

Details
@oasislabs/client - 1.0.0-rc.3
mantle - 0.2.1
oasis-chain - https://github.com/oasislabs/oasis-chain/commit/86d2604fc5c67f8c05e9e945771f63532f7419dd

Moving this over to the runtime.


Consider x86 for Windows

Hi All,
I can easily build the x86 version of pkg-fetch, see: https://github.com/Infern1/pkg-fetch/actions
Would be helpfull if this can be done by default.
I know x86 has been dropped, however we cannot switch 64bit since our C++ application for which we have a .node file is not 64bit. This takes some time.

While I understand it works for you now based on my experience it is a pain to keep it maintained. Every time nodejs releases a new minor release something breaks on builds, last time it took me weeks to fix them all so I prefer to keep maintained only the most used ones. Hope you understand 🙏🏼


Code Example on Denoising Diffusion Probabilistic Models

Hello,
I would like to make a code example on Denoising Diffusion probabilistic models.
Do you think it is needed on keras.io ?
Here is what it would like on kaggle: https://www.kaggle.com/code/folefac/denoising-diffusion-models-with-tensorflow

Hello,
Saw your implementation on Kaggle. Could you please share the notebook(Jupyter or Colab) here. The implementation is for Denoising Diffusion Probabilistic Models only right? I was in long search of it din't find any proper impelemtation. Please respond that help me a lot. Thanks in adavance.

Hello, you can check the colab here:
https://colab.research.google.com/drive/1T_08sIQi2QgujjBdwsViNYj-dkf6wfa0
Le ven. 28 oct. 2022 à 14:01, arohi2bujji @.***> a
écrit :

Hello,
Saw your implementation on Kaggle. Could you please share the
notebook(Jupyter or Colab) here. The implementation is for Denoising
Diffusion Probabilistic Models only right? I was in long search of it din't
find any proper impelemtation. Please respond that help me a lot. Thanks in
adavance.
—
Reply to this email directly, view it on GitHub
https://github.com/keras-team/keras-io/issues/971#issuecomment-1294972697,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALHTANRV4SGCLYNAG57KIGDWFPFCBANCNFSM523APREA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi @FOLEFAC, thanks for getting in touch. Please take a look at our call for examples, and if you think your example would be a good fit, go ahead and create a PR. Thanks!


buildkite claim concat

Duplicate OIDC provider to "buildkite"
Concatinate selected claims and cleanup unneeded configuration options

Overview

What this PR does / why we need it

Special notes for your reviewer
Does this PR introduce a user-facing change?

/publish

/publish

/publish

/publish

/publish

/publish

ghcr.io/oded-b/dex:pr-8b51fe6

/publish


How can i use project.nvim to change root dir?

I want to use project.nvim to decide the root dir of neotree, how should I do?

Neotree watches for current working directory changes by default. All you would need to do is to change the tab cwd (like with tcd), which is what the sidebars will be bound to.
If you want neo-tree to bind to the "global" cwd instead of "tab", you can change these settings:
https://github.com/nvim-neo-tree/neo-tree.nvim/blob/aec592bb1f0cf67f7e1123053d1eb17700aa9ed4/lua/neo-tree/defaults.lua#L378-L382

@cseickel I dont think thats working as intended, at least not in my case...
Im toggling neotree with:
map("n", "<leader>fn", "<cmd>Neotree reveal=true toggle=true<cr>")

Neotree config:
filesystem = {
bind_to_cwd = true,
cwd_target = {sidebar = "window"},
follow_current_file = true,
...}

which matches the scope I have set in project.nvim:
scope_chdir = "win"

when I :pwd I see that project has correctly set my window working directory. I can confirm this in other ways as well, for example, telescope find_files will start in my current window's wd. but when I toggle neotree it says the file is not in the wd and wants to change to immediate directory of the file:

neotree seems to set its wd to the directory that I started nvim in, and not syncing with later changes in the wd. it either always asks for a manual wd change, or if I say no, will just open neotree in my nvim start directory. if I say yes, the expected thing happens, which is change wd to the files directory, which is not what I want
is neo-tree asking for a manual wd change because the file I want is not directly in the project root, but rather in a sub-directory? or is something else going on?
if relevant/useful:
OS: Windows
dotfile neo-tree: https://github.com/sho-87/dotfiles/blob/master/nvim/lua/plugins/modules/neo-tree.lua
dotfile project: https://github.com/sho-87/dotfiles/blob/master/nvim/lua/plugins/modules/project.lua

@cseickel I dont think thats working as intended, at least not in my case...
Im toggling neotree with:
map("n", "<leader>fn", "<cmd>Neotree reveal=true toggle=true<cr>")

Neotree config:
filesystem = {
bind_to_cwd = true,
cwd_target = {sidebar = "window"},
follow_current_file = true,
...}

which matches the scope I have set in project.nvim:
scope_chdir = "win"

when I :pwd I see that project has correctly set my window working directory. I can confirm this in other ways as well, for example, telescope find_files will start in my current window's wd. but when I toggle neotree it says the file is not in the wd and wants to change to immediate directory of the file:

neotree seems to set its wd to the directory that I started nvim in, and not syncing with later changes in the wd. it either always asks for a manual wd change, or if I say no, will just open neotree in my nvim start directory. if I say yes, the expected thing happens, which is change wd to the files directory, which is not what I want
is neo-tree asking for a manual wd change because the file I want is not directly in the project root, but rather in a sub-directory? or is something else going on?
if relevant/useful: OS: Windows dotfile neo-tree: https://github.com/sho-87/dotfiles/blob/master/nvim/lua/plugins/modules/neo-tree.lua dotfile project: https://github.com/sho-87/dotfiles/blob/master/nvim/lua/plugins/modules/project.lua

Almost same here, pwd changed, but neotree root sometimes change with it and sometimes doesn't, I'm so confused.

Setting the scope to win/window doesn't make any sense at all. A sidebar is by definition not in the same window. Although this does not throw an error it really should:
cwd_target = {sidebar = "window"},

It only makes sense to set the sidebar to "tab" or "global". project.nvim will be set to "global" by default, so if you want to match you should set neo-tree like this:
cwd_target = {sidebar = "global"},

And then you do not need to change scope_chdir at all in project.nvim. Alternatively, you can set them both to "tab" and that would also work.

I guess I was expecting it to pull the wd from the window that called the toggle, but anyway
scope win is pretty useful because I sometimes have files open side by side from different projects. If I wanted to keep project to scope win, can I use something like a float neotree and set that scope to win also? I couldn't find any documentation about how floating scopes are set in neotree

Closing this issue as solved.


Create e2e tests for identity app

We should have e2e tests for the account management system & account admin system as we do for the catalogue & content apps.

@jamieparkinson - as I was going through the backlog / trying to set up the new board I came across this. You were talking specifically about sierra earlier, we touched on auth0 and it looks like a ticket was previously created on this. Thoughts?


Max Time Scale parameter should be removed or redetermined

current many function has a parameter called max_time_scale which is the maximum number of discretized snapshot the graph can has, however, this number is arbitrary and can be inconsistent in its default arguments.
Solutions:

[x] remove this argument, allow arbitrary number of timestamps
[ ] set the number to be sufficiently large, however this is still risky as the longer the duration of a dataset is, the more it is likely to reach this number.

currently implemented as no limit to the # of timestamps


Opening a work item in a different project fails

When opening the work item in a different project (e.g when linked to a work item in a different project) than the wiki belongs to, it fails to load.

Fixed in 1.0.2


Use memcached modern recommended options instead

https://github.com/memcached/memcached/wiki/ReleaseNotes1426#new-features

Thanks @zoidbergwill. Perhaps this should be configurable rather than a default? Is there any reason you'd not want to enable this?
cc @gtaylor

It should definitely be configurable. There are a whole lot of things sitting behind that flag.
I think going forward it'd be sensible to enable by default, with the option to disable it. If you are starting new, you probably want it enabled. If you are contending with some older systems that have quirks or assumptions, you'll tend to know about this option.

Thanks for the info @gtaylor. Given there are other options behind the -o flag shall we create a .Values.extendedOptions with a default of modern?

That would make sense to me. Does that sound reasonable, @zoidbergwill?

Sounds good to me. Will do.

@k8s-bot ok to test


[Bug Report] tokenizers>=0.14 breaks NeelNanda/gpt-neox-tokenizer-digits

Describe the bug
This PR has broken the tokenizer on all @neelnanda-io your custom models.
Code example
Setup: !pip install -U transformers==4.33.1 tokenizers==0.13.3 # older versions of HF transformers+tokenizers
Code:
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("NeelNanda/gpt-neox-tokenizer-digits")
tokenizer.encode(
    "\n   ",  # newline followed by three spaces
    return_tensors="pt",
).tolist() # [[477]]

However, the identical code, after upgrading to pip install -U transformers==4.34.0 tokenizers==0.14.1 gives [[188, 48260]]! :cry:
System Info
Python version 3.10.13
Additional context
This issue has basically the same issue as us: way too many tokens suddenly appearing in tokenization.
Checklist

[x] I have checked that there is no similar issue in the repo (required)

Another demonstration that this is a real issue if anyone is using the GeLU-1L tokenizer (e.g for SAEs): https://github.com/neelnanda-io/TransformerLens/issues/404

Resolved with https://huggingface.co/NeelNanda/gpt-neox-tokenizer-digits/discussions/1


Parsing the github release notes page for DSE to get the latest versi…

…on of the 6.8 / 5.1 release (other releases are static at this point in time). This avoids the need to keep updating the latest release.
Cassandra version of the same will be done as a separate change.

Test are failing on my CI - but passing locally, investigating.


Maven binary downloading is failing every now and then

Reproduction steps

Run the action
Hope that Set up maven step passes

Expected Results
No failure
Actual Results
Sometimes we get this error downloading maven:
Run wget --no-verbose https://downloads.apache.org/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz
failed: Connection timed out.
failed: Connection timed out.
failed: Network is unreachable.
failed: Network is unreachable.

Anything else?
Examples:

https://github.com/jenkinsci/configuration-as-code-plugin/actions/runs/11919116816/job/33218127817#step:4:1
https://github.com/jenkinsci/database-plugin/actions/runs/11873470244/job/33088321573

I've seen a couple more as well

I think this is just #39?

Other occurence (from yesterday)
https://github.com/jenkinsci/gitlab-kubernetes-credentials-plugin/actions/runs/11906896304/job/33179715536

I think this is just #39?

Somewhat I created this to be more specific  and focused

If we have a more reliable download server we probably do not need to bother with retries?

If anyone else has failures after now please report them here, I've changed the download server in https://github.com/jenkins-infra/github-reusable-workflows/pull/41

If we have a more reliable download server we probably do not need to bother with retries?

or fork the setup-maven action into the jenkins-infra repository and use that so that caching works and we are not susceptable to supply chain attacks (which was the original reason not to use this).
or re-invent the wheel and use githubs caching of tools so we dowload the tool and it is then cached for (many) other runs.


Qa 1951 cohort comparison main tests

Description
Added tests for cohort comparison main screen

Checking for analysis cards visibility
Saving filtered cohort buttons
Comparing cohort case counts
Comparing filter case counts between cohort builder and analysis card filters

Added data-testid for range checkboxes and case counts
Test:
vpn2, qa-int
gauge run specs/gdc_data_portal_v2/cohort_comparison/main_page.spec

Executed tests on QA-INT, the tests compares cohorts. Approving.


rvalue-reference instead of call by value

if an argument is an lvalue A, we supply the template argument with an lvalue reference to A.
In the original code, if we call V(t, t1) then it will call a copy constructor of Ts and then call a move constructor of Ts. When we change the argument type from Ts to Ts&& we can avoid the move constructor.

I apologize for not taking action on your pull request earlier.
Somehow I didn't receive email notification from github, and just noticed it this morning.
Thanks for the changes; I've pulled them in.


Add option to generate bytecode for bridge calls

https://github.com/google/ksp/issues/95
In the future, a possible followup enhancement could be to generate a Metadata annotation that marks the bridge method as inline

If https://github.com/square/moshi/pull/1858 goes anywhere I'll try it again here too

Moved to https://github.com/square/moshi/pull/1858


Full path override support for code owner matching

In order to help with special pipelines like aggregate-reports that live
in a general path we should allow an codeowner entry with the exact path
to that file so that it can override the any other paths like /eng/ etc.

@danieljurek what do you think about this approach to handle aggregate-reports? I did this mostly so we don't have to artificially move around the yml files but we can still assign owners to that pipeline by directly specifying the full path to the yml file.

The use of .Where in matching file paths will include ALL matches. This diverges from the original logic of GitHub where the LAST match is taken. It is correct to use .Where here to stay consistent with how we are also configuring failure notifications in the directory matching case.

For the exact path we are taking only the one match but you are correct that it could be more then one. Should we change the logic completely and only take the last match like what github does? I like being consistent and so that might be better here.

/azp run automation - build-failure-notification-subscriptions

/azp run automation - build-failure-notification-subscriptions

/azp run automation - build-failure-notification-subscriptions

/azp run automation - build-failure-notification-subscriptions

/azp run automation - build-failure-notification-subscriptions

/azp run automation - build-failure-notification-subscriptions


Failed to do SSD post-processing with some Open Model Zoo intel models

I'm trying to run minimal inference pipeline and on some models from intel part of Open Model Zoo I get an error:
0:00:02.328787412    18 0x7fa378002200 ERROR             GVA_common openvino_image_inference.cpp:364:operator(): Failed in inference request completion callback:

Failed to extract detection results
 Failed to do SSD post-processing
  Output blob dimentions size 1 is not supported (less than 2)
Failed to extract detection results
 Failed to do SSD post-processing
  Output blob dimentions size 1 is not supported (less than 2)

Steps to reproduce:

Download face-detection-0105 model from open_model_zoo
 cd open_model_zoo/tools/downloader
 ./downloader.py --name face-detection-0105

Start openvino/ubuntu18_runtime:2020.4 container
 docker run -it --rm -v <model_directory>:/models -v <data_directory>:/data openvino/ubuntu18_runtime:2020.4 /bin/bash

Run pipeline with debug info
 GST_DEBUG=GVA_common:4 gst-launch-1.0 \
 uridecodebin uri=flie:///data/testvideo.mp4 \
 ! videoconvert ! video/x-raw,format=BGRx \
 ! gvadetect model=/models/face-detection-0105/FP32/face-detection-0105.xml \
 ! fakesink sync=false

Same thing happens with face-detection-0106, for example. At the same time face-detection-0104 works fine.

Hi @abramov-oleg,
I'm not an expert in these models, but I think 105  and 106  are not SSD models unlike 104. Could you double check the models type?
Thanks,
Anton

Yes, indeed, the models page mentions that 105 has FCOS head and 106 ATSS head, which could explain how SSD output parser fails to get bounding boxes out of model tensor output.
My question I guess is the following: what is the intended way to use these pretrained models? Is it gvainference element with custom post-processing, is it some sort of configuration passed to gvadetect post-proc property, or something else?

@abramov-oleg ,
If some models require the post-processing that is not implemented in DL Streamer then several options are possible:

using of gvainference + gvapython.
using of gvainference + custom application.
adding a new post-processor in source code of gvadetect/gvaclassify.

All these options are described here.
Thanks,
Anton

@abramov-oleg Do you still need any help on this?


When tab key is pressed on Flutter Web it does not focus to next TextFormField

Steps to Reproduce

Run flutter create bug.
Update the files as follows: ...
...

Expected results:
The expected result should be when the tab key is pressed then next TextFormField should be focused.
Actual results:
In actual it does not focus to immediate next TextFormField.

   Form(
    key: _addUserKey,
    child: Column(
      crossAxisAlignment: CrossAxisAlignment.start,
      children: [
        Padding(
          padding: const EdgeInsets.symmetric(vertical: 12),
          child:
          Text(Constants.accountInfo, style: _headerStyle()),
        ),
        Row(
          children: [
            Column(
              crossAxisAlignment: CrossAxisAlignment.start,
              children: [
                /// Email
                Container(
                  width: 25.w,
                  child: TextFormField(
                    focusNode: _emailFocusNode,
                    controller:_addUserController.emailController,
                    validator: (v) => v!.trim().isEmpty
                        ? Constants.thisFieldIsRequired
                        : !EmailValidator.validate(v.trim()) ? Constants.pleaseEnterValidEmail : null,
                    decoration: InputDecoration(
                        isDense: true,
                        labelText: Constants.email,
                        hintText: Constants.email,
                        border: OutlineInputBorder()),
                  ),
                ),
                _vSpacer,

                /// Password
                Container(
                  width: 25.w,
                  child: Obx(
                        ()=> TextFormField(
                      focusNode: _passwordFocusNode,
                      controller:_addUserController.passwordController,
                      validator: (v) => v!.trim().isEmpty
                          ? Constants.thisFieldIsRequired
                          : v.trim().length < 8
                          ? Constants.enterValidPassword
                          : null,
                      obscureText: !isPasswordVisible.value,
                      obscuringCharacter: '*',
                      onTap: null,
                      decoration: InputDecoration(
                          isDense: true,
                          suffixIcon: GestureDetector(
                              onTapUp: (p){
                                isPasswordVisible.value=false;
                              },
                              onTapDown: (p){
                                isPasswordVisible.value=true;
                              },
                              child: Icon(Icons.remove_red_eye)),
                          labelText: Constants.password,
                          hintText: Constants.password,
                          border: OutlineInputBorder()),
                    ),
                  ),
                ),
                _vSpacer,

                /// Confirm Password
                Container(
                  child: Obx(()=> TextFormField(
                    focusNode: _confirmPasswordFocusNode,
                    controller: _addUserController
                        .confirmPasswordController,
                    validator: (v) => v!.trim().isEmpty
                        ? Constants.thisFieldIsRequired
                        : v.trim() != _addUserController
                        .passwordController.text
                        .trim()
                        ? Constants.passwordDoNotMatches
                        : null,
                    obscureText: !isConfirmPasswordVisible.value,
                    obscuringCharacter: '*',
                    onTap: null,
                    textInputAction: TextInputAction.next,
                    decoration: InputDecoration(
                        isDense: true,
                        suffixIcon: GestureDetector(
                            onTapUp: (p){
                              isConfirmPasswordVisible.value=false;
                            },
                            onTapDown: (p){
                              isConfirmPasswordVisible.value=true;
                            },
                            child: Icon(Icons.remove_red_eye)),
                        labelText: Constants.confirmPassword,
                        hintText: Constants.confirmPassword,
                        border: OutlineInputBorder()),
                  ),
                  ),
                  width: 25.w,
                ),
                _vSpacer,

              ],
            ),
          ],
        ),

        /// Some other widgets

      ],
    ),
  )

@abhimanyu95 I don't see your code sample having any code which shifts focus to the next form field. So I see this as working as intended.
If you want to shift focus to the next field you could either use the FocusNode and manually shift focus to desire fields or you could use TextInputAction to shift focus.
TextFormField(
    decoration: InputDecoration(hintText: 'TextField A'),
    textInputAction: TextInputAction.next, // Moves focus to next.
   ),
TextFormField(
    decoration: InputDecoration(hintText: 'TextField B'),
    textInputAction: TextInputAction.next, // Moves focus to next.
),
TextFormField(
    decoration: InputDecoration(hintText: 'TextField C'),
    textInputAction: TextInputAction.done, // Hides the keyboard.
),

Closing the issue, As this is working as intended, If you disagree feel free to write in the comments and I will reopen it.
Thank you


Horizontal scroll is displayed

Hello.
Why horizontal scroll is displayed on the screen?
I added "overflow-x: hidden" to the "body". It solves the problem in the PC browser, but not in the mobile phone browser.

Very Sorry, this repository is not maintained.


feat: introduce reward_per_wrapped to cap annuity rewards based on th…

…e total wrapped issuance
Signed-off-by: Gregory Hill<EMAIL_ADDRESS>

@gregdhill could you do a quick summary of the logic this code change implements?

@gregdhill could you do a quick summary of the logic this code change implements?

Sure, so if RewardPerWrapped is set in the annuity pallet we will distribute min(reward_per_block, reward_per_wrapped * TotalWrapped::get()) where reward_per_block is the total amount of possible rewards (as currently distributed for KINT for example) and TotalWrapped is the issuance of KINT / INTR.


Narrator line navigation gets stuck on some lines

Open PowerShell, type dir, press <Enter>
Caps + Page up a few times to switch to Line view
Caps + Left arrow to move up the history buffer
Caps + right arrow to move back down
When Narrator tries to read pass the heading area (see below, navigation got stuck. (Somehow Narrator rectangle was cover two lines all at once)
Mode LastWriteTime Length Name

I was able to get past that using word or character navigation.

migrated from 23051804

This is a bug in the Text pattern implementation of the application:

Create a few distinct lines in the command prompt/PS.
Get the document range and move it by line a few times (to such a line that the previous and current are very distinct).
Collapse the line at the Start endpoint.
Expand the endpoint to Word.

Expected: First word (however that unit is defined) in the navigated-to line (navigated in 2).
Actual: The line preceding the line navigated in (2).

Carlos, I think we agreed that it could be acceptable to use the user-defined word delimiters list to segment any individual expansion from character to word to satisfy this ask. Can you start a mail thread and confirm that's acceptable then implement it eventually?

Pushing back to 21H1 Milestone. We're not entirely ready to merge Accessibility changes to 20H1 and there's a workaraound for this issue. Better to push it back and fix altogether than potentially break more things.

For the record, there's two bugs here and I'm pretty sure they are related.

Line navigation downwards

Narrator rereads the same line

Line navigation upwards

Narrator skips the line above

There's a few surprising issues here...

When using Inspect.exe or Accessibility Insights to explore the text buffer, this bug does not occur. These tools accurately move to the preceding or next line without any issues. The same goes for moving just the endpoints, as opposed to the entire Text Range.
I've tested this with Narrator and set two print breakpoints to know when a Move function call is performed and when an ExpandToEnclosingUnit (Enclose) one is performed (as well as the parameter used). And the results were interesting and confusing...

Result when on the WRL Upgrade branch
ENCLOSE: TextUnit_Document (6)
ENCLOSE: TextUnit_Document (6)
MOVE: TextUnit_Line (3)
ENCLOSE: TextUnit_Line (3)
ENCLOSE: TextUnit_Word (2)
MOVE: TextUnit_Word (2)
MOVE: TextUnit_Word (2)
MOVE: TextUnit_Word (2)
MOVE: TextUnit_Word (2)
MOVE: TextUnit_Word (2)
MOVE: TextUnit_Word (2)
ENCLOSE: TextUnit_Format (1)
ENCLOSE: TextUnit_Document (6)
ENCLOSE: TextUnit_Document (6)
ENCLOSE: TextUnit_Document (6)
ENCLOSE: TextUnit_Document (6)
ENCLOSE: TextUnit_Document (6)

Result when on the Word Navigation branch
ENCLOSE: TextUnit_Document (6)
ENCLOSE: TextUnit_Document (6)
MOVE: TextUnit_Line (3)
ENCLOSE: TextUnit_Line (3)
ENCLOSE: TextUnit_Word (2)
MOVE: TextUnit_Word (2)
MOVE: TextUnit_Word (2)
MOVE: TextUnit_Word (2)
MOVE: TextUnit_Word (2)
MOVE: TextUnit_Word (2)
MOVE: TextUnit_Word (2)
ENCLOSE: TextUnit_Format (1)
ENCLOSE: TextUnit_Format (1)         <---
ENCLOSE: TextUnit_Format (1)         <---
ENCLOSE: TextUnit_Document (6)
ENCLOSE: TextUnit_Document (6)
ENCLOSE: TextUnit_Document (6)
ENCLOSE: TextUnit_Document (6)
ENCLOSE: TextUnit_Document (6)
ENCLOSE: TextUnit_Format (1)         <---
ENCLOSE: TextUnit_Format (1)         <---

Here, the lines with a <--- are the new lines compared to the one before.
I noticed that Narrator updates the bounding rects to match the word it is reading at the time, AS IT READS IT.
But I don't understand why Format is being called. I'm guessing it just wants to do a better job with groupings.
Either way, I'm betting that this is somewhat related to the issue. Investigating further.


ValueError: need at least one array to concatenate

Hello,
thank you for your great. While I was testing my own Dataset, I have encountered this error.
My Dataset have files such as .bin , poses and calib. Please help me to solve this error
Thank you
Data Preparation

Preparing seq 00 class frames. (Long but one time only)
Preparing seq 01 class frames. (Long but one time only)
Traceback (most recent call last):
File "/content/KPConv-PyTorch/train_SemanticKitti.py", line 265, in
balance_classes=False)
File "/content/KPConv-PyTorch/datasets/SemanticKitti.py", line 149, in init
self.load_calib_poses()
File "/content/KPConv-PyTorch/datasets/SemanticKitti.py", line 575, in load_calib_poses
seq_inds = np.hstack([np.ones(len(_), dtype=np.int32) * i for i, _ in enumerate(self.frames)])
File "<array_function internals>", line 6, in hstack
File "/usr/local/lib/python3.7/dist-packages/numpy/core/shape_base.py", line 345, in hstack
return _nx.concatenate(arrs, 1)
File "<array_function internals>", line 6, in concatenate
ValueError: need at least one array to concatenate

The error comes from here:
https://github.com/HuguesTHOMAS/KPConv-PyTorch/blob/7d4c03d1996d31bf3330d6652ce3604afbe5345b/datasets/SemanticKitti.py#L575
It seems your self.frames list is not defined well. One of your sequences might not have any frames. Go back where self.frames is defined and ensure you have the list of all the names of the frames for all your sequences

I pushed a correction, does it work now?

Unfortunately no.
Traceback (most recent call last):
File "/content/KPConv-PyTorch/train_SemanticKitti.py", line 286, in
training_sampler.calib_max_in(config, training_loader, verbose=True)
File "/content/KPConv-PyTorch/datasets/SemanticKitti.py", line 924, in calib_max_in
for batch_i, batch in enumerate(dataloader):
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py", line 438, in iter
return self._get_iterator()
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py", line 384, in _get_iterator
return _MultiProcessingDataLoaderIter(self)
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py", line 1086, in init
self._reset(loader, first_iter=True)
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py", line 1119, in _reset
self._try_put_index()
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py", line 1353, in _try_put_index
index = self._next_index()
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py", line 642, in _next_index
return next(self._sampler_iter)  # may raise StopIteration
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/sampler.py", line 247, in iter
for idx in self.sampler:
File "/content/KPConv-PyTorch/datasets/SemanticKitti.py", line 812, in iter
self.dataset.epoch_inds += gen_indices
RuntimeError: The size of tensor a (4400) must match the size of tensor b (464) at non-singleton dimension 0

i have changed the highlighted int32 into int64
if self.dataset.balance_classes:
        # Initiate current epoch ind
        self.dataset.epoch_i *= 0
        self.dataset.epoch_inds *= 0
        self.dataset.epoch_labels *= 0

        # Number of sphere centers taken per class in each cloud
        num_centers = self.dataset.epoch_inds.shape[0]

        # Generate a list of indices balancing classes and respecting potentials
        gen_indices = []
        gen_classes = []
        for i, c in enumerate(self.dataset.label_values):
            if c not in self.dataset.ignored_labels:

                # Get the potentials of the frames containing this class
                class_potentials = self.dataset.potentials[self.dataset.class_frames[i]]

                if class_potentials.shape[0] > 0:

                    # Get the indices to generate thanks to potentials
                    used_classes = self.dataset.num_classes - len(self.dataset.ignored_labels)
                    class_n = num_centers // used_classes + 1
                    if class_n < class_potentials.shape[0]:
                        _, class_indices = torch.topk(class_potentials, class_n, largest=False)
                    else:
                        class_indices = torch.zeros((0,), **dtype=torch.int64**)
                        while class_indices.shape[0] < class_n:
                            new_class_inds = torch.randperm(class_potentials.shape[0]).type(**torch.int64**)
                            class_indices = torch.cat((class_indices, new_class_inds), dim=0)
                        class_indices = class_indices[:class_n]
                    class_indices = self.dataset.class_frames[i][class_indices]

                    # Add the indices to the generated ones
                    gen_indices.append(class_indices)
                    gen_classes.append(class_indices * 0 + c)

                    # Update potentials
                    update_inds = torch.unique(class_indices)
                    self.dataset.potentials[update_inds] = torch.ceil(self.dataset.potentials[update_inds])
                    self.dataset.potentials[update_inds] += torch.from_numpy(np.random.rand(update_inds.shape[0]) * 0.1 + 0.1)

        # Stack the chosen indices of all classes
        gen_indices = torch.cat(gen_indices, dim=0)
        gen_classes = torch.cat(gen_classes, dim=0)

        # Shuffle generated indices
        rand_order = torch.randperm(gen_indices.shape[0])[:num_centers]
        gen_indices = gen_indices[rand_order]
        gen_classes = gen_classes[rand_order]

        # Update potentials (Change the order for the next epoch)
        #self.dataset.potentials[gen_indices] = torch.ceil(self.dataset.potentials[gen_indices])
        #self.dataset.potentials[gen_indices] += torch.from_numpy(np.random.rand(gen_indices.shape[0]) * 0.1 + 0.1)

        # Update epoch inds
        self.dataset.epoch_inds += gen_indices
        self.dataset.epoch_labels += gen_classes.type(**torch.int64**)

    else:

        # Initiate current epoch ind
        self.dataset.epoch_i *= 0
        self.dataset.epoch_inds *= 0
        self.dataset.epoch_labels *= 0

        # Number of sphere centers taken per class in each cloud
        num_centers = self.dataset.epoch_inds.shape[0]

        # Get the list of indices to generate thanks to potentials
        if num_centers < self.dataset.potentials.shape[0]:
            _, gen_indices = torch.topk(self.dataset.potentials, num_centers, largest=False, sorted=True)
        else:
            gen_indices = torch.randperm(self.dataset.potentials.shape[0])
            while gen_indices.shape[0] < num_centers:
                new_gen_indices = torch.randperm(self.dataset.potentials.shape[0]).type(**torch.int64**)
                gen_indices = torch.cat((gen_indices, new_gen_indices), dim=0)
            gen_indices = gen_indices[:num_centers]

        # Update potentials (Change the order for the next epoch)
        self.dataset.potentials[gen_indices] = torch.ceil(self.dataset.potentials[gen_indices])
        self.dataset.potentials[gen_indices] += torch.from_numpy(np.random.rand(gen_indices.shape[0]) * 0.1 + 0.1)

        # Update epoch inds
        self.dataset.epoch_inds += gen_indices

This mistake should not be happening with the recent corrections I made on the repo.
How many frames does each of your sequences contain?

I believe training set has 400 , validation has 39 and test has 144 frames

I see this is really small. You should definitely reduce the number of steps per epoch
https://github.com/HuguesTHOMAS/KPConv-PyTorch/blob/e5be3ce280f580b9017d2dc194f4475732843eb1/train_SemanticKitti.py#L163
Something like 50 should be more appropriate in your case. Same for validation size:
https://github.com/HuguesTHOMAS/KPConv-PyTorch/blob/e5be3ce280f580b9017d2dc194f4475732843eb1/train_SemanticKitti.py#L166
Use something like 10 or 5

i still have the same error.
Previous calibration found:
Check max_in limit dictionary
"balanced_4.000_0.060": ?
Traceback (most recent call last):
File "/content/KPConv-PyTorch/train_SemanticKitti.py", line 286, in
training_sampler.calib_max_in(config, training_loader, verbose=True)
File "/content/KPConv-PyTorch/datasets/SemanticKitti.py", line 922, in calib_max_in
for batch_i, batch in enumerate(dataloader):
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py", line 438, in iter
return self._get_iterator()
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py", line 384, in _get_iterator
return _MultiProcessingDataLoaderIter(self)
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py", line 1086, in init
self._reset(loader, first_iter=True)
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py", line 1119, in _reset
self._try_put_index()
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py", line 1353, in _try_put_index
index = self._next_index()
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py", line 642, in _next_index
return next(self._sampler_iter)  # may raise StopIteration
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/sampler.py", line 247, in iter
for idx in self.sampler:
File "/content/KPConv-PyTorch/datasets/SemanticKitti.py", line 810, in iter
self.dataset.epoch_inds += gen_indices
RuntimeError: The size of tensor a (441) must match the size of tensor b (48) at non-singleton dimension 0

Ok, I think there is a problem with your dataset statistics. I pushed a correction to see what happens. Can you print the error message now?

ValueError:
This error is raised if one of the classes is not ignored and does not appear in any of the frames of the dataset.

There you go. Your dataset is not well defined. You are training your network to predict a certain number of classes but some of them are not even present in your data. I pushed a new version of the error message where it shows the stats.

Yes, that is the best option.
Or if you want to keep it like this, you can use balance_class=False when creating your dataset. But it does not make sense to use classes that are not present in your dataset

Thank you very much for your help


APIService not available (k8s 1.22)

APIService
The apiregistration.k8s.io/v1beta1 API version of APIService will no longer be served in v1.22.

Migrate manifests and API clients to use the apiregistration.k8s.io/v1 API version, available since v1.10.
All existing persisted objects are accessible via the new API
No notable changes

seems like tigera operator isnt happy  on 1.22...
is that because of a feature gate i need to enable
2021/07/08 14:36:49 [INFO] Version: v1.17.4
2021/07/08 14:36:49 [INFO] Go Version: go1.15.2
2021/07/08 14:36:49 [INFO] Go OS/Arch: linux/amd64
{"level":"info","ts":1625755009.7462676,"logger":"setup","msg":"Checking type of cluster","provider":""}
{"level":"info","ts":1625755009.7475083,"logger":"setup","msg":"Checking if TSEE controllers are required","required":false}
{"level":"info","ts":1625755009.856925,"logger":"setup","msg":"starting manager"}
{"level":"info","ts":1625755009.8569715,"logger":"typha_autoscaler","msg":"Starting typha autoscaler","syncPeriod":10}
I0708 14:36:49.858270       1 leaderelection.go:243] attempting to acquire leader lease  tigera-operator/operator-lock...
I0708 14:37:06.950468       1 leaderelection.go:253] successfully acquired lease tigera-operator/operator-lock
{"level":"info","ts":1625755026.9514308,"logger":"controller-runtime.manager.controller.tigera-installation-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1625755027.0525558,"logger":"controller-runtime.manager.controller.tigera-installation-controller","msg":"Starting EventSource","source":"kind source: /V1, Kind=Secret"}
{"level":"info","ts":1625755027.154822,"logger":"controller-runtime.manager.controller.tigera-installation-controller","msg":"Starting EventSource","source":"kind source: /V1, Kind=ConfigMap"}
{"level":"info","ts":1625755027.256324,"logger":"controller-runtime.manager.controller.tigera-installation-controller","msg":"Starting EventSource","source":"kind source: /V1, Kind=ConfigMap"}
{"level":"info","ts":1625755027.2566109,"logger":"controller-runtime.manager.controller.tigera-installation-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1625755027.3575156,"logger":"controller-runtime.manager.controller.tigera-installation-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1625755027.4588928,"logger":"controller-runtime.manager.controller.tigera-installation-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1625755027.559794,"logger":"controller-runtime.manager.controller.tigera-installation-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1625755027.6607502,"logger":"controller-runtime.manager.controller.tigera-installation-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1625755027.7658336,"logger":"controller-runtime.manager.controller.tigera-installation-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"error","ts":1625755027.868342,"logger":"controller-runtime.source","msg":"if kind is a CRD, it should be installed before calling Start","kind":"APIService.apiregistration.k8s.io","error":"no matches for kind \"APIService\" in version \"apiregistration.k8s.io/v1beta1\"","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/go/pkg/mod/github.com/go-logr/zapr@v0.2.0/zapr.go:132\nsigs.k8s.io/controller-runtime/pkg/source.(*Kind).Start\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.7.0/pkg/source/source.go:117\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.7.0/pkg/internal/controller/controller.go:159\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.7.0/pkg/internal/controller/controller.go:205\nsigs.k8s.io/controller-runtime/pkg/manager.(*controllerManager).startRunnable.func1\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.7.0/pkg/manager/internal.go:691"}
{"level":"error","ts":1625755027.8686714,"logger":"setup","msg":"problem running manager","error":"no matches for kind \"APIService\" in version \"apiregistration.k8s.io/v1beta1\"","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/go/pkg/mod/github.com/go-logr/zapr@v0.2.0/zapr.go:132\nmain.main\n\t/go/src/github.com/tigera/operator/main.go:228\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:204"}```

I see the root cause...
APIService
The apiregistration.k8s.io/v1beta1 API version of APIService will no longer be served in v1.22.

Migrate manifests and API clients to use the apiregistration.k8s.io/v1 API version, available since v1.10.
All existing persisted objects are accessible via the new API
No notable changes

sounds like this is fixed on master though

Using the v1 of apiregistration has been in the operator since v1.18. This is also available in a Calico release v3.20 with operator v1.20 which was released a few days ago.


Update to cross-link to the problems this article is solving

Simple cross-link
AFTER YOUR PR HAS BEEN CREATED, expand this section for tips and additional instructions.
These are common guidelines for contributions across the repos managed by the Cloud Architecture Content Team (CACT). Some repositories may have additional specific requirements that are not listed here.
Guidance for all contributors

Topic
Guidance

Draft PR
If your PR will be a work-in-progress for more than a day or two, select the Convert to draft link in the upper right of the page (under Reviewers) to change it to a draft. For future reference, you can also do this using the Create pull request button drop-down during PR creation.

ms.date metadata
Don't update an article's "ms.date" metadata property unless you've done a full freshness review of the content. A full freshness review includes changes required to correct or improve the full technical accuracy of the article.Don't update "ms.date" if you're doing targeted changes to improve non-technical aspects of the article, such as editorial quality, art improvements, article template alignment, etc.If you've changed any "ms.date" properties for work that wasn't part of full review for freshness, please reset them to their previous value.

Placement and linking
If you're creating a new article or articles, include updates to the related TOC.yml file to propose where the article(s) should be placed. Also consider other places within the document set where it would be beneficial to cross-reference and link to your new article(s).

PR build
After you open your PR, and for each successive commit that you push to your branch, the publishing platform will run validation on the files in your pull request. A summary of the build results for each file will be inserted inline into your pull request, which includes any build suggestions/warnings/errors. PRs cannot be merged until all build errors and most warnings are resolved.

Publishing
Following a successful merge, most repos publish to the live site at least once per (business) day, usually around 10am Pacific.

Additional resources
Learn.Microsoft.Com contributor guide

Additional guidance for private repos and internal contributors

Topic
Guidance

PR size
If your PR is more than ~5 lines of changes, or you'd like for the changes to go through editorial or larger review, open a contribution request at https://aka.ms/Contribution and include a link to the PR in response #8. Once it's processed, you'll be notified of the next steps.

PR title prefix
Select the Edit button to the right of the PR title if you need to revise it. The following prefixes are reserved for specific contribution types:[Quality Check] - maintenance work related to content quality (edit passes, art improvements, template alignment)[LinkFix] - recurring/adhoc PRs to correct link URLs[Pipeline] - new/updated contributor success pipeline content[WIP] - a work-in-progress draft requiring several days/weeks

PR preview
Following successful build of your PR, publishable files will also include Preview URL links to staged previews of your new/updated articles. Be sure to review these for verification of your intended contributions, or to send to other internal contributors for review.

PR sign-off (public repo)
If an article you own is updated in a public repo PR, you are responsible for sign-off. You will be automatically notified via email. The PR will not be merged until you've had a chance to review and sign-off.

PR sign-off (private repo)
After you've completed your proposed changes, addressed build warnings, and completed all review work, you can begin the sign-off process for review and merge:If your PR is in draft mode, remove "[WIP]" from the title and select Ready for review button at the bottom of the PR.Enter "#sign-off" in a new comment. This comment indicates that you're confident the work meets or exceeds Microsoft's standards for publication, and will trigger the review process.Your PR may be selected for initial review by the CACT. Following CACT review, you may receive questions or requests for additional changes. You should have initial feedback from CACT review within a few business days. If you have an urgent request or need to contact the team, please mention @MicrosoftDocs/cloud-architecture-content-team-pr-reviewers in your PR and someone will get back to you. After CACT review is complete, a CACT #sign-off will be added.Final review/merge is done by the PR review team. The PR team may also respond with feedback, categorized as "Blocking" (requires action from you), or "Non-blocking" (to be addressed in a future PR).

Additional resources
Learn.Microsoft.Com internal contributor guideAuthoring templates: architecture-center-pr, well-architected-prTo contact the CACT use e-mail, or @mention our GitHub team in your PR comments using: @MicrosoftDocs/cloud-architecture-content-team-pr-reviewers

@v-albemi @mSarts @cdennig - can you review?

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

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

@v-albemi @mSarts @cdennig - can you review?
fyi: @BryanLa @martinekuan

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

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

Thanks @Jak-MS. The changes look fine to me, but I'd like @cdennig to review/approve.

Hi @udidahan,
thank you very much for the addition. TBH, I would add the reference/link to the "Next steps" section and mention that idempotency is an important part of handling messages reliably in the "Considerations" section. A large part therefor needs to be done on the receiving/consuming side - and we don't talk much about that in the article.
Putting it in the introduction section might imply that this article is about how to achieve idempotency. The transactional outbox pattern can be one part of it, but it's not the whole story.
Anyway, really appreciate your addition!
Thanks,
Christian

Hi @udidahan,
thank you very much for the addition. TBH, I would add the reference/link to the "Next steps" section and mention that idempotency is an important part of handling messages reliably in the "Considerations" section. A large part therefor needs to be done on the receiving/consuming side - and we don't talk much about that in the article.
Putting it in the introduction section might imply that this article is about how to achieve idempotency. The transactional outbox pattern can be one part of it, but it's not the whole story.
Anyway, really appreciate your addition!
Thanks, Christian

Thanks Christian.
@udidahan - let us know when you've pushed the revisions and we can sign-off for merge. Thanks for your contribution!

Let me see if I can improve this a bit more. Thanks.

CACT #sign-off

Looks good to me now! Thanks, @udidahan
#sign-off

Much appreciated. Thanks everyone!

Hi @udidahan
In an earlier comment you suggested that you might work on this PR more. Is it ready for merge now?
Thanks.

@Court72 I think I'll do this other changes in a different PR later.
Happy to see this merged as-is.
Thank you.


Update bug report template

Per https://github.com/ipfs-shipyard/ipfs-webui/issues/1665, make instructions for logs clearer for Linux users who don't see a system tray menu.

@lidel -- do you mind a quick look? Cribbed the Linux logs location from notes in https://github.com/ipfs-shipyard/ipfs-webui/issues/1665 but am not sure if that's actually correct.

@lidel That's exactly what I was looking for, thanks!


Add implementations for Nicira Extension: TLVMap and NXController

tlv-map is used to set Geneve header. Add Nicira extension messages to
get or modify tlv-map.
Add implementations to support Nicira extension: Set_Controller_ID and
NXController.
Rename BundleError as VendorError.
Expand VendorHeader to support adding Vendor data in the message.
Use VendorHeader to send Bundle messages.
Expose data in Uint32Message and Uint16Message as public.

Please address the test failures and then I'll review.

Please address the test failures and then I'll review.

Sure, I will update the failure.

Hi @jojimt , I have updated to fix the check failure, could you help give a review?


Add injector POC module to NPM

@chillu are you happy for us to publish this as silverstripe/injector.js on npm i.e. under the silverstripe namespace?

Yep, that's fine. Just ensure it has a BSD license, and maybe don't pretend that it's a stable 1.x release just yet :)

https://www.npmjs.com/package/@silverstripe/react-injector


containers: work around centos 8 stream getting archived

The centos 8 stream distribution is now EOL and the yum repo mirrors are now offline. However, our CI is designed to test older released versions of ceph where the container images are still using centos 8 stream. Borrow and adapt a line from the ceph-csi project in order to use the centos 8 archives (vault) until either we stop testing these versions of ceph or the ceph project changes the base distro for these release versions.
Infra only change

I observe that the jobs that were failing yesterday have gotten past the package updates and were actually running the go test suites. Therefore I think the workaround is functioning as intended.


Debian package name

Debian package (.deb) is not installable due to a non accepted pacakage name.
Seems that you placed the package description in the package name value, spaces are not accepted.

thanks a lot for this feedback, all got fixed with 8ebbf7c09214c847bab4ec04c93f449d87ae2ea5 let me know if this works now better for you.
Sincerely,
-- Pere