v-model do not work with hidden input ?

my code:
<input type="hidden" name="measureTime" v-model="measureTime" v-validate="required">

this.measureTime is always empty, but i can see the value in the html source code.
html source code:
<input type="hidden" name="measureTime" value="af">

v-model doesn't work on hidden input because you shouldn't be using hidden input when you are using Vue. Why store state in the DOM when you can store it in JS directly?

Just came across.
I need using it with select2 type select tag, and the way it works, it's hides the select and show something else.
I know i can use directive but wold be easier if we could just override this behaviour.

Had an issue with Edge not liking v-model on hidden inputs and came across this.
I think the intention with v-model on hidden inputs is to set up a one-way binding, in which case it's much better to use <input type="hidden" v-bind="{ value: someData }" >

What about this use case (a field become visible after a checkbox is checked):

<input type="checkbox" v-model="featureEnabled">

  <input v-model="myModel">

(ps: I'm using an old version of vuejs)

Yeah. @rjoo's solution saved the day.

@yyx990803 same libraries like semantic-ui require hidden input, e.g  to display dropdown with multiples selection.
@rjoo using :value not solve my problem, I use Vue.js 2.0, whats version you are using?

I overcame this problem by using ref on the parent element and then watching for a change either on the hidden field or wait for a callback from the 3rd party lib like semantic ui and then $emit the new value to the ref.
I wrap my 3rd party scripts in components, so here is a quick example of how this would look with semantic ui's dropdown:
<template>

    <slot></slot>

</template>

after this you can use v-model as usual:
<dropdown v-model="myModel">
  Dropdown Stuff
</dropdown>

In your main.js or app.js
Vue.component('semanticui-dropdown', {
  template: `

  <input type="hidden" :value="value">

{{defaultText}}

{{ item.name }}

`,
	props: ['items', 'value', 'defaultText'],
	watch: {
		value: function (val, oldVal) {
			if(val == null) {
				$(this.$el).dropdown('clear');
			}
		}
	},
	mounted() {
		console.log('init the dropdown');
		var t = this;
		$(t.$el).dropdown('refresh').dropdown({onChange: function (value, text, $choice) {
			t.$emit('input', value);
		}});
	}
});

You can change the template wrapped in ` ` as much as you want.
and in your VueComponent.vue
<semanticui-dropdown v-model="id" :items="products" default-text="Choose Products"></semanticui-dropdown>

Ba-Dum-Tss!

@cspeer Thank you for your code. It works. But it still logs warning info when I change dropdown:
[vue-devtools] Ready. Detected Vue v2.1.10
Dropdown: undefined

@mclxly Are you sure you got the latest semantic ui version? I don't see these warnings and my code is exactly like the one described above.

@cspeer Semantic UI - 2.2.7
Today I fixed my problem.
I move the following function into my Vue component.
    $( document ).ready(function() {       $('.ui.dropdown').dropdown({ // dropdown not defined here         on: 'hover'       });     });

Why store state in the DOM when you can store it in JS directly?

How about 3rd party plugins, like jquery color picker?

@yyx990803 Hi, can you please explain me why such limitation got to VUE? html DOM itself allows to set values to hidden inputs...

I've been having the same problem and knocking my head against my desk for an hour over this. :(
I'll implement a workaround for SemanticUI's drop-down tomorrow. I suspect I'll need to do the same for TrumboWYG and ACE, both of which I use heavily in my application (as well as other SemanticUI form elements).
I suspect the underlying issue is that (regardless of input type), "onchange" events only happen in response to user actions, not setting the value programmatically, and since third-party controls using them to store their state don't manually trigger that event, there's nothing for Vue to watch.
Alas, guess we'll have to wait for SemanticUI and everyone else to Vue all the things... :)

Sent PR for suggested addition to documentation about this:
https://github.com/vuejs/vuejs.org/pull/957

But I just want to use the submit event of form

Hi, can you please explain me why such limitation got to VUE? html DOM itself allows to set values to hidden inputs...

v-model is meant to react tu user-input. Hidden fields can't have user input. Ergo, it doesn't make much sense to have v-model on a hidden input. just use a value binding.

@vinayakkulkarni  thanks for the code snippet. Any clue on how to get this semantic calendar plugin to work with vue js?

I'm using the modified version of Bootstrap Datepicker
Created a small component for it.
Vue.component('single-calendar', {
  template: `

          <input type="text" :value="value" :placeholder="placeholder" style="cursor: pointer;">

`,
  props: ['value', 'placeholder'],
  mounted() {
    if (this.placeholder === '' || this.placeholder === undefined) {
      return;
    };
    var t = this;
    $(this.$el).daterangepicker({
          singleDatePicker: true,
          showDropdowns: true,
          autoApply: true
      },
      function(start, end, label) {
          t.$emit('input', end.format('DD-MM-YYYY'));
      });
  }
});

Usage:
<single-calendar v-model="this.date_of_birth" placeholder="Date of Birth"></single-calendar>

ah I guess I tried the same way for semantic calendar but it didn't work.

@manik005, here's what I'm using with that Semantic calendar date-picker. I'm listening for the picker's change event and updating the underlying property. This works for both dates chosen in the picker and those made directly by the user in the input element.
My field properties all come in through a prop rather than binding them individually, which is how I'm mutating the field prop's value key. This wouldn't be considered a best practice by the "props down events up" purists. You could do something similar using a custom input component (https://vuejs.org/v2/guide/components.html#Form-Input-Components-using-Custom-Events) so your calling code can use v-model as if it were a native form element.
<template>

			<input type="text" :name="field.name" ref="valueField" :value="field.value">

</template>

I was making a popover tot edit data, but it didn't work with v-model because i used a hidden div for the template. I fixed it bij using v-show:
content
, i hope this is usefull for someone!

@cspeer I got the same problem, and wanted to try your solution.
Did you ever encounter the problem that, when you select a value its alway that previous value that is selected?
For example if you have an empty select, you pick a value and console.log -> you get empty. After tat you pick a value and the previously picked one gets console.loged.

I know this issue is very old. But I can't find any simpler solution that just use the basic layout of semantic ui dropdown. So I just want to share a work around when using Semantic UI dropdown by attaching to change event on the hidden field.
 <input type="hidden" v-model="yourModelProperty"  @change="yourModelProperty=$event.target.value" >

In my case @acebalajadia solution didn't work with me, it was listing it as [object Object] so I had to come up with alternative way:
<input type="hidden" name="foo" :value="JSON.stringify(foo)">

Rather than needing a hidden input element to pass data to vue, you can directly set the data object directly if vue has been declared as a variable available in a global context.
Step1:
var vm = new Vue({
    el: '#app',
    data: {
             yourData: ""
   }
}}

Step2:
For example in your html you can directly set yourData with your value

Why is it closed?? Vue will not be friends with hidden fields?? 🤔

@pkanane thats brilliant, but what if I need to catch update from 3rd party plugin (like a color picker) who creates and updates a hidden input? Will appreciate advise.

The core problem is that HTML fields don't fire a DOM event when JavaScript code changes the value of the field, only when the user interacts with the field.
This is true of any field modified by third-party code, not just hidden fields, but hidden fields are sort of special because they never emit events (because the user never interacts with them).
There are two ways I'm aware of to work around this (I haven't used either yet):

Modify the third-party code to, in addition to setting the hidden field value, fire a "change" event (or a synthetic event if using the native one is problematic) on that element. Then I expect you could add a v-on listener in Vue like you would to respond to a user's native input.

Have your Vue control set up a MutationObserver (assuming you don't need IE10 support) to watch the value attribute of the hidden field. Theoretically, you might be able to code this up in the form of a Vue directive so it can be re-used easily.

Or... find or write an even better color picker in Vue! :)

Had an issue with Edge not liking v-model on hidden inputs and came across this.
I think the intention with v-model on hidden inputs is to set up a one-way binding, in which case it's much better to use <input type="hidden" :value="someData" >

It save me!!! tks!!!

Trying to have a custom OTC input from design, ran into this issue.
I resolved it by setting the CSS to opacity: 0 and making the input absolute so it didn't take up space in the layout.
Display:none and visibility:hidden both prevented v-model binding.
I get the philosophy, but seems like having these types of safety just means we have to resort to even trickier solutions.


[docs] Updates documents to use JDK 17

Description
Brief description of what this PR is about

If this change is a backward incompatible change, why must this change be made?
Interesting edge cases to note here

Codecov Report
Attention: 1365 lines in your changes are missing coverage. Please review.

Comparison is base (bb5073f) 72.08% compared to head (c29ffd8) 72.21%.
Report is 937 commits behind head on master.

Files
Patch %
Lines

...va/ai/djl/modality/nlp/generate/TextGenerator.java
2.81%
276 Missing :warning:

.../java/ai/djl/modality/nlp/generate/SeqBatcher.java
0.75%
132 Missing :warning:

...ity/nlp/generate/ContrastiveSeqBatchScheduler.java
2.97%
98 Missing :warning:

...i/djl/modality/nlp/generate/SeqBatchScheduler.java
9.83%
55 Missing :warning:

.../java/ai/djl/modality/cv/BufferedImageFactory.java
40.96%
47 Missing and 2 partials :warning:

...a/ai/djl/modality/nlp/generate/StepGeneration.java
2.04%
48 Missing :warning:

api/src/main/java/ai/djl/ndarray/NDArray.java
43.42%
39 Missing and 4 partials :warning:

...n/java/ai/djl/modality/cv/output/CategoryMask.java
22.00%
39 Missing :warning:

...i/src/main/java/ai/djl/ndarray/NDArrayAdapter.java
71.21%
31 Missing and 7 partials :warning:

.../cv/translator/SemanticSegmentationTranslator.java
37.50%
35 Missing :warning:

... and 76 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2898      +/-   ##
============================================
+ Coverage     72.08%   72.21%   +0.12%
- Complexity     5126     7176    +2050
============================================
  Files           473      708     +235
  Lines         21970    31992   +10022
  Branches       2351     3334     +983
============================================
+ Hits          15838    23102    +7264
- Misses         4925     7303    +2378
- Partials       1207     1587     +380

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


replace deprecated TS* highlight groups with capture names

A breaking change has been made to TreeSitter, in which the deprecated TS* highlighting groups were removed (see here).
It is now mandatory that the corresponding capture name be used as the highlight group instead.
This change aims to address this issue.
An issue has already been opened against vscode.nvim regarding this here.

Thanks for the PR. I am merging it now even though there are some issue mentioned in the comment section of issue. Can you please see those?

Hi @Mofiqul ,
Thanks.
I took a quick look at those issues - it appears I got some capture group names just plain wrong.
I went ahead and fixed that, I'll put in another PR.


removing supplemental content from source documentation

The demonstration notebook is now located here: https://github.com/sys-bio/pyomexmeta-binder-notebook; so we don't need to keep it here in the libOmexMeta source documentation.

@CiaranWelsh - can you please check this one. I couldn't see anywhere in the docs where this was linked, but not sure if I missed something...

That’s fine - I was going to add it as a page on the docs website, (which has mysteriously disappeared it seems) but perhaps we could do that later, after publication.


fix: cache the url to keep the page live

Description

add a session storage to store the url for every router
use the cached url to recover the page

Task Item
refs #1220

Screenshots

Coverage remained the same at 0.0% when pulling 4ae42d06af9e52f80075921522a3ef23f58236ea on lei9444:routercache into 4c6913298f122f887f239e5018bce5e965f88b6c on microsoft:master.


[Event Request] Codeunit 249 VAT Registration Log Mgt. - OnBeforeAssistEditVendorVatRegPageRun

Hi Team,
In codeunit 249 we need possibility to replace and avoid using standard code. Having event in the procedure AssistEditVendorVATReg, would be a perfect solution :

[IntegrationEvent(false, false)]
local procedure OnBeforeAssistEditVendorVatRegPageRun(var VATRegistrationLog: Record "VAT Registration Log"; VatRegNo: Text[20])

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


update lockfile

:tada: This PR is included in version 1.4.0 :tada:
The release is available on:

GitHub release
v1.4.0

Your semantic-release bot :package::rocket:


Update how-to-provision-database-throughput.md

Updated the syntax @SnehaGunda

#sign-off

@SnehaGunda: I'm sorry - only the author of this article, @markjbrown, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

Publishing is suspended until Monday, November 4. Merging will resume 7:00am PT Monday.
This PR is ready for merge.

Publishing is   suspended until Monday, November 4. Merging will resume 7 AM Pacific Monday.
This PR is ready for merge.


Initial Setup of Automated UI Testing

Choose UI test framework to so some automated UI testing of the interface.
Choices:

https://saucelabs.com/
python robotframework web driver http://robotframework.org/

Use in Jenkins

add id to web page elements for testing
especially buttons.

@dtarb Assigning to you as we need to re-delegate this task.  This may be something @mauriel133 can work on as he is writing the client code.

Example available in the UI testing branch.
@mjstealey Here are my notes for getting this to work on the docker image:

pip install selenium
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo npm install -g phantomjs-prebuilt

I'm also running into issues with the live_server_url. I'm not sure yet if this is a configuration or docker issue.

Initial set up completed with merge of PR #1614


Calling series-metric-fl() breaks IDE in Azure Log Analytics blade

Concerned function/document:
https://docs.microsoft.com/en-us/azure/data-explorer/kusto/functions-library/series-rate-fl
I am using the function in a Azure Log Analytics blade and after calling it, the IDE breaks.
ReferenceError: UnknownIdentifierResolveResult is not defined
After using this in code, none of the IDE functions work, it turns into a basic text editor.

Very sorry for the error, it's series-rate-fl(), not series-mertic-fl(). Metric is fine.

@FoxSpirit77 Yes typo in function name it seems.
Please Note, GitHub forum is dedicated for docs related issues. For any technical queries or clarifications, we encourage to utilise Microsoft Q & A platform. Kindly raise your query on Microsoft Q&A Platform

Okay, did that. Many thanks :-)

Just to clarify, this is not a query or need for clarification, this is a bug.


Issue with ReadFile() using Griffin Powermate

Hi,
Before I get into my issue, thank you very much for the library.
So, I'm having an issue with the NativeMethods.ReadFile() method (called in HidDevice:ReadData(int timeout) and running not overlapped) in HidDevice.cs. This is on Windows 7 and 10, both 64 bit machines. I'm using this library to connect to the Griffin Powermate.
Issue:
The library and device will be working correctly, and then for some reason it goes awry. When we press the button down on the Powermate, the buffer returned by the ReadFile method returns byte buffers indicating two "Button Up" events instead of the "Button Down" and then "Button Up" events one would expect. And when you rotate the Powermate knob in either direction, the ReadFile method does not return until the knob has been displaced far enough such that two displacement events are returned. And this behavior continues until either the Powermate is unplugged and plugged back in, or sometimes the behavior will randomly stop and the Powermate gets back on track and starts behaving correctly again. This is the typical wonky behavior. Some more rare behaviors when the device is stuck in this mode is that we occasionaly get two "Button Down" events instead of two "Button Up" events. Or random button events show up later in between knob displacement events.
Not sure if this is within the scope of this project, nor if it is a bug in this library. It seems like it might be a problem in the Griffin Powermate hardware/firmware and its interaction with the Windows Kernel32.dll that NativeMethods is wrapping. But, I was wondering if anyone else has seen this issue and knew how to go about fixing it.
Thanks,
Jeff

Hi Jeff, could you explains more about what this relates to. I too have questions about the Power Mate. Are you creating a driver? I had wondered if there is an SDK for this unit? Could you tell me some more about your project and what you are doing. Thanks

Sure.
We were trying to see if we could use the Powermate as a controller to drive some inputs into some hardware. Move left, move right kind of thing. As for a driver, we were using this project, as well as the Powermate example in HidLibrary/Examples from thammer, to convert the output of the Powermate into events that we can capture in our software.  Not sure about an SDK. I think it has an application where you can map the rotations and clicks to various controls, but I haven’t looked into it much. Hope this helps…
From: Chris Johnston<EMAIL_ADDRESS>Sent: Sunday, November 26, 2017 12:14 AM
To: mikeobrien/HidLibrary<EMAIL_ADDRESS>Cc: Jeff Kuehl<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [mikeobrien/HidLibrary] Issue with ReadFile() using Griffin Powermate (#91)
Hi Jeff, could you explains more about what this relates to. I too have questions about the Power Mate. Are you creating a driver? I had wondered if there is an SDK for this unit? Could you tell me some more about your project and what you are doing. Thanks
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/mikeobrien/HidLibrary/issues/91#issuecomment-346991808, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AfswROEofMMnc1vhuoK75Z1ipPlI-RSvks5s6R3ggaJpZM4QNPZo.

Got it!. I am was trying to get better results out of it as a USB device to
control software like Adobe Premiere. Being a programmer I wish they had an
SDK to develope you own driver for it. I could not get it XP Vista driver
to play nice until I got creative with it. Basically, when I would program
commands into it the program (Premiere etc.) was receiving weird stuff and
not the commands. So I did what I do with other controllers. That is let
them send virtual keys (ones not on the standard keyboard e.g. F23) and let
Quick Macros do the talking to the applications. Here are some pics of how
it works

On Tue, Nov 28, 2017 at 7:39 PM, jkqd<EMAIL_ADDRESS>wrote:

Sure.
We were trying to see if we could use the Powermate as a controller to
drive some inputs into some hardware. Move left, move right kind of thing.
As for a driver, we were using this project, as well as the Powermate
example in HidLibrary/Examples from thammer, to convert the output of the
Powermate into events that we can capture in our software. Not sure about
an SDK. I think it has an application where you can map the rotations and
clicks to various controls, but I haven’t looked into it much. Hope this
helps…
From: Chris Johnston<EMAIL_ADDRESS>Sent: Sunday, November 26, 2017 12:14 AM
To: mikeobrien/HidLibrary<EMAIL_ADDRESS>Cc: Jeff Kuehl<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [mikeobrien/HidLibrary] Issue with ReadFile() using Griffin
Powermate (#91)
Hi Jeff, could you explains more about what this relates to. I too have
questions about the Power Mate. Are you creating a driver? I had wondered
if there is an SDK for this unit? Could you tell me some more about your
project and what you are doing. Thanks
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://github.com/
mikeobrien/HidLibrary/issues/91#issuecomment-346991808>, or mute the
thread<https://github.com/notifications/unsubscribe-auth/
AfswROEofMMnc1vhuoK75Z1ipPlI-RSvks5s6R3ggaJpZM4QNPZo>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mikeobrien/HidLibrary/issues/91#issuecomment-347713015,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALKsDfVkRMM9RTdrKX7nXtfp9pKo7fvZks5s7KengaJpZM4QNPZo
.


feat: add Config groups to API - [merged]

Merges 160-api-config -> development
:books: Summary

add config to api for nofusscomputing/projects/ansible/collections/centurion_erp_collection#4
:link: Links / References

nofusscomputing/projects/ansible/collections/centurion_erp_collection#4
#160
#161

:construction_worker: Tasks

[ ] Add your tasks here if required (delete)

[ ] Contains ~"breaking-change" Any Breaking change(s)?
Breaking Change must also be notated in the commit that introduces it and in Conventional Commit Format.

[ ] Release notes updated

[x] ~Documentation Documentation written
All features to be documented within the correct section(s). Administration, Development and/or User

[x] Milestone assigned

[x] Unit Test(s) Written
ensure test coverage delta is not less than zero

mentioned in commit 968b3a0f929b67b5a3b1d55e04419c2da78a725b

mentioned in commit 4fd157a785d354b2a97baaa1196d95bec3b5bdc2

mentioned in commit 65269382b3b228a89eab8f271189d2e6e4f13796

mentioned in commit f5ba608ed1e7d2bebde67ce1df36b09f279175ac

added 3 commits
f5ba608e - ci: var to export for use in script40b83e4b - feat(api): Ability to fetch configgroups from api along with config65269382 - test(api): test configgroups API fields
Compare with previous version

mentioned in commit 40b83e4b289e6ebbab2e9cefe12e510cb67fb602

added 1h 8m of time spent

added 5m of time spent

ToDo

[x] Add device groups to api

ToDo

[x] Add un-rendered device config to devices page and rename config -> rendered_config

added 1h 56m of time spent

mentioned in merge request nofusscomputing/projects/ansible/collections/centurion_erp_collection!7

added 2 commits
968b3a0f - feat(api): Ability to fetch configgroups from api along with config4fd157a7 - test(api): test configgroups API fields
Compare with previous version

mentioned in commit 213644a51a11169fcb71251f967e074274918633

added 2 commits
281d8398 - feat(api): Add device config groups to devices213644a5 - test(api): Field existence and type checks for device
Compare with previous version

mentioned in commit 281d839801154a9a440cd503afbc04586d648d21

issue nofusscomputing/projects/ansible/collections/centurion_erp_collection#5 raised to cover.

resolved all threads

added 24m of time spent

marked the checklist item Milestone assigned as completed

mentioned in commit nofusscomputing/projects/ansible/collections/centurion_erp_collection@306f8fab43cb9edb0b2c78009f9f78abc50d800f

added 1 commit
2f55024f - fix(api): Ensure device groups is read only
Compare with previous version

mentioned in commit 2f55024f0b34013ce944ec524094446705dcddc4

mentioned in commit nofusscomputing/projects/ansible/collections/centurion_erp_collection@90578056b42be8c5daac4d793893fcf041bf6df9

marked the checklist item ~Documentation Documentation written as completed

approved this merge request

marked the checklist item Unit Test(s) Written as completed

added 20m of time spent

mentioned in commit a4b37b34a91e0fb7416d889d508d1851c3bf108d

added 1 commit
a4b37b34 - docs: Add dets of collection
Compare with previous version

mentioned in commit 3993cc96a5cc61b0ed455f2d2b0c21af100fe8c4

enabled an automatic merge when all merge checks for a4b37b34a91e0fb7416d889d508d1851c3bf108d pass


Tuners limited to 3 - this used to be 4

UNRAID - Docker
Not a configurable item, however at somepoint the default/ limit for tuners was reduced from 4 to 3

I RTFMed and added - l2t_tuner_count to the config; other issue/bug I reported is still an issue.  However, I do suggest the default be set back to 4 as this is what it was previously.

Tuner count is actually 16.. Not sure what the template (that I don't maintain) does..

@wouterdebie - apologies about the unraid template issues; wasn't clear about the ownership.  I run your solution in unraid, portainer, and bare metal (arm); family ;-)
Not sure if there is a contribution option; buy you a beer, coffee, etc.  Have a great evening/ rest of your weekend.

@dwilson1251 No worries! I don't maintain the unraid template, but the rest is mine :)
Funny enough, I'm in the process of adding a donation thing to this project! I'm planning on donating it all to projects that support women and underprivileged kids in STEM education.

@wouterdebie - Count me in
Sorry in advance; you got me looking at the code ;-)  I may be looking at this wrong as I am by no means a modern day dev, but take a look at the following; the config.example indicated a default value of 3 tuners and I'm assuming "(3)" is the default value if it doesn't see a value for :
https://github.com/wouterdebie/locast2tuner/blob/main/src/config.rs
    conf.tuner_count = cfg
        .grab()
        .arg("tuner_count")
        .env("l2t_tuner_count")
        .conf("tuner_count")
        .t_def::<u8>(3);

@dwilson1251 NICE CATCH! Just saying 16 doesn't make it 16 :D Releasing soon!

v0.3.2 baking..


ext-scalatags: Add support for multiple styles per element

Based on scalatags' own Cls to Modifier implicit conversion.

Hi @maanaben, just to let you know I'm overloaded with other issues this week - I plan to look at this on the coming Monday.

LGTM


frequency_domain() method

Hi @rhenanbartels, thanks for this convenient repository.
I successfully install and import the hrv package, but I have a problem while using the frequency_domain() method.
The issue is, I consider the parameter 'fs' stands for the sampling frequency due to the lack of docstring in the method. So I put in the value of sample frequency and obtain 'nan' value back without error.
Could you please help to explain the parameter?
Thanks a lot!

Okay, I saw the parameter 'fs' in the 'welch' method of the scipy package. I do misunderstand it, sorry.


Add PatrickXYS as a member of Kubeflow org

Hi, my name is Yao, I'm a Software Development Engineer at AWS Elastic Kubernetes Service team.
I made several PRs to different Kubeflow repositories including website, kfctl, manifest, kubeflow, etc.

kubeflow/kubeflow#4879
kubeflow/kfctl#282
kubeflow/kfctl#273
kubeflow/website#1780
kubeflow/manifest#982
kubeflow/manifest#953
kubeflow/manifest#952

And I help Kubeflow community solve problems and triage issues. Besides that, I also answer Kubeflow Slack channel questions.

/assign @theadactyl

+1. @PatrickXYS is helping improve Kubeflow user experience for AWS users. Thanks for the contribution!

/cc @jlewi

/lgtm
/approve


Trust Contracts - POC for a WebAssembly engine

To get started we need a working proof of concept WebAssembly engine integrated into Agora.

Status update:-
Currently the source/agora/node/WasmEngine.d unit tests run locally on either Ubuntu or MacOs.
In ci the build fails for MacOs so the install of wasmer needs to be fixed.
I managed to fix the linux build in Github workflow by using the bash installer. However currently one of the network unit tests fail.
For running wasmer in Alpine linux there is a challenge to get wasmer installed and working as the normal bash installer does not work. Wasmer should support linux musl so it is just a matter of finding a way to install it.

Currently blocked as Agora can not start but crashes within the code initialization in https://github.com/ldc-developers/druntime/blob/7946ce1cdf864025101b88243dd0c2eae5f014b5/src/rt/sections_elf_shared.d#L401-L445

We worked a bit on that issue, and managed to get a function that accessed the Ledger called from WAT (WebAssembly Text) 💥
Key findings:

Binding is done outside of WebAssembly, essentially module_.instantiate(array_of_functions_that_matches_exports);
import "module" "function" => module is provided when using Function.asExtern;
We couldn't use the Function ctor that takes a delegate, had to provide the function type explicitly;
There's two types of functions, one with "environment" (context) and one without: Another way to provide context is also to use the global scope of the module (we did that with log for example);

Rough list of steps to take:

[x] Get a simple, self contained WASM example to compile and run;
[x] Pass arguments to and get values from a WASM function;
[x] Have a WASM function call a D function and return blockchain data;
[ ] Define list of primitives we want to expose;
[ ] Define types we want to expose;
[ ] Get a sample C / C++ / JS code to compile to WASM and use it in Agora;
[ ] Integrate contract code in Blocks;
...
Profit


Anchor link component

Ref: https://equinor.slack.com/team/U02N7FCF3GT

For the backlog: we would like to explore to have a separate component for anchors, to make it easier to place them correctly.

Hi @padms, left a couple of minor cleanup comments, other than that it looks rly good! well done! :)


[P1] Storage: Rename IPRange to SasIPRange

https://apiview.azurewebsites.net/Assemblies/Review/b48340c11dab4e88b3b2bd269bc03661#Azure.Storage.Sas.IPRange

Closed with https://github.com/Azure/azure-sdk-for-net/pull/8170


SyntaxError in /

Error in ClashLeaders
SyntaxError in /
Unexpected token < in JSON at position 0
View on Bugsnag
Stacktrace
unknown file:0 - unknown method

View full stacktrace
Created automatically via Bugsnag

An error linked to this issue has been marked as fixed in Bugsnag
SyntaxError in /clan/tu-fei-xiao-lian-meng-pypcv2cq

An error linked to this issue has been reopened in Bugsnag
SyntaxError in /clan/li-ming-zhi-zhan-bai-ya-ju-8pjvp22r

An error linked to this issue has been marked as fixed in Bugsnag
SyntaxError in /

An error linked to this issue has been reopened in Bugsnag
SyntaxError in /clan/huo-yue-24xiao-shi-2uljgcjr

An error linked to this issue has been marked as fixed in Bugsnag
SyntaxError in /clan/the-p-e-k-k-a-8jcq8rlp

An error linked to this issue has been reopened in Bugsnag
SyntaxError in /clan/fang-lang-zhe-nokuran-qyg2uur

An error linked to this issue has been marked as fixed in Bugsnag
SyntaxError in /

An error linked to this issue has been reopened in Bugsnag
SyntaxError in /clan/romania-bros-c2029lu

An error linked to this issue has been marked as fixed in Bugsnag
SyntaxError in /clan/romania-bros-c2029lu

An error linked to this issue has been reopened in Bugsnag
SyntaxError in /clan/c-n-tiao-zhan-zhe-lpq9uv8r

An error linked to this issue has been reopened in Bugsnag
SyntaxError in /clan/skiesofglory-uyvygvrv

An error linked to this issue has been marked as fixed in Bugsnag
SyntaxError in /clan/pinoyteam-elite-y0cc8u2

An error linked to this issue has been reopened in Bugsnag
SyntaxError in /clan/only-avoid-y9l028pc

An error linked to this issue has been reopened in Bugsnag
SyntaxError in /


Word/Byte extension

With this PR it can parse a Word, Byte and Bitset.

In this pr there is no reference to the endianess of the block, word, byte, my suggestion is to take care of the endianess, in order to make it transparent to the final user

In this pr there is no reference to the endianess of the block, word, byte, my suggestion is to take care of the endianess, in order to make it transparent to the final user

I prefer keep this for another PR


Add advanced flag option

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.
Problem/Feature
This is just the foundation to add more advanced features referenced in this issue. I wanted to get this in to make sure I was on the right track with where we want this to go.
Description of Changes:

Adds an optional --advanced or -a flag to the create command.
I didn't add anything to the README yet, pending approval on the direction.

I was thinking we might want to wait to merge this until we get one advanced feature added. Maybe we make an 'advanced' branch that we can merge into?
Checklist

[ ] I have self-reviewed the changes being requested
[ ] I have updated the documentation (if applicable)

Closing and will reopen later when more features are implemented


Missing Microsoft.SqlServer.DacFx.x86 package for DAC tools version 150

Not sure this is the right place/repo for this issue, but it is the closest one I can find. Hopefully someone can route this to the right place/person/team...
I have a SQL Azure Database deployment that depends on custom DeploymentPlanModifier. It references this NuGet package: https://www.nuget.org/packages/Microsoft.SqlServer.DacFx.x86/140.3881.1
Well, now our build agents and Azure Database supports compatibility level 150 so our release process is using the 150 DAC tools (located in C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\Microsoft\SQLDB\DAC\150 for us). This version of the tools won't load our custom plan modifier.
We get this error:
Error Deploy72002: DeploymentContributor 'XXX' threw exception. Message is: 'Could not load file or assembly 'Microsoft.Data.Tools.Schema.Sql, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)'
DeploymentContributor 'XXX' threw exception. Message is: 'Could not load file or assembly 'Microsoft.Data.Tools.Schema.Sql, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)'
Could not load file or assembly 'Microsoft.Data.Tools.Schema.Sql, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
The Azure SQL DACPAC task failed. SqlPackage.exe exited with code 1.Check out how to troubleshoot failures at https://aka.ms/sqlazuredeployreadme#troubleshooting-

All the assemblies I need are in the DAC 150 tools folder, but this isn't 2001 where we copy DLLs around manually. Give me an updated NuGet package.

We've finally shipped nuget versions that support compat level 150. Sorry for the delay.
https://www.nuget.org/packages/Microsoft.SqlServer.DacFx.x64/150.4200.1
https://www.nuget.org/packages/Microsoft.SqlServer.DacFx.x86/150.4200.1


Feature: Window size configuration

I'm trying to modify the cat adding him hats but the window dimensions aren't high enough. It could be useful to have a quick configuration for the window dimensions. Having to compile the source to resize the window is a bit of a trouble.

Sure, let me see what I can do about it, because the image resolution is pretty fixed so I need to find some way to resize the window without breaking the artifacts.

I have learn a bit of c++ and I'm trying to figure out how to solve this. I got to compile the project and change the height directly in the code, the only problem is that every sprite starts rendering from the top so I only get a big white empty space below all the images.
I see that width and height are kind of hardcoded but I haven't found where yet.
https://github.com/kuroni/bongocat-osu/blob/0714582791529af714bc9a6a6a6f77497c7c561d/src/main.cpp#L15
If it's not problematic I'm thinking about moving the reading config part before the creation of the window so I can access the configuration, adding two new fields in decoration "extraHeight" and "extraWidth" (I'm going to start with extra dimensions, I think it will be easier that way).
I'm new to SFML so I hope the code doesn't end up too messy.

I think just calling window.draw() with a sf::RenderStates created with a sf::Transform translation is enough.
I got this result after calling the first window.draw() with it (the one that renders the background). Maybe I can find a solution this weekend.

Seems to work. I will do some cleaning tomorrow and open the pull request.


odo list output inconsistent

/kind bug

What versions of software are you using?
Operating System:
Win10Pro
Output of odo version:
odo v3.0.0-beta2 (c8e4458f4)

Server: https://api.sandbox-m2.ll9k.p1.openshiftapps.com:6443
Kubernetes: v1.23.5+9ce5071

How did you run odo exactly?

odo init
odo list <- report a single component
odo dev
odo list <- report 2 components

Actual behavior
Report 2 components
Expected behavior
A single component should be reported
Any logs, error output, etc?

I am unable to reproduce this issue. I still see a single component after odo dev. Unless you change the .metadata.name in devfile.yaml in the middle of odo dev, I think odo list works as expected.

No I did not but I set my own component name and did not use the default while in odo init

@jeffmaury If you are still able to reproduce this can you please share the content of
devfile.yaml and .odo/env/env.yaml  ?

Closing as I was running the second odo list command from a wrong folder


Users don't have permission to use the command /job

Users don't have permission to use the command /job. I checked the config for anything obvious, but I can't figure out what's wrong without any documenation.
How do I fix this?

Nwm, I figured it out.


[BEAM-4246] Remove Maven build directory dependency in Apex runner.

DESCRIPTION HERE

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand:

[ ] What the pull request does
[ ] Why it does it
[ ] How it does it
[ ] Why this approach

[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Run ./gradlew build to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

This change is also needed for parallel test execution, as otherwise tests write to the same output directory.


Cannot find module "fs"

Hey,
When I try and use, I seem to get the following error:

Cannot find module "fs"

Here's my code:
import Vue         from 'vue';
import VeeValidate from 'vee-validate';
import VueElectron from 'vue-electron';
import { sync }    from 'vuex-router-sync';

import App         from './components/App.vue';
import store       from './store';
import router      from './router';

Vue.use(VeeValidate);
Vue.use(VueElectron);

sync(store, router);

const app = new Vue({
	el: '#app',
	router,
	store,
	template: '<App/>',
	components: { App }
});

In my root component (App.vue), I'm just trying to log the current version of my app.
mounted: function() {
    console.log(this.$electron.remote.app.getVersion());
},

I'm using webpack to compile my app.
Any ideas? Thanks in advance.

@JoeDawson
Make sure to have your webpack's target set to electron-renderer so the node specific modules are exposed properly.

Hey @SimulatedGREG,
Thanks for your reply. I've added this to my config, but I appear to be seeing this error now:

This relative module was not found:

./package in ./~/got/index.js

I'm using https://github.com/JeffreyWay/laravel-mix as wrapper for Webpack, it just made it easier to get going with Webpack.
So my webpack.mix.js looks like this:
const { mix } = require('laravel-mix');

mix.js('src/js/app.js', 'app/assets/js')
   .sass('src/sass/app.scss', 'app/assets/css').options({
      processCssUrls: false
   });

mix.webpackConfig({
    target: "electron-renderer"
});

Do you have any idea why I might be getting this? If not, do you have an easy way to for me to simple compile my Vue and SaSS?
Thanks!

@JoeDawson Sorry for late reply.
I'm assuming this setup is using vue-loader so you should be able to just install node-sass and sass-loader in your project and use the lang="scss" on your <style> tags. From there you can @import your Sass files. https://vue-loader.vuejs.org/en/configurations/pre-processors.html for more info.

Going to close this since it isn't directly related to vue-electron. Feel free to comment back if needed.

I think it's better to add note on vue-electron's readme, with someting like:
Note: Webpack config field target should be set to electron-renderer if you create the vue project yourself.


Visual improvements and new look for VS

several improvements, plus an experimental approach with VS node (im pretty sure i will get comments on this).
Edit: now there is a setting to have headers in graph nodes, so you dont have to worry.
now the icons that represent errors, warnings and success are colored with the same status colors used in the editor

new look for VS

Slick! <3

I prefer to have title bar background...

I think I liked it a bit better when the 'task bar' of the node had a different background. There have also been some 'issues' suggesting to round the corners of the vs nodes. Maybe try that?

I think title bars with background would only pollute node for no gain.
Rounded corners would be over kill, chipped corners would be enough.
Bigger problem is aliasing on wires.

Don't we already have AA for links?
I'd prefer having a visible titlebar. A different value or a higher alpha (still <1) maybe?

I like the rest.
Other improvements I'd like (though not appropriate for this PR I guess):

I'm always annoyed how the top and left align cleanly on the grid, but the right and bottom don't. Maybe node dimensions could be a multiple of some base unit [bu] (10px could do), with grid incrementing by bu instead of 1 like now.
Ability to show/hide the grid when snapping is enabled.

yeah the wires are really jarring without any AA, it might also be handy to be able to change the background transparency of nodes.
Looks nice though, I like the square corners personally.

this is how it looks with headers

maybe a setting?

I clearly like it a lot less without headers, it's definitely more readable. Not just because of this specific change but i've been thinking for a while that those headers made it more confusing to read

sorry, i meant i like it a lot less with headers, it's just more visually polluting and makes it harder to concentrate reading the flow of nodes. Worst case we can add them back with an option

@reduz i agree, i like it without headers, but the setting would be nice to have, so default = no headers.

I agree that colored headers steal the attention.  I did a few quick and dirty mockups:

@djrm yea you can't do everything with one stylebox.
But funny enough I was thinking about how to improve the node style too.
And since it's 3.0 you also could just rewrite some of the drawing and control structure of a VSNode.
I'm thinking of this structure:
one style box for the header. one style box for the body.
maybe one style box for the section on the left and right with the connection dots.
than we just have more styleboxes to set up in the them.
I would call them like this:
"header", "GraphNode"
"body", "GraphNode"
"left_connect_area", "GraphNode"
"right_connect_area", "GraphNode"
this would allow for almost every design I could think of:
you could even make the header style box rounded at the top. and the body style box rounded at the bottom left and bottom right corner.
the header style box could have a different background...
The left and right area also could allow for some interesting saddle looks.

I wouldn't even call that hacky... because you don't want the style box too be too complex and have too many properties. it is much better to use multiple ones. and if that is built in the GraphNode's drawing callback it is almost the same than all the styleboxes work. Of course it is a little annoying since we would need multiple style boxes for different selection states for each area. (maybe leave the connection area sb away than since it is too much. just a head+body sb)

But I really like the look so far!!
I would love to see rounded corners though. although that is against current design I think it looks too good on GraphNodes. And for graphNodes it also is okay to have different design, since the lines are rounded anyways so it won't look exactly like the rest. and it shouldn't...

Problem with light colored headers is that they are much stronger than content... Content should be place where your eye gravitates not header...

@toger5 rounded corners should be applied to all the theme (but very small radius). also yeah we could have many style variations but i dont know if its worth it.

@djrm cool you agree on having some rounded corners !
I think it is defintly worth it!!
it would make it too much more flexible. also for games you create with it. lets say you want to have a wooden node. than it would be amazing to have a bark texture for the header and a sandpaper wood for the body.
@n-pigeon You are right the interest area should be the body.
I'm thinking about a design like this:
(wanted to describe it but now decided to start up gimp ... so screenshot will be there soon ;) )

@toger5 in that case you could use a stylebox texture, it acts as a 9-patch.

@djrm AFAIK style box texture supports both: tiled + stretched. someone recently did that (I think)
even if you only have stretch mode you have a texture which can be approximately the right size...

@toger5 maybe this is a bit dumb suggestion, but we could add a StyleboxWindow that inherits from stylebox flat, and add there the things we need, also i dont like the bottom header borders that much i would prefer something like this instead.

I also really like if it would be less turbulent. since you will have a lot of lines and shapes anyways (connections...) it would be nice if the boxes them selves would limit the amount of edges and borders to make it easier to look at. Of course it is still important to have clear distinctions and dependant on eyesight there should be more or less contrast/ borders.
what I propose is using the border_width from the settings menu to choose the border. so setting it to one looks like posted above and setting it to 0 looks like this:

That's just my simple suggestion :D

@djrm I agree the border is not that nice. I usually like design much more which uses shapes and areas to separate things other than borders. so different backgrounds for header/body is a better solution.
for the outer border I would love if you make it configureable by the border setting... because it would be (as mentioned before ) too much less nosy.

@toger5 the current implementation uses the border_width

@toger5 also thats too much border radius ( this is not blueprint :) )

@djrm you are great (almost guessed that you thought about that, but just wanted to be sure...)
@djrm about the StyleboxWindow... it's definitely not dumb... settings would be:
header height (float)
header (styleBox)
body (stylebox)

I guess...
It would have it's use cases. WindowDialog class + stuff that inherits from it, GraphNode.
But maybe it would be better to just add more style boxes to those nodes. because than you don't have to pay attention that you get the border height correct. Since that is handles by the drawing code of the specific element. which than takes font size... into account...
I think you don't like it since it is hacky in terms of. using multiple style box resources for one "Box".
But I would think of style boxes more like primitives to build up the actual style...
if you have a complex element like a Graph node you have to use more than one primitive...
I just found an example to support the thesis that it is not that hacky  to have multiple style boxes for one control. Think of a tabContainer. we have style boxes for tabs and for the panel. which makes perfect sense. the same for the Graph node.
(also that tabContainer has tab selected and tab background. the same for a graph node there will be header selected and header disabled...)

@djrm we have no other choice than huge corner radius to compete with unreal gradients... 😄
the close button was so far to the left, that it made sense to do them quite big. but I think you are right. less would be better. maybe about half the height of the header...

@djrm do you want me to update the drawing for graph nodes. you can than cherry pick the changes and built your Pr with it.

@toger5 i think we should wait for this to get merged (it has other features besides the VS changes), we might be close to 3.0, so i dont know if theres enought time.
also about the window SB, maybe you are right, it is just that currently editor_themes is cluttered and error prone, adding more SBs could do that worse.
also would be cool to add a separator SB, so we can have a full line division in windows.

@djrm I guess with separator sb you mean box between the header and the body. but aren't there enough options with the top border of the body and the bottom border of the header.
Implementing the additional style boxes for header and body wouldn't take long.
I can do it tomorrow I think. But of course this can be merged independently and than we make another pr with the new options with multiple styleboxes.

@toger5 by separators i mean this:

about godot 3.0, nobody really knows, just saying.

@djrm there is style box line. so I think you just have to add a panel with line attached to it into...
Or am I understanding something worng?

@toger5 yeah that can be handled by SBLine

I support the mockup done in https://github.com/godotengine/godot/pull/11256#issuecomment-329557834

I support the mockup done in https://github.com/godotengine/godot/pull/11256#issuecomment-329557834

Could we have a test with something like what @djrm proposed in :

@groud we cant, it is a current limitation of the styling, so what i propose i what we can get right now, if someone want to work on something else later, feel free.

This is another concept I really like (not created by myself)

Merging as the current state is already a very nice improvement. Feel free to continue the discussion on the VisualScript looks if it should be further tweaked :)

@toger5 you can get that style by enabling node headers and using 0 border

@djrm oh you are right!! Nice


Hide stack traces for PDO Exceptions

If a PDOException is thrown (database timeout or a connection error), the resulting stack trace will contain the database credentials. It's probably a good idea to add the option to hide the stack trace for these kinds of exceptions to prevent sensitive credentials from being sent to an inbox.

@mmollick Sorry for the extremely late reply.
This is a good idea to be implemented in the package. But I am not getting enough time to follow all requests. I request you for a PR if possible :)


