markerClusterGroup does not exist on type 'typeof import("@types/leaflet/index")

I am using angular 7 with leaflet and makercluster with versions
"leaflet": "^1.6.0",
"leaflet.markercluster": "^1.4.1"

compiling the project gives me the error

ERROR in/map.component.ts(83,28): error TS2339: Property 'markerClusterGroup' does not exist on type 'typeof import("project/client/node_modules/@types/leaflet/index")'.

Is this the leaflet version problem?

I'm having a similar issue, however at compile time. To address the issue above @helxsz, you need to ensure to import both leaflet and leaflet.markercluster in your component, e.g:
`
import * as L from 'leaflet';
import * as L1 from 'leaflet.markercluster';
private myClusterGroup = L.markerClusterGroup();
My issue is that even though this compiles OK, it fails at runtime:
unhandled error:  Error: Uncaught (in promise): TypeError: leaflet__WEBPACK_IMPORTED_MODULE_2__.markerClusterGroup is not a function
TypeError: leaflet__WEBPACK_IMPORTED_MODULE_2__.markerClusterGroup is not a function
`
Same as you I am using leaflet 1.6.0 and leaflet.markercluster 1.4.1 on Angular 7, what's interesting is following along with one of the samples (http://jsbin.com/fimaxap/2/edit?html,js,output) works just fine when running locally... no idea what's wrong :/

I think this was a simple import mistake with angular, changing imports to the following, resolve this issue:
import * as L from 'leaflet';
import 'leaflet.markercluster';

// Compile & run = OK
private myClusterGroup = L.markerClusterGroup();

I added this package<EMAIL_ADDRESS>and it worked for me

import "leaflet"; import "leaflet.markercluster/src";
(L as any).markerClusterGroup({       showCoverageOnHover: false     });

import "leaflet"; import "leaflet.markercluster/src";
(L as any).markerClusterGroup({       showCoverageOnHover: false     });

For people runing into the same issue and using typescript try adding:
yarn add -D  @types/leaflet.markercluster

The only way I could make it work with was this.
(in case somebody still could not make it work with the help above)
// normal Leaflet
import * as L from 'leaflet';
import 'leaflet/dist/leaflet.css';
import 'leaflet.markercluster';
import {MarkerClusterGroup, markerClusterGroup} from 'leaflet'; // actually from leaflet.markercluster

const m1 = new MarkerClusterGroup();
const m2 = markerClusterGroup();
// ...

Unfortunately, my IDE still wants to autofill the L. before the markercluster stuff. But at least it compiles now and doesn't throw any runtime errors.

I think this was a simple import mistake with angular, changing imports to the following, resolves this issue:
import * as L from 'leaflet';
import 'leaflet.markercluster';

// Compile & run = OK
private myClusterGroup = L.markerClusterGroup();

I could import the package, however I got this error on browser console. Any tips?
Uncaught ReferenceError: L is not defined
 leaflet.markercluster-src.js:17

Our usage of leaflet markercluster starting throwing error in runtime TypeError: (0 , import_leaflet2.markerClusterGroup) is not a function
env: Angular 17 + esbuild
this is how I use it:
import {  markerClusterGroup } from 'leaflet';
import 'leaflet.markercluster';

const clusterGroup = markerClusterGroup({ spiderfyDistanceMultiplier: 4 });

This is how esbuild creates the chunk:
// node_modules/leaflet/dist/leaflet-src.js
var require_leaflet_src = __commonJS({
  "node_modules/leaflet/dist/leaflet-src.js"(exports, module) {
...
});

// libs/map/src/lib/leaflet/leaflet-map.component.ts
var import_leaflet2 = __toESM(require_leaflet_src());
var import_leaflet3 = __toESM(require_leaflet_markercluster_src());

const clusterGroup = (0, import_leaflet2.markerClusterGroup)({ spiderfyDistanceMultiplier: 4 });

important to see here:

variable import_leaflet3 is not used anywhere, it's just generated because we did import 'leaflet.markercluster';
constant clusterGroup is created from import_leaflet2  because that is how we specified it via types - it is mported from leaflet, not leaflet.markercluster. In my opinion that constant should use import_leaflet3 but so far I do not know how to satisfy type checking here...


Made mnist tutorial data storage folder consistent

modified fully_connnected_feed.py train_dir to data_dir as other files
and made the default as /tmp/data
to avoid downloading data in the source folder.

Can one of the admins verify this patch?

@drpngx Can you check if the new commit is good?
One thing I noteiced is the copyright year of all the code is still 2015, and my sublime keep updating the copyright year to 2015-2016 itself. I am wondering if you guys want to update that.

Nice, thanks!

Jenkins, test this please.

It fails the test, can you fix?

I am trying to fix, it's weird. I will switch to python 3 and test myself.

Added Make directory of log_dir to avoid non-existed directory that may cause failure on other platforms.
if tf.gfile.Exists(FLAGS.log_dir):     tf.gfile.DeleteRecursively(FLAGS.log_dir)   tf.gfile.MakeDirs(FLAGS.log_dir)

Jenkins, test this please.

Still broken. Do you want to take another stab at it?

Is there any way to pull the log? I tested on my with Linux python3, it works for me.

Sorry, build appears to be broken right now, possibly due to #5127. See discussion on #5103.

I see. I just updated the Saver into V2.

@drpngx I pulled the recent changes from master into the branch, does the build fixed? can you ask Jenkins to give another trial?

Jenkins, test this please.

Looks like there's some kind of windows error. I think we're waiting on a fix for that.

Nice find, yes!
On Fri, Oct 21, 2016 at 3:35 PM, DI ZENG<EMAIL_ADDRESS>wrote:

@willdzeng commented on this pull request.
In tensorflow/examples/tutorials/mnist/fully_connected_feed.py
https://github.com/tensorflow/tensorflow/pull/5124:

@@ -251,9 +251,9 @@ def main(_):
help='Batch size.  Must divide evenly into the dataset sizes.'
)
parser.add_argument(

 '--train_dir',

 '--data_dir',

something like this?
https://github.com/tensorflow/tensorflow/blob/master/
tensorflow/examples/tutorials/mnist/mnist_with_summaries.py#L201
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/pull/5124, or mute the thread
https://github.com/notifications/unsubscribe-auth/AT_SbUwQhyPZ2lKL0gOynJEQnMHIQqW2ks5q2T4ogaJpZM4KdmZI
.

@drpngx I found out it's because the BUILD file having extra arguments and causing the failure on python3 test. The new commit should fix my test failure.

Jenkins, test this please.


Only getting 4MHz period on the XCLK pin ...

I decided to put a signal analyzer on the XCLCK and PCLK pins and what I find is that the frequency is 4MHZ (using the code in this project).
I think I had expected 20MHz based on the logic within.  Has anyone else measured the clock rate on the pins and have either the same or different results?

Hi Neil, I have connected the board to the logic analyzer and got the following:

That's with the code cloned from github, only change was to set WiFi SSID and password in menuconfig.
Perhaps you have 4MHz frequency accidentally set in sdkconfig?


feat(transformer): Optional Chaining

close: #6958

#6990  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Boshen and the rest of your teammates on  Graphite

Merge activity

Nov 20, 10:11 PM EST: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.


Update LE reference to ACME (#2526)

Also add one comment to explain that the CN also becomes the first subjectAltName to clarify that a certificate will never be generated without subjectAltName (which would make it invalid by 2021 standards)
Fixes: #2526

@g-a-c Good catch, thank you!


Menu + Keyboard Shortcuts Overhaul

At the moment, there are two major things we should address here:

There is no consistent/complete toolbar, where the user can do everything that is possible without using shortcuts.
Keyboard shortcuts are defined all over the place, making this hard to maintain.

We should

provide an exhaustive solution using the toolbar and menus.
pull together all keyboard shortcut definitions and document them.

Agree. Do you think we should have separate keymap files for each OS or put them into one and specify scopes. Many cases are addressed by using things like CommandOrControl+S.
We should do research on what shortcuts are used in Google Docs / Word etc.

VS Code has a visualised key map, and they use scopes (editorFocus, — for global, textInputFocus etc) when a shortcut should trigger.

I would start with organising ourselves better with regards to keymaps. We should introduce a help dialog that shows all the keyboard shortcuts. However I would not let user customise for now. Better have them make suggestions and we maintain the ultimate keymap.

Great. A save button will make it easier to debug.
Google Doc shortcuts list for different OSs is at https://support.google.com/docs/answer/179738?hl=en
Would it be better to put this info in a google sheet so we can add MS Office equivalents and people can comment...?

@lpanebr yeah if you could set something up, that could serve as a base for discussion that would be extremely helpful! :)

@michael I've created the Texture Shortcut Mappings sheet with Google Docs shortcut mappings for PC and Mac (Orange header columns). Unfortunately MS Office shortcuts page is not table copy/paste friendly...
The main columns are blue header:
Priority | Action | Keyboard Shortcut | Toolbar | Scopes | Comments
Maybe a net step would be to fill in what's already implemented in the Keyboard Shortcut and Toolbar columns and then figuring out how to collaborate from there?

Thank you very much! That's a great foundation for discussion. Before we invite people to comment the next steps are:

Remove all actions that are not available in Texture (e.g. visual things like left-align, rotate etc)
Add Texture specific actions: Such as Add Reference, Add Blockquote etc.
Make an initial suggestion for shortcuts
Invite Consortium Members to comment

@lpanebr btw the save button is now implemented.

I'll be happy to do 1, 2 and 3 but I need help to find out which actions are already available, since according to the OP they are "defined all over the place".

I guess, what we need is a just a list of desired shortcuts. The decision what is already there is on us...

Okay. Yes, I thought this would be used to allow consortium members to suggest new actions and thus having the all inclusive list of actions (and shortcuts) available would help.
Anyway. I added the yellow column for the existing and desired Texture specific actions.
So the intended use I imagine could be is:

the consortium members vote using the Priority column. Each member adds x's to actions. (If you want/need it's easy to setup something to allow voting per milestones..)
the consortium members may add desired actions on the (new) yellow column
the consortium members may make an initial suggestion for shortcuts in the comments

I also though the dev team could then use additional columns to define coding stuff like scopes etc and maybe use a more private version of a similar sheet to generate config files and even documentation.
Anyway fell free to make a copy and take over guys.
If I can help further just let me know. ;-)

@lpanebr this is perfect!

At some point we will convert this into something we can add to the repo, sacrificing editability.
Thank you!

Do you mind to be the owner of the document?

@michael can I give you the responsibility for this?

Absolutely. Let's make this a priority for the Texture 2.0 release and take time to really consider user feedback.

Yep. I can offer to add a mechanism to load settings from file.

@lpanebr I need your full name because I'd like to add you to the list of Texture contributors.

