Create AG service if KSPM is enabled

Description
related to DAQ-1448
In the KSPM DaemonSet PR there was an issue, that if no ActiveGate capability was configured that would result in the creation of a Service then the node-collector DaemonSet couldn't communicate with the ActiveGate
How can this be tested?
This should work: (be sure to ONLY set the kubernetes-monitoring capability)
apiVersion: dynatrace.com/v1beta3
kind: DynaKube
metadata:
  name: dk
  namespace: dynatrace
spec:
  apiUrl: https://<tenant>.dev.dynatracelabs.com/api
  kspm:
    enabled: true
  activeGate:
    tlsSecretName: my-secret
    capabilities:
      - kubernetes-monitoring
    customProperties:
      value: |
        [kubernetes_monitoring]
        kubernetes_configuration_dataset_pipeline_enabled = true
        kubernetes_configuration_dataset_pipeline_include_node_config = true
  templates:
     kspmNodeConfigurationCollector:
       imageRef:
         repository: us-central1-docker.pkg.dev/cloud-platform-207208/chmu/k8s-node-config-collector
         tag: latest

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 64.58%. Comparing base (ed25ba4) to head (91afac6).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4007   +/-   ##
=======================================
  Coverage   64.58%   64.58%
=======================================
  Files         397      397
  Lines       26412    26416    +4
=======================================
+ Hits        17058    17062    +4
  Misses       8028     8028
  Partials     1326     1326

Flag
Coverage Δ

unittests
64.58% <100.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Its working now :+1:
2024/10/31 10:54:47.849620 Info: Loaded config from file "/app/k8s-node-config-collector.yaml".
2024/10/31 10:54:47.851034 Info: Node name received from environment variable: KUBERNETES_NODE_NAME
2024/10/31 10:54:47.851093 Info: K8S root location received from environment variable: KUBERNETES_NODE_ROOT
2024/10/31 10:54:47.851176 Info: ActiveGate Endpoint received from environment variable: DT_ACTIVEGATE_ENDPOINT
2024/10/31 10:54:47.851320 Info: Communication token loaded from file: /var/lib/dynatrace/secrets/tokens/kspm/node-configuration-collector
2024/10/31 10:54:47.851364 Info: Certificate file received from environment variable: DT_CA_CERTIFICATE_FILE
2024/10/31 10:54:47.851573 Info: Proceeding with connection validation using CA certificate from file "/var/lib/dynatrace/ncc/customkeys/ca-chain.pem".
2024/10/31 10:54:47.857131 Error: Failed contacting ActiveGate: failed to perform request: Get "https://dynakube-activegate.dynatrace/e/dib18963/api/v2/kubernetes/node-config/status": dial tcp <IP_ADDRESS>:443: connect: connection refused, url: "https://dynakube-activegate.dynatrace/e/dib18963/api/v2/kubernetes/node-config/status"
2024/10/31 10:54:47.857260 Info: Collection not executed because of previous error. Retrying in 60 seconds.
2024/10/31 10:55:47.917314 Error: Failed contacting ActiveGate: failed to perform request: Get "https://dynakube-activegate.dynatrace/e/dib18963/api/v2/kubernetes/node-config/status": dial tcp <IP_ADDRESS>:443: connect: connection refused, url: "https://dynakube-activegate.dynatrace/e/dib18963/api/v2/kubernetes/node-config/status"
2024/10/31 10:55:47.917360 Info: Collection not executed because of previous error. Retrying in 60 seconds.
2024/10/31 10:56:48.047442 Info: Collection start.
2024/10/31 10:56:48.151986 Info: process "kube-apiserver": process not found: kube-apiserver
2024/10/31 10:56:48.157934 Info: Node: processing "10-kubeadm.conf" encountered issue: lstat /node_root//etc/systemd/system/kubelet.service.d/10-kubeadm.conf: no such file or directory
2024/10/31 10:56:48.158918 Info: Node: processing "kube-apiserver-audit-policy-file" encountered issue: not supported empty file path
2024/10/31 10:56:48.158941 Info: Node: processing "kube-apiserver-admission-control-config-file" encountered issue: not supported empty file path
2024/10/31 10:56:48.158958 Info: ControlPlane: processing "/etc/kubernetes/manifests/kube-apiserver.yaml" encountered issue: lstat /node_root//etc/kubernetes/manifests/kube-apiserver.yaml: no such file or directory
2024/10/31 10:56:48.158973 Info: ControlPlane: processing "/etc/kubernetes/manifests/kube-controller-manager.yaml" encountered issue: lstat /node_root//etc/kubernetes/manifests/kube-controller-manager.yaml: no such file or directory
2024/10/31 10:56:48.158986 Info: ControlPlane: processing "/etc/kubernetes/manifests/kube-scheduler.yaml" encountered issue: lstat /node_root//etc/kubernetes/manifests/kube-scheduler.yaml: no such file or directory
2024/10/31 10:56:48.158997 Info: ControlPlane: processing "/etc/kubernetes/manifests/etcd.yaml" encountered issue: lstat /node_root//etc/kubernetes/manifests/etcd.yaml: no such file or directory
2024/10/31 10:56:48.159008 Info: ControlPlane: processing "/etc/kubernetes/admin.conf" encountered issue: lstat /node_root//etc/kubernetes/admin.conf: no such file or directory
2024/10/31 10:56:48.159019 Info: ControlPlane: processing "/etc/kubernetes/scheduler.conf" encountered issue: lstat /node_root//etc/kubernetes/scheduler.conf: no such file or directory
2024/10/31 10:56:48.159030 Info: ControlPlane: processing "/etc/kubernetes/controller-manager.conf" encountered issue: lstat /node_root//etc/kubernetes/controller-manager.conf: no such file or directory
2024/10/31 10:56:48.247579 Info: ControlPlane: processing "/etc/sysconfig/" encountered issue: lstat /node_root//etc/sysconfig/: no such file or directory
2024/10/31 10:56:48.247626 Info: ControlPlane: processing "/etc/kubernetes/super-admin.conf" encountered issue: lstat /node_root//etc/kubernetes/super-admin.conf: no such file or directory
2024/10/31 10:56:48.247641 Info: ControlPlane: processing "/var/lib/kubelet/config.yaml" encountered issue: lstat /node_root//var/lib/kubelet/config.yaml: no such file or directory
2024/10/31 10:56:48.247654 Info: ControlPlane: processing "/usr/lib/systemd/system/kubelet.service" encountered issue: lstat /node_root//usr/lib/systemd/system/kubelet.service: no such file or directory
2024/10/31 10:56:48.247683 Info: ControlPlane: processing "/var/lib/kube-proxy/config.conf" encountered issue: lstat /node_root//var/lib/kube-proxy/config.conf: no such file or directory
2024/10/31 10:56:48.247698 Info: ControlPlane: processing "/var/lib/etcd/" encountered issue: lstat /node_root//var/lib/etcd/: no such file or directory
2024/10/31 10:56:48.247709 Info: ControlPlane: processing "/etc/kubernetes/pki/" encountered issue: lstat /node_root//etc/kubernetes/pki/: no such file or directory
2024/10/31 10:56:48.303412 Info: Collection uploaded to "https://dynakube-activegate.dynatrace/e/dib18963/api/v2/kubernetes/node-config/ingest?node=gke-alberto-test-default-pool-7174490a-f18b".


