Registering progress handler for token rustAnalyzer/startup failed.

I've tried to use the rust-analyzer extension in VSCode for a while now, but I get following error. I am on Manjaro Linux and the OSS version of VSCode.
[Error - 8:16:53 AM] Registering progress handler for token rustAnalyzer/startup failed.
Error: Progress handler for token rustAnalyzer/startup already registered
at Object.onProgress (/home/user/.vscode-oss/extensions/rust-lang.rust-0.7.8/node_modules/vscode-jsonrpc/lib/main.js:769:23)
at LanguageClient.onProgress (/home/user/.vscode-oss/extensions/rust-lang.rust-0.7.8/node_modules/vscode-languageclient/lib/client.js:1842:45)
at new ProgressPart (/home/user/.vscode-oss/extensions/rust-lang.rust-0.7.8/node_modules/vscode-languageclient/lib/progressPart.js:15:41)
at createHandler (/home/user/.vscode-oss/extensions/rust-lang.rust-0.7.8/node_modules/vscode-languageclient/lib/progress.js:25:13)
at handleRequest (/home/user/.vscode-oss/extensions/rust-lang.rust-0.7.8/node_modules/vscode-jsonrpc/lib/main.js:380:27)
at processMessageQueue (/home/user/.vscode-oss/extensions/rust-lang.rust-0.7.8/node_modules/vscode-jsonrpc/lib/main.js:270:17)
at Immediate._onImmediate (/home/user/.vscode-oss/extensions/rust-lang.rust-0.7.8/node_modules/vscode-jsonrpc/lib/main.js:260:13)
at processImmediate (internal/timers.js:439:21)

I'm seeing the same on Windows after switching vscode from rust-analyzer to Rust

Same here.

@Count-Count Not sure how I eventually blasted past this. Perhaps rustup default stable then remove all related plugins, then start again?

@paulirotta are you saying this happens with the Rust extension, but not with Rust Analyzer?

@lnicola I'm saying my environment got screwed up somehow while trying to transition to the Rust extension, around the same time I was forced to start using Rust nightly. I eventually got back to a working system by cleaning local files (I think the inital rust-analyzer plugin uninstall with nightly was where something did not complete correctly/recover gracefully), using stable Rust and re-installing rust-analyzer not Rust extension. Then I stopped.

This happens with Rust Extension + Rust Analyzer in VSCode on Windows:
[Error - 16:58:56] Registering progress handler for token rustAnalyzer/startup failed. Error: Progress handler for token rustAnalyzer/startup already registered 	at Object.onProgress (c:\Users\hans\.vscode\extensions\rust-lang.rust-0.7.8\node_modules\vscode-jsonrpc\lib\main.js:769:23) 	at LanguageClient.onProgress (c:\Users\hans\.vscode\extensions\rust-lang.rust-0.7.8\node_modules\vscode-languageclient\lib\client.js:1842:45) 	at new ProgressPart (c:\Users\hans\.vscode\extensions\rust-lang.rust-0.7.8\node_modules\vscode-languageclient\lib\progressPart.js:15:41) 	at createHandler (c:\Users\hans\.vscode\extensions\rust-lang.rust-0.7.8\node_modules\vscode-languageclient\lib\progress.js:25:13) 	at handleRequest (c:\Users\hans\.vscode\extensions\rust-lang.rust-0.7.8\node_modules\vscode-jsonrpc\lib\main.js:380:27) 	at processMessageQueue (c:\Users\hans\.vscode\extensions\rust-lang.rust-0.7.8\node_modules\vscode-jsonrpc\lib\main.js:270:17) 	at Immediate._onImmediate (c:\Users\hans\.vscode\extensions\rust-lang.rust-0.7.8\node_modules\vscode-jsonrpc\lib\main.js:260:13) 	at processImmediate (internal/timers.js:439:21) [ERROR rust_analyzer::main_loop] overly long loop turn: 158.6329ms

Are you using both Code extensions, or the Rust extension with the experimental rust-analyzer support?

I had both extension installed and enabled, "Rust-Client: Engine" in the settings is set to "rust-analyzer".
I just uninstalled the rust-analyzer extension, restarted, and the error message is still appears shortly after startup in the "Rust analyzer" Output window.

I encountered the bug on Windows with rust-analyser installed and activated and Rust extension installed and disabled.
I deinstalled the Rust extension, reloaded the window and things are back to normal since.

This is a vscode-rust issue, closing. We now warn against using both extensions at once.

This is a vscode-rust issue, closing. We now warn against using both extensions at once.


Hardcoded vtk library don't match actual libraries

Describe the bug
vtk-8.2 libraries are installed with suffix -8.2, for example /usr/local/lib/vtk-8.2/libvtkCommonCore-8.2.so but Visit just looks for hardcoded names, like vtkCommonCore, and fails to find them.
Please use cmake scriptipts to find Vtk library names.

It would be helpful if you could explain in what scenario VisIt is looking for simply 'vtkCommonCore'.
How are you attempting to build VisIt? If using our CMake build system, what options are you setting?
We use CMake's find_package to find VTK itself, specifying the components needed (eg vtkCommonCore). When it is time for installing vtk libraries with VisIt, we take the component names and add the correct prefix/suffix  for the system where we are building, using the version number as well.  eg on linux:  vtkCommonCore becomes:
/path/to/libvtkCommonCore-${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION}.so
Could it be that in whatever build scenario you are using the VTK version hasn't been set?
Please note that attempting to use VTK-8.2 with VisIt 3.x series may require VisIt source code changes. IIRC there were api changes between 8.1 and 8.2 that may cause compile errors.  VisIt 3.x supports VTK-8.1.


[REQUEST] rip tumblr archives

any chance of adding the ability to rip tumblr archives?? to be more specific, rip by post types such as only videos or images? i often rip tumblr pages just for videos that are huge and end up deleting most of content because its stuff i dont want like images.

I'm closing this as a dupe of #198


How to add drawer items dynamically?

Hi,
I want to dynamically add list of items  from internet to drawer. How can i add items dynamically?
Thanks.

You can add drawer items to the drawer anytime as usual.
Just call drawer.addItem(). There shouldn't be any problem with adding drawer items after the first layout run.


[ja] Delete Localization READMEs section in localized README

Description
ref. https://github.com/kubernetes/website/pull/47763#issuecomment-2400322169

Delete Localization READMEs section in localized README

Now, these links don't work well

/kind cleanup
/approve
Issue

Closes: #

ありがとうございます、確かにそうですね。。
fd26d78 で削除しました！
/cc t-inu


repl: Support cross-session history

Linenoise had all the tools already to support this, the problem (and i could very well have solved it in a less than ideal way) is that the history is stored in a static vector.  Being as we have to interact with the history in different points of the app (ie, load the history on startup / save it on exit / etc) these are all in different files, and when doing so the history would be empty.
Wrapping everything to have a single linenoise include, "solves" this problem, and history now works as expected.
It will save a .opengoal.repl.history file in your (linux) $HOME or (windows) $USERPROFILE directory.

Pull Request Test Coverage Report for Build 616358995

3 of 24 (12.5%)  changed or added relevant lines in 5 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 69.051%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

goalc/compiler/compilation/CompilerControl.cpp
0
1
0.0%

goalc/main.cpp
0
1
0.0%

common/goos/Reader.cpp
1
3
33.33%

common/util/FileUtil.cpp
0
3
0.0%

common/goos/ReplHistory.cpp
2
16
12.5%

Files with Coverage Reduction
New Missed Lines
%

goalc/compiler/compilation/CompilerControl.cpp
1
48.4%

Totals

Change from base Build 615022921:
-0.03%

Covered Lines:
30948

Relevant Lines:
44819

💛  - Coveralls

This is awesome, it makes such a difference to have the history saved.
The static history is really annoying, but I think your wrapper is a good solution.


docs: avoid absolute links to docs + verify with script

Ensures that all links stay on the doc site. Depends on #1908

Realized this is safe to merge since this in not where the blog is being deployed from anyway :grin:


[android] Fix applicationId to com.example

This was causing an "error type 3" when attempting to do npm run android

Does any other open PR do the same thing?

n/a
What issue is this PR fixing?
n/a
How did you test this PR?

Android
Simply do npm run android after installing the required dependencies

Hey @marqroldan @christopherdro This change seems to be breaking the example app. Likely because the package name is used to restrict the usage of the API key. When using this new applicationId the example app maps are blank, but when using the older one it works.

@isidoro98 yea you’ll have to update the package name that’s restricted or turn it off. The change in this PR was required for me as well to get the example app to run

@isidoro98 yea you’ll have to update the package name that’s restricted or turn it off. The change in this PR was required for me as well to get the example app to run

Shouldn't this be added to the example app readme? So that anyone trying to run it can change it for it to work?


v0.11: dependency on containerd/cgroups was accidentally rolled back from v3 to v1?

https://github.com/microsoft/hcsshim/blob/v0.10.0/go.mod#L11
github.com/containerd/cgroups/v3 v3.0.2

https://github.com/microsoft/hcsshim/blob/v0.11.0/go.mod#L10
github.com/containerd/console v1.0.3

Was this rolled back by an accident?
I also wonder why this change doesn't show up in https://github.com/microsoft/hcsshim/compare/v0.10.0...v0.11.0

I see v0.11.0 (750e11bf07440fd1581413bdc1fc7731fa2d6d64) as one commit ahead of v0.10.0-rc.8 (8fa2489ff65feba90a32e7bee6e9eea2d79957d3 from 2023-05-04 23:57:01), about 60 commits behind v0.10.0.
And there is some explanation in the release notes of https://github.com/microsoft/hcsshim/releases/tag/v0.10.0 / https://github.com/microsoft/hcsshim/releases/tag/v0.11.0 , so it seems to be intentional.

Thank you for the answer


Documentation: How to update Zephyr itself (with west)

Current state
Currently, the "Getting started Guide" only mentions the initial fetch of Zephyr with west init / west update. The "Beyond the Getting Started Guide" briefly mentions that

The west update command fetches and keeps Modules (External projects) in the zephyrproject folder in sync with the code in the local zephyr repo.

Suggestion
I'd actually like the documentation making it more explicit "How to update Zephyr". Something along the lines of

Running west update doesn't actually update Zephyr. It only keeps the modules in a known state (as specified by the West manifest file.)
To actually update Zephyr.
cd <base>/zephyrproject/zephyr, followed by a git pull.
After that, run west update [...]

@dueringa perhaps you would consider sending a Pull Request against the corresponding .rst files in doc/?

@carlescufi I can do that. Just wanted to check if my understanding was correct, first


Global Hash creates multiple global tags in the config

Rather than passing all the values in the global hash inside the global tag it creates a global tag per entry in the syslog config file.
rsyslog::server::global_config:
  umask:
    value: '0000'
    type: legacy
    priority: 01
  RepeatedMsgReduction:
    value: 'on'
    type: legacy
  PrivDropToUser:
    value: 'syslog'
    type: legacy
  PrivDropToGroup:
    value: 'syslog'
    type: legacy
  parser.escapeControlCharactersOnReceive:
    value: 'on'
  workDirectory:
    value: '/var/spool/rsyslog'
  maxMessageSize:
    value: '64k'

