Add type consistency validation for actions

It's necessary to add validation for actions that use declared types. For example, interface X has a property name, but type X from action has a property count -- validation should forbid it.
interface X {
    name: string
}

MyXRule:
    {X} count=NUMBER;

I had a chat with @msujew , this task is harder than I thought (it was looking a very innocent 'write a validator' task).
I will concentrate on a different task and release this issue for someone else.

@Lotes, I take it. Thank you for your work!


Libreoffice freezes when opening a modal menu

Dear Yabai maintainers,
Libreoffice freezes when opening a modal menu («save as», or "format > columns» for example). I would expect that modals from Libreoffice would stay floating automatically.
Is there a way to inspect such modals and write exceptions in yabairc ? As a workaround, I have completely disabled yabai for libreoffice by adding these two lines to yabairc:
yabai -m rule --add app="^LibreOffice" manage=off
yabai -m rule --add app="^soffice" manage=off

Thanks for creating such an awesome i3-style apps that works on macOS.
Best,

Other issues with Libreoffice mentioned in #1344

Likely fix on the LibreOffice side between versions 7.4.0 and 7.4.5 (latest stable). See https://github.com/koekeishiya/yabai/issues/1344#issuecomment-1229481572.

@chairfield Can confirm upgrading to LibreOffice 7.4.5 fixed the issue. Thank you very much for following up!


Default container image for olm-create-bundle.sh points to images at the old format

Somewhat related: #967
Describe the bug
In code-generator/scripts/olm-create-bundle.sh, which fully renders an OLM bundle, we have a default image value that uses the old format for service controller images in this repository. This needs to be updated.
Steps to reproduce
Run the following after having generated all the other assets using make build-controller
olm-create-bundle.sh <service> <version>

Observe the bundle's ClusterServiceVersion at ../<service>-controller/olm/bundle/manifests/*clusterserviceversion*.yaml has an incorrect default value for spec.deployments.spec.containers[0].image which follows the old format.
Expected outcome
This image value should reflect the new format seen in the helm chart:
https://github.com/aws-controllers-k8s/elasticache-controller/blob/main/helm/values.yaml#L6
Additional Info
We're primarily fixing the default value, but we're also going to have to make a change to the way the script constructs the final value.
Note that this value, once constructed, is getting injected into a temporary deployment configuration manifest using kustomize:
https://github.com/aws-controllers-k8s/code-generator/blob/main/scripts/olm-create-bundle.sh#L126
The construction of the variable that gets used, assuming a variable with a higher precedence isn't set (see below), happens here:
https://github.com/aws-controllers-k8s/code-generator/blob/main/scripts/olm-create-bundle.sh#L117
This also needs to change.
Finally, as mentioned, precedence for this variable means that you can work around it if needed by doing the following:
AWS_SERVICE_DOCKER_IMG="public.ecr.aws/aws-controllers-k8s/$SERVICE-controller:$RELEASE_VERSION" ./olm-create-bundle.sh <service> <version>

The precedence happens here:
https://github.com/aws-controllers-k8s/code-generator/blob/main/scripts/olm-create-bundle.sh#L105-L118

/assign


Fix preprocessor if that only checked minor engine version

I can't imagine that this isn't a bug. I stumbled upon it yesterday evening and thought that warranted a fix.

Looked into this.
ESPMode was introduced in 4.26, so we can't use it before that. Currently (and from what I can tell 5+), TheadSafe is the default which is why it worked before the fix. However, for 4.27 at least, the default is "Fast". So I think the safest solution is to explicitly define ThreadSafe.


buffer: add "overflow" watermark

WIP: Add a new "overflow" watermark to watermark buffers. Intended usage: if a buffer continues to be written to after exceeding its high watermark, and exceeds its overflow watermark (by default 2x the high watermark), Envoy should protect itself by closing the associated stream.
Risk Level: Medium
Testing: Only unit tests so far; needs integration tests.
Docs Changes: TBD
Release Notes: TBD
Signed-off-by: Dan Rosen<EMAIL_ADDRESS>

Looking for some initial feedback as I start working on integration tests. Is this roughly what we had in mind?
/assign @alyssawilk @htuch @yanavlasov

QQ: What's the config plan for this? Correctly configuring all of the flow control settings is already extremely complicated. Can we potentially start with this just being a multiple of the high watermark? Or is the plan to have independent config?
Also, is this a defense in depth measure, or are there specific cases we are targeting? One case I know this will fix is the local reply case which is not well covered today.

QQ: What's the config plan for this? Correctly configuring all of the flow control settings is already extremely complicated. Can we potentially start with this just being a multiple of the high watermark? Or is the plan to have independent config?

I'm not currently planning to add any new configuration for this. The only existing configuration I found so far are initial_stream_window_size and initial_connection_window_size in Http2ProtocolOptions, but I've quite possibly missed something. My guess is that setting the overflow watermark at 2x the high watermark (both for the connection and per H2 stream) is probably fine, at least as a starting point, but I'll defer to @alyssawilk.

Also, is this a defense in depth measure, or are there specific cases we are targeting? One case I know this will fix is the local reply case which is not well covered today.

I'm not aware of specific cases we're trying to cover, I think this is just defense in depth.

/wait while I work on addressing Alyssa's feedback.

My guess is that setting the overflow watermark at 2x the high watermark (both for the connection and per H2 stream) is probably fine, at least as a starting point, but I'll defer to @alyssawilk.

Yes agreed, this makes sense to me. Ping me when this is more fleshed out and I'm happy to take a look also.

@alyssawilk - Some updates here, still a lot of work to do, but wondering if you could take another quick look? I'm now just closing the stream or connection immediately whenever I get an overflow, rather than passing the event through callbacks, and I've started fixing some tests.

/wait

Status update on this PR:

The high watermark overflow multiplier is now controlled by a runtime variable, buffer.overflow.high_watermark_multiplier. Its default value is 2, and it can be disabled by setting it to 0. I haven't documented this yet.
 I've created a Runtime::ScopedMockLoaderSingleton class to deal with these easily.
There are a lot existing tests that set a relatively small buffer size (e.g. 1 KB) and then flood it with data (e.g. 1 MB), to exercise the various backpressure mechanisms. These tests break with high_watermark_multiplier=2, because the new behavior is to immediately close the connection or stream. So I've disabled the feature and left a TODO in each of those specific tests, to write another test that covers the new behavior. There are about 35 of these.

So now is, I think, the hard part: writing new tests. @alyssawilk and @mattklein123, if you get a chance, please let me know if my methodology seems reasonable to you, and have another look at the code. You can mainly limit your attention to the changes under /source, since the /test changes are all basically mechanical so far. Thanks again!

/unassign @yanavlasov @htuch

Heads up for all concerned: I have a different project I need to prioritize right now, so I'm stepping away from this PR for a while. I'll try to keep it in sync with master in the meantime.

Still not really working on this. Just merged master to prevent excessive bitrot and appease stalebot.
/wait


Onboarding process docs

As a user I want to understand the process of getting a login page (onboarding process)

Make it clear that personal is out of scope.


Renaming a pasted link also modfies the link itself

Reproduce:

Copy pasting e.g. https://www.google.com/
Rename the name of the link to e.g. "Google"

Problems:

If I rename it to e.g. "Google" -> Doesn't even recognize as link anymore (not blue), since it changed the link as well
If I ranem it to e.g. "https://www.google.com/ Google" it keeps the link and writes the word "Google" as regular word, not "inside" the link

The same thing DOES WORK with links created via the button (not pasted).
I'm using v0.6.2

I think this is related to this comment: https://github.com/facebook/lexical/pull/4203#issuecomment-1484999459
Will work on fixing that!

Great to hear 👍. And thanks for upstreaming all these improvements to Lexical itself;) Will benefit everyone...


New Feature: Add Oracle memory connector to docs

Oracle Database 23ai introduced vector types and vector similarity search. Using this features, I built a memory connector on top of it: SemanticKernel.Connectors.Oracle
Would be nice to have this listed at Available connectors to vector databases. The page content isn't editable for outside contributors so I can't send a PR for it.
CC @RogerBarreto

Thanks for letting us know! Do you mind submitting a PR here? https://github.com/microsoftdocs/semantic-kernel

Done! The https://learn.microsoft.com/en-us/semantic-kernel/integrations/#available-connectors-to-vector-databases page doesn't have a "pencil" icon so I didn't know it was possible to send a PR for it.


Feat/script cluster

Description

Fixed a bug checking dependencies. Missing a space on new line 26
Added check if docker-compose is installed check --docker flag is used
Added help instructions to use the script. Help is displayed when:

--help flag is on
when script is executed with no commands ./script/cluster
a command has an incorrect value, like ./script/cluster xxx

New help command display:
% ./scripts/cluster --help
Usage: cluster {consensus} [{command}] [{flags}]
Consensus:
  ibft            Start Supernets test environment locally with ibft consensus
  polybft         Start Supernets test environment locally with polybft consensus
Commands:
  stop            Stop the running environment
  destroy         Destroy the running environment
Flags:
  --docker        Run using Docker (requires docker-compose).
  --help          Display this help information
Examples:
  cluster polybft -- Run the script with the polybft consensus
  cluster polybtt --docker -- Run the script with the polybft consensus using docker
  cluster polybft stop -- Stop the running environment

Changes include

[x] Bugfix (non-breaking change that solves an issue)
[ ] Hotfix (change that solves an urgent issue, and requires immediate attention)
[x] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)

Fixed the conflict. Ready to merge.


colab response to UI input is intermittent at best