Consolidate pkg_rpm input processing loop

The original pkg_filegroup-using pkg_rpm design had separate loops for
conflict detection and contents processing.  This change consolidates the two
loops.  The combined loop is a bit long, but the code around this point needs to
be adjusted for #456 anyway, so the length problem will be dealt with then.
Much of this code can be eliminated when we move pkg_rpm to use the JSON
manifests.
Fixes #191.

I'm going to assume this is right, based on the extensive tests continuing to pass.

Yeah, that's effectively all the testing I did for this change.  Consolidated the loop in chunks, reran tests.


fix _file_format snowflake ddl option

Hi, it's me again, the PR
related to the #221 issue due to a lack of FILE_FORMAT option support (I introduce before) it's a quite complicated syntax thanks again for this project.
I need this PR for an internal project au Diff ddl and ALTER ddl generator.
I upgrade the  virtual_column test
#221

@dmaresma thanks again for the contribution! released in version 0.31.3 https://pypi.org/project/simple-ddl-parser/


notice about the NumPy - mir wiki entries

as mentioned in issue #22

Thank you for the wiki! First we should feel already existing features.
For example rollaxis analog is x.pack!2.evertPack.unpack. a = b works too (if I am not wrong). Plus https://github.com/DlangScience/mir/wiki/NumPy:-Indexing can be easily implemented by user (see examples from https://dlang.org/phobos/std_experimental_ndslice_selection.html).

@9il - agreed that we shouldn't promote this as long as it is still in work ;-)
But let's keep this PR open, so that we don't forget it and can track our progress?

But let's keep this PR open, so that we don't forget it and can track our progress?

of course

I changed my mind - let's put this as a task (see #77) and not as a PR ;-)


mysql8

I'll release this with https://github.com/keboola/db-extractor-mysql/pull/54

yep, there are no changes, so there is no urgency


IA-777 depths

use a pane to put shapes and markers
adding depth on as_dict since it's in use now for the map (org_unit_type_depth)
fix small issue with bluesquare-component import

2 searches, with config province (4)> zone (3)> aire (2)> village (1)

On detail page

OK for me


fix(aws-cli): 🔧 specify installation and binary directories

Despite the official doc states:

--install-dir or -i – This option specifies the directory to copy all of the files to.
The default value is /usr/local/aws-cli.
--bin-dir or -b – This option specifies that the main aws program in the install directory is symbolically linked to the file aws in the specified path. You must have write permissions to the specified directory. Creating a symlink to a directory that is already in your path eliminates the need to add the install directory to the user's $PATH variable.
The default value is /usr/local/bin.

It looks like the default value for  --install-dir  is ~/.local/lib/aws and the default for --bin-dir is to not add the symbolic links, which makes it to be inaccessible if the package is installed by root and the devcointainer is later run as non-root user.
This PR explicitly sets both values to the supposed default values.

My mistake.
This is not needed.  It is installing in the right place.
I realized that my problem was related with the verify_aws_cli_gpg_signature is calling gpg that generates some files under ~/.gnupg folder that, if you have a USER and ENV HOME defined in your Dockerfile ends up with access errors (as the files are owned by root, cause the feature is always installed using root, but they are created under USER HOME directory).