Release: RAL & HAL 0.4, IOMUXC 0.1

I'm preparing a 0.4 release of the RAL and HAL. Both crates have a feature-flag change: "rtfm" => "rtic". The HAL has also accumulated new, breaking changes, which we could receive broader feedback on. The 0.4 HAL requires us to publish 0.1 releases of the IOMUXC crates.
We also have a GPIO bug fix to publish. To support any 0.3 HAL users, I'm also preparing a 0.3.1 HAL release, which backports the GPIO patch onto the 0.3 release. Users who aren't interested in adopting the 0.4 breaking changes can still have their crates fixed.
Is there any other work we'd like to include? If not, I'll release by next week.
The section below is a snippet from the HAL's CHANGELOG describing the next release.

HAL Changelog
This release contains numerous breaking HAL changes. See the "Changed" section for more information.
The release includes 0.3.1 fixes.
Added

steal() the top-level Peripherals object. The steal() method lets users use the imxrt_hal
as an RTIC device.
DMA Memcpy may support interrupt handling
A new interface for pad configuration, supported by the imxrt-iomuxc crate family. See the Changed
section for migration information.

Changed

BREAKING The pad configuration interface has simplified. Users will use the
interface exposed by the imxrt-iomuxc crate family. This section describes how you might
update your 0.3 (and earlier) code for the new interface.

