Excel SSO addin Issue

Prerequisites
Please answer the following questions before submitting an issue.
YOU MAY DELETE THE PREREQUISITES SECTION.

[x] I am running the latest version of Node and the tools
[x] I checked the documentation and found no answer
[x] I checked to make sure that this issue has not already been filed

Expected behavior
It should launch Azure for creating application configuration
Current behavior
I am getting below error message while running  npm run configure-sso with excel SSO addin
UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "'az' is not recognized as an internal or external command,
operable program or batch file.
".
at throwUnhandledRejectionsMode (node:internal/process/promises:389:7)
at processPromiseRejections (node:internal/process/promises:470:17)
at process.processTicksAndRejections (node:internal/process/task_queues:96:32) {
code: 'ERR_UNHANDLED_REJECTION'
}
Steps to Reproduce
Please provide detailed steps for reproducing the issue.

create the office addin with sso for excel template
run: npm run configure-sso
you get it...

Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

Operating System:
Node version:
Office version:
Tool version:

Failure Logs
Please include any relevant log snippets, screenshots or code samples here.

This is an issue with the office-addin-sso package of the Office-Addin-Scripts repo, so I'm moving it to that repo.

This is an issue with the office-addin-sso package of the Office-Addin-Scripts repo, so I'm moving it to that repo.

Thanks Rick

Is there any update on this?

Hi @SenMS-CSA, would you be able to provide the output from npm run configure-sso so I can see how far the call gets before outputting this error?

Hi @SenMS-CSA, would you be able to provide the output from npm run configure-sso so I can see how far the call gets before outputting this error?
Below is the error

Setting application secret
C:\xxxxx\VSCode\ExcelAzureSSO\MyExcelSsoAddin\node_modules\office-addin-sso\lib\configure.js:215
throw new Error(errorMessage);
^
Error: Unable to set application secret:
ERROR: Bad Request({"error":{"code":"CredentialTypeNotAllowedAsPerAppPolicy","message":"Credential type not allowed as per assigned policy '538f1913-366a-440a-95a0-e195cb55b282'.","details":[{"code":"InvalidKeyType","message":"Credential type not allowed as per assigned policy '538f1913-366a-440a-95a0-e195cb55b282'.","target":"credential.KeyType","blockedWord":"","prefix":"","suffix":""}],"innerError":{"date":"2024-10-10T23:01:21","request-id":"0bfbb31e-dbb1-4f81-b482-14fd15cee72c","client-request-id":"0bfbb31e-dbb1-4f81-b482-14fd15cee72c"}}})
at Object.<anonymous> (C:\xxxx\VSCode\ExcelAzureSSO\MyExcelSsoAddin\node_modules\office-addin-sso\lib\configure.js:215:19)
at Generator.throw (<anonymous>)
at rejected (C:\xxxxx\VSCode\ExcelAzureSSO\MyExcelSsoAddin\node_modules\office-addin-sso\lib\configure.js:5:65)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

@SenMS-CSA I am able to reproduce this issue as well. Thanks for reporting this. It has been put on our backlog. We unfortunately have no timelines to share at this point.
Internal tracking id: Office: 9484117


no-lasers

:star: PR built and available in a preview environment carlossg-croc-hunter-jenkinsx-serverless-pr-24 here

/meow

/approve


Sliders do not fire the Callback function when sliding.

As said in the title, sliders do not fire the Callback function when changed
Testing slider here:
local Fluent = loadstring(game:HttpGetAsync("https://github.com/ActualMasterOogway/Fluent-Renewed/releases/latest/download/Fluent.luau"))()
local Window = Fluent:CreateWindow({
    Title = "testing window",
    SubTitle = "hi",
    TabWidth = 160,
    Size = UDim2.fromOffset(580, 460),
    Acrylic = false,
    Theme = "Dark",
    MinimizeKey = Enum.KeyCode.RightControl
})

local Tab = Window:CreateTab({ Title = "Test", icon = "book" })

Tab:CreateSlider('Gravity', {
    Title = 'Gravity',
    Default = 196.2,
    Min = 0,
    Max = 500,
    Rounding = 1,
    Compact = false,

    Callback = function(Value)
		warn("Gravity changed:", Value)
                workspace.Gravity = Value
    end
})

Executor: Xeno & Solara
OS: Windows Build 22H2
Fluent Version: Latest

Hi there,
is there any Error in the console?

Hi there,
is there any Error in the console?

None at all.

None at all.

Does the Slider from the example script work for you?

None at all.

Does the Slider from the example script work for you?

yeah, i can slide it and stuff but it doesn't fire the callback

None at all.

Does the Slider from the example script work for you?

Sorry if its too much for you, just suggesting a feature.
You know Input's right? Theres Numeric and Finished properties for it
If you press enter while typing in the textbox, the textbox clears
I was wondering if you could add a ClearOnFocus property that sets TextBox.ClearTextOnFocus = true

None at all.

Does the Slider from the example script work for you?

Sorry if its too much for you, just suggesting a feature.
You know Input's right? Theres Numeric and Finished properties for it If you press enter while typing in the textbox, the textbox clears
I was wondering if you could add a ClearOnFocus property that sets the TextBox.ClearTextOnFocus property. And if you want another idea return the GUI Element itself like Options.MyInput.Instance
Thank you for making Fluent Renewed by the way, its awesome

None at all.

Does the Slider from the example script work for you?

Sorry if its too much for you, just suggesting some features.
You know Input's right? Theres Numeric and Finished properties for it
If you press enter while typing in the textbox, the textbox clears
I was wondering if you could add a ClearOnFocus property that sets TextBox.ClearTextOnFocus = true
And if you want another idea return the GUI Element itself like Options.MyInput.Instance
Thank you for making Fluent Renewed by the way, its awesome

Yeah sure ill work on that, still trying to figure out why it's not working for you. Could u open 2 separate issues for the suggestions so I can mark them as completed before I make a new Release?

Yeah sure ill work on that, still trying to figure out why it's not working for you. Could u open 2 separate issues for the suggestions so I can mark them as completed before I make a new Release?

Done, Just a question by the way, I saw zeke hub had keybinds on toggles in one element, How can I do that?

Hi there,
Done.
Best Regards, Oogway

Yeah sure ill work on that, still trying to figure out why it's not working for you. Could u open 2 separate issues for the suggestions so I can mark them as completed before I make a new Release?

Done, Just a question by the way, I saw zeke hub (a script using fluent ui) had keybinds on toggles in one element, How can I do that?

I'm not familiar with that feature in Fluent. I might add it someday

Yeah sure ill work on that, still trying to figure out why it's not working for you. Could u open 2 separate issues for the suggestions so I can mark them as completed before I make a new Release?

Done, Just a question by the way, I saw zeke hub (a script using fluent ui) had keybinds on toggles in one element, How can I do that?

I'm not familiar with that feature in Fluent. I might add it someday

And that day just came.


[Event Request] Table 81 "Gen. Journal Line" - GetCustomerAccount

Please add the following Event GetCustomerAccount in Table 81 "Gen. Journal Line"
local procedure GetCustomerAccount()
<...>
        CheckConfirmDifferentCustomerAndBillToCustomer(Cust, "Account No.");
        //>> Begin
        OnGetCustomerAccountOnBeforeValidatePaymentTermsCode(Rec, Cust, HideValidationDialog);
        //<< End
        Validate("Payment Terms Code");

    [IntegrationEvent(false, false)]
    local procedure OnGetCustomerAccountOnBeforeValidatePaymentTermsCode(var GenJournalLine: Record "Gen. Journal Line"; var Cust: Record Customer; HideValidationDialog: Boolean)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 12007.


Use dataset_hint and add prefix for caching

Frontend changes for caching

Agreed with the hint. Removed. Maybe we should pass in the state or something, but only if it is full state? Thoughts? @tetraptych

Yeah, I think ideally the backend accepts a list of service area descriptions. For a full state, this could be as simple as [{'state': 'TX'}], and we could use this information in the cache filename.
Then the backend methods (e.g., fetch) can accept these descriptions and convert them into SQL, etc.


undefined method `expectation_fulfilled?' for nil:NilClass

undefined method `expectation_fulfilled?' for nil:NilClass
When using allow_any_instance_of and/or expect_any_instance_of on two classes, one inheriting from the other, and having a failed expectation, this raise an error undefined method 'expectation_fulfilled?' for nil:NilClass.
Your environment

Ruby version: 3.1.2
rspec-mocks version: 3.12.0

Steps to reproduce
# frozen_string_literal: true

begin
  require "bundler/inline"
rescue LoadError => e
  $stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
  raise e
end

gemfile(true) do
  source "https://rubygems.org"

  gem "rspec", "3.12.0" # Activate the gem and version you are reporting the issue against.
end

puts "Ruby version is: #{RUBY_VERSION}"
require 'rspec/autorun'

class Foo
  def parent_method
  end
end

class Bar < Foo
  def child_method
  end
end

RSpec.describe Bar do
  it 'fails' do
    expect_any_instance_of(Foo).to receive(:parent_method)
    expect_any_instance_of(Bar).to receive(:child_method)
    Bar.new.child_method
  end
end

Expected behavior
Fails with the message :
Exactly one instance should have received the following message(s) but didn't: parent_method
Actual behavior
Raise an error :
Using bundler 2.3.7
Using diff-lcs 1.5.0
Using rspec-support 3.12.0
Using rspec-core 3.12.0
Using rspec-expectations 3.12.0
Using rspec-mocks 3.12.0
Using rspec 3.12.0
Ruby version is: 3.1.2
F

