fprintd-tod: fix the build

Motivation for this change
#144627
#144843
#zhfmsk
Pin  fprintd-tod to 1.90.9 until libfprint-tod-vfs0090 supports newer version
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 146737 run on x86_64-linux 1

1 package built:

fprintd-tod

Just to clarify: fprintd-tod is essentially another instance of fprintd but with replaced dependency. So what I wanted to do is to override src attribute.
I'm not sure if I understood the request correctly. Do I have to move the override into a separate file? (I see similar overrides in the same file btw, didn't know it's not allowed)

I'm not sure if I understood the request correctly. Do I have to move the override into a separate file? (I see similar overrides in the same file btw, didn't know it's not allowed)

It's allowed but I think it's a bit better to put it in a separate file, since it's not really a temporary override but more of a separate package.


Fix task graph running in SKU api

Missed an update to change the graph running calls.
@RackHD/corecommitters @zyoung51

+1

DO NOT MERGE

*** BUILD #517 ***

:+1:

+1


Multiple data visualization

First of all, Thanks for providing awesome chart library!
How can I display multiple data (at least 2) like stock chart?
Expectation

Is it possible to implement with this library?

I'm also after this behaviour.  Any luck @dmytro19 ?

Cool, so I figured this out. It's not documented. Here's a PR that lets you do this:
https://github.com/coinjar/react-native-wagmi-charts/pull/31
Example of usage here:
https://github.com/coinjar/react-native-wagmi-charts/blob/master/example/src/LineChart.tsx#L73

Hey did you solved that issue ?

IT's solved already, and working well as mentioned by @nyan-left . @taatiq882 you can check out the PR #31


dataset

Which file from Breaking Bad Dataset is needed in the training process?  Is it everyday_compressed.zip or  volume_constrained-everyday_compressed.zip?
Thanks.

It's everyday_compressed.zip. You still need to run a decompressor script to get the actual data. Please check out their repo.


fix kwargs, other strategies have no img_shape

This is already solved by #75 now (by adding **kwargs to the other sampling functions)


HV-861 Bridge methods need to be ignored in ExecutableHelper#overrides

HV-5-MASTER #660 SUCCESS
This pull request looks good

Rebased and applied. Thanks!

Sweet thanks


GPU delegate problems in tensorflow-lite in android studio

hello everyone! I'm new in the community so please bear with me. I would like to get some help with my problem that I've been stuck in for a while now. I get an error when I run my app in android studio and through my mobile phone. I am following ElectroCode's tutorial videos in making sign language recognition app on youtube.
This is my error log:
	E/AndroidRuntime: FATAL EXCEPTION: Thread-4
	    Process: com.example.imagepro, PID: 7161
	    java.lang.IllegalArgumentException: Internal error: Failed to run on the given Interpreter: Next operations are not supported by GPU delegate:
	    CUSTOM TFLite_Detection_PostProcess: Operation is not supported.
	    First 98 operations will run on the GPU, and the remaining 1 on the CPU.
	    OpenCL library not loaded - dlopen failed: library "libOpenCL-pixel.so" not found
	    Falling back to OpenGL
	    TfLiteGpuDelegate Invoke: ToTensorConverter: input data size does not match expected size.
	       Node number 99 (TfLiteGpuDelegateV2) failed to invoke.

        	at org.tensorflow.lite.NativeInterpreterWrapper.run(Native Method)
        	at org.tensorflow.lite.NativeInterpreterWrapper.run(NativeInterpreterWrapper.java:163)
        	at org.tensorflow.lite.Interpreter.runForMultipleInputsOutputs(Interpreter.java:360)
        	at com.example.imagepro.objectDetectorClass.recognizeImage(objectDetectorClass.java:159)
        	at com.example.imagepro.CameraActivity.onCameraFrame(CameraActivity.java:130)
	        at org.opencv.android.CameraBridgeViewBase.deliverAndDrawFrame(CameraBridgeViewBase.java:392)
	        at org.opencv.android.JavaCameraView$CameraWorker.run(JavaCameraView.java:373)
 	       at java.lang.Thread.run(Thread.java:929)
	D/CameraBridge: call checkCurrentState

Hi @yanzxcasdqwe !
We see that the issue template has not been filled, could you please do so as it helps us analyse the issue [tf version, steps followed before you ran into this error or stand alone code/colab gist to reproduce the issue faced].Thanks!


Clarify between alpha and 0.14.1 version instructions

concept ACK

why did you close this?

I was making a new pull request with the link change.

it's included here though... :)

Well, do what you need to.

I thought I had to close and make a new pull request, but it's good to go now.


route state not compatible with typing definition from vue router

  import { Route } from "vue-router";

  @Watch("route")
  onRouteChanged(currRoute: Route) {
    if (currRoute.meta.parentRoute) {
      // got ts error at this line saying: 'Property 'from' does not exist on type 'Route'.'
      this.buttonText = currRoute.from.name;
      this.routeName = null;
      this.show = true;
    } else {
      this.show = false;
    }
  }

prob should define a route typing for the state in this library?

i will just shim it for now i guess,
import { Route } from "vue-router";
export interface RouteState extends Route {
  from: Route;
}

This issue seems to be about vue-router, not vuex-router-sync?

There's no from in Route type

@posva that is the problem, no from in route type, but the store state has it: https://github.com/vuejs/vuex-router-sync/blob/master/src/index.js#L71 , and @LinusBorg I don't think this is a issue for vue-router, since this library bind the from property on the route object.
thus I believe we should shim it in the type definition file here https://github.com/vuejs/vuex-router-sync/blob/master/types/index.d.ts
i can make a PR if you guys think this is the right way to do, i have to shim it in my app anyway.

Ah, I see but don't add it to the Route type since it's only  available in store module. Worst case is creating a new type and exporting it


Control Unit offline more frequently

Hey all,
I'm trying to pin this down.
Since I installed this new Repo and re-added my second valve to the controller, the controller is frequently going offline, and I have to pull the plug to re-connect it.
I can't see anything in any logs that points to this plugin, but the correlation can't just be a coincidence.
Is anyone else seeing this with theirs?

I added a second valve and was never able to get it to detect the controller. After de registering and reregistering the control it and valve unit, I cant get either online.

I have the same problem with several control units even though they worked correctly up to the end of last season. They are both only 2 years old. I registered a support issue with Melnor and the sent me 2 new units! Whats up with this? The CUs went on line, the VU, did not connect in raincloud to CU. They showed a blinking light on the VU which is supposed to indicate that they are connected to the CU. The new ones work correctly. Did they change something in some way that effected the CU firmware? I wonder.


Skip notarizing within Github actions for now

@marisademeglio @NPavie Do you know what is wrong with the Github build? The log says:
Invalid configuration object. electron-builder 23.6.0 has been initialized using a configuration object that does not match the API schema

Did you update to a different version of Node perhaps? (Github currently uses 16.)

Looks like it's a configuration file issue for electron-builder (not related to node vers as far as i can tell).


api version aware routing

Purpose

Check whether the target instance's api matches before routing, and if not prompt the user.

Codecov Report

Merging #698 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #698   +/-   ##
=======================================
  Coverage   55.91%   55.91%
=======================================
  Files          53       53
  Lines        2087     2087
  Branches      203      203
=======================================
  Hits         1167     1167
  Misses        870      870
  Partials       50       50

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b3bc3a6...9798a7a. Read the comment docs.


How to change the text to hts_lab

Hi, guys. I am now using merlin for Chinese training. I have prepared the prosody_label as below:

0.282300 125 sil
0.134400 125 x
0.288550 125 iang
0.110800 125 x
0.204150 125 iang
0.034000 125 g
0.199600 125 ang
but I am confused about how to change this to hts_label, I have read the file of merlin/misc/script/frontend/festival_utt_to_lab, but still with trouble.
How can I emerge the hts_lab? What should I prepare for emerging hts_lab?
It seem that I need to emerge festival_utt first at first. Once I have the festival_utt, how to use the merlin/misc/script/frontend/festival_utt_to_lab?
Could you please give me some advice? Honestly appreciate.

I am also working on Chinese TTS using Merlin. If there is a tutorial for Chinese, that would be very helpful.