Naming: the IOMUXC instance exposes pads with a new naming convention. Previously, member
accessed resembled
let peripherals = imxrt_hal::Peripherals::take().unwrap();
peripherals.iomuxc.gpio_ad_b1_02;

Now, IOMUXC member access resembles
peripherals.iomuxc.ad_b1.p02

Generally, remove the "gpio_" prefix, and replace the second underscore with member access and
a "p" symbol.

Pad Types: The interface simplifies the pad types, removing the alternate type state.
Usages resembling
use imxrt_hal as hal;

type MyPin = hal::iomuxc::gpio::GPIO_AD_B0_12<hal::iomuxc::Alt5>;

can be simply expressed as
type MyPin = hal::iomuxc::ad_b0::AD_B0_12;

Note the stuttering convention of pad_group::pad_group_offset to reference pad types.

No alternate transition: there are no altX() methods. Usage resembling
let mut uart = uarts.uart2.init(
    peripherals.iomuxc.gpio_ad_b1_02.alt2(),
    peripherals.iomuxc.gpio_ad_b1_03.alt2(),
    BAUD,
).unwrap()

should drop the altX() calls (after renaming the pads).
let mut uart = uarts.uart2.init(
    peripherals.iomuxc.ad_b1.p02,
    peripherals.iomuxc.ad_b1.p03,
    BAUD,
).unwrap();

