[fmilib] Build error

Host Environment

OS: Linux CentOS7
Compiler: gcc (GCC) 8.3.1 20190311 (Red Hat 8.3.1-3)

To Reproduce
./vcpkg install fmilab
Failure logs
config-x64-linux-dbg-err.log
config-x64-linux-dbg-out.log
vcpkg-manifest-install.log
config-x64-linux-dbg-CMakeCache.txt.log
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:96 (message):
    Command failed: /home/vsm/vcpkg/downloads/tools/cmake-3.24.0-linux/cmake-3.24.0-linux-x86_64/bin/cmake /home/vsm/vcpkg/buildtrees/fmilib/src/ILibrary-2-bb711565e5.clean -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/home/vsm/vcpkg/packages/fmilib_x64-linux/debug -DFMILIB_BUILD_TESTS=OFF -DFMILIB_BUILD_STATIC_LIB=ON -DFMILIB_BUILD_SHARED_LIB=OFF -DFMILIB_BUILDING_LIBRARY=OFF -DFMILIB_BUILD_WITH_STATIC_RTLIB=OFF -DCMAKE_MAKE_PROGRAM=/usr/bin/ninja -DCMAKE_SYSTEM_NAME=Linux -DBUILD_SHARED_LIBS=OFF -DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=/home/vsm/vcpkg/scripts/toolchains/linux.cmake -DVCPKG_TARGET_TRIPLET=x64-linux -DVCPKG_SET_CHARSET_FLAG=ON -DVCPKG_PLATFORM_TOOLSET=external -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE -DCMAKE_VERBOSE_MAKEFILE=ON -DVCPKG_APPLOCAL_DEPS=OFF -DCMAKE_TOOLCHAIN_FILE=/home/vsm/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON -DVCPKG_CXX_FLAGS= -DVCPKG_CXX_FLAGS_RELEASE= -DVCPKG_CXX_FLAGS_DEBUG= -DVCPKG_C_FLAGS= -DVCPKG_C_FLAGS_RELEASE= -DVCPKG_C_FLAGS_DEBUG= -DVCPKG_CRT_LINKAGE=dynamic -DVCPKG_LINKER_FLAGS= -DVCPKG_LINKER_FLAGS_RELEASE= -DVCPKG_LINKER_FLAGS_DEBUG= -DVCPKG_TARGET_ARCHITECTURE=x64 -DCMAKE_INSTALL_LIBDIR:STRING=lib -DCMAKE_INSTALL_BINDIR:STRING=bin -D_VCPKG_ROOT_DIR=/home/vsm/vcpkg -DZ_VCPKG_ROOT_DIR=/home/vsm/vcpkg -D_VCPKG_INSTALLED_DIR=/home/vsm/vsm/vsm-release2/vcpkg_installed -DVCPKG_MANIFEST_INSTALL=OFF -DFETCHCONTENT_FULLY_DISCONNECTED=ON
    Working Directory: /home/vsm/vcpkg/buildtrees/fmilib/x64-linux-dbg
    Error code: 1
    See logs for more information:
      /home/vsm/vcpkg/buildtrees/fmilib/config-x64-linux-dbg-CMakeCache.txt.log
      /home/vsm/vcpkg/buildtrees/fmilib/config-x64-linux-dbg-out.log
      /home/vsm/vcpkg/buildtrees/fmilib/config-x64-linux-dbg-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_cmake.cmake:325 (vcpkg_execute_required_process)
  buildtrees/versioning_/versions/fmilib/9bf58761098e936528140d847911dab3613f5983/portfile.cmake:53 (vcpkg_configure_cmake)
  scripts/ports.cmake:147 (include)

error: building fmilib:x64-linux failed with: BUILD_FAILED

  The dependency target
  "/home/vsm/vcpkg/buildtrees/fmilib/x64-linux-dbg/CMakeCache.txt" of target
  "expatex" does not exist.
Call Stack (most recent call first):
  CMakeLists.txt:205 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev):
  Policy CMP0058 is not set: Ninja requires custom command byproducts to be
  explicit.  Run "cmake --help-policy CMP0058" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  This project specifies custom command DEPENDS on files in the build tree
  that are not specified as the OUTPUT or BYPRODUCTS of any
  add_custom_command or add_custom_target:

   ExpatEx/./libexpat.a
   ExpatEx/libexpat.a

Currently FMI has been migrated to github, we need to re-examine this port. https://jmodelica.org/

The upstream has fixed this. https://github.com/fmi-tools/fmi-library/commit/d628179892262622613bb4a845eb3cbbe63e9bd9

Can you test #29834? It uses expat, minzip and zlib from vcpkg. The linking requirements are included in the unoffical cmake config. However, there is no real test case (executable) in vcpkg.
fmilib wasn't tested in vpckg CI for linux and osx, and was very well integrated into vcpkg.

@keinkoenig Please verify if your issue was actually fixed.

With https://github.com/microsoft/vcpkg/pull/29805, I still get:
CMake Error:
  Running

   '/home/kpa/Projekte/vcpkg/vcpkg/downloads/tools/ninja/1.10.2-linux/ninja' '-C' '/home/kpa/Projekte/vcpkg/vcpkg/buildtrees/fmilib/x64-linux-rel' '-t' 'recompact'

  failed with:

   ninja: error: build.ninja:1546: multiple rules generate ExpatEx/libexpat.a [-w dupbuild=err]

@keinkoenig Again, can you test https://github.com/microsoft/vcpkg/pull/29834, please? See that PR and for https://github.com/microsoft/vcpkg/issues/27890#issuecomment-1443694632 extra information.


show_nulls true is not honored in record page

By default record page is hiding all the columns with null value. Setting the show_nulls to true for any of the columns is supposed to override this heuristics and instead show the null value.
ermrestjs will send null if we're not supposed to show the null value (otherwise it will return empty string). And in chaise we used to check for null and if the value wasn't null we would show the column. So in case of "show_nulls": true you could see the column name without any value.
But it seems like when I added pseudo-column support to record page I changed the condition without considering show_nulls.
We should fix this. But what should be the expected behavior? Should we show empty column value like we used to? or should we use the special "No Value" display?

Instead of honoring the show_nulls annotation, we decided to honor the "Show/hide empty sections" button for column directives that rely on a secondary request (aggregate, etc).


how to translate image like cyclegan？

I noticed you didn't post the code about image translation like cyclegan, did you？

Nope, I haven't uploaded the code for translating images. I will do that after the Christmas vacation. Stay tuned!

Any chance on this code being uploaded? Thanks!


Fix to honor disableShowClear option

Hello,
I discovered that the disableShowClear options appears to not be working,
rather than create an issue I created a pull request.
Hope this is okay,
thanks,
vidhill

Can you please add a few tests to make sure the disableShowClear is never broken again? In addition, can you update CHANGELOG.md with your fix? Thanks

Okay, I will do that

I have added tests for disableShowClear behaviour, and updated the Changelog

Anything I can do to help get this through?

Released version 2.1.5 with your fix. Thanks again for the help


Have the ability to select rows in table

What would that feature address
It would be useful to be able to select rows in a Taipy table, even if the table is not editable.
Description of the ideal solution

Have a "selection_mode" property with possible values: None (the default), single_row, multiple_rows.
Have a callback function to be called on "selection changed" event
Should be linked to the same property value as the existing "selected" property

Caveats
Other options

one can add a boolean field on row object, but:
can be editable only if the whole table is editable (which is not always what we want)
is currently shown as a toggle (would expect a check box)

Acceptance Criteria

[ ] Ensure new code is unit tested, and check code coverage is at least 90%
[ ] Propagate any change on the demos and run all of them to ensure there is no breaking change
[ ] Ensure any change is well documented

To allow edition of only one column, you can specify |not editable|editable[boolean column name]|
But I'll add an on_action property

Thanks, but can you give an example of what is expected for |editable[boolean column name]| ?


feat(prettier): handle binary in in for statement init

Current dependencies on/for this PR:

main

PR #1512   👈

This stack of pull requests is managed by Graphite.

Merge activity

Nov 22, 11:50 PM: @Boshen merged this pull request with Graphite.


Link to data.govt.nz To access the machine readable data

link to here https://catalogue.data.govt.nz/dataset/fsd
asumption: place this in the footer
TODO: What text do we want?

Place in the footer

Data sourced from data.govt.nz (with appropriate attributes)?
At which point should we also indicate the address data's source?

By address data, do you mean the data.govt.nz data set? or the address finder api?

The use of the api.addressfinder.io

We don't need to include that for this story. But good idea to explain that to people viewing the proof of concept


instrumentation-fetch doesn't support array headers

What version of OpenTelemetry are you using?
0.24.0
What version of Node are you using?
14.15.4
Please provide the code you used to setup the OpenTelemetry SDK
What did you do?
fetch('https://example.com', { headers: [['custom', '1']] })

What did you expect to see?
Fetch to be sent with the custom: 1 header.
What did you see instead?
Fetch being sent with 0: custom,1 header.
Additional context
The _addHeaders in instrumentation-fetch doesn't take into consideration that HeaderInit.headers accepts a string[][]. See https://github.com/open-telemetry/opentelemetry-js/blob/5fefbb274893a93033ef3786f75173c62682ade7/packages/opentelemetry-instrumentation-fetch/src/fetch.ts#L142

Issue is at https://github.com/open-telemetry/opentelemetry-js/blob/main/experimental/packages/opentelemetry-instrumentation-fetch/src/fetch.ts#L168
I think, adding type check (to handle string[][] case) in line L168, L163 and L159, can solve issue.
I can fix this issue, assign to me if no other is working on it.

@banothurameshnaik Unfortunately I don't have time right now to work on it so go ahead. I don't see an option to assign someone to this issue. It looks like I don't have permissions to do it.


No state history found since 0.62 upgrade

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.62
Python release (python3 --version):
3.5.3
Component/platform:
Front-end
Description of problem:
Since updating to home assistant version 0.62 the state history is only showing for temperature etc devices not for Boolean/ openings / automations/ switches
Expected:
State history was working fine before the update - other users have noted the functionality is also broken in 0.62 (forum)
Problem-relevant configuration.yaml entries and steps to reproduce:

Traceback (if applicable):

Additional info:
https://community.home-assistant.io/t/no-state-history-found-how-to-configure-history-and-recorder-correctly/27852/15

Hassio 0.62.1 does fix the issue in firefox, NOT in safari, even after clearing the browser cache.

Hassio 0.62.1 ok with Firefox and Chrome. But as mentioned, cache clearing has to be done.

Still not working for my on 0.62.1. Testet on Firefox, chrome, iOS.app

All working for me

I downgrade my hassio to 0.61.1 and the recorder starts working again correct on all devices.

I don't know if this issue is the same as im seeing.
But Safari seems to break when opening history page, after adding my first two sensors which display a chart.
It works fine in chrome, but safari just keeps loading.
The console shows this error.
[Error] Unhandled Promise Rejection: TypeError: e.includes is not a function. (In 'e.includes(n)', 'e.includes' is undefined) 	(anonymous function) (data:text/javascript;charset=utf-8,%7B…%0A:1:924) 	promiseReactionJob

Im seeing the same problem in the Home Assistant app on IOS. No history is displayed, did a reset and uinstalled the app, but same problem.

