C preprocessor colors improvement

Fixes #18670
C comments and preprocessor had nearly-same colors in light theme.
Old values:
.chroma .cm { color: #999988; } /* CommentMultiline */
.chroma .cp { color: #999999; } /* CommentPreproc */
.chroma .cpf { color: #999999; } /* CommentPreprocFile */

Proposed values:
.chroma .cp { color: #109295 } /* CommentPreproc */
.chroma .cpf { color: #4C4DBC; } /* CommentPreprocFile */

It seems you filed the PR against the wrong repo.

It seems you filed the PR against the wrong repo.

Thanks ;-)


Orchestrator: Integrity Checks: Elements linked to an attribute2694

In the Orchestrator: Integrity Checks it is showing "Elements linked to an attribute" as 2694.
It looks like all links on the Data Elements have been removed:

Also, when you click on the items it goes to: https://modelcatalogue.cs.ox.ac.uk/nhsd-datadictionary//#/catalogue/notFound
I assume it will be fixed for live?

Thanks @AngelaFaulding. I had already spotted this last week after I deployed to test, I've now linked our own work item to this for tracking.

@AngelaFaulding These hyperlinks have been fixed now, please re-test and update this issue accordingly.

This is linked to #523 so can be closed


Integrated Login Feature with backend

Deliverable-

Integrate the login form with backend
After successful login, it should direct to admin dashboard

For backend, checkout/backend folder

I would like to try this

@Kajol-Kumari please assign this to me

https://github.com/rishipr/mern-auth/
Can I work on this with reference of this repo

I wish to work on this, but can I have a guide to follow?

Hey @LeeRenJie I can connect you with someone who can guide you for the same. Feel free to join in our slack channel(you can find the lonk in our readme file) and ping me there once.

@Kajol-Kumari  Can I work on this issue ?

@Kajol-Kumari Can I work on this issue ?

Hey @amanprateek123 sorry but @LeeRenJie is already working on it. Please look for other opened issues.


Feature: Support discovery monitoring instance through http_sd

What's changed?

Corresponding issue:
#1625
Service discovery can be available for all collectors now and I provide http_sd as a deafult strategy.
There's something different between one time task and cyclic task while fetching instance info:

one time task

cyclic task

How to add service discovery for collector?

implements CommonProtocol interface

add param field like http_sd in yml

  - field: http_sd
    name:
      zh-CN: http_sd
      en-US: http_sd
    type: text
    placeholder: Enter http_sd url
    required: false
    hide: true

override method getSupportProtocolClass and point out which protocol is used for current collector

Test result

What's more
the priority of sd is higher than host, which means it will use sd first if you config host and http_sd simultaneously.
Checklist

[x]  I have read the Contributing Guide
[x]  I have written the necessary doc or comment.
[x]  I have added the necessary unit tests and all cases have passed.

Add or update API

[x] I have added the necessary e2e tests and all cases have passed.

I haven't add sd for any collectors, it needs to be discussed which collector should support for sd

👍👍 This design implementation is eye-catching and is a good idea. I don't seem to find the part that automatically discovers and creates multiple instances through the information returned by the http_sd interface. For example, http_sd returns ip1-port1 ip2-port2 ip3-port3. We create three new monitoring instances based on these three automatic discoveries.

@tomsun28
I'm not sure whether you mean we need to create monitor task automatically. If so, the process is different.
Monitor task must be created and managed by Manager, then collector should collect sd data as a cyclic task like this:

What I coded in this pr is update host and port automatically.

It will be helpful for monitoring services that are supported for automatic failover like Redis sentinel.

hi yes, the first design like this as same as your.

Also i think this pr design is great, provides another way of thinking. how about combine the two. Our initial goal is to support automatic maintenance of batch monitoring tasks through the data returned by http_sd.

@tomsun28
Thanks for your design. It is a more clear design than my design. Should I modify code in this pr directly?🤣🤣

👍👍 okay okay. It is not urgent, depends on your time.  Recommend to release an first apache version first and after then consider integrate this big feature.

👍👍 okay okay. It is not urgent, depends on your time. Recommend to release an first apache version first and after then consider integrate this big feature.

OK, I will close this pr. And I will open another pr after first apache version released and I finished this new feature.


Drop in fb-survey sample size on 27 August 2020

Actual Behavior:

There is a big drop in sample size from ~40K nationally per day to 342 on 27 August 2020.
import covidcast
import datetime as dt

df = covidcast.signal(
    "fb-survey", "raw_cli",
    dt.date(2020, 8, 24), dt.date(2020, 8, 30),
    geo_type="nation")

df

df.plot(x="time_value", y="sample_size")
df.plot(x="time_value", y="value")

Expected behavior
No sudden drop in sample size on 27 August 2020.
Context
Has been causing some spikes in point estimates around 27 August.

Results of some legwork:
There is only one issue of that data, and it was recorded last December, meaning that it was not part of the recent repair debacles surrounding the C13 bugfix:
MariaDB [epidata]> select value,issue,from_unixtime(value_updated_timestamp) from covidcast2 where source="fb-survey" and `signal`="raw_cli" and time_value=20200830 and geo_type="nation" and geo_value="us";
+-----------+----------+----------------------------------------+
| value     | issue    | from_unixtime(value_updated_timestamp) |
+-----------+----------+----------------------------------------+
| 0.5092735 | 20201215 | 2020-12-15 14:14:37                    |
+-----------+----------+----------------------------------------+

cc @capnrefsmmat

Okay, it looks like on December 15 we did a reissue of all national data from April 6 to December 14. I have the resulting CSV files, but I don't have a corresponding params file or logging information or anything else about that run.
August 27 is the only day in that batch with a sample size under 1000:
reissue-national $ for d in `ls receiving/ | sed 's/_.*//' | sort -u`; do grep "^us" receiving/$d* | sed 's/.*,//' | awk -vD=$d 'BEGIN{s=1000}{if ($1<s){s=$1}}END{if (s<1000) {print D,s}}'; done
20200827 151


Window doesnt scroll when modal is larger than viewport

Can not scroll to content that has overflowed. If there is a lot of modal content, the actions are pushed off the bottom of the viewport.
Tested on Mac OSX 10.8.5 Chrome, Canary, FF, Opera, Safari

In case anybody else has this issue and stumbles upon this thread, I was able to get it to work by calling refresh on the modal in the onVisible callback:
$("#your-modal")
.modal({
    onVisible: function () {
        $("#your-modal").modal("refresh");
    }
})
.modal("show");

I'm considering moving the modal to flexbox to make vertical centering not require javascript. If anyone wants to experiment with this its available in branch flex.

I'm using meteor's autoform which has dynamically expanding content.  Refreshing the modal works until the content is larger than the window itself, at which point, the portion of the content that is off-screen is inaccessible.

@gdw2 Have you tried using observeChanges or .modal('refresh')

I've tried .modal('refresh').  I need to investigate more because the demo in the semantic-ui docs scrolls just fine.

I tried all the solutions that mentioned above and the problem still there, I don't know should I create a new issue or this comment is enough.
I have a modal and I get its content via ajax after showing the modal, the content is bigger than the view port and I cant scroll .
Please what should I do?

Create a reproducible test case by forking jsfiddle in readme.

@jlukic Thank you for quick reply, actually I forgot to tell something maybe it cause the issue.
I've prefixed the Semantic UI css (semantic.min.css) with my custom class (using less) like the following:
.Tajer {   @import (less) url("semantic.min.css"); }
All the Semantic UI elements and modules goes inside a div have that class.
Everything worked perfectly and I reached to the end of my project but unfortunately this issue appeared.
My modal settings like the following:
$('.ui.modal').modal({     onShow:UserProducts.getModalContent,     context:$("div.Tajer"),     transition: 'horizontal flip' });
Thank you in advance for your help. Keep up the good work!

Hi thanks for the kind words. For me to debug I need a standalone reproducible test case. If you need help getting this together I recommend our Project Talk or Gitter for support.

Thank you. I'll try Project Talk and Gitter and if I could't find a solution I'll create a reproducible test case and update you here.

@jlukic I do it!
First of all I want to thank you so much, your quick replies pushed me to find a solution, I touched how Semantic UI have a good author and how I can rely on this library.
Now for anyone have a similar issue and need to know the solution, here is what I've made.
Because I prefixed the library with my custom class I should not target that class in the context modal settings option, I should target another class within that class, now my modal settings like the following:
$('.ui.modal').modal({                 onShow: UserProducts.getModalContent,                 observeChanges: true,                 context: $("div.tajer-content"),                 transition: 'horizontal flip'             });
This "div.tajer-content" selector is a div inside "div.Tajer".

Thanks @MohammedThaer. Glad you found an answer to your issue.

Jack,
Thank you so much for this awesome framework! God bless you & your family.
I'm still stumped with the missing scrollbar when using any "ui modal". I was wondering if you have any pointers how to proceed.
Thanks,

I was just having this same problem with content larger than the screen, the modal appears larger than the screen and when scrolling the modal wont scroll but the background (page content) will scroll.
I started playing with the CSS and found that changing to this in the, but when getting to the bottom of the modal it will start scrolling the page content. But at least it scrolls the modal.
Still i dont undestand the issue.
.scrolling.undetached.dimmable.dimmed > .dimmer {
    overflow: scroll !important;
}

By the way, thanks for the great work on this framework.

observeChanges helped

I tryed observeChanges and refresh but it wouldnt help.

make a fiddle and we'll try to figure it out

I couldnt reproduce the error on fiddle, when doing it on meteorpad i did but it was fixed by aplying observeChanges:true, finally i just added this to my CSS.
.scrolling.undetached.dimmable.dimmed > .dimmer {
    overflow: scroll !important;
}

.scrolling.undetached.dimmable.dimmed{
    overflow: hidden !important;
}

If i can reproduce the problem in the next days i will post it here, thanks.

If it doesnt reproduce on fiddle, you should narrow it down in ur project

If you are using meteor you may want to be using detachable: false

I use Meteor as well and it works just fine :smile:

Had similar problems with a modal window containing tabs..
One of the tabs was longer and went out of viewport (esp on tablets) and was not scrollable..
The refresh worked without problems by doing:
$('#modal a[data-tab]').on('click', function () {
            $('#modal').modal('refresh');
        });

Just wanted to say if someone has modal and tab problem with scrolling..

Adding observeChanges: true to the modal settings solved the problem I had in my Meteor app.

If I just drag in Chrome corners to make window height smaller it works on every try. Any ideas how to solve this?

If I just drag in Chrome corners to make window height smaller it works on every try. Any ideas how to solve this?

make a jsfiddle or codepen and we'll give it a look

The observeChanges did not work for me, and using the click method I had to click twice to get it to work correctly.
My solution since I was using tabs, was just to defer calling refresh until the tab was visible:
$( '#my_tabs .item' ).tab({
	onVisible: function( tabPath ){
		console.log( 'Tab visible: ', tabPath );
		$( '#my_modal' ).modal( 'refresh' );
	}
});

I thing the best way to solve this problem is to set the modal with observeChanges in true.  By default is in false.
Template.YourTemplate.onRendered(function () {
$('.ui.modal.yourmodal').modal('observeChanges', true);
});

I think I fixed this with a simple little one-liner. All you have to do is :
  $('#yourdiv').on('click',function(){
    $('.modal').modal('setting', { detachable:false }).modal('show').addClass('scrolling active');
    $('body').addClass('scrolling');
  });

By hard-coding the 'scrolling' class in the body , it seems to work as I observed that BOTH the modal div and the body acquire a class of '.active.visible.scrolling' when you initiate the modal. But by default, the body does not acquire the 'scrolling' class unless the window is resized.  Adding that one line seems to solve that issue for me !
Let me know if this worked for anybody else and if this seems like the right way to go !

I think I fixed this with a simple little one-liner. All you have to do is :
  $('#yourdiv').on('click',function(){
    $('.modal').modal('setting', { detachable:false }).modal('show').addClass('scrolling active');
    $('body').addClass('scrolling');
  });

By hard-coding the 'scrolling' class in the body , it seems to work as I observed that BOTH the modal div and the body acquire a class of '.active.visible.scrolling' when you initiate the modal. But by default, the body does not acquire the 'scrolling' class unless the window is resized.  Adding that one line seems to solve that issue for me !
Let me know if this worked for anyone else.

I cant believe this bug still happens and nobody cared to solve it. -> https://github.com/Semantic-Org/Semantic-UI/issues/4196

The answer of indesignlatam will solve it
.scrolling.undetached.dimmable.dimmed > .dimmer {
    overflow: scroll !important;
}

.scrolling.undetached.dimmable.dimmed{
    overflow: hidden !important;
}

Thanks! Will that be available in the official repository? If so, when? I use semantic ui in at least 300 websites and it will be freaking boring to add this code to every site.

@diuzzoli 's solution solves my problem.
Thank you!


added interface release function to Instrument class

This adds an explicit usb interface release, for when you can't wait for the garbage collector to do it.

Close method now in latest version, also called from destructor.


Are default values correct?

In the default values section of the main page, it says that Sickbeard mp4 Automator will default to AAC 2.0 with additional AC3 track when source has >2 channels (ex 5.1). In the default AutoProcess.ini it says that the default video codec is AC3.  Does this do what the default section claims?
Also, is there a way to passthrough audio/video?  I'm using this mostly to embed subtitle tracks in an already converted file.
Thanks for making such an incredible program!

Default video is h264, don't think it says default video anywhere is AC3
Defaults are correct but I think your interpretation is a little off.  Default audio is AC3 with universal audio enabled for AAC. Universal audio creates an additional stereo AAC track for any track >2 channels. If it encounters a 2 channel track then the universal audio settings are used instead to maximize combability (instead of creating 2 tracks)
Don't set a codec for universal audio if you don't want that feature
Remuxing is probably what you want for passthrough. Any codec included on the list will be copied/remuxed assuming there's not some other setting that prevents it (for example, max bitrate can block remuxing if bitrate is too high). Just include whatever codecs you want to keep on the list to achieve passthrough


Connected Device(No Device Avaliable)

Hi Github !
I have a problem with Flutter installing
When I run to flutter doctor in Flutter console, I'm getting with this problem.
Can Someone help me about this problem.
C:\Users\User>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.0.0, on Microsoft Windows [Version 10.0.17763.253], locale tr-TR)
[√] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[√] Android Studio (version 3.3)
[√] VS Code (version 1.30.2)
[!] Connected device
    ! No devices available

! Doctor found issues in 1 category.

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.

I had the same Problem and got it fixed by revoking the USB debugging authorizations in the developer options of my andriod phone.

got same issue, and my device is avaliable in xcode.and I can not fix it.

I got same problem and fixed by this:
rm -rf <flutter_repo_directory>/bin/cache && flutter doctor -v

Maybe Here You Can Get Your Solution

Do You Setup This ?
Set up your Android device
To prepare to run and test your Flutter app on an Android device, you’ll need an Android device running Android 4.1 (API level 16) or higher.
Enable Developer options and USB debugging on your device. Detailed instructions are available in the Android documentation.
Using a USB cable, plug your phone into your computer. If prompted on your device, authorize your computer to access your device.
In the terminal, run the flutter devices command to verify that Flutter recognizes your connected Android device.
Start your app by running flutter run.
By default, Flutter uses the version of the Android SDK where your adb tool is based. If you want Flutter to use a different installation of the Android SDK, you must set the ANDROID_HOME environment variable to that installation directory
Founded At Here

Help please

Could you run flutter doctor -v and paste the result here?

Hi guys-  I'm also having trouble setting up flutter for vscode for Windows 10.
I followed all the official flutter documentation instructions on the windows setup for flutter (and android studio SDKs) to be used with vscode (wasn't able to choose hardware acceleration option for the Android Virtual Device emulator, but otherwise all other steps were followed to the T). I am getting the same results  as in the post all the way at the top when running flutter doctor , and also tried deleting all the cache in the bin in the flutter directory and rerunning flutter doctor -v as well, to no avail.
result of flutter doctor -v

image of Android Studio Android Virtual Device Manager

Anyone got any ideas? Do I even need to have a connected device?
Thanks! :)

@GreenOpposite

resolved! I had everything setup correctly - however, I just needed to have the AVD Pixel emulator up and running while running the flutter doctor command - then, it recognized that it was a connected device. :)
However, soon after, it crashed my computer - any tips on getting the device emulator to run more smoothly /  not take up too much ram / processing power?


refactor!: remove old LSP2 Key Types (Bytes20..)

What does this PR introduce?

Include the changes from #162
refactor!: remove old LSP2 Key Types (Bytes20..)
fix failing tests
Closes #165
Closes #163

I'll merge to lsp-refactor so I can work on this branch. I'll open a new PR from this branch to develop.


fix issue with subscribe async with wildcard topics

With the addition of async subscribe, we are keeping a dict of topic names and the corresponding messages received. When subscribing with a wildcard topic (eg: 'Company/+/Data'), that topic is added to dict, but when a publish is received on a matching topic, it is added to a new exact key (eg: 'Company/test/Data'). So when listening and getting messages for the wildcard topic, those were not added in the right place.
Used paho's Matcher to match whether a topic matches a wildcard subscription, and added messages to all matched topics.
Fixes #17

There is still an issue.
If you repeat the test cases in my comment but also use the # char at the end of the topic, it doesn't work.
In details:
TEST CASE CODE
`
*** Settings ***
Documentation    this is a suite to study the robot mqtt lib
Library             MQTTLibrary
Library             DateTime
Library             os
*** Variables ***
#${topic}    Company/Buildings/Data/test/Rooms/test/Desks/test/Objects/test
${topic}    Company/Buildings/Data/test/Rooms/test/Desks/+/Objects/#
#${broker}          mqtt.flespi.io
${broker}           <IP_ADDRESS>
${port}             1883
#${user}             MS_MONITORING
#${password}         MS_MONITORING_PASSWORD
${base_client}   emq_subscriber
*** Test Cases ***
Test title
[Tags]    study
${client}=   Generate ClientId
When Connect                        ${broker}   ${port}  client_id= ${client}
log to console          ${topic}

Subscribe         topic=${topic}  qos=0  timeout=0  limit=30

${messages}     Listen          topic=${topic}    limit=20   timeout=10

log to console          ${messages}
[Teardown]  Run Keywords    unsubscribe    ${topic}   AND   disconnect

*** Keywords ***
Generate ClientId
${time}=    Get Current Date    result_format=%Y-%m-%d%H%M%S
${client}=  catenate  ${base_client}${time}
log to console  ${client}
[Return]    ${client}`
OUTPUT
It often (not always) exit with this output
Test title                                                            emq_subscriber2020-07-12164746 ..Company/Buildings/Data/test/Rooms/test/Desks/+/Objects/# [ WARN ] Cannot listen when not subscribed to a topic                          Test title                                                            .[] Test title
Sorry for the format issue but basically i changed only the topic variable.

If you repeat the test cases in my comment but also use the # char at the end of the topic, it doesn't work.

I have a test case which does that and it's passing (see https://github.com/randomsync/robotframework-mqttlibrary/pull/19/files#diff-5876264ee56d55af0499cc22b6b7b693R18). I think the issue you're encountering is: Cannot listen when not subscribed to a topic, which is the other issue that I haven't looked into yet. It seems to be a timing issue, so can you put a few seconds wait in between subscribe and listen, and try running the test again. Let's just make sure for now the wildcards issue is fixed.

@deneb78it can you try this branch? It has both the fixes.

It seems OK


[BUG] QueryItems method does not work if CosmosAsyncClient was created with token

Describe the bug
After creating client with token, which has permission constrained to partition key value, queryItems method does not return any results. ReadAllItems method returns results.
Exception or Stack Trace
There is not exception or stack trace. Just queryItems method does not work.
To Reproduce
Just create CosmosAsyncUser, then create CosmosAsyncPermission. No matter what permission level will be applied in CosmosPermissionProperties, read/all. Then create CosmosAsyncClient with token and execute queryItems method.
Code Snippet
CosmosQueryRequestOptions cosmosQueryRequestOptions =
                createCosmosQueryRequestOptions(10,1000);
container.queryItems(query, cosmosQueryRequestOptions, classType);

query was just simple select * from root. No matter if there was added clause with where partitionkey.
Expected behavior
QueryItems should return results.
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):

OS: WINDOWS
IDE : IntelliJ
LATEST

Additional context
Add any other context about the problem here.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x ] Bug Description Added
[x ] Repro Steps Added
[ x] Setup information Added

