One line empty type

This guideline seems not to mention it, but fantomas formats empty type definitions to 3 lines:
type AnEmptyType =
    class
    end

I think this is pretty lengthy and won't be beneficial, since you can never insert anything between this class and end. Can we change it to one line?
type AnEmptyType = class end

Seems reasonable to me, but we'd prefer to keep ourselves aligned to Microsoft for things like this that we don't already have a strong opinion on. I suggest you raise a PR to https://github.com/dotnet/docs/blob/421b2ec4d57acf4f66922235731a7185c6f217a0/docs/fsharp/style-guide/formatting.md (or an issue to that repo); we'll adopt whatever is decided on the Microsoft style guide.

Seems reasonable to me, but we'd prefer to keep ourselves aligned to Microsoft for things like this that we don't already have a strong opinion on. I suggest you raise a PR to https://github.com/dotnet/docs/blob/421b2ec4d57acf4f66922235731a7185c6f217a0/docs/fsharp/style-guide/formatting.md (or an issue to that repo); we'll adopt whatever is decided on the Microsoft style guide.

OK, I raise an issue at dotnet/docs#28103


Getting Transcribe to build inside SvelteKit app

Here is a minimal app that reproduces the issue:
Just Ctrl+C the app, and run "npm run build" instead.
❯ npm run build

><EMAIL_ADDRESS>build
> vite build

