Fix blendShape clone error

Please check if the PR fulfills these requirements

[ ] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Other information:

Codecov Report

Merging #968 (c5df342) into main (bedf577) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #968   +/-   ##
=======================================
  Coverage   28.67%   28.67%
=======================================
  Files         331      331
  Lines       14323    14323
  Branches     2184     2184
=======================================
  Hits         4107     4107
  Misses       9734     9734
  Partials      482      482

Impacted Files
Coverage Δ

packages/core/src/mesh/SkinnedMeshRenderer.ts
1.38% <ø> (ø)

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


Make BATS testing not affect base test data, allowing easier CI integration

Fixes issue #90
Test data in test/{ssl,config,database} were previously affected by running tests, especially by in-container scripts changing permissions/owner. This could lead to problems in a CI environment, such as files changing ownership and being unable to be automatically removed.
ssl certificates are now copied by --copy-service and refered to via /container/run,
and database/config are mapped to /container/test instead which can be copied to the right place by calling test.sh script bundled in image (via --cmd runtime option)
Note that this does not affect actual resulting container image save for the addition of test.sh which is unused unless explicitly called via --cmd

merged in 1.1.9 :)
thanks !


Change the exports of jest-matcher to be just expect

This way we can have the same top level api as expect npm module:
const expect = require('jest-matchers');

do we have a good way of doing
import expect, {setState} form 'expect';

yet?

@dmitriiabramov feel free to codemod everything to import/export.


Full screen mode could make more use of the screen

EPUBs (especially fixed layout) when viewed in full screen mode could benefit from using more of the screen.

Still has rather large white letterboxing top and bottom in full screen mode and so result is not a much larger page

Fixed via https://github.com/readium/readium-desktop/commit/53bc0c8289a3a95a0d6e33da47687c1fcf014037
Thanks Ken for reporting this! :)
PS: have you noticed improvements with the GG fixed layout book? (background audio soundtrack, in-page interaction audio prompts, reader name input with sandboxed localStorage persistence). Still missing: two-page FXL spreads, and EPUB3 Media Overlays playback. We're going to be working on that soon! ;)

Hi Ken, support for fixed-layout publication has improved quite a bit, and I thought you'd be interested to give the latest automated build of Thorium. Travis CI is still building ...
https://travis-ci.org/github/edrlab/thorium-reader/jobs/688906620
...but eventually the app will be available here:
https://github.com/edrlab/thorium-reader/releases
The following short video demo is silent, but there (as you well know ;) ) is a continuous background soundtrack (uninterrupted during page turns, proprietary iBooks feature), synchronized text/audio with EPUB3 Media Overlays (and iBook's proprietary in-page play/stop controls), in-page embedded iframe interactions, sandboxed localStorage reader name ("daniel"), etc.:
https://youtu.be/tHJEc_XqFAM
Let us know if you experience issues with any of your FXL titles, please.


Declare editorconfig

Now GitHub displays short tabs! :)

Oh noooo! You use 8 spaces :(

BTW Please consider using shellcheck

Hi!
I've been using shellcheck for this script since commit d974bff969503be6e5faa3c39da7c132bc10c2c2.
Any ideas on how to improve the code? I'll gladly hear them.
Thanks for the feedback!

add CI https://github.com/koalaman/shellcheck/wiki/TravisCI
write a handful of unit tests https://github.com/pgrange/bash_unit#test-functions
use 4 space :)
decrease if-depth, currently we have four or more conditions inside each other - see lines starting at the middle of the screen
no sarcasm: after a certain amount of complexity Python gives you much greater joy

+1 encourage users to install to ~/bin or /user/local/bin

* add CI https://github.com/koalaman/shellcheck/wiki/TravisCI

* write a handful of unit tests https://github.com/pgrange/bash_unit#test-functions

While I agree both CI and unit tests would add value to the project, they sadly require more time than I have available to currently commit to it, will try to improve these aspects in the future, though.

* use 4 space :)

* decrease if-depth, currently we have four or more conditions inside each other - see lines starting at the middle of the screen

Cleaner code is definitely something I appreciate. Will look into both as soon as I get some time, cheers.

* no sarcasm: after a certain amount of complexity Python gives you much greater joy

Thanks for the good laugh :-) I know, and I've been repeatedly pondering the switch as the code grew in size, but I'm more proficient in BASH than in Python. It'd be a good exercise to improve my skills, but I'm a network engineer more than I am a coder, and would honestly rather improve the feature set than restart from scratch in a different language.
That said, I'd still gladly support/acknowledge anybody willing to do that in their spare time!

encourage users to install to ~/bin or /usr/local/bin

Why? I kinda took for granted that if you have a frequent usage scenario for this script (like I do) you'd also know your way around your $PATH :-)
Thanks for your feedback!

encourage users to install to ~/bin or /usr/local/bin

Let me reverse this: do not encourage users to put stray files everywhere.
install --mode=0755 ./asn ~/bin/

if you have a frequent usage scenario for this script (like I do)

I'm also friend of my terminal but this shovel digs deeper: https://bgp.he.net/ip/<IP_ADDRESS>

if you have a frequent usage scenario for this script (like I do)

I'm also friend of my terminal but this shovel digs deeper: https://bgp.he.net/ip/<IP_ADDRESS>

I doubt I stated anywhere that this script is a catch-all for every use case. That'd be silly, and untrue - there are just different usage scenarios, and in mine I need quick lookups without having to open the browser, it's really as simple as that.
It's nothing you couldn't do with just whois, for that matter - but that doesn't put whois and asn in competition.
Don't get me wrong, HE's BGP toolkit is in my favorites (along, for that matter, with the IMHO way more useful RIPEStat and many more, including LG servers from most tier 1 networks), but nonetheless I use them only a third of the time, because they contain more (or different) informations than what I really need when performing a lookup. I intentionally chose to leave target's BGP upstreams/peers out of the report, but chose to add path trace (from my network, not some random tier 1's looking glass) and search-by-org because I felt they are more useful additions, which you rarely find in browser-based tools.
Thanks for your feedback!


New note stuck in with "stub: true"

Please select the area your Bug applys to. (Multiple selections are Possible)

[ ] Onboard. Initial vault setup and import/export pods
[x] Create. Note creation, lookup, snippets and templates
[ ] Retrieve. Backlinks, references, graph view
[ ] Structure. Refactoring, multi-vault and schemas
[ ] Publish. Sharing your repo with the world
[ ] Misc (Choose this if your not sure)

Describe the bug
I have noticed the effects of this error before, but it has been so random I just never took the time to dig into it before now. Today I was able to regularly reproduce the error on the specific note that was created.
I created a new note that is associated with a template and made edits to that note. Later in the day I tried calling up that again and noticed that it was replaced by the template, effectively losing all my previous edits. This occurred several times during that day. Thankfully I started using git after having lost data in the past.
While troubleshooting I noticed that the frontmatter had the 'stub: true' entry. Removing that solved the overwrite issue.  Though I do not know why that entry was stuck on my note to begin with. The template does not have this value, not sure how else to troubleshoot why these get created this way.
To Reproduce
I am not sure the steps to reproduce the initial issue of 'stub: true' being added to my note. It does not occur every time I create notes with this template, but I have experienced similar issues in the past, just didn't realize it was related to that 'stub: true' entry
Expected behavior
To not lose edits to notes that I make
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information)

OS: Windows
Browser N/A
Version 0.56.0

Additional context
Add any other context about the problem here.
Dendron Log file
Please attach the output of >Dev:Dendron: Open Logs here
dendron.server.log
dendron.log