@lpanebr now you are an official contributor: https://github.com/substance/texture/commit/4920ad9c54fe50ad218ddb1ae69fd48d1a46ef61
😄

thank you! :smiley:


docs: Add external cluster usage details

Codecov Report

Merging #15 (438caed) into main (274d353) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #15   +/-   ##
=======================================
  Coverage   60.00%   60.00%
=======================================
  Files           2        2
  Lines         285      285
=======================================
  Hits          171      171
  Misses         89       89
  Partials       25       25

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


Adding AMD VCEK certificate

Adding AMD VCEK certificate file

Turns out, the PEM parser gets upset if there's an extra newline at the end of the certificate file. So I attempted to squash the commits which consisted of adding the cert, and removing the newline.

Closing and will submit a cleaner one shortly


Measure and print how long each pipeline component takes.

Codecov Report

Merging #19 into tonytung-integration will increase coverage by 0.87%.
The diff coverage is 100%.

@@                   Coverage Diff                   @@
##           tonytung-integration     #19      +/-   ##
=======================================================
+ Coverage                     0%   0.87%   +0.87%
=======================================================
  Files                        13      14       +1
  Lines                       796     803       +7
=======================================================
+ Hits                          0       7       +7
  Misses                      796     796

Impacted Files
Coverage Δ

starfish/util/clock.py
100% <100%> (ø)

Continue to review full report at Codecov.

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


Turn by Turn Navigation Notification

When I cancel the route, the notification doesn't go away. Starting a new navigation replaces the current notification.

is this in iOS or Android or both?

Hey,
This was Android, but I'm not getting the error anymore for whatever reason. I imagine it may have been resolved by flutter clean.


Menpo is no longer supported in 3.5

menpo is no longer supported in 3.5 and lsfm requires 3.5 so i am unable to install lsfm can you please make lsfm work with python 3.6 and 3.7

I have the same problem.

menpo is no longer supported in 3.5 and lsfm requires 3.5 so i am unable to install lsfm can you please make lsfm work with python 3.6 and 3.7

Same Problem. Do you manage to use lsfm in the end?

any information in this problem , how to solve ?


code completion not working

the sublime extension supported code completion using function, i.e.: when using the regexp_extract, it would auto complete it and give you the appropriate placeholders.

Same problem here. I want to fix it. but don't know how.

I believe this should work now, but please create a new issue if it doesn't.


Implement Series.combine_first

Implement Series.combine_first

basic example

>>> s1 = ks.Series([1, np.nan])
>>> s2 = ks.Series([3, 4])
>>> s1.combine_first(s2)
0    1.0
1    4.0
Name: 0, dtype: float64

MultiIndex

>>> midx1 = pd.MultiIndex([['lama', 'cow', 'falcon', 'koala'],
...                        ['speed', 'weight', 'length', 'power']],
...                       [[0, 3, 1, 1, 1, 2, 2, 2],
...                        [0, 2, 0, 3, 2, 0, 1, 3]])
>>> midx2 = pd.MultiIndex([['lama', 'cow', 'falcon'],
...                        ['speed', 'weight', 'length']],
...                       [[0, 0, 0, 1, 1, 1, 2, 2, 2],
...                        [0, 1, 2, 0, 1, 2, 0, 1, 2]])
>>> kser1 = ks.Series([45, 200, 1.2, 30, 250, 1.5, 320, 1], index=midx1)
>>> kser2 = ks.Series([-45, 200, -1.2, 30, -250, 1.5, 320, 1, -0.3], index=midx2)
>>> kser1
lama    speed      45.0
koala   length    200.0
cow     speed       1.2
        power      30.0
        length    250.0
falcon  speed       1.5
        weight    320.0
        power       1.0
Name: 0, dtype: float64
>>> kser2
lama    speed     -45.0
        weight    200.0
        length     -1.2
cow     speed      30.0
        weight   -250.0
        length      1.5
falcon  speed     320.0
        weight      1.0
        length     -0.3
Name: 0, dtype: float64

>>> kser1.combine_first(kser2)
cow     length    250.0
        power      30.0
        speed       1.2
        weight   -250.0
falcon  length     -0.3
        power       1.0
        speed       1.5
        weight    320.0
koala   length    200.0
lama    length     -1.2
        speed      45.0
        weight    200.0
Name: 0, dtype: float64

i considered putting Series.combine and Series.combine_first in single PR,
but their implementation concept was way different than i thought, so i separated them.

Codecov Report

Merging #1290 into master will decrease coverage by 2.21%.
The diff coverage is 92.55%.

@@            Coverage Diff            @@
##           master   #1290      +/-   ##
=========================================
- Coverage   95.12%   92.9%   -2.22%
=========================================
  Files          34      34
  Lines        7276    7343      +67
=========================================
- Hits         6921    6822      -99
- Misses        355     521     +166

Impacted Files
Coverage Δ

databricks/koalas/missing/common.py
100% <ø> (ø)
:arrow_up:

databricks/koalas/frame.py
93.55% <ø> (-2.97%)
:arrow_down:

databricks/koalas/numpy_compat.py
90.9% <100%> (ø)
:arrow_up:

databricks/koalas/missing/frame.py
100% <100%> (ø)
:arrow_up:

databricks/koalas/missing/__init__.py
100% <100%> (ø)
:arrow_up:

databricks/koalas/mlflow.py
94.87% <100%> (ø)
:arrow_up:

databricks/koalas/missing/groupby.py
100% <100%> (ø)
:arrow_up:

databricks/koalas/missing/window.py
100% <100%> (ø)
:arrow_up:

databricks/koalas/missing/indexes.py
100% <100%> (ø)
:arrow_up:

databricks/koalas/version.py
100% <100%> (ø)
:arrow_up:

... and 29 more

Continue to review full report at Codecov.

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

I think you should rebase and sync to the current master, @itholic .

Looks fine otherwise.


Move code from init module to _extruct

The namespace would be cleaner if we keep only the imports in __init__.
Not naming the new module extruct.extruct as this would interfere with
extruct.extract autocompletion.
(another take instead of #77, but I still could not make git to show the diff for the move - only changes are several extra white spaces and an indentation fix).

I still could not make git to show the diff for the move - only changes are several extra white spaces and an indentation fix

What do you mean? Under Files changed I see the deleted lines in init and the same added in _extruct

What do you mean? Under Files changed I see the deleted lines in init and the same added in _extruct

I would prefer the git to show the move and highlight only lines that are different between old __init__.py and new _extruct.py

👍 I like this style of import-only __init__.py a lot more (though that is not what Scrapy uses).
However, what do you think about keeping JsonLdExtractor and other classes at top level, to make it more backwards compatible?

However, what do you think about keeping JsonLdExtractor and other classes at top level, to make it more backwards compatible?

I didn't realize that, let me fix. Thanks for the catch!

I wonder why codecov thinks coverage is decreased - it seems it thinks you're adding code without removing it, looks like a glitch.

thanks for review @Kebniss and @kmike !

Should this PR be logged in the changelog? It does not change anything significant in practice, correct?

It does not change anything significant in practice, correct?

yes, I think that's fair


@craigspaeth => Load webfonts using  instead of script

Loading the fonts using a  fixes a CORS error we were getting
in eigen when loading microgravity pages.
With <script> tag:

With <link> tag:

Looks good to me! One thing to note is that moving this up to the head tag can impact performance by blocking rendering until fonts download—whereas now we get a flash of missing fonts to get something rendered faster. I don't think we should block this PR for that. So I'll merge, but something to keep in mind if mobile performance becomes a topic of concern.


OpenXenium CPLD flashing

Describe the bug
Hello,
I was trying out the CPLD flash function, but run into a error:
xFlasher: Flashing openxenium.svf via JTAG
xFlasher: SVF Flash Failed
i also have Xilinx Impact setup, and the chip programs and works without a problem.
Out of 3 chips i tried only one flashed without a problem,
I checked the device ID and this is what i found.
White one:
'1': IDCODE is '00111001011000000100000010010011'
'1': IDCODE is '39604093' (in hex).
'1': : Manufacturer's ID = Xilinx xc9572xl, Version : 3
Purple one with dot:
'1': IDCODE is '00111001011000000100000010010011'
'1': IDCODE is '39604093' (in hex).
'1': : Manufacturer's ID = Xilinx xc9572xl, Version : 3
Purple one without dot:
'1': IDCODE is '01011001011000000100000010010011'
'1': IDCODE is '59604093' (in hex).
'1': : Manufacturer's ID = Xilinx xc9572xl, Version : 5
Only version 5 programs, i dont know if J-runner is looking for the ID code "59604093" ?
If so could version 3, "39604093" also be added please ?
To Reproduce
Try to program version 5, works
Try to program version 3 does not work.
Both programm fine with Impact.
Expected Behavior
To programm the chip
Screenshots
No response
System version
Windows 10
J-Runner version
V3.3.0 r4:
Additional context
No response

JRunner uses UrJtag (which is an awfully buggy program) for this.
Can you try to program it with the UrJtag copy (common/xflasher) manually and see what the result is?
The commands:
cable ft2232
detect
svf CompletePathNoSpaces progress
CompletePathNoSpaces must be the path to the svf which cannot have any spaces. So do like C:\openxenium.svf
Kind Regards,
Josh

Hello,
I tried it, i get the following
jtag> cable ft2232 Connected to libftd2xx driver. jtag> detect IR length: 8 Chain length: 1 Device Id:<PHONE_NUMBER>1000000100000010010011 (0x0000000039604093)   Manufacturer: Xilinx   Part(0):         XC9572XL-VQ64   Unknown stepping! chain.c(149) Part 0 without active instruction chain.c(200) Part 0 without active instruction chain.c(149) Part 0 without active instruction jtag> svf C:\Users\bosro\Desktop\J-Runner-with-Extras\common\svf\openxenium.svf Error svf: could not establish SIR instruction
I was looking online and tried to add the device ID to the PARTS file in the xilinx directory
1001011000000100	xc9572xl-vq64   XC9572XL-VQ64
and the bits to the STEPPING file in the xc9572xl-vq64 directory
0011	xc9572xl-vq64 1
I get a lot of error, but it will now flash, and works :)

Thank you.
Release updated.
Kind Regards,
Josh

Hello Josh,
Could you also add the following to the stepping file, for V4 CPLD chips ?
0100	xc9572xl-vq64 1
Regards
Nextria


Oven guide fix