Just in case someone gets the same problem...
I had to add this to my Dockerfile, so the ~/.gnupg folder is created with the right permissions before the feature installation is run by root (the Fix is optional but useful to avoid ipv6 network problems).
# In case it's the first time that the user runs gpg and the directory ~/.gnupg/ doesn't exist yet
RUN <<EOT
#!/bin/bash -l
gpg -k
# Fix: "gpg: keyserver receive failed: Cannot assign requested address"
# see: https://github.com/usbarmory/usbarmory-debian-base_image/issues/9#issuecomment-451635505
echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf
EOT


Fix xml namespace/element/type handling

/to @jsdevel
The PR improves the XML namespace handling for JSON to XML transformation.

Introduce a NamespaceContext class in lib/nscontext.js to keep track of namespace prefix/uri mappings and declarations in the hierarchy.

Rename the variables so that they are consistent with XML terminology to avoid confusions.

With 1, if the same prefix/uri mapping is declared at ancestor elements, we don't repeat such xmlns:prefix=uri

Fix some test cases that reference the wrong element names

Fix/enhance the resolution to various schema objects, such as local element, global element, element ref, type ref. Better handing the local element qualification form.

Fix the allowed child elements based on XML schema spec, for example, sequence can be a child element of sequence.

Please review.

The changes look very promising.  I have a couple of questions:

Why rename DummyFilterString to DummyStringFilter?
Why were request response samples (not related to DummyFilterString) changed?

Why rename DummyFilterString to DummyStringFilter?

DummyStringFilter is the element name defined in the XSD.

Why were request response samples (not related to DummyFilterString) changed?

It's related to item 3 to dedup the prefix/uri declarations at child levels.

@raymondfeng have you provided tests for item 6?

Fix some test cases that reference the wrong element names

Why weren't these failing before?

If the code fails to look up a schema object by name, it assumes that element is under the parent namespace. And it works by coincidence.

I fixed the camelCase and nesting sequence.

Overall it looks good to me.  I'd just go through it and ensure that each change was intended (no auto indending etc.).  I'd also like @herom to review this.

@jsdevel Thanks for the review. I'm still not happy about the JSON to XML object mapping as-is. The description phase already builds up the tree of elements as the template for XML structure. We should reuse that knowledge to greatly simplify the mapping code and improve performance.

I'm still not happy about the JSON to XML object mapping as-is.

I hear you.  NamespaceContext is going to be a great step in moving us more towards a robust soap library though, so I'm glad you've done this work!

The description phase already builds up the tree of elements as the template for XML structure. We should reuse that knowledge to greatly simplify the mapping code and improve performance.

Couldn't agree more.

Another great PR @raymondfeng !  Thank you!


Standardize name of the "calibration mode" setting in the yaml files that are used to control the sensitivity analysis and the mads assisted calibration.

Originally this was named calib_mode. In the refactored SA code, the setting was renamed to module_stage_settings.
In the Sensitivity class, the options are 'GPPAllIgnoringNitrogen', 'NPPAll', 'VEGC'
In the MadsTEMDriver class, the setting is presently ignored, but there is a note about implementing it.

Fixed by commit: c2f0a138926b4b0b19b933af035a9e126c29e1e0


Feature map keys

Declare MapInterface::keys method that mimics java Map::keySet, implement it on AbstractMap and create tests.

Coverage remained the same at 100.0% when pulling b1587e5cf0e664b95399422fe7f5602fa78e9b06 on eclipxe13:feature-map-keys into 3dff9fed246dca365779876ac638cc60e1de50c5 on ramsey:master.

Looks great. Get rid of that extra newline in src/Map/AbstractMap.php and make sure .gitignore has a trailing newline, and I'll merge it in.
Thanks!

Coverage remained the same at 100.0% when pulling 30cee3c69a92b354a1626be164243bbdb5684e0f on eclipxe13:feature-map-keys into 3dff9fed246dca365779876ac638cc60e1de50c5 on ramsey:master.

done :)

Thanks!


Update hashnode.mdx

Description (required)

Requesting the id of each field is important, to prevent stale data from being returned.

Related issues & labels (optional)

Closes #
Suggested label:

Hello! Thank you for opening your first PR to Astro’s Docs! 🎉
Here’s what will happen next:

Our GitHub bots will run to check your changes.
If they spot any broken links you will see some error messages on this PR.
Don’t hesitate to ask any questions if you’re not sure what these mean!

In a few minutes, you’ll be able to see a preview of your changes on Netlify 🥳.

One or more of our maintainers will take a look and may ask you to make changes.
We try to be responsive, but don’t worry if this takes a few days.

Looks great @jomefavourite , thank you for taking the time to contribute. We appreciate you making this page more helpful, and are happy to welcome you to Team Docs! 🥳

Thank you also for approving the PR.


Need help with colors

Here in typescript file you can see that both variables and types are the same color

The desired way (screenshot from VS Code)

Please help me to fix this

Hi!
I'm currently on vacation, I'll take a look at this when I come back 😉

Hey, I don't have the same colors as you, can you provide your nvim config and plugin setup ?
Can you also tell me if you are using a Lsp server for Typescript ?

I use lazy.nvim plugin manager
treesitter and lspconfig

color scheme setup

If you need any other information, please tell

Hi!
I think it comes from your config, using Lazy you should do something like :
require("lazy").setup({
  {
    "gbprod/nord.nvim",
    lazy = false,
    priority = 1000,
    config = function()
      require("nord").setup({ })
      vim.cmd("colorscheme nord")
    end,
  },
  install = {
    colorscheme = { "nord" },
  },
});

I should add this to the README


