NPE is thrown in SkyWalking 8.4.0 with gateway plugin

here is the config!
pom.xml

org.apache.skywalking
apm-toolkit-logback-1.x
8.4.0

logback_spring.xml
<appender name="grpc_log" class="org.apache.skywalking.apm.toolkit.log.logback.v1.x.log.GRPCLogClientAppender">
</appender>

the skywalking  with the default config,but when the gateway startup,the console tips the error like this:
[TID:N/A]  [] 2021-03-05 09:33:02.492:[ERROR] [reactor-http-nio-2:22985] [r.u.Loggers$Slf4JLogger:error:319]--> Operator called default onErrorDropped
java.lang.NullPointerException: null
at org.apache.skywalking.apm.plugin.spring.webflux.v5.webclient.WebFluxWebClientInterceptor$1.accept(WebFluxWebClientInterceptor.java:85)
at org.apache.skywalking.apm.plugin.spring.webflux.v5.webclient.WebFluxWebClientInterceptor$1.accept(WebFluxWebClientInterceptor.java:82)
at reactor.core.publisher.MonoPeekTerminal$MonoTerminalPeekSubscriber.onError(MonoPeekTerminal.java:262)
at reactor.core.publisher.FluxMap$MapConditionalSubscriber.onError(FluxMap.java:252)
at reactor.core.publisher.FluxPeekFuseable$PeekConditionalSubscriber.onError(FluxPeekFuseable.java:894)
at reactor.core.publisher.FluxPeekFuseable$PeekConditionalSubscriber.onError(FluxPeekFuseable.java:894)
at reactor.core.publisher.FluxPeekFuseable$PeekConditionalSubscriber.onError(FluxPeekFuseable.java:894)
at reactor.core.publisher.MonoNext$NextSubscriber.onError(MonoNext.java:87)
at reactor.core.publisher.MonoFlatMapMany$FlatMapManyMain.onError(MonoFlatMapMany.java:197)
at reactor.core.publisher.SerializedSubscriber.onError(SerializedSubscriber.java:124)
at reactor.core.publisher.FluxRetryWhen$RetryWhenMainSubscriber.whenError(FluxRetryWhen.java:213)
at reactor.core.publisher.FluxRetryWhen$RetryWhenOtherSubscriber.onError(FluxRetryWhen.java:255)
at reactor.core.publisher.FluxConcatMap$ConcatMapImmediate.drain(FluxConcatMap.java:406)
at reactor.core.publisher.FluxConcatMap$ConcatMapImmediate.onNext(FluxConcatMap.java:243)
at reactor.core.publisher.DirectProcessor$DirectInner.onNext(DirectProcessor.java:339)
at reactor.core.publisher.DirectProcessor.onNext(DirectProcessor.java:148)
at reactor.core.publisher.SerializedSubscriber.onNext(SerializedSubscriber.java:99)
at reactor.core.publisher.FluxRetryWhen$RetryWhenMainSubscriber.onError(FluxRetryWhen.java:180)
at reactor.core.publisher.MonoCreate$DefaultMonoSink.error(MonoCreate.java:185)
at reactor.netty.http.client.HttpClientConnect$MonoHttpConnect$TcpClientSubscriber.onError(HttpClientConnect.java:353)
at reactor.core.publisher.MonoCreate$DefaultMonoSink.error(MonoCreate.java:185)
at reactor.netty.resources.PooledConnectionProvider$DisposableAcquire.onError(PooledConnectionProvider.java:523)
at reactor.netty.internal.shaded.reactor.pool.AbstractPool$Borrower.fail(AbstractPool.java:427)
at reactor.netty.internal.shaded.reactor.pool.SimpleDequePool.lambda$drainLoop$5(SimpleDequePool.java:309)
at reactor.core.publisher.FluxDoOnEach$DoOnEachSubscriber.onError(FluxDoOnEach.java:172)
at reactor.core.publisher.MonoCreate$DefaultMonoSink.error(MonoCreate.java:185)
at reactor.netty.resources.PooledConnectionProvider$PooledConnectionAllocator$PooledConnectionInitializer.operationComplete(PooledConnectionProvider.java:304)
at reactor.netty.resources.PooledConnectionProvider$PooledConnectionAllocator$PooledConnectionInitializer.operationComplete(PooledConnectionProvider.java:254)
at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:578)
at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:571)
at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:550)
at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:491)
at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:616)
at io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:609)
at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:117)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:321)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:337)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:707)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:655)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:581)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
all the pom.xml like this,need help thanks!
pom.zip

This error log seems don't relate to the log appender. Why do you say NPE is caused by this?

the appender is work,and the skywaling console can see the log with the treaceId,but the gateway console print this error,seem like the skywalking agent/config webflux.client with error!

I mean, this error should exist even you don't add the log appender.

how to do? need help thanks!

here is the doc! the gateway also print the NPE error,why?
https://skywalking.apache.org/docs/main/v8.4.0/en/setup/service-agent/java-agent/application-toolkit-logback-1.x/

This seems a gateway plugin code bug. Again nothing related to the thing you keep repeatedly saying.

I you could provide the whole gateway package, I could ask @ascrutae to take a look.

ok! here is the code,you need to config the nacos
code.zip

here is the gateway.yaml
gateway.zip

here is the log stack!
error.zip

spring-boot -->  2.4.3\2.4.4 、cloud  --> 2020.0.1\2020.0.2
NPE error，Does gateway need to be a  "apm-spring-cloud-gateway-3.0.x-plugin" ?

spring-boot --> 2.4.3\2.4.4 、cloud --> 2020.0.1\2020.0.2
NPE error，Does gateway need to be a "apm-spring-cloud-gateway-3.0.x-plugin" ?

Yes. Please don't submit a duplicated issue.

spring-boot --> 2.4.3\2.4.4 、cloud --> 2020.0.1\2020.0.2
NPE error，Does gateway need to be a "apm-spring-cloud-gateway-3.0.x-plugin" ?

Yes. Please don't submit a duplicated issue.

3Q，Will this problem be fixed ?

spring-boot --> 2.4.3\2.4.4 、cloud --> 2020.0.1\2020.0.2
NPE error，Does gateway need to be a "apm-spring-cloud-gateway-3.0.x-plugin" ?

Yes. Please don't submit a duplicated issue.

3Q，Will this problem be fixed ?

will doesn't exist. If you or anyone submit a pull request, then yes.

@wu-sheng I found that there are several issue related to spring gateway, e.g. #6237 ,so I tried to use the latest version of spring-cloud-gateway-starter with gateway-2.1.x-plugin, and it will report NPE when forwarding the request, because the enhancement method of HttpClientFinalizer class is no longer applicable. At the same time, I ran the gateway-2.1.x-scenario test project, and found that the version it relied on was very old. I think we should create a new plugin to support the new version of spring-cloud-gateway. If no one has done it yet, I can try it.

@wu-sheng I found that there are several issue related to spring gateway, e.g. #6237 ,so I tried to use the latest version of spring-cloud-gateway-starter with gateway-2.1.x-plugin, and it will report NPE when forwarding the request, because the enhancement method of HttpClientFinalizer class is no longer applicable. At the same time, I ran the gateway-2.1.x-scenario test project, and found that the version it relied on was very old. I think we should create a new plugin to support the new version of spring-cloud-gateway. If no one has done it yet, I can try it.

If you found the issue, go for it, please.

And add more plugin tests to verify your new codes.

And add more plugin tests to verify your new codes.

Of course, tests are important


Release 1.4

Hello @a-m-s. Could you prepare this script for a new release? Thanks :-)

Remove trailing whitespace from metadata.in.json (a bug in Nuvola SDK).
Convert with standard.
Update copyright year.
Remove @API 4.5 comments.

This should be complete now.
I've updated the live TV integration too, which seems to have changed recently.

Great :+1: Please keep this open until I actually make the release.


Raise RuntimeError when requested logprob expressions are not inferred

When some logprob graphs cannot be derived, factorized_joint_logprob simply does not include them in the returned dictionary. This can be confusing, specially because cannot be expected to know what derivations aeppl is capable of doing in advance. This PR suggests raising explicitly whenever a requested logprob expression is missing by the end. Closes #90
Before:
import aesara.tensor as at
from aeppl import factorized_joint_logprob

x = at.random.normal(name="x")
y = at.cos(at.random.normal())
y.name = "y"

x_vv = x.clone()
y_vv = y.clone()

# Aeppl does not know the logprob for y
print(factorized_joint_logprob({x: x_vv, y: y_vv}))  # {x: x_logprob}

After:
import aesara.tensor as at
from aeppl import factorized_joint_logprob

x = at.random.normal(name="x")
y = at.cos(at.random.normal())
y.name = "y"

x_vv = x.clone()
y_vv = y.clone()

# Aeppl does not know how to derive the logprob for y
# RuntimeError: The logprob terms of the following value variables could not be derived: {y}
factorized_joint_logprob({x: x_vv, y: y_vv})

There is a UserWarning that is issued by default when the normal variable in the graph of y is found, but it is not as informative to the user, and is not specific to failed derivations either.

Raising when the user intent is to get the logprob is a good idea. Maybe we could invite users to open an issue as well in the message?

Raising when the user intent is to get the logprob is a good idea. Maybe we could invite users to open an issue as well in the message?

I would be reticent because we don't know if the failure is because of something we could derive but haven't implemented yet, or an invalid graph. That's why I opted for the RuntimeError instead of NotImplementedError

Yeah, some of the tests show that. Double counting is one such example:
https://github.com/aesara-devs/aeppl/blob/8fd78209940888d7ebdccd12cfa6e2572589237b/tests/test_truncation.py#L132-L155


String parsing

Added css-list
Parses all separators (' ', '\n', '\t', ',', '/')

Thanks, @TrySound. I'll take a look at this tonight. :smile:
Did you run JSHint? I noticed a missed semicolon.

Other than the comments, LGTM. :+1:


post-receive not running after commit - docker

Description
When I push a commit to Gitea, the post-receive script is not running
/data/git/repositories/user/repo.git/hooks/post-receive
is not being executed  ( I added logging into the script so I could tell if it is being executed ... it is not getting executed )
Gitea Version
:latest  (1.17.2)
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
latest official docker
Database
No response

See the FAQ
https://docs.gitea.io/en-us/faq/#push-hook--webhook-arent-running