As the title states  I am having the problem of connection between the UI and the colab script being unstable and the responses intermittent at best.
Action: Prepare inpaint and press button to render
expected results: the UI displays a loading bar and if I swith to the colab tab it will start rendering within at most half a minute.
received results: UI displays no reaction whatsoever and when switching to colab tab it shows no activity at all.
edit: I am running a clean up to date version of chrome with no script or ad blockers installed, and the latest notebook as of yesterday
secondary issue: colab not displaying as connected to a runtime in spite of being on a paid runtime and it being active (although I'm guessing this is a colab issue not a SD issue).

Give my RunPod notebook a test drive, they are way faster than the colab ones

Give my RunPod notebook a test drive, they are way faster than the colab ones

aren't they very expensive?

actually not, as low as 0.2/h and sometimes faster than the T4

actually not, as low as 0.18$/h and most of the time faster than the T4 https://www.runpod.io/console/gpu-browse

ok. I'll check it out though I am somewhat reticent to learn a whole new enviroment... again

I made the notebooks there as close to the colabs as possible

I made the notebooks there as close to the colabs as possible, this is my template https://www.runpod.io/console/gpu-secure-cloud?template=runpod-stable-unified

Am checking this out now, XD am out of colab credits so i'm curious since i still have runpod credits - Also is there a way to impliment storage in private of models in that? No rush, just curious.

It does offer private storage yes


Example project renders home page on missing routes

Overview
When navigating to missing routes (404) within the example project, the home page (/) is rendered instead.
I've adopted almost the same configuration and service worker script for a personal project.
I've noticed that the service worker even redirects server routes (+server.ts) to /.
Cause
I think that the issue lies within the following lines within the service worker script:
https://github.com/vite-pwa/sveltekit/blob/c6c34992a1cd5cec2bb58ea1ae82273c9308048c/examples/sveltekit-ts/src/prompt-sw.ts#L21-L29
When getting rid of these lines from my personal project, I no longer run into this issue.

Missing routes render the default 404 error page
+server.ts routes behave as expected

Note
I've also run a Lighthouse test to check that the PWA functionality isn't compromised.
When previewing locally, when offline, the service worker performs as expected.

Conclusion
I would appreciate it if some more context could be added as to why these lines are required.
Thank you for your time.

I assume you're talking about dev server: we configure the entry point to avoid caching any resource, you're in dev mode and so the sw will intercept any request, any change made to the UI will not be updated.

Hey, thanks for the quick response!
I noticed that this is meant for development only, but it seems to be affecting production too.

Note
To clarify what I meant about "previewing", I ran pnpm build && pnpm preview and checked the resulting local website.

Maybe it makes sense to run the following code only in development?
+  if (import.meta.env.DEV) {
 // to prevent service worker from intercepting requests in dev mode
 registerRoute(new NavigationRoute(
   createHandlerBoundToURL('/'),
   { allowlist },
 ))
+ }

@kelvindecosta then your app will not work in offline

Thanks for the information!
To be completely clear, the app seems to work when in offline mode, after the above change.
Here's what I've done:

pnpm build && pnpm preview
Visit http://localhost:4173 in incognito mode
Clear cache (including existing service worker registration)
Reload
Enable network throttling Offline mode
Reload

The app seems to be working fine.

Note
I only see the dinosaur for a split second when I Hard Reload or Empty Cache and Hard Reload. It immediately loads the app from the service worker (confirmed in the Headers > General)

Even the +server.ts routes work fine.
By strictly following the example project code, the +error.svelte pages and +server.ts pages never get rendered, and are always redirected to home, by the sw.

I'm having the same issue using generateSW #44. Is there a way to get this working with generateSW?


[VT-129] not finding perl correctly

Eric Hymowitz on 2016-06-03T17:59:55Z says:
Trying to configure VIT.  Exits with error:
checking for task... /usr/local/bin/task
checking for perl... /usr/local/bin/perl
configure: error: can not continue... perl must be installed as /usr/bin/perl
confgiure: hint: try "sudo ln -s /usr/local/bin/perl /usr/bin/perl"
I have already done this.  /usr/bin/perl is a soft link to /usr/local/bin/perl .  However, I presume that because /usr/local/bin is before /usr/bin in my $PATH , it refuses to realize this.  It sees /usr/local/bin/perl in my $PATH and stops.

Migrated metadata:
Created: 2016-06-03T17:59:55Z
Modified: 2017-12-14T03:23:01Z

https://github.com/scottkosty/vit/pull/167 would eliminate this issue, and no longer require the symlink.

1.3 branch is no longer receiving non-security updates.


Switch dapr docker image to multi platform image

In what area(s)?
/area test-and-release
Describe the proposal
Since Docker 19.03, docker has supported multi platform image officially. Therefore, we do not generate the docker image for each platform separately.
https://github.com/docker/buildx

@pruthvidhodda can you please pick this issue?
cc/ @amanbha

Actions CLI doesn't include the latest version of Docker CE.  So it is failing to build multi arch

finally done.


fixes removed django.conf.urls.url import bug in django 4

I was upgrading an app to django 4 and noticed that treewidget was throwing an ImportError - this change fixes that error.

Thx for the fix, prolly gonna do a patch release for it.


{case_clause,{ok,error}} on Pub and -normalize_subscribe_topics/1-fun-0- on sub

Environment

VerneMQ Version: 1.5.0-127-ge130553
OS: ubuntu linux 16.04
Erlang/OTP version (if building from source): erts-<IP_ADDRESS>@OTP 19

Expected behavior
First, worth reminding, we utilize Lua plugin support.
We actually override the topic from /request to /response (as we mimicking http over mqtt).
On publish, we encounter [error] CRASH REPORT Process <0.527.0> with 0 neighbours crashed with reason: no case clause matching {ok,error} in vmq_mqtt_fsm:auth_on_publish/4 line 669 [error] Ranch listener {{172,17,0,2},1883} terminated with reason: {case_clause,{ok,error}}
Which seems to come from core vernemq code, we also receive error on subscribe, we perform nothing except authenticating client on our side. we return parameters unchanged, but, we receive [error] CRASH REPORT Process <0.519.0> with 0 neighbours crashed with reason: no function clause matching vmq_diversity_utils:'-normalize_subscribe_topics/1-fun-0-'({client_id,<<"mosqsub|22522-bountyhun">>}) line 38 [error] Ranch listener {{172,17,0,2},1883} terminated with reason: function_clause
--
We will provide more information. The topic that message should be published to (printed just before the pub table returned in auth_on_publish():
[info] PUB AUTH BEFORE RETURN: v1/ingest/response/device/id
And the topics value for subscribe is (also printed before return on auth_on_subscribe with json.encode(value)):
[info] SUB AUTH BEFORE RETURN: [["v1/ingest/response/device/id",0.0]]
Actual behaviour

We expect everything to work as described in documentation. If we change topic for publish within auth_on_publish() hook, we expect payload being published to a new topic.

During subscription, we expect client to successfully subscribe (no data manipulations done there).

Version 1.6.1:
Subscribe error:
[error] Ranch listener {{172,17,0,2},1883} terminated with reason: no function clause matching vmq_diversity_utils:'-normalize_subscribe_topics/1-fun-0-'({client_id,<<"mosqsub|25322-bountyhun">>}) line 38```

Publish error:
```[error] CRASH REPORT Process <0.489.0> with 0 neighbours crashed with reason: no case clause matching {ok,error} in vmq_mqtt_fsm:auth_on_publish/4 line 669
[error] Ranch listener {{172,17,0,2},1883} terminated with reason: no case clause matching {ok,error} in vmq_mqtt_fsm:auth_on_publish/4 line 669```

Full list of value on publish (just before return on auth):
{"client_id":"xbugsterasd111","mountpoint":"","payload":"{\"id\":\"any_request_id123312\",\"status\":404.0}","qos":0.0,"retain":false,"topic":"v1/ingest/response/device/id","username":"otoken=ftvIO9cDUhSkYCeomKdxkA7ggv6lmIQE"}
Full list of values for subscribe:
{"client_id":"mosqsub|26171-bountyhun","mountpoint":"","topics":[["v1/ingest/response/device/id",0.0]],"username":"otoken=ftvIO9cDUhSkYCeomKdxkA7ggv6lmIQE"}

It looks like the modifiers you've provided as part of your hook return value aren't correct.
But, it's a bug that vmq_diversity returns {ok, error} in this case (modifier validation failed), we should return an {error, Reason} instead.

Thank You. It seems, we changed 2 values during publish (the payload and topic), now it tries to access auth_on_publish/4 rather than /6. o.O method doesn't exist ? perhaps...
seems to be the same with subscribe, as we played with topic, but not changed it.

Can you provide the lua script snippet with the return values that cause this?

function my_auth_on_publish(pub)
    -- following call returns modified message content as json string
    pub.payload = process_message(pub.topic, pub.payload)
    pub.topic = string.gsub(pub.topic, '/request/', '/response/')
    return pub
end

and subscribe is:
function my_auth_on_subscribe(sub)
    -- following is internal ACL which parses topic, but not changes it. (splits topic by "/")
    -- we do not support multiple topics subscribe
    if(false == on_auth_init(msg_directions['subscribe'], sub.username, sub.topics[1][1])) then
        return false
    end

    return sub
end

OK, that won't work as only specific things can be modified. In for example the subscribe case you're also passing back the username which is not a legal modifier.

This means i have to structure new return object which drops off unnecessary items ?

yes, here's an example from our test-suites: https://github.com/vernemq/vernemq/blob/master/apps/vmq_diversity/test/plugin_test.lua#L70

Cool! Thank you. just wanted to ask you to describe the structures expected to be returned by auth_on_*
I will try it soon and update the ticket on the outcome.


PI-996 move Guzzle to require-dev in composer.json

I did not change the guzzle version to 5.x. That is a big change regardless. Currently Guzzle 3.x works as expected. If we have any issues with it we can upgrade it.

We can revert to the APIClient that was being used with 5.x right?

@thellimist

We can revert to the APIClient that was being used with 5.x right?
Yes. There are multiple PR's with multiple commits. The order is important. I think we should test it after doing the reverts. Wanted to avoid deep testing the plugin.

+1 to thoroughly test the 5.x reversion.


Bump Up : User profile bump ups

JIRA link (if applicable)
RDCC-1399
Change description
Bump Ups:

[x] hmcts.java' version '0.11.0'
[x] springframework.boot' version '2.3.3.RELEASE'
[x] feign-httpclient', version: '11.0'
[x] idam-client', version: '1.5.5'
[x] nimbus-jose-jwt', version: '8.20'
[x] javax.el-api', version: '3.0.0'
[x] okhttp', version: '4.8.1'

Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ X] No

AKS Deployment is consistently failing , hence closing this request and reopen the another one


Unable to load F5 menu

I have added my steam ID to the admin list (verified it was the correct one from another discussion here), but I cannot seem to get F5 to do anything. I can do so in single player, but not on the dedicated server I am running. I've tried the ADMINLIST_IDS argument as well, no dice. Is SERVER_ARGS needed to pass the -console that is set when running the game from steam? Unsure how to proceed.
Originally posted by @mixm1xmix in https://github.com/lloesche/valheim-server-docker/discussions/331

any idea where I'd even start to troubleshoot this?

I started with Google "valheim admin console not working" and literally the first hit told me what to do

I'm updating the README with the info.

Same for me, done everything is stated in readmes and still no console available in dedicated server. On local works fine.

No idea, but it is nothing that the container is doing. I'm running my local vanilla client with -console and no modifications or extra arguments on the server and when connected to the server the console opens normal pressing F5

Also adding the ID to adminlist.txt has no effect on whether your client opens a console or not. I can open a console on any server. If your ID isn't added to adminlist.txt you just can't use admin commands like kick and ban. But the console will always open, independent of the server settings.

Thanks for clarifying. No idea why this is happening, F5 seems to otherwise respond fine across all applications (and indeed single player).

Hi,
for information, adding -console in steam launcher (properties) solve the issue for me


add quality article

lang & book choice, What to use when learning a programming language and how solve problems (very extensively and accurately)

Scanning the polish list, I see several items that aren't books, like this one (I'd put it in a "tutorial list"). It looks like a good one.
So

To make it easier if the list grows to the point where spitting the list into books, courses, tutorials, etc. could you add (tutorial) or the polish equivalent as an annotation?
lists need to be in alphabetical order.
Shouldn't we link to the original article, http://gynvael.coldwind.pl/?id=238 ?

Sure.
Sorry i again forget about it, fixed
for me it makes no difference if mirror have original source


[common] Improve implementation of offset backing store

Simplified the offset backing store

Thanks for your contribution! Before this PR could be merged, could you please rebase it with latest master branch?


Removed timeslot and timerange model

We do not need these 2 models as there is neither any defined time for any item and we will potentially use google calendars to track bookings.
Resolves #3

Could I check if the description is intended to be "Resolves #12" and not "Resolves #3"?

Could I check if the description is intended to be "Resolves #12" and not "Resolves #3"?

Thanks Christian!

So, there will be flexible timings, e.g. start from 15:27?

So, there will be flexible timings, e.g. start from 15:27?
Then, we just have two variables to track start time and end time?

While we can have flexible timings, we will probably not allow a smaller time unit than half an hour. But yes should only need two variables to keep track.


[Discv5] NODES responses not getting processed

When the NODES response gets split up into multiple packets, only the nodes in the first packet gets added to the receiving node's k-bucket. The nodes in the subsequent packets don't get processed.

Nice catch. This is corrected here: 81eb874d62430da2af01dcd470f2b5803e29453b


Initial submission of plugin

This is a Sketchup plugin that will upload a model to Cesium ion
You'll need to install SketchUp Pro and start your free trial (unless you have a license) here https://www.sketchup.com/download/all

Log out of ion so you can test the OAuth completely
Run build script to create the .rbz file
In Sketchup click Window->Extension Manager->Install Extension and select the rbz file.
You should now see and Extensions menu with an Export to Cesium ion entry.

If you click that it will export to your ion account. The first time it will go through the whole OAuth process. After that it will reuse the token unless you delete ~/.sketchup_cesium_ion.

How do we get our logo to show up?

That is part of the extension warehouse upload

Perhaps the name should just be Cesium ion? (Just like how Trimble is Trimble Connect).

Yes, now that we will have a submenu

How does a user sign-out of their account? Should we have a single top-level Cesium ion menu and a Publish, Sign out sub-menu?

Sounds good

Should we have a toolbar as well? I was playing around with other extensions and this is the approach they took.

Yes, but maybe push this one, unless we have icons ready now.

I think you already told me no, but is there a way to distringuish between "Failed to export" and "Export cancelled by user"?

Yes I can do that.

Since we're exporting to disk anyway, should we create a zipfile and upload that instead of each model individually?

Haven't tested id yet, but it appears trivial.

@mramato I think that is everything. The flow is a bit smoother. One annoying thing with sketchup is that you'll need to uninstall the plugin, restart Sketchup and install the new version or else the menu items won't be updated.

This all looks pretty awesome @tfili, I think that was the last comment I had.  Bump when ready and I'll merge and we can handle any tweaks in follow-up PRs.

@mramato I think its good now. I moved the export to after the dialog prompt.

Also can we add a "Help" button

If this proves difficult, we can also simple add help/hover text to the various checkboxes, for instance
title="WebP images are typically 25-34% smaller than equivalent JPEG images which leads to faster streaming and reduced data usage. 3D Tiles produced with this option require CesiumJS 1.54 or newer and a browser that supports WebP, such as Chrome or Firefox 65 and newer." to the WebP div.

Awesome, we'll handle any other tweaks in follow up PRs


How to disable apiserver-kicker?  (And why shouldn't I?)

Frequently after I reboot my single-node cluster, a few minutes after kubernetes appears to be settled and working properly, the apiserver-kicker decides to kill the kubelet, and then the pods which were happily doing useful work get unceremoniously killed with SandboxChanged.
So right now, I'd just like to turn off the apiserver-kicker permanently.  What's the right way to do that?  Is it just sudo systemctl disable snap.microk8s.daemon-apiserver-kicker.service?  I'm also open to feedback as to why I would actually want to leave that thing on.

Hi @robotrapta
The behavior that most probably causes the cluster restart is a network change. When MicroK8s on a single detects a network change (eg an IP change, a new network interface etc) the apiserver-kicker will trigger a reconfiguration of the cluster that results in services restart. The use case we want to accommodate with this behavior is for example a laptop moving from network to network or a workstation gets a new IP from DHCP after a reboot. If you are certain you do not need MicroK8s to follow network changes add the --advertise-address <IP_ADDRESS> option to /var/snap/microk8s/current/args/kube-apiserver and restart one last time MicroK8s with microk8s stop; microk8s start.

Thanks for the pointer.  Yeah, the log says it detected a network change - probably the VPN connecting.  But no kubernetes traffic uses that VPN, so I'd really like it to ignore that.
So if I specify the apiserver address explicitly, then the apiserver-kicker won't restart the kubelet on network changes?

https://github.com/canonical/microk8s/issues/1943
This issue was discussed here as well.  The API kicker is an indiscriminate tool, it makes the assumption that only microk8s depends on the hosts interface, this is incorrect.  Again, I suggest that the maintainers look at the ticket above.  The kicker should only run when addresses that microk8s is directly using, not when any interface has changed.  I am about to open another ticket on this issue.  When using a VM and the other end of the veth pair is a bridge, the kicker fires continously.

I'm new to Ubuntu Core and microk8s and really struggled with this over the past week, nearly to the point of bailing out of both.  I installed Ubuntu Core 22 on an Intel NUC w/ a static IPv4 via ethernet, "disabled" IPv6, and left WiFi unconfigured.
My pods kept randomly restarting.  Even though I saw new network interfaces showing up via networkctl, it took me a long time to find this issue and figure out that apiserver-kicker was the problem.  I still don't know what "network changes" it was detecting...
Adding --advertise-address <IP_ADDRESS> to the top of /var/snap/microk8s/current/args/kube-apiserver and restarting fixed it, so thanks for that tip!
That might be a good thing to add to Getting started with MicroK8s on Ubuntu Core or Microk8s Troubleshooting.  If my vanilla networking setup triggered this, I'm sure others will encounter it.


Mqtt to rest

Merging REST support for SS-Agent communication
This should not break anything since MQTT support is still there

Awesome thanks @Dilshat !


Add clarification on Azure load balancer default distribution mode

In traditional load balancer, the traffic is load balanced in a round-robin method by default to ensure even distribution.
This is not the case for Azure load balancer which is hash-based where it would try its best to distribute the traffic evenly toward all backend pool instances given the traffic coming from the same client IP but different ports.
The best practice for even distribution is to increase the randomness of the source/client port selection or increase the number of backend pool members and to be an odd number.
(There is an internal wiki + IcM explaining this. Feel free to ping me in Teams if needed)
Suggest adding a pink note under "Hash based" session to clarify the "even" distribution.

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

ID: 88b0b498-76a1-98e3-56b0-b3fd0b3b1268
Version Independent ID: df3b97d6-8732-d05d-dd05-5a4c613477e1
Content: Azure Load Balancer distribution modes
Content Source: articles/load-balancer/distribution-mode-concepts.md
Service: load-balancer
GitHub Login: @mbender-ms
Microsoft Alias: mbender

@danielchiu-MSFT
Thanks for your feedback! We will investigate and update as appropriate.

@danielchiu-MSFT
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.
@mbender-ms
Can you please check and add your comments on this doc update request as applicable.

Hi @danielchiu-MSFT, will reach out to you offline.
#please-close


ocamlPackages.csv: 2.2 -> 2.4

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/ocaml4.07.1-csv/versions.
meta.description for ocamlPackages.csv is: '"A pure OCaml library to read and write CSV files"'.
meta.homepage for ocamlPackages.csv is: '"https://github.com/Chris00/ocaml-csv"
Compare changes on GitHub

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.4 with grep in /nix/store/wlx5za85937ybldbm1qrcksnrfvy1l87-ocaml4.07.1-csv-2.4

directory tree listing: https://gist.github.com/7fdddd254c1a19542599a1345a7d06e8

du listing: https://gist.github.com/a7302cd52284917a298b55d5e0dc03fa

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

3 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
virt-top

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/wlx5za85937ybldbm1qrcksnrfvy1l87-ocaml4.07.1-csv-2.4 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A ocamlPackages.csv https://github.com/r-ryantm/nixpkgs/archive/1b698067ddc7a27a19e239b269a9f51dcbb0afef.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/wlx5za85937ybldbm1qrcksnrfvy1l87-ocaml4.07.1-csv-2.4
ls -la /nix/store/wlx5za85937ybldbm1qrcksnrfvy1l87-ocaml4.07.1-csv-2.4/bin

cc @vbgl for testing.

Builds for me.


Publish on NPM

It would be nice to have an officially published package on npm. Why npm, if pixi is not made for node, you might ask? If you use a loader like browserify you can then require('pixi') to load pixi in your client side scripts.
Right now the pixi package is unfortunately occupied by an outdated fork, but it would be also possible to publish it to pixi.js

We already have an official package that I maintain:
https://www.npmjs.com/package/pixi.js
Is this not what you were looking for?

Oh, weird, I failed to find this! Thanks. (But maybe it would be a good idea to contact the guy who owns the pixi package. Since he's not actively maintaining it, he might be willing to hand over the name)

Well, we wouldn't switch over because we would lose people who have been using this package, and we don't want to take up 2 names on npm.


Kubelite keeps restart with "key failed with : missing content for serving cert"

Summary

Pods periodically restart with Status Unknown → Running → Unknown. Kubelte Events says Pod SandBox changed, will recreate it. What I saw is that from the ps command output,  kubelite crashes again and again.
Below are some journalctl -f -u snap.microk8s.daemon-kubelite.service logs:
Nov 09 18:31:12 nuc microk8s.daemon-kubelite[1529577]: E1109 18:31:12.884589 1529577 dynamic_serving_content.go:218] key failed with : missing content for serving cert "serving-cert::/var/snap/microk8s/6102/certs/server.crt::/var/snap/microk8s/6102/certs/server.key"
Nov 09 18:31:12 nuc microk8s.daemon-kubelite[1529577]: E1109 18:31:12.891749 1529577 dynamic_serving_content.go:218] key failed with : missing content for serving cert "aggregator-proxy-cert::/var/snap/microk8s/6102/certs/front-proxy-client.crt::/var/snap/microk8s/6102/certs/front-proxy-client.key"
Nov 09 18:31:13 nuc microk8s.daemon-kubelite[1529577]: I1109 18:31:13.255597 1529577 daemon.go:59] Stopping Kubelet
Nov 09 18:31:13 nuc microk8s.daemon-kubelite[1529577]: Stopping kubelite
Nov 09 18:31:13 nuc microk8s.daemon-kubelite[1529577]: I1109 18:31:13.255629 1529577 server.go:224] "Requested to terminate, exiting"
Nov 09 18:31:13 nuc systemd[1]: Stopping Service for snap application microk8s.daemon-kubelite...
Nov 09 18:31:13 nuc systemd[1]: snap.microk8s.daemon-kubelite.service: Deactivated successfully.
Nov 09 18:31:13 nuc systemd[1]: Stopped Service for snap application microk8s.daemon-kubelite.
Nov 09 18:31:13 nuc systemd[1]: snap.microk8s.daemon-kubelite.service: Consumed 7.217s CPU time.

Nov 09 18:31:16 nuc systemd[1]: Started Service for snap application microk8s.daemon-kubelite.
Nov 09 18:31:16 nuc microk8s.daemon-kubelite[1535374]: + export PATH=/snap/microk8s/6102/usr/sbin:/snap/microk8s/6102/usr/bin:/snap/microk8s/6102/sbin:/snap/microk8s/6102/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

If I cat those certs files, they do have contents.
I'm not pretty sure if this is the reason why kubelite keeps crashing and the Pods get Status Unknown.
What Should Happen Instead?

kubelite shouldn't crash.
Reproduction Steps

No precise way to reproduce.
Introspection Report

inspection-report-20231109_181304.tar.gz
Can you suggest a fix?

Are you interested in contributing with a fix?

yes.

Hi @movsb
I see the following line constantly appearing in the logs of the apiservice-kicker, which then restarts the Kubernetes services to get the new certificates (the error you experience happens while the certificates are being refreshed).
This typically happens when the networking configuration of the host is fluctuating. If there is nothing you can think about, can you check whether the following fixes your issues?
sudo touch /var/snap/microk8s/current/var/lock/no-cert-reissue

This would prevent MicroK8s from constantly refreshing the certificates, therefore avoid constantly restarting the K8s services.

@neoaggelos  Many many thanks! After two days of observation, microk8s never crashes again.
When you said that the networking configuration of my host is fluctuating, may I know what is that? Something like IP changing, or interface up and down?
And, what's the impact of no-cert-reissue?

Hi @movsb
Indeed, that could be an IP address that changes on the host. Hard to tell without more information.
MicroK8s watches for these changes to refresh the kube-apiserver certificates so that they include all IP addresses from the host. no-cert-reissue is a lock file that prevents MicroK8s from doing that.

Hi @neoaggelos ,
I found that almost all my interfaces' IP addresses (even those from Docker containers) are listed under [ alt_names ] of file certs/csr.conf. So if any one of them changed, produce_certs() will re-generate certs and then kick-restart kube-apiserver, right?
As a single-node cluster, should I just make the --bind-address option for kube-apiserver configured to stop the kicker from re-generating certs?

Hi @movsb, sorry for missing this.

As a single-node cluster, should I just make the --bind-address option for kube-apiserver configured to stop the kicker from re-generating certs?

This might become problematic if the node changes its IP address (e.g. DHCP gives out a different one after rebooting). The easiest way approach would be to create the no-cert-reissue lockfile:
sudo touch /var/snap/microk8s/current/var/lock/no-cert-reissue

@neoaggelos It's ok, no worry.

DHCP gives out a different one after rebooting

It'll be OK since this is a crucial node that I've already bound its MAC with a static IP address on my router DHCP.
I just wanted to let you know that I'm going to close this issue as solved. BTW, I didn't find this solution at https://microk8s.io/docs/troubleshooting.  😊


Database issues

in advance sorry for my english...
LWC Version (/lwc admin version): ModernLWC-2.1.1-46e9fa0
Server version (/version): Paper version git-Paper-409 (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT)
Short five word summary of issue: When loading an error related to the database appears
Detailed description of problem:
I noticed that no error appear when I start the server with a blank database.
But with the old one ive got a few
(this db has traveled a lot of older versions of the plugin)
If there was an error in console, put it here:
[LWC] Enabling LWC v2.1.1-46e9fa0
[LWC] Connecting to SQLite
[LWC] Performing database optimization for 1.13...
java.lang.IllegalArgumentException: Name cannot be null
	at org.apache.commons.lang.Validate.notNull(Validate.java:192)
	at org.bukkit.Material.matchMaterial(Material.java:2824)
	at org.bukkit.Material.matchMaterial(Material.java:2809)
	at com.griefcraft.cache.BlockCache.addBlock(BlockCache.java:168)
	at com.griefcraft.sql.PhysDB.doUpdateModernLWC(PhysDB.java:2192)
	at com.griefcraft.sql.PhysDB.load(PhysDB.java:414)
	at com.griefcraft.lwc.LWC.load(LWC.java:1685)
	at com.griefcraft.lwc.LWCPlugin.onEnable(LWCPlugin.java:282)
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:325)
	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)
	at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugin(CraftServer.java:438)
	at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugins(CraftServer.java:352)
	at net.minecraft.server.v1_13_R2.DedicatedServer.init(DedicatedServer.java:236)
	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:791)
	at java.lang.Thread.run(Thread.java:748)

@ZombieZone69 What versions of LWC has this database gone through? Doesn't need to be exact, but it would help to know. The database migration is designed to work if you are upgrading a database that matches the format used by LWC 1.9.4 or 2.0.7.  You can find more information about the database migration here.
It might also help if you can provide a screenshot of what the protections table of your database looks like. Not the entire table, but if there are any segments where name is null (as implied by the error), please show the entire section of the table around that row.

Thank's for the fast answer.
I don't really remember versions that i've used, but i think all of them between 1.9.4 and 2.1.1.
For the migration process I also tried everything your link shows and nothing change.
Here is an example of the database, I do not know if it will be enough for you to understand, that's why I add a WeTransfer link to download db if necessary.
https://we.tl/t-EbTFOTryC1

@pop4959 Thank you, I will wait for your solution but I remain available if needed ;)

@ZombieZone69 Can you try development build 68? It should fix the issues you are having.

@pop4959 Yep, I confirm the problem has been fixed with the build 68. Thanks a lot for your hardwork, and I hope that will continue ;)


Add office IRM Connector

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[X] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
If updating an existing version, please select the specific langauge SDKs and CLIs that must be refreshed after the swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No refresh required for updates in this PR

Contribution checklist:

[X] I commit to follow the Breaking Change Policy of "no breaking changes"
[X] I have reviewed the documentation for the workflow.
[X] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[X] Check this box if any of the following apply to the PR so that label “WaitForARMFeedback” will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits.

[X] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[X] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in a stable version
[ ] Removing properties in a stable version
[ ] Removing API version(s) in a stable version
[ ] Updating API in a stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

Hi @pilor, please follow https://github.com/Azure/azure-rest-api-specs/pull/16764#issuecomment-968726098 to fix failed CI:
https://github.com/Azure/azure-rest-api-specs/pull/16764/checks?check_run_id=4210004904

Hi @pilor, please follow #16764 (comment) to fix failed CI: https://github.com/Azure/azure-rest-api-specs/pull/16764/checks?check_run_id=4210004904

@omerhaimov is the PR author

Hi @omerhaimov If you don't know how to fix it, please ask help from : https://github.com/Azure/azure-rest-api-specs/pull/16764#issuecomment-968726098

approve Go breaking change for track1 by @ArcturusZhang .

Python failure will be fixed before merge to main


Automates running unit tests and json schema suite tests

Automates running unit and json schema test suite tests.  Provides a few targets:
- jsonsuite: runs against the json schema test suite (requires the jq tool)
- unittests: compiles and runs all unit tests
- alltests: both jsonsuite and unittests

Apologies, the makefiles are a bit of a mess.
This should close https://github.com/katef/jvst/issues/45

Updated PR cleans up the dependencies, adds custom tests (tests/jvst/custom/*), and separates the targets more cleanly:

unittests: build and run unit tests
jsonsuite: build jvst, convert JSON schema tests, run JSON schema tests on jvst
customsuite: build jvst, run custom jvst tests
allsuites: jsonsuite and customsuite
alltests: allsuites and unittests


Refactor resource manager module

Slot file content is a single line in format of "prid@timestamp".
Empty slot file means slot is free.

While performing any operations against a slot which requires
locking the slot first, there are two ssh sessions opened to
remote host, one is for keeping the lock on that slot, the other
one is for running arbitrary commands, we only use it to run
commands to read and write the slot in public APIs.
There are two files exist on host for each slot:
[1] /path/to/slots/dir/slot_{id}: the slot file, contains data
of lock info
[2] /path/to/slots/dir/slot_{id}.lock: lock file of slot, before
writing to a slot, the lock should be acquired first

The RemostHost and RemoteHostsPool classes are the main classes
that provide the public APIs.
Example usages:
host = RemoteHost(
    hostname="remote-host-1", username="user",
    ssh_keyfile="/path/to/key", slots=3
)

# check host is operational
operational = host.is_operational

# check a slot on host is in free state
host.is_free(2)

# lock a slot on host for a pipelinerun
host.lock(2, "pipelinerun-123")

# unlock a slot on host owned by a pipelinerun
host.unlock(2, "pipelinerun-123")

pool = RemoteHostsPool(hosts=[host1, ...])

# lock a slot from hosts in the pool, an available
# free slot will be picked and locked
pool.lock_resource("pipelinerun-123")

CLOUDBLD-8553

Signed-off-by: Qixiang Wan<EMAIL_ADDRESS>Maintainers will complete the following section

[x] Commit messages are descriptive enough
[ ] Code coverage from testing does not decrease and new code is covered
[ ] JSON/YAML configuration changes are updated in the relevant schema
[ ] Changes to metadata also update the documentation for the metadata
[ ] Pull request has a link to an osbs-docs PR for user documentation updates
[ ] New feature can be disabled from a configuration file

PR is updated, I hope all comments have been addressed except the one performance concern about using _data to read slot content, I'll try to find a better solution if possible but won't be part of this PR.


Grafana syntax errors

I manually imported and here are the errors I get:
Under Charging:
pq: syntax error at or near "ORDER"
It seems the $charging_process_id is hardcoded to a value of 28?
Under Consumption:
pq: syntax error at or near "AND"
It seems the $trip_id is hardcoded to value 459?
Not sure what the hardcoded values are supposed to represent, or if I imported wrong somehow

This is because the dashboards you're looking at are meant to be launched from a click in the trips dashboard. Click on a trip and you'll see.

I did the wizzy import and have the same errors.

I created a separate folder in Grafana called "Secondary Dashboards" and moved both Consumption and Charging into them since neither of those dashboards are standalone and are meant to only be accessed from other dashboards.

It's built that way because some users have more than one car connected to their account. It wouldn't make sense to mix data of multiple cars in those dashboards.

Ok this makes sense.  Thanks for the clarification!


⚠ Bofrost.at has degraded performance

In 0114a72, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1304 ms

Resolved: Bofrost.at performance has improved in feef0c1 after 21 minutes.


Implement Eternatus VMAX

This is similar in spirit to #903 but with some additional changes to address some of the issues @flagrama encountered during testing.
There are now benchTrigger checks that occur DEVOLVE and EVOLVE.
Thank you for the help flagrama with Git... but I'm ashamed to say I've lost the battle against the git merge conflicts

Weird timing issue I think. I use Super Scoop Up to pick up my Eternatus VMAX on the bench, then the bench discard selection lets me choose that same Eternatus VMAX, which causes a game error.
game log trace: https://gist.github.com/flagrama/43dbae5134ad7f21b6eef5afbe242ceb

I'm able to reproduce this now and I'll keep trying to look for a fix.  The other issues you brought up should be resolved now though

Evosoda and Rare Candy from Sandstorm are able to evolve a D-type (most Sneasels) to a non-D-type (CEC Weavile). I don't think this should be permitted, though I'm not certain.

Should verify somehow that that PR is the correct behaviour before merging.


Update manage-feedback-policies-in-teams.md

This is to update with current feature rollout happening now.

@MikePlumleyMSFT
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Versioning of XkOps

Description
Research and propose a system for versioning of XkOps.
Do you want to be assigned to work on this?
(mark [x])

[x] YES
[ ] NO

Optional: Any additional info you want to add
...

Here is the document.


upload speed test outputs error

speedtest-cli
Retrieving speedtest.net configuration...
Testing from Bezeq (--.--.--.--)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Partner (Rosh HaAyin) [8.04 km]: 118.21 ms
Testing download speed................................................................................
Download: 9.04 Mbit/s
Testing upload speedTraceback (most recent call last):
File "/usr/bin/speedtest-cli", line 11, in
load_entry_point('speedtest-cli==1.0.0', 'console_scripts', 'speedtest-cli')()
File "/usr/lib/python2.7/dist-packages/speedtest.py", line 1494, in main
shell()
File "/usr/lib/python2.7/dist-packages/speedtest.py", line 1466, in shell
speedtest.upload(callback=callback, pre_allocate=args.pre_allocate)
File "/usr/lib/python2.7/dist-packages/speedtest.py", line 1151, in upload
data.pre_allocate()
File "/usr/lib/python2.7/dist-packages/speedtest.py", line 551, in pre_allocate
(chars * multiplier)[0:int(self.length) - 9]
MemoryError

The machine you are running from has insufficient memory, please read the README, man page, or use -h.
--no-pre-allocate

its a raspberry pi. thank you for your help 💯


Fixed some linting errors.

Please check.  Some of the spinner stuff I didn't understand and asked about in the issue.

This mostly belong to the past now.


Inserting large unsigned bigint in MySQL returns "Out of range value" error

Bug Description
Inserting unsigned integer larger than i64::MAX into a BIGINT UNSIGNED column returns "Out of range value" error.
Err(Database(MySqlDatabaseError { code: Some("22003"), number: 1264, message: "target: sigmo.-.primary: vttablet: rpc error: code = FailedPrecondition desc = Out of range value for column 'id' at row 1...

I'm using PlanetScale DB. Typing the query directly in the console worked.
Minimal Reproduction
CREATE TABLE hash_map (
    id BIGINT UNSIGNED,
    value TEXT
);

INSERT INTO hash_map (id, value)
VALUES<PHONE_NUMBER>4144683550, "Dog");

Info

SQLx version: 0.7.3
SQLx features enabled: "chrono", "json", "macros", "mysql", "tls-native-tls", "runtime-tokio"
Database server and version: PlanetScale (MySQL)
Operating system: M2 Mac
rustc --version: 1.74.0

I'm not sure how this is a SQLx bug, honestly. You're using an integer literal, not a bind parameter, correct? SQLx sends the query string verbatim and doesn't set any sql_mode flags that would change the evaluation here. It sounds like maybe you've got strict mode enabled in your application.


added note about elevation

#2015
#2203

Docs Build status updates of commit 6f68b07:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012r2-ps/addsadministration/Install-ADServiceAccount.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 2c0f616:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012r2-ps/addsadministration/Install-ADServiceAccount.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Hello @jborsecnik ,
could you please also merge #2203?
it is the same but for WS2016.
Thank you!

Hi. Please add the “Sign off” label so the PR reviewers know it’s ready (and any comment to explain, if anything is unusual).
Thanks.
From: MaratMussabekov<EMAIL_ADDRESS>Sent: Thursday, November 19, 2020 8:41 AM
To: MicrosoftDocs/windows-powershell-docs<EMAIL_ADDRESS>Cc: Jeff Borsecnik (Aquent LLC<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/windows-powershell-docs] added note about elevation (#2211)
Hello @jborsecnikhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjborsecnik&data=04|01|v-jeffbo%40microsoft.com|b54b2ef82fd04c5130c008d88ca9ef18|72f988bf86f141af91ab2d7cd011db47|1|0|637414008780665142|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=BRU9evCoCppxaGp64mkI0S5kzlrT4Ql7u3rfz2eGOJA%3D&reserved=0 ,
could you please also merge #2203https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindows-powershell-docs%2Fpull%2F2203&data=04|01|v-jeffbo%40microsoft.com|b54b2ef82fd04c5130c008d88ca9ef18|72f988bf86f141af91ab2d7cd011db47|1|0|637414008780675107|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=RHnaDVivF0WyEjFC02IFihR9LPpTZ7ucQzB9uM3dMg0%3D&reserved=0?
it is the same but for WS2016.
Thank you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindows-powershell-docs%2Fpull%2F2211%23issuecomment-730496205&data=04|01|v-jeffbo%40microsoft.com|b54b2ef82fd04c5130c008d88ca9ef18|72f988bf86f141af91ab2d7cd011db47|1|0|637414008780675107|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=ANiNaK1stmrNXEcInOsUbVS7VE0fnwrlkaZ7bWBa5fc%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIW2RCMJJ4SFX6H2TRZCPODSQVDCXANCNFSM4TXGY3UQ&data=04|01|v-jeffbo%40microsoft.com|b54b2ef82fd04c5130c008d88ca9ef18|72f988bf86f141af91ab2d7cd011db47|1|0|637414008780685057|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=CWpKUYKVCM%2FmzyMQv8l9gD1luiPS3AEcNvCJeNZ7qGg%3D&reserved=0.


Fix row/array/map type rendering

Fixes #2561

Does this need to be fixed for MapType too?

@electrum It seems so. Should I open a new PR for that or just update this?

I would just update this one

OK, updated the PR to fix the map type rendering too.

@cberner thanks, updated.

@nezihyigitbasi the SQL standard defines a format for row types (https://mariadb.com/kb/en/sql-99/row-data-types/). So we should probably stick to that, at least for now

Merged. Thanks!


port changes to the way test resources are synced

Changelog
Port of #865.

Changes related to syncing the test resources (PR #865):

Add .info.test_resources to _viash.yaml to specify where test resources need to be synced from.
download/sync_test_resources: Use .info.test_resources in _viash.yaml to detect where test resources need to be synced from.
Update CI to use project/sync-and-cache instead of project/sync-and-cache-s3.

Issue ticket number and link
Closes #xxxx (Replace xxxx with the GitHub issue number)
Checklist before requesting a review

[ ] I have performed a self-review of my code

[ ] Conforms to the Contributor's guide

Check the correct box. Does this PR contain:

[ ] Breaking changes
[ ] New functionality
[ ] Major changes
[x] Minor changes
[ ] Documentation
[ ] Bug fixes

[ ] Proposed changes are described in the CHANGELOG.md

[ ] CI tests succeed!

I wonder why all of the components are listed twice


Order CRD cleanup by iot,tenant-api and the rest

Type of change

Bugfix

Description
Order the CRD deletion so that the iot is cleanup before addresses/addressspaces/users, and addresses/addressspaces/users are cleaned up before the infrastructure.
This ensures that finalizers will be run correctly.
Checklist

[ ] Update/write design documentation in ./documentation/design
[ ] Write tests and make sure they pass
[x] Update documentation
[ ] Check RBAC rights for Kubernetes / OpenShift roles
[ ] Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
[ ] Reference relevant issue(s) and close them after merging
[ ] Update CHANGELOG.md

@enmasse-ci run tests profile=upgrade upgrade_from=0.28.3,0.29.2,0.30.2

@lulf do we need do similiar changes in OLM install/uninstall ?

@kornys OLM uninstall is managed by OpenShift, so we should not delete things manually in that case I think.

@lulf ok thanks

:x: Test Summary :x:
TEST_PROFILE: upgrade
TEST_CASE:
TOTAL: 6
PASS: 4
FAIL: 2
SKIP: 0
:heavy_exclamation_mark: Test Failures :heavy_exclamation_mark:

testUpgradeBundle-0.28.3 in io.enmasse.systemtest.isolated.upgrade.UpgradeTest
testUpgradeAnsible-0.28.3 in io.enmasse.systemtest.isolated.upgrade.UpgradeTest

Failing test was my bad, 0.28.3 should be 0.28.4 to avoid unavailable keycloak image.


fix: add light mode color to toast text

Signed-off-by: Sonia Sandler<EMAIL_ADDRESS>What does this PR do?
Adds light-mode compatible color from the color registry to some of the toast text
Screenshot / video of UI

What issues does this PR fix or reference?
Fixes https://github.com/podman-desktop/podman-desktop/issues/9779
Fixes https://github.com/podman-desktop/podman-desktop/issues/9869

How to test this PR?
Create a Kubernetes provider or start a Podman Machine (or anything else that creates a task with a visible toast) and assert that all the toast's text is visible in light mode

[ ] Tests are covering the bug fix or the new feature

thanks for fixing this issue


aur-view: no output with custom AUR_PAGER and stdin

AUR_PAGER=nnn or AUR_PAGER=ranger work fine when aur-view is called with command-line arguments, but not - (stdin). The ranger error is:
Error: Must run ranger from terminal

It seems only vifm can handle the case where standard input is redirected from a file.

ranger: https://github.com/ranger/ranger/issues/9#issuecomment-221670714
nnn: https://github.com/jarun/nnn/issues/183


Middleware should only check POST requests

Re-directed from here
One issue that I just found while testing is that when you do a GET request and the alexa-verifier-middleware is enabled with strict header checking, it gives me a 401 error, which shouldn't happen at all.
One possible fix is that the alexa-verifier-middleware should check what request method is being sent and if it is a POST request, then process the request accordingly. Here is a way to access the request's method from expressjs.

@tejashah88 I think this supposed to be an issue for alexa-app

Closed via https://github.com/alexa-js/alexa-app/pull/145.


Lambda networks for state forecast

Can the lambda networks be applied to the state forecast task? such as weather nowcasting.

@bugsuse i don't see why not https://www.youtube.com/watch?v=lmAj0SU_bW0

@lucidrains  I would like to apply the lambda networks to the state forecast task. Thanks a lot!


Scientific research content

Perform the following tasks for the Scientific researchs page:

[x] Review for content design principles
[x] Get final accuracy approval from Christina/Alex
[x] Airtable fields confirmed
Title
Slug
Menu
Page description (short text that appears in bookmarks and social media page shares)
Body content

Content moved into Airtable with all required info.

Christina has reopened this by proposing further content changes.

Second review completed and updated info loaded into Airtable.


Wrong size when rotate device

It's now fix on the last version:
implementation 'com.mikhaellopez:ratebottomsheet:1.1.0'


Update README.md

The README shows the old link, which is confusing

@all-contributors
please add @ThomUK for review
please add @ChrisBeeley for bug

@all-contributors please add @ChrisBeeley for bug


add args for specifying index name and meta_index_name

specifying index and meta_index name in the JSON config so you can
build an index that doesn't name match to mongo database. Useful for
building an index on the side before changing the alias for the
application
config params example:
"docManagers": [
{
"docManager": "elastic2_doc_manager",
"targetURL": "localhost:9200",
"args": {
"meta_index_name": "name of meta index name",
"index": "my new index"
}
}
]

Hello, sorry for the delay in getting back to you!
Can this be done by using https://github.com/mongodb-labs/mongo-connector/wiki/Configuration-Options#namespacesmapping ?

I believe the namespace mapping setting is for doing things like mongo collection 'users' maps to ES Type 'members' or something. This doesn't allow you specify a different index name.
In fact it looks like the docs mention this:
Note that when replicating to Elasticsearch, the MongoDB database name, which will become the Elasticsearch index name, is always made lowercase.

Hi,
You are right, I misread. Would you mind adding some tests, so that we know it works and that nothing breaks it in the future?
For some reason it's not triggering a Travis build so I'm going to start one manually, but when you add tests it should restart as well.
Thank you for contributing!

It'd be nice to be able to route collections to indexes instead of databases to indexes.
For the reasons described here..
https://www.elastic.co/guide/en/elasticsearch/guide/current/mapping.html
Does this change allow that?

Hi @dblado, your pull request send all namespaces to the same index (the "index" arg). Is that the intended behavior?
@estobbart while it's not possible to route route collections in the same database to different indexes automatically, it is possible using namespace mapping.
For example, say we are replicating a MongoDB database "foo" with two collections "bar" and "bob". We can route the collections to different indexes by renaming the database:
{
    "namespaces": {
        "include": ["foo.bar", "foo.bob"],
        "mapping": ["foo_bar.bar", "foo_bob.bob"]
    }
}

I like idea of setting meta_index_name from config file and actually locally I've done it in the same way like in this pull request:
self.meta_index_name = kwargs.get('meta_index_name', meta_index_name)
For setting index name I simply map all my namespaces to new index_name like:
        "mapping": {
            "oldindex.Categories": "newindex.Categories",
            "oldindex._User": "newindex.User",
            "oldindex.Tags": "newindex.Tags"
        }

Closing this because you can already specify the meta index name and type via the config file like so:
"docManagers": [
{
  "docManager": "elastic2_doc_manager",
  "targetURL": "localhost:9200",
  "args": {
    "meta_index_name": "my_custom_mongo_connector_meta_index",
    "meta_type": "my_custom_mongo_connector_meta_type"
  }
}
]


ISPN-9715 Update internal embedded listeners to be non blocking

Additional changes

https://issues.jboss.org/browse/ISPN-9715

For some reason a change to pass the executor didn't get committed, will push in a bit here.

Pushed changes to fix compilation.

Unused import
CompletionStage return value is not used.
How does this change affect HotRodMergeTest?

Unused import

Fixing

CompletionStage return value is not used.

Yes, it is. It is returned from the listener invocation.

How does this change affect HotRodMergeTest?

This fixes it because this test has locking that permanently exhausts 6 async threads. Our test suite only allows 6 async threads so no operation can fire on an async thread. By invoking the topology changed on the same thread when nothing is required it stays within the test limit of threads. When thread pools are reconfigured this will be a non issue.

CompletionStage return value is not used.

Yes, it is. It is returned from the listener invocation.

Weird, sorry I must have missed pushing a commit again, which is probably why the import is messed up as well. Fixing.

Added in returns that was missing that also fixes the import :D

Updated a few more references to use persistence executor as a blocking executor, instead of async transport. The commits need to be merged together before integrating though.

@wburns unused import again :(

Already fixed.

And turn that frown upside down :P

Integrated, thanks Will!


indicator setViewPager - out off memory

Out off memory when using indicator.

same here. Any solution you found @NgaoLong


Synchronize with ark-algebra

Description
I am trying to resolve some of the circular dependencies challenges, and this is one of the steps.
We fix the non-R1CS part first. Then, after r1cs-std and its long line of dependencies are stable, we do the R1CS part.

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[x] Targeted PR against correct branch (main)
[x] Linked to Github issue with discussion and accepted design OR have an explanation in the PR that describes this work.
[x] Re-reviewed Files changed in the Github PR explorer

N/A:

[ ] Wrote unit tests
[ ] Updated relevant documentation in the code
[ ] Added a relevant changelog entry to the Pending section in CHANGELOG.md

:) just realized that merge requires all the tests to pass -> let us wait for a few PRs to be stable before moving forward, otherwise our patches.io will need to resort to small branches.

This PR now contains all changes needed for the PR to pass, though it relies on a few branches of pending PRs in other repos.


serialization of verification key and proof

We want to how many bytes the zkvm proof occupies and the number of hashes that verification needs. This can give us a quick estimation for the recursion cost.

If some beginners wants to tackle this: just about any binary serialisation scheme should give a good estimate.  (Basically, don't use JSON.)

To know the bytes that zkvm proof ccupies, we can:

imply Seraialize for ZKVMProof
Use bincode to encode the proof and measure the required bytes

To know number of hashes:

Make Transcript trace how many fields has been appended
in create_proof of ZKVMProver, we add a immediately verify after proof has been created like halo2, and print out the fields that transcript has consumed in verification

More grace implement:

Turn Transcript struct into Transcript trait
Use a "TranscriptWithStatic" struct which wrapped the original Transcript struct and can trace the consumed fileds
Use this TranscriptWithStatic in the immediate verification of create_proof and print out required information


Changing "Write a message..." placeholder.

Although there is a slot for the header, I can't find a slot for the footer.

So I can't find a way to change the message placeholder. Is there something I'm missing?

you can change it from the launcher.vue

Thanks, got it by reading the code. Maybe docs are still unpolished.

use placeholder as:
<beautiful-chat
:alwaysScrollToBottom="alwaysScrollToBottom"
:close="closeChat"
:colors="colors"
:isOpen="isChatOpen"
:messageList="messageList"
placeholder="Escreva uma mensagem"
.....


Issue when clicking the project name in replication rule list

When clicking the project name in the replication rule list, UI loads its jobs first, and then jumps to the project page:

had solved


Where to find the MBPP evaluation metrics?

EvalPlus version
NA
Output of running ls ~/.cache/evalplus
NA
Task ID of the programming task
NA
The original wrong contract
NA

Your proposed new contract
NA

Other context
I am checking out https://evalplus.github.io/leaderboard.html, but found:

Hi. MPBB+ is not yet ready. It is just we considered that when creating the website. However we should be able to release MBPP+ soon, say in a month. :D would like you to come back and check by then.

@ganler This sounds great! Do you plan to release MBPP code samples as well, like you did for HumanEval? (Do you already have code samples that you could share?)

@mrigankpawagi  We are still at a stage to clean things up and perform more testing to make sure the new dataset is reliable enough. We have evaluated chatgpt over it and it seems okay, and would perform full scale evaluation soon.

Do you plan to release MBPP code samples as well

No doubt, yes. :D

https://evalplus.github.io/leaderboard.html @zhimin-z Results are online now. Feel free to check it out! We will also periodically update the leaderboard. Thanks!

@mrigankpawagi Kindly find the attachment of https://github.com/evalplus/evalplus/releases/tag/v0.2.0

Thanks a lot, this is amazing! @ganler


On Load Search, Login/Sign-up are Presented

On Load Search, Login/Sign-up are Presented
User Story
AS AN avid reader
I WANT to search for new books to read
SO THAT I can keep a list of books to purchase
Acceptance Criteria
GIVEN a book search engine
WHEN I load the search engine
THEN I am presented with a menu with the options Search for Books and Login/Signup and an input field to search for books and a submit button

The scripts to build the application and start the server have been run from the root of the application.   The elements are present when the application loads.


Migrate TextField to Material 3

fixed: #103537
Migrate TextField to Material 3.
The inputDecorator is already migrated  to M3 with fillColor, boderColor, iconColor, label text style, supporting text style.
So this PR is just to migrate  input text style because it's in TextField, not the InputDecorator.
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is [test-exempt].
[x] All existing and new tests are passing.

@hangyujin  I tried the useMaterial3: true flag to enable the new Text Field but I can't see the new effect
Do I need to use the master channel?
Affected widgets: (not including TextField)
https://api.flutter.dev/flutter/material/ThemeData/useMaterial3.html

How do I get the "filled" text field style in material 3?
Example on the left (Image from #103537)


Push v0.12 to crates.io

The v0.12 is not updated yet on crates.io.
The Rust Embedded Discovery Book uses the microbit as an example with the v0.12 but there are problems with remote repositories and syntax highlighting. If the crate is published on crates.io that is fixed.

Whoops, thanks for noticing. Should be alright now.


Prepare Jakarta Bean Validation for Jakarta EE 8 Release

Instructions

[ ]  Update text files
[x]   Generate "boilerplate" specification project
[ ]   Make a staging release of the API from the master branch
[ ]   Make a release from the spec from the master branch
[ ]   Make a staging release of the TCK from the 2.0 branch and push it on downloads.eclipse.org
[ ]   Generate Stand-alone TCK test results
[ ]   Create a PR to jakartaee/specifications repository
[ ]   Update the Jakarta EE API jar by submitting a PR to the jakartaee-api project

Details are here:

@starksm64, it seems I cannot alter this issue (checking boxes in your description). Any idea how I can do that?


node may not exist, need to take care of when generating xml back

Models we defined are unified structure, however sometimes, in the source xml, collected nodes may not have the same structure, for example:
<AddressList>
	<Address id="1">
		  <number>22</number>
		  <street>Acacia Avenue</street>
		  <city size="big">Maiden</city>
		  <country>England</country>
		  <postcode>IM6 66B</postcode>
	</Address>
	<Address id="2">
		  <number>22</number>
          <street>Acacia Avenue</street>
		  <street>Acacia Avenue</street>
		  <city>Maiden</city>
	</Address>
</AddressList>

address #2 do not have the  postcode node and node city under address do not have a size attribute, and when these two(node postcode and attribute size) are defined in models, errors will be thrown while generating xml back(thus call to_xml() api), also the generated xml will not the same as the original xml.

I'll need some tests around this to show that it is an issue and doesn't regress.

Is this issue solved by PR #10 or is it a separate issue?

it is a separate issue, sometimes a node may not exist in the origial xml, the slice operation: self._get_tree().xpath(field.xpath)[0] will throw an error then

Closing this PR as I have added a test and slightly different fix that will create the missing node if needed.  See commit 8148c48d4b914a911f71db61d31af2f2b8fe6f03


Don't Merge! PR real time test for webhook case

Docs Build status updates of commit 8fd6b0e:
:clock10: Pending: waiting for processors (21 builds ahead of you)
:warning: Docs Build is busy, currently there are 21 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 8fd6b0e:
:clock10: Full build: the average full build time is 7 min(s) 26 sec(s), this is based on the last 30 build(s) for this repository.

Docs Build status updates of commit 8fd6b0e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/testing.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


minimize allocations in logger and tunnel code

fixes bug in helper that always copy fields regardless of log level, and also store cipher inside session, so we avoid many allocations in tunnel code
BenchmarkNew-16             100000            140323 ns/op            7366 B/op        138 allocs/op

so we save 20000 ns/op and 20 allocs/op

I think you have to rebase against master before this can be merged

How you know that I'm finish? Amazing


docs: fix typo in README.md

Fixing typo

Nice catch, thanks! (I think that typo has been there for a couple of years...)


Fix relative links and title capitalization

Fixed relative links and title capitalization for the SageMaker tutorial.
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Thank you
/lgtm


【feature request】allow pinned tabs on top and rearranging tabs by dragging the tab

For now, the pinned tabs are scattered around. To avoid accidentally closing the pinned tabs. It's nice to have an option to allow pinned tabs on top and rearranging tabs by dragging the tab

Creating a draggable UI with plain CSS and JavaScript is also a big hurdle. While it might be possible to introduce some sort of framework, it's not desirable for the size of the plugin's script to increase.

The issue of pinned tabs accidentally closing might be resolved by obsidian-advanced-close-tab (I've created). It might also be a good idea to implement an option to not display a close button for pinned tabs.

I'll work on #13

I've released the sorting feature in 1.2.0. Please give it a try!

Thank you for developing the plugin so fast, I have just tried it and the drag and drop is smooth. I also found that when there are too many tabs, and click on unpin button on a scrolled-down-positioned-pinned tab, the scroll position will reset to the top, I am not sure if this is a bug or just a default behavior.

This scroll position reset behavior is also observed on pinning a scroll-down-positioned tab on 2.0 version of the plugin

@Ravenclawer I've released the fix in 2.0.1. Please check it out.

I have 20 tabs open, and it works perfectly


Add artifact for PCI Devices

Be good to add a url with a reference about the content and format of these files.

Done! :)

LGTM


UI change (SQL Auditing)

Module: 03
Lab/Demo: 11
Task: 04
Step: 04
Description of issue
Auditing onboarding UI changed

I updated the lab instructions and created a Pull Request.  Waiting for the end of week, to accept them into the repo, so we don't disrupt any on-going labs.

Should be fixed now.  Thanks for the Issue su


Is there a TensorRT implementation

Hi, recently I've read the paper, It's an exciting work that achieved the state-of-the-art performance on the cityscape.
First of all, thanks for sharing the work, I wanna know have you ever did its TensorRT version. If did, can you share it?

Sorry, I didn't implement the tensorrt version because the naive inference speed is competitive.

Hi, recently I've read the paper, It's an exciting work that achieved the state-of-the-art performance on the cityscape.
First of all, thanks for sharing the work, I wanna know have you ever did its TensorRT version. If did, can you share it?

Sorry, I didn't implement the tensorrt version because the naive inference speed is competitive.

I tried to use torch2trt (https://github.com/NVIDIA-AI-IOT/torch2trt) to convert the model to tensorRT. This can reduce time consumption significantly. Hope this helps.

here is my c++ ddrnet.tensorrt:https://github.com/midasklr/DDRNet.TensorRT


AZCopy copy command 'panic: mkdir : no such file or directory' error when executing through Datastage Routine Activity

Which version of the AzCopy was used?
10.3.4
Which platform are you using? (ex: Windows, Mac, Linux)
Red Hat Enterprise Linux Server 7.6
What command did you run?
azcopy copy "/AltDept.txt" "https://.blob.core.windows.net/dev?"
What problem was encountered?
The above command to transfer file AltDept.txt to storage runs successfully direct through Linux command line.  When the same command is run via IBM Datastage (v<IP_ADDRESS>) Routine Activity it is throwing the below error in Datastage logs:
_*** Output from command was: ***
panic: mkdir : no such file or directory
goroutine 1 [running]:
github.com/Azure/azure-storage-azcopy/common.PanicIfErr(...)
/home/vsts/work/1/s/common/lifecyleMgr.go:482
main.main()
/home/vsts/work/1/s/main.go:55 +0x5df_
There is no log file being written to //.azcopy, which leads me to believe Datastage is not even initiating the command with AZCopy, and this is a problem related to Datastage.  However, I can't even make sense as to what this error means and am hoping for some guidance from the community.
How can we reproduce the problem in the simplest way?
If possible, call the above command or similar from a Datastage Routine Activity.
Have you found a mitigation/solution?
We have no solution in place.  For testing purposes we can call the command direct from the Linux interface, however we need the ability to embed this into an existing Datastage sequence.

Please try setting the AZCOPY_LOG_LOCATION and AZCOPY_PLAN_FILE_LOCATION, and see if that fixes the problem. (See https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-configure#change-the-location-of-the-plan-and-log-files)

Thank you for the suggestion, however this did not resolve the issue.  AZCOPY_LOG_LOCATION and AZCOPY_PLAN_FILE_LOCATION values have been set as per the linked document, and the change verified using azcopy env.  However, we are still getting the same error, and no azcopy log files are being written to the new specified location.  As I had mentioned, it doesn't appear that the Datastage call is even initiating the command with AZCopy, however I cannot make sense of the error (posted above) that I'm getting in my Datastage logs.

The error you posted is from AzCopy, so the command is being initiated.  I suspect that the set of environment variables that are visible to AzCopy when its running in datastage are not the same as when its running in an command line window interactively. Where did you set them?

The account used to execute the command from both the Linux command line and from within the Datastage sequence is the same account, but that is a good place to start looking for any differences.  I'll dig into that a bit more and post back.  Thank you.

One test would be to run AzCopy env in Datastage (and capture the output).  (Before you run azcopy copy)

Unfortunately I get the same error when I try to run AZCopy env from Datastage:
JobControl (ExecSHReturn): Error when executing command: .../azcopy env
*** Output from command was: ***
panic: mkdir : no such file or directory
goroutine 1 [running]:
github.com/Azure/azure-storage-azcopy/common.PanicIfErr(...)
/home/vsts/work/1/s/common/lifecyleMgr.go:482
main.main()
/home/vsts/work/1/s/main.go:55 +0x5df

Oh!  The directory it's trying to make at that point is the log directory, so I do strongly suspect that it's not picking up the environment variable that you've used to point it to a logging directory.
Maybe try a simple command to just echo that evironment variable, and get that executed by DataStage.  E.g. a bash script containing:
echo testing
echo "$AZCOPY_LOG_LOCATION"
echo done
My guess is that the middle lines in those scripts will output nothing, which will confirm the hypothesis that the environment variable setting is not making it through

You are absolutely correct:
*** Output from command was: ***
testing
done
How do we know where on the server it's trying to make the log directory?  Is it the /home/vsts/work/1/s location in the error msg?  Obviously that location doesn't exist on our server.  Confused as to why environment variables aren't coming across when the command is executed in Datastage under the same account.  I'll check with our Datastage admin.
Thank you for your help so far.

Success!
Solved by adding the log directory location to the .profile for the account Datastage is using, then explicitly loading the .profile as part of the script it's calling.
Thank you again for your help.  Much appreciated.

Excellent!  Thanks for letting us know that it worked.

But why would /home/vsts/work/show up in azcopy? It should never look for path like that for the first place.


4 verifier

Completes #4.

[ ] Remove the test_chain() function and instead make a str version importable from data.rs for use both within crate and external to the crate

Update Trustchain proof service ID and type with lib consts.


App store launch with SmartGlass

Im trying to launch the apps store on XBOX using the smartglass protocol. We understand that launching generic URIs may not be possible anymore. Is there any way to just launch the app store? Additionally, is there a way to redirect it to specific app on app store?

As many other sources state, that feature was removed by Microsoft. Nothing to do here.


Can not download last version of source code from cargo with "validate_with" function.

I run into a problem where installing garde dependency from crates.io / cargo does not have last version.
Here is an example:
cargo add garde -F full
Cargo.toml
garde = { version = "0.18.0", features = ["full"] }

validate_with - does not exist in validate.rs

validate.rs

Installing directly from GitHub fixes problem:
Cargo.toml
garde = { version = "0.18.0", features = [
  "full",
], git = "https://github.com/jprochazk/garde.git", branch = "main" }

validate_with - exist in validate.rs

validate.rs

Also i tried to remove grade folder from .cargo/registry/src... but it does not helped me.

In general, if depending on the main git branch is possible for you, then it's fine to do just that.
The validate_with feature was added a little while ago, but was not released until v0.19.0, which I published today.


sc_sock: use dense events array instead of a sparse one on Windows

Optimization:

O(1) sc_sock_poll_add
work with only count events instead of cap
events array is not sparse anymore
sc_sock_poll_wait returns 0 if no events were actually triggered

There is a bug in this PR though: we do not update fdt->index on the moved last element. Tests do not catch it, probably need to store the pointer to the actual fdt alongside with data.

Ok, this approach does not work at all in case when we delete a socket from poll inside of the event loop.


Fix conversion of ip address to int

Properly convert bytes to unsigned integers
Fixes https://github.com/uber/jaeger-client-java/issues/198

Codecov Report

Merging #199 into master will not change coverage.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master     #199   +/-   ##
=========================================
  Coverage     81.34%   81.34%
  Complexity      470      470
=========================================
  Files            77       77
  Lines          1812     1812
  Branches        214      214
=========================================
  Hits           1474     1474
  Misses          249      249
  Partials         89       89

Impacted Files
Coverage Δ
Complexity Δ

...ore/src/main/java/com/uber/jaeger/utils/Utils.java
78.94% <100%> (ø)
6 <0> (ø)
: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 74faa98...b1b34ad. Read the comment docs.

Thanks!


count(distinct xxx) not support

select distinct host.name from metricbeat where `@timestamp` > '2020-04-29T06:12:34.352Z'

return 7 rows:
{
"schema": [
{
"name": "host.name",
"type": "keyword"
}
],
"total": 7,
"datarows": [
[
"xxxxx"
]
,
[
"xxxxx"
]
,
[
"xxxxx"
]
,
[
"xxxxx"
]
,
[
"xxxxx"
]
,
[
"xxxxx"
]
,
[
"xxxxx"
]
],
"size": 7,
"status": 200
}

select count( distinct host.name ) as hostcount from metricbeat where `@timestamp` > '2020-04-29T06:12:34.352Z'

return 0

Hi @airclear, this might be a bug with SQL rather than a problem with the documentation. I've opened a new issue over in the SQL repository.


zfs: 2.1.9 → 2.1.10

https://github.com/openzfs/zfs/releases/tag/zfs-2.1.10
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

I haven't tested it beyond successful compile, but here are the hashes... especially with 6.2 due to https://github.com/NixOS/nixpkgs/issues/225178 blocking my upgrade.
Closes #223528

I’ve had a moment to test it. 6.1 boots fine as an overlay (but zfs-kmod is still on 2.1.9 why? How do I overlay this too??)

@toastal just overriding the zfs package in an overlay will only change the userspace package. You also have to change your kernelPackages to something containing the new ZFS kernel package

Very good question actually. I assumed it would have been resolved, but that could be naïve.

@ElvishJerricco I slapped the NOTE: on both zfs and zfsUnstable with the same if. I’m not entirely sure though if isx86_64 is better than not isaarch64. Has anyone looked at, I dunno, RISC or other platform for this? I suppose erring on this side is better at least in that 6.1 is an LTS kernel.

I think ZFS can work just fine on RISCV-64, if I have some time, I will try it (cannot get my NVMe be detected first :D).
Actually, I would like to fix the AArch64 issue but I'm not sure everyone agrees on the legal consequences of that.

I will test this in the start of the next week hopefully.

Big showstopper:
I've been advised that 2.1.10 is practically considered broken due to https://github.com/openzfs/zfs/issues/14753. We can either include a revert for https://github.com/openzfs/zfs/commit/4b3133e671b958fa2c915a4faf57812820124a7b (the 2.1 backport of https://github.com/openzfs/zfs/commit/519851122b1703b8445ec17bc89b347cea965bb9) or wait for a hopefully swift 2.1.11. It seems the ZFS devs are very aware how necessary this is, based on a brief conversation I had in #zfsonlinux

We should revert it for unstable too.

FYI: 2.1.11 just released with the problematic commit reverted: https://github.com/openzfs/zfs/releases/tag/zfs-2.1.11

Closing in favor of the 2.1.11 version @cole-h mentioned. Please refer to the patchset on for zfs 2.1.11 for nixpkgs on the proprietary Microsoft GitHub code forge @ https://github.com/NixOS/nixpkgs/pull/227279 to follow the latest updates.


Refactor the selinux crate

@Gekko0114 I'm trying to remove inti_* in the selinux crate. WDYT?

What do you mean by inti_* in the selinux crate ?
I couldn't find any functions or values with the prefix inti_.

What do you mean by inti_* in the selinux crate ? I couldn't find any functions or values with the prefix inti_.

Ops, like that one policy_root_init_done

I see. I am not familiar with Rust, therefore it is possible that there should be better implementation rather than using atomicBool.
Thanks, I will wait for your PR :)


[🐞]  TTY initialization failed: uv_tty_init returned EBADF (bad file descriptor)

Which component is affected?
Qwik Runtime
Describe the bug

Reproduction
NA
Steps to reproduce
when excute pnpm create qwik@latest
System Info
System:
    OS: Windows 10 10.0.19041
    CPU: (12) x64 Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz
    Memory: 7.42 GB / 15.93 GB
  Binaries:
    Node: 18.16.1 - ~\.nvm\versions\node\v18.16.1\bin\node.EXE
    Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 9.5.1 - ~\.nvm\versions\node\v18.16.1\bin\npm.CMD
    pnpm: 7.29.1 - ~\AppData\Roaming\npm\pnpm.CMD
  Browsers:
    Internet Explorer: 11.0.19041.1

Additional Information
No response

I tried with the latest CLI version and it's working fine.
Thanks @konayukis for your report anyway.
So I'm closing this issue for now, feel free to re-open it if it's still an issue for you.


Deploy to kubernetes dev cluster instead of heroku.

Hey, app available here (access controlled via source IP).

Merging this to finish Kubernetes poc work. App will be released to both heroku and Kubernetes.


Chat problem

I have a problem with the chat. Whenever I hit enter typing something to chat to somebody, nothing happens. Why does this happen? Please respond, Thank you.

is this problem resolved? you must be connected to the game.
I will close this issue unless I hear otherwise

Oh yes, I think it has been already resolved. Because I tried it and now it works fine like as it was supposed to be normally.

can we close this issue @sm64js


Problem occurred when I ran DynamicTSPApplicationSparkKafka.java

Hi, when I ran DynamicTSPApplicationSparkKafka.java with nyData.txt, only a single point at origin showed as Pareto front in every iteration, and I am curious about why this situation occurred.

I checked the output directory and found data in FUN*.tsv are all zero. Could u please help me with this!

Hi!,
we are trying to reproduce your example to fix the issue, what is the algorithm configuration used? Have you used the default configuration? Which Spark and Kafka version are you using?
Thanks!

Thanks for your reply！！
I just configured the spark home, maybe I configured the algorithm in a wrong way! Besides, I am using Spark 2.4.7 and Kafka 2.11.

Hi,
you are right, the results are always cero, we are going to fix that problem.
Meanwhile,  you can use the other TSP example in this way:
problem = new MultiobjectiveTSPBuilderFromTSPLIBFiles("data/kroA100.tsp", "data/kroB100.tsp") .build();
Thank you so much for your  feedback.


ARDUINO PORTENTA H7

Good day,
I want to ask if this library can be used for Arduino Portenta H7?
Thank you in advance.

It is already stated in readme

The library supports Arduino NANO 33 IoT, Arduino MKR WiFi 1010, Arduino MKR VIDOR 4000 and Arduino UNO WiFi Rev.2.

You should use such library with external Client.

Good day,
can you please give an example?


Compress images

Hi Fzyzcjy, I like what flutter_smooth does and just want to help with #85
So what I do is use Tinypng to Compress all images in the project.

Hi, thanks for your interest! However looks like some images cannot be compressed like that, e.g. golden images. I wrote that mostly to remind me to compress the logo.svg. I will do that soon.
Btw no need to check those issues currently - they are to remind myself :) Will clean up those issues later.
P.S. I also have a internal issue tracker, so the issue tracker here (public one) looks like little progress now, but indeed I am still working on it.
Feel free to PR later, when the lib is stable and have a CI, so code changes to the core are safe :)

Oh and probably do not read the code now - it is really a big mess ;) since I was not sure whether it will work, so made fast and ugly prototypes. Will refactor later before stable release.