Thank you for the report!
I can indeed reproduce this when creating a note with lookup that is already internally classified as a stub (usually happens with scratch and journal notes that have deep hierarchies but doesn't necessarily have actual note for every level).
We'll track this issue and let you know once it is fixed!

Thank you Mark,  that makes sense. Thinking about this issue, I did create
the lower level note first.
On Sun, Aug 29, 2021, 22:11 Mark Hyunik Choi @.***>
wrote:

Thank you for the report!
I can indeed reproduce this when creating a note with lookup that is
already internally classified as a stub (usually happens with scratch and
journal notes that have deep hierarchies but doesn't necessarily have
actual note for every level).
We'll track this issue and let you know once it is fixed!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dendronhq/dendron/issues/1231#issuecomment-908034467,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AISOQPHUFR4MA5QFDCMAHHTT7MHGNANCNFSM5DAR52IQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

This has been fixed (I'm not exactly sure when,  I think it's Dendron 0.93). Dendron will now avoid writing stub: true into notes. Please let us know if this problem keeps happening, otherwise this issue will close in a few days.


Added option url_from_catalog to ontology.load()

Seems to work. Great if you can test it.

works fine for me, I added the option to emmocheck. Please check.

works fine for me, I added the option to emmocheck. Please check.

Works fine with emmocheck too.


[AutoPR cdn/resource-manager] Swagger API for Azure CDN WebApplicationFirewallPolicy resource

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5885

(message created by the CI based on PR content)

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/5629


Create a command to list the provider-connections

cm get provider-connections

Note that in 2.3 we are now calling them credentials, so might want to use credentials instead of provider-connection in the new command

is that ok?
% cm get creds
NAME     TYPE     DATA   AGE
itdove   Opaque   6      3d23h

% cm get creds -n open-cluster-management
No resources found in open-cluster-management namespace.

% cm get creds --cloud-provider aws
NAME     TYPE     DATA   AGE
itdove   Opaque   6      3d23h

% cm get creds --cloud-provider awss
No resources found in default namespace.

% cm get creds --cloud-provider aws --all-namespaces
NAMESPACE   NAME     TYPE     DATA   AGE
default     itdove   Opaque   6      3d23h

Fine with me


If has subproject, the project_overview shows internal error.

When a project has a subproject, the project_overview page can't be opened, the log show like:
ActionView::Template::Error (undefined method shift' for #<Project::ActiveRecord_Relation:0x00000102a35cc0>):     23: 	<% end %>     24:      25:
     26: 		<td title="<%= project_full_title(project) %>"><%= link_to project.name, project_path(project) %>	     27: 		<% if Setting.plugin_project_overview[:stale_enable] %>     28: 			     29: 				<% if project.archived? %>   app/views/common/_tabs.html.erb:22:in block in _app_views_common__tabs_html_erb__3504873109440660110_2220811220'
app/views/common/_tabs.html.erb:21:in each'   app/views/common/_tabs.html.erb:21:in _app_views_common__tabs_html_erb__3504873109440660110_2220811220'
app/helpers/application_helper.rb:321:in `render_tabs'
Found it this morning, still running on solutions.

The simplest way is to add condition while get project name list:
Change _settings_project.html.erb, line 74
<%= select_tag("settings[exclude_projects]", options_from_collection_for_select(Project.active.where(:parent_id=>nil).order("name ASC"), :id, :name, Setting.plugin_project_overview[:exclude_projects]), { :multiple=> true, :style => "height: 300px;" }) %>

I just managed to run the plugin with open sub-projects, you can use the Rails gem activerecord-deprecated_finders as described in #19.


Why only part of keyboard inputs provided?

#[derive(Copy, Clone, Debug, Hash, Eq, PartialEq)]
pub enum Key {
    Tab = sys::ImGuiKey_Tab,
    LeftArrow = sys::ImGuiKey_LeftArrow,
    RightArrow = sys::ImGuiKey_RightArrow,
    UpArrow = sys::ImGuiKey_UpArrow,
    DownArrow = sys::ImGuiKey_DownArrow,
    PageUp = sys::ImGuiKey_PageUp,
    PageDown = sys::ImGuiKey_PageDown,
    Home = sys::ImGuiKey_Home,
    End = sys::ImGuiKey_End,
    Insert = sys::ImGuiKey_Insert,
    Delete = sys::ImGuiKey_Delete,
    Backspace = sys::ImGuiKey_Backspace,
    Space = sys::ImGuiKey_Space,
    Enter = sys::ImGuiKey_Enter,
    Escape = sys::ImGuiKey_Escape,
    KeyPadEnter = sys::ImGuiKey_KeyPadEnter,
    A = sys::ImGuiKey_A,
    C = sys::ImGuiKey_C,
    V = sys::ImGuiKey_V,
    X = sys::ImGuiKey_X,
    Y = sys::ImGuiKey_Y,
    Z = sys::ImGuiKey_Z,
}

where is the key B, D ... and everything else?

Those are the keyboard inputs which imgui itself tracks.  Check out the winit platform implementation, and see how it handles keys.
Effectively, those are just the keys which imgui needs to operate (it doesn't actually ever listen to b, d or anything else!)

I ran into the same difficulty today, trying to make a shortcut as obscure as ctrl+q
History
In imgui-rs 0.6 you could do
if ui.is_key_down(winit::event::VirtualKeyCode::Q as u32) {
    println!("Cool");
}

..assuming you were using the imgui-winit-support or similar.
In imgui-rs 0.7.0 was a change (#416) which made this harder, as the key functions take imgui::Key directly - which I think is a better API, but is currently limited to a very small subset of keys (A/C/V/X/Y/Z etc as mentioned)
Workaround
I think the workaround for 0.7 is as described in previous comment here and one on #416:
if ui.io().keys_down[winit::event::VirtualKeyCode::Q as usize] {

However I don't think there is a simple equivalent to is_key_released etc, as you would have to reimplement the state tracking (same with key-repeat handling)
Future
There is an upstream PR to add more keys to this map:
https://github.com/ocornut/imgui/pull/2625
Once merged the API for simple case of, say, "I want to check if Q was released" will be good.
For "more obscure" keys, it still seems like it's necessary to be able to pass in a key code.
I wonder if we can add an extra item to the imgui::Key enum like
enum Key {
    Tab = sys::ImGuiKey_Tab,
    LeftArrow = sys::ImGuiKey_LeftArrow,
    RightArrow = sys::ImGuiKey_RightArrow,
    ...,
    Other(u32),
}

Then you can do both ui.is_key_released(imgui::Key:A) and  ui.is_key_released(imgui::Key:Other(9999))

I think that needs to match the layout of a C enum for FFI. I also don't love it because you could have Key::Other(sys::ImGuiKey_Tab as _) and stuff gets weird to handle
I think we should just readd the functionality that was removed in https://github.com/imgui-rs/imgui-rs/pull/416.

I think the FFI aspect is fine as the Key is just a fancy integer, but.. a much larger issue is Rust doesn't currently allow this
enum PrototypeKey{
    A = 1,
    B = 2,
    Other(u32),
}

This errors with error[E0658]: custom discriminant values are not allowed in enums with tuple or struct variants (tracking issue)
So, yep, reintroducing those key-by-index methods seems like the best solution for now!


Add support for ed25519 ssh key encryption

I also had an issue with running spec tests with 3072 bit RSA key

/azp run

Experiencing issues with building an epicli image.
ERROR:  Error installing bcrypt_pbkdf:
	ERROR: Failed to build gem native extension.

    current directory: /var/lib/gems/2.7.0/gems/bcrypt_pbkdf-1.1.0/ext/mri
/usr/bin/ruby2.7 -I /usr/lib/ruby/vendor_ruby -r ./siteconf20211209-1156-okxfa7.rb extconf.rb
creating Makefile

current directory: /var/lib/gems/2.7.0/gems/bcrypt_pbkdf-1.1.0/ext/mri
make DESTDIR\= clean

current directory: /var/lib/gems/2.7.0/gems/bcrypt_pbkdf-1.1.0/ext/mri
make DESTDIR\=
compiling bcrypt_pbkdf.c
bcrypt_pbkdf.c:18:10: fatal error: sys/types.h: No such file or directory
   18 | #include <sys/types.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:245: bcrypt_pbkdf.o] Error 1

make failed, exit code 2

Gem files will remain installed in /var/lib/gems/2.7.0/gems/bcrypt_pbkdf-1.1.0 for inspection.
Results logged to /var/lib/gems/2.7.0/extensions/x86_64-linux/2.7.0/bcrypt_pbkdf-1.1.0/gem_make.out
Building native extensions. This could take a while...

Looks like we have to install libc6-dev as well.
https://stackoverflow.com/questions/19580758/gcc-fatal-error-stdio-h-no-such-file-or-directory/20150282

/azp run


Reduce diffs with the 1.8.0 SDK (Part 2)

This is the second (of two) pull requests removing the differences between the 1.8.0 SDK and our code base. Maintaining fewer diffs will make it easier to upgrade SDK support in the future.

https://ocd.appscale.com:8080/job/Daily Build/5211/

https://ocd.appscale.com:8080/job/Daily Build/5212/

@cdonati I did add a demo requested here, but the demo is the build I assume, is that correct? anything in particular we should look up?


Enable all filters and advanced search

List all filters and advanced search filters when pass Milestone 1

Add link to "more options"

And set up page with search parameters

Before advancing with this, I want to confirm available features from the search API (so I can try to implement the rest manually the from raw result). Please tick the feature which is working/available and if it does work, give an quick example in the comment.

[ ] Count
Changing the number of count in query is not valid at the moment.In the result, the changed field is itemsPerPage, but it is not effective either.
http://loklak.org/api/search.json?timezoneOffset=-180&q=%23loklak&count=5

[ ] from:user && a term
Getting statuses from a user, or, a search term is possible. However both at the same is not available, e.g. from:phucdn2005+#loklak. I can of course manually do a cross check of both search, but the result won't be as many.

[ ] near:location && a term
Similar to above

[ ] since & until
This is not working:
http://loklak.org/api/search.json?q=loklak since:2015-04-01 until:2015-06-06

If it seems that multiple queries for one search is inevitable with advanced search like this, is it possible provide an option from the server to enable consecutive queries from the client (to prevent the blocking from high frequency)?

@Orbiter I think you should be able to answer this.

these had beed actual bugs, some of them introduced lately (since & until was working before). I fixed them right now.

Very good outcome. Please also ensure, that the search string shows up in the search box when you show the outcome and show the final result in the standard search output page (similar to twitter).

Please change the time search from to since xxxx until xxxx in loklak

Tried to add different search terms, but could not add current date, as I could not scoll anymore.

When I enter lots of different options, I only get results back for the keyword.

@mariobehling https://github.com/loklak/loklak_webclient/issues/90#issuecomment-114740244 from:  is already a keyword to search for tweets from a specific user. That word can therefore not be used for date ranges. I therefore choosed since: and until:

the OR operand is now available, like berlin OR frankfurt. The operand works currently not in combination with explicit AND (like AND in query) or implicit AND (space). I made a quick-and-dirty implementation which will at least support OR usage in wall which is necessary for queries like ots15 OR ots2015

@Orbiter @fuksi Please change "since... since..." to "since... until...."

?

Added new behavior with operands "OR".
Fixed typo "since ... until", fixed minor styles
Added new behavior for location search, using /location... feature from the server

Visit the PR for more info

@Orbiter, please open this again, when any new features are available from server :+1:

Let's use the standard search layout with advanced search. Or do you have another suggestion?

[ ] Please make two location buttons into one. Let's make it easier for the user to make less clicks.
(compare with twitter)

This will be changed along with #227


Add type Edge and implement IsEdge for it

This creates a new type for an edge, which owns the expression and color. We also implement the IsEdge trait for this new type.

In the meantime, the Idx type alias was removed so the import had to also be removed.


[DE] Add binary sensor carbon monoxide

@easterapps @mib1185 can you please review this PR? 😃

@easterapps Should be fine now 👍


Console output not formatted correctly on Windows 10

Console output is not correctly displayed in PowerShell on Windows 10:

It should look like:

This is resolved by using WSL or Windows Terminal.
Here is the output in Windows Terminal:


Can't select a target device/emulator from the opened panel on Mac M1

Is this because M1 chip? it shows 'fetching devices' all the time, but show up nothing.

Hi! It's strange, because your MacBook-Pro is selected in the status bar (which means fetching was successful).
If you are using Android, something may have happened to adb (I noticed a couple of times that adb daemon may freeze). Try to execute the command in the terminal: pkill -f adb.
anyway, look at the log (/Users/YOU/.vscode/extensions/nromanov.dotnet-meteor-4.0.6-darwin-arm64/extension/bin/Workspace/logs), maybe there is an error there

both iOS and Android simulators can't be fetched, I got this error:
2024-01-28 07:11:24.2185|System.Exception:
at DeviceProvider.GetDevices at Program.AllDevices at Program.Main
/Users/runner/work/1/s/src/DotNet.Meteor.Workspace/DeviceProvider.cs[20]

Can you try to execute it manually with: /Users/YOU/.vscode/extensions/nromanov.dotnet-meteor-4.0.6-darwin-arm64/extension/bin/Workspace/DotNet.Meteor.Workspace --all-devices ?

I just fixed ! I try to use 'Cmd + Shift + P', then selected '.NET MAUI: Configure Android' and '.NET MAUI: Configure Apple', and reset the Android SDK path, finally restart vscode, it works.

I do not recommend using .NET MAUI and .NET Meteor at the same time. The behavior may be unstable.

I do not recommend using .NET MAUI and .NET Meteor at the same time. The behavior may be unstable.

Thanks for you recommendation, I found that .NET MAUI is unstable certainly

I do not recommend using .NET MAUI and .NET Meteor at the same time. The behavior may be unstable.

I got a new issue, can't create new MAUI file using solution explore

can't create new MAUI file using solution explore

I think you should write an issue to the C# DevKit extension repository


Param cmake fixes

Fixes for param to reduce the cmake dependencies for parameters.xml
Also fixes for building qurt again after merge of cmake changes.

Nice, thanks!


Adding Go module support

adding go.mod and go.sum files

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: bearcherian sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Navbar Redesign

Hi @GauravKesh @iamkanhaiyakumar
What does this PR do?
This PR adds a responsive navbar that includes a "Dashboard" call-to-action (CTA) button available on both mobile and desktop screens. It also integrates a logo with a brand name and a punchline for enhanced branding. This improvement aims to create a better user experience and promote key actions within the application.
Fixes #55
Mobile View:

Desktop View:

Type of change

New feature (non-breaking change which adds functionality)

How should this be tested?

Verify that the responsive navbar displays correctly on both mobile and desktop screens.
Ensure that the "Dashboard" button is clickable and redirects to the correct dashboard page.
Confirm that the logo, brand name, and punchline are correctly displayed.
Test the overall styling and layout to ensure it meets design specifications.
The file is located in components/public-header.tsx

Mandatory Tasks

[x ] Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.

https://github.com/user-attachments/assets/1a4cfafa-2013-4bfb-a7ee-bbbc86725e35
Here is a demo video , you can check it out , also thanks for pointing it out


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-29-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4906

Questions ?
Please refer to the Backport tool documentation


metricsbp: Use pointer to provide better default sample rates

Instead of converting 0 to 1 for sample rate configs, use *float64
to provide default value. Also provide Float64Ptr, similar to the
function in thrift package, to help user set the config value.
This is a breaking change.

What is the advantage of using a float pointer here?

What is the advantage of using a float pointer here?

We want the default to be 1 (100%), so that users don't need to specify that when they want 100% of metrics sampled. But without pointer the zero value of float64 is 0, which is a valid value here (means 0% sampling, e.g. no metrics will be sampled), so we used to do a special handling to convert 0 to 1 and ask users to use <0 if they really want 0.
Using pointer can avoid that situation.


"Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead."

🐛 Current behavior
When using InstantSearchNext ("react-instantsearch-nextjs": "0.3.17"),  and ▲ NextJs 14.2.17 switching from one page that has InstantSearchNext-Component to another will throw an error.
Error: Warning: Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead. Hits@webpack-internal:///(app-pages-browser)/./node_modules/react-instantsearch/dist/es/widgets/Hits.js:31:20 div div Content InstantSearch@webpack-internal:///(app-pages-browser)/./node_modules/react-instantsearch-core/dist/es/components/InstantSearch.js:17:18 InstantSearchSSRProvider@webpack-internal:///(app-pages-browser)/./node_modules/react-instantsearch-core/dist/es/components/InstantSearchSSRProvider.js:23:18 InstantSearchNext@webpack-internal:///(app-pages-browser)/./node_modules/react-instantsearch-nextjs/dist/es/InstantSearchNext.js:30:18 div div Search Page (Server) InnerLayoutRouter@webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/layout-router.js:244:18 RedirectErrorBoundary@webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/redirect-boundary.js:74:9 RedirectBoundary@webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/redirect-boundary.js:82:24 NotFoundBoundary@webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/not-found-boundary.js:84:62 ....
🔍 Steps to reproduce

Click link to open search
Open console
Enter something into the search box
Quickly switch to /page2

Live reproduction
https://codesandbox.io/p/github/Ra0R/bug-repro/master
💭 Expected behavior
Should not throw an error. Probably there is some useEffect firing that tries to update the component before mounting.
Package version
"react-instantsearch": "^7.13.7",    "react-instantsearch-nextjs": "^0.3.17"
Operating system
No response
Browser
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@Haroenv I think the problem lies within "InitializePromise"-Component. Somehow when navigating from page A to page B, the subscription to waitForResults is renewed and resolves on the old page (Page A) - which at that point is unmounted.

Any update on this? It is costing us money (since we had to do a workaround rendering InstantSearchNext on the server and InstantSearch on the client).

I ran into the same issue using<EMAIL_ADDRESS>and it looks lie it was coming from reactStrictMode: false in my next.config.mjs file. I cannot confirm though.

This also happens in production builds for me, where strict mode is disabled.


Update scheduler property docs

Resolves #345

depends on https://github.com/spring-cloud/spring-cloud-scheduler-kubernetes/pull/12

PR comments addressed

merged in a75dc7c


[Regression] register_devices fails in Fastlane 2.163.0

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description

We are using the register_devices action in our Fastfile, something that worked properly until 1 day ago with Fastlane 2.162.0 and suddenly errors out with 2.163.0.
From looking at apple docs: https://developer.apple.com/documentation/appstoreconnectapi/interpreting_and_handling_errors/parsing_the_error_response_code
409 ENTITY_ERROR: The request entity is valid and in the right format, but the data in it is unacceptable; for example, it contains an invalid email address, or a duplicate locale.

The action is set like
register_devices(
      devices_file: "./devices.txt"
)

Error in fastlane 2.163.0 is:
"errors" : [ {
    "id" : "33ba304f-945e-47aa-aa76-873b9b6c9729",
    "status" : "409",
    "code" : "ENTITY_ERROR",
    "title" : "There is a problem with the request entity",
    "detail" : "A device with number 'xxxxxxxx-xxxxxxxxxxxxxxxx' already exists on this team."
}

Command executed

Our fastlane config runs in a CI, and we execute fastlane commands with bundle exec, e.g.:
bundle exec fastlane ios_lane
The ios_lane then has all the actions including the register_devices one.
Complete output when running fastlane, including the stack trace and command used

 [07:12:43]: fastlane finished with errors
Looking for related GitHub issues on fastlane/fastlane...
Found no similar issues. To create a new issue, please visit:
https://github.com/fastlane/fastlane/issues/new
Run fastlane env to append the fastlane environment to your issue
bundler: failed to load command: fastlane (/Users/distiller/xxxxxxx/ios/vendor/bundle/ruby/2.6.0/bin/fastlane)
FastlaneCore::Interface::FastlaneCrash: [!] Failed to register new device (name: NAME001, UDID: xxxxxxxx-xxxxxxxxxxxxxxxx)
/Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/fastlane-2.163.0/fastlane_core/lib/fastlane_core/ui/interface.rb:129:in crash!'   /Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/fastlane-2.163.0/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in method_missing'
/Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/actions/register_devices.rb:80:in rescue in try_create_device'   /Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/actions/register_devices.rb:76:in try_create_device'
/Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/actions/register_devices.rb:69:in block in run'   /Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/actions/register_devices.rb:55:in map'
/Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/actions/register_devices.rb:55:in run'   /Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/runner.rb:263:in block (2 levels) in execute_action'
/Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:in execute_action'   /Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/runner.rb:255:in block in execute_action'
/Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/runner.rb:229:in chdir'   /Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/runner.rb:229:in execute_action'
/Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/runner.rb:157:in trigger_action_by_name'   /Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/fast_file.rb:159:in method_missing'
Fastfile:159:in block (2 levels) in parsing_binding'   /Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/lane.rb:33:in call'
/Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/runner.rb:49:in block in execute'   /Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/runner.rb:45:in chdir'
/Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/runner.rb:45:in execute'   /Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/lane_manager.rb:47:in cruise_lane'
/Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/command_line_handler.rb:36:in handle'   /Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/commands_generator.rb:108:in block (2 levels) in run'
/Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in call'   /Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in run'
/Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in run_active_command'   /Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/fastlane-2.163.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!'
/Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in run!'   /Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/commands_generator.rb:352:in run'
/Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/commands_generator.rb:41:in start'   /Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/fastlane-2.163.0/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in take_off'
/Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/gems/fastlane-2.163.0/bin/fastlane:23:in <top (required)>'   /Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/bin/fastlane:23:in load'
/Users/distiller/pillarwallet/ios/vendor/bundle/ruby/2.6.0/bin/fastlane:23:in `<top (required)>'

Environment

fastlane gems

Gem
Version
Update-Status

fastlane
2.163.0
✅ Up-To-Date

Loaded fastlane plugins:

Plugin
Version
Update-Status

fastlane-plugin-get_version_name
0.2.2
✅ Up-To-Date

fastlane-plugin-property_file_read
1.0.1
✅ Up-To-Date

fastlane-plugin-appcenter
1.10.0
✅ Up-To-Date

Forgot to add, reverting to fastlane 2.162.0 in the Gemfile does not produce this error and everything works properly.

I saw the same problem today as well.  I made a build using bundle exec fastlane build successfully. fastlane asks me to upgrade, which I do successfully, then minutes later I try to build again, and receive the same behaviour antonioned describes.  My use case seems identical, but I'd like to add that my 'devices.txt' file is afaik generated by the appcenter_fetch_devices plugin and looks like this:
Device ID	Device Name
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX	James Bond - iPhone 7 Plus	ios
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX	Tex Willer - iPhone X	ios
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX	Modesty Blaise - iPhone 6s	ios
00008030-XXXXXXXXXXXXXXXX	Tony Stark - iPhone 11 Pro Max	ios
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX	Tony Stark - iPhone 7 Plus	ios
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX	The Hulk - iPhone X	ios

My error message:
{
  "errors" : [ {
    "id" : "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
    "status" : "409",
    "code" : "ENTITY_ERROR",
    "title" : "There is a problem with the request entity",
    "detail" : "A device with number '00008030-XXXXXXXXXXXXXXXX' already exists on this team."
  } ]
}

I notice the error was concerning Tony's new iPhone using the new id format, and saw no errors on other id's, I would not know if that has any relevance.

cc @joshdholtz 🤗 maybe an issue with:
https://github.com/fastlane/fastlane/blob/4753b8dea25c9f9d9b7fc49101b4ee1e4590cb80/fastlane/lib/fastlane/actions/register_devices.rb#L53
And the logic underneath it? 🤔

My apologies! I’ll look into a get a fix out right away 👍

@antonioned @boeingjr Do either of you know if your UDID’s happen to have different case (upper and lower) A through F? 🤔 It looks like mine setup is detecting duplicates fine so I’m curious if that is what is happening? Maybe there is a uppercase/lowercase issue.

@joshdholtz I must say that the error occurs for me on an already existing device. But this is not happening on version 2.162.0, no error is thrown. Are you suggesting that if a device in the devices.txt file is already registered in App Store Connect devices, this error is valid?

@antonioned Yeah yeah, I was getting the error on an existing device too. My guess is the UDID that the new API returns to use (that we switched to in 2.162.0) might have different case then what you are trying to register with.
Example: 00008006-001573C02EE2002E  vs 00008006-001573c02ee2002e
We were not doing a case insensitive compare previously but we might need to now with the new API. I’ll have a PR up for this soon that I think will solve the issues you are seeing!

Thanks a bunch @joshdholtz looking forward to that PR.

@antonioned PR and instructions on how to use are here! https://github.com/fastlane/fastlane/pull/17433
Hoping this solves it for you 🙏

@joshdholtz I checked the various UDID's in the file against the ones in the portal, and the offending UDID did indeed have different case, while the others had the same case.
I also tried out your fix branch, and now it works!  Thank you very much!

It works like a charm @joshdholtz. Thanks again!

I still have this problem in 2.164.0:
{
1056   "errors" : [ {
1057     "id" : "d2766936-4e78-48b8-91f6-679c6d02aee2",
1058     "status" : "409",
1059     "code" : "ENTITY_ERROR",
1060     "title" : "There is a problem with the request entity",
1061     "detail" : "A device with number '0be51c8f4397715104873b50a3deb980bfa2c797' already exists on this team."
1062   } ]
1063 }

Any idea?

@DDamian please create a new issue so we can help you further 🙏

Hey @DDamian  ! 👋
I've investigated this issue and opened a PR to fix it: https://github.com/fastlane/fastlane/pull/17799
If you could test it, it'd be much appreciated 🎉
I hope this helps!


Add MacBook Pro (Retina, 15-inch, Mid 2014) to supported Mac models

Is there any specific reason why older macs are not currently supported? I am pretty sure that all iMacs since 2012 (that support Catalina) are equipped with an ambient light sensor.

@AleksNe The list of supported Macs is non-exhaustive. As of version 1.0.1, most Macs that can run Catalina should work (sensors vary between Mac models).


wasm-friendly Datetime utility crate

I'm considering adding a crate that wraps Chrono, but includes functionality it doesn't include on the wasm-target, like getting the current date/time/dt, via js_sys, and provides a cleaner API. Thoughts?
Caveats:

This is more suited to Gloo, but perhaps here is a better place to start, due to Gloo's formal update process, and since it's not-yet released. The API wrapper will be opinionated.

While getting the current date/time etc is common, it may not be worth wrapping a non-web crate just for this functionality, and api improvements are out of this project's scope. I'm proposing this anyway because a clean dt api that can get current info is common in web-programming, and this project takes a batteries-included approach: I don't want users to have to hunt around and use binder code.

@Pauan @fitzgen

Is there any reason this can't be added to chrono? Have they rejected the idea of having a web submodule which is enabled by a feature?

That might be the best approach. Not rejected, but there's a related issue and PR that's been idle for a bit. Worth pursuing this route.
I'm still concerned about the verbosity of the api:
rust
    /// Convert an iso-format date, eg "2019-01-05" for January 5, 2019" to a Date.
    pub fn from_iso(date: &str) -> Self {
        // Chrono needs time too, and can't parse date-only directly.
        let padded = &(date.to_string() + "T000000");
        Self {
            wrapped: chrono::Utc
                .datetime_from_str(padded, "%Y-%m-%dT%H%M%S")
                .expect(&format!("Can't format date: {}", date))
                .date()
        }
    }

I would expect a function called from_iso to fully support all of ISO, not just dates. So that seems like an ad-hoc function specialized to a particular app's needs.
Aside from that, is chrono::DateTime::parse_from_rfc3339(date).unwrap_throw().date() too verbose? It seems pretty straightforward to me, personally.
And similarly, a chrono::Date::parse_from_rfc3339(date).unwrap_throw() could be used for date only (though that needs a PR to add it to chrono).

Closing this for now - until I find the scope of limitations of Chrono in WASM, and pursue PRs there.


update conversion of layers to retain original data type.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@avisinghal6 can you do pip install -e .[quality] and run make style; make quality? It should make the failing test pass


Update command in "Connecting Applications with Services" page

Updates command in the "Connecting Applications with Services" page to only show the my-nginx podIp
Fixes #34389

/retitle Update command in "Connecting Applications with Services" and separate out a command

As it's your own PR, you can still use the GitHub web UI (or API, if you're feeling keen) to retitle. Try searching in the web page for “Edit”.

Yep, I retitled it using the UI a little while ago, I had never run \retitle so I just thought to try it 😆

I believe this is okay as is since grep issue is being addressed in a different pull request (https://github.com/kubernetes/website/pull/34457)
deploy preview: https://deploy-preview-34399--kubernetes-io-main-staging.netlify.app/docs/concepts/services-networking/connect-applications-service/#securing-the-service
/lgtm

/assign @kcmartin

To complete the pull request process, please assign kcmartin after the PR has been reviewed.

Re-applying lgtm from this comment
/lgtm
/approve


Whitespace error after @ in Angular declarators

I've just started seeing lint errors (missing whitespace) for the @ in @component and such in an Angular application:

This seems linked to the version of Typescript that is used. If the built-in version of VS Code Insiders issued (3.2.0-rc) the error shows. If switched to the project's version of Typescript (3.1.6), the error goes away.

Also seems related to the "whitespace": "check-type" rule.

Any movement on this issue? No updates to this plugin for a while...

Duplicate of #24


Tweaked the contribution guide

Use a relative link, and enforced line length of 80 chars.

Merging the typo fix in 9cb3bd784ce3cdcfa19d951a98c3607ba4b39e34 and fixed some of the formatting via f0093b4a27b4a6697dfb43ea1667dc5a94b8b156. I’d prefer to just handle the formatting changes as the file evolves rather than all at once as it keeps the history cleaner.


Fix Factorial

Handle negative numbers as input
Handle 0
Don't need to multiply by 1
Check what happens when reduce has a list of 1 element.

Commit: https://github.com/johneastman/boomerang/commit/ae5b9571991dba6838d447e1486201fd1d18f170


Error: Attempt to decode JSON with unexpected mimetype...

I've copied the cookies in the exact same format as the example file.
I get the following error:
[ERR] - Failed to generate email. Reason: 0,              main.py:48
message='Attempt to decode JSON with unexpected mimetype:
', url=URL('https://p68-maildomainws.icloud.com/v1/hme/ge
nerate?clientBuildNumber=2317Project38&clientMasteringNum
ber=2317B22&clientId=&dsid=')
Please help!

I've tried the v2 endpoint and that produces the same error.

Hmm, it's still working on my end, on the v1 endpoint.. So as of right now, I can't reproduce the issue thus I can't fix. :(

My guess is they're slowly rolling out a new endpoint, with only some regions using it currently. You can try checking which endpoint it will use in your browser on https://www.icloud.com/icloudplus/, and updating it accordingly.
These are the endpoints my client is using:
    var mg = {
        hmeDelete: {
            path: "/v1/hme/delete",
            method: "POST"
        },
        hmeGet: {
            path: "/v2/hme/get",
            method: "POST"
        },
        hmeUpdate: {
            path: "/v1/hme/updateMetaData",
            method: "POST"
        },
        hmeList: {
            path: "/v2/hme/list",
            method: "GET"
        },
        hmeDeactivate: {
            path: "/v1/hme/deactivate",
            method: "POST"
        },
        hmeReactivate: {
            path: "/v1/hme/reactivate",
            method: "POST"
        },
        hmeGenerate: {
            path: "/v1/hme/generate",
            method: "POST"
        },
        hmeReserve: {
            path: "/v1/hme/reserve",
            method: "POST"
        },
        hmeUpdateForwardTo: {
            path: "/v1/hme/updateForwardTo",
            method: "POST"
        }
    };

Thanks for your reply.
What region are you in? If I use a VPN to connect to the same region as you might it work?

Sure thing. I'm based in EU..
Would be ideal if you could check the paths though, I'm sure others that have the same issue would also appreciate it ;)

Same issue.
on v1: "[ERR] - Failed to generate email. Reason: Invalid global session"
Copied the cookies correctly ('Semicolon separated name=value pairs'), and there is no VPN in use.
on v2: "[ERR] - Failed to generate email. Reason: 0, message='Attempt to decode JSON with unexpected mimetype: ', url=URL('https://p68-maildomainws.icloud.com/v2/hme/generate?clientBuildNumber=2317Project38&clientMasteringNumber=2317B22&clientId=&dsid=')"
Im based in EU.

Hi @ezyyeah, do you have an iCloud+ subscription? Haven't seen any other causes of the first error you're getting (Invalid global session) other than either expired cookies or account not having an iCloud+.

Regarding v2, the web is still using the old v1 endpoint on my end, so I can't do anything about that unless someone is able to provide the list of endpoints I mentioned in this issue earlier.

Hi ! I've tried to generate emails and I face the same problems as @ezyyeah... Has anyone find a solution? Or maybe another way to make it work?
Thanks in advance !
PS : Based in EU too

Hi @georgiiic, just tested and unfortunately generating is still working for me fine, so not much I can do...
Do you have an active iCloud+ subscription?

Hi @rtunazzz ! Thanks for your response !
It finally worked but I am limited to 5 alias per day unfortunately. And yes I do have the cloud+ subscription.

Well first it seems that the cookies expire pretty quickly so changing it quite often is the way to go. Also use V1 since it still works fine and with V2 get the parsing error. :)


Add content/pt/docs/concepts/scheduling/kube-scheduler.md

This PR translate the kube-scheduler topic

/assign @jhonmike
/assign @femrtnz

I'll take a look later today.

@viniciusbds Can you check the look and feel of the doc. When resizing the window the lines are not aligning properly. I believe that you miss inserted some  code.

Hi @devlware. Here in my browser it seems to work as expected. Could you send an image / gif that shows this error?

/lgtm
/approve


Generate warnings for code that Lebab does not transform

When Lebab fails to transform some piece of code, the user will be left puzzled over whether it's a bug in Lebab or whether the particular code is ignored for a reason.
There are lots of cases where we cannot automatically perform the transformation:
// arrow: not converted to arrow-function because it's using this
array.forEach(function(el) { return this.x + el; });

// let: Not converted to let because let declarations cannot be repeated
var x = initial;
var x += offset;
return x;

// obj-method: Not converted to method foo() because recursive call of foo() would not work
var object = {
  foo: function foo() {
    foo();
  }
};

// commonjs: Not converted to import because imports can not be nested inside blocks
if (foo) {
  var foo = require("foolib");
}

// class: Not converted to class, because ES6 class syntax does not support non-function properties
function MyClass(prop) {
  this.prop = prop;
}
MyClass.prototype.maxCount = 10;

When running Lebab I'd like to get a list of warnings like so:
$ lebab -t commonjs,let input.js -o output.js
 3:1   warning  imports cannot be nested  (commonjs)
 8:4   warning  let declarations cannot be repeated  (let)
10:4   warning  let declarations cannot be repeated  (let)

So I could go in to these files after running Lebab to perform the remaining conversions manually.
Implementation
I see two alternative program-level API-s for these warnings.
const {code, warnings} = transformer.transform(source);

This first version has the drawback that it breaks the current API and is slightly more inconvenient to use than the current API. However, some other tools like recast provide a similar return value. And if we're going to break the API anyway with Lebab 2.0, then we don't need to worry about this additional breaking.
const code = transformer.transform(source, (warning) => console.log(warning));

This version avoids breaking the API, but it is actually more inconvenient to use when you do want to use the warnings. Initially I quite like this approach, but after toying around with code a bit, I'm now leaning towards the other version.

Now merged to lebab-2.0 branch.


No profile is loading

Whenever I try to load any profile this error shows up.
Something went wrong loading the
profile! The error was: Instance of
'Response'

I'm getting this too - the actual error from Twitter is a 403 saying "Your credentials do not have access to this resource". It appears Nitter instances are getting the same error from Twitter (https://github.com/zedeus/nitter/issues/383) so my guess would be Twitter has blocked the method we use 😢
I have an idea that might get around it though...

If twitter really did something, nitter might end up like bibliogram. RIP privacy. 😭

OK, I was able to fix this by switching to a new endpoint. I've released v2.3.2 which contains the fix - it should be available on in GitHub releases in a few minutes, and on F-Droid in a few days (🙃)

Thanks for all you effort.

and on F-Droid in a few days

You're an optimist. 😄


my branch is 30 commits ahead of EddieHub

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

@abdussalam02 Have you edited any other branch in this repo?, do you need patch-1? If not, then I suggest you do what @Panquesito7 said, if you can't though, delete the fork and re-fork it and the issue will be fixed.

@abdussalam02 Now you can close this :)