@kushagraThapar If you can help us out with this, that would be great. Actually i am also facing similar issue while using cosmos v4.12.0 in kotlin.

@mbhaskar - what extra permissions does query need when creating a client with token ?

Close as no activity.


Add new colour variables to replace deprecated greys

GOV.UK elements copies the base styles from the GOV.UK template to _govuk-template-base.scss to make it clear which base styles are set by the template.
The Sass variable $grey-8 is defined only in the GOV.UK template's /styleguide/colours.scss file, so this causes an error.
Since $grey-8 is the same as $grey-3 (in the govuk front end toolkit) but $grey-3 is overridden in /styleguide/colours.scss (line 10), add an alias for $grey-3 to the GOV.UK front end toolkit $footer-background and raise this PR to discuss additional variable names for the remaining greys - which are commented where used.

@fofr, good question. I think we should ask @markhurrell.

This PR leaves the history for context. It is useful to show where the $grey variables came from.
It can't be merged until there is a new release of govuk frontend toolkit (which includes $footer-background). I'll mark as do not merge for now.

LGTM 👍
IMO it'd be better to squash all the commits into one, as the final diff is pretty small, and i'm not sure the extra commits add enough context to justify the noise.

Yep, looks good to me. I guess we’ll also need to fix this in elements? https://github.com/alphagov/govuk_elements/blob/master/public/sass/elements/_base.scss#L54

Yep, looks good to me. I guess we’ll also need to fix this in elements? https://github.com/alphagov/govuk_elements/blob/master/public/sass/elements/_base.scss#L54
Show all checks

Elements shouldn't need any of the footer specific colour variables. As I understand it, that file exists to duplicate the general-purpose/non-govuk_template specific SCSS (like accessibility helpers, etc) for projects that consume govuk_elements, but not govuk_template itself, in which case they shouldn't need a grey specific to the footer implementation of govuk_template - as they're not using it, if you get what I mean?
I'm going to try and put together a discussion PR to split the SCSS in govuk_template into 2 groups (but still within the repo).

Things specific to the design of govuk_template and it's markup, etc.
General purpose helpers that are useful to projects that don't use govuk_template and could be moved to FET in the future

There’s only one occurrence of $grey-8 in govuk_elements and it doesn’t seem to be defined anywhere.
Re your 2nd point, agreed.

There’s only one occurrence of $grey-8 in govuk_elements and it doesn’t seem to be defined anywhere.