I don't understand why you have to change text to hts_lab via merlin. I can also use festival to create labs for hts, but i don't know festival support Chinese or not (for Vietnamese, it's not). in other way, you can create hts lab follow this structure: http://www.cs.columbia.edu/~ecooper/tts/lab_format.pdf
this structure for english, for Chinese you should figure out by yourself. I usually convert lab from hts to merlin's structure to train with merlin.

@chazo1994 Thanks for your reply, but for Chinese label, I am confused about the format, the way to generate the parameter, and how to format the question file. If there contain some files for how festival create labs for English, and the regulation to format question file, this would be helpful.

@willian56 Question file use regex expression to determine phoneme (to cluster states by decission tree in hts) follow the stuture of labs file. if you want to create question file, the first you have to understand linguishtic feature of your language like:
(1)  Sub-syllable:  (current  sub-syllable,  preceding  one  and  two  sub-syllables,  and  succeeding
one  and  two  sub-syllables)  Initial/final,  final  with  medial,  long  model,  articulation
category of the initial, and pronunciation category of the final
(2)  Syllable: The number of sub-syllables in a syllable and the position of the syllable in the
note
(3)  Phrase: The number of sub-syllables/syllables in a phrase
(4)  Song:  Average  number  of  sub-syllables/syllables  in  each  measure  of  the  song  and  the
number of phrases in this song
follow this paper: HMM-based Mandarin Singing Voice Synthesis Using Tailored Synthesis Units and Question Sets
the second: to create question file yourself, you can use a script in hts ( download hts demo): makequestion.pl in data/scripts. And you have to modify en_US.talk.conf in data/configs same as your language's question.
To generate labs, you can you fesival or not. I do not use festival for my language. I make labs follow structure of lab that i give you above (for my language i use stucture is modified). To do that you can use part of speech tagger (POS), word segmentation, word chunking, tobi to label the tone.
this slide may be help you for Chinese: mandarin tts using hts toolkit
Labs and question in hts same as merlin (after alignment)

@chazo1994 Thanks for your advice, it really help.


Make folder names configurable

Currently, the folder names are created with a hardcoded pattern: pvname_namespace_pvcname (see https://github.com/rancher/local-path-provisioner/blob/master/provisioner.go#L261).
It would be very useful to be able to use a different folder name pattern, like namespace-pvcname or namespace/pvcname
The goal is to have a predictable and stable directory name, which would have several advantages:

it would be possible to create and populate the directory before the corresponding PVC is bound (i.e. before deploying the workload). Very useful when you're not starting from scratch, but need to initialize data. Without that improvement, you currently need to deploy the workload first (so that the PVC is bound), then remove it, remove the content of this directory (if any has been added by this first launch), then copy what you need in it, and redeploy the workload
it would really simplify some cases of Disaster Recovery Plan. For example, if your cluster is completely unavailable, but you have a copy of the folders (from a backup, for example), you could easily and quickly run it again on another cluster, just by transferring the folders and deploying the same manifests
when using a reclaimPolicy set to Retain, it would be much easier to transfer a stateful workload from one node to another one. You would only have to remove the workload & PVC, then move the directory to the target node, modify your workload to make it run on the target node, and deploy it again. Currently, it's more complicated because you have to move the directory content inside the new directory (and you don't know its name beforehand). It would also cover the case of renaming a node
when using a reclaimPolicy set to Retain, it would be possible to delete then recreate the PVC while keeping the data. Useful when the PVC has been deleted/recreated (by mistake or on purpose)

The nfs-subdir-external-provisioner has to do something very similar regarding folders, and has implemented what is necessary to make the pattern configurable. See https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner/blob/master/cmd/nfs-subdir-external-provisioner/provisioner.go#L105

Yeah, there is a similar request https://github.com/rancher/local-path-provisioner/issues/291.

I suppose you had the same situation when you implemented #77 ?
Maybe you could add an optional pathPattern setting, and use pvname_namespace_pvcname as its default value (if not set by the user of this provisioner). I suppose it's enough to make the feature retro-compatible?
IMHO, if the user sets or changes this pathPattern while already having directories, he is responsible of renaming the directories.

I'll confess interest in this - specifically for the ability to quickly lift and shift under disaster recovery.

Also looking for this feature to make disaster recovery simpler in my home lab. The suggestion in #291 looks great. Just use subdirs like namespace/pvc-name.

Any update on this?

@KyleSanderson Can you check whether https://github.com/rancher/local-path-provisioner/pull/385 is good enough?

I'm closing this issue. To me, it has been resolved by #385
In my case, I've just created this storageClass:
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: local-path-retain-pathpattern
provisioner: rancher.io/local-path
parameters:
  pathPattern: "{{ .PVC.Namespace }}/{{ .PVC.Name }}"
volumeBindingMode: WaitForFirstConsumer
reclaimPolicy: Retain

And it works perfectly fine for me
Many thanks for this improvement!


Implemented user facing objects attributes change from pointers to no…

Feature :
Implemented user facing objects attributes changes from pointers to non pointers with few exceptions .

Other object type or list of object types are still pointers . Most of these attributes are output type and there are few input attributes. so, shouldn’t be major concern.
Enums are still pointers .  However internally it is handled and user doesnt have to worry about creating pointer by their own.
Fix formatting in the code base.

Details :
Implemented encoding and decoding function in objectset layer for all the objectset types . The encoding and decoding basically converts the object from non pointers to pointer type and vice-versa.
Test :
xxxxx:service xxxxx.xx$ go test -v
=== RUN   TestVolumeServiceTestSuite
=== RUN   TestVolumeServiceTestSuite/TestGetNonExistentVolumeByID
--- PASS: TestVolumeServiceTestSuite (9.63s)
--- PASS: TestVolumeServiceTestSuite/TestGetNonExistentVolumeByID (9.63s)
PASS
ok  	github.com/hpe-storage/nimble-golang-sdk/pkg/service	9.647s
Signed-off-by: vidhut-kumar-singh<EMAIL_ADDRESS>

How much effort would be required to put up a separate pull request with just the package rename changes, redone from scratch rather than as a modification from the current state of this pull request? If not so much effort, I'd suggest that as a first step. Then the remaining changes can be applied on top of that, and we can see exactly what they are. Also, if you agree with my speculation that separate "user facing" objects might not be needed, it should greatly simplify the remaining changes.

This review request is created a few weeks back and subsequent changes have been added to it due to delay on PR request . There are pending changes in my local repo which I have sent for review. I'm losing track of code changes.
Next PR will have generated changes and specific code changes separately. But generated code changes will always be like this since it will have impact on all the objects.

I am working on changeset which will remove this internal i.e EncodeAccessControlRecord/DcodeAccessControlRecord logic . Instead sdk user would have to  use conversion package which essentially converts the data to pointers.

Next PR will have generated changes and specific code changes separately. But generated code changes will always be like this since it will have impact on all the objects.

If that's the case, just file separate PRs for generator changes please.

Closing this pull request and will send separate PR as per the reviewer request.

I am reopening the PR since there is no easy way now to create a separate PR for each changes in the current PR.
Git doesn't allow you to create a new fork for existing user for the same upstream .

@rkumpf , there is no easy way I could create a separate new pull request from the existing PR. I have reverted the changes of encoding/decoding . Also, I will address your review changes w.r.t POST/PUT in the new PR. I didn't want to club that change in this PR as it add more complexity to PR. Once this is approved, I will merge this change and from here on you should expect a minimal possible patch.


getBTCRate / getBTCInvoice Errors

I will hit this in the morning...
Multiple TypeErrors when sending null or missing vars to the functions.
Need to create checks for defaults.

Fixed!

Ready for testing by others.

A few things I notice:

Why is the type for $amount a string?
Why is there a default value for Address when it’s a required parameter?
Missing explicit string return type for function

If the amount changes to 0, then the output from getBTCRate will change to the current exchange price, correct???

If the amount changes to 0, then the output from getBTCRate will change to the current exchange price, correct???

In the getBTCRate function, yes. getBTCInvoice is just taking the amount (in bitcoin) and putting it into a string. If the amount entered is <= 0, the amount is not included in the Payment request.

OK, I'll test.  Thanks!

I have a working test temporarily here at http://eawf.com/btctest/

Fixed a potential exploit/bug where if the message or label contained non-URL encode-able characters then the URI would break or potentially be used as an exploit.

Resolved in PR #55

OK, tested with my bcttest and Mycelium read the QRCode perfectly.


PriorityBlockingQueue can duplicate elements be removed?

I want to a sort queue and it can remove the duplicate elements.

PriorityBlockingQueue doesn't support this function. You need to handle it manually.


Introduction of Chatbot for automated responses on subject syllabus

Is your feature request related to a problem? Please describe.
NITians feel difficult every time to go through the pdf and websites for checking out their syllabus especially the freshers.
Describe the solution you'd like
The chatbot will hence help the students figure out the syllabus just by entering the Subject code or subject name
Describe alternatives you've considered
I am also thinking of making the chatbot respond for common FAQs which are listed by the freshers. It might hence make the chatbot dynamic.

We understand that this is your induction task. So we'd like to see this chatbot integrated in the app and not just a standalone service which we open in a browser.
We'll be reviewing your task this weekend. Sounds good?

I actually have my academics started so I would request you for 2 weeks
maximum?
Regards
Gokul
On Mon, 14 Dec 2020, 20:59 Chinmay Kabi<EMAIL_ADDRESS>wrote:

We understand that this is your induction task. So we'd like to see this
chatbot integrated in the app and not just a standalone service which we
open in a browser.
We'll be reviewing your task this weekend. Sounds good?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dscnitrourkela/project-avocado/issues/164#issuecomment-744516673,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJZW256V5I6PWLYVYQLFUFTSUYVMLANCNFSM4U2JK7PA
.

Hello Gokul,
We would like an update on this task

Hello @Chinmay-KB, I have manually extracted the syllabus content from NIT RKL Curriculum as the website was not updated yet. I have to integrate with DialogFlow yet. Will get back to you by next week. Sorry for the delay. I have also added an extra feature of recommended books.


Flaky workbox-google-analytics test

Library Affected:
workbox-google-analytics
I'm seeing periodic flakiness when running the workbox-google-analytics integration tests, against either the prod or dev bundle, in the current Google Chrome Stable (M70).
1) [workbox-google-analytics] Load and use Google Analytics
       replay failed Google Analytics hits:

      AssertionError: expected [ Array(1) ] to have a length of 2 but got 1
      + expected - actual

      -1
      +2

      at Context.<anonymous> (test/workbox-google-analytics/integration/basic-example.js:125:30)
      at process._tickCallback (internal/process/next_tick.js:68:7)

Phil fixed this in v4.


Exception if bcscale() is set

bcscale(1);
$a = new Money(0, new Currency('SEK'));
$b = new Money(0, new Currency('SEK'));
$a->add($b);

InvalidArgumentException: Amount must be an integer

/Users/wic/PhpstormProjects/faktura/vendor/mathiasverraes/money/src/Money.php:54
/Users/wic/PhpstormProjects/faktura/vendor/mathiasverraes/money/src/Money.php:230
/Users/wic/PhpstormProjects/faktura/tests/FakturaTest.php:51

The fix is to explicit give scale 0 when doing integer operations (add, subtract) => bcadd(0,0,0)

Thanks for reporting this. I will look into this next week or ask @frederikbosch if he has time.


MirrorX: toggle

A fun extension, but I expected a second click on the button to revert things to normal.
Instead, I found it necessary to disable the extension.

Yep. this is a pure CSS, no JavaScript experiment,
not a drop of JavaScript (for UI-management) is there as-well.
a switch will be nice, but for now enabling/disabling the web-extension is the way to go.


Concrete ls index name

Tested '/' functionality as concrete ES index name signaling (without Bosun adding date suffix), works great.

