Can we raise GeoserverException instead of python native Exception?

Hi,
I just started using geoserver-rest for one of my script which does some preprocessing of dataset and uploads them to geoserver.
I was interested in organizing my uploads with proper namespace.  So in case the workspace "ADCD" already exist and I do:
geo.create_workspace(workspace='ABCD')
I get:
Exception: Status : 409 - b'<!doctype html><title>HTTP Status 409 \xe2\x80\x93 Conflict</title>
HTTP Status 409 \xe2\x80\x93 Conflict

Type Status Report

Message Workspace 'QQQQQ' already exists

Description The request could not be completed due to a conflict with the current state of the target resource.

Apache Tomcat/9.0.68
'

Now in order to capture status code and message from structure html I have to do some text processing.
I was wondering if we would just throw GeoserverException we could have got status_code and could parse html message easily.
Well it is still possible to achieve by preprocessing the exception message.

Hi @Wrufesh, Can you please add the actual error message as well? I want to compare it with the pre-processed exception.

Hi @Wrufesh, Can you please add the actual error message as well? I want to compare it with the pre-processed exception.

Sorry for confusing you. I mean the following:
Instead of the following code:
def create_workspace(self, workspace: str):
    """
    Create a new workspace in geoserver.

    The geoserver workspace url will be same as the name of the workspace.
    """
    try:
        url = "{}/rest/workspaces".format(self.service_url)
        data = "<workspace><name>{}</name></workspace>".format(workspace)
        headers = {"content-type": "text/xml"}
        r = self._requests("post", url, data=data, headers=headers)

        if r.status_code == 201:
            return "{} Workspace {} created!".format(r.status_code, workspace)
        else:
            raise GeoserverException(r.status_code, r.content)

    except Exception as e:
        raise Exception(e)

Can we write just:
def create_workspace(self, workspace: str):
    url = "{}/rest/workspaces".format(self.service_url)
    data = "<workspace><name>{}</name></workspace>".format(workspace)
    headers = {"content-type": "text/xml"}
    r = self._requests("post", url, data=data, headers=headers)

    if r.status_code == 201:
        return "{} Workspace {} created!".format(r.status_code, workspace)
    else:
        raise GeoserverException(r.status_code, r.content)

Hi @iamtekson I created a PR for this issue. If possible, after you except you should do a public release, a new patch, because the current build, that you can download with pip is failing on some requests, which are already fixed on the master branch.

Hi @szokejokepu, Thanks for the PR. I will review it soon.


New Google Chrome Theme based on Dracula Color palette

Hi,
I've created a new theme for google chrome, it can be found here:
https://github.com/nickimola/Dracula-Chrome-theme
or here
https://chrome.google.com/webstore/detail/dracula-chrome-theme/gfapcejdoghpoidkfodoiiffaaibpaem?hl=en-US&gl=GB

That's awesome @nickimola! Are you interested in moving this repository to the Dracula organization and maintain it? If yes, I can send an invitation to join ;)

Thank you @zenorocha that will be awesome ;)

Awesome! I sent you an invitation, let me know when you accept it.

Just accepted. So whats next?

Awesome! The next step would be transferring this repository to the dracula org. I just changed your role so you should be able to do that.
After you moved, make sure to follow the https://github.com/dracula/template. Once everything is in place, we can create a page on draculatheme.com for this.

Hi,
I've just moved the repo to Dracula.
2017-03-09 5:49 GMT+00:00 Zeno Rocha<EMAIL_ADDRESS>
Awesome! The next step would be transferring this repository to the
dracula org. I just changed your role so you should be able to do that.
After you moved, make sure to follow the https://github.com/dracula/
template. Once everything is in place, we can create a page on
draculatheme.com for this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dracula/dracula-theme/issues/216#issuecomment-285260992,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI2_6PgyZD_tVl4_ot8Q2wRcbEjlHOptks5rj5LSgaJpZM4MVL4T
.

Why is this theme not mentioned on https://draculatheme.com/? I'm glad I dug into the repos and found it!

Ideally, both https://github.com/dracula/google-chrome, https://github.com/matthew-groth/Dracula-New-Tab-Page and this https://github.com/dracula/chrome-devtools should and could be mentioned on the website, as the all work together for a full Dracula chrome experience

@nickimola The DevTools theme is already mentioned on the website but doesn't have an icon on the homepage (https://draculatheme.com/chrome/). It also mentions that it's "no longer supported officially". I agree with the potential "need" for a browsers section on the homepage.


make_dataloader always sets shuffle=False when DistributedSampler is employed.

In speechbrain.core.Brain class, when DistributedSampler is employed, it sets shuffle to False. Is there any reason to do so?

Hi, yes there is a reason for that @Gastron and @popcornell might remember why, actually even @RuABraun as well might know.

Was kind of hoping someone else would take care of this, I will open a PR to fix this by tomorrow.

Hey @RuABraun I guess everyone is in vacation right now :p


[1|CBH- Setting Page] Breadboard

 🍰 Appetite 🍰

Property
Value

Points
3 points

Difficulty rating
★★☆☆☆

Maximum Assignees
2 person

🤔 Problem Statement
Make a breadboard for each screen in the fat-marker sketch. Every place and affordance should be accounted for, but don't focus on making it look pretty. This should be essentially a bare HTML file, with no JS, and only CSS if required for basic layouts. Implement fake navigation and interactions using normal <a> tags. This purely for getting an interactive "skeleton" up, and seeing in real life whether this design would work, or has any major problems.
Please see this page for more info on what your breadboard should be like (and, if you want understand the fat-marker sketch and places affordances drawing better, please see this page).

Make it so that only the user who logged in as CBH can access and stay on this site. The rest will be redirected to home (UGC + Banned Word Dashboard).

🧪 Required Tests
None (but the Code Wizard will review whether or not your code warrants some tests! Review the Code & Testing Guidelines for more info)
⚠ Careful about:
🤖 Technologies focused on in this feature

React
Tailwind
Shadcn

Please assign this to me!

i want his one please

I want to work on it

https://github.com/Builder-s-League/BuildersLeague-Edition1/pull/108


Ran make all to update files

Addresses #48

@cmungall : I just rn make all after updating dependencies. It generated a huge number of files. Aer all of these needed?


Apache license header missing from some files

I just noticed that a few source files (at least JWE/Compressor.swift and Common/JOSESwiftError.swift) are missing license headers.
Not sure how these got overlooked, there may be a few others as well 🤔

Seems like we weren't as strict with @haeser as we should've been with the compression PR. 😅 I'll update it, thanks for reporting.


Order of --entrypoint in example appears incorrect

After much frustration, I just discovered that the following command in the readme does not quite work: docker run -d -v ~/.aws-lambda-rie:/aws-lambda -p 9000:8080 myfunction:latest --entrypoint /aws-lambda/aws-lambda-rie <image entrypoint> <(optional) image command>
On Docker version 20.10.5, build 55c4c88 for Mac (apple silicon), docker run appears to completely ignore the --entrypoint argument unless it is written before the image name.
Here is what ended up working for me:
docker run \
	--detach \
	--volume ~/.aws-lambda-rie:/aws-lambda \
	--publish 9000:8080 \
	--entrypoint /aws-lambda/aws-lambda-rie \
	myfunction:latest \
	/usr/local/bin/python3 -m awslambdaric func.handler

Where func.handler refers to a file func.py that contains:
def handler(event, context):
  return "My handler result."

If you agree, please update the readme. Thanks!

Same for Docker Desktop for Windows.

Thank you for reporting the issue gwk, this was resolved in the pull request #36 so I am closing the issue.
Thank you!


menu: expand/collapse menu items without navigation