Type Tags: all custom type-level constants, like imxrt_hal::uart::module::_1 are now
typenum constants. There are no peripheral-specific constants. Usage resembling
use imxrt_hal::uart;

type MyTX = uart::Tx<uart::module::_3>;

should update to
use imxrt_hal::uart;
use imxrt_hal::iomuxc;

type MyTX = uart::Tx<iomuxc::consts::U3>;

GPIO: the new IOMUXC driver results in a simpler GPIO interface. There is now a single GPIO
type that wraps an IOMUXC pad. Any GPIO type, like
use imxrt_hal as hal;

type HardwareFlag = hal::gpio::GPIO1IO26<hal::gpio::GPIO1, hal::gpio::Output>;

should change to
type HardwareFlag = hal::gpio::GPIO<hal::iomuxc::ad_b1::AD_B1_10, hal::gpio::Output>;

The new GPIO types expose a no-return toggle() method, which shadows an embedded_hal
trait method. If you notice compilation issues surrounding toggle(), try removing
unwrap() calls:
led.toggle().unwrap() // Old
led.toggle()          // New

Or, qualify that the ToggleableOutputPin trait method should be called.

BREAKING The HAL's "rtfm" feature is changed to "rtic", reflecting the framework's
new name. Users who are relying on the "rtfm" feature should now use the "rtic" feature.