@mjibson, (as I'm new to GO) Should I reduce it?

Yes, you should. But I'm a bit confused about the intended behavior. That will test if just the last character is a "/", not if the entire string has value "/". Which do you want?

As you can see in https://github.com/bosun-monitor/bosun/issues/974 , the intended behavior is to enable the user to signal Bosun 'just use this index name and don't add date suffix'.
The context behind this is that ES indices 'costs' quite a lot in terms of memory and cpu. there are use-cases such as the one that initiated this PR that the size of data is <5MB per day so there is no reason to create new indices every day. also there's the fact that olivere/elastic client (that Bosun is using to interact with ES) query's indices by index name, and doesn't include index aliases which you can think of sym-links from 'myindex-2015.05.31' to 'myindex-global'.
Hope that the above is clear enoungh,
Yarden

Strings can't be nil, but they can be empty, and HasSuffix handles that correctly.

@kylebrandt, could you review this?

+1


Yaegi plugin framework

Wondering if Yaegi was looked at and considered for benchmarking? Seems like a pretty slick way to support plugins with minimal performance hit based on tests by the Traefik team.

I think it could be interesting to compare. Yaegi is an interpreter which makes it different from the other plugin solutions but it will still be viable or even better for many use cases. I will see if I can add it this weekend.

@kevinduffey thank you for your question. I have added a benchmark for Yaegi now.

Excellent! Thank you for such a quick addition. From the benchmark, it looks like it stacks up better than all but the go native plugin code.. am I reading that right? How did you feel about the implementation vs others? I am playing around with it still and finding it interesting but a bit limited.. namely I want a plugin to be able to provide an interface that another plugin can implement.. doesn't seem likely that that will work.

Yes, it performed better than I thought it would and it was interesting to give it a go. So, as you say, it does indeed perform better than all the other plugin solutions except the go native plugin code. I think interpreted code may have a different use case from RPC/gRPC plugins but it's nice to include it here in the benchmark.
As for an interface, you could provide a package with interfaces which can be implemented in code which will then be called by the interpreter. On this example from the documentation you can see how a function could be implemented:  https://github.com/traefik/yaegi#as-a-dynamic-extension-framework. This function could take input from the main application or another plugin and do something with it.
I guess there is also different security implications of the go plugin approach versus interpreted code. With most plugin solutions you basically have a separate application instance running which can do anything it wants in its environment. Here you interpret code and you could modify and limit what it is capable of doing which may make it safer.
As for this benchmark, we are only checking a simple function which returns a random integer. I think it would be interesting to compare performance for more complex operations and also the time it takes to load the plugin or code in the first place before calling the function. The benchmark can be useful and I find it interesting but it doesn't give you the full picture.


Allow deleting draft projects

Right now there's no way in the UI to delete a draft project, in some cases we don't want to create it.

Tested on staging, confirmed to work. I registered myself as a non-project creator, and created a project request / draft project. As an admin in another tab, I then deleted the request. Then as the non-project creator user again, I was able to create the project request (with the same project code) again. No problems. I tried several scenarios to make it fail (reusing a project code that belonged to a real project that had been soft-deleted, for example) and it still didn't fail. Everything worked as it should.


Instance json files include hidden files

Most of my bin/cue files in Assets/pce/common had corresponding hidden files (macOS).  When the instance JSON files were generated, these hidden files were included.  In many cases, the JSON file was not generated at all since the hidden files would create more than 27 tracks.
Suggestion: Files that begin with a . should be ignored when searching for bin/cue files when creating instance JSON files.

damn macos dotfiles strike again. thanks

should be fixed in 2.13.2
let me know how it goes

fixed in v2.13.2

Verified as fixed (tested 2.14.0), thanks so much!


Include link to Health Benefits Package design paper on TLO website

Include link to Health Benefits Package design paper on TLO website

Thank you @marghe-molaro


Cases to consider

[x] Using tab in file name  (and probably other escape sequences)

Traceback (most recent call last):
 Code block [1], line 1, in <module>
   open("c:\test.txt")
OSError: [Errno 22] Invalid argument: 'c:\test.txt'

Compare with regular FileNot FoundError
Traceback (most recent call last):
  Code block [3], line 1, in <module>
    open("c:\\test.txt")
FileNotFoundError: [Errno 2] No such file or directory: 'c:\\test.txt'

[ ] For above, try to figure out if it is the file that does not exist or the directory.

Twitter exchange mentioned in previous commit: https://twitter.com/andre_roberge/status/1424779720726663175


[Feature]: Make @suspensive/react-query-next-experimental as TanStack Query Community Resources

Package Scope
@suspensive/react-query-next-experimental
Description
@2-NOW check this issue please
Possible Solution
No response
etc.
No response

As we discussed, react-query-next-experimental is a library that has important advantages for DX, so I think it deserves to be added to the community resources :D


AssertionError at /admin/some/page/id/ Request has no profiler attached.

Dear Yunojuno,
thank you for the great tool!
But I faced troubles. I receive an "AssertionError at /admin/some/page/id/ Request has no profiler attached."
Would you please help me?

Sorry it was my bad. I misconfigured the profiler. I attached the middleware twice and the request was not enriched with the profiler property in one of the instances...


fix: no need to inject password by cloud-init for qcloud

这个 PR 实现什么功能/修复什么问题:
腾讯云不需要通过cloud-init注入密码信息
是否需要 backport 到之前的 release 分支:

release/2.11
release/2.10.0
release/2.9.0
release/2.8.0

/area region
/cc @swordqiu @yousong

Codecov Report

Merging #2234 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #2234      +/-   ##
=========================================
- Coverage     7.1%   7.06%   -0.04%
=========================================
  Files         452     451       -1
  Lines       71253   71139     -114
=========================================
- Hits         5060    5029      -31
+ Misses      65777   65698      -79
+ Partials      416     412       -4

Flag
Coverage Δ

#aFlag
7.06% <ø> (-0.04%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/compute/guestdrivers/qcloud.go
3.81% <ø> (+0.05%)
:arrow_up:

pkg/util/httputils/httputils.go
47.45% <0%> (-0.59%)
:arrow_down:

pkg/multicloud/ucloud/ufile.go
0% <0%> (ø)
:arrow_up:

pkg/multicloud/aws/storagecache.go
0% <0%> (ø)
:arrow_up:

pkg/multicloud/ucloud/storagecache.go
0% <0%> (ø)
:arrow_up:

pkg/multicloud/aws/bucket.go
0% <0%> (ø)
:arrow_up:

pkg/util/fileutils2/seeker.go

pkg/compute/models/snapshots.go
1.8% <0%> (ø)
:arrow_up:

pkg/compute/models/buckets.go
1.8% <0%> (+0.03%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5c80d54...8a95639. Read the comment docs.

/lgtm

/approve


Implement the API for GET /opaque/{chain}/query

Implement the API for GET /opaque/{chain}/query.

This method has been removed so it must be removed on this version as well.


Update drake-ros CI workflow

Closes #26. Should be rebase-merged, not squashed-merged.

This change is

+@EricCousineau-TRI for review

(I'll leave it up to you or Ian to merge)


check

Hi, I was trying to set up your nice SimpleChat, when I encountered an issue on my server:
"Exception while invoking method 'SimpleChat.join' Error: Did not check() all arguments during call to 'SimpleChat.join'"
I went into your package, and I guess it is simply because in this file "cesarve_simple-chat.js"
inside the function "SimpleChatNewMessage" you forget to check username ad custom.
Would be nice to check them so that your package works :)

I'm working on that, but I wonder why this error, I now is a mistake not check the arguments.
But that no reason for throw a error.
Maybe you have some package o configuration which check this, I would like to know.
Sorry for my english,
I promise a commit i couple of hours

New commit ready.
And important security bug was fixed.
There was direct access to DB on client side

tks for being so fast ! I checked my error again: it comes from the a specific package. Browsing online, I found out that it was usually triggered by the package "audit-argument-checks".
I removed this package and now it works perfectly. So I guess your package is not yet compatible with this "audit-argument-checks" package (if you don't know about it, it basically helps you to check everything in order to avoid problems https://docs.meteor.com/packages/audit-argument-checks.html ). Let me know if you plan to make it compatible with "audit-argument-checks".
Cheers

Yes absolutely.
I think this new release should be compatible .
Did you update the package?
El 3 nov. 2016 3:02 AM, "Guillim"<EMAIL_ADDRESS>escribió:

tks for being so fast ! I checked my error again: it comes from the a
specific package. Browsing online, I found out that it was usually
triggered by the package "audit-argument-checks".
I removed this package and now it works perfectly. So I guess your package
is not yet compatible with this "audit-argument-checks" package (if you
don't know about it, it basically helps you to check everything in order to
avoid problems https://docs.meteor.com/packages/audit-argument-checks.html
). Let me know if you plan to make it compatible with
"audit-argument-checks".
Cheers
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cesarve77/simple-chat/issues/5#issuecomment-257929526,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADyXp_a8GXHaxIjzbSidI_d_5V2aJydJks5q6MIugaJpZM4KmNis
.

Yes the two packages  "audit-argument-checks" and "cesarve:simple-chat" are up to date. But I still see the same error due to the  "audit-argument-checks" package. You already worked on it ?

Yes but let me install audit-argument-checks and try again
El 4 nov. 2016 4:20 AM, "Guillim"<EMAIL_ADDRESS>escribió:

Yes the two packages "audit-argument-checks" and "cesarve:simple-chat" are
up to date. But I still see the same error due to the
"audit-argument-checks" package. You already worked on it ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cesarve77/simple-chat/issues/5#issuecomment-258230076,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADyXp6k-jMOuY0oc45WosAh7xc05CpE0ks5q6iXtgaJpZM4KmNis
.

Ready, in fact I forgotten to check one parameter, (custom parameter)
I just update the component to meteor 1.4.2, then be sure your app is update before update simplechat
cheers

Works good now !
Funny, i still see the same errors on the server-side:
"Error: Did not check() all arguments during call to 'SimpleChat.join"
and
"Error: Did not check() all arguments during call to 'SimpleChat.newMessage".
But it works fine. so congrats, the package works. If you have time in the future, it may be on your issue to be solved, but at least it won't make the package to break :)

Perfect thanks
El 7 nov. 2016 9:39 PM, "Guillim"<EMAIL_ADDRESS>escribió:

Works good now !
Funny, i still see the same errors on the server-side:
"Error: Did not check() all arguments during call to 'SimpleChat.join"
and
"Error: Did not check() all arguments during call to
'SimpleChat.newMessage".
But it works fine. so congrats, the package works. If you have time in the
future, it may be on your issue to be solved, but at least it won't make
the package to break :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cesarve77/simple-chat/issues/5#issuecomment-258814087,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADyXp7wvOF0gF9cfGMTAMsZVJG19zlXHks5q7w3-gaJpZM4KmNis
.

Ready I find a bug,
Try again

Works perfectly now !!! Congrats


HTTP Error when downloading a pretrained model for TGS Salt

Short summary about the issue/question:
I was attempting to reproduce the Kaggle TGS Salt challenge solution at https://github.com/microsoft/nni/tree/master/examples/trials/kaggle-tgs-salt, and the training process was going well until today when I was fine-tuning stage 2 models with depths channel for UNetResNetV6.
Here's the error traceback:
Namespace(adamw=False, batch_size=32, depths=True, dev_mode=False, epochs=300, exp_name=None, factor=0.5, ifolds='3', init_ckp=None, layers=34, lr=0.001, lrs='cosine', meta_version=2, min_lr=0.0001, model_name='UNetResNetV6', nf=32, optim='SGD', pad_mode='edge', patience=6, pseudo=False, start_epoch=0, store_loss_model=False, t_max=15, train_cls=False, val=False) [3] start training... Downloading: "https://download.pytorch.org/models/resnet34-333f7ec4.pth" to /home/work/.cache/torch/checkpoints/resnet34-333f7ec4.pth Traceback (most recent call last):   File "train.py", line 258, in <module>     train(args)   File "train.py", line 64, in train     model = eval(model_name)(args.layers, num_filters=args.nf)   File "/home/work/salt/models.py", line 342, in __init__     self.resnet, bottom_channel_nr = create_resnet(encoder_depth)   File "/home/work/salt/models.py", line 133, in create_resnet     return resnet34(pretrained=True), 512   File "/usr/local/lib/python3.6/site-packages/torchvision/models/resnet.py", line 243, in resnet34     **kwargs)   File "/usr/local/lib/python3.6/site-packages/torchvision/models/resnet.py", line 217, in _resnet     progress=progress)   File "/usr/local/lib/python3.6/site-packages/torch/hub.py", line 462, in load_state_dict_from_url     _download_url_to_file(url, cached_file, hash_prefix, progress=progress)   File "/usr/local/lib/python3.6/site-packages/torch/hub.py", line 372, in _download_url_to_file     u = urlopen(url)   File "/usr/local/lib/python3.6/urllib/request.py", line 223, in urlopen     return opener.open(url, data, timeout)   File "/usr/local/lib/python3.6/urllib/request.py", line 532, in open     response = meth(req, response)   File "/usr/local/lib/python3.6/urllib/request.py", line 642, in http_response     'http', request, response, code, msg, hdrs)   File "/usr/local/lib/python3.6/urllib/request.py", line 570, in error     return self._call_chain(*args)   File "/usr/local/lib/python3.6/urllib/request.py", line 504, in _call_chain     result = func(*args)   File "/usr/local/lib/python3.6/urllib/request.py", line 650, in http_error_default     raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 403: Forbidden
I don't think that's an issue on my side, as I managed to fine-tune previous folds for UNetResNetV6 without any problems.

How to reproduce it:
Simply follow the instructions at https://github.com/microsoft/nni/tree/master/examples/trials/kaggle-tgs-salt. The error had occurred once I reached stage 3, but it might appear earlier.

nni Environment:

nni version: 1.0
nni mode(local|pai|remote): local
OS: Ubuntu
python version: 3.6
is conda or virtualenv used?: no
is running in docker?: no

need to update document(yes/no): yes
Anything else we need to know: probably the TGS Salt challenge repo might need to be updated.

Hi @dumaaan The error occurs while downloading pretrained weight https://download.pytorch.org/models/resnet34-333f7ec4.pth from pytorch website, could be a temporary issue with network or the download service,  you can retry it.


GUI Doesn't update when it is on a different workspace

On linux mint, if the song changes while the player is not in the current workspace, the title label won't update. Furthermore, even if the song didn't change, on the next change the label won't update.

Did the cover image update ?

This is probably due do some extent of the rendering being disabled while away, as the label is only ever updated upon a track change. If this is the problem, it can be solved in two ways:

update the label every time the playback position changes.

pros: already built-in, very simple change
cons: calling a method that needs to be called only once per song at least thousands of times

have the window have a listener to know when it regains focus, and update the label at this point too

pros: only done when necessary
cons: requires more modifications to implement

I personally would go with the second method, which would be (to me) a proper fix and not a hack like the first one, and sacrifices less performance.


fix(babel): fix an issue where babel could not compile Scheduler.async

This moves the async property to be the last one defined, because babel will then not choke on the , after the property.
fixes #1806
related to https://phabricator.babeljs.io/T7479

Change looks good to me. (Would like to see LGTM worksmmm ;) )