Hello,
I have a feature request with the Menu.  I am looking for a way to collapse a menu item on a click on the menu item.
Currently when you click on a menu item, it expands and displays the sub menu items, but clicking on the main menu item does not collapse it.  I have to click on another menu item to collapse the open one.
Example:  (here is a sample menu with sub menu items.
Welcome

Team
Engineers
Product Owners
Onboarding
Access Requests
Laptop Setup
Service Now
Testing
TDD
Go
React

Initially only these 3 are display.
Welcome
Onboarding
Testing
On clicking on Onboarding, the sub menus are displayed
Welcome
Onboarding

Access Requests
Laptop Setup
Service Now
Testing

To collapse the Onboarding, I need to click on either Welcome or Testing, which collapses the Onboarding menu, but  expands the one I click.
Is it possible to make the expansion/collapse work like a toggle? A click to expand, and next click on the top menu item to collapse?

I did this earlier (before forking the theme) in a hacked local installation.
Nevertheless the implementation was mediocre, because I did not change the DOM from inside a Hugo template but did run a JavaScript function to apply runtime changes to the DOM after load.
So, now that I forked the whole project, this is absolutly doable in a more performant way and sounds like a good idea. There are some tricky details, especially "available space". So I have to think it thru.

Thanks for considering this request.

@McShelby Thank you for implementing this request so quickly.  Appreciate it very much.


Rename SSL certificate bundle setting to clarify the "overriding" aspect

This closes https://github.com/godotengine/godot-docs/issues/2531.
If this is merged, I can make a PR against the 3.2 branch with only the description change.

This is okay, but I don't think we can cherry-pick this in 3.2 . It will be a breaking change for people who use that setting, and might even go unnoticed.

@Faless I said I'll make a separate PR with only the description change, without changing the setting name.

Thanks!
A 3.2 PR to update the description sounds good.

@Calinou sorry, I didn't read carefully. :)


Profiles with long names can cause a crash in breadcrumb bar

Windows Terminal version
1.17.2842.0
Windows build number
No response
Other Software
No response
Steps to reproduce

Open settings UI
create a profile with a really long name
click on the breadcrumb button at beginning of that page (you probably have to re-navigate to it to get the profile name to propagate)

Expected Behavior
Honestly, that button shouldn't be there, probably?
Actual Behavior

Clicking that button at the top left crashes the app

This no longer repros on main (tried on my machine and on @carlos-zamora's). Which is funky because I don't think the breadcrumb bar has been meaningfully changed since.
Closing as no-repro for now.

Current thinking is that this is a difference between the framework package version of XAML (used by Terminal-Win11) and the sxs-deployed version (used by Terminal-Win10).
That makes it look very Resolution-External.


Token section has to have "enabled? true"

https://ash-hq.org/docs/guides/ash_authentication_phoenix/latest/tutorials/get-started
lib/example/accounts/resources/user.ex

There are a lot of places to fix same one like https://github.com/team-alembic/ash_authentication/issues/679 ?

These docs will be updated on the next version that is released. It is fixed in main, but AshHq only updates on new version releases.


CFY-6966 Fix recreate deployment envs

Depends on:
https://github.com/cloudify-cosmo/cloudify-manager/pull/898
https://github.com/cloudify-cosmo/cloudify-agent/pull/265


Add documentation for dynamic image size

I think it would make sense to add documentation for the new dynamic image size feature 🙂 👍

@LukasGutwinski good catch, I overlooked this. Thanks! :+1:

Perfect, thanks! 👍


Ref: Github Action for updating Sentry dependencies.

Close #510
#skip-changelog

The PR will not pass for the time being because the update logic compares with the main branch and this branch isn't the main branch, but all the previous steps are passing


WIP: Create KeyInfoManagerClient

This commit creates the KeyInfoManagerClient that bridges between the
shared KIM and the providers using it.

At the moment only the KIM client is implemented so that we can agree on an interface/usage pattern for it.

I've updated the KeyInfoManager struct, have a look at how the interface looks and let me know what you think

Looks good to me!


netinfo: Migrate to community NetInfo v3.2.1.

Fixes #3568.

(BTW I just edited the PR description to point at the issue. The reference in the commit message is important, but a reference in the PR description is helpful to for cross-linking them here on the GitHub web UI.)

Oh, one more remark on the commit message:
Not upgrading to latest 4.x.x because it comes with AndroidX, which will
not work for us yet.

Dang, and that is good to know!
When there's a "yet" like this, I always want to answer the question: "until when?" "what's it blocked on?" In this case, I think the answer is the RN v0.60 upgrade: #3548 . Does that agree with your understanding? If so, a link to that issue would be a good way to answer the question, like: "which will not work for us until we upgrade to RN v0.60 (#3548)".

Looks good, merged -- thanks @jainkuniya !


Use Sucess instead of Void in the reactive API

Returning Void instances (or null's) is an antipattern, use a synthetic Sucess type for the return value.

Done.


fix Llama3ChatTemplate user and assistant roles

There was a typo in Llama3ChatTemplate for user and assistant roles

Tag @Harsha-Nori  for cross check, but this looks OK to me

Wow great catch -- thank you!


How to add params to aggregations?

The Fathom API docs note that you can scope an aggregation query by passing a JSON payload to filters. I can't seem to get that to work without the API throwing an error.
Am I formatting the payload incorrectly or is this not yet supported in the gem?
client = Fathom::Client.new(api_key: Rails.application.credentials.fathom.api_key)
entity_id = Rails.application.config.fathom
client.aggregations.list(
  entity_id:,
  entity: "pageview",
  aggregates: "visits",
  filters: [
    {
      property: "pathname",
      operator: "is",
      value: "/developers"
    }
  ]
)

The response is Fathom::Error: We were unable to perform the request due to server-side problems. in, oddly enough, HTML content.

Alright so I've looked at this @joemasilotti
Here's what I found out, fathom is expecting the filters to be sent as a JSON payload. So... we have a couple options
We can

Call to_json on this ourselves before sending it through, as the gem is going to just pass-through the params for that endpoint

require 'json' # You may not have to do this inside of rails, I can't fully remember.

client = Fathom::Client.new(api_key: Rails.application.credentials.fathom.api_key)
entity_id = Rails.application.config.fathom
client.aggregations.list(
  entity_id:,
  entity: "pageview",
  aggregates: "visits",
  filters: [
    {
      property: "pathname",
      operator: "is",
      value: "/developers"
    }
  ].to_json
)

Or... we can patch the aggregations resource to do this for us automatically.

I'm leaning towards option 2 myself, but it may be surprising for folks. thoughts?
for the record this is what the aggregations resource would likely end up looking like
    def list(entity_id:, entity:, aggregates:, **params)
      filters = params.delete(:filters) || {}
      get_request("aggregations", params: params.merge(entity_id: entity_id, entity: entity, aggregates: aggregates, filters: filters.to_json))
    end

I like option 2 as well since it means I don't need to know the intervals of the API to run this query.
However, that is technically a breaking change right? Is there a way to check if the value was already converted to JSON first?
Or, communicating the breaking change clearly could work. The library isn't technically at 1.0 yet.

Thinking on this a bit more, we could do the following. That would be both backwards compatible and get the benefits of option 2.
def list(entity_id:, entity:, aggregates:, **params)
  filters = params.delete(:filters) || {}
  filters = filters.to_json if filters.is_a?(Hash)
  get_request("aggregations", params: params.merge(entity_id: entity_id, entity: entity, aggregates: aggregates, filters: filters))
end

That sounds good I think, do you want to make that in a PR @joemasilotti?
I think we'll just need to require 'json' at the top of the aggregations resource 👍

Sure thing!

PR submitted! PR #6.


update virtualizedlist.md

This is part of #929
was added

The listKey prop
The ListItemComponent prop
The ListFooterComponentStyle prop
The ListHeaderComponentStyle prop
The refreshControl prop
The persistentScrollbar prop

I'm not sure if these methods have to be added to the documentation

getScrollResponder
getScrollRef
setNativeProps
getChildContext
hasMore

Thanks!


rspec isn't part of the bundle when using rspec-rails

rspec isn't always part of the bundle while you still want to use it. In rspec-rails the actual rspec gem isn't a dependecy, instead it links all the rspec-* gems in its own gemspec.
Issue #81 / commit 5c1eb5fd7ad83e7c109ca39f0a3137c207d458c1 introduces the problem of needing the rspec gem all the time.
bundle exec rescue rspec
/Users/tom/.gem/ruby/2.2.2/gems/activesupport-4.1.11/lib/active_support/dependencies.rb:247:in `require': cannot load such file -- rspec (LoadError)
	from /Users/tom/.gem/ruby/2.2.2/gems/activesupport-4.1.11/lib/active_support/dependencies.rb:247:in `block in require'
	from /Users/tom/.gem/ruby/2.2.2/gems/activesupport-4.1.11/lib/active_support/dependencies.rb:232:in `load_dependency'
	from /Users/tom/.gem/ruby/2.2.2/gems/activesupport-4.1.11/lib/active_support/dependencies.rb:247:in `require'
	from /Users/tom/.gem/ruby/2.2.2/gems/pry-rescue-1.4.2/lib/pry-rescue/rspec.rb:2:in `<top (required)>'
	from /Users/tom/.gem/ruby/2.2.2/gems/activesupport-4.1.11/lib/active_support/dependencies.rb:247:in `require'
	from /Users/tom/.gem/ruby/2.2.2/gems/activesupport-4.1.11/lib/active_support/dependencies.rb:247:in `block in require'
	from /Users/tom/.gem/ruby/2.2.2/gems/activesupport-4.1.11/lib/active_support/dependencies.rb:232:in `load_dependency'
	from /Users/tom/.gem/ruby/2.2.2/gems/activesupport-4.1.11/lib/active_support/dependencies.rb:247:in `require'
	from /Users/tom/.gem/ruby/2.2.2/gems/rspec-core-3.2.0/lib/rspec/core/configuration.rb:1181:in `block in requires='
	from /Users/tom/.gem/ruby/2.2.2/gems/rspec-core-3.2.0/lib/rspec/core/configuration.rb:1181:in `each'
	from /Users/tom/.gem/ruby/2.2.2/gems/rspec-core-3.2.0/lib/rspec/core/configuration.rb:1181:in `requires='
	from /Users/tom/.gem/ruby/2.2.2/gems/rspec-core-3.2.0/lib/rspec/core/configuration_options.rb:110:in `block in process_options_into'
	from /Users/tom/.gem/ruby/2.2.2/gems/rspec-core-3.2.0/lib/rspec/core/configuration_options.rb:109:in `each'
	from /Users/tom/.gem/ruby/2.2.2/gems/rspec-core-3.2.0/lib/rspec/core/configuration_options.rb:109:in `process_options_into'
	from /Users/tom/.gem/ruby/2.2.2/gems/rspec-core-3.2.0/lib/rspec/core/configuration_options.rb:22:in `configure'
	from /Users/tom/.gem/ruby/2.2.2/gems/rspec-core-3.2.0/lib/rspec/core/runner.rb:96:in `setup'
	from /Users/tom/.gem/ruby/2.2.2/gems/rspec-core-3.2.0/lib/rspec/core/runner.rb:85:in `run'
	from /Users/tom/.gem/ruby/2.2.2/gems/rspec-core-3.2.0/lib/rspec/core/runner.rb:70:in `run'
	from /Users/tom/.gem/ruby/2.2.2/gems/rspec-core-3.2.0/lib/rspec/core/runner.rb:38:in `invoke'
	from /Users/tom/.gem/ruby/2.2.2/gems/rspec-core-3.2.0/exe/rspec:4:in `<top (required)>'
	from /Users/tom/.gem/ruby/2.2.2/bin/rspec:23:in `load'
	from /Users/tom/.gem/ruby/2.2.2/bin/rspec:23:in `<main>'

The workaround is: adding the rspec gem the Gemfile along with rspec-rails. Then it can actually load the "RSpec meta-gem that depends on the other components".
So I think this require call might need to be wrapped in a begin/rescue block instead?

Experienced a similar error that was fixed by adding gem 'rspec' alongside the existing gem 'rspec-rails'. Thanks @tombruijn


use strict issue in node 4.5.0

Please add 'use strict'; at the beginning of the following file

express-ajv-swagger-validation/src/customKeywords/files.js

The Following error is thrown while requiring the module with node 4.5.0

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode

Judging by travis.yml, Node 4 is not officially supported by this project.
Any particular reasons why it is not feasible to upgrade from Node 4 in your case which is going to be EOL soon?

Hi @gauravmittal1994,
As @igor-savin-ht mention, node 4 is not supported by this package. I'm going to close this issue.
If you need any other help feel free to open another issue or reply here.


Implement AWS SQS Source Authentication

Currently ScaledObject generated for AWS SQS Source is not using any Authentication.

/remove-lifecycle stale

/remove-lifecycle stale


Add the CRUD Operation for Lease Table as per new UI Template

The above issue is fixed by above PR


Master: two tikv don't report region heartbeat after inject fault to pd leader

Bug Report

What version of TiKV are you using?

./tikv-server -V
TiKV
Release Version:   6.2.0-alpha
Edition:           Community
Git Commit Hash:   a9c3e56552c803642f640e9b3fa8725aa3072400
Git Commit Branch: heads/refs/tags/v6.1.0-nightly
UTC Build Time:    2022-06-24 11:02:31
What operating system and CPU are you using?

Steps to reproduce

plan/850383
clinic
/portal/#/orgs/31/clusters/7113750135811495492?from=1656298923&to=1656335643
[2022/06/27 12:58:56.346 +08:00] [INFO] [chaos.go:93] ["Run chaos"] [name="pd io delay"] [selectors="[endless-oltp-tps-850383-1-635/tc-pd-1]"] [SelectorsRetainPolicy(selectors)="[endless-oltp-tps-850383-1-635/tc-pd-1]"] [targetSelectors="[nil]"] [
TargetSelectorsRetainPolicy(targetSelectors)="[nil]"] [experimentSpec="IODelaySpec{Duration: "", Scheduler: , Delay: "438ms", Path: "", Percent: 72}"]
[2022/06/27 13:03:56.369 +08:00] [INFO] [chaos.go:156] ["Clean chaos"] [name="pd io delay"] [chaosId="ns=endless-oltp-tps-850383-1-635,kind=io-delay,name=io-delay-xknijuyf,spec=&k8s.ChaosIdentifier{Namespace:"endless-oltp-tps-850383-1-635", Name
:"io-delay-xknijuyf", Spec:IODelaySpec{Duration: "", Scheduler: , Delay: "438ms", Path: "", Percent: 72}}"]
What did you expect?
tikv should works fine
What did happened?
Two tikvs don't report region heartbeat.

/type bug
/severity major
/assign @5kbpers

[2022/06/27 04:59:09.479 +00:00] [ERROR] [client.rs:631] ["failed to send heartbeat"] [err_code=KV:PD:gRPC] [err="Grpc(RpcFinished(Some(RpcStatus { code: 14-UNAVAILABLE, message: \"not leader\", details: [] })))"]
[2022/06/27 04:59:09.800 +00:00] [ERROR] [util.rs:447] ["request failed, retry"] [err_code=KV:PD:gRPC] [err="Grpc(RpcFailure(RpcStatus { code: 14-UNAVAILABLE, message: \"not leader\", details: [] }))"]

Found some TiKVs were keeping reconnecting the PD who is not leader.
It could be introduced by https://github.com/tikv/tikv/pull/12629. @Connor1996 Do you have any idea to fix this issue?

Turns out it was caused by PD RegionHeartbeat RPC returns an "OK" response, then the stream exited on TiKV side without any retrying mechanism.

Think we need to fix this issue on PD.

In the faulted cluster, I use tcpdump to capture the net direction of the faulted tikv：
faulted tikv ->  old pd: none
faulted tikv -> new pd: normal
so I think the potential problem is notthe response of  the RegionHeartbeat RPC.

Turns out it was caused by PD RegionHeartbeat RPC returns an "OK" response, then the stream exited on TiKV side without any retrying mechanism.
Think we need to fix this issue on PD.

I think the potential problem is this code:
https://github.com/tikv/tikv/blob/dc7c48d1731e079ae0949694f88858554982136e/components/pd_client/src/client.rs#L644-L647.
TIKV will not trigger the event that will reconnect pd  client even if the pd respinse is  the grpc errors.
one case is that:
Build Link: https://ci.pingcap.net/blue/organizations/jenkins/tiflash_regression_test_daily/detail/tiflash_regression_test_daily/2605/pipeline
Job Page: https://ci.pingcap.net/blue/organizations/jenkins/tiflash_regression_test_daily
[2022/07/20 06:41:07.720 +00:00] [ERROR] [client.rs:631] ["failed to send heartbeat"] [err_code=KV:PD:gRPC] [err="Grpc(RpcFinished(Some(RpcStatus { code: 14-UNAVAILABLE, message: \"not leader\", details: [] })))"]

[2022/07/21 17:38:39.343 +08:00] [ERROR] [util.rs:445] ["request failed, retry :unknown error TrySendError { kind: Disconnected }"]

It should be a problem after https://github.com/tikv/tikv/pull/12827

/severity critical
/remove-severity major


View returns 200 OK even on validation errors

When returning using the View method in the controller it always returns a 200 OK even if there are validation errors.
[HttpPost]
public IActionResult Register(RegisterViewModel model)
{
    if (!ModelState.IsValid)
    {
        return View(ModelState); // Returns 200 OK
    }

    return View();
}

Shouldn't it return a 400 Bad Request when the model is not valid?

You can set the status code yourself to something other than 200, e.g. Response.StatusCode = 400. The reason this isn't done by default is that there's no way to determine the correct status code, and responses by default always assume 200 unless there was an exception.

Well, wouldn't the correct status code when the model is invalid be a 400 Bad Request?

@vanillajonathan the idea is that it's up to app logic to make that determination. Invalid model state might be just about any 400-level HTTP status code. It could easily be a generic 400, which just says "something you sent me is bad", or it could be a more specific 404, which would mean "you're asking me for something that doesn't exist." MVC can't know that without app logic.

Well, as I see it;

The MVC framework looks up the action in the controller, if not found the MVC framework returns 404.
The developer validates the model by checking ModelState. If invalid the MVC framework ought to return 400 when returning the view.
The developer may perform additional app logic to return something such as 404.

This would allow the developer to return an arbitrary status code before or after validating the model.
400 Bad Request seems like a suitable status code for an invalid model since the model is invalid because the request was "bad".


Lynx v0.3.0 & v0.3.1 makes illegal move

while testing in CuteChess, your latest Lynx versions 0.3.0 and 0.3.1 both made an illegal move early in a game and lost .. this happened all 3 times i tested, so it must be a severe bug.  I have Xubuntu 20.04 and i used your Linux built version from the Assets.
here are the games :
[Event "?"]
[Site "?"]
[Date "2021.09.16"]
[Round "?"]
[White "Lynx v0.3.0"]
[Black "MinimalChessEngine v0.6.1"]
[Result "0-1"]
[ECO "A05"]
[GameDuration "00:02:20"]
[Opening "Reti Opening"]
[PlyCount "6"]
[Termination "illegal move"]
[TimeControl "600+2"]

1. Nf3 {+0.20/8 20s} Nf6 {-0.02/17 43s} 2. d4 {+0.20/8 20s} d5 {-0.25/16 8.6s}
3. Nc3 {+0.10/7 11s} e6 {+0.14/15 12s, White makes an illegal move: f1g2} 0-1

[Event "?"]
[Site "?"]
[Date "2021.09.16"]
[Round "?"]
[White "Chess22K v1.14"]
[Black "Lynx v0.3.0"]
[Result "1-0"]
[FEN "r1bqk2r/pppp1Npp/2n2n2/4p3/2B1P3/8/PPPP1bPP/RNBQK2R w KQkq - 0 6"]
[GameDuration "00:02:28"]
[PlyCount "7"]
[SetUp "1"]
[Termination "illegal move"]
[TimeControl "600+2"]

1. Kf1 {+1.94/24 23s} Qe7 {-4.70/7 20s} 2. Nxh8 {+1.69/23 5.2s}
Bd4 {-4.55/6 14s} 3. d3 {+2.23/21 28s} d6 {-4.45/6 20s}
4. Nd2 {+2.37/23 12s, Black makes an illegal move: e8c8} 1-0

[Event "?"]
[Site "?"]
[Date "2021.09.17"]
[Round "?"]
[White "Alouette v0.1.5"]
[Black "Lynx v0.3.1"]
[Result "1-0"]
[ECO "A45"]
[GameDuration "00:02:13"]
[Opening "Queen's pawn game"]
[PlyCount "13"]
[Termination "illegal move"]
[TimeControl "600+2"]

1. d4 Nf6 {-0.20/7 20s} 2. Nc3 e6 {-0.15/7 20s} 3. Bg5 c5 {+0.10/7 19s} 4. dxc5
Bxc5 {+0.20/7 19s} 5. Nf3 Nc6 {+0.25/6 19s} 6. e4 Qb6 {+0.75/6 18s}
7. Qd2 {Black makes an illegal move: b2a1} 1-0

Hi @tissatussa, thanks a lot for the report.
Would you be so kind to provide the log files of the engine?
There should be inside a /logs dir at the executable level: logs/logs-2021-09-17.log, logs/errors-2021-09-17.log, etc.

here they are :
logs_v0.3.0.zip
logs_v0.3.1.zip

There is indeed something wrong with my engine, more specifically about how it handles stop commands.
However, CuteChess is also doing something weird in those games that I haven't seen before: it gives the engine a position command, makes it stop, changes their opponent's last move and then gives the engine the new position command.
I haven't been able to reproduce that behavior in CuteChess Windows version.
Out of curiosity, are you using it in any fancy way that could explain such behavior?
Examples:
2021-09-16 21:00:01.4187|[GUI]	position fen r1bqk2r/pppp1Npp/2n2n2/4p3/2B1P3/8/PPPP1bPP/RNBQK2R w KQkq - 0 6 moves e1f1 d8e7 f7h8 f2d4 d2d3 d7d6 c1g5
2021-09-16 21:00:01.4187|[GUI]	isready
2021-09-16 21:00:01.4187|[Lynx]	readyok
2021-09-16 21:00:01.4187|[GUI]	go ponder wtime 552598 btime 553813 winc 2000 binc 2000
2021-09-16 21:00:13.8540|[GUI]	stop
2021-09-16 21:00:20.6763|[Lynx]	info depth 6 seldepth 6 multipv 1 score cp -415 nodes 3132893 nps 154741 time 19246 pv c8e6 c4e6 e7e6 g5f6 e6f6
2021-09-16 21:00:20.6763|[Lynx]	bestmove c8e6 ponder c4e6
2021-09-16 21:00:20.6763|[GUI]	position fen r1bqk2r/pppp1Npp/2n2n2/4p3/2B1P3/8/PPPP1bPP/RNBQK2R w KQkq - 0 6 moves e1f1 d8e7 f7h8 f2d4 d2d3 d7d6 b1d2 // b1d2 instead of c1g5
2021-09-16 21:00:20.6763|[GUI]	isready
2021-09-16 21:00:20.6763|[Lynx]	readyok
2021-09-16 21:00:20.6763|[GUI]	go wtime 542170 btime 553813 winc 2000 binc 2000

2021-09-17 10:56:12.2271|[GUI]	position startpos moves d2d4 g8f6 b1c3 e7e6 c1g5 c7c5 d4c5 f8c5 g1f3 b8c6 e2e4 d8b6 e4e5
2021-09-17 10:56:12.2271|[GUI]	isready
2021-09-17 10:56:12.2271|[Lynx]	readyok
2021-09-17 10:56:12.2271|[GUI]	go ponder wtime 613736 btime 498981 winc 2000 binc 2000
2021-09-17 10:56:12.3550|[GUI]	stop
2021-09-17 10:56:12.3867|[Lynx]	info depth 4 seldepth 4 multipv 1 score cp 75 nodes 26263 nps 22699 time 157 pv b6b2 e5f6 b2c3
2021-09-17 10:56:12.3867|[Lynx]	bestmove b6b2 ponder e5f6
2021-09-17 10:56:12.3867|[GUI]	position startpos moves d2d4 g8f6 b1c3 e7e6 c1g5 c7c5 d4c5 f8c5 g1f3 b8c6 e2e4 d8b6 d1d2 // d1d2 instead of e4e5
2021-09-17 10:56:12.3867|[GUI]	isready
2021-09-17 10:56:12.3867|[Lynx]	readyok
2021-09-17 10:56:12.3867|[GUI]	go wtime 615610 btime 498981 winc 2000 binc 2000

i'm using the latest CuteChess v1.2.0, no Beta version or so .. and i make no fancy settings, just a starting FEN and i often set a bonus time, eg. 3 seconds .. i have no problems with most engines in CuteChess .. which test can i do to help ?

No worries, it was out of curiosity, since I didn't experience this issue in my local env.
A fix is already on its way, will ask you to test a preview version before releasing it as part of v0.3.2.

@tissatussa Would you mind giving v0.3.2-preview.1 a try 🙏🏼?

this version seems to work fine !
i'm only able to try the linux-x64 version, because i use no Windows or Mac.
i set the Hash size from 1 (!? =low) to 64 (=normal) but the debug log says something like "Hash size modification not supported yet" .. nevermind, but then you could leave that Hash option out (for now) .. i also changed the Depth option from 3 to 9 and it works, however i don't see any difference ..
in one game Lynx had only 1 legal move (at a certain moment, when it was in check), but Lynx was thinking for several seconds !? A few other engines have this issue, eg. Weiss had it and i wrote the author and he changed it.

this version seems to work fine !

That's great to hear, will release a non-preview version by the end of the day,

i set the Hash size from 1 (!? =low) to 64 (=normal) but the debug log says something like "Hash size modification not supported yet" .. nevermind, but then you could leave that Hash option out (for now) .. i also changed the Depth option from 3 to 9 and it works, however i don't see any difference ..

I'm still working in making hash size and depth command work properly.
TBH, depth should currently show the same message as hash does, since it's not limiting search depth for now.
Or even better, as you suggested, just not show the engine option until it's ready. Will do the latter very soon.

in one game Lynx had only 1 legal move (at a certain moment, when it was in check), but Lynx was thinking for several seconds !? A few other engines have this issue, eg. Weiss had it and i wrote the author and he changed it.

I have that in my TODO list as well, but thanks for pointing out!

In general I'm tracking new features/improvements privately (Trello board) instead of using GitHub issues, mostly because:

I wasn't really expecting anyone to follow or test my engine, at least initially
There are tons of things still pending to be implemented, but since this is my first chess engine, I'm still learning about most of them!

I might reconsider this approach in the near future and start moving tickets here, but meanwhile feel free to log any other issues/suggestions/comments.
Thanks for taking the time to test Lynx and for these comments!

i'm glad to help .. i test several chess engines i find on GitHub and i try to compile them .. that way i learn a lot, because authors use many different languages to build their engine, eg. C, D, go, rust, nim, and more .. sometimes i have to use a pre-compiled binary, such as your Lynx .. can it be compiled ?  You supplied no Makefile ..
Btw. I tested Lynx playing White and Black, and i also gave a FEN starting position .. all seem to work fine.
BONUS - today i discovered this position : r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 0 1
On the TalkChess forum they wrote :
the above position is from "kiwipete" (Peter McKenzie). It has a little bit of everything so it's a good position to use for perft.
Maybe i can help you while developing :-)

BONUS - today i discovered this position : r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 0 1
On the TalkChess forum they wrote :
the above position is from "kiwipete" (Peter McKenzie). It has a little bit of everything so it's a good position to use for perft.
Maybe i can help you while developing :-)

Thanks, I'm already using it in some places (see this search).

can it be compiled ? You supplied no Makefile ..

Lynx can definitely be compiled, in fact, CI system does it for every commit I push.
But one needs to be familiar with .NET environment (or check CI build script, which is obv not ideal, my bad 😓.
I'll work on adding a Makefile that does it for you together with some instructions in the README, since Makefiles seem to be 'universal' enough!

Fixed in v0.4.0 (there were other changes already merged, so I had to bump the minor version).


Tabbed Datasets page with new descriptions.

Known "issue", perhaps for later: the tabs are not reflected in the URL, so if you are on int'l or bio page and refresh, then you'll go back to the US page.
Another consideration is: the US page is very long. I have added non-functional divs for national govt data, state govt data, and non govt data. I am not sure the accessibility and design preferences, but I considered making the divs collapsable. Also perhaps for another PR.

Thanks for the review! I'll merge but won't push to prod yet.


Multiple countries, states, and counties in one plot

This is a wonderful tool!  I'm especially grateful that you have started modeling a few counties.
I'd love to be able to plot multiple locations in a single plot, say as in the Data Explorer from OurWorldInData.  The OWID tool allows one to select what countries to plot, which I find very useful. This tool also changes the URL to match the selected data, so one can go bookmark the data.  I confess that I don't know how tough this is :-)
Another (much less widely-used) tool  allows one to compare the NY Times' data for states and counties.
I'd love to learn if someone has created an online tool to view your data.  If you were to make such plots, I guess your site would be the main place I'd come for COVID-19 data :-)

Sorry about the delayed reply. I hope someone can create an online tool like you mentioned using our data. All of the data is publicly available! I would do it myself but I think it's more worthwhile for me to focus on the modeling aspect.

Thanks for the wonderful site


[FLINK-6746] [docs] Updated Table API / SQL docs: Common API

Thanks for the reviews @sunjincheng121 and @alpinegizmo. I updated the PR.

Hi @fhueske thanks for the update. The PR looks good for me.
+1 to merged.

I will read this one more time and merge it.

Thanks for merging @twalthr

@fhueske can you close this PR?


Add a property to XAML TextBlocks for enabling a tooltip for TextBlock text only when IsTextTrimmed is true

Proposal: Add a property to XAML TextBlocks for enabling a tooltip for TextBlock text only when IsTextTrimmed is true
Summary
This property when set to True on a TextBlock would set a tooltip for the TextBlock with the text of the TextBlock as the tooltip content, when and only when the TextBlock's IsTextTrimmed property is True.
Rationale
With the addition of the Text Scaling Ease of Access setting, oftentimes TextBlocks will get clipped/trimmed with Text Scaling set to something like 225%. The recommended guidance for dealing with this when space for the TextBlock is limited is to add a ToolTip. However, using ToolTipService.ToolTip="Tooltip text" results in a tooltip that is always visible, even when the TextBlock is not trimmed. As a result, helpers have been scattered around the Windows codebase to help implement this sort of "auto tooltip" as an attached behavior. It seems like this should really be made a built-in feature of TextBlocks. This will be especially helpful for Text Scaling accessibility but helpful even in other cases where real estate can be limited dynamically.

Functional Requirements

Usage Examples
excuse the placeholder property name

<TextBlock
    Text="{Binding DisplayName}"
    TextTrimming="CharacterEllipsis"
    ToolTipOnTextTrimmed="True"/>

Detailed Feature Design

Open Questions

Should this be implemented as an attached behavior provided by ToolTipService?
If implemented as a property on TextBlock should the property default to False or True?
How does this affect control derived from TextBlock or tooltips set on parent elements?

Oh yeah. I also have one of those helpers. This would be very useful. And it might be possible to do this in a more performant way, when directly adding it into TextBlock. Then, duplicate measure on the rendered text size could perhaps be avoided.
Currently, I only enable my behavior explicitly on selected, important fields. For many fields it is not needed (they cannot shrink due to layout), plus my solution involves an extra measure pass. If the implementation can be done internally, without performance penalty, then I would agree it could be enabled by default. But if it has a performance penalty, it sure is better to keep it off by default. Penalty can easily multiply when using in list layouts.
I do not think that we need two ToolTips attached. The manual tooltip should always have preference. Only use the auto tooltip if none is assigned.

@shufan  Thank you so much for this feature request. Unfortunately, given the huge amount of work this feature request won't be addressed soon. However, we do see the value and we will keep it in the backlog for future consideration. @bschoepke, @mdtauk, @lukasf, and @micahl Thank you for all your insights.
Best regards.

This is still needed.

This would be useful

I need it!!


Return raw results for multiRange

As a developer I'd like to be able to map timeseries results into different objects from raw results.

Why don't you map the returned Sample[] to whatever other object you want? For me it's natural that if I need a Sample when I add something, I will get Samples when I fetch something!
Maybe if you can make an example of your use case, I can understand a bit better what you want to achieve.

Data gets lost from raw results to Sample results. And I need that data as well.

Sorry if I keep asking, but what data exactly gets lost?

Ah, got it, I guess you miss labels, right?
Cool, I can merge that, but I would kindly ask you to add tests.

Yes, labels are missing.
I'll fix tests later tonight.
Thanks for understanding.

I've added tests. @palicao please do the review.

Please @Mrkisha update your composer.json to use version 1.1.0!


cli-npm.heroku.com SSL Cert is invalid

The cert for cli-npm.heroku.com is invalid and is preventing installs.

geopointe@Geopointes-MacBook-Pro l11-ui-kit % heroku plugins:install heroku-slugs
Installing<EMAIL_ADDRESS>!
 ▸    yarn add heroku-slugs@latest --non-interactive --mutex=file:/Users/geopointe/.local/share/heroku/plugins/yarn.lock
 ▸    --preferred-cache-folder=/Users/geopointe/Library/Caches/heroku/yarn --registry=https://cli-npm.heroku.com exited with code 1
 ▸    error An unexpected error occurred: "https://cli-npm.heroku.com/heroku-slugs: Hostname/IP does not match certificate's altnames:
 ▸    Host: cli-npm.heroku.com. is not in the cert's altnames: DNS:*.herokuapp.com, DNS:herokuapp.com".
 ▸
 ▸    yarn add v1.6.0
 ▸    info No lockfile found.
 ▸    [1/4] Resolving packages...
 ▸    info If you think this is a bug, please open a bug report with the information provided in
 ▸    "/Users/geopointe/.local/share/heroku/plugins/yarn-error.log".
 ▸    info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

Work fine on my end

@TehNrd I just installed the plugin without any problems:
❯ heroku --version
heroku/7.59.0 darwin-x64 node-v12.21.0

❯ heroku plugins:install heroku-slugs
Installing plugin heroku-slugs... installed v1.1.0

I guess that this is not an issue anymore.


Bootstrap 3 incompatibility

Bootstrap 3 also use 'show' class with display: block !important; and it causes issue with dropdown. I suggest to just add some prefix to this class. Probably same issue will be with B2 but I didn't test it.

I tested this with bootstrap 3.X , however i not get the "nice layout" as expected when using the standard css file coming with flexnav.
May i ask how you made it bootstrap compatible?


Futures transaction history table

Description
https://github.com/Kwenta/kwenta/issues/950
Related issue
See ticket above
Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

@joeyzhaozhao When connecting a wallet to the deployed version and subsequently visit "History", I get an Application error: a client-side exception has occurred error. Console log:


Android Pressure and Joint Sensor Update

Android is able to move properly, but pressure and joint sensors to be fixed from old Android version.

This has been implemented in Android and seems to work, but a more thorough test would be useful for both of these sensors.


Sometimes browsers open nonexistent page during functional tests execution.

Example:
https://travis-ci.org/testcafe-build-bot/testcafe/jobs/126326393
https://saucelabs.com/tests/a3ae19ee18474d3b9e3bdab99253ac3c (screenshot)
https://saucelabs.com/tests/1fb29c24fe544387990b49b53ba94ed3 (screenshot)
https://saucelabs.com/tests/f7bae7e476f74f0b8f043ebea5b2da79 (screenshot)
As we can see from screenshots, all browsers have opened nonexistent page. When i tried to reproduce it locally, browsers opened 'http://localhost:2000:/fixture-dir/undefined' instead of 'http://localhost:2000:/fixture-dir/test-name.html'.

I'm working on this.

Looks like the problem gone. I'll open this issue, if it appears again


MathJax + Html5boilerplate takes 23 seconds to load

These two will play nice together with Firefox (Aurora). With Chrome it loads within 23 seconds. I have Html5Boilerplate and nothing else but this in the header:
<script type="text/javascript"
  src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>

and this in the body
When $a \ne 0$, there are two solutions to \(ax^2 + bx + c = 0\) and they are
$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$*

Without html5boilerplate it runs just fine on Chrome too

Solved:
There was a google analytics javascript that looked like this:
  <!-- Asynchronous Google Analytics snippet. Change UA-XXXXX-X to be your site's ID.
       mathiasbynens.be/notes/async-analytics-snippet -->
  <script>
    var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']];
    (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
    g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
    s.parentNode.insertBefore(g,s)}(document,'script'));
  </script>

And that unfinished account info was causing a problem ಠ_ಠ
Srsly thx h5bp

eI hadn't had the chance to look into it yet, but I'm glad you worked it out.  Yes, a script that doesn't complete like that could delay the onload event from occurring (since the script has to complete before the page is considered complete), and that would prevent MathJax from typesetting the page.  Thanks for the update.
Davide

Yeah, I was pretty sure that I could manage that problem by removing one script at the time. I'm happy that I accidentally found that network tab on Chrome dev panel. Saved me some time.
Anyway thanks for the comment. It is nice to see that I'm not alone here :)


Please change the line

[Enter feedback here]

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

ID: 12220c1c-ebce-cf63-0ef7-41c6b6747329
Version Independent ID: 92bd839f-13a7-296d-c11d-f88fabca61e3
Content: Use Python to manage data in Azure Data Lake Storage Gen2
Content Source: articles/storage/blobs/data-lake-storage-directory-file-acl-python.md
Service: storage
Sub-service: data-lake-storage-gen2
GitHub Login: @normesta
Microsoft Alias: normesta

@Alex-B5 https://github.com/microsoftdocs/azure-docs/issues/95702
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Prevent Slide Tabs

Discussion / Feature Request
A core difference between Tabs and BottomNavigation is the fact that they cant slide between each other. There is a way to prevent this behaviour?
Thanks in advance for all your effort!

Do you mean by sliding this behavior?

If so, you can turn that off with shifting={false}, see https://github.com/timomeh/react-native-material-bottom-navigation#bottomnavigation

If it is the swiping between tabs that you are talking about, you can configure that in your TabNavigatorConfig like this:
const MyApp = TabNavigator({
  MoviesAndTV: { screen: MoviesAndTV },
  Music: { screen: Music },
  Newsstand: { screen: Newsstand }
}, {
  tabBarComponent: NavigationComponent,
  tabBarPosition: 'bottom',
  tabBarOptions: {...}
  // add this, ref from docs: swipeEnabled - Whether to allow swiping between tabs.
  swipeEnabled: false,
  // optional, animationEnabled - Whether to animate when changing tabs.
  animationEnabled: false,
})

The swipeEnabled set to false means that you no longer can swipe between the tabs, and animationEnabled set to false means that there won't be a swipe animation between tab switches, even when using the tab buttons.

Thanks @waquidvp ! That was what i was looking for .


Implement a syntactic test discovery fallback for XCTests written in Swift

If the index for a given file is not up-to-date, perform a syntactic scan for tests within it.
This should allow editors to run the textDocument/tests request while the user is editing a file to scan it for test cases.

https://github.com/apple/indexstore-db/pull/185
@swift-ci Please test


Gene name hover over mentions phenotype

Gene name hover over mentions phenotype, this is confusing and we should remove it for clarity that you only input a gene

Not sure how we haven't caught that before

This appears to be a Nebula specific error, and I'll get this taken care of as soon as I hear back about how to test gene in Nebula mode.  This information dialog pops up on page load when there are no genes or variants loaded.  There's logic in place to only display the message 'Enter a gene name' for versions that don't have a phenotype search bar, so either this logic is missing a nebula check (not sure what 'mode' nebula is), or the user who emailed Matt the
is screenshot is on an outdated version of gene with nebula.  I'll update you when I've tested on nebula and understand what the issue is

This appears on production gene. I just opened production, went to the files menu option and chose the WES trio. Gene opens with the following:

So this isn't Nebula specific.

So the incorrect message for Nebula being displayed is only because Nebula is running on an outdated version of gene, and is already fixed on the current production version.  Tony sent a message to Frameshift and Dennis from Nebula, and we would like to coordinate a nebula update later next week.  I can still go ahead and split the single text modal into two separate text modals.

I closed this @WilliamRichards2017 , seemed finished


Cas 31 staff idams login

Does this need to be removed / renamed? https://github.com/SkillsFundingAgency/das-tools-support/blob/CAS-31_staff_idams_login/src/SFA.DAS.Tools.Support.Web/Configuration/AzureAdConfiguration.cs
Think removed given there is a new Authentication Configuration.cs file?

Does this need to be removed / renamed? https://github.com/SkillsFundingAgency/das-tools-support/blob/CAS-31_staff_idams_login/src/SFA.DAS.Tools.Support.Web/Configuration/AzureAdConfiguration.cs
Think removed given there is a new Authentication Configuration.cs file?

Closing as replaced by PR #18


[abseil] Fix feature name error

Modify feature name c++17 to cxx17, fix the error:
Error: <unknown>:1:9: invalid character in feature name (must be lowercase, digits, '-', or '*')
   on expression: "abseil[c++17]"

The related PR: #8248

Needs to wait to resolve the osg-qt regression in #10637.

/azp run


The Quick Action icon for "Extract Method" is missing.

Describe the bug

Steps to Reproduce

Create a Python Application.
Select the lines of code.

x = 1
y = 2

Move the cursor in front of the code.

Expected behavior
The quick action icon should appear before the code.

Additional context and screenshots
The quick action icon for "Extract Method" is not displayed.

#7827 , #7830 , #7831 , #7832 repro with pylance version >= 2023.12.103, which indicates the bugs might be caused by one of the pyrx commits from 1/4/2024 - 1/10/2024.

The commit that caused all these regressions has been narrowed down to https://github.com/microsoft/pyrx/commit/bad397c6c7a04e40ec917e3da412cd7b04e74f2d

The cause of all those regression bugs is that the applyLimitedSettings is applied to the workspace due to !settings.pythonPath.
The reason that the pythonPath is not found is because the const pythonSection = await this.getConfiguration(workspace.rootUri, Settings.pythonSectionName) returns undefined in asyncServer.getSettings().

The uri before all the uri changes was:
workspace.uri = "file:///C:/Users/stellahuang/source/repos/PythonApplication2"

The uri after all the uri changes is:
workspace.rootUri.toString() = "file:///c%3A/Users/stellahuang/source/repos/PythonApplication2"

The %3A is causing .NET URI class to fail to parse and it return wrong file path. vscode's Uri type works fine with it.
And I believe it's a known issue that .NET Uri class doesn't know how to understand uri that contains html escaped chars. See DocumentUriConverter for where is supposed to handle %3A case.

I created an internal work item to track the issue under VS client: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1975760
As a short term fix, we can intercept the outputs from pylance in PTVS and do the conversion there.


21802 - Add details call and list.

*Issue:21802 *https://github.com/bcgov/entity/issues/21802
Description of changes:

add details button
comments visible
prepared code for putting in popup
tests

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the namex license (Apache 2.0).

/gcbrun

Temporary Url for review: https://business-dashboard-dev--pr-21-w2akg042.web.app

/gcbrun

Temporary Url for review: https://business-dashboard-dev--pr-21-w2akg042.web.app


Pre-Compiled Link Dead

Title says it all

This page is not working (but written in Portuguese cause I'm Brazilian)

Yeah, can't download the checkpoints.zip either ...

Same

Yeah, can't download the checkpoints.zip either ...

https://github.com/iPERDance/iPERCore/blob/main/docs/install.md
At the bottom you have links that do work to download checkpoints.zip

Title says it all

For the pre-compiled version on windows, use the first download button over here, it works for me.
https://github.com/iPERDance/iPERCore/wiki/How-to-use-the-released-version-on-windows%3F

Then I guess the links in the install.md file need to be fixed.

For the pre-compiled version on windows, try this: (It's a redirect from the download link you tried, the first link works sometimes therefore I managed to get it) https://download.impersonator.org/iper_windows_released.7z
same error

For the pre-compiled version on windows, try this: (It's a redirect from the download link you tried, the first link works sometimes therefore I managed to get it) https://download.impersonator.org/iper_windows_released.7z
same error

Odd.. it seems to work at certain times and not work at other times.
I'll try to upload it when I get the chance.

Samples & Checkpoints: (adjusted a bit but should be around the same):
https://drive.google.com/file/d/15wLrdbiBZ7Q4O_8Dxmkd3ztvMtpCBMew/view?usp=sharing
Pre-Complied link:
https://drive.google.com/file/d/1XP-QfNQVw6mjCM7wlDtiP7DRIN2Mxpcd/view?usp=sharing


chore(docker): Upgrade Go to the latest version 1.21.1

@fviernau Just to mention in the future when legacy docker gone, you will not need update Dockerfile versions, only the .versions file.
It became even easier to automate.

This PR needs more work, e.g. adjustments in GoMod.kt as indicated by the failing analyzer test.


MODDICONV-365 resolve profile migration issues

Purpose
Resolve profile migration issues
Approach
The previous migration code did some parts in Java and the rest in SQL. Unfortunately, some context could not be shared to create wrappers accurately. Wrappers ought to be created within the scope of a job hierarchy i.e. job profile -> match profile -> action profile -> mapping profile. The java respects this hierarchy by calling the get_profile_snapshot database function to retrieve a job profile and its children and create wrappers for linking purposes. But when the SQL attempts to update the wrapper ids within the association e.g job_to_match_profiles, it would select the first wrapper available. This is incorrect because wrappers are supposed to be created in the scope of an hierarchy. Using a wrapper not created for a hierarchy would not allow the hierarchy to link objects properly when a snapshot of the hierarchy is requested.
The migration is squarely on SQL now, no Java. An additional column has been added to the profile_wrappers table to keep the job profile context. This means when a wrapper is created in the scope of a job profile hierarchy, a look up for a wrapper can be selected for job profile hierarchy. The additional column is only used for migrations, runtime does not need the column.
Since the migration occurs via SQL scripts only, it is now possible to wipe and remigrate profiles. This will be useful for environments that have already migrated but have bad data.
Learning
https://folio-org.atlassian.net/browse/MODDICONV-365

@okolawole-ebsco, you wrote: Since the migration occurs via SQL scripts only, it is now possible to wipe and remigrate profiles. This will be useful for environments that have already migrated but have bad data.
Does it mean that we can restart migration again by removing profile_wrappers?

@okolawole-ebsco, you wrote: Since the migration occurs via SQL scripts only, it is now possible to wipe and remigrate profiles. This will be useful for environments that have already migrated but have bad data.
Does it mean that we can restart migration again by removing profile_wrappers or execute this SQL manually?

@Aliaksandr-Fedasiuk Yes we can restart the migration by removing profile_wrappers and executing SQL manually.


fix: vitest not throw error while using @nx/vite:test directly

Description
before(can not see error infos) :

after:

Related Issue

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

Checklist

[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[ ] I have updated the documentation.

It looks like next e2e is getting stuck in main as of recent. You can merge if approved.


eda-genomics: wgcna:  add Learn tab reading from static content

ths is where to land from the search page, project dependent.
we already seem to have a way to include a static content page within a tab in wdk (UD Help tab), project dependent

jeremy, will we only show Learn tab in genomic sites?

Yes, that's how I've currently wired it at least.


[Snyk] Security upgrade azure-identity from 1.13.0 to 1.16.1

This PR was automatically created by Snyk using the credentials of a real user.![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to fix 1 vulnerabilities in the pip dependencies of this project.
Snyk changed the following file(s):

base/jumpserver/3.6.3/requirements.txt

⚠ Warning
```
twisted 23.8.0 requires zope-interface, which is not installed.
python-daemon 3.0.1 has requirement setuptools>=62.4.0, but you have setuptools 40.5.0.
grpcio-status 1.62.2 has requirement grpcio>=1.62.2, but you have grpcio 1.56.2.
django-simple-captcha 0.5.18 requires Pillow, which is not installed.
django-celery-beat 2.5.0 has requirement importlib-metadata<5.0; python_version < "3.8", but you have importlib-metadata 6.7.0.
celery 5.3.0 requires kombu, which is not installed.
aliyun-python-sdk-core 2.15.1 has requirement jmespath<1.0.0,>=0.9.3, but you have jmespath 1.0.1.
</details>

---

> [!IMPORTANT]
>
> - Check the changes in this PR to ensure they won't cause issues with your project.
> - Max score is 1000. Note that the real score may have changed since the PR was raised.
> - This PR was automatically created by Snyk using the credentials of a real user.
> - Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

---

**Note:** _You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs._

For more information: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiIwOGM4MmZmOC03YjA3LTQ5MGEtYTFiNS1hYmRkYzJhNjgzNDgiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjA4YzgyZmY4LTdiMDctNDkwYS1hMWI1LWFiZGRjMmE2ODM0OCJ9fQ==" width="0" height="0"/>
🧐 [View latest project report](https://app.snyk.io/org/armorcode-partner/project/8d2089bf-e885-44cf-ac16-5194b839931c?utm_source=github&utm_medium=referral&page=fix-pr)
📜 [Customise PR templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates)
🛠 [Adjust project settings](https://app.snyk.io/org/armorcode-partner/project/8d2089bf-e885-44cf-ac16-5194b839931c?utm_source=github&utm_medium=referral&page=fix-pr/settings)
📚 [Read about Snyk's upgrade logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities)

---

**Learn how to fix vulnerabilities with free interactive lessons:**

🦉 [Learn about vulnerability in an interactive lesson of Snyk Learn.](https://learn.snyk.io/?loc=fix-pr)

[//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"azure-identity","from":"1.13.0","to":"1.16.1"}],"env":"prod","issuesToFix":[{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-AZUREIDENTITY-7246764","priority_score":561,"priority_score_factors":[{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.5","score":275},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')"}],"prId":"08c82ff8-7b07-490a-a1b5-abddc2a68348","prPublicId":"08c82ff8-7b07-490a-a1b5-abddc2a68348","packageManager":"pip","priorityScoreList":[561],"projectPublicId":"8d2089bf-e885-44cf-ac16-5194b839931c","projectUrl":"https://app.snyk.io/org/armorcode-partner/project/8d2089bf-e885-44cf-ac16-5194b839931c?utm_source=github&utm_medium=referral&page=fix-pr","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["updated-fix-title","pr-warning-shown","priorityScore"],"type":"auto","upgrade":[],"vulns":["SNYK-PYTHON-AZUREIDENTITY-7246764"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}'

Checkmarx One – Scan Summary & Details – 01d201d1-3a9b-4ecb-ac89-5c19178bd714
New Issues

Severity
Issue
Source File / Package
Checkmarx Insight

Path_Traversal
/base/oracle-java/utils/list-versions.py: [57](https://github.com/TheRedHatter/vulhub/blob/snyk-fix-48e9316f37c08304bab5a33aa54a13c6//base/oracle-java/utils/list-versions.py# L57)
Attack Vector

Fixed Issues

Severity
Issue
Source File / Package

Client_DOM_XSS
/electron/CVE-2018-15685/src/index.html: [17](https://github.com/TheRedHatter/vulhub/blob/snyk-fix-48e9316f37c08304bab5a33aa54a13c6//electron/CVE-2018-15685/src/index.html# L17)

Client_Potential_XSS
/electron/CVE-2018-15685/src/index.html: [17](https://github.com/TheRedHatter/vulhub/blob/snyk-fix-48e9316f37c08304bab5a33aa54a13c6//electron/CVE-2018-15685/src/index.html# L17)

Path_Traversal
/python/PIL-CVE-2017-8291/app.py: [37](https://github.com/TheRedHatter/vulhub/blob/snyk-fix-48e9316f37c08304bab5a33aa54a13c6//python/PIL-CVE-2017-8291/app.py# L37)

Path_Traversal
/base/oracle-java/utils/list-versions.py: [57](https://github.com/TheRedHatter/vulhub/blob/snyk-fix-48e9316f37c08304bab5a33aa54a13c6//base/oracle-java/utils/list-versions.py# L57)


unimplemented instruction running BASIC

Attempting to execute any basic commands (in a program or from the prompt) results in an "unimplemented instruction" trap. I suspect this in an emulation bug, but since you seem to be able to run BASIC programs, I am wondering if it's a simh config setting.
FORT, EDIT, and APL seem to be working fine.
!BASIC
VER. C02
>10 FOR I = 1 TO 10
>20 PRINT I
>30 NEXT I
>40 STOP
>50 END
>RUN
:P6   ^   RUNQAAA...
  A405 UNIMPLEMENTED INSTRUCTION

!

You're right.
This code resulted in an FPA,10 a74e instruction.
The sigma.ini options should include a  set cpu FP to allow the floating point instructions
I added the change and committed sigma.ini


Store logos are stretching

On the item search results page, the store logos stretch vertically, so if there's many lines (store name, number of items, breakdown, alleys) the logos don't look good.

Fixed in https://github.com/baviereteam/NbtApps/commit/e9fae725bc759c02a1f96e49cc5bc00a0c86f96d.


Remove old cache directories

This PR adds code which warns the user when old cache directories are present. A cache directory is old if the modification timestamp is older than 30 days. Users can then use the new cache command with --cleanup, which will remove all old directories.
When a cache directory is used, the modification timestamp is set to the current time and date so that it isn't in the list of old directories.
Closes #1318

Codecov Report

Merging #1436 into master will decrease coverage by 0.23%.
The diff coverage is 16.66%.

@@            Coverage Diff             @@
##           master    #1436      +/-   ##
==========================================
- Coverage   51.12%   50.89%   -0.24%
==========================================
  Files         136      137       +1
  Lines       13612    13690      +78
==========================================
+ Hits         6959     6967       +8
- Misses       5800     5864      +64
- Partials      853      859       +6

Impacted Files
Coverage Δ

internal/fs/file.go
0% <0%> (ø)
:arrow_up:

internal/cache/cache.go
25.22% <13.51%> (-4.65%)
:arrow_down:

internal/cache/dir.go
6.66% <28.57%> (+6.66%)
:arrow_up:

cmd/restic/global.go
22.1% <55.55%> (+0.38%)
:arrow_up:

cmd/restic/cmd_cache.go
9.75% <9.75%> (ø)

cmd/restic/lock.go
52.5% <0%> (-5%)
:arrow_down:

internal/backend/test/tests.go
58.81% <0%> (-0.58%)
:arrow_down:

Continue to review full report at Codecov.

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


BlobAttribute throws 401

Hello!
Whether using a BlobOutputAttribute or BlobInputAttribute, my function, with slightly differing error messages, throws a 401. I have a storage account with blobs in a subscription of which I am owner.
My function:
[Function("MetadataSyncPublisher")]
[BlobOutput("container/file.json", Connection = "blobNameSpace")]
public async Task<string> Run([TimerTrigger("%MetaDataSyncPublisherTriggerTime%")] TimerInfo myTimer, FunctionContext context)
{
      return "something to output";
}

blobNameSpace here being a serviceuri, stored in local.settings.json (https://{storageaccount}.blob.core.windows.net/) to the storage account.
When running the function this error is shown:
Executed 'Functions.MetadataSyncPublisher' (Failed, Id=b152ba94-f513-439e-bbb4-665f6515220e, Duration=2736ms)
[2022-01-26T11:56:02.766Z] System.Private.CoreLib: Exception while executing function: Functions.MetadataSyncPublisher. Azure.Storage.Blobs: Server failed to authenticate the request. Please refer to the information in the www-authenticate header.
RequestId:f0286069-701e-0010-28ab-12f3a7000000
Time:2022-01-26T11:56:02.7179265Z
[2022-01-26T11:56:02.767Z] Status: 401 (Server failed to authenticate the request. Please refer to the information in the www-authenticate header.)
[2022-01-26T11:56:02.768Z] ErrorCode: InvalidAuthenticationInfo
[2022-01-26T11:56:02.769Z]
[2022-01-26T11:56:02.770Z] Additional Information:
[2022-01-26T11:56:02.771Z] AuthenticationErrorDetail: Issuer validation failed. Issuer did not match.
[2022-01-26T11:56:02.771Z]
[2022-01-26T11:56:02.772Z] Content:
[2022-01-26T11:56:02.773Z] <?xml version="1.0" encoding="utf-8"?><Error>InvalidAuthenticationInfo<Message>Server failed to authenticate the request. Please refer to the information in the www-authenticate header.
RequestId:f0286069-701e-0010-28ab-12f3a7000000
Time:2022-01-26T11:56:02.7179265Z</Message><AuthenticationErrorDetail>Issuer validation failed. Issuer did not match.</AuthenticationErrorDetail></Error>
[2022-01-26T11:56:02.774Z]
[2022-01-26T11:56:02.774Z] Headers:
[2022-01-26T11:56:02.775Z] Server: Microsoft-HTTPAPI/2.0
[2022-01-26T11:56:02.775Z] x-ms-request-id: f0286069-701e-0010-28ab-12f3a7000000
[2022-01-26T11:56:02.778Z] x-ms-error-code: InvalidAuthenticationInfo
[2022-01-26T11:56:02.779Z] WWW-Authenticate: REDACTED
[2022-01-26T11:56:02.780Z] Date: Wed, 26 Jan 2022 11:56:01 GMT
[2022-01-26T11:56:02.780Z] Content-Length: 402
[2022-01-26T11:56:02.781Z] Content-Type: application/xml
[2022-01-26T11:56:02.782Z] .

I do not believe this to be a permission issue, as I have similar functions using the more explicit Azure.Core.TokenCredential to create a BlobServiceClient and access the storage account, without issue.
I am finding very little to resolve this online, and since it otherwise works when not using these bindings, perhaps it could be determined if I have something configured incorrectly or not?
Thanks.
For good measure, I am using these versions of packages:
<ItemGroup>
	  <PackageReference Include="Azure.Identity" Version="1.5.0" />
	  <PackageReference Include="Azure.Storage.Blobs" Version="12.10.0" />
	  <PackageReference Include="Microsoft.ApplicationInsights.WorkerService" Version="2.15.0" />
	  <PackageReference Include="Microsoft.Azure.Functions.Extensions" Version="1.1.0" />
	  <PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.6.0" />
	  <PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Storage.Blobs" Version="5.0.0" />
	  <PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.3.0" OutputItemType="Analyzer" />
	  <PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.0.13" />
	  <PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Timer" Version="4.1.0" />
	  <PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Storage" Version="5.0.0" />
	  <PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.ServiceBus" Version="5.0.0-beta.4" />
	  <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.0" />
  </ItemGroup>

Is this happening when running locally or after deployed to Azure? Would you mind sharing your local.settings.json file exactly (with any secrets removed)? That may help us understand.
If you are running locally, I can see from the docs here that you may need to set something up in order to use the correct identity if you're using an identity-based connection:

https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-blob-output?tabs=csharp#identity-based-connections
https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference?tabs=blob#local-development-with-identity-based-connections


NetTruyen

Source information
NetTruyen 1.4.35
Source language
vietnam
Source new URL
https://nettruyencc.com/
Other details
https://nettruyencc.com/
Acknowledgements

[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source URL has not changed yet.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I will fill out all of the requested information in this form.

English : Nettruyencc is not the official link please see #2962 and #2887
Vietnamese: Nettruyencc khongo phair source chính thức của nettruyen (để biết thêm thông tin anh có thể xem #2962 vaf #2887 nhé)


Update sbt, scripted-plugin to 1.10.5

About this PR
📦 Updates

org.scala-sbt:sbt
org.scala-sbt:scripted-plugin

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

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

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

labels: library-update, early-semver-patch, semver-spec-patch, version-scheme:early-semver, commit-count:1

Superseded by #157.


Submit a Cloud Definition

    {
    "word": "ingress",
    "content": "A Kubernetes resource which defines how traffic is routed from outside of the Kubernetes cluster to a service running inside the cluster. Mostly used for HTTP/HTTPS traffic.",
    "learn_more_URL":"https://kubernetes.io/docs/concepts/services-networking/ingress",
    "tag":"devops",
    "abbreviation": "",
    "author_name":"thetredev",
    "author_link": "https://github.com/thetredev"
    }

Note: Not sure if the tag is correct, could be networking too.

Added, thank you!


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-1.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 683

Questions ?
Please refer to the Backport tool documentation


Fixing up Actions for new ubuntu version

The Actions Ubuntu version has updated; updating GDAL to supported version and fixing actions

Codecov Report

Merging #74 (6c75922) into main (520b7d0) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #74   +/-   ##
=======================================
  Coverage   62.09%   62.09%
=======================================
  Files           5        5
  Lines         372      372
=======================================
  Hits          231      231
  Misses        141      141

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Active accounts chart

Please describe the problem that your request should resolve.

Describe the solution you'd like

Is it already possible to achieve the same outcome in any other way? If so, how?

Additional context

How to determine 'active @michele-franchi '

Unique addresses that were active on the network as a sender or receiver.

Yes, but we need to set some threshold after which is the account considered as inactive.
Or just single transaction from some account makes it active forever?

"Active" is considering a specific time frame (daily), not overall.
For each day it should be visible the following: unique addresses that were active on the network as a sender or receiver.


Microsoft Store refuse to open even with the instructions listed we're made

Describe the issue
I don't know if it's a Microsoft issue or a UTM issue, but I plan to post on Microsoft too in case.
After following the instructions via the Paralles Website to get the Microsoft Store on Windows 11 (https://kb.parallels.com/en/128520#section2), the Microsoft Store refuse to open (it will open, then it will close). Adding to that, It won't open at all without any loading or updating notices anywhere (yes, I waited for nearly 30 minutes just in case).
Here's the steps I reproduce:
(NOTE: The OS I install haves Microsoft Store installed.

Finish the OOBE.
When reach the desktop, pop in the Spice-Guest Tools and install that.
Restarted.
Update to the current Windows 11 OS, then restarted.
Open the website and download the .reg file.
Open Powershell via Admin and type the command Get-AppxPackage -Name "Microsoft.WindowsStore" -AllUsers | Remove-AppxPackage
Extract the ZIP file and added the regedit file. Rebooted.
Open Powershell again in Admin and run the command wsreset.exe -i
Waited.
Then after it installed, open the app.
Waited for 20-ish minutes before clicking the app again.
Waited 10 minutes again, before restart the VM.
Open the app again, then the problem occurs.

I should also note that I have a VLAN on, in case that's the problem.
Configuration

UTM Version: 3.1.5
OS Version: 12.3 (will update to 12.3.1 later)
Intel or Apple Silicon? Apple

Crash log
NA
Debug log
NA
Upload VM
NA

It's an architecture issue. Some old Windows built-in apps are still compiled for ARM32, but that doesn't run on M1 as only 64-bit is supported. Maybe Parallels is emulating an x86 version of Windows that doesn't have the issue.

I was able to install Microsoft Store on Windows 11 ARM 64 bit version running in UTM by following the steps mentioned below (courtesy of https://techcommunity.microsoft.com/t5/windows-insider-program/microsoft-store-missing-from-windows-11-insider-preview/m-p/3066298/highlight/true#M14002 and https://www.winhelponline.com/blog/restore-windows-store-windows-10-uninstall-with-powershell/):

Going to Settings > Privacy & security > For developers : Enable Install apps for any source.
Visit the following website:

https://store.rg-adguard.net/
The above third-party site can generate download links (to app installers) for the chosen app. These are direct download links pointing at the official Microsoft servers.

On the above page, paste the following link in the URL text box. The following is the Microsoft Store app’s official link.

https://www.microsoft.com/en-us/p/microsoft-store/9wzdncrfjbmp

Select Retail (or the appropriate branch accordingly), and click the generate button. I selected RP (Release Preview) as Windows 11 on ARM is in preview

As the Microsoft Store app depends on .NET Framework, .NET Runtime, and VC Libs, download the latest packages of each item listed. Be sure to download the correct ones matching the bitness (x86 vs. x64 vs arm64) of your Windows 11.

Now, you would have downloaded these four Appx packages — the version numbers will vary according to the build/version of the Microsoft Store app. Since I have Windows 11 ARM 64 bit, I downloaded the following:
Microsoft.VCLibs.140.00_14.0.30704.0_arm64__8wekyb3d8bbwe.Appx Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_arm64__8wekyb3d8bbwe.Appx Microsoft.NET.Native.Framework.2.2_2.2.29512.0_arm64__8wekyb3d8bbwe.Appx Microsoft.WindowsStore_12107.1001.15.0_neutral___8wekyb3d8bbwe.AppxBundle
There are also some files with extension BlockMap and I don't really know if they are required, but I downloaded them anyway and kept them besides the Appx files.

You first need to install the .NET Runtime and .NET Framework packages by double clicking them and clicking on Install.

Next you need to install the VCLibs, however, it won't install if you have Widgets running. So first, you need to turn off Widgets from Taskbar settings (right click task bar > Taskbar settings) and also end the Widgets.exe task. Then you can install the VCLibs.

Finally, you can install the Windows Store AppxBundle!

It would not have been possible without the references listed above and I merely followed the instructions listed with my only contribution being step 8!

@kanadgodse For safety, I would recommend that you disable app updates from the Store after installing it as it might auto-update to the ARM32 version later.

Well, after installing the AppxBundle, the store automatically updated itself to the latest version. Will need to check if it uodated to ARM32 version or not. I tried this on a MacBook Pro 14 inch M1 Pro SoC. I tried a game from the store (Modern Combat 5) and it worked, although like a PowerPoint presentation. I don't think it would be an issue if the store updated itself.

I tried following the steps @kanadgodse posted, but when running the Windows Store Appx Bundle, the App Installer said this:

Cannot open app package

Reason: Error in parsing the app package.

Apparently, the fastest way to install the Microsoft Store is to install the Xbox app from the internet. It will tell you that the Microsoft Store is missing and offers you to install it. Worked like a charm!

@JohJakob Can you clarify the steps you took? I tried on a new Windows 11 installation to download and install from https://aka.ms/XboxInstaller and it didn't fix the MS Store issue.

@osy I downloaded it from here. In the Xbox app, there was a notice somewhere in the settings that the Windows Store is required for the best experience. There was a “Fix now” button or something like that.

Did you first uninstall the built in app? I’m trying to do this myself and it seems like the Xbox app installs successfully and I can open it but Microsoft store still won’t open.

@osy There was no Xbox app installed on my virtual machine 🤔 Try uninstalling the built-in app and reinstall it via the link above.

@gradygambrell @osy
solved I think
here: https://dabigblob.github.io/ms-store-arm64/

Your script didn't work for me, but using the .reg supplied by the wayback machine did. MS Store works now, but I still cannot launch Netflix.
The behaviour of it, is the same as with MS Store in the beginning (eg the app closing after starting).
Any suggestions?

I just ran wsreset -i in an admin Terminal and it installed the store after ~5-10 minutes.
I did try installing the Xbox app and running the built-in troubleshooter but those didn't seem to help.

Current builds of Windows come with Arm64 Microsoft Store. These steps are no longer required.

I was able to install Microsoft Store on Windows 11 ARM 64 bit version running in UTM by following the steps mentioned below (courtesy of https://techcommunity.microsoft.com/t5/windows-insider-program/microsoft-store-missing-from-windows-11-insider-preview/m-p/3066298/highlight/true#M14002 and https://www.winhelponline.com/blog/restore-windows-store-windows-10-uninstall-with-powershell/):

Going to Settings > Privacy & security > For developers : Enable Install apps for any source.
Visit the following website:

https://store.rg-adguard.net/
The above third-party site can generate download links (to app installers) for the chosen app. These are direct download links pointing at the official Microsoft servers.

On the above page, paste the following link in the URL text box. The following is the Microsoft Store app’s official link.

https://www.microsoft.com/en-us/p/microsoft-store/9wzdncrfjbmp

Select Retail (or the appropriate branch accordingly), and click the generate button. I selected RP (Release Preview) as Windows 11 on ARM is in preview
As the Microsoft Store app depends on .NET Framework, .NET Runtime, and VC Libs, download the latest packages of each item listed. Be sure to download the correct ones matching the bitness (x86 vs. x64 vs arm64) of your Windows 11.
Now, you would have downloaded these four Appx packages — the version numbers will vary according to the build/version of the Microsoft Store app. Since I have Windows 11 ARM 64 bit, I downloaded the following:
Microsoft.VCLibs.140.00_14.0.30704.0_arm64__8wekyb3d8bbwe.Appx Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_arm64__8wekyb3d8bbwe.Appx Microsoft.NET.Native.Framework.2.2_2.2.29512.0_arm64__8wekyb3d8bbwe.Appx Microsoft.WindowsStore_12107.1001.15.0_neutral___8wekyb3d8bbwe.AppxBundle
There are also some files with extension BlockMap and I don't really know if they are required, but I downloaded them anyway and kept them besides the Appx files.
You first need to install the .NET Runtime and .NET Framework packages by double clicking them and clicking on Install.
Next you need to install the VCLibs, however, it won't install if you have Widgets running. So first, you need to turn off Widgets from Taskbar settings (right click task bar > Taskbar settings) and also end the Widgets.exe task. Then you can install the VCLibs.
Finally, you can install the Windows Store AppxBundle!

It would not have been possible without the references listed above and I merely followed the instructions listed with my only contribution being step 8!

Works fine on 22H2
Thanks!

Anyone else getting error when opening the windows security or defender thingy?
"Get an app to open this 'windowsdefender' link"

Dear @kanadgodse ,
I've just created an account on Github to thank you for this.

I've also came to thank @kanadgodse for the references and relayed info.
I now have the Microsoft Store on my virtualized Windows 11 running on a Macbook Pro.

Current builds of Windows come with Arm64 Microsoft Store. These steps are no longer required.

Even though the Arm64 Store App has been made available, new Insider builds still have an old Arm32 Store App pre-staged in them.
If the device is capable of running Arm32, the Store App will eventually upgrade to Arm64 on its own. This is not the case on Apple Silicon, for example.
Images should have the Arm64 Store App pre-staged by now. I'll take care of fixing this. Images with the Arm64 Store App pre-staged need none of this contorted work-around process.

Current builds of Windows come with Arm64 Microsoft Store. These steps are no longer required.

Even though the Arm64 Store App has been made available, new Insider builds still have an old Arm32 Store App pre-staged in them.
If the device is capable of running Arm32, the Store App will eventually upgrade to Arm64 on its own. This is not the case on Apple Silicon, for example. Because the device can't run the Arm32 Store App, it never gets to upgrade itself to the Arm64 one.
Images should have the Arm64 Store App pre-staged by now. I'll take care of fixing this. Images with the Arm64 Store App pre-staged need none of this contorted work-around process.

Done. Any build numbered >= 25319 will have the Arm64 Store app pre-staged and should require none of the hackery here described.

Done. Any build numbered >= 25319 will have the Arm64 Store app pre-staged and should require none of the hackery here described.

Crystalfetch doesn't list that build so it's not entirely clear what we should be getting.  But according to https://betawiki.net/wiki/Windows_11_build_25319, it's a preview build of 23H2 so we should be getting that.

https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewarm64


Clear old access tokens via a cron job

We should find and delete access tokens that have an expired ttl via a cron job.

We need to implement this. https://docs.mongodb.com/manual/tutorial/expire-data/

Hey can I work upon this issue?

Hello @raisedadead. If nobody is working on this, I'd like to help out :)

Hi, apologies. This was incorrectly flagged. This more of a DevOps issue.

can I work on this?

Locking this thread, this is a internal DevOps task for dev team.


WPF Menus

Proposed title of article
WPF Menus
Introduction paragraph (2-3 paragraphs):
In WPF, the Menu and the MenuItem classes represent a menu and a menu item respectively. A Menu is a collection of menu items with a command associated with each menu item. A menu item may have children menu items called submenus. This article discusses how to work with menus in WPF applications using XAML and C#.
In this article, we will discuss how we can use Menu and MenuItem controls to create menus in a WPF application. We will also see how we can set menu properties, add menu items at design-time as well as at run-time and add menu item event handlers.
Key takeaways:

Creating a WPF Menu at Design Time
Setting WPF Menu Control Properties
Adding WPF Menu Items
Creating a WPF Menu Control at Run-time
Adding an Event Trigger to a MenuItem

References:
N/A

Good afternoon and thank you for submitting your topic suggestion.
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.  @Jeddy947

🤔
Sounds like a helpful topic - lets please be sure it add value beyond what is in the official docs and what is covered in other blog sites.
Please be sure to double check that it does not overlap with any existing EngEd articles or incoming topic suggestions (if you haven't already) to avoid any potential article closure, please reference any relevant EngEd articles in yours. - Approved
@Jeddy947


Make git-radar independent from GREP_OPTIONS environment variable

I have the following line in .zshrc:
export GREP_OPTIONS="--color --line-number" # Make grep more user-friendly

As it turns out, this doesn't play well with git-radar, which assumes grep's default behaviour. This PR unsets the environment variable GREP_OPTIONS to ensure grep behaves as expected.

A colleague, just pointed out to me, that it is better to use an alias instead of GREP_OPTIONS.
i.e. instead of
export GREP_OPTIONS="--color --line-number" # Make grep more user-friendly

it is better to use
alias grep="grep --color --line-number"  # Make grep more user-friendly


Add threshold to csv summary

Fix https://github.com/xetdata/xethub/issues/5559
With this PR by default a CSV summary will not be created for files under 256 KiB. This can be tuned by export XET_CSV_MIN_SIZE = [file size in bytes]

LGTM -- ideally, need this in the config, but for our purposes this works fine.

Given there's a plan to move summary analyzer out of git-xet to actions I think we can just use this temporary fix


[EngSys] Add size monitoring of generated packages to CI

Per our last retrospective, there was a desire to configure a mechanism for tracking the packed size of SDKs over time, especially core libraries.
Ideally, we could see the change created by each PR (similar to public API changes) before merging.

@xirzec Do we want to start failing build job if it is above a threshold level?


Feature: sync dockerhub  cloud image to aliyun registry

Which command or component
eg.  cloud image
Detailed description of the feature
Aliyun registry will be very fast for image pull, so should we sync dockerhub cloud images to aliyun registry, give user a Second pull option？
Cloud image have subimage ,so it usually bigger, it's hard to pull.
If you have solution，please describe it
there have a simple solution ,use github action to schedule
.github/workflows/main.yml
name: image-sync
on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]
  schedule:
    - cron: '0 14 * * 1'

env:
  USERNAME: ${{ secrets.ALIYUN_USERNAME }}
  PASSWORD: ${{ secrets.ALIYUN_PASSWORD }}

jobs:
  image-sync:
    runs-on: ubuntu-22.04

    steps:
    - name: Checkout
      uses: actions/checkout@v2

    - name: check podman
      run: |
        sudo podman version
    - name: sync images
      run: |
        sudo podman run -it --rm -v ${PWD}:/workspace -w /workspace quay.io/skopeo/stable:latest \
        sync --src yaml --dest docker sync.yaml registry.cn-shenzhen.aliyuncs.com/labring \
        --dest-username $USERNAME --dest-password $PASSWORD \
        --keep-going --retry-times 2

sync.yaml
docker.io:
    images:
        labring/nginx: []
        labring/tomcat: []

it will be like this

@cuisongliu

commit to cluster-image repo ?

commit to cluster-image repo ?

yes

@muicoder  @willzhang   sync code to cluster-image  ?

Is Alibaba Cloud's registry reliable and paid?

@muicoder @willzhang sync code to cluster-image  ?

@muicoder free~
@cuisongliu @willzhang we will provide our own registry: hub.sealos.io

When will it go online? Let's connect directly to the hub.sealos.io

nice~

here

Seems you already finished this work?

Seems you already finished this work?

Trying to use github actions to catch image changes in docker.io and sync it to hub.sealos.cn.
I'am writing a image-sync tool by using sealos inspcet. This tool can provide user a batter way to sync image in two registry dynamicly.
You can see codes here: https://github.com/labring-actions/sync

can public use hub.sealos.cn without any limit？ eg:
sealos pull hub.sealos.cn/nginx:V1.23.3

root@node1:~# sealos pull hub.sealos.cn/labring/nginx:v1.23.3
Trying to pull hub.sealos.cn/labring/nginx:v1.23.3...
Getting image source signatures
Copying blob c19159ef2f9d done
Copying config cc40affeaa done
Writing manifest to image destination
Storing signatures
cc40affeaa58cae78a677854701b6f4a4cb9790e46fc56bb5affd93c384cfbe5


focus on tenant release pipelines

@scoheb in case you're having troubles with updating the table of contents. running the command here should take care of that: https://github.com/konflux-ci/konflux-ci/blob/main/CONTRIBUTING.md

@scoheb I think this is a great change which an really simplify the initial experience of users. Any chance you can complete  the work on this PR?


Host doesn't include port number

The host name returned in swagger json should include the port so that swagger UI can generate the right "curl" and "try it" urls.
The spec indicates that host may include a port:  http://swagger.io/specification/

Yes it should. Will take a look, probably early next week. I expect it's due to our usage of URI.

Here are my changes to lib/swagger_yard/swagger.rb.  I can submit a PR if that would be helpful.
    def to_h

      host
      { "swagger"  => "2.0",
        "info"     => Info.new.to_h,
        "host"     => host,
        "basePath" => URI(SwaggerYard.config.api_base_path).request_uri
      }.merge(ResourceListing.all.to_h)
    end

    private

    def host
      uri = URI(SwaggerYard.config.api_base_path)

      if uri.default_port == uri.port
        uri.host
      else
        "#{uri.host}:#{uri.port}"
      end
    end
  end```


Experimental annotation rule is broken with file annotations

Expected Behavior
Running ktlint --experimental on the following file should succeed:
@file:SomeFileAnnotation()

class Test

Observed Behavior
Fails with Missing spacing after @file:SomeFileAnnotation()
Steps to Reproduce
$ cat << EOF > /tmp/Test.kt
> @file:SomeFileAnnotation()
>
> class Test
> EOF

$ ktlint --experimental /tmp/Test.kt
/private/tmp/Test.kt:1:26: Missing spacing after @file:SomeFileAnnotation()

Your Environment

ktlint 0.36.0
macOS 10.15.4

Will be closed by #714 I believe


Proposed fix to regular expression

getting [Error: Invalid latitude & longitude] using 38.94631, -77.34287 with current expression.

Cool, thanks @puzzlehe4d! I know we don't have a detailed test & commit description yet. Therefore, I'll update and add some more lat & lon tests to have a better coverage for this check. Don't worry about the failed test, it seems to be a nock configuration issue.

I realized that the proposed RegEx doesn't cover some case.. At this point, I think the node-uber wrapper should skip these tests and let the Uber API reliably decide if the lat & long can be taken

Hmm. My apologies-- I must have missed something. In any case, I agree with your assertion. I don't see the need to have it within the wrapper -- it looks like the uber api sends back readable error messages with corresponding invalid fields attached.


Failed to build FemSimulation demo

Description
After successfuly build dtk of SimplePhysicsEngine, I tried to build and run FemSimulation. Errors occured while generating FemSimulation project.
check steps done

install boost, CGAL, Eigen, GLM, freeglut.
generate, build and install dtk of SimplePhysicsEngine successfully.
change lib paths of CMakeLists.txt in SimplePhysicsEngine\demo\FEMsimulation.
use Cmake to config and generate VS project with config CGAL, Boost path.
while generating FemSimulation project, errors occured.

Error code

It seems I failed to config dtk lib. But I have generated BUILD project of dtk, with include and lib folder generated in none-C-disk path. And I set correct dtk lib path of CMakeLists.txt in SimplePhysicsEngine\demo\FEMsimulation.

The reason is the link error. You may link static lib with share lib or link share lib with static lib.

fixed #18


chrome browser issue linux

In AutoGPT it's fixed by setting the browser to firefox... are there any settings for this in the module?

Hey @ngmisl, we will add fallback to firefox

@ngmisl We have added Firefox supported and merged it to main. We'll release it soon!

@ngmisl We have released Firefox support, hoping it fixes your issue!


An error occurred in the ‘ftk_LoadData’ query. DataFormat.Error: We couldn't parse the input provided as a Date value.

🐛 Problem
When trying to connect via the FinOps hubs data source in CostSummary report, unable to load the data with below error:
An error occurred in the ‘ftk_LoadData’ query. DataFormat.Error: We couldn't parse the input provided as a Date value.
👣 Repro steps

Create export at subscription scope
name export amortizesubscription and run
Update CostSummary report with correct storage Url: https://storageexamplename.dfs.core.windows.net/ingestion
Apply

🤔 Expected
No error, data loads
🙋♀ Ask for the community
We could use your help:

Please vote this issue up (👍) to prioritize it.
Leave comments to help us solidify the vision.

If you change the Date column to date (in lowercase), you will fix the issue. There is no need to comment the code, just change that section.

Thanks for sharing, @erincon01! This has been fixed in 0.2. Stand by for the next release.

@allcontributors please add @elvismangarae for bug

@allcontributors please add @erincon01 for question

This error has been fixed in the 0.2 release. Thanks again for reporting. Please let us know if you run into anything else!
https://aka.ms/ftk/latest