See the FAQ
https://docs.gitea.io/en-us/faq/#push-hook--webhook-arent-running

Docker = 20.10.14
I tried:
1 The git hooks are out of sync: run “Resynchronize pre-receive, update and post-receive hooks of all repositories” on the site admin panel
Didn't change anything
The main script:
/data/git/repositories/user/repo.git/hooks/post-receive
is not getting run

I have tested 1.17.2 (docker) many times, can not reproduce the git hook problem.
It will be helpful if you can provide detailed reproducible steps, starting with a simplest setup to see whether the git hooks work, then step by step to reproduce the problem.

Ok, here is my setup:
Docker Server: Flatcar Linux
Docker image: gitea/gitea:latest
I currently have two repositories in Gitea on the server
I added the following line to post.receive  ( /data/git/repositories/user/repo.git/hooks/post.receive
date > /data/gitea/log/post.receive.log
I push a commit from my workstation to Gitea over https
Gitea shows the commit ... but the post.receive script does not run ( no log file ), and yes, the file is executable, there are no error message in the Gitea log
I see a lot of entries similar to this:
2022/10/14 18:18:44 ...dules/git/command.go:153:Run() [D] [6349a804] /data/git/repositories/user/repo.git: /usr/bin/git -c protocol.version=2 -c uploadpack.allowfilter=true -c uploadpack.allowAnySHA1InWant=true -c credential.helper= -c filter.lfs.required= -c filter.lfs.smudge= -c filter.lfs.clean= rev-parse
and
2022/10/14 18:33:27 ...dules/git/command.go:153:Run() [D] [6349ab77-9] /data/git/repositories/user/repo.git: /usr/bin/git -c protocol.version=2 -c uploadpack.allowfilter=true -c uploadpack.allowAnySHA1InWant=true -c credential.helper= -c filter.lfs.required= -c filter.lfs.smudge= -c filter.lfs.clean= rev-list ab61563bbe18d881e0dd24f5e0154b63b76ca6ed..aed53376fe78ee9315d45671113dbb9e85b44f8b

logging into the container I can execute the scripts just fine
i.e.
docker exec -it gitea.docker bash
cd /data/git/repositories/user/repo.git/hooks
ls -l
-rwxr-xr-x    1 git      git            376 Oct 14 17:05 post-receive
drwxr-xr-x    2 git      git           4096 Oct 14 17:05 post-receive.d
./post-receive
-- This executes just fine

Flatcar Linux, are the files mounted as noexec?

No, doesn't matter.  What matters is how they are accessible inside of the Gitea container
FYI: https://www.flatcar.org/ - Flatcar Container Linux
The server this is on is running Flatcar on bare metal -- it is a dedicated container server.

I tested it in my environment, the result is expected.
bash-5.1# cat /data/git/repositories/org/repo.git/hooks/post-receive
#!/usr/bin/env bash
# AUTO GENERATED BY GITEA, DO NOT MODIFY
data=$(cat)
exitcodes=""
hookname=$(basename $0)
GIT_DIR=${GIT_DIR:-$(dirname $0)/..}

date >> /data/gitea/log/post.receive.log

for hook in ${GIT_DIR}/hooks/${hookname}.d/*; do
  test -x "${hook}" && test -f "${hook}" || continue
  echo "${data}" | "${hook}"
  exitcodes="${exitcodes} $?"
done

for i in ${exitcodes}; do
  [ ${i} -eq 0 ] || exit ${i}
done

then git clone the repo via https, then git push via https
bash-5.1# cat /data/gitea/log/post.receive.log
Sun Oct 16 01:46:51 CST 2022
bash-5.1#

To debug this further these are some of the questions you need to answer and work through:

Is git running the hook scripts?
Are the hook scripts running correctly, i.e. is pre-receive calling pre-receive.d/Gitea
Is that hook script running?
Is that hook script running the gitea hook CMD? I.e. Does it have access to the gitea command in that environment?
Is that call of the Gitea subcommand correctly configured ? Can it see the correct app.ini file?
Is that subcommand able to open a connection to the gitea server? I.e. is the internal app URL correct? Is it being permitted to open a connection as such? Is it talking to the right server?

Inactive for more than 2 weeks.
If you can provide a reproducible setup, feel free to re-open and provide more clues.
Or maybe you could try other Linux distro? Could it be caused by Flatcar?


[WFLY-4838] Add smoke test for cloning profiles in CLI

Provide profile cloning ability (runtime (CLI)) to create new profiles based on existing JBoss profiles.
https://issues.jboss.org/browse/WFLY-4838
This test should be in WildFly TS (not WildFly Core TS), because WildFly has more complex default profile in domain part of TS than WildFly Core.

Can one of the admins verify this patch?

This is ok to test

Linux Build 6878 is now running using a merge of f082bf79ad612cdadb2b888ba4d86b2eefd9ae56

Linux with security manager Build 1775 is now running using a merge of f082bf79ad612cdadb2b888ba4d86b2eefd9ae56

Windows Build 1953 is now running using a merge of f082bf79ad612cdadb2b888ba4d86b2eefd9ae56

Linux with security manager Build 1775 outcome was SUCCESS using a merge of f082bf79ad612cdadb2b888ba4d86b2eefd9ae56
Summary: Tests passed: 854, ignored: 321 Build time: 0:05:51

Linux Build 6878 outcome was SUCCESS using a merge of f082bf79ad612cdadb2b888ba4d86b2eefd9ae56
Summary: Tests passed: 2929, ignored: 367, muted: 1 Build time: 0:47:20

Windows Build 1953 outcome was SUCCESS using a merge of f082bf79ad612cdadb2b888ba4d86b2eefd9ae56
Summary: Tests passed: 2930, ignored: 367 Build time: 0:50:51

It's good to have this in full as well, for the reason you said, but there should be a variant of this in WildFly Core.


Cannot find name 'MessageEvent'

I changed the value for lib in my "tsconfig.json" from ["dom", "es2017"] to ["es2017"] because I am working on a Node.js-only project (no Browser environment). Unfortunately, this broke my integration with "reconnecting-websocket". I am getting now the following errors:
##[error]node_modules/reconnecting-websocket/dist/events.d.ts(20,14): error TS2304: Cannot find name 'MessageEvent'.
##[error]node_modules/reconnecting-websocket/dist/events.d.ts(30,22): error TS2304: Cannot find name 'MessageEvent'.
##[error]node_modules/reconnecting-websocket/dist/events.d.ts(31,30): error TS2304: Cannot find name 'MessageEvent'.
##[error]node_modules/reconnecting-websocket/dist/reconnecting-websocket.d.ts(24,54): error TS2304: Cannot find name 'Blob'.
##[error]node_modules/reconnecting-websocket/dist/reconnecting-websocket.d.ts(54,17): error TS2304: Cannot find name 'BinaryType'.
##[error]node_modules/reconnecting-websocket/dist/reconnecting-websocket.d.ts(96,25): error TS2304: Cannot find name 'MessageEvent'.

When digging into "reconnecting-websocket.ts", I realized that it expects "MessageEvent" to come from TypeScript's internal "DOM" library which is not available in a Node.js environment.
On Node.js the MessageEvent can be retrieved from the "ws" package:
import WebSocket, {MessageEvent} from 'ws';

Can this information be included in "reconnecting-websocket"?

Affecting us as well on a react-native typescript project

Searched the whole repo, couldn't figure out where's the definition of MessageEvent.

@HouCoder I figured out that MessageEvent ships with TypeScript's dom library, so you have to add this in your tsconfig.json:
{
  "compilerOptions": {
    "lib": ["dom"],
    ...
  }
}

Thanks @bennyn for your quick response.

@jwaldrip -- have you guys figured out how to fix this in React Native? @bennycode's solution doesn't work in React Native-- it introduces hundreds of duplicate definition conflicts. Spent some time on this, still not sure how to get it working.

Ideally, "reconnecting-websocket" would use "@types/ws" which has a definition for WebSocket.MessageEvent:
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/47e9cf6d8947e46a82bb09bbcc3dd74a3ac0ffa1/types/ws/index.d.ts#L188-L192
Unfortunately, "reconnecting-websocket" currently relies on the "dom" lib that ships with TypeScript. That's why you would have to write your own definition for MessageEvent if you like to use it with React Native.
Example:
declare global {
  interface MessageEvent {
    data: string;
    type: string;
  }
}


[stable/rabbitmq-ha] added checksum/secret

Is this a new chart

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

What this PR does / why we need it:
It adds a checksum for the secret so that the pods had chance to be redeployed if a secret changes
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes https://github.com/helm/charts/issues/12456

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] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @steven-sheehy


MAT-2195 Use of regular cycles in DiagnosticSummaryStats feature class

This PR is a draft of some initial functionality for the use of regular cycles in the DiagnosticSummaryStats feature class.

Adds hyperparameters use_regular_cycles and regular_cycle_comp_num to the class in order to trigger regular cycles for features and select comparison cycles
Modified the fetching of data from the processed_cycler_run dataframe accordingly.

I think it's still a bit rough around the edges and could use some feedback, specifically:

Would it be better to create a new class that creates these features separately?  I'm not sure whether this would be useable, but it seems like the switch logic makes a lot of the parameters implicit and might be confusing to users, rather than just having a whole separate class.
I don't have a test file that includes discharge/charge energy, so the test is currently failing, should I revert the energy features to diagnostic or is there an example we can use that includes energy columns for the regular cycles?
I'm not 100% sure the refactor I've done which replaces the list comprehension and zip logic (e.g. QcDiff = [a_i - b_i for a_i, b_i in zip(Qc100_1, Qc10_1)] with the equivalent numpy operations is okay from a memory standpoint.  I have a vague memory that at some point we refactored some of these things to use more basic python types to save on memory and just want to make sure I'm not reverting anything that shouldn't be.

@JosephMontoya-TRI Sorry for the delay, just getting back to this after a crazy week
Regarding your questions:

I do think it would be better to use a different class just for clarity reasons. Featurization is very prototype-y so the less dependency between features the better I think
We might need to add the charge/discharge energy in the structuring step since I don't think it's computed right now. I can break that out into another ticket or if you want to handle it here, we can do that.
Memory should not be a problem, featurization is a much lower memory footprint

@JosephMontoya-TRI Sorry for the delay, just getting back to this after a crazy week
Regarding your questions:

I do think it would be better to use a different class just for clarity reasons. Featurization is very prototype-y so the less dependency between features the better I think
We might need to add the charge/discharge energy in the structuring step since I don't think it's computed right now. I can break that out into another ticket or if you want to handle it here, we can do that.
Memory should not be a problem, featurization is a much lower memory footprint

@patrickherring-TRI this is ready for re-review

But for the minor changes, lgtm. Thank you!


[Bug report] There may be a bug in GravitinoVersion.gt, a case is here.

Version
main branch
Describe what's wrong
Given:
GravitinoVersion("0.6.1") > GravitinoVersion("0.7.0")
then get True.
This does not conform to the convention。
Error message and/or stacktrace
Here is the code snippet  for gt in client-python/client/gravitino.py:

How to reproduce
Use client-python 0.6.1  to connect the Gravitino server 0.7.0
Additional context
Found this problem in client-python 0.6.1, but this function codes  had no changes in the master branch.

@asiwen do you want to fix this issue here?


Update sbt-ci-release to 1.6.1

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

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.sbt", artifactId = "sbt-ci-release" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.github.sbt", artifactId = "sbt-ci-release" }
}]

labels: sbt-plugin-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #215.


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 2754 ms

Resolved: Bofrost.at performance has improved in 3181892 after 6 minutes.


how much size do you get on your c: drive?

It's negligible. It's not really made to save any space.


using web worker in CRA with typescript

I see that CRA now supports web worker, however I cannot use it in a typescript project. I tried using a *.worker.js file as well, I keep seeing the error
Uncaught SyntaxError: Unexpected token <
Is there any workaround for this?

Please fill out the issue template.

We do not support WebWorkers currently. We're hoping to in near future though.


Implement: apps pems delete

Add a "apps pems delete" command to tapis-cli

Replace with apps pems drop


[BUG] Error in post-command-hook (org-add-log-note): (wrong-number-of-arguments quote 3)

Describe the issue
In Org Agenda, When I press t d to switch the TODO state, I get this error.

I can't reproduce it. Please include a backtrace.

When I updated to commit 50cab52, there was no longer this error.


[EPIC] Refactor Java and Python client API for better user experience

Describe the proposal
The current Java client API is not user-friendly in some aspects; For example, the function that asking a Table's NameIdentifier parameter must be a fully-qualified name (with metalake name, catalog name, together with schema name and table name):
`
Catalog catalog = metalake.loadCatalog(catalogName);
TableCatalog tableCatalog = catalog.asTableCatalog();
NameIdentifier id =
NameIdentifier.of(metalakeName, catalogName, schemaName, tableName);
Table t = tableCatalog.loadTable(id)
`
Actually this is not necessary. There are also other issues, create this epic as an umbrella for such refactoring.
Task list

#3629
#3627
#3698
#3699
#3700
#3701
#3702
#3731
#3732

As all dev works are finished, close this issue.


Mount /g/data1/access

resolution_fixed   |    by<EMAIL_ADDRESS>
Currently accessdev has /g/data1/access.dev mounted as a shared space between accessdev and raijin. Unfortunately this is owned by the 'access.dev' group so regular users are not able to see inside.
Look into mounting /g/data1/access as well

Issue migrated from trac:166 at 2024-01-31 18:10:26 +1100

<EMAIL_ADDRESS>commented

RT ticket 79970

<EMAIL_ADDRESS>changed owner from `` to saw562

<EMAIL_ADDRESS>changed status from accepted to closed

<EMAIL_ADDRESS>changed status from new to accepted

<EMAIL_ADDRESS>commented

This is now done, I can see /g/data1/access from accessdev

<EMAIL_ADDRESS>changed resolution from `` to fixed


Autocomplete v1

From task 73: Autocomplete shorthand names during notes entry for staging shorthand initially
First stab at autocomplete includes:

load possible matches from structuredDataRaw.js
dropdown of potential matches,
update of matches on typing,
update of matches on deletion,
change current match via hover,
change current match via arrowkeys (up and left move up; down and right move down),
insertion of match via enter,
insertion of match via click,
cancel autocomplete via spacebar,
auto-focus on "firstSelection" as specified in structuredDataRaw for .staging,
use of 'positions' library to find location for dropdown

Additional features include:

From task 140: Staging inline helper is inserted onto a new line; insert onto the same line.

Also: I've removed the TMN toggling. We can put it back if we want, but I didn't see it sticking around and figured i'd knock it out while I was at it.

Tested all the features above and it works as expected. Just noticed a couple of things:

Is it expected behavior that when users type ".stag", cancel the autocomplete by typing space, then backspace and try to continue typing that the autocomplete is still cancelled?

When inserting the inline helper for staging via space after ".staging" or pressing enter for the autocomplete, the focus is set to the first value, but when clicking "staging" in autocomplete, no focus is set

When delete everything in the clinical notes and insert inline helper, no focus is set whether inserting the helper via autocomplete (enter button and mouse click) or pressing space

In order:

Yes, since the only way to enter the autocomplete state right now is by entering a '.', and entering a space exits the current mode. This should be avoided in the demo
This is not expected. I'll look at this.
This is a known issue not only with the dropdown but also with the regular inline helper.

Maybe after resolving 2nd bullet in Nicole's comment that you say you'll into, we can merge this?

Doesn't look like it's trivial to resolve. I was looking at this yesterday, and we might just want to make that a larger task in the next sprint. It looks like the editor is losing focus when I click on something else. Preventing the event default behavior doesn't fix this either.

ok. should we create a jira bug against it at top of backlog and then we can merge it as is?

Jira bug has been logged. Feel free to merge if it's good!

I guess I should verify that the other 2 issues Nicole observed are also logged?

They're logged aswell


error in dbccresult

Is this:
Just place "x" to indicate selection (e.g. "[x]")

[ ] feature
[x] bug:

System Details

Operating system name and version: Win10
Output from $PSVersionTable:
PSVersion                      5.1.14393.953
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.953
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

Evaluate $PSVersionTable in PowerShell and paste the output here

Output of dbatools version:
Major  Minor  Build  Revision

0      9      3      -1
0      8      957    -1
Evaluate (Get-Module dbatools -ListAvailable).Version and paste output here

SQL Server version for source/target
source: 12.0.4213.0
destination: 13.0.4001.0

Steps to Reproduce

Test-DbaLastBackup -SqlInstance sqlsrc -Destination sqldest -IgnoreCopyOnly -Databases dbname

Action Results
SourceServer   : SACRDBP01
TestServer     : TESTVM1
Database       : crm_sales_mscrm_archive
FileExists     : True
Size           : 10.96 GB
RestoreResult  : Success
DbccResult     : Failure: Exception calling "ExecuteNonQuery" with "1" argument(s): "An exception occurred while executing a Transact-SQL statement or batch."
RestoreStart   : 2017-07-19 15:05:31.749
RestoreEnd     : 2017-07-19 15:13:09.122
RestoreElapsed : 00:07:37
DbccStart      : 2017-07-19 15:13:09.145
DbccEnd        : 2017-07-19 15:23:09.592
DbccElapsed    : 00:10:00
BackupDate     : {2017-07-16 20:11:14.000, 2017-07-18 20:02:33.000}
BackupFiles    : {\densqlbackup\sql\SACRDBP01\crm_sales_mscrm_archive\FULL\SACRDBP01_crm_sales_mscrm_archive_FULL_20170716_201114.bak, \densqlbackup\sql\SACRDBP01\crm_sales_mscrm_archive\DIFF\SACRDBP01_crm_sales_mscrm_archive_DIFF_20170718_200233.bak}
Expected Results
expected different text for DbccResult.  2 of the 10 databases on this server responded this way, and the others all worked as expected.
Attached screen shots/console output
Import - Attach dbatools logs
Name                                                      Type            Value                                                                               Description

computermanagement.badconnectiontimeout                   System.TimeSpan 00:15:00                                                                            The timeout used on bad computer management connections. When a connection using a protocol fail...
computermanagement.cache.disable.all                      System.Boolean  False                                                                               Globally disables all caching done by the Computer Management functions
computermanagement.cache.disable.badcredentiallist        System.Boolean  False                                                                               Disables the caching of bad credentials. dbatools caches bad logon credentials for wmi/cim and w...
computermanagement.cache.disable.cimpersistence           System.Boolean  False                                                                               Disables the reuse of Cim Sessions. Setting this config to "true" will hurt Computer Management ...
computermanagement.cache.disable.credentialautoregister   System.Boolean  False                                                                               Disables the automatic registration of working credentials. dbatools will caches the last workin...
computermanagement.cache.enable.credentialfailover        System.Boolean  False                                                                               Enables automatically failing over to known to work credentials, when specified credentials will...
computermanagement.cache.force.overrideexplicitcredential System.Boolean  False                                                                               Enabling this will force the use of the last credentials known to work, rather than even trying ...
computermanagement.type.disable.cimdcom                   System.Boolean  False                                                                               Globally disables all connections using Cim over DCOM
computermanagement.type.disable.cimrm                     System.Boolean  False                                                                               Globally disables all connections using Cim over WinRM
computermanagement.type.disable.powershellremoting        System.Boolean  True                                                                                Globally disables all connections using PowerShell Remoting
computermanagement.type.disable.wmi                       System.Boolean  True                                                                                Globally disables all connections using WMI
formatting.date                                           System.String   dd MMM yyyy                                                                         The default formatting of Dates
formatting.datetime                                       System.String   yyyy-MM-dd HH:mm:ss.fff                                                             The default formatting style for full datetime objects
formatting.disable.customdatetime                         System.Boolean  False                                                                               Controls whether custom DateTime formats are used or whether to default back to DateTime standard.
formatting.disable.customtimespan                         System.Boolean  False                                                                               Controls whether custom TimeSpan formats are used or whether to default back to DateTime standard.
formatting.time                                           System.String   HH:mm:ss                                                                            The default formatting style for full datetime objects
logging.errorlogenabled                                   System.Boolean  True                                                                                Governs, whether a log of recent errors is kept in memory. This setting is on a per-Process basi...
logging.errorlogfileenabled                               System.Boolean  True                                                                                Governs, whether log files for errors are written. This setting is on a per-Process basis. Runsp...
logging.maxerrorcount                                     System.Int32    128                                                                                The maximum number of error records maintained in-memory. This setting is on a per-Process basis...
logging.maxerrorfilebytes                                 System.Int32    20971520                                                                            The maximum size all error files combined may have. When this number is exceeded, the oldest ent...
logging.maxlogfileage                                     System.TimeSpan 7.00:00:00                                                                          Any logfile older than this will automatically be cleansed. This setting is global.
logging.maxmessagecount                                   System.Int32    1024                                                                                The maximum number of messages that can be maintained in the in-memory message queue. This setti...
logging.maxmessagefilebytes                               System.Int32    5242880                                                                             The maximum size of a given logfile. When reaching this limit, the file will be abandoned and a ...
logging.maxmessagefilecount                               System.Int32    5                                                                                The maximum number of logfiles maintained at a time. Exceeding this number will cause the oldest...
logging.maxtotalfoldersize                                System.Int32    104857600                                                                           This is the upper limit of length all items in the log folder may have combined across all proce...
logging.messagelogenabled                                 System.Boolean  True                                                                                Governs, whether a log of recent messages is kept in memory. This setting is on a per-Process ba...
logging.messagelogfileenabled                             System.Boolean  True                                                                                Governs, whether a log file for the system messages is written. This setting is on a per-Process...
message.infocolor                                         System.String   Cyan                                                                                The color to use when writing text to the screen on PowerShell 3 or 4.
message.maximumdebug                                      System.Int32    9                                                                                The maximum message level where debug information is still written.
message.maximuminfo                                       System.Int32    3                                                                                The maximum message level to still display to the user directly.
message.maximumverbose                                    System.Int32    6                                                                                The maxium message level where verbose information is still written.
message.minimumdebug                                      System.Int32    1                                                                                The minimum required message level where debug information is written.
message.minimuminfo                                       System.Int32    1                                                                                The minimum required message level for messages that will be shown to the user.
message.minimumverbose                                    System.Int32    4                                                                                The minimum required message level where verbose information is written.
path.dbatoolsdata                                         System.String   C:\Users\ebrown\AppData\Roaming\PowerShell\dbatools                                 The path where dbatools stores persistent data on a per user basis.
path.dbatoolslogpath                                      System.String   C:\Users\ebrown\AppData\Roaming\PowerShell\dbatools                                 The path where dbatools writes all its logs and debugging information.
path.dbatoolstemp                                         System.String   C:\Users\ebrown\AppData\Local\Temp                                                  The path where dbatools stores temporary data.
path.servers                                              System.String   C:\Users\ebrown\AppData\Roaming\PowerShell\dbatools\servers.xml                     The file in which dbatools stores the current user's server list, as managed by Get/Add/Update-D...
path.tagcache                                             System.String   C:\Program Files\WindowsPowerShell\Modules\dbatools\0.8.957\bin\dbatools-index.json The file in which dbatools stores the tag cache. That cache is used in Find-DbaCommand for more ...
Can't get XML to output

cannot replicate, but feel free to reopen if this happens in the latest release too

also our newest version will give you a far more informative error message


Update uk.po

взули -> вузли (nodes)
Explanation: misspelling
Fix: switch positions of two letters

Thank you for your contribution
However this is not where these files are edited, instead you edit them on the webplate, see here
Closing as this is not a valid change


Archlinux VNC hyprland crash on start

Running on an oDroid N2 - Crashlog:
--------------------------------------------
--
  | Hyprland Crash Report
  | --------------------------------------------
  | Calm down, it was a misinput! MISINPUT!
  |
  | Hyprland received signal 6 (Aborted)
  |
  | Version: 51a930f802c71a0e67f05e7b176ded74e8e95f87
  |
  | System info:
  | System name: Linux
  | Node name: alarm
  | Release: 5.19.1-0-ARCH
  | Version: #1 SMP PREEMPT Mon Aug 15 12:04:17 AST 2022
  |
  | GPU:
  |
  |
  | os-release:
  | NAME="Arch Linux ARM"
  | PRETTY_NAME="Arch Linux ARM"
  | ID=archarm
  | ID_LIKE=arch
  | BUILD_ID=rolling
  | ANSI_COLOR="38;2;23;147;209"
  | HOME_URL="https://archlinuxarm.org/"
  | DOCUMENTATION_URL="https://archlinuxarm.org/wiki"
  | SUPPORT_URL="https://archlinuxarm.org/forum"
  | BUG_REPORT_URL="https://github.com/archlinuxarm/PKGBUILDs/issues"
  | LOGO=archlinux-logo
  |
  |
  |
  | Backtrace:
  | #0 \| Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x74c) [0xaaaada48154c]
  | ??
  | ??:0
  | #1 \| Hyprland(_Z25handleUnrecoverableSignali+0x64) [0xaaaada40e904]
  | ??
  | ??:0
  | #2 \| linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffffb5c3a790]
  | ??
  | ??:0
  | #3 \| /usr/lib/libc.so.6(+0x82790) [0xffffb5022790]
  | ??
  | ??:0
  | #4 \| /usr/lib/libc.so.6(raise+0x2c) [0xffffb4fdb6fc]
  | ??
  | ??:0
  | #5 \| /usr/lib/libc.so.6(abort+0xe4) [0xffffb4fc78b0]
  | ??
  | ??:0
  | #6 \| /usr/lib/libstdc++.so.6(+0xd2c18) [0xffffb5312c18]
  | ??
  | ??:0
  | #7 \| Hyprland(+0x1ae49c) [0xaaaada52e49c]
  | ??
  | ??:0
  | #8 \| Hyprland(_ZN26CScreencopyProtocolManager10shareFrameEP16SScreencopyFrame+0x98) [0xaaaada531b5c]
  | ??
  | ??:0
  | #9 \| Hyprland(_ZN26CScreencopyProtocolManager14shareAllFramesEP8CMonitorb+0x94) [0xaaaada531c78]
  | ??
  | ??:0
  | #10 \| Hyprland(_ZN13CHyprRenderer13renderMonitorEP8CMonitor+0x102c) [0xaaaada54d5ec]
  | ??
  | ??:0
  | #11 \| Hyprland(_Z13handleWrappedP11wl_listenerPv+0x48) [0xaaaada4c3df8]
  | ??
  | ??:0
  | #12 \| /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0xa0) [0xffffb58e97e4]
  | ??
  | ??:0
  | #13 \| /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch_idle+0x44) [0xffffb58ebf04]
  | ??
  | ??:0
  | #14 \| /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0x148) [0xffffb58ec078]
  | ??
  | ??:0
  | #15 \| /usr/lib/libwayland-server.so.0(wl_display_run+0x44) [0xffffb58e9094]
  | ??
  | ??:0
  | #16 \| Hyprland(main+0x908) [0xaaaada3f6338]
  | ??
  | ??:0
  | #17 \| /usr/lib/libc.so.6(+0x27b80) [0xffffb4fc7b80]
  | ??
  | ??:0
  | #18 \| /usr/lib/libc.so.6(__libc_start_main+0xa0) [0xffffb4fc7c60]
  | ??
  | ??:0
  | #19 \| Hyprland(_start+0x30) [0xaaaada40e770]
  | ??
  | ??:0
  |
  |
  | Log tail:
  | [LOG] Registered signal for owner aaaadb19d470: aaaadb1943a0 -> aaaadb19d878 (owner: )
  | [WARN] No rule found for HDMI-A-1, trying to use the first.
  | [LOG] Applying monitor rule for HDMI-A-1
  | [LOG] Setting preferred mode for HDMI-A-1
  | [LOG] Monitor HDMI-A-1 -> destroyed all render data
  | [LOG] Monitor HDMI-A-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
  | [LOG] Monitor HDMI-A-1 data dump: res<EMAIL_ADDRESS>scale 1.00, transform 0, pos 0x0, 10b 0
  | [LOG] Added new monitor with name HDMI-A-1 at 0,0 with size 1920x1080, pointer aaaadb194210
  | [LOG] New monitor: WORKSPACEID 1, exists: 0
  | [LOG]  [hookSystem] New hook event registered: createWorkspace
  | [LOG]  [hookSystem] New hook event registered: monitorAdded
  | [LOG] Monitor HDMI-A-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
  | [LOG] Hyprland is ready, running the event loop!
  | [LOG]  [hookSystem] New hook event registered: tick
  | [LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 systemctl --user import-environment DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP && hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP HYPRLAND_INSTANCE_SIGNATURE
  | [LOG] Process Created with pid 9283
  | [LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 wayvnc
  | [LOG] Process Created with pid 9285
  | [LOG] ApplyConfigToKeyboard for "meson-ir", hasconfig: 0
  | [LOG] Attempting to create a keymap for layout us with variant  (rules: , model: , options: )
  | [LOG] Set the keyboard layout to us and variant to  for keyboard "meson-ir"
  | [LOG] Applied config to mouse meson-ir-1, sens 0.00
  | [WARN] No rule found for HDMI-A-1, trying to use the first.
  | [LOG] Applying monitor rule for HDMI-A-1
  | [LOG] Setting preferred mode for HDMI-A-1
  | [LOG] Monitor HDMI-A-1 -> destroyed all render data
  | [LOG] Monitor HDMI-A-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
  | [LOG] Monitor HDMI-A-1 data dump: res<EMAIL_ADDRESS>scale 1.00, transform 0, pos 0x0, 10b 0
  | [LOG] Monitor HDMI-A-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
  | [LOG]  [hookSystem] New hook event registered: render
  | [LOG] Framebuffer created, status 36053
  | [LOG] Framebuffer created, status 36053
  | [LOG] Framebuffer created, status 36053
  | [LOG] Framebuffer created, status 36053
  | [LOG] Allocated texture for BGTex
  | [LOG] Background created for monitor HDMI-A-1
  | [LOG] Shaders initialized successfully.
  | [LOG] ScreencopyProtocolManager bound successfully!
  | [LOG] Registered signal for owner aaaadb2067e0: aaaadc024868 -> aaaadb2067e8 (owner: Keyboard)
  | [LOG] Registered signal for owner aaaadb2067e0: aaaadc024858 -> aaaadb206850 (owner: Keyboard)
  | [LOG] Registered signal for owner aaaadb2067e0: aaaadc024738 -> aaaadb206920 (owner: Keyboard)
  | [LOG] Registered signal for owner aaaadb2067e0: aaaadc024878 -> aaaadb2068b8 (owner: Keyboard)
  | [LOG] ApplyConfigToKeyboard for "wlr_virtual_keyboard_v1", hasconfig: 0
  | [LOG] Attempting to create a keymap for layout us with variant  (rules: , model: , options: )
  | [LOG] Set the keyboard layout to us and variant to  for keyboard "wlr_virtual_keyboard_v1"
  | [LOG] New virtual keyboard created, pointers Hypr: aaaadb2067e0 and WLR: aaaadc024720
  | [LOG] Applied config to mouse meson-ir-1, sens 0.00
  | [LOG] Registered signal for owner aaaadc035790: aaaadc08efa8 -> aaaadc035850 (owner: Mouse)
  | [LOG] New mouse created, pointer WLR: aaaadc08ef90
  | [LOG]  [hookSystem] New hook event registered: mouseMove

can you build the latest git version?
and use an actual kernel version 6.3+?

I tested wayvnc on RPi4 now and it works for me


AS A Grants Office Member, I WANT TO see the state of an agency’s grant SO THAT I can report on and manage the grant opportunities process #79

Acceptance Criteria

See the State field of a grant that indicates where the agency is within their own process
Filter on State field values (Assigned, Answered, Awarded, Rejected)

Currently the Grants tab show a Status field, which represents the Grants.gov status. This is fine. However, it would be helpful if a partner could indicate where a grant is within their own process; we can call this a grant's State. Potential State values could be things like: Assigned, Answered, Awarded, Rejected.
From Jessica Martin (OH)

Merged with #18


Grab more data from DF

See https://github.com/rasheelprogrammer/AlphaFable/blob/master/game%2Fmb-dataGrab.php
https://github.com/rasheelprogrammer/AlphaFable/blob/master/game%2Fmb-fileGrab.php
Data grab:

[x] quests (town / quest data)
[x] quests2 (DA quest data)
[x] MISSING: quests with min-level
[x] class
[x] shops
[x] houseshops
[x] houseitems
[x] mergeshops
[ ] hairs
[x] interfaces
[ ] chars (ability to import char from original df)

FILES:

[x] items (from shop)
[x] interfaces
[x] classes
[x] maps (from quests)
[x] house items
[x] houses
[x] monsters (from quests)
[ ] hairs

Data grab:
[x] quests (town / quest data)
[x] quests2 (DA quest data)
[ ] MISSING: quests with min-level
[ ] class
[ ] shops
[ ] houseshops
[ ] houseitems
[ ] merges
[ ] hairs
[ ] interfaces
[ ] chars (ability to import char from original df)
FILES:
[x] items (from shop)
[x] interfaces
[ ] classes
[x] maps (from quests)
[ ] houses
[ ] house items
[x] monsters (from quests)
[ ] hairs

closed, i will create this tasks when needed


Lines are off when search reduces fields

It makes sense to change the search icon into a pull-down as happens with the expression box.  Until then the lines should be accurate.


repro<EMAIL_ADDRESS>causes errors for repos with moduleResolution set to Node{16,Next}

Explanation
The changes introduced in superstruct v2.0.0-0 don't enable us to go back to using superstruct.
To demonstrate, I created a repro branch where all dependencies and nested dependencies are forced to use superstruct v2.0.0-0 via yarn resolutions.
In the ci build run results, we still see a large number of the following error for type imports when Node{16,Next} is enabled:
error TS1479: The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'.

https://github.com/MetaMask/core/actions/runs/9654219968/job/26628058963?pr=4458

The reason for this is that our libraries are CJS and superstruct is ESM, and with Node{16,Next} enabled, a CJS project can only import types from an ESM project if it exports type declarations files that are unambiguously specified as .d.cts. Ambiguous .ts and .d.ts files that are interoperable between CJS/ESM are no longer supported in Node{16,Next}.

See also: https://github.com/MetaMask/superstruct/pull/1, https://github.com/MetaMask/utils/issues/163.


Support extracting zdbfs metrics

0-db-fs exposes fs metrics through an ioctl. Using a combination of nix (to generate the ioctl bindings) and bindgen (to generate the correct rust representation of the stats struct, example of which can be found here: https://github.com/maxux/zdbfs-stats/blob/master/zdbfs-stats.c#L20), we can simply do a periodic syscall and push the response to the metric aggregator

An exmpale has been created on the zdbfs_stats branch, will integrate it into the main code later.


Closed issue haven't been resolved yet

Could u share the url of the extension and the marketplace

For https://github.com/cdr/code-server/issues/1559 yeah? If you search @id:Atlassian.atlascode in the extension sidebar it'll show up.
Our marketplace URL is https://extensions.coder.com but there are no front-facing pages for it at the moment so it's really only meant to be used from code-server.

@code-asher the extension u added up isnt working eventhough its compatible, its giving a prompt of not compatible. Please look into it

Would you be able to update code-server to 3.1.1?


Should be able to pass custom parameters for tests

It would be good to be able to specify external data to be supplied to tests as documented here: https://pester.dev/docs/usage/data-driven-tests#providing-external-data-to-tests  This would allow us to pass the connection string to use to connect to a database, for example.

I'd love to add support for this, it'll probably take me a while at present as I've got a lot of other things on.
If you (or anyone) want to put in a PR for it then I'm happy to review it, if not then I'll try to get to it in the next few weeks but can't promise anything.

Fair enough - I've only just started (last couple of weeks) using Azure DevOps or Pester, so it would probably take me a bit, but I'll clone the repo and see if I can figure out how to do it.
Thanks for taking a look!
g

From: Chris Gardner<EMAIL_ADDRESS>Sent: Tuesday, March 2, 2021 1:00 AM
To: pester/AzureDevOpsExtension<EMAIL_ADDRESS>Cc: Geoffrey Freeman<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [pester/AzureDevOpsExtension] Should be able to pass custom parameters for tests (#61)
I'd love to add support for this, it'll probably take me a while at present as I've got a lot of other things on.
If you (or anyone) want to put in a PR for it then I'm happy to review it, if not then I'll try to get to it in the next few weeks but can't promise anything.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/pester/AzureDevOpsExtension/issues/61#issuecomment-788743093, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALVX6G33YP3IDWDFCQGHAALTBSSKFANCNFSM4YNQSBPQ.


Fix typo from the Go operation building tutorial

Description of the change:
Fix a typo
Checklist
If the pull request includes user-facing changes, extra documentation is required:

Add a new changelog fragment in changelog/fragments (see changelog/fragments/00-template.yaml)
Add or update relevant sections of the docs website in website/content/en/docs

Hello, found this little typo on the online documentation.
Hope this helps!

You can sign-off by doing git commit --amend --no-edit --signoff

@bLuka looking forward to get this PR merged :). Can you please sign the commit?


"Following" Macros

I've tried to make my Animal Companion to follow my ally several times but it never worked, is it some  kind of bug?
What does the "Toggle Following" macro do exactly? It doesn't have  any visual effect so I've no idea of what's supposed to do

So, how it is supossed to work is like this: Let's say you want token A to follow token B, you select token A, hover over token B (or target token B) and either use the macro or press the toggle follow key (default F). To stop following, hover over an empty region of the map/untarget token A and use the toggle macro or key again.
You can activate the Rideable setting "Message popups" to gain more information (started/stopped following) (you might need to activate the Foundry setting "Scrolling Status text" first).
Should that not work there might be a bug. In this case, are there any erros in the console (F12) upon using the macro/key?

Understood, but the Following macro isn't working, at least not with Animal
Companions. As I said I can't make my AC follow my ally. It says it's
following, but it doesn't move. The Console seems to be ok. Could you check
it out?
On Mon, Apr 29, 2024 at 1:14 PM Saibot393 @.***> wrote:

So, how it is supossed to work is like this: Let's say you want token A to
follow token B, you select token A, hover over token B (or target token B)
and either use the macro or press the toggle follow key (default F). To
stop following, hover over an empty region of the map/untarget token A and
use the toggle macro or key again.
You can activate the Rideable setting "Message popups" to gain more
information (started/stopped following) (you might need to activate the
Foundry setting "Scrolling Status text" first).
Should that not work there might be a bug. In this case, are there any
erros in the console (F12) upon using the macro/key?
—
Reply to this email directly, view it on GitHub
https://github.com/Saibot393/Rideable/issues/71#issuecomment-2083143032,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYXZHNNYV5X7ZJ3IDO3KJFDY7ZWWXAVCNFSM6AAAAABG6T5KSWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBTGE2DGMBTGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Which following algorithm are you using (Rideable setting "Following algorithm")? If it is set to "Simple path history", installing routinglib and using that instead may fix it. It could also be a module incompatibility, have you tried running Find the culprit!?
I will look into any possible bug as soon as possible.

Is this still heppening with the newest versions of rideable?


MessageDescriptor --> MessageType? More examples please.

Background
I'm toying with a solution in which some client may submit requests to a (remote) server that invokes functions on the server. While the client and server may use gRPC and protobufs, the functions do not implement protobufs, may be hosted by different server runtimes but, in Go are of the type func f([]byte) ([]byte,error) and may be invoked as result,err := host.invoke(f,params). The requirement will be that the incoming params will be a []interface{} and parseable by the function. I'm thinking to envelope the functions' types as protobuf services (==functions) and messages (*Request==params; *Response==result).
Implementation

protoc generates descriptor set
descriptor set parsed into protoregistry.Files
MessageDescriptors gleaned from FileDescriptors in Files Find*ByName and Find*ByPath
Marshaled into anypb.Any using dynamicpb.NewMessage() and proto.Unmarshal()
Shipped to the server

After much reading of the Godocs and struggling to grasp the API, this appears to work.
Challenge
I'm challenged to perform the reverse.
The package structure suggests that, whereas I used protoregistry.Files on the way in, I will use protoregistry.Types on the way out... With anypb.Any I should have as TypeURL that I could FindMessageBy* to get a MessageType (Go type) rather than the MessageDescriptor (protobuf).
The server is able to invoke the desired function, it is able to determine which function to invoke and the types of the request and response from the incoming request message's envelope metadata and it has a concrete anypb.Any message corresponding to the parameters.
But, I need but don't have MessageType to populate protoregistry.Types
IIUC MessageType correspond to Go concrete types. I'm OK to use Golang for this implementation but I'd like the possibility that the server be implemented in e.g. Rust too. So, I think I'd prefer to have messages convey protobuf types rather than language-specific representations.
If I had `protoregistry.Types, this https://github.com/golang/protobuf/issues/1085 issue helps get me where I need to (I think).
Questions

Is there example code for constructing protoregistry.Types?
Is there example code for moving to|from anypb.Any using TypeURL as the key?
If my explanation is understandable, am I on the right path?

Looking through other issues, other developers appear to be less challenged by this API than me. But assuming that I'm representative of the other half the normal distribution, please blog more describing use-cases and best-practices with this API.

Is there example code for constructing protoregistry.Types?
Is there example code for moving to|from anypb.Any using TypeURL as the key?

No and no. Examples and documentation for all the new features are unfortunately lacking at the moment.

MessageDescriptor --> MessageType?

The protodesc package currently mentions the use of dynamicpb. Was there someplace else you were looking during your journey that similar things should have been documented there as well?

But, I need but don't have MessageType to populate protoregistry.Types

Does dynamicpb.NewMessageType do what you want?

Looking through other issues, other developers appear to be less challenged by this API than me.

It seems to me that you're doing some pretty advanced things dynamically with protobufs, so it's unsurprising that you're treading on waters that most people haven't need to traverse. It does amuse me that almost everything you're describing would have been impossible to do with the github.com/golang/protobuf, but is at least doable with the google.golang.org/protobuf module.

Thank you for such a prompt and helpful response!
I missed The "google.golang.org/protobuf/types/dynamicpb" package can be used to create Go type descriptors from protobuf descriptors.. I'll have a look dynamicpb.NewMessageType. Thank you!
Reading through the Overview and the very interesting Redaction example, some of the motivations for API bump change are explained. And, the overview does hint at the possibilities.
Respectfully, I think the reasoning would benefit from more explanations and examples showing what's possible|easier with APv2.
I stumbled upon APIv2 when I began receiving deprecated warnings from APIv1 but these warnings didn't guide me to APIv2 and, in truth, it took me some time to find it and some time to understand what's going on.
Thank you for this helpful reply. I'll take a look at dynamicpb.MessageType and update|close this.

@dsnet I've made some progress but once more stuck, asking in this thread as it's related to my original comment.
My test proto:
service Adder {
    rpc add(AdderRequest) returns (AdderResponse) {};
}
message AdderRequest {
    int32 a = 1;
    int32 b = 2;
}
message AdderResponse {
    int32 result = 1;
}

I'm able to find the descriptor, create the type (thanks -- your previous guidance) and a new up a ProtoMessage which will receive Unmarshal'd data.
In the following, the output matches AdderRequest (as expected):
md := f.filedescriptor.Messages().ByName("AdderRequest")
mt := dynamicpb.NewMessageType(md)
pm := mt.New().Interface()
if err := proto.Unmarshal(params.GetValue(), pm); err != nil {
	return nil, err
}

log.Printf("%+v", pm)

For testing (only!), I've implemented the services by implementing the grpc stubs.

NOTE In the solution I'm planning, these services will not implement the stubs and I will not need to assert them as concrete (Go) types but be able to range over a ProtoMessage's FieldDescriptors and values.

For testing, I have a ProtoMessage and in this case, I need a  concrete AdderRequest type.
resp, err := x.Add(context.TODO(), &pm)

Which fails with:
cannot use ... (type *protoreflect.ProtoMessage) as type *protos.AdderRequest ...

It's also not possible to assert into AdderRequest
rqst, ok := pm.(*pb.AdderRequest)
if !ok {
	log.Print("type assertion to `AdderRequest` failed")
}

Since I know the concrete type, I could manually construct (e.g. &AdderRequest{...}) from pm but it feels as though this should be automatic.
Can I do this?

If you have direct access to AdderRequest, is there a reason to not use that concrete type instead of creating a dynamic message?
pm := new(protos.AdderRequest)
if err := proto.Unmarshal(params.GetValue(), pm); err != nil {
	return nil, err
}
...

Fundamentally, the generated grpc stub expects a concrete message type in its API. Thus you either have to:

Determine the concrete message type from the grpc API (either through Go reflection) or through reflection API provided by grpc (I'm not an expert on the grpc API), create an instance of that message type and unmarshal into it, OR
Construct something through dynamic message types, but prior to passing to the grpc API, you need to convert the dynamic message into a concrete message. You can do so by merging the dynamic message into a newly created concrete message:

md := f.filedescriptor.Messages().ByName("AdderRequest")
mt := dynamicpb.NewMessageType(md)
pm := mt.New().Interface()
if err := proto.Unmarshal(params.GetValue(), pm); err != nil {
	return nil, err
}
...
m := new(protos.AdderRequest)
proto.Merge(m, pm)

Very helpful, thank you.

@dsnet -- an update to confirm that I've got everything working. Thanks for your help!

Great to hear! Let's keep this issue as I agree that the documentation can be better improved.


Tooling failing for 22.x

Traceback (most recent call last):
  File "/home/runner/work/nodejs-dependency-vuln-assessments/nodejs-dependency-vuln-assessments/dep_checker/main.py", line 261, in <module>
    exit(main())
  File "/home/runner/work/nodejs-dependency-vuln-assessments/nodejs-dependency-vuln-assessments/dep_checker/main.py", line 2[16](https://github.com/nodejs/nodejs-dependency-vuln-assessments/actions/runs/8843384012/job/24283715415#step:6:17), in main
    raise RuntimeError(
RuntimeError: Invalid argument: 'v22.x' is not a supported branch. Please use one of: ['main', 'v21.x', 'v20.x', 'v[18](https://github.com/nodejs/nodejs-dependency-vuln-assessments/actions/runs/8843384012/job/24283715415#step:6:19).x']
Error: Process completed with exit code 1.

@richardlau do you know off the top of your head why this might happen. If not I'll take a closer look but for some reason I think you might know without looking.

v22.x is not here https://github.com/nodejs/nodejs-dependency-vuln-assessments/blob/0e60f0c0303cd628b4731820503533cc1703c2d4/dep_checker/dependencies.py#L60-L65


Bank configuration!

Requesting that the /config bank sort command be merged to be usable by shared perk accounts. It says locked behind tier 1 even when my perk field has 4 for tier 3 patron

This seems to be the case already, maybe was fixed since this was made. If its not, you can reopen.


[Wildcard Variables] Code Completion Support

Tests needed, work needed

[x] Don’t want to suggest wildcards that can’t be referenced.
[x] Test the situations for binding _ to make sure it still works. (Top level declarations, fields, etc)
[x]  Test import prefix named _ -> still nonbinding but can access extensions
[x]  @override works correctly with wildcards.

Complete w/ https://github.com/dart-lang/sdk/commit/2ffa9d1433adfde07e8c850611ab705683625d91.


Update Documentation for Custom Back-Halves Feature

Description:
This sub-issue involves updating the API documentation and user guides to explain how users can use the custom back-halves feature effectively.
Tasks:

Update the API documentation to include details on using custom back-halves.
Provide examples and best practices for creating custom back-halves.

@DhananjayThomble  can i work on this issue?

@DhananjayThomble assign me

I assume this issue has been stale.
Once #175 is merged, please assign this to me and I'll update the swagger documentation for /api/url and /api/url/custom routes for custom back links as implemented. (https://github.com/DhananjayThomble/URL-Shortener-App/pull/175)


Ensure that minerva instances do not start with stale ontologies

The safest way to start minerva is by providing a single ontology IRI that resolves to the root of the import chain, e.g. http://purl.obolibrary.org/obo/go/extensions/go-lego.owl
One drawback of this approach is that start-up can be slow due to network I/O and is not resilient to network errors.
To get around this, we can use a well-documented and robust mirroring strategy. For example robot mirror. Note that care must be taken to ensure that the cache does not get stale. For example, the mirror can be regenerated by a jenkins job on a weekly or daily basis.
Things to avoid

use of svn. See https://github.com/geneontology/noctua/issues/434

minerva still starting up with
-c /home/swdev/local/src/svn/geneontology.org/trunk/ontology/extensions/catalog-v001.xml

Aside from the tests, are any of the following used:
https://github.com/geneontology/minerva/search?utf8=✓&q=catalog-v001.xml&type=

I think this is what needs fixed:

https://github.com/geneontology/operations/blob/93dc5ca44a064e72b8f100cdf6340d707352b0be/templates/noctua/noctua-aws-startup.yaml#L74-L77

Other uses of catalogs:
I believe this is deprecated/unused: should we mark/remove?

https://github.com/geneontology/go-site/blob/master/configurations/supervisord/minerva.conf

amigo confs
I see we're also potentially using catalogs for noctua

https://github.com/geneontology/amigo/search?utf8=✓&q=catalog-v001.xml&type=
https://github.com/geneontology/operations/search?utf8=✓&q=catalog-v001.xml&type=

the amigo loads seem fine, not sure why the minerva load seems stale

The supeevisord may be outdated, but it should likely be switched to operations.

As well, we have not restarted minerva for a while.

FALSE ALARM
In #414
I made this edit to svn:
http://viewvc.geneontology.org/viewvc/GO-SVN?view=revision&revision=43381
The catalog is actually silent:
http://viewvc.geneontology.org/viewvc/GO-SVN/trunk/ontology/extensions/catalog-v001.xml?view=markup
so we should remove the catalogs from the yaml anyway to get rid of a pointless dependency. But adding the svn catalog  has no effect!


Individual content download is very slow at the first launch of the app

At the first launch of the app, after you get into the Discovery page after content pack downloaded.
Try to download an individual content, it will take a long time. (>5 mins)
The download time will reduce to 1 min after you restart the app.
Step to reproduce:

Install the app and Select a content pack to download
Get into the main Discovery page
Get into a channel page and select a content to download
Check the download time

Result:
It will take more than 5 mins to dowload the content.
If you quit the app, it will take ~1 min to complete the download.
This issue can be reproduced in both Chromebook and Windows app.
Logs:
Chromebook (app version: 6.31-379)
content_download.txt
Windows (app version: <IP_ADDRESS>)
kolibri.txt

I attempted to idle the system for 30 minutes and then retook the test. The download speed is normal.

I attempted to idle the the EK app for 30 minutes and then retook the test. The download speed is normal.

Ok, thanks for this test. This points to an issue with the downloading of the metadata in the background. So this has to be investigated.

Just played a bit more with it. I started the download of the individual item, and the thumbnails were already there in the channel I was looking at (Music, in the Artist pack). The first try the download took very long. The second time the app rendered unresponsive even.

Oh, I think there might be a much simpler fix for this. Right now we're using the defaults where kolibri starts 4 regular priority workers (can start regular or high priority jobs) and 2 high priority workers (starts only high priority jobs). The thumbnail downloads are done at regular priority while the user requested downloads are done at high priority.
So, I think we can probably just reduce the number of workers quite a bit. Something like 1 regular worker and 2 high priority workers. That way you can get 2 user initiated downloads going in parallel while the background thumbnail tasks will completely serialize. I'll experiment with that.

That is interesting. Also it would be a good test to turn off downloading the thumbnails and test behavior then, if that solves all of the issues. Making sure sure that we are barking up the right tree.

I played with this before the end of the day yesterday and it seems like the app is more responsive with less background downloading. However, I immediately tried to download a document and it just spun until the thumbnails were done downloading. Since it was a high priority task it should have been scheduled immediately. I don't know what was going on there. I'm going to do a bit more debugging of the kolibri tasks system to day to try to understand it better.

Hmm, when the download task comes in from the API it's being enqueued at regular priority. This is unlike when the task is enqueued directly from the backend and we specify the priority as high.
Ohhh, unlike the remotechannelimport task, the remotecontentimport task does not specify a default high priority. Can I specify the task priority through the API? I think the default should be changed and I'll send a patch to LE while maybe making a downstream patch in our installer.

Sent https://github.com/learningequality/kolibri/pull/11113 upstream. I think we should do this regardless of the rest of the solution here since user requested downloads should take precedence over other tasks.
The downside of reducing the number of workers is that also slows down the initial download on the welcome screen. Currently you can get 6 tasks going in parallel during initial download. That allows more of the channels from a pack to be downloaded in parallel. It also speeds up the part at the end where all the remaining channels from the collection are downloaded.
The alternative solution involves #592. Currently the way the thumbnail tasks are handled is that they're all created at once and scheduled before the collection downloader completes. Kolibri then goes and runs as many of them as there are available workers. This is really simple since we get out of the collection downloader and let Kolibri deal with it. What would be better would be scheduling the thumbnail tasks one by one so that Kolibri only runs one at a time regardless of how many workers are available.
The reason why the extra channel download is done in the collection downloader is that we need the channel metadata first so that the thumbnail nodes can be determined. Right now the only way to serialize that is to do it in the collection downloader. Instead you'd need something that reacts to completed tasks and queues the next task. You can do that with a StorageHook, but it would also involve storing the outstanding tasks in the database. It's not insurmountable by any means, but certainly more work.

https://github.com/learningequality/kolibri/pull/11113 was rejected. I think we'll need to carry a downstream patch until the better alternative solution can be implemented.

Actually, the better way would be to restore our custom remotecontentimport task we've used before in the explore plugin. The only difference is that it will be specified with high priority.

I think #754 is an easy win here. It's not perfect since all the task workers are likely occupied with thumbnail tasks, so you still have to wait for one of them to complete. But it's better than before where you'd have to wait for all of them to complete because the content download task is the same priority as any outstanding thumbnail tasks.

Available in https://github.com/endlessm/kolibri-explore-plugin/releases/tag/v6.35.0 and in internal testing in the Android app.

Verified passed in Chromebook Manatee 6.38-389 & Windows <IP_ADDRESS>


Form Closing Problem

I have two forms in my project  frmContactList and frmContact. When I start the program it will show frmContact then i will click Create button to show frmContact. The problem is when I close frmContact form, it will close all forms. How can I fix this.

Change method "TerminateOnClose" in "MaterialForm.cs"  (~ at Line 651]
Before:
    private void TerminateOnClose(object sender, FormClosedEventArgs e)
    {
        Application.Exit();
    }

After:
    private void TerminateOnClose(object sender, FormClosedEventArgs e)
    {
        if (Application.OpenForms.Count > 0  && this == Application.OpenForms[0])
            Application.Exit();
    }

This will  fix this problem.

or shorter:
//Close application only if only one form is open  (the MainForm
if (Application.OpenForms.Count == 1)
Application.Exit();

Another native option is:
if (ActiveMdiChild != null) Application.Exit();

Thank you all.
@falcomus
@jmelendezdev

where do I find that file?
because when installing through nuget, it only finds *.dll files

Hello,you can download the source code here:https://github.com/IgnaceMaes/MaterialSkinI don't know if there are VisualBasic sources available,if you can't find it - maybe you can convert the C# files with a VB to C# converter.I did a conversion from VB to C#, it worked perfect.I think it should also wirk in the other direction.If you can't find VB sources or can't convert it,please write me again ...Best regardsClaus--Diese Nachricht wurde von meinem Android Mobiltelefon mit GMX Mail gesendet.Am 23.01.24, 22:43 schrieb benjachiban @.***>:
where do I find that file? because when installing through nuget, it only finds .dll files
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.**>

https://marketplace.visualstudio.com/items?itemName=SharpDevelopTeam.CodeConverter

https://marketplace.visualstudio.com/items?itemName=SharpDevelopTeam.CodeConverter


RP Name service tree metadata in ADO is often incorrect

Requirement:  The logic that ingest the service tree metadata for ARM RP Namespace needs to be redesigned because there are inaccurate RP names for around 20% of the products in ADO.  There needs to be a redesign so that we ensure we have the most current accurate RP namespace in dataverse and ADO.
Background:
The ARM Namespace metadata contains information on all ARM namespaces, including Private and Test.  Services can have multiple ARM namespace so there can be metadata for one or more ARM namespace in service team.  The current logic seems to be returning the most current RP Namespace (most recent date). However, this is not always the RP namespace the namespace we want in dataverse or ADO. The RP Namespace field should be the value of the RP that enables the product and that value can change from Private Preview to Public Preview/GA.
Initial thoughts on possible approach (need design/requirement work session to refine requirements and discuss approach)

Retrieve all ARM namespace metadata during onboarding and display to user in a drop-down box.  Let user select the most relevant namespace from the drop-down box.  Ensure value is in dataverse and synced to RP Name field in the epic-product
Change the RP Name ADO Field in the epic-service to be a multi-text field.  List all RP Names for the service.  The service can have more than one ARM/RP Name associated with it.  So we should show all active in the RP Name field of the service.
The RP Name ADO Field in the epic-product should be the ARM/RP Name that is associated with the ARM REST APIs that enable the product.  Initially this value would be selected by the user during onboarding.  I also think that we should have another location in the release planner where a user can change the value. For example, a new service may be using a Private.* ARM/RP namespace for Private Preview and then a Microsoft.* for Public Preview.  We should let user's update this value from the release planner app.  See next bullet (perhaps we let user's change in the release plan summary).
Show the RP namespace on the release plan summary.  Allow user's to change the RP namespace from the release plan summary.  When there are changes, synch ADO field.

RP/ARM Namespace Metadata in Service Tree

For reference here is the ARM RP/Namespace Service Tree Onboarding PowerBI - https://msit.powerbi.com/groups/85d0bde6-230a-4d8d-98f9-43777d9750b2/reports/fa177a28-da49-4838-b9dc-55e6ec56423a/ReportSection?experience=power-bi
Here is the Kustos Query that the ARM/RP Namespace Service Tree Onboarding PowerBI report/dashboard is using for the dataset - https://dataexplorer.azure.com/clusters/datastudiostreaming/databases/Shared
Screenshot of service tree metadata for ARM/RP Namespace.  In the epic-service RP Name ADO field list the ARM namespace, ARM Namespace Readiness, Resource Type Name, and Resource Type Readiness.  All of these fields have useful information in understanding what products are enabled by the service.

In the epic-service RP Name ADO Field show the following information in a table (if possible).  Also add link to the ARM RP/Namespace Service Tree Onboarding PowerBI for reference.

ARMNamespace
ARM_RpReadiness
Created
Modified

Microsoft.Migrate
GA
10/11/2018
2/28/2020

Microsoft.OffAzure
GA
10/11/2018
2/28/2020

ARM Resource Provider (RP) Service Tree Onboarding Readiness PowerBI Report

TODO:  Need to figure out to filter the metadata so that in the table we show only the unique RP name and the most current lifecycle, created date, and modified date.  I have noticed that not all service have data in the ARM_RpReadiness metadata field for their RP so we can't rely on that field to always have data.

@ladonnaq I lack the context here, Who uses the RP Name and for what? we don't have any dependency on it in our apps or in the specs repo logic

@ladonnaq I lack the context here, Who uses the RP Name and for what? we don't have any dependency on it in our apps or in the specs repo logic

The RP name is related to the namespace for the ARM REST API Spec. In service tree, a product often maps to many services.
The service that owns the RP is the one that also owns the ARM REST API.
In our specs repo the folder name is the RP Namespace. The API Specs in that folder will be used to generate the SDK package (which you know).
From a release plan perspective, we want the release plans to be associated with the service and the ARM REST APIs that enable it. If we don't capture the RP mapping to products, then our data will not be accurate.
For example, Migrate has 2 RP namespaces. Sometimes a product will only be enabled by one, other times by both.

Another example is when a new product is enabled by data plane and management REST APIs.  I have seen several scenarios where the product is enabled by the REST APIs for Service xyz and the data plane REST APIs of a different service (which typically owns the new product).

From a release plan perspective, we want the release plans to be associated with the service and the ARM REST APIs that enable it. If we don't capture the RP mapping to products, then our data will not be accurate.

We have the PR, so we know the directory. why do we need to RP? like again. nothing in here suggest there is automation or a process that needs the name of the RP

I understand the RP is important. I don't understand why it is important for the Release Planner or the dashboard.
If this is just a copy of the data in Service Tree, why can't the person who needs it (who?) goes and looks there?


[#249] Better handling of multiple and unrecognised metadata values

Closes #249

Changes Unknown when pulling da28a6ba57d4c1290acdeb868e19f0fab611b1c2 on feature/249-multiple-and-unrecognised-values into ** on master**.


New atom type: Set

It could be interesting to have a Set atom type in the spec.
We recently merged the feature into biscuit-go (see: https://github.com/flynn/biscuit-go/commit/19073ab908515f0e05662bc4084477f55e4e82dd)
This allows to group several atoms under a single one, and have constraints allowing to check if all or none the set values are included in a given set:
# given the fact:
users(#ambient, ["alice", "bob", "eve"])

# doesn't match, since eve is not in the constrained list
*allow($username) <- users(#ambient, $usernames) @ $usernames in ["alice", "bob"]

# match, $usernames does not contains any of "admin" or "root"
*allow($username) <- users(#ambient, $usernames) @ $usernames not in ["admin", "root"]

The set does not restrict embedding different atom types (ie: [#a, "alice", 42]) but I don't see much usage of that yet. It doesn't seem to affect the constraint anyway.
wdyt ?

it could reduce the number of facts we have to write but I worry a bit about the expected usage. If there's a Set atom type, how would we make a rule that generate a fact containing one? At best it would copy another set, while we might want to get intersection, union or difference operations too?

how would we make a rule that generate a fact containing one?

I'm not sure to see what you mean here, for me it's the same as for other atom types:
# copy the set
*new($usernames) <- users(#ambient, $usernames)

# create a new one ?
*new(["a", "b"]) <- users(#ambient, $usernames)

On  intersection / union / diff support, I'm not sure how it could go, as it doesn't fit in constraints. It sounds more like a new operation kind allowing to compute a new value and reinject it in the program.
For constraints on Set, I don't need anything more than "contains only" and "doesn't contains any" at the moment.

So creation would only be for a static set? I feel it would be more useful with set operations. On that topic ( I'll make it a separate issue), I'd like to support it, maybe as a new Expression atom type. That would allow constructing or combining values more easily.
Like, set construction could be:
set_result(insert($set, $val)) <- set_result($set), value($val)

Yes, right now my use case is limited to static sets. Perhaps operations could get useful in more complex scenarios / attenuation use cases, but right now, I'd favor keeping it simple, at least to have it run and see how it behave. Same for expressions, I'd hold on it for now.  I'll probably come back to it once I'll have gathered some feedback and limitations on running what we currently have!

I'm adding sets to the spec: https://github.com/CleverCloud/biscuit/commit/f5169d225fa1756128cb16126faa89b5b173699c
Rust: https://github.com/CleverCloud/biscuit-rust/commit/bb47508c9b136ac4f83638d5d6d63494dbbe55a7
one slight difference with your implementation, sets are added to the v1 format only

I'm adding sets to the spec: https://github.com/CleverCloud/biscuit/commit/f5169d225fa1756128cb16126faa89b5b173699c
Rust: https://github.com/CleverCloud/biscuit-rust/commit/bb47508c9b136ac4f83638d5d6d63494dbbe55a7
one slight difference with your implementation, sets are added to the v1 format only


stm32f777zit6-meadow: Fix external RAM pinout and add board profile

Summary
This patch will fix an issue that was preventing the stm32f7 board from working with external SDRAM memory.
Impact
Only stm32f777zit6-meadow
Testing
stm32f777zit6-meadow

New kind of CI error:
 Error: connect ETIMEDOUT <IP_ADDRESS>:443
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1187:16) {
  errno: -110,
  code: 'ETIMEDOUT',
  syscall: 'connect',
  address: '<IP_ADDRESS>',
  port: 443
}


Added 29  strings to translation

For all files:

FTP translation
small additions

German language:

Spieler Name -> Spielername
Kleine Änderungen

Thank you for the udate!
By the way, the strings 814 to 817 are alredy defined as strings 234 to 237.
Please remove the new ones before we can merge.

Oh!
I will remove it tommorow.


What does "Not Used" mean?

Trying to help answer a question from this Tech Community Forum post, what does "Not Used" mean in the table above?
https://techcommunity.microsoft.com/t5/microsoft-defender-atp/scheduled-scans-with-defender-av-with-atp/m-p/1387560#M465

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

ID: 2a67d9ad-6858-0503-8020-b874b70fb336
Version Independent ID: 91bd6142-d580-58a8-77ce-024d119daa87
Content: Configure Windows Defender Antivirus with Group Policy - Windows security
Content Source: windows/security/threat-protection/windows-defender-antivirus/use-group-policy-windows-defender-antivirus.md
Product: w10
Technology: windows
GitHub Login: @denisebmsft
Microsoft Alias: deniseb

@itguysocal. That means, the specified article is not yet created.

@itguysocal I guess @RAJU2529 answered your question. Can we help with anything else? Do you think we need to add something to the article to make this more clear?

There are some unanswered questions out there whether those settings were created for future use, or maybe no longer used (deprecated) and should therefore not be changed, because they might be removed in the future. Such questions appear mostly in connection with more general questions about regular scheduled scans, which used to be a more common policy for legacy protection software.
Maybe a note could be added that those settings should not be changed, because they are not meant to be used or could cause undocumented behaviour.

@illfated My understanding is that the settings exist and can be used but there is no article created to describe them in detail. I think it would be best to hear the author's opinion here.
@nam31 could you help with reaching out to the author for a confirmation regarding what "not used" means in this context?

@denisebmsft can you please help here?

The docs have been updated with links to the new articles. https://docs.microsoft.com/en-us/microsoft-365/security/defender-endpoint/use-group-policy-microsoft-defender-antivirus?view=o365-worldwide


Dispatcher Event/Listener after build completed

Hey @damiani ,
I think I figured out a reasonable solution.  The idea here is we can implement Event classes based off the Illuminate\Dispatcher.  Then in the uses bootstrap.php they can hack in listeners as they so choose.
For example, my bootstrap.php for adding to Algolia is here:
use Illuminate\Events\Dispatcher;
use TightenCo\Jigsaw\DataLoader;
use TightenCo\Jigsaw\Events\BuildHasCompleted;

$container->bind(Dispatcher::class, function ($c) {

    $dispatcher = new Dispatcher();

    $dispatcher->listen([BuildHasCompleted::class], function ($event) {
        $dotenv = new Dotenv\Dotenv(__DIR__);
        $dotenv->load();

        $client = new \AlgoliaSearch\Client(getenv('ALGOLIA_APP_ID'), getenv('ALGOLIA_ADMIN_API_KEY'));

        $index = $client->initIndex('prod_html');

        /** @var \TightenCo\Jigsaw\DataLoader $dataLoader */
        $dataLoader = $event->app->make(DataLoader::class);

        /** @var TightenCo\Jigsaw\Collection\Collection $siteData */
        $siteData = $dataLoader->load($event->app->buildPath['source'], $event->app->config);

        $siteDataArr = $siteData->toArray();

        $val = $index->addObjects($siteDataArr);

    });

    return $dispatcher;
});