Coverage remained the same at 96.472% when pulling 07c920d6907c64b0c80430e291260b9c248a96fd on blesh:fix-babel-issue into b31aee568a4e2d254b4ec65585ca669213a9112e on ReactiveX:master.

LGTM

hmm, seems I can't make LGTM passes. :/

LGTM

@blesh I think https://github.com/ReactiveX/rxjs/pull/1808 is reason for LGTM not working.

LGTM LGTM LGTM
lol!

Woot! it worked!

:yay:

Coverage remained the same at 96.472% when pulling 6862e7e10a8daa0ea75ce3fa94871e2b49350087 on blesh:fix-babel-issue into 2ac6ed0be028d9308bcdcd0cc326796881e6c74c on ReactiveX:master.

@blesh I took this PR and just merged it :)

I suppose to have this problem. RxJS installed from npm and it doesn't compile with babel. How may I apply the fix? Thx.

@dacz unless you're directly using master via npm link or some other way, to get latest changes you may need wait next package published. I believe it'll be done quite soon, but hard to provide exactly when.

ok, thanks, I'll wait.


Updated German Translation of Slider

"Schieberegler" is very misleading

@sneridagh can you please make a release? Do we need to create a changelog manually or is it sufficient to add a label and have a proper title?


Parameterize graphql service destination

@shafeeshafee
Parameterize graphql service destination so the graphql server and visualizer can be deployed separately.
https://github.com/guacsec/guac-visualizer/blob/main/next.config.js#L16
The value can be taken from environment variables or via cli flags and config file.
e.g. https://github.com/guacsec/guac/blob/main/guac.yaml

@shafeeshafee @mlieberman85 @trmiller
Apparently #23 didn't solve this.
After a long t-shooting attempt I reached the conclusion that next.config.js is only configurable at build time. Then I found this - https://github.com/vercel/next.js/discussions/33932
It looks like we need to look into using middleware to solve this.

Would you please assign me to this task - I want to work on it.

Sure!


using dotenv for data scripts

I added functionality to load the .env file while running the data setup. I also had to move the global vars into a method because they are set when the app is loaded before load_dotenv is called.
This also has a fix for the Django testing. The issue was not explicitly setting the name of the testing db so ENV vars could be setup correctly and there were a few kwargs that were hardcoded to the prod database which doesn't exist while testing
closes #83

Looks good & passes all tests! Merging.
Creating test database for alias 'default'...
2020-10-30 12:16:50,959 Loading BLS wage and employment data to Postgres if a table_name is specified
2020-10-30 12:16:50,959 Connecting to Postgres DB via SQLAlchemy
2020-10-30 12:16:50,970 Finding OES data download path from https://www.bls.gov/oes/tables.htm
2020-10-30 12:16:51,100 Download path: https://www.bls.gov//oes/special.requests/oesm19all.zip
2020-10-30 12:16:51,101 Downloading OES data from https://www.bls.gov//oes/special.requests/oesm19all.zip if it has not been downloaded already
2020-10-30 12:16:51,168 OES data year 2019 was found in /Users/lilian/Documents/jobhopper/data/bls/downloads/oesm19all/all_data_M_2019.csv. Loading it in.
2020-10-30 12:16:51,494 Successfully read OES data. Writing to the jobs_blsoes table
2020-10-30 12:17:26,919 Successfully loaded BLS data to Postgres!
Done with forward load
System check identified no issues (0 silenced).
.2020-10-30 12:17:27,181 Not Found: /jobs/api/leads
...
----------------------------------------------------------------------
Ran 4 tests in 0.091s

OK


NestedScrollView body hidden behind app bar

Steps to reproduce

Scroll on the CustomScrollView (body of NestedScrollView) in the direction of the app bar