I’ll close this as it’s not a PR. If you need additional help feel free to ask in the discord.


Add translations from Weblate

Translators:

Arabic

Hirech Baghdad Belkheir
Insaf

German

b068931cc450442b63f5b3d276ea4297
Crusty
Martin
Paul Janowitz
Wobole
Daniel Nikbakht

Spanish

Luis Alejandro Herrera Bolaños
Fabio Risso
Guadalupe Lizeth López Rolón
SamuAlPaca
Miguel Medina

Italian

Francesco
Blackjack

Polish

K N
Marta Kozera
Paul Janowitz

Portuguese (Brazil)

Atílio Antônio
Carlos Daniel Lima de Souza
netrik182
leonarzoh
PacoKajMilito

Russian

Agent LvM
v1docq47

Chinese (Simplified)

anony_xmr
Winslow Hee
Lia Weng
Lekton Zhang

Sent as draft to include changes from #1957

Not sure why the po_update.sh script added those ' signs. I guess that was the reason CI failed, right? @erciccione

Got rid of those ' but still need to add .config files for user-guides and check if all went well. Will be updating this PR accordingly. Sorry for spamming.


How to enable the mouse overlay in the custom mode?

I spent a while looking through the documentation but I could not find a way to enable the mouse in the custom mode.
Am I missing something or has this just not been implemented yet?