Today I upgraded to again from 0.61.1 to 0.63.0 in hope this issue is fixed.
But I have the history is not shown or wrong. And again I have an unexpected high CPU usage on my Raspberry Pi3.  75-80% (on 0.61.1: 6-10% CPU)

I'm having same issue on an Unraid server that runs Home Assistant in a docker. It is using MySQL running on the same server in another container.
I notice when I click to view the history on some things it will say "No state history found". When I click it again it will usually populate but only show the most recent value and the history from when it was last working. In the image below you can see what I am talking about. The graph just flat lines. I can confirm the device is still posting data, it's just not being displayed in the graph.

After updating to HA 0.63.2 (which restarted HA) the history is now updating again. But the history for the missing point in the graph is still missing.

I have exact the same issue since yesterday. I'm running Hassio on raspberry pi 3 with the MariaDB Addon. I cant get it to work.
I switched back to the default in Database and everything works as expected.

@kolossboss I will keep an eye on it. It's currently still working though.

@kolossboss Yeah it stopped working again. When I went to check on it after a while it gave me this:

so I closed out of it and opened it again and got this:

Was working fine from 10:49 AM to 11:19 AM then the issue appeared again.
I just checked my log and I have an event in home assistant a couple minutes before it stopped working:
Timer got out of sync. Resetting
11:12 AM core.py (ERROR)