Yep, it can be removed, it's usage there is a govuk_template "design feature", so can be dropped :+1:


ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: capacity

ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: capacity
System.Collections.Generic.HashSet1[T]..ctor (System.Int32 capacity, System.Collections.Generic.IEqualityComparer1[T] comparer) (at <378523c1e6ba4db992c5a1e98a5541ae>:0)
MemoryPack.Formatters.HashSetFormatter1[T].Deserialize (MemoryPack.MemoryPackReader& reader, System.Collections.Generic.HashSet1[T]& value) (at Assets/Plugins/MemoryPack/Runtime/MemoryPack.Core/Formatters/CollectionFormatters.cs:411)
UserInfoSave.Deserialize (MemoryPack.MemoryPackReader& reader, UserInfoSave& value) (at MemoryPack.Generator.Roslyn3/MemoryPack.Generator.MemoryPackGenerator/UserInfoSave.MemoryPackFormatter.g.cs:215)
UserInfoSave+UserInfoSaveFormatter.Deserialize (MemoryPack.MemoryPackReader& reader, UserInfoSave& value) (at MemoryPack.Generator.Roslyn3/MemoryPack.Generator.MemoryPackGenerator/UserInfoSave.MemoryPackFormatter.g.cs:280)
MemoryPack.MemoryPackSerializer.Deserialize[T] (System.Buffers.ReadOnlySequence`1[System.Byte]& buffer, T& value, MemoryPack.MemoryPackSerializerOptions options) (at Assets/Plugins/MemoryPack/Runtime/MemoryPack.Core/MemoryPackSerializer.Deserialize.cs:81)

Because the structure is immutable, I changed it. This prompt is too difficult to understand

Could you provide me with a simple reproduction code?
Since ArgumentOutOfRangeException is a system exception message, we need to throw an exception that correctly traps the situation, so as pointed out, there is room for improvement.


How to clear the typehead after some sort of action

Hello all.
I tried to clear the text inside the typeahead control after selecting from the list and making some action like inserting in another tabular bootstrap , but this doesn't reset the control itself it only affected the associated modeled variable.Please let me know how to handle this
<vue-bootstrap-typeahead
  v-model="selEmployee"  class="b-form-group typehead"  size="sm" @hit="addToTable();" style="width:100%"
  :data="empEmails"/> </td><td>   <b-button size="sm" variant="success"  @click="addToTable()">

addToTable: function() {
      let that = this;
      that.list.push({that.selEmployee});
      that.selEmployee = "";

    }

this.$refs.employeeAutocomplete.inputValue = ''
You need to include ref="employeeAutocomplete" to your vue-bootstrap-typeahead component

I've created a pull request #38 fixing this issue so you could just do that.selEmployee = "";

How's PR #38 going? I'd really like this behavior to be standard! :D

Hi! It's the end of December :) How's it going?

Hey all, I'm looking to revive this project, but I haven't been able to track down the author. So, I've forked it over to here: https://github.com/mattzollinhofer/vue-typeahead-bootstrap.
I'll try to take a look at this PR soon and see if I can get it merged as it seems like there's a number of folks who need this to be fixed.

I've begun merging a few fixes into my fork (https://github.com/mattzollinhofer/vue-typeahead-bootstrap) of this project that I'm actively maintaining. I'm not positive if this exact issue is addressed, but if someone can confirm either way I'd appreciate it!
You can find it on npm here: https://www.npmjs.com/package/vue-typeahead-bootstrap.
I hope this helps!

@baherfaragval @hamza-mashhadi @alekpentchev @markspare
Unfortunately this repo isn't maintained any longer, but I'm actively maintaining a fork here: https://github.com/mattzollinhofer/vue-typeahead-bootstrap
I believe I've fixed this issue. If any of you have a minute to see if my most recent version resolves the issue and report back on here I'd really appreciate it!
https://www.npmjs.com/package/vue-typeahead-bootstrap

@baherfaragval @hamza-mashhadi @alekpentchev @markspare
Unfortunately this repo isn't maintained any longer, but I'm actively maintaining a fork here: https://github.com/mattzollinhofer/vue-typeahead-bootstrap
I believe I've fixed this issue. If any of you have a minute to see if my most recent version resolves the issue and report back on here I'd really appreciate it!
https://www.npmjs.com/package/vue-typeahead-bootstrap

I tried out your fork and it has solved this Issue.
p.s I would suggest you update your readme about usage since the package name has changed from the original one. (it's now vue-typeahead-bootstrap instead of vue-bootstrap-typeahead)
Thank you for the fix I will be using your package from now onwards :)

Thanks for checking!
Also thanks for the heads up about the readme, that’s embarrassing 😂

@hamza-mashhadi Could you close this issue since we've found a solution? I'm trying to work through the old issues on this repository and I don't have control over it to close it.

@hamza-mashhadi Could you close this issue since we've found a solution? I'm trying to work through the old issues on this repository and I don't have control over it to close it.

Sadly I can't, @baherfaragval opened the issue so only he or repo owner can close this.

Ugh, sorry,I wasn’t paying close enough attention. Thanks anyway.


Add typescript examples to DocSite components

Feature Request
Add typescript examples to DocSite. Currently only javascript code examples.
Problem description
Currently DocSite contains only javascript examples.  Now significant number of people are coding using TypeScript and having these examples would be helpful, especially for getting started.
Proposed solution
Add switching method between Typescript and Javascript code examples

Duplicate #495 😸


Request support for Meaco Arete Two 12L

Log message
>>>Wasn't sure exactly which log so have included the system log and some bits from the debug log that seemed most likely to be useful (I have the full debug log if that helps)

This error originated from a custom integration.

Logger: custom_components.tuya_local.config_flow
Source: custom_components/tuya_local/config_flow.py:376
integration: Tuya Local (documentation, issues)
First occurred: 11:59:32 (9 occurrences)
Last logged: 12:42:49

Adding Arete® Two 12L Dehumidifier/Air Purifier device with product id zibqa9dutqyaxym2

This error originated from a custom integration.

Logger: custom_components.tuya_local.config_flow
Source: custom_components/tuya_local/config_flow.py:393
integration: Tuya Local (documentation, issues)
First occurred: 11:59:32 (9 occurrences)
Last logged: 12:42:49

Device matches cct_v1_lightbulb with quality of 29%. DPS: {"updated_at":<PHONE_NUMBER>.566403, "1": true, "2": 55, "14": false, "16": 71, "17": "cancel", "19": 0, "101": "cancel"}
Device matches cct_v1_lightbulb with quality of 29%. DPS: {"updated_at":<PHONE_NUMBER>.239388, "1": true, "2": 55, "14": false, "16": 70, "17": "cancel", "19": 0, "101": "cancel"}
Device matches cct_v1_lightbulb with quality of 29%. DPS: {"updated_at":<PHONE_NUMBER>.4063795, "1": true, "2": 55, "14": false, "16": 68, "17": "cancel", "19": 2, "101": "cancel"}
Device matches cct_v1_lightbulb with quality of 29%. DPS: {"updated_at":<PHONE_NUMBER>.2655904, "1": true, "2": 55, "14": false, "16": 68, "17": "cancel", "19": 0, "101": "cancel"}
Device matches cct_v1_lightbulb with quality of 29%. DPS: {"updated_at":<PHONE_NUMBER>.2535775, "1": true, "2": 55, "14": false, "16": 68, "17": "cancel", "19": 0, "101": "cancel"}

2024-12-08 12:42:59.634 DEBUG (MainThread) [custom_components.tuya_local.device] Smartplug with timer received {"1": true, "2": 55, "14": false, "16": 68, "17": "cancel", "19": 0, "101": "cancel", "full_poll": true}

2024-12-08 12:42:18.564 DEBUG (MainThread) [custom_components.tuya_local.config_flow] Found: {'ip': 'xxx', 'version': '3.3', 'id': 'xxx', 'product_id': 'zibqa9dutqyaxym2', 'data': {'ip': '<IP_ADDRESS>', 'gwId': 'xxx', 'active': 2, 'encrypt': True, 'productKey': 'zibqa9dutqyaxym2', 'version': '3.3', 'name': '', 'key': '', 'mac': '', 'id': 'xxx', 'ability': 0, 'token': '', 'wf_cfg': '', 'dev_type': 'default', 'origin': 'broadcast'}}
2024-12-08 12:42:20.214 DEBUG (MainThread) [custom_components.tuya_local.device] Refreshing device state for Test
2024-12-08 12:42:20.215 INFO (MainThread) [custom_components.tuya_local.device] Setting protocol version for Test to 3.3
2024-12-08 12:42:20.253 DEBUG (SyncWorker_5) [custom_components.tuya_local.device] Test refreshed device state: {"dps": {"1": true, "2": 55, "14": false, "16": 68, "17": "cancel", "19": 0, "101": "cancel"}}
2024-12-08 12:42:20.254 DEBUG (SyncWorker_5) [custom_components.tuya_local.device] new state (incl pending): {"updated_at":<PHONE_NUMBER>.2535775, "1": true, "2": 55, "14": false, "16": 68, "17": "cancel", "19": 0, "101": "cancel"}

Product ID
zibqa9dutqyaxym2
Product Name
Meaco Arete Two 12L
DPS information
{
  "result": {
    "model": "{\"modelId\":\"f58ky0\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[{\"abilityId\":1,\"accessMode\":\"rw\",\"code\":\"switch\",\"description\":\"\",\"name\":\"开关\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":2,\"accessMode\":\"rw\",\"code\":\"dehumidify_set_value\",\"description\":\"\",\"name\":\"湿度设定\",\"typeSpec\":{\"type\":\"value\",\"max\":70,\"min\":35,\"scale\":0,\"step\":5,\"unit\":\"%\"}},{\"abilityId\":4,\"accessMode\":\"rw\",\"code\":\"mode\",\"description\":\"\",\"name\":\"模式\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"manual\",\"laundry\",\"sleep\",\"purify\"]}},{\"abilityId\":14,\"accessMode\":\"rw\",\"code\":\"child_lock\",\"description\":\"\",\"name\":\"童锁\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":16,\"accessMode\":\"ro\",\"code\":\"humidity_indoor\",\"description\":\"\",\"name\":\"室内湿度\",\"typeSpec\":{\"type\":\"value\",\"max\":100,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"%\"}},{\"abilityId\":17,\"accessMode\":\"rw\",\"code\":\"countdown_set\",\"description\":\"\",\"name\":\"定时关机\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"cancel\",\"1h\",\"2h\",\"3h\",\"4h\",\"5h\",\"6h\",\"7h\",\"8h\",\"9h\",\"10h\",\"11h\",\"12h\",\"13h\",\"14h\",\"15h\",\"16h\",\"17h\",\"18h\",\"19h\",\"20h\",\"21h\",\"22h\",\"23h\",\"24h\"]}},{\"abilityId\":18,\"accessMode\":\"ro\",\"code\":\"countdown_left\",\"description\":\"\",\"name\":\"倒计时剩余时间\",\"typeSpec\":{\"type\":\"value\",\"max\":24,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"h\"}},{\"abilityId\":19,\"accessMode\":\"ro\",\"code\":\"fault\",\"description\":\"\",\"extensions\":{\"scope\":\"fault\"},\"name\":\"故障告警\",\"typeSpec\":{\"type\":\"bitmap\",\"label\":[\"tankfull\",\"defrost\",\"E1\",\"E2\",\"L2\",\"L3\",\"L4\",\"wet\"],\"maxlen\":8}},{\"abilityId\":101,\"accessMode\":\"rw\",\"code\":\"ontimer\",\"description\":\"\",\"name\":\"定时开机\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"cancel\",\"1h\",\"2h\",\"3h\",\"4h\",\"5h\",\"6h\",\"7h\",\"8h\",\"9h\",\"10h\",\"11h\",\"12h\",\"13h\",\"14h\",\"15h\",\"16h\",\"17h\",\"18h\",\"19h\",\"20h\",\"21h\",\"22h\",\"23h\",\"24h\"]}}]}]}"
  },
  "success": true,
  "t":<PHONE_NUMBER>389,
  "tid": "df7e39fbb56411ef828e8aa4893defa6"
}

Information about how the device functions
Should be much the same as the product added here https://github.com/make-all/tuya-local/issues/2232 just a different size, so I thought it would work natively.
I can use the cloud setup to detect it, find the device ID etc. Seems to prefer Protocol 3.3. But when it gets to the device type selection it doesn't offer me dehumidifier as an option (see screenshot below)

It looks like your device is just not reporting the mode, though it is listed as supported in the dps info. It should be recognised if we make the mode optional (and may get recognised as-is if you change the mode and try again)

Tried that, and it seems to have worked! Thanks!


Add Mammuthus SaaS node

Per request here: https://hhmx.de/@nick/554798

Received permission (see thread above).

Not relevant any more.


Please add a license file

I'd like to add this to awesome-zsh-plugins, but it doesn't have a license file.
Please add a license file - if you don't have one in mind,  I recommend using choosealicense.com to help choose an appropriate one.
Thanks!

Hey thank for the notification 😊, feel free to add it! I am flattered.
I created a a license just now: https://github.com/lmllrjr/backbone-zsh-prompt/pull/2


Purge Mind

2: Deal 8 damage for all cards which remember in deck (including exhaust pile). Exhaust all cards which remember. Snap.

TODO:

Check each card for "Remember" effect and add it to the card's card
Do some mspaint word art
See how bad the game feels with slow exhaust effect and 5/10/15/20 remember cards
Play around with VFX and SFX


feat: multithread download tiff files at the beginning of standardise TDE-822

superceeded by https://github.com/linz/topo-imagery/pull/580


Problem with ssh authentication

Host is RHEL 6.4
I have gone through all the steps - but cannot get this to work - I have the same error all the time.
[test_vm]  -- Command line :
INFO machine: New machine ID: "8a7498e6-5fef-6768-900a-659119608774"
INFO warden: Calling IN action: #VagrantPlugins::ProviderLibvirt::Action::TimedProvision:0x007fd150ccf848
INFO provision: Checking provisioner sentinel if we should run...
INFO warden: Calling IN action: #VagrantPlugins::ProviderLibvirt::Action::CreateNetworks:0x007fd150d53eb8
INFO create_networks: Using vagrant-libvirt at <IP_ADDRESS>/24 as the management network
INFO create_networks: Saving information about created network vagrant-libvirt, UUID=ee0e4929-e399-1db7-e71e-9960388ca5a6 to file /root/vagrant/1/.vagrant/machines/test_vm/libvirt/created_networks.
INFO warden: Calling IN action: #VagrantPlugins::ProviderLibvirt::Action::CreateNetworkInterfaces:0x007fd150e203c8
INFO create_network_interfaces: Using vagrant-libvirt at <IP_ADDRESS>/24 as the management network
INFO create_network_interfaces: Creating network interface eth0 connected to network vagrant-libvirt.
INFO warden: Calling IN action: #VagrantPlugins::ProviderLibvirt::Action::StartDomain:0x007fd150ea1ab8
INFO interface: info: Starting domain.
[test_vm] Starting domain.
INFO warden: Calling IN action: #VagrantPlugins::ProviderLibvirt::Action::WaitTillUp:0x007fd150f25de0
INFO interface: info: Waiting for domain to get an IP address...
[test_vm] Waiting for domain to get an IP address...
ERROR warden: Error occurred: Error authenticating over ssh to host vbox72 and user root
INFO warden: Beginning recovery process...
INFO warden: Calling recover: #VagrantPlugins::ProviderLibvirt::Action::WaitTillUp:0x007fd150f25de0
INFO machine: Calling action: read_state on provider Libvirt (8a7498e6-5fef-6768-900a-659119608774)
Strangely enough I get this as well when I try even without ssh.
Any ideas?

https://github.com/pradels/vagrant-libvirt/commit/0a23a986b36f3c552a653ec22912c1aa7e45afa5


feat: force options on apply

Description
@lucasrod16  discovered a bug in Pepr when trying to apply a secret that was initially created by Zarf:
  try {
    await K8s(kind.Secret).Apply({
      metadata: {
        name: secretName,
        namespace: ns,
      },
      data: {
        data: secret.data.data,
      },
    });
  } catch (err) {
    Log.error(
      `Error: Failed to update package secret '${secretName}' in namespace '${ns}'`,
    );
  }

The error had to do with a FieldManagerConflict:
"Apply failed with 1 conflict: conflict with \\\"zarf\\\" using v1: .data.data\",\"reason\":\"Conflict\",\"details\":{\"causes\":[{\"reason\":\"FieldManagerConflict\",\"message\":\"conflict with \\\"zarf\\\" using v1\",\"field\":\".data.data\"}]},\"code\":409},\"ok\":false,\"status\":409,\"statusText\":\"Conflict\"}"}

There should be more options exposed in the future but this initial patch it to unblock @lucasrod16 .
Related Issue
Fixes #9

Relates to #
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Other (security config, docs update, etc)

Checklist before merging

[x] Test, docs, adr added or updated as needed
[x] Contributor Guide Steps followed

@cmwylie19 @jeff-mccoy I have a workaround to this problem.
Clearing/stripping the managedFields field from the object and updating the data.data field in the same Patch() operation allows Pepr to take ownership of that field and resolves the field manager conflict error.
https://kubernetes.io/docs/reference/using-api/server-side-apply/#clearing-managedfields
// Clear managedFields to allow Pepr to take ownership of the secret data.data field and update webhook status
// For more information on clearing managedFields to take ownership of an object's field(s): https://kubernetes.io/docs/reference/using-api/server-side-apply/#clearing-managedfields
// TODO: Update to use Server-Side force apply when available in Pepr: https://github.com/defenseunicorns/kubernetes-fluent-client/issues/9
const patchOps: Operation[] = [
  { op: "replace", path: "/metadata/managedFields", value: [{}] },
  { op: "replace", path: "/data/data", value: secret.data.data },
];

const kube = K8s(kind.Secret, { namespace: ns, name: secretName });

try {
  await kube.Patch(patchOps);
  Log.debug(
    `Successfully updated package secret '${secretName}' in namespace '${ns}'`,
  );
} catch (err) {
  Log.error(
    `Error: Failed to update package secret '${secretName}' in namespace '${ns}': ${JSON.stringify(
      err,
    )}`,
  );
}


Runtime NoSuchMethod exception when depending on two different versions between library & project

For my project I depend on a librabry that utilises http4s version 0.23.19. In my project I had the dependnecy set to 0.23.18 before realising that it was the cause for the following issue.
I used an EmberClient to make a request that went through an AuthedMiddleware when I got a NoSuchMethodError exception at runtime which killed the app.
Once I matched up the http4s dependency versions everything worked just fine - so it appears to be a binary incompatibility between minor versions
[error] 	at org.http4s.ember.client.internal.ClientHelpers$.$anonfun$elevateSocket$3(ClientHelpers.scala:125)
[error] 	at scala.Option.fold(Option.scala:263)
[error] 	at org.http4s.ember.client.internal.ClientHelpers$.$anonfun$elevateSocket$1(ClientHelpers.scala:122)
[error] 	at cats.effect.kernel.Resource.loop$2(Resource.scala:522)
[error] 	at cats.effect.kernel.Resource.continue$2(Resource.scala:475)
[error] 	at cats.effect.kernel.Resource.$anonfun$allocatedCase$5(Resource.scala:526)
[error] 	at cats.effect.IOFiber.succeeded(IOFiber.scala:1190)
[error] 	at cats.effect.IOFiber.runLoop(IOFiber.scala:338)
[error] 	at cats.effect.IOFiber.asyncContinueSuccessfulR(IOFiber.scala:1358)
[error] 	at cats.effect.IOFiber.run(IOFiber.scala:113)
[error] 	at cats.effect.unsafe.WorkerThread.run(WorkerThread.scala:679)
[error] java.lang.NoSuchMethodError: 'fs2.io.net.tls.TLSParameters org.http4s.ember.core.Util$.mkClientTLSParameters(scala.Option, boolean)'
[error] 	at org.http4s.ember.client.internal.ClientHelpers$.$anonfun$elevateSocket$3(ClientHelpers.scala:125)
[error] 	at scala.Option.fold(Option.scala:263)
[error] 	at org.http4s.ember.client.internal.ClientHelpers$.$anonfun$elevateSocket$1(ClientHelpers.scala:122)
[error] 	at cats.effect.kernel.Resource.loop$2(Resource.scala:522)
[error] 	at cats.effect.kernel.Resource.continue$2(Resource.scala:475)
[error] 	at cats.effect.kernel.Resource.$anonfun$allocatedCase$5(Resource.scala:526)
[error] 	at cats.effect.IOFiber.succeeded(IOFiber.scala:1190)
[error] 	at cats.effect.IOFiber.runLoop(IOFiber.scala:338)
[error] 	at cats.effect.IOFiber.asyncContinueSuccessfulR(IOFiber.scala:1358)
[error] 	at cats.effect.IOFiber.run(IOFiber.scala:113)
[error] 	at cats.effect.unsafe.WorkerThread.run(WorkerThread.scala:679)```

@armanbilge Thank you for getting back to me, should the user expect to see a compile time warning of some sorts to let the user know that this could happen?
In this case there was no warnings or anything that popped up

Unfortunately the tooling gives us no way to communicate this information to downstream users.
For example, for http4s Ember client 0.23.19, we'd need a way to specify that the acceptable version range for its http4s-core dependency is precisely 0.23.19-0.23.19, while the acceptable version range for its Cats Effect dependency is any version 3.5.0+.

Thank you for taking the time to answer all the questiions @armanbilge!


Add option to add environment variables to python kernels

It would be very useful to be able to specify custom environment variables for python kernels

Sounds like an interesting idea! Will be reviewing soon, I hope :wink:

@weninc master is running OK now on the CI, do you want to rebase/merge on master and try to add some tests here? Thanks!

@weninc you may have moved on from this for now, but my larger PR #80 ends up pulling in any environment variables that are set by conda packages themselves (e.g., in post-link scripts). Technically, nb_conda_kernels is not doing the right thing now, because it is not fully activating the environment that a kernel runs in.
Can you think of other cases where environment variables need to be set, and which are not already handled by properly activated conda environments?


Theme requests

Radcliffe
Shaken Grid Free
Arcade
Sparkling
Maskitto Light
Requested themes will be vetted for quality and maintainability.
Feel free to add to this ticket at any time.

Commons book development is picking up. When would these requested themes be available for members? Thank you @chriszarate!

I've reviewed and installed all of these except Shaken Grid Free. If you want this theme, I suggest purchasing the full version (but let's talk about it first).
The themes are not network activated yet, so you'll need a super admin to activate them manually on the sites you want to use them on.
This ticket can stay open for future requests.