the above code produces content like below
$PrivDropToGroup syslog
$PrivDropToUser syslog
$RepeatedMsgReduction on
global (
  maxMessageSize="64k"
)
global (
  parser.escapeControlCharactersOnReceive="on"
)
global (
  workDirectory="/var/spool/rsyslog"
)
$umask 0000

but it should be like this
$PrivDropToGroup syslog
$PrivDropToUser syslog
$RepeatedMsgReduction on
global (
  maxMessageSize="64k"
  parser.escapeControlCharactersOnReceive="on"
  workDirectory="/var/spool/rsyslog"
)
$umask 0000

I agree this is aesthetically nicer and we should do it, but to be clear, these two examples are functionality wise identical no?

when I tested with either in one global block or multiple global block, syntax wise I didn't see any issues and rsyslog syntax check passes fine. Grouping all the global directives under one block is something I've seen it in multiple places for example: look at the bottom of the rsyslog mailing list thread http://lists.adiscon.net/pipermail/rsyslog/2015-August/041050.html My understanding is all the global parameters available here http://www.rsyslog.com/doc/v8-stable/rainerscript/global.html under one global block.

This pull request https://github.com/crayfishx/puppet-rsyslog/pull/13 should fix this issue


[BUTTON IDEA]: Pay with buttons

1. Name of button: Pay with (icons)
2. Description: We can add a new category for Pay with / Continue with buttons.
e.g. Pay with (Gpay icon), Pay with (Paypal icon).
3. Button Type (Animated, Special, etc...): Payment Buttons
4. Will you work on it?: Yes, I want to work on it

Can I work on this issue?

That's a good idea @RajMhatre20 . Yes, I think it's best to add it as a new button type.
How about you start by creating the new type and adding one button of your choice in it. Try to use the Social buttons as a template on how to create a new button type.
Once that is done, @sid-khuntwal you can then add new buttons if you want under this new type.

sure!

Hello @sid-khuntwal the payment button types has now been added. If you have an idea for a button to go into this category please submit a new issue with it and once approved and assigned you can work on it.

Hello @sid-khuntwal, I've created a new issue with button ideas. If you want you can work on it.

I am on it  @RajMhatre20


"Go to definition" on module takes you to init.py instead of actual module

Environment data

VS Code version: 1.29.1
Extension version (available under the Extensions sidebar): 2018.11.0
OS and version: Windows 10 64-bit
Python version (& distribution if applicable, e.g. Anaconda): Conda 3.7.1
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
Relevant/affected Python packages and their versions: None

Actual behavior
"Go to definition" on module takes me to __init__.py rather than the module I actually selected.
Expected  behavior
"Go to definition" on module takes me to the module I selected.
Steps to reproduce:
Using the jedi language engine:

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
# there is no output, as seen in the screencap above

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)
# there is no output, as seen in the screencap above

@fredrikaverpil thanks for the report.
Could you please try the new Python Language Server and let us know if the behaviour persists? You can do this by going into settings (Ctrl+,) and unchecking Python: Jedi Enabled, then reload VSCode.

Hey @d3r3kk
When I enable the MS Python Language Server it's actually even worse. Now I can't even go to the definition of the hello function, which works if using jedi. See screenshots when I attempt the "gotodef" for both the module and the function, both resulting in "No definition found for 'hello'".

@DonJayamanne I started putting together a PR to upgrade to the latest version of Jedi and parso to fix this issue, but even with the new versions, I am still able to reproduce the bug (in VSCode 1.31.0 as well as the insiders build). It's the issue shown in @fredrikaverpil's gif above.

Is this still an issue for anyone?

@brettcannon I cannot reproduce this anymore in vscode 1.41.1. To me, this issue seems completely fixed. I've tested the same case as above with both jedi and the python language server! 👍 🎉


Plain ReadFileOp

Create a new source operator that reads a file line by line without any parsing. It leaves parsing to the user (possibly attached with python udf).

Discussion 1/13: low priority, closed for now


[QUESTION] Cookies or Session states cleared/reset when link clicked?

Question
I'm using ProxMox, and everytime a link, via Dashy is opened, that link requires a new login session, even though I might have (or had) a logged in session running (that USUALLY works in Brave/Firefox when I opened a 2nd/3rd session or re-open a tab/window for with the site URL)
Is it a setting I need to check on Dashy side that would "preserve" the previous sessions?
Category
Configuration
Please tick the boxes

[X] You are using a supported version of Dashy (check the first two digits of the version number)
[X] You've checked that this question hasn't already been raised
[X] You've checked the docs and troubleshooting guide
[X] You agree to the code of conduct

Hi
There definitely is no setting for that.
I think dashy just links to proxmox, about the same, like manually entering the link.
Although proxmox is quite aggressive with its session releasing, I've noticed a similar behaviour, possibly they lowered the number in proxmox v8, but couldn't find any post about this.
Here an explanation from Proxmox Staff.
https://forum.proxmox.com/threads/proxmox-gui-session-timeout.46583/post-318462
If there is an active session, within an open tab, and you get to proxmox via dashy, is it asking for login or continues the session?

Here is the problem,

Click on the PVE link on my Dashy board
I login,
go back to my Dashy board, and click again (new tab)
need to log in again

BUT I then copy paste the PVE link(s) in the same browser in a different tab, I'm "in" without needing to login.
THAT is why I asked and wondered about Dashy's work flow that might be triggering it.

Yeah that definitely shouldn't be the case, can you send your conf.yml

Anonimized version: dash.conf.yml

I've just tested this, and for me opening a new tab of proxmox normally, through the url, proxmox asks me again for login credentials, this is really not something that's related to dashy, dashy is basically just linking you to the url, you provided, there's no way, dashy could manipulate, disable or enabled cookies on you proxmox website.
If there's nothing else, I think this can be closed, as this is an external problem with Proxmox

No,  I've just tested on Brave, macOS, the following:
Dashy -> PVE new tab -> asks login -> login -> go to dashy -> PVE new tab -> asks login -> login (rinse repeat)
copy URL from PVE above
Alt-T (New tab) -> paste -> PVE without login -> Alt-T(New Tab) -> paste -> PVE without login (rinse repeat) -> Dashy -> PVE new tab -> asks for login -> don't login -> Alt Tab (new Tab) -> paste -> PVE asks login -> login -> Alt-T(new tab) -> paste -> PVE doesn't ask login
Thus EVERY TIME I use Dashy to go to a PVE, that environment gets a clearing of sorts, and thus I need to login.
If I DON'T open via Dashy, but new tab and paste the URL, then (if I recently logged in) the session doesn't require logins.
Thus, Dashy does something, in some way, that does trigger the clearing, and THAT is what I'd like to know what could be the reason.
I don't say it's a bug, but knowing the reason, would make it have the win to understand and (re)design my work flows around it,

edit: I noticed, when directly accessing proxmox without reverse proxy, the session seems to be kept alive, maybe you need to provide the direct ip inside dashy.

hmm... I am directly accessing them, how/where do you believe I reverse proxy?

I thought due to domains names being used in the config it was a reverse proxy, but just seen the port numbers, so probably only dns names.
Also seen, that your config still hast some weird quirks of dashy's past:
    filteredItems:
      - *ref_0
      - *ref_1
      - *ref_2
      - *ref_3
      - *ref_4
      - *ref_5

That leads me to believe, you're running a heavily outdated instance of dashy?

That leads me to believe, you're running a heavily outdated instance of dashy?

I followed the Netlify instructions

Only thing I could possibly think of is if you're using mixed protocols (like Dashy on https but your service on http, or visa versa). Or if Dashy is sending over some reffer data that conflicts with what the service is expecting. If that's the reason, I've added the no-refer meta tag (in https://github.com/Lissy93/dashy/commit/768d746cbfcf365c58ad1194c5ccc74c14f3ed3a), so you can try again with the latest version?
But beyond that, there wouldn't be any reason why session or cookie states shouldn't be preserved when visiting from Dashy. Dashy can only ever set, modify or delete session data from it's own domain, and so it wouldn't ever affect other apps.
You could debug this further by looking at the target app under the Storage tab in the dev tools, and checking if the required data is there in either session or normal cookies.


Add entrance type for all Bookable objects.

Someone please check if this is the right way of doing this 😅
Also, is there any way to test or confirm it is done properly?

Yep, looks good 👍
We currently don't have a way to test this - I guess we could create a TS project that renders a chart, and in which we reference properties such entrance.

Gotcha. Thanks!


Form validation

[ ] This pull request is to add validation patterns to the form.

Hi @Azonkeu 👋,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


In calls, all audio is routed into the top speaker. My Bluetooth earphones with mic that I use to answer normal calls stop working during riot calls. I haven't tested with normal earphones but I doubt it's different.

reported by @Ace:matrix.org
https://github.com/matrix-org/riot-android-rageshakes/issues/768

Have same issue. I have a Parrot Zik connected in BT but when I receive a call, to goes to the phone speaker.


Questions about the experiments details

Hi, thanks for sharing the source code.

In Table 2, are these reported numbers the results of the test split or the validation split?
In Table 2, for the RoBbase (LoRA) on the RTE task, the reported result is 86.6, is this a typo? cause it is even much higher than the full-tuning results (delta = 7.9).

Thanks for your questions.

I believe these are validation numbers since the test set is not public. That is also done by prior work.
Nope, that's not a typo. You can verify it with our checkpoint :)

Wow, thanks for your quick response (wink~). I got two more questions.

If I understand correctly, in table 2, the numbers of BitFit are taken from the original papers, but actually, there are some numbers I can not find in the original paper. For example, you mentioned the RoBbase (BitFit) on MRPC task results in 92.7, but I think the original paper reported this number as 92.0 in their Table 2. Could you specify more details about this?
Do you fine-tune the bias terms? cause, I understand you don't require gradients for the weight, but I did not see you turn off this for bias terms.

https://github.com/microsoft/LoRA/blob/33b953630763c6299d2349abc8f154a3951a7984/loralib/layers.py#L116

You are right. I can't remember where we got 92.7, and it should be 92.0.
Yes, the bias term is learnable here, even though it is not in the code used in our experiments. This seems to be a good idea in practice and has a minimal overhead. The checkpointing utility functions should take care of saving/loading biases. Please let me know if you encounter any issues :)

Thanks~


can't modify frozen String

After adding # frozen_string_literal: true magic comment to my rails app(ruby files), the below exception on hook call is raised:

Failure/Error: Premailer::Rails::Hook.perform(mail)
     FrozenError:
       can't modify frozen String
     # /usr/local/bundle/gems/premailer-rails-1.10.3/lib/premailer/rails/css_helper.rb:53:in `force_encoding'
     # /usr/local/bundle/gems/premailer-rails-1.10.3/lib/premailer/rails/css_helper.rb:53:in `block in load_css'
     # /usr/local/bundle/gems/premailer-rails-1.10.3/lib/premailer/rails/css_helper.rb:46:in `each'
     # /usr/local/bundle/gems/premailer-rails-1.10.3/lib/premailer/rails/css_helper.rb:46:in `load_css'
     # /usr/local/bundle/gems/premailer-rails-1.10.3/lib/premailer/rails/css_helper.rb:20:in `css_for_url'
     # /usr/local/bundle/gems/premailer-rails-1.10.3/lib/premailer/rails/css_helper.rb:13:in `block in css_for_doc'
     # /usr/local/bundle/gems/premailer-rails-1.10.3/lib/premailer/rails/css_helper.rb:13:in `map'
     # /usr/local/bundle/gems/premailer-rails-1.10.3/lib/premailer/rails/css_helper.rb:13:in `css_for_doc'
     # /usr/local/bundle/gems/premailer-rails-1.10.3/lib/premailer/rails/customized_premailer.rb:14:in `initialize'
     # /usr/local/bundle/gems/premailer-rails-1.10.3/lib/premailer/rails/hook.rb:97:in `new'
     # /usr/local/bundle/gems/premailer-rails-1.10.3/lib/premailer/rails/hook.rb:97:in `premailer'
     # /usr/local/bundle/gems/premailer-rails-1.10.3/lib/premailer/rails/hook.rb:86:in `generate_text_part'
     # /usr/local/bundle/gems/premailer-rails-1.10.3/lib/premailer/rails/hook.rb:62:in `generate_alternative_part'
     # /usr/local/bundle/gems/premailer-rails-1.10.3/lib/premailer/rails/hook.rb:50:in `generate_html_part_replacement'
     # /usr/local/bundle/gems/premailer-rails-1.10.3/lib/premailer/rails/hook.rb:24:in `perform'
     # /usr/local/bundle/gems/premailer-rails-1.10.3/lib/premailer/rails/hook.rb:8:in `perform'
...

Not sure why we have this force_encoding. I think we don't need this anymore in newer Ruby versions, so I'll just strip it.

@fphilipe
Thanks for the fix. When it will be released?

I'm waiting for some feedback on #240 as #248 should address that. If I don't hear anything in the next few days, I'll make a new release regardless.
In the meantime, you can point to the repo inside your Gemfile.

Agree, would be good to release this, took a while to track down the fix.  For those looking, here's a line for your Gemfile in the meantime:
gem "premailer-rails", github: "fphilipe/premailer-rails", ref: "7202a851ded4687edafca75ee9740dd86c43d96e" # until version >1.10.3 released


Theme: community selection modal styling

closes https://github.com/inveniosoftware/invenio-app-rdm/issues/1250

@NRodriguezcuellar Does it require a release of react-invenio-deposit?

@NRodriguezcuellar Does it require a release of react-invenio-deposit?

It does not 🙂


Email requests using unverified email address in from field are not thrown

Subject of the issue
I used the Node SDK package resend to send my first email. Upon using an unverified domain in the from field, my request seemed to go OK (promise was not rejected). When I went to the dashboard, I discovered the request was rejected with status code 403:

That's a valid point, however, why did the Promise not throw an appropriate error?
Steps to reproduce

Create Resend account
Install resend NPM package
Send an email in Node.js using an unverified domain name in the from field

Expected behaviour
The promise should be rejected on 403 status codes..
Actual behaviour
No errors being thrown.

Hey @OussamaFadlaoui, would you mind sharing the request you're sending?

@bukinoshita - an example I can give to back up @OussamaFadlaoui 's example is this
let data;
    try {
        data = await resend.emails.send({
            from<EMAIL_ADDRESS>    //this is wrong on purpose to throw an error
            to<EMAIL_ADDRESS>            subject: 'Message from cv-site-nextjs',
            reply_to: senderEmail as string,
            react: React.createElement(ContactFormEmail,
                {
                    senderMessage: senderMessage as string,
                    senderEmail: senderEmail as string
                }),
        });
        //interrogation required to check for error
        if(data.error?.message !== null)
            {
                throw data.error;
            }
    } catch (error: unknown) {
        return {
            error: getErrorMessage(error),
        };
    }

You'll see I have had to interrogate the data object to pull out the child error object with the below
 if(data.error?.message !== null)
  {
      throw data.error;
  }

as I do not hit the catch block even though the following error is displayed on the UI

hey there, in the latest versions of the SDK basically all methods should always return correctly and not throw any errors, we do that so in your codebase you don't have to wrap our code in a try/catch method.
if the requests fail for any reason, our SDK will return a populated error object with some description of what happened.
using the example for an unverified domain the error object will be like:
{
  statusCode: 403,
  message: 'The test.com domain is not verified. Please, add and verify your domain on https://resend.com/domains',
  name: 'validation_error'
}

please let us know if the issue still persists and feel free to reopen it in here 🙏

hey there, in the latest versions of the SDK basically all methods should always return correctly and not throw any errors, we do that so in your codebase you don't have to wrap our code in a try/catch method.
if the requests fail for any reason, our SDK will return a populated error object with some description of what happened.
using the example for an unverified domain the error object will be like:
{
  statusCode: 403,
  message: 'The test.com domain is not verified. Please, add and verify your domain on https://resend.com/domains',
  name: 'validation_error'
}

please let us know if the issue still persists and feel free to reopen it in here 🙏

Obviously this is not my library, but I still want to say that having tries and catches all over code does not take away from the quality of a library. In fact, it is the proper way of handling errors. After all, this library is performing a promise, and promises are expected to either resolve or reject
Therefore I find the reasons for this design decision to be a bit odd and steering away from the traditional way of using promises in third party libraries.


Are there any more effective way can discover a group of services by tag?

I have a project need to discover a group of services that play the same role from Consul.
And I found spring-cloud-consul support Consul tags, so I want to tag them and then use DiscoveryClient or ConsulDiscoveryClient to get them.
But I can't find any method can do it easily.
So I write the flow code that used ConsulDiscoveryClient to implement it:
private Set<String> getServicesByTag(String tag) {
	Set<String> serviceIds = new HashSet<>();
	List<ServiceInstance> allInstances = discoveryClient.getAllInstances();
	for (ServiceInstance inst : allInstances) {
		if (inst.getMetadata().containsKey(tag)) {
			serviceIds.add(inst.getServiceId());
		}
	}
	return serviceIds;
}

// Main method
public void sendMsg2EveryStation(String message){
	 Set<String> serviceIds = getServicesByTag("stationAgent");
	 for (String sid : serviceIds) {
		 ServiceInstance si = loadBalancer.choose(sid);
		 // Use ServiceInstance do something...
	}
}

Are there any more effective way can do it?

Not currently.

I got it, thank you all the same.


guidelines for contributing

when create a new issue, the link goes to the Contributors list, it should go to best practices, style guide,  norms and other standards.
Something like this: https://github.com/FreeCodeCamp/FreeCodeCamp/blob/staging/CONTRIBUTING.md

You fixed, that right? Now seems to be working like that.

Nop, we need to write down the contributing guide, that is different to the contributors list.
Open a new issue, then click the link "Please review the guidelines for contributing to this repository."


add support for ARM_integer_dot_product

FYI @kpet

@rjodinchr I might be missing a detail here, any particular reason (performance or functionality) for choosing arm_integer_dot_product vs khr_integer_dot_product extension?

I was going to ask the same question as Pavan :).

The application is using arm_dot, not dot

I've had support for khr_integer_dot_product.


Context propagation throughout the lifetime of Workflow

The server side changes for these are done #1731 and #1793


Can no longer zoom into embedded form

Hi there,
We've noticed that we can no longer use standard gestures (or any other method, for that matter) to zoom into our embedded forms. Additionally, when clicking the Next Field button, the page is no longer directed to and zoomed in for that field.
Was this behavior change intended?
Our implementation hasn't changed in a year. Is it possible to test with previous versions of the SDK? I've tried all reasonable modifications to https://s3.amazonaws.com/cdn.hellosign.com/public/js/hellosign-embedded.LATEST.min.js but haven't found anything that works.
Thanks
--Ben

Hi Alex,
I feel like I’m not in on the joke here… this used to work, and you guys broke it. Is there at least a previous version of the library we can use? Dropbox Support gave me a very poor reply that clearly doesn’t even realize I am current customer (see below). In any case, if you guys can’t get it together, looks like you’ve got some competitors who have.
Email from support:

Hi Ben,
Thanks for writing in today, and for your interest in our API.
After checking with the engineering team, we were informed that they are actively working on refactoring this case for the mobile devices. That said, while we cannot confirm a specific date, we can share that updates are generally looked at within a few months.
To better assist you, we wanted to ask you some additional questions.
Are you planning on using non-embedded or embedded signing with your workflow?
Approximately how many signatures per month do you think you will be needing? 50, 150, or 450+?
Could you give us a more detailed idea of your use case?
If you would like a sales person to call you back, please use this link to contact them: Contact HelloSign Sales Department
Are you associated with a business contact or a paid HelloSign.com http://hellosign.com/ Account that we should note in our records? Are you the developer of the project or the business contact or both?

On Jan 30, 2020, at 6:59 PM, Alex McFerron<EMAIL_ADDRESS>wrote:
Thank you for reporting this issue, Ben.
We are in fact aware of this case and actively working on refactoring the signing module for mobile devices.
I've filed a ticket on your behalf in case you have any further question # 10232754. We will let you know when the fix is released. It is being actively developed so while I cannot give an exact time or date, I can tell you the fix is being developed.
Please let me know if you have any additional questions, I'd be happy to help! Just respond to the email you have received for the issue. Or email<EMAIL_ADDRESS><EMAIL_ADDRESS>for further questions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/hellosign/hellosign-embedded/issues/141?email_source=notifications&email_token=AAAXTRAVPOYEDPMF5QMTPADRANSXPA5CNFSM4KN2XLF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKNACZQ#issuecomment-580518246, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAXTRFY6C7EBVOJYSSHPR3RANSXPANCNFSM4KN2XLFQ.

Hi Ben,
Dropbox support is us. It might help if we got on a call? Maybe if you could talk to us face to face? Basically, we know it is broken and we are planning to fix it in the short term.

@hazemhamedhs is going to reachout to you to offer you a link to schedule a call so we can talk this over. I'm sorry that our response was confusing. We were trying to send you the update information that we acknowledge the issue and that we are planning to fix it. We don't give out dates for fixes because it becomes too hard to manage changing dates with releases, but it is acknowledged as an issue that we are planning to fix.

Also, this issue is not with our embedded.js library but rather with our signer page, which is represented in another code base than the one represented on this github repo. So, we should be talking in the dropbox support ticket vs. this git hub repo. Hope this makes sense and also I think a call will go a long way to building up our relationship. We do want to smooth this over. It is the same exact team (dropbox support and those of us answering this github repo)

Hi Alex — thanks for the clarification. Yes I’m aware of the Dropbox acquisition. What really rubbed me quite the wrong way is that they didn’t bother to look up our account, they just asked me prospecting questions.
In any case, I’d love to know if there’s a way I can use an older version of the library until the fix is complete — this is a really big deal for us, as I imagine it is for many of your mobile embedded customers — asking someone to sign something they can’t possibly read is hysterically bad.
Also, from looking at the code, it looks pretty clear that the zooming was disabled on purpose (perhaps because it wasn’t working properly), as the user-scalable property is explicitly set to false in the loading script.
Best
—Ben

