No unit_of_measurement possible on min-max mean sensor

Home Assistant release with the issue:

97.2
Last working Home Assistant release (if known):
never
Operating environment (Hass.io/Docker/Windows/etc.):

Hassio
Component/platform:

https://www.home-assistant.io/components/min_max/
Description of problem:
there’s no available unit_of_measurement, which causes the sensor to display discrete values (as explained here https://www.home-assistant.io/components/template/#unit_of_measurement) and no plotted values in more-info. Doing so for sensors calculating mean values of light_level, or lux, is a real issue, and would preferably be repaired, by adding the unit_of_measurement to the available configuration variables

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
  - platform: min_max
    entity_ids:
      - sensor.auditorium_motion_sensor_lux
      - sensor.dining_table_motion_sensor_lux
    type: mean
    name: Mean Living lux
    round_digits: 2

the individual lux sensors, are from Hue motion sensors, and do not have a unit_of_measurement set.
Setting these on the individual sensors, does make the min-max sensor show correctly.
Traceback (if applicable):

Additional information:
trying to add anyway results in:

see community: https://community.home-assistant.io/t/templeate-sensor-as-a-graph/133261/2

Your sensors do not provided an unit of measurement. The unit of measurement is coming from the given entities.

I understand that (now) and have adjusted accordingly, for the time being, and set the UoM on all individual entities of the min-max sensor
thing is, it would be very nice to have the unit_of_measurement on the min-max sensor directly, because one doesn't always need (or want) UoM on the individual sensors. Having a card with Lx after each sensor, and sensor state is rather ugly. It is preferable, imho, not to show that on each sensor, like this:

it is easier on the eye to have the cards show like this:

In that case setting the UoM on the min-max sensor is necessary.
thanks for chiming in.

For all those kind of stuff can a template sensor be used. Also, if you want to append an unit of measurement to a value.
The min_max is a wrapper for the templating so that novice users can get a results fast. At the moment the the min_max sensor is checking that unit of measurement are not mixed to avoid completely useless results.

Too bad you close this already, without resolving the issue. A bit too fast imho. I would have hoped the HA team to be open for improvements, and not take a once decided view to hold forever.

For all those kind of stuff can a template sensor be used. Also, if you want to append an unit of measurement to a value.

Of course, as I have done, and reported.
But that is besides the point. We can create many extra template sensors, for missing native aspects in Ha. I hope you would agree yet another extra template sensor, based on the sensor min-max, only to have it use a UoM would be silly, to say the least.
It would be far better, to not have to (create extra template sensors), and adjust the native integration so users wouldn't need to template as much.

The min_max is a wrapper for the templating so that novice users can get a results fast.

Well, that is narrowing down the strength of the min-max sensor... It is a very powerful tool in the box. It just misses the option of the UoM. It most certainly is not only for novice users.

At the moment the the min_max sensor is checking that unit of measurement are not mixed to >avoid completely useless results.

Sure, and that is alright, and working perfectly.
Only situation this doesn't work in, is when the individual sensors don't have a UoM at all. (Which can be, as I have demonstrated, a very valid choice.)
Having the option of setting the UoM on the min-max sensor would then solve the obvious issue of the discrete values in the more-info/history card.
Hope you are willing to reconsider.
thanks.


plugin no effect with my css, sass loaders

Hi,
I use loader
extractCSS.extract([ 'css', 'sass' ])
And in my plugins I add
new purify({
    basePath: __dirname + '../',
    paths: [
      'index.html'
    ]
  })

When I build my app without purifycss plugin my css i builded and minified but when I put purifycss plugin as above, so my css is well extracted to an build.css file but two problem : it isn't minified and the big problem is my unused class are still here, no change effect!
thanks in advance

Had same issue, but, I thing i fixed it by adding
resolveExtensions: ['.html']

before my config was
new Purify({
    basePath: __dirname,
    paths: [
        '/home/*.html'
    ],
    //resolveExtensions: ['.html'],
    purifyOptions: {
        minify: true,
        rejected: true
    }
})

without 'resolveExtensions', plugin takes all from webpack's 'resolve.extensions' and if log the files variable inside plugin it would be like
[ */home/index.html',
  '*/node_modules/css-loader/lib/css-base.js',
  '*/node_modules/style-loader/addStyles.js',
  '*/source/home/index.js',
  '*source/home/style.css' ]

so source css file in files that be passed to purify, and it thinks styles is used and doesn't remove them
if add 'resolveExtensions: ['.html']' path variable would be like
[ '*/home/index.html' ]

Just the right html will be passed to purify.
Hope this will help fix your issue.
P.S. Maybe I'm wrong in explaining, but its works.

Wow man, thanks. It is absolutely necessary to add resolveExtensions: ['.html'] to the Purify-Webpack-Plugin object, otherwise it thinks all css is used and does nothing. Works like a charm, now!

Shouldn't this be stated in the docs? I had the same issue. Thanks for the solution!

Same. Please add it to the docs, or even better, set it as a default and document how to change it.


InsertAll support

Right now the only way to insert multiple items to a table is looping through them and inserting them one by one. It would be great if there was a way to do this in one go.

This is painful when inserting a large number of items. The SDK posts one item at a time to the mobile app server, which is very inefficient and slow.

@ertay Thanks for using Azure Mobile Apps and your interest in adding this feature in the SDK. Please look at this section of the ReadMe that highlights the future of Azure Mobile Apps. At this time, we are not adding any new features in the SDK but your interest will help us to prioritize this work in the future.
Hope this helps. I'll close this issue but feel free to reach out if you have any other questions.


build: update operator-sdk to v1.0

New installed tools:

controller-gen generates RBAC manifests and crds
kustomize manages declarative configuration for each content using kustomization.yaml

Kubebuilder-style project:

move the CRDs from deploy/crds/ to config/crd/bases
move the CRs from deploy/crds/ to config/samples
move the Controller deploy/operator.yaml to config/manager/manager.yaml
move the RBAC manifests from deploy to config/rbac/
move pkg/apis to apis
move pkg/controller to controllers
move build/Dockerfile to the project's root directory
move cmd/manager/main.go to the project's root directory
preparations for kustomize-based deployment for prometheus, webhooks and cert-manager
scorecard configuration to test and validate the bundle
for each api type the +k8s:deepcopy-gen:interfaces= marker was replaced with +kubebuilder:object:root=true
for each api type the +operator-sdk:csv:customresourcedefinitions marker was added
for each controller the struct Reconciler struct has been renamed from Reconcile to Reconciler
the Reconciler variables are now exported
for each controller a new function SetupWithManager was added that is being called in main.go
operator-lib module was added in order to keep the SDK leader.Become
no need for zz_generated files anymore!
OPERATOR_NAME and POD_NAME environment variable are no longer used
envtest framework is not yet implemented

Add More targets to Makefile:

make generate handles deepcopy and adds the license text
make manifests uses controller-gen and replaces the old commands operator-sdk generate k8s, operator-sdk generate openapi and operator-sdk generate crds

Dapper:

install controller-gen and kustomize

Other changes:

rename the globalnet ServiceAccount to follow RFC1123
remove the deprecated multiclusterservices CRD
update the CRs and add the missing ones for lighthouse
add more entries to yamllint
adjust the validations test

TODO:
[ ] main.go zap.FlagSet() is no longer supported
[ ] main.go in opeartor-sdk v1 some utilities were moved to internal
[ ] automation for adding the fields displayName and description to customresourcedefinitions.owned[]
[ ] delete the zz_generated files
How to use:
generate the manifest files

make generate
make manifests

build the operator docker image

make docker-build IMG=quay.io/submariner/submariner-operator:0.6.1

bundle format

make bundle VERSION=0.6.1 CHANNELS=alpha DEFAULT_CHANNEL=aplha IMG=quay.io/submariner/submariner-operator:0.6.1
make bundle-build BUNDLE_IMG=quay.io/submariner/submariner-operator-bundle:0.6.1

packagemanifests format

make packagemanifests VERSION=0.6.1 FROM_VERSION=0.5.0 CHANNEL=alpha IMG=quay.io/submariner/submariner-operator:0.6.1

Refs:

migration guide
kustomize docs

BREAKING CHANGE: migrating the legacy project to the new layout. closes #678
Signed-off-by: Steve Mattar<EMAIL_ADDRESS>

This is amazing work, thanks Steve!
I haven’t reviewed it entirely, but a few thoughts spring to mind:
* our current operator image uses the scratch base image, and only ships the operator binary in the container image — is that still possible?

* could you repackage this using successive commits to show the various changes? in particular, separate commits for steps which only involve moving files around, or generating files, would make the PR much easier to review

* does it still make sense to generate the CRDs in every build, as in #700? I know we’ll need to keep historical CRDs, and presumably bundle CRDs, but I’d still like to generate as much as possible all the time...

thanks @skitt

the docker image is a multi-stage build and it ships the operator binary only based on ubi. We can change it of course - does the build run on shipyard?
yes, I will separate the commits to make it more clear
sure, I generate the CRDs using controller-gen by running make manifests then I can run make bundle or make packagemanifests depends on the format I want in order to create the CSV metadata compatible with OLM

#724


Change-to-github-api

@SenexCrenshaw nice, I wasn't aware you could use the GitHub API without a token to list all the files in a repository, but that makes it much cleaner and easier to iterate over. 👍🏼

In regards to:

Excellent! I have a few suggestions

An option to prefer M3U logos if they are set
Logo URL in the interface. Wasn't obvious I could remove the existing text and type to complete. It works great, just didn't seem obvious. Maybe note "Logo URL: URL or type to search" ... something like that
The ability to search by country. Maybe a pull down list of countries at the top of the mapping page which would be added to the autocomplete filter
The logo json creator is slow. I had another PR I was playing with that downloads using the GitHub API. Maybe you can incorporate this:
logo.go
func ignoredFiles. I think this can be cleaned up as well
Maybe a filter in the mapping page for missing Logos only?

Thanks for a great PR. Let me know your thoughts.

Sounds good, will look into getting these implemented, thanks for the feedback.

I am just about done those few items above. You can check out the PR to see where it is going

Should be good to go now
/releases/v.2.5.2


Breakpoints can be set on lines where they won't get hit

Godot version
v4.0.beta.custom_build [b0598dc]
System information
Windows 10
Issue description
You can set breakpoints on lines that don't have anything to execute - they will be ignored on runtime. This can cause confusion especially for beginners.
Examples:

Empty lines
Lines with only annotations
Some easily understandable ones: extends, class_name, class
Some that could be expected to work: else, func

Preferably the editor shouldn't let user add breakpoints on these lines, or try to move the breakpoint onto the next applicable line.
Steps to reproduce
Copy the following script into editor, set breakpoints to lines with # ! and run.
class_name Test # !
extends Node # !

class Oho: # !
	pass

@export # !
var a = 0

func _ready(): # !
	# !
	if a == 1:
		pass
	elif a == 2:
		pass
	else: # !
		pass

Minimal reproduction project
N/A

This looks similar to #8032 , but this is more general, maybe can be consolidated?


All inboxes feature

in android inbox app , we have a option to choose to see all inbox of all email account connected in the same time.
For me is the best function of all email applications.
More information  here:
https://www.theverge.com/2017/8/21/16181316/google-inbox-unified-view-all

I want to close this project. Take a look at the explanation: #101
If you still need this project, please, fork the repo.


psycopg2 deprecated

Latest psycopg2 recommends using the pip installation name "psycopg2-binary" instead of the previous "psycopg2" in  pipfile/requirements.txt

Fixed 136ed0dda284a777d328fa9a0993b41706326f83


Question On Sending Midi Messages

I've been using mido to send messages in real time with keyboard inputs. I am able to hear the notes being played out of my speakers but I am having no luck with external software like Cubase and Midi-OX recognizing the output messages. Here is an example of how I send a message:
outport.send(mido.Message('note_on', note=60+octave, velocity=80))
Any help is greatly appreciated and sorry for my lack of knowledge on this stuff but I am still rather novice.

Hi Josh,
Your code is correct so if you're not hearing anything it could be that
you're sending the message to the wrong port or that Cubase is not set up
correctly to receive it.
What is the name of the port you're sending to? You can find this with:
print(output)

I have tried with setting the outport to the built in Windows GS Wavetable Synth, and with a virtual port created by rtpMIDI. When I print the ports it recognizes the virtual ports but I haven't had any luck with the external software reading the messages although they see the ports. Let me know if you would like to see any other parts of my code.

I don't know how much help I can be here since I don't know Windows, rtpMIDI or Midi-OX but here's what I've got.
For the built in wavetable synth you should be able to just open its port and send it messages.
For Cubase I think you need to send messages to the rtpMIDI port and then set your the input port of your cubase track to receive from the rtpMIDI port. Also the track needs to be set to channel 1 (or whichever channel your messages are sent on plus one, since Mido starts counting at 0 and Cubase starts at 1).

I appreciate the help and I hope this isn't too much of a bother. Do you know anyone who has success on Windows? I am begging to think the issue is with the backend being rtmidi; I remember hearing that rtmidi does not support sending midi messages on windows. I understand if there is nothing you can do to help, but if you are able to that would be great.

Thanks for your understanding.
Rtmidi should work in Windows but perhaps there are limitations that I'm now aware of. I have heard from people who have used it successfully. (See issue #65 for example.)
I have Windows 8 in a virtual machine, so I intalled the mido and python-rtmidi packages and wrote this program:
import time
import mido
from mido import Message

# mido.set_backend('mido.backends.pygame')

# print(mido.get_output_names())

port = mido.open_output('Microsoft GS Wavetable Synth 0')

for note in range(60, 80):
    print(note)
    port.send(Message('note_on', note=note))
    time.sleep(0.1)
    port.send(Message('note_off', note=note))
    time.sleep(0.1)

The timing is way off due to VirtualBox issues but I do get sound out of it. I wonder what could be different on your system.
As a workaround for now you could switch to the Pygame backend. It's a bit more limited in functionality but should install and work on Windows. If you want to try it out just do:
pip install pygame

and then add this to the top of your program:
import mido
mido.set_backend('mido.backends.pygame')

Thanks for testing on your virtual machine for me, I tried the program and when I run it in my Anaconda Enviroment I still have the same issue but when I made it an exe and tried to run it it said
"ImportError: No module named 'mido.backends.rtmidi'
Failed to execute script new_test"
Do I not have rtmidi properly installed? When I try to pip install rtmidi I get
"error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe' failed with exit status 2"
I do have python-rtmidi properly installed but I am not sure as to if this is a problem.
Thanks for the continued help :)