BREAKING The dma::{Config, ConfigBuilder} types are gone. This affects the dma::Peripheral
interface. To configure interrupt on completion / half settings, use dma::Channel::set_interrupt_on_completion()
/ dma::Channel::set_interrupt_on_half() to perform the same configurations before suppling the
channel to dma::Peripheral.

This set of work is quite good, nothing from me at the moment to add


Add MaskType.Star.

Add .Star, .Star4, .Star6, .Star8, .Star10 to MaskType. We can mask views like this:

Conclusion:

These stars are masked with CAShapeLayer which mask shadows as well. Thus we can't have shadows under star views. (Stars have no shadow in the real world neither. 🤓)
Border of star is not rendered properly. I already have a workaround in my Playground which is not suitable(maybe next PR) for IBAnimatable:

Thanks you very much again. May have another sub CAShapeLayer to support a fake shadows, but I don't want to over engineer that. I think current solution is very good. :+1:


Update email domain

Allow the invitation of users with hmcourts-service emails

@mattmb Could you code review this?  Thanks.


Use Font Awesome icons for better compatibility with Vocabulary

The extension uses icons from Material Design by Google. This is evidenced here:

But Vocabulary has been designed with Font Awesome and even comes with some Font Awesome icons pre-packaged into the bundle. So for consistency with the rest of CC applications, Material icons should be replaced with their Font Awesome counterparts.
Font Awesome has replaced icons from The Noun Project in CC Search as well with creativecommons/cccatalog-frontend#413.

I would like to work on this.


Trouble codes parsing array index why start with 1

NSRange codeRange = NSMakeRange(1, bytes.count-1);
NSArray<NSNumber*>* codeBytes = [bytes subarrayWithRange:codeRange];
The returned result is different from other OBD apps.（Such as Auto Doctor、ELM327...）
If I change the index to 0，the result will be consistent.

Let me show you an example, here's communication over protocol 7:
I ask for 03 and get the following rawResponse:
(lldb) po self.rawResponse
<__NSArrayM 0x28150cbd0>(
18DAF110100A430401100148,
18DAF1102101700210000000
)

Stripping the ECU IDs and reassembling the fragments gives me the following cookedResponse:
(lldb) po self.cookedResponse
{
    10 =     (
        4,
        1,
        16,
        1,
        72,
        1,
        112,
        2,
        16,
        0,
        0,
        0
    );
}

We are seeing ECU #10 responding with 12 bytes. To my knowledge, every DTC is encoded as 2 bytes and the first byte of the whole response to 03 and 07 is the actual number of encountered DTCs, i.e. in this example we are seeing 4 DTCs where as the actual values are P0110, P0148, P0170, and P0210.
If you think this is wrong, could you show me example data from your car?

Hello @mickeyl , I am getting "P2800" from this Library, but other apps or wired scanner reads "P1628".
Please suggest or If I'll change the index to 0 will fix it as above mentioned by @JRJian
In  NSRange codeRange = NSMakeRange(1, bytes.count-1);
NSArray<NSNumber*>* codeBytes = [bytes subarrayWithRange:codeRange];

screen shot of wired scanner.

NSRange codeRange = NSMakeRange(1, bytes.count-1);
NSArray<NSNumber*>* codeBytes = [bytes subarrayWithRange:codeRange];
@JRJian  @thdankert @mickeyl , This code is correct or have to change the RangeIndex to 0?
Please Help. (Not getting ABS fault codes specifically "U0102" )