Expected results
Given that physics is BouncingScrollPhysics we expect the body of the NestedScrollView to bounce back to be below the app bar. or; Given that physhics is ClampingScrollPhysics we expect the body of the NestedScrollView to not be allowed to go behind the app bar
Actual results
The body of the NestedScrollView is hidden behind the appbar and does not bounce back.
Code sample
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Sliver MRE',
      home: Scaffold(
        body: NestedScrollView(
          headerSliverBuilder: (context, _) => [
            SliverAppBar(
              backgroundColor: Colors.white.withOpacity(0.8),
              pinned: true,
              title: const Text('appbar'),
            )
          ],
          body: Container(
            color: Colors.blue,
            child: CustomScrollView(
              slivers: [
                SliverToBoxAdapter(
                  child: Container(
                    color: Colors.red,
                    height: 50,
                  ),
                ),
              ],
            ),
          ),
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
https://github.com/flutter/flutter/assets/111065088/94cdc7d8-4588-499e-8033-61656993f58d

Logs
Logs
log.txt

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.19.2, on macOS 14.3.1 23D60 darwin-arm64, locale en-GB)
    • Flutter version 3.19.2 on channel stable at /Users/revision/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (7 days ago), 2024-02-27 16:51:22 -0500
    • Engine revision 04817c99c9
    • Dart version 3.3.0
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/revision/Library/Android/sdk
    • Platform android-34, build-tools 33.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] Connected device (5 available)
    • PS20J (mobile)              •<PHONE_NUMBER>0940                       • android-arm64  • Android 8.1.0 (API 27)
    • sdk gphone64 arm64 (mobile) • emulator-5554                        • android-arm64  • Android 13 (API 33) (emulator)
    • iPhone 14 Pro Max (mobile)  • DADFA2E6-08B4-480F-B6F2-13A901182C41 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)
    • macOS (desktop)             • macos                                • darwin-arm64   • macOS 14.3.1 23D60 darwin-arm64
    • Chrome (web)                • chrome                               • web-javascript • Google Chrome 122.0.6261.112

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Thanks for the report @Extenda-TimRoberson
Can you take a look at the official example and see if using it you get same behavior or not ?
The example uses tabbarview which seems to be a usual usage as mentioned:
The most common use case for this widget is a scrollable view with a flexible [SliverAppBar](https://api.flutter.dev/flutter/material/SliverAppBar-class.html) containing a [TabBar](https://api.flutter.dev/flutter/material/TabBar-class.html) in the header (built by [headerSliverBuilder](https://api.flutter.dev/flutter/widgets/NestedScrollView/headerSliverBuilder.html), and with a [TabBarView](https://api.flutter.dev/flutter/material/TabBarView-class.html) in the [body](https://api.flutter.dev/flutter/widgets/NestedScrollView/body.html), such that the scrollable view's contents vary based on which tab is visible.

Seems that I was missing the SliverOverlapInjector, after adding that it is working as expected.


Update virtual-machines-windows-sql-high-availability-dr.md

Added another option for AlwaysOn FCI configuration in Azure VMs.  Windows Server 2016 Storage Spaces Direct on top of Azure Premium Storage (we tested with P20 disks) makes this possible.

Hi @oedenfield, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (orrin.edenfield). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@oedenfield - Hi, thanks for your contribution. We are in the process of refactoring the Azure technical articles, so we can’t merge this PR. When the refactoring is complete, we can give you a link to the new location of the article you updated so you can resubmit your update, if you want to.

@Ja-Dunn Cool, thanks!

@oedenfield - Thanks for your contribution to the Azure docs. On November 16th, we announced the availability of our Azure technical documentation in a new location on docs.microsoft.com. You can read about it on our team blog. This change means the article source lives in a new GitHub repository. Because there are some changes in the source markdown as a result of the move, we can’t pull your contribution over to the new repo without creating a ton of merge conflicts. We invite you to resubmit the change (if you are willing) to the new version of the article at https://docs.microsoft.com/en-us/azure/virtual-machines/virtual-machines-windows-sql-high-availability-dr. Thanks for your understanding.

PR created under the new article.  Thank you!


fix: Download full dataset

Closes #1046.
Previously, we passed currently used componentIris to data download, to only fetch the columns that we see in the chart. This PR reverts this change to always fetch every dimension available in the dataset.

cc @ptbrowne


trinary: fix ordering of actual/expected

Fixes #263

Thank you so much @ireddick, very great work


Message network error

Hello,
I can not access The network error message always appears. Access to my zabbix's api as https: //addressip/api_jsonrpc.php. Can you tell me what changes I should make? I am using version 3.4.4 of zabbix. In the file zabirepo/dist/js/zabirepo-param.js:
var baseURL = '//' + location.host + '';
What would be the correct form ?
Thank you.

I have this in my config:
var baseURL = '//' + location.host + '/zabbix'; var graphURL = baseURL + '/chart.php'; var apiURL = baseURL + '/api_jsonrpc.php';
But on my install is /zabbix the main url of the Zabbix server, and "zabirepo" one directory under this url.
If your Zabbix server is installed in the root of the website IMO you can set the base url to
'//' + location.host;
If you have a error message send it can help to solve it.

STOP
2018-07-11 9:01 GMT+02:00 RPWimmer<EMAIL_ADDRESS>
I have this in my config:
var baseURL = '//' + location.host + '/zabbix'; var graphURL = baseURL +
'/chart.php'; var apiURL = baseURL + '/api_jsonrpc.php';
But on my install is /zabbix the main url of the Zabbix server, and
"zabirepo" one directory under this url.
If your Zabbix server is installed in the root of the website IMO you can
set the base url to
'//' + location.host;
If you have a error message send it can help to solve it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/usiusi360/zabirepo/issues/13#issuecomment-404066106,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUNjUwns9_E2hpogTRTuybf13V3w-WyAks5uFaK8gaJpZM4VEEek
.

I meeting error message:
Response Data Error / Response Code: 200 / Response Text: {"jsonrpc":"2.0","error":{"code":-32602,"message":"Invalid params.","data":"Invalid parameter "/": unexpected parameter "extendoutput"."},"id":1}.method:apiinfo.version
help me,pls

I did the following and it worked, but I'm not sure about security implications.
In the following file I uncommented the below
/usr/share/zabbix/include/classes/validators/CApiInputValidator.php
// unexpected parameter validation                 //foreach ($data as $field_name => $value) {                 //      if (!array_key_exists($field_name, $rule['fields'])) {                 //              $error = _s('Invalid parameter "%1$s": %2$s.', $path, _s('unexpected parameter "%1$s"', $field_name));                 //              return false;                 //      }                 //}

Response Data Error / Response Code: 200 / Response Text: {"jsonrpc":"2.0","error":{"code":-32602,"message":"Invalid params.","data":"Invalid parameter "/": unexpected parameter "extendoutput"."},"id":1}
Got this error when trying to login into zabbix repo

I have same error with zabbix 4.0 would have some solution to this error
Response Data Error / Response Code: 200 / Response Text: {"jsonrpc":"2.0","error":{"code":-32602,"message":"Invalid params.","data":"Invalid parameter "/": unexpected parameter "extendoutput"."},"id":1}
Thanks


Is this project died?

I don't see any recent response here.

This project is maintained (e.g. potential bug will be fixed), but there's no active development for additional features ATM.

Hi Kouts, thanks for the answer, should I submit a pull request for this : Vulnerability | CVE-2023-44270 | CWE-20 | SNYK-JS-POSTCSS-5926692
Fixed in: @8.4.31 | Exploit maturity: MEDIUM ?


City dialog issues

Describe the bug
The city dialog gets very very slow if the worked city tile is removed
To Reproduce
Steps to reproduce the behavior:

Start a new game
Build first city
Go to city dialog and remove the worked city tile
The game gets very very slow.
After a while it is possible to exit city dialog but the game keeps running slow

Compiled from the latest commit as a release build:
2ae8d81 - Finish CityWorker code block translation, adjust namespaces, add city Improvement and wonder names where possible
My educated guess is that it is related to this. This is my first attempt with OpenCiv so I don't have experience from older builds except Alpha7.

Yes, you are completely right.
Thank you for catching this.
The code is currently unstable, so I'm unable to commit all changes, but you can manually change the following code (in CityWorker.cs) to fix the issue:
private void F0_1d12_6dfe(short cityID, int size)
{
	this.oCPU.Log.EnterBlock($"F0_1d12_6dfe({cityID}, {size})");

	// function body
	while (this.Var_6542 > 0 && this.oParent.Var_70e4 < this.Var_6542)
	{
		this.Var_6542--;
		this.oParent.Var_70e4++;
	}

	// Instruction address 0x1d12:0x6e16, size: 5
	this.oParent.Var_70e2 = this.oParent.Segment_2dc4.F0_2dc4_007c_CheckValueRange(this.oParent.Var_70e2, 0, this.oParent.CivState.Cities[cityID].ActualSize);
	// Instruction address 0x1d12:0x6e98, size: 5
	this.oParent.Var_70e4 = this.oParent.Segment_2dc4.F0_2dc4_007c_CheckValueRange(this.oParent.Var_70e4, 0, this.oParent.CivState.Cities[cityID].ActualSize);

	// Instruction address 0x1d12:0x6ebb, size: 5
	while ((this.oParent.Var_70e2 + this.oParent.Var_70e4) > this.oParent.Segment_2dc4.F0_2dc4_007c_CheckValueRange(this.oParent.CivState.Cities[cityID].ActualSize - size, 0, 99))
	{
		if (this.Var_6542 > 0)
		{
			this.Var_6542--;
		}
		else
		{
			this.oParent.Var_70e2--;

			// Instruction address 0x1d12:0x6e74, size: 5
			this.oParent.Var_70e2 = this.oParent.Segment_2dc4.F0_2dc4_007c_CheckValueRange(this.oParent.Var_70e2, 0, this.oParent.CivState.Cities[cityID].ActualSize);
		}

		this.oParent.Var_70e4--;

		// Instruction address 0x1d12:0x6e98, size: 5
		this.oParent.Var_70e4 = this.oParent.Segment_2dc4.F0_2dc4_007c_CheckValueRange(this.oParent.Var_70e4, 0, this.oParent.CivState.Cities[cityID].ActualSize);
	}

	// Far return
	this.oCPU.Log.ExitBlock("F0_1d12_6dfe");
}

Thanks, this fixed it. Unfortunately, it freezed later with similar symptoms during enemy turn.

Thanks, this fixed it. Unfortunately, it froze later with similar symptoms during the enemy turn.

Sorry to hear that. I guess that there is some other loop which makes problems and locks. I'm slowly introducing int (32 bit) variables as I go. Before they were all short (16bit), even if there was an error there would be faster overflow from 65535 to 0 than from 4M to 0...
Can you provide a save game which produces said problem. Even if it's already freezing it doesn't matter. Just try to save game data.

Turns out that if a barbarian captures a city game can crash. Could not retrieve log.txt this time, though.

I disabled the log.txt automatic generation because of a performance issues (it was often a very large file). You can enable log generation by changing  enableLog = true in (CivGame.cs). I will introduce Exception.log file in the next commit which will record possible exception every time.

Unfortunately I have no save game. It didn't save the game and didn't progress far enough to trigger autosave.
I enabled logging in my build and will see if I can get something... should occur again soonish.

Here is another crash that I got today. I didn't save game, so this is all I have.
			F0_1d12_6dfe(12, 0)
			{
			}
			F0_1d12_6c97_PlayerHasWonder(0, 2)
			{
			}
			F0_1d12_6c97_PlayerHasWonder(0, 21)
			{
			}
			F0_1d12_6cf3_GetWonderCityID(11)
			{
			}
			F0_1d12_6c97_PlayerHasWonder(0, 13)
			{
			}
			F0_1d12_6dfe(12, 0)
			{
			}

			Exception message: Index was outside the bounds of the array.
			Exception source: OpenCiv1
			Exception stack trace:    at OpenCiv1.CityWorker.F0_1d12_0045_ProcessCityState(Int16 cityID, Int16 flag)

at OpenCiv1.Segment_1ade.F0_1ade_0006(Int16 playerID)
at OpenCiv1.Segment_1238.F0_1238_0092()
at OpenCiv1.Segment_11a8.F0_11a8_0008_Main()
at OpenCiv1.CivGame.Start()
at OpenCiv1.UI.MainWindow.GameThread()

Here is another crash that I got today. I didn't save game, so this is all I have.

You may want to compile as Debug and not Release when debugging code, because all I see is what happened, and the function in which the error happened, but I can't see at what exact location (line) in the code the exception happened.

I'm going to close this because the original issue was confirmed as fixed.


KMeansClustering fail with Assertion Error

I try to use KMeansClustering on letter recognition dataset (http://archive.ics.uci.edu/ml/datasets/Letter+Recognition). I use first 16000 rows. I use this code:
import tensorflow as tf
kmeans = tf.contrib.learn.KMeansClustering(10)
training_set = pd.read_csv("letter_train.csv", header=None, dtype=np.float64)
FEATURES = ["V" + str(i) for i in range(16)]
training_set.columns = ["V" + str(i) for i in range(17)]
LABEL = "V" + str(16)
def input_fn(data_set):
feature_cols = {k: tf.constant(data_set[k].values)
for k in FEATURES}
labels = tf.constant(data_set[LABEL].values)
return feature_cols, labels
kmeans = tf.contrib.learn.KMeansClustering(10).fit(input_fn=lambda: input_fn(training_set), steps=100)
But I have following error:
AssertionError: Tensor("Const_16:0", shape=(16000,), dtype=float64)
For target Variable, I have <tf.Tensor 'Const_7883:0' shape=(16000,) dtype=float64>)
input_fn is built like here: https://www.tensorflow.org/get_started/input_fn
How to make KMeans work?

Please provide details about what platform you are using  (operating system, architecture). Also include your TensorFlow version. Also, did you compile from source or install a binary?  Make sure you also include the exact command if possible to produce  the output included in your test case. If you are unclear what to include  see the issue template displayed in  the Github new issue template.
We ask for this in the issue submission template, because    it is really difficult to help without that information. Thanks!

System information
OS: RedHat_7.2_x86_64
CPU Model: Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz
TensorFlow installed with pip install tensorflow-gpu
nvidia-smi.txt - output of nvidia-smi -q
Python 3.5.2 :: Intel Corporation is used
CUDA version: 8.0
TensorFlow Version: v1.0.0-65-g4763edf-dirty 1.0.1
kmeans_rep.txt - script to use
Use first 16000 rows from dataset (http://archive.ics.uci.edu/ml/datasets/Letter+Recognition). Name file as letter_train.csv and put it in same folder as script.

I tried to repro, but the call to read_csv with dtype float64 failed because of the first column which is characters. If you give more context (or link to the full log) for your error it may be easier to debug.

ValueError                                Traceback (most recent call last)
 in ()
4 kmeans = tf.contrib.learn.KMeansClustering(10)
5
----> 6 training_set = pd.read_csv("/tmp/letter_train.csv", header=None, dtype=np.float64)
7
8 FEATURES = ["V" + str(i) for i in range(16)]
pandas/io/parsers.py in parser_f(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, squeeze, prefix, mangle_dupe_cols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, dayfirst, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, escapechar, comment, encoding, dialect, tupleize_cols, error_bad_lines, warn_bad_lines, skipfooter, skip_footer, doublequote, delim_whitespace, as_recarray, compact_ints, use_unsigned, low_memory, buffer_lines, memory_map, float_precision)
644                     skip_blank_lines=skip_blank_lines)
645
--> 646         return _read(filepath_or_buffer, kwds)
647
648     parser_f.name = name
pandas/io/parsers.py in _read(filepath_or_buffer, kwds)
399         return parser
400
--> 401     data = parser.read()
402     parser.close()
403     return data
pandas/io/parsers.py in read(self, nrows)
937                 raise ValueError('skipfooter not supported for iteration')
938
--> 939         ret = self._engine.read(nrows)
940
941         if self.options.get('as_recarray'):
pandas/io/parsers.py in read(self, nrows)
1506     def read(self, nrows=None):
1507         try:
-> 1508             data = self._reader.read(nrows)
1509         except StopIteration:
1510             if self._first_chunk:
pandas/parser.so in pandas.parser.TextReader.read (pandas/parser.c:9977)()
pandas/parser.so in pandas.parser.TextReader._read_low_memory (third_party/py/pandas/parser.c:10235)()
pandas/parser.so in pandas.parser.TextReader._read_rows (pandas/parser.c:11254)()
pandas/parser.so in pandas.parser.TextReader._convert_column_data (third_party/py/pandas/parser.c:12629)()
pandas/parser.so in pandas.parser.TextReader._convert_tokens (pandas/parser.c:13876)()
ValueError: could not convert string to float: C

Hi!
Sorry - I forgot that I've pre-processed this dataset. I used all columns except first one for clustering.
With first column removed form this dataset, I recieve the error.

A link to the full log would still be helpful.

This issue is automatically closed due to lack of activity. Please re-open if this is still an issue for you. Thanks!


Add integration tests

In this MR, we do the following :

Remove useless .gitlab-ci.yml file
Change wording from file hashes to fingerprints
Introduce python tests to test src-fingerprint end to end in the CI, here are some details hereunder.

We created a user gg-src-fingerprint that has a bunch of repos : public, private, public archived, private archived and forked ones.
We created an org gg-src-fingerprint-org on which the user gg-src-fingerprint created a bunch of repos in the same fashion with different types. Another user also created a private repo on the org, to test the case where src-fingerprint gathers all fingerprints of an org.
The CI test runs on each push, and uses gg-src-fingerprint PAT to run src-fingerprint.
We run the test on three different runners to cover different platforms: Linux, MacOS and Windows.

Note that this PR does not have an access to the concerned secret for now, hence the failed CI step, but if you want to see a succesful run here is one.
Remark : This tests are intended to run in the CI only to make sure that modifications brought to src-fingerprint do not break its core features.

I am worried a bash-based script is going to cause trouble when you try to run the tests on Windows. Maybe you can use pytest? It would give you better cross-platform support and nicer reports. Or maybe there is some Go-friendly tools to write integration tests?

I am worried a bash-based script is going to cause trouble when you try to run the tests on Windows. Maybe you can use pytest? It would give you better cross-platform support and nicer reports. Or maybe there is some Go-friendly tools to write integration tests?

I understand, but the tests written in this issue are meant to run only in the CI to check that developments don't break the core feature of the package.

I am worried a bash-based script is going to cause trouble when you try to run the tests on Windows. Maybe you can use pytest? It would give you better cross-platform support and nicer reports. Or maybe there is some Go-friendly tools to write integration tests?

I understand, but the tests written in this issue are meant to run only in the CI to check that developments don't break the core feature of the package.

Sure, but you would want to know early if said developments break something on Windows, no? Especially if no developer actively uses the tool on Windows.

I think I don't understand. The tests ran are purely functional, maybe they should be named "validation tests" or "functional tests". Their only goal is to validate that src-fingerprint behaves as expected from end to end especially in its interaction with GitHub. I don't see how it is platform dependant. Or maybe you are suggesting to have additional tests for each platform supported ?

My point is: if the action performed in the tests can be performed on Windows, then it should be tested on Windows. Even if we can't think of a reason for them to fail on Windows. They should also be tested on macOS for the same reason.
Luckily it's not much work to do for a static binary like src-fingerprint (GitHub already provides the required runners).

Tests portability to other platforms seemed like a slightly different topic to me

It's not the tests which must be portable: it's the app. Running the app tests on all platforms is the best way to ensure the app is and remains portable.

To illustrate what I have in mind when I talk about using pytest, I rewrote your first two tests. It would look like this: https://gist.github.com/agateau-gg/84739a6ea6c97e818cecd04eda0a22d0
With this file in your tests directory, you just pip install pytest and run pytest tests. I think it would be more convenient to write tests this way. (It should also be more convenient for others to read them! :wink: )
Second test fails for me because my token does not have access to the private repositories required here. This could be problematic because it means no one but people with tokens similar to the one on the CI can run the tests. I don't have a solution for this though, since the nature of the product is tied to the way GitHub private repositories work :thinking:

I updated the MR accordingly.


Find MAC address of my Dinamica PLUS

HI guys.
I'm trying to connect to my Dinamica Plus coffee machine using this integration.
First step is.... "Find the device MAC address using BLE scanner or smartphone"... here I'm...
Im trying to scan ble devices using "bluetoothctl" from linux. It list a lot of devices, some of them with manufacturer description as "Flower Care", "MI_SCALE, etc and several ones without description. just MAC address...
My question is how are you finding the proper one?
I tried to communicate via app in order to see some extra traffic... but frankly speaking I could not detect something interesting...
I will agree some tips.
Thanks in advanced!

Well, I used this two guys in windows:
https://www.microsoft.com/en-us/p/ble-scanner/9nblggh0j7m0
https://apps.microsoft.com/store/detail/bluetooth-le-explorer/9N0ZTKF1QD98
Or BLE scanner for android:
https://play.google.com/store/apps/details?id=com.macdom.ble.blescanner&hl=ru&gl=US
To identify the hostname I used native android app.

And then by the host name I got the MAC:

That was a hard exercise, but that worth it.

Hi Sergey!
Unfortunately I don't have neither Windows nor Android. And BLS Scanner in iOS is not showing MAC address.
BUT ! Even from linux I don't know I cannot see Dxxxxxxxxx device description I searched a similar range of Mac address taking yours as reference... and... I could find mine !! 00:A0:50:50:7C:62
I performed a 'power on' command already and it works perfectly!
Time to continue playing now.
Thanks for your support.

nd already and it works perfectly!

Apologies but where did you find the "Power On" command?

Run the command bluetoothctl power on to power on. Can also run bluetoothctl scan on to scan for nearby devices, like your coffee machine.


Speed missing - and name odd default

Hi,
Just trying this out - for some reason you are removing the speed value from the output - can it be restored ? or maybe made optional. (I think you have done it to remove the bearing leader lines when shown on map) - but it is useful information. Maybe call it airspeed ? so that it is there but doesn't create the leader unless we add a change node ?
Also the name often defaults to something odd - I think it would make sense to default the name to the registration - and then finally the modes transponder code . so
msg.payload.name = flight.flight || flight.registration || flight.modeSCode;

Thanks
PS - we prefer icons to be white if possible. Not a problem but easy to change the svg fill :-)