I also have rtmidi_python installed

From the error message ("No module named 'mido.backends.rtmidi'") it looks like you're running a very old version of Mido. From what I can tell the one in Anaconda is 1.1.13 which is over 2 years old. To get the latest one I would recommend "pip install mido".
Somewhat confusingly there are 3 different RtMidi packages for Python:

python-rtmidi is the one Mido uses
rtmidi-python can also be used with Mido by setting the backend to mido.backends.rtmidi_python. This one is a little bit more limited.
rtmidi seems to be broken.

So: pip install python-rtmidi.

Oh, wait. Sorry. You already tried python-midi of course.
I guess rtmidi_python is the next thing to try then.

I am still trying to turn my python program into an exe and I am starting to think it might be an issue with pyinstaller finding what modules it needs. However out of curiosity, were you able to have any success with other software recognizing the midi outputs on your virtual machine? Also if you have any experience with creating exe from mido projects, that would be great.

This might help: https://mido.readthedocs.io/en/latest/freezing.html
I got sound out of the built-in wavetable synth using the program I posted above but I haven't tried turning it into an exe file. I just ran the program from IDLE.
Which version of Windows are you on? I used Windows 8. I also tried to install on Windows 7 and 10 but ran into another import error when importing rtmidi. (It can't find the DLL file. I am looking into it.)

I will see if I can find some other programs to test with.

I added import mido.backends.rtmidi to my code and pyinstaller was able to make it into an exe. I look forward to hearing how your tests with the programs go. Also I am using Windows 7.

I installed a demo version of Reason and was able to send it messages through loopMIDI (https://www.tobias-erichsen.de/software/loopmidi.html). All I had to do in Reason was to set up a controller for the loopMidi device. In Cubase you can select device on the track if I remember correctly.
So far I've tested this on Windows 8 and 10 and with Python 2.6.1 and the RtMidi and Pygame backends. I also tried the rtmidi-python backend but it doesn't work with Python 3. Good to know.
The Window wavetable synth also works in Windows 8 but for some reason not in Windows 10. I can see it in the port list but when I try to open it I get an exception. This is true for both RtMidi and Pygame so there seems to be something going on deeper down somewhere.
I will try the same on Windows 7.  This time test with PianoTeq: https://www.pianoteq.com/try
It's easier to install and should work with loopMIDI without any configuration.
I'd like to get my configuration as close as possible to yours, so a couple of follow-up questions: Are you on 32-bit or 64-bit Windows, and which version of Python are you using?

I'm using 64 bit Windows and have been testing with both python 2.7 and 3.4

Thanks! I will try this next.

Thank you!

Have you tried loopMIDI? That seems to be the best way to connect things.

Just tried loopMIDI and the ports work perfectly! I guess the whole time the problem was with the ports I was creating and not code related. Looks like everything is working flawlessly now! Thank you so much for your help and hope this wasn't too much of a bother.

That's great news! I hope you'll enjoy Mido.
No bother at all. It was good to get some experience with Mido in Windows.


Enable Termination Protection

Hey,
Great role, here's a feature request.. I would raise a PR but this is such a trivial change - how about if we also allow Termination Protection via a protect flag?
$ git diff roles/galaxy/
diff --git a/ansible/roles/galaxy/cytopia.cloudformation/tasks/run.yml b/ansible/roles/galaxy/cytopia.cloudformation/tasks/run.yml
index 3f584b8..eb0cd9a 100644
--- a/ansible/roles/galaxy/cytopia.cloudformation/tasks/run.yml
+++ b/ansible/roles/galaxy/cytopia.cloudformation/tasks/run.yml
@@ -80,6 +80,7 @@
     profile: "{{ cloudformation.profile | default(cloudformation_defaults.profile | default(omit)) }}"
     region: "{{ cloudformation.region | default(cloudformation_defaults.region | default(omit)) }}"
     notification_arns: "{{ cloudformation.notification_arns | default(cloudformation_defaults.notification_arns | default(omit)) }}"
+    termination_protection: "{{ cloudformation.protect | default(False) }}"
     template_parameters: "{{ cloudformation.template_parameters | default(omit) }}"
     tags: "{{ cloudformation.tags | default(omit) }}"
   when: not cloudformation_generate_only

That feature would be great!

@badgerspoke @astraios
PR is here: https://github.com/cytopia/ansible-role-cloudformation/pull/24
Please read PR description as the minimum required Ansible version need to be bumped from Ansible 2.4 to Ansible 2.5 and also let me know if this works as expected for you.


Cannot create server profile without Virtual Serial Number pool enabled.

Hello,
I am trying to create a new profile on Oneview using terraform 0.9.6 and the latest terraform oneview provider:
>terraform plan
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.

oneview_server_profile_template.default: Refreshing state... (ID: terraform-test-server-profile-template)
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed. Cyan entries are data sources to be read.

Note: You didn't specify an "-out" parameter to save this plan, so when
"apply" is called, Terraform can't guarantee this is what will execute.

+ oneview_icsp_server.default
    build_plans.#: "1"
    build_plans.0: "cmc-terraform-rhel-7.2-x64-scripted-install"
    ilo_ip:        "<IP_ADDRESS>"
    mid:           "<computed>"
    password:      "terraform0202"
    port:          "443"
    public_ipv4:   "<computed>"
    serial_number: "${oneview_server_profile.default.serial_number}"
    user_name:     "terraform"

+ oneview_server_profile.default
    hardware_name:  "PENUK2HLAB001, bay 9"
    hardware_uri:   "<computed>"
    hw_filter.#:    "1"
    hw_filter.0:    "position = 9"
    ilo_ip:         "<computed>"
    name:           "terraform-test-server-profile"
    power_state:    "on"
    public_mac:     "<computed>"
    public_slot_id: "<computed>"
    serial_number:  "<computed>"
    template:       "terraform-test-server-profile-template"
    type:           "ServerProfileTemplateV5"

+ oneview_server_profile_template.default
    affinity:              "Bay"
    enclosure_group:       "EG-LAB"
    etag:                  "<computed>"
    hide_unused_flex_nics: "true"
    mac_type:              "Virtual"
    name:                  "terraform-test-server-profile-template"
    serial_number_type:    "Virtual"
    server_hardware_type:  "BL460c Gen8 2"
    type:                  "ServerProfileTemplateV1"
    uri:                   "<computed>"
    wwn_type:              "Virtual"

Plan: 5 to add, 0 to change, 0 to destroy.
>terraform apply
oneview_server_profile_template.default: Refreshing state... (ID: terraform-test-server-profile-template)
oneview_server_profile_template.default: Creating...
  affinity:              "" => "Bay"
  enclosure_group:       "" => "EG-LAB"
  etag:                  "" => "<computed>"
  hide_unused_flex_nics: "" => "true"
  mac_type:              "" => "Virtual"
  name:                  "" => "terraform-test-server-profile-template"
  serial_number_type:    "" => "Virtual"
  server_hardware_type:  "" => "BL460c Gen8 2"
  type:                  "" => "ServerProfileTemplateV1"
  uri:                   "" => "<computed>"
  wwn_type:              "" => "Virtual"
oneview_server_profile_template.default: Creation complete
Error applying plan:

1 error(s) occurred:

* oneview_server_profile.default: Resource 'oneview_server_profile_template.default' does not have attribute 'name' for variable 'oneview_server_profile_template.default.name'

Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.

>terraform apply
oneview_server_profile_template.default: Creating...
  affinity:              "" => "Bay"
  enclosure_group:       "" => "EG-LAB"
  etag:                  "" => "<computed>"
  hide_unused_flex_nics: "" => "true"
  mac_type:              "" => "Virtual"
  name:                  "" => "terraform-test-server-profile-template"
  serial_number_type:    "" => "Virtual"
  server_hardware_type:  "" => "BL460c Gen8 2"
  type:                  "" => "ServerProfileTemplateV1"
  uri:                   "" => "<computed>"
  wwn_type:              "" => "Virtual"
oneview_server_profile_template.default: Creation complete (ID: terraform-test-server-profile-template)
oneview_server_profile.default: Creating...
  hardware_name:  "" => "PENUK2HLAB001, bay 9"
  hardware_uri:   "" => "<computed>"
  hw_filter.#:    "0" => "1"
  hw_filter.0:    "" => "position = 9"
  ilo_ip:         "" => "<computed>"
  name:           "" => "terraform-test-server-profile"
  power_state:    "" => "on"
  public_mac:     "" => "<computed>"
  public_slot_id: "" => "<computed>"
  serial_number:  "" => "<computed>"
  template:       "" => "terraform-test-server-profile-template"
  type:           "" => "ServerProfileTemplateV5"
oneview_server_profile.default: Still creating... (10s elapsed)
Error applying plan:

1 error(s) occurred:

* oneview_server_profile.default: 1 error(s) occurred:

* oneview_server_profile.default: Unable to perform requested operation on Virtual Serial Number range while the pool is disabled.
Enable the Virtual Serial Number pool and try the request again.

Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.

In our company we don't use Virtual Serial Number pool. Is it possible to use terraform in an environment without Virtual Serial Number pool enabled ?

@AsisBagga unfortunately I don't use it any more.

@przemolb in that case ill proceed with closing this issue, thanks for the update.


Voice: conflicts with MS Teams

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.86.0
OS Version:  Windows 11 with VSCode in WSL mode

Steps to Reproduce:

open VSCode, ensure that there's the micro icon appears on the system tray, and copilot voice chat in vscode is ok
join a Microsoft Teams meeting, the collegues says that they cannot hear you very clearly, even if you're not using vscode voice chat at that moment.
close VSCode, then collegues on Teams says it's good now.

Is there anyway (hotkeys) to disable/enable the voice chat temporarily ?
As there's no option in Windows 11 to disable micro on VSCode:

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.86.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

1.86.1 was released 19 min ago, and I didn't find the fix about the audio confliction in the release note:
https://github.com/microsoft/vscode/issues?q=is%3Aissue+is%3Aclosed+milestone%3A"December+%2F+January+2024+Recovery+1"

There is currently not but I am also surprised that another applications microphone recording is impacted by VS Code recording.
What do you mean with "not very clearly". So does it mean some of the voice gets through but the quality is bad?

There is currently not but I am also surprised that another applications microphone recording is impacted by VS Code recording.
What do you mean with "not very clearly". So does it mean some of the voice gets through but the quality is bad?

yes the quality is bad, they said it's just like I'm talking under the water

Marking as upstream of https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/2266

To improve this a bit on the VS Code side, keyword voice recognition will suspend when VS Code has no window focus.

@bpasero
I have noticed that when I open Visual Studio Code (VSCode), the microphone appears to be in use, regardless of whether I am using voice chat or not. This can be seen in the screenshot below, taken from the Windows 11 system tray.
Other voice software programs, such as Teams, Zoom, and Discord, do not exhibit this behavior.
Is it possible to configure VSCode to only use the microphone when voice chat is actually open?

To improve this a bit on the VS Code side, keyword voice recognition will suspend when VS Code has no window focus.

sometimes, during the Teams meeting, we need to share our screen, and do some demo in VSCode, so the focus is still on VSCode, but we're in a Teams session.

@copdips my change is not yet in btw, it would be in insiders next Monday. Are you configuring the keyword activation? Or does this happen without keyword activation being on.

this is my keyword activation, I'm using the lastest public version of VSCode, not the insider.


fix logic in transport test server

The challenge acceptance logic was inverted since the challenge would always fail as the server and client were using different cnonce values. Make sure they are using the same cnonce, and invert the authorized check.
The validity of the change can be tested by altering the test to use the wrong password. In the original state the test incorrectly continues to pass, but the new code will now fail in that case.
Please take a look.

Thanks Dan, I'm a fan of your work.


LIB-268 implemented the message security and tested the implementation

Message.java (/src/main/java/com/libraryportal/restapi/entity)

Modified the attribute 'closed' data type from boolean to Integer

SecurityConfiguration.java (/src/main/java/com/libraryportal/restapi/config)

added another route (/api/messages/secure/**) to whitelist filter to allow the request to pass

Test Evidence

- Obtained the bearer token from User Login via console in the google chrome browser

- added Bearer token into the test in Postman and successfully post a request to add new message

database reflects the changes after inserting a new record via POST request


edit post

edit post button currently hides the post, but does't delete it. Must fix this

fixed, moved edit post out of div element


Adding checkPreAuth before authenticating

@tmilos In the old repository there was a PR for adding the checkPreAuth, is it possible to add this feature, because I think it would be necessary for extra security checks.
https://github.com/aerialship/SamlSPBundle/pull/44/files
By adding this check it's possible to add the default checks isAccountNonLocked, isEnabled & isAccountNonExpired by using the AdvancedUserInterface.
Should I create a PR for this (including the missing test)?
Thank you!

Yes please make the PR. I guess it should be placed right above existing checkPostAuth call since authentication actually is not really done internally by the system, but relays on the received assertions.

@tmilos thanks for your quick reply. I created the PR: https://github.com/lightSAML/SpBundle/pull/32

Merged and released in v1.0.3
Thanks


Vault via CLI?

It doesn't seem to be mentioned anywhere, is there a way to initiate the environment variables similar to dotenv-cli prior to running a CLI only script?

Also wondering how to do this
We could run dotenv-vault pull, which will populate our .env and then run dotenv -- <some-subprocess>, which would pick up those vars
But this will only work when logged in, therefore this would only work for development environment
Curious how to do this without being signed in, when we set the DOTENV_KEY in our env I would expect that there is a CLI command that would read this variable, decrypt the .env.vault and pass it to all sub commands

ChatGPT is suggesting:

Then, you can use the dotenv-vault exec command to automatically decrypt your variables and pass them to a subprocess. For example, if you want to run a Node.js script that requires access to your sensitive variables, you can use the following command: dotenv-vault exec -- node script.js

Well, this command doesn't exit. LOL

Probably duplicate of #174

It's probably not the exact equivalent of dotenv-cli but you could run local-decrypt command to fetch / generate your .env file:
npx dotenv-vault local decrypt $DOTENV_KEY > .env
Similar to what @devidw proposed by using the DOTENV_KEY, without the need of being signed in or having a .env.me file around.

I created dotenv-vault-core-cli to achieve this
npx dotenv-vault-core-cli -e .env -- my-script

The sooner the package is made irrelevant by upstream changes the better

Thank you, @hbriese.
We want to make .env.vault support first-class and open. We've been hard at work on that.
There is an RC candidate here: https://github.com/motdotla/dotenv/tree/v16.1.0-rc1
That is just about ready.
We're now wrapping up work on local support (no remote API calls) to generate your .env.vault file. The ruby, python, and golang libs explain it best at the moment.
It's coming for node soon. We've been working in languages where it will have less impact. This update to dotenv nodejs will be its most significant update in many years.
Then everyone downstream using dotenv will have the option to use .env.vault files if they choose.
All local commands will live here: https://github.com/dotenv-org/dotenv-vault/tree/master/src/commands/local

I just want to bump I believe this is resolved now?
I see that support is now in dotenv, and theoretically dotenv-cli can handle it.
There aren't any documented examples though

Yep dotenv-cli works now with with dotenv >= 16.1.0, I'm using it just as shown in their docs
npx dotenv <command with arguments>

Yep, their package.json as 16 or greater in it: https://github.com/entropitor/dotenv-cli/blob/master/package.json#L11
so as long as you install fresh, you'll get 16.1.4 and should be able to decode .env.vault files. I haven't tried this, though, yet. We'll try to get a guide on our dotenv.org/docs soon.

Yep dotenv-cli works now with with dotenv >= 16.1.0, I'm using it just as shown in their [docs]

Any thoughts on what to do with a non-standard .env path? Just reference the vault file?
for example inside a nested folder that uses a require like this:
require('dotenv').config({
	path: '../../.env',
});

I guess dotenv ../../,env,vault <command> I'll see what happens

Currently, you'll have to cd to the directory where the .env file is and then run:
dotenv-vault push/pull/etc
from there.

On our todos is a better way to handle this - especially with multiple .env files in a monorepo.

Hmmm little confused, so just to clarify:
.env.vault
/workspaces
  /workspace-1
    package.json <-- run script in here with environment variables
  /workspace-2

Bot hworkspaces use the same enviroronment variables (So just 1 .env for all)
With the update you shoudln't have to decode the .env.vault file into an actual .env file anymore
dotenv-cli should be able to just read in the .env.vault, and as long as the process.env.DOTENV_KEY exists it should work?

Ah yes, I think you are right. Give it a shot.
I haven't used personally with dotenv-cli yet.
On Wed, Jun 7, 2023, at 4:51 PM, Tom Rowe wrote:

Hmmm little confused, so just to clarify:
.env.vault /workspaces   /workspace-1     package.json <-- run script in here with environment variables   /workspace-2
Bot hworkspaces use the same enviroronment variables (So just 1 .env for all)
With the update you shoudln't have to decode the .env.vault file into an actual .env file anymore
dotenv-cli should be able to just read in the .env.vault, and as long as the process.env.DOTENV_KEY exists it should work?
—
Reply to this email directly, view it on GitHub https://github.com/dotenv-org/dotenv-vault/issues/253#issuecomment-1581664395, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA6CA4V6VIRVOUQ6YJNT3XKEHZ3ANCNFSM6AAAAAAVIZQ4ZE.
You are receiving this because you commented.Message ID: @.***>

Yeah I can't get any configuration to work, i'm not sure how you are doing it @hbriese? This is ignoring my path stuff from before, we are just talking:
.env.vault
package.json
dotenv alone shouldn't do anything unless process.env.DOTENV_KEY already exists to decode the .env.vault file.
So to test locally I add it with a few different configurations:
dotenv -v DOTENV_KEY=<key>
dotenv -v DOTENV_KEY=<key> -e .env
dotenv -v DOTENV_KEY=<key> -e .env.vault
None of them load the environment variables in

Yeah I can't get any configuration to work, i'm not sure how you are doing it @hbriese? This is ignoring my path stuff from before, we are just talking:
.env.vault package.json
dotenv alone shouldn't do anything unless process.env.DOTENV_KEY already exists to decode the .env.vault file.
So to test locally I add it with a few different configurations:
dotenv -v DOTENV_KEY=<key> dotenv -v DOTENV_KEY=<key> -e .env dotenv -v DOTENV_KEY=<key> -e .env.vault
None of them load the environment variables in

Looks like you're trying to use dotenv on the cli (if it wasn't a mistype), dotenv-cli is required for cli usage.
Not 100% if this is required, but dotenv-cli still has dotenv"^16.0.0" so I set a dependency resolution to make sure the package uses dotenv "^<IP_ADDRESS>"
package.json
"resolutions": {
    "dotenv": "^16.1.3"
},

I don't think passing the DOTENV_KEY to -v works as it looks to populate process.env AFTER calling dotenv so pass the variable directly to the process instead.
My .env.vault is in the previous dir so I use DOTENV_KEY=... npx dotenv-cli -e ../.env -- $myScript

Not 100% if this is required, but dotenv-cli still has dotenv"^16.0.0" so I set a dependency resolution

I did the same ^

I don't think passing the DOTENV_KEY to -v works as it looks to populate process.env AFTER calling dotenv so pass the variable directly to the process instead.
My .env.vault is in the previous dir so I use DOTENV_KEY=... npx dotenv-cli -e ../.env -- $myScript

I was just about to try this thinking the same thing ^^^
It's fine on the server, because it's already running DOTENV_KEY before any scripts are called, just locally is the problem
Will confirm if this works in a little while

Confirming @hbriese that the resolutions is indeed necessary!
Pushing the DOTENV_KEY in early was the fix.... they might need to implement a way to pass it for Vault files in the future.
I guess we can close this now!

If they need to set it directly in the library that is supported as of a few weeks ago:
https://github.com/motdotla/dotenv#dotenv_key
require('dotenv').config({ DOTENV_KEY: 'dotenv://:key_1234…@dotenv.org/vault/.env.vault?environment=production' })

In order to get the same resolutions hotfix for dotenv-cli as noted by @hbriese working in pnpm we can do:
.pnpmfile.cjs
module.exports = {
  hooks: {
    readPackage(packageJson) {
      if (packageJson.name === 'dotenv-cli') {
        packageJson.dependencies['dotenv'] = '^16.1.3'
      }
      return packageJson
    },
  },
}


CRYPTO-10: Rename Chimera in makefile to Apache Common Crypto

We need to update native related files to Apache Common Crypto.

+1

Committed to the master at f819dd4. Thanks @jerrychenhf for your review.


No command goop found,

Cant run the program i get this error after running goop
No command goop found,

this sounds like the go path is not in your path environment variable


PHP: fix empty_stream interop test

Depends on PR #3818. Do not merge before that PR.
Fixes #3762 and #3812
Because of synchronous nature of PHP, when the user actively calls $call->read() on a BidiStreaming call, it will wait forever if the server does not send any message. So for this empty_stream interop test, I had implemented the read() call to timeout after 0.1s.
This works well against the Node server, Go server and CSharp server and we actually got a STATUS_OK status_code back. However, against the Ruby server, and the cloud_to_prod server, they actually return a STATUS_DEADLINE_EXCEEDED status_code
So now I re-ordered the sequence of the interop test to call read() first before writesDone(). This now in turn makes all servers return the status STATUS_DEADLINE_EXCEEDED.

For the interop Jenkins build, only tests.cloud_to_cloud:java:go_server:empty_stream is failing now. The 2 PHP tests in question both passed now:

PASSED: cloud_to_cloud:php:ruby_server:empty_stream [time=12.2sec; retries=0;0]
PASSED: cloud_to_prod:php:empty_stream [time=11.6sec; retries=0;0]

The regular master Jenkins build is mostly green with one yellow at Windows/CSharp.

@jtattermusch PTAL

Well, so there's no way in PHP to actually implement the empty stream properly?
I don't think this workaround is acceptable. You should be able to write 0 messages (or N in general) and receive an empty stream in response which still obtaining the Ok status. It's the idea of empty_stream test to verify this is possible.
Also, according to the spec, client should check that call has completed successfully. So changing the assertion here is not acceptable.
Looks like the test works fine against C#, C++, python and node, what does make ruby_server and prod server different?

This test should not require these changes. read() does in fact return null when the server sends a status instead of a response. The ping_pong implementation already depends on that.

Sorry I probably did something wrong initially that made me go down this timeout path. Michael is right that it's not needed. I fixed the test - no timeout, read() returns null, status code is OK.
The PHP tests failure are gone but there are some other failures.

Changes look good, but see  php empty stream to ruby server failing.


Make example output more legible

Task description
Running (at least some) examples yields rather hard to understand output, e.g., hashes are not in hex, addresses are not in base58 (see screenshot which is the output of the simple-transfer example)

This should be fixed so that examples output understandable output.

The implementation of #308 will probably make this easier to achieve.

We have toString implementations on most of these types now, so this task would just be to ensure that these looks nice in the output


Python interpreter locator service before all hook failing on Windows

This maybe because Windows accesses things from the windows registry, which takes some time.
  1 failing
  1) Python interpreter locator service
       "before all" hook for "Ensure we are getting conda environment created using command `conda create -n "test_env1" -y python`":
     Error: Timeout of 175000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (d:\a\1\s\out\test\pythonEnvironments\discovery\locators\interpreterLocatorService.testvirtualenvs.js)
      at listOnTimeout (internal/timers.js:531:17)
      at processTimers (internal/timers.js:475:7)

https://dev.azure.com/ms/vscode-python/_build/results?buildId=90774&view=logs&j=cbbeac38-69d7-5886-da6c-1e127ab8c416&t=196637ce-9d60-56f5-810d-0aa3e60715ca&l=509

Closing as stale.


Panic on non-UTF-8 filenames

This occurs if there's a non-UTF-8 filename in the local directory and I use racer.
$ RUST_BACKTRACE=1 racer complete foo::
thread '<main>' panicked at 'called `Option::unwrap()` on a `None` value', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libcore/option.rs:362
stack backtrace:
   1:     0x7fb2c9bcceb3 - sys::backtrace::write::h78d8566ea57298318cs
   2:     0x7fb2c9bd05b1 - panicking::on_panic::h1828971352b87f32XXw
   3:     0x7fb2c9bc2cba - rt::unwind::begin_unwind_inner::h70b8a47e7ca8c04aHDw
   4:     0x7fb2c9bc3217 - rt::unwind::begin_unwind_fmt::hdf51072a712c38a2NCw
   5:     0x7fb2c9bcff06 - rust_begin_unwind
   6:     0x7fb2c9c00214 - panicking::panic_fmt::hdda338ab4cb55cc9i5B
   7:     0x7fb2c9bfd684 - panicking::panic::hc292adbdce9c349dP3B
   8:     0x7fb2c9a412ab - racer::nameres::do_file_search::h3ecc22ed3048e8609Jd
                        at /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libcore/macros.rs:19
                        at src/racer/nameres.rs:314
   9:     0x7fb2c9a71e4e - complete::h834cc3fdbb4e04dalLi
                        at src/main.rs:90
  10:     0x7fb2c9a75894 - main::h8107ca8fa2d8ecf5m0i
                        at src/main.rs:186
  11:     0x7fb2c9bd5518 - rust_try_inner
  12:     0x7fb2c9bd5505 - rust_try
  13:     0x7fb2c9bd1e03 - rt::lang_start::hc0160dc27b69e1c51Sw
  14:     0x7fb2c9437b44 - __libc_start_main
  15:     0x7fb2c9a03ba8 - <unknown>
  16:                0x0 - <unknown>

rustc: rustc 1.2.0-nightly (2228ce10c 2015-06-09)
racer: 68829343ba4afdbb20be624cd1ab9f25cdbb3a42

Thanks @bluss, Marking as a bug

The solution would be to make Match take an OsString instead of String, right?


Add "Resources" tab to rollouts

Here we can list (like in the Review panel) the resources associated with the rollout, and all of their content.

Might need an explanation of what you exactly mean and have in mind as I dont feel it is quite descriptive enough? @andersjohnsen @JackRigDev
What resources to you want to list and where? The review modal primarily shows a diff and what has changed? So I cant see how it has anything related with a rollout as such.

CC @andersjohnsen

Design

@andersjohnsen This is now done, moving it to testing as I would like your eyes on it, just to make sure everything is as it should be. Moving it to "In test"

@andersjohnsen approved it, so merging now. Out with next release


Feature Request: Check that the sizeof VarDecl type matches struct field

I just ran into this tricky bug...
Here, we were using a uint64_t to represent the pointer of a vertex buffer, however, the type should have been gprt::Buffer, which is actually a uint64_t2.

The end result currently is a rather ambiguous "DEVICE LOST" error when trying to launch any kernel using these types.
It would be great to do some sort of compile time check that the type of the variable in the GPRTVarDecl list matches--in size at the very least--with the given GPRT_TYPE enumeration.

This issue is addressed with PR #56


Fix the bug that demo-site does not work

What?
Fix the bug that api-permission-manager in the demo site does not start due to unbound PV
Why?
Bug fix

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: d-hayashi
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [d-hayashi]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Add contributors list in README.md

Add contributors list
@MonalikaPatnaik @Mansi168

Hello @MonalikaPatnaik I would like to work on this, as a contributor under GSSOC'23

@P766-spec No please lokk at another issues


Skip missing/invalid client rather than raising exception

My organization uses both Vault and Chef Provisioning (nee Chef Metal).
Due (apparently) to hiccups with Provisioning, we have several times ended up a chef node that lacks a corresponding client.
When chef-vault encounters this situation, it exits with an exception, leaving the vault unmodified.
It would be preferable if chef-vault simply skipped the missing client/node, rather than failing the entire operation.
While the root issue is outside chef-vault, it seems like this situation will be increasingly common, as Provisioning enters broader use (and higher level orchestration, more generally).

I just pushed a branch that fixes this; can you try v2.4.1 and see if it does what you expect?  I emit a warning when the client is not found.
The 'skip if client not found' only applies when using a node as a client; I assume that if you try to use a node as an admin and it's not found that should still be a critical error.

Maybe I'm missing something simple here, but when I build and install the gem from the issue_127 branch, knife no longer recognizes the vault subcommand:
vagrant /chef-repo/tmp/chef-vault-issue_127 $ chef gem search --local chef-vault

*** LOCAL GEMS ***

chef-vault (2.4.0, 2.2.1)

vagrant /chef-repo/tmp/chef-vault-issue_127 $ knife vault show secrets_qa platform -M client
couchbase:
  admin:
    password: Password1
<TRUNCATED>

vagrant /chef-repo/tmp/chef-vault-issue_127 $ gem build chef-vault.gemspec
WARNING:  description and summary are identical
WARNING:  open-ended dependency on chef (>= 0.10.10, development) is not recommended
  if chef is semantically versioned, use:
    add_development_dependency 'chef', '~> 0.10', '>= 0.10.10'
WARNING:  See http://guides.rubygems.org/specification-reference/ for help
  Successfully built RubyGem
  Name: chef-vault
  Version: 2.4.1
  File: chef-vault-2.4.1.gem

vagrant /chef-repo/tmp/chef-vault-issue_127 $ sudo chef gem install ./chef-vault-2.4.1.gem
Successfully installed chef-vault-2.4.1
Parsing documentation for chef-vault-2.4.1
Installing ri documentation for chef-vault-2.4.1
Done installing documentation for chef-vault after 0 seconds
1 gem installed
vagrant /chef-repo/tmp/chef-vault-issue_127 $ chef gem search --local chef-vault

*** LOCAL GEMS ***

chef-vault (2.4.1, 2.4.0, 2.2.1)
vagrant /chef-repo/tmp/chef-vault-issue_127 $ knife vault show secrets_qa platform -M client
FATAL: Cannot find sub command for: 'vault show secrets_qa platform -M client'

I can't repro that error on my system before or after installing the branched copy:
M00972939 ➜  chef-vault git:(issue_127) chef gem which chef-vault
/Users/x39d/.chefdk/gem/ruby/2.1.0/gems/chef-vault-2.4.0/lib/chef-vault.rb
M00972939 ➜  chef-vault git:(issue_127) knife vault show foo bar
foo: bar
id:  bar
M00972939 ➜  chef-vault git:(issue_127) gem build chef-vault.gemspec
WARNING:  description and summary are identical
WARNING:  open-ended dependency on chef (>= 0.10.10, development) is not recommended
  if chef is semantically versioned, use:
    add_development_dependency 'chef', '~> 0.10', '>= 0.10.10'
WARNING:  See http://guides.rubygems.org/specification-reference/ for help
  Successfully built RubyGem
  Name: chef-vault
  Version: 2.4.1
  File: chef-vault-2.4.1.gem
M00972939 ➜  chef-vault git:(issue_127) chef gem install chef-vault-2.4.1.gem
Successfully installed chef-vault-2.4.1
1 gem installed
M00972939 ➜  chef-vault git:(issue_127) chef gem which chef-vault
/Users/x39d/.chefdk/gem/ruby/2.1.0/gems/chef-vault-2.4.1/lib/chef-vault.rb
M00972939 ➜  chef-vault git:(issue_127) knife vault show foo bar
foo: bar
id:  bar
M00972939 ➜  chef-vault git:(issue_127)

k, i'm probably doing something silly.  will take a look later today.  tx.

I'm hoping to get 2.5.0 released with a bunch of fixes; given the amount of testing I've been doing I'm pretty confident this will come down to something silly like perms or directory mismatch (I notice you did chef gem install as root, which might have stuck it in ~root/.chefdk/gems depending on whether you're doing chef shell-init bash globally or not).
If you do have a chance to confirm that the fix works for you Monday, it would be good to hear that it works outside of a test harness.
Thanks

Looks good.  Thanks for taking care of this so quickly!


Node.js 6.0.0 compatibility

See https://github.com/nodejs/node/issues/3402#issuecomment-215166795

This is resolved in 6.2.0 and the broken behavior is behind --preserve-symlinks - should be okay to close.


libpcl-dev breaks libvtk6-qt-dev on Ubuntu Focal

I will refer to issue explained here: https://github.com/introlab/rtabmap/issues/557
In summary, in package.xml of rtabmap, it depends on both libpcl-all-dev and libvtk-qt. The problem is that libpcl-all-dev installs libpcl-dev which depends on libvtk7-dev on Ubuntu Focal, not libvtk6-dev. In rosdistro, if we specify libvtk-qt, it installs libvtk6-qt-dev on Focal, breaking libpcl-dev.
https://github.com/ros/rosdistro/blob/504a87eed1f7da15db1e5b56ec83e910cb8dc2a1/rosdep/base.yaml#L4118-L4143
Could rosdistro install libvtk7-qt-dev instead of libvtk6-qt-dev on Ubuntu 20.04, or will it break something else (packages really depending on libvtk6-qt-dev, though normally they would have to upgrade to latest vtk version)? I didn't do a pull request because I am not sure about the other distros, to which vtk version libpcl-dev is depending on.

I think I've found a solution. I should be able to remove libvtk-qt from package.xml, as libpcl-dev already installs indirectly the right vtk qt libraries. I'll close this for now, and re-open if it doesn't work.


[Feature] Possibility to stream BiqQuery query results.

There is a problem working with medium/big size responses of BQ queries, working with ZStreams it's a good way to handle.
I was necessary because the current implementation of BQ.fetchResults(fn) was converting the TableResult into a Scala list and converting each element using the standard map function:
    val result: TableResult = job.getQueryResults()
    result.iterateAll().asScala.map(fn)

This implementation of BQ.fetchStreamingResults(fn) transforms the Java stream into ZStream[Any, Throwable, FieldValueList] and then applies aZPipelineto execute the "fn" passed in the arguments, it's the same behavior but suitable for more data.
      val fnTransformer: ZPipeline[Any, Nothing, FieldValueList, T] = ZPipeline.map(fn)
      ZStream.fromJavaStream(job.getQueryResults().streamAll()).via(fnTransformer)

@Nojipiz Thanks for the addition of feature to stream large BigQuery results, will get this added in next release


Ubuntu 15.10

Iv tried to set up Ubuntu 15.10 using vagrant librvirt with no success, iv taken a number of virtualbox based boxes and mutated them using vagrant mutate, still they are all stuck on:
 Waiting for domain to get an IP address...

Picking into the VM I can see that no nic is detected (though the VM does have them defined)

BTW I know that Ubuntu had changed the way nic are being named so this might be related to that http://askubuntu.com/questions/689070/network-interface-name-changes-after-update-to-15-10-udev-changes

i'm on ubuntu 15.10 as well, without any problems.
i just upgraded from vagrant 1.7.4 to 1.8, and it went well too. maybe you can give 1.8 a try ?

I  did upgrade vagrant to 1.8.1. and got error:
/home/gpolis/.vagrant.d/gems/gems/ruby-libvirt-0.6.0/lib/libvirt.rb:11:in `require': incompatible library version - /home/gpolis/.vagrant.d/gems/gems/ruby-libvirt-0.6.0/lib/_libvirt.so (LoadError)

Try to uninstall the plugin and reinstall it (I had similar issues and that did the trick)

regarding the original issue I had to build a custom box in which the old interface naming scheme is set see https://github.com/narkisr/ubuntu/commit/3c7902dc62543c898e7b2869e72ecaa46add7281#diff-efed037e09416a4d5a6a57dc2cdd64bb

I confirm that wih Vagrant 1.8.1 I get same error.

getting same errors with Xenial host

@narkisr I just built a box from your boxcutter fork and tried again and get errors
am new to libvirt and libvirt provider so, not for certain its specific to Vagrant, though I did build manually KVM vm no worries for networking
here is my Vagrantfile
'''
Vagrant.configure("2") do |config|
Tell Vagrant where would you like to start your VMs (you can also have a
specific per-VM configuration. Do not put this section in case you want to
start your VMs on the same host)
config.vm.provider :libvirt do |libvirt|
libvirt.host = '<IP_ADDRESS>'
libvirt.username = 'devekko'
libvirt.connect_via_ssh = true
end
Here's our VM confguration
config.vm.define :libvirt_trusty_vm do |machine|
# It should be an Ubuntu 14.04 box
machine.vm.box = "narkisir-trusty64"

# With a public IP (it's optional)
machine.vm.network :private_network
machine.vm.network :public_network, :mode => "bridge", :type => "bridge"

# With so much RAM and CPUs
machine.vm.provider :libvirt do |domain|
  domain.memory = 2048
  domain.cpus = 2
end

end
end
'''

@devekko what is your nic? you need to set a device:
node.vm.network :public_network, :bridge => device , :dev => device

thanks
I try various
machine.vm.network :public_network, use_dhcp_assigned_default_route: true, :dev => "enp2s0f0", :mode => "bridge", :type => "bridge"
 machine.vm.network :public_network, :dev => "enp2s0f0", :mode => "bridge", :type => "bridge"

machine.vm.network :public_network, use_dhcp_assigned_default_route: true
errors
will investigate

I'm getting the same error... when trying to boot a mutated Xenial box.
==> server1: Waiting for domain to get an IP address...
Just sits there forever.
Relavant section of the Vagrantfile for this VM --> https://gist.github.com/ericpulvino/763ada637afac1f8d940d3bbfd345605

The problem here is that likely the box images aren't sending out DHCP requests on the correct interface; additionally it may be the case that libvirt plugs in the nic in a different slot for various reasons which would then in turn change the interface naming inside the VM (which can cause this).
For that last problem I've created a new issue #609 - in the meantime, when you mutate a box, make sure net.ifnames=0 biosdevname=0 is in the kernels cmdline and dhcp is active on eth0 by default.

Ubuntu versions above 15.10 use interface names which aren't ethX (eth0/1/2) vagrant does not cope with that.
A workaround is to disable the new naming scheme in Ubuntu https://github.com/narkisr/ubuntu/commit/04d1802c7627cd241b983e84b2afa44a5872e90c

@narkisr i'm not sure vagrant can't handle it at all because I think it's fine for Fedora and RHEL for example:
https://github.com/mitchellh/vagrant/blob/master/plugins/guests/fedora/cap/configure_networks.rb
But it may need upstream patching for ubuntu/debian:
https://github.com/mitchellh/vagrant/blob/master/plugins/guests/debian/cap/configure_networks.rb

Sure, didn't mean that Vagrant can't handle it, but instead that its not handling it correctly right now :)
Thanks


chore(doc): doc to configure volume-event-exporter to export events

This PR add doc to explain configuration of volume-event-exporter
to export volume(create, delete) events to external service.
Signed-off-by: mittachaitu<EMAIL_ADDRESS>

Codecov Report

Merging #11 (4e8ac40) into develop (9b129ba) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop      #11   +/-   ##
========================================
  Coverage    26.64%   26.64%
========================================
  Files            5        5
  Lines          334      334
========================================
  Hits            89       89
  Misses         235      235
  Partials        10       10

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 9b129ba...4e8ac40. Read the comment docs.

This can be merged after merging https://github.com/openebs/dynamic-nfs-provisioner/pull/93


Consistent file handling

Currently the file handling is different depending of the sourceComments option.

when sourceComments is map or normal it use file.path as parameter
on all other cases it set opts.data to be the stringified file.

This make the .sass indented files to not compile with the default parameters. node-sass or libsass need to know the extension to properly compile sass file which is not the case with the stringified content.
With the first commit only there was 2 tests failing. I think it was caused by the fact that these 2 tests where the only one with no real files (the error was that the file was not found).
Let me know if I can make anything to make this pull request happen.

These changes would exacerbate an existing problem with gulp-sass. See gulp-sass discards changes from earlier in the pipeline when generating source maps #158. (And even if that weren't the case, it would be ignoring the file content that gulp has already read into a buffer only for node-sass to read it from disk again). I'm not sure how to solve the .sass problem, but this isn't the way.

gulp-sass v2 will just pass the files to node-sass so this won't be needed


Remaining gfx resource issues

2 minor issues should be fixed:

better error message on shutdown for resource leaks
find a solution for the manual call to GfxId::Release() that's necessary in the samples in OnCleanup

Fixed with the new ResourceLabel system.


fix(web): fix edit cluster model click cancel, form data does not clear; add logo; fix start scripts

What type of PR is this?

Fix form data does not clear after click cancel btn of add cluster dialo
Add logo
Remove runtime-cra from start script

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

/LGTM


App doesn't see any of the files.

I don't have internet access all the time so I usually download 2-5 weeks worth of novels. Lately howether the app would suddenly start ignoring the database, all the lists, the settings, and the backups, despite them all still being present as files. Last time this happened I just re-downloaded all my novels, bt this time I won't be having internet access for my phone for another 1 or 2 months so I'd like to find a better solution than re-stocking.
Android v.4.1.2 Jelly Beans

Even after restoring the backup? Are you using any kind of antivirus?
Where do you store the DB? Is it on SD Card?
Can you get the log file? See http://forum.xda-developers.com/showthread.php?t=1726238


i cannot launch my server with uniQ

easy no more, what you need to saw more info?
latest.log

It's not a 1.12.2 modm use it only on 1.7.10. /endthread


Respell/simplify ratios using a comma-basis

akśelái — Today at 12:10 PM

I propose a "detempering" method, which takes some complex JI interval (say 531441/262144) and a list of commas (e.g. 81/80, 128/125) and multiplies the interval by  these commas until it becomes the simplest (in this case 2/1).
I'm sure the simplest interval method is well defined (like in the coalesce modal).
more examples:
531441/262144, [81/80] |--> 125/64
531441/262144, [128/125] |--> 531441/250000
531441/262144, [81/80, 128/125, 135/128] |--> 1/1

inthar — Today at 2:47 PM

The exact optimization problem likely has to be at least exponential in dimension, but LLL is polynomial in dimension and finds reasonably short bases. I think sintel uses LLL to find detempered JI bases for temperaments, so we can just use sintel's API.

frostburn — Today at 2:53 PM

Good to know. I'm scoping SonicWeave to be about tempering, but only equal tempering so we should at lest offer something in-library as well.
I believe you can  get close enough to higher ranks by using large equal temps and octave stretching so it shouldn't be too restrictive in principle.

akśelái — Today at 4:10 PM

when you really need higher ranks, two things will typically happen: either the GPV list will only have 1 or 2 elements (or even 0), or will start and end in edo numbers roughly in the thousands. in either case, you either choose an edo to work backwards from, or just use the large edo since we've already stepped into unnoticeable territory even for half-cent-JND people

I believe LLL refers to this: https://en.wikipedia.org/wiki/Lenstra–Lenstra–Lovász_lattice_basis_reduction_algorithm


Hive Logs: Make limit custom

The limit - aka the total number of log events the query will fetch - was set to 20. This commit allows the user to choose larger limits based on their needs. The largest is set to 10,000, assuming anything larger might result in hitting the CloudWatch timeout.
/assign @2uasimojo

/override "Red Hat Konflux / hive-operator-enterprise-contract / hive"
/override "Red Hat Konflux / hive-mce-27-on-pull-request"


fix(stylelint-config-pie): DSW-000 add js extension to rule imports for ESM compat

Describe your changes (can list changeset entries if preferable)

[Changed] - Add file extensions to rule imports

Fixes issue in native ESM environments, where without the prefix, it throws an error.
Author Checklist (complete before requesting a review)

[x] I have performed a self-review of my code
[x] If changes will affect consumers of the package, I have created a changeset entry.
[ ] If a changeset file has been created, I have used the /snapit functionality to test my changes in a consuming application

/snapit


Error: This callback function has already been called by someone else; it can only be called one time.

Hello, can everyone help me?
I get the following error:

/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once.js:11
      throw new Error("This callback function has already been called by someone else; it can only be called one time.");
      ^

Error: This callback function has already been called by someone else; it can only be called one time.
    at /usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once.js:11:13
    at IPSymcon.<anonymous> (/usr/lib/node_modules/homebridge-ip-symcon/index.js:97:9)
    at Request._callback (/usr/lib/node_modules/homebridge-ip-symcon/index.js:66:6)
    at Request.self.callback (/usr/lib/node_modules/homebridge-ip-symcon/node_modules/request/request.js:186:22)
    at emitTwo (events.js:100:13)
    at Request.emit (events.js:185:7)
    at Request.<anonymous> (/usr/lib/node_modules/homebridge-ip-symcon/node_modules/request/request.js:1081:10)
    at emitOne (events.js:90:13)
    at Request.emit (events.js:182:7)
    at IncomingMessage.<anonymous> (/usr/lib/node_modules/homebridge-ip-symcon/node_modules/request/request.js:1001:12)

Can anybody help me? Here is the code of my plugin:
https://github.com/Schnittcher/homebridge-ip-symcon/blob/master/index.js
Thanks.

Your code invoked callback twice when an error occurred for request. Here and here.

Thank you for the answer, but what i must do?
Sorry i am a newbie.

I have found my mistake:
At this function: https://github.com/Schnittcher/homebridge-ip-symcon/blob/master/index.js#L113
When I use .GetValue() it works.
But antoher question when I want to set the switch, how do I get the response?
I used this:
                this.switchService
                .getCharacteristic(Characteristic.On)
                .on('set', this.setSwitchState.bind(this))

  setSwitchState(callback) {
       this.log("Set Switch State...");
       if (this.data == 1) {
         var url = encodeURI(this.SetURLOff + "&device="+ this.name);
       }
       else {
         var url = encodeURI(this.SetURLOn + "&device="+ this.name);
       }
       this.log(url);
       this.httpRequest(url, "", "GET", "", "", "", function(error, response, responseBody) {
       if (error) {
         this.log('getSwitchState function failed: %s', error.message);
         callback(error);
       } else {
                var binaryState = parseInt(responseBody);
           }
         var powerOn = binaryState > 0;
         this.data = powerOn;
         this.log("currently %s", binaryState);
   callback(null, this.data);
       }.bind(this))

     }

Thanks for helping me and sorry for my bad english.

Your function signature for the 'set' event function is wrong, it is supposed to be function(value, callback, context)
value: the new value selected in homekit app
callback: a function you must call when your action is completed
context: an object you get passed from any Characteristic.setValue() invocation, so you can avoid to catch your own updates in a loop.
Here is how I did it., and if you find German comments in the code you're probably able to read it anyway!

Thanks you, it works. :)


#2794: Programmatically test API compatibility

Programmatically test API compatibility
Сomparing the API surface using a comparison of the.d.tsfiles or using existing utils

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-16181


Param earlyStoppingRound does not exist

I am using mmlspark version 0.15 for python on  my windows system. I am getting following exception while fitting my model. Any help will be highly appreciated.
py4j.protocol.Py4JJavaError: An error occurred while calling o1109.getParam.
: java.util.NoSuchElementException: Param earlyStoppingRound does not exist.
at org.apache.spark.ml.param.Params$$anonfun$getParam$2.apply(params.scala:729)
at org.apache.spark.ml.param.Params$$anonfun$getParam$2.apply(params.scala:729)
at scala.Option.getOrElse(Option.scala:121)
at org.apache.spark.ml.param.Params$class.getParam(params.scala:728)
at org.apache.spark.ml.PipelineStage.getParam(Pipeline.scala:42)
at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)
at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)
at py4j.Gateway.invoke(Gateway.java:282)
at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
at py4j.commands.CallCommand.execute(CallCommand.java:79)
at py4j.GatewayConnection.run(GatewayConnection.java:238)
at java.lang.Thread.run(Thread.java:745)

It is written in v0.17's release comments that is "Add early stopping capabilities". I assume a early stopping parameter from v0.17.

@uzair4520 early stopping does exist, but you also need to specify the validation data as an index.  I would recommend using the latest 1.0 version as there were a lot of bugfixes for this functionality since 0.17.

closing issue as this feature was added in a newer release


Suggesting twig?

vagrant@scotchbox:/var/www$ composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)

Installing thomaswelton/gravatarlib (0.1.0)
Downloading: 100%

Installing thomaswelton/laravel-gravatar (0.1.0)
Downloading: 100%

thomaswelton/gravatarlib suggests installing twig/twig (>=1.4.0)
Writing lock file
Generating autoload files
Generating optimized class loader
vagrant@scotchbox:/var/www$ composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)

Installing thomaswelton/gravatarlib (0.1.0)
Downloading: 100%

Installing thomaswelton/laravel-gravatar (0.1.0)
Downloading: 100%

thomaswelton/gravatarlib suggests installing twig/twig (>=1.4.0)
Writing lock file
Generating autoload files
Generating optimized class loader
Could someone explain my why it is suggesting me to install twig?

Easy one, thomaswelton/gravatarlib is a fork of emberlabs/gravatarlib and it includes Twig integration, so I guess they really love Twig and want to boost adoption.


OCR recognition doesn't seem to have mask generation, which I think would be a welcome feature

Maybe it's my problem, but I've tried, and the mask is always a black picture with nothing.

same. outputting a mask of all text with ocr_with_regions would be really useful.


CAMEL-12891 - Allow getConfigMap operation to specify namespace.

Merged on master, 2.22.x and 2.21.x, thanks @bobpaulin

Thanks @bobpaulin merged on master, 2.22.x and 2.21.x


Run should not exit if it cannot create an object

When run creates objects from the manifest it should not exit if it fails to create the service account just because the service account already exists.
Reproduce: do a sonobuoy run, delete the heptio-sonobuoy namespace, try to sonobuoy run --mode=quick --preflight and you get
ERRO[0002] error attempting to run sonobuoy: failed to create object: failed to create API resource sonobuoy-serviceaccount: clusterrolebindings.rbac.authorization.k8s.io "sonobuoy-serviceaccount" already exists

which isn't really an error state

(same for cluster role binding and cluster role)

with kubectl apply i get this behavior:
namespace "heptio-sonobuoy" created
serviceaccount "sonobuoy-serviceaccount" created
clusterrolebinding "sonobuoy-serviceaccount" configured
clusterrole "sonobuoy-serviceaccount" configured
configmap "sonobuoy-config-cm" created
configmap "sonobuoy-plugins-cm" created
pod "sonobuoy" created
service "sonobuoy-master" created

Could we allow duplicates for anything without a namespace? Does that make sense?

I don't want to do the full "merge" logic because it's really complicated and kubectl doesn't export any of it

Yeah that seems reasonable.


Unroll indirection in paths

This makes path calculation explicit so it’s easier to maintain.
In the future we can put paths.before-eject.js and paths.after-eject.js into separate files so we don’t need to ship dev-only or dep-only code.
I haven’t actually tested this yet.

👍

e2e passed locally so I’ll get this in.
Travis is annoyingly slow today.


calling convention must be varargs

Update: The reason could be because of Change Tracking Proxies created by Entity framework instead of creating the instances of the entities directly. The Proxy classes are not being handled by Tiny mapper. It is no other way as of I know to overcome this. Anyone have any Idea?
The original problem I posted some time back:
I am having ASP.Net Entities with their repositories and Viewmodels to get exposed from my Services layer. When I try to Bind any of my entity to viewmodel, I am getting an error with no inner exception but with stack trace
The code which causing the issue is : TinyMapper.Bind<EnterpriseProfile, EnterpriseProfileViewModel>();
Can I have some idea what was the mistake I made?
The exception is as below:
"Message": "An error has occurred."
"ExceptionMessage": "Calling convention must be VarArgs."
"ExceptionType": "System.InvalidOperationException"
"StackTrace": " at System.Reflection.Emit.ModuleBuilder.GetMemberRefToken(MethodBase method, IEnumerable1 optionalParameterTypes) at System.Reflection.Emit.ModuleBuilder.GetMethodTokenInternal(MethodBase method, IEnumerable1 optionalParameterTypes, Boolean useMethodDef) at System.Reflection.Emit.ILGenerator.GetMethodToken(MethodBase method, Type[] optionalParameterTypes, Boolean useMethodDef) at System.Reflection.Emit.ILGenerator.EmitCall(OpCode opcode, MethodInfo methodInfo, Type[] optionalParameterTypes) at Nelibur.ObjectMapper.CodeGenerators.CodeGenerator.EmitCall(MethodInfo method) at Nelibur.ObjectMapper.CodeGenerators.CodeGenerator.EmitCall(MethodInfo method, IEmitterType invocationObject, IEmitterType[] arguments) at Nelibur.ObjectMapper.CodeGenerators.Emitters.EmitMethod.EmitterCallMethod.Emit(CodeGenerator generator) at Nelibur.ObjectMapper.CodeGenerators.Emitters.EmitProperty.EmitLoadProperty.Emit(CodeGenerator generator) at Nelibur.ObjectMapper.CodeGenerators.CodeGenerator.EmitCall(MethodInfo method, IEmitterType invocationObject, IEmitterType[] arguments) at Nelibur.ObjectMapper.CodeGenerators.Emitters.EmitMethod.EmitterCallMethod.Emit(CodeGenerator generator) at Nelibur.ObjectMapper.CodeGenerators.Emitters.EmitProperty.EmitStoreProperty.Emit(CodeGenerator generator) at Nelibur.ObjectMapper.CodeGenerators.Emitters.EmitComposite.<>c__DisplayClass1.b__0(IEmitter x) at System.Collections.Generic.List1.ForEach(Action1 action) at Nelibur.ObjectMapper.CodeGenerators.Emitters.EmitComposite.Emit(CodeGenerator generator) at Nelibur.ObjectMapper.CodeGenerators.Emitters.EmitComposite.<>c__DisplayClass1.b__0(IEmitter x) at System.Collections.Generic.List1.ForEach(Action1 action) at Nelibur.ObjectMapper.CodeGenerators.Emitters.EmitComposite.Emit(CodeGenerator generator) at Nelibur.ObjectMapper.Mappers.Classes.ClassMapperBuilder.EmitMapClass(TypePair typePair, TypeBuilder typeBuilder) at Nelibur.ObjectMapper.Mappers.Classes.ClassMapperBuilder.BuildCore(TypePair typePair) at Nelibur.ObjectMapper.Mappers.MapperBuilder.Build(TypePair typePair) at Nelibur.ObjectMapper.Mappers.TargetMapperBuilder.Build(TypePair typePair) at Nelibur.ObjectMapper.TinyMapper.BindTSource,TTarget at Infa.Services.EnterpriseProfileService.GetByAliasName(String aliasName) in e:\Ganesh\InfaCLOUD\Common\Infa.Services\Profile\EnterpriseProfileService.cs:line 26 at Infa.Crop.Web.Controllers.AccountController.d__29.MoveNext() in e:\Ganesh\InfaCLOUD\Crop\Infa.Crop.Web\Controllers\AccountController.cs:line 358 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at System.Threading.Tasks.TaskHelpersExtensions.<CastToObject>d__31.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at System.Web.Http.Controllers.ActionFilterResult.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at System.Web.Http.Controllers.AuthenticationFilterResult.d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at System.Web.Http.Dispatcher.HttpControllerDispatcher.d__1.MoveNext()"

I found this issue not appearing in ExpressMapper I am happy with that. And performance is much better than TinyMapper.
Please improve the TinyMapper, I will try to comeback. Thanks! See you soon...
My Express mapper code....
        var entity = enterpriseProfileRepository.GetByAliasName(aliasName);
        EnterpriseProfileViewModel viewModel = new EnterpriseProfileViewModel();
        Mapper.Map<EnterpriseProfile, EnterpriseProfileViewModel>(entity, viewModel);
        return viewModel;

Could  you please share your source and target classes. I'll try to reproduce the issue

Simple steps to reproduce....!
Create an Entity Framework 6.1.3 project.
Read an entity from Database.
Put a breakpoint at the object returned. If you can't see the Entity class as it is. The class name would be something like this
System.Data.Entity.DynamicProxies.EnterpriseProfile_53366BBAB15B8167278E6798A23FA3DFC8A4CED175D940EFE7F18960B79076DE
My actual class name is EnterpriseProfile. But, the entity framework creates object of the type a proxy class with the above name to return. When you pass this object as a source to Tiny Mapper, you will get an the error as "calling convention must be varargs".
Thats it...
If you still want the source and target classes, I will post again. Thanks!

@technicalganesh: Can you please post the source and target classes? Thanks.


Make sure issues don't automatically close for internal contributors.

Test for PR https://github.com/Expensify/Web-Expensify/pull/33225

The issue stayed open so this QA check passed.


疑似在1.74.0版本的VSCode下会导致磁盘极大占用

Describe the bug
A clear and concise description of what the bug is.
清楚简明地描述了该错误是什么。
无法播放音乐的同时挂机一段时间后blob_storage暴增到50G左右
Error information
Paste or screenshot the content in Help->Toggle Developer Tools->Console.
粘贴或截屏帮助->切换开发者工具->控制台中的内容。
尝试重启VSCode后解决故没有截图
Server logs
Execute cloudmusic.openLogFile.
执行 cloudmusic.openLogFile。
…
2022-12-10T15:04:08.487Z RequestError: New streams cannot be created after receiving a GOAWAY
at us. (file:///c:/Users/X/.vscode/extensions/yxl.cloudmusic-9.17.0-win32-x64/dist/server.mjs:33:38611)
at Object.onceWrapper (node:events:646:26)
at us.emit (node:events:538:35)
at us.emit (node:domain:475:12)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
at new NodeError (node:internal/errors:371:5)
at ClientHttp2Session.request (node:internal/http2/core:1722:13)
at g.request (file:///c:/Users/X/.vscode/extensions/yxl.cloudmusic-9.17.0-win32-x64/dist/server.mjs:2:42930)
at Object.resolve (file:///c:/Users/X/.vscode/extensions/yxl.cloudmusic-9.17.0-win32-x64/dist/server.mjs:2:43534)
at $e._accept (file:///c:/Users/X/.vscode/extensions/yxl.cloudmusic-9.17.0-win32-x64/dist/server.mjs:2:39468)
at file:///c:/Users/X/.vscode/extensions/yxl.cloudmusic-9.17.0-win32-x64/dist/server.mjs:2:40299
at new Promise ()
at $e.getSession (file:///c:/Users/X/.vscode/extensions/yxl.cloudmusic-9.17.0-win32-x64/dist/server.mjs:2:39570)
at file:///c:/Users/X/.vscode/extensions/yxl.cloudmusic-9.17.0-win32-x64/dist/server.mjs:2:43484
at new Promise ()
2022-12-10T15:04:43.621Z RequestError: Stream closed with error code NGHTTP2_REFUSED_STREAM
at us. (file:///c:/Users/X/.vscode/extensions/yxl.cloudmusic-9.17.0-win32-x64/dist/server.mjs:33:38611)
at Object.onceWrapper (node:events:646:26)
at us.emit (node:events:538:35)
at us.emit (node:domain:475:12)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
at new NodeError (node:internal/errors:371:5)
at ClientHttp2Stream._destroy [as __destroy] (node:internal/http2/core:2330:13)
at t._destroy (file:///c:/Users/X/.vscode/extensions/yxl.cloudmusic-9.17.0-win32-x64/dist/server.mjs:2:36973)
at _destroy (node:internal/streams/destroy:102:25)
at ClientHttp2Stream.destroy (node:internal/streams/destroy:64:5)
at Http2Stream.onStreamClose (node:internal/http2/core:544:12)
(node:14924) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use Code --trace-warnings ... to show where the warning was created)
…
Environment
Paste the content in Help->About.
粘贴帮助->关于中的内容。
版本: 1.74.0 (system setup)
提交: 5235c6bb189b60b01b1f49062f4ffa42384f8c91
日期: 2022-12-05T16:38:16.075Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19045
沙盒化: No

文件夹位置位于：
C:\Users\X\AppData\Roaming\Code\blob_storage
在播放本地缓存曲目持续失败后大小暴增磁盘占用率打满，可以复现

写入磁盘应该属于正常情况（Chrome's Blob Storage System Design），需要关注的是 GC 没被调起还是有内存泄漏

写入磁盘应该属于正常情况（Chrome's Blob Storage System Design），需要关注的是 GC 没被调起还是有内存泄漏

不是很懂。。。这个是大文件缓存？不过目前版本这个问题已经不再出现；现在正常播放时blob_storage目录大小为0，不论切歌还是更换播放列表都没有变化


Reordering request

Need possibility to reorder request in collection or at least requests should be sorted by name.

Fixed in #30. Thanks for the suggestion!


feat: Change the v0.20.x line to use cosmos DB

This is done so we can merge #765

This CI lint seems wrong? I tried changing both of the nolint's in the codebase, but they do warn for a gocritic problem. (Also these are unchanged by this PR)

cc @tac0turtle or anyone who worked on the initial cosmos DB move, any idea why benchmarks is getting build errors for rocksDB and how to fix it?
(Also is this something thats acceptable to merge into v0.20.x line?)

I can look into this. We have different versions for things due to the comet migration so it's confusing.

I can look into this. We have different versions for things due to the comet migration so it's confusing.

I was looking as well lol -> https://github.com/cosmos/iavl/pull/769
I think we cannot because this will break v0.47.x users.

oh yikes thats super confusing. OK :/
Guess I have to revive the IAVL fork until Osmosis updates its SDK

@ValarDragon which version of the sdk do you need this for?

Its for SDK v0.45! But I think it shouldn't be a big deal to make a more complicated IAVL change here to track the batch size in IAVL instead of the DB layer for this release line.


[cluster-test] Refactor perf benchmarks in cluster-test into Experiments

Re-opening PR #1812 since it did not get merged for some reason and I accidentally deleted that branch.
Summary

At a high level: As we add more and more test cases to cluster-test, it becomes hard to squeeze all of them in main.rs. At a high level, this moves individual tests into individual Experiments and moves a few more functions away from main into other libraries
We construct ExperimentSuites with the list of Experiments required and then run those ExperimentSuite

Details:

Update experiment run to return an Option which is the result of an experiment

Some experiments will have results like perf results, some experiments will not like reboot random validators

Convert perf benchmarks into three separate experiments: PerformanceBenchmark, PerformanceBenchmarkNodesDown, PerformanceBenchmarkThreeRegionSimulation

This reduces the amount of code that we have to maintain in main.rs makes creating new experiment suites easier

Update new_pre_release which adds the performance experiments as well
Create a stats module which contains the queries for various stats like tps, latency, etc. Move code from main.rs to this module
Move activate_all, deactivate_all logic into effects module
Move emit_txn_for into tx_emitter module

Test Plan
Ran on my dev cluster

Can you change headline of commit to [cluster-test] Refactor perf benchmarks in cluster-test into Experiments.
I imagine this is not last refactor of cluster test, we can't call all of them 'Refactor cluster-test'

@bors-libra r+

:pushpin: Commit e6d35e2 has been approved by andll

:hourglass: Testing commit e6d35e2c89c373b5bc9cb7c7995a94a90277bf84 with merge 836c5c6132989357adbf6809edbb2af9fcf01c00...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: andll
Pushing 836c5c6132989357adbf6809edbb2af9fcf01c00 to master...


add souvenir flag

Drops only on Dependence Day with the Patriotic Eagle as active familiar (looks like a 5% drop from cursory spading). No idea if anything else needs added.
Cosmetic item by the looks of things (adds flags to your profile page).

It adds flags to your profile page?
It does this

(that is a random person who is buying them in /trade presumably spading if there's a trophy or something if you have more than a specific number). Whether it does that on non-dependence days we'll find out tomorrow.

Does it give you a status effect?

Doesn't look like it. Cosmetic only from what I can see.

If not, I assume it's a character flag of some sort which will be cleared at rollover, presumably.

Apparently it isn't cleared even on ascension.


source control shows diff between current local version and the current remote version

When a file is which is open in a changelist is opened in diff view, the diff shown is between  current local version and the current remote version.
It should show the diff between the current local version and the version that was last synced to local.
As a consequence Source Control Provider also finds false diffs and shows diffs that are not even yours.

Please use the new version. It doen's have this issue.
https://marketplace.visualstudio.com/items?itemName=mjcrouch.perforce