@ddogg26 Currently, only keyboard support in the custom mode.

Will do

Hey,
I actually made a custom mode where you always have a mouse here.
I just copied code from another file so all credit to Kuroni.
And i design most of the keys for the keyboard :)

Hey,
I actually made a custom mode where you always have a mouse here.
I just copied code from another file so all credit to Kuroni.
And i design most of the keys for the keyboard :)

thank you so much for making this fork! love you!!

thank you so much for making this fork! love you!!

No probelm ;) ! Hope it's useful :).

@Rocksfire Excuse me, can you make a pull request to this repo? I would love to merge it into the code base. Sorry for not doing a lot since I've been so busy :(

@kuroni Yeah no problem, like I said I just copy paste your code. Also, I changed the Readme file to add a link to the releases and I don't know how not to put it in the pull request.

Don't worry about it, I can add more commits after the PR :)

Ok. I made the pull request :) much love to you for that awesome bango cat <3

Feature added. Will release later I'm too tired :"(


Pick the classpath of jruby from default path if not defined

Experienced the issue with java-10, sun.boot.class.path was not defined in default java environment variables. Noticed here that the only required path is of jruby.jar, which is usually defined as <ruby-home>/lib/jruby.jar
Reference: #899

Sorry I had written something up yesterday without pushing it :|  995be701d58f58a34bc0d1448c9cd54f9fcd9e48
This version assumes rbconfig libdir is main lib directory that contains jruby.jar.  This seems to work ok for rvm and ordinary tar.gz installs.  I don't think any of the other ruby managers put the jar in a different location.
Thanks for thinking about this problem.  Sorry I did not push this yesterday to make you spend brain cycles on it...