Now, I know this is not the most elegant solution within the bootstrap.php.  I think the end goal here is to put the listeners into the config.php instead.  In fact, I still need to implement logic here that will only execute when the environment is  production.  In my example above, ignore the DotEnv stuff, I figured out that I can create a separate config.production.php for the Algolia API and SECRET keys.
What I need to figure out how to do is wrap all this into a class.  Currently, this would mean i need to make a new composer.json entry that takes in psr-4 of the source directory and I put Listeners in there?  What would you recommend?
Cheers!
Adam

I definitely like the idea of firing a handful of events at various points in the build process for people to listen for—perhaps before the build starts, before and after each file is processed, and after the entire build completes. I think we need to come up with a few good real-world examples of how these various event hooks would be used, so we can tailor the solution.

I could give you a real world example of how I would use it:
For every build process I want to consume the API of a Mantis bugtracking system to retrieve data for given bug IDs. I then want to use that piece of data like a collection of Markdown files in a folder, rendering each with a given template.

@pfeiferbit That functionality will be covered in https://github.com/tightenco/jigsaw/pull/118, which is under development at the moment.

@cmosguy I've combined your idea with a couple others into a new PR (https://github.com/tightenco/jigsaw/pull/189), take a look and let me know your thoughts there. With that feature, you can hook into events in bootstrap.php by adding them as closures or, for more complex code, separate classes. In your Algolia example, you would be able to add this code to bootstrap.php to index all your collections after they've been built:
use AlgoliaSearch\Client;