Closing; moving theme/plugin requests to wiki.


Short solution needed: "Setup health checks" (nginx)

Please help us write most modern and shortest code solution for this issue:
Setup health checks (technology: nginx)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

Configure load balancing health checks


Implementing basic string Import/Export functionality

Hello! Before I get into the technical details, I wanted to thank you for making this project - this has quickly become my favorite raid plan tool to use, but is in desperate need of a sharing feature.
The purpose of this PR is to add Import/Export functionality, as a quick and dirty way to share scenes with others. I'd like to mention that I am very unfamiliar with React best practices. Feel free to scrutinize my changes to any degree you feel appropriate.
Changes

Pako was added as a dependency to facilitate share string compression.
The commented out "Share" button was restored, and an "Export String" tab was added.

A tab was added to the "Open File" dialog called "Import String".

I realized that I could make this even easier to use by formatting it as a link that will automatically import the plan. You should still be able to import any plan codes that aren't formatted as URLs through the Open menu.

I did consider adding a URL parameter option, however I figured there was a max length to the URL parameters and didn't investigate that option further. I see you went ahead and implemented this successfully. I guess that's a lesson for myself, huh?
On a side note, I would like to contribute more, but would like to collaborate with you on the solution before opening a PR. Would the best way to do this be to open a new Feature Request ticket?