On Feb 3, 2020, at 1:48 PM, Alex McFerron<EMAIL_ADDRESS>wrote:
Hi Ben,
Dropbox support is us. It might help if we got on a call? Maybe if you could talk to us face to face? Basically, we know it is broken and we are planning to fix it in the short term.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/hellosign/hellosign-embedded/issues/141?email_source=notifications&email_token=AAAXTRDZCSEMOGUGWUQHD43RBBRIDA5CNFSM4KN2XLF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKU6LDI#issuecomment-581559693, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAXTRETOYCLE3NBBZEGPT3RBBRIDANCNFSM4KN2XLFQ.

I'm not sure if there is but Hazem will know. I'll let him know this is where you are leaning. Thank you for your patience.


fix error codes transmission over BMP file loading steps

It seems that first encountered error code is not transmitted along the loading steps. As an example : file_not_found.

Completed. Validated.
Added method failed to class ErrorStatus and use it now everywhere as needed.
Added functions to get error messages (in English).
Removed unnecessary protected attributes in BMPLoader base class, replaced with public accessor inlined methods.


[Fix](segment compaction) _check_and_set_is_doing_segcompaction shoul…

…d be the last condition
introduced by #33001
Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


compare untitled files: title

VSCode Version: 1.43.0
OS Version: macOS 10.15.3

When I compare two untitled files, it's hard to identify in "open editors" now.

For example : in old version of VScode, the title is "Untitled1 <-> Untitled2", now it's "2".
"Untitled1 <-> Untitled2" or "1 <-> 2" both are OK, but "2" is hard to distinguish from normal editors.

I pushed a fix to restore how the label used to be for diff editors when untitled are involved.


Is there a way to run Jest-Puppeteer just for a select group of tests?

Hello! We do not require a browser for most tests, but the base Jest Test Runner suffices. There are other tests, that require a Browser instance or they will fail. Is there any way to explicitly state which files/tests should use Jest-Puppeteer and have the rest of them use the base Jest Test Runner?
Thanks!

Hello @marcosthejew, I think you can define multiple projects in Jest to handle that.


[ENHANCEMENT] Finalize Manger Page Details

Bios
Team Philosophy
Preferred Contact
Favorite Team
Favorite Player

Got everyone's details finished


include release notes in plugin description

IntelliJ displays the plugin description on update. It's a standard practice to include version update release notes in the plugin description so users see what's changed on updating a plugin.
We should do that.

closed by #667


Unnamed JSON files are unsupported

minecraft: is actually a valid resource location referring to the file at data/minecraft/loot_tables/.json.

minecraft: is actually a valid resource location referring to the file at data/minecraft/loot_tables/.json.

minecraft: (or simply :) is actually a valid resource location referring to the file at data/minecraft/loot_tables/.json.

If that's the case, then I think DHP should provide error and parsing, why not do it intentionally?

minecraft: (or simply :) is actually a valid resource location referring to the file at data/minecraft/loot_tables/.json.

If that's the case, then I think DHP should provide error and parsing, why not do it intentionally?

Oops seems like I misunderstood your issue

Oops seems like I misunderstood your issue

This should be fixed by Misode (code) due to the usage of (.*)\.json.


Optimizer state resets when calling fit method

System information

Have I written custom code (as opposed to using example directory):  Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):  Linux Ubuntu 18.04 LTS
TensorFlow backend (yes / no):  Yes
TensorFlow version:  1.13.2
Keras version:  2.2.4
Python version:  3.6.8
CUDA/cuDNN version:  CUDA V10.0.130 / cuDNN 7
GPU model and memory:  1080 Titan X (12 GB)

Describe the current behavior
When the model is trained epoch by the epoch in a custom loop, it has different behavior in comparison with when the model is trained with just using 'fit' method. In fact, the optimizer state resets every time "fit" is called.
Describe the expected behavior
The expected behavior is to have the same training loss through epochs for both methods.
Code to reproduce the issue
Code 1: using a custom loop:
batch_size = 128
num_classes = 10
epochs = 12

# input image dimensions
img_rows, img_cols = 28, 28

# the data, split between train and test sets
(x_train, y_train), (x_test, y_test) = mnist.load_data()

if K.image_data_format() == 'channels_first':
    x_train = x_train.reshape(x_train.shape[0], 1, img_rows, img_cols)
    x_test = x_test.reshape(x_test.shape[0], 1, img_rows, img_cols)
    input_shape = (1, img_rows, img_cols)
else:
    x_train = x_train.reshape(x_train.shape[0], img_rows, img_cols, 1)
    x_test = x_test.reshape(x_test.shape[0], img_rows, img_cols, 1)
    input_shape = (img_rows, img_cols, 1)

x_train = x_train.astype('float32')
x_test = x_test.astype('float32')
x_train /= 255
x_test /= 255
print('x_train shape:', x_train.shape)
print(x_train.shape[0], 'train samples')
print(x_test.shape[0], 'test samples')

# convert class vectors to binary class matrices
y_train = keras.utils.to_categorical(y_train, num_classes)
y_test = keras.utils.to_categorical(y_test, num_classes)

opt = keras.optimizers.Adam(1e-3)

model = Sequential()
model.add(Conv2D(32, kernel_size=(3, 3),
                 activation='relu',
                 input_shape=input_shape))
model.add(Conv2D(64, (3, 3), activation='relu'))
model.add(MaxPooling2D(pool_size=(2, 2)))
model.add(Dropout(0.25))
model.add(Flatten())
model.add(Dense(128, activation='relu'))
model.add(Dropout(0.5))
model.add(Dense(num_classes, activation='softmax'))

model.load_weights('model.h5')

for i in range(10):

    model.compile(loss=keras.losses.categorical_crossentropy,
                      optimizer=opt,
                      metrics=['accuracy'])

    model.fit(x_train, y_train,
              batch_size=batch_size,
              epochs=i+2,
              verbose=1,
              validation_data=(x_test, y_test), initial_epoch=i+1)

Code 2: using 'fit' for all epochs:
     model.fit(x_train, y_train,               batch_size=batch_size,               epochs=10,               verbose=1,               validation_data=(x_test, y_test))
Other info / logs
Logs for Custom Loop:
Train on 60000 samples, validate on 10000 samples 	Epoch 2/2 	2020-02-05 13:14:32.774853: I tensorflow/stream_executor/dso_loader.cc:152] successfully opened CUDA library libcublas.so.10.0 locally 	60000/60000 [==============================] - 5s 78us/step - loss: 0.2442 - acc: 0.9248 - val_loss: 0.0564 - val_acc: 0.9819 	Train on 60000 samples, validate on 10000 samples 	Epoch 3/3 	60000/60000 [==============================] - 4s 64us/step - loss: 0.0988 - acc: 0.9707 - val_loss: 0.0378 - val_acc: 0.9881 	Train on 60000 samples, validate on 10000 samples 	Epoch 4/4 	60000/60000 [==============================] - 4s 64us/step - loss: 0.0767 - acc: 0.9767 - val_loss: 0.0304 - val_acc: 0.9905
Code 2 outputs:
Epoch 1/10 	2020-02-05 13:19:06.534620: I tensorflow/stream_executor/dso_loader.cc:152] successfully opened CUDA library libcublas.so.10.0 locally 	60000/60000 [==============================] - 5s 79us/step - loss: 0.2317 - acc: 0.9295 - val_loss: 0.0490 - val_acc: 0.9835 	Epoch 2/10 	60000/60000 [==============================] - 4s 59us/step - loss: 0.0823 - acc: 0.9758 - val_loss: 0.0364 - val_acc: 0.9869 	Epoch 3/10 	60000/60000 [==============================] - 4s 58us/step - loss: 0.0620 - acc: 0.9812 - val_loss: 0.0369 - val_acc: 0.9867

@smehdia
We see that you are using old version of tensorflow which is not actively supported now, please verify on 2.x and open a new issue in case you face any errors, hence moving this to closed status.


kubernetes:  bouncer not found

Scenario:
Scale up/down nginx hosted on kubernetes.
pod ip: <IP_ADDRESS>
time="2024-09-05T16:05:16+02:00" level=error msg="while fetching bouncer info: ent: bouncer not found" ip=<IP_ADDRESS> time="2024-09-05T16:05:16+02:00" level=info msg="<IP_ADDRESS> - [Thu, 05 Sep 2024 16:05:16 CEST] \"GET /v1/decisions?ip=*.*.*.* HTTP/1.1 403 174.398µs \"crowdsec-openresty-bouncer/v1.0.2\" \""
lapi still shows this as
INGRESS           <IP_ADDRESS>  ✔     2024-09-01T20:58:28Z  crowdsec-openresty-bouncer  v1.0.2   api-key
Ingress logs:
[error] 188#188: *50208 [lua] crowdsec.lua:600: Allow(): [Crowdsec] bouncer error: Http error 403 while talking to LAPI (http://crowdsec-service.watchtower.svc.cluster.local:8080/v1/decisions?ip=10

@LaurenceJJones any feedback?

@LaurenceJJones any feedback?

Currently not, we are working on release of 1.6.3 once this is completed I will have sometime to test this.
However, a preface note is ent: bouncer not found is when the LAPI does not have the bouncer API key within the database, so I would check:

Exec into the ingress pod and check the configuration file:

Has api key within the file
API key is pre populated by BOUNCER_KEY_<name> environment variables set on LAPI env

Bouncer key is added via env variable. (two keys are added).
compain is only for one key.
Based on https://discourse.crowdsec.net/t/bouncer-not-found/1719 i have pruned key and restarted lapi pod and things have started working again.
Will keep an eye.


[Feature proposal] Configuration files using cosmiconfig

This is not an issue report but a proposal for the implementation of configuration files.
What would you think of adding cosmiconfig so that we could configure graphql-faker using either:

a package.json property
a JSON or YAML, extensionless "rc file"
an "rc file" with the extensions .json, .yaml, or .yml.
a .config.js CommonJS module

In my use case, I see the benefits of using a .config.js file so that I can use my project config file to avoid duplication e.g for the extend url.
Let me know if this is something you would consider for graphql-faker and I would be happy to implement it!

@loicplaire I don't think it's very critical feature for Faker but if it fits in dozen lines I don't see why not 👍
Please keep it simple: sync code, config format that emulates yargs output, etc.
Also, don't forget to update README.md.


Temperature Unit discrepancies between sensors

Running 1.0.1.
Noticed the weather.weatherbit sensor aligns with my "Unit System" settings I have in home assistant, yet the daily forecast sensors (sensor.weatherbit_forecast_day_x) default to Celsius.   Is it possible to have all sensors align to the Unit System settings defined in Home Assistant?
weather.weatherbit
temperature: 61
humidity: 84
ozone: 259.4
pressure: 30.08
wind_bearing: 168
wind_speed: 6.49
visibility: 10.28
forecast:
  - datetime: '2021-12-23T18:00:00+00:00'
    temperature: 72.1
    templow: 51.8
    precipitation: 0
    precipitation_probability: 0
    condition: partlycloudy
    wind_speed: 6.49
    wind_bearing: 168
  - datetime: '2021-12-24T18:00:00+00:00'
    temperature: 76.1
    templow: 59.4
    precipitation: 0
    precipitation_probability: 0
    condition: partlycloudy
    wind_speed: 8.95
    wind_bearing: 191

