Adding alternative installation for Windows daily build from aka.ms/ros channel.

Adding alternative installation for Windows daily build from aka.ms/ros channel.

@seanyen friendly ping. There is some feedback above that can be addressed.

@seanyen Friendly ping.

@jacobperron Sorry I totally missed your previous ping. I will reiterate this soon.

@jacobperron This is ready for review and merge.

@jacobperron Following up.

What promise of maintenance do we have from your team? For example, what ROS distributions do you plan to support and how frequently will they be updated?
Are these always going to be the latest development branches for a distribution, or could we also (or instead) have a release snapshot (e.g. current tagged versions of ROS repositories)?

Our team will be supporting the ROS 2 LTS distro (Dashing and later) for the Chocolatey package releases, which will be tested and validated by certain quality gates (for example, like release-to-release upgrade). For the non-LTS distro, we will enable the Chocolatey packages, but they will be at the best effort. Our team support will be primarily on the LTS distro.
For the nightly build, which will be published daily and will be equivalent to the snapshots from testing repository for the Debian packages channel. For the verified build, which will be 2-month cadence given the team capacity, and the snapshot will be respecting to Open Robotics release snapshots. In other words, the public announced releases from Open Robotics will become release candidates for our pipelines for the 2-month release.

Is your toolchain open (or planned to be open) so that other users have the option to set up there own Windows build farm?

The build script is open source under https://github.com/ms-iot/ros-windows-build and the recipe is written for Azure Pipelines. Users can fork and replicate the same environment under an Azure DevOps account.
cc @dirk-thomas FYI, and hope you can shed some lights how to get the snapshots for the regular releases and testing repository. (Is it directly using rosinstall_generator to get tagged sources? And how to specify if I want a particular release?)

For the nightly build, which will be published daily and will be equivalent to the snapshots from testing repository for the Debian packages channel.

Looking at an example pipeline of Eloquent (https://ros-win.visualstudio.com/ros-win/_build/results?buildId=7438&view=logs&j=c7f440d8-2ad8-5cef-5f6c-523fd9be0b31&t=d2d83722-0e0d-58fa-5bbd-592a2362994a) it looks like the build is using the Eloquent specific branch of the source repos. That would not be the same as what is available from Debian packages (which only contain released versions of all packages).

This pull request has been mentioned on ROS Discourse. There might be relevant details there:
https://discourse.ros.org/t/ros-2-tsc-meeting-minutes-2020-06-18/14948/1

We discussed this in a recent meeting. We are hesitant to make the nightly state built from the development branches the recommended version for Windows users. Therefore we should first get choco packages in place which match the latest released versions of repositories / packages and then make those the recommended way. The nightly development builds will still be valuable but should only be used by a small subset of users which explicitly choose them.

The nightly development builds will still be valuable but should only be used by a small subset of users which explicitly choose them.

Perhaps it makes sense to suggest the nightly development builds as an option on the pre-release testing page

We discussed this in a recent meeting. We are hesitant to make the nightly state built from the development branches the recommended version for Windows users. Therefore we should first get choco packages in place which match the latest released versions of repositories / packages and then make those the recommended way. The nightly development builds will still be valuable but should only be used by a small subset of users which explicitly choose them.

Perhaps it makes sense to suggest the nightly development builds as an option on the pre-release testing page

Thanks for the summary. For the release builds, I will be using with ros2.repos tag versions so the content will be aligned with OR releases.
And for the prerelease builds, it keeps the current state to be built from the development branch. And it makes sense to move the pre-release instructions to the pre-release testing page.
Once I make the adjustment to our build pipeline (I plan to do that in July), I will be pinging back on this thread. Thanks!

Another note from the meeting: the plan is to get rid of the ros2.repos file in the near future and query the same information using the rosinstall_generator from the ros/rosdistro repository. It would be good to work towards that so when the ros2.repos file is being remove the pipeline is ready to continue.

This pull request has been mentioned on ROS Discourse. There might be relevant details there:
https://discourse.ros.org/t/ros-2-tsc-meeting-minutes-2020-07-16/15468/1

@dirk-thomas @jacobperron Hi, I am happy to update now we started to produce the installations aligned with the release snapshots (for Foxy and Dashing). And I have updated this pull request accordingly. Hope we can move this forward soon.


[QUESTION] Building local docker on an ARM64 with an x86 chromium binary

Question
Hi Sparticuz team! I see that ARM64 is not supported yet. I am trying to build my lambda using docker, which makes lambda layers a little trickey.
I am thinking of building a docker image with the x86 chromium binary in a base image to my lambda image. Then pass the chromium binary path to the executablePath variable.
Do you have any suggestions on how to go about doing this?
Why would it be useful?
I feel this could be an alternative solution to lambda layers

@FreddieFruitSticks did you figure this out?

No Sir, I did not. I eventually got to installing the chromium binary, but then realised when running it that I needed to install all the ARM64 dependencies. This proved to be a nightmare, and thought of maintaining them haunted my dreams.
I feel like a much better solution is to get an X86 ec2 instance up, and build and deploy from there.

If you are using a custom docker image, you should just install chromium in the dockerfile.


ISPN-6276 AdvancedAsyncCacheLoader is now threadsafe

https://issues.jboss.org/browse/ISPN-6276
Highlights:

ConcurrentHashSet is used as a container for all loaded keys
ConcurrentHashSet has been moved to commons

Just to give more information to this issue.  I had discussed this same issue with @danberindei a while back.  Unfortunately making the set a ConcurrentHashSet is not sufficient to prevent all issues.  See [1].  Although it would prevent the exception, however this would then mask the big problem of possibly only seeing a subset of keys.
[1] https://issues.jboss.org/browse/ISPN-3938

Thanks a lot for the review. Comments addressed. Rebased and repushed.

I changed JIRA to ISPN-3938 since ISPN-6276 was closed as a duplicate.

Merged, thanks @slaskawi !


Consolidate examples in RxInferExamples.jl repository

A few months ago, @bartvanerp created the RxInferExamples.jl repository, which currently features only the drone example. To encourage more community contributions and keep our main repository cleaner, I propose moving all examples from the main RxInfer repository to RxInferExamples.jl. This change can help:

Encourage more contributions from the community.
Keep the main repository clean and focused on core functionality.
Make it easier for users to find and add examples.

This could be a great first issue to tackle for other contributors @ReactiveBayes/bayesian-beyond.

Moving examples to their own repository is not a bad idea, but they should remain part of the documentation. It wouldn’t be difficult for RxInferExamples to have its own documentation infrastructure with a separate webpage. However, merging both documentations together could be more challenging. Either approach works for me. In the first case, we can simply include a link to redirect users to the separate webpage.


Request getBody() method

Hi guys I am trying to implement reactphp with symfony version 2.8 by following this tutorial ( https://gnugat.github.io/2016/04/13/super-speed-sf-react-php.html ).
Symfony request constructor need following parameters

Constructor.

@param array           $query      The GET parameters
@param array           $request    The POST parameters
@param array           $attributes The request attributes (parameters parsed from the PATH_INFO, ...)
@param array           $cookies    The COOKIE parameters
@param array           $files      The FILES parameters
@param array           $server     The SERVER parameters
@param string|resource $content    The raw body data

in older version of react we have method
getBody() and getFile() and two classes RequestParser and MultiPartParser
I want to ask how I get body content to parse post and FIles to send post and FILES to symfony 2.8.

You'll need to wait for 0.8 which is scheduled for this month afaik.

@andig could you tell me in version I can found that so that I can download package by composer.

@hariskhaliquecs it will come in v0.8.0 https://github.com/reactphp/http/issues/120

I'll assume this is resolved and will close this for now, please feel free to report back otherwise :+1:

Where can I found document for reactphp or any tutorial that help me setup reactphp with symfony.

Where can I found document for reactphp or any tutorial that help me setup reactphp with symfony.

I would suggest https://github.com/php-pm/php-pm for this purpose


Bad rate with -P, bad percent count

Describe the bug
I have run against a problem, that actual rate is multiplied but the nubmer of probes, and in monitoring the percent is counted badly. I searched and found that this issue should have already been fixed in #513. But I run against in with master branch and I see reference to #513 in git log.
CLI Arguments
For example with:
./src/zmap --probe-module icmp_echoscan -r 1 -P 10

I get:
...
 0:10 0% (13 years left); send: 100 10 p/s (9 p/s avg); recv: 1 0 p/s (0 p/s avg); drops: 0 p/s (3 p/s avg); hitrate: 1.00%
...

It should be sending with rate 1 p/s, but it is 10 p/s.
I have another running scan of almost full IPv4 with -P 8 that shows me this:
...
1:02:22 66% (31m left); send:<PHONE_NUMBER> 337 Kp/s (332 Kp/s avg); recv: 7633381 3.11 Kp/s (2.04 Kp/s avg); drops: 0 p/s (0 p/s avg); hitrate: 0.62%
...
1:34:30 101% (136 years left); send:<PHONE_NUMBER> 329 Kp/s (334 Kp/s avg); recv: 11635333 2.28 Kp/s (2.05 Kp/s avg); drops: 0 p/s (0 p/s avg); hitrate: 0.61%
...
1:34:30 101% (136 years left); send:<PHONE_NUMBER> 329 Kp/s (334 Kp/s avg); recv: 11635333 2.28 Kp/s (2.05 Kp/s avg); drops: 0 p/s (0 p/s avg); hitrate: 0.61%
...

100% of it is around 1.8*10^9, which looks like (4*10^9 * 8) mod 2^32.
Environment:

OS: Gentoo
Version: Github HEAD

For the rate problem I found out that the problem shows itself only when the rate is < 50. Probably it can be bounded somehow to "slow_rate = 50" constand defined in send.c. There are different calculations there for rates less than the slow_rate, as I can see.


azuretest: Refactor clean up code to separate functions

In order to run the clean up in a separate binary it is necessary to
refactor the clean up code away from the context manager.

This PR is ready for review, Jenkins reported the status incorrectly. All stages are green.


Some tweaks to the app (fixed duplicates and added option to show age this year)

Fixed problem where duplicate contacts could occur when initially added to the database.
Added option to show the age that a person turns to this year (regardless of their actual birthday and current date) - mostly I'm interested to see how old a person will be this current year, but don't really care if their birthday has passed (they've already turned) or their birthday is still upcoming (they're about to turn this age).
Also reworked the way separators are handled, removed the individual boolean flags for each month.
Preparing the ground for anniversaries.

I haven't tested the upgrade path in great detail, there might be some problems there as I've changed an int value (for the CURRENT / FUTURE ages) into an enum.


[CERT-TEST-FAILURE] TC-IDM-4.2 - Test Failed

Feature Area
Other
Test Case
TC-IDM-4.2
Reproduction steps
TC-IDM-4.2 : As per test-plan Step 6 is expecting to configure TH2 without access to a specific node ID,
Is there a way to give access to a specific node ID in chip-tool ?
PFA test-plan screenshot :

Bug prevalence
Everytime
GitHub hash of the SDK that was being used
c1ec2d777456924dcaa59b53351b00d73caf378f
Platform
raspi
Anything else?
No response

To deny access to a node, relevant ACLs need to be set (or removed).

Needs an owner to describe how ACLs can be set/updated to meet the test requirement.

Validated the test step by following the method as mentioned below
sending a command along with unregistered commissioner node id (5)
any subscribe-by-id 0xFFFFFFFF 0xFFFFFFFF 10 100 1 0XFFFF --commissioner-nodeid 5
On CR2, Verify that the DUT returns a ""INVALID_ACTION"" status response.
[1695815340.162063][2522:2524] CHIP:EM: Rxd Ack; Removing MessageCounter:187875065 from Retrans Table on exchange 10455i
[1695815340.162181][2522:2524] CHIP:DMG: StatusResponseMessage =
[1695815340.162244][2522:2524] CHIP:DMG: {
[1695815340.162298][2522:2524] CHIP:DMG:         Status = 0x80 (INVALID_ACTION),
[1695815340.162357][2522:2524] CHIP:DMG:         InteractionModelRevision = 11
[1695815340.162412][2522:2524] CHIP:DMG: }
[1695815340.162501][2522:2524] CHIP:IM: Received status response, status is 0x80 (INVALID_ACTION)


Shrinkwrap in release

From @Enteee on February 13, 2017 9:8
Overwriting dependencies of this adapter using npm-shrinkwrap seems to be impossible since you added a complete shrinkwrap file to the 0.12.x - release. Is there a reason for the shrinkwrap file beeing there? If not, i'd suggest removing it again.
Copied from original issue: balderdashy/sails-postgresql#269

@Enteee can you clarify why it is you're trying to override the dependencies?  Is there an important patch to one of the dependencies of sails-postgresql?

From @sailsbot on February 13, 2017 9:8
@Enteee Thanks for posting, we'll take a look as soon as possible.  In the meantime, if you haven’t already, please carefully read the issue contribution guidelines and double-check for any missing information above.  In particular, please ensure that this issue is about a stability or performance bug with a  documented feature; and make sure you’ve included detailed instructions on how to reproduce the bug from a clean install.   Finally, don’t forget to include the version of Node.js you tested with, as well as your version of Sails or Waterline, and of any relevant standalone adapters/generators/hooks.
Thank you!

From @Enteee on February 20, 2017 9:3
@sgress454 As packing a shrinkwrap is afaik bad practice i do think that the why should not be of importance. But i'd still like to give you some insights. It's mostly because of:

https://github.com/balderdashy/waterline-sequel/pull/100
https://github.com/balderdashy/waterline-sequel/issues/101

But maybe this issue resolves itself if you have some profound resons for releasing versions with a shrinkwrap.

From @particlebanana on March 1, 2017 21:50
Hey @Enteee we included the shrinkwrap file because we were having issues with dependencies of modules even when we had our own dependencies pinned. Using the shrinkwrap allowed us to guarantee that the module worked the way we expected it to. I'm not sure if thats bad practice or not but it was helpful for us.
If there are no longer issues and the test continue to pass, I can remove the shrinkwrap.json file if needed from the stable branch which is currently the 0.11 branch.
As part of the upgrade to Sails 1.0 and Waterline 0.13 we have abandoned the use of rolling our own sql generator in favor of using Knex which is much more widely supported and frees us from having to handle that part of the query process. We also have a new lower level query syntax called statements that support the kind of groupBy clauses you are attempting to perform as seen here.
By using that syntax and Knex to build parameterized statements they should be safe from injections.

@particlebanana 👍  for migrating to knex. The current sql-builder raises quite a few concerns.
Anyway I opened this issue because commiting a shrinkwrap.json is bad practice in my opinion. I've found a "workaround" which solves my aggregation problem: Implementing the aggregations using Model.query().
when do you plan on releasing sails 1.0 & Waterline 0.13?


doc/security.md: add notes for proxy security

Fix https://github.com/coreos/etcd/issues/3599
/cc @joshix @heyitsanthony @philips

/cc @roboll

@joshix All fixed. PTAL!

@joshix Fixed.

LGTM

@joshix Thanks for reviewing this!

@xiang90 thanks for the heads up.


Container Lazy and Tabs.Lazy bug

Hi, I have found bug with repositioning of Tabs with lazy loading. Loading is using index of lazy component which doesn't change position. So It loads Tabs based on their original position.
E.g. original Tabs: Tab0, Tab1, Tab2
If you change position of tabs to: Tab0, Tab2, Tab1
Then on click Tab2 you will load Tab1, but Tab2 will stay unloaded. It will be loaded only if 1) it was loaded before changing tab position or 2) if you click on Tab1 as it has index of Tab2 original position.
In Expo examples this should be in example: 15. Adding and removing tabs dynamically
Where you can add Tabs and shuffle them, but right now example is not working (you cannot Add new tab).
Here is example build locally without images:

I haven't found a way how to get around this. Please consider fixing this issue as it disable the option of lazy loading if you have sorting or ordering of tabs.

I have looked at it, but I have not found any simple changes that would effectively fix this bug. Could you please take a look at it?

I too am having this issue. when changing between user profiles that have different tabs, it does not know which one to use behind the scenes

Running into a similar issue -- haven't found a solution yet but will keep looking

#394 should fix this, I released it as 7.0.1-beta.0 on npm. Please help test it for unwanted side effects and report back. Thanks!

@andreialecu Will give this a try! Cheers 👍

@andreialecu From what I've tested so far, the issue seems to have been fixed 🤞
I had a workaround where I was using tab names as a key for Tabs.Container, but that isn't the most practical solution


add boot2 info to binary info (fix #68)

At first I thought this wasn't working, but then I realised that you also have to build https://github.com/raspberrypi/picotool/tree/add-boot2-info in order to get picotool to display this new info.
$ ~/picotool/build.add-boot2-info/picotool info -a test/kitchen_sink/kitchen_sink.uf2
File test/kitchen_sink/kitchen_sink.uf2:

Program Information
 name:            Wombat tentacles
 features:        UART stdin / stdout
 binary start:    0x10000000
 binary end:      0x10005f48
 embedded drive:  0x00080000-0x000c0000 (256K): foo

Fixed Pin Information
 0:  UART0 TX
 1:  UART0 RX

Build Information
 sdk version:       1.0.1
 pico_board:        pico
 boot2_name:        boot2_w25q080
 build date:        Feb 19 2021
 build attributes:  Release

(could / should there be some way for picotool info -a to dump out all binary_info, even that which it doesn't specifically recognise? :man_shrugging: )


Contributing guide: clarify what to do with security.xlf and validator.xlf

Hi,
The above files are not listed in CONTRIBUTING.MD. From what I gather, these are translation of the Symfony framework? If so, do you just copy them from upstream?
validator.xlf is actually quite sizable, would be nice if we can save the effort.

Hello @RicoElectrico ,
You're absolutely right, security.xlf and validator.xlf come from Symfony so you don't have to worry about those if you want to add a new language.
I'll add this information in CONTRIBUTING.md.

OK, so I will make a pull request for Polish, because I have translated the core.


Add docker usage to documentation

This is brought from #1944 (@bcdady's comment), which is currently closed (it was about creating a Dockerfile, not documenting that).
The are now official docker images  published for dbt, but it is mostly undocumented. Searching for dbt & docker will most likely get you to #1944 and unofficial images.
Maybe a note could be added to the bottom of https://docs.getdbt.com/dbt-cli/installation informing of those images existance?

Thanks @telenieko! I completely agree, and I had (still have) an in-progress PR over in the docs.getdbt.com repo to do just this: https://github.com/dbt-labs/docs.getdbt.com/pull/638
As it happens, in a few weeks we'll be taking another pass at our distribution and release processes for dbt, including a split-up of adapter plugins (#3361) and revisiting our Docker image publication/registry strategy (see conversation in #3681)—both part of the lead-up to dbt v1.0 later this year. After we do that, I'm going to take another pass at the docs PR, and officially document our dbt-<adapter> docker images.
I'm going to close this issue in the meantime; it's on our near-term radar.

Hi @jtcohen6,
As dbt v.1.0.0 is released now, I wonder, when the documentation on Docker will follow. I am just starting with dbt and it would be really helpful to have documentation available here: https://docs.getdbt.com/dbt-cli/install/docker
Thanks!


Swarm Size Enhancement Request

I really would like to have an enhancement on the swarm size as a swarm-that-walks player! As it is the core value number for many swarm abilities involved.

Bumping this. In party.json, the entry is:
"$type": "Kingmaker.UnitLogic.Parts.UnitPartLocustSwarm, Assembly-CSharp",
"CurrentStrength": 22097,
"CurrentScale": 20

Feature is still missing. Per further testing, setting this value in a save file works, but doesn't update all associated values until another corpse is consumed.

That works!


wireshark: 2.2.7 -> 2.4.0

Motivation for this change
Fixes the following CVEs:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-11409
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-11406
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-11407
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-11408
I have tested main binaries and they work. I however have a little problem when I run wireshark just after building it:
$ nix-build -A wireshark
[…]
$ ./result/bin/wireshark
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Reinstalling the application may fix this problem.

To get it to work, I have to nix-env -i it:
$ nix-env -i $(readlink -f result)
$ wireshark
[works properly]

@ttuegel any idea how to solve that (I have the same problem if I nix-shell -p it)?
I am also preparing an update to wireshark-2.2.8 to integrate in release-17.03.
Things done
Please check what applies. Note that these are not hard requirements but merely serve as information for reviewers.

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

[X] NixOS
[ ] macOS
[ ] Linux

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

The qt plugin issue is not related to this update:
$ NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz  nix-shell -p wireshark --command wireshark
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Reinstalling the application may fix this problem.

@lsix Qt applications cannot be run from the store anymore, but need to be installed.

@lsix I ran into the same Qt issue with sddm. I think it's related to https://github.com/NixOS/nixpkgs/pull/27427/commits/dce958ac396e88c09d5b19c284f41eef68f54ce7 (which was a fix for https://github.com/NixOS/nixpkgs/commit/3cb745d5a69018829ac15f7d5a508135f6bda123 ) and https://github.com/NixOS/nixpkgs/commit/b087618ac06256cb3c06278e7eaba45841f4ea91 being applied at the same time.
I'm trying to confirm this but rebuilding takes a while.
cc @ttuegel

Qt applications cannot be run from the store anymore, but need to be installed.

@FRidh is correct, Qt applications cannot be run from the store. What you are seeing is the expected behavior.

Given the fact that I did not break the thing with the package update, I did not worry to much about that (this is why I dropped the WIP tag). Also, someone using wireshark will probably want to install it with programs.wireshark.enable = true; to be able to use it without root privileges.
However, if I refer to https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/qt.xml#L52 I understand that I should be able to run it with nix-shell, which I cannot, as stated in my previous comment. Is that also expected?

Is that also expected?

Yes.


Get data cube / dimension information

While discussing #187 and #192, we came across the need to get data cube metadata in the processes, like the number of dimension labels, the resolution, the CRS or so. We have dimension_labels() and count() for the number of dimension labels, but not much more. We should add more processes to get all the metadata.
cc @clausmichele @jdries

So, if a datacube is (time,bands,x,y) with dimension_labels() and count() we could get the first 2 right?

No, you'd need to call dimension_labels(data, "x") and then you can count the number of labels available (which is the same as counting values if you don't care for null/NaN/etc.).

Woops, closing as duplicate of #193.

Woops, closing as duplicate of #193.

Duplicate of #195, 193 is this one


Hierarchical tags

Abram and I were discussing a few edge cases that we are running into, specifically when we can identify a blurry or cut-off image down to a general group but not down to a species (for eg, can tell it's a mammal but can't tell which, or when we have a bad angle on a shearwater/petrel and cannot determine which), and we were wondering about the possibility of having hierarchical classes. In our biological use-case, this makes a lot of sense - for example, if we label something as a hawaiian petrel, we can assume it's an animal and part of the Procellariiformes order, part of the Pterodroma genus, etc etc. Then, if we couldn't ID a bird down to species, we could simply label it with the most specific label we have for it, whether it's Pterodroma, Procellariiformes, or just Aves.
I'm not sure how much re-invention would be required to make that work. In a perfect world, the model would be able to use all of the levels of the tag hierarchy, meaning that all of the specific tags would also be incorporated in each more general class, instead of each level being considered its own unique class.
Just curious if this is possible!

I think this is a really interesting idea.  The model might not be great at identifying a specific type of object, the model of a car for example, but it knows that it is a type of car, which is a type of vehicle, which is a type of manmade object.

I think that this would be pretty cool!  Maybe a model/project would need a "tag library" file that defines the hierarchy and how tags are nested within each other.   This would be supplied upon project initialization and could be updated/added to as new tags were needed for unanticipated labels.

Yeah, it could probably just be a list of child -> parent pairs and the code could create the tree structure.


remove duplicate ci workflow

resolves #16

As discussed with @alinelena, we'll publish code coverage separately - see #60.
Think this should be ready once the pips are replaced.


Fix 6875: SLSQP raise ValueError for all invalid bounds.

Previously, SLSQP would not raise the error if the first set of bounds were
invalid, but would if any other bounds were invalid.  This now handles all
invalid bounds in the same way by raising a ValueError.
Fixes #6875.

Merged, thanks @randyheydon


Error: Cannot find module 'apiai'

Description
On server startup the server starts to boot up as normal but when it hits the LOAD: BEHAVIORS [npc] ranvier-sentient..  it throws an error Error: Cannot find module 'apiai'. this only happens on my windows server
Expected outcome
to load in
Actual outcome
module.js:545
throw err;
^
Error: Cannot find module 'apiai'
at Function.Module._resolveFilename (module.js:543:15)
at Function.Module._load (module.js:470:25)
at Module.require (module.js:593:17)
at require (internal/module.js:11:18)
at Object. (C:\Users\ (removed for privacy) \GitHub\ranviermud\bundles\ranvier-npc-behaviors\behaviors\npc\ranvier-sentient.js:24:15)
at Module._compile (module.js:649:30)
at Object.Module._extensions..js (module.js:660:10)
at Module.load (module.js:561:32)
at tryModuleLoad (module.js:501:12)
at Function.Module._load (module.js:493:3)
Steps to reproduce
this error shows up after a reclone of the repo
Version of Ranvier

2.0.0

I did some digging and found the issue. It is that the Apiai folder is completely missing. had to pull the folder from an old dev server to fix it

Hi @Loneblackfang ,
The root cause of this is that bundle's dependencies are now moved into a nested package.json file rather than the package in the root of the Ranvier repo.
Running the bundle-install command (npm run bundle-install if you're on Mac or Linux) will install the dependencies of each bundle.


how support iOS

apply support iOS

We are still working on the iOS version so it will take some time. Meanwhile you can use cordova websocket plugin along with mqtt.js to uniformly support the MQTT protocol.
Regards,
Amey Kshirsagar
Managing Director & Co-Founder
-----Original Message-----
From: "wangrui"<EMAIL_ADDRESS>Sent: 23-01-2016 09:06 AM
To: "arcoirislabs/cordova-plugin-mqtt"<EMAIL_ADDRESS>Subject: [cordova-plugin-mqtt] how support iOS  (#4)
apply support iOS
—
Reply to this email directly or view it on GitHub.

Hey Amey!
Thanks for bringing MQTT to hybrid mobile apps :) Any update on iOS support status?
Cheers,
Pedro

Hi Pedro,
Thank you for your appreciation. We are currently working on the plugin. Our team is currently working on other project which is not giving us any time. But we are hoping to release it as soon as possible.
Amey K.

On 11-Apr-2016, at 11:12 PM, PedroMD<EMAIL_ADDRESS>wrote:
Hey Amey!
Thanks for bringing MQTT to hybrid mobile apps :) Any update on iOS support status?
Cheers,
Pedro
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub

when will we get the mqtt plugin for ios?

@Hephze
We are currently too busy right now in other work & we have just created a scaffolding for the MQTT library in Swift. We need to work on background processing & notification part and once that's ready we will publish the iOS support. If you wish to contribute to this feature, we will welcome your pull request.
Approx timeline is shady right now

Waiting for the iOS version.

Hi,
We have added a temporary support to the iOS platform but we are quite unsure about the stable support of iOS platform for the time being. If you got a fork supporting native iOS version we will proudly welcome it.
Thanks
Amey K
Maintainer
Sent from my iPhone

On 27-Nov-2016, at 8:37 AM, Jade<EMAIL_ADDRESS>wrote:
Waiting for the iOS version.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

connect---error:cannot find variable:userDefaultRouter

@wuyandenuoyan do not use the routerConfig object if you are not using custom topic router.
like this
cordova.plugins.CordovaMqTTPlugin.connect({
    url:"tcp://test.mosquitto.org", //a public broker used for testing purposes only. Try using a self hosted broker for production.
    port:1883,
    clientId:"YOUR_USER_ID_LESS_THAN_24_CHARS",
    connectionTimeout:3000,
    willTopicConfig:{
        qos:0, //default is 0
        retain:true, //default is true
        topic:"<will topic>",
        payload:"<will topic message>"
    },
    username:"uname",
    password:'pass',
    keepAlive:60,
    success:function(s){
        console.log("connect success");
    },
    error:function(e){
        console.log("connect error");
    },
    onConnectionLost:function (){
        console.log("disconnect");
    }
})

We found a typo error. Apologies

@arcoirislabs remove topic router, but connected failure.

Check your credentials for connection
Sent from my iPhone

On 25-Mar-2017, at 8:11 PM, wuyandenuoyan<EMAIL_ADDRESS>wrote:
@arcoirislabs remove topic router, but connected failure.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi !
I heard that you already add temporary support for iOS.
So, do I just need to use it the same way you already explained in the main page ?
I used this plugin and work well in Android device, but no luck with iOS.
Is there any tweaks needed ?
Thank you !

The iOS support is from the JavaScript library of MqTT. We are almost done writing a Swift based native part, written from the scratch. Only the publish method is not supported yet. If you want to experiment with that development release, let me know. It can do everything except publish.
To do the tweaks in existing you can directly get the source code of the plugin and locally add the plugin using Cordova cli and the path of saved plugin. You can edit the 'cordova-plugin-mqtt.js' to add log statements to debug it. But as far as we know, we didn't had any problem for MqTT support iOS. You can go ahead and elaborate it
Sent from my iPhone

On 16-May-2017, at 2:09 PM, Charles808<EMAIL_ADDRESS>wrote:
Hi !
I heard that you already add temporary support for iOS.
So, do I just need to use it the same way you already explained in the main page ?
I used this plugin and work well in Android device, but no luck with iOS.
Is there any tweaks needed ?
Thank you !
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

You said you have no problem with MqTT in iOS. Are you saying the current plugin right now is already working in iOS ?
My code is hanging everytime it reached this part
cordova.plugins.CordovaMqTTPlugin.connect({     url:"tcp://test.mosquitto.org", //a public broker used for testing purposes only. Try using a self hosted broker for production.     port:1883,     clientId:"YOUR_USER_ID_LESS_THAN_24_CHARS",     connectionTimeout:3000,     willTopicConfig:{         qos:0, //default is 0         retain:true, //default is true         topic:"<will topic>",         payload:"<will topic message>"     },     username:"uname",     password:'pass',     keepAlive:60,     success:function(s){         console.log("connect success");     },     error:function(e){         console.log("connect error");     },     onConnectionLost:function (){         console.log("disconnect");     } })
Any idea about this ?

Refer the example code to get the working one. This code sample is a representation of plugin API.
Sent from my iPhone

On 16-May-2017, at 4:14 PM, Charles808<EMAIL_ADDRESS>wrote:
You said you have no problem with MqTT in iOS. Are you saying the current plugin right now is already working in iOS ?
My code is hanging everytime it reached this part
cordova.plugins.CordovaMqTTPlugin.connect({ url:"tcp://test.mosquitto.org", //a public broker used for testing purposes only. Try using a self hosted broker for production. port:1883, clientId:"YOUR_USER_ID_LESS_THAN_24_CHARS", connectionTimeout:3000, willTopicConfig:{ qos:0, //default is 0 retain:true, //default is true topic:"", payload:"" }, username:"uname", password:'pass', keepAlive:60, success:function(s){ console.log("connect success"); }, error:function(e){ console.log("connect error"); }, onConnectionLost:function (){ console.log("disconnect"); } })
Any idea about this ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Thank you for your advice.
I did exactly refer to the example code and It's working.
But, only working in Android Device not iOS (I'm using iPhone SE - iOS 10.3).
I think I will try the websockets + mqtt.js or try to debug the source myself then.
Thank you once again.

We will look after the issue and get back to you.
Sent from my iPhone

On 16-May-2017, at 4:24 PM, Charles808<EMAIL_ADDRESS>wrote:
Thank you for your advice.
I did exactly refer to the example code and It's working.
But, only working in Android Device not iOS (I'm using iPhone SE - iOS 10.3).
I think I will try the websockets + mqtt.js or try to debug the source myself then.
Thank you once again.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi, meanwhile waiting for you to look for the issue,
Do you have any references for examples how to implement MqTT Websocket in Cordova ?

Would it be possible to get access to the development release with partial iOS support?

Any updates on how I can get this to work on ios?

Check on https://github.com/gonzalovinas/ios-plugin-mqtt

Any news on the iOS support?
Last commit on master is from July 2017... Do you still continue development?
Thanks in advance

Any update? Readme say about update on 20 Feb 2019 but no new update

Any update? Readme say about update on 20 Feb 2019 but no new update

I decide to revive an old working MQTT plugin for Android and IOS, now working smoothly
https://github.com/linhtranvu/cordova-plugin-fastrde-mqtt

I decide to revive an old working MQTT plugin for Android and IOS, now working smoothly
https://github.com/linhtranvu/cordova-plugin-fastrde-mqtt

doesn't work and you removed the IOS src libs. WTF there is no working solution in 20 May 2022


Adding Ankara Yildirim Beyazit University's old domain name again.

ankara yildirim beyazit university used to be called as yildirim beyazit university , and domain name was ybu , i noticed you removed it but we older students and teachers using that domain still .can you add again please. you dont need to remove aybu

https://www.aybu.edu.tr/aybu/en/haber/6440
here is proof of that.  its turkish but you can translate easy

@berkdenizi I am sorry, the domain ybu.edu.tr is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


fix: Correct loki-stack storageclassname value ref

Docs here say the following:

Installing Mayastor via the Helm chart sets the StorageClass as 'default' for Loki and etcd StatefulSets. This will work in clusters which have a StorageClass named 'default'. If there is no 'default' StorageClass in the cluster, storage provisioning will fail for Loki and etcd. In such cases, one can change the StorageClass to 'manual' which will provision a PersistentVolume of type hostPath. To do this, make the following changes in the values.yaml file:

loki.persistence.storageClassName: manual
etcd.persistence.storageClassName: manual

This PR corrects the docs to reference the Loki storageClassName by its proper value, loki-stack.
Related: https://github.com/openebs/mayastor-extensions/pull/207

Although perhaps there are further issues. The Loki pod is stuck pending because manual is not a valid Storage Class Name. Which is not the behavior I see with the etcd pods. So something else must be amiss here as well.

Although perhaps there are further issues. The Loki pod is stuck pending because manual is not a valid Storage Class Name. Which is not the behavior I see with the etcd pods. So something else must be amiss here as well.

hmm I think I use manual for Loki and it works for me

@zimmertr could you fix the commit message? Correct should start with lowercase.


Fix race condition in examples for high level service interface

If we first request_name and then bus.export our service
then there is a (short) period of time when we already own the name
but our MessageBus class doesn't know which services shall it provide.
As a result, if we get a request in this period of time,
we will reply with an error "SERVICE.METHOD with signature SIGNATURE not found".
This situation will happen regularly if we are started by dbus-daemon
because we were declared in the .service file. For example:
[D-BUS Service]
Name=test.name
Exec=/path/to/my/service.py

With the old vesion of examples, this will fail to handle the first request
for which D-Bus started our service.

:+1:


[sdk] resetting a storage may leave some tabs with zombie state

saw this in Ian's machine just now where after resetting on composer/devtools and reloading the tab had no effect because he had other tabs open. it worked after closing all tabs and reloading.

@zhenyasav can we confirm if this is still an issue. Reset should actually shut the worker down now so this shouldn't happen.

Just tested: reset storage cleared the device's storage even though there was another composer tab open in the same browser.


Downloading from a Bandcamp doesn't fill the %(album)s in path template

Checklist

[x] I'm reporting a bug unrelated to a specific site
[x] I've verified that I'm running yt-dlp version 2021.09.02
[x] I've checked that all provided URLs are alive and playable in a browser
[x] The provided URLs do not contain any DRM to the best of my knowledge
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

[debug] Batch file urls: ['https://luvbird.bandcamp.com/album/compilation-vol-3']
[debug] Loading archive file 'archive.log'

[debug] Encodings: locale cp65001, fs utf-8, out utf-8, pref cp65001
[debug] yt-dlp version 2021.09.02
[debug] Compatibility options: multistreams
[debug] Python version 3.9.4 (CPython 64bit) - Windows-10-10.0.19041-SP0
[debug] exe versions: ffmpeg N-101932-g309e3cc15c, ffprobe N-101932-g309e3cc15c
[debug] Optional libraries: mutagen, pycryptodome, sqlite, websockets
[debug] Proxy map: {}
[debug] [Bandcamp:album] Extracting URL: https://luvbird.bandcamp.com/album/compilation-vol-3
[Bandcamp:album] compilation-vol-3: Downloading webpage
[download] Downloading playlist: compilation vol 3
[info] Writing playlist metadata as JSON to: NA\NA - NA - compilation vol 3\NA - NA - compilation vol 3 [compilation-vol-3].info.json
[info] Writing playlist description to: NA\NA - NA - compilation vol 3\NA - NA - compilation vol 3 [compilation-vol-3].description
[Bandcamp:album] playlist compilation vol 3: Collected 5 videos; downloading 5 of them
[download] Downloading video 1 of 5
[debug] [Bandcamp] Extracting URL: https://luvbird.bandcamp.com/track/without-u-2
[Bandcamp] Sleeping 1.0 seconds ...
[Bandcamp] without-u-2: Downloading webpage
[Bandcamp] Sleeping 1.0 seconds ...
[Bandcamp] 59922077: Downloading free downloads page
[Bandcamp] Sleeping 1.0 seconds ...
[Bandcamp] 59922077: Downloading wav JSON
[Bandcamp] Sleeping 1.0 seconds ...
[Bandcamp] 59922077: Downloading flac JSON
[Bandcamp] Sleeping 1.0 seconds ...
[Bandcamp] 59922077: Downloading aiff-lossless JSON
[Bandcamp] Sleeping 1.0 seconds ...
[Bandcamp] 59922077: Downloading aac-hi JSON
[Bandcamp] Sleeping 1.0 seconds ...
[Bandcamp] 59922077: Downloading vorbis JSON
[Bandcamp] Sleeping 1.0 seconds ...
[Bandcamp] 59922077: Downloading mp3-v0 JSON
[Bandcamp] Sleeping 1.0 seconds ...
[Bandcamp] 59922077: Downloading alac JSON
[Bandcamp] Sleeping 1.0 seconds ...
[Bandcamp] 59922077: Downloading mp3-320 JSON
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] 59922077: Downloading 1 format(s): mp3-128
WARNING: There's no description to write.
WARNING: There are no annotations to write.
[info] Writing video metadata as JSON to: luvbird\luvbird - 20200710 - luvbird - without u\luvbird - 20200710 - luvbird - without u [59922077].info.json
[Bandcamp] 59922077: Downloading thumbnail  ...
[Bandcamp] 59922077: Writing thumbnail to: luvbird\luvbird - 20200710 - luvbird - without u\luvbird - 20200710 - luvbird - without u [59922077].jpg
[SubtitlesConvertor] There aren't any subtitles to convert
[debug] Invoking downloader on "https://t4.bcbits.com/stream/d62777a540993b8d4c5b62fab3af8232/mp3-128/59922077?p=0&ts=1631851142&t=6f55731caca2fa194b8f0912724b474b69344521&token=1631851142_ab413b5cf48efaae30dddb03365b52bee1118d2d"
[download] Sleeping 18.10 seconds ...
[download] Destination: luvbird\luvbird - 20200710 - luvbird - without u\luvbird - 20200710 - luvbird - without u [59922077].mp3
[download] 100% of 2.13MiB in 00:00
[Metadata] Adding metadata to "luvbird\luvbird - 20200710 - luvbird - without u\luvbird - 20200710 - luvbird - without u [59922077].mp3"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:luvbird\luvbird - 20200710 - luvbird - without u\luvbird - 20200710 - luvbird - without u [59922077].mp3" -map 0 -dn -c copy -metadata "title=without u" -metadata "date=20200710" -metadata "purl=https://luvbird.bandcamp.com/track/without-u-2" -metadata "comment=https://luvbird.bandcamp.com/track/without-u-2" -metadata "track=1" -metadata "artist=luvbird" -metadata "album=compilation vol 3" "file:luvbird\luvbird - 20200710 - luvbird - without u\luvbird - 20200710 - luvbird - without u [59922077].temp.mp3"
[download] Downloading video 2 of 5
[debug] [Bandcamp] Extracting URL: https://luvbird.bandcamp.com/track/our-summer-nights-2

Description

The album template part of my file template isn't being filled out. The %%(album)s should be filling out to compilation vol 3, but it doesn't do anything. The directory tree should be looking something like this:
C:.
├───luvbird
│   └───compilation vol 3
│       ├───luvbird - 20200710 - luvbird - for a brighter day
│       ├───luvbird - 20200710 - luvbird - our summer nights
│       └───luvbird - 20200710 - luvbird - without u

but it actually looks like this:
C:.
├───luvbird
│   ├───luvbird - 20200710 - luvbird - for a brighter day
│   ├───luvbird - 20200710 - luvbird - our summer nights
│   └───luvbird - 20200710 - luvbird - without u

the problem being that it doesn't create the folder compilation vol 3, the album name, but instead (I think) treats the empty album tag as a ., meaning current directory, and for some reason not throwing an error that it couldn't find the album name. This happens when using yt-dlp on both artist pages ( https://luvbird.bandcamp.com/music ) and album pages ( https://luvbird.bandcamp.com/album/compilation-vol-3 ).

Paste the complete verbose log, your options are missing

i can see this extracting album just fine
NA\NA - NA - compilation vol 3\NA - NA - compilation vol 3 [compilation-vol-3].description

oh my god i spent hours trying to figure this out. I was saving the wrong file because I was lazy and used notepad, which doesn't show the full file path, instead of notepad++ which does. I saved the correct file and it's working perfectly.


feat(lego): add --pem flag

--pem: Generate an additional .pem (base64) file by concatenating the .key and .crt files together. (default: false)

We should probably make this flag optional, because some software (i.e., prometheus node exporter iirc) that requires certificate and key in their own files.


[FEAT] RPC Multicall Abstraction

Migrate RPC libraries to use viem.

enables us to abstract away from multicall code and get even better optimizations than we were seeing before.
app-wide multicall batching, cross file requests can be multicalled, saving on rpc requests and costs
type inference for rpc calls (yey!!!)

more cool stuff!

Complete migration of all price and vault related code to the new libraries.
Bump node version requirement to 18 to take full advantage of viem's features!
The way to work moving forward will be to call fetchContract and do all related calls via that method. If we were to run into a call that doesn't allow calls from other contracts (tx.origin != tx.sender), fetchNoMulticallContract can be used instead [try to avoid at all costs]
To take full advantage of type inference, ABIs must be migrated to ts files such as it's been done with all price related ones. Please take this into consideration when adding new ABI files, I'll be migrating all existing ones as I cover other sections of the API in future PRs.
In order to fully maximize multicall optimizations there's one single requirement: Please make all needed RPC calls before awaiting. For example
    const price = await getLpPrice(pool);
    const balances = await getLpTokenBalances(pool); // This call can't be added to the multicall till price one has been answered

    const [price, results] = await Promise.all([getLpPrice(pool), getLpTokenBalances(pool)]);
    // here both promises are awaited after being called, so they can be batched together

src/api/stats/common/hop/getHopCommonApys.js:36:49
You must provide the json interface of the contract when instantiating a contract object.

surprisingly no big improvements for me, still takes quite some time and there are failed requests. some errors are very verbose, whole ABI is printed.
but overall its ok to merge and test in prod as long as there are no crashes. slightly unpleasant that api uses node v18 vs v16 in app, maybe can upgrade app as well.

Hey @roman-monk ! Thanks for taking a look at everything. I appreciate the feedback.
The PR exclusively focuses on migrating to this new capabilities but I didn't optimize multicall batching settings to an optimal value, the idea was to get everyone to start writing code with this new methods so I don't have to go around migrating even more than necessary.
As it stands right now, client settings are:
batchSize: 128, // bytes
wait: 1500 //ms

Locally, running with this params I get a full price update in ~25 seconds. However the default batchSize is 1024 bytes and when running it with that change a full update is finished in ~6.5 seconds.
It's a matter of fully optimizing the settings, I'd rather run through that process once the entire api is migrated so we can adjust for our entire volume of calls. However, 128 bytes was a value I was using for testing and I will bump it to the default 1024 since it appears our rpcs can handle that payload without issues.

@roman-monk since fetchAmmPrices and fetchDmmPrices need every inner request to be successful in order to find prices correctly, I add a promise retrying function that retries the call we provide N times with an exponentially increasing interval in between attempts.
Awesome feature coming from this is that promises being retried can get multicalled with others due to our global multicall aggregation.
I'm stil debating internally on whether we want every rpc call in the api to benefit from this feature or not, wdyt?
ps: I tried to cut back on error logs sizes a bit

fetchAmm was pretty stable i think, it wouldn't crash if some request failed (prices affected obv but no crash of the whole app), fetchDmm could crash completely. but no arguing, if there is a better way - cool, lets use it.

I'm stil debating internally on whether we want every rpc call in the api to benefit from this feature or not, wdyt?

retry looks obviously good, but isn't it already added on the transport level of viem?
its so much better if we dont need to wrap every request with this promise and it just retries under the hood.
btw im fully support to merge it early to avoid more and more conflicts, so proceed to merge if you like

My understanding was that the retry of requests was only on transport layer errors, so rpc errors themselves weren't being retried (only http errors), I'll check the implementation to clarify on this


AOT Compilation error

I am failing to build by AOT
Package.json:
"angular/animations": "^4.4.6",
"angular/common": "^4.4.6",
"angular/compiler": "^4.4.6",
"angular/core": "^4.4.6",
"angular/forms": "^4.4.6",
"angular/http": "^4.4.6",
"angular/platform-browser": "^4.4.6",
"angular/platform-browser-dynamic": "^4.4.6",
"angular/router": "4.3.1",
"ng-bootstrap/ng-bootstrap": "^1.0.0-beta.5",
"ngx-tour-ng-bootstrap": "^2.0.0-beta.5-1",
After build I am getting the following error
ERROR in /home/kelvin/development/newDevs/scorecard/src/$$_gendir/node_modules/ngx-tour-ng-bootstrap/node_modules/ngx-tour-core/ngx-tour-core.ngfactory.ts (10,21): Cannot find module 'ngx-tour-core'.
ERROR in /home/kelvin/development/newDevs/scorecard/src/$$_gendir/app/app.module.ngfactory.ts (27,22): Cannot find module 'ngx-tour-core'.
ERROR in /src/$$_gendir/app/shared/shared.module.ngfactory.ts (26,22): Cannot find module 'ngx-tour-core'.
ERROR in /src/$$_gendir/app/create/create.module.ngfactory.ts (27,22): Cannot find module 'ngx-tour-core'.
ERROR in /src/$$_gendir/app/view/view.module.ngfactory.ts (27,22): Cannot find module 'ngx-tour-core'.

What are you using to build your app? Angular cli, custom webpack, system
js?
I'm on vacation until Monday. I'll get back to you then.
On Nov 17, 2017 12:19 PM, "kelvin mbwilo"<EMAIL_ADDRESS>wrote:

I am failing to build by AOT
Package.json:
"angular/animations": "^4.4.6",
"angular/common": "^4.4.6",
"angular/compiler": "^4.4.6",
"angular/core": "^4.4.6",
"angular/forms": "^4.4.6",
"angular/http": "^4.4.6",
"angular/platform-browser": "^4.4.6",
"angular/platform-browser-dynamic": "^4.4.6",
"angular/router": "4.3.1",
"ng-bootstrap/ng-bootstrap": "^1.0.0-beta.5",
"ngx-tour-ng-bootstrap": "^2.0.0-beta.5-1",
After build I am getting the following error
ERROR in /home/kelvin/development/newDevs/scorecard/src/$$_
gendir/node_modules/ngx-tour-ng-bootstrap/node_modules/ngx-
tour-core/ngx-tour-core.ngfactory.ts (10,21): Cannot find module
'ngx-tour-core'.
ERROR in /home/kelvin/development/newDevs/scorecard/src/$$_
gendir/app/app.module.ngfactory.ts (27,22): Cannot find module
'ngx-tour-core'.
ERROR in /src/$$_gendir/app/shared/shared.module.ngfactory.ts (26,22):
Cannot find module 'ngx-tour-core'.
ERROR in /src/$$_gendir/app/create/create.module.ngfactory.ts (27,22):
Cannot find module 'ngx-tour-core'.
ERROR in /src/$$_gendir/app/view/view.module.ngfactory.ts (27,22): Cannot
find module 'ngx-tour-core'.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/isaacplmann/ngx-tour/issues/62, or mute the thread
https://github.com/notifications/unsubscribe-auth/AA0lQPcuYVy5G5XnaPGxDTA2W8djsC1Uks5s3c43gaJpZM4Qibaz
.

I am using angular cli V1.4.x

I just tried setting up a sample app with those same dependencies and I don't get that error.
Try deleting your node_modules folder and package.lock.json and rerunning npm install.  Also, you @angular/router version should be the same as the rest of your angular dependencies.

Thanks, it worked after deleting package.lock.json


A way to have more than one cell in a nib

Is your feature request related to a problem? Please describe.
I would like to keep multiple cells in one Nib.
Describe the solution you'd like
Add an extra case to Former.InstantiateType enum that will specify some identifier of a cell in Nib. A restorationIdentifier or an index. Or just find an instance of a current cell class.

@qizh I am not sure this would make sense to add into Former since it’s a very unique use-case.
Rather, you’d be better off forking the repo and making changes as you need them. I am also unsure why you would want to use multiple cells in a nib, this seems likely to have issues.
What is the need to for multiple cells?


Add Gnar to voice channel

Hi :)
This is my first time to invite Gnar bot to my server but now I don't know how to move them to my voice chalnel to play music ?
Thank you

_play [song name]
There are a couple of good videos online on how to use Gnar.


[application-header-layout] Missing fi-FI Translations

Bug Report
Description
Missing fi-FI translations

those are just placeholder translations, not actual ones right?

Yes, they are 'mock' translations but are throwing errors for consuming projects since it is one of the terra-supported locales


[DbCluster] ignores the EnableCloudwatchLogsExports property when creating a clone

As captured in https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/1426, the AWS::RDS::DBCluster ignores the EnableCloudwatchLogsExports property when creating a clone.

Fixed by #366.


Mine painter crash

openeye.openmods.info/crashes/bba0c6fbe6cdcfab88360b36da8c4db8
mine painter, is most likely the problem but the mod author dose not seem to be responding to contact attempts with this bug from other people, it occurs when you try to take a "chip" out of one of the converted blocks from chisel. and now the world will not open.
sorry if this is the wrong place to post bugs, couldn't think of anywhere else better otherwise :)
-thx

totally. wrong place- never mind...


A fatal error has been detected by the Java Runtime Environment - SIGSEGV

Hello,
We have a Jama application running  as a docker container, but suddenly application crashed with below error. Could you please help possible root cause.
Memory utilization was fine but load average of the server quite went high.
Platform: Centos 7
Environment:
JRE version: OpenJDK Runtime Environment (11.0.3+7) (build 11.0.3+7)
Java VM: OpenJDK 64-Bit Server VM (11.0.3+7, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
A fatal error has been detected by the Java Runtime Environment:
SIGSEGV (0xb) at pc=0x00007fcf68a140b1, pid=1, tid=97
JRE version: OpenJDK Runtime Environment (11.0.3+7) (build 11.0.3+7)
Java VM: OpenJDK 64-Bit Server VM (11.0.3+7, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
Problematic frame:
V  [libjvm.so+0xaa30b1]  PhaseIdealLoop::build_loop_late_post(Node*)+0x171
Core dump will be written. Default location: /usr/local/tomcat/bin/core.1
An error report file with more information is saved as:
/usr/local/tomcat/bin/hs_err_pid1.log
Compiler replay data is saved as:
/usr/local/tomcat/bin/replay_pid1.log
If you would like to submit a bug report, please visit:
https://github.com/AdoptOpenJDK/openjdk-build/issues
error occurred during error reporting (), id 0xb, SIGSEGV (0xb) at pc=0x00007fcf69425a47
error occurred during error reporting (), id 0xb, SIGSEGV (0xb) at pc=0x00007fcf69425a47
error occurred during error reporting (), id 0xb, SIGSEGV (0xb) at pc=0x00007fcf69425a47
Thanks

Looking at problematic frame seems remotely similar to https://bugs.openjdk.java.net/browse/JDK-8181070 which have been fixed long ago in openjdk. @jagadeeswar725863 could you see your error log (/usr/local/tomcat/bin/hs_err_pid1.log) and check for similarities ? If it is regression then openjdk issue should be re-open .

@grzesuav Unfortunately those logs were not backed up. I will be taking it next time  if the issue re-occurs again.

@jagadeeswar725863 - I'm closing this - it should be fixed in 11.0.6.

Hello. I believe that this issue is not fixed.

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007fe42abaa7a1, pid=5537, tid=8801

JRE version: OpenJDK Runtime Environment AdoptOpenJDK (11.0.8+10) (build 11.0.8+10)
Java VM: OpenJDK 64-Bit Server VM AdoptOpenJDK (11.0.8+10, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
Problematic frame:
V  [libjvm.so+0xab77a1]  PhaseIdealLoop::build_loop_late_post(Node*)+0x171
hs_err_pid5537.log

@karianna What made you think that the bug was fixed with 11.0.6?
https://bugs.openjdk.java.net/browse/JDK-8247481 matches best. Unfortunately, it was closed due to lack of requested feedback.
@siim-k Can you reproduce the problem with https://adoptopenjdk.net/upstream.html?variant=openjdk11&ga=ga? That would be required to convince OpenJDK to reopen the issue.

@karianna What made you think that the bug was fixed with 11.0.6?
https://bugs.openjdk.java.net/browse/JDK-8247481 matches best. Unfortunately, it was closed due to lack of requested feedback.
@siim-k Can you reproduce the problem with https://adoptopenjdk.net/upstream.html?variant=openjdk11&ga=ga? That would be required to convince OpenJDK to reopen the issue.

I suspect a mixup on my part - I can't see an 11.0.6 reference for this bug

@aahlenst At the moment this issue has appeared only once in a nightly Jenkins test suite run on EC2 instance. I think this issue needs a rather specific set of circumstances to occur and can't be easily reproduced.

Will reopen if someone provides steps to reproduce.

I am also having this error in version 11.0.9
A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007f36203050ad, pid=5049, tid=5065

JRE version: OpenJDK Runtime Environment (11.0.9+11) (build 11.0.9+11-Ubuntu-0ubuntu1.20.04)
Java VM: OpenJDK 64-Bit Server VM (11.0.9+11-Ubuntu-0ubuntu1.20.04, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
Problematic frame:
C  [libjimage.so+0x30ad]

@muldon That is not the same error, only the same type of error (segmentation fault, but in a different place). If you want help, open a new ticket, provide the full crash dump and code that reproduces the problem. Furthermore, you are running a build created by Ubuntu. Please ensure that the problem happens with a binary downloaded from https://adoptopenjdk.net/upstream.html?variant=openjdk11&ga=ga, too.

A fatal error has been detected by the Java Runtime Environment:
SIGSEGV (0xb) at pc=0x00007fdde3fdea1a, pid=5390, tid=5440
JRE version: OpenJDK Runtime Environment (11.0.10+9) (build 11.0.10+9-Ubuntu-0ubuntu1.20.04)
Java VM: OpenJDK 64-Bit Server VM (11.0.10+9-Ubuntu-0ubuntu1.20.04, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
Problematic frame:
V  [libjvm.so+0x8d3a1a]
Core dump will be written. Default location: Core dumps may be processed with "/lib/systemd/systemd-coredump %P %u %g %s %t<PHONE_NUMBER>854775808 %h" (or dumping to /home/replication-server/SIGMA_LINUX/core.5390)
An error report file with more information is saved as:
/home/replication-server/SIGMA_LINUX/hs_err_pid5390.log
If you would like to submit a bug report, please visit:
https://bugs.launchpad.net/ubuntu/+source/openjdk-lts
Abortado (`core' generado)

error in LINUX Mint

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007f5c3f381a1a, pid=9089, tid=9141

JRE version: OpenJDK Runtime Environment (11.0.10+9) (build 11.0.10+9-Ubuntu-0ubuntu1.20.04)
Java VM: OpenJDK 64-Bit Server VM (11.0.10+9-Ubuntu-0ubuntu1.20.04, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
Problematic frame:
V  [libjvm.so+0x8d3a1a]

Core dump will be written. Default location: Core dumps may be processed with "/lib/systemd/systemd-coredump %P %u %g %s %t<PHONE_NUMBER>854775808 %h" (or dumping to /home/server-test/NetBeansProjects/facturacion/core.9089)

An error report file with more information is saved as:
/home/server-test/NetBeansProjects/facturacion/hs_err_pid9089.log

If you would like to submit a bug report, please visit:
https://bugs.launchpad.net/ubuntu/+source/openjdk-lts
in ubuntu the app work with JDK8 and jdk12
in Mint no work openJDK8 and jdk11

@telcotronics It is unclear what you're doing or what the problem encountered by the JVM is (would be in hs_err_pid9089.log). Furthermore, this is a build made by the Ubuntu folks, so we cannot really help.

Got the same error. Any one found solution for this?

@DeepikaSharma5 Show your crash log and code to reproduce.

java_error_in_idea_10696.log
@aahlenst
When I open Intellij IDEA after few seconds it automatically closing. And then this is the crash log

@DeepikaSharma5 You do not have the same error. Furthermore, you are using a JDK created by Jetbrains, so we're the wrong place to help. You might have faulty RAM.

Oh thankyou so much for your time 🙂

el error aparece cuando uso  openjfx.
tengo muchas aplicaciones, todas las que NO contenga la tecnologia JAVAFX funciona correcto. este error lo acarreo desde mucho tiempo.
Cuando Oracle paso el control a Apache.
Se desbarataron todos mi proyectos.
Y he estado corrigiendo fallos que no me dejan centrarme en la productividad por estar corrigiendo errores.
La unica solucion que estoy implementando es usar otro lenguaje de programacion mas estable. y abandonando java.

I noticed this bug on Arch Linux after upgrade of Java by Sdkman.
sdk ug

shows
Upgrade:
java (12.0.2-open < 11.0.11.hs-adpt)

After typing webstorm I see:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.intellij.util.lang.UrlClassLoader (file:/opt/webstorm/lib/util.jar) to field java.lang.ClassLoader.classLoaderValueMap
WARNING: Please consider reporting this to the maintainers of com.intellij.util.lang.UrlClassLoader
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f78e40140cc, pid=13568, tid=13599
#
# JRE version: OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (11.0.11+9) (build 11.0.11+9)
# Java VM: OpenJDK 64-Bit Server VM AdoptOpenJDK-11.0.11+9 (11.0.11+9, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  0x00007f78e40140cc
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h" (or dumping to /home/builduser/core.13568)
#
# An error report file with more information is saved as:
# /home/builduser/java_error_in_webstorm_13568.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/AdoptOpenJDK/openjdk-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
/bin/webstorm: line 160: 13568 Aborted                 (core dumped) "$JAVA_BIN" -classpath "$CLASSPATH" ${VM_OPTIONS} "-XX:ErrorFile=$HOME/java_error_in_webstorm_%p.log" "-XX:HeapDumpPath=$HOME/java_error_in_webstorm_.hprof" "-Djb.vmOptionsFile=${USER_VM_OPTIONS_FILE:-${VM_OPTIONS_FILE}}" ${IDE_PROPERTIES_PROPERTY} -Djava.system.class.loader=com.intellij.util.lang.PathClassLoader -Didea.vendor.name=JetBrains -Didea.paths.selector=WebStorm2021.2 -Didea.platform.prefix=WebStorm com.intellij.idea.Main "$@"

Fortunately I fixed it.
I had JAVA_HOME set to /home/builduser/.sdkman/candidates/java/current.
I typed
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk

And now it works displaying some warnings
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.intellij.util.lang.UrlClassLoader (file:/opt/webstorm/lib/util.jar) to field java.lang.ClassLoader.classLoaderValueMap
WARNING: Please consider reporting this to the maintainers of com.intellij.util.lang.UrlClassLoader
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

I also met this issue when I use opengrok to produce index.
A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007fb43def7bd3, pid=23976, tid=0x00007fb426e18700

JRE version: OpenJDK Runtime Environment (8.0_292-b10) (build 1.8.0_292-8u292-b10-0ubuntu1~16.04.1-b10)
Java VM: OpenJDK 64-Bit Server VM (25.292-b10 mixed mode linux-amd64 compressed oops)
Problematic frame:
V  [libjvm.so+0x9cbbd3]

I also met this issue .when I used opengrok to produce index .  Ubuntu 18.04 , open-jdk8
hs_err_pid23976.log

este error se soluciona incluyendo la librería de openfx.. en el proyecto y los so.. este lo resolví hace mucho tiempo..

It often happened in ci docker container.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007ff4318d40f8, pid=9, tid=28
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.5+8 (17.0.5+8) (build 17.0.5+8)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.5+8 (17.0.5+8, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# v  ~BufferBlob::vtable chunks
#
# Core dump will be written. Default location: /drone/src/core
#
# An error report file with more information is saved as:
# /drone/src/hs_err_pid9.log
Compiled method (c2)   23557 13253       4       com.sun.tools.javac.comp.Attr::check (219 bytes)
 total in heap  [0x00007ff439d56710,0x00007ff439d57d40] = 5680
 relocation     [0x00007ff439d56870,0x00007ff439d56930] = 192
 main code      [0x00007ff439d56940,0x00007ff439d57460] = 2848
 stub code      [0x00007ff439d57460,0x00007ff439d57498] = 56
 oops           [0x00007ff439d57498,0x00007ff439d574d8] = 64
 metadata       [0x00007ff439d574d8,0x00007ff439d575a8] = 208
 scopes data    [0x00007ff439d575a8,0x00007ff439d57948] = 928
 scopes pcs     [0x00007ff439d57948,0x00007ff439d57b98] = 592
 dependencies   [0x00007ff439d57b98,0x00007ff439d57bc0] = 40
 handler table  [0x00007ff439d57bc0,0x00007ff439d57cf8] = 312
 nul chk table  [0x00007ff439d57cf8,0x00007ff439d57d40] = 72
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
#
Aborted (core dumped)


Crash when trying to merge a source

Steps to reproduce
1- Add a manga to your library
2- in the manga information click then on merge
3- Choose a source to merge to your manga. Once you click on the source the app crashes
Expected behavior
The app should search in the source or find the manga in the source
Actual behavior
The application crashes instantly
Crash logs
tachiyomi_crash_logs (1).txt
Tachiyomi version
TachiyomiSY Preview r453
Android version
Android 11
Device
Sony Xperia 5 Mark II
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extensions repository.
[X] I have tried the troubleshooting guide.
[X] I have updated the app to version 1.8.3.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

Found the cause of this, will be fixed in the next build


Cricket does not work with Python 3.6

Cricket does not work when using Python 3.6. Tracking down the issue, there is an import error in the (unmaintained?) tkreadonly library, which is still used as dependency by the (still maintained) cricket application.
The fix for tkreadonly that makes it work with Python 3.6 and earlier is here:
https://github.com/pybee-attic/tkreadonly/pull/2

Thanks for the report!
I've just merged that patch, and released tkReadOnly v0.6.1. If you pip install --update tkReadOnly, cricket should now work under Python 3.6.
In the (hopefully) not too long term future, I'm hoping to modify Cricket to use Toga, removing the need for tkReadonly.

Awesome, thanks!
FYI, we used this yesterday at our local Python user group to give a talk on how to diagnose and report bugs and send pull requests to open source projects. I'll let them know that our fix is already accepted :)


[DO NOT MERGE] Account for non-default port number in image name

Previously, if an image was tagged with the format
$REGISTRY:$PORT/$REPO:$TAG,
then podman images would display "$PORT/$REPO:$TAG" under the "TAG"
field.
This commit correctly displays $REGISTRY:$PORT/$REPO under the
"REPOSITORY" field while the "TAG" field only displays $TAG.
Signed-off-by: Lokesh Mandvekar<EMAIL_ADDRESS>Fixes: gh#6665
@baude @mheon @rhatdan @vrothberg @jwhonce PTAL

Looks like tests are failing.

alright, so I effectively only have a trivial README change but CI is still failing. Probably not my fault. Could someone PTAL ?

Can you try rebasing? Lint has been acting up recently, but it seems OK on master

Can you try rebasing? Lint has been acting up recently, but it seems OK on master

seems like my branch is rebased on the latest..

master is on a2661b1c25e280282d101f24ce478305622da11f and i'm rebased on that as well.

[+0086s]  * 9a290a95c "Revert to check if tests pass" ... FAIL
[+0086s]   - FAIL - does not have a valid DCO

^^^ this commit isn't signed. I guess we can squash them into one?

Ha. htpasswd dropped from the registry:2 image

all tests pass. @rhatdan could you PTAL once again for confirmation?

/approve
/lgtm


FixedHeader breaks when any ancestor element of the grid has position: absolute.

One of the parent elements of this grid has position: absolute.

Can you link to a test case showing the issue please.

Also this should be opened in the FixedHeader repo rather than here if you would be so kind.

My apologies.


Parameter file not find for qubit number

When I either run ./check.sh from folder [scripts], or directly run "./main ../tests/input/basis_change_28.qasm" from folder [build], I get an error message saying "Parameter file not find for qubit number 28". This is caused by src/evaluator.cpp in line 99, where it is trying to read the file $HYQUAS_ROOT/evaluator-preprocess/parameter-files/28qubits.out. The folder [parameter-files] is actually empty.
How do I get files like 28qubits.out, 24qubits.out, etc.?

Please carefully follow the readme to run HyQuas. This problem comes from step 6.


Lambda Test Error: Cannot read property 'System' of undefined

Testing the Lambda function - using the code from lambda/play_intent_testreq.json (with my own applicationID).
Running the test generates the following:
  "errorMessage": "Cannot read property 'System' of undefined",
  "errorType": "TypeError",
  "stackTrace": [
    "EchoSonos.setEchoId (/var/task/index.js:43:40)",
    "AlexaSkill.execute (/var/task/AlexaSkill.js:101:14)",
    "EchoSonos.intentHandlers.NextTrackIntent.PreviousTrackIntent.WhatsPlayingIntent.promise.then.catch.promise.then.catch.exports.handler (/var/task/index.js:796:15)"
  ]
}

Things I have verified:

node-sonos-http-api is running on my local network
the nodejs app on my local network is accessible from the internet
the nodejs app is correctly completing http based requests from the internet

I'm not following where the initialization would have occurred.
What is odd is a test from the Alexa Skills page works as does the actual skill from my home Echo Dot.

since things appear to be working I will close this issue


Windows Emoji Keyboard characters not rendering in Terminal

Environment
Windows build number: 10.0.19635.0
Windows Terminal version (if applicable): 1.0.1402.0

Any other software?

Steps to reproduce

Open Emoji Keyboard (Win + .)
Enter any emoji
See character not recognized

Expected behavior
Emoji character should render in the terminal
Actual behavior
Emoji is not being recognized

Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #190 for more discussion.
/dup #190 #1503

Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #190 for more discussion.
/dup #190 #1503

Thanks!


feat: use settings for first language locale detection

Link this PR to an issue
Fixes #743
Type of change (Remove other not matching type)

New feature (non-breaking change which adds functionality)

Describe the changes you have made in this PR -
As requested and described in the related issue, I have setup i18n to use the language selected by Alby users in the Settings screen first and then fallback to the other default methods if the user has not made a selection yet.
Screenshots of the changes (If any) -
How Has This Been Tested?
I added a translation to the web interface and tested switching languages in the Settings screen, the language persists even after a page refresh.
Checklist:

[x] My code follows the style guidelines of this project and performed a self-review of my own code
[ ] New and existing tests pass locally with my changes
[x] I checked if I need to make corresponding changes to the documentation (and made those changes if needed)

Notes:
I did a git commit --no-verify to get past the TypeScript errors I was receiving. I tried a few different things to resolve them but was having issues, maybe TypeScript wizard @dylancom could have a look, or @pavanjoshi914?

on page refresh, the locale will persist cause the I18next browser language detector stores locale itself in local storage. so that is not enough to test this PR

the best way can be to check cross browser locale persistence of the particular alby account! cause that is the major reason we are doing load and store locale from settings

but currently, that is not possible! I think we don't provide lndhub URL during account creation anymore

cross-browser test would be to use the same google/firefox account on different browsers. Settings are synced to the browser storage. (this is unrelated to lndhub or the connectors)
A reason to store this settings in the "settings" is also to have a unified settings storage. and not have some settings in some local storage and some other settings somewhere else.

Hey @dylancom would you be able to have a look at the TypeScript errors here and point me in the right direction to solve them?

Me and @escapedcat paired on this to finish it off, @dylancom can you have one more look? And then I think it is ready to be merged!

@pavanjoshi914 do you approve?

@pavanjoshi914 do you approve?

checking into this

are we sure this can work? to me it seems lookup() is synchronous. but loading from the settings is async. So I am not sure if this can work?

Hey @bumi 👋🏼, me and @escapedcat have another variation for you to look at :P.
We moved the code into an async function and await so that we can be sure of the order of execution, I tested it locally and it works the same as before. Let me know what you think about this now.
Thanks!


NSAppTransportSecurity issue, use https for API calls.

Hi, @alexruperez
Thanks for your advice.
As long as I know, OpenWeatherMap is only http.
Wunderground seems have adopted https, when I access this sample api.
I will update Wunderground related code later.

Solved: https://github.com/liu044100/SmileWeather/pull/8


Migrate airflow home directory from EFS to CodeDeploy

EFS is really useful for sharing home directories, it's one of its intended use cases. But it's quite expensive and doesn't scale for very very large projects (thousands of DAG files).
Also, CodeDeploy could make the setup considerably easier by removing the need to enter one of the machines and restart the scheduler.

A critical aspect of adopting CodeDeploy: making sure the worker instance has the dag files before trying to consume the queue. The problematic scenario is the following:

deployment starts
scheduler picks up a new DAG
scheduler enqueues de DAG
autoscaling kicks in
new worker instance is allocated
worker instance consumes from the queue
worker instance receives the deployment

6->7 is a problem, because the DAG file isn't there yet. Current solution: send pickled dags to workers along with the task message. Drawbacks are still unknown. The only other possibility is to not have the worker machine automatically start the airflow worker.

Drawback of not having the worker automatically starting the airflow worker process: the stack will require an initial deployment to be functional.
This heavily impacts the project goal of being a good deployment demo, although using the provided Makefile makes it very very easy to setup that first deployment.

Workaround implemented. Services are started only if there are no deployments pending. If there are, it's the deployment responsibility to start/stop the airflow service.
Closed by #77


Day 3 newbie found learn/sharing-state-between-components confusing

Hi, I'm react-newbie on day 3.
When I learn sharing-state-between-components, I got confused.
The only way that docs mentioned is lifting state up.
But, when given

A have children B, C, D

B C have shared data

I think

lifting state up will also leads to re-entering A and D, which I think it's not necessary.

Possible workaround with add wrapper BC, which have children B C, but I think it's not graceful. Maybe there is also situation not easy to add such wrapper.

As react is popular, I believe, there should be alternative solution, which let B C share data, without re-enter A and D.

reproduce
Actual

Click button from B, or from C

Check console

enter A
enter B
enter C
enter D

Expected

Click button from B, or from C

Check console

enter B
enter C

Code
/* global console */
import { useState, type JSX, type MouseEventHandler } from 'react'

function A(): JSX.Element {
  console.debug('enter A')

  const [sharedBC, setSharedBC] = useState(0)
  return (
    <>
       setSharedBC(sharedBC + 1)} />
      <C count={sharedBC} onClick={() => setSharedBC(sharedBC + 1)} />
      <D />
    </>
  )
}

function B({ count, onClick }: { count: number; onClick: MouseEventHandler<HTMLButtonElement> }): JSX.Element {
  console.debug('enter B')

  return <button onClick={onClick}>Clicked {count} times</button>
}

function C({ count, onClick }: { count: number; onClick: MouseEventHandler<HTMLButtonElement> }): JSX.Element {
  console.debug('enter C')

  return <button onClick={onClick}>Clicked {count} times</button>
}

function D(): JSX.Element {
  console.debug('enter D')

  return (

D

  )
}

export default A

Would you please describe sharing-state-between-components alternative solution, other than lifting state up?
Thanks.

As you progress along your learning journey, you will delve into memo. This concept involves a higher-order component that encapsulates another component, allowing it to avoid unnecessary rerendering when none of its props have undergone changes.
For your scenario, to prevent the re-rendering of <D />. You can export your component as export React.memo(D) instead of a simple export D.

@A7med3bdulBaset
Thanks for your reply.
But I guess about memo

When  A have children B, C, D0, D1, D2 ..., need to wrap all D0 D1 D2 ... with memo.

Is that correct?
This will also create unnecessary complexity.

I would expect a useSharedState.

code
==> shared.tsx <==
const sharedBC = useSharedState()

export { sharedBC }

==> B.tsx <==
/* global console */
import type { JSX } from 'react'
import { sharedBC } from './shared.js'

function B(): JSX.Element {
  console.debug('enter B')

  const [sharedBC, setSharedBC] = sharedBC()
  return <button onClick={setSharedBC}>Clicked {sharedBC} times</button>
}

export default B

==> C.tsx <==
/* global console */
import type { JSX } from 'react'
import { sharedBC } from './shared.js'

function C(): JSX.Element {
  console.debug('enter C')

  const [sharedBC, setSharedBC] = sharedBC()
  return <button onClick={setSharedBC}>Clicked {sharedBC} times</button>
}

export default C

In this way, even B and C, one at high tree, one at low tree

B and C can update each other

and increase ZERO complexity to their neighorhood

So, is there is a useSharedState?

Even useSharedState you'll study it but with different names.
This is called Context. First, you have to lift state up to the parent component . then create a context:
// A.jsx
export const CounterContext = React.createContext(1)

export function A() {
   const [count, setCount]= React.useState(1);

   return (
       <CounterContext.Provider value={{count, setCount}}>

           <C />
           <D />
       </CounterContext.Provider>
   )
}

create a CounterContext.
export it we will use it later.
wrap your components in <Provider>

// B.jsx
import { CounterContext } from "./A"

export function B() {
   const { count } = React.useContext(CounterContext)

  // use count as you need
}

Note: Don't worry about it now. You will learn it in due time. Just know it exists.

Thanks.
This should also be mentioned within sharing-state-between-components.

code
/* global console */
import { useState, type JSX, createContext, useContext } from "react";

const CounterContext = createContext(0);
const CounterDispatchContext = createContext(
  null as any as (value: number) => void
);

function A(): JSX.Element {
  console.debug("enter A");

  const [sharedBC, setSharedBC] = useState(0);
  return (
    <>
      <CounterContext.Provider value={sharedBC}>
        <CounterDispatchContext.Provider value={setSharedBC}>

          <C />
          <D />
        </CounterDispatchContext.Provider>
      </CounterContext.Provider>
    </>
  );
}

function B(): JSX.Element {
  console.debug("enter B");

  const sharedBC = useContext(CounterContext);
  const setSharedBC = useContext(CounterDispatchContext);
  return (
    <button onClick={() => setSharedBC(sharedBC + 1)}>
      Clicked {sharedBC} times
    </button>
  );
}

function C(): JSX.Element {
  console.debug("enter C");

  const sharedBC = useContext(CounterContext);
  const setSharedBC = useContext(CounterDispatchContext);
  return (
    <button onClick={() => setSharedBC(sharedBC + 1)}>
      Clicked {sharedBC} times
    </button>
  );
}

function D(): JSX.Element {
  console.debug("enter D");

  return (

D

  );
}

export default A;

No.
Click B or C.
Actually, context implement have console log, as same as prev implement.
enter A
enter B
enter C
enter D

Expect, best implement should be console log
enter B
enter C

Hey @loynoir, in React, rendering isn't a bug or something to be avoided so lifting state up works even with the additional renders. Generally, rendering isn't a problem and it's best to let React determine what to render as needed. Check out Thinking in React for a overview of how to decide where state would live.
If you profile and find that some part of the tree is expensive to render, you can avoid renders using memoization with useMemo, useCallback or memo, as @A7med3bdulBaset mentioned.


Congratulation! For being one of the worst package for laravel - 11 duplicate query / 16

Any comment on below :-1:

Very rude!! The time you took to insult us, you could use it to find another package or better to contribute something useful.
Actually insulting others might be easier to you than taking from your time and efforts to make something useful.

Your critics  on repeated queries is valid, however you could have said it in a way which is not insulting.
This has been reported before see issue no 256
If you'd like to be more constructive, suggest a solution, or send a PR.


That's not working with RN28.0+

When i update my RN version that's get lot of error with RN28+ version

Just to add some details - With react native 0.29.0 I have following issue:
Whenever I import something from module, I'm getting undefined is not an object at create-icon-set.js line 46.
Eg. import { Button } from 'react-native-material-design'; and when I remove import app is working OK.

have you upgraded/installed react native vector icons @jurosh ?

Add this condition in Navigate.js
let routes = require('../routes').default;

try {
	routes = require('../routes').default;
} catch (e) {
  console.log("require not workkk");
}

Now, that's working great in RN 0.31+

Can you specify the path? I'm on react-native0.49.5


Spaceships

https://github.com/donkeytech/gaia-engine/milestone/1
Spaceship expansion!

Awesome!!!!!!!
I cannot check the mechanism of this expansion, but it's definitely true that the overall architecture of the engine was flexible enough to be extend with this massive expansion!


Latex

Updates to latex and inclusion of python file to make a few plots

New plots look good! Thanks for editing the LaTeX.


Add prometheus service monitor and rule

Why we need it
This PR aims to make users use ks-devops metrics out of box or integrate with Prometheus easily.
What this PR dose

Add Prometheus ServiceMonitor and PrometheusRule in Jenkins helm chart
Add Prometheus ServiceMonitor in S2I helm chart

/kind feature

Codecov Report

Merging #89 (100df98) into master (0ff6002) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##           master     #89      +/-   ##
=========================================
- Coverage    5.34%   5.34%   -0.01%
=========================================
  Files          73      74       +1
  Lines       21051   21072      +21
=========================================
  Hits         1126    1126
- Misses      19852   19873      +21
  Partials       73      73

Flag
Coverage Δ

unittests
5.34% <0.00%> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...trollers/jenkinsconfig/jenkinsconfig_controller.go
5.76% <0.00%> (-0.20%)
:arrow_down:

pkg/client/devops/interface.go
0.00% <ø> (ø)

pkg/client/devops/jenkins/configuration.go
0.00% <0.00%> (ø)

pkg/client/devops/jenkins/devops.go
0.00% <0.00%> (ø)

pkg/client/devops/jenkins/options.go
0.00% <0.00%> (ø)

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 d1f08a4...100df98. Read the comment docs.

/approve


mcsema-disass==2.0 distribution was not found

Built and installed McSema on Win7 Build 7601 using python 2.7.14.  Added appropriate folders to PATH and when McSema-disass is ran as follows: McSema-disass --os windows --arch amd64 --binary c:\windows\notepad.exe --entrypoint main --disaassembler path-to-ida it spits out

mcsema-disass==2.0 distribution was not found and is required by the application

What am I missing here?

Resolved

Hi, I went into the same problem, may I ask how this problem can be solved?
I built and installed McSema on Win10 using python 2.7.16. I ran it as: mcsema-disass --disassembler path-to-ida --os windows --arch amd64 --output output-dir --binary F:\Test\04.exe --entrypoint main.
The error message is also: The 'mcsema-disass==2.0' distribution was not found and is required by the application.
Thank you very much!

I had to create a PYTHONPATH environment variable that pointed to the site-packages folder.  I ran into plenty of additional errors after solving this one and just gave up with this tool for Windows.

Thank you very much.  All right，maybe I should have a try on Linux.<PHONE_NUMBER><EMAIL_ADDRESS>签名由 网易邮箱大师 定制 On 09/30/2019 20:10, silentShadow wrote: I had to create a PYTHONPATH environment variable that pointed to the site-packages folder. I ran into plenty of additional errors after solving this one and just gave up with this tool for Windows. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

Yeah, I ran into the same issue. The way that the bash script is generated isn't very friendly to virtual environments or other cases where the python2 executable isn't installed to the default path that they use for the shebang. I solved this by changing the top of the file to #!/usr/bin/env python2 (or whatever command you run to use python2).


Fix source 6 warnings

Replaces https://github.com/osrf/ros2_java/pull/66 (I opened that one in a fork by accident).
I hope this workflow config works :grimacing:

If we need to specify -target -source in Android as commented here, we can readd that in the future.
I'm using --release in the github workflows, because it does the right thing TM.
See https://stackoverflow.com/questions/43102787/what-is-the-release-flag-in-the-java-9-compiler.

mmm, not sure why the build failed, I'm going to double check

Well, actually or code is not fully compatible with java 6 (java.time.Duration doesn't exist).
--release 6 is more strict that passing -source 1.6 -target 1.6.
I will use the later, because I think that java.time.Duration is available in android anyways ... (either through the  ThreeTen backport or through the android gradle 4.0 plugin).

CI now looks ok (same failure that we were having before and that #70 should fix :smiley: )

https://github.com/osrf/ros2_java/pull/76 should fix the infrastructure issue.

Rebasing again after #76 was merged.


Improve indexing functionality

Currently, when indexes are combined together, their vector store is unpacked and combined together into one vector.
This is not ideal, as it makes the individual data less prominent, just a mess of vectors collected together.
Instead, when composing indexes, we should use llamaindex / langchain inbuilt functionalities to create a composite index object, where the individual indexes that were combined are distinct but still attached together.
Moreover, the indexing functionality can use a revamp of its data loading tools, as it currently uses some old llama index loaders to load things like epubs, pdfs, etc, I'm sure there are better tools that have been released now.

This was improved for /index chat! /index regular is still old somewhat


Update Minecraft wiki link to new domain

The Minecraft Fandom wiki has been forked to a new domain: minecraft.wiki. Learn more here: https://minecraft.wiki/w/Minecraft_Wiki:Moving_from_Fandom. This PR updates the old wiki link accordingly.

Thanks!