$events->afterBuild(function ($jigsaw) {
    $objects = $jigsaw->getCollections()->flatten(1)->map(function ($item) {
        return [
            'title' => $item->title,
            'content' => $item->getContent(),
            'url' => $item->getUrl(),
        ];
    });

    (new Client($jigsaw->getConfig('algolia_app_id'), $jigsaw->getConfig('algolia_api_key')))
        ->initIndex('prod_html')
        ->addObjects($objects);
});

The $jigsaw variable (which is an instance of TightenCo\Jigsaw) gives the event listener access a bunch of new helper methods, so that getting/setting site information and reading/writing files is simpler for the user, without having to muck about with the internals of DataLoader.


Negation of constants CP-SAT

What version of OR-tools and what language are you using?
Version: 8.1.8487
Language: Python
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
CP-SAT
What operating system (Linux, Windows, ...) and version?
Windows 10
What did you do?
A weird model reported by someone on discord: https://discord.com/channels/693088862481678374/719201939971113001/816253290261250058
from ortools.sat.python import cp_model

model = cp_model.CpModel()
a = model.NewConstant(1)
b = model.NewConstant(1)
c = model.NewBoolVar("")

model.AddBoolAnd([a, b]).OnlyEnforceIf(c)
model.AddBoolOr([a.Not(), b.Not()]).OnlyEnforceIf(c.Not())
# model.Add(c == 1)  # Returns OPTIMAL