Thanks for opening this issue, I think you are up to something. My implementation of the DTC parsing code is based on SAE J1979_201408, which is the reference, but I may have mixed up some of the tables depicted in there (granted, it's quite a confusing spec in some places). I have developed the DTC-implementation against an OBD2 Simulator (since I do not possess so many cars with actual failures), it might be possible that this Simulator has a broken implementation of the DTC answer. I will double check with the spec later this week and report ASAP.

I may have spoken too soon. Upon my inquiry, the simulator developer just got back to me and claims that for all CAN-protocols, the answer to 03 has to report the number of DTCs before the actual codes. Can anyone confirm or deny that?


phoenix_download.R (fixes #13)

The code was tested on Mac OS X only (should work in Linux). Please test it on Windows before merging.
The main idea is that when you extract filename from URL it shouldn't depend on any hardcoded base URLs (in case they change again).

get_links is now the only place that logically needs phoenix_version parameter, all the other functions just pass it there
file_dw doesn't depend on any particular URL or filename scheme, just must have .zip in the end
the code is now less dependent on the correct user input, like it automatically adds trailing / to paths and v in the beginning of phoenix_version if it's not there
now it doesn't directly import any packages into the global namespace
generally it uses standard packages instead of external (like RCurl)

OK, so we found out there's a problem with Windows paths.
The code goes like this: if there's no / or \ in the end of the path, it is added. The character is determined by .Platform$file.path variable.
I'll be able to check on Monday, but I think the problem is that Windows paths in R have double separators (\\), because \ is an escape character. So on Windows you have to add \\ to the path.

So no, the path separator on Windows is the same, but on Windows unzip doesn't work if destpath has a trailing separator (which my code added). On Linux it seems to be working both ways, so now istead of adding the separator the code removes it.
C:/lalala/phoxy_test is OK, C:/lalala/phoxy_test/ isn't.
And Windows usually doesn't have curl installed, so method = 'curl' for download.file doesn't work. But method = 'auto' doesn't work with Unix, so now the method is set based on .Platform$OS.type env variable.

Fixed Windows line-ending in the file, to see normal diff, refer to https://github.com/roveo/phoxy/commit/6075d468009ae66d2416ad1123e5d7ad211ece9a

Hey @roveo, I'm comfortable merging the PR in without any further testing on Windows. It'll definitely be better in any case that what's already there. There are some merge conflicts now. Can you rebase your branch and resolve conflicts?
Thanks again for the great contributions.

@ahalterman that was tricky, because I already merged phoenix_download#12 to my fork's master. Had to hard reset it, then rebase. I guess it worked, but there's twice as many commits in this branch now. I'm not that good with more complicated git usage.

Okay, now I performed this kind of rebase, hope it's better.

Thanks again! Everything looks good here.


Consider App role rename

https://github.com/microsoft/fhir-server-samples/blob/56148a7450c2d6c913f69a86509060c57b9bc5a1/deploy/scripts/Create-FhirServerSamplesAuthConfig.ps1#L138
"globalAdmin" is a bit ominous for any IT security folks and in this case doesn't equate to true "global admin" access for the AAD tenant.
Consider changing name of app role to something like: "ReadWrite.All" or similar.

related: https://github.com/microsoft/fhir-server/issues/1421

Closed per https://github.com/microsoft/fhir-server/issues/1421


Add an assertion in MCompilations

This... invariant(?).. is mentioned in the TODO.
In the pipelining PR I found it to be the root cause of an erroneous
implementation (merging multiple times).  So I think it would be good to
enforce this on construction, alas with an exception.

To validate this pull request against other sbt modules, please visit this link.


Disable Apollo playground in production

@MoeNick
The backend is up in staging but if you go https://serve.giveth.io/graphql you can't see apollo playground

navigating to https://mainnet.serve.giveth.io/graphql
this is currently what appears

would we consider this state effectively disabled @mohammadranjbarz ?

navigating to https://mainnet.serve.giveth.io/graphql
this is currently what appears
would we consider this state effectively disabled @mohammadranjbarz ?

Yeah exactly, it mean playground had been disabled successfully


Add a YearPicker (only year)

It would be perfect to have also a pure year picker ! please have a look screen shot
I have tried showYearPicker  but can not achieve desired result, Please help

I have had to start searching for other libraries because this feature is not yet implemented. I'd love for this to see the light soon 👍

Added a yearpicker thanks to #2130


Using clusters and policies in a DAM

A cluster example and a policy example in DAMs

Current coverage is 36.52%

Merging #220 into master will increase coverage by +0.20% as of 453f5a3

@@            master    #220   diff @@
======================================
  Files          326     326
  Stmts        11917   11926     +9
  Branches      1527    1527
  Methods          0       0
======================================
+ Hit           4329    4356    +27
+ Partial        441     436     -5
+ Missed        7147    7134    -13

Review entire Coverage Diff as of 453f5a3

Powered by Codecov. Updated on successful CI builds.


Start script not working

The build script runs properly but the start scripts exits with status of 1 and there are no other errors. Below is the debug log:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'start' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>7 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
8 verbose lifecycle<EMAIL_ADDRESS>PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/T/Code/ld-ui/node_modules/.bin:/Users/T/.yarn/bin:/Users/T/.config/yarn/global/node_modules/.bin:/usr/local/opt/libpq/bin:/usr/local/opt/icu4c/sbin:/usr/local/opt/icu4c/bin:/usr/local/opt/apr-util/bin:/usr/local/opt/openssl/bin:/usr/local/opt/apr/bin:/opt/local/bin:/opt/local/sbin:/Users/T/Library/Python/3.7/bin:/Users/T/Library/Python/2.7/bin:/Users/T/Library/Android/sdk//emulator:/Users/T/Library/Android/sdk//platform-tools:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/local/Library/Frameworks/Python.framework/Versions/Current/bin/:/opt/X11/bin
9 verbose lifecycle<EMAIL_ADDRESS>CWD: /Users/T/Code/ld-ui
10 silly lifecycle<EMAIL_ADDRESS>Args: [ '-c', 'rescripts start' ]
11 silly lifecycle<EMAIL_ADDRESS>Returned: code: 1  signal: null
12 info lifecycle<EMAIL_ADDRESS>Failed to exec start script
13 verbose stack Error<EMAIL_ADDRESS>start: rescripts start
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at EventEmitter.emit (events.js:214:7)
13 verbose stack     at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at ChildProcess.emit (events.js:214:7)
13 verbose stack     at maybeClose (internal/child_process.js:925:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid<EMAIL_ADDRESS>15 verbose cwd /Users/T/Code/ld-ui
16 verbose Darwin 18.5.0
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "start"
18 verbose node v8.10.0
19 verbose npm  v6.7.0
20 error code ELIFECYCLE
21 error errno 1
22 error<EMAIL_ADDRESS>start: rescripts start
22 error Exit status 1
23 error Failed at the<EMAIL_ADDRESS>start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

Found out that the issue was that I was using removeWebpackPlugin to remove plugins that didn't exist in the dev webpack config and it did not fail gracefully. Perhaps there should be a verbose error or fail silently if the plugin isn't found.

@shanetierney –– thanks for the feedback. If you submit a PR, I'm more than happy to accept it! I don't currently have the bandwidth to work on error handling.


fix: extensions should be trimmed before used

Thanks for the PR.
Since we are not validating the string, one can easily miss that. So I would recommend that we handle this in the code, rather than mentioning in README.
 getInput('extensions').split(',').map(ext => ext.trim());

See https://github.com/sibiraj-s/action-eslint/blob/e540f9c953649609578b617563644a8046a3a528/src/getChangedFiles.ts#L55
Can you make that change?

Thanks for the PR.
Since we are not validating the string, one can easily miss that. So I would recommend that we handle this in the code, rather than mentioning in README.
 getInput('extensions').split(',').map(ext => ext.trim());

See
https://github.com/sibiraj-s/action-eslint/blob/e540f9c953649609578b617563644a8046a3a528/src/getChangedFiles.ts#L55
Can you make that change?

sure, just wanna keep args consistent with eslint style before.

Published in v1.1.1


some suggestions

change File->Add task to File->Add Chamber
change right-click->Clear Chamber to right-click->Remove Chamber
when there is an error, it isn't always obvious to the user that something is wrong unless you look at the terminal. If possible, add some solution that whenever an error occurs, Qt indicates somehow to the user that an error has occurred (have a qmessagebox pop up saying an error has occurred and the user should check the terminal or add a status bar to the window and show an error status)
add a description and link to docs to the github About section

On the error pop-up point, many errors should already be popping up as QMessageBoxes. If you have examples where this didn't happen, could you send them over so I can make sure they're integrated into the existing error forwarding system?

If I add 1/0 to the end of my pygame task GUI initialize(), the ZeroDivision error is only shown in the terminal.

GUI errors have now been added to the error handling system with e3aff9b59d768518e6cd2d8d3d52ad1132b7a4ad


Simplify code and update node and edge definitions

[x] Remove logging code
[x] Convert class to function
[x] Create a new ROS bag with node and topic messages (see here)
[x] Update nodes to use the new node messages
[x] Keep track of topics

Here's a video of it working (I didn't know you could put videos in Github comments!):
https://user-images.githubusercontent.com/6635382/149642128-dcea4035-edc8-493f-bfb6-cc8052175ba6.mov


Move custom Arc to separate library

https://github.com/gfx-rs/gfx-rs/pull/720 added a custom Arc to use is_unique in stable Rust.
It is possible that the same factory pattern that Gfx uses is needed elsewhere, so it might be an idea to move the Arc to a separate library.

I'd like to see at least one more project needing this.

I don't have a problem with this. That being said, it the Arc trait were to move to an external crate I think it would make sense to include the entire std::sync::Arc. There is quite a few features that are still unstable, like Weak that people are bound to want.

@csherratt hmm, I'm not a big fan of making more libraries without an explicit need for this. I don't think anyone needs Weak currently with gfx resources, and by the time they need it - we might as well use a stabilized Arc. Besides, there are talks about Weak being unsafe and all, so it's future is moot.

I think we are no longer using a custom Arc, closing.


[QUESTION] How can I set zip_code field as string in Laravel Excel?

Versions

PHP version: 7.2
Laravel version: 5.6.3
Package version: 2.1.25

Description
I'm using Laravel Excel to manage address lists into an application and I have the following issue:
When I'm importing contacts, Laravel Excel cast me the german zip code to Date Object:
I'm getting this result:
[
  "salutation" => "Sehr geehrte Frau Alberg"
  "title" => "Frau"
  "firstname" => "Rita"
  "lastname" => "Alberg"
  "street" => "Str."
  "zip" => Carbon @-1615770000 {
    date: 1918-10-20 00:00:00.0 Europe/Berlin (+01:00)
  }
  "city" => "Coswig / Anhalt OT. Stackelitz"
  "country" => "Deutschland"
  "birthday" => Carbon @13561200 {
    date: 1970-06-07 00:00:00.0 Europe/Berlin (+01:00)
  }
]

I solve this by running function, but now, zip field are casted to float:
$path = $request->file('csv')->getRealPath();
$results = Excel::load($path, function($reader) {})
                ->setDateColumns(['birthday'])
                ->formatDates(true, 'Y-m-d')
                ->ignoreEmpty()
                ->get();

Then I'm getting this result:
[
  "salutation" => "Sehr geehrte Frau Alberg"
  "title" => "Frau"
  "firstname" => "Rita"
  "lastname" => "Alberg"
  "street" => "Str."
  "zip" => 6868.0
  "city" => "Coswig / Anhalt OT. Stackelitz"
  "country" => "Deutschland"
  "birthday" => "1970-06-07"
]

The original zip value in csv file is: "D-06846"

@davidosuna1987 : Did that help?


Why all WS connections are uv_poll_t *webSocket are added to the LIST?

Include the following information (where applicable):

What operating system are you running?

Windows

What platform/language are you using?

C++

Are you using SSL, if so, how?
no ssl
Can you show me some short code that triggers your issue?

You made  great lib , i try to learn it so i can implement it it in my server
Going trhow the code i notice you are collection all the uv_pool_t* 's that are connected to the server via this function :
template <bool isServer>
void Group<isServer>::addWebSocket(uv_poll_t *webSocket) {
    if (webSocketHead) {
        uS::SocketData *nextData = (uS::SocketData *) webSocketHead->data;
        nextData->prev = webSocket;
        uS::SocketData *data = (uS::SocketData *) webSocket->data;
        data->next = webSocketHead;
    }
    webSocketHead = webSocket;
}

is it necessary ?
the reason im asking is that i want to make groups of connections my self , in which some of them
i will like to send back response and some of them i don't .
what is the best  way in my case to do it ?
Thanks!

It is used for things like broadcast, auto ping and such. Strictly it is not needed if you make sure to track the connections yourself.

Thanks allot
Can you recomand how i disable the group function ?
I saw that in handleFragment you handle the remove from this group list.
or can i keep the group and keep pointers in sub groups for each group of users i want to handle ?

A websocket will always belong to 1 and only 1 group. If this suits your needs then use the groups that are in the library, otherwise you will need to create your own container to hold them where you want them. You can transfer a websocket from one group to another (this is slow) to implement things like multithreading, multi-protocol, etc.
There is no timeout for client connection to your server. You have to call group.startAutoPing(timeoutMs) to initiate a timer to ping the sockets and disconnect them when they exceed the set timeout.


Toggle Selected and Check Selected in Load Order context menu have same behaviors

There are two options on the context menu in the Load Order window that have identical behaviors: Toggle Selected and Check Selected. Are these supposed to behave differently? If not, one should be removed.

Check Selected
Before

After

Toggle Selected
Before

After


Topics: Create form buttons wrong sizes

https://www.figma.com/file/ZkvysdRUmt9p2PDNU3a9WU/Kafka-UI?type=design&node-id=2536-11015&mode=design&t=Y0NExMcZPVGrLZ7I-0

Hey there @Haarolean! I'd love to contribute to this as a beginner if this hasn't already been fixed.

@ItIsOHM sure, please go ahead

Hey @Haarolean, the current buttons look like this:

Is the issue already fixed? Because it's different from what you showed in the initial comment.
I suppose the Create Topic button's width can be increased slightly to align the ending on the Cancel button with  + Add Custom Parameter above it.

@ItIsOHM Nope, current buttons are bigger in height than in figma

@ItIsOHM Nope, current buttons are bigger in height than in figma

Oh alright, so to work on that I'd need to do a demo run as mentioned on the home page, and edit some code under /kafka-ui-react-app/src/components/Topics?
Please let me know if it's wrong, I'm only a beginner here.

I would also love to take a look at this.

@ItIsOHM any luck with that?

@ItIsOHM any luck with that?

No I'm sorry I don't think I can work on this, @kstiel you can continue working on this :D

Thanks I will take a look.

I will look into this, please assign


Brillio - Missing " Targetare .ro" button

ENVIRONMENT: production
URL: https://scrapers.peviitor.ro
Browser: Chrome
Device: Laptop
OS: Windows 10
STEPS TO REPRODUCE:

Open the URL in the browser
Search for "Brillio" Company
Click on the "Targetare.ro" button
Open page "Targetare.ro".

EXPECTED RESULTS:
The "Targetare.ro" button is functional and the page is opened.
ACTUAL RESULTS:
Missing "Targetare.ro" button.
ATTACHMENTS:

Fixed

Re-tested, The "Targetare.ro" button is functional and the page is opened.


'No gradients provided for any variable, check your graph for ops that do not support gradients'

I write the code like following
import tensorflow as tf
input1=tf.Variable([1.0,2.0,3.0,4.0,5.0,6.0],name='input1')
input2=tf.Variable([2.0,3.0,4.0,6.0,8.0,9.0],name='input2')
values_range = tf.constant([0., 10.], dtype = tf.float32)
source_hist = tf.histogram_fixed_width(tf.to_float(input1), values_range, 11)
template_hist = tf.histogram_fixed_width(tf.to_float(input2), values_range, 11)
source_hist=tf.cast(source_hist,tf.float32)
template_hist=tf.cast(template_hist,tf.float32)
loss=2*tf.nn.l2_loss(source_hist-template_hist)
with tf.Session() as sess:
    sess.run(tf.global_variables_initializer())
    writer=tf.summary.FileWriter('./',sess.graph)
    train_step=tf.train.AdamOptimizer(0.001).minimize(loss)
    for i in range(0,10000,1):
        sess.run(train_step)
        print('input1_value',input1.eval())
        print('input2_value',input2.eval())
    writer.close()

Tensorflow throws an error and shows
''ValueError: No gradients provided for any variable, check your graph for ops that do not support gradients, between variables ["<tf.Variable 'input1:0' shape=(6,) dtype=float32_ref>", "<tf.Variable 'input2:0' shape=(6,) dtype=float32_ref>"] and loss Tensor("mul:0", shape=(), dtype=float32).''
I know the op  tf.histogram_fixed_width doesn't support backpropagation and is not differentiable. While
the op tf.floor has the same attribute as  tf.histogram_fixed_width. And the code below can run  without any error which surprises me a lot.
import tensorflow as tf
cst=tf.constant([1.2,1.4,2.8,4.6,6.8], dtype=tf.float32)
input=tf.Variable(cst)
new=tf.floor(input)
loss=2*tf.nn.l2_loss(input-new)
train_step=tf.train.AdamOptimizer(0.001).minimize(loss)
with tf.Session() as sess:
    sess.run(tf.global_variables_initializer())
    for i in range(0,10000,1):
        sess.run(train_step)
        print('input_value',input.eval())
        print('new_value',new.eval())

I could not figure it out for days, please help

I have no idea what you are trying to accomplish.
Your loss is defined in terms of histogram_fixed_width, so your loss is not differentiable in terms of the variables, so you can't optimize this.  You seem to understand that based on "I know the tf.histogram_Fixed_width"...
Perhaps you want to try defining a gradient for histogram_fixed_width that is [None] like Floor has

Thanks so much for your reply. In fact my task is to implement the histogram loss mentioned in the paper Stable and Controllable Neural Texture Synthesis and Style Transfer Using Histogram Losses, which involves histogram match technique in the process of computing the loss function. According to the paper we can regard the data flows through the ops that are not differentiable as constants.
While I do not find the op Histogram_fixed_width in  'python/ops/math_grad.py' which mentioned in #897. So I add the function below directly in my code. The error disappears at last although it seems not elegant.
import tensorflow as tf
from tensorflow.python.framework import ops
@ops.RegisterGradient("Histogram_fixed_width")
def _Histogram_fixed_widthGrad(_, grad):
    return [None]

You can edit the source code and recompile tensorflow yourself, or else you can use the gradient override map
https://uoguelph-mlrg.github.io/tensorflow_gradients/
I would recommend asking this question in StackOverflow as others might have implemented this in tensorflow already.

Thanks for your advice！

@uptodiff were you able to find a solution? Currently facing this same issue.

@axelsly Did you find an answer? I'm also having the same issue.


The package can't be used in any Python 3.12 version greater than 3.12.0

This line is overly restrictive:
https://github.com/cyrilou242/mockseries/blob/806e846afb59e83a39d0fa1da4fc61838705ad36/setup.py#L47
It prevents mockseries from being used in any Python 3.12 version that is not 3.12.0. So even 3.12.1 or 3.12.2 won't work since they do not satisfy the <=3.12 constraint. I think what should be there is actually <3.13.
I am using Poetry to manage my project(s), and this is the error I got when I tried poetry add mockseries on my project, where I currently have Python 3.12.1 installed, which means that changing my pyproject.toml to say >=3.9,<=3.12 would fail.
The current project's supported Python range (>=3.9,<3.13) is not compatible with some of the required packages Python requirement:
  - mockseries requires Python >=3.9,<=3.12, so it will not be satisfied for Python >3.12,<3.13

Because no versions of mockseries match >0.3.0,<0.4.0
 and mockseries (0.3.0) requires Python >=3.9,<=3.12, mockseries is forbidden.
So, because control-server depends on mockseries (^0.3.0), version solving failed.

  • Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties

    For mockseries, a possible solution would be to set the `python` property to ">=3.9,<=3.12"

    https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
    https://python-poetry.org/docs/dependency-specification/#using-environment-markers

interesting thanks, let me fix this

Hey @bmitc this should be fixed in the version 0.3.1


iphone 11 16.5.1(20F75) click yes crash

Request to resolve this issue, let iphone 11 16.5.1(20F75) have access to TrollStore2，Many thanks.

In the latest version (8.0.7) it still crashes

Thank you very much for successfully installing the TrollStore


[Wiki] Idea: Include units instead of Source Code as alternative description in wiki

I keep running in problems in Components when including the Source code directly, instead of the units. (Probably because of different Projects settings, but hard to tell with Delphi).
When including the Units itself it perfectly works every time (with the added boni that the units don't get recompiled for no reason).
I added them as following: {DevDirectory}\D11$(Platform)$(Config)

Are you using this components from Git o from GetIt?
if you are using library from Git, when you build packages, all dcu units are compiled into:
{SVGIconImageListFolder}\Lib\D11$(Platform)$(Config)
You can set the search path of your project to this folder, so there is no need to recompile them ...

Yes you are right. I will update the WIKI documentation

Done!

This is awkward on my part. When pasting the directory here, something must have gone wrong:
The directory is {DevDirectory}\Lib\D11\$(Platform)\$(Config). ( Depending on Delphi Version of cause).
Sorry.


netopeer2-cli usage

Is there a documentation on how to use it in general ?
My specific case is about edit-config complaining all the time -
> edit-config --target running --config test.xml --defop merge --test set --error stop
cmd_editconfig: Unparsed command arguments.
edit-config [--help] --target running|candidate --config [<file>] [--defop merge|replace|none] [--test set|test-only|test-then-set] [--error stop|continue|rollback]

test.xml
<config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
          <foo xmlns="urn:test:foo">
             <id>1</id>
             <name>foo</name>
          </foo>
</config>

Not sure whats the issue here. Also, when I try to send RPC payload from a connected session over SSH with terminator '>]]>]]', I do not see any response coming after "hello" message. It will be useful to document the usage for netconf over ssh as well for netopeer2-server.

Hi,
the problem with the arguments is that test.xml is understood as a normal positional argument, not a parameter of config (because the parameter is not mandatory). It should be fixed when you type instead --config=test.xml. As for the other question, I have actually tried communicating with netopeer2-server using ssh utility and paste the NETCONF messages manually and it worked. If you mean document how to communicate using NETCONF over SSH, there are RFCs that should be clear enough.
Regards,
Michal

config=test.xml worked. Thank you, I should have looked at the code.
Regarding the usage, here are the things I am doing -

ssh<EMAIL_ADDRESS>-p 830 -s netconf
Server responds with hello message and capabilities
I type the following sequence:

# CR
<hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"><capabilities><capability>urn:ietf:params:netconf:base:1.1</capability></capabilities></hello>
# CR
]]>]]>