Here is my entire log since I updated it a couple hours ago (when I posted earlier):
Error handling request
1:09 PM components/recorder/util.py (ERROR)
Error executing query: (sqlalchemy.exc.InvalidRequestError) Can't reconnect until invalid transaction is rolled back [SQL: 'SELECT states.state_id AS states_state_id, states.domain AS states_domain, states.entity_id AS states_entity_id, states.state AS states_state, states.attributes AS states_attributes, states.event_id AS states_event_id, states.last_changed AS states_last_changed, states.last_updated AS states_last_updated, states.created AS states_created \nFROM states \nWHERE (states.domain IN (%s, %s) OR states.last_changed = states.last_updated) AND states.last_updated > %s AND states.entity_id IN (%s) AND states.last_updated < %s ORDER BY states.last_updated'] [parameters: [{}]]
1:09 PM components/recorder/util.py (ERROR)
Error executing query: (sqlalchemy.exc.InvalidRequestError) Can't reconnect until invalid transaction is rolled back [SQL: 'SELECT states.state_id AS states_state_id, states.domain AS states_domain, states.entity_id AS states_entity_id, states.state AS states_state, states.attributes AS states_attributes, states.event_id AS states_event_id, states.last_changed AS states_last_changed, states.last_updated AS states_last_updated, states.created AS states_created \nFROM states \nWHERE (states.domain IN (%s, %s) OR states.last_changed = states.last_updated) AND states.last_updated > %s AND states.entity_id IN (%s) AND states.last_updated < %s ORDER BY states.last_updated'] [parameters: [{}]]
1:09 PM components/recorder/util.py (ERROR)
Error executing query: (sqlalchemy.exc.InvalidRequestError) Can't reconnect until invalid transaction is rolled back [SQL: 'SELECT states.state_id AS states_state_id, states.domain AS states_domain, states.entity_id AS states_entity_id, states.state AS states_state, states.attributes AS states_attributes, states.event_id AS states_event_id, states.last_changed AS states_last_changed, states.last_updated AS states_last_updated, states.created AS states_created \nFROM states \nWHERE (states.domain IN (%s, %s) OR states.last_changed = states.last_updated) AND states.last_updated > %s AND states.entity_id IN (%s) AND states.last_updated < %s ORDER BY states.last_updated'] [parameters: [{}]]
1:09 PM components/recorder/util.py (ERROR)
Error executing query: (_mysql_exceptions.OperationalError) (2006, 'MySQL server has gone away') [SQL: 'SELECT states.state_id AS states_state_id, states.domain AS states_domain, states.entity_id AS states_entity_id, states.state AS states_state, states.attributes AS states_attributes, states.event_id AS states_event_id, states.last_changed AS states_last_changed, states.last_updated AS states_last_updated, states.created AS states_created \nFROM states \nWHERE (states.domain IN (%s, %s) OR states.last_changed = states.last_updated) AND states.last_updated > %s AND states.entity_id IN (%s) AND states.last_updated < %s ORDER BY states.last_updated'] [parameters: ('thermostat', 'climate', datetime.datetime(2018, 2, 14, 20, 9, 31, 182000, tzinfo=<UTC>), 'sensor.master_bedroom_temp', datetime.datetime(2018, 2, 15, 20, 9, 31, 182000, tzinfo=<UTC>))] (Background on this error at: http://sqlalche.me/e/e3q8)
1:09 PM components/recorder/util.py (ERROR)
Timeout getting camera image
1:09 PM components/camera/generic.py (ERROR)
Error doing job: Task exception was never retrieved
1:05 PM helpers/entity_platform.py (ERROR)
Timer got out of sync. Resetting
11:12 AM core.py (ERROR)
Setup of platform cast is taking over 10 seconds.
10:49 AM bootstrap.py (WARNING)
Setup of platform cast is taking over 10 seconds.
10:49 AM bootstrap.py (WARNING)

There is a couple of strange things here going on..

The graphics creation seems to be browser based now.
I realized that it shows "No state history found." but if you wait you'll get the graphics.

Seeing the same thing here: initially it says "No state history found.". On Chrome and Mobile Safari (iPhone) the graph does eventually load, but in desktop Safari it never loads.

Confirmed. In Desktop Safari I get nothing, but in Chrome Desktop I get the charts as expected.

I'm seeing the same thing in safari desktop.
Unhandled Promise Rejection: TypeError: e.includes is not a function. (In 'e.includes(n)', 'e.includes' is undefined)
(anonymous function) — data:text/javascript;charset=utf-8,%7B…%0A:1:947
promiseReactionJob

I'm running out of ideas why my homeassistant doesn't display charts like @skylord123 shows above for temperature.

Is there any kind soul that has seen this? What could I be missing?
Here's my config:
sensor:

platform: mqtt
name: 'Temperature'
state_topic: "dht22sensor"
unit_of_measure: 'Temperature'
value_template: "{{ float(value_json.temperature) }}"
platform: mqtt
name: 'Humidity'
state_topic: "dht22sensor"
unit_of_measure: 'Humidity'
value_template: "{{ float(value_json.humidity) }}"

history_graph:
gr1:
name: DHT22
entities:
- sensor.Temperature
- sensor.Humidity
hours_to_show: 2
Here's my MQTT message:
2018-03-09 00:32:28 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on dht22sensor: b'{"temperature": 24.00,"humidity": 41.70}'

@onoffpt
Please use the chat or forum for support. Your problem doesn't seem related to this issue thread.

this issue should be fixed in a next release by: https://github.com/home-assistant/home-assistant-polymer/pull/950

Closing. Report back after 0.65 is released if it's not working.

Still not working for me in 0.65.4 in desktop Safari. Works in Chrome.

I'm running 0.65.5 and seeing the exact same symptoms as above.

Please open a new issue in the frontend repo home-assistant-polymer.


feat(jobTitleAsText): add an option for jobTitle as a text

** Please provide as much detail as possible, but feel free to remove irrelevant sections **
During the split view, the job title in job card keep open a new tab. And showing the job detail in new tab. which is wrong behavior. To encounter this, I add-on a new option in job card make the job title as a text and at the same time it will remain as a link behavior.
BREAKING CHANGE:
adding new attribute titleAsTextLink inside the job card
RFC URL:
none
MIGRATION GUIDE:
none
EXAMPLE USAGE:
import {
  JobCard
} from 'seek-asia-style-guide/react';

<JobCard
  job={{
    company: {
      link: '/jobCard',
      name: 'SEEK Asia',
      title: 'Jobs at SEEK Asia'
    },
    companyLogoUrl: 'https://siva.jsstatic.com/my/94463/images/logo/94463_logo_0_48885.png',
    companyPictureUrl: 'https://siva.jsstatic.com/my/94463/images/photo/94463_photo_0_621506.jpg',
    description: 'Responsibilities :Responsible for Client Relationship Management and Worker Performance Management. Responsible for full spectrum of human resource and admin function, include...',
    jobTitle: 'Senior Software Engineer (6 months Contract)',
    jobUrl: 'https://www.jobstreet.com.my/en/job/senior-software-engineer-3565614?fr=21',
    locations: [
      {
        link: '/jobCard',
        name: 'Pahang',
        title: 'Limit result to Pahang'
      },
      {
        child: {
          child: {
            name: 'Near Leisure Mall'
          },
          link: '/jobCard',
          name: 'Cheras',
          title: 'Limit result to Cheras in Selangor'
        },
        link: '/jobCard',
        name: 'Selangor',
        title: 'Limit result to Selangor'
      }
    ],
    postingDuration: '1 hour ago',
    salary: 'RM99999 - RM999999',
    sellingPoints: [
      'We practice a vibrant & energetic office culture',
      'Our company supports a fun yet balanced working environment',
      'We support a safe environment for our employees'
    ]
  }}
  jobAdType="jobstreetStandout"
  titleAsTextLink
/>

i think we can use similar LinkComponent method in other links in card. So that we can control how to generate the link from srp-react

@ZhenYongSeekAsia I had think about it as well, but it will required a major change at srp-react and seek-style-guide as well.

We'll still have to change this eventually to be able to switch between NavLink and a for the link even when we want it to work 🤔
I still think using a TitleLinkComponent prop is better, it's just a matter of choosing a default that involves the least pain and refactoring for anyone.

@mengtzu @syakiruzair @ZhenYongSeekAsia I have do an update on this pull request. Adding a new props TitleLinkComponent to accept any component for display.

By the way I will do the following clean up after srp-react using the latest seek-asia-style-guide

remove all the hyperlink logic
remove the LinkComponent

For the latest update i have remove the LinkComponent = defaultLink because found out that each of the component such as CompanyLink, LocationGroup, ShelfSection inside do have defaultLink so is kind of redundant.

Looks like this is doubling up the highlight logic?  I think if you want to take this approach the new job title link component should provide its own default linkrenderer, that way you don't have to do it in the JobCard.


Port to multiloader

I liked the idea of this mod so I ported it to multi-loader (works on both Forge and Fabric).

Thanks for the contribution. I'll look into this :)


Automatically update charts in 2.0 when they change in 1.0 or 1.1

@luksa you need to run make gen and commit the result

@luksa can you also change 2.1 to run just make gen?

I'm also wondering what happens when we:
merge something in 1.1 : this creates pr's for 2.0 and 2.1
if the 2.0 pr merges first, will it trigger a 2.1 pr as well?
maybe this is not an issue at all?

I think the 2.0 PR won't result in any changes, so there will be no PR.

not sure we still need this, as 2.0.8 is most likely the last 2.0 release of istio-operator

Should we merge or close this one?

We should update this to target the maistra-2.1 branch of istio-operator, and include 2.0 chart changes

Closing. 1.0 and 1.1 are EOL.


fix: Add class loader to OpenAPIExtensions ServiceLoader

Fixes #3726.
I tested this locally on my own project. When the appropriate file exists in META-INF/services, the OpenAPIExtension is loaded properly by the Gradle plugin after this change.

thanks!


Load values not updating on turbo.push() call

I have cloned this repo, installed flask/turbo-flask, and run flask run in examples/load.  I then visit <IP_ADDRESS>:5000 and the page displays as expected, but the Load averages values do not update every 5 seconds like they should.  If I click the link back and forth between Page 2 and Page 1, the values update.
I have no error messages in my logs.  I added debug statements to inject_load() and right before turbo.push(turbo.replace(render_template('loadavg.html'), 'load')), and I can confirm that my update_load() loop is running successfully.
What am I missing? I can provide screen recording if helpful.

That solved it, thank you!

The downgrade to 0.8.0 was successful when running locally on the dev server.
I have since attempted to deploy my application to production following the steps outlined here.
After completing the tutorial above, I am now in the same position as before.  Visiting my URL loads the initial page, but turbo.push(turbo.replace(...)) has no effect.  I have turbo-flask version 0.8.0 installed.
This is the first web application I have ever developed, and I'm a bit out of my depth here.  I suspect that the issue is with the way I have configured gunicorn or nginx.  Is there any documentation you can point me to for using gunicorn and turbo-flask together successfully?  I have looked at the flask-sock documentation as suggested in the readme, but that hasn't solved my issue.

@BigBuckHunter You need to look at the console in your browser and your server logs for clues. If I had to guess, I would say that the problem is likely that you did not properly configure WebSocket in your nginx configuration.

@BigBuckHunter I have expanded the Deployment section of the docs with an Nginx example.


Add missing test aliases

This PR

adds missing test directory aliases to src/dune
adds default aliases so that we build all tests by default (to ensure against breakage)
annotates aliases that are currently not run, for future reference (e.g., if we want to have multiple aliases)

Overall this should fix #184
I'm wondering if not having to interleave compiler invocations and test runs will also have an effect on #179 (CC @shym)

To confirm that this indeed fixes the interleaved dune compilation commands in #184 I merged this repo into https://github.com/jmid/multicoretests/tree/ci-debug-attempt which has finished its two workflow runs.
In both cases there are no more ocamlopt commands printed and triggered underway:

https://github.com/jmid/multicoretests/actions/runs/3461360752/jobs/5778869434
https://github.com/jmid/multicoretests/actions/runs/3461360747/jobs/5778869414

CI logs look OK, so I'll merge. There's

a Linux 5.0.0+trunk Ephemeron segfault
two bytecode Thread failures
a bytecode run timing out


Alt open editor to side action gets "stuck" after alt clicking

VS Code version: Code - Insiders 1.24.0-insider (41a7c4976ebd1f6ced20c034485300f46ab1829f, 2018-05-29T06:09:34.618Z)
OS version: Windows_NT x64 10.0.16299

#50458
I split an editor to side using alt+click on the action and the action in the new window is stuck until I move focus to a different editor:

Note that alt is not pressed and the mouse is not anywhere near the lower editor in the screenshot.

Duplicate of https://github.com/Microsoft/vscode/issues/50581


feat: Request to update Angular bundle with ionic

Type: feat
Platform: all
I see that ionic is bundling AngularJS 1.2.17, it will be convenient to keep up with the angular stable releases. AngularJS 1.2.23 is 3 months newer. Please update AngularJS to latest stable release.

Ionic Bundle with Angular 1.5 please?

Is Angular 1.5 already available or in the roadmap? Would Angular 1.5 components work out of the box?

At this moment i'm doing a project with Ionic and Angular 1.5 and making use of components.
They work nice out of the box. So far i only found this issue, but keep in mind that i'am an Ionic newbie.

The $ionicView events (enter, leave, beforeEnter, etc) do not make to the component's $scope.


Set focus from external events

Thanks for building this great component!
While incorporating this input field into my app I ran into the trouble that I was unable to figure out how to manually set the focus on the input box. That is to say, how can I have a parent React component set the focus?
Use Case?
We have a list of tags with the auto-suggester. Inputting new tags works fine and returns focus to the text entry after selecting a suggestion. However, we want to be able to click on one of the existing tags, remove that tag, and return input focus to the auto-suggester. This is the piece I can't seem to figure out.
If there were some way to set focus from an external event that would be great. I realize that this could be hard since we don't have access to the underlying input DOM node.
Example
saveInput( ref ) {
	this.input = ref;
}

focusInput() {
	if ( ! this.input ) { return }

	this.input.focus();
}

<Autosuggest inputRef={ this.saveInput } />
<Button onClick={ this.focusInput } />

Thanks!

Does this help?

Does this help?

Yes! Thanks so much for your response @moroshko - and I apologize for not finding that earlier.


[8.x] Loading route files by $routeFiles property on providers

Basically, this PR allows users to mention a list of relative route files on the service provider class to be loaded.
Instead of calling the $this->loadRoutesFrom(...);

This list can also be manipulated from the boot method if needed.

class MyServiceProvider extends ServiceProvider
{
    protected $routeFiles = [  __DIR__.'/my_route.php'  ];

The problem with calling loadRoutesFrom is that it is not very clear where is the best place to call it for everyone. boot? or register?
The other problem is that package developers can not know which route files are being loaded by loadRoutesFrom.
Currently, laravel provides a lot of nice helpers like: app()->configPath() and a lot more so that the structures of the customized applications remain understandable for a package developer. (No need to hard code app()->basePath('config') and just hope it will work.)
As a real-world example, a code analyzer package (like the laravel-microscope) needs to have a comprehensive list of all the route and config files to be able to scan and analyze them.
But currently, there is no way reliable way of seamlessly swapping the loadRoutesFrom and mergeConfigFrom implementations FROM A Package, in order to know what is passed to them.
This way package developers can know about route files even if they are dynamically appended to the list from the boot method.

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


feat: renovate-config-validator

https://docs.renovatebot.com/getting-started/installing-onboarding/#reconfigure-via-pr

This has been tested and is happening automatically when Renovate scans our repos.


logging: fixes bug where unsampled logger is called from a sampled one

We had a logging bug where an unsampled function (such as fd_write to stdout/stderr) would end up with its logging "after" hook called, if it was called from a sampled function.
For example, if a wasm function called fd_write with stdout, the before hook on fd_write would skip, but the after would not, and accidentally use its caller's parameters. This results in a panic due to incorrect length.
This fixes the bug by ensuring we mute the logging context if there's one in progress. It ensures the bug won't pop up again by adding test data that matches the call pattern (from xpdf-wasm).
Thanks to @jerbob92 for helping isolate this!

a birdie told me this works


Setup codecov

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@453ac60). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #3   +/-   ##
=========================================
  Coverage          ?   48.38%
  Complexity        ?      101
=========================================
  Files             ?       17
  Lines             ?      496
  Branches          ?       27
=========================================
  Hits              ?      240
  Misses            ?      244
  Partials          ?       12

Continue to review full report at Codecov.

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


Feature/pagination

#25

LGTM

The added functionalities and codes are good. I want to change "Number of items to show" to "Number of items per a page" and move the UI to the bottom most.

reviewed


Update version: A-SIT.PDF-Over version 4.4.5

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/111500&drop=dogfoodAlpha

/azp run


mis-spelling in Understand the Global mbox ovreview

Issue in ./help/c-implementing-target/c-implementing-target-for-client-side-web/t-mbox-download/c-understanding-global-mbox/understanding-global-mbox.md
On the left navigation bar, there is a mis-spelling in Understand the Global mbox ovreview, which should be "overview"

Thanks for the catch. I have corrected the spelling and will publish later today with the 19.10.2 release (October 31, 2019).


[Bug]: Docker build for ROCm fails for latest release and main branch

Your current environment
Server with MI300X GPUs
🐛 Describe the bug
Build the vLLM ROCm image by following this link
The Docker build fails with the following error:
 > [build_triton 1/1] RUN --mount=type=cache,target=/root/.cache/ccache     if [ "1" = "1" ]; then     mkdir -p libs     && cd libs     && git clone https://github.com/OpenAI/triton.git     && cd triton     && git checkout "main"     && cd python     && python3 setup.py bdist_wheel --dist-dir=/install;     else mkdir -p /install;     fi:
0.241 Cloning into 'triton'...
10.80 Already on 'main'
10.80 Your branch is up to date with 'origin/main'.
140.4 downloading and extracting https://anaconda.org/nvidia/cuda-nvcc/12.4.99/download/linux-64/cuda-nvcc-12.4.99-0.tar.bz2 ...
140.4 Traceback (most recent call last):
140.4   File "/opt/conda/envs/py_3.9/lib/python3.9/urllib/request.py", line 1346, in do_open
140.4     h.request(req.get_method(), req.selector, req.data, headers,
140.4   File "/opt/conda/envs/py_3.9/lib/python3.9/http/client.py", line 1285, in request
140.4     self._send_request(method, url, body, headers, encode_chunked)
140.4   File "/opt/conda/envs/py_3.9/lib/python3.9/http/client.py", line 1331, in _send_request
140.4     self.endheaders(body, encode_chunked=encode_chunked)
140.4   File "/opt/conda/envs/py_3.9/lib/python3.9/http/client.py", line 1280, in endheaders
140.4     self._send_output(message_body, encode_chunked=encode_chunked)
140.4   File "/opt/conda/envs/py_3.9/lib/python3.9/http/client.py", line 1040, in _send_output
140.4     self.send(msg)
140.4   File "/opt/conda/envs/py_3.9/lib/python3.9/http/client.py", line 980, in send
140.4     self.connect()
140.4   File "/opt/conda/envs/py_3.9/lib/python3.9/http/client.py", line 1447, in connect
140.4     super().connect()
140.4   File "/opt/conda/envs/py_3.9/lib/python3.9/http/client.py", line 946, in connect
140.4     self.sock = self._create_connection(
140.4   File "/opt/conda/envs/py_3.9/lib/python3.9/socket.py", line 844, in create_connection
140.4     raise err
140.4   File "/opt/conda/envs/py_3.9/lib/python3.9/socket.py", line 832, in create_connection
140.4     sock.connect(sa)
140.4 TimeoutError: [Errno 110] Connection timed out
140.4
140.4 During handling of the above exception, another exception occurred:
140.4
140.4 Traceback (most recent call last):
140.4   File "/vllm-workspace/libs/triton/python/setup.py", line 472, in <module>
140.4     download_and_copy(
140.4   File "/vllm-workspace/libs/triton/python/setup.py", line 293, in download_and_copy
140.4     file = tarfile.open(fileobj=open_url(url), mode="r|*")
140.4   File "/vllm-workspace/libs/triton/python/setup.py", line 216, in open_url
140.4     return urllib.request.urlopen(request, timeout=300)
140.4   File "/opt/conda/envs/py_3.9/lib/python3.9/urllib/request.py", line 214, in urlopen
140.4     return opener.open(url, data, timeout)
140.4   File "/opt/conda/envs/py_3.9/lib/python3.9/urllib/request.py", line 517, in open
140.4     response = self._open(req, data)
140.4   File "/opt/conda/envs/py_3.9/lib/python3.9/urllib/request.py", line 534, in _open
140.4     result = self._call_chain(self.handle_open, protocol, protocol +
140.4   File "/opt/conda/envs/py_3.9/lib/python3.9/urllib/request.py", line 494, in _call_chain
140.4     result = func(*args)
140.4   File "/opt/conda/envs/py_3.9/lib/python3.9/urllib/request.py", line 1389, in https_open
140.4     return self.do_open(http.client.HTTPSConnection, req,
140.4   File "/opt/conda/envs/py_3.9/lib/python3.9/urllib/request.py", line 1349, in do_open
140.4     raise URLError(err)
140.4 urllib.error.URLError: <urlopen error [Errno 110] Connection timed out>
------
Dockerfile.rocm:111
--------------------
 110 |     # Build triton wheel if `BUILD_TRITON = 1`
 111 | >>> RUN --mount=type=cache,target=${CCACHE_DIR} \
 112 | >>>     if [ "$BUILD_TRITON" = "1" ]; then \
 113 | >>>     mkdir -p libs \
 114 | >>>     && cd libs \
 115 | >>>     && git clone https://github.com/OpenAI/triton.git \
 116 | >>>     && cd triton \
 117 | >>>     && git checkout "${TRITON_BRANCH}" \
 118 | >>>     && cd python \
 119 | >>>     && python3 setup.py bdist_wheel --dist-dir=/install; \
 120 | >>>     # Create an empty directory otherwise as later build stages expect one
 121 | >>>     else mkdir -p /install; \
 122 | >>>     fi
 123 |
--------------------
ERROR: failed to solve: process "/bin/sh -c if [ \"$BUILD_TRITON\" = \"1\" ]; then     mkdir -p libs     && cd libs     && git clone https://github.com/OpenAI/triton.git     && cd triton     && git checkout \"${TRITON_BRANCH}\"     && cd python     && python3 setup.py bdist_wheel --dist-dir=/install;     else mkdir -p /install;     fi" did not complete successfully: exit code: 1

This is failing for both the latest release and the main branch.
This might be because the OpenAI Triton Repository is moved to a different GitHub Repository.

the error is related to download the file downloading and extracting https://anaconda.org/nvidia/cuda-nvcc/12.4.99/download/linux-64/cuda-nvcc-12.4.99-0.tar.bz2 ...
One thing you can check is whether you can download manually?
https://anaconda.org/nvidia/cuda-nvcc/12.4.99/download/linux-64/cuda-nvcc-12.4.99-0.tar.bz2

btw, my download is ok when I build it.
downloading and extracting https://anaconda.org/nvidia/cuda-nvcc/12.4.99/download/linux-64/cuda-nvcc-12.4.99-0.tar.bz2 ...
#18 35.86 copy /root/.triton/nvidia/ptxas/bin/ptxas to /vllm-workspace/libs/triton/python/../third_party/nvidia/backend/bin/ptxas ...

Please retry your build to see whether it is a transient issue .

@hongxiayang Thank you for the update. Will test it out and update accordingly.

@Spurthi-Bhat-ScalersAI I am going to close this issue. If you have the issue again, please reopen.


"Apply Changes" silently fails if browser doesn't send referrer

For privacy reasons, I have my browser configured to never send a referrer.
Login to PowerDNS-Admin works, I can also do changes in a zone - but when I click "Apply Changes" and confirm that with "Apply", the changes do not get saved. To make things even worse, there is no error message. The only difference is that the green "Success" box doesn't get displayed - but that's something you'll only notice if you know that it should be there.
Please improve this behaviour - options would be

allow applying changes if no referrer is sent (only block "wrong" referrers, but not empty/missing ones) or
display an error message (maybe already on login) so that the user knows what's going on, and can change to a different browser profile with referrer enabled

Hello,
Thank you for the feedback. We will look into this once we will have reduced the ticket queue.
Regards

The logs contain the following message when this occurs:
[flask_seasurf.py:307] WARNING - Forbidden (Referer checking failed: no referer.): /domain/example.com/apply

Flask-SeaSurf allows to configure an app option to disable this behavior with the CSRF_CHECK_REFERER option (defaults to True)
As such, you can entirely disable the checking of the Referer header by setting
CSRF_CHECK_REFERER = False

in your FLASK_CONF configuration file. This resolved the issue for me.
In the docker environment, this is not easily possible today, however, as the option is not an allowed environment variable in the docker_config.py file. The option (along with the others could be easily added there though.


build.gradle errors (and unrecognized) in Intellij

Steps to Reproduce
Make a new project.
Open android/app/src/build.gradle
"Cannot resolve symbol 'GradleException'. From that point on all the keywords are also not resolvable.

Open android/app/build.gradle
All of the keywords are also not resolvable

In Android Studio modifying one of these files would cause a gradle sync message but none appears.
There doesn't seem to be a way to kick gradle... no menu items. Right clicking on the gradle files doesn't offer any gradle specific options.
Flutter Doctor
[✓] Flutter (on Linux, channel master)
• Flutter at /home/darrell/flutter
• Framework revision 8cef5232d5 (17 hours ago), 2017-05-05 17:18:58 -0700
• Engine revision 0071651ecb
• Tools Dart version 1.23.0-dev.11.11
[✓] Android toolchain - develop for Android devices (Android SDK 25.0.2)
• Android SDK at /home/darrell/Android/Sdk
• Platform android-25, build-tools 25.0.2
• Java binary at: /home/darrell/android-studio/jre/bin/java
• Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b736)
[✓] Android Studio (version 2.4)
• Android Studio at /home/darrell/android-studio
• Gradle version 3.4.1
• Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b736)
[✓] IntelliJ IDEA Community Edition (version 2017.1)
• Dart plugin version 171.4424
• Flutter plugin version 13.1
[✓] Connected devices
• None

FYI @devoncarew

Sorry the the late reply @darrellpf! After opening the project, did you get prompted to use gradle wrapper? Did you answer yes or no?
I think you may be hitting https://github.com/flutter/flutter/issues/9842. I listed a temporary workaround there.

[✓] Flutter (on Linux, locale en_US.UTF-8, channel master)
• Flutter at /home/darrell/flutter
• Framework revision 21441aa366 (11 hours ago), 2017-06-08 18:13:49 -0700
• Engine revision 4d423b62b9
• Tools Dart version 1.24.0-dev.6.7
[✓] Android toolchain - develop for Android devices (Android SDK 25.0.3)
• Android SDK at /home/darrell/Android/Sdk
• Platform android-25, build-tools 25.0.3
• ANDROID_HOME = /home/darrell/Android/Sdk
• Java binary at: /home/darrell/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[✓] Android Studio (version 2.4)
• Android Studio at /home/darrell/android-studio
• Gradle version 3.2
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[✓] IntelliJ IDEA Community Edition (version 2017.1)
• Flutter plugin version 14.0
• Dart plugin version 171.4424.63
[✓] Connected devices
• None

I followed the steps to reproduce above, making a new flutter project. I did press the fix for the ide's warning about being an android project but there was no prompt for gradle wrapper.
(I had though this was leading to another problem I'm having with android dependencies farther on in the file not being resolved for com.google packages, but commenting out the check doesn't fix that)

Can you clarify exactly (preferably with screenshots) which dialogs you get when you open in Android Studio, and what option you are selecting?
Does the project build for you using the flutter tool (i.e., cd <location of project + flutter build apk)?

A frameworks detected dialog box opens in the bottom right area of the screen. If you wait for a bit that message disappears. You can click on dialog box, or after a minute or so the dialog disappears, though there is a remnant of the dialog left as a status message

Hovering over any keyword in other gradle files gives a "Cannot resolve symbol" Error
In an Android Studio project there is a tab that shows the gradle files and allows you to manipulate them.

The projects typically run ok to start even though the errors show. However, when adding new Java files or modifying the gradle dependencies (to include com.google imports for instance) the projects may not run correctly.
My general observation is that the intelij environment and the flutter command line environment tend to be out of sync. What looks like a dead in the water intellij program may work with a workaround like using the flutter command line or re-opening the intellij project's subfolder in a new window as a separate project. I've been mystified at times how demo firebase projects or plugin projects seem to just work, but my guess there is that many are worked on in the command line and editor environment rather than the intellij enviroment.

Thanks for the rich detail! I can repro this now.
@skybrian is there anything we can do to get the gradle files recognized by IDEA?

Yes, we don't have any Gradle support enabled within IDEA yet. Based on my experiments, I think it would be a big change to the Flutter plugin to get this to work.
In IDEA, I don't think you can get Gradle support unless you enable it at the project level using New Project->Gradle or New Project->Android. (I tried adding a Gradle module to a non-Gradle project and was unsuccessful.)
When Gradle support is turned on, IDEA modules are created automatically based on the contents of Gradle files. They are stored in .idea/modules. I don't know if Flutter modules can be made compatible with Gradle.
If you want to work on the Gradle files, my current recommendation is that you open the android directory within Android Studio.

Sounds like we unfortunately won't be able to support editing gradle files in IDEA., and that the better approach is to enable a more complete workflow in Android Studio.
@darrellpf the request to support more Flutter development in Android Studio is tracked in flutter/flutter-intellij#384, feel free to "up vote" that bug.

Did you find the solution?

I'm using Android Studio and I'm having the exact same problem.

@bramvbilsen can you please file a new issue with a description of your steps and config?

@mit-mit I just found a fix: https://stackoverflow.com/a/42627497/5832842
The issue started after updating Android Studio.

The same problem. If I open build.gradle, IntelliJ thinks that 'GradleException' is an error
Also, IntelliJ throws a strange error "can't load Android facet; disable feature?". I disabled it, seems like it doesn't affect build.


Tiled rendering

It should be possible to allow cycles to render via tiles for interactive and offline renders.

Our current implementation is very much meant for offline renders through Houdini Husk. Unfortunately Cycles has a lot of assumptions about tiled renders (Stops render when complete, reset during render won't actually interrupt tiles, etc). These will all need to be addressed as patches to Cycles directly.
As of 18/12/2020 the basic implementation of tiled rendering is implemented into HdCycles and can be enabled via HD_CYCLES_USE_TILED_RENDERING=1


Nonstackable items not filtering

Hi! I'm using my modpack Lennbain (https://www.curseforge.com/minecraft/modpacks/lennbain, I am linking it because it's an easy-to-access way to see what other mods I'm using) which features Pretty Pipes v. 1.9.3. I have set up a storage system with Pretty Pipes but I can't seem to filter (using the Low Filter Module and the Filter Increase Modifier) non-stackable items at all.
This includes items such as enchanted books which are stackable in my modpack thanks to a different mod.
Edit: This is on a server, and as soon as I noticed that nonstackable items weren't filtering I tried to test stackable items and nothing at all went into the chest that I had set to filter the items into.
Edit again: everything works just fine in a singleplayer world.

I think the problem was with the server, not the mod.


python3Packages.evohome-async: 0.3.8 -> 0.3.15

Motivation for this change
Update to latest upstream release 0.3.15
Change log: https://github.com/zxdavb/evohome-async/compare/0.3.8...0.3.15

Related Home Assistant change: https://github.com/home-assistant/core/pull/50803
Target Home Assistant release: 2021.6.0

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Added a release notes entry if the change is major or breaking
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 124865 run on x86_64-linux 1

2 packages built:

python38Packages.evohome-async
python39Packages.evohome-async

Result of nixpkgs-review pr 124865 at e88d1aed run on aarch64-linux 1

2 packages built successfully:

python38Packages.evohome-async
python39Packages.evohome-async


Navigation bar for doc pages

RGP Lua doc pages are getting quite long.
The RGP Lua doc pages are becoming daunting walls of text.
Intra-page navigation bar integrated into the existing nav bar
The docs generator is already generating anchors for each of the headers. I am suggesting that these anchors be collected into a navigation bar. The navigation bar could be hierarchical based on header level. Perhaps it should be integrated into the nav bar that is already there. This is how Jari's doc pages work.
One issue with the current nav bar is that it scrolls off the page. For this solution to be useful it would have to be locked into a non-scrolling iframe.
Describe alternatives you've considered
I considered breaking up the files, but this seems like a worse user experience than an intra-page nav bar.

This is definitely an idea I've thought about at times. It's definitely doable, but not trivial for a few reasons. Interestingly adding search was probably easier than this change will be.
In short, I do like this idea and it should get done, but I think it's probably a lower priority on my end (feel free to argue otherwise). Especially since we now have good search, I wouldn't be surprised if that'll make it easier to find things and make this issue not as bad.

Search is good, but it gets at the problem from almost the opposite direction than a navigation bar. Search find what you already know you are looking for. A navigation bar prompts you with information that lets you know what you should be looking for, or even what you might be interested in.


Operator cleanly exits in non-existent CRD

This prevents operator panics if it starts before creating the CRD
Fixes #183

Why we won't let the Operator create it's CRD in case it is missing ?

@allamand It was already discussed on the issue #183

@bradbeam This won't always work in production use cases because installing the CRD requires cluster-level permissions, but running the operator in a namespace only requires permissions in that namespace. Some installations will require the CRD to be installed by a more privileged user than the person who is actually using the operator.

@camilocot Sorry for the late review.
Let's just log the error and exit cleanly with os.Exit(1) for all errors. That's much simpler.
I'm not sure of the benefit of only exiting for non-existent CRD and panic for other errors.

@camilocot Can you please rebase your changes with the master first.
We're have to source your PR branch in our e2e test(to properly resolve dependencies) and there's been some changes to the k8s deps since then. We're on 1.11 now.
https://github.com/camilocot/operator-sdk/blob/feature/exit-crd-inexistent/Gopkg.toml#L11-L23
https://github.com/operator-framework/operator-sdk/blob/master/Gopkg.toml#L11-L23

@camilocot we made a fairly large change to master today; instead of rebasing, I would recommend creating a new branch, doing a git checkout --hard master on the old branch, then cherry-picking this commit onto your old branch from new. Thanks!

@estroz Actually after the rebase we won't have this issue anymore. We don't even have pkg/sdk/api.go anymore.
The runtime's manager exits cleanly if a controller fails to watch a resource that's not registered.
2018/10/16 16:20:16 Go Version: go1.10.2
2018/10/16 16:20:16 Go OS/Arch: darwin/amd64
2018/10/16 16:20:16 operator-sdk Version: 0.0.6+git
2018/10/16 16:20:16 Registering Components.
2018/10/16 16:20:16 no matches for kind "Memcached" in version "cache.example.com/v1alpha1"
exit status 1
2018/10/16 16:20:16 failed to run operator locally: exit status 1

@camilocot We've replaced the SDK apis with the controller-runtime on the master so this should be fixed. We'll have a release out soon that will include this fix.


HBASE-25835 Ignore duplicate split requests from regionserver reports

A SplitTableRegionProcedure may already be running when a regionserver report is received that includes a split request. The outcome is multiple SplitTableRegionProcedure procedures scheduled for the split request, only one of which can succeed. The others error out.
Do not create a split procedure in response to a region state change report if the region is not open or already splitting.

Tested in an integration cluster test scenario (see https://github.com/apache/hbase/pull/3208) but let's see what the unit test results in the CR report looks like.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  8s
Docker mode activated.

Updated after feedback.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  6s
Docker mode activated.

@Apache9 please let me know if the latest patch addresses your change requests.

There are approvals and I believe all feedback has been addressed. Merging. We can reopen/revert/improve if necessary.

A bit late, it is still holiday in China, not always online outside...
+1.
Thanks @apurtell , the comment is great.


file_extension in kernel_info_reply should be "py" not ".py"

The kernel_info_reply lists the file_extension field in the language_info dictionary as
                     'file_extension': '.py'

but according to the messaging spec, it should just be 'py':
        # Extension without the dot, e.g. 'py'
        'file_extension': str,

https://github.com/ipython/ipython_kernel/blob/157009624cb2954e30e724bc3edf9b9c2486b8d4/ipython_kernel/ipkernel.py#L110

It's true there's a mismatch, but it's actually the doc that needs updating. It should include the '.'.


Reselect not recomputing in specific case

I have a typical React, React-Redux, ReSelect setup based on the React Boilerplate Cra template.
I seem to have run into a unique problem where reselect does not recompute when an action updating the state is invoked by a component call back that is not user initiated - meaning a components onInit/onReady type of callback. But it works fine when invoked through a user initiated activity such as a button click. My example code:
import { selectSomePart } from "./selectors";
import { actions } from "./slice";

export const MyComponent = () => {
  const somePart = useSelector(selectSomePart);

  const updateState = () => {
    dispatch(actions.increaseValue(1));
	console.log(somePart.someValue);
  };

  return (
	<ThirdPartyComponent onInit={updateState} /> /* prints the original state value even though I can see the updated state value in redux dev tools!! */

	<button onClick={updateState} /> /* correctly increases and prints the updated value on each click */
  )
}

// Slice.js
// --------------------------------
export const initialState = {
  someValue: 0,
};

const myExampleSlice = createSlice({
  name: "exampleSlice",
  initialState,
  reducers: {
    increaseValue: (state, action: PayloadAction<number>) => {
      state.someValue = state.someValue + action.payload;
    },
});

// Selectors.ts
// --------------------------------
import { RootState } from "./types";
import { initialState } from "./slice";

const selectDomain = (state: RootState) => state.somePart || initialState;

export const selectSomePart = createSelector(
  [selectDomain],
  (somePartState) => somePartState.somePart
);

PS: I'm not sure if this is a bug or an implementation issue from my side. If its an implementation issue, I'll move this to StackOverflow although I appreciate any help here as well.

This looks like it's just a closure/React-lifecycle issue.
The useSelector at the top of the component will not execute until React has a chance to re-render.  React will re-render in a batch at the end of the event handler.  This click handler was defined the last time that React rendered, and closed over the value of somePart at the time of the last render.
So, when you log somePart.someValue, you're logging the value as it already was, not as the data is in the store after the dispatch has been completed.
Try adding logging to the selector, the component, the reducer, and the click handler, and you'll see how the timing fits together.


Potential None

Description:
Minor bugfix. Line of code fixed has potential for target state to be None when state is being deleted and an exception would happen.
In this case it's not unreasonable to not pass the context because that will be a system event anyhow. This will be fixed anyhow as part of #22587 anyhow.
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

Filed an issue with the correct solution https://github.com/home-assistant/home-assistant/issues/23194


Bindings not found error

Running vite we occasionally come across with this error. The way we found to overcome this was to remove node_modules and reinstall it. Do you guys have any ideas what is causing this?

Hi!
I can't repro for now. Do you have any more info on when this happening?
This mostly like an install issue or an issue with SWC directly. What OS are you using?

Hello,
I have the same problem using
debian 10
typescript ^5.0.2
vite ^4.1.0
The problem it happens when run vite build or server.
The solution for me we has remove node_modules and install with yarn.

yarn install
yarn run dev (server vite)

Did this happen after an update of SWC?

This happend after update typescript

This happend after update typescript

That's strange I don't see any related issues on the SWC repo. Did the issue reappear even after a clean install?

I had a project
vite + react + typescript
I just updated the typescript to version 5

Hey @ArnaudBarre.
To follow up on @jjtfsalgado, here is the machine specs:
OS: Microsoft 11
IDE: WebStorm 2022.3.2
VITE: 4.1.1
TS: 4.8.4

OS: macOS Ventura 13.2 (Intel)
VITE: 4.2.1
TS: 4.9.3
PLUGIN-REACT-SWC: 3.2.0

What was the SWC version before and after re-intalling @swc/core?

The newly installed version of @swc/core that addresses this bug for me is "@swc/core": "^1.3.46", I did not have a before version prior to this.

Probably related but after updating I'm seeing
@vitejs/plugin-react-swc@npm:3.2.0 [f1d40] doesn't provide @swc/helpers (p84c25), requested by @swc/core
vite 4.2.1, swc/core 1.3.46, plugin-react-swc 3.2.0, OSX

@ArnaudBarre here the previous and current versions after my command.
Before:
@swc/core = 1.3.41 (indirect dependency, we did not install it directly prior to this "fix")
@swc/cli is not currently installed
After:
@swc/core = 1.3.49
@swc/cli is not needed to fix the problem and can be ignored in the install command

npm i -D @swc/cli @swc/core

That worked for me.

@swc/cli should not be needed.npm i -D @swc/core will force a new version of @swc/core to be downloaded, but you can them remove it manually from the package.json because it's still a dependency of this plugin

Hi, just a quick bump - today we've encountered the same issue on a colleague's laptop. The interesting part is why this didn't fail on my machine for the last week or so ..
Updating @vitejs/plugin-react-swc to latest (eg. npm i -D @vitejs/plugin-react-swc@latest) fixed everything. No need to install swc locally (npm i -D @swc/cli @swc/core)
The culprit is actually Vite CLI. Creating a new project with npm create vite@latest or npm create vite@latest my-vue-app -- --template react-swc-ts uses the v3.0.0.
  "@vitejs/plugin-react-swc": "^3.0.0",
  "vite": "^4.2.0"

When starting out a new template, any package manager will install the latest version available (because of the ^ prefix).
I think there is just bad version of the SWC package that was published at some point and the solution is just to force a new version of @swc/core (direct or indirect by updating the plugin one)

I ran into this same error when using: (1) my Mac to install all packages with yarn, (2) sharing the node_modules with a Docker image (which is running Debian), (3) running the vite server via Docker.
I never had this issue when using the babel-based https://github.com/vitejs/vite-plugin-react plugin. I also did not see this error when running the dev server directly from my Mac.
I was able to resolve it by opening a shell in the Docker image and running a yarn install, which pointed out that an OS-specific package was missing, which also resulted in a change to @swc/core:
➤ YN0000: ┌ Fetch step
➤ YN0013: │ @swc/core-linux-x64-gnu@npm:1.3.53 can't be found in the cache and will be fetched from the remote registry
➤ YN0000: └ Completed in 2s 456ms
➤ YN0000: ┌ Link step
➤ YN0008: │ esbuild@npm:0.17.18 must be rebuilt because its dependency tree changed
➤ YN0008: │ @swc/core@npm:1.3.53 [ba08b] must be rebuilt because its dependency tree changed

My .yarnrc.yml file was specifying the following, which was what esbuild docs point out should be used when sharing node_modules between platforms https://esbuild.github.io/getting-started/#simultaneous-platforms:
supportedArchitectures:
  os:
    - current
    - linux

But it turns out that's currently not sufficient for SWC https://github.com/swc-project/swc/issues/2898. The workaround suggested there https://github.com/swc-project/swc/issues/2898#issuecomment-1180845472 of adding the following to supportedArchitectures did the trick, fixing the "Bindings not found" error and Docker-based vite server!
supportedArchitectures:
  os:
    - current
    - linux
  libc:
    - current
    - glibc

@sjdemartini Yeah this is totally expected because SWC is using native binaries. supportedArchitectures is not a workaround, that the exact reason why this feature exist in yarn 2+ when using git shared node_modules.

Hum I just encountered this issue but it happens only very recently out of nowhere.
The issue happen when:

I run in a repo with cypress install
the errors appear for cypress spec files.
happen only on ubuntu GH action server. no issue when run on MacOS locally
running the babel-based plugin produces no issue

In case repro needed, I have just initialized a fresh project and encountered this issue. Exact commands from history is in README https://github.com/Firfi/vite-74-repro

We noticed this problem after refreshing package-lock.json, which we do by deleting the file, and running npm install (node_modules not deleted beforehand). The result is npm removes all @swc/core-xxxx entries from the lockfile except the one for the current platform. This causes the Bindings not found error when the lockfile is then used in npm ci or npm install on another machine that isn't the same platform as the one that refreshed the lockfile.
See minimal reproduction.

The most reliable workaround I found is to force-install the optional dependencies of @swc/core as optional dependencies of your own project (only the dep that is supported on your platform is installed):
npm install --force --save-optional \
        @swc/core-darwin-arm64 \
        @swc/core-darwin-x64 \
        @swc/core-linux-arm-gnueabihf \
        @swc/core-linux-arm64-gnu \
        @swc/core-linux-arm64-musl \
        @swc/core-linux-x64-gnu \
        @swc/core-linux-x64-musl \
        @swc/core-win32-arm64-msvc \
        @swc/core-win32-ia32-msvc \
        @swc/core-win32-x64-msvc

Then refresh the lockfile, and check that into source control.

@tony19 Seems like a bug in npm. What version of npm are you using?

@ArnaudBarre npm v9.5.0, node v18.14.2

Wow just reproduced with npm 9.5.1. What a bug.
Found the issue in npm: https://github.com/npm/cli/issues/4828
1 year old. They seems to don't care and ignore that people are using platform binaries nowdays. Even yarn v1 that is stale was updated to handle this correctly. Between pnpm new algorithm resolution, bun lockfile being totally unmaintainable, yarn v1 being stale, yarn v2 having so much config for simple things and this bug in npm I don't know what to recommend now.

Thanks for finding that issue. That's my exact scenario. I'll try spelunking npm source this weekend and submitting a PR if I can.
In the meantime, I think recommending installing the optional deps somewhere (README?) would be helpful.

Same issue here.  Tried npm install -D @swc/core and npm install -D vite-plugin-react-swc@latest as someone mentioned up. But it is not working for me.

this is my vite.config.ts
import react from "@vitejs/plugin-react-swc";
import { defineConfig } from "vite";
import basicSsl from "@vitejs/plugin-basic-ssl";

export default defineConfig({
  root: "./",
  publicDir: "public",
  plugins: [react(), basicSsl()],
  resolve: {
    alias: [{ find: "@", replacement: "/src" }],
  },
});

My version
 "@vitejs/plugin-react-swc": "^3.0.0",
 "vite": "^4.2.0",

Yes, this is https://github.com/npm/cli/issues/4828. The bug happens when npm generates the lockfile with an existing node_modules that contains platform-specific dependencies. Solution should in all cases be to generate while node_modules does not exist:
rm -rf node_modules package-lock.json && npm i

I would close and pin this issue in the repo.

npm i -D @swc/cli @swc/core
instalé las dev dependencies npm i -D @swc/cli @swc/core ,pero el error continuaba, luego reinstalé node_modules y se solucionó.

1-click reproduction: https://pr.new/https://github.com/kat-tax/vslite

PR got merged. I think the problem should be fix at this toolimg plugins level.
https://github.com/kat-tax/vslite/pull/14
Heres what ot took, 3 lines
one to detect web containers, one to import a fallback.

cnpm install --force --save-optional \
>         @swc/core \
>         @swc/core-darwin-arm64 \
>         @swc/core-darwin-x64 \
>         @swc/core-linux-arm-gnueabihf \
>         @swc/core-linux-arm64-gnu \
>         @swc/core-linux-arm64-musl \
>         @swc/core-linux-x64-gnu \
>         @swc/core-linux-x64-musl \
>         @swc/core-win32-arm64-msvc \
>         @swc/core-win32-ia32-msvc \
>         @swc/core-win32-x64-msvc

✖ Install fail! UnSupportedPlatformError: [<EMAIL_ADDRESS>skip download for reason darwin dont includes your platform android
UnSupportedPlatformError: [<EMAIL_ADDRESS>skip download for reason darwin dont includes your platform android
    at download (/data/data/com.termux/files/usr/lib/node_modules/cnpm/node_modules/.store/npminstall@7.9.0/node_modules/npminstall/lib/download/npm.js:285:17)
    at module.exports (/data/data/com.termux/files/usr/lib/node_modules/cnpm/node_modules/.store/npminstall@7.9.0/node_modules/npminstall/lib/download/npm.js:24:22)
    at async module.exports (/data/data/com.termux/files/usr/lib/node_modules/cnpm/node_modules/.store/npminstall@7.9.0/node_modules/npminstall/lib/download/index.js:19:10)
    at async _install (/data/data/com.termux/files/usr/lib/node_modules/cnpm/node_modules/.store/npminstall@7.9.0/node_modules/npminstall/lib/install_package.js:122:16)
    at async install (/data/data/com.termux/files/usr/lib/node_modules/cnpm/node_modules/.store/npminstall@7.9.0/node_modules/npminstall/lib/install_package.js:23:12)
    at async _installOne (/data/data/com.termux/files/usr/lib/node_modules/cnpm/node_modules/.store/npminstall@7.9.0/node_modules/npminstall/lib/local_install.js:215:15)
    at async mapper (/data/data/com.termux/files/usr/lib/node_modules/cnpm/node_modules/.store/npminstall@7.9.0/node_modules/npminstall/lib/local_install.js:140:5)
npminstall version: 7.9.0
npminstall argv: /data/data/com.termux/files/usr/bin/node<EMAIL_ADDRESS>--fix-bug-versions --china --userconfig=/data/data/com.termux/files/home/.cnpmrc --disturl=https://cdn.npmmirror.com/binaries/node --registry=https://registry.npmmirror.com --force --save-optional @swc/core @swc/core-darwin-arm64 @swc/core-darwin-x64 @swc/core-linux-arm-gnueabihf @swc/core-linux-arm64-gnu @swc/core-linux-arm64-musl @swc/core-linux-x64-gnu @swc/core-linux-x64-musl @swc/core-win32-arm64-msvc @swc/core-win32-ia32-msvc @swc/core-win32-x64-msvc

cnpm install --force --save-optional \
>         @swc/core \
>         @swc/core-darwin-arm64 \
>         @swc/core-darwin-x64 \
>         @swc/core-linux-arm-gnueabihf \
>         @swc/core-linux-arm64-gnu \
>         @swc/core-linux-arm64-musl \
>         @swc/core-linux-x64-gnu \
>         @swc/core-linux-x64-musl \
>         @swc/core-win32-arm64-msvc \
>         @swc/core-win32-ia32-msvc \
>         @swc/core-win32-x64-msvc

✖ Install fail! UnSupportedPlatformError: [<EMAIL_ADDRESS>skip download for reason darwin dont includes your platform android
UnSupportedPlatformError: [<EMAIL_ADDRESS>skip download for reason darwin dont includes your platform android
    at download (/data/data/com.termux/files/usr/lib/node_modules/cnpm/node_modules/.store/npminstall@7.9.0/node_modules/npminstall/lib/download/npm.js:285:17)
    at module.exports (/data/data/com.termux/files/usr/lib/node_modules/cnpm/node_modules/.store/npminstall@7.9.0/node_modules/npminstall/lib/download/npm.js:24:22)
    at async module.exports (/data/data/com.termux/files/usr/lib/node_modules/cnpm/node_modules/.store/npminstall@7.9.0/node_modules/npminstall/lib/download/index.js:19:10)
    at async _install (/data/data/com.termux/files/usr/lib/node_modules/cnpm/node_modules/.store/npminstall@7.9.0/node_modules/npminstall/lib/install_package.js:122:16)
    at async install (/data/data/com.termux/files/usr/lib/node_modules/cnpm/node_modules/.store/npminstall@7.9.0/node_modules/npminstall/lib/install_package.js:23:12)
    at async _installOne (/data/data/com.termux/files/usr/lib/node_modules/cnpm/node_modules/.store/npminstall@7.9.0/node_modules/npminstall/lib/local_install.js:215:15)
    at async mapper (/data/data/com.termux/files/usr/lib/node_modules/cnpm/node_modules/.store/npminstall@7.9.0/node_modules/npminstall/lib/local_install.js:140:5)
npminstall version: 7.9.0
npminstall argv: /data/data/com.termux/files/usr/bin/node<EMAIL_ADDRESS>--fix-bug-versions --china --userconfig=/data/data/com.termux/files/home/.cnpmrc --disturl=https://cdn.npmmirror.com/binaries/node --registry=https://registry.npmmirror.com --force --save-optional @swc/core @swc/core-darwin-arm64 @swc/core-darwin-x64 @swc/core-linux-arm-gnueabihf @swc/core-linux-arm64-gnu @swc/core-linux-arm64-musl @swc/core-linux-x64-gnu @swc/core-linux-x64-musl @swc/core-win32-arm64-msvc @swc/core-win32-ia32-msvc @swc/core-win32-x64-msvc

I can reproduce this error on Termux from FreeDroid. Nestbox registers as linux-arm64, while termux requires android-arm64 builds. In Go this is an easy thing to fix... and I've
made rust builds on Termux many times before, both lvm and on device.
Termux on Pixel 7:

Nestbox for Pixel 7 running Debian:

finally what we should do to solve this error? when ever i pull a branch i got this error and to fix it i havt to delete node-modules and yarn install to fix it.

I can confirm I'm experiencing this on an M2 mac. Interestingly enough, I notice data corruption warnings on my company's JFrog Artifactory instance, which acts as a reverse proxy out to the NPMJS registry. Was a corrupted build of the SWC Plugin pushed out at some point?
npm WARN tar zlib: invalid block type
npm WARN tarball tarball data for @swc/core-darwin-arm64<EMAIL_ADDRESS>(sha512-UijJsvuLy73vxeVYEy7urIHksXS+3BdvJ9s9AY+bRMSQW483NO7RLp8g4FdTyJbRaN0BH15SQnY0dcjQBkVuHw==) seems to be corrupted. Trying again.
npm WARN tar zlib: invalid block type
npm WARN tarball tarball data for @swc/core-darwin-arm64<EMAIL_ADDRESS>(sha512-UijJsvuLy73vxeVYEy7urIHksXS+3BdvJ9s9AY+bRMSQW483NO7RLp8g4FdTyJbRaN0BH15SQnY0dcjQBkVuHw==) seems to be corrupted. Trying again.

clone the repo could be a temp solution.

OS: macOS Ventura 13.2 (Intel) VITE: 4.2.1 TS: 4.9.3 PLUGIN-REACT-SWC: 3.2.0 NODE: 16.17.0
I got the same error. We have fixed the problem with running this command:
npm i -D @swc/cli @swc/core

In the end just installing swc as described here: https://swc.rs/docs/getting-started

my issues:
👽 Taro v3.5.1
Error: Bindings not found
at Compiler.transformSync (/node_modules/@swc/core/index.js:249:15)
when start the taro project, it has been this error, when I run 'npm i -D @swc/cli @swc/core', the issue has been solved. Thank you for your answer.

I have exact same problem...  error message : bindings not found

I couldn't find a solution for Bindings not found when using plugin-react-swc as in the following vite config file
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react-swc'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [react()],
})

Initial the project worked well in my previous laptop but has been failling on my current one and having tried the recommendations posted here , the results was the same. My temporary solution for now was to:

replace "@vitejs/plugin-react-swc": "^3.0.0", in the package.json with "@vitejs/plugin-react": "^4.0.0",
delete package-lock.json
delete node_modules
replace the vite.config file with the following

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [react()],
})

npm install

Termux on Pixel 7:

My Installation is same as these except mine is armv7 so it shows armeabi not found and uses the fallback. Then it results to these if anything wrong happened either during installation or change in project files.

OS: macOS Ventura 13.2 (Intel)
VITE: 4.2.1
TS: 4.9.3
PLUGIN-REACT-SWC: 3.2.0
NODE: 16.17.0

I

Same issue here. Tried npm install -D @swc/core and npm install -D vite-plugin-react-swc@latest as someone mentioned up. But it is not working for me.

me too, have you resolved this problem?

Now the lastest version of @vitejs/plugin-react-swc is 3.3.2, but this problem still happen, can anybody tell me what should I do to solve this error, well I know I can use @vitejs/plugin-react intend, but I just wanna use swc.

Now the lastest version of @vitejs/plugin-react-swc is 3.3.2, but this problem still happen, can anybody tell me what should I do to solve this error? well I know I can use @vitejs/plugin-react intend, but I just wanna use swc.

go https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170 and download the [ Visual Studio 2015, 2017, 2019, and 2022 ], I try to download x64 version, it works for me.

same issue https://stackblitz.com/github/vaynevayne/react-auth?file=README.md

Why this issue is closed? I am getting same error with latest vite.

OS: macOS Ventura 13.2 (Intel) VITE: 4.2.1 TS: 4.9.3 PLUGIN-REACT-SWC: 3.2.0 NODE: 16.17.0
I got the same error. We have fixed the problem with running this command:
npm i -D @swc/cli @swc/core

In the end just installing swc as described here: https://swc.rs/docs/getting-started

I just wanted to let you know that it works for me. Using a Macbook Pro on MacOS Sonoma 14.1.1 with Intel processor

Getting this same error. Weirdly enough it behaves differently based on the base docker image of bun. On Apple silicon(arm arch) with Docker desktop.
SWC doesn't work with: oven/bun:1-alpine
SWC works with: oven/bun:1

npm update worked for me with similar scenarios. Don't knonw if already answered though.

for Android arm64 use this command
pnpm add --save-optional @swc/core-android-arm64
it worked for me

If it can help my problem was that my runner was running on an image of node:18.13.0 and my project was on node:18.17.0. Update my runner image to node:18.17.0 solved the Binding not found issue for me


Adds suggesting upgrading dependency @microsoft/sp-list-subscription.…

Adds suggesting upgrading dependency @microsoft/sp-list-subscription. Closes #1517

Coverage remained the same at 100.0% when pulling df74f28ce14ae2a8dadd912e7b0a1567015d0f5c on waldekmastykarz:enh-microsoft-splistsubscription into 20117d60c25e36a1a2427f9a6eb30096148edfb6 on pnp:dev.

Merged manually.


exception is not thrown as expected when doing concurrent awaits

code:
var fs = require('fs');
var Promise = require('bluebird');
var async = require('asyncawait/async');
var await = require('asyncawait/await');

// A function that returns a promise.
function delay(milliseconds) {
    return Promise.delay(milliseconds);
}

var parallelThreadFunc = function() {
    console.log("1");
    await(delay(1010));
    console.log("2");
    throw new Error("sfdfsfds");
};

var parallelThreadAsync = async(parallelThreadFunc);

// Another synchronous-looking function written in async/await style.
var program = async.thunk (function () {
    try  {
        console.log('zero...');
        async(parallelThreadAsync(), parallelThreadAsync());
    } catch (ex) {
        console.log('Caught an error', ex);
    }
    return 'Finished!';
});

// Execute program() and print the result.

program()(function (err, result) {
    console.log(result);
});

node --version
v4.2.4
mac os yosemite
tested on both npm asyncawait and manually downloaded from github
........ so here what we see is that try..catch block does not work at all for exceptions thrown from parallelThreadAsync.
zero...
1
1
Finished!
2
2
Unhandled rejection Error: sfdfsfds
    at parallelThreadFunc (/somedir/asyncawait-probable-bug.js:16:11)
    at tryBlock (/somedir/node_modules/asyncawait/src/async/fiberManager.js:39:33)
    at runInFiber (/somedir/node_modules/asyncawait/src/async/fiberManager.js:26:9)

Unhandled rejection Error: sfdfsfds
    at parallelThreadFunc (/somedir/asyncawait-probable-bug.js:16:11)
    at tryBlock (/somedir/node_modules/asyncawait/src/async/fiberManager.js:39:33)
    at runInFiber (/somedir/node_modules/asyncawait/src/async/fiberManager.js:26:9)

Hi @rshmelev,
Thanks, I've investigated this and found a bug in asyncawait in its handling of concurrent cases. I'm just about to push/publish v1.0.3 which fixes this.
There is a little typo in your sample code, the line:
        async(parallelThreadAsync(), parallelThreadAsync());

should be:
        await(parallelThreadAsync(), parallelThreadAsync());

Can you please give v1.0.3 a try to verify the fix?

Heh, that's true, it was 4 AM when I was submitting the issue :)
Now i've fixed the description code and log.

Was not able to reproduce on my machine with v1.0.3... so the bug seems to be fixed.
when are you going to push it to NPM?

It's already published.
Thanks for testing, closing this now...


Code comments (issue #303).

Code comments for all functions in Starknet.go library.
Issue #303

I reviewed all files.
Now they are using the same format.

Please, check if my PR is ok.
Thanks


v9 gesture regression

🐛 Bug Report
The following react-with-gesture demo does not work in v9.0
https://codesandbox.io/embed/zq19y1xr9m
I don't know how the API in 9.0 is different from 8.0, and thus if this is intentional, otherwise this is a regression with v9.0
To Reproduce
Switch version of react-spring in codesandbox to v9.0.0-beta

Nice catch! 👍
Note: It has nothing to do with gestures. The controller doesn't compare config props anymore to determine if an animation should be updated. Only the "goal value" and reset prop are checked, so you need to use reset: !down to ensure the decay animation is created. Or you could ensure that the xy prop is different from the previous set call.
https://codesandbox.io/s/v01n79qjj0

Related: I am not sure config.decay is documented anywhere -  as far as I noticed.
I am also not quite sure what it does :)

@phaistonian It's for gradual decay of velocity (think of scroll animations).


Array being reduced down to last value

Version: 1.2.3

Details

Diff after running on template:

SiteIds got clobbered.
Your Environment

ebay sample app
Steps to Reproduce

I have a branch on corp

Fixed in 1.2.4


Add Itinerary details page

Breakout from issue #799
Create an initial page to view the itinerary details.
This page will be linked from the Event Details page, itineraries list. This page will initially provide very basic itinerary details.
We will extend to add ability to manage the team and requests.

@tonysurma Working on this now before the create itineraries page


Move red asterisks to the right-hand side of the component label

The asterisks should be moved from the current position to the right-hand side. Refer to the example below
Implementation required

Current implementation

Hi @hlayisanimazuze. It's fixed, please check

Hi @IvanIlyichev, the below components are not updated, the rest are updated

ChildEntitesTag>>label format
Button Group>>component name
Datalist>>component name
Columns>>component name
Sizable Columns>>>component name
Tabs>>>component name and default active key
Wizard>>component name


ScriptSig seems to be strange

Hi,
I have setup the colorcore engine and I am using requests module to communicate with the colorcore server. So far everything seems good and working. However when I try issue an asset from a bitcoin address I get this raw transaction back.
Raw transaction from ColorCore:
0100000002b12711f432fb25b2cbbdce997d9177e2d2956df21888f6a22a79fb1da3532175020000001976a9145bacfcd3aa3bbcb43b7f9582e8560d91c391ebb588acffffffffb12711f432fb25b2cbbdce997d9177e2d2956df21888f6a22a79fb1da3532175030000001976a9145bacfcd3aa3bbcb43b7f9582e8560d91c391ebb588acffffffff0358020000000000001976a9145bacfcd3aa3bbcb43b7f9582e8560d91c391ebb588ac00000000000000001c6a1a4f410100010a13687474703a2f2f676f6f2e676c2f733334736430b2f953020000001976a9145bacfcd3aa3bbcb43b7f9582e8560d91c391ebb588ac00000000
Now the to the strange part here when you decode it and look at the ScriptSig its seems wrong. As I understand the bitcoin protocol if the transaction is unsigned nothing should be in ScriptSig. Since I use mode='unsigned' the ScriptSig should be blank, right?
Example:
    "Vin": [
        {
            "TxId": "752153a31dfb792aa2f68818f26d95d2e277917d99cebdcbb225fb32f41127b1",
            "Vout": "2",
            "ScriptSig": {
                **"Asm": "OP_DUP OP_HASH160 5bacfcd3aa3bbcb43b7f9582e8560d91c391ebb5 OP_EQUALVERIFY OP_CHECKSIG",
                "Hex": "76a9145bacfcd3aa3bbcb43b7f9582e8560d91c391ebb588ac"**
            },
            "CoinBase": null,
            "Sequence": "4294967295"
        },

Well it looks like this is correct, I found a bug in my code that did trigger some strange behaviour which lead me in the wrong track thinking that there was something wrong in the ScriptSig.

The scriptSig will be prepopulated with the scriptSig of the output referenced by the input. This is for saving a lookup.


Problem connecting to localhost

I can't seem to be able to figure this out ...
Every time I use the simple sample code connecting to localhost I get

"MongoDB is not available on the given host and port (Socket failed with code 61 ("No data available") [connectFailed] "Unknown error")."

There are no issues when I connect to mLab.
Why could this be? Mongo is running locally and if I connect in a second terminal with the 'mongo' command everything works fine. I connect to "mongodb://localhost", have tried adding the correct port too, but no luck!

How are you creating the Server object?
Server("mongodb://localhost") should work Server(hostname: "mongodb://localhost") shouldn't.
MongoKitten 1.7 has some very unnatural initializers.
If this doesn't solve your problem, changing from localhost to <IP_ADDRESS> could

I used

do {
self.server = try Server("mongodb://localhost", automatically: true)
} catch {
print("MongoDB is not available on the given host and port ((error)).")
}

And changing from localhost to <IP_ADDRESS> actually worked. Thanks a lot for everything!


D1 sample_output.txt

On the situation where the game ends in a tie (lines 299-403) wouldn't X have won after there move on line 379 with 4 X's in a row diagonally (lower-left to upper-right).

This was a mistake and I didn't get around to it until after the due date.  But you definitely deserve +1 extra credit (and I am surprised nobody else noticed it!)


Add publish workflow

It should be possible to publish a new version of the library directly from this repository via GitHub action.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.16%. Comparing base (30a0fc8) to head (5078c8d).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main       #2   +/-   ##
=======================================
  Coverage   99.16%   99.16%
=======================================
  Files           2        2
  Lines         359      359
=======================================
  Hits          356      356
  Misses          3        3

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


[release-4.17] OCPBUGS-42421: oc-mirror skips images with digest and tag

Description
This is a manual cherry-pick of #911
Fixes OCPBUGS-42421
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Unit tests pass

/label qe-approved

/label cherry-pick-approved

/label backport-risk-assessed


PatternMatch.is_getter no longer works with Sil.Cfun

In my do_instr I am matching the following pattern:
| Sil.Call (_, Sil.Const (Sil.Cfun pn), ((_arg1_exp,arg1_typ)::_ as args), loc, _) -> (*...*)

Doing PatternMatch.is_getter pn after pulling commit 7ffb6357197d88b9caa50b8986902169c80e8e83, but it no longer works with the latest commit (9f7bfea98fabb997bae02df028adcf0735a3a93a).
I'm not sure when this has changed but now I have the following error:
Error: This expression has type Procname.t
       but an expression was expected of type Procname.java

--Luis

The API of Procname is undergoing change to make it safer, as it would assert false if e.g. functions for Java procedure names were called with C procedure names.
For example PatternMatch.is_getter would work only with Java, so now it takes  type java to make sure it's not called from the wrong language.
(things will change some more, but not in complex ways)

Got it! Thanks @cristianoc


[improve][pip] PIP-368: Support lookup based on the lookup properties

Motivation
Currently, the lookup process uses only the topic name as its parameter. However, to enhance this process, it's
beneficial for clients to provide additional information. This could be done by introducing the lookupProperties field
in the client configuration. Clients can then share these properties with the broker during lookup.
On the broker side, the broker could also contain some properties that are used for the lookup. We can also support the
lookupProperties for the broker. The broker can use these properties to make a better decision on which broker to
return.
Here is the rack-aware lookup scenario for using the client properties for the lookup:
Assuming there are two brokers that broker-0 configures the lookup property "rack" with "A" and broker-1 configures the
lookup property "rack" with "B". By using the lookup properties, clients can supply rack information during the lookup,
enabling the broker to identify and connect them to the nearest broker within the same rack. If a client that configures
the "rack" property with "A" connects to a lookup broker, the customized load manager can determine broker-0 as the
owner broker since the broker and the client have the same rack property.
Modifications
Add new configuration lookupProperties to the client. While looking up the broker, the client will send the properties
to the broker through CommandLookupTopic request.
The lookupProperties will then be added to the LookupOptions. The Load Manager implementation can access
the properties through LookupOptions to make a better decision on which broker to return.
The properties are used only when the protocol is the binary protocol, starting with pulsar:// or pulsar+ssl://, or
if the loadManagerClassName in the broker is a class that implements the ExtensibleLoadManager interface.
To support configuring the lookupProperties on the broker side, introduce a new broker
configuration lookupPropertyPrefix. Any broker configuration properties that start with the lookupPropertyPrefix
will be included into the BrokerLookupData and be persisted in the metadata store. The broker can use these properties
during the lookup.
In this way, to support the rack-aware lookup scenario mentioned in the "Motivation" part, the client can set the rack
information in the client lookupProperties. Similarly, the broker can also set the rack information in the broker
configuration like lookup.rack. The lookup.rack will be stored in the BrokerLookupData. A customized load manager
can then be implemented. For each lookup request, it will go through the BrokerLookupData for all brokers and select
the broker in the same rack to return.
Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[x] doc
[ ] doc-required
[ ] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

The vote has passed with 3 binding +1s. https://lists.apache.org/thread/z0t3dyqj27ldm8rs6nl5jon152ohghvw


test: add and update

Add test for single grid layout.
Add test for RTL.
Update test to cover height calculation of listboxes when dense or no-title.

@DanielS-Qlik Nice!


Unnecessary code

This variable is not used in the source code so these 2 lines are useless.
https://github.com/PaRadoxM16/tcping-golang/blob/a4e97987885698fe2f3548620c78bd9151d1ac2b/main.go#L24

if it’s not used then how does the program compile 💀

The variables isn't used. you made a variable called filenamesplit and never used in the source code. so why did you even make that variable. its useless.....

Well no crap its gonnah compile. with or without the code its gonnah compile regardless. that isnt the point. Point is, you created a 2 variables and only used them once. Variables are to store values and to reuse that variable with that value multiple times. instead of having to type the actual value(string or any datatype).
Regardless of anything. This code here is both useless and noobish practice
these 2 lines can turn into a one line
filename := strings.Split(os.Args[0], "")[1]


[2201.3.0]Sync lang.regexp module with spec

Purpose

Add documentation for the functions
Add split function and tests
Mark ReplaceFunction as isolated as a workaround for @isolatedParam

Fixes #38524
Approach

Describe how you are implementing the solutions along with the design details.

Samples

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

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[x] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Pulled changes from https://github.com/ballerina-platform/ballerina-lang/pull/38495. Diff will update once the said PR is merged


New version: SomePythonThings.WingetUIStore version 1.6.0

Pull request has been automatically created using 🛫 WinGet Releaser.
Microsoft Reviewers: Open in CodeFlow

@wingetbot run

@wingetbot waivers Add Validation-Installation-Error


azure_mgmt_storage storage_accounts_client.list_keys does not properly parse the response

The response from the server in list_keys is
[
    {"creationTime":"2022-09-21T14:41:40.2706733Z","keyName":"key1","permissions":"FULL","value":"REDACTED"},
    {"creationTime":"2022-09-21T14:41:40.2706733Z","keyName":"key2","permissions":"FULL","value":"REDACTED"}
]

The generated code expects the permission to be parsed with:
https://github.com/Azure/azure-sdk-for-rust/blob/84b522148308448ceaf61410af25d83fd10e9224/services/mgmt/storage/src/package_2022_05/models.rs#L4950-L4958
In practice, the server uses FULL, not Full.

We don't have a case insensitive deserializer for xml yet like json:
https://github.com/Azure/azure-sdk-for-rust/blob/main/sdk/core/src/util.rs
The swagger specification\storage\resource-manager\Microsoft.Storage\stable\2022-05-01\storage.json has:
    "StorageAccountKey": {
      "properties": {
        "keyName": {
          "readOnly": true,
          "type": "string",
          "description": "Name of the key."
        },
        "value": {
          "readOnly": true,
          "type": "string",
          "description": "Base 64-encoded value of the key."
        },
        "permissions": {
          "readOnly": true,
          "type": "string",
          "description": "Permissions for the key -- read-only or full permissions.",
          "enum": [
            "Read",
            "Full"
          ],
          "x-ms-enum": {
            "name": "KeyPermission",
            "modelAsString": false
          }
        },
        "creationTime": {
          "readOnly": true,
          "type": "string",
          "format": "date-time",
          "description": "Creation time of the key, in round trip date format."
        }
      },
      "description": "An access key for the storage account."
    },

@JeffreyRichter I know from a recent discussion you were saying enum values should be treated case-sensitively, but with so many services varying now should we actually try to enforce this in client libraries? /cc @johanste

What does it mean to enforce this in client libraries? SDKs usually do no client side checking; I wouldn't add it for this.

Client libraries need to during deserialization. For example, do both "foo" and "Foo" deserialize into code member Foo? This is probably most important for LROs where services send back camelCase and PascalCase for LRO monitor states e.g., "failed" or "Failed".

Sure, the SDK should deserialize case-insensitive

Python client libraries has been doing case insensitive parsing/comparisons of enums for quite a while. Is the service always using the same case, or is it case-preserving based on input from somewhere? If it is normalizing/always have the same case on output, the swagger should be updated to correspond to what the service actually does.


Wallet does not store addresses ?

Hi Jeff,
i am using version v0.5 of picocoin (faa9b83a2).
When i do something like in the script below, i only get an empty wallet.
What am i doing wrong? Or do i need to upgrade ?
Unfortunately, i am not able to compile the latest version, see bottom of this message
========== testrun ===============
`
PICOCOIN_PASSPHRASE="test"
cmd="bin/picocoin0.5 --set=config=.picocoin/picocoin0.5.conf"
$cmd address
$cmd address
$cmd address
$cmd address
$cmd info
$cmd dump
`
i am getting only an empty wallet:
bitcoin@server:~$ ./picocoin05.sh  1LpuWPHuDRoCQWCwS7pM1U66gXxDpsqR6D 1BNJHTMgu77T4ZZJxGSFt6HkYG8bnWPxPT 18uqEDigNh5SVL88Gfaq8E1dGAuPedUx8S 1JTy1AZ3iEFXJg4hqVxdccBjAAk1cybxyd {   "version": 1,   "n_privkeys": 0,   "n_hd_extkeys": 1,   "netmagic": f9beb4d9 } {   "accounts": [     {       "acct_idx": 0,       "name": "master",       "next_key_idx": 213     }   ],   "def_acct": "master",   "hdmaster": [     {       "hdpriv": "9Xoy2u8vevhdokmLL5wks8mx6hGUKkU9LqBV1qLwiRaVMtAaqR3zm4RLFgD1VPCdRScwRpuUWfNnqDEMufFmJ9nkARoKw8kkSS2qJpVNZS"     }   ],   "keys": [],   "netmagic": "f9beb4d9",   "version": 1 }
========== testrun end ===============
========== compile message ===========
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -I../include    -g -O2 -MT core.o -MD -MP -MF .deps/core.Tpo -c -o core.o core.c mv -f .deps/core.Tpo .deps/core.Po gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -I../include    -g -O2 -MT coredefs.o -MD -MP -MF .deps/coredefs.Tpo -c -o coredefs.o coredefs.c mv -f .deps/coredefs.Tpo .deps/coredefs.Po make[2]: *** No rule to make targetdns.c', needed by dns.o'.  Stop. make[2]: Leaving directory /home/bitcoin/dev/picocoin/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory /home/bitcoin/dev/picocoin'
Thank you !

The build problem vanished, but i am still not able to store addresses. Thank you ..

This probably happens because it's a deterministic wallet. Addresses are derived from the seed, so there's no need to explicitly store them in the wallet. (Though it would be nice if there was a command that would list addresses generated so far.)

Correct - we can see from next_key_idx that several keys have already been derived.


Fix "read access violation" error in CaptureSerializer::Save

When saving a capture, an exception is thrown. Updated the code to fix it.
The error comes from a small typo in the stop condition in the loop that makes the call to CaptureSerializer::Write

Thanks! merging into master


Data for Paginated Shielded Assets

We need to write a query to get data for the Shielded Assets Table as shown in the image below.

So truly most of these would be hardcoded at the current moment @AtelyPham. We would need to leverage the bridge-registry pallet to grab it dynamically if we wanted to make it automated.

I will close this issue!


Add .swiftlint.yml and .hound.yml, address lint warnings

Related to https://github.com/Carthage/ReactiveTask/pull/115#discussion_r283326352.

Awesome, thanks!


feat: creating an example to show the problem when the FlatList needs to be nested

Closing as this is v2 related.

Closing as this is v2 related.