Thank you for your suggestions. I updated the node based on your comments.
https://flows.nodered.org/node/node-red-contrib-flightradar24


  PLEASE DON'T ASK FOR WORKAROUNDS OR TIMELINES - THIS IS FREE SOURCE CODE
NO ISSUES ARE BEING TAKEN FOR DOCS, ONLY PR'S
ISSUES MUST include full reproducible sample and stacktrace or they will be closed without explanation!!!
Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

[ ] iOS
[X] Android
[ ] UWP

PLATFORMS THAT YOU CANNOT FILE ISSUES ON RIGHT NOW: Tizen, watchOS, tvOS, macOS
IF YOU HAVE AN ISSUE WITH DOCUMENTATION, DO NOT FILE AN ISSUE - PR'S ONLY!
Feature Library

[ ] Core (Jobs, Settings, Initialization)
[X] Locations (GPS, Geofencing, Motion Activity)
[ ] HTTP Transfers
[ ] Notifications
[ ] NFC
[ ] Push - Native
[ ] Push - Azure Notification Hub
[ ] Push - Firebase
[ ] Sensors
[ ] BluetoothLE Client
[ ] BluetoothLE Hosting
[ ] Beacons
[ ] SQLite Integration

Version of Library
<IP_ADDRESS> (also tested with <IP_ADDRESS>01-preview)
Version of OS(s) listed above with issue
Android 9.0 (Target API Level 29)
Steps to Reproduce