Failures:

  1) Bar
     Failure/Error: method_name.to_s if ExpectationChain === chains.last unless chains.last.expectation_fulfilled?

     NoMethodError:
       undefined method `expectation_fulfilled?' for nil:NilClass

                   method_name.to_s if ExpectationChain === chains.last unless chains.last.expectation_fulfilled?
                                                                                ^^^^^^^^^^^^^^^^^^^^^^^
# [FILTERED]/rspec-mocks-3.12.0/lib/rspec/mocks/any_instance/message_chains.rb:52:in `block in unfulfilled_expectations'
# [FILTERED]/rspec-mocks-3.12.0/lib/rspec/mocks/any_instance/message_chains.rb:51:in `each'
# [FILTERED]/rspec-mocks-3.12.0/lib/rspec/mocks/any_instance/message_chains.rb:51:in `map'
# [FILTERED]/rspec-mocks-3.12.0/lib/rspec/mocks/any_instance/message_chains.rb:51:in `unfulfilled_expectations'
# [FILTERED]/rspec-mocks-3.12.0/lib/rspec/mocks/any_instance/recorder.rb:100:in `verify'
# [FILTERED]/rspec-mocks-3.12.0/lib/rspec/mocks/space.rb:75:in `block in verify_all'
# [FILTERED]/rspec-mocks-3.12.0/lib/rspec/mocks/space.rb:75:in `each_value'
# [FILTERED]/rspec-mocks-3.12.0/lib/rspec/mocks/space.rb:75:in `verify_all'
# [FILTERED]/rspec-mocks-3.12.0/lib/rspec/mocks.rb:45:in `verify'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/mocking_adapters/rspec.rb:23:in `verify_mocks_for_rspec'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/example.rb:525:in `verify_mocks'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/example.rb:519:in `run_after_example'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/example.rb:283:in `block in run'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/hooks.rb:486:in `block in run'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/hooks.rb:486:in `run'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/example.rb:259:in `run'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/example_group.rb:646:in `block in run_examples'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/example_group.rb:642:in `map'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/example_group.rb:642:in `run_examples'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/example_group.rb:607:in `run'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/runner.rb:121:in `map'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/configuration.rb:2070:in `with_suite_hooks'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/runner.rb:116:in `block in run_specs'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/reporter.rb:74:in `report'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/runner.rb:115:in `run_specs'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/runner.rb:89:in `run'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/runner.rb:71:in `run'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/runner.rb:45:in `invoke'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/runner.rb:38:in `perform_at_exit'
# [FILTERED]/rspec-core-3.12.0/lib/rspec/core/runner.rb:24:in `block in autorun'

Additional information
It's coming from theses lines : https://github.com/rspec/rspec-mocks/blob/main/lib/rspec/mocks/any_instance/message_chains.rb#L51-L52
In that case, @chains_by_method_name contains all expected or allowed method_name in its keys, but one of the chains value is an empty array.
This seems related to https://github.com/rspec/rspec-rails/issues/1987, but related to rspec-mocks code-wise.

Would you like to send a PR to fix this, @AntoineBecquet ?

Well, maybe if I have more time to investigate in the future, but for now I don't really know how these @chains_by_method_name are managed.

Thanks for the reproduction, I've fixed this in #1501, I think its just a bad assumption that there'd always be an expectation, but for some reason there isn't, this isn't an invalid state for message chains because if you remove a stub it does end up as an empty list and this is the only method that doesnt handle that eventuality.


Update tools 23 09 06

Update iuc and lldelisle
Installation sequence for tool-installers

[ ] Test using @galaxybot test this
[ ] Inspect CI output for expected changes
[ ] Deploy using @galaxybot deploy this if test install was successful
[ ] Merge this PR

@galaxybot deploy this


Integration Test - Release - 2022/01/14 02:45:52

Auto create for integration test. IssueCommandFlow

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


Check for missing associated refinements

Also uses the actual sort of the associated refinement and not the poly-var + bool hack.

Unfortunately we still get the "missing error" during the trait normalization; we want to use the span for the callsite there but its unclear how to do so, without eg adding Span to the Normalizer?
Fixes #649

@ranjitjhala to report the "missing error" in the correct place I think we need to lookup the assoc refinement in ConvCtxt::conv_alias_reft and report an error if we can't find it (this may also fix the other error in the https://github.com/flux-rs/flux/issues/649 ?)
Also, a nice to have would be a newtype over the pair (DefId, Symbol) that guarantees the assoc refinement exists so we only construct valid assoc refinements projection in rty. Doing this would probably point to the places we are doing something wrong. More generally, we could even identify  everything that doesn't have a corresponding rust item with a newtype over (DefId, Symbol) (e.g., qualifiers, refinement functions, uif)

@nilehmann -- interesting thought but wouldn't that require us to basically reimplement impl_id_of_alias_reft (or something like it) for the conv phase? [ to recover the actual impl_id from the trait and generic-args? ]

Silly me, we don't need to re-implement anything ... we can just use the rty level stuff produced in the conv phase to do the lookup with impl_id_of_alias_reft ...

@ranjitjhala yeah that would work. But if we have a newtype around (DefId, Symbol) we would know statically all the places where calling assosc_refinement_def and sort_of_assoc_reft return Some. This is orthogonal though, checking we only construct valid associated refinements during conv is a good first step.

Ok, now an error is reported both in the impl AND at the callsite.
Given
#[flux::assoc(fn eval(x: int) -> int)]
pub trait MyTrait {}

impl MyTrait for i32 {}

#[flux::trusted]
#[flux::sig(fn(x: i32) -> i32[<T as MyTrait>::eval(x)])]
fn test01<T: MyTrait>(_x: i32) -> i32 {
    todo!()
}

pub fn test02() {
    test01::<i32>(0);
}

Flux will complain that
error[E0999]: associated refinement `eval` is not defined in implementation of trait `MyTrait`
 --> tests/tests/todo/issue_649b.rs:4:1
  |
4 | impl MyTrait for i32 {}
  | ^^^^^^^^^^^^^^^^^^^^
-Ztrack-diagnostics: created at crates/flux-fhir-analysis/src/compare_impl_item.rs:27:36

error[E0999]: associated refinement `eval` is not defined in this trait implementation
 --> tests/tests/todo/issue_649b.rs:4:1
  |
4 | impl MyTrait for i32 {}
  | ^^^^^^^^^^^^^^^^^^^^
-Ztrack-diagnostics: created at crates/flux-fhir-analysis/src/lib.rs:201:14

TRACE: normalize-errorr Emitted(ErrorGuaranteed(()))
error[E0999]: invalid associated refinement for this function call
  --> tests/tests/todo/issue_649b.rs:13:5
   |
13 |     test01::<i32>(0);
   |     ^^^^^^^^^^^^^^^^
-Ztrack-diagnostics: created at crates/flux-middle/src/queries.rs:660:29

error: aborting due to 3 previous errors

Ideally, we should somehow "merge" the last two errors, but at any rate, this is better than crashing so I think we should merge and move on..


Define command list in spreadsheet

Allow users to define a sequence of commands in a spreadsheet and then execute the sequence using a Fungus command. We'll probably need to extend Fungus commands to expose a factory method which knows how to interpret the spreadsheet row data to populate the correct command parameters.
Requested by a user on Reddit
http://www.reddit.com/r/Unity3D/comments/353atm/fungus_our_free_opensource_plugin_for_unity_that/cr187za
As well as supporting spreadsheets, we should support data in xml and json formats.

This has been implemented via Lua scripting.


AZERTY french keyboard

I didn't test it, it just builds.

Untested? There's a config option "RP6502_KEYBOARD" in CMakeLists.txt.

I don't own any PicoComputer hardware for now, only 2 Picos, 1 Pico W and a VGA demo board.
I'm trying to figure out how to test this, and spent my sunday afternoon struggling with picoprobe and openocd just to know I need another Pico or a Pico Debug Probe, that's why this PR is WIP.

Ahh, that's unexpected but certainly explains my wonder. You don't need a debugger for light development like this. But you do need a Picocomputer (or most of one).

I finally managed to test RIA alone with a serial to USB converter and our good old friend minicom, and corrected a few mistakes.
Every Unicode char gives an ?.
Numpad 9 with Shift still gives 9 which is incorrect.


Update popover.yml

Add information about Firefox support: https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/125#apis

This depends on https://github.com/mdn/browser-compat-data/pull/22848 being released in BCD, but since we have the status manually here we can just update it now.

Thank you @rakleed!


feature: use constant value to replace literals in supernode config.

Signed-off-by: zhouchencheng<EMAIL_ADDRESS>Ⅰ. Describe what this PR did
Replace literal values when initial supernode's base properties.
Ⅱ. Does this pull request fix one issue?
FailureCountLimit config item does not work now, fix it in this pr.
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #932 into master will increase coverage by 0.23%.
The diff coverage is 76.92%.

@@            Coverage Diff             @@
##           master     #932      +/-   ##
==========================================
+ Coverage   46.53%   46.77%   +0.23%
==========================================
  Files         114      112       -2
  Lines        6728     6651      -77
==========================================
- Hits         3131     3111      -20
+ Misses       3343     3291      -52
+ Partials      254      249       -5

Impacted Files
Coverage Δ

supernode/daemon/mgr/scheduler/manager.go
22.6% <0%> (ø)
:arrow_up:

supernode/config/config.go
69.76% <90.9%> (ø)
:arrow_up:

supernode/daemon/mgr/cdn/super_reader.go
0% <0%> (-22.62%)
:arrow_down:

supernode/util/range_util.go
90.47% <0%> (-4.27%)
:arrow_down:

supernode/server/router.go
63.63% <0%> (-1.28%)
:arrow_down:

pkg/fileutils/fileutils.go
80.73% <0%> (-0.35%)
:arrow_down:

cmd/dfdaemon/app/init.go
0% <0%> (ø)
:arrow_up:

...t/core/downloader/p2p_downloader/p2p_downloader.go
0% <0%> (ø)
:arrow_up:

supernode/daemon/mgr/task/manager.go
29% <0%> (ø)
:arrow_up:

supernode/server/piece_error_bridge.go

... and 7 more

Continue to review full report at Codecov.

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

LGTM.


Generalize radio buttons

It's a part of the refactoring-setting-related-code project (#142).
Creating a radio button is now as easy as making an object:
button1 = new RadioButton('Title of the button', ['choice1', 'choice2', ...], 'default_choice');

