Decouple config from agent

It seems that the configuration location is coupled together with that of the released package; it seems to need to sit right next to the run.sh script et al. It would be great to decouple this similarly to how it was done for the work folder.
Motivation: I've started a docker branch which provides the agent as a docker container. The idea is to be allow clients of vsts-agent to create their own images based on that one which already contains the agent ready to run. It's required to extract the configuration out of the container, such that the same image can be used for different agents.
Suggestion: We could use cwd for this, for simplicity's sake:

The user should be able to run the run.sh and config.sh scripts from any directory in the system.
The configuration should be picked up based on that directory.
That location would need to be part of the service's configuration.

I'd be glad to sketch up a PR if you think this is a good idea.

ping @bryanmacfarlane

We will consider as part of our docker investigations.
@chrisrpatterson as well since he's digging into that

Our agent docker approach is going to be the agent/worker running in the host which executes tasks in the container.  So, I don't think we are going to do this.  Let us know if you still think it's needed.

Let's close this.


Add Support for Go on Lambda

Draft as replaces Otel go contrib with forked repo for otellambda package as otellambda is not merged into contrib yet. See PR here: https://github.com/open-telemetry/opentelemetry-go-contrib/pull/882

Closing this in favor of this: https://github.com/open-telemetry/opentelemetry-lambda/pull/129

Closing in favor of #129 , @bhautikpip will own related PRs going forward


How to run with only bound box(cube) annotation?[Question]

Dear @alibool ,
training with bounding box annotatins is currently not supported in a straight forward vashion (we hope to tackle that in a future update). Currently, the best way to achieve what you are looking for is to convert the bounding boxes into segmentation. One downside of this approach is that segmentations can not overlap while bonding boxes can. Nevertheless, many datasets will work just fine with this approach (as long as their ground truth boxes do not overlap which is the case for most 3D medical datasets).
If you know some better heuristics, e.g. Tumors are usually roundish, so circles or ellipsoids can be an even better alternative (we used circles for LUNA experiments).
Best,
Michael

@mibaumgartner Thanks for your reply, I have successfully created a RetinaNet from your implementation which can accept only bounding boxes as training targets, but the data loading process has to be reimplemented from scratch, I will update  in this issue and share my implementation if I finish all the procedure.

Dear @alibool ,
thanks for the udpate! The main reason it is not yet integrated, are the augmentations where the different representations induce various dis-/advantages e.g. bounding boxes are somewhat difficult to rotate due to the loss of localization while the commonly found center point + radius annotation can be rotated easily. Segmentations were the only representation where this could be modelled in a somewhat general way.
Best,
Michael


This game is a simple 2 player game inspired by the old rock'em sock'em robot toys and the Street Fighter games. Play with friends to beat them up! (figuratively, of course)

How do you play your game?
You can shuffle back and forth using A and D (P1) or J and L (P2) to either avoid punches or throw yourself into the fray. You can also throw some punches of yourself using W (P1) or I (P2). Launch some hadoukens with S (P1) or K (P2)! If you see a hadouken coming your way, you can deflect it with W (P1) or I (P2).

Code
Check off the items that are true.

[x] The game was made using the Sprig editor.
[x] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[x] The game runs without errors.
[x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x] The game name is not the same as the others from gallery

Image (If an image is used)

[ ] The image is in the /games/img directory.
[ ] The name of the image matches the name of your file.

Thanks for your PR!

Congratz!  If you're a teenager, and haven't already received one, please fill out this form to receive a Sprig device of your own!  Additionally, feel free to join Hack Club's Slack and share your creation in the #sprig channel w/ others!


Bug: Fails to install tool file path without ABI prefix #445

Bug: Fails to install tool file path without ABI prefix
Solution: Append the tool file path with ABI prefix to tools_to_install list.
Signed-off-by: Zhifei Yang<EMAIL_ADDRESS>

Thanks!


MongoOutput stage failed after +- 8 hours

Exception:
com.mongodb.MongoSocketReadException: Prematurely reached end of stream
	at com.mongodb.connection.AsynchronousSocketChannelStream$BasicCompletionHandler.completed(AsynchronousSocketChannelStream.java:230)
	at com.mongodb.connection.AsynchronousSocketChannelStream$BasicCompletionHandler.completed(AsynchronousSocketChannelStream.java:216)
	at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
	at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:430)
	at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)
	at sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)
	at sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:293)
	at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

Possible fixes:

https://stackoverflow.com/questions/39079876/mongosocketreadexception-prematurely-reached-end-of-stream-after-a-period-of-i
https://stackoverflow.com/questions/33008514/what-is-the-solution-com-mongodb-mongosocketreadexception-and-com-mongodb-mon

How can it be that no write/read was done for 8 hours? In any case, you can probably use the keepAlive option when connecting. I hope that the Java/Scala driver has this.


record creation failed when using async