In the guide, the top oven recipe is listed as the bottom recipe and vice versa.
Tracked this down to lines 183 and 184 of resources/generatebook.py
In the guide, the top oven recipe is listed as the bottom recipe and vice versa.
Tracked this down to lines 183 and 184 of resources/generatebook.py
https://github.com/eerussianguy/firmalife/blob/3e10a6c7ababebd41e78523ff001c0a67b315319/resources/generate_book.py#L183
https://github.com/eerussianguy/firmalife/blob/3e10a6c7ababebd41e78523ff001c0a67b315319/resources/generate_book.py#L184
There is also a small typo on line 204 insulatinig => insulating
https://github.com/eerussianguy/firmalife/blob/3e10a6c7ababebd41e78523ff001c0a67b315319/resources/generate_book.py#L204
Fixed both of these issues

Sorry, forgot to merge this before building


Update signature of ExperimentListener to pass use on run delete

@labkey-jeckels This is related to this issue: https://www.labkey.org/ONPRC/Support Tickets/issues-details.view?issueId=42943
This overall idea is that I'd like to audit deletions to an assay. On delete, I need result-level detail. When results are deleted directly, they go through the query layer so I can audit them. Assay run deletes do not, but they do support ExperimentListeners. The snag is that the existing beforeDelete method doesnt pass user.
This proposal will modify the signature of the existing method. I cant find any code using it, but there might be repos I dont see. If this is a problem, a slightly less clean approach would be to support 2 methods (the interface has default implementations, so it would be a no-op), and call both.
What do you think? Is there another approach I could be using to audit assay run deletes?

Replaced with this develop-based change.
https://github.com/LabKey/platform/pull/2394


[question] same value for SHA-1 and SHA-256?

Is the value 0x21 correct at line 29
https://github.com/MediaArea/RAWcooked/blob/fb26f2ca10ed6c621dfdfefea1b549f1b7768119/Source/Lib/RAWcooked/RAWcooked.cpp#L28-L29? Should this not read e.g. 0x22?

Typo, will fix.
Note that this is not yet used (and code is currently ugly, will be changed)

OK, no problem. Next time I will make a PR. I was just unsure if I was missing something «de très tordu».

Could be based on element size (e.g. I change to SHA-2 so any length is possible, 256 or 512, not yet sure of the final version but no impact on RAWcooked initial format as it is not mandatory for reversability)

Note that for archival purpose MD5 is very fine and there is scientifically no need for SHA-n. Yet IRL we have do deal with SHA-n as well. I will try to find an idea how to manage in our context those… and the future «broken» versions.

SHA-1 or SHA-256 may be faster thanks to Intel SHA extension, but I don't know (yet) which one is faster. Anyway, for future implementation, will not be the first thing I'll implement.

I haven’t tested Intel’s SHA extensions so far. I’ll do it… during the next weekend.


[Bug] Include User History Passthrough Columns in iterable__users model

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the issue
In the documentation we mention that the iterable_user_history_pass_through_columns variable will persist the columns through to the iterable__users end model.

However, when inspecting the end model it is clear that we are not persisting these passthrough columns. We should be including the persist_passthrough_columns macro in this cte in order for them to properly pass through to the end model.
https://github.com/fivetran/dbt_iterable/blob/a8032b764d21e91f6c9c859a66563fac7d0049ce/models/iterable__users.sql#L15-L33
Relevant error log or model output
Defined passthrough columns are not persisting to the designated end model.

Expected behavior
The passthrough columns persist to the end model as defined in the README.
dbt Project configurations
vars:
    iterable__using_campaign_label_history: false
    iterable__using_campaign_suppression_list_history: false
    iterable_user_history_pass_through_columns:
      - name: phone_number_line_type
        alias: phone_digits
      - name: additional_properties

Package versions
Latest
What database are you using dbt with?
bigquery
dbt Version
Latest
Additional Context
I was able to use the following code in my local version of the Iterable package and confirmed the passthrough columns were persisting.
), user_with_list_metrics as (

    select
        user_id,
        _fivetran_user_id,
        unique_user_key,
        email,
        first_name,
        last_name,
        signup_date,
        signup_source,
        updated_at,
        phone_number,
        email_list_ids

        --The below script allows for pass through columns.
        {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='iterable_user_history_pass_through_columns') }}

        , count(distinct list_id) as count_lists

    from user_unnested
    -- roll up to the user
    {{ dbt_utils.group_by(n=13) }} -- WILL NEED TO MAKE DYNAMIC BASED OFF VARIABLE

We can probably achieve the dynamic group by with leveraging similar code as we did here to define the length of the variable and then just add that to the group by argument. So I imagine something like:
{% set passthrough_column_count = iterable_user_history_pass_through_columns | length %}

.... MODEL SQL HERE ....

{{ dbt_utils.group_by(n=11 +passthrough_column_count ) }}

Are you willing to open a PR to help address this issue?

[ ] Yes.
[ ] Yes, but I will probably need assistance.
[ ] No.

Additionally, these passthrough columns are included in other end models within this package. We should ensure the README is updated to highlight which models these passthrough fields will be present in following a successful dbt run.


AD user password hashes are stored in Gitea database

Gitea version: 1.12.6
Database

[X] MySQL

Description
We are using LDAP Active Directory for Gitea authentication. Recently, we noticed AD users password hashes are stored in Gitea database. This shouldn't be the best practice since we already have LDAP.

AFAICS password hashes can only end up stored there if your users add them.
But why are your users doing that? Well... The ultimate issue is that basic authentication can only authenticate one of the possible three ways:

Token
OAuthAccessToken
InternalDB hash check.

Now can we do better?
Well one thing we're thinking about is banning basic authentication with password hashing in any case - as it's too expensive on reasonable hashing systems.
But we also need to be able to make it possible to prevent external users from becoming local users.


fix Fix tvf read empty file fail

Proposed changes
Issue Number: close #xxx
cherry-pick from master #25280

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Inconsistent topoplot layout across different TFR plotting functions

Describe the bug
@virvw reported some weird-looking topomap figures when plotting TFR data. While I couldn't exactly replicate the issues, I do find inconsistencies in the figures produced by plot_joint(), plot_topo(), and plot_topomap() using master.
Steps to reproduce
Load data & calculate power
import os.path as op
import numpy as np
import matplotlib

import mne
from mne.time_frequency import tfr_morlet
from mne.datasets import somato

matplotlib.use('Qt5Agg')

data_path = somato.data_path()
subject = '01'
task = 'somato'
raw_fname = op.join(data_path, 'sub-{}'.format(subject), 'meg',
                    'sub-{}_task-{}_meg.fif'.format(subject, task))

raw = mne.io.read_raw_fif(raw_fname)
events = mne.find_events(raw, stim_channel='STI 014')
picks = mne.pick_types(raw.info, meg='grad', eeg=False, eog=True, stim=False)

# Construct Epochs
event_id, tmin, tmax = 1, -1., 3.
baseline = (None, 0)
epochs = mne.Epochs(raw, events, event_id, tmin, tmax, picks=picks,
                    baseline=baseline, reject=dict(grad=4000e-13, eog=350e-6),
                    preload=True)
epochs.resample(200., npad='auto')

freqs = np.logspace(*np.log10([6, 35]), num=8)
n_cycles = freqs / 2
power, _ = tfr_morlet(epochs, freqs=freqs, n_cycles=n_cycles, use_fft=True,
                      return_itc=True, decim=3, n_jobs=1)

Now, let's plot the data.
First, via plot_joint
power.plot_joint()

When selecting a ROI in that plot, a new window pops up:

➜ Looks all good so far, if one ignores that the field is chopped off at the back of the head a little.
Now, let's use plot_topo
power.plot_topo()

Then, select one of the sensors, and a ROI in the popup. This will produce a figure like this:

➜ Not only is the topoplot much smaller than in the previous figure, but the colorbar is narrower as well.
Lastly, let's use power.plot_topomap()
power.plot_topomap()

➜ The entire figure is much smaller than the ones produced with the other methods, and both the topoplot as well as the colorbar are so small that one can barely read this plot at all.

@hoechenberger @larsoner @drammock would you have time to look into this one? I would like to see it fixed for next release

I could have a look this Friday / weekend

➜ The entire figure is much smaller than the ones produced with the other methods, and both the topoplot as well as the colorbar are so small that one can barely read this plot at all.

… and we don't see the helmet shape in the smaller figures.

Keep in mind that plot_topo should produce different looking plots than plot_topomap -- the former uses layouts that are different from the physically mapped topomap plots, at least for Neuromag MEG data (for things like EEG they might be the same or quite similar).
The head being tiny, however, is a bug that we should fix. Any progress on this @hoechenberger ?


Online-based information

Wouldn't it be better if instead of having the list of locations in a csv file, just have the program retrieve information, say, Google Maps? :)

@AFAgarap that's a good idea, I am not going to use Google Maps as it's not free and has rate limits.
But what I can do is simply paste the content of CSV into georeverse.py for now.

@AFAgarap
Please try  pip install georeverse --upgrade
There is no need to copy world_cities.csv anymore.

@MBoustani Isn't that kind of bulky then? :)

@MBoustani I will try it later this day :)


Feature/pluggable-explosives issues

So, first bit of testing this feature branch, and I ran into the following items:
A lot of the provided templates will have to change value to raw_value, including your test templates I think. Right now, the raw_value None will be output in TextInput as <input type="text" value="None">. Or, the value property should maybe catch the values None, 'False, True`.
My personal preference would be to just use raw_value in the template, but that can lead to inconsistencies. For scalar values it makes sense, for fields with choices not so much, since the choices property returns values that have been force_text'ed, you have to do the comparisons against the force_text'ed raw_value, which is value in the template. So then you will be using raw_value and value in the template, for seemingly the same check - i.e.: is this choice the current/selected value?
Another things I ran into was that non-scalar values are broken anyway, but I've provided a PR for that issue.

Can you please log each issue separately?

I'm not really sure how, I'm actually describing a single issue here. I do mention another one, but that PR already got merged so that's fine.
I'll edit the first line to make it clear that it's a single issue.

Tests + fixes in https://github.com/funkybob/django-sniplates/pull/38


Export the storage statistics to monitoring tools

Explore the options like cadvisor, prometheus

Use this issue to explore exporting the stats to prometheus

A /metrics endpoint has been added to volume container (openebs/jiva) and maya-apiserver. The statistics will be scraped by prometheus. The implementation issues are being tracked under:
https://github.com/openebs/openebs/labels/area%2Fmonitoring
https://github.com/openebs/openebs/labels/area%2Fvolume%2Fmonitoring
For the node related statistics, node_exporter will be used.


How do I retry the request with ResponseData?