Move binaries to a CDN or elm-lang.org

Completely forgot about this, but I'd love to pick this up again. It would be nice if we could find a shared place to host the binaries.
@evancz What country are you in at the moment? Should we pick up the idea of a quick hangout again this week? :) +@kevva

:+1:

I'm in Budapest this week, but back in the US next week. I'm free to talk anytime Wednesday or Thursday, or during the day Friday. Lets continue coordination in email!

Unfortunately, I'm gone all next week :(.


AssertionError in Hpack Decoder

byte[] input = {
        19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, -92, 91, 41, -92,
        33, 1, 0, -126, -1, -1, 0, 15, 0, -92, 0, 0
    };
Decoder decoder = new Decoder(MAX_HEADER_SIZE, MAX_HEADER_TABLE_SIZE);
      decoder.decode(new ByteArrayInputStream(input), listener);

This causes an error to be thrown from: Decoder
The reason is because of the two 0xFF bytes in the input, which are interpretted as trailing padding in a huffman encoded value.  From reading the spec, the last paragraph says that padding in excess of 7 bits is an error (rather than being ignored).
The problem here is that it should be an IOException instead of an Assert.
Finally, I don't see anywhere in the Spec that says 0 length values are not allowed, so I don't know why they are forbidden.   Did I just miss somewhere?

@carl-mastrangelo good catch!
@nmittler @Scottmitch @jpinner WDYT ?

In case it matters, the Golang HPACK Decoder also treats the input as a zero length string, but I think that is a coding mistake; it should result in an error.  It isn't entirely clear to me what to do since the spec, netty, and Go all behave slightly differently.

Agreed, IOException is more appropriate here.  @carl-mastrangelo do you want to send a PR?

Well, as I said, I am not entirely sure if my interpretation is right.  Zero length strings are allowed right?  Throwing an exception would make the situation better, but not compliant.  Does your reading of the spec match mine?

@carl-mastrangelo -
I think we can reference the HTTP RFC in this case...
https://tools.ietf.org/html/rfc7230#section-3.2

header-field   = field-name ":" OWS field-value OWS
field-name     = token

The definition for token is defined here ...
https://tools.ietf.org/html/rfc7230#section-3.2.6 (and here https://tools.ietf.org/html/rfc7230#appendix-B)

token          = 1tchar
tchar          = "!" / "#" / "$" / "%" / "&" / "'" / ""
/ "+" / "-" / "." / "^" / "_" / "`" / "|" / "~"
/ DIGIT / ALPHA
; any VCHAR, except delimiters

so it seems that a header name must have 1 or more characters.

@Scottmitch
That is true for HTTP, but is it true for pure HPACK?  HPACK also allows binary values which http forbids.

@carl-mastrangelo - I see your point. I don't see anywhere in HPACK that explicit forbids empty headers.  Perhaps it is more appropriate to modify the header validation code for the specific codecs. (e.g. DefaultHttp2Headers.HTTP2_NAME_VALIDATOR, DefaultHttpHeaders.HttpNameValidator, etc...).
@nmittler - WDYT?

@Scottmitch SGTM

i'll throw together a PR

Thx!

Am 10.05.2016 um 17:47 schrieb Scott Mitchell<EMAIL_ADDRESS>i'll throw together a PR
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub

FWIW I also filed this issue against Golang, and will probably be fixing the same bug there.

@Scottmitch  Are you sure that is the right change?  I think the problem is actually in overlong padding being accepted in https://github.com/netty/netty/blob/4.1/codec-http2/src/main/java/io/netty/handler/codec/http2/internal/hpack/HuffmanDecoder.java#L89

@carl-mastrangelo - There may be multiple issues, we don't explicitly prohibit empty names in the http header validation. I will need to look more closely at the HPACK spec for the padding issue ... but in the mean time if you are confident about this and are comfortable submitting a PR please do :)

@Scottmitch You're PR is good, it just need to also reject bad Huffman encodings too.  I believe the only difference is checking that bits is <= 7 just before returning in the function I linked above.

@carl-mastrangelo - I think there may be a bit more to it, but I have a PR pending for you to review.

@Scottmitch I think there are actually two issues rather than 1:  Name length validation in the layers above HPACK, and the treatment of padding inside of HPACK.  Your fix addresses the former, and is still needed.  I can submit a fix for the latter, since I am already in the process of doing so for.
You should still submit your fix.  I don't see anything in my mailbox, did you mean you have a PR pending that needs review, or you are in the process of writing the PR?  Either way, let me know as soon as you are ready.

did you mean you have a PR pending that needs review

Yip. I think I have both covered ... stand by

@Scottmitch If it makes it any easier, the fix for the Go implementation (which is extremely similar to Netty's) is here:  https://go-review.googlesource.com/#/c/23067/
I also added a bunch of cases to their tests if you want to add them to your PR.

@carl-mastrangelo - Thanks for the heads up ... seems like our fixes are very similar and I also added a few of tests ... there was actually already a test that was basically commented out :)


fix libs auto-update job to use the correct input

Details
Somehow we missed this on merge of https://github.com/canonical/operator-workflows/pull/453

@cbartz @weiiwang01 @yanksyoon
example failure https://github.com/canonical/k8s-operator/actions/runs/11527742496/job/32093932421

@arturo-seijas yep, sorry i broke it.

@arturo-seijas yep, sorry i broke it.

Np,that's because you're contributing ;)


redirect after you get an error