and putting a component using the object:
<ss-radiobutton [button]="setting.button1"></ss-radiobutton>

test

test


Release 2.0.0 Plan: support hashtable index

Lotusdb will support both bptree index and hashtable index, an interface needs to be established to support hashtable index, and users can choose which index to use.
URL of hashtable index: https://github.com/rosedblabs/diskhash

+1


Mkdocs basic setup + learn section

Solves #44
From the project root run a mkdocs serve for a preview.
TODO:

[X] Github Pages
[ ] Examples section

Mkdocs vanilla is quite powerless. It can't do basic things like substitution using macros. So either we will need an extension to do this OR shift to a more modern stack. For now I will add scripts to do the hacky work. Like copying examples/*.cn -> docs/examples/*.md
Ultimately, newer standards like Asciidoc make sense but their tooling is limited at the moment.
I am also quite annoyed at them for not giving an option to disable the footer OOTB.

You can see the output temporarily here: https://ellipse0934.github.io/cont/

DO YOU LIKE THE 404 PAGE @datawater ?

I literally was going to write a complement about that

Can you please fix the formatting on the index page? The "Inspired by Porth" text should be a list element and the the 4th element should be capitalized.


Bootstrap from gossip protocol

Summary
If Indexer were able to speak the gossip protocol it should be possible to bootstrap indexer without requiring an archival node. There is still a problem of where to get the genesis file.
Scope/Requirements
Indexer already has a fetcher interface currently configured to grab blocks one at a time in order from an archival node. We need an alternative implementation which collects blocks from the gossip protocol.
To make it faster we probably need a smarter algorithm able to download batches of blocks in parallel. If we are going to load blocks out of order the import loop needs to decouple the block loading process and the update process. Additionally the indexer DB would need a way to report missing blocks. It might be worth investigating whether or not something like a BitTorrent algorithm would be better than rolling our own P2P downloader.
Urgency/Relative Priority
This would greatly reduced the requirements for spinning up a new indexer instance and would plugin to indexer using existing abstractions.

By talking to a local trusted algod Indexer outsources the validation of the blocks. Indexer doesn't do any crypto checks. If we want to adopt more pieces of the protocol we should do the work on the algod end to modularize the protocol code so that we can use it as a library in Indexer.

There are other solutions to this problem that we would pursue before this suggestion. Closing.


bug: issues with python parser

Did you check docs and existing issues?

[x] I have read all the LazyVim docs
[X] I have searched the existing issues of LazyVim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
NVIM v0.10.0-dev-357+g4c05b1a6a-Homebrew
Operating system/version
windows 11 22H2 with wsl Ubuntu
Describe the bug
I installed the language parser for python with ":TSInstall python", says it has been installed properly, but when running ":checkhealth" and checking the "parsers/features" section, it shows that no features are enabled for python parser, while they're enabled for all the other languages
Steps To Reproduce

open nvim
run :TSInstall python
open a python file
start coding in python

Expected Behavior
syntax highlighting is supposed to work when typing in python and when running :checkhealth it should show that the features for python are enabled
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  "folke/LazyVim",
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

This is clearly an issue with nvim-treesitter. Try removing the .so file for the python parser. If the issue persists, file an issue with nvim-treesitter.


Freebsd 11.2-RELEASE LIST_CONCAT too few arguments provided to function-like macro

Platform: FreeBSD  11.2-RELEASE
Version Info:
0.6.8rc1
Python: 3.7.6 (default, Jan  2 2020, 01:18:33)
Executable: /root/venv3/bin/python
OS: FreeBSD
Arch: amd64
FreeBSD image: https://download.freebsd.org/ftp/releases/ISO-IMAGES/11.2/FreeBSD-11.2-RELEASE-amd64-disc1.iso
I setup a Freebsd 11.2 machine and have python code running on it. I installed nuitka using pkg and found the error below whilst trying to convert my project. After a few tries and trying the --clang flag i decided to try and convert a simple hello world python script and even that failed. I then went on to install nuitka on the machine using the repository but still got the same error. I also tried the same on FreeBSD 11.3-RELEASE and still got the same error.
It seems as though the definition for the LIST_CONCAT function is being pulled from the system queue.h file rather than the definition in the lists.h header file in python after installing nuitka. I tried to remove the IF_IDE check on the files to include the prelude.h file in nuitka in hopes that it would use the function definition in the lists.h file but that did not help.
I have however successfully used nuitka to convert my project on Debian Linux without any issues. The issue only seems to happen on FreeBSD. Also that gave me hope that my code was not the issue.
Code Example:
`def helloworld():
print("HELLO WHATS UP WORLD")
if name=="main":
helloworld()`
ERROR:
(venv3) root@:~ # python -m nuitka --module pythontest.py --debug In file included from static_src/CompiledCodeHelpers.c:2102: In file included from /root/venv3/lib/python3.7/site-packages/Nuitka-0.6.8rc1-py3.7.egg/nuitka/build/static_src/HelpersOperationBinaryAdd.c:23: /root/venv3/lib/python3.7/site-packages/Nuitka-0.6.8rc1-py3.7.egg/nuitka/build/static_src/HelpersOperationBinaryAddUtils.c:122:42: error:       too few arguments provided to function-like macro invocation     return LIST_CONCAT(operand1, operand2);                                          ^ /usr/include/sys/queue.h:467:9: note: macro 'LIST_CONCAT' defined here #define LIST_CONCAT(head1, head2, type, field) do {                           \         ^ 1 error generated. scons: *** [static_src/CompiledCodeHelpers.os] Error 1

So this is now on the develop branch and will be part of the 0.6.9 release, which hopefully is not too far off. I wanted to make it part of the hotfix, but then I forgot. :/

This is the last release 0.6.9 already for a while.


Telemetry #3: Implement Telemetry in msal-node

This PR builds on PR #1917 to enable sending Telemetry data to eSTS via 2 extra headers on all /token calls
Responsibilities of each library are:
msal-common:

Provides TelemetryManager class
Add Telemetry headers to each /token request
Clear telemetry related cache items on successful network call (Does not matter if the auth request itself is successful or not, just that the server acknowledged the request)
SilentFlowClient increments cache hit counter each time tokens are returned from the cache

msal-browser, msal-node, etc:

Instantiate instance of TelemetryManager with apiId, correlationId, cache implementation, forceRefresh value (silent calls only)
Pass Telemetry instance to authCodeClient and silentFlowClient
Cache errors

Coverage remained the same at 81.905% when pulling 078d4132512d8325e43774aa0d6673b183de149c on msal-node-MSER-Telemetry into 3e27237cdbcc50fd350a419a20e12a0c0c972d13 on dev.


⚠ Bofrost.lu has degraded performance

In 62b6db8, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1662 ms

Resolved: Bofrost.lu performance has improved in ebe3218 after 15 minutes.


Refactor the for loop in the charts section to use .forEach

I was just able to do this successfully with the map. See here.


Skip classpath dependency for Checkstyle task for better caching

Expected Behavior
CheckstyleTask should not be affected by the input classpath property.
For instance:

core project with main/java and test/java sources
checkstyleMain and checkstyleTests pass
core is modified
checkstyleTest should be UP-TO-DATE or FROM-CACHE