Result: No response from server (expected ?)
I type the following sequence:

# CR
<rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"><get-config><source><running/></source></get-config></rpc>
# CR
]]>]]>

Result: No response from server

As per the RFC, I think the 'terminal' char sequence I send it correct one. Please suggest.

What is a way to delete items from running configuration ? I tried edit-config with defop=none and an XML with 'operation=delete' attributes. The server says operation not supported.

Hi,
as for communicating with netopeer2-server using ssh, the first message seems ok (except those CR, I am not sure why you wrote those), so the server should print that a new session was created. As for the RPC request, in the hello message you declared you support NETCONF 1.1, so that is what you need to use (a different message format).
Regarding your second issue, please send the full XML and then maybe I can help.
Regards,
Michal


test-2

Codecov Report
Base: 80.36% // Head: 80.68% // Increases project coverage by +0.32% :tada:

Coverage data is based on head (14844b1) compared to base (8877611).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master       #3      +/-   ##
==========================================
+ Coverage   80.36%   80.68%   +0.32%
==========================================
  Files           5        5
  Lines         499      497       -2
==========================================
  Hits          401      401
+ Misses         98       96       -2

Impacted Files
Coverage Δ

src/advanced.rs
86.41% <100.00%> (ø)

src/lib.rs
69.64% <0.00%> (+2.40%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Hidding BottomBar without scroll.

How to hide BottomBar when RecyclerView little smaller than height of screen and BottomBar overrides last element in list.
mBottomBar.hide() doesn't work.
Elements fill all space on the screen excepting space under BottomBar.
How to solve this issue without adding more elements?

pretty sure you have to do mBottomBar.getBar().hide()

With the new version you can just show / hide it just like any other View.


Still active?

Hello,
is there activity on go-eval or on the new SSA interpreter https://github.com/go-interpreter/ssainterp ?
They both they seem nice but work-in-progress, i.e. many features are not yet implemented.
I wrote my own Go interpreter https://github.com/cosmos72/gomacro before learning about these, and it's now fairly complete, so I have mixed feelings about the duplication... on one side it shows me there are other people interested in a Go interpreter, and a possibility for cooperation, on the other it could be constructed as "yet another reimplementation"
Best regards,
cosmos72

@cosmos72 go-eval is dormant.
nowadays, the work is poured into go-interpreter:
https://github.com/go-interpreter/proposal/issues/1
I've also sent a GSoC proposal for this year:
http://hepsoftwarefoundation.org/gsoc/proposal_GoInterpreterWagon.html
and got a few prospective students.
we'll see (very soon) whether "wagon" managed to get a GSoC slot...
I've also created a #go-interpreter channel on the gophers' slack.
and a mailing list: https://groups.google.com/forum/#!forum/go-interpreter
feel free to say hi on one of these media and talk about interpreters :)