Hello,
this one took me a while to find out what's going on and how to reproduce.

        This function runs the passed coroutine, taking care of
        managing the asyncio event loop and finalizing asynchronous
        generators.

        This function cannot be called when another asyncio event loop is
        running in the same thread.

        If debug is True, the event loop will be run in debug mode.

        This function always creates a new event loop and closes it at the end.
        It should be used as a main entry point for asyncio programs, and should
        ideally only be called once.

        Example:

            async def main():
                await asyncio.sleep(1)
                print('hello')

            asyncio.run(main())
        """
        if events._get_running_loop() is not None:
>           raise RuntimeError(
                "asyncio.run() cannot be called from a running event loop")
E           RuntimeError: asyncio.run() cannot be called from a running event loop

/usr/lib/python3.8/asyncio/runners.py:33: RuntimeError
============================================================================================================== short test summary info ===============================================================================================================
FAILED tests/test_minimal.py::test_get - RuntimeError: asyncio.run() cannot be called from a running event loop
================================================================================================================= 1 failed in 0.46s ==================================================================================================================
sys:1: RuntimeWarning: coroutine '_record_responses' was never awaited

The error only occurs if there is no record already. Once there is one (e.g. created by an older version) the replay works without issues.

I had a very similar issue attempting to use VCR to record the https requests from the OpenAI API client in an async function. The same fix worked for me - downgraded to 5.1.0, recorded the https calls, and then bumped back to 6.0.1. Let me know if there specific information I can provide here.

Hey,
just a gently reminder about this issue :smiley:
fin swimmer


Add new volunteer Satyam Bajpai

Thanks for volunteering @satyam73 :)

Thanks for volunteering @satyam73 :)

It's my pleasure to help someone.


Move okapi node/web entirely to typescript

Eliminate all the commonjs tests, replace with typescript.

Is this merely to follow our pattern of using typescript everywhere?

Yes.

I think this refers to moving the tests to typescript, as the main libraries are TS already.


Note to self:  Corrections needed on continuous signing data sets

FOR CAROL'S EYES ONLY:
Fix file 97 to ns-PUERTO-RICO(_2)
fixed

CHANGE KEY_2 to (1h)KEY

check this

check on MISTAKE_2 vs .WRONG

PICK --> PICK/CHOOSE ?

NEW- Make this VISIT_2

Change this to SOME:

When PREGNANT_2 gets added to the Sign Bank, (1h)PREGNANT should become a variant of that, rather than, as it is now, a variant of PREGNANT.

Please regloss (1h)PREGNANT as PREGNANT_2 and move it with the other examples of that sign.

To avoid confusion, I am going to close this ticket and reopen another one with this last request.


support disable jit_scope op's gradients compile when disable scope op compile

Add compile_gradients param for xla.experimental.jit_scope to support disable compile op's gradients ops.
In some scenarios, if op is dynamic shaped, the gradients op of it is dynamic shaped too.

Hi @cheshire Can you please review this PR ? Thank you!

@jlebar Could you take a look ? I think you were doing something similar with using jit_scope to control what exactly autoclustering is compiling.

Hi @YangWorker Can you please check @cheshire's comments and resolve conflicts ? Thank you!

Hi @YangWorker Any update on this PR? Please. Thank you!

Hi @YangWorker Any update on this PR? Please. Thank you!

Hi @YangWorker Any update on this PR? Please. Thank you!


Strategy prefix_and_default seems to be broken again

Environment

Operating System: Darwin
Node Version:     v18.16.0
Nuxt Version:     3.6.5
Nitro Version:    2.5.2
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      devtools, rootDir, buildDir, runtimeConfig, colorMode, app, eslint, modules, extendedSitemap, tailwindcss, i18n, build
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction

setup project with strategy prefix_and_default and create a toplevel parameterized page like pages/[name].vue
add at least one language
add some nuxtlinks to the parameterized pages
routing will not happen as the i18n guard resolved the navigation back to the same route again, independently where you are right now (I still did not figure out why)
routing will be canceled

Describe the bug

no navigation is possible with nuxt links

Additional context
I tried my best to pinpoint the code location where this is happening but debugging is quite hard
The i18n nuxt module prints out that the resolved location is always the same as the current and therefore cancels the routing
The problem does not occur with strategy no_prefix and also on beta-11 the problem did not exist
Logs
No response

Thank you for your reporting!
But, We need your minimul reproduction, because we can reproduce your issue.
Could you give us it with stackbliz or github repo please? 🙏

Hi
https://github.com/szwenni/i18n-router-bug-2259
To reproduce:

Install dependencies npm install
Run the project with npm run dev, you can click the links but nothing happens, from the debug logs of i18n you can see that it always resolves back to /

Like said I'm not really sure by looking at the code where the issue is in the i18n module. I'm sure you can pinpoint it quite fast why this happens.
It must be some change introduced between beta-9 and beta-12.
BR,
Sven

I don't even know why it even enters this if block (https://github.com/nuxt-modules/i18n/blob/937686d0f50305be898761191b3aed62ad6c902f/src/runtime/utils.ts#L305) because of the condition strategy !== 'prefix_and_default' (https://github.com/nuxt-modules/i18n/blob/937686d0f50305be898761191b3aed62ad6c902f/src/runtime/utils.ts#L309).
I have the strategy set to prefix_and_default. It should not enter this block but it actually prints the debug message detectRedirect: calculate routePath -> / /A.

I think the issue can be (most probably) closed
I built the module locally and included it in the project as local module. It started to work there. That is most probably also the reason why I was not able to pinpoint the issue. It is already fixed (I think). It would be cool if you can verify that.

https://github.com/nuxt-modules/i18n/blob/39d2bf74c7beaf6d47141075eecd730ea9cba332/src/runtime/utils.ts#L304C71-L304C71
This was the line why it jumped into the if block, so yeah I assume it is fixed

Yes, this issue has already been resolved. The bugfix will be released in v8.0.0-beta.14. If you want to use the fixed version, you can use the edge channel version.
"@nuxtjs/i18n": "npm:@nuxtjs/i18n-edge"

this issue is same as #2244  (duplication issue)
so close.
thanks!


Don't abort silently a test if a strict-mode check fails.

In test_message_pause(), we don't expect a strict-mode check to
fail. Don't abort silently the test if it is the case. Raise an assert
error instead. We keep a separate assert to help with debugging.

@indutny ... I assume this one is safe to close given the lack of any activity on it. Can reopen if someone feels it is necessary.

The commit still applies and the problem is still here. I cannot reopen myself the PR and pushing a rebase has no effect.

I'll mark this one for a second look. It's not letting me re-open the PR either for some reason.


Custom image prefixes

Hi thanks for Toltec and the great tooling around the reMarkable.
I'm not sure if this PR would be helpful, but I wanted to submit it in case it was. I've been building locally and finding a need to point to my own container registry while doing so.
This PR let's a user pass in an --image-prefix like so: toltecmk --image-prefix "ghcr.io/chriscohoat/", which let's a user build from an alternate location. It defaults to ghcr.io/toltec-dev/, if not provided.
If this isn't desired no worries, happy to close it out. Thanks again!

What was your reason for needing to use a different registry for toolchain images? I'm not certain we'd really want to support that, and instead require users to use the official ones we publish.


i18n Crowdin integration (#880)

feat: add crowdin integration with github actions

feat: add platforms

feat: add extra ignored file paths and update crowdin copy script

feat: edit file to triger upload

feat: doc change

feat: new

udpate copy

feat: add download worflow

feat: update git ignore

update

update

update

New Crowdin translations by GitHub Action

remove copy file from workflow

New Crowdin translations by GitHub Action

Update README.mdx

New Crowdin translations by GitHub Action

feat: add copy workflow

update node version

chore: Copy ignored files using crowdin:copy

udpate copy

udpate copy

Update cb-retrieve-related-operations.api.mdx

update copy

Update cb-retrieve-related-operations.api.mdx

update copy

update copy

update copy

update copy

Update get-all-offers.api.mdx

chore: Copy ignored files using crowdin:copy

test upload

update links

update link

update link

update link

clean i18n

clean i18n

clean i18n

clean i18n

clean i18n

clean i18n

clean i18n

clean up

Preview is available here:http://developers-pr881.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr881.previews.kube001.services.stellar-ops.com

Something went wrong with PR preview build please check

Something went wrong with PR preview build please check

Something went wrong with PR preview build please check

Something went wrong with PR preview build please check

Preview is available here:http://developers-pr881.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr881.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr881.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr881.previews.kube001.services.stellar-ops.com

Something went wrong with PR preview build please check

Something went wrong with PR preview build please check

Something went wrong with PR preview build please check

Something went wrong with PR preview build please check

Preview is available here:http://developers-pr881.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr881.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr881.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr881.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr881.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr881.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr881.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr881.previews.kube001.services.stellar-ops.com

Something went wrong with PR preview build please check

Something went wrong with PR preview build please check

Preview is available here:http://developers-pr881.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr881.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr881.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr881.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr881.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr881.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr881.previews.kube001.services.stellar-ops.com

Something went wrong with PR preview build please check

Preview is available here:http://developers-pr881.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr881.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr881.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr881.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr881.previews.kube001.services.stellar-ops.com


Custom Endpoints

What problem are you facing?
Deploying a Crossplane enabled Kubernetes in Private AWS VPCs that has custom service endpoints.
How could Crossplane help solve your problem?
The AWS Golang SDK supports resolution for custom endpoints:
https://github.com/aws/aws-sdk-go/blob/9c9db07028aeb7d607e54b2b5aa97bbbbebcbbfd/service/s3/endpoint.go#L102
https://github.com/aws/aws-sdk-go/blob/4b8b821e1bcd8466b496d1856ea11b735e549e4c/models/endpoints/endpoints.json
https://github.com/aws/aws-sdk-go/blob/f26268b77ea9619d95b1d04b6f3e3c5a03b61110/example/aws/endpoints/customEndpoint/customEndpoint.go
Does provider-aws already support custom endpoints for services? If not, where would be a good entry-point for implementation?

Hi @Promaethius! Thanks for opening this issue :) I wanted to confirm I am following your desired feature here. Are you talking about private VPC endpoints? (ref: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-endpoints.html)

@hasheddan yes!

@Promaethius Nice! We do not currently support this, but one way to add this functionality would be to add an annotation to objects that indicate a private endpoint to use instead of the service default. Does that sound like a viable solution for your use-case? An example may look like:
apiVersion: storage.aws.crossplane.io/v1alpha3
kind: S3Bucket
metadata:
  name: s3bucket-standard
  annotations:
    aws.crossplane.io/customendpoint: "my-custom-url.com"
spec:
  writeConnectionSecretsToRef:
    name: conn
    namespace: crossplane-system
  versioning: false
  cannedACL: private
  region: us-east-1
  localPermission: ReadWrite
  providerRef:
    name: example
  reclaimPolicy: Delete

Hi @hasheddan , if it can be useful, here is my use case for VPC Endpoint / Endpoint Service :
I have a K8S cluster with Istio and 2 Istio ingress gateways : one is meant to be avalaible from internet for external customers, the other is only for internal services, not exposed externally but only for corporate access.
Today, to implement the second case, the ingress gateway istio k8s service is creating an AWS Network LoadBalancer when it is deployed, and then, I use terraform to create a VPC endpoint Service linked to this NLB, and a VPC Endpoint in a "corporate routed" VPC to be able to access the NLB with private IP from the corporate network.
Here is a schema :
Corporate Network ---> Route53 ---> Endpoint in VPC Corpo ---> EndpointService in K8S VPC ---> NLB ---> Istio ingress gateway service ---> Istio Gateway ---> Istio Virtual Service ---> Internal application k8s service

And it would be useful in this case to manage the "terraform" part with only K8S resources as crossplane does. And so to be able to create network resources like VPC Endpoints and EndpointServices with crossplane.

Is it possible to use Crossplane AWS inside a VPC with no internet access? or is it possible to use it with a PROXY inside another VPC using a private link?

And it would be useful in this case to manage the "terraform" part with only K8S resources as crossplane does. And so to be able to create network resources like VPC Endpoints and EndpointServices with crossplane.

I believe we need two managed resources to be implemented, VPCEndpoint and VPCEndpointService. @yogeek @Promaethius  Are you interested in contributing? I haven't looked into them very deeply but I can tell their complexity is similar to PubSub Topic we implemented during a TBS. Also, Managed Resource Developer Guide is a good document for starters. You can ask your questions in Crossplane Slack and we'd be happy to help.

Is it possible to use Crossplane AWS inside a VPC with no internet access? or is it possible to use it with a PROXY inside another VPC using a private link? No internet access from the cluster where Crossplane is running except through a proxy in another VPC, that is linked using private link.

@davidmitchell2019 The internet connection is needed only to call cloud provider APIs. I believe it should work as long as the proxy environment variables are defined. For example, looking at AWS SDK doc, I see that the only requirement is to define HTTP_PROXY environment variable. However, the caveat is that Crossplane package manager doesn't support supplying arbitrary env vars AFAIK @hasheddan could confirm. So I opened https://github.com/crossplane/crossplane/issues/1638 as feature request to be incorporated into the ongoing package manager refactor design.

@yogeek @Promaethius feel free to open separate issues for VPCEndpoint and VPCEndpointService resources and assign to yourself if you'd like to.

@muvaf it is possible to add environment variables when building a package, but not at install time. For instance, we could do the following:
apiVersion: apps/v1
kind: Deployment
metadata:
  name: provider-aws
  labels:
    core.crossplane.io/name: "provider-aws"
spec:
  selector:
    matchLabels:
      core.crossplane.io/name: "provider-aws"
  replicas: 1
  template:
    metadata:
      name: "provider-aws-controller"
      labels:
        core.crossplane.io/name: "provider-aws"
    spec:
      securityContext:
        # TODO(hasheddan): this can be removed when there is no desire
        # to support pre-v1.19 Kubernetes clusters
        # https://github.com/kubernetes/enhancements/pull/1598
        # https://github.com/aws/amazon-eks-pod-identity-webhook/issues/8
        fsGroup: 65534
      containers:
      - name: "provider-aws-controller"
        env:
        - name: POD_NAME
          valueFrom:
            fieldRef:
              fieldPath: metadata.name
         # Added HTTP
        - name: HTTP_PROXY
          value: my.cool.proxy
        - name: POD_NAMESPACE
          valueFrom:
            fieldRef:
              fieldPath: metadata.namespace

This is definitely something we should consider as part of the design for packages. We will need some sort of pass through configuration, but this will also make updates and dependency resolution potentially more complicated.

@muvaf one thing we might could do here in the short-term is surface values on the Provider type to configure the proxy. I imagine we could inject the values into clients for each service, and it also would not restrict an installation of provider-aws to always use a proxy or never use it. It would select how to access the AWS API based on the referenced Provider. What do you think?

@muvaf @hasheddan started working on an enhancement but this go sdk v2 is so beta
https://github.com/aws/aws-sdk-go-v2/issues/637
cfg object passed into new client functions no longer have EndpointResolver fields etc etc

@Promaethius does that mean if we upgrade to new version of SDK, we won't get to supply our own endpoint resolver?

Yes, as far as I can see, the endpoints package is internalized in 0.26.
This may or may not make things easier since the endpoint configuration
appears to turn into service specific which means the Service is annotation
wouldn't be needed
On Sat, Oct 17, 2020, 5:35 AM muvaffak onuş<EMAIL_ADDRESS>wrote:

@Promaethius https://github.com/Promaethius does that mean if we
upgrade to new version of SDK, we won't get to supply our own endpoint
resolver?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/crossplane/provider-aws/issues/199#issuecomment-710848021,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFFNN2TOJR5VGKSYDV4B2LSLF6OPANCNFSM4MM2A4EA
.

I see. Would that also mean that users won't have to supply service-specific endpoint URL or do they have to give that in any case (s3endpoint.my-awesome-region.com for s3 and ecrurl.my-awesome-region.com for ecr)?

They would still have to supply those as an annotation yes but they'd be parsed at the NewClient level rather than the cfg level meaning there would probably be a helper function across all services. The upside of this is that it'd be service aware since it's initiated per service rather than per config before service. One of the requirements for the resolver to function is a service id that is matched when the resolution function is called; this would not be the case when we switch to 0.26 where the resolver is inherent to a service.


Fix build issues and run on linux.

…sforever/SVG-Stacker#6

This is working great on node 6.10 and OS X 10.12 and ubuntu 14.04 now.


Fix file path composition

Path names should be concatenated using the resolve API. The string interpolation should never be used with file paths, because it's not portable since it cause the loosing of the file protocol (due to the underlying java API).
For example if the path is a S3 path eg. file = "s3://bucket/foo/bar.txt" the "$file" would return /bucket/foo/bar.txt.

Better now?

Perfect 👌🏽 Tests looking happier now.

Will just wait for all of the tests to pass.


Ender Dust?

I'm unable to create the Ender Dust item in-game, for some reason, and have had to implement a custom recipe for it for now.
Looking at your code, it looks like you're adding it as an Anvil recipe... Does that mean that it absolutely requires a Hammer to smash the Ender Pearl into dust? Is there any way of adding a version of this recipe without the requirement to use Hammers? My modpack tries to avoid new tool "types", sticking to the five old faithfuls: pickaxe, axe, sword, shovel, hoe. Maybe we could have something like giving players the option of 'cracking' the Ender Pearl in a Blast Furnace?

By our design hammers are used for recipes like that. If you want another type of recipes you can use datapacks

By our design hammers are used for recipes like that. If you want another type of recipes you can use datapacks


ipconfig /flushdns run over 24 hours

Hello,
Sorry, for my bad english.
I Use the Update Batch.
ipconfig /flushdns run more than 24 hours with many CPU usage. In this Time the PC is offline.
He build the local DNS Database in this Time?
The PC has a SSD and 2,5GHz Processor und 8GB RAM.
Whats the problem?

Windows seems to really struggle with a very large hosts file. I'm really not sure why flushdns is hanging for so long though. Have you tried running update straight after reboot and not after the machine has been running for a long time?

After each restart, the laptop was offline for 1 hour and the DNS client service had CPU load. I have emptied the hosts again.

Hey @StefanStrauss83 you should take a look at the unbound for windows.... That is the right tool to manage this, hosts files are so 90's and for some weird reasons still a live.
You can find unbound at https://nlnetlabs.nl/projects/unbound/download/ and I have a small quick start config here https://www.mypdns.org/w/rpzunbound/ and here https://gitlab.com/my-privacy-dns/rpz-dns-firewall-tools/unbound and here https://gitlab.com/rpz-zones/toolbox/-/tree/master/unbound. Chose should be able to get you started, not to use hosts files as sources but partial RPZ. (Response Policy Zones are still not fully supported in unbound) but I have a lot of converted hosts files to RPZ here https://gitlab.com/my-privacy-dns/rpz-dns-firewall-tools/unbound/-/tree/master/nxdomain
Tell us what you think after trying it.
PS: Here is a short and dirty speed comparisons between hosts files vs a real recursor https://www.mypdns.org/w/performance_test_of_hosts_file_vs_dns-recursors/

Hello
I tried using the .bat file on Windows 10 - then DNS client CPU usage jumped to 10-20%, network was blocked
I rebooted in safe-mode - copy the hosts.original to hosts
The line-breaks are not Windows line-breaks, but that's not the issue here (I tried changing them): Windows can't handle large hosts files. Some added hosts are fine: SpyBot immunization adds 500kB - 10MB is too big for DNS
You should probably remove the Windows .bat file or add a warning.

Hey @georgengelmann In case you just won't try to install the better, faster and safer approach of installing a DNS recursor like the unbound for windows, I would recommend you to have a look it @ScriptTiger's script https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate/issues/23
For your note about the size of this hostfile will brake most microsoft product, I agree with you.
@funilrys could you point me to a good line in the README.md where to put a note on this, and I will try to find the time for it while my bad disk is restoring :unamused:

Please prefer our DNS Server (#590).
Closing.


[FEATURE] UI enable/disable secure boot for EFI system

Is your feature request related to a problem? Please describe.

Not related to a problem
Describe the solution you'd like

UI could set up EFI boot with secure boot.
Need another option to set up EFI boot without secure boot.
Describe alternatives you've considered

Additional context

Hi, @tjjh89017 , This should be a duplicate issue, We have integrated this feature in another issue， if so, please close this issue， thanks a lot. https://github.com/harvester/harvester/issues/2128#issuecomment-1094596475

Dup issue https://github.com/harvester/harvester/issues/2128#issuecomment-1094596475


[controller] CI build fix

CI build fix

[controller] CI build fix
How was this PR tested?

CI
Does this PR introduce any user-facing changes?

[x] No. You can skip the rest of this section.
[ ] Yes. Make sure to explain your proposed changes and call out the behavior change.

Thanks Sourav! Looks like one more rebase sneaked in by the time I merged my PR 😅 ...

Wondering how to catch these issue before merge. Rebasing did not show conflict as the lines were not changed. So we must always rebase + compile to make sure its safe.


[Feature Request] Allow admins to set pages as 'protected', allowing only Admins to edit those pages

Title explains it, pretty much. This is useful for pages like the home page that you don't really want random people editing, but you want the rest of the wiki to be editable by other people.

Thx for opening this feature request. I've thought about makeing pages configureable via YAML frontmatter. For this feature it might look like this:
---
protected: true
---

# Home

...

Do you that's a viable option?

Would there be anything preventing a normal user from adding that to a page and making it un-editable, requiring admin intervention? Or would only admins be allowed to save documents containing that type of YAML configuration?
Also, if that's going to be a thing, maybe add a hidden option as well, to prevent certain pages from appearing in the search/A-Z list?
That might be a separate feature request, but otherwise yeah that works.

Obviously I underestimate what disruptive or trolling peoples might could come up with. Good point. Configurations like should be limited to Admins.
My assumption was that if someone encounters disruptive behaviour, the user gets the approval revoked and the changes to the pages reverted.

Also, if that's going to be a thing, maybe add a hidden option as well, to prevent certain pages from appearing in the search/A-Z list? That might be a separate feature request, but otherwise yeah that works.

To make this possible, a permissions management per page or per subdirectory would be the most viable option. I would consider this (for now) as out of scope. To discuss this further, please open another feature request. I'm curious what your use-case is.

Another thought: Maybe permissions per page / subdirectory would be the best way to handle protected pages as well.

Obviously I underestimate what disruptive or trolling peoples might could come up with. Good point. Configurations like should be limited to Admins.
My assumption was that if someone encounters disruptive behaviour, the user gets the approval revoked and the changes to the pages reverted.

Yeah, I think that's the general idea for the most part, but for some pages you kinda don't want approved users to edit them either, like a Rules page or a homepage, or high-traffic pages in general.

To make this possible, a permissions management per page or per subdirectory would be the most viable option. I would consider this (for now) as out of scope. To discuss this further, please open another feature request. I'm curious what your use-case is.

I'll probably open another feature request at some point, but for now it's not really important. Just a random thought I had while responding last night.

Another thought: Maybe permissions per page / subdirectory would be the best way to handle protected pages as well.

You could probably use regex or something to detect if someone is trying to change page configuration, and if they are, then check if they're an admin, if they're not, block the edit. Just make it so configuration only loads from the top of the file or something.
For a single feature, having an entire system in place to change that one thing seems.. kinda overkill? Unless its like, a dropdown menu selection or something. Then I guess it'd work.

I like the idea of adding an option that Admins can configure a regex to protect pages.
Implementing this is nevertheless a lot of work, on the one hand it must always be tested for all changes whether this pagepath is allowed to be edited, on the other hand there are several actions in which the pagepath is not directly "visible", e.g. when a commit is reverted.
When this is done we are halfway to permissions per page / subdirectory.
Will think about it. Maybe this is a good feature for the 2.1.0 milestone.

More feature requests for permissions per Page / Directory coming in. In #72 @rcosg suggested to add a feature that allows to make pages private.
Will think about what a minimalistic role or permission model should look like.

More feature requests for permissions per Page / Directory coming in. In #72 @rcosg suggested to add a feature that allows to make pages private.
Will think about what a minimalistic role or permission model should look like.

I came here just to suggest this but it looks like rcosg thought of it first, started using it today and i feel this is perfect to replace my personal YouTrack wiki and the only thing missing is the option to have it either private/public by default and being able to set one or more pages to public/private as rcosg suggested.
Thanks for all of the work.

The idea that I have in mind should support at least these common environments:

a per default private wiki with some public pages
a per default public wiki with some pages being proteced (only allowed to be modified by a specific group of users) and some pages being private (only allowed to be viewed by a specific group of users).

This feature for sure needs the concept of groups, because no one wants to configure this again and again per user ... and a concept of rules brigns together pages, groups and permissions.


Batch API: Change RequestEntityTooLargeException from Internal to Public

We are trying to handle 413 requests (PayloadTooLarge) when executing Batch requests. We encountered scenarios where the batch was over the 2mb limit, but instead of checking the size of each batch on each request, we thought to handle the error optimistically by catching the DocumentClientException or similar when it occurs.
It seems that for Batch operations, the SDK throws Microsoft.Azure.Documents.RequestEntityTooLargeException when the 2mb limit is reached, however, the class internal and cannot be caught.

Can this exception be exposed publicly so we can have the option to handle such exceptions?
The workaround at the moment is to catch by Exception and inspect the message to see if its indeed a 'RequestEntityTooLargeException', which isnt ideal.
Open to alternative suggestions on how to handle the 2mb limit efficiently as well.

@gorillapower can you not catch a CosmosException with status code 413? The v3 SDK should not be throwing DocumentClientExceptions anywhere.

Hi @j82w, I saw the base type of the Exception was DocumentClientException when I was debugging, which is why i mentioned DocumentClientException - they type was 'Microsoft.Azure.Documents.RequestEntityTooLargeException'.
I just tested with trying to catch CosmosException and nothing was caught.
If i look at the class, it seems to be coming from Assembly Microsoft.Azure.DocumentDB.Core, Version=<IP_ADDRESS>, Perhaps this has something to do with the fact that I'm running the DocumentDB and the CosmosDB SDKs in parallel?
*running

@abhijitpai Are we throwing RequestEntityTooLargeException somewhere in Batch?


fix: init git only not inside git work tree

Addresses part of #2758.

LGTM! This does not address every feature covered by #2758, so I do not think this should close that issue. Regardless, this seems like a strict improvement, so am merging it.

Ah, here is the problem. Lake tests make use of the lake new/init to generate packages with Git repositories. That fails with this change because it is within the work tree of Lean itself. The tests could be fixed by running git init in the packages separately from Lake.

Ah, here is the problem. Lake tests make use of the lake new/init to generate packages with Git repositories. That fails with this change because it is within the work tree of Lean itself. The tests could be fixed by running git init in the packages separately from Lake.

thanks, it works now.


Panning can result in zooming on touchscreens

When using iD on iOS, I can often enter a state where simply swiping to pan ends up zooming the screen. This state makes navigating significantly harder and I have not found a way to get out of it.

Same for me with Chrome on Andrit!  The "Solution" is reloading.

I've been looking into this while revamping touch interaction for #5505. I'm pretty sure the issue is that a touch leaves the screen without iD logging it as gone, so subsequent swipes are interpreted as two-finger pinches instead of one-finger pans. This commit likely fixed it by listening for all ended or canceled touches at the window level instead of the map level, but I couldn't reproduce the problem reliably so I'm not certain. We'll have to do extensive test mapping on the preview site on touch devices to suss out touch interaction bugs before releasing.

This is still happening…
I think we need to be more careful about using stopPropagation on pointerup events since stuck pointers can occur if the map zoom/pan handler doesn't receive this event.

I haven't seen this bug in quite some time, so I'm hoping I finally fixed all occurrences. We must continue to stay vigilant… 🕵♂🐛

As of 5 minutes ago on the preview site, this is still an issue.  I got stuck and couldn't escape.  I am using Firefox, windows 10.

@BjornRasmussen Any chance you have steps to reproduce this?

No, unfortunately not.  It just happened to me the first time I tested out the new iD

This is unfortunately still an issue. (Please re-open this!) I've never touched the iD editor source code before, so I'd be interested to know, is there a way I can open some sort of debug view, or inspect the touch state, so that I can see whether iD thinks that a touch is stuck?
From how it feels to use the editor while in the touch state, I think it is behaving like a previous touch was stuck, but without a way to see iD's interpretation of the touch state, I don't expect I would be able to figure out the steps to reproduce.
I am familiar with general web development and I'd like to do whatever I can to help fix this.

I have discovered that it seems to happen while drawing areas if something goes wrong drawing the area (like the area crossing over itself), however, I still can't consistently trigger it.
I can always remove the stuck touch event by reloading the page, and I think also by saving the current working changeset. It seems like I can sometimes (always?) remove the stuck touch event by also pressing M to activate the move tool, picking up an area, and putting it down again. I will keep posting if I figure out anything else.
I'm using my finger here to touch. Using a digital stylus to touch the screen seems to produce other inconsistencies, so I'm not opening that can of worms yet.

I can remove the stuck touch event by pressing M while an area is selected to activate the move tool, and then clicking the mouse button (without moving it) to complete a useless move. However, if I use the Enter or Esc keyboard keys to end the move operation, it does not undo the stuck touch event.
I should mention that I've been using a touchscreen laptop running Firefox on KDE Linux.

You may be seeing #8649. If not, please open a new issue, since gesture handling changed significantly since this issue was closed.


fix: Switching to a different color theme in an abnormal way.

🐛 The bug
When I toggle dark mode using "@nuxtjs/color-mode", the Devtools switch to dark mode However, when I switch to another nav on the devtools panel, the Devtools's color theme switches back to light mode.
🛠 To reproduce
https://stackblitz.com/edit/nuxt-starter-xdwqux?file=app.vue
🌈 Expected behavior
I think the devtools shouldn't switch the color theme when I switch the side nav.
ℹ Additional context
No response

fixed in #679


Docu and code out of sync

README + docs code does not work anymore, example seems up to date. Unclear when it ran out of sync.
Please fix.

Thank you @flutterrausch for opening this issue, sorry for the late response. Docs are updated and available on 2.2.21 version.


Prepare for RR's remix-run integration

react-router will soon support remix's data loading features. Implement this into Octobox somehow. Maybe.
One potential idea would be to have exported functions for loaders and actions per route, and the router will call these functions.
We might not do this at all, based on the reception of https://github.com/remix-run/remix/discussions/2539

Non-issue with RL now.


SW-2219 More map enhancements

add map component for planting site which provides data to the Map component
introduced some models and utilities
Map works around these models with no dependency on actual planting site semantics
this is still an intermediate step, hoping to get this in and we continue to make improvements
the calculation from polygon coords (EPSG 3857) to lat/long (EPSG 4326) is done in client for now, this will be handled by BE soon and we can remove that code next
we can make changes to this code over time, just an initial version of the map for planting site
on click etc we can continue updating
Example usage

 <PlantingSiteMap siteId={siteId} />

image here is based on testing using contactus page and admin ui to upload shapes to a planting site

This is exciting!

This is exciting!

Thanks, this is an intermediate effort.
We have outstanding items to work on.

draw boundaries around each polygon
render on click needs formatting, and also maybe a callback support (so other components can find which polygon etc was clicked)
for now i switched to satellite view (we were using street view earlier) - we can iterate on this. guessing we need stateliite view for planting sites, we can check.
points/lines are dropped in the code, only polygons are drawn, we may need to check if lines etc need to be drawn
Will add these in the jira.


butterstick: add board defn for r1.0

I've prepared this carefully (the connector defns were parsed out of the kicad netlist) but I don't yet have hardware to test this on.

Urgh, syntax issues I've missed a commit will fix asap.

@gregdavill can help clean this up if you want.

Sure! Here is a good reference for all the SYZYGY pins: https://github.com/butterstick-fpga/test-fixture-sw/blob/main/gateware/rtl/platform/butterstick_r1d0.py#L52-L54
This is what I'll be basing the LiteX boards platform file on.

@gregdavill I updated the change to more closely match the litex version.  Am working on a luna definition next so I plan to test the ulpi first.  The rest is untested at this point.

Hi @TomKeddie, I really appreciate you putting this together. I just gave this a shot with an r1.0 board (python -m nmigen_boards.butterstick) and noticed that the program step failed because dfu-util wasn't automatically selecting the alt=0 altsetting. I did the following to fix it:
diff --git a/nmigen_boards/butterstick.py b/nmigen_boards/butterstick.py
index fb1100b..bab55c2 100644
--- a/nmigen_boards/butterstick.py
+++ b/nmigen_boards/butterstick.py
@@ -147,7 +147,7 @@ class ButterStickPlatform(LatticeECP5Platform):
     def toolchain_program(self, products, name):
         dfu_util = os.environ.get("DFU_UTIL", "dfu-util")
         with products.extract("{}.bit".format(name)) as bitstream_filename:
-            subprocess.check_call([dfu_util, "-D", bitstream_filename])
+            subprocess.check_call([dfu_util, "-a", "0", "-D", bitstream_filename])

 if __name__ == "__main__":

Now when programmed the lights don't blink, but pressing BTN0 does drop back into DFU mode. I think this is expected currently?

Looks like it would be useful to have an -R in there as well, to reset out of DFU mode when programming is done.

I spent some more time working on this today. Pressing BTN0 is actually not expected to reset to DFU on the blinky program, it turned out! With the following patch I can now run simple test programs that use the LEDs:
diff --git a/nmigen_boards/butterstick.py b/nmigen_boards/butterstick.py
index fb1100b..fe8d6f6 100644
--- a/nmigen_boards/butterstick.py
+++ b/nmigen_boards/butterstick.py
@@ -11,16 +11,16 @@ __all__ = ["ButterStickPlatform"]

 class ButterStickPlatform(LatticeECP5Platform):
-    device      = "LFE5U-85F"
+    device      = "LFE5UM5G-85F"
     package     = "BG381"
     speed       = "8"
     default_clk = "clk30"
     resources   = [
         Resource("clk30", 0, Pins("B12", dir="i"),
-                 Clock(30e6), Attrs(IO_TYPE="LVCMOS33")),
+                 Clock(30e6), Attrs(IO_TYPE="LVCMOS18")),

         # LED Anodes
-        *LEDResources(pins="C13 D12 U2 T3 D13 E13 C16", attrs=Attrs(IO_STANDARD="LVCMOS33")),
+        *LEDResources(pins="C13 D12 U2 T3 D13 E13 C16", attrs=Attrs(IO_TYPE="LVCMOS33")),

         # LED Cathodes. Use invert to default as on to allow LEDs to be used in white with single bit IO
         RGBLEDResource(0, r="T1", g="R1", b="U1", invert=True, attrs=Attrs(IO_TYPE="LVCMOS33")),
@@ -135,7 +135,7 @@ class ButterStickPlatform(LatticeECP5Platform):
         return super().command_templates + [
             r"""
             {{invoke_tool("dfu-suffix")}}