I figured there was a max length to the URL parameters

There is a server-imposed limit, but most simple plans don't seem to hit it. I just added text explaining that you can still paste the link into the Open dialog if it gets too long.

Would the best way to do this be to open a new Feature Request ticket?

Yeah. Opening a new issue with a proposal would be a good way to start a discussion on new features.

There is a server-imposed limit, but most simple plans don't seem to hit it.

If this ever does become a problem, you can use the URL hash instead of a param. Saves a bit of bandwidth on the server as well.

Oh! I hadn't considered that the hash isn't actually sent to the server. I'll switch to using a hash later, since this is designed to work as a static site and the server never needs to see that data.


Feature request: Set max number of toasts

First of all, THANK YOU!  Compared to some of the other packages that implement toasts, your design around handling multiple toasts is sublime. Also, I love how easy it is to customize styling. I could go on.
I need to set a max number of toasts. Currently, I do it like this:
toast.subscribe((toasts) => {
    if (toasts.length > 5) {
        toasts.pop();
    }
});

But I don't think that's very nice. I'd rather there was something like a all or toasts attribute on toast, which gave a list of toasts so I could do something like:
if (toasts.all.length < 5) {
    toast.push(...)
}

I can of course also keep track of the number of toasts with a global variable, but this is not very nice I think.

Hey, so glad you found this useful! 🎉 Re your question, the toast emitter is in fact just a standard Svelte store (with some additional functions) containing the list of active toasts. You can consume it like how you'd usually use Svelte stores, with reactivity, auto-subscriptions etc. For example:

<button on:click={clicked}>Push (toast count is {$toast.length})</button>

List of toasts:

{#each $toast as item}
{JSON.stringify(item)}
{/each}

<SvelteToast />

Here's the REPL: https://svelte.dev/repl/4228aaa63f6b41c9af61b6c33ef7f4c2?version=3.48.0

Ahh brilliant! That solves it for me 🥳!

But I do get a TypeScript error which I think deserves your attention.
In a minimal example like this, in some ".ts" script:
import { toast } from '@zerodevx/svelte-toast';
import { get } from 'svelte/store';

get(toast)

the TypeScript linter complains over the get(toast) line, saying:

It's was the same when I tried to implement my solution using toast.subscribe, and in fact that's also what the error is saying (that subscribe is missing). The strange thing is that when I place a debugger in my code, toast DOES have a subscribe method. And I looked into your code; it's pretty clear that the createToast returns a valid store object with a subscribe key and all.
It's not a Svelte bug I think. I tried something super simple like:
import { get, writable } from 'svelte/store';

function createCount() {
  const { subscribe, set, update } = writable(0);
  return {
    subscribe,
  };
}

let store = createCount();
get(store);

and that did not cause any linting errors.
Note: this is not a blocker, and the code runs just fine.

This should be fixed in v0.7.2.

Awesome. Again, really enjoying your work. Thanks a lot!


319 add remaining stories

make input date static for VR tests
add initial stories for:

autofocus
date range
cohort date range
file upload
spacing
toggle
validators

breaking change for inCollection validator

Split into multiple PRs to solve CI issue


Draft test-consensus/README.md

Project management requested an overview of the consensus tests. I drafted this README.md for the team to consider as a response.
The request as relayed to me:

request from PM to have a list (at high level of abstraction, english prose, something readable/understandable by management/interested customers/QA team) of the kind of tests we run against the consensus layer

This file only covers test-consensus. I still haven't veered into test-storage -- is there someone better positioned to do that? @mrBliss? Let me know if I should try that one too. It seems like test-storage would fit within the "Component Tests" section of my current draft.

bors r+


pr request  for useSendPasswordResetEmail hook + docs

Add optional actionCodeSettings to useSendPasswordResetEmail.ts + documentation updated.
It's been a while since I've used TypeScript but I did check and make sure no warnings or errors popped up so please verify I didn't make any mistakes if you decide to merge! Thank you.
Hi! I would like to propose a change to the useSendPasswordResetEmail hook.
Mainly, I want to be able to supply the optional actionCodeSettings object for the firebase sendPasswordResetEmail function: firebase v9 documented here
This way, I can supply the 'url' within the actionCodeSettings so when a user initiates password reset, they get the "Continue" button in the firebase dialog box after changing their password, and can be redirected to the page set in the url property: such as  www.example.com/login
Example:
// actionCodeSettings can set other properties as well, in the documentation linked. For my use case on web, URL is enough.

const actionCodeSettings = {
        url: "https://www.example.com/login",
      };

  const [sendPasswordResetEmail, sending, error] = useSendPasswordResetEmail(
    auth
  );

  // somewhere in the code we call sendPasswordResetEmail

    try {
      await sendPasswordResetEmail(email, actionCodeSettings);
    }

@mparsakia Thanks for this submission, it looks like a good addition to the library. I'm currently away on holiday, but will review properly when I'm back in a week or so.

Hi there, I would also really like this feature on the useSendPasswordResetEmail hook. Have you by chance had a moment to review the PR? Much appreciated and thanks for the great library.

Hi @chrisbianca, wanted to check in again whether you might be able to take a look at this PR. Also, it would be great if this functionality could be added to the useSendEmailVerification hook as well. Much appreciated.

@mparsakia Thanks for this submission and apologies for the very overdue merge. I'll be getting a new release out over the next few days

I think this is also needed for useSendEmailVerification


conformance: client does not validate response content-type

The client implementation only examines the response "content-type" header for the Connect unary protocol for non-200 HTTP status codes, to make sure it is "application/json". For other scenarios, it does not check that response header and will instead assume the content-type is correct begin consuming the response body.
This can lead to hard-to-debug errors with unexpected codes when the actual content is not parse-able per the expected message codec. In the worst case, it could possibly result in no error, if the content just happens to be parse-able. In that case, the response message is certain to be incorrect/invalid but it would be provided to application code without an error anyway.
Found by conformance tests in v1.14.0.

This bug was fixed by #679, and the fix was released in v1.15.0.


Quickblox does not send all notifications

Environment details
10.3.3, Latest one
Did this work before?
No
Expected behavior
If user1 is offline and user2 sends 15 messages, It should send 15 push notifications to user1.
Actual behavior
When user continuously sends messages to offline user, It does not send notification for all messages.It should send notifications for all the messages.
Steps to reproduce the behavior
Try sending messages continuously to Offline user

Hi @unoiatech
From Apple Guides:
Some Notifications Received, but Not All

If you are sending multiple notifications to the same device or computer within a short period of time, the push service will send only the last one.
Here's why. The device or computer acknowledges receipt of each notification. Until the push service receives that acknowledgment, it can only assume that the device or computer has gone off-line for some reason and stores the notification in the quality of service (QoS) queue for future redelivery. The round-trip network latency here is of course a major factor.
As described in the Local and Remote Notification Programming Guide, the QoS queue holds a single notification per app per device or computer. If the service receives another notification before the one in the queue is sent, the new notification overwrites the previous one.
If your notification payload contains the content-available key, your app will receive the notification if iOS or OS X determines it is energy-efficient to do so. If the energy or data budget for the device has been exceeded, your app will not receive any more notifications with the content-available key until the budget has been reset. This occurs once a day and cannot be changed by user or developer action. This throttle is disabled if the app is run from Xcode, so be sure to test your app by running it from the device to have the same user experience your customers will have.
All of this points out that the intent is that a notification indicates to an app that something of interest has changed on the provider, and the app should check in with the provider to get the details. Notifications should not contain data which isn't also available elsewhere, and they should also not be stateful.
Any push notification that isn't delivered immediately was queued for future redelivery because your device was not connected to the service. "Immediately" of course needs to take latency for your connection into account. Outlying cases would be beyond 60 seconds as APNs will time out at that point.

Thanks @pro100andrey


Updated byteorder dependency to ~1.4 in macros/Cargo.toml

This should fix issues with other crates (e.g. embedded-graphics master branch) that expect a newer version of the byteorder crate.  I tested this change and it doesn't appear to impact anything (everything builds just fine 👍).

I looked back in git history and the ~1.3 seems to go back to the initial commit.
I also ran some basic tests on 1.2.7 that also seemed to work (though nothing extensive).
I think upgrading to 1.4 should be fine.

I also ran more tests while doing #47 as GitHub Actions weren't running clippy on this crate...

Thanks for merging this 👍


feat(payment): INT-3702 Added vaulted credit card support for Mollie

What? INT-3702
added vaulted methods in order to save cc, modify html and css to stylish Mollie Components, added selectdIntrumentId
Why?
We want the user to be able to save cc and use them later when logged in
Testing / Proof

Dependencies
Build is failing because of this dependency
SDK
@bigcommerce/checkout

I added some new changes! can you validate them please? @capsula4

I added the changes you request! can you validate them please? @capsula4

Hi @JoseAlvarezHdz, seems like the build is failing, could you fix it?

hey @JoseAlvarezHdz, it's still failing the build - this time it's linting issues
/home/circleci/repo/src/app/payment/paymentMethod/HostedWidgetPaymentMethod.tsx
  168:1  error  trailing whitespace (tslint:no-trailing-whitespace)                                                                                @typescript-eslint/tslint/config
  169:5  error  Declaration of public instance method not allowed after declaration of private instance method. Instead, this should come after public instance fields. (tslint:member-ordering)  @typescript-eslint/tslint/config
  201:1  error  Consecutive blank lines are forbidden (tslint:no-consecutive-blank-lines)                                                                                @typescript-eslint/tslint/config
  201:1  error  trailing whitespace (tslint:no-trailing-whitespace)                                                                                @typescript-eslint/tslint/config
  245:5  error  Declaration of public instance method not allowed after declaration of private instance method. Instead, this should come after public instance fields. (tslint:member-ordering)  @typescript-eslint/tslint/config
  276:5  error  Declaration of public instance method not allowed after declaration of private instance method. Instead, this should come after public instance fields. (tslint:member-ordering)  @typescript-eslint/tslint/config

@TomA-R  its passing now!

Awesome!


Client hints support

Segment library adds the userAgent property in the Context area after we make the Analytics call.
Per this blog from Chrome:  user-agent-reduction-origin-trial-and-dates
MDN
The userAgent is getting deprecated and client hints are coming in their place.
What are the plans to capture client hints?

See https://github.com/segmentio/analytics-next/pull/864


Create multiple multiview outputs per production

What does this do?
When setting up a production this allows for adding multiple multiviews to each production, for the possibility of having multiviews with different setups.
Layout
Added buttons to add and remove additional multiviewers, when only one multiview remains the button is removed.

Summary of comments from old PR:

I'm guessing that multiple multiviews cannot use the same port. What happens now if you set the same port number on more than one?
Each run through of array does not connect to right id, therefor only first multiview works atm.
Add clearer distinction between runtime and setup code.
Add copy link to all multiviews.
We probably want to modify the production settings model to say multiviews instead of multiview that should make it easier to support both the old and new data model as well.


[tests] Fix a broken test related to version control systems

Add missing 'Mercurial' entry

Agreed. That looks more correct and clean. Thanks!
On Sat, Mar 3, 2018 at 9:38 AM, Líkið Geimfari<EMAIL_ADDRESS>wrote:

Merged #412 https://github.com/lk-geimfari/mimesis/pull/412.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lk-geimfari/mimesis/pull/412#event-1502539426, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABDq5vZL7bwUI54sEq2H1cSaW6agWtW0ks5taqragaJpZM4Sawo8
.


yarn create turbo failing on strict windows

Verify canary release

[X] I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue
yarn create turbo
What package manager are you using / does the bug impact?
Yarn v1
What operating system are you using?
Windows
Which canary version will you have in your reproduction?
can't init
Describe the Bug
Hello, i'm trying to init turbo repo on some corporate laptop with some restricted policies, i'm getting this error:
>>> Unexpected error. Please report it as a bug:
Error: ENOENT: no such file or directory, open 'C:\Users\user\AppData\Roaming\turborepo\telemetry.json'
    at Object.openSync (node:fs:603:3)
    at readFileSync (node:fs:471:35)
    at xr.fromDefaultConfig (C:\Users\user\AppData\Local\Yarn\Data\global\node_modules\create-turbo\dist\cli.js:54:1346)
    at async Lm (C:\Users\user\AppData\Local\Yarn\Data\global\node_modules\create-turbo\dist\cli.js:54:6235)
    at async Object.callback (C:\Users\user\AppData\Local\Yarn\Data\global\node_modules\create-turbo\dist\cli.js:87:3415)
    at async Command.parseAsync (C:\Users\user\AppData\Local\Yarn\Data\global\node_modules\create-turbo\node_modules\commander\lib\command.js:935:5) {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: 'C:\\Users\\user\\AppData\\Roaming\\turborepo\\telemetry.json'
}

Suspect the issue is it can't create telemetry.json without admin rights...
Expected Behavior
turbo catches error
To Reproduce
no clue really, seems needs Group Policy of some kind...
Additional context
No response

Hi, thanks for the report. We are looking at this now.

Patch should be available in around 20 minutes, I will update here when it's available. Thanks!


Add resolutions for false-positive scanner matches

Whatever license scanner you use there also will be false-positives which I would subdivide in:

Correct match but the license found is not applicable
Incorrect match e.g. cases where “version 2.0” results in a LGPL-2.1 match

We should offer ORT user a way to resolve these scanner false-positives.
Proposal add mechanism to ORT that understand below to .ort.yml or global configuration specification and then ignore the license in the Evaluator and displays comment why this is a false-positive license match in the reports
  - id: “Maven:com.google.protobuf:protobuf-java:*"
    matches:
       path: "conformance/third_party/jsoncpp/json.h"
       license: (GPL-1.0 OR GPL-2.0 OR GPL-3.0)
       reason: "FALSE_POSITIVE"
       comment: "Matches on ‘The MIT license is compatible with both the GPL and commercial software’"

https://github.com/google/qrisp/blob/master/google/protobuf/conformance/third_party/jsoncpp/json.h
https://github.com/google/qrisp/blob/master/google/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp

Maybe we'd want something simpler, something like "scanner curations" to remove false-positives from the list of detected licenses instead of actually specifying the valid licenses.

Was this solved meanwhile by https://github.com/heremaps/oss-review-toolkit/blob/ff0645eb1e8774801b6d93bf5c8a4456aacf9410/model/src/main/kotlin/config/ErrorResolutionReason.kt#L36?

Was this solved meanwhile by
https://github.com/heremaps/oss-review-toolkit/blob/ff0645eb1e8774801b6d93bf5c8a4456aacf9410/model/src/main/kotlin/config/ErrorResolutionReason.kt#L36
?

No, this field was there before this issue was created and is only used for resolving errors, but unrelated to license findings.

This is implemented for license findings in the project's source code in:
https://github.com/heremaps/oss-review-toolkit/pull/1846
The missing part is implementing support for using LicenseFindingCurations for external dependencies.

License findings curations and path excludes are now also supported for packages (dependencies) in addition to projects via package configurations. Implementation is spread across several PRs, for starting points see e.g. #2503, #2528.
Note: The WebApp still lacks support for path excludes on finding granularity level which is planned to be added soon.

Closing the ticket as false positive scanner matches can now either be (1) excluded if applicable or (2) curated on finding granularity level or broader.


Update sfb-server-updates.md

added sfb2015 cu12, please help expedite. i do not have right to review or approve, please just approve and publish. Thanks!

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@Ariantor PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


DEV/BLD: generate requirements/* files to simplify build

Reference issue

Improving DX while we wait for pypa/pip#11440 / python/peps#3541, along the lines of scikit-image/scikit-image#7085
Supersedes gh-18899
x-ref discussion in gh-18912

What does this implement/fix?
As reported in https://github.com/scipy/scipy/pull/18899#issue-1806698282 and https://github.com/scipy/scipy/pull/18899#issuecomment-1652361975, the developer experience around installing dependencies via pip could do with some improvement, including fixing some problems in the documentation.
This PR adopts @mwtoews 's script from sk-image (with some slight modifications).
It also:

removes mypy_requirements.txt (contents moved to the mypy CI workflow, otherwise superseded by dev_requirements.txt)
includes ninja in the build requirements (but not in pyproject.toml)
removes click from the dev requirements since it is redundant with rich-click there
works around the scikit-umfpack circular dependency issue (https://github.com/scipy/scipy/issues/18912#issuecomment-1642432735) by commenting it out of test_requirements.txt. IIUC we want to keep it in pyproject.toml, but I haven't seen a fix suggested, so work around it for now.

TODO: adjust the docs accordingly
Additional information
cc @bsipocz @stefanv @rgommers @AlexSzatmary @tylerjereddy

@lucascolley it's great to have someone review this script carefully! If you come across any conceptual issues, we'd appreciate if you can propagate changes back to skimage 🙏

If you come across any conceptual issues, we'd appreciate if you can propagate changes back to skimage 🙏

The main conceptual issue so far is the duplication in pyproject.toml that Ralf pointed out, although I don't know whether that was already present in skimage before this script.
I've made some adjustments to the script to conditionally modify the requirement lists coming from pyproject.toml and also return those lists to be reused (e.g. we remove the numpy lines from build then append the numpy line from the default list), but that's all SciPy specific at the minute. Probably only worth making more general if this were to be upstreamed somewhere... I guess that's a call on how long PEP 735 or --only-deps will take.

includes ninja which appeared to be missing from the build dependencies

It's not missing, it's a system dependency that happens to be installable from PyPI also

Should it be included in the https://scipy.github.io/devdocs/building/index.html#system-level-dependencies section of the docs then, instead of dynamically adding as I've done here?

The updated docs look like this:

gmpy2 doesn't support Python 3.12 yet, so I think we should leave it out of the test dependencies

Do you mean
a) remove it from pyproject.toml
b) just remove it from requirements/test.txt

I meant only from requirements/test.txt, treating it similar to scikit-umfpack.

All comments addressed.


Add rag-pinecone-cohere-embed-rerank template

Description: Following a private discussion with @rlancemartin and @SandraKublik, this PR adds a new template using:

Cohere Embed v3
Cohere Chat
Cohere Re-Rank

This template is very similar to the Rag Pinecone Rerank template which uses OpenAI's API instead for the embeddings and chat endpoints.
I have tested it locally and it works as expected.
If this PR gets merged, we may want to rename the Rag Pinecone Rerank template to specify that OpenAI is used for the embeddings and chat (for instance to something like: rag-pinecone-openai-embed-rerank).

Issue: N/A
Dependencies: No dependencies added for this change.
Twitter handle: @smlpth

@efriis I took the same toggle switch approach here for this reranking template as I did for the RAG conversation template here.
cc @rlancemartin

Great! Same comment about using a configurable alternative instead of an environment var here. Happy to answer questions if you need! https://templates.langchain.com/?integration_name=pirate-speak-configurable


Formaldehyd metric

Hi, is there a way to add formaldehyd sensor?
it should be hcho and hchr
I started main.py with debug and i get values.
DEBUG New environmental state: {'msg': 'ENVIRONMENTAL-CURRENT-SENSOR-DATA', 'time': '2021-06-17T06:25:40.000Z', 'data': {'tact': '2950', 'hact': '0050', 'pm25': '0005', 'pm10': '0003', 'va10': '0004', 'noxl': '0002', 'p25r': '0007', 'p10r': '0007', 'hcho': '0000', 'hchr': '0000', 'sltm': 'OFF'}}
Sorry I'm not used to python

Hi there, what model device do you have?
I believe this is possible to add, but it is somewhat complicated because:

I don't have a device that reports this, so I'd need your help to test.
@shenxn 's libdyson doesn't currently support this field, so this needs to be updated first. I can likely help with this as I don't think it's super difficult.

What would be helpful to start would be a full debug log with a few samples of the hcho/hchr fields.

2021/06/21 08:39:57 [548361592848]       INFO Starting up on port=8091
2021/06/21 08:39:57 [548361592848]       INFO Reading "config.ini"
2021/06/21 08:39:57 [548361592848]       INFO Starting discovery...
2021/06/21 08:39:57 [548361592848]       INFO Attempting to discover device "Schlafzimmer" (serial=K3G-EU-PDA2222A) via zeroconf
2021/06/21 08:39:57 [548323983840]       INFO Discovered K3G-EU-PDA2222A on 10....
2021/06/21 08:39:58 [548315591136]      DEBUG Connected with result code 0
2021/06/21 08:39:58 [548323983840]       INFO Connected to device K3G-EU-PDA2222A
2021/06/21 08:39:58 [548315591136]      DEBUG New state: {'msg': 'CURRENT-STATE', 'time': '2021-06-21T06:39:59.000Z', 'mode-reason': 'PRC', 'state-reason': 'MODE', 'rssi': '-46', 'channel': '11', 'fqhp': '90760', 'fghp': '77400', 'product-state': {'fpwr': 'ON', 'auto': 'ON', 'oscs': 'IDLE', 'oson': 'ON', 'nmod': 'OFF', 'rhtm': 'ON', 'fnst': 'OFF', 'ercd': 'NONE', 'wacd': 'NONE', 'nmdv': '0004', 'fnsp': 'AUTO', 'bril': '0002', 'corf': 'ON', 'cflr': 'INV', 'hflr': '0098', 'cflt': 'SCOF', 'hflt': 'GCOM', 'sltm': 'OFF', 'osal': '0152', 'osau': '0242', 'ancp': 'CUST', 'fdir': 'ON'}, 'scheduler': {'srsc': '0000000060ca55de', 'dstv': '0001', 'tzid': '0001'}}
2021/06/21 08:39:58 [548315591136]      DEBUG Received update from K3G-EU-PDA2222A: MessageType.STATE
2021/06/21 08:39:58 [548315591136]      DEBUG New environmental state: {'msg': 'ENVIRONMENTAL-CURRENT-SENSOR-DATA', 'time': '2021-06-21T06:39:59.000Z', 'data': {'tact': '2951', 'hact': '0053', 'pm25': '0001', 'pm10': '0001', 'va10': '0006', 'noxl': '0002', 'p25r': '0002', 'p10r': '0002', 'hcho': '0000', 'hchr': '0000', 'sltm': 'OFF'}}
2021/06/21 08:39:58 [548315591136]      DEBUG Received update from K3G-EU-PDA2222A: MessageType.ENVIRONMENTAL
2021/06/21 08:39:58 [548315591136]      DEBUG New environmental state: {'msg': 'ENVIRONMENTAL-CURRENT-SENSOR-DATA', 'time': '2021-06-21T06:39:59.000Z', 'data': {'tact': '2951', 'hact': '0053', 'pm25': '0001', 'pm10': '0001', 'va10': '0006', 'noxl': '0002', 'p25r': '0002', 'p10r': '0002', 'hcho': '0000', 'hchr': '0000', 'sltm': 'OFF'}}
2021/06/21 08:39:58 [548315591136]      DEBUG Received update from K3G-EU-PDA2222A: MessageType.ENVIRONMENTAL
2021/06/21 08:40:28 [548306936288]      DEBUG Requesting updated environmental data from K3G-EU-PDA2222A
2021/06/21 08:40:28 [548315591136]      DEBUG New environmental state: {'msg': 'ENVIRONMENTAL-CURRENT-SENSOR-DATA', 'time': '2021-06-21T06:40:29.000Z', 'data': {'tact': '2951', 'hact': '0053', 'pm25': '0001', 'pm10': '0001', 'va10': '0006', 'noxl': '0002', 'p25r': '0002', 'p10r': '0002', 'hcho': '0000', 'hchr': '0000', 'sltm': 'OFF'}}
2021/06/21 08:40:28 [548315591136]      DEBUG Received update from K3G-EU-PDA2222A: MessageType.ENVIRONMENTAL

Apologies for the delay in responding; I've been pretty busy elsewhere lately. :-)
Thanks for that the log entry. I'm assuming you ran config_builder to generate a config? Can you provide the ProductType it discovered? (from your config.ini)
There was a change to support type 527E here: https://github.com/shenxn/libdyson/pull/9 and I'm wondering if this model differentiates itself by having the Formaldehyde sensors.

Unfortunately not - 527E does not have the formaldehyde sensor. The one with the formaldehyde sensor is yet another model.

Ping @kaiherzig ?
Can't proceed without the information requested above -- so the other option is to close the issue.

Sorry I’ll send you tomorrow!
Viele Grüße
Kai
Am 09.07.2021 um 19:15 schrieb Sean Rees @.***>:

Ping @kaiherzighttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkaiherzig&data=04|01||e744c5ca44344f2c9fc808d942fd3111|29667e21325a46d2a9ca40cb5d9667ab|0|0|637614477481313548|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=mhgiE8WWp9HZa4IDnfjaInLR%2FGeuNJC3eAJXGQHUwLU%3D&reserved=0 ?
Can't proceed without the information requested above -- so the other option is to close the issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fseanrees%2Fprometheus-dyson%2Fissues%2F13%23issuecomment-877335472&data=04|01||e744c5ca44344f2c9fc808d942fd3111|29667e21325a46d2a9ca40cb5d9667ab|0|0|637614477481323542|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=MELUP2BvBxTLCi%2BnYAKALokkw2EeqwI26jbvuNEF1I4%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAHRZW4QFW2AXI6VB6C4CWL3TW4VEDANCNFSM4627IHRQ&data=04|01||e744c5ca44344f2c9fc808d942fd3111|29667e21325a46d2a9ca40cb5d9667ab|0|0|637614477481323542|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=5nhTiMrB%2FxDji%2FHb62HKOuoT2TuMfCoKXGAb%2BRghLaY%3D&reserved=0.

producttype = 438E

Thanks @kaiherzig, looks like libdyson has partial support for 438E which is why it sort of works for you.
I created a PR for libdyson to wire through the formaldehyde metrics: https://github.com/shenxn/libdyson/pull/12 which is the first step to support in this code.

Update: this is ready for testing. I just released 0.3.1 which should plumb through the formaldehyde metric from libdyson.
Will you let me know if it works for you?

Looks good :)
It's working.

Great news :) Thanks for filing the issue & testing the change 👍


[Feature]Configurable registration  ipaddress

Is your feature request related to a problem? Please describe.
on macos,OSUtils.getHost() returns diffrent ip in running time. Also,the method OSUtils.getHost() didn't
perform well in container situation like docker ,some error may happen
Describe the solution you'd like
provide a param like register-ip to specific the ip which will be registried on zk
Describe alternatives you've considered
provide a param like networkinterface to specific the networkinterface  which will be registried on zk
Additional context

英文不好,简单的说就是可以指定注册到zk上的ip或可选的网卡配置

I will finish it later

At present, I have submitted an option to provide usable IPs under multiple network cards, and I will complete it after waiting for the pr to merge @wuzhipeng7cc

At present, I have submitted an option to provide usable IPs under multiple network cards, and I will complete it after waiting for the pr to merge @wuzhipeng7cc

@CalvinKirs Please paste your PR number here

At present, I have submitted an option to provide usable IPs under multiple network cards, and I will complete it after waiting for the pr to merge @wuzhipeng7cc

@CalvinKirs Please paste your PR number here

#2924  This PR provides the return of the first available address in the case of multiple network cards. After waiting for the PR merge, I will implement the host configuration


Cannot open stdlib.h on WSL 2 with VSCode/CMake

I've set up my project using this tutorial, and everything's gone pretty smoothly. However, once everything was set up I opened up blink.c and got the following error when trying to include pico/stdlib.h:
cannot open source file "pico/version.h" (dependency of "pico/stdlib.h")

I haven't been able to find any advice on this issue other than this post on the Raspberry Pi forums saying I need to change CMake's build generator. Doing so had no visible effect. Any advice?

Is that a compiler error, or an intellisense / auto-complete error? If it's a compiler error then it sounds like you've not got the PICO_SDK_PATH environment variable pointing at the right place? If it's an intellisense error then you'll have to fiddle with the VSCode settings :wink:
AFAIK we only officially support the Windows setup detailed in our Getting Started guide so if you're using WSL you may have to rely on 3rd-party support?
@aallan This should probably be moved to pico-feedback?

Assuming this is intellisense and not an actual build error, it may just be because you have not built yet... that file is generated by the build.

My CMake version was old (3.10.x) so I went ahead and upgraded to latest. However, from what I can tell CMake can't actually see my PICO_SDK_PATH. I originally set it in VSCode, then when that didn't work set it in both ~/.zshrc and ~/.bashrc to no avail.


dynamic_reconfigure: 1.5.44-0 in 'indigo/distribution.yaml' [bloom]

Increasing version of package(s) in repository dynamic_reconfigure to 1.5.44-0:

upstream repository: https://github.com/ros/dynamic_reconfigure.git
release repository: https://github.com/ros-gbp/dynamic_reconfigure-release.git
distro file: indigo/distribution.yaml
bloom version: 0.5.21
previous version for package: 1.5.43-0

dynamic_reconfigure
* Add server namespaces (#56 <https://github.com/ros/dynamic_reconfigure/issues/56>)
  * Add optional namespace argument to Python Server
  * Add test for server with multiple namespaces
* Merge pull request #61 <https://github.com/ros/dynamic_reconfigure/issues/61> from vagvaz/Issue_51_Unable_to_reload_parameters_from_file
  fix issue #51 <https://github.com/ros/dynamic_reconfigure/issues/51> reloading parameters from dumped file
* Contributors: Evangelos Vazaios, Mikael Arguedas, v-lopez

Please wait for synchronized release.


Jormungandr 0.5.4 in CI

Issue Number

Overview

[ ] Jormungandr 0.5.4 in CI

Comments

bors try

bors try

bors try

bors r+


Filtering by attribute value

Hi,
Is it possible for me to generate an mbtiles file from a JSON file where the resulting file only contains those features where an attribute matches a particular value? For example, I have some roads data and I'd like to generate mbtiles files where classification == "motorway" and another for classification == "a road" && primary == true. Is anything like this possible with Tippecanoe, or am I best pre-processing this data in a GIS?
Thanks,
Dylan

I started a ticket for this a long time ago and then never did it because I wasn't sure what syntax it should use.
At this point I think I would suggest using Mike Bostock's ndjson-filter to do the filtering.

Thanks. That looks like it should be able to do what I'm after. I'm struggling to figure out how to write the correct commands though.
What I think I need to do is pipe the contents of my JSON file (it's pretty big though, ~3.2GB) to ndjson-filter and then pipe the output from that to tippecanoe. Is that correct? Would you be able to help me with an example that would do that?
Thanks :)

If your data is already close to being formatted as newline-delimited JSON (as in, each Feature is on its own line, and stands alone except for maybe having a comma on the end), you can do something like:
cat tl_2015_06001_roads.json | grep '"Feature"' | sed 's/,$//' | ndjson-filter 'd.properties.MTFCC === "S1400"' | tippecanoe -f -o s1400.mbtiles

to pull out just the Feature lines, remove the commas, filter for just the attribute you want, and then pipe the result to Tippecanoe.
To really do it right for arbitrarily-formatted JSON, you need a streaming JSON parser like Oboe (npm install oboe). Then you can make a json2ndjson script:
#!/usr/local/bin/node

var oboe = require('oboe');

oboe(process.stdin).on('node', '*', function(node) {
        if (node != null && node.type === "Feature") {
                console.log(JSON.stringify(node));
                return oboe.drop;
        }
}).done(function() {
}).fail(function(err) {
        console.err(err);
});

and then do
cat tl_2015_06001_roads.json | ./json2ndjson | ndjson-filter 'd.properties.MTFCC === "S1400"' | tippecanoe -f -o s1400b.mbtiles

or even just do the filtering directly in the oboe loop instead of in a separate ndjson-filter stage of the pipeline.
It is kind of slow, though. Maybe it really should be directly in Tippecanoe, or at least I could pull out Tippecanoe's streaming JSON parser into something that could produce a stream of newline-delimited JSON objects quickly for use with line-oriented tools.

Great, glad it worked for you. I'll try to think of a good way to incorporate filtering cleanly into Tippecanoe.

Too late for today, but I added a geojson2nd command to json-pull for future fast, convenient extraction of GeoJSON features to newline-delimited JSON.
Closing this since I already have another ticket about filtering directly within Tippecanoe.

Fixed in https://github.com/mapbox/tippecanoe/pull/462


SVG pipe support

Hi,
Sharp is just great but I find an issue.
libvips 7.42 and Sharp 0.9.3
Thanks for your help
// Work :
var transformer = sharp('Wikipedia-W-visual-balanced.svg')
  .background('#ffffff')
  .flatten()
  .jpeg()
  .toFile('output.jpg');

// Fail :
var transformer = sharp()
  .background('#ffffff')
  .flatten()
  .jpeg()

http.get('http://upload.wikimedia.org/wikipedia/commons/4/46/Wikipedia-W-visual-balanced.svg', function(response) {

  var writeStream = fs.createWriteStream('output.jpg');
  var stream = response.pipe(transformer).pipe(writeStream);

}).on('error', function (err) {
    console.log('An error occurred!', err);
})

Error: Error: Input buffer contains unsupported image format
    at /mar-sidi/node_modules/sharp/index.js:555:32

Hi Fabien, you can see which formats/methods are available in your combination of sharp/libvips versions via the format attribute:
var sharp = require('sharp');
console.dir(sharp.format);

For Stream-based (and Buffer-based) input of SVG and other "magick" formats, you'll need the bleeding edge libvips v8.0.0 (via its master branch on Github), which includes commit https://github.com/jcupitt/libvips/commit/dba1b1d81b640f06716d1ee95a3c8fc5d80cd843
You'll also need to use the forthcoming v0.10.0 release of sharp, which can be trialled via:
npm install lovell/sharp#judgement

Hope this helps.

Watch out for the low-resolution problem of #110 if you're using SVG input.

Thanks a lot for your answer !

Using libvips 8.2 from debian/sid and sharp 0.12.2 i get
Error: Input buffer contains unsupported image formatVipsForeignLoad: buffer is not in a known format
using https://github.com/kapouer/url-inspector-daemon/blob/master/lib/sharpie.js

Uuuh i see, this is related to https://github.com/lovell/sharp/issues/220 and probably the svg i'm testing it with is received gzipped.


Custom keys for many2many associations not working

In a scenario as follows that features many-to-many relationships but using custom keys I expected gorm to make use of the specified ForeignKey and AssociationForeignKey. The keys are specified the same way as in multi_primary_keys_test.go, yet they seem to get ignored.
type Foo struct {
    ID    int64 `gorm:"primary_key"`
    Title string

    // Note the custom_bar_id and custom_foo_id which are ignored by GORM.
    AllocatedBars []*Bar `gorm:"many2many:foo_allocated_bars;ForeignKey:id,custom_bar_id;AssociationForeignKey:id,custom_foo_id"`
}

type Bar struct {
    ID int64 `gorm:"primary_key"`
}

Note: The full example source is available as a gist.

Expected Result
With the ForeignKey:id,custom_bar_id;AssociationForeignKey:id,custom_foo_id" keys defined gorm should be using custom_bar_id and custom_foo_id in the association table foo_allocated_bars.
Actual Result
Gorm ignores the keys altogether and creates default key names from the types table name, foo_id and bar_id.
This may be related to issue #955.

+1

Just hacked my workaround into my model_struct (exact same use case as yours it seems):
joinTableDBName := ToDBName(reflectType.Name()) + "_" + foreignField.DBName
if len(foreignKeys) >= 2 {
   joinTableDBName = foreignKeys[len(foreignKeys)-1]
}

I know that that's not a permanent, nor a pretty solution but it fixes the problem for me(only 1 FK per association).

We just spent a while dealing with this issue as well. Any updates from the maintainers? @jinzhu

m2m doesn't support customize foreign keys in the join table rightnow, the tag ForeignKey:id,locale here means Blog having two foreign keys (ID, Locale)
If you really want to customize the column names in the join table, you could have a JoinModel, and customize its columns like below:
package main

import (
	"fmt"

	_ "github.com/go-sql-driver/mysql"
	"github.com/jinzhu/gorm"
	_ "github.com/lib/pq"
	_ "github.com/mattn/go-sqlite3"
)

var db *gorm.DB

type Foo struct {
	ID    int64 `gorm:"primary_key"`
	Title string

	// Note the custom_bar_id and custom_foo_id which are ignored by GORM.


Squiz.Arrays.ArrayDeclaration.NoComma adds invalid comma to certain match statements since 3.10.1

Describe the bug
Mentioned fixable sniff breaks the PHP code as follows:
Code sample
match ($foo) {
    'a' => [
        'x' => 0,
        'y' => 0,
    ],
    default => 0
};

Custom ruleset
<?xml version="1.0"?>
<ruleset>
    <rule ref="Squiz.Arrays.ArrayDeclaration.NoComma"/>
</ruleset>

To reproduce
Steps to reproduce the behavior:

Create a file called test.php with the code sample above
Create phpcs.xml with the custom ruleset above
Run phpcbf test.php
See fix applied

match ($foo) {
    'a' => [
        'x' => 0,
        'y' => 0,
    ,],
    default => 0
};

Expected behavior
No file changes.
Versions

Operating System
ubuntu

PHP version
PHP 8.3.13

PHP_CodeSniffer version
3.10.1

Standard
Squiz

Install type
composer

Additional context
Version 3.10.0 does not contains this issue.
Please confirm

[x] I have searched the issue list and am not opening a duplicate issue.
[x] I have read the Contribution Guidelines and this is not a support question.
[x] I confirm that this bug is a bug in PHP_CodeSniffer and not in one of the external standards.
[x] I have verified the issue still exists in the master branch of PHP_CodeSniffer.

@janedbal Thanks for reporting this.
The Squiz.Arrays.ArrayDeclaration sniff is known to be problematic and has been for years.
The problem is largely that as soon as something is excluded from that sniff, the sniff is broken. This is a design flaw in the sniff and applies to your situation.
I've been building up a (highly configurable) NormalizedArrays standard in PHPCSExtra to replace it, but that's not complete yet. Would be lovely if I could find some time to finish that at some point.
With that in mind, I will not be working on this issue.
If someone would submit a PR with a small/simple fix for this issue, I will accept it, but other than that, this sniff is out of bounds for large fixes/rewrites as it is just not worth the time.

@janedbal I've just checked, but if all you are using of the sniff is the Squiz.Arrays.ArrayDeclaration.NoComma error code, I suggest switching to the PHPCSExtra NormalizedArrays.Arrays.CommaAfterLast sniff, which already handles this correctly.

We were actually using more from that, this was just the most simple example to show the bug. But since it is buggy and wont be maintained, we will disable it completely. Thanks


Node balancer re-use client hot node

Changes
In order to prevent crawlers jump from one node to another between one crawl, was added client structure which saves hot nodes for IP addr for short period of time.
How to test these changes?
Tested with production nodes
Related issues

@bugout-dev check

[ ] First merge PR https://github.com/bugout-dev/moonstream/pull/515

@bugout-dev check

[ ] Update web3 uri env vars


Backend Migration: Remove PPL Logs Explore-only restriction (condition is in frontend)

Done with https://github.com/grafana/opensearch-datasource/issues/373 (effort tracked in this ticket), https://github.com/grafana/opensearch-datasource/issues/290 and https://github.com/grafana/opensearch-datasource/issues/275

Reopening as this was reverted and needs to be reenabled.

Will be done in https://github.com/grafana/opensearch-datasource/issues/407


Initialisation of GPS and barometer altitude

Describe the solution you'd like
Our GPS and barometer take values from the sea level. in order to distinguish a value for the bias we would need to have an initialisation at the beginning which would  average across initial values and use that as a reference point, subtracting every value after to get the height from the ground. hence keeping consistent altitude formatting across all sensors

Since TOF sensor take values from ground, we can take measurements from TOF, GPS and barometer all together. Then subtract the TOF values from GPS and barometer values respectively so that we are able to know how much the biases are


Small fix mismatching  defaults options value and his comments

In this PR:

rocksdb.max_open_files defaults setup to 8096, but in comment old value - 4096
Correct notice about max_write_buffer_number behavior (Misspelling, must be < 3, e.g.: If max_write_buffer_number < 3, writing will be slowed down to options.delayed_write_rate if we are writing to the last write buffer allowed.)
Fix max_sub_compactions  describe
rocksdb.block_size defaults are 16384 or 16Kb, no 4 Kb (as in comment)
rocksdb.cache_index_and_filter_blocks defaults are yes instead of no in comment

Maybe you also need to update the default value in https://github.com/apache/kvrocks/blob/unstable/src/config/config.cc .

Maybe you also need to update the default value in https://github.com/apache/kvrocks/blob/unstable/src/config/config.cc .

You are right, done

@PragmaTwice Hi, Why did CI fail?

Wanted to cancel my comments but failed :)

Thanks, @torwig for helps with config.cc


setting gdb breakpoints at init causes PSRAM memory overwrite (IDFGH-8913)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.0
Operating System used.
macOS
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32-S3-WROOM-1 (N8R2)
Power Supply used.
USB
What is the expected behavior?
I expect to be able to allocate PSRAM in chunks bigger than 24540 bytes.
What is the actual behavior?
It starts to overwrite memory when 24541 and larger bytes are allocated.
Steps to reproduce.
main.c
#include <stdio.h>
#include <string.h>

void app_main(void)
{
    // CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL == 16384, so any block larger than this
    // will be forced into PSRAM.  The following shows an overwrite.
    // 24540 works; 24541 begins to show overwrite; 1000000 is massive overwrite
    uint8_t *obj = calloc(24541,sizeof(uint8_t));
    (void)obj;

    // Test breakpoints, to be set when you are stopped at app_main.
    // - if you only set "b 15" then "c", when it breaks do an "x/128xb obj" you'll see 0's as you should
    // - but if you set "b 15" AND "b 16" AND "b 17" then "c", when it breaks you'll see bad values
    printf("breakpoint 1\n");
    printf("breakpoint 2\n");
    printf("breakpoint 3\n");
}

Use an ESP32-S3 (N8R2) and plug both USB's into your PC
In esp-idf, make sure you "./install.sh esp32s3" to install tooling for the S3
In this project do "idf.py set-target esp32s3"
in "idf.py menuconfig"

Compiler Options / Optimization Level / Debug without optimization (-O0)
Serial flasher config -> Flash size -> 8 MB
Component Config -> ESP PSRAM -> ENABLE Support for external, SPI-connected RAM

idf.py build & idf.py flash to flash...
Start two terminal sessions, and in both make sure you do ". ./export.sh" to set env vars
In terminal 1, run:
openocd -f board/esp32s3-builtin.cfg -c "esp32s3.cpu1 configure -rtos FreeRTOS"
In terminal 2, run:
xtensa-esp32s3-elf-gdb -tui -ex 'set pagination off' -ex 'target extended-remote :3333' -ex 'mon reset halt' -ex 'maintenance flush register-cache' -ex 'thb app_main' -ex 'monitor [target current] configure -event gdb-detach { shutdown }' -ex 'c' ./build/main.elf

Debug Logs.
No response
More Information.

Allocating 24540 works; 24541 begins to show overwrite
if you only set "b 15" then "c", when it breaks do an "x/128xb obj" you'll see 0's as you should
if you set "b 15" AND "b 16" AND "b 17" then "c", when it breaks you'll see bad values

@zfields Do you observe this issue when you aren't connecting OpenOCD? I think OpenOCD on ESP32-S3 doesn't support PSRAM yet, so PSRAM data may be corrupted when OpenOCD is setting/removing a breakpoint.

I think you can try to still run OpenOCD but disable the software breakpoints in flash, then force GDB to use only hardware breakpoints. As a result, OpenOCD will not write to flash and this should prevent PSRAM corruption.
In step 7:
openocd -c 'set ESP_FLASH_SIZE 0' -f board/esp32s3-builtin.cfg

When running GDB: use thb (temporary hardware breakpoint) instead of b to use only hardware breakpoints and keep the number of breakpoints <=2.

Thanks @igrr for following up with me so quickly!
When dumping memory even with these fixes and even with 1 breakpoint, the first byte looks bad when you first dump it. However, it seems to "clear up" if you dump it twice. Any ideas?
Also, is there any time frame for when using OpenOCD on the ESP32-S3 will support PSRAM?