sensor.weatherbit_forecast_day_1

attribution: Powered by Weatherbit.io
datetime: '2021-12-23T18:00:00+00:00'
temperature: 22.3
templow: 11
precipitation: 0
precipitation_probability: 0
snow: 0
cloudiness: 35
weather_text: Scattered clouds
wind_speed: 2.9
wind_bearing: 168
icon: mdi:weather-partly-cloudy
friendly_name: Weatherbit Forecast Day 1

sensor.weatherbit_forecast_day_2
attribution: Powered by Weatherbit.io
datetime: '2021-12-24T18:00:00+00:00'
temperature: 24.5
templow: 15.2
precipitation: 0
precipitation_probability: 0
snow: 0
cloudiness: 33
weather_text: Scattered clouds
wind_speed: 4
wind_bearing: 191
icon: mdi:weather-partly-cloudy
friendly_name: Weatherbit Forecast Day 2

Oh yes. I forgot to convert them. Will be in the next release.

Just released 1.0.2 where this is now fixed.


ctk: Add authentication token as command-line argument to CTK

Description
Since we now have components being deployed behind real API gateways that enforce security, we need to access the APIs with an authentication token. Enhance the CTK tool to accept a command-line argument with an authentication token. I propose:
npm run L1-dynamic -H "Authorization: <TOKEN>" <component envelope yaml>

For npm, you need to use -- to separate what command-line arguments get passed to npm and what get passed to the node application; The complete command to include a Header is:
npm run L1-dynamic -- -H "Authorization: kjhkjh8767657sdf" .\v1alpha3.component.yaml


UDP service timeout - failed to write point batch to database

System
Version: InfluxDB shell version: 1.3.7
System: Ubuntu 16.04.3 LTS
Memory: 60G
Cores: 36
I have the wal and data dir on separate ssd disks.
Influx stats
numSeries: 1.11M
Input rate: 1600 per second average
Issue
I am testing out influxdb and i'm encountering the following error logs.
2017-10-31T15:41:40Z retention policy shard deletion check commencing service=retention
2017-10-31T15:41:40Z new shard group 1272 successfully precreated for database traffic, retention policy traffic_daily service=metaclient
2017-10-31T15:41:40Z new shard group 1273 successfully precreated for database minutes, retention policy traffic_hourly service=metaclient
2017-10-31T15:41:40Z new shard group 1274 successfully precreated for database seconds, retention policy traffic_hourly service=metaclient
2017-10-31T15:41:40Z deleted shard group 1257 from database traffic, retention policy traffic_daily service=retention
2017-10-31T15:41:40Z deleted shard group 1261 from database minutes, retention policy traffic_hourly service=retention
2017-10-31T15:41:40Z deleted shard group 1262 from database seconds, retention policy traffic_hourly service=retention
2017-10-31T15:42:09Z failed to write point batch to database "traffic": timeout service=udp
2017-10-31T15:42:12Z failed to write point batch to database "traffic": timeout service=udp
2017-10-31T15:42:24Z failed to write point batch to database "traffic": timeout service=udp
2017-10-31T15:42:25Z failed to write point batch to database "traffic": timeout service=udp
2017-10-31T15:42:42Z failed to write point batch to database "traffic": timeout service=udp
2017-10-31T15:42:43Z failed to write point batch to database "traffic": timeout service=udp
... (many more in between)
2017-10-31T15:49:40Z failed to write point batch to database "traffic": timeout service=udp

And then randomly stops after 9 to 10 minutes
For as far as i can see this always happens after new shard creation or shard deletion.
During this error spam the data in the database is running behind with data.
I have tried every possible config option. This is my current one.
[meta]
  dir = "/opt/influx/meta"
  retention-autocreate = true
  logging-enabled = true

[data]
  dir = "/opt/influx/data"
  index-version = "inmem"
  wal-dir = "/opt/influx/wal"
  wal-fsync-delay = "0s"
  query-log-enabled = false
  cache-max-memory-size =<PHONE_NUMBER>0
  cache-snapshot-memory-size =<PHONE_NUMBER>0
  cache-snapshot-write-cold-duration = "10m0s"
  compact-full-write-cold-duration = "4h0m0s"
  max-series-per-database = 0
  max-values-per-tag = 0
  max-concurrent-compactions = 0
  trace-logging-enabled = false

[coordinator]
  write-timeout = "10s"
  max-concurrent-queries = 0
  query-timeout = "0s"
  log-queries-after = "4s"
  max-select-point = 0
  max-select-series = 0
  max-select-buckets = 0

[retention]
  enabled = true
  check-interval = "1h0m0s"

[shard-precreation]
  enabled = true
  check-interval = "1h0m0s"
  advance-period = "3h0m0s"

[monitor]
  store-enabled = true
  store-database = "_internal"
  store-interval = "1m0s"

[subscriber]
  enabled = true
  http-timeout = "30s"
  insecure-skip-verify = false
  ca-certs = ""
  write-concurrency = 40
  write-buffer-size = 1000

[http]
  enabled = true
  bind-address = ":8086"
  auth-enabled = true
  log-enabled = false
  write-tracing = false
  pprof-enabled = true
  https-enabled = false
  https-certificate = "/etc/ssl/influxdb.pem"
  https-private-key = ""
  max-row-limit = 0
  max-connection-limit = 0
  shared-secret = ""
  realm = "InfluxDB"
  unix-socket-enabled = false
  bind-socket = "/var/run/influxdb.sock"

[[udp]]
  enabled = true
  bind-address = ":8089"
  database = "traffic"
  retention-policy = "traffic_daily"
  batch-size = 10000
  batch-pending = 300
  read-buffer = 0
  batch-timeout = "3s"
  precision = ""

[[udp]]
  enabled = true
  bind-address = ":7089"
  database = "traffic"
  retention-policy = "traffic_daily"
  batch-size = 10000
  batch-pending = 500
  read-buffer = 0
  batch-timeout = "10s"
  precision = ""

[[udp]]
  enabled = true
  bind-address = ":7090"
  database = "traffic"
  retention-policy = "traffic_daily"
  batch-size = 10000
  batch-pending = 500
  read-buffer = 0
  batch-timeout = "10s"
  precision = ""

[[udp]]
  enabled = true
  bind-address = ":7091"
  database = "traffic"
  retention-policy = "traffic_daily"
  batch-size = 10000
  batch-pending = 500
  read-buffer = 0
  batch-timeout = "10s"
  precision = ""

Any suggestions are much appreciated. It's currently the only problem keeping us from going live with InfluxDB.

My best guess is that when influx deletes a shard and starts reindexing and makes the udp writes timeout. I have no experience with GO programming language so i cant really debug it.

Would be awesome to get someones insight on this bug!
The problem was gone for 3 days so we put it live! now 1 day later it started again!
It performed good while we pushed nearly 120k points per minute and now we do around 60k points per minute and it starts failing!
So its not the amount of points we push that causes the issue.

#9084 Maybe this will fix the issue.


Prevent undefined errors

I had a situation where handleFileSelected was called where fileSelectionEvent.target was undefined, this resulted in a javascript error.

Thanks for the PR have merged it in

Can you please create a new tag for this version? Otherwise I cannot build it using your updated repo :-)
Tx!

https://github.com/grofit/aurelia-files/releases/tag/0.1.4
done

Hi, discovered a problem in this version, you probably didn't do a gulp build, the new code isn't in the transpiled files! You can see this in dist/amd/handlers/file-handler.js in the this.handleFileSelected() method, this still contains the old transpiled code.

meh, will try to do this for you when I get on later, thanks for the info.