-                -v 1209 -p 5af0 -a {{name}}.bit
+                -v 1209 -p 5af1 -a {{name}}.bit
             """
         ]

@@ -147,7 +147,7 @@ class ButterStickPlatform(LatticeECP5Platform):
     def toolchain_program(self, products, name):
         dfu_util = os.environ.get("DFU_UTIL", "dfu-util")
         with products.extract("{}.bit".format(name)) as bitstream_filename:
-            subprocess.check_call([dfu_util, "-D", bitstream_filename])
+            subprocess.check_call([dfu_util, "-a", "0", "-D", bitstream_filename, "-R"])

 if __name__ == "__main__":

I haven't at all experimented with any of the fancier peripherals, but this at least got the barebones system working.

One thing that doesn't work perfectly is the exit from the dfu-util invocation. It return 251 after the reset, so the board gets programmed and starts the loaded gateware but the command fails with a python stack trace...

@gkelly Thanks for all the awesome patches.  I haven't put enough time into this as you can tell.  I've added you as a collaborator.  Let me know if you'd prefer I applied the patches or if you want to commit to the branch.  I'm fine either way.
An alternative would be for you to take the changes into your own fork and we can kill this pr.  Again I'm fine either way, I don't have a ton of time to commit to this unfortunately.

@gkelly Can you help me with the motivation to change the clock to 1.8v?  As far as I can tell it's 3.3v but I'm ready to be wrong.  Thanks.

@gkelly Can you help me with the motivation to change the clock to 1.8v? As far as I can tell it's 3.3v but I'm ready to be wrong. Thanks. I've added all your other changes in a commit.

Good catch! This came from me reading https://github.com/butterstick-fpga/butterstick-bootloader/blob/main/gateware/rtl/platform/butterstick_r1d0.py and https://github.com/butterstick-fpga/verilog-examples/blob/main/blink/ButterStick_r1.0.pcf#L7, however looking at https://github.com/litex-hub/litex-boards/blob/master/litex_boards/platforms/gsd_butterstick.py#L16 and the schematic it appears that this was perhaps an error.

@whitequark thanks for the repo rename, I'm move this over shortly.
I want to add some code to this platform to provide an object to control vccio. I don't see this in any other platforms so I'm looking for some guidance on how you'd prefer to see this (or not at all?).  Thanks.


[Snyk] Upgrade aws-sdk from 2.831.0 to 2.840.0

Snyk has created this PR to upgrade aws-sdk from 2.831.0 to 2.840.0.

:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 9 versions ahead of your current version.
The recommended version was released 21 days ago, on 2021-02-08.

Release notes

Package name: aws-sdk

2.840.0 - 2021-02-08See changelog for more information.

2.839.0 - 2021-02-05See changelog for more information.

2.838.0 - 2021-02-04See changelog for more information.

2.837.0 - 2021-02-04See changelog for more information.

2.836.0 - 2021-02-03See changelog for more information.

2.835.0 - 2021-02-03See changelog for more information.

2.834.0 - 2021-01-29See changelog for more information.

2.833.0 - 2021-01-28See changelog for more information.

2.832.0 - 2021-01-27See changelog for more information.

2.831.0 - 2021-01-22See changelog for more information.

    from aws-sdk GitHub release notes

Commit messages

Package name: aws-sdk

d810e4e Updates SDK to v2.840.0
1407405 Updates SDK to v2.839.0
e4f112d Updates SDK to v2.838.0
737dc86 Updates SDK to v2.837.0
f78e48e Updates SDK to v2.836.0
a1bceb0 Updates SDK to v2.835.0
cc7fd8b Updates SDK to v2.834.0
617d8fb fix content type header for lex model v2 (#3616)
99aaea2 add notification of V3 GA in API reference header (#3615)
2acf058 Updates SDK to v2.833.0
57c0d91 fixed a typo on Config.loadFromPath(#3606)
1aff031 Updates SDK to v2.832.0
5ec1465 feat: use git-sync action to sync with private mirror (#3610)
aeb19a7 Updates SDK documentation

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Closing as this has been upgraded in #19


cmd/compile: error message for misuse of < in generic refers confusing to comparable

Extracted from #63523.  Compiling this program
package p

func F[T comparable](a, b T) bool {
	return a < b
}

produces
foo.go:4:9: invalid operation: a < b (type parameter T is not comparable with <)

It is somewhat confusing that the error message says that "T is not comparable" when the constraint for T is comparable.  Not a major issue, but we should use better wording here.

I think we should mention about the offending operator instead. Something like:
foo.go:4:9: invalid operation: a < b (operator < does not apply to operands of comparable types)

looks like the error is defined in src/cmd/compile/internal/types2/expr.go and src/go/types/expr.go From a quick look, it seems that the phrase "is not comparable" is a common theme, although I completely agree that the error message can be a bit confusing

I think we should mention about the invalid operator instead. Something like:
foo.go:4:9: invalid operation: a < b (operator < does not apply to comparable type T)

For the error message to be helpful, it has to make reference to cmp.Ordered. For example:
foo.go:4:9: invalid operation: a < b (type parameter T must satisfy cmp.Ordered interface to be used with <)
foo.go:4:9: invalid operation: a < b (type parameter T must be cmp.Ordered with <)
foo.go:4:9: invalid operation: a < b (type parameter T is missing cmp.Ordered required for <)
foo.go:4:9: invalid operation: a < b (operator < with type parameter T must satisfy cmp.Ordered)
foo.go:4:9: invalid operation: a < b (operator < with type T must be cmp.Ordered)

For the error message to be helpful, it has to make reference to cmp.Ordered.

There could be any kind of operators here, so not sure it's feasible (or worth) to report it.

IMO the key distinction that users need to be aware of is the one mentioned by the spec about comparable vs. ordered.
Therefore it could be enough to parametrize the comparable bit of the error message (seen at line 580) based on the operator:
cause = check.sprintf("type parameter %s is not %s with %s", errOp.typ, op, verb)

where verb could be comparable when op is syntax.Eql, syntax.Neq: and orderable if op is syntax.Lss, syntax.Leq, syntax.Gtr, syntax.Geq.
The term "orderable" would fit in that sentence structure but has the disadvantage of being informal (probably not even grammatical English, not sure about that). The spec use the term "ordered". So an alternative would be to allow the error messages to diverge. For example, a logic like this:
switch op {
case syntax.Eql, syntax.Neq:
    cause = check.sprintf("type parameter %s is not comparable with %s", errOp.typ, op)
case syntax.Lss, syntax.Leq, syntax.Gtr, syntax.Geq:
    cause = check.sprintf("type parameter %s can not be ordered with %s", errOp.typ, op)
}


Detect jest as a supported test framework

While dogfooding our own CLI, I noticed that the project picker was incorrectly reporting this repo (which is just a clone of appmap-js/packages/cli) as unsupported. But I ran the installer with npx @appland/appmap@latest install and it installed correctly.

We're not currently detecting Jest

Are we looking in the package-lock.json or yarn.lock file now? We have a
similar problem with Express.
On Wed, Apr 12, 2023 at 10:15 AM Dustin Byrne @.***>
wrote:

We're not currently detecting Jest
—
Reply to this email directly, view it on GitHub
https://github.com/getappmap/vscode-appland/issues/659#issuecomment-1505358248,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAVC674KKQX4UI4PHNGGVLXA22IVANCNFSM6AAAAAAWTEZOKI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Are we looking in the package-lock.json or yarn.lock file now? We have a similar problem with Express.
…
On Wed, Apr 12, 2023 at 10:15 AM Dustin Byrne @.> wrote: We're not currently detecting Jest — Reply to this email directly, view it on GitHub <#659 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAVC674KKQX4UI4PHNGGVLXA22IVANCNFSM6AAAAAAWTEZOKI . You are receiving this because you are subscribed to this thread.Message ID: @.>

We're not. What problem did you have with express? Jest detection is simply not implemented, but express is (although it does require explicit declaration in package.json, which I think is reasonable).

We need to look in package-lock.json for express because there are very
popular JS web frameworks that use express under the covers and would work
with AppMap but we don’t recognize them and therefore we kind of scare the
users away.
On Thu, Apr 13, 2023 at 10:03 AM Rafał Rzepecki @.***>
wrote:

Are we looking in the package-lock.json or yarn.lock file now? We have a
similar problem with Express.
… <#m_6238249626922703602_>
On Wed, Apr 12, 2023 at 10:15 AM Dustin Byrne @.> wrote: We're not
currently detecting Jest — Reply to this email directly, view it on GitHub
<#659 (comment)
https://github.com/getappmap/vscode-appland/issues/659#issuecomment-1505358248>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAVC674KKQX4UI4PHNGGVLXA22IVANCNFSM6AAAAAAWTEZOKI
https://github.com/notifications/unsubscribe-auth/AAAVC674KKQX4UI4PHNGGVLXA22IVANCNFSM6AAAAAAWTEZOKI
. You are receiving this because you are subscribed to this thread.Message
ID: @.>
We're not. What problem did you have with express? Jest detection is
simply not implemented, but express is (although it does require explicit
declaration in package.json, which I think is reasonable).
—
Reply to this email directly, view it on GitHub
https://github.com/getappmap/vscode-appland/issues/659#issuecomment-1507029107,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAVC63OZFCWIGV5N7NQQZDXBABTVANCNFSM6AAAAAAWTEZOKI
.
You are receiving this because you commented.Message ID:
@.***>

:tada: This issue has been resolved in version 0.75.0 :tada:
The release is available on:

v0.75.0
GitHub release

Your semantic-release bot :package::rocket:


Fix PEXBuilder.clone.

Previously clone copied distributions twice. One copy was made by the
underlying Chroot, and then another was manually performed. The manual
copy was only needed to update the internal _distributions set, so just
do that.
A test that failed before the fix is added to ensure distributions with
unwriteable files can be cloned.
Fixes #570

@fhoering if you have time to give this a review I'd be grateful. Thanks for finding this - it unearthed something surprising!


Increase release-build timeouts

microsoft/go PRs are almost exactly 60 minutes now on the Windows jobs. Expand the 60 minute PR poll timeout to 90 minutes.
The internal build has taken more than 120 minutes a few times recently. Expand to 180 minute timeout.

These timeouts caused some unnecessary retry runs and delays in the recent releases.

I'm happy with this workaround but do we have a separate issue tracking build speed?

I'm happy with this workaround but do we have a separate issue tracking build speed?

Closest match: https://github.com/microsoft/go/issues/656

Public CI innerloop is essentially the same as internal innerloop.
I generally expect these jobs to get slower as more upstream tests are added all the time, and we need to be careful to account for that before making any real over-time conclusions.

We'll be in a better position to monitor once we have https://github.com/microsoft/go-lab/issues/122. AzDO e.g. obscures agent reservation times, but we can gather fuller data from AzDO APIs once we have a more centralized organizer.
Publishing (during internal build) is known to be way slower after we moved to Download Center/CDN.


Login

Client cannot detect when server (jasig cas 8443) is login

Sorry could you please elaborate on the issue you are having?

i am sorry, solved. before i use phpCAS::isAuthenticated(); for check user has login (not working).
and now i use phpCAS::checkAuthentication(); (worked).


No output

Architecture: arm64
OS: ubuntu-server 23.10
Device: raspberry pi 4
Ran the example code with server and client. Client uses microphone.
I had to make a few adjustments like using 44100 for sample rate and specifically setting the input device id for pyaudio. I also turned off multi language and use en only.
However, I don't see a thing in the console once the client connects to the server and ouputs "server ready". The text seems to be always empty. When I stop the client and listen to the output wav I can hear my voice, so the setup seems right. Also tried to redirect the answer from the server to a file but that is also empty.
I know a raspberry pi 4 is quite low power device but i m running the small vosk model based on kaldi at the moment and that works fine. The memory requirements seem similar. I'm mostly surprised that there seems to be no output at all.

@stkr22 I think its the sample rate, you mentioned that you send the audio with 44100 sample rate to the server but the server expects 16kHz of audio. So, I would recommend either you resample your audio before sending to the server or resample it once you receive on the server.

I tried to downsample using scipy signal. But that did not help. However, I ordered a different microphone which outputs at 16.000 samplerate and also has a higher recording quality. Will test and update the issue.

Generally speaking, would you be interested in a pr that implements this functionality if samplerate is not 16.000?
Also I noted that at least for me pyaudio wasn't able to autodetect the microphone and I had to change the code to allow setting the input device as a parameter as part of client initialization. Would you be interested in a PR here?

@stkr22 yes please! that would be great


Elaboration reports internal error

Test: AmiqSimpleTestSuite
Run: uhdm-dump surelog.uhdm --elab
Log dump shows following repeated entries -
Internal Error: adding wrong object type (type_parameter) in a actual_group group!
Also, following legal assignment is reported with both lhs and rhs being null.
https://github.com/chipsalliance/Surelog/blob/7a9ef9e1bb9ac6088e98b475e267e9b959459eee/third_party/UVM/1800.2-2017-1.0/src/reg/uvm_vreg.svh#L456

UVM is not supported in UHDM yet and won't be for a while.

Same as https://github.com/chipsalliance/Surelog/issues/938

Can we make this explicitly clear in the logs. I didn't see any error messages except for the above one that explicitly states that UVM isn't supported yet.

Impossible, that equates to know that you are dealing with UVM or classes at least, which means you starting supporting at least something about it. Might as well do the work, if you have time please do.
This error message says you are attempting to do something wrong. It has no idea about the context.

This is what I had in mind when I requested - Wouldn't having a file like uvm_pkg.sv in the file list to parse a sufficient check? We aren't stopping anyone from doing what they need to do. But having a warning in the log reading something along the line "You seem to be using UVM which is not fully supported by Surelog." would inform the user. Or even allowing UVM paths only with an additional command like flag.
But again if the warning itself is not tied to the error being reported it is likely going to get overlooked anyways. Nevermind, forget it I mentioned. Not worth the effort.


Text input event

There are a few functions on windows for their IME to give you a UTF16 string and then you could use a small converter to output UTF8. Other libraries like SDL already support this kind of output through their char callbacks. For example you would change the IME output to the character callback code so it outputs a char * instead of a UTF32 code point. A lot of which is based on: http://utf8everywhere.org/
typedef void (* GLFWcharfun)(GLFWwindow_, unsigned int);
should be
typedef void (_ GLFWcharfun)(GLFWwindow*, char *);
typedef void (* GLFWcharmodsfun)(GLFWwindow_, unsigned int, int);
should be
typedef void (_ GLFWcharmodsfun)(GLFWwindow*, char *, int);
The reason why this should be done is so the strings work more effectively with default string handling functions. As by design all string functions can use and handle UTF8 and only require you to check for a UTF8 character if your removing a character or truncating the string. Also this process would speed up the returned string handling for others projects and speed up the utf8 creation on x11 or other systems that fully support utf8 returns.
This is mainly a feature change and is solely up to you if you would want to make 3.4 or another version handle proper Unicode strings.

I agree, and this is already planned for 4.0. It can't happen during 3.x as it changes the API.

Would it be possible to keep the current callback. Otherwise, I guess I would have the situation codepoint->UTF8 ->codepoint for character input. Or, does GLFW extract the codepoint from UTF8 already? It would add a new pair of functions:
typedef void (_ GLFWutf8stringfun)(GLFWwindow*,const char *);
typedef void (_ GLFWutf8stringfun)(GLFWwindow*,const char *, int);

This does not break existing API, so it can be done in version 3. Notice that I have put const in front of the pointer, because I think this is what you want.

Wasn't this addressed in the UTF32 to UTF8 conversion function added to x11_window.c by https://github.com/glfw/glfw/pull/983 ? I mean, why not keep the callbacks as they are now, and just make that function public, so that GLFW provides a function that converts from UTF32 to UTF8? Then, if your app expects UTF8 (which most likely will because most code works with UTF8), you call the UTF32 to UTF8 converter from your character_callback

I would say yes that would solve the issue if it is accessible publicly and viewable on different Operating systems GLFW supports.


Track PCA eigenvalues of covariance matrix of pools / layers

for lower level layers (V2, V4) pick e.g., central 2x2 set of pools, for TEO can do entire layers..  somewhat expensive but can just do intermittently over a sample of data recorded periodically.
report number of eigenvalues above some min threshold or something like that, and maybe track them and plot them over training.
It looks like there might be a residual form of hogging, now in terms of a set of lower dimensional reps that get relatively locked in -- the weights look pretty high contrast and patterns seem pretty stereotyped in trained nets.

Indeed there does seem to be a ceiling and decline on number of strong eigenvalues.
.01  threshold on eigenvalue strength gives 20 output categories for 20 obj case

V4f16 goes up initially to about 30 but then does come down to about 12 or so, coincident with learning stalling out.
V4f8 similar, comes down to about 15
TEOf16 stays above 20 -- much weaker changes -- probably reflecting top-down from output more closely
TEOf8 even more flat overall

TODO: new PoolTileSub version needs to expand set of pools to use -- now only looking at 2 sub-pools -- best to get 4x4 region.

Also track strength of TopN eigens -- maybe 4?  indicates a kind of hogging.

top 5, top 10, rest is all very informative in lvis


state is required for C001045

Actually, given that state is pre-filled, you should just take out state altogether from this one.

Like that @j-ro ?

There we go! Less errors that way...


Better documentation around given and mounted (mount configuration)

The documentation doesn't clearly explain when I should use mounted or given.
What I have right now are mount like this.
   class MyAPI < Grape::API
      resource configuration[:path] || :integration_links do
         nested = configuration[:nested]
         desc "Retrieve blah for #{nested} do
            detail <<~NOTE
               Returns a collection of blah for #{nested}
            NOTE
         end
         get do
             p = declared(params)
             case configuration[:nested]
             when :project
             when :integration
             else
                 raise ArgumentErorr, 'Endpoint mounted incorrectly'
             end
         end
      end
   end

This worked in Grape 1.2.3 (well except in grape1.2.3 I used options[:for].configuration[:nested] inside the endpoint get method)
And in 1.3.0 this still works. w/o needing to use "given" or "mounted" anywhere.
So my questions are why and when should we use given/mounted?

This is all about parameters. The given keyword allows you to require a parameter, only if another one is present. The mounted keyword lets you run code every time the API is mounted via mount (which can be multiple times). Doesn't look like you're doing either here?
I'll close this. Please use the Grape mailing list for questions.


[#3] - Babelify the output

Issue: #3
@flexdinesh We mustn't build react along with the library as it has performance concerns. So instead we just transpile the source code using babel and put only the transpiled code in the package. This not only reduces the overall size of the package but also saves significant time for the user of the library in saving memory and time involved with loading two react code bases. You can do a manual testing by compiling the package locally and installing it in another repository and use it.
And hey merge #2 before merging this one. 😄

@sadarshannaiynar Thanks for the PR. You are spot on that React should be a peer dependency and should not be bundled along with the lib. But building the React lib with Webpack gives more flexibility and Webpack super-power than Babel transpiling the js code. For instance, we could bundle the styles together into one file.
The simplest approach for this would be to use externals configuration in webpack.
 Let me know if you have second thoughts on this. Closing this PR now.

@flexdinesh yep this would work since styles are also involved, but just be careful while installing other libraries as dependencies just have an analysis of whether it should be bundled along with the code.


PP-5537 add get events and search ledger transactions pact test

WHAT

add pact tests
create a pact provider helper class. This is needed so the tests can
share the pre-configured ledger_client port.
update transaction fixtures

superseded


Overload batch for the transaction log

Batch isn't being overloaded, so we are missing those.
/cc @ralphtheninja

+1

https://github.com/ekristen/level-snapshot/commit/38d6ca64ded5ceffe0a20475f88bc3c5d4fb054c


passing a nonce with the oauth2 request

Hi,
I need to pass a nonce with the oauth2 authenticate request when using the implicit flow.  Any thoughts on the best way to accomplish this?

For instance.  If the current request to authorize looks like this
GET http://MySite/identity/connect/authorize?response_type=token&redirect_uri=http%3A%2F%2Flocalhost%3A7000%2Fswagger%2Fui%2Fo2c-html&realm=test-realm&client_id=MyClient&scope=read%20write%20profile%20openid&state=0.7868448935914785
I need it to look like this
GET http://MySite/identity/connect/authorize?response_type=token&redirect_uri=http%3A%2F%2Flocalhost%3A7000%2Fswagger%2Fui%2Fo2c-html&realm=test-realm&client_id=MyClient&scope=read%20write%20profile%20openid&state=0.7868448935914785&nonce=0.575656767832955

Will this be handled any time soon? It would help a lot.

Going forward, I'm going to avoid further customization to the swagger-ui components that are bundled with Swashbuckle. The Swagger generation in itself is already a significant scope for this project.
This is really a feature request for the swagger/swagger-ui folks and should be posted with that repo and specifically against the 2.x version - https://github.com/swagger-api/swagger-ui/tree/2.x.
Two additional things worth noting ...

You might be able to workaround this issue today by injecting your custom version of swagger-oath.js via the CustomAsset functionality provided with SB (see readme)
At some point in the future, I'd like to update this repo to support the new major versions of the Swagger spec and swagger-ui. But, this is likely some ways off.


Webhook not triggered on product de-assignment from category

Description:
When a product is assigned to a category via the Shopware Dashboard, a product.written Webhook is triggered, containing the id of the product. However, when de-assigning a product from a category, no Webhooks are being called at all.
Environment:
Shopware Cloud. Also verified with a self hosted installation of <IP_ADDRESS>.
**Steps to reproduce: **

Using the admin-api, create a Webhook for the product.written event
Setup an active listener on the URL provided during the Webhook creation
In the Shopware Dashboard, enter in product edit mode and de-assign the product from one of the categories.
Press "Save"

Expected result:

A product.written event is sent.

**Actual result: **

No events are being sent.

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-37744.
[created from NEXT-37744, comment 487449]


RESTful webservice to receive notifications of artifact uploads

Implementing issue:
https://github.com/griddynamics/nexus-replication-plugin/issues/3
Please review and merge.

Couple of things to be fixed before proceeding with the review:

Commit message doesn't contain any details of what was done, why it was done and why it was done in that particular way (though the latter can be replaced with javadocs).
Something's wrong with formatting, looks sloppy.

I updated commit message and formatting. Also I changed method name.


Adding external runner for doing a one-time full-sync

Summary:
This is a potential way of addressing #378 and #379.
As noted on #378, I'm using this along with the following for triggering safe-settings via GHA:
name: Safe Settings Sync
on:
  schedule:
    # daily run:
    - cron:  '0 0 * * *'
  workflow_dispatch: {}

jobs:
  safeSettingsSync:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          repository: pydolan/safe-settings
          ref: gha-runner
      - uses: actions/setup-node@v4
      - run: npm install
      - run: npm run full-sync
        env:
          GH_ORG: my-org
          APP_ID: my-app-id
          PRIVATE_KEY: ${{ secrets.SAFE_SETTINGS_PRIVATE_KEY }}
          GITHUB_CLIENT_ID: ${{ secrets.SAFE_SETTINGS_GITHUB_CLIENT_ID }}
          GITHUB_CLIENT_SECRET: ${{ secrets.SAFE_SETTINGS_GITHUB_CLIENT_SECRET }}

Additional comments:

My Commit history is a mess, so if you weren't going to do a Squash Merge of this PR, I will clean this up.
If there's a more javascript-y way of calling syncInstallation using index.js/package.json, I'm happy to change this.
Regarding Probot's GHA Adapter -- I initially used this in my separate script (similar to what handler.js does with the Serverless adapter), but this adapter uses the Action's GITHUB_TOKEN, which is limited to the current repo, so it offers no benefit that I can see.
Regarding my use of actions/checkout -- I would prefer to run safe-settings as an action using the Dockerfile, but GHA targets a different WORKDIR when doing so. There's an https://github.com/actions/runner/issues/878 about allowing workdir overrides with GHA.
[As noted in comments] I realized that my initial version of full-sync did not return a non-zero exit code when errors occurred, so I updated it to check settings.errors. I didn't see a way to check the errors from my syncInstallation call, so I modified Settings.syncAll to return its settings object. If someone has a cleaner option for this error checking, please let me know.

I realized that my initial version of full-sync did not return a non-zero exit code when errors occurred, so I updated it to check settings.errors. I didn't see a way to check the errors from my syncInstallation call, so I modified Settings.syncAll to return its settings object.
If someone has a cleaner option for this error checking, please let me know

Yea, tying into Checks would make things cleaner. I'm not familiar with the feature or code in detail, so if anyone has tips/suggestions, let me know.
The other question I had was if the probot gha adapter would help with error collecting, but it doesn't look like the Settings class is sending probot error info, so maybe it wouldn't help

@decyjphr - this is still on my radar; will try to get to it soon!

@decyjphr @decyjphr it would be great to see this merged in! ❤

@decyjphr and others – thanks for your patience on me getting back to this. I rebased my branch and updated the documentation with details on running safe-settings with GHA.

@dolan-a thanks for sorting this! I'm deploying safe-settings via the GHA. I had a play with sample deployment settings and wasn't sure if the configvalidators/overridevalidators sections were actually working. I noticed this bit in the README.md. To enable the runtime settings, must one deploy, e.g. the helm chart?

Runtime Settings

Currently the only setting that is possible are restrictedRepos: [... ] which allows you to configure a list of repos within your org that are excluded from the settings. If the deployment-settings.yml is not present, the following repos are added by default to the restrictedrepos list: 'admin', '.github', 'safe-settings'

I'm using a custom runtime settings file in my GHA setup to exclude repos. I would guess that the validators are working from my file (I left the default ones in there from the example file), but I forget if I tested them.
To use this, as I show in  [https://github.com/github/safe-settings/blob/main-enterprise/docs/github-action.md](this example GHA setup), I have a var for indicating where that setting file is:
DEPLOYMENT_CONFIG_FILE: ${{ github.workspace }}/safe-settings/deployment-settings.yml

This does not require the helm deployment since the entire safe-settings code is pulled down to the GHa runner, and they code is what uses the deployment settings env var. Hope that helps!

I'm using a custom runtime settings file in my GHA setup to exclude repos. I would guess that the validators are working from my file (I left the default ones in there from the example file), but I forget if I tested them.
To use this, as I show in  [https://github.com/github/safe-settings/blob/main-enterprise/docs/github-action.md](this example GHA setup), I have a var for indicating where that setting file is:
DEPLOYMENT_CONFIG_FILE: ${{ github.workspace }}/safe-settings/deployment-settings.yml

This does not require the helm deployment since the entire safe-settings code is pulled down to the GHa runner, and they code is what uses the deployment settings env var. Hope that helps!

Thanks @dolan-a! I also had the default ones, I tried changing a collaborator to admin and it didn't seem to do anything (including manually running the action), which is what made me wonder if it's working. I, too, am using the restrictedRepos which is working well.

@paddyroddy I created this issue to check if you use case still works.


Consider implementing .array and .to_numpy

Series and dataframe implement .values:
https://docs.dask.org/en/latest/dataframe-api.html#dask.dataframe.Series.values
But this api is warned against in pandas docs...
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.values.html

Duplicate for https://github.com/dask/dask/issues/5001 for .array. Chime in there if you have thoughts on what the return type would be (I suspect we'll need another Dask collection to implement this).
I'm not sure about a to_numpy(), since we wouldn't be creating a numpy array, we'd be creating a Dask array. And we already have to_dask_array. Thoughts on that?

Any thoughts here @jamescasbon?  Is having .to_numpy() return a Dask array too confusing?

Hi, sorry for not responding sooner.   I think I was probably misusing dask when I wanted this.  Things are clearer to me now so I don't really need this.  Previously I was getting a mix of dask and real dataframes.  But now I realize how to keep my types consistent :+1:

Thanks for circling back James
On Mon, Mar 23, 2020 at 2:41 AM James Casbon<EMAIL_ADDRESS>wrote:

Closed #5705 https://github.com/dask/dask/issues/5705.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/5705#event-3154390414, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACKZTAA33T2WUGBVYI7BL3RI4VFPANCNFSM4JZ6OJVQ
.


chore: rename strategies param to configs in governance script methods

Fixed in https://github.com/llamaxyz/llama/pull/506


updated interested technical writers list

I have added my name in the list of interested technical writers list for season of docs 2023. Kindly, merge my PR.

I have added my name in the list of interested technical writers list for season of docs 2023. Kindly, merge my PR. I have also signed for a CLA.. Kindly, recheck.


Catch and rethrow Throwable to prevent accidental leaks from SeparateClassLoaderInvokeMethod

Currently, the framework uses catch(Exception) so it will miss Errors raised within the test code.
https://github.com/mjiderhamn/classloader-leak-prevention/blob/ad0d9be08752bd6e4d42d0863861506c038d41f7/classloader-leak-test-framework/src/main/java/se/jiderhamn/classloader/leak/JUnitClassloaderRunner.java#L120-L123
For instance, AssertionError will not surface, and it will be hard to spot the reason for the failure.
Here's an example how AssertionError retains the classloader from unloading, and the framework reports "leak detected" instead of "test code has raised AssertionError"

@vlsi Can you provide a failing test case? As per branch #141 (see here) It seems to be to behave as expected, while if Exception is changed to Throwable in the code in question, it does not.

It seems to be to behave as expected

What is the reason for catching Exception instead of Throwable?
What is the reason for evaluating leaks in finally even after the test method throws an exception?
What is the reason of having System.err there?

If you absolutely want reproducing this, try throwing exception from a class that is loaded by the custom classloader. In that case, the exception stacktrace would reference the class and prevent it from unloading.

Sorry - had not put my mind in "ClassLoader leak mode" yet (plus existing comments were misleading). Fixed in https://github.com/mjiderhamn/classloader-leak-prevention/commit/ebb50492e7a2f3619be7bafead1024f8d224bf2f.


as_dict() not working with empty dict values

If you have a value that is an empty dict, it will be set as another FlatDict, that is not cast back by as_dict().
Actual:
>>> FlatDict({'a': {}}).as_dict()
{'a': <FlatDict id=140733286897024 {}>"}

Expected:
>>> FlatDict({'a': {}}).as_dict()
{'a': {}}

same issue.
it depends on the use case but as a workaround i'm doing this

I have a PR out that should fix this https://github.com/gmr/flatdict/pull/57
print(FlatDict({'a': {}, 'b': []}).as_dict())
{'a': {}, 'b': []}

The issue is a little more nuanced, turns out: https://github.com/gmr/flatdict/issues/59


Allow setting MAC address for tap device

Bhyve makes it possible to set the MAC address for a virtio-tap interface instead of just randomly generating one. "-s ,virtio-net,tap2,mac=xxxx:xx:xx:xx:xx"
This should be possible to configure per guest using zfs properties

Reading the wiki, it looks like bhyve has its own MAC address allocation.
https://wiki.freebsd.org/bhyve
58-9C-FC

Then should we add something generated at random?

My proposal is not to change the default behavior (letting behyve deal with MAC addresses automatically) but to let the user manually override the MAC address based on his needs, let's say with locally administered addresses.

+1

Loud and clear. :+1:

This has been implemented.
iohyve set guestname mac=00:01:02:03:05:08


This JSQR library do not work reading barcode in image. I think it has algorith issue

I have qr code in image and its read well by this site
https://products.aspose.app/barcode/recognize/qr#
Jsqr reads simple qr code that with good background.
It probably locate the qr code but its not reading some qr code.
i got this incomplete JSON
5048-1260-7451-4628" }, "alg": "EDDSA", "signature": "ZgGTsuUtWHDh9Im1Jtqo48Wl1BF852kqF8HaAr/xnGbmyrS2q7+tJQUAvvl5qH47EdVt/5pkNrxRWO+t0xH1DQ=="}
in data field
It should have been full json like that site output.
I am wondering anyone encounter incomplete reading of QR code.
I am googling for days trying different library . None works.
I am stuck . i need help in solving this
https://imgur.com/a/2PKCZKR
here is image to test. let me know

Ok after some research , i found a solution.
The error is in the outout of JSQR.
data is not translated to proper String output. Please fix it.
So what i did is convert  bindaryData into String.
There are 100s of website using JSQR and all output wrong data.
So if you guys fix , please send me thanks
As far as how to convert ?  https://stackoverflow.com/questions/8936984/uint8array-to-string-in-javascript
enjoy!

Hi @alexk400 ,
I'm very glad I found this issue of yours.
When I read your sentence:
"I am wondering anyone encounter incomplete reading of QR code."
I thought: "Yes! That's my case".
This is the QR-code generated by a hardware device that I was trying to read:

As a result I get for QRCode.data (the string returned by jsQR):
240;SYSTRONIK GMBH
242;4.0072-5
243;Dec  5 2022
244;00E200600321161657000000
115;10
4;<PHONE_NUMBER>0003

That's 1xx characters long.
However - thanks to your 2nd comment - I found out that binaryData was much longer. (3xx characters)
By converting that binaryData array myself I get the complete data:
240;SYSTRONIK GMBH
242;4.0072-5
243;Dec  5 2022
244;00E200600321161657000000
115;10
4;<PHONE_NUMBER>0003
241;EUROLYZER STX
248;06-46-01202
67;Heizöl
2;12:09:59
1;25.04.23
26;   5.2
29;   598
39;     0
5;  23.0
7;  23.2
9;  -0.2
11;  -1.6
36;  11.4
65;  1.33
64;   0.0
132;   794
62; 100.0
205;  95.2
24;  46.1
66;   0.0
81;    79

The character jsQR struggles with, is probably the "ö" in "Heizöl" on the 9th line.
All numbers in binaryData are < 128 except for that "ö" that leads to the number 246 in the "binaryData" array.
So, I 100% agree with your:
"data is not translated to proper String output. Please fix it."


query_table SQL query has bad quotes

tests produce this error:
Error (test-tidy_FIA.R:16:3): tidy_fia produces expected output when postgis = TRUE
Error: Failed to prepare query: ERROR:  relation "fiadb.fs_fiadb.subplot" does not exist
LINE 2: FROM "fiadb"."fs_fiadb.subplot" AS "q02"
             ^

This post has a clue about extra quotes included in a query causing issues:
https://stackoverflow.com/questions/36753568/postgresql-tables-exists-but-getting-relation-does-not-exist-when-querying


add back OpenSearchDashboardsClient types

PR solved:
https://github.com/opensearch-project/opensearch-js/issues/181
Signed-off-by: Anan Zhuang<EMAIL_ADDRESS>Check List

[ ] New functionality includes testing.

[x] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Currently we are not ready to apply it in Dashboards due to this issue