Enable tests in workflows

6a09576 enabled running the tests in workflows but they fail to start on all VMs.
The Windows builder hangs on test startup:
https://github.com/windowjs/windowjs/runs/4834049064
The macOS builder crashes in glfwInit:
https://github.com/windowjs/windowjs/runs/4834049290
The Linux builder asserts on glfwInit failing:
https://github.com/windowjs/windowjs/runs/4834077103
Also tried using Xvfb on the Linux builder but got the same result.
Apparently GitHub actions don't support applications that open native windows. This needs further investigation, and possibly an alternative to run tests in PRs.

The Linux build is running the tests now, using xvfb-run.

The Windows runners on GitHub Actions don't have a GL driver; glfwCreateWindow fails with "WGL: The driver does not appear to support OpenGL".
This will require integrating ANGLE to use Direct3D.

The macOS runners crash inside GLFW, in cocoa_monitor.m getFallbackRefreshRate, while calling IOServiceGetMatchingServices for IOFramebuffer; very unclear why this happens. Bypassing that then fails later:
glfwCreateWindow failed (65545): NSGL: Failed to find a suitable pixel format
Try this again later with ANGLE too, and try to use the Metal backend.

Windows is fixed after the migration to ANGLE.
Running on macOS is still failing for the same reason.


Switching projects

Hey, first of all: Awesome project, many thanks for that! ❤
I have one question: Is it possible to switch projects? For me only the last project that I started using docker-compose is shown and I am unable to figure out how to switch to other running projects 🤔

I think it's showing this if docker compose shows information in your current dir.
So your current dir or one of it's parents might have a docker compose file that docker compose detects and lazy docker is showing that.
If that's not the case it might be that you have found a bug :)

If I run those two commands:
docker-compose up -p cpm-mcr
docker-compose up -p cpm-ms
Then lazydocker will only show me the containers created in the second project, which is exactly the cpm-ms scenario from the screenshot above.
The above example is pretty simplified, of course the different projects in real life have different env vars and configurations :)

We're having this issue as well, when copying an existing docker-compose project as template for a new project, running lazydocker in that new project shows the original project images and containers.

This is turning into a quite annoying issue, I currently have 2 folders that I cannot use at the same time due to Lazydocker not being able to differentiate between them. When running a container in the one folder, and moving to the other it'll briefly show the other folder its name, but then switch it to the former.

Same here

This seems to be caused by having running compose projects that have containers with exactly the same name. Seems the project prefix isn't taken into account.

btw. seems this is a duplicate of #122

Having the same issue

We might need to rework how projects are handled or at least provide a way to change to recently opened projects

Please fix this issue! I usually run multiple docker-compose-based projects on the same machine.
I would be absolutely great if lazydocker could be "project-aware" just like docker-compose.
Right now, while the "Project" does show the correct "COMPOSE_PROJECT_NAME", the monitored services are only limited to the last started project.