solver = cp_model.CpSolver()
solver.Solve(model)
print(solver.StatusName())

What did you expect to see
FEASIBLE/OPTIMAL
What did you see instead?
INFEASIBLE

Thanks, looking at it.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le mar. 2 mars 2021 à 11:54, Xiang Chen<EMAIL_ADDRESS>a écrit :

What version of OR-tools and what language are you using?
Version: 8.1.8487
Language: Python
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP,
Gurobi)
CP-SAT
What operating system (Linux, Windows, ...) and version?
Windows 10
What did you do?
A weird model reported by someone on discord:
https://discord.com/channels/693088862481678374/719201939971113001/816253290261250058
from ortools.sat.python import cp_model
model = cp_model.CpModel()a = model.NewConstant(1)b = model.NewConstant(1)c = model.NewBoolVar("")
model.AddBoolAnd([a, b]).OnlyEnforceIf(c)model.AddBoolOr([a.Not(), b.Not()]).OnlyEnforceIf(c.Not())# model.Add(c == 1)  # Returns OPTIMAL
solver = cp_model.CpSolver()solver.Solve(model)print(solver.StatusName())
What did you expect to see
FEASIBLE/OPTIMAL
What did you see instead?
INFEASIBLE
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/2419, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPL3N5QYUQL37RUZO47SDTBS7UXANCNFSM4YOWX2DA
.