also remove the x-access-token (assume it will be in the cookies)

@scottlepp I'll let you finish this one... looks like it needs to inject $http?  or something like that


Move globals to class static variables

The problem here is that if the qrcode.php file isn't included in the global scope (for example, if it's included inside a function), then the $QR_PATTERN_POSITION_TABLE, $QR_MAX_LENGTH, $QR_RS_BLOCK_TABLE, $QR_MATH_EXP_TABLE, and $QR_MATH_LOG_TABLE variables are not in the global scope either. So trying to access them using the global keyword doesn't work. There are two possible fixes. The first would be to actually globalize them before first using them, but they don't seem to need to be in the global scope so I don't see any reason to pollute that. The other is to actually bring them into the classes that use them and make them static properties of those classes. That's what I did here.

Thanks a lot :)


XML being read incorrectly

testfiles.zip
These two XML files have the same issue, being that XML parsing randomly breaks and starts taking some of the XML tag into its text contents. The lines it breaks on are consistent.

Haven't confirmed this myself yet but I will look into it when I can.

Ridiculous bug caused by me reusing a variable and GameMaker thinking "62" == 62 https://github.com/JujuAdams/SNAP/commit/8d050ea870f834389c7934a70969070f2c4cb0d5


IGNORE_TEST correctly output in JUnit output

When using IGNORE_TEST and output as JUnit, the output will be "skipped"
to make such test cases show up correctly in CI systems, e.g. Jenkins.

I suspect that this pull request can be closed, I submitted #463 that got merged a a while ago that I think had the same effect.

Ok, everyone ok with closing this then?


Use of the property "instrument"

I’m not sure the examples in the documentation are using the “instrument” property correctly after looking closer at the Activity Stream definition, https://www.w3.org/TR/activitystreams-vocabulary/#dfn-instrument. Instruments seem to be specific services/tools used during an activity, not an output/artifact of the activity. I wonder if might what to use rdf_patch “results” directly off the activity instead, e.g.
  "type": "Create",
  "object": "[http://example.org/](http://example.org/Milk)CowMilk",
  "result": {
		"type": "rdf_patch",
		"id": "https://data.my.authority/change_documents/2021/activity-stream/cd11/instrument/1",
	“content”: "A <https://my_repo/entity/cow_milk>
     		<https://my.authority/vocab/hasLabel> 'cow milk'@en.
 			A <https://my_repo/entity/cow_milk>

https://my.authority/vocab/broaderTerm https://my_repo/entity/milk.
A https://my_repo/entity/cow_milk
https://my.authority/vocab/narrow_term
https://my_repo/entity/bovine_milk."
}
Currently the nesting examples have Activities linking to Patches using "instrument", but Patch Instruments link to activities through "partOf". "partOf "has a Domain of CollectionPage. If we decide that the Patches should link back to the Activities (and decide to use "result" instead of "instrument") we could create a local property "resultOf" since the AS property "result" doesn’t have an established reciprocal property.

I agree that instrument does't feel right according to the AS spec. I haven't found anything better that result yet but I'm not sure that feels quite right either

For easy reference:

instrument is defined as "Identifies one or more objects used (or to be used) in the completion of an Activity."
result is defined as "Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource."

We might want to consider creating our own sub-property for attachment that makes clear the thing linking to is parseable message about a delta or change to the dataset. @eslao and @NancyJean, thoughts?

I agree that "instrument" seems to fit oddly: it implies that the provider is using the rdf patch in the process of their activity (creating a new entity, making a change, etc). If I understand correctly, the rdf patch is a by-product of an activity and it's being provided for the convenience of the consumer so that they don't need to derefence the object of the activity to implement the change on their end (right?).
Looking at the definition for "result", this seems not entirely unsuitable: the rdf patch is one result of the activity, but is it more indirect that what the property definition and example are going for?
The definition of "attachment" and the object's relationship with the activity seem deliberately loose, which seems appropriate here. If we were to use attachment, would we want to model it as an object or a link? Steven, what would using a subproperty get us?

(Tangentially: Would we want to use rdf_patch as the type? Would it be a subclass of "Object"? Or of "Document", which itself is a subclass of "Object"?)

We agreed on a pattern for use of RDF patch with instrument:
"instrument":
  {
    "type": "rdf_patch",
    "id": "https://data.my.authority/change_documents/2021/activity-stream/cd11/instrument/1" <-- PATCH
  }

but then we decided #100, #105 that we will not include RDF Patch in the initial specification version. Closing won't fix.


add hazelword.md

Thanks for your reply, we update for this

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Could you update the original PR instead of creating a new application? See https://github.com/w3f/Grants-Program/pull/538 This way it’s easier to keep track of the changes. Also could you sign the latest version of our Terms & conditions? I’m closing this pr for now.


Stuck when too many hostnames

Hi,
I'm using TLSX v1.0.9 and I noticed that the tool gets stuck when a list with too many hostnames is used.
In my case, I used a file with 6000 hostnames, I stopped the execution after 7 hours because the tool was blocked (I ran in verbose mode, nothing was displayed in the output).
I use the following command :
tlsx -l hostnames.txt -san -silent -json

Let me know if more informations is needed
Regards

@JoshuaMart, it was fixed in the latest release with https://github.com/projectdiscovery/tlsx/pull/284; the tool was getting stuck in a specific edge case.


Feature/#630

Relevant issue number

Resolves #630

Please check the following