Having only `validationType to judge is not enough for us.
Our error code section will also be included in the json when the http status code is 200.
Therefore, is there any solution that is more convenient?

// success json
// HTTP status code: 200
{
    "code": 200, // success code
    "result": {} // the result
}

// failure json
// HTTP status code: 200
{
    "code": 100010, // error code
    "message": "Session invalid, you should re-login."
}

How use validationType to handler retry a failure json's status code.

I found the Alamofire has func validate<S: Sequence>(contentType acceptableContentTypes: S, response: HTTPURLResponse, data: Data?) -> ValidationResult, any ideas on how to embed it in Moya?


Feat/CS-42980 - Added Preview token in bootstrap command and preview host

version bump:
@contentstack/cli-cm-bootstrap: 1.7.2

@cs-raj , can you please confirm version ? I think minor version bump instead of patch. If there is no any breaking changes.

@cs-raj , can you please confirm version ? I think minor version bump instead of patch. If there is no any breaking changes.

upgrade to minor version


[FR] Progress tracking

Can we have a tracking of progress, like day/week/month stats ?

Thanks for the request. This is possible and a logical next step from #2 which I'm currently working on. Would you be looking for tracking of progress across both daily word goals (as described in #2) and the overall word goals?

Feature added in 0.6.0


Revert "Revert "Remove single merge restriction on target merging (#937)" (#1017)"

This reverts commit 19c7708bc0e4db49a432cf2f92022261cb5478a6.
With 7215544cc88e9dc5c471470c3472937f01e47090, we no longer have duplicate output errors in Xcode.

My recent framework support for finding swiftmodules makes this non-deterministic. So looking into that.

Because of frameworks, I don't think this is possible currently.


Identifier unknown error

Thanks so much for the awesome package!
I'd hugely appreciate your help with this please.
I am getting the error PlatformException(<health_kit_reporter.SwiftHealthKitReporterPlugin: 0x283a82330>, Error in parsing quantity type, Identifier unknown: HKQuantityTypeIdentifierAppleSleepingWristTemperature, null) when I try to run the code:
// Authorise usage of all data
final List<String> readTypes = <String>[];
readTypes.addAll(QuantityType.values.map((e) => e.identifier));
final writeTypes = <String>[];
authorized = await HealthKitReporter.requestAuthorization(readTypes, writeTypes);

// Prepare to get data
List<QuantityType> typesToGet = [];
for (final QuantityType e in QuantityType.values) {
   final QuantityType? type = QuantityTypeFactory.tryFrom(e.identifier);
   if (type != null) {
      typesToGet.add(type);
   }
}
List<PreferredUnit> preferredUnits = await HealthKitReporter.preferredUnits(typesToGet);

If I manually remove this value from the list before running the final preferredUnits(typesToGet) line, I then get the error with other types such as runningStrideLength, runningVerticalOscillation and runningGroundContactTime.
I wonder if perhaps it is because I don't have an Apple Watch so don't have any data from that - if so though, some guidance on how to handle this would be much appreciated.
Thank you!

It seems like you're encountering an error related to parsing quantity types when using the health_kit_reporter plugin in your Flutter app. The error message indicates that the identifier HKQuantityTypeIdentifierAppleSleepingWristTemperature is unknown or unsupported.
Here are a few steps you can take to troubleshoot and potentially resolve this issue:
Check Identifier Compatibility: Verify that the quantity type identifiers you're using are supported by the HealthKit framework on iOS. Some identifiers may be specific to certain types of data or device capabilities, such as Apple Watch sensors. Refer to the official Apple HealthKit documentation to ensure that the identifiers you're using are valid and supported.
Handle Unsupported Types: If certain quantity types are not available or supported on the user's device (e.g., because they don't have an Apple Watch), you'll need to handle these cases gracefully in your code. This may involve excluding unsupported types from your queries or providing alternative functionality for users without access to certain types of data.
Error Handling: Implement proper error handling in your Flutter code to catch and handle platform exceptions like the one you're encountering. This can help provide more informative error messages to users and aid in debugging issues related to health data retrieval.
Testing: Test your app on devices with different configurations, including those with and without Apple Watches, to see if the issue persists across different scenarios. This can help identify whether the problem is specific to certain types of data or device setups.
Plugin Updates: Ensure that you're using the latest version of the health_kit_reporter plugin, as newer versions may include bug fixes or updates related to quantity type handling and compatibility.
By carefully reviewing your code, verifying quantity type identifiers, handling unsupported types gracefully, implementing error handling, and testing across different device configurations, you should be able to address the issue with parsing quantity types in your Flutter app. If the problem persists, consider reaching out to the plugin's developers or the Flutter community for further assistance and guidance.

Thanks so much for the awesome package!
I'd hugely appreciate your help with this please.
I am getting the error PlatformException(<health_kit_reporter.SwiftHealthKitReporterPlugin: 0x283a82330>, Error in parsing quantity type, Identifier unknown: HKQuantityTypeIdentifierAppleSleepingWristTemperature, null) when I try to run the code:
// Authorise usage of all data
final List<String> readTypes = <String>[];
readTypes.addAll(QuantityType.values.map((e) => e.identifier));
final writeTypes = <String>[];
authorized = await HealthKitReporter.requestAuthorization(readTypes, writeTypes);

// Prepare to get data
List<QuantityType> typesToGet = [];
for (final QuantityType e in QuantityType.values) {
   final QuantityType? type = QuantityTypeFactory.tryFrom(e.identifier);
   if (type != null) {
      typesToGet.add(type);
   }
}
List<PreferredUnit> preferredUnits = await HealthKitReporter.preferredUnits(typesToGet);

If I manually remove this value from the list before running the final preferredUnits(typesToGet) line, I then get the error with other types such as runningStrideLength, runningVerticalOscillation and runningGroundContactTime.
I wonder if perhaps it is because I don't have an Apple Watch so don't have any data from that - if so though, some guidance on how to handle this would be much appreciated.
Thank you!


Remove Master Category from Account Category column

On the Account screen, Category column, the Master Category shows first, followed by the Category.  Even when resizing the column, the Category is severely truncated (see attached image) at a column width that allows other columns to be viewed adequately.  Provide the option to hide Master Category from Account Category column.

I agree with the request - however to maintain flexibility both fields should be shown. A much simpler fix is to switch the 2 fields so that category comes before the ":" and category group comes after the ":"

There's also the option of allowing some syntax to filter these. Two options that come to mind are using brackets or pipes to decide what to show everywhere and what to show only in the budget screen:
#5🛌 (Saving Goals) -> #5🛌
#5🛌 | Saving Goals -> #5🛌
Both of these would show up fully everywhere there's space (so budget screen, category search/edit menu, and reports, but show just the shorter form in the transactions


Update protocol document

Based on the discussions at https://github.com/confidential-containers/kbs/issues/6, update the protocol document and formalize the HTTP protocol with an openapi document.

cc @jialez0 @slp @jiazhang0


Update commons-io to 2.10.0

Updates commons-io:commons-io from 2.9.0 to 2.10.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "commons-io", artifactId = "commons-io" } ]

labels: library-update, semver-minor

+1


NCTL :: casper-node-launcher integration

Integration with casper-node-launcher.
Documentaton update.
Account view commands rationalised.

bors r+

nctl-start also stopped working silently.


IncludePaths not working

I can't get includePaths working on version 2.3.2 of gulp-sass and 4.4.2 of node.
Here's my gulpfile contents:
const SASS_FILES = ['./code/styles/main.scss'];
const SASS_INCLUDE_PATHS = [
  path.join(__dirname, '/node_modules/normalize-scss/sass/'),
  path.join(__dirname, '/node_modules/bourbon/app/assets/stylesheets/'),
  path.join(__dirname, '/node_modules/bourbon-neat/app/assets/stylesheets/'),
  path.join(__dirname, '/node_modules/susy/sass/')
];

gulp.task('styles', function() {
  return gulp.src(SASS_FILES)
    .pipe(sass({ includePaths: SASS_INCLUDE_PATHS }))
    .pipe(gulp.dest(BUILD_DEST));
});

The  task runs without error, and scss files I have within ./code/styles/ are pulled in just fine, but it seems the includePaths imports are completely ignored. If I strip my main.scss back to the following, for example:
@import 'normalize';
// @import 'bourbon';
// @import 'neat';
// @import 'susy';

My output is a completely blank file.
Interestingly, if I import bourbon and neat I do get something in my output, just not what I'd expect:
html {
  box-sizing: border-box; }

*, *::after, *::before {
  box-sizing: inherit; }

Importing susy, again, yeilds no extra css added to the output.
Any advice anyone could offer would be much appreciated.

Does it work if use var/let instead of const for the include paths variable?
On 17 Jun 2016 4:44 AM, "Mike Carter"<EMAIL_ADDRESS>wrote:

I can't get includePaths working on version 2.3.2 of gulp-sass and 4.4.2
of node.
Here's my gulpfile contents:
const SASS_FILES = ['./code/styles/main.scss'];
const SASS_INCLUDE_PATHS = [
path.join(__dirname, '/node_modules/normalize-scss/sass/'),
path.join(__dirname, '/node_modules/bourbon/app/assets/stylesheets/'),
path.join(__dirname, '/node_modules/bourbon-neat/app/assets/stylesheets/'),
path.join(__dirname, '/node_modules/susy/sass/')
];
gulp.task('styles', function() {
return gulp.src(SASS_FILES)
.pipe(sass({ includePaths: SASS_INCLUDE_PATHS }))
.pipe(gulp.dest(BUILD_DEST));
});
The task runs without error, and scss files I have within ./code/styles/
are pulled in just fine, but it seems the includePaths imports are
completely ignored. If I strip my main.scss back to the following, for
example:
@import 'normalize';// @import 'bourbon';// @import 'neat';// @import 'susy';
My output is a completely blank file.
Interestingly, if I import bourbon and neat I do get something in my
output, just not what I'd expect:
html {
box-sizing: border-box; }
*, *::after, *::before {
box-sizing: inherit; }
Importing susy, again, yeilds no extra css added to the output.
Any advice anyone could offer would be much appreciated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dlmanning/gulp-sass/issues/512, or mute the thread
https://github.com/notifications/unsubscribe/AAjZWOix_UpV3-Xnu0WOzEdI6RlHSJUjks5qMZmFgaJpZM4I3r3u
.

@xzyfer No, I'm afraid not. :(

Can you check if there is any error output with
gulp.task('styles', function() {
  return gulp.src(SASS_FILES)
    .pipe(sass({ includePaths: SASS_INCLUDE_PATHS }).on('error', plugins.sass.logError))
    .pipe(gulp.dest(BUILD_DEST));

Also can you confirm whether you have this issue with 2.3.1?

@xzyfer Doing what you suggested there I get no error output, and I have the same issue on 2.3.1 I'm afraid.

I have the same issue on 2.3.1 I'm afraid.

This is good to know. We made a change to how we handle the options object in 2.3.2 so it's good to rule out that change.
Can you triple check your include paths are correct? Try replacing the path.join with a hard coded absolute path.

@michaelcarter Switching from node_modules to bower dependencies will solve your problem. I don't know why, my guess is some restriction thing. I have a setup working like a charm, all bower dependencies. When trying to include your node dependencies i get the same problems, paths are correct but won't load. Give it a try! They're all available in bower.
The bower dependency however is a little different, for the example case i copied the sass folder from normalize-scss to the bower dependency of normalize-scss. Just to show you it's not the files or the paths. Then this works for me.
const SASS_INCLUDE_PATHS = [
    path.join(__dirname, '/bower_components/normalize-scss/sass')
];

gulp.task('sass', function () {
    return gulp.src(sassDir)
        .pipe(sourcemaps.init())
        .pipe(sass({
            includePaths: SASS_INCLUDE_PATHS
        }).on('error', sass.logError))
        .pipe(sourcemaps.write())
        .pipe(gulp.dest(path_css))
        .pipe(browserSync.stream());
});

So it must be a restriction thing, otherwise im clueless too but it works.
bower install normalize-scss
goodluck!

I also have an issue using includePaths. I'm using bower dependencies.
includePaths: ['bower_components/normalize-scss/sass']
Any ideas ?

I also tried with node-sass directly and it does not work either :
node-sass --include-path ./bower_components/normalize-scss/sass/ assets/scss/main.scss test.css

It worked for me, npm version 3.9.5,. bower version 1.7.9, gulp version 3.9.1. If it's not working i could check my setup again tonight, might be able to share it with you for you to debug. It's part of my openly available project on github so sharing won't be a problem. That something you would be interested in? @fredericpfisterer

I have :
npm 2.15.5
bower 1.7.9
gulp 3.9.1
node 4.4.5
node-sass 3.8.0
libsass 3.3.6

Worth a try to update your npm: https://docs.npmjs.com/how-npm-works/npm3
Here's the instructions https://docs.npmjs.com/getting-started/installing-node

I'm having this problem too. I tried using the path module to resolve the paths, like this
sassPaths = [path.resolve('node_modules')];

but of course this doesn't work either and the documentation seems to suggest relative paths would work anyway. I am also on node 4, npm 2; and I've just switched away from npm 3 because I had a bunch of other things breaking under that

I tried updating to npm 3 and it does not work. I have another project using foundation that need includePaths and everything works fine there. I can't spot any differences in the way I'm using it :-(

Yes I also just tried switching to node 5 / npm 3 just to see if that would do it, but no

What is weird is that I called to different scss files :
@import "../../bower_components/susy/sass/_susy.scss"; @import "../../bower_components/normalize-scss/sass/_normalize.scss";
susy works perfectly without any includepaths and normalize does not (with or without includepaths).

nevermind, I fixed it. It is because normalize scss needs @include normalize();

Is there a way to get include issues to throw errors?  I am using the error handler but not getting anything.  I am fairly certain there are just issues with my paths, but it's hard to tell flying blind.

I have the same problem, include path does not work at all.
my gulpfile.js:
gulp.task('sass', function () {
 return gulp.src(filepath.srcstyles + '**/*.scss')
   .pipe(sass({includePaths: ['./src/core/scss']}))
   .pipe(extname())
   .pipe(gulp.dest(filepath.deststyles));
});

when i run gulp I get this error message:
events.js:160
throw er; // Unhandled 'error' event
^
...
Error: File to import not found or unreadable: /core/foundation/util/util.
Parent style sheet: /Users/x/Documents/sites/projects/gulptest/src/scss/settings.scss
on line 43 of src/scss/_settings-foundation.scss

@import '/core/foundation/util/util';
^
at options.error (/Users/x/Documents/sites/projects/gulptest/node_modules/node-sass/lib/index.js:286:26)

@majabee Can you show what is the tree view of your working directory? The problem here seems like gulp could not find your path /core/foundation/util/util

You are right, I'm so sorry it was an - it was a path problem. Works now!

Im running

node: v6.9.3
npm: 3.10.10
gulp cli version: 1.2.2
gulp local version: 3.9.1
gulp-sass: ^2.1.0

Setting includePaths does not seem to affect my code at all, but my biggest concern is that some of the styles imported to styles.scss does not import at all. Is there a limit to the amount of files and code that can be imported and/or is there a timeout on the build?

I also have this issue.
includePaths doesn't work in my project.
import gulpLoadPlugins from 'gulp-load-plugins';
const $ = gulpLoadPlugins();

gulp.task('styles', () => {
  return gulp.src([
    'app/sass/**/*.scss',
    'app/sass/**/*.css'
  ])
    .pipe($.newer('.tmp/css'))
    .pipe($.sourcemaps.init())
    .pipe($.sass({
      precision: 10,
      includePaths: [
        `${__dirname}/node_modules/material-components-web`,
        `${__dirname}/node_modules/@material`
      ]
    }).on('error', $.sass.logError))
    .pipe($.autoprefixer(AUTOPREFIXER_BROWSERS))
    .pipe(gulp.dest('.tmp/css'))
    // Concatenate and minify styles
    .pipe($.if('*.css', $.cssnano()))
    .pipe($.size({title: 'styles'}))
    .pipe($.sourcemaps.write('./'))
    .pipe(gulp.dest('static/css'))
    .pipe(gulp.dest('.tmp/css'));
});

It always makes this error
Error in plugin 'sass'
Message:
    app/sass/admin.scss
Error: File to import not found or unreadable: material-components-web/material-components-web
       Parent style sheet: /Users/gunwoo/workspace/josef/app/sass/admin.scss
        on line 1 of app/sass/admin.scss
>> @import 'material-components-web/material-components-web';

in my case gulp-sass finds the path but can't include any mixins from susy for e.g.

I'm having the same issue here.  Gulp-sass completely ignores the includePaths.  All @imports are totally ignored.

I think I've found the problem. Due to the release of susy 3 the NPM package contains the new version 3.0 which is completely redesigned and most of the garbage was removed, that's why you can't find mixins which were there before. In BOWER however a version number of 2 and something is installed which contains all the stuff you are searching for.

I'm certain includePaths are working as intended. Each issue appears to have a different root cause related to the authored @import being incorrect. I'm closing a locking this issue to prevent more unrelated "me too"s.
Please open a new issue if you encounter related issues.


--all option is ignored

In the screenshot you can see that the option --all is called but seems to be ignored wihle error is still there.

https://github.com/AlCalzone/release-script#include-other-changes-in-the-release-commit
The correct command is
npm run release patch -- --all

What you wrote causes npm to intercept the patch and all options for itself.


Updating CI runner image for MRC and C++20

With the updated compilers and dependencies, a new CI image is needed.

@gpucibot merge


Popover Not Working

I can't seem to get the Popover working in multiple tests, but obviously it does work as evidenced by the docs. What am I missing?

      Parent
	<Popover open={true}>

test

	</Popover>

I know I'm properly importing the css as evidenced by a handful of other components working for me in the same .svelte file I'm working in.

What version are you using?
Please see this REPL: https://svelte.dev/repl/8bae021a50f64b5aaca6a7570508a2f4?version=3.48.0

Turns out it was just showing up in weird areas on the page. Thanks for the quick response!

The REPL shows as the following to me:

This looks very different from the Popover live demo:


TimePicker

Android.Views.InflateException Message=Binary XML file line #20: Binary XML file line #20: Error inflating class android.widget.TimePicker

Hi @fabriciomoreirao
I can't reproduce this issue in the repo example
What version of Xamarin.Forms are you using?
Are you using the repo example or your own project?

Hi @fabriciomoreirao
I can't reproduce this issue in the repo example
What version of Xamarin.Forms are you using?
Are you using the repo example or your own project?

We have decided to temporarily close it as it may be out of date. However, if you experience this issue again in the future please feel free to reopen the incident so that we can investigate further!


PHPUnit, The Bigger Picture

Article checklist
Pre-submission checks

Please ensure that you have only one open topic suggestion (issue) + in-review article (linked pull request) at a time. This will ensure that we complete the review process in a timely manner from inception to publishing

If you have not already, please go over our Resources Page for more tips and tricks on how to improve your overall technical writing so reviews are swifter, increase the chance of a payout and provide more value to our readers.

For first-time contributors and for more details on our submission guidelines, see our Contributing Guidelines.

Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes

Remove the backticks and add the issue number below to link and close your Topic Suggestion (issue) when your article has been published (PR has been merged). See this video for more details.

This closes #3179

Finally, delete the article checklist notes in blockquotes and submit your PR. We look forward to reviewing your article.

plagiarism check done

@odongoalbert,  I've noticed that there a function that you defined to take two parameters and at the same time taking an array. Kindly fix before we move forward with the review.

@jumamiller, thanks for identifying that, fixing right away.

@jumamiller, changes have been made. Thanks.

Overall nice job gents very easy to follow along


fix directory path problem

Try this to see if it fixes the problem of "no such file or directory"

I tested it, it worked


Power ESP via M-Bus

Has anyone ever tried to supply the ESP32 with power via the M-Bus? I don't have a socket in my switch cabinet and don't want to install any cables now. According to the specification, there should always be 24-36V DC on the M-Bus, so it should be possible with a Zener diode (I have some BZX55C9V1 lying around here) and a step-down converter (LM2596 available).

Yes, but according to spec also only 6ma. So quite hard to get it working.
At least consumption with wifi (even more during sending of data)  seems not really possible in my opinion.

True, I didn't think of that. So, laying cables after all. Thank you.

Hey there, I guess you can power an esp32 via M-Bus.
As I remember there is somewhere in the m-bus specs written that each of multiple bus-members limited to 6mA. ...In a total of 48mA or something like that. So the meter internal m-bus power supply is able to deliver more then 6mA.With a bare Esp32 and the m bus chip it should work- there exists a YouTube video that shows such a constellation. I guess it was a dlnr esp home config - I can't remember exactly- google for it
BTW: this project works fine for me in my smarthome since over half a year - congratulations to the developer

True, I didn't think of that. So, laying cables after all. Thank you.

Yeah, currently trying around with this also. As it would save quite a lot of hassle here...
But unfortunately (at least with wifi) i can't think of how it could  be sufficient.

As I remember there is somewhere in the m-bus specs written that each of multiple bus-members limited to 6mA. ...In a total of 48mA

Please provide link if you can as I can't find something like this.
PS: also (at least with my smartmeter) wrong, as I tested it and the smartmeter hard-cuts off power if drawing >~10ma

there exists a YouTube video that shows such a constellation

Please link, cant find. Dsmr vs dlms should not matter.
Also not all "m-bus" are equal. Some labeled as "P1" port have a constant 5v power line on the same connector with easily enough current.


Question: why we have Sync impl on CompletionQueue, SubmissionQueue?

See: https://github.com/axboe/liburing/issues/11#issuecomment-533894530

This is safe because Sync only means that immutable shared references can be sent across threads. Every method that mutates the queues takes a mutable reference, &mut self, guaranteeing that whoever calls it has synchronized, exclusive access to that queue.

Yes, just realized that, sorry

No worries :)


ESP32 OTA Firmware Update Issue: SIM800L, ThingsBoard, and Chunk Size Anomalies

Hello community! I'm currently using a SIM800L module to establish a connection with ThingsBoard for performing OTA firmware updates on my ESP32. My program is based on the following example from the ThingsBoard Client SDK: 'thingsboard-client-sdk/examples/0009-esp8266_esp32_process_OTA_MQTT/'. The process seems to work fine initially, successfully downloading the firmware 2 or 3 times. However, at some point, I encounter an issue where the device starts receiving chunks with a size of 0 bytes. Any insights or suggestions for troubleshooting this intermittent challenge would be greatly appreciated. Thank you!"

Hard to say what exactly could be the problem, would it be possible to set THINGSBOARD_ENABLE_DEBUG to 1 with #define THINGSBOARD_ENABLE_DEBUG 1 before including <Thingsboard.h> in you rmain file.
And then add the log messages that occur, once the firmware size is 0 bytes. It might help solve the exact issue.

Thank you for your guidance. I've implemented the recommended changes, including setting THINGSBOARD_ENABLE_DEBUG to 1 before including <Thingsboard.h>, adding log messages to track the issue when the firmware size becomes 0 bytes, and incorporating memory debugging using esp_heap_caps. I encountered the problem again, and below is the output from the Serial Monitor when the issue occurred:
08:41:49.912 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/42)
08:41:49.912 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
08:41:49.912 -> [TB] Receive chunk (42), with size (4096) bytes
08:41:49.945 -> Progress 16.60%
08:41:52.812 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/43)
08:41:52.812 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
08:41:52.845 -> [TB] Receive chunk (43), with size (4096) bytes
08:41:52.845 -> Progress 16.99%
08:41:54.712 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/44)
08:41:54.712 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
08:41:54.745 -> [TB] Receive chunk (44), with size (4096) bytes
08:41:54.745 -> Progress 17.37%
08:41:57.611 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/45)
08:41:57.611 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
08:41:57.644 -> [TB] Receive chunk (45), with size (4096) bytes
08:41:57.644 -> Progress 17.76%
08:42:00.776 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/46)
08:42:00.776 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
08:42:00.810 -> [TB] Receive chunk (46), with size (4096) bytes
08:42:00.810 -> Progress 18.15%
08:42:03.707 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/47)
08:42:03.707 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
08:42:03.707 -> [TB] Receive chunk (47), with size (4096) bytes
08:42:03.738 -> Progress 18.53%
08:42:05.604 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/48)
08:42:05.604 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
08:42:05.637 -> [TB] Receive chunk (48), with size (4096) bytes
08:42:05.637 -> Progress 18.92%
08:42:08.704 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/49)
08:42:08.738 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
08:42:08.738 -> [TB] Receive chunk (49), with size (0) bytes
08:42:08.738 -> Progress 19.31%
08:42:11.804 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/50)
08:42:11.804 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
08:42:11.838 -> [TB] Receive chunk (50), with size (0) bytes
08:42:11.838 -> Progress 19.69%
08:42:14.904 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/51)
08:42:14.904 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
08:42:14.904 -> [TB] Receive chunk (51), with size (0) bytes
08:42:14.904 -> Progress 20.08%
08:42:17.971 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/52)
08:42:17.971 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
08:42:18.004 -> [TB] Receive chunk (52), with size (0) bytes
08:42:18.004 -> Progress 20.46%
08:42:21.070 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/53)
08:42:21.070 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
08:42:21.103 -> [TB] Receive chunk (53), with size (0) bytes
08:42:21.103 -> Progress 20.85%
08:42:24.170 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/54)
08:42:24.170 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
08:42:24.170 -> [TB] Receive chunk (54), with size (0) bytes
08:42:24.170 -> Progress 21.24%
Additionally, I observed that the checksum is reported as invalid, and the system attempts to download the firmware again, but it continues to receive 0 bytes. Any insights or suggestions to address this issue would be greatly appreciated.

Here is the serial monitor output illustrating the issue with the invalid checksum.
08:52:20.631 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/258)
08:52:20.631 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
08:52:20.631 -> [TB] Receive chunk (258), with size (0) bytes
08:52:20.631 -> Progress 100.00%
08:52:20.631 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADED"})
08:52:20.664 -> [TB] (SHA256) actual checksum: (f9289024c1d1973d4087267968238119de2b665031c490234a9dee1d2afa5bf3)
08:52:20.664 -> [TB] (SHA256) expected checksum: (fbdeb22fa16f82c74d0c989518a949aff12074c924126ac7ebb5e38004439ce0)
08:52:20.664 -> [TB] Checksum verification failed
08:52:20.664 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_error":"Checksum verification failed","fw_state":"FAILED"})
08:52:23.765 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/0)
08:52:23.765 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
08:52:23.765 -> [TB] Receive chunk (0), with size (0) bytes
08:52:27.832 -> Progress 0.39%
08:52:31.360 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/1)
08:52:31.360 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
08:52:31.393 -> [TB] Receive chunk (1), with size (0) bytes
08:52:31.393 -> Progress 0.77%
08:52:34.451 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/2)
08:52:34.451 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
08:52:34.484 -> [TB] Receive chunk (2), with size (0) bytes
08:52:34.484 -> Progress 1.16%
08:52:37.517 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/3)
08:52:37.550 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
08:52:37.550 -> [TB] Receive chunk (3), with size (0) bytes
08:52:37.550 -> Progress 1.54%

The invalid checksum is a follow up issue because we do not receive the correct binary data, that is correct and the expected behaviour.
And it seems that allocating the payload is also not a problem either, because if it were the heap_caps_alloc_failed_hook function should print ... was called but failed to allocate 4096 bytes with .... capabilities..
Would it be possible to add the log messages below to the process_firmware_response callback, because it seems that the received message from the MQTT client itself is 0 bytes big.
inline void process_firmware_response(char * const topic, uint8_t * const payload, size_t const & length) {
    char test[Helper::detectSize("Receiving payload with original length %lu", length)] = {};
    snprintf(test, sizeof(test), "Receiving payload with original length %lu", length);
    Logger::log(test);
    ...
}

But It seems that I should probably add a check, that ensures the packet has the expected size because it should always be 4096 bytes big (if configuration was not changed) and perhaps less for the last packet. If it is not that size I could add special log messages. I will do that once we could debug the exact issue that is occurring and fix it.

Thank you for your insights. I previously incorporated log messages into the process_firmware_response callback, and similarly, it consistently displayed 0 bytes received. Despite these efforts, the issue persists

Okay that is already a bad sign, because it hints to a more underlying issue with the MQTT client. Can you immediately print the length in the onMQTTMessage callback as well.
inline void onMQTTMessage(char * const topic, uint8_t * const payload, unsigned int length) {
    char test[Helper::detectSize("Receiving payload with original length %lu", length)] = {};
    snprintf(test, sizeof(test), "Receiving payload with original length %lu", length);
    Logger::log(test);
    ...
}

Because that is the earliest place we receive the message if it is already 0 bytes then, then that hints that the problem lies with the `MQTT Client'. If so I would need further information.
Are you using Arduino? Are you using the default Arduino_MQTT_Client?