🐛 (video): Screen freeze sometimes from charging state to idle state

Screen can freeze while passing from charge to idle state with a mix of 2 images.
The following PR seems not enough sufficient and should be improved by moving mutex in FileManager or CoreVideo

#818

Can be detected by reading SDRAM or directly the screen and check that corresponding RGB is correct or not. Can be done at startup and sometimes at random time.


38: Scrape CodeChef's Problems

Description
A Program that scrapes the problem's information of a CodeChef's problem with the given problem code by the user, and saves all information in a text-based file.
Reference Issue number #38
Type of change
Choosing one or more options from the following as per the nature of your Pull request.
NOTE: Check boxes using [x]

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Documentation Update

Checklist:

[x] I have named my files and folder, according to this project's guidelines.
[x] My code follows the style guidelines of this project.
[x] My Pull Request has a descriptive title. (not a vague title like Update index.md)
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] I have created a helpful and easy to understand README.md, with problem description and my name.
[x] I have included a requirements.txt file (if external libraries are required.)
[x] My changes do not produce any warnings.
[x] I have starred this repository.
[ ] I have added a working sample/screenshot of the script.
[x] I have checked for trailing spaces in file names and none have them.

@pratik-choudhari I was not sure if this should go into Projects or Python. Tell me if you need me to change the directory. Thanks.

@andre-silva-14 It must go inside Projects.

@pratik-choudhari Done. Thanks.

@andre-silva-14 Awesome!


How to do automatic tests?

Hi everybody,
I'm trying to code some tests to automatically verify that each version of the chatbot I'm building satisfies few basic requirements. Basically, I would need to be able to send a string to the chatbot and get back the list of predicted utterance ids from the domain and the entities extracted from the NLU.
One method I tested was just to verify the content of the tracker but then I realised that, unfortunately, some of the actions I have defined reset the tracker, so, I cannot fully rely on it.
I noticed the methods start_message_handling and continue_message_handling in processor.py, however I think they require all the actions to be executed "manually" between the calls.
A similar situation would happen if I use the RASA http server.
Is there in RASA any less cumbersome way to code automatic tests?

Hi Alberto - this looks like a Rasa Core issue - could you please re-post the issue there?

you're right, sorry


Make component generator idempotent

I should be able to run the rails generate component button command several times with the same result. Currently, it duplicates the import in frontend/components/index.js
I think we just need to deduplicate the imports when we sort them here: https://github.com/komposable/komponent/blob/master/lib/generators/component/component_generator.rb#L173

Yes,  remove duplicates before rewriting it to file seems the only thing to do to make this possible.


Support for additional (4.6.x) SDK registry keys

On new Windows 10/.NET SDK installations there is no "Software\Microsoft\Microsoft SDKs\NETFXSDK\4.6\WinSDK-NetFx40Tools" registry key (only 4.6.1/2). The same problem exists on Visual Team Services build agents. It's not possible to compile project using TypeProviders without modifying registry. This pull requests solves that (or gives some time before new .NET SDK...).

FYI For the next person that runs into this. I had the same issue. I had Windows 10 with VS2017 installed on a fairly new machine and was getting the same error. I had trouble figuring out which registry keys to add as a workaround, so I installed VS2015 with F# language support and it resolved the issue.


Add SoundCloud Pulse to the app showcase

Simple PR that adds SoundCloud Pulse to the app showcase

@facebook-github-bot shipit

@mkonicek seems like the import failed here.

Running the tests again @chirag04, if they fail @anmonschke can you rebase this?

@brentvatne I rebased the PR

@facebook-github-bot shipit


Advanced permissions - approving a draft bypasses workflow

This is on the 5.7.x series
To reproduce from a clean install:
Enable advanced permissions
Add a 'contributors' group
Add a 'contributor' user to the group
Page types - page - permissions - let contributors add pages of this type
System and settings - permissions - task permissions - let contributors access sitemap
Sitemap - add a "Tests" page, just call it tests and publish it.
Add a workflow, just call it 'approval'.  approve/deny: admininstrators.  notify: administrators.  Notify on approve: contributors..  Notify on deny: contributors
Sitemap - tests - permissions - change to manual.
--- add contributors group to: view versions, view page in sitemap, edit properties, edit contents, approve changes, add subpage
--- For approve changes, add the 'approval' workflow.
Sitemap - include system pages, click on drafts - permissions - it should already be manual with page owner on: view versions, edit properties, edit contents, change page template, edit page type, delete, delete versions, approve changes
--- add contributors to: view versions, view page in sitemap, edit properties, edit contents, add sub-page
Sign out, sign in as contributor user, go to /index.php/tests, the edit bar should be present here.  Click on drafts icon.  Add a new page.  Put 'testing' in the content block.  Go to cog (page settings), page name 'test', location - search for 'tests' and put it there, go to edit mode. Save changes.
Log out and back in, as for some reason this is needed for c5 to realise that you're the owner of the draft and for the publish button to appear.
Go into the draft, and publish page.
Expected result: Page submitted for approval but not made live (as would happen if published directly without saving a draft first)
Actual result:  Page submitted for approval but already goes live, bypassing the workflow.  System appears to see the move from drafts to the correct location as a version increment but approves the initial version, making it visible.  An email is still fired out saying that the page needs to be approved.
Also observed by another used in this forum thread although it appears they may have worked around it somehow, the same steps didn't work for me: https://www.concrete5.org/community/forums/5-7-discussion/drafts-and-workflow

Also observed by another used in this forum thread although it appears they may have worked around it somehow.

I am the user in question but the solution I mention doesn't work anymore.


Add ANI Manager to Admin

Describe the problem
I need to add new ANIs to the database, associate them with one or more incidents, set their end dates, extend end dates.
Describe the solution
Add a new page within admin where I can essentially manage the phone_ani and phone_ani_incidents tables.
Additional context and instructions
Add any other context or screenshots about the feature request here.

Completed.


Add graphics screenshot and default display options

📝 Description of the feature
when displaying graphics it is often useful to be able to define a screenshot rather than launch graphics interactively, setting display properties and view.
💡 Steps for implementing the feature
Add parameters for specifying a filepath for a screenshot, color by options, view orientation.  When screenshot is set do not display interactively. Option to not display buttons.
🔗 Useful links and references
No response

Partially complete. Opening separate issues for remaining items.


Doubleclicking an item does not change the preview state

Currently it is not possible to listen natively on a double click for a treeview item. But I'm sure I've seen an upstream issue for this.

https://github.com/microsoft/vscode/issues/85636#issuecomment-726171606
That doesn't seem to be the case anymore.

OK, lost the abililty to use this when I changed treeitem.command from "vscode.open" to a custom command that triggers "betterOpenEditors.showTab". I did this as "vscode.open" cannot handle uri objects with scheme "untitled". So now all files are handled with "vscode.open" and only the "untitled" files use the custom command.


Preferred version 7.10.0 of nodejs not available (for item nodejs)

I'm trying to get cross-compiling nodejs of the latest version on poky.
Instead of node v7.10.0, bitbake produces v 4.6.1:
$ ~/fsl-community-bsp/build/tmp/log/cooker/imx7s-warp$ cat console-latest.log
NOTE: preferred version 7.10.0 of nodejs not available (for item nodejs)
NOTE: versions of nodejs available: 4.6.1
NOTE: preferred version 7.10.0 of nodejs not available (for item nodejs-dev)
NOTE: versions of nodejs available: 4.6.1

Build Configuration:
BB_VERSION        = "1.32.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-16.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "imx7s-warp"
DISTRO            = "poky"
DISTRO_VERSION    = "2.2.3"
TUNE_FEATURES     = "arm armv7ve vfp thumb neon       callconvention-hard       cortexa7"
TARGET_FPU        = "hard"
meta
meta-poky         = "HEAD:b9182def2952952c5aa716d93a9094846719bdc3"
meta-oe
meta-multimedia   = "HEAD:b40116cf457b88a2db14b86fda9627fb34d56ae6"
meta-freescale    = "HEAD:05681fdf8298bb441c15135eae424c7601b07e98"
meta-freescale-distro = "HEAD:cd5c7a2539f40004f74126e9fdf08254fd9a6390"
meta-freescale-3rdparty = "HEAD:e55167c3c2770c07a475342f99cc2a3a23fbfa0c"
meta-gcs          = "<unknown>:<unknown>"

Here is my build/conf/bblayers.conf:
POKY_BBLAYERS_CONF_VERSION = "2"

BBPATH = "${TOPDIR}"
BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"

Solved. EXTRALAYERS is not BITBAKE var. I should have uncommented three last lines.


Auto update formulas on sheet

Right now I am using MMM_GoogleSheet to display a list of daily chores on my MM. The list is broken down by kid and the chore changes each day. The google sheet has formulas that lookup the date from a chart and pulls the correct name based on the parameters. The issue I have is the google sheet will not update unless I have the sheet open.
Is there anyway to force MM to refresh the sheet? Or a script I can put in google sheet that will refresh every so often?
Here is my config:
{
module: "MMM-GoogleSheets",
header: "Daily Chores",
position: "bottom_left",
config: {
url: "my url id removed for privacy",
sheet: "Sheet2",
range: "B3:C9",
updateInterval: 1, // minutes
requestDelay: 250, // ms
cellStyle: "flat",
stylesFromSheet: ["font-size", "font-style"],
}
},
here is the css:
.module.MMM-GoogleSheets header {
font-size: 30px;
line-height: 30px;
}
.module.MMM-GoogleSheets {
margin-left: 400px;
background-color: rgba(255,255,255,0.4);
border-radius: 8px;
padding: 8px;
color: #000;
Height: 268px;
width: 355px;
text-align: center;
line-height: 20px;
}

This is a great idea! I will add this to the next iteration.

@McLoud2014 this change has been added, thank you for the recommendation. I confirmed that with the file closed, the script still updates the formulas.
Note that you will need to update to the latest version of the google apps script library to see the changes. You can follow the steps in the README under "Updating the library".
Please send me screenshots of you using the module so I can add them to the README as inspiration for others.


