Nide is hanging often

Hi again!
I use your node for my smart home together with Hassio, to make bulbs and switches fast and local.
I noticed, that access to devices is hanging, and they become unresponsible time to time. I have to restart/redeploy to make them working.
Is there maybe a way to restart nodes without restarting node red, or redeploying flow?
Thank you in advance.

@formatBCE  Are you still experiencing the issue with the latest version. I am using 5 devices and still no issues.
Please confirm .

@formatBCE  Are you still experiencing the issue with the latest version. I am using 5 devices and still no issues.
Please confirm .

@vinodsr  thanks for tracking this.
I moved NodeRED from hassio addon to Docker, and this issue gone.
I still have some devices reconnecting time to time, but mostly it's recovering by itself.
I suppose, it was network issues - now NodeRED is on LAN instead of WiFi.
So we can close this. Thanks!
P.S. i have around 20 devices.

@vinodsr  thanks for tracking this.
I moved NodeRED from hassio addon to Docker, and this issue gone.
I still have some devices reconnecting time to time, but mostly it's recovering by itself.
I suppose, it was network issues - now NodeRED is on LAN instead of WiFi.
So we can close this. Thanks!
P.S. i have around 20 devices.


HTTPStatusCodeType issues

The HTTPStatusCodeType should not contain type as postfix because it is clear that it is a type, also it seams that it is incomplete yet please provide all possible status codes or just replace the type with an Int.

The type postfix in my mind is that it is categorized into success, serverError... maybe a more descriptive naming is HTTPStatusCodeCategory or could be dropped as you described.


added test with large file

Codecov Report

Merging #1150 (20c8967) into main (5772686) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1150   +/-   ##
=======================================
  Coverage   94.76%   94.76%
=======================================
  Files          48       48
  Lines        6912     6912
  Branches      445      445
=======================================
  Hits         6550     6550
  Misses        362      362

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

That would be nice to avoid having to download 25MB more because of this file when cloning the repo. Maybe a generated buffer when running the tests instead?


Allow constructing a Tensor from a Vector of Index

Allow constructing a Tensor from a Vector of Index to help with backwards compatibility. Also add better error message for trying to construct a block sparse tensor from indices that don't have blocks, like Int or Index{Int}.

Codecov Report

Merging #661 (430dd5b) into main (7531a56) will decrease coverage by 1.61%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #661      +/-   ##
==========================================
- Coverage   79.94%   78.32%   -1.62%
==========================================
  Files          80       80
  Lines        8691     7341    -1350
==========================================
- Hits         6948     5750    -1198
+ Misses       1743     1591     -152

Impacted Files
Coverage Δ

src/NDTensors/blocksparse/blockdims.jl
81.08% <100.00%> (-4.64%)
:arrow_down:

src/NDTensors/tupletools.jl
77.66% <100.00%> (-3.53%)
:arrow_down:

src/qn/qnindex.jl
69.61% <100.00%> (-0.34%)
:arrow_down:

src/NDTensors/octavian.jl
0.00% <0.00%> (-100.00%)
:arrow_down:

src/NDTensors/similar.jl
33.33% <0.00%> (-30.31%)
:arrow_down:

src/NDTensors/dims.jl
42.85% <0.00%> (-28.58%)
:arrow_down:

src/broadcast.jl
60.16% <0.00%> (-25.21%)
:arrow_down:

src/NDTensors/empty.jl
58.62% <0.00%> (-18.24%)
:arrow_down:

src/physics/site_types/tj.jl
58.92% <0.00%> (-13.08%)
:arrow_down:

src/qn/qnindexset.jl
89.47% <0.00%> (-10.53%)
:arrow_down:

... and 68 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 7531a56...430dd5b. Read the comment docs.


docs: add naming conventions for commit message and branch name

This PR introduces guidelines for the Git branch and commit message naming conventions in the KEC Computer Club repository. It aims to improve clarity and organization in our collaboration.
Addresses Issues #7 and #8 by providing a standardized approach for naming.
PS: Feedback is appreciated!

Done!

This resolves #7 and #8.


Build fails on debian-10

Describe the bug
Build fails with
In member function ‘virtual void folly::AsyncSocket::writeChain(folly::AsyncWriter::WriteCallback*, std::unique_ptr<folly::IOBuf>&&, folly::WriteFlags)’:
/home/CacheLib/cachelib/external/folly/folly/io/async/AsyncSocket.cpp:1733:15: error: ‘BOOST_PP_IF’ was not declared in this scope
     iovec vec[BOOST_PP_IF(FOLLY_HAVE_VLA_01, count, kSmallIoVecSize)];
               ^~~~~~~~~~~
/home/CacheLib/cachelib/external/folly/folly/io/async/AsyncSocket.cpp:1733:15: note: suggested alternative: ‘BOOST_PP_IIF’
     iovec vec[BOOST_PP_IF(FOLLY_HAVE_VLA_01, count, kSmallIoVecSize)];
               ^~~~~~~~~~~
               BOOST_PP_IIF
/home/CacheLib/cachelib/external/folly/folly/io/async/AsyncSocket.cpp:1736:30: error: ‘vec’ was not declared in this scope
     writeChainImpl(callback, vec, count, std::move(buf), flags);

To Reproduce
Steps to reproduce the behavior:
./contrib/build.sh -d -j -v

yeah this is a known issue. You can try a platform such as centos 9.0 for now.
We need to debug further. Our OSS builds have been very fragile in the last month or so. Multiple dependencies broke one after another. https://github.com/facebook/CacheLib/issues/310

should be fixed by now


Allow rolling for usual modifiers with target key a custom modifer

In my current config,r is a tap-hold-next-release, and e is not.
Pshft Pe Rshft Re gives "E".
Pshft Pr Rshft Rr gives "r".
I understand that I have to make a choice: either I must require my custom tap/hold modifers to be held until after the target key is released, or I need to lose the ability to roll and get both characters.
I can live with learning to not roll, for my custom modifiers.
But what I would like to keep, is the ability to roll when the modifier is control, alt, shift, super, and the target key is a tap-hold-next-release (r above).
Is there a way to let the rolling trigger the modified key for these, or is there a drawback that I don't see now?
This is kind of related to https://github.com/kmonad/kmonad/issues/903