#if THINGSBOARD_ENABLE_PROGMEM
constexpr uint16_t MAX_MESSAGE_SIZE PROGMEM = 512U;
#else
constexpr uint16_t MAX_MESSAGE_SIZE = 512U;
#endif

TinyGsmClient client(modem);
Arduino_MQTT_Client mqttClientgprs(client);
ThingsBoard tb_gprs(mqttClientgprs, MAX_MESSAGE_SIZE);
``
tb_gprs.Start_Firmware_Update(callback);`

#if THINGSBOARD_ENABLE_PROGMEM
constexpr uint16_t MAX_MESSAGE_SIZE PROGMEM = 512U;
#else
constexpr uint16_t MAX_MESSAGE_SIZE = 512U;
#endif

// Initialize GSM client with TinyGSMClient
TinyGsmClient client(modem);

// Initialize the MQTT client instance
Arduino_MQTT_Client mqttClientgprs(client);

// Initialize ThingsBoard instance with the MQTT client and maximum message size
ThingsBoard tb_gprs(mqttClientgprs, MAX_MESSAGE_SIZE);

// Start firmware update with ThingsBoard instance and a callback function
tb_gprs.Start_Firmware_Update(callback);

After incorporating the suggested modification to the onMQTTMessage function, the serial monitor still displays empty chunks, indicating that the issue persists.
"12:23:58.451 -> [TB] Receiving payload with original length 4096
12:23:58.451 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/107)
12:23:58.484 -> [TB] Receiving payload with original length 4096
12:23:58.484 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
12:23:58.484 -> [TB] Receive chunk (107), with size (4096) bytes
12:23:58.484 -> Progress 41.70%
12:24:00.382 -> [TB] Receiving payload with original length 4096
12:24:00.382 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/108)
12:24:00.382 -> [TB] Receiving payload with original length 4096
12:24:00.382 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
12:24:00.415 -> [TB] Receive chunk (108), with size (4096) bytes
12:24:00.415 -> Progress 42.08%
12:24:02.307 -> [TB] Receiving payload with original length 4096
12:24:02.307 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/109)
12:24:02.307 -> [TB] Receiving payload with original length 4096
12:24:02.307 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
12:24:02.307 -> [TB] Receive chunk (109), with size (4096) bytes
12:24:02.340 -> Progress 42.47%
12:24:04.398 -> [TB] Receiving payload with original length 0
12:24:04.398 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/110)
12:24:04.398 -> [TB] Receiving payload with original length 0
12:24:04.398 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
12:24:04.431 -> [TB] Receive chunk (110), with size (0) bytes
12:24:04.431 -> Progress 42.86%
12:24:07.491 -> [TB] Receiving payload with original length 0
12:24:07.491 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/111)
12:24:07.491 -> [TB] Receiving payload with original length 0
12:24:07.491 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
12:24:07.525 -> [TB] Receive chunk (111), with size (0) bytes
12:24:07.525 -> Progress 43.24%
12:24:10.585 -> [TB] Receiving payload with original length 0
12:24:10.585 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/112)
12:24:10.585 -> [TB] Receiving payload with original length 0
12:24:10.618 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
12:24:10.618 -> [TB] Receive chunk (112), with size (0) bytes
12:24:10.618 -> Progress 43.63%"

Would it be possible to enable verbose logging for  the framework.

verbose logging.txt

The .txt only contains the log messages of the build process, which isn't relevant. Instead it would be nice if you could attach the verbose logs, for the ongoing OTA process. Especially important would be the internal log messages produced by Arduino, which aren't shown per default but can be enabled with logging level verbose.
Enabling those might show some messages that can help discern why the packages are length 0 after a while.

I added the verbose, but it still shows the same thing when the issue occurs. "10:41:46.316 -> [TB] Receiving payload with original length 4096
10:41:46.316 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/109)
10:41:46.349 -> [TB] Receiving payload with original length 4096
10:41:46.349 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
10:41:46.349 -> [TB] Receive chunk (109), with size (4096) bytes
10:41:46.383 -> Progress 42.47%
10:41:49.215 -> [TB] Receiving payload with original length 4096
10:41:49.215 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/110)
10:41:49.215 -> [TB] Receiving payload with original length 4096
10:41:49.215 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
10:41:49.248 -> [TB] Receive chunk (110), with size (4096) bytes
10:41:49.248 -> Progress 42.86%
10:41:52.482 -> [TB] Receiving payload with original length 4096
10:41:52.482 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/111)
10:41:52.515 -> [TB] Receiving payload with original length 4096
10:41:52.515 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
10:41:52.515 -> [TB] Receive chunk (111), with size (4096) bytes
10:41:52.548 -> Progress 43.24%
10:41:54.581 -> [TB] Receiving payload with original length 0
10:41:54.581 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/112)
10:41:54.581 -> [TB] Receiving payload with original length 0
10:41:54.615 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
10:41:54.615 -> [TB] Receive chunk (112), with size (0) bytes
10:41:54.615 -> Progress 43.63%
10:41:57.682 -> [TB] Receiving payload with original length 0
10:41:57.682 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/113)
10:41:57.682 -> [TB] Receiving payload with original length 0
10:41:57.682 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
10:41:57.715 -> [TB] Receive chunk (113), with size (0) bytes
10:41:57.715 -> Progress 44.02%
10:42:00.781 -> [TB] Receiving payload with original length 0
10:42:00.781 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/114)
10:42:00.781 -> [TB] Receiving payload with original length 0
10:42:00.781 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
10:42:00.815 -> [TB] Receive chunk (114), with size (0) bytes
10:42:00.815 -> Progress 44.40%
10:42:03.882 -> [TB] Receiving payload with original length 0
10:42:03.882 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/115)
10:42:03.882 -> [TB] Receiving payload with original length 0
10:42:03.882 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
10:42:03.915 -> [TB] Receive chunk (115), with size (0) bytes
10:42:03.915 -> Progress 44.79%
10:42:06.983 -> [TB] Receiving payload with original length 0
10:42:06.983 -> [TB] Received data from server over topic (v2/fw/response/0/chunk/116)
10:42:06.983 -> [TB] Receiving payload with original length 0
10:42:06.983 -> [TB] Sending data to server over topic (v1/devices/me/telemetry) with data ({"fw_state":"DOWNLOADING"})
10:42:06.983 -> [TB] Receive chunk (116), with size (0) bytes
10:42:06.983 -> Progress 45.17%"

Can you adjust the Process_Firmware_Packet method in the OTA_Handler.h file like this. It will wait the timeout configured in the OTA_Update_Callback configuration (5 seconds per default) and then rerequest that chunk in hopes it is fully received now.
void Process_Firmware_Packet(size_t const & current_chunk, uint8_t *payload, size_t const & total_bytes)  {
    ...
    else if ((m_requested_chunks + 1 < m_total_chunks && total_bytes != m_fw_callback->Get_Chunk_Size()) || (m_requested_chunks + 1 >= m_total_chunks && total_bytes != (m_fw_size % m_fw_callback->Get_Chunk_Size()))) {
        char message[Helper::detectSize("Expected chunk size of %u, but got %u", m_fw_callback->Get_Chunk_Size(), total_bytes)];
        snprintf(message, sizeof(message), "Expected chunk size of %u, but got %u", m_fw_callback->Get_Chunk_Size(), total_bytes);
        Logger::log(message);
        return;
    }
    ...
}

I'm pleased to share that the issue has been successfully resolved, and I want to extend my gratitude to you for the invaluable support. The solution involved updating the 'ArduinoJson' library from version 6.20.1 to the latest version, 6.21.4. Your consistent and prompt responses were greatly appreciated throughout this process. Thank you for your expertise.

Good to know thanks a lot for the information, it's nice to know it wasn't an internal library issue.


SSO for Camunda Tomcat Distribution

Hi,
I managed to configure sign on via keycloak in the camunda tomcat distribution as detailed here, is there a way to have single sign on work on this distribution as well? Seeing the webapp (camunda/tasklist/cockpit) allows to provide an Authentication Provider via web.xml would this be possible and how would one get the web app to redirect to keycloak?

Hi @somejavadev,
please have a look at https://github.com/iceman91176/camunda-bpm-auth-keycloak-sso. @iceman91176 did some work on that and his ideas might help you to find your own way.
Regards Gunnar

@VonDerBeck thanks for the response, I also had a look at the sso-showcase and it seems also pretty simple to bootstrap a spring app with the bpmn webapp which might be a better route to go with.

Hi @somejavadev,
I personally prefer to use my own Spring Boot setup - because this gives me much more flexibility to integrate into any target environment and to deal with any custom requirements etc. So if you feel well with doing a little a bit of Java on your own - go for it. 👍 You'll find a lot of hints for any specific problem in the Spring community and will be able to adapt that quickly. Camunda's integration with Spring Boot is excellent.


feat(datepicker):add today date in controller with a class on the element

Regarding Issue #5813 , related to #3879.

This LGTM.

Actually, can you add this for the month and year pickers?

Sure I can take a look at that in the next few days.

@jasonhargrove, do you intend to follow up on this or shall I close this?  Thanks.

@jasonhargrove, just checking in one more time before we close this.  Thanks.

Worst case, we can merge as is and just add it for the others quickly after.

Boys can we merge this fix in and point master to the new tag? 4.5.7?


Numbers with separator

I have a table that have numbers with separators (as 1,000 or 1.000 for thousand). I tryed data-sort="float", but it doesn't work if there is a number lower than a thousand.
Is there some way to do that already? If not, I'll make a pull request. I looked into it, but I've found nothing.

You can incorporate data-sort-value (as described here). Have the data-sort-value be the floating point value of that number.

I've found a simpler solution, but I didn't make a pull request because I think it wasn't in your plans for this plugin.
In my country we use dots as thousand's separator and comma for floating numbers. So I did this:
$.fn.stupidtable.default_sort_fns = {
    "int-separated": function(a, b) {
        return parseInt(a.replace(/\./g,''), 10) - parseInt(b.replace(/\./g,''), 10);
    },
    "float-separated": function(a, b) {
        return parseFloat(a.replace(/\./g,''), 10) - parseFloat(b.replace(/\./g,''), 10);
    }
};

If someone reading this wants to reorder numbers with commas as thousand's separator, you can use something like that:
$.fn.stupidtable.default_sort_fns = {
    "int-separated": function(a, b) {
        return parseInt(a.replace(/,/g,''), 10) - parseInt(b.replace(/,/g,''), 10);
    },
    "float-separated": function(a, b) {
        return parseFloat(a.replace(/,/g,''), 10) - parseFloat(b.replace(/,/g,''), 10);
    }
};


Upload_metadata : Error 502

Hello Jesse
quick question. I encounter a problem when i'm uploading  the metadata files. it says :
CATCH ERROR: ERROR STATUS: 502
Retrying
CATCH ERROR: FetchError: request to https://api.nftport.xyz/v0/metadata/directory failed, reason: socket hang up.
i would appreciate any help. thanks so much

Hello Jesse
i have also the same Problem
i would appreciate any help.  Thanks in advance

Ok you need to add your nft port api key from .env example by copying the
env file and pasting it or do it like this duplicate it by copying the file
and pasting it, then add your api key the one you got from nft port I hope
this will solve the problem. 😉
On Mon, 21 Mar 2022, 22:17 NFTKing11, @.***> wrote:

Hello Jesse
i have also the same Problem
i would appreciate any help. Thanks in advance
—
Reply to this email directly, view it on GitHub
https://github.com/codeSTACKr/minter-dapp/issues/2#issuecomment-1074428051,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOPDAJJDM2KT26KX2F6AJ5DVBDRODANCNFSM5RGKH74A
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hi Lizee78,
Thanks for the suggestion. I did that already as per the video instruction. I find out that if i reduce the collection size from 10k to 1k nft, I'm able to upload the metadata. Which could be possible, as I'm only using the free package and maybe hit the limit. If that is the case, i don't mind to get the monthly package, I'm just afraid that when i change the plan to the monthly paid plan, the issue still happen with a larger collection.

@wazir09 a new release was made that will fix the 502 issue. Please update your repo to make use of the fix and try again.

Did you have this problem running the Presale, that is npm run presale
On Tue, 22 Mar 2022, 03:32 Wazir, @.***> wrote:

Hi Lizee78,
Thanks for the suggestion. I did that already as per the video
instruction. I find out that if i reduce the collection size from 10k to 1k
nft, I'm able to upload the metadata. Which could be possible, as I'm only
using the free package and maybe hit the limit. If that is the case, i
don't mind to get the monthly package, I'm just afraid that when i change
the plan to the monthly paid plan, the issue still happen with a larger
collection.
—
Reply to this email directly, view it on GitHub
https://github.com/codeSTACKr/minter-dapp/issues/2#issuecomment-1074662039,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOPDAJIBFAYQJXV34OY2BGDVBEWNPANCNFSM5RGKH74A
.
You are receiving this because you commented.Message ID:
@.***>


build: Switch operator-bundle build from Go 1.21 to 1.22

Description
This should fix build failure seen in https://github.com/stackrox/stackrox/pull/12684 / https://console.redhat.com/application-pipeline/workspaces/rh-acs/applications/acs/pipelineruns/operator-bundle-build-d8jck
[build] ============================== 15 passed in 0.04s ==============================
[build] + operator-sdk
[build] go: go.mod requires go >= 1.22 (running go 1.21.11; GOTOOLCHAIN=local)
[build] make: *** [Makefile:178: /stackrox/operator/.gotools/bin/operator-sdk] Error 1
[build] subprocess exited with status 2
[build] subprocess exited with status 2
[build] Error: building at STEP "RUN make bundle-post-process": exit status 2

The reason is that ubi9 has only Go 1.21.11 and so we need to use openshift-golang-builder instead.
Once switched to openshift-golang-builder, there are new build failures with messages like (pipeline)
    Go compliance shim [1209] [rhel-9-golang-1.22][openshift-golang-builder]: invoking real go binary
    go: inconsistent vendoring in /stackrox/operator/tools/operator-sdk:
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

I haven't found many external references but something hinted that we may have -mod=vendor set for Go. This proved to be the case for openshift-golang-builder:
$ go env | grep vendor
GOFLAGS='-mod=vendor'

Doc reference: https://go.dev/ref/mod#build-commands
Apparently, this isn't specific to rhel_9_1.22, it was also in rhel_8_1.21. Why it did not cause problems in other builds - I don't know. Supposedly, the way we install tools is a bit special.
This may or may not require adjustments to https://github.com/stackrox/stackrox/pull/12651, but I tried running my change with prefetch, and no go: downloading ... lines were printed which suggests it should be fine.
User-facing documentation

[x] CHANGELOG is updated OR update is not needed
[x] documentation PR is created and is linked above OR is not needed

Testing and quality

[x] the change is production ready: the change is GA or otherwise the functionality is gated by a feature flag
[ ] CI results are inspected

Automated testing
No change to automated testing.
How I validated my change
Only CI.

/retest operator-bundle-build

/retest main-build

/test ocp-4-12-nongroovy-e2e-tests
/test ocp-4-12-operator-e2e-tests
/test ocp-4-12-qa-e2e-tests

/test main-build


Discussion on django-admin2

I search the docs and here... I couldn't find reference to a discussion forum. Is there one? Or, would the recommended approach be to open a ticket for a question?

https://gitter.im/pydanny/django-admin2 is where we gather.


Documentation and Refactoring

I'm submitting a

[ ] Bug report

[x] Feature request

All the UI components need a detail markdown documentation for future contributors.

Most of the UI components currently reside in the app folder. They need to be refactored into subfolders.

This needs to be done before we take ngx to production.
(Created this now so we don't lose track of this.) 🍕

I'm up for this. Kindly assign this to me.

Closing this since it is already added.


Make use of batched watch calls

Instead of listening to one parameter at a time this PR batches parameter changes.

Codecov Report

Merging #73 into master will increase coverage by 0.05%.
The diff coverage is 92.5%.

@@            Coverage Diff             @@
##           master      #73      +/-   ##
==========================================
+ Coverage   90.48%   90.53%   +0.05%
==========================================
  Files          23       23
  Lines        3059     3076      +17
==========================================
+ Hits         2768     2785      +17
  Misses        291      291

Impacted Files
Coverage Δ

panel/util.py
79.09% <100%> (+1.2%)
:arrow_up:

panel/interact.py
78.03% <100%> (ø)
:arrow_up:

panel/viewable.py
68.75% <100%> (+1.11%)
:arrow_up:

panel/pane.py
80.57% <85.71%> (+0.06%)
:arrow_up:

panel/widgets.py
96.36% <90.9%> (-0.26%)
:arrow_down:

panel/layout.py
95.5% <93.33%> (+0.05%)
:arrow_up:

Continue to review full report at Codecov.

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


Watchlist entry for codecanyon.net updated

See https://chat.stackexchange.com/transcript/message/40802909#40802909

!!/approve


Generate multiple addresses for the same wallet

Hello! Thanks for the awesome library!
I have an ethereum mnemonic and am trying to generate 10 addresses using BIP44. What's the best way to do this?
If I run wagyu ethereum hd --count 10 it generates 10 separate wallets, which is not what I want.
There sure are a lot of different ways of handling the path, but BIP44 defines the path as m / purpose' / coin_type' / account' / change / address_index. import-hd only has a flag for --index. I would like to set the account (and maybe change), too.
This probably belongs on a separate issue, but while trying to figure this out, I think --index is not working like I expect it to.
$ wagyu ethereum import-hd -m "virus harbor pact end relief change limit magnet screen term desert fit" -d "ethereum" --index 9

      Path                 m/44'/60'/0'/9
      Mnemonic             virus harbor pact end relief change limit magnet screen term desert fit
      Extended Private Key xprvA221HiWQYs4iPcXEEUxdTJqHncsaSMNotBhCtnC7CfJKscyA1MfxApf91xsNhFrMBfMFBbzkPjSAvbqCWiaXUAMPzzMS2jAy9pJ4npaLmmR
      Extended Public Key  xpub6F1MhE3JPEd1c6bhLWVdpSn2Lei4qp6fFQcohAbikzqJkRJJYtzCicycsGt7BURuCw4aHXqNir5fjmTbM4FiWwk4TWXvF74NspU4XnSHTes
      Private Key          451171f4c637bfb35d44d859886d363b64114d84afc3423c6606fed0a7ec3536
      Public Key           cdcf2b1c5bae5b57e1cc2f01c1b62f9c4cc75970d050d855052c7bfd3762582716a0e785182d18eee5c35678495a047b07d34566633f57e728d2246c9741f1e1
      Address              0x6b9472ebbfe4F7EF4eFe57013A5dC35303A6B452

I expected "Path" to be m/44'/60'/0'/0/9 like Ganache uses:
$ wagyu ethereum import-hd -m "virus harbor pact end relief change limit magnet screen term desert fit" -d "m/44'/60'/0'/0/9"

      Path                 m/44'/60'/0'/0/9
      Mnemonic             virus harbor pact end relief change limit magnet screen term desert fit
      Extended Private Key xprvA3yJkjbs6TKGjx6zr8fkWvDEkmEFfXqUziiQEFPTMMnai5qxbEvH4HBatpadpVN4B1j41rvyd1FvQkfuxvKq3H8rUGPJTAV9nsWboS6mY6e
      Extended Public Key  xpub6GxfAF8kvpsZxSBTxACkt49yJo4k4zZLMwe12do4uhKZatB78nEXc5W4k6zYwkYpgShfeRCJ714oz2TFjbGK6xZD8xDh3YgHzqWXwzeRfaG
      Private Key          5fdee1800c5263dc7e0cbcb52ba3a884837fe1bc077976fcc035b514157e9304
      Public Key           15dc3fd47a15120dff636be498cb88d5d13c8d4da3aa9962134076e83d9af60c3ed1508b7a77c16c4d33154ad2cee608398527bdc1d79253b1fee7856400747d
      Address              0x2A53D0f3310A5832d5A030b4b2f3E9C910C2AF7b

For now, I can build the path manually, but it would be nice if wagyu could do this for me.

This is a great idea! We've been wanting to add this as well. Glad there is interest, and we'll make an effort to incorporate it

@WyseNynja #207 adds support for deriving sequential indices. The approach we took was to continue supporting the --count command for multiple wallets, while introducing a new counter --indices (short -k) for sequential indices. The shorthand flag of -n -l -j were all taken (which were the potential logical options).
For usage, if I want to create a new Ethereum HD wallet and print out the indices from index 3 to index 8, I would use the following convention:
wagyu ethereum hd -i 3 -k 5

Ditto for importing an hd wallet:
wagyu ethereum import-hd -m {mnemonic} -i 3 -k 5


Support completion details for special JsDoc completions (#19494)

Port of #19494
@mhegazy #19442 was marked as a 2.6 issue, so porting.

Let's wait on this until 2.6.1 goes out. I will merge it.


Not supported with react latest version 17.0.2

I am trying to use latest version of this library 0.7.0 with react latest version 17.0.2 but it is not supported with it. It is supported with 16.8.0 only. Can you please let me know if there any solution for this.

Is this still happening for you? Im am not able to reproduce locally using react 17.0.2. I can change the peerDependencies to be
"react": ">=16.8.0",
"react-dom": ">=16.8.0"

instead which should work with any version of react that is at least 16.8.0 and above as 16.8.0 is needed for hooks API

Just put out an update v0.8.0 with the peerDependencies changes, let me know if that resolves the issue you were facing


Support headers 4, 5 and 6

draft-js-import-markdown always support headers four, five and six. So it can be cool to support them on export too :)

This looks great. Normally I'd ask to add a test when we update code, but this update seems OK. I'll add more tests in another diff. Thanks!


New notebook for loading data from Microsoft Planetary Computer

Proposed changes
This PR adds a new notebook for loading data from Microsoft Planetary Computer and combining it with DEA data, including:

How to use pystac_client to search for ESA WorldCover data for a study area and time period
Load ESA WorldCover from Planetary Computer into the notebook using odc.stac
Compare ESA WorldCover outputs against DEA's Land Cover product
Load a time series of USGS Collection 2 Landsat surface temperature from Planetary Computer
Add this data to a time series of DEA Landsat ARD so they can be analysed together

Closes issues (optional)

Closes Issue #1088

Checklist (replace [ ] with [x] to check off)

[x] Notebook created using the DEA-notebooks template
[x] Remove any unused Python packages from Load packages
[x] Remove any unused/empty code cells
[x] Remove any guidance cells (e.g. General advice)
[x] Ensure that all code cells follow the PEP8 standard for code. The jupyterlab_code_formatter tool can be used to format code cells to a consistent style: select each code cell, then click Edit and then one of the Apply X Formatter options (YAPF or Black are recommended).
[x] Include relevant tags in the final notebook cell (refer to the DEA Tags Index, and re-use tags if possible)
[x] Clear all outputs, run notebook from start to finish, and save the notebook in the state where all cells have been sequentially evaluated
[ ] Test notebook on both the NCI and DEA Sandbox (flag if not working as part of PR and ask for help to solve if needed)
[ ] If applicable, update the Notebook currently compatible with the NCI|DEA Sandbox environment only line below the notebook title to reflect the environments the notebook is compatible with

Great idea, will try it out

View entire conversation on ReviewNB

Neat, will do

View entire conversation on ReviewNB

Yes, absolulety - will update

View entire conversation on ReviewNB

Actually, I might switch to a more intuitive cmap and strip out the legends completely, they don't really do much here

View entire conversation on ReviewNB

Will do a teal "info" box instead, feels friendlier!

View entire conversation on ReviewNB


[desktop_drop] Dragging multiple files at once from Apple Music does not work well (mac OS)

Hi,
Dragging a single audio file directly from Apple Music inside my DropTarget works fine.
https://user-images.githubusercontent.com/32097135/157423186-56435341-dd33-418a-9bfb-b3e183916271.mov
However, dropping multiple audio files at once directly from Apple Music yields only the first from the multiple selected in the DropDoneDetails files that i get in onDragDone()
https://user-images.githubusercontent.com/32097135/157423432-340318ff-5d04-4cd1-8b89-ce793922a698.mov
Dragging multiple audio files from Apple Music to any other destination (a directory, terminal, other app) works fine.
This feature is super important for any kind of music app. Is it possible that you have a look at it?
Thanks!

Wow that was fast! Ty so much 👍

hey! this appears to have regressed in later versions
pubspec.yaml:
desktop_drop: ^0.4.0

does not work, dragging multiple files only yields the first

desktop_drop: 0.3.3

works perfectly