[ ] Do the tests still pass? (see Run the Tests)
[ ] Is the code formatted properly? (see Linting (Formatting))
For New Features:

[ ] Have tests been added to cover any new features or fixes?
[ ] Has the documentation been updated accordingly?

Please describe additional details for testing this change
I modified the text file to test it in all 3 languages, but didn't write permanent test for it.

@Posoroko FYI I updated the Pr description so that it reads "Resolves #630" in order to properly close the associated issue on merge


fix go 1.17

Signed-off-by: ldpliu<EMAIL_ADDRESS>https://github.com/stolostron/backlog/issues/19396

/cc @elgnay

/lgtm


⚠ Minecraft has degraded performance

In 432e461, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 1094 ms

Resolved: Minecraft performance has improved in 55c4288.


How to run perception module

System information

OS Platform and Distribution (e.g., Linux Ubuntu 14.04): Ubuntu 14.04
Apollo installed from (source or binary): source
Apollo version (1.0, 1.5, 2.0, 2.5, 3.0): branch r5.0.0

Steps to reproduce the issue:

Please use bullet points and include as much details as possible: On the perception documentation, I saw that the input of perception module are sensor datas and it will output obstacle, lane information. I currently have a record file with all the sensor data and I wonder if there is a way that I can put in the sensor data and get the result of those processed information. If so, where to input my data and where I can find the output? Thank you!

@chenghanzh Hi, you need to have localization and transform modules work to run perception. You need to check your sensor data to make sure you have the required data for those two modules.

@luqiang21
My record file looks like this. I downloaded it from apollo open data platform.

Do you know which command I should use and where I can find the output data (maybe visualize them)?
I tried to run files in /apollo/modules/perception/production/dag but it says segmentation fault. I think it might be input/output issues and I wander where I can find these files.

@chenghanzh To run each module, after you run bootstrap.sh, you can either run them using buttons in the dreamview, or run them using the corresponding dag files. The visualization of perception will be shown in dreamview. I suggest you try an AD simulator like LGSVL to go through all setups of apollo and check how each module works. Then you can try your data.

@luqiang21 I'll try it. Thank you so much!

@chenghanzh thank you for your interest in the Apollo Perception module. Currently closing this issue as it appears to be resolved. If you do have additional questions, feel free to reopen it.

@Chenghanzh did you solve the problem , i want the same work with prediction module any suggestion will be appreciated
Regards

@luqiang21 Hello, you mentioned that we can use LGSVL to test the Apollo, I wonder is there any detailed steps to run LGSVL? I find the official documents are so confusing that I cann't understand a lot.
For example, I'm not sure whether should I pull the lgsvl/apollo5.0 docker image and run all things in that image? What the relationship between the lgsvl/apollo5.0 image and the appolloauto/apollo image?

Hi @zhanghming, if you want to run apollo 5.0 with LGSVL simulator, you should use lgsvl/apollo5.0 docker image and our fork of apollo since we added files to enable the connection between apollo and LGSVL. lgsvl/apollo5.0is based on appolloauto/apollo.
Please let me know if you need any other help to run LGSVL.


Implementation

Source
Wiki
Closes https://github.com/plan-player-analytics/Plan/issues/1590
Has implementations for Bukkit & BungeeCord. Velocity can be added in the future incase the event bus & scheduler become available to the extension.
Tests were deleted due to the requirement of the QueryService
These changes were not tested

javaUsername & linkedPlayer are standard Java usernames, which are limited to 16 characters
I looked through some xbox usernames for bedrockUsername, I didn't find anything past 32 characters
Here's the parts for the table in (Database Schema)[https://github.com/plan-player-analytics/Plan/wiki/Database-Schema]
| plan_platforms | id | int | NULL | NULL |
| plan_platforms | uuid | varchar | 36 | NULL |
| plan_platforms | platform | int | NULL | NULL |
| plan_platforms | bedrockUsername | varchar | 32 | NULL |
| plan_platforms | javaUsername | varchar | 16 | NULL |
| plan_platforms | linkedPlayer | varchar | 16 | NULL |
| plan_platforms | languageCode | varchar | 8 | NULL |
| plan_platforms | version | varchar | 16 | NULL |


Feature/gh 4385

closes GH-4385

Closing.  Solution changed.  Fixed by PR #4443 instead

Closing.  Solution changed.  Fixed by PR #4443 instead


Update eu-indicators.py from a new branch

@Coding-with-Adam This is an update from a different branch but still has the merge conflict.
BTW, Did you try the method for solving the conflict here? I guess this is something only merger can do.

hi @tuopouk
We actually tried that solution (linked above) the last time you committed the Finland app, but couldn't solve it that way. We ended up deleting the Contributing.md file and re-adding it again.
We can solve it that way again, but my main concern is for future apps and pull requests you open. Right now this PR has 30 commits representing your full history of contributions and commits. This is not normal. Every PR should be a new clean sheet of commits that solely represent the app you are adding. I'm pretty sure it's a problem with the forked repo you have. I would be happy to connect with you on google meet and try to solve this together, so this doesn't repeat itself every time you add a new app in the future.
Let me know what you prefer to do.


Update README.md

Updated the tap path in README.md from homebrew/versions to homebrew/homebrew-versions

Afraid homebrew/versions is actually correct here. Whilst Homebrew requires Github taps to start with homebrew- as long as that is present we don't need users to type it in the CLI. brew tap homebrew/versions and similar will work fine.