Have gulped and uploaded new dist... forgot how painful it all was :(

Thanks!


[HTML5] WordWrap not working

Can't get wordwrap to work on TextField on HTML5
Same as this issue on openfl-html5: https://github.com/openfl/openfl-html5/issues/17
Workaround: manually add new line (\n) to text.

Word wrap is working with current versions :smile:


Units

This is probably not very important, but it would be nice to have units displayed. For example there's no unit shown on the Z-offset slider. Since this value is directly related to the resulting object's dimensions it would be nice, too to show some information about how large the resulting model will be.
Typical use case: I want the object to be exactly 1cm thick (base height). I set that and generate the object. In my slicer I notice, the object is too large for my printer and I have to scale it down by 50%. Now my object is only 0.5cm thick. Arrrgh! Back to the website, set the offset to 2cm, re-generate, ...
Dream-solution A: after the rectangle has been drawn, the dimensions are displayed with the possibility to scale them (with locked ratio).
Dream-solution-B: a value can be entered for the largest object-dimension - if it's set to "square" that value will be used for both dimensions.

That is actually a good catch. Most likely you already have generated more STL files via the streamlit app, than I did 😉
Mapa provides a feature to specify the desired model (stl file) dimensions aka model size. It should be rather straight forward to add another input widget (again a st.slider or st.number_input maybe) to the "customization" section within the sidebar and pass that value to convert_bbox_to_stl. A hint within the tooltips/help that the values are in millimeter should help in making the dimensions transparent.
Since the web app you are interacting with is based on streamlit, the possibilities to what can be implemented are somewhat limited.  However, using streamlit allows for building data apps super fast, which is why I prefer to keep it that simple.
Because of that, I'd propose to go for dream-slution-B, as described. And as I said, implementing this feature is straight forward, because of that I'd like to ask, if you are willing to give it a try yourself? If yes, I'd add a little section on "development" to the readme and provide support and more details if needed. If not, no worries, I will try to take care of it soon, just let me know.
Keep it going with the great suggestions!

fyi, just added this brief section on development and contributions: https://github.com/fgebhart/mapa-streamlit/tree/add_dev_section_to_readme#development--contributions

:D thanks for the offer (really!) but no. I'm a pro-user by heart and I like it very much to help you with this from the user-perspective. I may have the understanding of how smth should be designed to be easily usable and I may have a intuition of the possibilities/limitations of the coding behind that but I very much lack the micro-logic that is necessary in coding. And baybe that's even better: I'm not burdened by the "how" and you are not burdened too much by the "what".

Sure, no problem. Anyway, I appreciate your suggestions and feature requests 👍

It is now possible to specify the desired model size (in millimeter) via the model size slider. With this the impact of z-offset is directly available in millimeter and your described workflow should be simplified.


xNotifyTask APIs

i am looking at using xTaskNotify APIs (http://www.freertos.org/RTOS-task-notification-API.html) but can't  get any hits with grep (and compilation fails too obviously). have these APis been excluded from the port ? how easy is this to add this from freertos code base ?

Hi @phlemoine,
The Task Notificiation APIs were now in FreeRTOS 8. esp-open-rtos is still on version 7.
There is a PR to upgrade to FreeRTOS 9 open in #169. At last look, it needed some testing and checks before merging to mainline - if you can help with any testing of this it would be great.
Angus

FreeRTOS is upgraded with https://github.com/SuperHouse/esp-open-rtos/pull/245


perfect_scrollbar_1.default is not a constructor

In my component i'm trying to initialize the scrollbar after view init
ngAfterViewInit() { this.scrollContainer = this.elemRef.nativeElement.querySelector('.scroll-content');  const ps = new PerfectScrollbar(this.scrollContainer);     }
and i got this error: perfect_scrollbar_1.default is not a constructor, what's wrong here?

@utatti, thanks for answer, the error will disappear if use this option:
const PerfectScrollbar = require('perfect-scrollbar');
But the scroll but doesn't appear when i scroll, it's always hidden. I checked the css classes, and it's always: "ps ps--active-y", the css styles i also can see, but the scroll but doesn't appear when i scroll, do you know what problem might be in this case?
Thanks a lot!

Please check if perfect-scrollbar.css is correctly imported, and style requirements meet?

Heh, it works and it's nice, but with PS doesn't work more element.scrollIntoView({ behavior: 'smooth' })
Whatever, thanks for help!

Hmm, if element.scrollIntoView({ behavior: 'smooth' }) fires scroll events, it should work either. Anyway, good to hear that the original issue has been resolved.

For multiple elements on page with scroll it won't work ok, because, it'll be initialized just for first element, it can be fixed easy by this way:
const containers = Array.from(document.querySelectorAll('#selector')); containers.forEach(elem => new PerfectScrollbar(elem));


Arrangement and execution of the meeting for simulations of physical systems with the use of DynPy library - 2024#1 (issue #1023 related)

The goal is to arrange and execute the meeting for simulations of physical systems with the use of DynPy library - 2024#1. The following things should be prepared:

[x] scope and schedule of meeting (in one week);

[x] conducting team (in two weeks);

[x] guide or instructions with examples (one week before meeting);

[x] announcement (in Slack and Teams channel) with basic information (conducting persons, date,scope,schedule) (one week before meeting);

[x] exemplary code in Jupyter (link) (one week before meeting).

Meeting has been executed.


Bug: [Dev-8568] COVE: Dashboard Filter Values Not Updating From Data Change

Waiting on 8191 to be merged.

@mpallansch now that 8191 is merged, can you retest this and catch your branch up? Thanks!

@mpallansch now that 8191 is merged, can you retest this and catch your branch up? Thanks!

The branch is caught up now, I believe it still needs to be merged in, the test case is working in my branch and not on dev


Respect indentation for visually selected ":Prettier"

fixes https://github.com/prettier/vim-prettier/issues/75

Hi @sudavid4 ,
That's awesome! Thank you so much for submitting this PR! Will test it as soon as I land some fixes for prettier 1.8 compatibility.

Thanks for submitting this PR, it seems that your fix was only applied to synchronous formatting we should however put in a place where both sync an async could benefit from it.

Awesome!!
Will test this out tomorrow then if all is good will merge it! thank you so much

Hi @sudavid4,
Tried testing this, but i think this behaviour may not be always what we want. An example:
this output with visual selection:
  function a () {
      const a = 123; }

would create this:
  function a() {
    const a = 123;
}

I think introducing something like this would make vim-prettier differ too much from prettier itself and could cause some hard to debug bugs like the above.

Please see if this is better, taking into account added (or subtracted for that matter) lines in buffer to calculate line end

hi @sudavid4,
Been thinking about it, I think this sort of API would make sense to even be included in prettier itself. Was thinking that if the CLI supported an API like line start and line end setting we could have something like this:
formatting this fixture with this hypothetical command  prettier --line-start=5 --line-end=5 foo.js:
1
2  const b
3    = 2;
4  function a() {
5      const d = (blah) => { return 3 + 5 }; return d;
6  }

could then output:
1
2  const b
3    = 2;
4  function a() {
5    const d = blah => {
6      return 3 + 5;
7    };
8    return d;
9  }

formatting just the selected area.
I think this feature makes more sense to be implemented in prettier itself since they can better understand surrounding code and better chose spacing/formatting with all contexts involved.

I am happy to contribute this feature for prettier itself since I imagine this could be a useful feature for other editor integrations.
Any thoughts around it ?
cc @lydell  @azz @ikatyang @duailibe

Saying that, will test this PR today as it is since that is not a blocker and we could get this merged. We can always revisit this workaround implementation later in favor of the prettier CLI args if they can implemented in there.

Prettier already supports --range-start and --range-end, aren't they the same feature?

demo.js
const b
  = 2;
function a() {
    const d = (blah) => { return 3 + 5 }; return d;
}

command
prettier demo.js --range-start 32 --range-end 84

stdout
const b
  = 2;
function a() {
    const d = blah => {
      return 3 + 5;
    };
    return d;
}

@ikatyang calculating the range on viml is not ideal, would prefer a higher level API where we can supply just  the line itself

Sorry still haven't found time to test this PR will try to do that tonight! Apologies for the delay!

Hi @sudavid4 ,
Just tested this and still fail on some cases:

We could try to use the API mentioned by @ikatyang using vim line2byte(line('.')) + col('.') - 1 to get the byte position.

Will experiment with this as soon as i get some free time

I have been pretty busy lately but will get back in this PR next week and make sure it will get merged in some form!

Hi @docwhat
We could try to do this for 1.0 using line2byte to get the starting and ending bytes for N and Y and add --range-start N --range-end Y cli args for prettier, what are your thoughts around it ?
I have been toying around with a helper for getting bytes range:
" Returns [start, end] byte range
function! s:getByteRange() abort
  let l:range = []
  let l:start = getpos("'<")
  let l:end = getpos("'>")

  call add(l:range, line2byte(l:start[1]) + l:start[2] - 1)
  call add(l:range, line2byte(l:end[1]) + l:end[2] - 1)

  return l:range
endfunction

The above works well for normal visual selection and visual block selection but not for visual line selection. I may be missing something but for visual line selection it returns MAX_INT<PHONE_NUMBER>)
so running the visual selection on the above snippet would generate [32,<PHONE_NUMBER>].
Also if that is something you would want to tackle or have interest feel free to let me know

on :help getpos within vim there is a note:

Note that for '< and '> Visual mode matters: when it is "V"
(visual line mode) the column of '< is zero and the column of
'> is a large number.

This is an example of implementation that made that work https://github.com/farazdagi/vim-go-ide/blob/master/bundle/pristine/vim-go/autoload/go/oracle.vim#L65

I'm not sure that you should be converting to bytes, since the documentation for prettier says it takes characters.  Bytes would mess up when using multi-byte utf-8 characters (for example).
For the visual selection, can't you just use visualmode() or mode() to detect V (visual-line-selection) and then move the end position to row + 1 and column = 0?

Thanks for that info @docwhat, Do you know a better way on vim to gather character instead ? Do you think you would be interested / have some time to tackle this issue for our 1.x branch ?

Fix this on branch 1.x (https://github.com/prettier/vim-prettier/commit/ec6ede90f3b9948ed7063402189653f8d6721326)

Important notes:
Using the prettier api for --range-start and --range-end had some downsides:

sending larger buffer to prettier
requires the whole file to be valid even when formatting just portion of the file.

Details:
I kept the old behaviour as the default, but made it configurable via a flag, so users can make partial formatting enabled for them if they wish by simply:
let g:prettier#partial_format=1

I also created 2 helper commands :PrettierPartial and :PrettierFragment

:PrettierPartial - is the intended behaviour of https://github.com/prettier/vim-prettier/pull/78 and https://github.com/prettier/vim-prettier/issues/75 (sends the whole buffer to prettier and uses --range-start and --range-end to control formatting, it can fail if the file has errors even if outside the supplied range)
:PrettierFragment - is the previous default behaviour where we only send selected portion to prettier (it has some benefits in that we only send less buffer and allow for formatting sections of files that are not entirely valid as a whole and have errors)


Update Sample parameterization template

Could you update the "Sample parameterization template" section to include a parameters example? For example, changing the defaultValue of a Linked Service Parameter on release would be very handy.  I have managed to figure out how to set it, but it took some time and would be a valuable addition to that section.  For instance a Key Vault parameter is set using:
    "AzureKeyVault": {
        "properties": {
            "typeProperties": {
                "baseUrl": "|:baseUrl:secureString"
            },
			"parameters": {
				"KeyVaultURL": {
					"type": "=",
					"defaultValue": "|:defaultValue:secureString"
				}
			}
        }
    }

Thanks,
Brent

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

ID: 1e22e4d6-366f-fbf8-e141-8905ca7ab7ae
Version Independent ID: 5be2acf2-66e7-cadf-6666-5a85a65b9771
Content: Continuous integration and delivery in Azure Data Factory - Azure Data Factory
Content Source: articles/data-factory/continuous-integration-deployment.md
Service: data-factory
GitHub Login: @dcstwh
Microsoft Alias: weetok

@brentleslie  Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@nabhishek  can you help look into this? Thank you.


Release 200.1.0

Description

Links and Data

What To Review

How to Test

Using https://github.com/Esri/arcgis-maps-sdk-kotlin-samples/pull/95 for tracking release.


support for signature subpacket #33

via vendored PR keybase/go-crypto#39

@oconnor663 I might need some help with these failures in sig_chain_test.go.  Weird they are showing up now...

@oconnor663  scratch that above, all good...


Removes redundant nil? check.

If we are calling .blank?, calling .nil? first is redundant.

:+1:

Maybe replace return nil with just return?

@marshall-lee :+1:

@dblock @marshall-lee You are right, fixed here: https://github.com/ruby-grape/grape/pull/1176


Query last item of array

Why not make -1 to get the last item?  such as sjson sjson.Set(json, "-1"...)

I can see that being useful and something I'll consider.

Thinking about it further. In SJSON, if -1 adds an element and in GJSON -1 requests the last element, then I could see that being confusing to the developer.
A solution may require a little more thought, but right now using the @reverse modifier can effectively give a similar result.
Take this JSON with these paths for example:
["a","b","c","d"]

<EMAIL_ADDRESS>  -> "d"
<EMAIL_ADDRESS>  -> "c"

As far as the @index modifier idea, perhaps that something worth considering in the future.

Yeah, thank you! I will close the comment!


Network policy to allow egress traffic is missing in Tungsten Fabric

ISSUE TYPE

Bug Report

COMPONENT NAME

Tungsten Fabric

CLOUDSTACK VERSION

4.18.0, 4.18.1-SNAPSHOT

CONFIGURATION

Guest networks that are created using custom network offerings with default egress allow set to true in a Tungsten Fabric zone.
OS / ENVIRONMENT

NA
SUMMARY

In a Tungsten Fabric cloudstack zone guest networks created from a network offering having a default egress policy set to allow(true) the corresponding tungsten fabric policy is not created. This results in denying the egress traffic. I could identify that the rule to allow traffic to <IP_ADDRESS>/0 is not programmed by Cloudstack in the Tungsten Fabric.
STEPS TO REPRODUCE

1. Create a new network offering with tungsten as the provider and set default egress policy to allow.
2. Create a guest network using the above offering and deploy an instance.
3. Ping the internet (<IP_ADDRESS>/<IP_ADDRESS>) from the instance.

EXPECTED RESULTS

Default Egress allow policy should allow traffic to the internet.

ACTUAL RESULTS

Default egress allow policy is not allowing the traffic to the internet.

moved to 4.20 for now, awaiting TF future prospect.


Import momentjs automatically when needed

Hi,
I have just switched to moment for dates in angular2 generation and I have to add the import in my extension code. Maybe this could be automatically added?
On my side I added import moment from 'moment'; at the beginning of my extension code file.
Thanks a lot.

Some people may use it as a global module (no import needed). Maybe we should leave it as is so that all scenarios are possible... Or maybe we need some "dependencies" setting to manage all required dependencies and their imports...

This has been implemented with the ImportRequiredTypes setting (default: true)


Unable to add security

Security button on the path page is not working.
Nothing happens on clicking the + Security button.

@sandeep2rawat Thanks for the issue. Added a PR. This should be fixed in ver 0.7.0


feat: add support for HHCCJCY10

See https://github.com/home-assistant/home-assistant.io/pull/24365.
Todo:

[ ] Double check case of service uuid
[ ] Check if there are predefined sensors to use instead now

I'll try and finish this tomorrow.

Looks good to me.


Error: x the name Grid is defined multiple times

Describe the bug
Error occurs if I use pc.grid and pc.data_table both.
error - ./pages/index.js
Error:
x the name Grid is defined multiple times
,-[6:1]
6 | import {Box, Button, Center, Container, Divider, Drawer, DrawerBody, DrawerContent, DrawerFooter, DrawerHea
der, DrawerOverlay, Grid, GridItem, HStack, Heading, Link, Menu, MenuButton, MenuItem, MenuList, Text, VStack} f
rom "@chakra-ui/react"
:
^^|^
:
-- previous definition of Gridhere  7 | import {Grid} from "gridjs-react"    :         ^^|^    :          -- Grid redefined here
`----
** Specifics (please complete the following information):**

Python Version: 3.11
Pynecone Version: 0.1.13
OS: Windows
Browser (Optional): Edge

Thanks for reporting, I think once this issue is done, we should be able to resolve this by giving this different import aliases.


[alternative] hotplug-disk container: match SELinux level of virt-launcher

What this PR does / why we need it:
This PR is an attempt at matching the SELinux level of virt-launcher in hotplug attachment pods, instead of using s0.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
This PR is an alternative to https://github.com/kubevirt/kubevirt/pull/8344 but uses Fgetxattr instead of Getxattr
Release note:

NONE

/retest


[FEAT] Replace the sections by the sections of Material Kit

This is already done. No longer need this issue.


Add size method

add size method to DataContainer which return the number of elements
Make it a member with property etc

exactly, make it a member with @property method decorator.

@property
def size(self):
    return self.as_array().size

closes #501


Add Datanyze to bots list

See github issue: https://github.com/WhichBrowser/Parser-PHP/issues/540

Coverage increased (+0.02%) to 99.97% when pulling 59f03e00b381eb30022b4e81b0745634f8afb400 on ayumi-cloud:Datanyze into 880b9fa797401d14b28956442944c3daa70240ff on WhichBrowser:master.

Fixed by c9e17be0d9ec651e74bf25ad9ce58ae5ea91bbcc

Fixed by c9e17be0d9ec651e74bf25ad9ce58ae5ea91bbcc


Proposal of Eventing Manager Architecture

Description
Using the previous discussion as a basis, create a proposal for the eventing manager architecture.
Acceptance Criteria

[ ] TAM Block Diagram for reconcilers (Eventing CR, Subscription CR) (optional create a sequence diagram to visualize how the various reconcilers interact)

The previous switching flow was based on watching for secrets:

With the new module we will introduce a reconciler for the eventing cr. This will be the main/only driver for backend selection:


Give up the add-ons and merge them into OSIAM

@dacrome, @wallner and I already talked about this idea. We've merged the auth-server and resource-server to make OSIAM a unified product. The add-ons provide essential services, that are needed to make OSIAM a fully-fledged experience. But yet they are still separate deployments, impairing the unified view. There are various further reasons to do this:

Building, testing and actually running the "complete OSIAM" is harder than it should be
Technology Updates have to be made several times
Non-functional requirements, like monitoring support and deployment features, must be duplicated
In general it's hard to maintain more artifacts
As afore-mentioned, OSIAM just doesn't feel complete without these features
It's easy to move these features, because everything is already using the same technologies, like Spring Boot, Spring WebMVC and Thymeleaf

The idea is to merge the functionalities one by one, starting with the registration. Each one can be independently enabled and disabled, so users can opt-out, if they don't want to use it. For things like changing the own user data or credentials, we first need to create an internal area in the web part of OSIAM, where users can login to and self-administrate their user accounts. We might at some point in time extract all this as separate plugins.
It follows a list with the needed features to move:

[ ] Registration
[ ] Administration
[ ] Reset Password
[ ] Change email address

This issue will server as a meta-issue to track the overall progress of this topic. Please adjust the list, if you resolve an item.

+:100: thanks for the explanation!

There have already been some things done to improve the configuration of the registration process: https://github.com/osiam/addon-self-administration/pull/157. I think we should take up the ideas there.


add missing [

Learn Build status updates of commit dc2c27e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

azure-sql/managed-instance/connectivity-architecture-overview.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Looks good; thanks, @StefanSchoof


[gatsby-theme-emilia]: Improve text-align of title in Card

Description
If the title is too long, it won't be the center.
Steps to reproduce

Add a project with a long title
Run Gatsby build and see it

Expected result
Text-align is the center.

Actual result

Thanks! Will be fixed with https://github.com/LekoArts/gatsby-themes/pull/987


python: auto patch wheels with manylinux RPATH

I'm using this for some while now and it works well for me. For now please consider it as RFC because I'm not sure if there is interst in merging it at all and there might be better ways to integrate it into the existing python infrastructure.
What this does is to:

Patch pip to

Scan for ELF files after installing a wheel package
Patch a path with the manylinux1 libraries into the RPATH
Patch the interpreter to a valid path if it is an executable

Bundle the patched pip with python
Expose the python as python38Nix

That means manylinux1 compatible wheels can be used on NixOS.
E.g. the following does work with new python package:
$ python -m venv venv
$ source venv/bin/activate
$ pip install --only-binary :all: pandas
$ python -c 'import pandas'

It's a nice idea but I don't think it belongs in Nixpkgs, mostly because of limitations. E.g., while you may patch binaries, wheels that have other non-Python dependencies that are not part of the manylinux standard, will still fail. Also, building from source won't work either. Thus I think this is best kept in a separate project.


Release 0.4.10

@JuliaRegistrator register(branch=release)

Registration pull request created: JuliaRegistries/General/7589
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:
git tag -a v0.4.10 -m "<description of version>" 62d182504569df5a1a59b01502d0d98ee907af4f
git push origin v0.4.10


Add a wiki: Federation Space

An anonymous user has submitted a new wiki via our submission form.
Link to origin wiki: https://memory-alpha.fandom.com
Link to destination (independent) wiki: https://wiki.fed-space.com

Memory Alpha is a canon Star Trek wiki, while Federation Space is an independent RPG -- doesn't make sense to redirect.


Server requires application/json as content-type header even when there's no body

Empty body operations, such as "remove bucket", shouldn't require the
application/json content-type header.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 27 May 2010 at 2:20

Original comment by<EMAIL_ADDRESS>on 27 May 2010 at 3:11

Changed state: Started

Fixed.

Original comment by<EMAIL_ADDRESS>on 27 May 2010 at 3:54

Changed state: Fixed


”MIERCUREA SIBIULUI”, ”Apoldu de Sus”, ”Dobârca” are listed in the drop-down menu

Description:
When user writes ”MIERCUREA SIBIULUI”, ”Apoldu de Sus”, ”Dobârca” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "MIERCUREA SIBIULUI"

Expected results
The location appears in the drop-down menu as "Oraș MIERCUREA SIBIULUI, SIBIU (MIERCUREA SIBIULUI)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Apoldu de Sus"

Expected results
The location appears in the drop-down menu as "Oraș Apoldu de Sus, SIBIU (MIERCUREA SIBIULUI)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Dobârca"

Expected results
The location appears in the drop-down menu as "Sat Dobârca, SIBIU (MIERCUREA SIBIULUI)".


Adding support for .example() to document schema examples

I've added a new .example() method that, like .describe(), will allow consumers to document example values and representations of their schemas.
const documentedString = z
  .string()
  .url()
  .example("https://example.com")
  .example("https://example.local");

documentedString.examples; // ["https://example.com", "https://example.local"]

Like the JSON Schema examples array this currently has no type or shape restrictions. It may at some point be nice to restrict content being supplied to .example() to match the schema type (eg. only strings can be supplied on z.string()) but I've not (yet) done that here.
This work is being done to resolve https://github.com/colinhacks/zod/discussions/2266, and should, with a followup change to zod-to-json-schema[^1], allow Zod consumers to document schema examples within their generated JSON Schema representations.
[^1]: I plan on submitting a change to support examples to zod-to-json-schema after this work is in.

I feel that having an any type makes it pretty unusable. It would make it impossible to catch any drift from the schema which is a huge red flag.
The biggest challenge will be whether the input or output should be used in the type definition. Or both?

@samchungy What if instead .example() is moved from being a global like .describe() and instead exists only on primitives?

Any update on this feature?

The biggest challenge will be whether the input or output should be used in the type definition.
In which scenario might we want to use the output type? It seems to me the example is for input type, so we can start by using only input.

Btw, we can also provide an example directly to a type definition function, like the following, right?
z.string({
  description: 'An identifier for the resource.',
  example: '9c235211-6834-11ea-a78c-6feb38a34414',
})

Maybe it is worth mentioning it in the documentation.

In which scenario might we want to use the output type?

In my case, when you're representing a response type. Eg this is the type that it should be after a transform.

In my case, when you're representing a response type. Eg this is the type that it should be after a transform.

Since this PR's main focus is related to json-schema example and the OpenAPI Specification, input type seems more relevant. Shall we start with that?
I think if we remove any usage and use the input type, this PR should be ready for review, and hopefully, it will be merged soon. 🤞🏻

You can use a JSON Schema to represent a response type too

You can use a JSON Schema to represent a response type too

🤔 Do you have an example?

So what should I do here? Move .example() to only exist on primitives? Something else?

I like the idea of first covering primitive types and avoiding any.
@colinhacks, do you have any input regarding this feature and the criteria that need to be covered in order to merge this PR?

You can use a JSON Schema to represent a response type too

🤔 Do you have an example?

The simplest example is any open api schema you can describe a request and response type.


Grid content row should resized (Multiple rows) according to column content

Please provide more details with expected behaviour.

Ok Asit


This is an experimental e2e tests runner on kind

Draft PR for my experiment with e2e kind on cloud builder.

I'm going no where, we need more options from kind, specifically to bound the api server to something else than only localhost. I've tried --net host on GCB with no luck.


Internal DNS resolver failing on one node but working on another

Output of docker version:
$ docker version
Client:
 Version:      1.12.0-rc4
 API version:  1.24
 Go version:   go1.6.2
 Git commit:   e4a0dbc
 Built:        Wed Jul 13 03:39:43 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.0-rc4
 API version:  1.24
 Go version:   go1.6.2
 Git commit:   e4a0dbc
 Built:        Wed Jul 13 03:39:43 2016
 OS/Arch:      linux/amd64

Output of docker info:
[ec2-user@ip-192-168-33-201 ~]$ docker info
Containers: 10
 Running: 0
 Paused: 0
 Stopped: 10
Images: 5
Server Version: 1.12.0-rc4
Storage Driver: overlay
 Backing Filesystem: xfs
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: null host bridge overlay
Swarm: active
 NodeID: 3t6pxnbg99au4s4bnbx8vihsk
 IsManager: Yes
 Managers: 1
 Nodes: 3
 CACertHash: sha256:db346c871dc3d415a67b92fe8e3bdd960a395d9610775858890017f2800ab355
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 3.10.0-327.22.2.el7.x86_64
Operating System: Red Hat Enterprise Linux Server 7.2 (Maipo)
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 991.7 MiB
Name: ip-192-168-33-201.us-west-1.compute.internal
ID: C4TZ:WMHY:3D6K:RKFG:ZIQS:5SQ5:IFZM:LCTV:JPJU:FTXD:QYNK:WWH3
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 38
 Goroutines: 136
 System Time: 2016-07-13T21:02:16.748244686-04:00
 EventsListeners: 0
Registry: https://index.docker.io/v1/
Insecure Registries:
 <IP_ADDRESS>/8

Additional environment details (AWS, VirtualBox, physical, etc.):
3-node swarm on AWS running RHEL 7.2 (3.10.0 kernel)
Steps to reproduce the issue:
Test scenario is like this:

Bring up three RHEL 7.2 machines running 1.12-rc4.
On manager:  docker swarm init --listen-addr <IP_ADDRESS>:2377
On the other two:  docker swarm join --listen-addr <IP>:2377 --secret whatever <IP_ADDRESS>:2377
Create the voting app services:

docker network create -d overlay mynetwork

docker service create --replicas 5 --name frontend --env QUEUE_HOSTNAME=redis --env OPTION_A=Kats --env OPTION_B=Doggies --network mynetwork --publish 80/tcp --label=docker.swarm.lb.port=80/http mikegoelzer/s2_frontend:latest
docker service create --name redis --network mynetwork redis:latest
docker service create --replicas 3 --name worker --network mynetwork mikegoelzer/s2_worker:latest
docker service create --name results --publish 8080/tcp --network mynetwork --label=docker.swarm.lb.port=81/http mikegoelzer/s2_results:latest
docker service create --name pg --env POSTGRES_PASSWORD=pg8675309 --network mynetwork postgres:latest

Voting app should work
Reboot one or both workers
Eventually get into a state where worker replicas are spread across two machines:

[ec2-user@ip-192-168-33-201 ~]$ docker node ls
ID                           HOSTNAME                                      MEMBERSHIP  STATUS  AVAILABILITY  MANAGER STATUS
0rz64sd6o8gp4gbgbgcjirdg9    ip-192-168-33-211.us-west-1.compute.internal  Accepted    Ready   Active
2t7ytjfii6cvod5yxgkbknoq9    ip-192-168-33-212.us-west-1.compute.internal  Accepted    Ready   Active
3t6pxnbg99au4s4bnbx8vihsk *  ip-192-168-33-201.us-west-1.compute.internal  Accepted    Ready   Drain         Leader
[ec2-user@ip-192-168-33-201 ~]$ docker node tasks ip-192-168-33-211.us-west-1.compute.internal
ID                         NAME        SERVICE   IMAGE                           LAST STATE              DESIRED STATE  NODE
1earfxrm60ivzt5z14sl2r4uh  redis.1     redis     redis:latest                    Running 48 minutes ago  Running        ip-192-168-33-211.us-west-1.compute.internal
eosq87rxsishoa8akbixe50n9  pg.1        pg        postgres:latest                 Running 51 minutes ago  Running        ip-192-168-33-211.us-west-1.compute.internal
2ej98rig4g070236i9ie3r22q  worker.2    worker    mikegoelzer/s2_worker:latest    Running 43 minutes ago  Running        ip-192-168-33-211.us-west-1.compute.internal
1p9klmouyuswtmcpb71b48dve  worker.3    worker    mikegoelzer/s2_worker:latest    Running 43 minutes ago  Running        ip-192-168-33-211.us-west-1.compute.internal
bvnedsxl8qf2722p82snxdnzn  frontend.4  frontend  mikegoelzer/s2_frontend:latest  Running 48 minutes ago  Running        ip-192-168-33-211.us-west-1.compute.internal
[ec2-user@ip-192-168-33-201 ~]$ docker node tasks ip-192-168-33-212.us-west-1.compute.internal
ID                         NAME        SERVICE   IMAGE                           LAST STATE                       DESIRED STATE  NODE
2k1wpyunptmky64m0z7a813ri  results.1   results   mikegoelzer/s2_results:latest   Accepted less than a second ago  Accepted       ip-192-168-33-212.us-west-1.compute.internal
4fea8k8kfbdeqs77o78q6p83w  worker.1    worker    mikegoelzer/s2_worker:latest    Running 43 minutes ago           Running        ip-192-168-33-212.us-west-1.compute.internal
8oqyby1a8nsb2a7rvequ0kamk  frontend.1  frontend  mikegoelzer/s2_frontend:latest  Running 48 minutes ago           Running        ip-192-168-33-212.us-west-1.compute.internal
8xd9ucbjciyva3a5xhqqkzhn6  frontend.2  frontend  mikegoelzer/s2_frontend:latest  Running 48 minutes ago           Running        ip-192-168-33-212.us-west-1.compute.internal
asqzhtgs9kvg8mn14lfl6vqvd  frontend.3  frontend  mikegoelzer/s2_frontend:latest  Running 48 minutes ago           Running        ip-192-168-33-212.us-west-1.compute.internal
2osjf2hyawi5427cjdubn7iwn  frontend.5  frontend  mikegoelzer/s2_frontend:latest  Running 48 minutes ago           Running        ip-192-168-33-212.us-west-1.compute.internal

Now docker exec into each replica from the appropriate node.  For the replicas running on .33.211, nslookup pg.mynetwork from inside a container correctly returns service VIP of postgres:
[ec2-user@ip-192-168-33-211 ~]$ docker ps
CONTAINER ID        IMAGE                            COMMAND                  CREATED             STATUS              PORTS               NAMES
e30770edd759        mikegoelzer/s2_worker:latest     "/usr/lib/jvm/java-7-"   5 minutes ago       Up 5 minutes                            worker.3.1p9klmouyuswtmcpb71b48dve
6d4190e1bc8d        mikegoelzer/s2_worker:latest     "/usr/lib/jvm/java-7-"   5 minutes ago       Up 5 minutes                            worker.2.2ej98rig4g070236i9ie3r22q
003652e2b082        postgres:latest                  "/docker-entrypoint.s"   12 minutes ago      Up 12 minutes       5432/tcp            pg.1.eosq87rxsishoa8akbixe50n9
[ec2-user@ip-192-168-33-211 ~]$ docker exec -it e30770edd759 sh
# nslookup pg.mynetwork
Server:		<IP_ADDRESS>
Address:	<IP_ADDRESS>#53

Non-authoritative answer:
Name:	pg.mynetwork
Address: <IP_ADDRESS>

But from the replica running on .33.212, the same nslookup pg.mynetwork from inside the replica fails:
[ec2-user@ip-192-168-33-212 ~]$ docker ps
CONTAINER ID        IMAGE                            COMMAND                  CREATED             STATUS              PORTS               NAMES
d95cf53b7ebb        mikegoelzer/s2_worker:latest     "/usr/lib/jvm/java-7-"   48 minutes ago      Up 48 minutes                           worker.1.4fea8k8kfbdeqs77o78q6p83w
[ec2-user@ip-192-168-33-212 ~]$ docker exec -it d95cf53b7ebb sh
# nslookup pg
Server:		<IP_ADDRESS>
Address:	<IP_ADDRESS>#53

Non-authoritative answer:
*** Can't find pg: No answer

# nslookup pg.mynetwork
Server:		<IP_ADDRESS>
Address:	<IP_ADDRESS>#53

Describe the results you received:
Shown above.  Internal DNS resolver is failing on one node, but working on the other.
Describe the results you expected:
The names pg and pg.mynetwork should be resolvable from within any replica of worker service.  Each replica should see the same view of the network.
Additional information you deem important (e.g. issue happens only occasionally):
RHEL 7.2, kernel 3.10.0-327.22.2.el7.x86_64 #1 SMP Thu Jun 9 10:09:10 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux

@sanimej Has this been fixed?
#26323 was opened a few days ago and seems to be related to this.
/cc @mrjana @mavenugo

Related to swarmkit/#1419 perhaps?

@mgoelzer @mavenugo Hey, is this the issue you've trying to reproduce on RHEL? Can you still reproduce it with the latest version?

@aluzzardi @mgoelzer This was reported in RC4. many fixes related to network state has gone in since. I think the best would be to try the latest docker master (1.12.2 will have the same set of fixes).

@mgoelzer Can you please try to reproduce on master, and either add more details here or close the issue? Thanks!


Remove Smart Answers from list of apps with bad README files

Since @chrisroos merged this pull request, Smart Answers should no longer appear in the list of apps with bad README files.

This needs a rebase. Do we want to update the link to smart-answers in the "Good examples" too?

I hadn't noticed that there is a reference to Smart Answers in both good & bad examples with both of them linking to a specific version of the README, so the changes suggested in this PR don't make so much sense. Closing in favour of #89.


Incorrect path for openapi.yml in HACKING.md

The API Documentation section in HACKING.md claims the OpenAPI spec is in _data/openapi.yml, but it is in fact in assets/openapi.yml.

PRs are especially welcome for such small typos.


Does not work in Web Workers

This library was working excellently until I tried to port some code I wrote to run in a web worker rather than in the main process. window does not exist in web workers, so web_sys::window() fails. That said, self.performance() is a thing in web workers so I think this module should be able to be updated to work in all browser environments.
This is the behavior I'm seeing using this module in a web worker: https://github.com/rustwasm/wasm-bindgen/issues/1046

The gloo project had to fix a similar issue: https://github.com/rustwasm/gloo/pull/56
I'm not sure how much work it would be to implement a similar solution here. It seems as though web_sys only directly supports performance off of web_sys::window() and not web_sys::global().

There is a similar issue opened for the web_sys crate: https://github.com/rustwasm/wasm-bindgen/issues/1752


Is there any way to speed up harvest on new input files?

I know there’s been caching implemented to speed up inferences after the first inference, but is there no way to speed up the initial inference??
Crepe just doesn’t sound as stable or good to me (this is with high quality singing data). Also crepe doesn’t seem to get any faster if I change the batch size in vc_infer_pipeline.py.

In the next version I will achieve multi-processing for harvest

In the next version I will achieve multi-processing for harvest

That would be fantastic, thank you! Just so I understand, does the current harvest method do some calculation on the input file and then cache it somehow for future inferences? If so, does that get cached to memory or is it on disk?

Better pitch method RMVPE is supported. Now harvest is not needed.