vite v5.4.11 building SSR bundle for production...
"default" is imported from external module "@transcribe/shout" but never used in "src/routes/+page.svelte".
✓ 163 modules transformed.
vite v5.4.11 building for production...
[plugin:vite:resolve] [plugin vite:resolve] Module "module" has been externalized for browser compatibility, imported by<EMAIL_ADDRESS>See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
[plugin:vite:resolve] [plugin vite:resolve] Module "module" has been externalized for browser compatibility, imported by<EMAIL_ADDRESS>See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
<EMAIL_ADDRESS>(8:1242593): Use of eval in<EMAIL_ADDRESS>is strongly discouraged as it poses security risks and may cause issues with minification.
✓ 137 modules transformed.
x Build failed in 837ms
x Build failed in 4.72s
error during build:
[vite-plugin-sveltekit-compile] [commonjs--resolver] Invalid value "iife" for option "output.format" - UMD and IIFE output formats are not supported for code-splitting builds.
file<EMAIL_ADDRESS>file<EMAIL_ADDRESS>[commonjs--resolver] Invalid value "iife" for option "output.format" - UMD and IIFE output formats are not supported for code-splitting builds.
file<EMAIL_ADDRESS>    at getRollupError (file:///home/projects/sveltejs-kit-template-default-fhxpyw/node_modules/rollup/dist/es/shared/parseAst.js:558:41)
    at error (file:///home/projects/sveltejs-kit-template-default-fhxpyw/node_modules/rollup/dist/es/shared/parseAst.js:554:42)
    at validateOptionsForMultiChunkOutput (file:///home/projects/sveltejs-kit-template-default-fhxpyw/node_modules/rollup/dist/es/shared/node-entry.js:19602:29)
    at generate (file:///home/projects/sveltejs-kit-template-default-fhxpyw/node_modules/rollup/dist/es/shared/node-entry.js:19494:51)

All I did beyond forking the "hello word sveltkit app": in src/routes/+page.svelte, I added the line import createModule from "@transcribe/shout";
Is there a way to recompile the shout.wasm.js and shout.wasm.worker.mjs files to have compatible modules?

@henryhugginsx - modify the code to USE the build. Currently the link / app you posted does not use File Transcriber at all. Which your error messages explicitly states imported from external module "@transcribe/shout" but never used in "src/routes/+page.svelte".
So call the module like the example given in README.
import createModule from "/your/project/shout.wasm.js"; // path where you've copied before
// import createModule from "@transcribe/shout";  // if you use an import map
import { FileTranscriber } from "@transcribe/transcriber";

// create new instance
const transcriber = new FileTranscriber({
  createModule, // create module function from emscripten build
  model: "/your/project/ggml-tiny-q5_1.bin", // path to ggml model file
  workerPath: "/your/project", // directory of shout.wasm.worker.mjs copied before
});

// init wasm transcriber worker
await transcriber.init();

// transcribe audio/video file
const result = await transcriber.transcribe("/your/project/my.mp3");

console.log(result);

But - as far it looks this is a issue with your code / error being thrown in the build process. Not anything to do with this library.

@MarketingPip I just wanted to reproduce the compiler issue with minimal distractions.
Here is an example of trying to render the createModule function in the template, so it is clear that the module is being imported.
The problem is with the vite build step, where the compiler tries to minify this library.
There isn't much point in importing FileTranscriber  and other setup, when the import createModule part is not compiling.
In the original stackblitz, if you comment out the import createModule from "@transcribe/shout";, everything compiles nicely.

@henryhugginsx try this in a non stackblitz environment and change the output for output.format. Again tho - this is not an issue for Transcribe.js. Tho maybe @thurti can add some insight - if I am wrong...

My first guess was to exclude the package from the SvelteKit rollup build. But then the import doesn't work anymore (obviously).
//vite.config.ts
...
build: {
    rollupOptions: {
      external: ["@transcribe/shout"],
    },
},

I'll have a look. I'm still not sure what's the best way to handle the import/use of the wasm files. Ideas are very welcome.
Also the exports from @transcribe/transcriber don't work in SvelteKit (#6). But that's quickly fixed.

@henryhugginsx
The only solution I've found is to exclude the file  from the bundler and use a dynamic import(/shout.wasm.js?url).
//vite.config.ts
...
build: {
    rollupOptions: {
      external: ["/shout.wasm.js?url"],
    },
},

// +page.svelte
import { onMount } from "svelte";
import { FileTranscriber } from "@transcribe/transcriber";

let createModule;

// ... use transcriber

onMount(async () => {
  // dynamic import wasm module from /static
  // this is a workaround because Rollup can't bundle this file
  createModule = (await import("/shout.wasm.js?url")).default;
});

I've made an example repo on how to get this to work in SvelteKit. I've also added an integration guide in the docs.

A bit more insights:

Is there a way to recompile the shout.wasm.js and shout.wasm.worker.mjs files to have compatible modules?
The module is compiled with emscrtipten EXPORT_ES6 option enabled. So it's already a valid ES6 module. Unfortunately, rollup seems to disagree.

Feel free to re-open the issue if there are problems with the provided solution.


Should this include properties from other namespaces?

Since we have other presets for dc, xmpRights, and photoshop, I didn't include them in this - I only included properties unique to the Iptc4xmpCore namespace. I thought this would reduce redundancy, but now I'm wondering if I it will be confusing (annoying) to people who might expect to find them all in one preset. In other words, should the IPTC Core preset include all properties in the IPTC Core spec, including dc, xmpRights, and photoshop? https://www.iptc.org/std/photometadata/specification/IPTC-PhotoMetadata#iptc-core-schema-1-2-specifications
Otherwise, I could add a note that the preset is only for the unique Iptc4xmpCore properties.

That is the intention of the Readme, since JSON cannot include comments.
It is true that it can be confusing.
I started from the idea that a 'preset' can contain 'grouped needs', rather than properties of a single namespace. That is: not only ISADG, but some IPTC or XMP tags.
Honestly, this is not a subject on which I have a fixed opinion and I am flexible to ideas and suggestions, in order to maintain the coherence of the repository.
What do you suggest? How do you think it is best to document ?

That is the intention of the Readme, since JSON cannot include comments.
It is true that it can be confusing.
I started from the idea that a 'preset' can contain 'grouped needs', rather than properties of a single namespace. That is: not only ISADG, but some IPTC or XMP tags.
Honestly, this is not a subject on which I have a fixed opinion and I am flexible to ideas and suggestions, in order to maintain the coherence of the repository.
What do you suggest? How do you think it is best to document ?

Yes, 'grouped needs' makes sense and is in the spirit of modern data modeling. I will propose edits to the README to explain the Iptc4xmpCore preset.

Yes, 'grouped needs' makes sense and is in the spirit of modern data modeling. I will propose edits to the README to explain the Iptc4xmpCore preset.

Perfect. With that idea we can have many 'presets'; with 'grouped needs' and others with a single 'namespace'.
It is my intention, during the year, to create a specific preset for Museums in Buenos Aires, Argentina. This case would be a preset based on ISAD(G), but also containing VRA, DC & IPTC.

Perfect. With that idea we can have many 'presets'; with 'grouped needs' and others with a single 'namespace'.
It is my intention, during the year, to create a specific preset for Museums in Buenos Aires, Argentina. This case would be a preset based on ISAD(G), but also containing VRA, DC & IPTC.

Hi @MetadataDeluxe ,
I just included a description for [core_properties_view.json] using your text... Please feel free to modify it if necessary.

Hi @MetadataDeluxe ,
I just included a description for [core_properties_view.json] using your text... Please feel free to modify it if necessary.

@mrtngrsbch that looks great. It will be good for people who want to use a few of the most commonly used properties. They can just remove the properties they don't need.

@mrtngrsbch that looks great. It will be good for people who want to use a few of the most commonly used properties. They can just remove the properties they don't need.


Initial GAN investigations for tfjs

We probably want to use a recurrent generative adversarial network (RGAN) to generate the code of web pages so that we do not need to encode the whole input/output at once. For example, instead of having 2,000 one-hot encoded character inputs/outputs (say 200,000 inputs), we would only need 100 at a time. This helps us avoid needing to use billions (200,000 ^ 2 * 3 = 120 billion) of parameters and increases efficiency.
Both the generator and discriminator networks would be recurrent networks. The generator could have an arbitrary number of random noise inputs and a couple hundred one-hot encoded outputs, and the discriminator could have just as many inputs and one output. The networks could either automatically cycle through each character of the input, then the output, or have an attention mechanism that allows them to navigate through what they are writing (this would be much more difficult to do and would probably require a more complex reinforcement learning strategy).
This is an example of what such an architecture might look like, using an LSTM-based network.

(Source)
We could also look into other strategies, like convolutional text-processing networks that use embeddings instead of one-hot encoded input/output values, or a combination of these and RNNs.

You may also want to research "text generator network", "GAN text generator", or "recurrent GAN". Here are a couple links I found:

https://becominghuman.ai/generative-adversarial-networks-for-text-generation-part-1-2b886c8cab10
https://akshaybudhkar.com/2018/03/26/generative-adversarial-networks-gans-for-text-using-word2vec/
https://github.com/minimaxir/textgenrnn

[If the webhook is working, this comment should be posted to the appropriate Discord channel]

Great thanks for this.

I also forgot to mention that we can use a regular supervised RNN instead of a GAN. The same encoding schema still applies.
[Maybe this time]


fix(appsync-modelgen-plugin): minor fix for null safety

Description of changes

Issue #, if available

Description of how you validated changes
Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added
[x] Relevant documentation is changed or added (and PR referenced)
[x] Breaking changes to existing customers are released behind a feature flag or major version update
[x] Changes are tested using sample applications for all relevant platforms (iOS/android/flutter/Javascript) that use the feature added/modified

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #192 (3686bc7) into dart-modelgen-null-safety (346f2a6) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@                    Coverage Diff                     @@
##           dart-modelgen-null-safety     #192   +/-   ##
==========================================================
  Coverage                      85.32%   85.33%
==========================================================
  Files                            140      140
  Lines                           6257     6259    +2
  Branches                        1371     1372    +1
==========================================================
+ Hits                            5339     5341    +2
  Misses                           839      839
  Partials                          79       79

Impacted Files
Coverage Δ

...delgen-plugin/src/visitors/appsync-dart-visitor.ts
96.51% <100.00%> (+0.01%)
:arrow_up:

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 346f2a6...3686bc7. Read the comment docs.

@AaronZyLee @renebrandel @Ashish-Nanda
There should be two small changes for amplify-codegen/packages/amplify-codegen/src/commands/models.js:
line 82:
      context.print.warning(
-        'Generating Dart Models with null safety. To opt out of null safe models, turn off the “enabledartnullsafety” feature flag.',
+.       'Generating Dart Models with null safety. To opt out of null safe models, turn off the “enableDartNullSafety” feature flag. Learn more: https://docs.amplify.aws/lib/project-setup/null-safety/q/platform/flutter'.
      );

line 87:
      context.print.warning(
-        'Generating Dart Models without null safety. To generate null safe data models, turn on the “enabledartnullsafety” feature flag and set your Dart SDK version to “>= 2.12.0”.',
+.       'Generating Dart Models without null safety. To generate null safe data models, turn on the “enabledartnullsafety” feature flag and set your Dart SDK version to “>= 2.12.0”. Learn more: https://docs.amplify.aws/lib/project-setup/null-safety/q/platform/flutter',
      );

@Ashish-Nanda @renebrandel Please confirm.

Also need change in validateDartSDK.js:
line 9:
  try {
    const config = yaml.load(fs.readFileSync(path.join(projectRoot, PUBSPEC_FILE_NAME), 'utf8'));
    const version = semver.minVersion(config.environment.sdk);
    if (semver.satisfies(version, '>= 2.12.0')) {
-      context.print.warning('\nDetected Dart SDK version: “>= 2.12.0” is “true”');
+      context.print.warning('\nDetected Dart SDK version 2.12.0 or above.');
      return true;
    }
-    context.print.warning('\nDetected Dart SDK version: “>= 2.12.0” is “false”.');
+    context.print.warning('\nDetected Dart SDK version below 2.12.0.');
    return false;
  } catch (e) {
-    context.print.warning('\nCould not detect Dart SDK version, defaulting to “>= 2.12.0”.');
+    context.print.warning('\nCould not detect Dart SDK version, defaulting to 2.12.0.');
    return true;
  }


Update to support stylelint@16

https://github.com/simonsmith/stylelint-selector-bem-pattern/blob/562b9a8e731adab852d9f7b08481ffe15c732ac7/package.json#L36 is holding back stylelint 16 packages.
additionally, shouldn't this be a peerDependency?

Yeah, it should move to peer


Feature flag is not returned from unleash edge frontend API

It seems to be user not using custom context fields correctly

@mohamedfasil-zee userType is a custom property. Custom properties should be handled like this: <base url>/api/frontend?properties%5BuserType%5D=premium&userId=123
frontend API is very forgiving here and can handle userType that is not nested into custom properties. However Edge is more strict about it.
You'll find which properties are built-in and which are custom here: https://docs.getunleash.io/reference/unleash-context#structure

Thanks a lot @kwasniew
Closing this issue.

@kwasniew just one point to consider is this behaviour is different on unleash core frontend API vs unleash edge frontend API
FYI


text representation

create object and methods that represent text, allow it to be handled and allow for storing data on text

data: text
data: tokenized text
data:: additional data on token or character level
method: delete text
method: insert text
method: modify text
method: get_token
method: get_text

moved to https://github.com/petermeissner/diffrprojects/issues/1


build: add makefile

adds a makefile to easily setup requirements, serve, and lint.
I was considering using just instead of make, but didn't want to add another build tool without making sure that it was ok first.

I would prefer sticking to the same tool stack as the main library pola-rs/polars to keep everything consistent.
Could you add running the node / python examples in as well (see ci.yaml)? These are also common steps.

@c-peters this should be good to go now.

Thanks @universalmind303 !


[improve][broker] Make some operation SubscribeRate methods in Namespaces async

Motivation
See PIP https://github.com/apache/pulsar/issues/14365 and change tracker https://github.com/apache/pulsar/issues/15043.
Make NamespacesBase deleteSubscribeRate / setSubscribeRate / getSubscribeRate methods to pure async.
Documentation

[x] no-need-doc

@shibd  All suggested fixed. PTAL.

@mattisonchao OK, I'll try it. There is no unit test for the v2 Namespaces yet, I will try to add it, it may take some time.

Do these non-existent files need to be generated locally？

@shibd  @mattisonchao  PTAL.

Hi @mattisonchao Can you help trigger the ci ？

Hi @Technoboy-  Can you help trigger the ci ？

Hi @Technoboy- Can you help trigger the ci ？

Yes, I have triggered.

Yes, I have triggered.

Thanks

/pulsarbot run-failure-checks


Contact Skydio

Skydio contact acquired.
Proceed to reach out to Daniel's contact

Notes:

Project too specific. Narrow down the problem
UAV + Tooling is too broad
Look into smaller subprojects for scope (eg - Gimbal on a drone)

OutcomeL
|
We want to make a drone that would fulfill one specific task in a specific problem (for example bridge)


flake8: Add useable flake8 call and fixes

./setup.py flake8 can now be used to check the code.

thanks!


Minor fixes in blockly first steps

Minor fixes in blockly first steps

@ncface looks good! Thanks for your contribution 👍


DynamicForm - Error on save when clearing person from Person or Group field and leaving it blank.

Thank you for reporting an issue, suggesting an enhancement, or asking a question. We appreciate your feedback - to help the team understand your
needs please complete the below template to ensure we have the details to help. Thanks!
Please check out the documentation to see if your question is already addressed there. This will help us ensure our documentation is up to date.
Category
[ ] Enhancement
[x] Bug
[ ] Question
Version
Please specify what version of the library you are using: [  3.14.0 (also tried latest beta) ]
If you are not using the latest release, please update and see if the issue is resolved before submitting an issue.
Expected / Desired Behavior / Question
When removing a person from a "Person or Group" field with 'Allow multiple selections' set to no it should let me save.
Observed Behavior
When clearing the contents of a "Person or Group" field and when 'Allow multiple selections' is set to 'No' on clicking 'Save' the following error pops up:
Error making HttpClient request in queryable [400]  ::> {"odata.error":{"code":"-1, Microsoft.SharePoint.Client.InvalidClientQueryException","message":{"lang":"en-US","value":"A node of type 'StartArray' was read from the JSON reader when trying to read a value of a property; however, a 'PrimitiveValue' or 'StartObject' node was expected."}}}
It is only happening on the "Person or Group" field and if I allow multiple selections on that field it works correctly. This is happening for every web part and form customizer I have created that uses DynamicForm with a "Person or Group" field. If the field has always been empty it saves fine, it's only when there is a person in that field and then that person is removed and the field is blank and saved again.
Steps to Reproduce
As soon as the "Person or Group" fields setting is set to not allow multiple selections and then the field is left blank when it previously wasn't, on save it will produce the error. Tested on web parts and field customizers, on lists migrated from on premises SharePoint and fresh lists created in SharePoint online.
Thanks!

I found a solution, will be creating a PR on this by tomorrow.

Hello @Fantasticles
I have created a new pull request resolving the reported issue. Below is the solution,
Solution for Issue #1578
When the user is updating the people picker column, for a single user, Dynamic form is throwing error while saving the list item. The issue occurs at method onSubmitClick
The object formed with an empty user and is being submitted to update the item
          else if (fieldType === "User") {
            objects[`${columnInternalName}Id`] = val.newValue;
          }

And the error is caught here,
let newETag: string | undefined = undefined;
if (listItemId) {
  try {
    const iur = await sp.web.lists.getById(listId).items.getById(listItemId).update(objects, this.state.etag);
    newETag = iur.data['odata.etag'];
    if (onSubmitted) {
      onSubmitted(iur.data, this.props.returnListItemInstanceOnSubmit !== false ? iur.item : undefined);
    }
  }
  catch (error) {
    if (onSubmitError) {
      onSubmitError(objects, error);
    }
    console.log("Error", error);
  }

By validating the null check as below, the issue is resolved.
else if (fieldType === "User") {
    objects[`${columnInternalName}Id`] = val.newValue.length === 0 ? null : val.newValue;
}

I have also corrected a spelling mistake at onSubmitClick
from, 'val.newValue.lenght'
          else if (fieldType === "UserMulti") {
            objects[`${columnInternalName}Id`] = { results: val.newValue.lenght === 0 ? null: val.newValue };
          }

To, 'val.newValue.length' as below.
else if (fieldType === "UserMulti") {
            objects[`${columnInternalName}Id`] = {
              results: val.newValue.length === 0 ? null : val.newValue,
            };
          }

Thanks,
Nishkalank Bezawada

@NishkalankBezawada Thanks heaps for your great work! (Relieved that it wasn't something I was doing wrong)

Thanks both.
The PR to fix this issue has been merged and the fix should be in the beta release in a few minutes

New release just published, closing


Problem with bootstrap 4.0 alpha 6

Solved in: https://github.com/Eonasdan/bootstrap-datetimepicker/issues/1996
CSS/SASS fix:
.fade
  &.in
    opacity: 1

.collapse
  &.in
    display: block

@batamire Hi, can you please close this as this has been solved as you said, thanks.


bpf.lbExternalClusterIP=true doesn't have any effect

Bug report
General Information

Cilium version (run cilium version)
1.10.3
Kernel version (run uname -a)
5.10.40
Orchestration system version in use (e.g. kubectl version, ...)
kubeadm
Link to relevant artifacts (policies, deployments scripts, ...)

    --set k8sServiceHost="<>" \
    --set k8sServicePort=6443 \
    --set hostServices.enabled=true \
    --set hubble.listenAddress=":4244" \
    --set hubble.relay.enabled=true \
    --set hubble.ui.enabled=true \
    --set externalIPs.enabled=true \
    --set ipam.operator.clusterPoolIPv4PodCIDR="<IP_ADDRESS>/12" \
    --set ipam.operator.clusterPoolIPv4MaskSize="22" \
    --set ipam.operator.clusterPoolIPv6PodCIDR="<>" \
    --set ipam.operator.clusterPoolIPv6MaskSize="64" \
    --set ipMasqAgent.enabled=true \
    --set ipv6.enabled=true \
    --set kubeProxyReplacement=strict \
    --set kubeProxyReplacementHealthzBindAddr="[::]:10256" \
    --set maglev.tableSize=65521 \
    --set maglev.hashSeed="<>"  \
    --set nativeRoutingCIDR="<IP_ADDRESS>/12" \
    --set loadBalancer.algorithm=maglev \
    --set loadBalancer.mode=hybrid \
    --set nodePort.enabled=true \
    --set prometheus.enabled=true \
    --set tunnel=disabled \
    --set autoDirectNodeRoutes=false \
    --set externalWorkloads.enabled=true \
    --set containerRuntime.integration=containerd \
    --set cni.exclusive=false \
    --set bpf.lbExternalClusterIP=true \
    --set bpf.masquerade=true \
    --set egressGateway.enabled=true \
    --set bpf.mapDynamicSizeRatio=.0050 \
    --set prometheus.enabled=true \
    --set prometheus.port=19380

Generate and upload a system zip:

 available on request

How to reproduce the issue

Enable bpf.lb.ExternalClusterIP=true
Attempt to access a ServiceIP hosted by kubeproxyreplacement
See the following messages when attempting to connect:
xx drop (Service backend not found) flow 0xf6c2b1f8 to endpoint 0, identity 16777249->unknown: :62561 -> <IP_ADDRESS>:80 tcp SYN

cilium bpf lb list shows a backend
<IP_ADDRESS>:80                               <IP_ADDRESS>:8080 (65)
<IP_ADDRESS>:0 (65) [ClusterIP]
The externalIPs service seems to be identical, and is reachable&routable:
<>.  :80                                 <IP_ADDRESS>:8080 (66)
<IP_ADDRESS>:0 (66) [ExternalIPs]

@gpl Thanks for the issue. The problem is that the Maglev table is not populated for the ClusterIP service. If you disable the Maglev feature, then it should work. Anyway, we are going to fix it.

Just an update, we recently updated to Cilium 1.11 and are still experiencing this issue.

I'm also encountering this issue. It presents slightly differently on both 0.10.6 and 0.11.0:

Configuration
cilium:
image:
  repository: cilium/cilium
  tag: v1.10.6   # Or v0.11.0, as per description
operator:
  repository: cilium/operator
  tag: v1.10.6   # Or v0.11.0, as per description
preflight:
  repository: cilium/cilium
  tag: v1.10.6   # Or v0.11.0, as per description

#policyEnforcementMode: always
policyEnforcementMode: never

kubeProxyReplacement: "strict"
k8sServiceHost: "{{ master_ipv6_address }}"
k8sServicePort: 6443

ipv6:
  enabled: true

encryption:
  enabled: false

l7Proxy: false

# Native routing for us
tunnel: disabled
nativeRoutingCIDR: {{ internal_ipv4 }}
# For cilium 1.11
ipv4NativeRoutingCIDR: {{ internal_ipv4 }}

# Provided by edge router for egress traffic to internet
enableIPv4Masquerade: false
enableIPv6Masquerade: false

bpf:
  # We want to be able to access services from outside the cluster
  lbExternalClusterIP: true

ipam:
  mode: cluster-pool
  clusterPoolIPv4PodCIDR:: "{{ cluster_cidr_ipv6 }}"
  clusterPoolIPv4MaskSize: 26
  clusterPoolIPv6PodCIDR: "{{ cluster_cidr_ipv6 }}"
  clusterPoolIPv6MaskSize: 82

# Uncommenting causes the issue
#loadBalancer:
#  mode: dsr

hostServices:
  enabled: true

hubble:
  relay:
    enabled: yes
  ui:
    enabled: yes

0.10.6 with DSR enabled

I can access Service CIDR IPs from the cluster nodes
I cannot access Service CIDR IPs externally to the cluster. Disabling DSR resolves this issue

0.11.0 with DSR enabled

I cannot access Service CIDR IPs from the cluster nodes. Disabling DSR resolves this issue
I cannot access Service CIDR IPs externally to the cluster. Disabling DSR resolves this issue

@adamcharnock Could you create a separate issue? This one is for Maglev, while your is when DSR is enabled (the root cause should be different). Also, please attach the sysdump.

just noting here, likely to be fixed by #18336

Re-opening as it looks like the issue still persists with quay.io/cilium/cilium-ci:v1.11
Client: 1.11.1 38d77d4 2022-02-11T14:36:28+00:00 go version go1.17.6 linux/amd64
Daemon: 1.11.1 38d77d4 2022-02-11T14:36:28+00:00 go version go1.17.6 linux/amd64

@gpl This got fixed by https://github.com/cilium/cilium/pull/18336 which hasn't been released yet.

@gpl This got fixed by #18336 which hasn't been released yet.

We pulled the latest image from quay.io/cilium/cilium-ci:v1.11 a few days ago, which had commit # 38d77d4 -- would the patch #18336 not be included there?

The PR wasn't backported to the v1.11, so it should not have the fix. You could try :latest instead.

Thank you for your reply -- we just attempted quay.io/cilium/cilium-ci:latest (I think cilium-ci:f08dda3df84f) but we are still seeing the same issue, Service backend not found.

It works. Tried running the latest master image (built with make dev-docker-image). Also, we have the CI suite which checks that too - https://github.com/cilium/cilium/blob/master/test/k8sT/Services.go#L746. Please check whether the service has backends.

Thank you for the clarification -- it looks like locally building the image did the trick.


⚠ DesiTorrents has degraded performance

In a30de17, DesiTorrents ($DST) experienced degraded performance:

HTTP code: 200
Response time: 7578 ms

Resolved: DesiTorrents performance has improved in 9af545d.


Upgrade multilogger

Separates logs by file for modules
Make the UniquenessCriteria earlier (before we create the temp dir)
Fix concurrent map read and write (terragruntOptions.Context)

Codecov Report

Merging #108 into master will increase coverage by 0.06%.
The diff coverage is 70%.

@@            Coverage Diff             @@
##           master     #108      +/-   ##
==========================================
+ Coverage   54.62%   54.69%   +0.06%
==========================================
  Files          54       54
  Lines        4655     4655
==========================================
+ Hits         2543     2546       +3
+ Misses       1820     1817       -3
  Partials      292      292

Impacted Files
Coverage Δ

cli/args.go
91.94% <0%> (+1.81%)
:arrow_up:

cli/cli_app.go
45.67% <0%> (ø)
:arrow_up:

options/options.go
72.02% <100%> (+0.5%)
:arrow_up:

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 b08de6d...329ae7f. Read the comment docs.


Fix wakepy install on linux (needs jeepney for dbus)

Since there are no methods for linux which do not depend on D-Bus, let's keep jeepney as required dependency for now.

Nothing was broken as per se but let's not require everyone on linux to install wakepy with pip install wakepy[dbus]


Run go mod tidy

Codecov Report

Merging #279 (a2d2236) into main (705d6ad) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #279   +/-   ##
=======================================
  Coverage   18.36%   18.36%
=======================================
  Files         134      134
  Lines       21115    21115
=======================================
  Hits         3877     3877
  Misses      16601    16601
  Partials      637      637

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 705d6ad...a2d2236. Read the comment docs.


feat: I/O safety for 'sys/statfs'

What this PR does:

Adds I/O safety for module sys/statfs.

This PR is pretty small as all we need to do is to change the interface of fstatfs(2):
from:
pub fn fstatfs<T: AsRawFd>(fd: &T) -> Result<Statfs>

to:
pub fn fstatfs<Fd: AsFd>(fd: &Fd) -> Result<Statfs>

Besides from the changes in module sys/statfs, there are two extra places where care needs to be taken:
$ cd nix

# Search for the usage of `fstatfs(2)` in `nix`
$ rg "fstatfs\("
test/test_fcntl.rs
386:        let statfs = nix::sys::statfs::fstatfs(&tmp).unwrap();
424:        let statfs = nix::sys::statfs::fstatfs(&tmp).unwrap();

CHANGELOG.md
849:- Now functions `statfs()` and `fstatfs()` return result with `Statfs` wrapper

src/sys/statfs.rs
769:        check_fstatfs("/tmp");
770:        check_fstatfs("/dev");
771:        check_fstatfs("/run");
772:        check_fstatfs("/");
775:    fn check_fstatfs(path: &str) {
781:        let fs = fstatfs(&file).unwrap();
830:        let fs = fstatfs(&file);

As you can see, fstatfs(2) is used in the tests in test/fcntl.rs:
// Test code that involves `fstatfs(2)`

 let tmp: NamedTempFile = NamedTempFile::new().unwrap();

 let fd = tmp.as_raw_fd();
 let statfs = nix::sys::statfs::fstatfs(&tmp).unwrap();

tmp is of type NamedTempFile, which does not implement AsFd in the current implementation of tempfile, but the implementation should be easy as it contains std::fs::File internally:
pub struct NamedTempFile {
    path: TempPath,
    file: File,
}

So I am thinking about making a PR to tempfile to make NamedTempFile AsFd, any thoughts on this?

Ohh, I am too stupid, we can actually call .as_file() on NamedTempFile to get &File to avoid this...


Upgrade to nextjs 9.5.1

Feature Name
We should upgrade to nextjs v9.5.1.
Summary description
Upgrade next to v9.5.1, shift the rewrites and redirects in nextjs.config.js up and and out of the experimental key, remove unstabe_ prefix from getStaticProps revalidate.
Rationale for why this feature is necessary
Since v9.5.0, the remaining experimental features we make use of ( unstable_revalidate, redirects+rewrites under experimental key in nextjs.config.js) are now marked as stable: https://github.com/vercel/next.js/releases/tag/v9.5.0

Consider superseding by #755. The Next 10 upgrade refactoring was very straightforward. Next 11 right around the corner.


Properly copy over .gitignore on published version of sapling

Currently npm strips out .gitignore files from the structure when publishing. We need to keep it around so that we can scaffold it into projects properly.

Tested as working with published version 0.3.3


Polymerizer

Tracker for the 'Polymerizer' part.  See diagram in #2
Discussion:

[ ] Form Factor
[x] Amount of Kerbals it can hold
[ ] Cost
[ ] Mass

Needs:

[ ] Model
[ ] Description
[ ] Config File

I believe this is a 0-Kerbal part.

Part config: https://github.com/DanStaal/DStaal_UKS_KPBS_Addons/blob/Community_Dev/New_Parts/Polymerizer.cfg


fix internal DNS

This fixes our internal DNS naming.  In particular:

this sets all instance hostnames to match their names in the
private route 53 hosted zone (for example,
multi-1.test.openregister)
this sets DHCP options sets so that the DNS search domain makes
sense for the environment (for example, test.openregister)
this adds a DNS record for the bastion (for example,
bastion.test.openregister)

Before this change, each machine has a hostname that isn't
resolvable.  The hostname is set to something like ip-10-11-12-13, but
neither /etc/hosts nor the nameservers in /etc/resolv.conf can resolve
this into an IP address.  A number of tools get confused by
this (including the default sudo on ubuntu).
This also provides other benefits: for example, a more meaningful
hostname is more helpful in logs and metrics.

👎

Context: we had a chat about this and decided it's not worth the effort for solving the problem we see. The problem we see is sudo warning that it can't resolve the hostname which really isn't a big deal (maybe).

The other thing we discussed is that this proposed solution wouldn't work if we moved to autoscaling 💩


[Addition]:

Hotspot b58 Addresses
11qs5vZtNk9svTG8ffDFxp88JuwjDxUnGCcF17FTGq4iMnaFKm1
112vsLqhAdsgYrSqDry6DMqwquqGpcyjnKNQEqvo8gECptJvBRmA
116wcx4YXaCb6h3ETnbhfBAbDMEghRpgy3QbGz2aXmUm4aNqYeE
Discord Handle
No response
Reason(s)
This is a cluster of many hotspots witnessing each other only.
Hotspots only witnessing each other

Spammer - reported to Github


accept roman numerals as numbers

Could you add in a rule for roman numerals as well as numbers. I managed to say "OK Google, tell Plex to play Frozen eye eye" for "Frozen II" but not "Frozen 2".

Added in 1.0.0. Please check out the update guide


把貢獻者表的隨機詞條從 api 中拔除

Coverage increased (+0.1%) to 94.323% when pulling 3b5db964657ff572f85bc7e97c56f2e8acbf7639 on 貢獻者表不回傳隨機詞條_Fix into 48c94730fb3e8c642441db88c4e7390194c33ccd on master.

Coverage increased (+0.1%) to 94.315% when pulling 6d3da312251074a8fd591ce9d7f37821ada46204 on 貢獻者表不回傳隨機詞條_Fix into 48c94730fb3e8c642441db88c4e7390194c33ccd on master.


fix docker build

Codecov Report
Base: 94.68% // Head: 94.68% // No change to project coverage :thumbsup:

Coverage data is based on head (5480d6e) compared to base (dd739b1).
Patch coverage: 80.00% of modified lines in pull request are covered.

:exclamation: Current head 5480d6e differs from pull request most recent head cc30be1. Consider uploading reports for the commit cc30be1 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #26   +/-   ##
=======================================
  Coverage   94.68%   94.68%
=======================================
  Files          11       11
  Lines        1053     1053
=======================================
  Hits          997      997
  Misses         56       56

Impacted Files
Coverage Δ

now_lms/version.py
91.66% <80.00%> (ø)

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[stable/nats] fix service templates for setting loadBalancerIP

Is this a new chart
No
What this PR does / why we need it:
This PR fixes chart installation with loadBalancerIP parameter set
Which issue this PR fixes
N/A
Special notes for your reviewer:
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/ok-to-test
/lgtm


Error: undefined method `name' for nil:NilClass

➜  ~ brew upgrade minikube
Error: undefined method name' for nil:NilClass Please report this issue:   https://docs.brew.sh/Troubleshooting /usr/local/Homebrew/Library/Homebrew/cli/named_args.rb:183:in warn_if_cask_conflicts'
/usr/local/Homebrew/Library/Homebrew/cli/named_args.rb:62:in block in to_resolved_formulae_to_casks' /usr/local/Homebrew/Library/Homebrew/cli/named_args.rb:59:in each'
/usr/local/Homebrew/Library/Homebrew/cli/named_args.rb:59:in to_resolved_formulae_to_casks' /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:76:in upgrade'
/usr/local/Homebrew/Library/Homebrew/brew.rb:113:in `'

Please fill out the issue template which includes further information about your current Homebrew setup.

Output of brew config:
brew config
HOMEBREW_VERSION: 2.4.14
ORIGIN: https://github.com/Homebrew/brew
HEAD: fa39db0192c3641ed18abf93371c31e3a220348f
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: ed670c7b589cbfd1accac224b9b4e6a7e41a6a45
Core tap last commit: 16 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.sHlXcxjTp3/org.macosforge.xquartz:0
HOMEBREW_MAKE_JOBS: 12
CPU: dodeca-core 64-bit kabylake
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
Clang: 11.0 build 1103
Git: 2.24.3 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.64.1 => /usr/bin/curl
Java: 14.0.2, 13.0.1, 11.0.5, 10.0.1, 1.8.0_172
macOS: 10.15.6-x86_64
CLT: N/A
Xcode: 11.5
XQuartz: 2.7.11 => /opt/X11
Output of brew doctor:
lease note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
Warning: Some installed formulae were deleted!
You should find replacements for the following formulae:
python@2
mongodb
Warning: "config" scripts exist outside your system or Homebrew directories.
./configure scripts often look for *-config scripts to determine if
software packages are installed, and which additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew-provided
script of the same name. We found the following "config" scripts:
/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6m-config
/Library/Frameworks/Python.framework/Versions/3.6/bin/python3-config
/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6-config
/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7-config
/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7m-config
/Library/Frameworks/Python.framework/Versions/3.7/bin/python3-config
Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run brew link on these:
python@2
docker-machine
minikube
libsigc++@2
node
<EMAIL_ADDRESS>Error: unknown or unsupported macOS version: :mountain_lion

https://github.com/Homebrew/brew/pull/8539 probably fixed this. We might need a new release. @fg78nc if you run HOMEBREW_DEVELOPER=1 brew update && brew upgrade minikube does the error still happen?

@jonchang @fg78nc No need to run that, I've just tagged 2.4.15 so you can brew update and this should be fixed.

Sorry, not resolved by update.
➜  ~ brew update
fatal: couldn't find remote ref refs/heads/master
Error: Fetching /usr/local/Homebrew/Library/Taps/pivotal-cf/homebrew-om failed!
➜  ~ brew upgrade minikube
Error: undefined method name' for nil:NilClass Please report this issue:   https://docs.brew.sh/Troubleshooting /usr/local/Homebrew/Library/Homebrew/cli/named_args.rb:184:in warn_if_cask_conflicts'
/usr/local/Homebrew/Library/Homebrew/cli/named_args.rb:63:in block in to_resolved_formulae_to_casks' /usr/local/Homebrew/Library/Homebrew/cli/named_args.rb:60:in each'
/usr/local/Homebrew/Library/Homebrew/cli/named_args.rb:60:in to_resolved_formulae_to_casks' /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:76:in upgrade'
/usr/local/Homebrew/Library/Homebrew/brew.rb:113:in `'
➜  ~

@fg78nc, please enclose code blocks and command outputs in triple backticks (```) to preserve newlines / whitespaces -- see https://guides.github.com/features/mastering-markdown/ for more information for more info -- it'll be easier for maintainers to spot the problem.
The line that causes your issue is
opoo "Treating #{ref} as a #{loaded_type}. For the cask, use #{cask.tap.name}/#{cask.token}"

So, it's cask.tap which is Nil. Could you please share the output of brew info minikube on your system?

@maxim-belkin
➜  ~ brew info minikube
minikube: stable 1.12.3 (bottled), HEAD
Run a Kubernetes cluster locally
https://minikube.sigs.k8s.io/
/usr/local/Cellar/minikube/1.10.1 (8 files, 61.0MB)
  Poured from bottle on 2020-05-26 at 10:30:01
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/minikube.rb
License: Apache-2.0
==> Dependencies
Build: go ✔, go-bindata ✘
Required: kubernetes-cli ✘
==> Options
--HEAD
	Install HEAD version
==> Analytics
install: 33,143 (30 days), 90,535 (90 days), 387,450 (365 days)
install-on-request: 27,299 (30 days), 75,704 (90 days), 329,604 (365 days)
build-error: 0 (30 days)

What shall I do in regards to cask.tap which is Nil?

Try
brew update-reset $(brew --repo)
brew update-reset $(brew --repo homebrew/core)
brew upgrade minikube

brew upgrade minikube
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 3 taps (cloudfoundry/tap, homebrew/cask-versions and homebrew/cask).
==> Updated Formulae
Updated 1 formula.
==> New Casks
flying-carpet
==> Updated Casks
app-cleaner    blender        funter         jamovi         jellyfin       kubernetic     pastebot       ringcentral    tuxera-ntfs    voov-meeting   zappy          zotero

Error: undefined method `name' for nil:NilClass
Please report this issue:
  https://docs.brew.sh/Troubleshooting
/usr/local/Homebrew/Library/Homebrew/cli/named_args.rb:184:in `warn_if_cask_conflicts'
/usr/local/Homebrew/Library/Homebrew/cli/named_args.rb:63:in `block in to_resolved_formulae_to_casks'
/usr/local/Homebrew/Library/Homebrew/cli/named_args.rb:60:in `each'
/usr/local/Homebrew/Library/Homebrew/cli/named_args.rb:60:in `to_resolved_formulae_to_casks'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:76:in `upgrade'
/usr/local/Homebrew/Library/Homebrew/brew.rb:113:in `<main>'

brew upgrade -d minikube

brew upgrade -d minikube
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 4 taps (homebrew/cask-versions, homebrew/core, homebrew/cask and homebrew/services).
==> New Formulae
clang-format@8
==> Updated Formulae
Updated 88 formulae.
==> New Casks
aleph-one
==> Updated Casks
alfred ✔            fsnotes             keysmith            metasploit          obsidian            opera-developer     telegram            usenapp             whatsapp
brook               jetbrains-toolbox   lrtimelapse         microsoft-edge      opera               pcoipclient         unity               voov-meeting
==> Deleted Casks
alephone

/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/minikube.rb
Error: undefined method `name' for nil:NilClass
Please report this issue:
  https://docs.brew.sh/Troubleshooting
/usr/local/Homebrew/Library/Homebrew/cli/named_args.rb:184:in `warn_if_cask_conflicts'
/usr/local/Homebrew/Library/Homebrew/cli/named_args.rb:63:in `block in to_resolved_formulae_to_casks'
/usr/local/Homebrew/Library/Homebrew/cli/named_args.rb:60:in `each'
/usr/local/Homebrew/Library/Homebrew/cli/named_args.rb:60:in `to_resolved_formulae_to_casks'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:76:in `upgrade'
/usr/local/Homebrew/Library/Homebrew/brew.rb:113:in `<main>'

Sorry, this will be fixed in the next Homebrew stable release.

Also getting this with brew doctor

@dmc2015 Please open a new issue and fill out the template, thanks!


Support registry to registry direct relocation

[ ] Introduce a command kbld relocate -f install.yml --repository my.internal.reg that will skip writing the image layers to disk and will stream them directly to the new repository.

[ ] kbld relocate supports the --lock-output flag to maintain a mapping from manifest image locations to current image locations. See packaging docs for more details on the workflow

# new lock file containes manifest images => digest references in new repo
kbld relocate -f images.lock --repository <dst registry> --lock-output relocated-images.lock
kbld relocate -f images.lock -r <dst registry> --lock-output relocated-images.lock

https://github.com/k14s/kbld/releases/tag/v0.23.0 includes this feature.


[dragon-prince] roll20-character-sheets/Dragon-Prince-fanmade/ not showing up in Roll20 correctly.

I'm seeing an issue with the character sheet dragon-prince.
The Author and preview shows up as null, when I try to select it. When I select it and create a game, character sheets show up as blank.  Additionally, as this is being looked at could it be moved from under "Cortex Plus" to "Cortex System" please?

Thanks!
Senjak

Still not showing up correctly after latest update.  Please let me know if there is something else I should do.

The exact same thing is happening with my new sheet for Escape from Dino Island. They have someone looking into it, but it's a weird issue apparently, and may take some time to sort out.

Oh sweet!  Escape from Dino Island!  I wrote one once upon a time, but never published it.  That looks to be a very fun game!

It's fantastic - really nails the vibe, and so well produced! I don't love reading TTRPG books, so I was making sheets for ones I've played/run that are awesome and don't have sheets.

@apsalari and @cbkcook I think these have now been resolved. Can you both confirm that this is now working?

Escape from Dino Island is showing up properly for me - thanks!


USB passthrough does not work in UTM, but is possible with QEMU(?)

I'm using the latest UTM 2.0.25, MacOS Big Sur on an M1 Macbook Air 2020.
My guest OS is Windows XP SP3 and was installed using the configuration from the UTM Gallery.
I need to use a piece of software only supported by Windows XP with a USB FTDI serial-to-usb device.
I'm trying to pass USB from the host to guest by adding the following additional QEMU argument to the VM in UTM:
-usb -device usb-host,productid=0x6001,vendorid=0x0403
I have tried adding the command on one 'line' and also split by spaces (as it appears the generated QEMU argument list is built this way - with no luck).
When I start the VM, I get the following error:
libqemu-x86_64-softmmu.utm.dylib: -device usb-host,productid=0x6001,vendorid=0x0403: 'usb-host' is not a valid device model name
While trying to get this working, I have built a version of QEMU from source, and I can use the argument above to successfully boot the XP guest and pass the USB device through, so it is theoretically possible to support USB passthrough, although it seems UTM's version of QEMU does not allow it?
For some reason, my version of QEMU built from source is so slow and is unusable. It takes about 15 minutes to boot to desktop (!!!) and is unusably slow. UTM's emulation is MUCH faster and is more than usable - I'd also much prefer using UTM for the GUI.
Is there any way to enable USB passthrough in UTM? Or can I rebuild UTM's QEMU with USB passthrough support?

Duplicate of #46

Sorry, I'm not sure how this is a dupelicate of #46. I'm talking about the MacOS app, not the iOS app.

Same issue here. Any solution for M1 UTM/QEMU to passthrough a USB device?

The issue was closed because #46 tracked the progress for integrating libusb into UTM. It was originally phrased for iOS because there was no macOS version at the time. It has now been implemented in v2.1.1 and should work by enabling it in the configuration (Sharing) and selecting your usb device from the toolbar.

@osy

should work by enabling it in the configuration (Sharing) and selecting your usb device from the toolbar

sorry I have no idea how to enable  this, trying everything in the interface. Can you pls elaborate on this ?

ah ok I've found it. Took me a while to find that button

FYI in the next release it will be moved to Input.

Same thing I am looking for so that from M1 MAC USB tty can ported inside the VM and from there to inside docker container.

How's it working in UTM/QEMU?
I saw that FTDI released VCP drivers for Windows Arm. but much of embedded drivers are still x86 only.
Did you guys managed to get x86 usb drivers working?

Yes it worked perfectly

You used via x86 or windows arm?

I did everything mentioned here. I do not see my device listed in the usb device ( a keyboard )

I did everything mentioned here. I do not see my device listed in the usb device ( a keyboard ). I am using 3.2.3 (57) on a M1 max MacBook Pro

There’s been an usb issue that’s being fixed in the next release. For now try 3.1.5

Any updates on this issue?  I am on 3.2.4.  I share the device, but I don't see it ever become available in my linux guest with lsusb.

This does not work for me with a ath9k Atheros 802.11n USB device using QEMU 7.1.0.
The driver will load but there are varioiius errors that prevent the device from being made depending how the wind blows.
Guest Linux dmesg log:
[   25.135311] usb 3-3: new high-speed USB device number 2 using xhci_hcd
[   25.286005] usb 3-3: New USB device found, idVendor=0cf3,
idProduct=9271, bcdDevice= 1.08
[   25.286020] usb 3-3: New USB device strings: Mfr=16, Product=32,
SerialNumber=48
[   25.286023] usb 3-3: Product: USB2.0 WLAN
[   25.286025] usb 3-3: Manufacturer: ATHEROS
[   25.286027] usb 3-3: SerialNumber: 12345
[   25.288842] usb 3-3: can't set config #1, error -71
UTM log:
Running:  -L /Applications/UTM.app/Contents/Resources/qemu -S -qmp tcp:
<IP_ADDRESS>:4000,server,nowait -nodefaults -vga none -spice
"unix=on,addr=/Users/ball/Library/Group
Containers/WDNLXAD4W8.com.utmapp.UTM/36789C18-E6FC-4A58-B549-6B00E11C96AF.spice,disable-ticketing=on,image-compression=off,playback-compression=off,streaming-video=off,gl=off"
-device virtio-ramfb -cpu host -smp cpus=4,sockets=1,cores=4,threads=1
-machine virt, -accel hvf -accel tcg,tb-size=256 -drive
if=pflash,format=raw,unit=0,file=/Applications/UTM.app/Contents/Resources/qemu/edk2-aarch64-code.fd,readonly=on
-drive
"if=pflash,unit=1,file=/Users/ball/Library/Containers/com.utmapp.UTM/Data/Documents/ParrotOS
arm64 KDE.utm/Images/efi_vars.fd" -boot menu=on -m 1024 -device intel-hda
-device hda-duplex -name "ParrotOS arm64 KDE" -device
nec-usb-xhci,id=usb-bus -device usb-tablet,bus=usb-bus.0 -device
usb-mouse,bus=usb-bus.0 -device usb-kbd,bus=usb-bus.0 -device
qemu-xhci,id=usb-controller-0 -chardev
spicevmc,name=usbredir,id=usbredirchardev0 -device
usb-redir,chardev=usbredirchardev0,id=usbredirdev0,bus=usb-controller-0.0
-chardev spicevmc,name=usbredir,id=usbredirchardev1 -device
usb-redir,chardev=usbredirchardev1,id=usbredirdev1,bus=usb-controller-0.0
-chardev spicevmc,name=usbredir,id=usbredirchardev2 -device
usb-redir,chardev=usbredirchardev2,id=usbredirdev2,bus=usb-controller-0.0
-device usb-storage,drive=cdrom0,removable=true,bootindex=0,bus=usb-bus.0
-drive if=none,media=cdrom,id=cdrom0 -device
virtio-blk-pci,drive=drive0,bootindex=1 -drive
"if=none,media=disk,id=drive0,file=/Users/ball/Library/Containers/com.utmapp.UTM/Data/Documents/ParrotOS
arm64 KDE.utm/Images/data.qcow2,discard=unmap,detect-zeroes=unmap" -device
virtio-net-pci,mac=26:62:F6:DE:8E:59,netdev=net0 -netdev
vmnet-shared,id=net0 -device virtio-serial -device
virtserialport,chardev=vdagent,name=com.redhat.spice.0 -chardev
spicevmc,id=vdagent,debug=0,name=vdagent -device
virtserialport,chardev=charchannel1,id=channel1,name=org.spice-space.webdav.0
-chardev spiceport,name=org.spice-space.webdav.0,id=charchannel1 -uuid
36789C18-E6FC-4A58-B549-6B00E11C96AF -rtc base=localtime -device
virtio-rng-pci
qemu-aarch64-softmmu: warning: Spice: playback:0 (0x12c8d6140): setsockopt
failed, Operation not supported on socket
qemu-aarch64-softmmu: warning: Spice: record:0 (0x12c8d61e0): setsockopt
failed, Operation not supported on socket

FWIW the same exact OS can use the exact same USB device via Parallels Desktop (although the video freezes so that's also a no-go, hopefully a bug in the kernel module that will be fixed in the future)

While trying to get this working, I have built a version of QEMU from source, and I can use the argument above to successfully boot the XP guest and pass the USB device through, so it is theoretically possible to support USB passthrough, although it seems UTM's version of QEMU does not allow it? For some reason, my version of QEMU built from source is so slow and is unusable. It takes about 15 minutes to boot to desktop (!!!) and is unusably slow. UTM's emulation is MUCH faster and is more than usable - I'd also much prefer using UTM for the GUI.

@cobbm How exactly did you compile QEMU with usb support? I tried building it, but still ended up with the same issue.

I'm using UTM 4.0.9 from App Store and I can't connect an external USB SSD (NVMe) to a Linux VM regardless of the USB. Here is the kernel log with USB 2.0 selected, the error with USB 3.0 is similar.

I'm experiencing the same issues with a Samsung T7 USB SSD.
When the device is plugged into the Lenovo L32p-30 which has a USB HUB operating in USB 2.0 mode, the SSD is properly recognised.

But when the same drive is plugged directly into the Macbook it fails to detect the drive:

The UTM USB sharing mode in both cases is USB 2.0.

June 2023 New Mac mini M2 here, UTM Ver 4.2.5 (81)
VM: Debian from the UTM list.
Two USB devices: C-Media CM108 for sound, FTDI serial for radio programming,
on a SATECHI stand-hub for the Mac mini. (plugs into the FireWire port)
Both available to other Mac software.
VM settings -> Input: USB2
VM dmesg and lsusb, nothing found (except keyboard, mouse etc.)

I'm experiencing the same issues with a Samsung T7 USB SSD.

same problem here with same device

All I'm trying to do, is to see a Time Machine USB drive in the guest OS so that I can restore some files.  The method above to use sharing does not seem to work.  Just adding a note here so that this use case is visible.

would be a killer feature if i could use UTM to install any linux / freebsd iso via UTM on an external SSD and boot that SSD in UTM to do some more config / setup. Where when i'm done i could put the drive in a machine and boot that SSD. Or just test learn how to work with such a distro.

ah ok I've found it. Took me a while to find that button

It's not the same for me...

How I can turn on USB sharing here?

Oh, I see, this is because Apple virtualisation...

Update (for my use case): UTM is now worse than ever before. The kmod loads but no device ever shows. Tried with two different distros of linux. CPU load also goes crazy high

With Windows VM, it's only possible read files but to copy files to the USB SSD. Windows only shows the error message that the file is too large for the filesystem (which is not true, tested with NTFS and exFAT).


Add Helm charts

Add the first version of Helm charts to the repo, so users can install Cloud Native Security Inspector and its dependencies using a single command without cloning the repo.
Implement: #54

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop-0.3@65cb21f). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             develop-0.3     #188   +/-   ##
==============================================
  Coverage               ?   43.70%
==============================================
  Files                  ?       10
  Lines                  ?     1167
  Branches               ?        0
==============================================
  Hits                   ?      510
  Misses                 ?      624
  Partials               ?       33

Flag
Coverage Δ

unittests
43.70% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


add-font can't handle unknown weights (e.g. IBM Plex Sans "Text")

Connected to but separate from #93, because this also matters for static fonts.
add-font.py is unable to successfully run on IBM Plex, unless the "Text" styles are temporarily removed from the directory.
At minimum, we should consider adding "Text" as a known weight, though I think it might be useful if we could allow arbitrary style names, as Plex is definitely not the only typeface to have a non-standard style name.
The only reason I can see to not have this functionality is if the METADATA.pb file is only useful to point out "standard" weights, aligning to the traditional 100–900 CSS weight range. However, as MDN points out, in the CSS Level 4 font spec it is acceptable to specify any value font font-weight, from 1–1000. So, if we can't use this now, we will probably at least want to use it soon.
Current error when trying to add Plex:
$ gftools add-font /Users/stephennixon/type-repos/google-font-repos/fonts/ofl/ibmplexsans
------------------------------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/stephennixon/type-repos/google-font-repos/plex/venv/bin/gftools-add-font.py", line 269, in <module>
    app.run(main)
  File "/Users/stephennixon/type-repos/google-font-repos/plex/venv/lib/python3.7/site-packages/absl/app.py", line 300, in run
    _run_main(main, args)
  File "/Users/stephennixon/type-repos/google-font-repos/plex/venv/lib/python3.7/site-packages/absl/app.py", line 251, in _run_main
    sys.exit(main(argv))
  File "/Users/stephennixon/type-repos/google-font-repos/plex/venv/bin/gftools-add-font.py", line 255, in main
    metadata = _MakeMetadata(fontdir, is_new)
  File "/Users/stephennixon/type-repos/google-font-repos/plex/venv/bin/gftools-add-font.py", line 116, in _MakeMetadata
    file_family_style_weights = _FileFamilyStyleWeights(fontdir)
  File "/Users/stephennixon/type-repos/google-font-repos/plex/venv/bin/gftools-add-font.py", line 91, in _FileFamilyStyleWeights
    result = [fonts.FileFamilyStyleWeight(f) for f in files]
  File "/Users/stephennixon/type-repos/google-font-repos/plex/venv/bin/gftools-add-font.py", line 91, in <listcomp>
    result = [fonts.FileFamilyStyleWeight(f) for f in files]
  File "/Users/stephennixon/type-repos/google-font-repos/plex/venv/lib/python3.7/site-packages/gftools/util/google_fonts.py", line 464, in FileFamilyStyleWeight
    sw = StyleWeight(m.group(2))
  File "/Users/stephennixon/type-repos/google-font-repos/plex/venv/lib/python3.7/site-packages/gftools/util/google_fonts.py", line 448, in StyleWeight
    return ('normal', _KNOWN_WEIGHTS[styleweight])
KeyError: 'Text'

The API doesn't currently support the Text style, so this issue is invalid.


URI Routing two bugs

I found two bugs in URI Routing in version 3.1.1, in version 3.1.0 was no such!
First. If named function same name controller.
Example:
class Bug extends CI_Controller
{

	function bug()
	{
		exit(1);
	}

}

Link http://site/bug/bug does not work!
Second. If add to existing function any URI segment in URL without routes.php not shown error 404.
Example:
http://site/bug/bug/dawdad
http://site/bug/bug/3123
http://site/bug/bug/dawdad/3123/dad/3123/...

Same for my Index/index:
class Index extends CI_Controller {
    public function index () {
    }
}

When I debug into the source I found in line 419 of CodeIgniter.php there is a is_callable check for controller class method:
elseif ( ! is_callable(array($class, $method)))
{
    $e404 = TRUE;
}

I am not sure why my index controller class method is not callable?

You did miss something, at least 2 things actually ...

A class::method pair with matching names is a PHP 4 style constructor and there is a note about it in the documentation. I don't agree with is_callable() returning false for such methods, but that's the reason it does it.
The Index controller name specifically is and has always been a reserved name, for that reason and because we use index() as the default method to call in a controller.

And I know what you'd say to that: "But it worked in previous versions!"
Well, it may have worked without side effects if you also had a __construct() method, which overrides the PHP 4 constructor, but the point is - this is a PHP thing that we can't control.
Also, a note to @Epexa: We don't appreciate double posting.

@narfbg What can you say about second issue "URI segment in URL without routes.php not shown error 404"

Your "second issue" I can't even understand. You're kind of treating this as if it was a forum thread ... which is one of the reasons why we often tell people to write on the actual forums instead.

Also, please note that not every problem that you experience is a bug, but if you do have multiple ones - you should report them separately.

@narfbg Ok, see https://github.com/bcit-ci/CodeIgniter/issues/4882 !


Hitting Enter key when editing value

Hi,
I am using jsGrid on a form which also has a button that opens a Jquery UI dialog.  The jsGrid is set to edit on only one column, defined as follows:
{ name: "quantity", type: "number", width: 50, editing:true},
When I edit the value in the above column - either by typing in a new number or by clicking the up/down arrow - and then hit enter, the Jquery UI dialog is shown when enter is hit.
The button to show the dialog does not have focus (as far as I can see) as the row in the jsGrid has just been clicked.
What I'd like to happen is that the new value is accepted when I hit enter - no dialog should be shown.
Thanks,
Ashley

The built-in keyboard support is an upcoming feature. What you could do for now is in onRefreshed callback set tabindex for <tr> (so that they will take keyboard focus) and handle Enter key attaching keypress handler. In this handler - call updateItem method without parameters.

unfortunately this doesn't seem to work - I added code to alert when onRefreshed is called and I can see it firing but not when the value in a cell is edited:
onRefreshed: function(args) {
alert("!");
}

Yes, sure, it's fired when data is rendered. So on this callback you just add necessary handlers and properties. Real handling and updateItem call should be done in keypress handler, which you attach  in onRefreshed callback.

thanks again.  I know that this is probably quite straightforward, but I have no idea how to do it.  Are you able to share sample code or point me in the right direction?
Thanks,
Ashley

the main idea is the following:
onRefreshing: function(args) {
    $("#jsGrid").find("tbody tr")
        .attr("tabindex", -1) // to make rows focussable
        .on("keydown", function(e) {
            // handle Enter key
            if(e.which === 13) {
                args.grid.updateItem();
                e.preventDefault();
            }
        });
}

I didn't tested the code, let me know if you need help to follow up.

thanks once again...but unfortunately it didn't stop the enter key from triggering a button press elsewhere on the form.
As before, I put an alert in to see when it was firing and it doesn't fire when the enter key is pressed.
Ashley

Could you provide a jsfiddle (or another demo) to show the problem?

requested permissions to access it.

The solution is your case should be a little bit different. Here you just have to handle keydown on the quantity field like following:
    { name: "quantity", type: "number", width: 50, editing:true,
        editTemplate: function(value) {
          var $result = jsGrid.fields.number.prototype.editTemplate.call(this, value);
          $result.on("keydown", function(e) {
            if(e.which === 13) {
                $("#jsGrid").jsGrid("updateItem");
                return false;
            }
          });
          return $result;
        }
      }

thank you, this works great.  I really appreciate your help.
Ashley

Also trying to add keyboard support on a text field:
jsGrid.fields.text.prototype.editTemplate.call(this, value) is throwing Uncaught RangeError: Maximum call stack size exceeded, any clue?

After bumping into this problem myself, I worked out a very easy way to accomplish saving a row when a user presses enter:
    $('#table-container-div').off().on('keydown','input[type=text], input[type=number]',(event) => {
        if(event.which === 13){ // Detect enter keypress
            args.grid.updateItem(); // Update the row
        }
    });```


Refactor code for walking bean properties

Now there is only one queue, and the different types of nodes do the
work visiting the properties/expanding the collections.

@lptr Please have another look.


[stable/grafana] upgrade to 6.2.4

Signed-off-by: David J. M. Karlsen<EMAIL_ADDRESS>What this PR does / why we need it:
Upgrades to latest release 6.2.4 - which is important since 6.2.3 was retracted.
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md
[X] Title of the PR starts with chart name (e.g. [stable/chart])

/assign @cpanato

Fixes #14878

/lgtm

The CI build seems like it timed out? This just tripped us up too 🤦♂

/retest


refactor: simplify delay call in kcpconnection.tick

[ ] todo remove magic number 10, Should it just be UniTask.Yield instead to wait 1 frame

ps: not sure what PR title prefix should be

are you going to remove the magic number?  or that would be separate?


Not able to build gradle

Error:(13, 0) Could not get unknown property 'Grgit' for object of type org.gradle.api.internal.plugins.DefaultExtraPropertiesExtension.

Can you add some more information, like OS, Gradle version, command line vs. IDE, etc?
Make sure you are using the Gradle Wrapper to invoke the build, rather than your system's Gradle installation.  That is the gradlew script in the base project directory.


How to use ngram full-text parser for indexing and data migration

How to use ngram full-text parser for indexing and data migration

I am currently using it, but I am unable to resolve it. Please seek help


refactor!: make patch_style & reset_style chainable

Previously, patch_style and reset_style in Text, Line and Span were using a mutable reference to Self. To be more consistent with the rest of ratatui, which is using fluent setters, these now take ownership of Self and return it.
Closes #644

I use .patch_style on a field in struct:
struct Config {
    calendar: Style
}

fn user_config() {
  // ...
  config.calendar.patch_style(Style::default().fg(color_from_user_input))
  // ...
}

I wouldn't be able to do this though if .patch_style takes an owned value.

calendar: Style

I wouldn't be able to do this though if .patch_style takes an owned value.

This doesn't change Style.patch_style, which already takes an owned value for the style parameter. Style implements Copy, so it doesn't really matter if it's owned.
I think maybe you're talking about not being able to do this on Lines/Spans that are stored?

Kind of messed up the rebase but its up to date now.

My bad, didn't review the code changes properly. I don't store Span in a struct, so this wouldn't be a problem for me. I'm assuming storing Span and then patching it is uncommon.

@Valentin271 the doc tests are failing.

I forgot to update the tests after the Line update.
I'd like another review on this because I modified the examples to be more concise and better demonstrate the effect. Before that the examples were the exact same as the tests.


add prepublish-script and update the 'main' and 'files' properties

@automatthew we are using patchboard-js in the browser and are currently using a fork in order to bundle it. Do you have a timeline for publishing it as a js package?

I can't review until later this week.  Would you email me about this on Thursday?

@automatthew any update on this?


Idling Resource - Message indicating that the resource has transitioned from busy to idle was never sent

We have come across an issue with the ApolloIdlingResource that causes our Espresso tests to fail.
With the current ApolloIdlingResource our tests fail intermittently due to the below error:
java.lang.IllegalStateException: Resource apollo-client isIdleNow() is returning true, but a message indicating that the resource has transitioned from busy to idle was never sent.
at android.support.test.espresso.base.IdlingResourceRegistry$Dispatcher.handleRaceCondition(IdlingResourceRegistry.java:481)
at android.support.test.espresso.base.IdlingResourceRegistry$Dispatcher.handleMessage(IdlingResourceRegistry.java:403)
at android.os.Handler.dispatchMessage(Handler.java:101)
at android.support.test.espresso.base.Interrogator.loopAndInterrogate(Interrogator.java:160)
at android.support.test.espresso.base.UiControllerImpl.loopUntil(UiControllerImpl.java:472)
at android.support.test.espresso.base.UiControllerImpl.loopMainThreadUntilIdle(UiControllerImpl.java:381)
at android.support.test.espresso.ViewInteraction$2.call(ViewInteraction.java:261)
at android.support.test.espresso.ViewInteraction$2.call(ViewInteraction.java:258)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

Looking into the issue it appears that the callback.onTransitionToIdle(); code is not run as the callback is null at the point the apolloClient.idleCallback() is made.
Moving the callback to the isIdleNow() method appears to resolve the issue for us.
isIdleNow method changes:
    @Override
    public boolean isIdleNow() {
        boolean idle = (apolloClient.activeCallsCount() == 0);

        ResourceCallback callback = ApolloIdlingResource.this.callback;
        if (idle && callback != null) {
            callback.onTransitionToIdle();
        }

        return idle;
    }

For our test setup we register the resource before and unregister after each test:
IdlingRegistry.getInstance().register(apolloIdlingResource);
IdlingRegistry.getInstance().unregister(apolloIdlingResource);
Where our apolloIdlingResource is:
private ApolloIdlingResource apolloIdlingResource = ApolloIdlingResource.create("apollo-client", apolloClient);
Is there a better solution to this issue?

@VisheshVadhera mind taking a look, not sure if something jumps out at you.

@digitalbuddha @shendriksen Somehow completely missed the mention. Let me take a look and get back.

Any update on this? Is this still reproducable? We have been using the idling resource support on our project and we never got such crash. Can you double check how you integrate?

@tasomaniac  yes just got it over here espresso-core:3.2.0 "java.lang.IllegalStateException: Resource is user in cache isIdleNow() is returning true, but a message indicating that the resource has transitioned from busy to idle was never sent." what happened was i want to wait until some request get done so i put this on a sharedpref mock and using a map and it was checking for a value in it

It would be great if you can share your setup. I guess it may depend on the setup. We have this IdlingResource integrated in our project for ~6months and had no issues so far.

Hi 👋 Can you try with Apollo Android 3?

Closing as obsolete. Please leave a message if anyone's bumping into this


compound.py not finding bot ID's

Hello, I'm on a raspberry pi with Bullseye. I'm not sure if this is a bug or most likely something I'm doing wrong. when I run python3 ./compound.py each bot ID i setup in the .ini comes back as not found.
Error Occurred compounding bots: other error occurred: not_found Not Found None
This happens for each bot id, I have triple checked each bot id # is correct. i have also put in my 3commas api and key.
Also, when i try to run the command to view the error log errors come up saying path could not be found, I noticed in the errors it shows path /home/ron... even though i had edited the compound files in /scripts to reflect the correct username and path.
any quick things to check?

What syntax does you botids  settings line use?
Did you install the files from the scripts directory, just editing is not enough

First, I want to thank you for these bot helpers. they are incredible and I hope I am able to get them working.
I put the numerical ID of the bots [12345678, 87654321]
what is the command to install the .service files from the scripts folder?

Ok, i re-read the directions and yes I had ran the systemctl commands for the 3commas-compound-bot.service . I ran them again and verified no errors. Attaching an image of the status check

Edit the paths inside the files you need then install as described here:
https://github.com/cyberjunky/3commas-cyber-bots#start-automatically

I had updated the paths already, but i think i found my problem. looks like i was using the deal ID, it changes with every deal. where do i find the bot id?? is it a number, or the name of the bot??

You can mark as closed, i reinstalled on a fresh version of raspbian and it works fine. thank you for the help and a hundred thanks for these great bots!!


Optional updates are getting past the SkipOptional flag.

In the 'Get-Updatelist' output below, 3012973 (win10 update) is clearly being detected as optional. And yet still it got installed by a remote run of "Install-Update"
PS> get-updatelist -Computername t81
KB      I O T H D R E MB    Severity  Published  Title
--      - - - - - - - --    --------  ---------  -----
2920189 - * S - - - E 10              11/11/2014 Security Update for Windows 8.1 for x64-based Systems (KB2920189)
3003667 - * S - - - E 16              11/11/2014 Update for Windows 8.1 for x64-based Systems (KB3003667)
3042058 - * S - - - E 0               10/13/2015 Security Update for Windows 8.1 for x64-based Systems (KB3042058)
3127226 - * S - - - E 1     Important 2/9/2016   Security Update for Microsoft .NET Framework 4.5.2 on Windows 8.1 and Win...
3122654 - * S - - - E 3     Important 2/9/2016   Security Update for Microsoft .NET Framework 4.5.2 on Windows 8.1 and Win...
3012973 - O S - - - - 2,884           3/10/2016  Upgrade to Windows 10 Pro, version 1511, 10586
3135994 - * S - - - E 10    Important 3/8/2016   Security Update for Microsoft .NET Framework 4.5.2 on Windows 8.1 and Win...
2267602 - * S - - - E 437             3/20/2016  Definition Update for Windows Defender - KB2267602 (Definition 1.215.2448.0)

The eventlog looks like this:
PS> get-winevent -ComputerName t81 -logname pswu | sort recordid |ft recordid, timecreated, ID, Providername, message -AutoSize

RecordId TimeCreated          Id ProviderName   Message
-------- -----------          -- ------------   -------
       1 3/20/2016 7:35:37 AM 52 Get-UpdateList 234 update(s) found in 48 seconds.
       2 3/20/2016 7:35:46 AM 27 Install-Update Installing 234 eligible updates; skipping 0 ineligible ones. ...
       3 3/20/2016 8:28:18 AM 29 Install-Update Downloaded successfully; beginning install of 234 updates
       4 3/20/2016 1:51:11 PM 31 Install-Update Installed updates with errors.
       5 3/20/2016 1:51:11 PM 33 Install-Update Updates installed; please reboot soon.
       6 3/20/2016 7:29:18 PM 52 Get-UpdateList 8 update(s) found in 17 seconds.

RecordID 2 may hold the key, here is its message text. Note the lack of parameters passed:
Installing 8 eligible updates; skipping 0 ineligible ones.

Eligible updates to be downloaded and installed:
2920189	Security Update for Windows 8.1 for x64-based Systems (KB2920189)
3003667	Update for Windows 8.1 for x64-based Systems (KB3003667)
3042058	Security Update for Windows 8.1 for x64-based Systems (KB3042058)
3127226	Security Update for Microsoft .NET Framework 4.5.2 on Windows 8.1 and Windows Server 2012 R2 for x64 (KB3127226)
3122654	Security Update for Microsoft .NET Framework 4.5.2 on Windows 8.1 and Windows Server 2012 R2 for x64 (KB3122654)
3012973	Upgrade to Windows 10 Pro, version 1511, 10586
3135994	Security Update for Microsoft .NET Framework 4.5.2 on Windows 8.1 and Windows Server 2012 R2 for x64 (KB3135994)
2267602	Definition Update for Windows Defender - KB2267602 (Definition 1.215.2448.0)

Install-Update ran locally (as T81$)
Parameters given:

There appear to be two issues.

Sometimes the -SkipOptional flag is not getting passed to Install-Update
Even when it is, the Win10 upgrade is included in eligible updates.


Stacks: Fixed issue where deployment would fail when stackName was overridden for site environments

This occurred when I was trying to upgrade from sst 1.x to sst 2.x.
When trying to deploy a stack with a static site which override the stackName, the following error occurs:
  app.stack(NdcBotStack, {stackName: `${app.stage}-ndc`})

Error: Cannot read properties of undefined (reading 'outputs')

Trace: TypeError: Cannot read properties of undefined (reading 'outputs')
    at deploy (file:///D:/Projects/ndc-bot/node_modules/sst/cli/commands/dev.js:186:37)
    at process.<anonymous> (file:///D:/Projects/ndc-bot/node_modules/sst/cli/sst.js:56:17)
    at process.emit (node:events:525:35)
    at process.processEmit [as emit] (D:\Projects\ndc-bot\node_modules\signal-exit\index.js:199:34)
    at process._fatalException (node:internal/process/execution:149:25)
    at processPromiseRejections (node:internal/process/promises:288:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:32)

The issue comes down to the SiteEnv.append stores the stackName, however in deployMany, we return the results by stackId. When we try to cross-reference using stackName, the results are undefined.
As long as these two things are aligned, the cross-reference will work. However, changing either the stackName or id causes deployment issues for migration.

Updated the pull request to minimize the change to the todo / complete / bus publications to stay with stack id but updated the results response to use the stackName instead (which all users of that result uses.)

We are transition this repo to https://github.com/sst/v2 and are closing this issue for now. If it is still relevant please reopen it there - sorry for the trouble


Add "Choose Logic" Dropdown Indicator. Closes issue #144

Description: Added an upside-down caret (▼) next to the "Choose a logic" label in the ModelNotebookEditor component to indicate a dropdown menu.

[N/A] Are all notable changes added to the changelog in dev-docs/?
[N/A] Are there any manual checks that you did while preparing this release that could be automated and become part of the CI?
[x] Are any relevant issues to the PR mentioned so that they will be automatically closed when the PR merges?

Hi @kyracho if you rebase on top of main, then the failing check should be disabled so all checks will pass. Thanks for the pull request!

@olynch Hi! I’ve rebased on top of the main branch. Thanks for the help!

Thanks for the PR! I think this is a good stop-gap solution to #144 pending a proper select widget (#52), which is a lot more work.


feat(api): use nest-pg-boss for spotify interactions

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

v1.23.0
GitHub release

Your semantic-release bot :package::rocket:


Add explicit argument converter for Any that does no conversion

In Python's type system Any is used to indicate that any type is accepted. We should add an explicit argument convertor for Any that recognizes it but doesn't do any conversion. Because we don't do any conversion for unrecognized types, and  Any currently isn't recognized, this change wouldn't change much. It nevertheless has some benefits:

Any will get its own type documentation pop-up in Libdoc HTML output explaining that all arguments are accepted without conversion.
It's becomes explicit that there's no conversion with Any.
Behavior with Any won't change even if we later decide to handle unrecognized types differently than nowadays. See #4628 for related discussion.
It would have avoided issues reported in #4626. Those issues are now fixed, but adding Any converter would help removing the somewhat annoying workaround code that was added.

As mentioned above, not much would change and changes would also be mostly backwards incompatible. Behavior with possible default values would change, though. Nowadays if you use arg: Any = 1, argument conversion is attempted based on the default value type because Any isn't recognized. If we recognize Any, the (un)converted value is used without looking at the default value.
Although this is a backwards incompatible change, I believe it's ok even in RF 6.1 and doesn't need to wait for a major release. The reason I believe so is that arg: Any = 1 is likely very seldom used. It would also be much better written like arg: Union[int, Any] = 1 and with that syntax integer conversion is explicitly done.
Notice also that the behavior wouldn't change with arg: Any = None, because with that syntax there hasn't been None conversion earlier either. See #4626 for more details about that.


Fail parsing header "From" when user domain starts with number

SIP.js 0.21.2
SyntaxError: Expected "." or [a-z,A-Z,0-9,_,-] but ">" found. (at sip.js?v=:4412:16)
at peg$buildStructuredError (sip.js?v=:4412:16)
at Module.peg$parse (sip.js?v=:4646:15)
at Array. (sip.js?v=:3066:54)
at webpack_require (sip.js?v=:21650:41)
at Array. (sip.js?v=:538:77)
at webpack_require (sip.js?v=:21650:41)
at Array. (sip.js?v=:105:72)
at webpack_require (sip.js?v=:21650:41)
at sip.js?v=:21732:71
at sip.js?v=:21752:3
Problem in header From where user domain starts with number but not IP just a hash
const valid = { input: `"user_1" <sip:1@f0b38bfd0a0d>;tag=2157194f-f14a-4a81-ab94-f2296533f32a`, options: { startRule: "From" }}
const notValid = { input: `"user_1" <sip:1@0fb38bfd0a0d>;tag=2157194f-f14a-4a81-ab94-f2296533f32a`, options: { startRule: "From" }};

You can simply reproduce it just run
pegGrammar.parse(valid.input, valid.options)
pegGrammar.parse(notValid.input. notValid.options)

Not valid will throw error but not should.

Did you find a solution? I getting the same error with  sip:6001@543dc521b9a2;tag=2caf10df-3a4e-440d-9935-4b85f0208eff
I wonder if I can change the way this hash is built somewhere in the asterisk server

I found a workaround by setting the following in the endpoint configuration on asterisk pjsip.conf:
from_domain=localhost
It's not an actual solution, of course. I'm using it to proceed with my localhost tests.