Note: Checkstyle team has removed classloader feature in 8.26 (https://github.com/checkstyle/checkstyle/issues/3773)
Deprecation in https://checkstyle.sourceforge.io/releasenotes.html#Release_8.26
Removal in https://checkstyle.sourceforge.io/releasenotes.html#Release_8.31
Current Behavior
checkstyleTests captures dependency on main classes via classpath, so :checkstyleTest is re-executed.
Context
Build scan: https://scans.gradle.com/s/spped3figdq46/timeline?cacheableFilter=cacheable&hideTimeline&outcomeFilter=SUCCESS,FAILED&sort=longest&typeFilter=org.gradle.api.plugins.quality.Checkstyle
Diff: https://github.com/apache/calcite/commit/6968f0af4aa4d0ec6cdc86dfb8372fe8652de7b9
CI: https://github.com/apache/calcite/actions/runs/215741270
The change was a small change (added a single assert statement) core/src/main/java and it triggered all the checkstyle tasks :(

The workaround is
tasks.withType<Checkstyle>().configureEach {
    // Checkstyle 8.26 does not need classpath, see https://github.com/gradle/gradle/issues/14227
    classpath = files()
}

That removes compilation dependencies from checkstyle task.
Before:
> Configure project :
Building Apache Calcite 1.25.0-SNAPSHOT
:linq4j:compileJava SKIPPED
:core:compileKotlin SKIPPED
:core:fmppMain SKIPPED
:core:javaCCMain SKIPPED
:core:versionClass SKIPPED
:core:compileJava SKIPPED
:cassandra:compileJava SKIPPED
:cassandra:processResources SKIPPED
:cassandra:classes SKIPPED
:core:processResources SKIPPED
:core:classes SKIPPED
:core:inspectClassesForKotlinIC SKIPPED
:core:jar SKIPPED
:core:compileTestKotlin SKIPPED
:core:fmppTest SKIPPED
:core:javaCCTest SKIPPED
:core:compileTestJava SKIPPED
:core:processTestResources SKIPPED
:core:testClasses SKIPPED
:core:testJar SKIPPED
:cassandra:compileTestJava SKIPPED
:cassandra:processTestResources SKIPPED
:cassandra:testClasses SKIPPED
:cassandra:checkstyleTest SKIPPED

After:
$ ./gradlew :cassandra:checkstyleTest -m
> Configure project :
Building Apache Calcite 1.25.0-SNAPSHOT

:cassandra:checkstyleTest SKIPPED

We are going to mark this property as @CompileClasspath first, see https://github.com/gradle/gradle/issues/17096
We could also add an option to ignore the compile classpath, i.e. add a boolean property to disable passing the classpath to Checkstyle if you are not using rules that would consume the classpath. There are some rules that do, though, like JavadocMethod (see https://stackoverflow.com/a/24495543/104894). I'm wondering if a switch like this would make sense once we already have the @CompileClasspath improvement.

@lptr , I believe JavadocMethod you mention is outdated (the answer was created in 2014).
Please review https://github.com/checkstyle/checkstyle/issues/3773 once again (I mention it in the very beginning of the issue).
Here's a commit that removes class loading from JavadocMethodCheck: https://github.com/checkstyle/checkstyle/commit/9844131cef5b7fba66af3137284d90ba31e8c7e3
I would suggest just ignoring classpath property when Checkstyle version is 8.26+, and treat it as @CompileClasspath (+ a potential user-facing warning) when Checkstyle version is less than 8.26.

Thanks @vlsi. Does this also apply to RedundantThrows (the other check mentioned in the SO post)?

RedundantThrows has been removed in 2014: https://github.com/checkstyle/checkstyle/issues/473

Hello, just letting you know since I saw this issue, ant's classpath is being removed in https://github.com/checkstyle/checkstyle/issues/12338 . Our CI alerted us to your repo. It looks like gradle is making use of our Ant.

It looks like Gradle 7.5.0+ no longer passes classpath to Checkstyle task (see https://github.com/gradle/gradle/commit/d99040e45bb2d78d5e3906960b8bcde5b21c6c0c#diff-a0d5462bc47bf8553d8560e0a3a6105f2605465a3eb632a63cc64fb812988c46L75 ), so it might be the right time to make Checkstyle#classpath property @Internal+ @Deprecated.
Then it won't fail people's builds, and it would make them faster as they would no longer depend on the classpath.

If gradle has removed usage of it, then it is all the better. We are removing it completely as it has unofficially been deprecated for a while.

@rnveach , Even though it is just fine for pgjdbc, I think it would be wise to keep the property in Checkstyle for a while.
For instance, Gradle removed the usage of checkstyle.classpath only in 7.5.0 which has been released on Jul 14, 2022.
It is a relatively recent version, and I expect there are still build scripts using previous Gradle versions.
If you remove classpath setter, then you effectively block the use of the recent Checkstyle in old Gradle versions.
Is the empty setter really that problematic so you are eager to break people's builds and force them to upgrade build systems?
I would suggest you reconsider removing the setter from Checkstyle and keep the empty method for a year or two.
I might be wrong, however, I truly do not see how an empty setClasspath makes Checkstyle maintenance harder, however, I can easily see how the removal of the setter would break users' builds with obscure error messages.

then you effectively block the use of the recent Checkstyle in old Gradle versions.

users are not blocked, users builds just becomes less performant, it is fine. Migration to new Gradle and new plugin will resolve a problem of plugin performance.
Unfortunately we did confusing design and I on behalf of Checkstyle see no reason to keep it alive. People/Team who care about extremely performant gradle most-likely not going to have much problems to upgrade plugin and Gradle.

I want this because I have slowed my compiler down with annotation pre-processing. I was working on fixing Javadoc issues and had to wait for re-compilation every time to re-run checkstyle. Could we get on with it? maybe leave the setter their and remove the dependency. If need be wait until v10 to remove the setter.


CPP inference example behaves differently from the Python one

The CPP inference example (inception_inference) seems not working
I followed the CPP tutorial. But found the CPP inference does not work as I expected. The python code works totally fine:
$ ./inference.py data/test/watercress/image_00672.jpg
probability=11.384139, class=watercress, idx=98

But when I use the code at incubator-mxnet/cpp-package/example/inference/inception_inference.cpp, loading EXACTLY THE SAME parameter file, symbol json file, and mean/std file, it gives me a DIFFERENT result:
[12:27:12] inception_inference.cpp:150: Loading the model from /home/weijia/workspace/learn-mxnet/flower-recognition-symbol.json

[12:27:12] inception_inference.cpp:163: Loading the model parameters from /home/weijia/workspace/learn-mxnet/flower-recognition-0010.params

[12:27:12] inception_inference.cpp:190: Loading the synset file.
[12:27:12] inception_inference.cpp:212: Load the mean image data that will be used to normalize the image before running forward pass.
[12:27:12] inception_inference.cpp:257: Loading the image /home/weijia/workspace/learn-mxnet/data/test/watercress/image_00672.jpg

[12:27:12] inception_inference.cpp:290: Running the forward pass on model to predict the image
[12:27:13] inception_inference.cpp:325: The model predicts the input image to be a [ ] with Accuracy = 11.5736

I checked the best_idx, which is evaluated to 73.
Environment info (Required)
$uname -a
Linux compute26 4.15.0-48-generic #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build info (Required if built from source)
Compiler (gcc/clang/mingw/visual studio):
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.4.0-1ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04)

MXNet commit hash: 12c422697413cfd69d846cdb4d1d487c487220e2>
Build config:
(Paste the content of config.mk, or the build command.)
$ cmake -GNinja -DUSE_CUDA=OFF -DUSE_JEMALLOC=OFF -DUSE_MKL_IF_AVAILABLE=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DUSE_CPP_PACKAGE=ON ..
$ ninja

Then, go to incubator-mxnet/cpp_package/example/inferences, change the Makefile to fit my path setting:
diff --git a/cpp-package/example/inference/Makefile b/cpp-package/example/inference/Makefile
index 5efe6cfb6..9b01d0d97 100644
--- a/cpp-package/example/inference/Makefile
+++ b/cpp-package/example/inference/Makefile
@@ -25,7 +25,7 @@ CXX=g++

 CFLAGS=$(COMMFLAGS) -I../../../3rdparty/tvm/nnvm/include -I../../../3rdparty/dmlc-core/include -I ../../include -I ../../../include -Wall -O3 -msse3 -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas
-CPPEX_EXTRA_LDFLAGS := -L../../../lib -lmxnet $(OPENCV_LDFLAGS)
+CPPEX_EXTRA_LDFLAGS := -L../../../build -lmxnet $(OPENCV_LDFLAGS)

 all: $(CPPEX_EXE)

And then, build the CPP example:
$ make

Steps to reproduce
Run this command:
./inception_inference --params ~/workspace/learn-mxnet/flower-recognition-0010.params --synset ~/workspace/learn-mxnet/synset.txt --symbol ~/workspace/learn-mxnet/flower-recognition-symbol.json --image ~/workspace/learn-mxnet/data/test/watercress/image_00672.jpg --mean ~/workspace/learn-mxnet/mean_std_224.nd --input_shape "3 224 224"

What have you tried to solve it?
I checked that I'm using the correct parameter files, symbol files, and mean/std files.

@mxnet-label-bot add [question, example]
@leleamol : Would you be able to help here?

Just update the cpp inference example for image processing.
Could you try again?

https://github.com/apache/incubator-mxnet/tree/master/cpp-package/example/inference

Sorry for the late reply. I tried the latest example. Although it's another example other than the previous inception_inference. It works.


fix: removes dependancy on two libraries for bip39

Try out this version of Leather — download extension builds.

Small change so we only use "@scure/bip39"

Nice one Pete.
On the copied fns from bip39, reckon we just remove the tests that utilise it and remove the new function.
The idea was to rigorously test the implementation again another library, but don't think that's necessary when we have the other wagyu library tests. If we remove Sanity check tests copied from bitcoinjs-lib vs other libs we still have the others left.

OK great, thanks! I'll remove them. Good to get rid of a package we don't need anyway


Noref

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

server-2013/add-cssladelegates.md
:white_check_mark:Succeeded

server-2013/cmdlets-in-skype-for-business-online-that-do-not-use-a-scope-or-an-identity.md
:white_check_mark:Succeeded
View

server-2013/cmdlets-in-skype-for-business-online-that-use-a-conferencing-provider-identity.md
:white_check_mark:Succeeded
View

server-2013/cmdlets-in-skype-for-business-online-that-use-a-user-identity-and-the-tag-scope.md
:white_check_mark:Succeeded
View

server-2013/cmdlets-in-skype-for-business-online-that-use-a-user-identity.md
:white_check_mark:Succeeded
View

server-2013/cmdlets-in-skype-for-business-online-that-use-only-the-global-scope.md
:white_check_mark:Succeeded
View

server-2013/cmdlets-in-skype-for-business-online-that-use-the-global-scope-and-the-tag-scope.md
:white_check_mark:Succeeded
View

server-2013/cmdlets-in-skype-for-business-online-that-use-the-tenant-parameter.md
:white_check_mark:Succeeded
View

server-2013/combining-skype-for-business-online-cmdlets-with-other-windows-powershell-cmdlets-in.md
:white_check_mark:Succeeded

server-2013/configure-federation-routes-and-media-traffic_1.md
:white_check_mark:Succeeded
View

server-2013/configuring-lync-server-2013-to-use-microsoft-exchange-server-2013-archiving.md
:white_check_mark:Succeeded
View

server-2013/enable-exchange-2013-outlook-web-app-and-im-integration.md
:white_check_mark:Succeeded
View

server-2013/get-csslaconfiguration.md
:white_check_mark:Succeeded

server-2013/get-cstenantlicensingconfiguration.md
:white_check_mark:Succeeded

server-2013/how-user-photos-are-displayed-in-lync.md
:white_check_mark:Succeeded
View

server-2013/identities-scopes-and-tenants-in-skype-for-business-online.md
:white_check_mark:Succeeded
View

server-2013/lync-online-lync-online-cmdlets.md
:white_check_mark:Succeeded

server-2013/lync-server-2013-active-directory-cmdlets.md
:white_check_mark:Succeeded

server-2013/lync-server-2013-active-directory-schema-extensions-classes-and-attributes-used-by-lync-server.md
:white_check_mark:Succeeded
View

server-2013/lync-server-2013-address-book-server-cmdlets.md
:white_check_mark:Succeeded

server-2013/lync-server-2013-administering-the-address-book-service.md
:white_check_mark:Succeeded
View

server-2013/lync-server-2013-advanced-enterprise-voice-cmdlets.md
:white_check_mark:Succeeded

server-2013/lync-server-2013-application-endpoints-cmdlets.md
:white_check_mark:Succeeded

server-2013/lync-server-2013-application-management-cmdlets.md
:white_check_mark:Succeeded

server-2013/lync-server-2013-application-server-and-services-cmdlets.md
:white_check_mark:Succeeded

server-2013/lync-server-2013-applying-an-archiving-policy-to-users.md
:white_check_mark:Succeeded
View

server-2013/lync-server-2013-approve-a-device-update-rule.md
:white_check_mark:Succeeded
View

server-2013/lync-server-2013-archiving-and-monitoring-cmdlets.md
:white_check_mark:Succeeded

server-2013/lync-server-2013-assign-a-per-user-archiving-policy.md
:white_check_mark:Succeeded
View

server-2013/lync-server-2013-assign-a-per-user-client-version-policy.md
:white_check_mark:Succeeded
View

server-2013/lync-server-2013-assign-a-per-user-conferencing-policy.md
:white_check_mark:Succeeded
View

server-2013/lync-server-2013-assign-a-per-user-dial-plan-policy.md
:white_check_mark:Succeeded
View

server-2013/lync-server-2013-assign-a-per-user-location-policy.md
:white_check_mark:Succeeded
View

server-2013/lync-server-2013-assign-a-per-user-mobility-policy.md
:white_check_mark:Succeeded
View

server-2013/lync-server-2013-assign-a-per-user-persistent-chat-policy.md
:white_check_mark:Succeeded
View

server-2013/lync-server-2013-assign-a-per-user-pin-policy.md
:white_check_mark:Succeeded
View

server-2013/lync-server-2013-assign-a-per-user-voice-policy.md
:white_check_mark:Succeeded
View

server-2013/lync-server-2013-assign-an-external-user-access-policy-to-a-lync-enabled-user.md
:white_check_mark:Succeeded
View

server-2013/lync-server-2013-assign-policies-to-a-common-area-phone.md
:white_check_mark:Succeeded
View

server-2013/lync-server-2013-associate-a-subnet-with-a-network-site.md
:white_check_mark:Succeeded
View

server-2013/lync-server-2013-backup-and-high-availability-cmdlets.md
:white_check_mark:Succeeded

server-2013/lync-server-2013-call-admission-control-cmdlets.md
:white_check_mark:Succeeded

server-2013/lync-server-2013-call-park-application-cmdlets.md
:white_check_mark:Succeeded

server-2013/lync-server-2013-central-management-store-replication-status.md
:white_check_mark:Succeeded
View

server-2013/lync-server-2013-centralized-logging-cmdlets.md
:white_check_mark:Succeeded

server-2013/lync-server-2013-certificate-and-authentication-cmdlets.md
:white_check_mark:Succeeded

server-2013/lync-server-2013-certificate-requirements-for-external-user-access.md
:white_check_mark:Succeeded
View

server-2013/lync-server-2013-certificate-summary-extensible-messaging-and-presence-protocol-xmpp-federation.md
:white_check_mark:Succeeded
View

server-2013/lync-server-2013-certificate-summary-single-consolidated-edge-with-private-ip-addresses-using-nat.md
:white_check_mark:Succeeded
View

server-2013/lync-server-2013-changes-in-lync-server-that-affect-edge-server-planning.md
:white_check_mark:Succeeded
View

This comment lists only the first 50 files in the pull request.
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


How to clear the cache, cookies and local storage in protractor. I already tried cleaning local and session storage, it's not working in my case. I want to execute the ctrl+shift+delete using the protractor script only.

How to clear the cache, cookies and local storage in protractor. I already tried cleaning local and session storage, it's not working in my case. I want to execute the ctrl+shift+delete using the protractor script only.
Below code using in after each function but not achieved the required solution.
afterEach( async function () {
await browser.manage().deleteAllCookies();
await browser.executeScript("window.sessionStorage.clear()");
await browser.executeScript("window.localStorage.clear()");
await browser.actions().sendKeys(protractor.Key.CONTROL+protractor.Key.SHIFT+ protractor.Key.DELETE).perform();
Can anyone suggest some solution over this?
Any other solution, which clears the SSO login details.

Try to use CTRL + F5 by actions
browser.actions().keyDown(protractor.Key.CONTROL).sendKeys(protractor.Key.F5).perform();

Try to use CTRL + F5 by actions
browser.actions().keyDown(protractor.Key.CONTROL).sendKeys(protractor.Key.F5).perform();

Not working, still the last user data preserved.

In our tests, we succeed to clear the localstorage with this syntax:
afterEach((done) => {
	setTimeout(() => {
		browser.executeScript('window.localStorage.clear();');
		done();
	}, 250);
});

We had to add a timeout to ensure that the localstorage can be cleared by the browser.
Hope it helps.


Push 0.6.0 on PyPi

Thanks a lot for this implementation.
0.6.0 is committed on GitHub, but not present on PyPi. It is useful for TF 2.0 and Keras 2.3 users. Do you plan to push it in a near future?

Done.


fix e2e test: adjust test to recently added "upgrade-insecure-request" directive

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 99.664%

Totals

Change from base Build<PHONE_NUMBER>:
0.005%

Covered Lines:
12490

Relevant Lines:
12491

💛  - Coveralls


fix to not overwrite STAN_THREADS when range checks are disabled

Summary
We were accidentally overwriting STAN_THREADS in the makefile when STAN_NO_RANGE_CHECKS was defined. This just fixes that by making a new makefile variable for the range checks
Tests
No new tests
Release notes
Bugfix for range checks not overriding STAN_THREADS
Checklist

[ ] Math issue #(issue number)

[x] Copyright holder: Steve Bronder
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

[x] the basic tests are passing

unit tests pass (to run, use: ./runTests.py test/unit)
header checks pass, (make test-headers)
dependencies checks pass, (make test-math-dependencies)
docs build, (make doxygen)
code passes the built in C++ standards checks (make cpplint)

[x] the code is written in idiomatic C++ and changes are documented in the doxygen

[x] the new changes are tested

@rok-cesnovar fyi we were missing an ifdef in the Jenkins opencl tests so had to dismiss review


Refactor: rename interfaces and functions in vela top to promote semanticity

Description of your changes

rename name of interfaces and functions in vela top to promote semanticity

Interface:

ResourceListener -> ViewListener
Component -> View

Function:

PopComponent -> PopView
PushComponent -> PushView
TopComponent ->TopView
IsLastComponent -> IsLastView

Fixes #
I have:

[x] Read and followed KubeVela's contribution process.
[ ] Related Docs updated properly. In a new feature or configuration option, an update to the documentation is necessary.
[x] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

Special notes for your reviewer

Excuse me, I have only made some name modification in vela top to promote semanticity.
But the Codecov report the coverage of test case is not satisfiable, I am confused about this, I think it maybe some mistakes in coverage computation. Because the codes missing test case have nothing to do with me. I have tried to re-commit sometimes, but it doesn't work.
So, if it is convenient, can you help me approve and merge this PR? I am very grateful for that.
@wonderflow  @Somefive  @zzxwill @StevenLeiZhang  @charlie0129 @chivalryq

Great! Test coverage is not the sole criteria or a blocking factor for your PR, so there's no worries about it and your PR will be merged by maintainers sooner or later.

Thanks for you very much. 😄


CB-10839 Cannot open hue UI when Public Endpoint Access Gateway is enabled

The original fix for this bug revealed an older bug in the Hue config logic that had been missed
until now. This fixes that logic, by adding a template variable for knox_proxyhosts, and by
correctly setting the template config "hue-knox_proxyhosts" setting, instead of the invalid
"knox_proxyhosts" setting.
Tested with unit tests and in local CB environment.

Nice work!

Thanks for the new unit test!


Issue #565: Title not centered

Add margin-left: -72px to make title ignore the size of traffic lights plus the margins associated with the traffic light
The total size of traffic light (image + margins) is 72px thus the -72px.
Another option is to make the title have position: absolute and give it a negative z-index to make sure it doesn't mess with the traffic lights.
The final result:

@joviij Tip: Next time, write Fixes #565 (switch out the issue number, of course) in the pull request description and the issue will be automatically closed when the pull request is merged ;)


Remove deprecated Kubernetes on Mesos

Also see https://github.com/kubernetes/website/pull/6668

This change is

/lgtm


Add the guide to no recommendation to use wrapper objects in almost case

Basically, we recommend to use utility types & functions.
Wrapper objects has some downside if your project has multiple versions of this package in its project dependencies.

instanceof might work unexpectedly if you (a instanceof b) in this case.
This is confusable behavior.

a is created by the constructor provided by the version a of this.
b is the constructor provided by the version b of this.

Bloat bundle size unnecessarily.

It's hard for almost JS code minifier to minify a property on prototype chain.

So we decide to no-recommend wrapper objects without any strong motivation.

This does not means to make them obsolete or deprecate now.
We don't have any concrete plan to deprecate these API.
Of course, however, we would lower priorities of them.

This change is

bors r+


Add support for ratelimit-server

Allows the server to communicate with ratelimit-server. Ported from musicbrainz-server's code & tested against a local instance of ratelimit-server (but since this stuff is fairly new to me, a thorough sanity check would be nice).

@mayhem I'll work on making the appropriate changes to ratelimit-server, then deploy this to coverartarchive.org/beta/ for testing.
Any suggestions about what the per-user rate-limit should be?

These requests are fairly light-weight compared to other WS requests on our sites. Maybe 2/second? 3?

Is this still relevant?

No, we can close this.


lyra: 1.6 -> 1.6.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/bfgroup/lyra/releases.
meta.description for lyra is: "A simple to use, composable, command line parser for C++ 11 and beyond"
meta.homepage for lyra is: "https://github.com/bfgroup/Lyra"
meta.changelog for lyra is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.6.1 in filename of file in /nix/store/anhyzn3y90fmqpzvi7blki2fk1d81nvi-lyra-1.6.1

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
lyra
sycl-info

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/anhyzn3y90fmqpzvi7blki2fk1d81nvi-lyra-1.6.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A lyra https://github.com/r-ryantm/nixpkgs/archive/d77a58165e09f2ef8d5578ce837c12ddb0120ab5.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/anhyzn3y90fmqpzvi7blki2fk1d81nvi-lyra-1.6.1
ls -la /nix/store/anhyzn3y90fmqpzvi7blki2fk1d81nvi-lyra-1.6.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

lyra
sycl-info

Maintainer pings
cc @davidtwco for testing.

@ofborg build lyra sycl-info


Problem with multiple Picker

Hi, There are two problems I come across

There is no easy method to disable back date in Datepicker
When initiasing multiple picker using similar statement as below all pickers' values change on close instead of the current one.

$('#start_time,#end_time, .pick-date').datepicker()
Thanks

Hi @NitinPrakash
For the second issue you can use an each statement instead:
$('#start_time,#end_time, .pick-date').each(function(){
$(this).datepicker();
});
/Aman


in bails-wallet entering a share with spaces is rejected

If the user enters the spaces exactly like it was displayed by display_confirm then the share should be accepted. Spaces anywhere else including a trailing space will throw the non-alphanumeric character error.
in order to prevent copy and paste from the display dialog to the entry dialog, a different whitespace character than space will be used and perhaps other invisible characters that throw a warning when detected to not copy and paste and to write the share down.

thank you @epiccurious for this bug report / feature enhancement

If a share is typed with spaces in the wrong places the error message is strange. It should display "non-alphanumeric character detected"


False/True activeupondischarge

There are many ICU stay cases that the patient has the same diagnosis coded as False (e.g. with 72 min diagnosis offset) and as True (e.g. with 118 min diagnosis offset). When a diagnosis is coded as False in activeupondischarge variable?

When the diagnosis is no longer relevant on discharge from the unit, the activeupondischarge variable will be False.


bugfix(authentication): fix config errors on initialization

corresponding CD-PR: https://github.com/catenax-ng/tx-portal-cd/pull/77

add healthchecks to ensure pod is finished initializing config before facing traffic
Refs: CPLP-2567

Unfortunately WebApplication is a sealed class that cannot be faked, therefore unit-test-coverage cannot easily be increased.


feat(stack): DLT-1805 add responsive gap prop

feat(gap): DLT-1805 enable responsive gap prop

Obligatory GIF (super important!)

:hammer_and_wrench: Type Of Change

These types will increment the version number on release:

[ ] Fix
[x] Feature
[ ] Performance Improvement
[ ] Refactor

These types will not increment the version number, but will still deploy to documentation site on release:

[ ] Documentation
[ ] Build system
[ ] CI
[ ] Style (code style changes, not css changes)
[ ] Test
[ ] Other (chore)

:book: Jira Ticket
DLT-1805

:book: Description
Allows setting the gap as an object with breakpoints and values.

:pencil: Checklist

For all PRs:

[x] I have ensured no private Dialpad links or info are in the code or pull request description (Dialtone is a public repo!).
[x] I have reviewed my changes.
[x] I have added all relevant documentation.
[x] I have considered the performance impact of my change.

For all Vue changes:

[x] I have added / updated unit tests.
[ ] I have made my changes in Vue 2 and Vue 3. Note: you may sync your changes from Vue 2 to Vue 3 (or vice versa) using the ./scripts/dialtone-vue-sync.sh script. Read docs here: Dialtone Vue Sync Script
[ ] I have validated components with a screen reader.
[ ] I have validated components keyboard navigation.

For all CSS changes:

[x] I have used design tokens whenever possible.
[x] I have considered how this change will behave on different screen sizes.
[ ] I have visually validated my change in light and dark mode.
[x] I have used gap or flexbox properties for layout instead of margin whenever possible.

:crystal_ball: Next Steps
Add Vue 3

:camera: Screenshots / GIFs

Recommend renaming PR to feat(stack): DLT-1805 add responsive gap prop.

Watch my attached screencast. You might also see if what I describe is currently a problem for the Stack's responsive direction prop.
Screen.Recording.2024-08-08.at.11.47.09.AM.mov

@francisrupert I updated the media queries here: https://github.com/dialpad/dialtone/pull/435/commits/7b8aa172799f452d238b50d759c5eb335ecded2a
Let me know if those are the expected

This could potentially be a breaking change with usage of the existing stack component.. but seems nowhere in DP or DPM the responsive stack object is being used, so I think it should be pretty safe.


Save Plot Image Using Memory Stream

It appears that there is no option to save the plot image to the memory stream as PNG type.
It would be good to have this option to avoid the following sequence:

writing to the disk,
reading image files to the memory stream,
deleting files,
saving memory stream byte array as a blob in SQLite (for example)

What kind of memory stream you talk about? You mean simply memory, no?
Actually you can do save the whole Plot in memory. Check out the API documentation: https://scottplot.net/doc/v4/api/ScottPlot.Plot.html#ScottPlot_Plot_Copy
Plot MySavedPlot = formsPlot1.Plot.Copy();

Hi @dusko23,
You can easily render a plot to an in-memory bitmap.
And then convert it to the format you prefer.
Just check how save to file works. First step is in-memory bitmap.
https://github.com/ScottPlot/ScottPlot/blob/15b9959020eddda5319e8145ff2e2b44d52c02ef/src/ScottPlot4/ScottPlot/Plot/Plot.Render.cs#L265

Thanks for pointing that out.
I was following CookBook and only saving files are shown.

Hi @dusko23, thanks for the question! (and thanks StendProg for your answer)
This also works:
ScottPlot.Plot plt = new(600, 400);
plt.AddSignal(ScottPlot.DataGen.Sin(51));
plt.AddSignal(ScottPlot.DataGen.Cos(51));

byte[] bytes = plt.GetImageBytes();

using MemoryStream ms = new();
ms.Write(bytes);

using FileStream fs = new("out.png", FileMode.Create, System.IO.FileAccess.Write);
ms.WriteTo(fs);


Person sleeping

In fall detection project you mentioned that when height is greater than the width and vice versa you detect if person is fall down or not but what about when person is sleeping ? How you deal with that condition ?

Yeah, fall detection will not work on a sleeping person. The solution could be to check whether the person is lying on the bed or not. If the person is on a bed then that will not be considered as a fall.


Update FB SDKs to the latest versions (9)

Is your feature request related to a problem? Please describe.
The plugin currently uses old and deprecated/retired versions of the Facebook SDK for both iOS and Android. They are on version 5, while version 9 is out and Facebook is strongly urging to update to this one. Usage of version 5 creates compatibility issues with other plugins and SDKs that require later versions of FacebookCore, and additionally cannot take advantage of the iOS 14 changes related to tracking and data collection.
Describe the solution you'd like
Update Facebook dependencies to the latest versions, and change the Class/Method names to reflect the names in the new SDK.
For Android the maven dependency is com.facebook.android:facebook-login:8.1.0
For iOS the pod dependency is https://cocoapods.org/pods/FBSDKLoginKit
The migration guide for iOS can be found here: https://github.com/facebookarchive/facebook-swift-sdk/blob/master/MigrationGuide.md
Describe alternatives you've considered
I haven't considered any alternatives yet.

Thanks issue.
I updated, but this has break changes. So label as v2.0.0:
https://github.com/capacitor-community/facebook-login/commit/4168982acf8454e3ac9ef7c51f5d68f46801422c
Please try this. Thanks.

I am not using FB sharing, so I can't test for the additional parameters needed, but everything else works fine. Thank you for the quick update.


Inventory Item Combinable: Cross-reference throws recursion error

I’m getting a recursion error when trying to set up combinable items and setting a reference to each other.
It currently only lets me do this one way:
Repro steps:
Within Item A, I assign item B to be the combinable item.  This also works in-game.
Within Item B, I attempt to assign Item A to be the combinable item within item B → Godot throws the Recursion error.

It seems like Godot Editor doesn't like Resources referencing each other like this, so I've changed this to be string based for now. Is a bit less intuitive but works.
Considering this fixed in Alpha 202312h.


add layer extent functionality

For a given layer it would be valuable to derive the spatial extent (minimum bounding rectangle) of all features of the layer.  Context is to report the spatial extent for a layer as part of feature collection metadata.

For a given layer it would be valuable to derive the spatial extent (minimum bounding rectangle) of all features of the layer. Context is to report the spatial extent for a layer as part of feature collection metadata.

There's no way to know this without doing a sequential scan of the table. You can get an estimated extent with ST_ExtimatedExtent but it's estimated only and will normally not be the true extent. Or it might be NULL because it doesn't have the data.
This was a problem with many Mapnik installs on some stylesheets. Without explicit bounds, it got an estimated extent which was less than the world, and this lead to buggy behavior around the edges.


Link to false information in Readme

Recently the README.md file was updated with a link to the 2020 article about the comparison between frontend implementations: https://medium.com/dailyjs/a-realworld-comparison-of-front-end-frameworks-2020-4e50655fe4c1 . That article contains false information regarding the size of the js bundle of the crizmas-mvc implementation. I wrote a comment there signaling this: https://raul-mihaila.medium.com/this-is-the-author-of-crizmas-mvc-ec5bc7817e5d , but the author of the original article didn't take notice. The difference is huge, the real bundle size (about 53KB) is less than 3 times lower than what the article says it is (178KB). (In the mean time I also did an update to the versions of the crizmas packages in the crizmas implementation but it has no significant effect on the bundles size.)

Maybe the author (@jacekschae) of the article didn't see your comment. Have you tried to contact him directly?

Hi, thanks for the information and I'm sorry if the information was not correct. The mistake was not intentional. Even though I check the information and try to make sure it's correct sometimes there are mistakes.
I checked my reference materials and at the time of writing this article the bundle size was 178
I believe this article from 2020 would need an update since there was a lot of information that changed. I promise to ask for your feedback before publishing an update to the article.
I'm sorry if the information in the article is not correct and I'm sorry for not taking the notice of the comment -- I'm not very good on reading them.

@jacekschae do you plan to write a new article any time soon? I still think the best would be to edit the existing article since the information is very far from true and it doesn't do justice to crizmas-mvc. At least a note in the article would be welcome if it's too difficult to update the chart. Thanks!


[Question]: How to work with winCLIP on custom dataset? (also a call for better examples)

Describe the bug
Following the recent advance in Anomaly classification/segmentation, I wanted to try the new winCLIP model, of which the anomalib library also has an implementation. As this is a zero-shot model, i would assume that this would easily work out of the box. Anyone have any experience of how to test zero-shot or to give a couple "normal/healthy" images for few-shot? I can't get it working.  I would assume that (as it's zero-shot) i would be able to just input some custom defect images? I also can't figure out the few-shot using some normal/healthy images from my own dataset.
Here is my current code:
from anomalib.models.image import WinClip
from anomalib.engine import Engine

# Import the datamodule
from anomalib.data import Folder
from anomalib.data.utils import TestSplitMode

# Create the datamodule
datamodule = Folder(
    name="lasercut_plank",
    root="./DATA_0shot",
    normal_dir="normal",
    test_split_mode=TestSplitMode.NONE
)

# Setup the datamodule
datamodule.setup()

# Access the datasets
train_dataset = datamodule.train_data

# Access the dataloaders
train_dataloader = datamodule.train_dataloader()

# Create the model and engine
model = WinClip(class_name="lasercut_plank")
engine = Engine(task="segmentation")

# Train a Patchcore model on the given datamodule
engine.train(datamodule=datamodule, model=model)

Dataset
Other (please specify in the text field below)
Model
Other (please specify in the field below)
Steps to reproduce the behavior
None
OS information
OS information:
WSL ubuntu on windows 11
Name: anomalib
Version: 1.2.0
Expected behavior
none
Screenshots
No response
Pip/GitHub
pip
What version/branch did you use?
No response
Configuration YAML
none

Logs
none

Code of Conduct

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

Hi, you are right, WinClip is a zero-shot model, so in theory, you can use it out-of-the box to generate some predictions on local images.
However, the full answer is a bit more nuanced. WinClip, like many other anomaly detection models, does not produce binary normal-vs-anomalous classification labels or segmentation masks, but instead produces real-valued anomaly scores (image-level) and anomaly maps (pixel-level). To convert the anomaly scores to labels, we need to compare them to some known threshold value (and assign a normal label to all scores below the threshold, and an anomalous label to all scores above the threshold).
When using WinClip out-of-the-box to generate predictions on a new dataset, we don't know which threshold value we should use. This is why we usually run a validation sequence on a small subset of our data which contains some normal and anomalous samples. During this validation sequence, we adaptively compute the optimal threshold value by maximizing the F1 score over the validation set. The validation sequence also collects some statistics used for normalizing the raw anomaly scores and maps to the [0, 1] range.
Now let's get back to your use-case. If retrieving just the raw anomaly scores is sufficient for your use-case, you could use WinClip to generate predictions by directly calling the engine's predict method, which allows passing a path to an image or folder of images. The following would be sufficient to yield the predictions:
from anomalib.models import WinClip
from anomalib.engine import Engine

engine = Engine(task="classification")
model = WinClip(class_name="lasercut_plank")

predictions = engine.predict(model, data_path="./DATA_0shot/normal")

You can access the raw predictions by inspecting the predictions variable.
When running predict, the engine also writes visualizations of the predictions to the results folder in your working directory. By looking at the visualizations, you can easily confirm that the model is not able to make sense of the raw anomaly scores. The labels will likely be inaccurate and the heatmaps flat. This is because of the lack of adequate threshold and normalization statistics needed to convert the raw predictions to meaningful results.
To improve this, you will have to provide Anomalib with some normal and anomalous validation images that can be used for normalization and thresholding. Here's some example code illustrating how this could be achieved.
from anomalib.models import WinClip
from anomalib.engine import Engine
from anomalib.data import Folder

engine = Engine(task="classification")
model = WinClip(class_name="lasercut_plank")

datamodule = Folder(
    name="lasercut_plank",
    root="./DATA_0shot",
    normal_dir="normal",
    abnormal_dir="abnormal",  # or wherever your abnormal images are located
    task="classification",   # we don't have ground-truth masks, so we can't use the segmentation task type
)

engine.validate(model, datamodule=datamodule)
engine.predict(model, data_path="path/to/your/query/images")

Few-shot mode
To run WinClip in few-shot mode, simply set the k_shot parameter to the desired number of reference images (e.g. 1 for 1-shot or 2 for 2-shot), and pass a path to a folder of normal reference images using the few_shot_source parameter. Here's an example how to run the model in 2-shot mode:
model = WinClip(
    class_name="lasercut_plank",
    k_shot=2,
    few_shot_source="path/to/normal/reference/images",
)

Thanks @djdameln for the nice explanation. Would it be an idea to rename few_shot_source to k_shot_source for consistency?


Update providing-html-content-using-htmx.rst

Included information about configuration of raw-media-types. Without this configuration the example doesn't work correctly.

Thanks @joaofelipecb.
We're actually trying to improve the DX of that tutorial, so we've removed raw-media-types on the master branch of postgrest (https://github.com/PostgREST/postgrest/pull/2825) in preference of the DOMAIN media types. Note that this are the latest docs.
How about if instead we put a warning mentioning that the tutorial only works on the master branch and perhaps link a nightly release there?

I understand the worry with DX and in the future the nightly version will become stable so the tutorial will work in a stable version.
Unfortunately, I spend 2h to figure out why this was not working, and despite the high quality of the project, this harm my own developer experience, since I almost quit the tutorial.
Since I want more developers to try PostgRest, I think the better solution is to provide a troubleshooting section and insert the error message of prior versions and the solution.

Unfortunately, I spend 2h to figure out why this was not working, and despite the high quality of the project, this harmed my own developer experience, as I almost quit the tutorial.

Sorry about that @joaofelipecb. We'll definitely be more careful about publishing how-tos that rely on master from now on.

Since I want more developers to try PostgRest, I think the better solution is to provide a troubleshooting section and insert the error message of prior versions and the solution. What do you think?

How about doing having tabs on the code snippets? Like we do for HTTP/Curl examples on https://postgrest.org/en/latest/references/api/tables_views.html).
For this we could have a tab for v11 and previous and latest (which later will become v12). What do you think?

Now that v12 is released the tutorial is stable: https://postgrest.org/en/stable/how-tos/providing-html-content-using-htmx.html


Custom amount input looks different (and wrong) with different browsers

Generally the rendering seems different from browser to browser: The dollar signs are different in size as (for Firefox and Internet Explorer) is the surrounding box. Only in Chrome the text is displayed in grey.
Only for the German translation: The text overflows the custom amount textbox. "Benutzerdefiniert" translates to "Custom" (literally "User defined"). Unfortunately I cannot think of a better, shorter translation, so maybe the box should just be made bigger for some locales.

I think the b ox is actually sizing correctly, but the other inputs in IE11 are not (they're too tall). Firefox doesn't support coloring placeholders, IIRC. IE needs some box-sizing adjustments by the look of it and they all need some padding set.

Original code (why is this split in four lines?):
.button::-webkit-input-placeholder {
    color: #333;
}
.button:-moz-placeholder {
    color: #333;
}
.button::-moz-placeholder {
    color: #333;
}
.button:-ms-input-placeholder {
    color: #333;
}

The Firefox placeholder is correctly colored, only the placeholder colors for Webkit and MS seem to have no effect. Adding !important works in Chrome so apparently they get overwritten by some other value.

@quassy It is splitted in four lines because ::-webkit-input-placeholder is a pseudo-element, not a property.

Pseudo-elements don't behave much different to elements, so this should work fine and is better code:
.button::-webkit-input-placeholder,
.button:-moz-placeholder,
.button::-moz-placeholder,
.button:-ms-input-placeholder {
    color: #333;
}

Oh I didn't understand it in that way, yes you are right !

@quassy It is split into four lines because many browsers will ignore any css rule containing an invalid selector is just ignored. Since only each of those selectors are only for one browser, they will always be ignored if condensed.

@quassy Also, it's Firefox that has the color wrong, not the others. #333333 is actually quite a dark grey, not the lighter one. The reason it is not working is because :-moz-placeholder has been replaced by ::-moz-placeholder since Firefox 19.

@quassy Finally, a float: left; on the :before element fixes the height problem in IE, and doesn't seem to break anything else. Given a few hours I will have a branch up for review.

Thanks for the explanation. I stand corrected.
It's weird that ::-moz-placeholder does not work as it seems to work fine on the mozdev example. opacity: 0.4 seems to be the reason why the placeholder is so light, but I am unable to change it with devtools. Probably have to live with that.

 There isn't a way around this right now.
Placeholder Width
There isn't a way to set this dynamically based on the width of the placeholder, but I've added more padding to stop it going under the $ sign.
IE Height
I still need to test this.

I hope to be able to resume work on this shortly, but certainly not this week. If someone wants to steal what I've done so far in comments, go for it.

I have fixed it, but I can't push. Do I need to be in the community or something! thanks in advance and sorry for spamming! :dancers:

@Dazag You'll need to create your own fork and push to a branch on that, then you can file a pull request for review.


Make the OOM abreviation more clear

As I was reading this, I noticed that OOM abbreviation is unclear to me and I had search the meaning of it. Why not add the clarification next to it? 😄

Thanks!


Teams firewall prompt, policy rules and local policy merge

The page show the Teams prompt as an example - this is somewhat frustrating as with local policy merge disabled, there is no way to deploy the Teams firewall rules via GPO/MDM, since they need to specify the path to teams.exe in each user profile - and we are informed on the same page that wildcard rules are not supported.
A description of how to centrally deploy rules for Teams that do permit blocking of local policy merge would be more useful, or at the very least not using the worst possible example imaginable in the screenshot?

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

ID: 88e8e24b-481e-babb-a4e7-c5639f2492a2
Version Independent ID: f61e0165-fd95-0fc4-a52c-0b4c40735ea3
Content: Best practices for configuring Windows Defender Firewall - Windows security
Content Source: windows/security/threat-protection/windows-firewall/best-practices-configuring.md
Product: m365-security
Technology: mde
GitHub Login: @schmurky
Microsoft Alias: maccruz

Hello @flatfour67 - Thank you for your message. Please note that these are known issues with MS teams and will be addressed with future releases. In the meantime, please create rules for new applications before 1st lunch as that can help users have a better experience.
Thanks.


Remapping shift to side mouse buttons

I can't seem to use this plugin to rebind shift to mouse4 or mouse5, is there a reason for this or just an oversight?

Unfortunately it is a problem with Runelite's keybind system so I cannot fix it.

Forgot this issue was still open. See here https://github.com/runelite/plugin-hub/pull/372#issuecomment-643683260


Update the doc of build-bridges.md

Verified :
Stopping Docker and removing docker0 is not a must, we can only create our own bridge and restart    docker with configuring the bridge.
Signed-off-by: Wen Cheng Ma<EMAIL_ADDRESS>

@thaJeztah for wevier.

@thaJeztah  pls have a review again :+1:

Small comments, otherwise LGTM 🐍

@vdemeester already addressed your comments, thanks :+1:

Thanks @wenchma, LGTM :)

@vdemeester can you review this again ?

LGTM 🐹


[license] 指定开源协议

DONE: https://github.com/zuksan/vscode-file-helper/commit/9ca56ebdc476bd77914e46f890a83d3932a31052


support for number-like strings

Issue #

What is the current behavior?
Strings that begin with a number and contain number-like characters (e.g., 10-20, 1.1.1) are not successfully parsed
What is the new behavior?
They are! :-)
Does this introduce a breaking change?

[ ] Yes
[X ] No

Other information
See tests

Thanks a lot! I will release 0.9.0 now

Can we, instead of just returning the string, have a function like lambda ctx: ctx['str'] that receives the parser context and returns the string, but that by default we can replace from the main json_repairs interface.

def my_custom_value_error_repair(parser_context):
   parser_context.str = 'I COULD HAVE REPAIRED THIS STRING HERE BUT I DIDNT'

repaired_json = json_repair(my_json, on_parse_number_value_error=my_custom_value_error_repair)

That way if my dataset has an specific error that repeats itself I can make a custom formatter to save that error.
Also depending on how much context is passed we can have an LLM try to solve the error for us.

I'm the author of https://github.com/mezka/afipcaeqrdecode, a utility function that deals with extract and decoding government issued metadata on Argentine Invoices that depends on json_repairs

@mezka I am not 100% clear what behavior you would expect exactly.
Can you open a new issue and maybe put some examples including a sample json and expected output?
Cheers


support target armv7

On raspberry pi 2 the tests did pass and the 'exchange' example works as expected.
Same for pc with arch x86_64.

Merged. Thanks!


A way to add some banners to some titles, transform function for navbar items

This is not a bug report, but acually a question to check if certain useful feature is available.
Sometimes is very useful to add extra banner or some info to the item in sidebar, would be great to be able to assign some kind of function  as transform for title name.
Thanks

Hello, Thank you for using vitepress-sidebar.
Can you be more specific about the banner or additional information? If you mean images or any content, it is currently difficult to add anything to the sidebar in vitepress other than text and links.
I think the way to make this possible would be to configure a custom theme to change the default layout:
https://vitepress.dev/guide/extending-default-theme
Regards,

thank you for such a useful plugin
i mean something like this like elementplus has for adding badges

Hello,
I understand your request, this implementation is a feature that should be developed in parallel with custom styles, so i'll see if i can come up with a good solution.
I will not close the issue, but will keep it open until the feature is implemented. Thanks for the report!

thank you for such a useful plugin，
I would like to ask, if I put my article under the secondary directory, I will not be able to access it, how to solve this problem?

@ppc-chen822
Hello. Thank you for using our plugin.
The issue you created is unrelated to this issue, so if you have any new issues in the future, please create a new issue.
Your documentRootPath value should be /docs.
Your documentRootPath must specify the folder where your .vitepress directory is located.
Please refer to the documentation below:
https://github.com/jooy2/vitepress-sidebar?tab=readme-ov-file#documentrootpath

Thanks a lot

Hello! I apologize for the delayed update.
Currently, there are a couple ways to work around this issue.

enable the following option keepMarkdownSyntaxFromTitle: true.
set the options useTitleFromFileHeading to true if you are fetching from the H1 tag in Markdown, and useTitleFromFrontmatter to true if you are fetching information via the title attribute in Frontmatter. (You cannot set both at the same time).
You can create a badge with custom styling as shown in the example below:

For Frontmatter:
---
title: "Installation badge"
order: 1
---

For Markdown:
# Installation badge

Text...

Result:

Of course, with a custom theme, you can simplify by not using inline styles and using classes, or you can use more styles.
For more information, see VitePress's documentation: https://vitepress.dev/guide/custom-theme
I'll mark this issue as resolved, but if you run into a new issue, please create a new one.
Regards,


Restart benchmarks if spot instances get replaced

Currently, we start benchmark clusters with the spot_with_fallback policy. While this makes sense from a cost perspective, spot replacement will mess up the results. When running benchmarks, we should track whether the workers have changed during the test and restart if they did. This might remove some noise (though I have no idea how much).

I think we should be a bit mindful about which tests to restart. For instance, we have a couple of long running tests (of questionable value) that run for +5min. If there is a worker restart, I might just scrap the result instead of restarting it.
During implementation we should also implement a counter of some sort that allows us to monitor this somehow. I just would like to know if this happens every time (in case we then could just go to on-demand anyhow) or just sporadically

During implementation we should also implement a counter of some sort that allows us to monitor this somehow.

I don't really care how as long as it's low tech. For instance, have a global fixture that counts this and returns the value somewhere

It also wouldn’t be too hard to get data about spot instance replacement
from database
On Fri, Dec 22, 2023 at 2:26 AM Florian Jetter @.***>
wrote:

During implementation we should also implement a counter of some sort that
allows us to monitor this somehow.
I don't really care how as long as it's low tech. For instance, have a
global fixture that counts this and returns the value somewhere
—
Reply to this email directly, view it on GitHub
https://github.com/coiled/benchmarks/issues/1241#issuecomment-1867448794,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALBFDHQANGMWDR6CX2NKKO3YKVG4PAVCNFSM6AAAAABA6POZV6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRXGQ2DQNZZGQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

It also wouldn’t be too hard to get data about spot instance replacement from database

Is this fast and easy for you? If so, this would be very helpful for prioritizing this issue.

When one instance is the replacement for another spot termination, we track this in a "replacement for" column on the process.
Here's a query using that:
select inst.cluster_id, awsinstopts.spot, instset.name, count(*) n_workers
from declarative_instancemodel inst
  join declarative_processmodel proc on proc.instance_id = inst.id
  join declarative_instancesetmodel instset on instance_set_id = instset.id
  join declarative_instancespecmodel instspec on instset.spec_id = instspec.id
  join declarative_awsinstanceoptionsmodel awsinstopts on awsinstopts.id = instset.object_id
where inst.account_id = 6697 and inst.creator_id = 5144
and instspec.name = 'worker'
and inst.created > now() - interval '7 days'
and proc.replacement_for_id is not null
group by inst.cluster_id, awsinstopts.spot, instset.name

Thanks @ntabris! From what I see, this fluctuates quite a bit, I've checked the last 4 weeks and these are the counts:

2
106
37
18


wordnet_app crashes with TypeError: 'method' object is not iterable

I'm using nltk 3.7 / python 3.8.
Steps to reproduce:

I start the wordnet_app
I enter a search string in the browser window, e.g. 'help'
I click the 'S;' of the a found entry, .e.g. the first one.

I get:
File "wordnet_app.py", line 352, in lemma_property
return flattern([func(l) for l in synset.lemmas if l.name == word])
TypeError: 'method' object is not iterable
It is this line:
https://github.com/nltk/nltk/blob/de46911d9ca248c2c6ce95518cd25e3c277208d7/nltk/app/wordnet_app.py#L352
I guess some parentheses are missing, it should be synset.lemmas()

@StephanHasler

I guess some parentheses are missing, it should be synset.lemmas()

Yes, this fix is really obvious.


configure VS Code to automatically open the Debug Console when debugging a test case

How can I configure VS Code to automatically open the Debug Console when debugging a test case?
I've configured as below in my launch.json file, but it's not working, every time I debug a test, it will open and focus the Test Results tab.
{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Python Debugger: Current File",
      "type": "debugpy",
      "request": "launch",
      "program": "${file}",
      "console": `"internalConsole",`
      "internalConsoleOptions": "openOnSessionStart"
    }
  ]
}

This is what I got when I ask GitHub Copilot --
The behavior you're experiencing is a known issue with Visual Studio Code. When you debug a test, VS Code automatically focuses on the Test Results tab, regardless of the "internalConsoleOptions" setting in your launch.json file.
Unfortunately, there's currently no built-in way to change this behavior in VS Code. The "internalConsoleOptions" setting only applies when you start a debugging session manually, not when you debug a test.
As a workaround, you can manually switch to the Debug Console after starting a test by clicking on the "Debug Console" tab in the panel at the bottom of the window, or by using the Ctrl + Shift + Y keyboard shortcut.
If you'd like to see this feature in VS Code, you can submit a feature request on the [VS Code GitHub repository] The VS Code team regularly reviews feature requests and might consider adding this feature in a future update.

You can set the setting "debug.internalConsoleOptions": "openOnSessionStart", not in your launch.json, that seems to work. Does it work for you?

You can set the setting "debug.internalConsoleOptions": "openOnSessionStart", not in your launch.json, that seems to work. Does it work for you?

yes, it does. Thanks so much. @roblourens


Update readme for EFCore8

requirements update (e.g. Adapter version)
remove CI notes - as outdated?

https://github.com/ActianCorp/Actian.EFCore/pull/8