Create new Project and add services.UseGps(); to ConfigureServices in Startup Class
In ViewModel of the MainPage add [assembly: GenerateStaticClasses("ShinyStatics")] below the usings and add the following Command:

_ = await ShinyStatics.ShinyGps.RequestAccess(new GpsRequest { UseBackground = true });
                _ = ShinyStatics.ShinyGps.WhenReading().Subscribe(onNext => Debug.WriteLine(onNext.Position.Latitude));
                await ShinyStatics.ShinyGps.StartListener(new GpsRequest { UseBackground = true, Interval = new TimeSpan(0, 0, 10), Priority = GpsPriority.Highest, ThrottledInterval = new TimeSpan(0, 0, 5), MinimumDistance = Distance.FromMeters(50) });

Create and link a button in the MainPage with the command created in step 2
Add the following information to  AndroidManifest.xml. Copied from the Sample project, so it has more than actually being used.

<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="29" />
	<application android:label="AppTest1.Android" android:theme="@style/MainTheme"></application>
  <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
  <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
  <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" />
  <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
  <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
  <uses-permission android:name="android.permission.BLUETOOTH_PRIVILEGED" />
  <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
  <uses-permission android:name="android.permission.BLUETOOTH" />
  <uses-permission android:name="android.permission.BATTERY_STATS" />
  <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
  <uses-permission android:name="android.permission.RECORD_AUDIO" />
  <uses-permission android:name="android.permission.BIND_MIDI_DEVICE_SERVICE" />
  <uses-permission android:name="android.permission.READ_CALENDAR" />
  <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
  <uses-permission android:name="android.permission.NFC" />
  <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
  <uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION" />
  <uses-permission android:name="android.permission.ACTIVITY_RECOGNITION" />

Run the Android Emulator
In the location settings, create any route ex: 8190 Murray Ave, Gilroy, CA 95020, USA to 25536-25726 Airline Hwy, Paicines, CA 95043, USA)
In the location settings, press Play Route
In the app, press the button created in step 3

Expected Behavior
A repeated printing of latitudes to the debug screen (Output), even after switching to a different application.
Actual Behavior
The application starts printing the latitudes, but several seconds after pressing the button, the app crashes with the following messages and stacktrace in the debug screen.
[0:] 36.92018
[libc] Requested dump for tid 19573 (nyname.apptest1)
[AndroidRuntime] Shutting down VM
[AndroidRuntime] FATAL EXCEPTION: main
[AndroidRuntime] Process: com.companyname.apptest1, PID: 19573
[AndroidRuntime] android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{d5b69df u0 com.companyname.apptest1/crc6461f3faed59cf0423.ShinyGpsService}
[AndroidRuntime] 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1737)
[AndroidRuntime] 	at android.os.Handler.dispatchMessage(Handler.java:106)
[AndroidRuntime] 	at android.os.Looper.loop(Looper.java:193)
[AndroidRuntime] 	at android.app.ActivityThread.main(ActivityThread.java:6669)
[AndroidRuntime] 	at java.lang.reflect.Method.invoke(Native Method)
[AndroidRuntime] 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
[AndroidRuntime] 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
**Android.Util.AndroidRuntimeException:** 'Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{d5b69df u0 com.companyname.apptest1/crc6461f3faed59cf0423.ShinyGpsService}'

When lowering the target API Version to 25, the problem disappears.
Remarks
The attached project contains an IOS target as well, but it has not been tested.
Sample project
AppTest1.zip

Ensure your notifications isn't erroring.  ShinyNotifications.Send() something - if that errors, then your foreground service will fail as well

Adding the notification service solved the problem. Thanks!
Since this detail is not in the documentation (referring to https://shinylib.net/locations/gps ), would you accept a PR fixing the example?

No worries.  It is actually a defect anyhow as notifications should be auto-registered if you aren't already using them.  PR's for docs are always taken though :)


Errors passing Proc to mysql query

I get this when trying to run this sql script:
flush privileges;