This is actually a long standing issue. See #524.
I don't know why the PR is marked as Draft or if there are any problems with it (except that it's old and has merge conflicts). This was opened long before I started working on the project (as a contributor, I don't have any access rights).

That sounds good! I'd be happy to build and test this, if someone wants to rebase or merge in master for conflict resolution. I sadly don't have the ha-skills (pun) to resolve the conflicts.

There you go.

This is golden! As an avid emacs user, with keyboard shortcuts like C-x C-f meaning a different thing than C-x f, this gives me an experience much closer to what I've been doing for 15 years. Any changes to get this into main?

I do hope so, but I am not a Maintainer. @slotThe, could you take a look at #914, though I don't quite know why #524 was still marked as a draft.


[Deploy] There was a problem synchronizing your bot to Skype.

Bot Info

SDK Platform: .NET
SDK Version: Latest version
Active Channels: Skype
Deployment Environment: Azure Bot Channels Registration
MS App ID: 695a11fe-a820-4490-be1a-4940b810edb2

Issue Description
My bot is working when I test it using Azure's "test in web chat" function.
Unfortunately, whenever I add Skype as a channel I get this error and my bot won't work.
Reproduction Steps

Skype channel is added in Channels
Click on 'Health'
Shows the warning

Expected Behavior
Skype channel should be added correctly and bot should respond.
Actual Results
Skype channel Health shows 'There was a problem synchronizing your bot to Skype.' error

@yasmimp I recently ran into this issue myself and have a query out to the Skype team for help, I will let you know when I get an answer what the solution is.

Just to Update you i am still working with the skype team to investigate this.  Will update you ASAP

Same problem here. Webchat works fine, Slack works fine, but Skype doesn't. It display this "There was a problem synchronizing your bot to Skype." warning in the health screen. In the Skype client the messages I try to send are marked as "not sent". Same for the embedded version.

I'm having the same issue.

I'm also facing the same issue.  I created a new chatbot from scratch, just the basic echo application from the Bot Builder template, and deployed it to Azure and the Bot Channel Connector.  Tried on the classic Skype application for Windows 7, the new Skype application for Windows 10 , via web and and Android app, every Skype client failed to deliver the messages.

I've deleted and re-created the Bot Channels Registration resource and now the Skype channel is working. Unable to identify the root cause though.

@rogerweb Good to know. I was also able to create a Skype Chatbot successfully last Friday. However I can't just delete the Bot Channels Registration for my bots in production...

#4455

Closing this issue since it seems everyone's problem is resolved, please open a new issue if you continue to experience this problem


Image information should be placed on the image

As a viewer, I want information about the image (date, copyright) to be superimposed on the image, to reduce the amount of scrolling I need to do.
https://css-tricks.com/text-blocks-over-image/

https://openbenches.org/bench/165


Add asynchronous template provider support

In a current project we load all our partials at once from a  using $templateCache. It works fine. This is « asynchronous / sequential » as the Angular app is bootstrapped only after the file is loaded.
We recently needed to load a different set of partials according to the « viewport type » (mobile, tablet, desktop) which is evaluated from the viewport dimensions.
Our Gruntfile is now generating three files : mobile-partial.js, tablet-partial.js and desktop-partials.js. All roughly containing the same set of template URLs.
The bad
At first we thought of using a simple attribute ng-src="{{partialUrl}}", with partialUrl targetting the correct file, but we lost the « asynchronous / sequential » behavior of the browser loading sequentially the different javascript files. This was now « asynchronous / parallel ». As a result ngRoute asked for a template before <script ng-src=... had succefully loaded the partials into $templateCache, and ended in a 404 HTTP error.
The fail is demoed here : http://plnkr.co/edit/qbMgL6Q9A6i1MLkZZG5q
The ugly
Currently a temporary solution is in place which consists of a set of non Angular managed code adding the <script element to the DOM and a tiny piece of code at the end of the ...-partials.js files which manually bootstrap the Angular app when we are sure all the templates have been correctly loaded. I don't like this solution as it is a very constrained and non elegant one.
No demo for this one. We are too ashamed...
The good
In the following demo we have tried a better solution : http://plnkr.co/edit/BWjDJP9Lhq6L7pSKZyac
It consists of decorating the $templateCache in order to delay partials evaluation until all the template HTML code have been loaded from one JSON file.
I like this solution as it allows, to a wider extent, to mix preloading and lazy loading of sets of templates from one or more JSON files (good for performances and user experience). And it allows to « route » partial requests according to the context (viewport size, screen density, language, etc) in a transverse manner without requiring server side operations or specific dynamic partials IDs. This sounds like a great solution for big apps.
The only problem I can see with this solution is that it is an implementation specific and opportunist solution. This is not the kind of things I like to ship to our clients.
It exploits the fact that in most of the Angular code (e.g. ngInclude.js) templates are retrieved this way
http.get('partial.html', { cache: $templateCache }, ....

As a result it is possible to store in/return from $templateCache a promise. But this promise must be a « HTTP result » like promise, i.e. must resolve to this kind of object
{ data: ..., status: 200, headers: {} }

So finally, what would be nice is that Angular publicly allows to return promises from $templateCache and that those promises can simply resolve to a string containing the HTML content of the given template.
If the issue is not rejected too soon I might be able to deliver a PR patch soon.
Thx

I know it's old, but +1

Just stumbled over this agiain. I think it's a pretty specific requirement, and I think it's reasonable to use a decorator / overwrite if you need this behavior. Specifically, since Angular 1.4, you could implement this in a $templateRequest decorator / overwrite, which would semantically be a better fit, and allow you to ignore the cache logic.


CLI options related to mipmap generation could use documentation/clarification

The -mipsize could have better documentation.
Isn't possible to let the tool compute the number for a complete mipmap chain ?
It seems that there are issues when the given values are wrong, leading to unclear error messages such as, for a 1024x1024 RGB8 TIF :
CompressonatorCLI.exe xxx.TIF xxx.ktx -fd ETC2_RGB -Quality 1.0000 -mipsize 1024

gives
Compression progress = 100
Error(0): KTX Plugin ID(1) saving file = xxx.ktx
Error: saving image or format is unsupported

while
CompressonatorCLI.exe xxx.TIF xxx.ktx -fd ETC2_RGB -Quality 1.0000 -mipsize 512

works fine.
Could it be related to the compression format block size ?

Hmm, in fact, -mipsize does not seem to provoke mipmap generation.
-miplevels does.
I'm somehow lost in these options :)

-mipsize option attempts to generate mipmap levels that will reduce to the specified minimum image dimension
in your case if original image is 1024x1024 and you specify 512 is will generate a 1012x1024 image and 512x512 image for compression
while
-miplevels specifies the number of divisions by 2 that are applied to the original image
512x512  is miplevel 1
256x256  is miplevel 2
128x128  is miplevel 3

Thanks for your quick reply, I made a few tests to try to get this into my head.
So  -miplevels tells the number a mipmap levels the output will contain :

with a 1024x1024x24 input
CompressonatorCLI.exe rainbowd.TIF -fd RGB_888 -miplevels 3 c:\temp\rainbowd.dds, will have 3 mipmaps (1024, 512, 256), logical
CompressonatorCLI.exe rainbowd.TIF -fd RGB_888 -miplevels [10..12] c:\temp\rainbowd.dds will only have 10 mipmaps (1024, 512, 256, ..., 2)
so it seems that with something like -mipmaps 32, you'll get a complete mipmap chain - except for the last missing 1x1 mipmap - is this by design ?

And -mipsize instructs to generate mipmaps and stop before the specified size :

with a 1024x1024x24 input
CompressonatorCLI.exe rainbowd.TIF -fd RGB_888 -mipsize 256 c:\temp\rainbowd.dds, will have 2 mipmaps (1024, 512)

Did I get it ?

"Did I get it:" Yes.
"is this by design?": No it should also given you 1x1 mipmap also.
"stop before the specified size" : it should have given you a mipmap at that size.
We will look into these items and update on next revision.
As you have also figured out: the current ktx files implementation in the code does not support miplevels and is only available for  DDS files

We will look into these items and update on next revision.
ok ! no wonder I was somehow confused ;)

As you have also figured out: the current ktx files implementation in the code does not support miplevels and is only available for DDS files
ok, as it was not clear in the doc, I hope you don't mind I added another issue #7 for reference to anyone like me, who hopes to generate complete KTXs ;)

hi, the latest commit on master branch will give you 1x1 mipmap and -mipsize now will stop at specified size.  thanks.


Plan the next on-site testing / hacking event

@nexus-Six please let us know your plans...
Let's plan beginning of 2025..


Docker Desktop Installation Failed. Need Solution....

Failed to start service: The service did not respond to the start or control request in a timely fashion
at CommunityInstaller.Service.Service.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CommunityInstaller.Service.Manager.d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CommunityInstaller.ServiceAction.d__36.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at CommunityInstaller.InstallWorkflow.d__34.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CommunityInstaller.InstallWorkflow.d__29.MoveNext()

/template


Estimate time remaining on a track

For the first track, probably can't show any estimated time remaining. But once the track changes, can start counting from that point if the duration is provided in the track info.

Not sure if possible from the raw data SomaFM API gives me.


add integer support

so that two parties can send a bigger integer to each other
Signed-off-by: Lai Jiangshan<EMAIL_ADDRESS>

I can't merge this for several reasons:

It would break existing code that uses JSONNumber
C89 -> C99 change in makefile
No tests
Adding JSONInteger just doesn't make sense. You only get 12 more bits of precision at a cost of more complicated API. If someone needs really large numbers then he should pass them as strings and then parse them.


Feature/id vol reg

Added a geojson file (geopandas defaults the crs to epsg 4269, which is correct for the data in the file) that represents all of the NOAA Temporal Distribution Volumes and Regions to the DataRepository subdirectory. Added functions to check the input geometry against this geojson, returning the volume, region and percent area of the input geometry that is covered by that volume/region. Added a function to plot this in the PrecipTable.ipynb, added a new sheet to the output excel file of the PrecipTable.ipynb that contains NOAA_Atalas_Metadata information.
Fixes #17

Looks great, thank you! I updated the header of PrecipTable.ipynb to reflect the changes in the inputs/outputs of the notebook. I also condensed the intersect_temporal_areas function by combining two if/else statements into an if/elif statement.


Left navigation experience

On the 'Doc' page, is there a way we do not reset the navigation each time someone clicks on the navigation. When you click on 'Tags' that is below the fold, it should stay on the 'Tags' link without resetting back to the top each time.

Currently, there is no way to fix this issue in Jekyll


fix(Variable): Add params to the numPicker fn

Add params to the numPicker fn
Fixes the selectPn is undefined bug #182 .
Contributing to Twilio

All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.

[x ] I acknowledge that all my contributions will be made under the project's license.

@hatealgebra I will give this a look in a few days, but can you add in a changeset? I think it might be a patch along the lines of "Improve resilience of the phone number picker component" or something

Hi @ayyrickay,
yup, I will look into it tomorrow.

Hi @ayyrickay,
first time that I'm working with changeset. Hopefully I did it right. I've chosen patch, so it should be bumped by patch version up. Btw. Sorry, but I've been busy yesterday, so I'm looking into it today.


Rip out the Docker stuff and change this to a Composite workflow

[x] Remove current implementation
[x] Hack together a composite workflow
[ ] Make it configurable, maybe?

This is pretty sweet. Only took a few attempts to get this working:

Basically what I want from an Action is:

Run Standard with whatever the latest ruby is
Run it from Bundler so it's on the same version as the user (obviously a problem if the gemfile is on a very old standard)
After running with --fix, commit any autofixes (skipping new files like vendor/bundle)(
After commit, then fail if standard itself still failed despite --fix

This requires permission change for users with contents: write:
    permissions:
      checks: write
      contents: write

Since this is currently in an apparently-not-working-at-all state, I'm not sure what of value would be lost if I just merge it and call this v1. Merging


Fix warnings from flake8-comprehensions

flake8-comprehensions is a lovely plugin to warn about inefficient creation of and operations on collections - and each of the warnings suggests a simple rewrite rule to resolve them.  I'm not sure if this is really in scope for autoflake, but thought it worth suggesting an optional flag to do so 😄

Thanks for pointing out flake8-comprehensions! As you hint at in the linked issue, I think this might better align with a tool with broader scope pyflakes, which autoflake focuses on.


feat(createGlobalState)!: Align API with React.useState

Description
Adds support for functional updates to align with the React.useState
API. Type definitions are updated to be compatible with useState.
This might break existing code that expects functions to be held in the global
state, rather than applied as an update.
This change may also cause new type errors.
Type of change

[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as before)

Checklist

[x] Read the Contributing Guide
[x] Perform a code self-review
[x] Comment the code, particularly in hard-to-understand areas
[x] Add documentation
[x] Add hook's story at Storybook
[x] Cover changes with tests
[x] Ensure the test suite passes (yarn test)
[x] Provide 100% tests coverage
[x] Make sure code lints (yarn lint). Fix it with yarn lint:fix in case of failure.
[x] Make sure types are fine (yarn lint:types).

There is a function and types in utils for native-like state management

There is a function and types in utils for native-like state management

I'll update the PR tomorrow to use those types.

@xobotyi Updated.

@xobotyi Is anything else needed in this PR, or in #1021 or #979 ?

I've updated this PR to address comments, and to account for a comment made here, superseding #1060
@xobotyi @streamich
Is there anything more I can do to help get this or #1025 merged?

Watched it briefly, looks good for me.
@streamich merge is up to you.

FYI, my local branch has a couple of type improvements that I plan to commit tomorrow.

@nspaeth @xobotyi Is this pull request still planned to be merged ?

I never got around to pushing some type fixes. I'll try to get to that
tonight.
On Tue, Dec 8, 2020, 12:41 Thomas Aribart<EMAIL_ADDRESS>wrote:

@nspaeth https://github.com/nspaeth @xobotyi
https://github.com/xobotyi Is this pull request still planned to be
merged ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/streamich/react-use/pull/1021#issuecomment-740830466,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAL5NEMUD3WJ2T5JPARVGNDSTZXL3ANCNFSM4LAZ3NZA
.

Any update on this?


⚠ Bofrost.be has degraded performance

In f8ee26c, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 994 ms

Resolved: Bofrost.be performance has improved in 64894b7.


Default to AWS_DEFAULT_PROFILE for IAM assume-role

what
Default to AWS_DEFAULT_PROFILE for IAM assume-role
why
If AWS_IAM_ROLE_INTERACTIVE is not set, we default to previous behaviour
of using AWS_DEFAULT_PROFILE and not prompting via selector. Rather
than removing our (CloudPosse) use of AWS_DEFAULT_PROFILE from the stage
Dockerfiles, check for the presence of AWS_IAM_ROLE_INTERACTIVE var. AWS_DEFAULT_PROFILE is used in other places, so we don’t want to remove it.
assume-role therefore has the following precedence:
assume-role $role - assumes $role
assume-role           - with AWS_IAM_ROLE_INTERACTIVE set will prompt with a  role selector
assume-role           - assumes $AWS_DEFAULT_PROFILE

Thanks @joshmyers !!


Icons Generated are Heavily padded IMO , they look tiny compared to other app icons in my Launcher

There should be an option for Icon to cover the whole PNG.

Made a fork of the project with reduced padding--keeping just enough padding so that the shadow doesn't get cropped at all: https://venryx.github.io/AndroidAssetStudio/icons-launcher.html
The exact reduction in padding is 1/24 of the icon size, for each resolution--so e.g. 2px less padding on each side, for the 48x84 icon. (I did it for all the icon sizes except for the web 512x512, because I didn't notice it at first, so I thought the mipmap-xxxhdpi (192x192) resolution was the highest, and used that as the base for the modified mask image files)

Not sure I agree on the close reason. Even if stated so, it's still a fact that the generated rectangular icon is the tiniest one on my phone, which makes the app look ridiculous. This includes Google's own icons, which are bigger than mine:


no way to upgrade base packages in container

Hi,
As there is no way to run anything as root in the containers provided for Linux, its impossible to do apt-get -y update and apt-get -y upgrade as a "Docker run" command. This is actually many times ignored but really important, as else the Container base is not using the latest Ubuntu Packages containing bugfixes and security updates of the base system! Thats for the reason as containers don't use netinstall and take the latest packages from Ubuntu's mirrors.

I had a similar problem.
When I run apt-get update with mssql-docker image, there is an error below.
E: The repository 'https://packages.microsoft.com/ubuntu/20.04/prod focal Release' does not have a Release file.
You shoud add packages.microsoft.com
https://docs.microsoft.com/en-us/windows-server/administration/linux-package-repository-for-microsoft-software#examples

Well i want to upgrade all the distro packages not the microsoft ones, else how do i get for example an up2date library inside the container without doing apt upgrade before launching my app in the container?

Create your own Dockerfile, inherit the MS file... set the user to root, do your updates, then set the user back to sql/mssql (whatever the ms default user is).


Update Package.toml

XPA has been tranfered to JuliaAstro.

Can you please confirm that you can add XPA in a new environment with this branch?

Can you please confirm that you can add XPA in a new environment with this branch?

Bump @emmt

Sorry but I do not see wht I am supposed to do.  Nothing in the code has changed but transfering XPA to JuliaAstro and I do not understand the above failure...


chip-device-ctrl > set-pairing-wifi-credential   --> Error - 'bytes' object has no attribute 'encode'

Problem
This seems new to me.  Haven't had this problem before.  Not sure if anything changed or anyone else is seeing this.
chip-device-ctrl > set-pairing-wifi-credential My-SSID 12345678
'bytes' object has no attribute 'encode'

chip-device-ctrl > set-pairing-wifi-credential My-SSID '12345678'
'bytes' object has no attribute 'encode'

chip-device-ctrl > set-pairing-wifi-credential My-SSID "12345678"
'bytes' object has no attribute 'encode'

chip-device-ctrl > set-pairing-wifi-credential "My-SSID" "qwe12345678"
'bytes' object has no attribute 'encode'

Proposed Solution
<suggested fix, suggested enhancement>

Seems like a string is being mis-typed as a byte[] or vise versus.

I see this problem too with chip-device-ctrl, I'm using commit 44dd01b9fa49b2a31a7d8ba52084cef7d9e73e17 from May 9, OSX 12.3.1

Same here on [TE9] tag.

I fix it in https://github.com/project-chip/connectedhomeip/pull/19792 You can try it to see if it solves your problem


Create UWP library for the sdk

Create a Project to compile a UWP version of the sdk so it does not have to rely on Portable project so we can implement UWP specific features like setting up a core over usb.

Also should have the tests updated to UWP tests

Canceling this task as it now will become several Tasks.


Add DuckDuckGo support to Safe Search

@terlan2 commented on Mon Jun 10 2019
Parental contro (Safe search) doesnt work on duckduckgo.com search engine. Please take a look at this.

core/pull-requests/1460
Note: duckduckgo interface may show safe search status "off" but search results remain filtered.


use pathlib path in sitemap plugin for sphinx compatibility

fixes this sphinx warning:
/home/jonas/workspace/ros2_documentation/plugins/sphinx_sitemap_ros.py:228: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead.
  filename = app.outdir + "/" + app.config.sitemap_filename

it seems to work with sphinx 6 at least, but i added a conditional on sphinx >=7, so even older versions will not be broken by this :+1:


Fixed GIF image and Toggle Button Bug

Related Issue

Info about Issue or bug

Closes: #1014
#1012
Describe the changes you've made
I have fixed the GIF loading error in Projects.html on the Text to Voice Generator project as mentioned in #1012  and Fixed the Toggle button Bug as mentioned in issue #1014
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
A clear and concise description of it.
NA
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] New and existing unit tests pass locally with my changes.

Screenshots
Put any screenshot(s) of the project here.
Before(GIF  BUG)-

After(GIF BUG RESOLVED)-

Before(TOGGLE BUTTON BUG):-

After(TOGGLE BUTTON FIXED):-

I have fixed both the issues please merge my PR

@Rohan27s Good Work Please you fix flappy bird too.

ok @991rajat

@991rajat Fixed the Flappy Bird too

Can you also please level up my issue because I have solved 3 issues in one PR

Can any admin look over my PR?

Thank you for the contribution. 🤩

thank you <3


ARROW-6501: [C++] Remove non_zero_length_ field from SparseIndex class

This field is essentially needless, and may be obstacle to the future improvement of sparse tensors, such as adding value inserting feature.

@pitrou @rok Could you have a look at this?


Update file paths in readme

Correct file paths in readme

Codecov Report

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

@@           Coverage Diff           @@
##           master     #384   +/-   ##
=======================================
  Coverage   38.64%   38.64%
=======================================
  Files          29       29
  Lines        2280     2280
=======================================
  Hits          881      881
  Misses       1281     1281
  Partials      118      118

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 2aa8c25...bad1ae8. Read the comment docs.

@swestcott Good catch 👍 Thanks for the contiribution!


bug: Ammo Tracker Not Switching Ammo Properly Anymore

When moving to dnd5e 3.0.x, the data model changed for ammo consumable type, requiring a change in the logic for the ammo switcher.
Update the switcher to use the new properties setup for ammo consumable type values.
Reference
Tidy5e is not properly linking ammo:

which breaks dnd5e scriptlets

Closing as completed.


fit to f(x)=x^-1

hello,
this work is great, but I'm running into a little problem.
when the function I want to fit is f(x,y)=x^-1+y^2 , I found that y^2 is easy to fit but x^-1 not,
the model is set by following code:
from kan import *
model = KAN(width=[2,1], grid=5, k=3, seed=0)
f = lambda x: x[:,[0]]**(-1) + x[:,[1]]**2
dataset = create_dataset(f, n_var=2, ranges=[0.1, 10])
model.train(dataset, opt="LBFGS", steps=20, lamb=0.01, lamb_entropy=10.)
model.plot()

the reasult is below:

I want to know if I did something wrong

Hi, it might help to try grid=20, lamb=0.00. It that still doesn't work, try make the dataset simpler first for debugging, e.g., try ranges=[0.5,2].

I can confirm this works under the suggestions. Even if not reaching machine precision (probably due to the missing [0, 0.1] interval), the suggested final formula is specific enough to desume it yourself.
Here's the gist: https://gist.github.com/AlessandroFlati/34130182001a35b43d896d9195b79745


If job creation fails during analysis creation, the analysis persists

We currently add the analysis to it's container in the db, create the job doc in the db, and then attach them. This method leaves an unusable analysis when the job creation fails. There are several ways to fix this:

clean up the analysis if the job creation fails. This would create a situation where a GET on the analysis's container might return this container during the short interval between anaysis creation and job attempted creation, but is a rare and minimally problematic race condition. (Also, this is possible now).
Generate an id for the analysis, add the job (which needs the analysis id for its destination key), and then add the analysis. If the analysis addition fails, we'll be in a similar but opposite situation - except failure is more problematic (engine picks up job before it is remove, etc).
Some kind of overengineered batch update to ensure there is minimal chance for race condition.

If anyone has another idea, feel free to suggest. It's a pretty classic circular reference problem.

I'm not super worried by a race condition because we accept those as part of our choice of database. I'm a fan of your first approach - attempt to clean up dependent documents if sibling creation fails.
We could also add a new queue state hold which will not be consumed, are fully mutable, can be deleted (!), and can only transition to pending or cancelled. That would be a clean approach to your second option: the job sits forever until & unless it is complete and ready to be consumed.
Also: heh, I just realized I misspelled that state when I wrote the job queue. Nice :sunglasses: :+1:

I like the addition of the hold state - I think there are other applications for it than just this one, too.
I think to resolve this current issue I'll do step #1 and reference this ticket (but not close it) and we can revisit if there is a larger jobs enhancement is the works (or when we break analyses into their own mongo connection).

SGTM.


Add a header comment to generated files.

Add a header comment to all generated files that explains that the code was generated by this package and lists the Avro schema source files that this was built from.
The idea behind this is that it is helpful for code reviews and such to be able to distinguish generated code from hand-written code.

I like the idea of adding a comment to each generated file. I've been working on making the generator package as generic as possible, so it could be re-used for other code generators. In that vein, I'd rather have a method on generator.Package like AddFileComment(file string, commentText string), which would insert a new multi-line comment at the top of the file. Then we'd have more flexibility in what goes into the comment body.

Ok, followed your suggested pattern by implementing a generic AddHeader method that adds headers to files and added the actual logic of adding the codegen comment text to main. Let me know if that works.

Test failed, so I'll get that fixed.  I wish go had a better way of dealing with forked repos.

Fixed the tests (my code was bad, oops) so should be all good now.

Thanks for the quick change, I'll merge this once CI passes!


The browser is not accepting my code blue.

Challenge Use CSS Selectors to Style Elements has an issue.
User Agent is: Mozilla/5.0 (Windows NT 5.1; rv:44.0) Gecko/20100101 Firefox/44.0.
Please describe how to reproduce this issue, and include links to screenshots if possible.
  The exercise says to change h2 to red and it is not working.

I am sorry.  I just looked at the exercise again.  It says to change h2 to blue and it is not accepting blue.
The code is:

and this is not working.

U can try this

 this is an example

Your code doesn't have an h2 element for your style to apply to. You can reset the seed code to get this element back. In the future please visit the Help Chat to confirm what you're seeing is actually a site bug. Thanks and happy coding!


macos-latest builds failing

With the following linker error:
  = note: ld: in /Users/runner/.rustup/toolchains/1.46.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-3704639a9502890d.rlib(lib.rmeta), archive member 'lib.rmeta' with length 4900080 is not mach-o or llvm bitcode file '/Users/runner/.rustup/toolchains/1.46.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-3704639a9502890d.rlib'
          clang: error: linker command failed with exit code 1 (use -v to see invocation)

Probably related to M1: https://github.com/fltk-rs/fltk-rs/issues/956
No idea what a meaningful fix would be.

Appears to be an issue that needs to be solved at the compiler level: https://github.com/rust-lang/rust/issues/103044
The issue was closed only recently which means the fix will only be available in newer rust versions. Will need to adjust CI to reflect that.

Appears to be an issue that needs to be solved at the compiler level: rust-lang/rust#103044
The issue was closed only recently which means the fix will only be available in newer rust versions. Will need to adjust CI to reflect that.

Actually, it's a bit simpler than that - rust < 1.54 does not work on macos >= 12: https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp/topic/.E2.9C.94.20How.20can.20I.20fix.20Rust.201.2E53.2E0.20or.20earlier.20to.20run.20on.20macOS.2012.2E6.3F/near/299263887
As a result the PR adjusts the CI workflow to test MSRV on macos-11 only.


kevm foundry-prove: not running the constructor leads to unexpected behavior

Hey, have a look at this simple example:
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.15;
import "forge-std/Test.sol";
contract ConstructorTest is Test {
    uint256 public foo = 42;
    function test_foo_is_zero() external {
        assertEq(foo, 0);
    }
}

kevm foundry-prove --test ConstructorTest.test_foo_is_zero
...
PROOF PASSED: ConstructorTest.test_foo_is_zero

The proof is expected to fail because foo is initialized to 42.
However, as you can see, the proof passes.
This is because we don't run the initialization code but take the verbatim deployed bytecode produced by solc. Notice that the contract doesn't even define an explicit constructor.
I noticed that we can now start a proof from the end of another function: https://github.com/runtimeverification/evm-semantics/pull/1660
Do you think we can use this feature to run the initialization code? @nwatson22

Will be closed by https://github.com/runtimeverification/evm-semantics/pull/2020.

@palinatolmach Can you move this issue to Kontrol and then link it to Kontrol PR #54, so that we can track this issue with that PR?


Changing Drag Item Type Breaks Drag Preview

Describe the bug
Using the DragSource legacy decorator API, after the item spec type key is changed, differs from its initial value, the drag preview is left with only the drag source.
Reproduction
Live Reproduction
I'm using the "Handle" text as the drag handle, and the drag preview should include both the "Handle" text and the message below it.
Steps to reproduce the behavior:

Verify that the preview is working fine initially by dragging the items by the "Handle" text.
Click on the "Change Message" button to change the message. Verify that the preview is still working fine.
Click on the "Change Type" button to change the type. Note that now the preview is left with the "Handle" text.

Expected behavior
The preview should still work as before the drag item type is changed, which includes the "Handle" text and the message below it.
Desktop (please complete the following information):

OS: MacOS
Browser: Chrome
Version: 84.0.4147.135 (Official Build) (64-bit)

Have you found a workaround for this? I'm having the same issue

In case this helps anyone. I'm using the hooks api and i was able to work around my problem by calling the useDrag() hook once for every item type I needed to support (instead of calling useDrag one type and dynamically setting the item type option).
Then I dynamically assigned the correct ref in my render function


Refine Feature Flags and Segments List Sorting

This PR fixes the incorrect sorting of the Segments list after refreshing the page. It also updates the Feature Flags sorting to work just like the Segments and Experiments list tables, ensuring that the previous sorting state remains after a page refresh by storing the sorting states in local storage.
The Feature Flags sorting works fine in general, except that it always defaults to sorting by "Name" in ascending order upon page refresh, even though I can confirm that the previous value is stored in local storage. I would appreciate any ideas on how to fix this. We can also merge this one for now and address that issue later, as it's still an improvement over the current.

@ppratikcr7 Just for your info, I realized that featureFlagSortAs and featureFlagSortKey are no longer being stored/used in the code. I think they were stored previously while working on this PR.

I can confirm that the values are correctly stored to and read from the local storage (You can search FeatureFlagLocalStorageKeys.FEATURE_FLAG_SORT_TYPE in the code base and add logging).
I think setting the default sortKey and sortAs in the feature-flags.reducer.ts might be overriding the values retrieved from the local storage when the page is refreshed.
export const initialState: FeatureFlagState = adapter.getInitialState({
  isLoadingUpsertFeatureFlag: false,
  isLoadingImportFeatureFlag: false,
  isLoadingFeatureFlags: false,
  isLoadingUpdateFeatureFlagStatus: false,
  isLoadingFeatureFlagDetail: false,
  isLoadingFeatureFlagDelete: false,
  isLoadingSelectedFeatureFlag: false,
  isLoadingUpsertPrivateSegmentList: false,
  hasInitialFeatureFlagsDataLoaded: false,
  duplicateKeyFound: false,
  activeDetailsTabIndex: 0,
  skipFlags: 0,
  totalFlags: null,
  searchKey: FLAG_SEARCH_KEY.ALL,
  searchValue: null,
  sortKey: FLAG_SORT_KEY.NAME,
  sortAs: SORT_AS_DIRECTION.ASCENDING,
});

But this is how it's also implemented in the segments.reducer.ts (which works fine) so I'm not sure about this.
Anyway, I'm not sure how to make the Feature Flags root table to keep the previous sorting state even after refresh just like other pages. I think it's OK to merge this for now unless anyone has ideas or suggestions to fix this minor issue.

@VivekFitkariwala @ppratikcr7 @Yagnik56 Please feel free to merge this PR.

@VivekFitkariwala @ppratikcr7 @Yagnik56 Please feel free to approve this PR.

@zackcl Yeah, it looks good. I also tried to check but you are correct, the code is similar for segments and experiment, couldn't find why on refresh its always ASC order. Maybe we can create a separate ticket for that and tackle that later.


build failed in Windows10

Bug description / Feature request:
Acutually I am not sure this is actually an issue in this project, I got the error as following and build failed in local in Windows:
32:1error      Expected linebreaks to be 'LF' but found 'CRLF'  errorlinebreak-style  Expected linebreaks to be 'LF' but found 'CRLF'
It's from eslint line break style, refer the https://github.com/este/este/issues/1132 to get more details, and need to add a rule to handle line breaks in .eslintrc to work well with windows.
{
"extends": "mwl",
"rules": {
"linebreak-style": 0,
"angular/controller-name": [2, "/[A-Z].*Ctrl/"],
"angular/deferred": 2,
"angular/directive-name": [2, "mwl"],
"angular/empty-controller": 2,
"angular/di-unused": 2
},
"env": {
"node": true
},
"plugins": [
"angular"
],
"globals": {
"EXCLUDE_TEMPLATES": true
}
}
Anyway, please ignore and close it if you don't think is an issue like i said at the beginning, thanks.

That's deliberate to enforce a universal code style, otherwise if someone sent a pull request that changed all the line endings to windows style along with a fix / feature it would mess up the git diffs. Most editors support changing the line endings in the project settings to linux style.


an sdf rm command?

I'm playing around with scidataflow and I'm excited to see it in action! I added some files that I realize I don't necessarily want to be part of the data_manifest at the moment, but I noticed there wasn't a way to remove them programmatically. I'm guessing that I could just manually remove them from the YAML file in vim, but it might be nice to have a command to take care of that automatically. Especially something like sdf rm *.bam would be nice to remove all matching files in a folder, which currently works with sdf add.
Thanks!

Hi Andrew,
Thanks so much for the suggestion! I will work to add this feature this week. My feeling is that sdf rm should only remove it from the manifest, and not the file. Perhaps sdf rm --also-delete might also delete the file. What do you think?


sample of use for idiots

Please, can you put a sample of use for idiots?
Thanks

Please take a look at https://github.com/viciousviper/DokanCloudFS#usage.
The CloudFS library by itself is definitely not meant for idiots 😉


Property 'id' does not exist on type 'FormGroup'.

hi @mraible, I am trying to push the generated jhipster to ionic to android, but it it throwing an error:
Error:
Compiling @ionic-native/status-bar : module as esm5
Compiling @ionic/angular : es2015 as esm2015
Compiling ngx-webstorage : es2015 as esm2015
Compiling @ngx-translate/http-loader : es2015 as esm2015
- Generating browser application bundles...
✔ Browser application bundle generation complete.
Error: src/app/pages/entities/blog/blog-update.html:20:33 - error TS2339: Property 'id' does not exist on type 'FormGroup'.
20       <ion-item [hidden]="!form.id">
                                   ~~
  src/app/pages/entities/blog/blog-update.ts:14:16
    14   templateUrl: 'blog-update.html',
                      ~~~~~~~~~~~~~~~~~~
    Error occurs in the template of component BlogUpdatePage.
Error: src/app/pages/entities/post/post-update.html:20:33 - error TS2339: Property 'id' does not exist on type 'FormGroup'.
20       <ion-item [hidden]="!form.id">
                                   ~~
  src/app/pages/entities/post/post-update.ts:14:16
    14   templateUrl: 'post-update.html',
                      ~~~~~~~~~~~~~~~~~~
    Error occurs in the template of component PostUpdatePage.
Error: src/app/pages/entities/tag/tag-update.html:20:33 - error TS2339: Property 'id' does not exist on type 'FormGroup'.
20       <ion-item [hidden]="!form.id">
                                   ~~
  src/app/pages/entities/tag/tag-update.ts:13:16
    13   templateUrl: 'tag-update.html',
                      ~~~~~~~~~~~~~~~~~
    Error occurs in the template of component TagUpdatePage.
[ERROR] An error occurred while running subprocess ng.

        ng run app:build:production exited with exit code 1.

        Re-running this command with the --verbose flag may provide more information.
ERROR: Job failed: exit code 1

JDL:
application {
  config {
    baseName blog
    packageName com.lala.blog
    jhiPrefix myapp
    serverPort 8080
    applicationType monolith // monolith, microservice, gateway, uaa
    authenticationType jwt // jwt, session, uaa, oauth2
    clientFramework angularX // react, angularX
    clientPackageManager npm // npm, yarn
    databaseType sql // sql, mongodb, cassandra, couchbase, no
    devDatabaseType h2Memory // h2Disk, h2Memory
    prodDatabaseType postgresql // mysql, mariadb, mssql, postgresql, oracle, no
    buildTool maven // maven, gradle
    cacheProvider hazelcast // caffeine, ehcache, hazelcast, infinispan, memcached, redis, no
    enableSwaggerCodegen true
    websocket false	// spring-websocket, false
    clientTheme	none
    clientThemeVariant dark
  }
  entities *
}
entity Blog {
  name String required minlength(3)
  handle String required minlength(2)
}
entity Post {
  title String required
  content String required
  feelings String
  date Instant required
}
entity Tag {
  name String required minlength(2)
}
relationship ManyToOne {
  Blog{user(login)} to User
  Post{blog(name)} to Blog
}
relationship ManyToMany {
  Post{tag(name)} to Tag{entry}
}
paginate Post, Tag with infinite-scroll

and I am doing this:
mkdir backend;
cd backend;
jhipster jdl $ENTITY_CONF --no-insight --skip-install;
cd ..;
yo jhipster-ionic default --force --no-insight
cd ionic4j;
yo jhipster-ionic:import-jdl ../$ENTITY_CONF --skip-checks --no-insight;
npm install;
ionic build --prod;

to fix it I am currently doing this:
- sed -i -e "s/\!form.id/true/g" src/app/pages/entities/blog/blog-update.html;
- sed -i -e "s/\!form.id/true/g" src/app/pages/entities/post/post-update.html;
- sed -i -e "s/\!form.id/true/g" src/app/pages/entities/tag/tag-update.html;

thxs for your effort

Thanks for letting me know. I'll look into this next week. Let me know if you figure out a solution.

On Mar 20, 2021, at 17:29, Peter @.***> wrote:

hi @mraible, I am trying to push the generated jhipster to ionic to andriod, but it it throwing an error:
Error:
Compiling @ionic-native/status-bar : module as esm5
Compiling @ionic/angular : es2015 as esm2015
Compiling ngx-webstorage : es2015 as esm2015
Compiling @ngx-translate/http-loader : es2015 as esm2015

Generating browser application bundles...
✔ Browser application bundle generation complete.
Error: src/app/pages/entities/blog/blog-update.html:20:33 - error TS2339: Property 'id' does not exist on type 'FormGroup'.
20       <ion-item [hidden]="!form.id">
~~
src/app/pages/entities/blog/blog-update.ts:14:16
14   templateUrl: 'blog-update.html',
~~~~~~~~~~~~~~~~~~
Error occurs in the template of component BlogUpdatePage.
Error: src/app/pages/entities/post/post-update.html:20:33 - error TS2339: Property 'id' does not exist on type 'FormGroup'.
20       <ion-item [hidden]="!form.id">
~~
src/app/pages/entities/post/post-update.ts:14:16
14   templateUrl: 'post-update.html',
~~~~~~~~~~~~~~~~~~
Error occurs in the template of component PostUpdatePage.
Error: src/app/pages/entities/tag/tag-update.html:20:33 - error TS2339: Property 'id' does not exist on type 'FormGroup'.
20       <ion-item [hidden]="!form.id">
~~
src/app/pages/entities/tag/tag-update.ts:13:16
13   templateUrl: 'tag-update.html',
~~~~~~~~~~~~~~~~~
Error occurs in the template of component TagUpdatePage.
[ERROR] An error occurred while running subprocess ng.
  ng run app:build:production exited with exit code 1.

  Re-running this command with the --verbose flag may provide more information.

ERROR: Job failed: exit code 1
JDL:
application {
config {
baseName blog
packageName com.serge.blog
jhiPrefix myapp
serverPort 8080
applicationType monolith // monolith, microservice, gateway, uaa
authenticationType jwt // jwt, session, uaa, oauth2
clientFramework angularX // react, angularX
clientPackageManager npm // npm, yarn
databaseType sql // sql, mongodb, cassandra, couchbase, no
devDatabaseType h2Memory // h2Disk, h2Memory
prodDatabaseType postgresql // mysql, mariadb, mssql, postgresql, oracle, no
buildTool maven // maven, gradle
cacheProvider hazelcast // caffeine, ehcache, hazelcast, infinispan, memcached, redis, no
enableSwaggerCodegen true
websocket false	// spring-websocket, false
clientTheme	none
clientThemeVariant dark
}
entities *
}
entity Blog {
name String required minlength(3)
handle String required minlength(2)
}
entity Post {
title String required
content String required
feelings String
date Instant required
}
entity Tag {
name String required minlength(2)
}
relationship ManyToOne {
Blog{user(login)} to User
Post{blog(name)} to Blog
}
relationship ManyToMany {
Post{tag(name)} to Tag{entry}
}
paginate Post, Tag with infinite-scroll
and I am doing this:
mkdir backend;
cd backend;
jhipster jdl $ENTITY_CONF --no-insight --skip-install;
cd ..;
yo jhipster-ionic default --force --no-insight
cd ionic4j;
yo jhipster-ionic:import-jdl ../$ENTITY_CONF --skip-checks --no-insight;
npm install;
ionic build --prod;
to fix it I am currently doing this:

sed -i -e "s/!form.id/true/g" src/app/pages/entities/blog/blog-update.html;
sed -i -e "s/!form.id/true/g" src/app/pages/entities/post/post-update.html;
sed -i -e "s/!form.id/true/g" src/app/pages/entities/tag/tag-update.html;
thxs for your effort

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Are you using the latest release? v6.1.1

Closing due to lack of response. Please reopen if you're still having issues.

sry, was busy, yes:
npm list generator-jhipster
<EMAIL_ADDRESS>/builds/serge/apps/jhipster-generator/ionic4j
+--<EMAIL_ADDRESS>`--<EMAIL_ADDRESS>  `--<EMAIL_ADDRESS>deduped
$ npm list generator-jhipster-ionic
<EMAIL_ADDRESS>/builds/serge/apps/jhipster-generator/ionic4j
`--<EMAIL_ADDRESS>$ ionic build --prod
> ng run app:build:production
Compiling @angular/core : es2015 as esm2015
Compiling @ionic-native/core : module as esm5
Compiling @ngx-translate/core : es2015 as esm2015
Compiling @angular/common : es2015 as esm2015
Compiling @ionic-native/splash-screen : module as esm5
Compiling @angular/platform-browser : es2015 as esm2015
Compiling @angular/forms : es2015 as esm2015
Compiling @angular/router : es2015 as esm2015
Compiling @angular/common/http : es2015 as esm2015
Compiling @angular/platform-browser-dynamic : es2015 as esm2015
Compiling @ionic-native/status-bar : module as esm5
Compiling @ionic/angular : es2015 as esm2015
Compiling ngx-webstorage : es2015 as esm2015
Compiling @ngx-translate/http-loader : es2015 as esm2015
- Generating browser application bundles...
✔ Browser application bundle generation complete.
Error: src/app/pages/entities/blog/blog-update.html:20:33 - error TS2339: Property 'id' does not exist on type 'FormGroup'.
20       <ion-item [hidden]="!form.id">
                                   ~~
  src/app/pages/entities/blog/blog-update.ts:14:16
    14   templateUrl: 'blog-update.html',
                      ~~~~~~~~~~~~~~~~~~
    Error occurs in the template of component BlogUpdatePage.
Error: src/app/pages/entities/post/post-update.html:20:33 - error TS2339: Property 'id' does not exist on type 'FormGroup'.
20       <ion-item [hidden]="!form.id">
                                   ~~
  src/app/pages/entities/post/post-update.ts:15:16
    15   templateUrl: 'post-update.html',
                      ~~~~~~~~~~~~~~~~~~
    Error occurs in the template of component PostUpdatePage.
Error: src/app/pages/entities/tag/tag-update.html:20:33 - error TS2339: Property 'id' does not exist on type 'FormGroup'.
20       <ion-item [hidden]="!form.id">
                                   ~~
  src/app/pages/entities/tag/tag-update.ts:13:16
    13   templateUrl: 'tag-update.html',
                      ~~~~~~~~~~~~~~~~~
    Error occurs in the template of component TagUpdatePage.
[ERROR] An error occurred while running subprocess ng.

        ng run app:build:production exited with exit code 1.

Hmmm, I can't even get past yo jhipster-ionic default after upgrading Yeoman.
Your Ionic app is ready! Follow these next steps:

- Go to your new project: cd ./ionic4j
- Run ionic serve within the app directory to see your app in the browser
- Run ionic capacitor add to add a native iOS or Android project using Capacitor
- Generate your app icon and splash screens using cordova-res --skip-config --copy
- Explore the Ionic docs for components, tutorials, and more: https://ion.link/docs
- Building an enterprise app? Ionic has Enterprise Support and Features: https://ion.link/enterprise-edition
    force backend/.yo-rc.json
Error jhipster-ionic default

@mshima It seems that this.conflicter.force = true doesn't work after upgrade to Yeoman 3 or 4. Is there a new way to do it?

@mraible conflicter is an environment feature at yo@4.

this..env.conflicter.force = true

Or load conflicter into generator at constructor

this.conflicter = this.conflicter || this.env.conflicter;

that's why I am using version pinnig through docker build images in gitlab.
this node version compatabiltiy thing was very traumatic :)
here are my versions, I am not sure why I used force, it seems to work without it:
$ npm list -g generator-jhipster
/usr/local/lib
`--<EMAIL_ADDRESS>  `--<EMAIL_ADDRESS>$ npm list -g generator-jhipster-ionic
/usr/local/lib
`--<EMAIL_ADDRESS>$ npm list -g yo
/usr/local/lib
`--<EMAIL_ADDRESS>$ npm list -g @ionic/cli
/usr/local/lib
`--<EMAIL_ADDRESS>$ npm list -g @angular/cli
/usr/local/lib
`--<EMAIL_ADDRESS>$ mkdir backend
$ cd backend
$ jhipster jdl ../$APP_CONF --no-insight --skip-install
INFO! Using JHipster version installed globally
INFO! Executing import-jdl ../config/app-config.jh
INFO! The JDL is being parsed.
warn: An Entity name 'User' was used: 'User' is an entity created by default by JHipster. All relationships toward it will be kept but any attributes and relationships from it will be disregarded.
INFO! Found entities: Blog, Post, Tag.
INFO! The JDL has been successfully parsed
INFO! Generating 1 application.
[...]
INFO! Congratulations, JHipster execution is complete!
$ cd ..
$ yo jhipster-ionic default --no-insight
Welcome to the Ionic Module for JHipster! v6.1.1
Creating Ionic app with command: ionic start ionic4j oktadeveloper/jhipster --type angular --no-interactive
--no-confirm: Integrate your new app with Capacitor to target native iOS and Android? No
Installing dependencies may take several minutes.
[...]
App successfully committed to Git.
Ionic for JHipster App created successfully! 🎉
Run the following commands (in separate terminal windows) to see everything working:
    cd /builds/serge/apps/jhipster-generator/backend && ./mvnw
    cd ionic4j && ionic serve
$ cd ionic4j
$ yo jhipster-ionic:import-jdl ../$APP_CONF --skip-checks --no-insight
INFO! The JDL is being parsed...
[...]
Entity generation complete!

I tried upgrading to Yeoman 4 and now I get a different error when I try to run import-jdl:
$ yo jhipster-ionic:import-jdl ../app.jdl
INFO! The JDL is being parsed...
warn: An Entity name 'User' was used: 'User' is an entity created by default by JHipster. All relationships toward it will be kept but any attributes and relationships from it will be disregarded.
INFO! Found entities: Blog, Post, Tag.
INFO! The JDL has been successfully parsed.
INFO! Generating 3 entities.
Error while generating entities from the parsed JDL
TypeError: Cannot use 'in' operator to search for 'help' in Blog
TypeError: Cannot use 'in' operator to search for 'help' in Blog
    at /Users/mraible/Downloads/ionic4j/node_modules/yeoman-generator/lib/index.js:714:23
    at /Users/mraible/Downloads/ionic4j/node_modules/lodash/lodash.js:4967:15
    at baseForOwn (/Users/mraible/Downloads/ionic4j/node_modules/lodash/lodash.js:3032:24)
    at /Users/mraible/Downloads/ionic4j/node_modules/lodash/lodash.js:4936:18
    at Function.forEach (/Users/mraible/Downloads/ionic4j/node_modules/lodash/lodash.js:9410:14)
    at EntityGenerator.parseOptions (/Users/mraible/Downloads/ionic4j/node_modules/yeoman-generator/lib/index.js:698:7)
    at EntityGenerator.option (/Users/mraible/Downloads/ionic4j/node_modules/yeoman-generator/lib/index.js:638:10)
    at new Generator (/Users/mraible/Downloads/ionic4j/node_modules/yeoman-generator/lib/index.js:158:10)
    at new module.exports (/Users/mraible/Downloads/ionic4j/node_modules/generator-jhipster/generators/generator-base-private.js:51:9)
    at new module.exports (/Users/mraible/Downloads/ionic4j/node_modules/generator-jhipster/generators/generator-base.js:53:18)

I'm not sure how to solve this. It seems to happen with both JHipster 6 and JHipster 7 as the backend.

Closing since this seems to be fixed. FWIW, the latest version of this module supports JHipster 7.


Support configure vc bonus

For backward compatibility, if no maxCapacity provided, bonus token will be disabled
TODO:
webportal:

expose vcMaxCapacity box when add or edit VC.
show maxCapacity info in VC page.

Coverage decreased (-0.2%) to 52.629% when pulling eaa49ab6db875a7b6255e351be2bd6d3b6190254 on zimiao/expose_vc_bonus into 055c78e6e6ee0897f9377abb1929380de1864ac3 on master.


sensor: add MAX17262 fuel gauge driver and sample application

The MAX17262 is an ultra-low power fuel-gauge IC which implements the Maxim
ModelGauge m5 algorithm. The IC monitors a single-cell battery pack and
supports internal current sensing for up to 3.1A pulse current. The IC
provides best performance for batteries with 100mAhr to 6Ahr capacity.
Signed-off-by: Matija Tudan<EMAIL_ADDRESS>

I know build is failing for the sample application, but I am not sure how to handle this issue. Should we remove the sample application or is there any way to make the build pass?

@mtudan I have additionally gone back and resolved any comments that I think are addressed. Any unresolved comments still need to be addressed.

@mtudan was checking out this driver and noticed that it sets the dt values directly on the configuration registers, say
        max17262_reg_write(dev, DESIGN_CAP, config->design_cap);
        max17262_reg_write(dev, ICHG_TERM, config->desired_charging_current);

I think that values should be scaled by the corresponding resolution factor (as in the max17055 driver), from https://datasheets.maximintegrated.com/en/ds/MAX17262.pdf:

Should this driver be changed to implement the appropriate scaling or there's something else I missed?


react-native-linear-gradient Required module not found

I'm getting react-native-linear-gradient Required module not found from Flow in my React-Native project. Any ideas why?

I'm assuming your using import LinearGradient from 'react-native-linear-gradient';?  I believe the issue here is the LinearGradient directory has an android file index.android.js and index.ios.js and the import doesn't know which to choose from.
One way to resolve this is to create a LinearGradient directory somewhere in your project.  Create an index.js file within that directory, then add the following:
`// @flow
import { Platform } from 'react-native';
import LinearGradientAndroid from 'react-native-linear-gradient/index.ios.js';
import LinearGradientIos from 'react-native-linear-gradient/index.android.js';
const LinearGradient = Platform.OS === 'ios' ? LinearGradientIos : LinearGradientAndroid;
export default LinearGradient;
Then in your component where you want to use the gradient component,import LinearGradient from '../LinearGradient';`
That should resolve it.

Now I'm getting this.

Hmm, try manually installing the dependencies https://github.com/react-native-community/react-native-linear-gradient#add-it-to-your-project and make sure the package is installed correctly within node_modules.

I'm seeing a similar error from eslint.

Although it's working fine in the iOS simulator.

I'm getting the same issue. It seems like Flow issue, rather than one for this library to fix. Flow doesn't seem to cope well with .ios.js and .android.js extensions.
You can tell Flow to ignore this line by following<EMAIL_ADDRESS>

I have had this issue before. The problem is that Flow doesn't recognize files with the extensions .ios.js and .android.js. The solution I use is to add these lines to the .flowconfig file (you can change it according to your needs).
module.file_ext=.ios.js
module.file_ext=.android.js
module.file_ext=.js
module.file_ext=.json

The suggestion by @danielsukmana solved the issue for me. To be clear, these lines should go under the [options] section of your .flowconfig
I have no idea why ReactNative wouldn't include these lines in their default .flowconfig. It does seem that the issue is a ReactNative one, and not this package. I'd recommend closing unless @naineshg is unable to get fix the issue with the above suggestion.

Want to point out this issue also affects eslint, not just Flow. So the .flowconfig change isn't applicable.

Any idea when this will be fixed? There needs to be an index.js file for eslint to work properly.

@mcrowe Sorry for replying late. That suggestion does solved the problem. Thanks!

This breaks eslint and also mocha can't import this module.
why don't add a index.js? or change index in package.json?

@danielsukmana you missed .jsx extension. Complete list:
module.file_ext=.ios.js
module.file_ext=.android.js
module.file_ext=.js
module.file_ext=.jsx
module.file_ext=.json

Anyone here know the TypeScript way to solve this one?

These issues were solved by using module.file_ext, but are back after upgrading to the latest version of all deps. Does anyone else have the same problem?

PR #174 saves the day.

@GantMan: I created a PR for TypeScript support as well. #222


Howto properly cater for any allowed xsd:dateTime value

If you have a look at:
http://www.w3schools.com/schema/schema_dtypes_date.asp
a declaration of xsd:dateTime has no universal adapter available.
Directly taken from the examples on that page, there is no existing adapter which will pass all the following tests:
@Test
        public void test1() {
            adapter.unmarshal( "2002-05-30T09:00:00" );
        }

        @Test
        public void test2() {
            adapter.unmarshal( "2002-05-30T09:30:10.5" );
        }

        @Test
        public void test3() {
            adapter.unmarshal( "2002-05-30T09:30:10Z" );
        }

        @Test
        public void test4() {
            adapter.unmarshal( "2002-05-30T09:30:10-06:00" );
        }

How do you suggest resolving this?

Well, that is a tricky one.
At first glance, I don't see how all the possible values of xsd:dateTime can be mapped to a single specific Java 8 temporal type.
For instance

2002-05-30T09:00:00 - this is LocalDateTime
2002-05-30T09:30:10-06:00 - OffsetDateTime
2002-05-30T09:30:10Z - Instant

Which values do you expect in all of the mentioned tests?

Right - that's what I though as well.
Two ways of doing it:
In schemas: define this well in my schemas, and extend off xsd:dateTime and narrow the pattern to suit a given type. Match on these explcit types in the jaxb-bindings.
In code:
Let schemas be wide as today (e.g. xsd:dateTime), and have an "über-jaxb-adapter" which delegates to LocalDatetime/OffsetDateTime (try them in a given order, try the 2nd if the 1st throws exception), and use the supertype Temporal. (A bit more ugly code-wise).

If the xsd is used only for one-way input it is always nice to be open on the input parameter format, and having unmarshaller doing a best-effort unmarshalling.
On the other hand, if xsd is also used for output, as is often the case, it is necessary to pick one specific datetime-format when marshalling.
Defining it well in schema, extending xsd:dateTime and narrow pattern to a given type sounds ok, would keep a symmetrical and well-defined input/output-format, and a marshal/unmarshal mechanism to deal with it.
But then the general xs:dateTime will often be found in industry-standard xsd's
Coding a open unmarshaller, and a specific marshaller, can be done, but could cause some strange input/output mismatch.
Maybe the xs:dateTime being either localdatetime, offsetdatetime or zoneddatetime is not easily handled when considering also the marshalling side.

This design-choice should be more prominently documented as I ran into some issues today and I can imagine others will run into it as well. I understand that the xs:dateTime is a "loose" type that maps to a variety of Java classes. People who use this adapter should be aware that these adapters are not a "catch-all" solution for all possible values of xs:dateTime and they need to carefully select the correct adapter.
Below is a list of dates and times that are considered valid. Maybe we can adopt this into a table and per entry indicate which adapter should be used.
2009-12T12:34
2009
2009-05-19
2009-05-19
20090519
2009123
2009-05
2009-123
2009-222
2009-001
2009-W01-1
2009-W51-1
2009-W511
2009-W33
2009W511
2009-05-19
2009-05-19 00:00
2009-05-19 14
2009-05-19 14:31
2009-05-19 14:39:22
2009-05-19T14:39Z
2009-W21-2
2009-W21-2T01:22
2009-139
2009-05-19 14:39:22-06:00
2009-05-19 14:39:22+0600
2009-05-19 14:39:22-01
20090621T0545Z
2007-04-06T00:00
2007-04-05T24:00
2010-02-18T16:23:48.5
2010-02-18T16:23:48,444
2010-02-18T16:23:48,3-06:00
2010-02-18T16:23.4
2010-02-18T16:23,25
2010-02-18T16:23.33+0600
2010-02-18T16.23334444
2010-02-18T16,2283
2009-05-19 143922.500
2009-05-19 1439,55

http://www.pelagodesign.com/blog/2009/05/20/iso-8601-date-validation-that-doesnt-suck/
https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html

Since I'm running into this problem as well, a first suggestion:

Value
Type
Format
Adapter
Comments

2009-12T12:34
LocalDateTime
ISO_LOCAL_DATE_TIME
LocalDateTimeXmlAdapter

2009
Year
yyyy
YearXmlAdapter

2009-05-19
LocalDate
ISO_LOCAL_DATE
LocalDateXmlAdapter

20090519
LocalDate
BASIC_ISO_DATE
LocalDateXmlAdapter

2009123
LocalDate?
yyyyDD
LocalDateXmlAdapter

2009-05
YearMonth
yyyy-MM
YearMonthXmlAdapter

2009-123
LocalDate
ISO_ORDINAL_DATE
LocalDateXmlAdapter

2009-222
LocalDate
ISO_ORDINAL_DATE
LocalDateXmlAdapter

2009-001
LocalDate
ISO_ORDINAL_DATE
LocalDateXmlAdapter

2009-W01-1
LocalDate
ISO_WEEK_DATE
LocalDateXmlAdapter

2009-W51-1
LocalDate
ISO_WEEK_DATE
LocalDateXmlAdapter

2009-W511
LocalDate
ISO_WEEK_DATE?? / yyyy-ww
LocalDateXmlAdapter

2009-W33
LocalDate
ISO_WEEK_DATE?? / yyyy-ww
LocalDateXmlAdapter

2009W511
LocalDate
yyyyww
LocalDateXmlAdapter

2009-05-19
LocalDate
ISO_LOCAL_DATE
LocalDateXmlAdapter

2009-05-19 00:00
LocalDateTime
yyyy-MM-dd HH:mm
LocalDateTimeXmlAdapter

2009-05-19 14
LocalDateTime
yyyy-MM-dd HH
LocalDateTimeXmlAdapter

2009-05-19 14:31
LocalDateTime
yyyy-MM-dd HH:mm
LocalDateTimeXmlAdapter

2009-05-19 14:39:22
LocalDateTime
yyyy-MM-dd HH:mm:ss
LocalDateTimeXmlAdapter

2009-05-19T14:39Z
Instant
ISO_INSTANT
InstantXmlAdapter

2009-W21-2
LocalDate
ISO_WEEK_DATE
LocalDateXmlAdapter

2009-W21-2T01:22
LocalDateTime
yyyy-ww-E'T'HH:mm
LocalDateTimeXmlAdapter

2009-139
LocalDate
yyyy-DD
LocalDateXmlAdapter

2009-05-19 14:39:22-06:00
OffsetDateTime
yyyy-MM-dd HH:mm:ssZ
OffsetDateTimeXmlAdapter

2009-05-19 14:39:22+0600
OffsetDateTime
yyyy-MM-dd HH:mm:ssZ
OffsetDateTimeXmlAdapter

2009-05-19 14:39:22-01
OffsetDateTime
yyyy-MM-dd HH:mm:ssZ
OffsetDateTimeXmlAdapter

20090621T0545Z
Instant
yyyyMMdd'T'HH:mmV
InstantXmlAdapter

2007-04-06T00:00
LocalDateTime
ISO_LOCAL_DATE_TIME
LocalDateTimeXmlAdapter

2007-04-05T24:00
LocalDateTime
ISO_LOCAL_DATE_TIME
LocalDateTimeXmlAdapter
.withResolverStyle(ResolverStyle.LENIENT)

2010-02-18T16:23:48.5
LocalDateTime
ISO_LOCAL_DATE_TIME
LocalDateTimeXmlAdapter

2010-02-18T16:23:48,444
LocalDateTime
ISO_LOCAL_DATE_TIME
LocalDateTimeXmlAdapter
How to handle the comma?

2010-02-18T16:23:48,3-06:00
OffsetDateTime
ISO_OFFSET_DATE_TIME
OffsetDateTimeXmlAdapter
How to handle the comma?

2010-02-18T16:23.4
LocalDateTime
ISO_LOCAL_DATE_TIME / yyyy-MM-dd'T'HH:mm:ss.SSS
LocalDateTimeXmlAdapter
??

2010-02-18T16:23,25
LocalDateTime
ISO_LOCAL_DATE_TIME
OffsetDateTimeXmlAdapter
How to handle the comma?

2010-02-18T16:23.33+0600
OffsetDateTime
ISO_OFFSET_DATE_TIME
OffsetDateTimeXmlAdapter

2010-02-18T16.23334444
LocalDateTime
ISO_LOCAL_DATE_TIME
LocalDateTimeXmlAdapter

2010-02-18T16,2283
LocalDateTime
ISO_LOCAL_DATE_TIME
LocalDateTimeXmlAdapter
How to handle the comma?

2009-05-19 143922.500
LocalDateTime
yyyy-MM-dd ss.SSS
LocalDateTimeXmlAdapter
.withResolverStyle(ResolverStyle.LENIENT)

2009-05-19 1439,55
LocalDateTime
yyyy-MM-dd ss,SSS
LocalDateTimeXmlAdapter
.withResolverStyle(ResolverStyle.LENIENT)


Opening saved MXD with CC stand-alone add-in installed and CC open causes crash

Install the stand-alone Coordinate Conversion add-in on ArcGIS 10.6 (build 8184).
Open the add-in in ArcMap, so the Coordinate Conversion window is open.
Save the map as a MXD.
Close ArcMap.
Open the MXD by double-clicking it.
ArcMap crashes.

Open ArcMap to a new blank map.
ArcMap opens fine.
Open ArcMap and then browse to the map that crashed in the Recent list.
ArcMap opens the map fine.
(V - 10.6)

Oops. Looks like this is a duplicate of
https://github.com/ArcGIS/solutions-defense/issues/424

Also, for what it is worth, it is the Coordinate Conversion part that seems to be causing the crash. I can open maps with the Distance and Direction stand alone add-in installed and the window open just fine, but the same map, if I open CC will crash next time I open it.

Closing. Duplicate of #424

This is still an issue - was requested by @lfunkhouser & @topowright  to re-open and link to https://github.com/Esri/military-tools-desktop-addins/issues/33

This should be ready to verify from:
Development\Commercial\DefenseSolutions\12-05-2017_1646\ArcMap\Addins\CoordinateConversion' Development`
Development\Commercial\MilitaryToolsForArcGIS\12-05-2017_1646\ArcMap\Addins
Note: this is an ArcMap-only issue that seems to occur most often on more recent versions (10.5+)

Updated version now at: Development\Commercial\MilitaryToolsForArcGIS\12-06-2017_1649

Tested with 12-06-2017_1649 and ArcMap 10.6 (8319) - not seeing the crash on startup.
@csmoore

Testing this on 8315 and not seeing an issue.


Set kubeVersion field on Chart.yaml to specify supported k8s versions

Is your feature request related to a problem? Please describe.
People deploy KubeCF for the first time on untested Kubernetes versions, which may fail
on simple ways. This may send a wrong signal about the quality of KubeCF.
Describe the solution you'd like
Specify supported k8s version on Chart.yaml with for example:
kubeVersion: >= 1.13.0 < 1.18.0

https://helm.sh/docs/topics/charts/#the-kubeversion-field
Describe alternatives you've considered
Let it be as it is.
Additional context

this could go with #855

@fargozhu but that issue was closed; is that number correct?
Another option is to add the check to kube-ready-state-check.sh, and run that on a helm pre-install hook or the like.


SslHandlerTest#testCompositeBufSizeEstimationGuaranteesSynchronousWrite failure

Discovered while building PR https://github.com/netty/netty/pull/6944.
https://garage.netty.io/teamcity/viewLog.html?buildId=21865&buildTypeId=pulls_netty&tab=buildLog#_focus=39163
[17:55:03][io.netty:netty-handler] testCompositeBufSizeEstimationGuaranteesSynchronousWrite(io.netty.handler.ssl.SslHandlerTest)  Time elapsed: 36.717 sec  <<< ERROR!
[17:55:03][io.netty:netty-handler] java.util.concurrent.ExecutionException: java.lang.IllegalStateException: client closed
[17:55:03][io.netty:netty-handler] 	at io.netty.handler.ssl.SslHandlerTest.compositeBufSizeEstimationGuaranteesSynchronousWrite(SslHandlerTest.java:702)
[17:55:03][io.netty:netty-handler] 	at io.netty.handler.ssl.SslHandlerTest.testCompositeBufSizeEstimationGuaranteesSynchronousWrite(SslHandlerTest.java:583)
[17:55:03][io.netty:netty-handler] Caused by: java.lang.IllegalStateException: client closed

Commits were added to increase visibility for this issue:
4.1 (4d51eca21) 4.0 (1902cd4b1)

Thanks

Am 05.07.2017 um 20:07 schrieb Scott Mitchell<EMAIL_ADDRESS>Commits were added to increase visibility for this issue:
4.1 (4d51eca) 4.0 (1902cd4)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

duplicate of https://github.com/netty/netty/issues/6755


feat(samples): adds consumer status checker on file for sample 4

What this PR changes/adds
Adds a status checker for the file transfer consumer side
Why it does that
Consistent lifecycle of the file transfer on the consumer side.
Linked Issue(s)
Closes #1337
Checklist

[x] added appropriate tests?
[x] performed checkstyle check locally?
[x] added/updated copyright headers?
[x] documented public classes/methods?
[x] added/updated relevant documentation?
[x] assigned appropriate label? (exclude from changelog with label no-changelog)
[x] formatted title correctly? (take a look at the CONTRIBUTING and Etiquette for pull requests for details)

Codecov Report
Base: 64.54% // Head: 64.54% // No change to project coverage :thumbsup:

Coverage data is based on head (4cbd819) compared to base (1001861).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2189   +/-   ##
=======================================
  Coverage   64.54%   64.54%
=======================================
  Files         836      836
  Lines       17421    17421
  Branches     1099     1099
=======================================
  Hits        11244    11244
  Misses       5720     5720
  Partials      457      457

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

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


changes for review 1

Changed flowchart placement
Edited Sciserver doc
Edited installation doc

@asiddi24 @ThomasHaine I made a few changes:

Clarify "statement of need" in the front page
Improve dependencies list and mention test in the installation page
Add a few comments in the tutorial/use cases: all cells now are preceded by a comment
For the numerical methods comment, I think we are already in good shape. Gradient, divergence, curl, .... are "home-made" and use the same numerical method of the MITgcm (finite volume). The reference at the bottom of these functions used to be  MITgcm: link, and now is Numerical Method: link. Smart-name functions have an explicit link to the numerical method used by the MITgcm (e.g., curl), while Smart-name function used by Fixed-name functions are listed under See Also (e.g., curl is listed in the documentation of the relative_vorticity function).
Feel free to change anything. I'll wait your OK to merge and respond to the reviewer.

@ThomasHaine can you please review this: https://github.com/asiddi24/oceanspy/blob/review_changes_1/README.rst
It's the new home page of both github and readthedocs.

Looks good. Maybe qualify the first sentence a little where it says “analyze and visualize oceanographic data sets”. OceanSpy works well for ocean model datasets, less obviously for observational data sets.
On Jun 19, 2019, at 1:16 PM, Mattia Almansi <notifications<EMAIL_ADDRESS>wrote:
@ThomasHainehttps://github.com/ThomasHaine can you please review this: https://github.com/asiddi24/oceanspy/blob/review_changes_1/README.rst
It's the new home page of both github and readthedocs.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/malmans2/oceanspy/pull/110?email_source=notifications&email_token=AKP7IKU3AH5GHZT3FNBSNUTP3JSYRA5CNFSM4HY2OVHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYCRV3A#issuecomment-503651052, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKP7IKU3KU6FJMCXZPOOAL3P3JSYRANCNFSM4HY2OVHA.


Python editor: Value cannot be null. Parameter name: replaceWith

At any time a .py file is saved, debugged etc. the message appears and the file cannot be edited anymore, unless you close and reopen the file.
In my case, I'm using the local file system
Do NOT mark it as closed since there is no work on it.
Originally posted by @DanielSeara in https://github.com/microsoft/PTVS/issues/7100#issuecomment-1198276590

can you provide step by step repro?

Going to close this out. If the issue still persists, please reopen with the information requested. Thanks.😊


MiniGrafx::drawRect() calculates borders wrongly

In
void MiniGrafx::drawRect(int16_t x, int16_t y, int16_t width, int16_t height) {
  drawHorizontalLine(x, y, width);
  drawVerticalLine(x, y, height);
  drawVerticalLine(x + width, y, height);
  drawHorizontalLine(x, y + height, width);
}

(minigrafx/MiniGrafx.cpp, lines 203ff), the two last lines are wrong.
This results in a rect that has the lower right corner missing one pixel, AND the right and top line being one pixel too much to the right or to the bottom. Also, drawing a rect with fillRect() and drawing the same coordinates with drawRect show that the right line is one pixel too much at the right, and the bottom line being one pixel too much to the bottom.
Why?
The first drawHorizontalLine() draws a line at y coord y, and x in the range from x to x + width - 1.
The next drawVerticalLine() draws a line at x coord x, and y in the range from y to y + height - 1.
Now, the next line drawVerticalLine() adds a vertical line at x position x + width. However, the first line stopped at x + width - 1. Thus, it adds another pixel to the right of what the first drawHorizontalLine() drawed, with y going from y to y + height - 1.
Likewise, the next line drawHorizontalLine() adds a horizontal line at y position y + height, but the second draw stopped at y + height - 1. Thus, it adds another bottom line, with x going from x to x + width - 1.
As becomes obvious now, the position (x + width, y + height) is never painted and is missing in the rect.
Of course, one can argue of the right and bottom lines are too much to the right and bottom, or if just the one pixel at the lower right corner is missing. I tend to the first choice, as I expect a drawRect() and a fillRect() with the same coordinates to also fill the same area of the screen. Furthermore, with the second variant, a drawRect at (0,0) with height 320 (the maximum) and width 240 (the minimum) would result in two lines (right and bottom) being off-screen, and, thus, not visible.
So, my proposal to fix is to change the function to:
void MiniGrafx::drawRect(int16_t x, int16_t y, int16_t width, int16_t height) {
  drawHorizontalLine(x, y, width);
  drawVerticalLine(x, y, height);
  drawVerticalLine(x + width - 1, y, height);
  drawHorizontalLine(x, y + height - 1, width);
}

EDIT: If you agree, I can submit a PR.

The first PR (c4aace7) was wrong, as it included PR #59. Created a new one in #60.


Standardize README with shield badges

Description
Updated badges in the project readme
Issue reference
#1043
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[x] Extended the documentation

@holopin-bot @laurentkempe  Enjoy the Dapr SDK badge!


Use of undeclared type IGListCollectionView

#850 # New issue checklist

[x] I have reviewed the README and documentation
[x] I have searched existing issues and this is not a duplicate

General information

IGListKit version:
iOS version(s):
CocoaPods/Carthage version:
Xcode version:
Devices/Simulators affected:
Reproducible in the demo project? (Yes/No):
Related issues:

Debug information
# Please include debug logs using the following lldb command:
po [IGListDebugger dump]

Hey i am using Xcode 8.3.2 and using swift 3
i installed the pod "pod 'IGListKit', :git => 'https://github.com/Instagram/IGListKit.git', :branch => 'master'"
and import IGListKit successfully.
But when i am going to define a IGListCollectionView it gives me this error"Use of undeclared type IGListCollectionView"
let collectionView: IGListCollectionView = {
        // 2
        let view = IGListCollectionView(frame: CGRect.zero, collectionViewLayout: UICollectionViewFlowLayout())
        // 3
        view.backgroundColor = UIColor.black
        return view
    }()

Is i missing something? please help me out of this.

@raviatri are you using IGListKit 3.0? If so, IGListCollectionView was removed. Context in #409 and https://github.com/Instagram/IGListKit/commit/2284ce389708f62d99f48ff2ec15644f1ec59537

Actually i am't confirm its 3.O, i installed using
pod "pod 'IGListKit', :git => 'https://github.com/Instagram/IGListKit.git', :branch => 'master'"
which import latest one right?

@raviatri yup using that will put you on the tip of latest IGListKit development which is past 3.0.0. So in your branch IGListCollectionView doesn't exist anymore, you can just use UICollectionView instead.

Thanks @rnystrom for the help. I got your point.


Open the way to the implementation of unit tests and config for Travis CI

@bowni It seems you can't review as you are involved in the PR


Expiration seconds per OpenIDClient

This issue is imported from pivotal - Originaly created at Apr 29, 2019 by Okke Harsta
For both access_tokens and refresh_tokens

What is the validity of the id_tokens? (Bart Geesink - May 28, 2019)


Automate releases

This PR builds on #21 and introduces .github/workflows/release.yml which automates building the library, creating a release and publishing a new version on PyPI. This happens only on main and only when all tests have passed.
Note: this PR's branch was created from the branch for #21, which is why it includes commits from there. This should be ready to go once #21 is reviewed and merged.

@karls FYI I changed the base branch of this PR to migrate-to-poetry so this PR only includes the commits exclusive to this branch. GitHub will automatically change the base branch to main when migrate-to-poetry is merged.

GitHub will automatically change the base branch to main when migrate-to-poetry is merged.

I did not know that! Good stuff!


Tailwind theme overridden when island components have tailwind classes

Hi, enjoying the framework so far but having some issues with tailwind and styling.
It seems that if islands have tailwind classes the tailwind default for a colour is used and overrides defined tailwind custom colors.
Is there a way to structure my application to avoid this? Or is there some tailwind configuration that can solve this?
export const theme: ThemeConfiguration = {
  colors: {
    "white": "#ff49db" //custom theme sets white to pink for debugging purposes
  },
};

Case 1: Static only, index.ts with static button and text color set to pink (custom theme applied ✅)

Case 2: Static + Island (and all white tw classes removed from within island) (custom theme applied ✅)

Case 3: With Island (white tw classes used within island) (custom theme not applied ❌)

(On page reload see a flash of pink)

Ok my work around is to use custom classnames e.g. 'midnightBlack' that do not clash with predefined tailwind class names e.g. 'white, blue, red' and that seems to work fine. This issue is likely not specific to fresh but due to my unfamiliarity with tailwind so happy to close this one.


2 RootView in one activity

if there are 2 "RootView" in one acitivity, the logic in "MSREventBridgeModule.findReactRootView" would be found the first "RootView"，so all the event which will send to the second "RootView" are wrong，becasue they are sended to the first "RootView"。。。
this issue can be fix while find all the "RootView" in "MSREventBridgeModule.findReactRootView" ,otherwise find the first  "RootView"

Addressed via #37


PlayerMoveEvent console errors

I am getting these errors in the console a lot - http://pastebin.com/457ns0Q5

I think this has something to do with Citizens acting up sometimes actually. Maybe on a reload of one of the plugins?

I have been getting the same errors. Reloading does not fix the problem for me have you figured out a way to fix this?

Ok well this fixed mine and I am no longer getting any errors in the console. I am running the latest version of spigot citizens and quests. I found out that the latest citizens build may be causing it because its for spigot 1.8.6 not 1.8.7 so go into the citizens config and put check-minecraft-version: from true to false. This is what I did and it worked out for me.

Still getting spammed with this error, doing your method above didn't fix it.


Improve TypeScript declaration file with comments and restructuring

Description
This pull request enhances the TypeScript declaration file for the Google Translate API wrapper. The changes focus on improving clarity, adding comprehensive comments, and restructuring the file for better organization and readability.
Changes

Added a header comment explaining the purpose of the file
Grouped related interfaces and types within the googleTranslateApi namespace
Added detailed comments to explain the purpose of each interface, type, and function
Improved formatting for better readability
Reordered some elements to group related items together
Added more descriptive comments for complex types like TranslationResponseStructure and SpeakResponseStructure
Clarified the purpose of some functions like singleTranslate and batchTranslate

Thank you for reviewing this pull request!

Great work on this, I really appreciate you helping to improve the documentation of this project!  I only made a few minor changes to make the formatting more consistent with the JS code.


Add choreo connect to about this release page

Purpose

Describe the problems, issues, or needs driving this feature/fix and include links to related issues in the following format: Resolves issue1, issue2, etc.

This PR,

Adds Choreo Connect to the About this Release page
Fix Choreo Connect Transport Security page

Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email<EMAIL_ADDRESS>to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to<EMAIL_ADDRESS>and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

Unit tests

Code coverage information

Integration tests

Details about the test cases and coverage

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes/no
Ran FindSecurityBugs plugin and verified report? yes/no
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes/no

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

Update this PR with comments in https://github.com/wso2/docs-apim/pull/4094


Column wrap is behaving differently in safari and in chrome.

I have a codepen designed where i have used column wrap for aligning the items.
CodePen Link:----->(below)

Steps to reproduce the issue:
Open the above codepen link in chrome and in safari,we can see the difference in the alignment(Attached the screen-shot).
SAFARI:->
In case of safari browser there is a extra space between the flex container and the flex items where the column wrap is applied.The width of the flex container is more than the children.
CHROME:->
In case of chrome browser there is no extra space between the flex container and the flex items where the column wrap is applied. The width of the flex container is exactly equal to the the children.That is there is no space between the flex container and flex item where this column wrap is applied.
**Now i am bit confused which behaviour is actually correct the chrome one or the safari.**Please clarify this.Using flex-direction:column instead of column wrap fixes the issue but i have to use column-wrap i cannot use column as the flex-direction.Also flex-grow:1 is not a valid solution.
So which behaviour is correct the chrome one, where the flex container takes width exactly equal to to their children or the safari one , where the width of the flex container is bit more than the child items.please clarify this and also provide the fix if any exist.
Snapshot of codepen in SAFARI:

Snapshot of codepen in CHROME:

(The issue can be seen visually by confirming the width of the items in the blue border.) The Gap beween the blue border and the green border is expected(thats why flex-grow:1 is rejected solution).
Also in actual code where this codepen is used i have added the vendor prefixes for the flex(so thats not a issue)

I'm not sure why this issue was filed in this repo, as it doesn't seem to have anything to do with the demos here.
If you've found a browser bug then you should file an issue with the relevant browser. Here's some good info on how to do that: https://developers.google.com/web/feedback/


Fixed: Code formatting.

Fixed: Code formatting in HTML code snippet.

@jaliyaudagedara,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

Thank you for another great contribution.


Do not show autocomplete for TextInput with inner label if no id is set

Default behaviour for TextInput with inner labels should be not to show autocomplete if no id prop is specified.
This will help users to avoid explicit mention of autocomplete="off" every time when using TextInput with inner label and there is not need for autocomplete suggestions.

@amje as per discussion with @ValeraS we still need to follow properly issue of autocomplete suggestion for TextInput when inner label is present (label prop). One of solutions could be to control it with autocomplete="off", and I will prepare a PR for review later on.