Thanks :)
I subscribed to the mailing list


3.1-Error code is managed with constants (#10771)

What is the purpose of the change
Brief changelog
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #10843 (e07dd17) into 3.1 (6ed4cc2) will decrease coverage by 3.90%.
The diff coverage is 52.35%.

@@             Coverage Diff              @@
##                3.1   #10843      +/-   ##
============================================
- Coverage     68.45%   64.54%   -3.91%
+ Complexity      534      470      -64
============================================
  Files          1357     1336      -21
  Lines         68988    56969   -12019
  Branches      11960     8400    -3560
============================================
- Hits          47225    36773   -10452
+ Misses        17401    16241    -1160
+ Partials       4362     3955     -407

Impacted Files
Coverage Δ

.../main/java/org/apache/dubbo/common/Parameters.java
0.00% <0.00%> (ø)

...er/connection/ConnectionOrderedChannelHandler.java
75.00% <0.00%> (ø)

...ing/transport/netty4/logging/MessageFormatter.java
0.00% <0.00%> (ø)

...g/apache/dubbo/common/deploy/AbstractDeployer.java
73.84% <16.66%> (ø)

...he/dubbo/remoting/transport/netty/NettyServer.java
73.68% <16.66%> (ø)

...ava/org/apache/dubbo/common/utils/ConfigUtils.java
74.83% <18.18%> (ø)

...e/dubbo/remoting/transport/netty/NettyChannel.java
55.68% <20.00%> (-4.55%)
:arrow_down:

.../dubbo/remoting/transport/netty4/NettyChannel.java
73.58% <20.00%> (-10.42%)
:arrow_down:

.../apache/dubbo/rpc/filter/ProfilerServerFilter.java
61.11% <20.00%> (-21.75%)
:arrow_down:

...ache/dubbo/config/context/ModuleConfigManager.java
68.21% <25.00%> (ø)

... and 365 more

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


hri_msgs: 0.7.0-1 in 'melodic/distribution.yaml' [bloom]

Increasing version of package(s) in repository hri_msgs to 0.7.0-1:

upstream repository: https://github.com/ros4hri/hri_msgs.git
release repository: https://github.com/ros4hri/hri_msgs-release.git
distro file: melodic/distribution.yaml
bloom version: 0.11.1
previous version for package: 0.5.2-1

hri_msgs
* expressions: expand list + use string constants
  The list is based on Chambers' MSc thesis, Bristol Robotics lab 2020
* Contributors: Séverin Lemaignan

Holding for Melodic Sync


Remove public $stream property from all resource streams

Remove public $stream property from all resource streams. This property has attracted some low quality code and interacting with it could easily break the stream semantics.
Empirical evidence suggests this isn't really needed anyway, so I propose to remove it from the public API for now. Should we need this again in the future, it's a simple feature addition with no BC break, so I'd suggest removing this until we find a use case that actually relies on this.

Any idea why the tests are failing?

Not sure what's going on with Travis at the moment, the build logs are not available currently, but force-pushing this again seems to have fixed the failing tests :shipit:


Add logic for display channel form for slack bot and current user with changes in channel header

[x] Add template for channel header of user and slack bot
[x] Add logic at server side for render window for selected user (not channel)
[x] Add logic to /messages/ for detect that this is private channel between bot or two users include myself

Now if click by user name, than header of message pane changed to appropriate user and his status (also Slack bot covered)


Move more js topology code to generic service

@miq-bot add_label refactoring, providers/containers
cc @pilhuhn
@himdel @martinpovolny please review. thank you

@miq-bot add_label providers/hawkular

LGTM, except possibly for the comment above..

@miq-bot add_label topology


Seems Bracket Pair Colorizer 2 still doesn't work

Web Browser: Chrome 87
Local OS: Windows 10 1909
Remote OS: Debian 10
Remote Architecture: x64
code-server --version: 3.8.0 c4610f7829701aadb045d450013b84491c30580d

I tried linking node_modules.asar to node_modules as well(#2197), but my Bracket Pair Colorizer 2 still doesn't work

(PS: Whatever I link the node_modules.asar to node_modules , the situation seems always be the same, so I only post one. I also tried to open code-server's log to trace, but nothing special happened.)

I tried to replicate on 3.8.0 but no luck yet. Could you post the
browser console log and code-server's output?

I tried to replicate on 3.8.0 but no luck yet. Could you post the
browser console log and code-server's output?

I set the Chrome log level to Warnings and Errors, and such information is printed.
The first line is from my anti-virus software.

I set the Chrome log level to Warnings and Errors, and such information is printed.
The first line is from my anti-virus software.

I dont know what is code-server's output... Is that run like code-server --log debug and get the output, or what?

I dont know what is code-server's output... Is that run like code-server --log debug and get the output, or what?

Yes exactly! But I don't think it'l actually be necessary as it turns
out I can actually replicate on Rust files. I was using a Typescript
file previously.

Yes exactly! But I don't think it'l actually be necessary as it turns
out I can actually replicate on Rust files. I was using a Typescript
file previously.

Exactly, I tried JavaScript files, seems works fine, only Rust doesn't work

Exactly, I tried JavaScript files, seems works fine, only Rust doesn't work


19.10-beta1

Why beta version is in regular theme update. I get update for authentic-theme on my virtualmin
'Authentic Theme 19.09.2. Latest available release 19.10' no info about beta version here.
When try to update get error

Installing this version of Authentic Theme 19.10-beta1 requires latest and/or possibly unreleased version of Usermin 1.740 to work properly.

Beta update should be go on another branch not in master. Master need to be latest stable version.

How did you get this message? On right side notification panel?
What do you have set in Theme Configuration/Software Updates? Do you have Including development versions set to Yes?

After making more tests, I confirm that this is a bug.

I have another issue with the version 19.10(-beta1). My webmin says: Authentic Theme 19.10-beta1. Latest available release 19.10. When I click on Update button, the version 19.10-beta1 is installed again, with the same message about 'latest available release'. When I try to download the version 19.10 I get to a 404-page.

It's a bug. I'll fix it when I get to the PC. 19.10 is not yet released. Only beta.

Thanks for reporting.

I still have an issue where he trying to install 19.10-beta1 with the message, "requires latest and/or possibly unreleased version of Usermin " in theme settings
Including development version is off
And after clear cache, it's the same situation.

Try to update to latest 19.10-beta1 and then, update again. The message should be right at that point and in the future.
I will double check.

Just to get more details: from which version you were trying to install an update?

Can't update to 19.10-beta1 I'm sending screenshot.

Click here link and force install it? Or disable updating theme for Usermin in theme's configuration.
It's designed to display such message.


Link to the example page rather than then the home page from Documentation page and remove target blank because a new tab should not be opened

Issue:

Great thanks!


Load content on load SWVRevealViewController

Hello everybody, im new in iOs development and im implementing this library for my projects. Using it, im needing to load content on the first controller loaded, in this case SWRevealViewController and then use this data on the other controllers such left menu, front controller or right controller. I really appreciate the help or the orientation using this library. Thanks in advance.

http://www.appcoda.com/ios-programming-sidebar-navigation-menu/

SWRevealViewController is not the first controller loaded. You are still loading your own controller to be the sw_front controller right?

SWRevealViewController is like a navigation controller. It is loaded first, but it doesn't show its own view. It shows the view you give it as the sw_front view controller.
So it is the first controller loaded but yes, you have to provide it its content.