================================================================================
           Error executing action `query` on resource 'mysql_database[run script]'
           ================================================================================

           TypeError
           ---------
           wrong argument type Proc (expected String)

           Cookbook Trace:
           ---------------
           /tmp/kitchen/cache/cookbooks/database/libraries/provider_database_mysql.rb:94:in `query'
           /tmp/kitchen/cache/cookbooks/database/libraries/provider_database_mysql.rb:94:in `block in <class:Mysql>'

           Resource Declaration:
           ---------------------
           # In /tmp/kitchen/cache/cookbooks/np-jenkins/recipes/slave.rb

            32: mysql_database 'run script' do
            33:   connection mysql_connection_info
            34:   sql { ::File.open('/tmp/my_awesome.sql').read }
            35:   action :query
            36: end

           Compiled Resource:
           ------------------
           # Declared in /tmp/kitchen/cache/cookbooks/np-jenkins/recipes/slave.rb:32:in `from_file'

           mysql_database("run script") do
             provider Chef::Provider::Database::Mysql
             action [:query]
             retries 0
             retry_delay 2
             default_guard_interpreter :default
             database_name "run script"
             declared_type :mysql_database
             cookbook_name "np-jenkins"
             recipe_name "slave"
             connection {:host=>"<IP_ADDRESS>", :username=>"root", :password=>"ilikerandompasswords"}
             sql #<Proc:0x000000063191f0@/tmp/kitchen/cache/cookbooks/np-jenkins/recipes/slave.rb:34>
           end

       Running handlers:
       [2015-02-06T22:37:27+00:00] ERROR: Running exception handlers
       Running handlers complete
       [2015-02-06T22:37:27+00:00] ERROR: Exception handlers complete
       [2015-02-06T22:37:27+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
       Chef Client failed. 4 resources updated in 35.477210189 seconds
       [2015-02-06T22:37:27+00:00] ERROR: mysql_database[run script] (np-jenkins::slave line 32) had an error: TypeError: wrong argument type Proc (expected String)
       [2015-02-06T22:37:29+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

Same issue for me.

Getting this as well.

I'm getting this problem too.

I have this problem as well.

I too have this problem...


Groups arcade collision

As described in issue #3277

Thanks for tidying this up. Merging for 3.2.


Support cuda-pytorch with miniconda

I have been using GPU compute and CUDA enabled devcontainers with miniconda and pytorch. I have found these particularly useful for machine learning development.
I have a template working and have tried it with a few CUDA and pytorch combinations.
Hopefully this will be useful to the wider community, so I will follow the steps for contribution:

[ ] Open a PR
[ ] Create a release
[ ] Update templates (if necessary)
[ ] Update https://github.com/devcontainers/images/issues/90
[ ] Update Microsoft Artifact Registry docs

Hi 👋
Thanks for all the insights, we appreciate it!
Clarifying question, are you looking forward to update the existing miniconda image or contribute a new image/Template?
Also, have you looked at NVIDIA CUDA which helps with simpler NVIDIA CUDA installation?

Hey!
The idea was to contribute a new image and template.
I didn't know about the NVidia CUDA feature, this seems to already implement the CUDA support I was looking to achieve, I will have an experiment using this feature.
However, if it could still be of value my Dockerfile is quite simple and basically just uses:
FROM nvidia/cuda:${CUDA_VERSION}-runtime-ubuntu22.04 as cuda-base
FROM continuumio/miniconda3 as miniconda-stage
FROM mcr.microsoft.com/devcontainers/base:ubuntu-22.04
COPY --from=cuda-base /usr/local/cuda /usr/local/cuda
COPY --from=miniconda-stage /opt/conda /opt/conda
RUN conda install pytorch=${PYTORCH_VERSION} pytorch-cuda=${CUDATOOLKIT_VERSION} -c pytorch -c nvidia

The idea was to contribute a new image and template.

We appreciate your Image and Template contribution, however, the devcontainers/images repo only accepts improvements and bug fixes for the current set of maintained images. It's the same with the devcontainers/templates repository.
However, we would appreciate if you could add this image or Template in a separate repository of your control. The devcontainers/template-starter repo has more guidance on self authoring Templates.
Once you've self authored and if you'd like to share it with the community, we'd recommend adding it to the index. It will make them visible in our supporting tools (like https://containers.dev/templates, Dev Containers Extension, GitHub Codespaces etc).
Feel free to ask any questions/queries along the way, feedbacks are welcome too!


Choice type

I have a WSDL file having the following Result type:
<xs:element name="Result">
    <xs:complexType>
        <xs:sequence>
            <xs:choice minOccurs="1" maxOccurs="1">
                <xs:element minOccurs="0" maxOccurs="1" default="false" name="Success">
                    <xs:simpleType>
                        <xs:restriction base="xs:boolean"/>
                    </xs:simpleType>
                </xs:element>
                <xs:element minOccurs="0" maxOccurs="1" name="Errors">
                    <xs:complexType>
                        <xs:sequence>
                            <xs:element minOccurs="1" maxOccurs="unbounded" ref="Error"/>
                        </xs:sequence>
                    </xs:complexType>
                </xs:element>
            </xs:choice>
            <xs:element minOccurs="0" maxOccurs="1" name="Warnings">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="1" maxOccurs="unbounded" ref="Warning"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
</xs:element>

It allows only one of Success and Errors elements.
If Success element is present, SoapServer ignores Errors.
I wasted quite a few hours on it, because I relied on autogenerated classes and hadn't looked at WSDL, so I tried to set it as:
$result = Namespace\StructType\Result(false, $errors, $warnings);

Setting Success to null value has an interesting effect that neither Success nor Errors is returned.
I figured out that I can get it working by unsetting Success property with
unset($response->Result->Success);

It would be great if generated code could throw an exception if multiple values are provided for choice element in constructor.
Setters could throw an exception too or unset other fields (even better).

In my opinion, it would effectively be the best option to throw an exception within the setter of one of the properties among the choices properties informing that only one property can be set otherwise the request will not be set properly.
Can you confirm that setting only one property works and does not need to unset any of the other properties for the request to be properly defined?

No, it is necessary to unset.
Otherwise the field is initialized to null value and SoapServer picks it up.
contructor signature is:
public function __construct($success = 'false', \Namespace\StructType\Errors $errors = null, \Namespace\StructType\Warnings $warnings = null)

When I tried to call $result = new \Namespace\StructType\Result(); I got this exception:
Uncaught exception 'InvalidArgumentException' with message 'Invalid value, please provide a bool, "string" given'`
but that's a different issue.

Could you create an issue for the boolean parameter which is not well interpreted for the default value? Thx.
Ok, so it would be similar to this case, in addition, it would mean to add the test of the other choice's properties in order to throw an exception informing that only one of the choice's properties has to be set otherwise it will fail. Right?


Build tools bug: nuget restore fails with "Illegal characters on path" if you already have NuGet 5 or later on your PATH

Environment
Terminal repo commit: 8baba4b46c39999038582345ff63d0adb341b1a2
NuGet installed from Chocolatey:

C:\ProgramData\chocolatey\bin on PATH
Running nuget in a fresh command prompt yields NuGet Version: <IP_ADDRESS>88

Reproduction steps

Open a cmd.exe command prompt and use cd to go to your Terminal repo working copy.
Run this command: tools\razzle.cmd & nuget restore

Results
Expected results: NuGet should tell you all the packages are installed already
Actual results: NuGet fails with the error message Illegal characters on path
The run of NuGet by razzle.cmd itself is not affected by this issue, but it could be a problem if you need to run NuGet again after a git clean or similar, especially if and when the checked-in NuGet 4 binary in the repo is removed!

This sounds like a NuGet bug?

This sounds like a NuGet bug?

Yeah, but the workaround is so simple that I made a PR in this repo ^ to fix it. I'll also file a bug against NuGet.

... and here's the NuGet bug: https://github.com/NuGet/Home/issues/8168

Thanks for the report and the timely fix!


Escaping double quotes not working if they appear right after \n

Hi ! just opening this issue to hopefully figure out if the following is expected behavior:
When parsing a CSV with the following contents:
"a","b"
"""text\n"", more text","never parsed"

The resulting map is:
[{:a "\"textn\"", :b "more text\""}]

but I would expect it to be something like:
[{:a "\"textn\", more text", :b "never parsed"}]

A simple test is:
(ch/read-csv (clojure.java.io/file "charred-test.csv"))
;; => (["a" "b"] ["\"textn\"" "more text\"" "never parsed"])

where (count (second <that thing>)) is 3, and I'd like it to be 2.
The n is not important; if happens for a, z, etc:
;; CSV content
"a","b"
"""text\z"", more text","never parsed"

;; Resulting map:
[{:a "\"textz\"", :b "more text\""}]

This doesn't happen if there is whitespace between the backslash-char and the double (escaped) double quote:
;; CSV content
"a","b"
"""text\z "", more text","it is parsed!"

;; Resulting map:
[{:a "\"textz \", more text", :b "it is parsed!"}]

LibreOffice is OK with the same CSV:

Thanks !

Not sure about the repro here:
(def ^:private exquote
  "\"a\",\"b\"
\"\"\"text\n\"\", more text\",\"never parsed\"")

charred.csv-test> (println exquote)
"a","b"
"""text
"", more text","never parsed"
nil

charred.csv-test> (api/read-csv exquote)
(["a" "b"] ["\"text\n\", more text" "never parsed"])

I believe that is the same output as libreoffice.

Sorry, I forgot mentioning I was using [com.cnuernber/charred "1.017"]  :man_facepalming:
I can now see the change log for 1.018 and 1.019 talks exactly about this. 1.034 (latest) works fine.

The repro for 1.017 was (with an extra backslash):
(def ^:private exquote
  "\"a\",\"b\"
\"\"\"text\\n\"\", more text\",\"never parsed\"")

(api/read-csv exquote)
=> (["a" "b"] ["\"textn\"" "more text\"" "never parsed"])


ret

Etcher version:
Operating system and architecture:
Do you see any meaningful error information on DevTools?

Thanks. Is there a problem we can help you with?

Keyboard mistyping. Ended up creating a thread. Closing it.


"Workbench. Colorcustomizations" setting does not take effect

In version 1.71, "workbench. Colorcustomizations" does not take effect after the bracket color value is set. The. C file is full of yellow brackets, and version 1.70 does not have this problem

Cann you provide step by step instructions how to reproduce?
Small sample code, the settings you have, screenshot of how it looks, and what you expect it to look like. Thanks!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


docs: add coverage link

Codecov Report

Merging #380 (281ed28) into main (ac38cb8) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main     #380   +/-   ##
=======================================
  Coverage   59.77%   59.77%
=======================================
  Files          56       56
  Lines        3642     3642
=======================================
  Hits         2177     2177
  Misses       1465     1465

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


BAQE-1669: Include BPMN Kogito runtime selenium tests in default build

JIRA: https://issues.redhat.com/browse/BAQE-1669
Makes the tests part of default build & fixes them.
This mirrors the same behavior as DMN editor is doing.

The (build) kie-tools-stunner-editors check has failed. Please check the logs.

Forgot about the code-coverage, fixing...

So it seems DMN tests failing. Investigating.

@yesamer Sure I will try to provide fix and if it is something that should take longer I will report and move it as a separate work.

@yesamer So far I identified the errors/failures to be related to Automatic Layout modal popping up, so I will try to fix that.

@yesamer Fixed most errors, only thing that fails now is this - DMNDesignerKogitoSeleniumIT#testPaymentDateFile_KOGITO404 Looks like it expects semantic: prefix but the file after unmarshall has dmndi: or dmn: prefix

@yesamer Fixed most errors, only thing that fails now is this - DMNDesignerKogitoSeleniumIT#testPaymentDateFile_KOGITO404 Looks like it expects semantic: prefix but the file after unmarshall has dmndi: or dmn: prefix

Great Job @domhanak ! I'll check the last issue

Hi @domhanak I solved the issue you reported, please refer to https://github.com/domhanak/kie-tools/pull/21

@domhanak Can I merge this?

@yesamer Yes please!


Temperature score colors should be based on absolute scale, not relative

When the full range of temperature scores are displayed (0-4 degC) the color scale of the thermometer is correct (green to red through yellow).  However, when we adjust the temperature score range (say 2C-4C), the temperature score should not set a new "green is good" color baseline.  2C is not good, and the scale should not change to match the data range.

Fixed with latest merge.  Note the zmin and zmax:
    # Heatmap
    trace = go.Heatmap(
        x=filt_df.sector,
        y=filt_df.region,
        z=filt_df.temperature_score.map(lambda x: x.m),
        type='heatmap',
        colorscale='Temps',
        zmin = 1.49, zmax = 2.9,
    )


Short delay when closing camera/switching views

There's a small delay when I'm closing the camera which can be seen here: https://imgur.com/a/BDGeFOK
After I dismiss the view you can see a small line at the bottom of the screen which disappears after a short delay and I don't know why this is happening.
This also happens when switching tabs if the camera view is shown as a tab instead of a modal screen.
Has anyone else encountered this problem?

Kind of, someone suggested dispatching the closing of the camera to the global/background thread, that made it faster but not 100% perfect
I'm going to be be implementing a camera myself now though as this seems to be abandoned and I don't need a too complicated camera anyway.
Good luck!

The closing or the opening ? Because for me its the opening who is longer..

Well, as the issue suggests, for me it was the closing of the camera :-)
Putting the closing of the camera in the following code worked for me, but I've now switched to coding the camera myself:
DispatchQueue.global(qos: .default).async {
     //closing of camera here
}

Have you tried that? The opening of the camera worked perfectly for me so I didn't use it for that, but it's worth a shot.

Thanks @Bramnouwen  i will try that.
And your custom camera is not open source ? :)