Nested groups are required

I found your closed issue https://github.com/thephpleague/route/issues/96
We think about using your plugin in our very complex app.
But we (urgently) require nested routing groups, because it is not optimal to use multiple singe group definitions:

readablility is bad
changing the path is complex and "dangerous", because one missed group can kill the app

$router->group("/user", function($router) {
  $router->map("GET", "/", ...
  $router->map("GET", "/list", ...
  $router->group("/modify", ..
    $router->map("GET", "/name", ....
    $router->("/details", ...
      $router->map("GET", "/usercode", ....
});

You understand the scheme ? When we should define all groups in single blocks:
$router->group("/user", function($router) {
  $router->map("GET", "/", ...
  $router->map("GET", "/list", ...
})

$router->group("user/modify", ..
    $router->map("GET", "/name", ....
})

$router->("user/modify/details", ...
  $router->map("GET", "/usercode", ....
});

If you have to change the path "user/" not ... that will easily end up in a complete mess !
With "search and replace" the keyword "/user" ... it will also replace mapped functions.
Most framework offer this methods (of course), because they are (in our opinion) a basic method of organizing and structuring routing and workflows.
Is there a change to get this feature or will this ticket (like #96) also be closed ?
If so, pls give me some feedback and we'll have to change the routing package.
Thank you.

It's unlikely that this will be introduced, iirc, when I considered it before, I didn't like the trade off from whatever solutions I was looking at, reusing a route group within a group opened up huge potential for user land error, and have multiple levels of groups introduced more complexity than I was comfortable with.
Happy to look at a PR if you can find a nice solution but it would need heavy scrutiny.


[CI] Switch publishing draft releases & changelogs to Github Actions

Generation of changelogs and publishing of draft releases now uses the same ruby module as we use for Polkadot. Allows us to more easily change the format of draft releases by editing substrate_release.erb.
@gnunicorn to invoke it from the command-line to generate changelogs, simply run it from the substrate dir like so: GITHUB_TOKEN=<redacted> ruby .maintain/github/generate_release_text.rb v2.0.0-rc6. Specifying the Github token is technically optional, but if it's a big changelog being generated, you'll likely run out of free Github API calls.

@s3krit please merge master

Closed due to it being stale for while.


Add str methods

Please do rebase rather than merging in the main branch, the git history looks so weird now.
For example:
git checkout main
git pull origin main
git checkout add-str-methods
git rebase main
git push --force origin add-str-methods


Improve handling for broken channels

Ensure that event publishing is retried when TimeoutExceptions
are encountered.
Reolves #60
Thanks for contributing to Logstash! If you haven't already signed our CLA, here's a handy link: https://www.elastic.co/contributor-agreement/

LGTM


opt change string ser der way to improve performance

Proposed changes
ds q23
before：40
after：35

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

run buildall

run performance


Remove usage of Function.prototype.toString()

Tasks
Initial Feature.

[x] Poc Concept (#995)
[x] Resolve  runtime performance Regressions (#995).

[x] Move "ToFastProps" to self Analysis phase.
[x] Investigate performance regression for complex grammars

[x] Implement Semantic Actions Wrapper.
[x] JSDocs for Semantic Actions Wrapper.
[x] Implement NOOP replacements for additional Parser methods ( LA / BACKTRACK / ...?)
[x] Ensure returned value of the "Recorder methods" is as close as possible to the regular methods.
- Will reduce "recording failures"
[x] Implement Flag for "Recording Phase"
[x] Provide a useful error message if a recording failure occurred.

[x] Invalid SUBRULE Arg.
[x] Invalid CONSUME Arg.
[x] Some other exception.

[x] All Unit tests passing.
[ ] 100% Coverage
[ ] All Integration tests passing.
[x] Inspect cold start performance changes.

Features to Remove

[ ] Grammar Serialization (?)

Docs

[ ] Update Tutorial.
[ ] Separate In-Depth for embedded actions and possible problems:
- Code that would throw exceptions during parsing.
- Code that modifies global/instance state.
[ ] Update FAQ parts for minification/bundling.
[ ] Deprecate Webpack / Minification examples.
[ ] Update Breaking Changes.
[ ] Remove limitations related to order of properties (SEP / NAME?)

New Examples:

[ ] Grammar Composition - defining new parsing methods by end users.
[ ] Consider a "dynamic Grammar" example.

Potential Upgrades ( For the future in new issues)

Automatic ignoring of ambiguities that have a user defined GATE.
Rule/Token names should now not be limited to ASCI. (Unicode Rule names).
d.ts generation for the CST.
Evaluate replacing MANY_SEP with a Macro
Leverage the Record Phase to implement runtime checks.

The Problem
The use of Function.prototype.toString() to analyze the grammar causes many issues.
These issues are primarily with bundling which may modify the source code of the grammar (webpack/babel/...). but also by adding constraints and limitations to Chevrotain capabilities/features because the current analysis being done is very limited, e.g:

In MANY_SEP the SEP must appear first otherwise we cannot read it.
User defined Grammar utilities (Grammar Composition) are not possible because the self analysis logic is limited to known DSL method names, e.g:

     class MyParser extends CstParser {
            TWICE(tok) {
                 this.CONSUME(tok);
                 this.CONSUME(tok);
            }
     }

Generation of d.ts signatures for the CST was blocked due to limited analysis information (See #851)

The Solution
@blainehansen (#683) and @EqualMa (#992) Suggested that the Grammar Structure may be "recorded" instead of being parsed from the source text (Function.toString).
This means the grammar rules would be executed with a different implementation of the Chevrotain engine, during this alternative execution the relevant information would be collected and the GAST nodes would be created.
This is a great idea 👍 which may also provide cold start performance benefits.
There is one major issue with this concept which is that during the "recording" phase, end user's code may throw a runtime exception thus failing the recording. The possible workaround for this is to provide a wrapper for embedded actions which would not be executed during recording phase.
This would be a breaking change, however CstParsers should not have many issues because
by definition they have very few (if any) semantic actions.
And even in the case of EmbeddedActionsParsers only some semantic actions could cause issues during recording...

Cold Start performance is now ~20% faster
The GAST Building seems to take take at most 15% of the cold start time so GAST serialization seems to have no purpose as it would provide negligible gains for cold start performance.

Now at the hardest part, the documentation phase... :(


Feature (all): add support for nodejs16.x runtime

Description of the feature request
Problem statement

Support for nodejs16.x currently missing.
Summary of the feature

The runtime nodejs16.x will be GA this week, see this related issue.
As part of this issue, support for the Node.js v16 runtime should be added where relevant.

Code examples

N/A
Benefits for you and the wider AWS community

N/A
Describe alternatives you've considered

N/A
Additional context

N/A
Related issues, RFCs
https://github.com/aws/aws-lambda-base-images/issues/14

From a first round of research, here are some places that needs updating:

.devcontainer/Dockerfile
.devcontainer/devcontainer.json
.github/workflows/on-merge-to-main.yml
.github/workflows/on-release-prod.yml
.github/workflows/pr_lint_and_test.yml
.github/workflows/run-e2e-tests.yml
examples/cdk/src/example-function.ts
examples/sam/template.yaml
CONTRIBUTING.md

At the moment we are blocked by CDK releasing support for the new runtime (we use CDK in the integration tests).
The PR that adds support has been already merged yesterday https://github.com/aws/aws-cdk/pull/20261 so hopefully it'll be released soon.

For those that run across this that use terraform: https://github.com/hashicorp/terraform-provider-aws/issues/24714

On hold (hopefully for a relatively short time) until the CDK release containing this update: https://github.com/aws/aws-cdk/pull/20261

Both CDK and SAM added support for the new runtime, will link a PR to the issue shortly.


Fix for BinarySensor handling

fill the AcceptedItemType when creating the channel
Devices of type "Contact" need different state class

Thanks for contributing @amandel !


Update circe-generic, circe-literal to 0.14.0-M7

Updates

io.circe:circe-generic
io.circe:circe-literal

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

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

labels: library-update, semver-pre-release

Superseded by #42.


Introduce deprecation warnings on beta/canary ember

Since https://github.com/emberjs/ember.js/pull/19025 this addon triggers deprecation warnings

Thanks for the heads up!
Form a quick glance, it looks like we could just start exposing the actual destroyable API from that version onward.

The deprecations on 3.20+ are fixed (as of #70), and just need a release.
@pzuraq / @buschtoens - Would you mind adding me to npm so I can release once the other changes I've got cookin' up are done?

Either @pzuraq already added you by now, or you've already been an owner. :)

Thank you @buschtoens (and @pzuraq)!

Resolved in https://github.com/ember-polyfills/ember-destroyable-polyfill/releases/tag/v1.0.0


HDFS-17116. RBF:  Update invoke millisecond time as monotonicNow() in RouterSafemodeService

Description of PR
https://issues.apache.org/jira/browse/HDFS-17116
The following exceptions occurred in our online environment:

After the machine restarts, the system time is abnormal, is a time in the future
After starting the router, there is log "safemode exit for 24981702 milliseconds...", which has been in the safemode state,this is mainly because the startupTime is recorded as the future system time when router is started at this time, and the system time returns to normal soon, resulting in a negative delta, at this time, the service can only be restored by restart the router service.

The relevant logs are:
2023-07-15 03:15:49,276 INFO  ipc.Server xxx
2023-07-15 11:21:03,785 INFO  router.DFSRouter (LogAdapter.java:info(51)) [main] - STARTUP_MSG:
/************************************************************
STARTUP_MSG: Starting Router
...
2023-07-15 11:21:51,325 INFO xxx
2023-07-15 03:22:00,257 INFO xxx
2023-07-15 03:22:29,829 INFO router.RouterSafemodeService (RouterSafemodeService.java:periodicInvoke(167)) [RouterSafemodeService-0] - Delaying safemode exit for 28761777 milliseconds...

Maybe we can be compatible with this case at the code level, can invoke monotonicNow() to calculate the delta.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 49s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
49m 19s

trunk passed

+1 :green_heart:
compile
0m 44s

trunk passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
compile
0m 36s

trunk passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
checkstyle
0m 29s

trunk passed

+1 :green_heart:
mvnsite
0m 44s

trunk passed

+1 :green_heart:
javadoc
0m 42s

trunk passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
0m 30s

trunk passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
spotbugs
1m 30s

trunk passed

+1 :green_heart:
shadedclient
39m 34s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 33s

the patch passed

+1 :green_heart:
compile
0m 34s

the patch passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javac
0m 34s

the patch passed

+1 :green_heart:
compile
0m 30s

the patch passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
javac
0m 30s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 18s

the patch passed

+1 :green_heart:
mvnsite
0m 33s

the patch passed

+1 :green_heart:
javadoc
0m 28s

the patch passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
0m 23s

the patch passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
spotbugs
1m 24s

the patch passed

+1 :green_heart:
shadedclient
39m 25s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
22m  7s

hadoop-hdfs-rbf in the patch passed.

+1 :green_heart:
asflicense
0m 35s

The patch does not generate ASF License warnings.

165m 51s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5876/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5876

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux d255c8193617 4.15.0-212-generic #223-Ubuntu SMP Tue May 23 13:09:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 4c67183e0987241cf4d32d79312361ed9ca9238e

Default Java
Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5876/1/testReport/

Max. process+thread count
2434 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs-rbf U: hadoop-hdfs-project/hadoop-hdfs-rbf

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5876/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

Hi Sir @Hexiaoqiao @slfan1989 @hfutatzhanghb Update PR and because update  implementation need modify the name of the issue.
please help me review this pr again when you have free time. Thanks a lot~

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 49s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
49m 10s

trunk passed

+1 :green_heart:
compile
0m 41s

trunk passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
compile
0m 37s

trunk passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
checkstyle
0m 28s

trunk passed

+1 :green_heart:
mvnsite
0m 41s

trunk passed

+1 :green_heart:
javadoc
0m 42s

trunk passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
0m 31s

trunk passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
spotbugs
1m 27s

trunk passed

+1 :green_heart:
shadedclient
39m 17s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 34s

the patch passed

+1 :green_heart:
compile
0m 37s

the patch passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javac
0m 36s

the patch passed

+1 :green_heart:
compile
0m 31s

the patch passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
javac
0m 31s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 18s

the patch passed

+1 :green_heart:
mvnsite
0m 32s

the patch passed

+1 :green_heart:
javadoc
0m 29s

the patch passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
0m 23s

the patch passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
spotbugs
1m 24s

the patch passed

+1 :green_heart:
shadedclient
38m 44s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
22m 34s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt
hadoop-hdfs-rbf in the patch passed.

+1 :green_heart:
asflicense
0m 35s

The patch does not generate ASF License warnings.

164m 58s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.federation.router.TestRouterRPCMultipleDestinationMountTableResolver

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5876/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5876

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 903479638afd 4.15.0-212-generic #223-Ubuntu SMP Tue May 23 13:09:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 2376747fa365fcd75d43039da7e13bc596c2d84b

Default Java
Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5876/2/testReport/

Max. process+thread count
2428 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs-rbf U: hadoop-hdfs-project/hadoop-hdfs-rbf

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5876/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

The failed unit test seems unrelated to the change, I will follow up on this UT failure issue and create a new issue to solve it

Committed to trunk. Thanks @haiyang1987 for your contribution and @hfutatzhanghb @slfan1989 for your reviews!

Thanks @Hexiaoqiao @slfan1989 @hfutatzhanghb help me review and merge it.


Incorrect url for Github repository on readme

Just flagging a minor issue that the readme Github repository link points to ggflowchart instead of prettycols (and this is replicated on various sites that republish this readme page).

Thanks for highlighting this!


Connecting Vega Wallet

As a user
When I have opened / run my Vega Wallet Desktop App, CLI App or Hosted Fairground Wallet
I want to see that the dapp has recognised that the wallet service is running /connecting and give me information about what to do / will happen next
So that I know what to expect / have to do and can continue the connection process
Acceptance criteria

Flow for context:

Since this ticket was raised, https://github.com/vegaprotocol/specs/pull/1181# has acceptance criteria for connecting to a wallet. The ACs on this ticket should be added to ones in the specs repo as these are what we write tests against.
I think this one is covered in: 0002-WCON-009

This is blocked as it is a common component that is currently being developed in Console, once done it should be a case of TFE gets it for free (but we'll want to verify :) )


Document restic error handling policy

When an error is encountered during backup (e.g. unreadable file, directory without listing privilege, etc.) restic informs the user and continues, in spite of the error. The general rule is: Inform the user about the error and continue (if possible).
This issue can be closed once this rule about error handling is documented.

If no one is working on it I will take a stab at it in a couple of hours, so "dips" I suppose :D

It's yours ;)

@TobiasBales Still up for it? We'd appreciate it!

I'll try to include something about this in the FAQ or Troubleshooting section after/in relation to restructuring the documentation soon.

I'm looking for an entry point to contribute to the project, should I start with this?

@rossijonas Sure, feel free. I imagine it'd be a pretty short note in the backup section of the documentation. But see what you think :)


integrate marketplace

integrate the marketplace
integrate the marketplace
make protos work
add statesync script

closing this PR as it is outdated now


pretrained weights prediction have a little bias?

Hi, do u know why does this bias happen?

Hi,
I think the reasons may consist of (1) lack of appearance clues at the remote horizon; (2) lack of aforementioned data.

@liuruijin17 Did u notice these samples which happens mostly in curved scenarios? Is there a way to make LSTR solve it? (Otherwise this problem was quite same as UltraFfastLane algorithm which based on anchor, the lane line can not locate on lane mark tightly)

Hi @jinfagang
We have noticed these samples and here are some immature ideas:

The number of labeling points at the remote horizon is very sparse.
The data imbalance between points at the curved regions and linear aligned points.
The curvature distribution of point is hard to balance, even though the number of curved lanes can be ensured to collect a sufficient number of training lanes.
The appearance information at the remote horizon is severely compressed due to projective transformation.

How to solve it?

New training loss which can balance the data imbalance.
Novel architecture to focus on the remote region.
More suitable mathematical modeling for the lane structures at the remote region.

@liuruijin17 Waiting for LSTRv2.0

@jinfagang Thank you for your interest and support, and it is a pleasure to discuss this with you!


Simplify triangle description.

I thought the description for triangle was a little wordy, so I shortened it.
Happy to revert on this if anyone thinks the text is not an improvement, but the line at the top:

The program should raise an error if the triangle cannot exist.
should be changed, as not all languages would idiomatically raise errors in this case.

I do like the changes.

I made changes as suggested by @petertseng, is there anything else?


server side translations language set

Setting language  on client side does not change language set in server side.
How could this be achieved?

Good question.  I have this issue as well.

For my custom use, i did it like this, it's not perfect but maybe it can help :
// That part is from a server side render code

// First, get current locale by cookie or segment uri, based on your application
const locale = getLocale();

// Get all translations for that language
const translations = TAPi18n.translations[locale].project;  // "project" is the meteor app namespace

// Then overwrite the fallback language (here "en")
TAPi18n.loadTranslations({en: translations, "project");

It's more an hack than a real solution...


xSQLServerSetup: Get-Resource does not detect following features: BOL, DQ, DQC, SDK, SNAC_SDK

Get-Resource does not detect following features: BOL, DQ, DQC, SDK, SNAC_SDK.
Error Message: Test-TargetResource returned false after calling set.
xSQLServerSetup Instance
{
Action = "Install"
InstanceName = $SqlInstanceName
SetupCredential = $DeployServiceAccount
SourcePath = "C:\Media"
Features = "FULLTEXT,BC,DQ,BOL,SSMS,DQC,ADV_SSMS,AS,SDK,SNAC_SDK,SQLENGINE,CONN,RS"
ProductKey = $ProductKey
}
Plan to fix this by implementing additional Get-Resource method checks for each of these features.

Operating System: Windows Server 2012 R2
SQL Server: 2014
PowerShell: 5
Module: xSQLServerSetup
Version: <IP_ADDRESS>

If I understood correctly you will send in a PR for this? Then i label this as in progress. 😄 Thanks!

Hi Johan,
That's correct. I will send in a PR for this.
Regards,
Pooja Goel
On Fri, Apr 21, 2017 at 2:20 AM, Johan Ljunggren<EMAIL_ADDRESS>wrote:

This will also fix #490
https://github.com/PowerShell/xSQLServer/issues/490
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/PowerShell/xSQLServer/issues/516#issuecomment-295799062,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQ3UIBhkHOlZLI7ISbEDohC1SQTXLw8Zks5rx4XEgaJpZM4NCiSp
.

@GoelPooja I see SNAC_SDK is listed in this issue. But I can't see that it is added in PR #521. It is not a problem for that PR, you don't have to add it.
It just that this issue will be closed when I merge the PR, so maybe we should open another issue for that? Or did you encounter problem when trying to add it, like it's not possible to add it or there is no point of adding it?

Hi Johan,
SNAC_SDK is a default feature for SQL server and there is no obvious way to
detect the feature that is why I did not add it.
I have updated the issue accordingly.
With my understanding no need of this feature in feature list.
On 2 May 2017 12:56 am, "Johan Ljunggren"<EMAIL_ADDRESS>wrote:
@GoelPooja https://github.com/GoelPooja I see SNAC_SDK is listed in this
issue. But I can't see that it is added in PR #521
https://github.com/PowerShell/xSQLServer/pull/521. It is not a problem
for that PR, you don't have to add it.
It just that this issue will be closed when I merge the PR, so maybe we
should open another issue for that? Or did you encounter problem when
trying to add it, like it's not possible to add it or there is no point of
adding it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PowerShell/xSQLServer/issues/516#issuecomment-298348365,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQ3UIPP-S9sf9vb5Fcux6YIR1ZiHW9E6ks5r1fKvgaJpZM4NCiSp
.

@GoelPooja Great! That will do! :)