Weird, bare homebrew/versions did not work for me on a new installation, and the verbose homebrew/homebrew-versions did. But then after untapping I cannot re-create the issue.

That is a little odd. Let us know if you hit the issue again!


Add WV Vaccine scraper

Adds a scraper for WV vaccines.  I'm not sure if they're yet accounting for J&J shots - but numbers seem reasonable!

good work!


Fix compare_snippet_output.py by including cv2 in pixi's env

Before:
Traceback (most recent call last):
  File "/home/cmc/dev/rerun-io/rerun/docs/snippets/all/image_advanced.py", line 5, in <module>
    import cv2
ModuleNotFoundError: No module named 'cv2'

After: :+1:
Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[x] I have tested the web demo (if applicable):

Using examples from latest main build: rerun.io/viewer
Using full set of examples from nightly build: rerun.io/viewer

[x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG
[x] If applicable, add a new check to the release checklist!

PR Build Summary
Recent benchmark results
Wasm size tracking

To run all checks from main, comment on the PR with @rerun-bot full-check.

ci failure is from main and fixed there


EZ Flash 3in1 rumble support

Hi!
This is an amazing port for the gba, I tried almost every feature and it works great.
My issue (more like a petition/enhancement, sorry) is that I am using an ez flash 3 in 1, so, the rumble feature is not supported.
The source code for enabling rumble on this flashcart is well documented, any chance rumble for the ez3in1 can be added to your game?
Thanks in advanced!

Hi @zerofalcon
I made this patch:
https://github.com/afska/piugba/compare/master...patch_ezf3i1_rumble
patch_ezf3i1_rumble.zip
I don't have a 3-in-1 for testing, so let me know if it works!

Hi @zerofalcon
I made this patch: master...patch_ezf3i1_rumble patch_ezf3i1_rumble.zip
I don't have a 3-in-1 for testing, so let me know if it works!

Thank you so much! I did some test using different hardware (gba sp 001,gba sp 101, DS fat, DS lite) and everything is working great. I tried to play using a gameboy player but it seems only the cartridge rumble but not the gamecube controller, I guess Im missing information and gameboy player support is not implemented, right? Hope we can have rumble too someday for use on emulators.
Again, thanks and keep up the good work!

No problem! Glad it's working, and yeah, GB Player rumble is not implemented currently.
It's a good idea though :) I can look into this for a next update.

Btw @zerofalcon, I found that mGBA already supports cartridge rumble!
You only need to enable it in Tools -> Game overrides before loading the game

Unfortunately it didn't work well on my setup even with a rumble test ROM (https://github.com/mgba-emu/mgba/issues/3232) but maybe with other controllers works correctly 😅

Nice find! I didnt know mgba had cartridge rumble support. Unfortunately, I have same issues as you mentioned using a Nintendo Switch pro controller and a gamecube wii u adapter.

Hey @zerofalcon, just FYI, Rumble in the new v1.11.0 should work fine on latest mGBA (development versions)


massive lockdrop UI optimizations

major fixes:

implements virtualized lists for the global lock list
cache contract events to local storage and only call from the latest block number
increase the interval between background checks
only fetch block number from the background
UX improvements to the reward claim address setting

the heaviest RPC fetch request to the chain is made from these functions:

https://github.com/staketechnologies/lockdrop-ui/blob/fix/optimize-lock-data/src/helpers/lockdrop/EthereumLockdrop.ts#L153
https://github.com/staketechnologies/lockdrop-ui/blob/fix/optimize-lock-data/src/components/EthLock/CurrentLocks.tsx#L181

These are expected to be at the very worst case O(n) ~ O(n^2). But this is required to display the total lock value and token unlock status.
Ethereum background fetches are only used in here for checking block headers every 25 seconds (more than average block time) https://github.com/staketechnologies/lockdrop-ui/blob/fix/optimize-lock-data/src/pages/EthRealTimeLockPage.tsx#L202
Considering that with the previous unoptimized page does a full check every 5 seconds and it was full functional for the 1st lockdrop and the Dusty lockdrop (and still works), I would assume this optimization is sufficient enough. But we don't know if this will be true even if 1 million people locks

okay, I've discovered that Infura has a request data size cap and because our contract has more than 2,500 transactions (https://etherscan.io/txs?a=0xa4803f17607B7cDC3dC579083d9a14089E87502b), there is no way to fetch all of that without hitting the data cap. The only solution is to somehow only fetch the user's lock events without actually requesting all the locks.
I have to search from user address -> transaction history -> match contract address rather than checking for lock events


Question - The use of brfs

In your examples you have the "brfs" transformation, however nowhere is it described whether that is necessary. Is it necessary and if so, why?
Generally the examples should be as lean as possible and not include things that aren't essential in order to avoid confusion.
Thanks for this great module!

https://github.com/substack/brfs
It's certainly not necessary. It just so happens to be a transform that does something universally useful, versus setup-dependent things like coffeeify that are totally irrelevant if you don't use a particular dev tool.


github.com/MicrosoftDocs/az

Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[x] The relevant Azure service or technology.
[x] A link to the published documentation article that you have feedback about.
[x] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[x] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[x] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/d365community/forum/79b1327d-d925-ec11-b6e6-000d3a4f06a4.

@demaford Thank you for posting to this repo. We use azure-docs repository for collecting feedback on azure documentation . Did you have any issue with any of the azure documents or any azure products ? If you can let us know the information we can help you better.

@demaford Any update on this?

We will now close this issue. Please tag me in a comment once you can share the requested details. I will reopen it and we will continue the discussion.


Any tutorial on out-of-process model?

Hi, since out-of-process model is recommended by azure function team, is there a plan to write sample project for out-of-process model?
Thanks!

update: out-of-process is same in terms of running azure function on AKS using workload identity.
what I did was adding this environments to the container and it worked.
env:
- name: FUNCTIONS_WORKER_RUNTIME
value: "dotnet-isolated"
- name: AzureWebJobsStorage__credential
value: "workloadidentity"
- name: AzureWebJobsStorage__accountname
value: ""
as long as your azure storage account is using default domain, you don't need the URIs settings.


Suggestion: deprecate this.$node

If there's still interest in eventually not depending on jQuery, this might be worth deprecating now as it seems to be the only place where we expose a jQuery wrapped object from the Flight API itself.

This is closely related to #320, and will probably be fixed by that.

@phuu you can close this I guess

Yep! Woohoo.


Video playback issues

Some videos are not playing back properly, even though they are available and can be played from the old page

Moved to the website's repo: https://github.com/ReckfulArchive/twitter-website/issues/3


Empty data.azurerm_client_config.deployer.object_id object

When attempting to deploy the terraform template using terraform apply, I was running into an error where the data.azurerm_client_config.deployer.object_id object was returning an empty value (unfortunately I can't show the the exact error as I forgot to note it and have now fixed it).
This is known issue with the azurerm resource manager, and has been fixed in v.3.9.0.
I will create a branch and push the relevant changes there.

Nevermind, have just seen that this has already been fixed in the umich branch!


Convenience method for accessing body data

Describe the feature
Before release 0.16.0 (HTTP bidirectional streaming) there was a convenience method on ByteStream that allowed for convenient access to the entire contents of the stream:
byteStream.toBytes().getData()

Since 0.16.0 the process is more cumbersome:
let data: Data?
switch byteStream {
case .data(let bodyData):
    data = bodyData
case .stream(let stream):
    data = try stream.readToEnd()
default:
    data = nil
}

There should be an asynchronous property on ByteStream that gets the entire body contents, i.e.:
let bodyData = try async byteStream.data

Use Case
Makes for simple, convenient code when the body is known to be small enough to hold in-memory.
Proposed Solution
Provide a convenience method as described above to get the entire contents of the body stream.
Other Information
See discussion in https://github.com/awslabs/aws-sdk-swift/discussions/1017
Acknowledgements

[ ] I may be able to implement this feature request
[ ] This feature might incur a breaking change

This has been implemented in https://github.com/awslabs/smithy-swift/pull/553 as:
let bodyData = try await byteStream.readData()

The read is asynchronous, as compared to the previous blocking stream reader.


Activation model for all costs

In GitLab by @proyan on Jan 21, 2019, 13:08
Move all costs to be using an activation model.

In GitLab by @cmastalli on Jan 22, 2019, 14:55
is this task DONE? I see classes related to this topic.

In GitLab by @proyan on Jan 25, 2019, 10:26
assigned to @rbudhira

In GitLab by @proyan on Jan 25, 2019, 10:26
I start implementing this.

In GitLab by @proyan on Jan 25, 2019, 14:49
mentioned in merge request !65

In GitLab by @nmansard on Jan 30, 2019, 08:14
I am not sure of what happen with this work? I think we had a MR, but it was not merge, right?

In GitLab by @proyan on Jan 30, 2019, 09:46
The MR was open for too long, so the target branch diverged a lot. I'll redo this MR again.

In GitLab by @cmastalli on Jan 30, 2019, 09:57
Currently, we're working on devel branch. Please make the PR to this branch.

In GitLab by @nmansard on Jan 30, 2019, 17:37
solved by !83

In GitLab by @nmansard on Jan 30, 2019, 17:37
closed


Returns None when mode of iter has more than one

Is this expected behavior?
let vec = vec![0, 0, 0, 1, 1, 1, 2];

assert_eq!(stats::mode(vec.into_iter()), None);

Seems to me it should return a Vec<T> rather than T

Indeed it does as the signature promised..I'm sorry, I didn't mean functionally expected behavior, but, I guess 'logically' expected...(for lack of better name).

No problem! PRs are welcome for this. I don't know when I'll add it.

I'll take a stab at it.


Adding gits add workflow support

This issue is to track the support for gits add command that will add files once the command is executed.

Changes for the issue have been merged in the PR: https://github.com/amolgautam25/GITS/pull/20


Set requires_grad=False for model parameters before exporting

As in the title
Reviewer checklist

[ ] CHANGELOG updated with public API or any other important changes?

📚 Download documentation preview for this pull-request

I feel like this should be documented somewhere, maybe in the docstring of save?


Fix development docs

Latest rust must be used to compile

https://github.com/threefoldtech/tfchain/commit/b9657a5c15a2cbe099afe4f0893b164e857572a8


Hive webpage no longer valid

The links being referred to in your pub.dev page are pointing to an expired domain

hive domain is down, is there an alternative to access the Docs?

use this
https://web.archive.org/web/20240905232918/https://docs.hivedb.dev/#/

use this https://web.archive.org/web/20240905232918/https://docs.hivedb.dev/#/

This website is not available too.

Use this project https://github.com/hivedb/docs/blob/master/custom-objects/hive_object.md