Support chaincode list command

Right now we use some scripts in e2e-network directory to determine chaincode list, like in wait-for-chaincode.sh. The goal of this issue is to support the following command for Docker engine:
fablo chaincode list <peer> <channel>

Implementation details
Add to fabric-docker.sh:
elif [ "$1" = "chaincodes" ] && [ "$2" = "list" ]; then
  chaincodeList "$3" "$4"

Use the syntax known from channel query scripts for chaincode-scripts.sh; something similar to:
chaincodeList() {
if [ "$#" -ne 3 ]; then
  echo "Expected 3 parameters for chaincode list, but got: $@"
  exit 1
<% orgs.forEach((org) => { org.peers.forEach((peer) => { %>
elif [ "$1" = "<%= org.name.toLowerCase(); %>" ] && [ "$2" = "<%= peer.name %>" ]; then
  <% if(!global.tls) { %>
    peerChaincodeList "<%= org.cli.address %>" "<%= peer.fullAddress %>" "$3" # $3 is channel name
  <% } else { %>
    peerChaincodeListTls "<%= org.cli.address %>" "<%= peer.fullAddress %>" "#3" # ??? maybe a TLS file path will be required inside target function
  <% } %>
<% })}) %>
}

Inside wait-for-chaincode.sh use:
listChaincodes() {
  "$FABLO_HOME/fablo.sh" chaincode list "$peer" "$channel"
  # instead of previous:
  #  docker exec -e CORE_PEER_ADDRESS="$peer" "$cli" peer lifecycle chaincode querycommitted \
  #    --channelID "$channel"
}

Add peerChaincodeList, and peerChaincodeListTls functions to chaincode-functions-v2.sh file.
Steps

Support non-TLS flow (test-01)
Support TLS (test-02)
Update README with docs + update CHANGELOG

Can be implemented in separate PRs

@jnjerin current work - For some reason we cannot assign her


Emit events using Borsh encoding for Solana

This PR implements the new scheme for events emission on Solana. It follows Anchor strategy for events.
According to Anchor source code, indexed fields are emitted as data. In addition, all fields are encoded using borsh encoding, and the result is passed directly to sol_log_data.

I forgot to review Solana's integration tests!

I forgot to review Solana's integration tests!

Fixed!
@seanyoung and @xermicus The PR is ready for review now.

Looks good. I do wonder why you created a new trait, rather than using the trait TargetRuntime.

TargetRuntime is in emit. We need this for codegen.


AttributeError: module 'tweepy' has no attribute 'StreamListener'

I have a twitter AI bot that uses AI to do tweets on automatically but I having problem with tweepy if someone can help me solve this issue
main.py
import tweepy
import openai
from config import (TWITTER_API_KEY, TWITTER_API_SECRET_KEY,
TWITTER_ACCESS_TOKEN, TWITTER_ACCESS_TOKEN_SECRET,
OPENAI_API_KEY)
class MentionStreamListener(tweepy.StreamListener):
def init(self, api):
self.api = api
self.me = api.me()
def on_status(self, tweet):
    print(f"{tweet.user.screen_name} mentioned you: {tweet.text}")

    if tweet.user.id == self.me.id:
        return

    prompt = f"Reply to the tweet: {tweet.text}"
    response = openai.Completion.create(
        engine="text-davinci-003",
        prompt=prompt,
        max_tokens=100,
        n=1,
        stop=None,
        temperature=0.7,
    )
    reply_content = response.choices[0].text.strip()
    reply =<EMAIL_ADDRESS>{reply_content}"
    self.api.update_status(status=reply, in_reply_to_status_id=tweet.id)

    print(f"Replied to {tweet.user.screen_name}: {reply}")

Set up Twitter API connection
auth = tweepy.OAuthHandler(TWITTER_API_KEY, TWITTER_API_SECRET_KEY)
auth.set_access_token(TWITTER_ACCESS_TOKEN, TWITTER_ACCESS_TOKEN_SECRET)
twitter_api = tweepy.API(auth)
Set up OpenAI API connection
openai.api_key = OPENAI_API_KEY
Monitor mentions and reply
mention_stream_listener = MentionStreamListener(twitter_api)
mention_stream = tweepy.Stream(twitter_api.auth, mention_stream_listener)
mention_stream.filter(track=[f"@{twitter_api.me().screen_name}"], is_async=True)

StreamListener was merged into Stream in Tweepy v4.0.0, almost two years ago.
https://tweepy.readthedocs.io/en/v4.14.0/streaming.html
For code block usage, see https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks.

so If they changed it what can I do with my bot that it start working @Harmon758

The Twitter API v1.1 statuses/filter endpoint has been deprecated, so if you want to use streaming, you'll have to use Twitter API v2.


Legacy LLVM-style issue when building Rust bindings

Hi folks,
While building Shenango using Rust 1.52.0-nightly release, I have faced the following issue:

As for https://github.com/rust-lang/rust/issues/70173, https://doc.rust-lang.org/beta/unstable-book/library-features/llvm-asm.html, and the RFC https://github.com/rust-lang/rfcs/pull/2843 the old asm inline assembly  is deprecated (it was actually renamed).
When replacing this with llvm_asm! and adding the crate attribute #![feature(llvm_asm)], the build worked just fine ✅
I'll create a PR to address this. Let me know if it make sense to merge this indeed...
Thanks a lot for making Shenango available!

Thanks! Resolved with commit fbc5978.

Hi andreybleme, did you finally success to run the synthetic server? I got an error when I tried to start it.

Yes I did @piginthesettingsun . Let me know what's the error you're facing and I'll try to help you.

I described the error in https://github.com/shenango/shenango/issues/6, we can discuss in that issue


How to Select Multiple Images?

I am using this plugin and it works fine for single image.
But, I want to use this plugin for multiple images. For example I want add selection for multiple images from gallery. Also If I am using capturing method then I am able to capture multiple photo and select from them. How to implement this functionality using this plugin?

@Srusti-Thakkar Have you solve this issue?

@Srusti-Thakkar  Solved??


Add documentation for the Doma CodeGen Plugin

Currently, instructions for using the Doma CodeGen Plugin are only described in the README.
Additionally, there is no explanation in Japanese.
https://github.com/domaframework/doma-codegen-plugin

https://doma.readthedocs.io/en/latest/codegen/


Use aiofiles to read files

Smoke test manually run and verified as aiofiles had to be installed and PR smoke test uses base branch.


Docker Consul thrashing over AWS

Hello,
We have tried running a consul cluster at Amazon using m3.large instances. (that allow for moderate network performance)
The machines are running RHEL 6.5 with Docker 1.3.1 using the Consul Docker image.
The 3 machines joined a cluster, yet it was completely unstable.
It kept thrashing and the state of the members was constantly shifting.
please keep in mind that this was false, since the instances of the machines and the Consul were perfectly stable and running.
We have not found any relevant documentation that would allow up to investigate and identify the cause for this.

Can you try the same configuration but running the Consul containers with
--net=host ?
On Thu, Jan 15, 2015 at 3:44 AM, vbichov<EMAIL_ADDRESS>wrote:

Hello,
We have tried running a consul cluster at Amazon using m3.large instances.
(that allow for moderate network performance)
The machines are running RHEL 6.5 with Docker 1.3.1 using the Consul
Docker image.
The 3 machines joined a cluster, yet it was completely unstable.
It kept thrashing and the state of the members was constantly shifting.
please keep in mind that this was false, since the instances of the
machines and the Consul were perfectly stable and running.
We have not found any relevant documentation that would allow up to
investigate and identify the cause for this.
—
Reply to this email directly or view it on GitHub
https://github.com/progrium/docker-consul/issues/46.

--
Jeff Lindsay
http://progrium.com

Hello Progrium, thank you for the fast response.
I've only now gotten around to test it.
It looks like your solution works, i haven't run an extensive test but the system appears to be stable.
i'm closing this issue, but i would very much appreciate it, if you could please explain why it is necessary or link to any relevant documentation.
Thank you.


psmisc: fix cross-compiling

Motivation for this change
fix cross-compiling

@GrahamcOfBorg build pkgsCross.armv7l-hf-multiplatform.psmisc

Success on x86_64-linux (full log)
Attempted: pkgsCross.armv7l-hf-multiplatform.psmisc
Partial log (click to expand)
shrinking /nix/store/d72i1xd2cz7vjss19mi4i6hwd84prajx-psmisc-23.2-armv7l-unknown-linux-gnueabihf/bin/pslog
shrinking /nix/store/d72i1xd2cz7vjss19mi4i6hwd84prajx-psmisc-23.2-armv7l-unknown-linux-gnueabihf/bin/peekfd
shrinking /nix/store/d72i1xd2cz7vjss19mi4i6hwd84prajx-psmisc-23.2-armv7l-unknown-linux-gnueabihf/bin/fuser
shrinking /nix/store/d72i1xd2cz7vjss19mi4i6hwd84prajx-psmisc-23.2-armv7l-unknown-linux-gnueabihf/bin/prtstat
gzipping man pages under /nix/store/d72i1xd2cz7vjss19mi4i6hwd84prajx-psmisc-23.2-armv7l-unknown-linux-gnueabihf/share/man/
armv7l-unknown-linux-gnueabihf-strip is /nix/store/4rvcfng3ficml932m928w9mbfqhvn54z-armv7l-unknown-linux-gnueabihf-binutils-2.30/bin/armv7l-unknown-linux-gnueabihf-strip
stripping (with command armv7l-unknown-linux-gnueabihf-strip and flags -S) in /nix/store/d72i1xd2cz7vjss19mi4i6hwd84prajx-psmisc-23.2-armv7l-unknown-linux-gnueabihf/bin
patching script interpreter paths in /nix/store/d72i1xd2cz7vjss19mi4i6hwd84prajx-psmisc-23.2-armv7l-unknown-linux-gnueabihf
checking for references to /build in /nix/store/d72i1xd2cz7vjss19mi4i6hwd84prajx-psmisc-23.2-armv7l-unknown-linux-gnueabihf...
/nix/store/d72i1xd2cz7vjss19mi4i6hwd84prajx-psmisc-23.2-armv7l-unknown-linux-gnueabihf

Success on aarch64-linux (full log)
Attempted: psmisc
Partial log (click to expand)
these paths will be fetched (0.11 MiB download, 0.60 MiB unpacked):
  /nix/store/nvni5j1hv9fs7qwz3af8hw7ac94j94nq-psmisc-23.2
copying path '/nix/store/nvni5j1hv9fs7qwz3af8hw7ac94j94nq-psmisc-23.2' from 'https://cache.nixos.org'...
/nix/store/nvni5j1hv9fs7qwz3af8hw7ac94j94nq-psmisc-23.2

Success on x86_64-linux (full log)
Attempted: psmisc
Partial log (click to expand)
these paths will be fetched (0.11 MiB download, 0.62 MiB unpacked):
  /nix/store/64n7s6aavrnw9v46njpdxxra25zdr6bj-psmisc-23.2
copying path '/nix/store/64n7s6aavrnw9v46njpdxxra25zdr6bj-psmisc-23.2' from 'https://cache.nixos.org'...
/nix/store/64n7s6aavrnw9v46njpdxxra25zdr6bj-psmisc-23.2


Antho dingo main

Hi! Thank you for your PR. I have made a lot of changes. Maybe some of your changes are already in my branch.
Enrico

There are a lot of conflicts after the upgrade to NET8. Thank you for your support. Please check the latest version.


Uglify breaks RickShaw

Hi,
it seems that Uglify doesn't work very well with D3JS (v3.0) and also with RickShaw.
When uglified there is an error for RickShaw:
"Uncaught TypeError: undefined is not a function "
Best regards

Hi,
this is a known problem, as you can see in this Rickshaw issue: https://github.com/shutterstock/rickshaw/issues/52
This comment https://github.com/shutterstock/rickshaw/issues/52#issuecomment-42074627 provide a solution working for requireJS. I test it with brunch that way:
plugins: {
	uglify:{
		except: ["$super"]
	}
},

but it didn't work. Is except option managed by uglify-js-brunch plugin?

All the options are passed through as-is https://github.com/brunch/uglify-js-brunch/blob/master/index.js#L53
So if it works directly with the uglify js api it should work here.

Just tried this
plugins: {
    uglify:{
        mangle: false
    }
},

and it works just fine :)
Hope this workaround will be useful for others, cause it's better than put Rickshaw in asset folder.


sensor: icm42688 configuration and regmap fixes

The int config and fifo config register addresses were wrong, fix those.
Adds lots of debug information (when LOG_DBG=y) to the configuration of the device which is incredibly helpful for diagnosing configuration issues.
This fixes data ready interrupts with the trigger support @yperess is working on.
Signed-off-by: Tom Burdick<EMAIL_ADDRESS>

Hi @teburd, if you need this in for 3.3, file and link a bug - if not carry on

This does more than fix a bug, so it can wait for 3.4

@yperess please take a look


Empty destructuring gives a parse error

E.g.
let a = ({}) => ({});

Maybe this should parse fine but give a warning? or it should just parse fine?

Also using arrays:
let [] = [];

Spec:

ArrayAssignmentPattern[Yield] :
  [ Elisionopt AssignmentRestElement[?Yield]opt ]

(Everything is optional)

It should definitely parse, and I think a warning is a good idea.

I wonder if It's actually useful for ignoring params - could you use unused: strict and do this for unused
function({}, a)  {
  return a.x;
}

@jugglinmike re: warning, how about only warning when not in function params ? or do you think my idea for using it for unused params is crazy (I'm not sure myself!)
ha just thought of this too.. yuck...
function(...args) { var [,a] = args; return a.x; }

@lukeapage: I thought that was an interesting use-case for destructuring assignment, but I'm having second thoughts. Doing that makes the function a little brittle:
function a(_, __, final) {
  print(final);
}

function b({}, {}, final) {
  print(final);
}

Function a can be invoked with any type/number of arguments, but b will throw errors if invoked with non-Object values as the first or second argument. For some situations, this might be desirable, but as an implicit type check (and one that might not be immediately apparent to readers), it also seems a little more strict than typical programming patterns in JavaScript.
In light of the ambiguity, I think we're better off being conservative here and waiting for our users to decide that this is a common pattern that they want to allow.

but b will throw errors if invoked with non-Object values as the first or second argument.

oh yes, I forgot that.. Seems my 2nd example is the only way to do it consistently without creating identifiers. Still, not like its easy to do it in any other languages I know of.


hard track not visible in gazebo

I'm having a problem that whenever I set WORLD_NAME=hard_track the track does not appear in gazebo.
The car appears but nothing else.
easy_track and medium_track work fine.
This is a totally fresh install on ros melodic on Ubuntu 18.04.
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://matt-virtual-machine:34543/

SUMMARY
========

PARAMETERS
 * /JOB_TYPE: TRAINING
 * /MODEL_S3_BUCKET: sagemaker-eu-west...
 * /MODEL_S3_PREFIX: deepracer-matt-vm...
 * /ROS_AWS_REGION: eu-west-1
 * /WORLD_NAME: hard_track
 * /gazebo/enable_ros_network: True
 * /racecar/joint_state_controller/publish_rate: 50
 * /racecar/joint_state_controller/type: joint_state_contr...
 * /racecar/left_front_wheel_velocity_controller/joint: left_front_wheel_...
 * /racecar/left_front_wheel_velocity_controller/pid/d: 0.0
 * /racecar/left_front_wheel_velocity_controller/pid/i: 0.0
 * /racecar/left_front_wheel_velocity_controller/pid/i_clamp: 0.0
 * /racecar/left_front_wheel_velocity_controller/pid/p: 0.5
 * /racecar/left_front_wheel_velocity_controller/type: effort_controller...
 * /racecar/left_rear_wheel_velocity_controller/joint: left_rear_wheel_j...
 * /racecar/left_rear_wheel_velocity_controller/pid/d: 0.0
 * /racecar/left_rear_wheel_velocity_controller/pid/i: 0.0
 * /racecar/left_rear_wheel_velocity_controller/pid/i_clamp: 0.0
 * /racecar/left_rear_wheel_velocity_controller/pid/p: 1.0
 * /racecar/left_rear_wheel_velocity_controller/type: effort_controller...
 * /racecar/left_steering_hinge_position_controller/joint: left_steering_hin...
 * /racecar/left_steering_hinge_position_controller/pid/d: 0.5
 * /racecar/left_steering_hinge_position_controller/pid/i: 0.0
 * /racecar/left_steering_hinge_position_controller/pid/p: 1.0
 * /racecar/left_steering_hinge_position_controller/type: effort_controller...
 * /racecar/right_front_wheel_velocity_controller/joint: right_front_wheel...
 * /racecar/right_front_wheel_velocity_controller/pid/d: 0.0
 * /racecar/right_front_wheel_velocity_controller/pid/i: 0.0
 * /racecar/right_front_wheel_velocity_controller/pid/i_clamp: 0.0
 * /racecar/right_front_wheel_velocity_controller/pid/p: 0.5
 * /racecar/right_front_wheel_velocity_controller/type: effort_controller...
 * /racecar/right_rear_wheel_velocity_controller/joint: right_rear_wheel_...
 * /racecar/right_rear_wheel_velocity_controller/pid/d: 0.0
 * /racecar/right_rear_wheel_velocity_controller/pid/i: 0.0
 * /racecar/right_rear_wheel_velocity_controller/pid/i_clamp: 0.0
 * /racecar/right_rear_wheel_velocity_controller/pid/p: 1.0
 * /racecar/right_rear_wheel_velocity_controller/type: effort_controller...
 * /racecar/right_steering_hinge_position_controller/joint: right_steering_hi...
 * /racecar/right_steering_hinge_position_controller/pid/d: 0.5
 * /racecar/right_steering_hinge_position_controller/pid/i: 0.0
 * /racecar/right_steering_hinge_position_controller/pid/p: 1.0
 * /racecar/right_steering_hinge_position_controller/type: effort_controller...
 * /robot_description: <?xml version="1....
 * /rosdistro: melodic
 * /rosversion: 1.14.3
 * /use_sim_time: True

NODES
  /racecar/
    controller_manager (controller_manager/spawner)
  /
    agent (deepracer_simulation/run_local_rl_agent.sh)
    better_odom (topic_tools/relay)
    gazebo (gazebo_ros/gzserver)
    gazebo_gui (gazebo_ros/gzclient)
    racecar_spawn (gazebo_ros/spawn_model)
    robot_state_publisher (robot_state_publisher/robot_state_publisher)
    servo_commands (deepracer_simulation/servo_commands.py)

auto-starting new master
process[master]: started with pid [92044]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to fcc120f8-2fa9-11e9-ba3d-000c2988e0bf
process[rosout-1]: started with pid [92055]
started core service [/rosout]
process[gazebo-2]: started with pid [92062]
process[gazebo_gui-3]: started with pid [92067]
process[racecar_spawn-4]: started with pid [92072]
process[racecar/controller_manager-5]: started with pid [92073]
process[robot_state_publisher-6]: started with pid [92074]
process[servo_commands-7]: started with pid [92075]
process[better_odom-8]: started with pid [92080]
+ export NODE_TYPE=SIMULATION_WORKER
+ NODE_TYPE=SIMULATION_WORKER
+ python3 -m markov.single_machine_training_worker
process[agent-9]: started with pid [92086]
[INFO] [1550074276.622891, 0.000000]: Controller Spawner: Waiting for service controller_manager/load_controller
[ INFO] [1550074276.878730333]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1550074276.880908370]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
[ INFO] [1550074276.911774212]: waitForService: Service [/gazebo_gui/set_physics_properties] has not been advertised, waiting...
[ INFO] [1550074276.916299451]: Finished loading Gazebo ROS API Plugin.
[INFO] [1550074277.470849, 0.000000]: Loading model XML from ros parameter robot_description
[INFO] [1550074277.528489, 0.000000]: Waiting for service /gazebo/spawn_urdf_model
[ INFO] [1550074277.927572187, 0.025000000]: waitForService: Service [/gazebo/set_physics_properties] is now available.
[ INFO] [1550074278.041847933, 0.154000000]: Physics dynamic reconfigure ready.
[INFO] [1550074278.137237, 0.389000]: Calling service /gazebo/spawn_urdf_model
[INFO] [1550074278.410802, 0.563000]: Spawn status: SpawnModel: Successfully spawned entity
[racecar_spawn-4] process has finished cleanly
log file: /home/matt/.ros/log/fcc120f8-2fa9-11e9-ba3d-000c2988e0bf/racecar_spawn-4*.log
[ INFO] [1550074278.961235120, 0.563000000]: Camera Plugin: Using the 'robotNamespace' param: '/'
[ INFO] [1550074278.990773694, 0.563000000]: Camera Plugin (ns = /)  <tf_prefix_>, set to ""
[ INFO] [1550074279.217262002, 0.563000000]: Loading gazebo_ros_control plugin
[ INFO] [1550074279.217471212, 0.563000000]: Starting gazebo_ros_control plugin in namespace: /racecar
[ INFO] [1550074279.221520789, 0.563000000]: gazebo_ros_control plugin is waiting for model URDF in parameter [/robot_description] on the ROS param server.
Using custom preset file from Markov presets directory!
Creating graph - name: BasicRLGraphManager
[ WARN] [1550074279.347765025, 0.563000000]: Deprecated syntax, please prepend 'hardware_interface/' to 'EffortJointInterface' within the <hardwareInterface> tag in joint 'left_rear_wheel_joint'.
[ WARN] [1550074279.349632622, 0.563000000]: Deprecated syntax, please prepend 'hardware_interface/' to 'EffortJointInterface' within the <hardwareInterface> tag in joint 'right_rear_wheel_joint'.
[ WARN] [1550074279.350340224, 0.563000000]: Deprecated syntax, please prepend 'hardware_interface/' to 'EffortJointInterface' within the <hardwareInterface> tag in joint 'left_steering_hinge_joint'.
[ WARN] [1550074279.351292147, 0.563000000]: Deprecated syntax, please prepend 'hardware_interface/' to 'EffortJointInterface' within the <hardwareInterface> tag in joint 'right_steering_hinge_joint'.
[ WARN] [1550074279.352570990, 0.563000000]: Deprecated syntax, please prepend 'hardware_interface/' to 'EffortJointInterface' within the <hardwareInterface> tag in joint 'left_front_wheel_joint'.
[ WARN] [1550074279.353282304, 0.563000000]: Deprecated syntax, please prepend 'hardware_interface/' to 'EffortJointInterface' within the <hardwareInterface> tag in joint 'right_front_wheel_joint'.
[ INFO] [1550074279.365956851, 0.563000000]: Loaded gazebo_ros_control.
******* World name is: hard_track *********
[INFO] [1550074279.639861, 0.768000]: Controller Spawner: Waiting for service controller_manager/switch_controller
[INFO] [1550074279.643279, 0.768000]: Controller Spawner: Waiting for service controller_manager/unload_controller
[INFO] [1550074279.646346, 0.768000]: Loading controller: left_rear_wheel_velocity_controller
[INFO] [1550074279.742422, 0.809000]: Loading controller: right_rear_wheel_velocity_controller
[INFO] [1550074279.809821, 0.819000]: Loading controller: left_front_wheel_velocity_controller
[INFO] [1550074279.871939, 0.831000]: Loading controller: right_front_wheel_velocity_controller
[INFO] [1550074279.928403, 0.849000]: Loading controller: left_steering_hinge_position_controller
Total Reward Reward=0.00 Total Steps=0.00
[INFO] [1550074280.088112, 0.917000]: Loading controller: right_steering_hinge_position_controller
[INFO] [1550074280.164898, 0.946000]: Loading controller: joint_state_controller
[INFO] [1550074280.186326, 0.947000]: Controller Spawner: Loaded controllers: left_rear_wheel_velocity_controller, right_rear_wheel_velocity_controller, left_front_wheel_velocity_controller, right_front_wheel_velocity_controller, left_steering_hinge_position_controller, right_steering_hinge_position_controller, joint_state_controller
[INFO] [1550074280.192177, 0.950000]: Started controllers: left_rear_wheel_velocity_controller, right_rear_wheel_velocity_controller, left_front_wheel_velocity_controller, right_front_wheel_velocity_controller, left_steering_hinge_position_controller, right_steering_hinge_position_controller, joint_state_controller
Step No=0.00 Step Reward=1.00
Step No=1.00 Step Reward=1.00
Creating agent - name: agent
2019-02-13 16:11:36.939611: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
^C[agent-9] killing on exit

Are you using Gazebo 9?

Yes.
I did a standard full desktop install of ROS melodic which installed Gazebo 9.0.0

Hi Matt,
Thank you for bringing up this issue. We currently only support ROS Kinetic and Gazebo 7 on Ubuntu Xenial. We are working on supporting ROS Melodic and Gazebo 9 but its not yet supported. As part of that initiative we will try to fix this issue. However till we have support for Gazebo 9 could you please try to run it using Gazebo 7 and ROS Kinetic on Ubuntu?
P.S I will leave this issue open till we have fix for this issue.

i have the same problem, I use kinetic with gazebo9. I can see the car but the tack not show.

Closing this, as it is fixed by PR #14. Please reopen if the fix is not working for either of you.


company-go Company: backend company-go error "Wrong type argument: stringp, nil" with args (candidates )

emacs version: GNU Emacs 25.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.16) of 2017-07-16
company version: 0.9.4

I also got the same problem.
Try update gocode command (go get -u github.com/nsf/gocode)

That fixed the issue

Thanks kosh04. I updated gocode now everything works fine again

So what to do if getting this same error and gocode updated?

i meet this error also, as @kosh04  said, update gocode is not suit me.
my emacs version is GNU Emacs 26.1
go version go1.10.3 darwin/amd64

Updated gocode did not fix the issue, i'm with the same version as @chunzhouyu (exept go 1.11)

This comment from the other thread did the trick for me:
After updating gocode, don't forget to kill the server which might be running: gocode close. New one will start automatically. Also make sure there is only one gocode binary on your PATH: which -a gocode.


Update to Latest Zig

Hi there!
A more thorough outline of those changes is here, but specifically the changes that needed to be made in this project are:

var -> const as it's now a compile-time requirement for data that's not mutated
Upgrading`build.zig to latest constructs
Adding the paths field to build.zig.zon

Note: I converted to a draft b/c I only tested with one example. Doing the rest now

Oops, missed the note in the README about the 0.12.0 branch. Will close, but if you need any help with those changes, feel free to use, or ping me and I can make the changes over there. Sorry for the noise!

Hi there and thanks for all the work in this PR. Have you checked the readme? Zap is intentionally made for the current stable release of zig (0.11). That's a feature.
However, since many users seem to prefer to use zig master, there is a zig-0.12.0 branch for zap.

Hah, jinx! Thanks, sorry again!

No worries and many thanks for the offer 👍!


Request: If possible, change ModalWrapper base element to a span

Detailed description

Describe in detail the issue you're having. Is this a feature request (new component, new icon), a bug, or a general issue?

When using the ModalWrapper, the use of a div as the base element forces the trigger button to have display: block styling. Therefore, it requires additional CSS and/or wrappers around the ModalWrapper to keep it inline. While this is generally fairly easy for developers to do, it feels like the component itself should not force block behavior in the first place.
Line of code in question

Is this issue related to a specific component?

Yes, ModalWrapper

Hi @ColbyJohnIBM! 👋  Thanks so much for taking the time to make this issue 😄
This definitely seems like a fair feature request. Since we're creating this as sugar on top of the existing elements, we're not really bound by the system here but instead are trying to support the best developer experience using the Modal components.
How do the rest of carbon devs feel about this feature request? cc @carbon-design-system/ui

I agree this seems like a fair request, however, my concern would be if we update this then we would break the layout for someone who expects it to render as a block element.

That's a good point-- I can appreciate the desire not to break things. And again, it's easy enough for developers to fix. It was just a small pain point for our use case, so I wanted to make your team aware of it. Whichever direction you all decide to go in, I appreciate the quick response.

Maybe we should tag this as something we can address for the v9 release?


fix: grouped the style buttons and associated with style label

With this PR, the style group for text config is made accessible for the screen reader as per issue #2360
Verifying changes:
Before:
https://github.com/awslabs/iot-app-kit/assets/154328164/b4794167-fe2a-4b38-8cbe-2ff4036b4b36
After:
https://github.com/awslabs/iot-app-kit/assets/154328164/a7ed02c2-aeba-49c6-b80f-1b4709ec6a50
The style buttons are now first announced as group "Style" then user can tab over individual controls
Please download the videos and play on your machine to watch video with audio.

LGTM


MoveKinematic

Bodies can be moved with a Kinematic movement.
I'm pretty sure this is the required movement type for Kinetic objects.
See Jolt Docs for details

closed in #83


add consistent hash proposal

What type of PR is this?

What this PR does / why we need it:
add consistent hash proposal
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Flag
Coverage Δ

unittests
31.10% <ø> (-0.11%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 5 files with indirect coverage changes


Created README.md

addresses #18

Will just merge this so that all contributors have a welcoming landing page/readme of the repository as soon as the PR for restructuring the repository layout is ready.


Add interface and implementations for the new segment assignment

Added InstancePartitions implementations
Added InstancePartitionsUtils to fetch/persist it to ZK and also handle backward-compatibility if it does not exist in ZK
Added SegmentAssignmentStrategy interface to work on InstancePartitions, which handles both segment assignment and table rebalance
Implemented the BalanceNum, ReplicaGroup and Realtime segment assignment strategy

Codecov Report

Merging #4269 into master will increase coverage by 0.22%.
The diff coverage is 80.51%.

@@             Coverage Diff              @@
##             master    #4269      +/-   ##
============================================
+ Coverage     67.13%   67.35%   +0.22%
  Complexity       20       20
============================================
  Files          1041     1046       +5
  Lines         51564    51832     +268
  Branches       7229     7275      +46
============================================
+ Hits          34618    34912     +294
+ Misses        14573    14536      -37
- Partials       2373     2384      +11

Impacted Files
Coverage Δ
Complexity Δ

...helix/core/assignment/InstancePartitionsUtils.java
0% <0%> (ø)
0 <0> (?)

...ller/helix/core/assignment/InstancePartitions.java
41.37% <41.37%> (ø)
0 <0> (?)

...ment/segment/SegmentAssignmentStrategyFactory.java
80% <80%> (ø)
0 <0> (?)

...main/java/org/apache/pinot/common/utils/Pairs.java
82.89% <84.61%> (+4.51%)
0 <0> (ø)
:arrow_down:

...ent/segment/RealtimeSegmentAssignmentStrategy.java
88.88% <88.88%> (ø)
0 <0> (?)

...ore/assignment/segment/SegmentAssignmentUtils.java
92.85% <92.85%> (ø)
0 <0> (?)

...t/segment/BalanceNumSegmentAssignmentStrategy.java
93.02% <93.02%> (ø)
0 <0> (?)

...segment/ReplicaGroupSegmentAssignmentStrategy.java
93.27% <93.27%> (ø)
0 <0> (?)

...he/pinot/core/query/pruner/ValidSegmentPruner.java
57.14% <0%> (-28.58%)
0% <0%> (ø)

...ore/startree/v2/builder/BaseSingleTreeBuilder.java
90.52% <0%> (-4.74%)
0% <0%> (ø)

... and 77 more

Continue to review full report at Codecov.

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

Nice to see this. Give me couple of days to review.

@kishoreg There will be a design doc for this and upcoming prs coming soon.

Could you please call out in the description section the changes to persistent state (if any) made through this PR? What are the implications for cases where code is rolled-back with the new state?

Could you please call out in the description section the changes to persistent state (if any) made through this PR? What are the implications for cases where code is rolled-back with the new state?

There is no persistent state change. Added in the commit message


Only one AuthManager and extended interfaces

Hello. Sorry for my english. I hope you understand me.I have problem with AuthManager. Very important to encapsulate the storage of assignments and operations. All operations (permissions) is can be defined in php files (in around 95% case it is permanent data, likely PhpAuthManager). No need to write init rbac function (it is not convenient, especialy when operations very much) I have project with mongodb. Hold assignments in separated collection make no sense. it is hold in user's collection. And operations is hold in php files (them is very much). I wrote own authmanager. Besides there is ability add own roles through admin panel. Therefore roles is hold in php files (for default roles) and in db (in mongo for added roles). I think need likely Assignment Provider class (db, php, mongo...) and PermissionProvider for operations and roles(more constans data). In my case I have ChainPermissionProvider(mongodb and file). Conclusion. Assignments in db(dynamically data), operations rules roles in php (permanent data).Only one authmanager

The issue is too specific. It does not worth to split AuthManager for that.
However the feature may be achieved via implemetation of #570, which will allow different ActiveRecord per "assignment" and "operations".


Command for running Docker image is missing

Please add the corresponding command for running the Docker image.

Example steps to be followed:

$ sudo git clone https://github.com/jvsoest/PHT_on_FHIR_demo.git
$ cd PHT_on_FHIR_demo/train/
$ sudo docker run mastrit:pht
$ sudo docker run mastrit:pht


Init chaos-server component

What problem does this PR solve?
Init chaos-server component, chaos-server will store events to DB and provide API service for dashboard.
What is changed and how does it work?

add apiserver pkg
add store pkg
refine collectors pkg
clean code

Check List
Tests

Unit test
E2E test
Manual test (add detailed scripts or steps below)
No code

Code changes

Has Go code change
Has CI related scripts change
Has Terraform scripts change

Side effects

Breaking backward compatibility

Related changes

Need to update the documentation

Does this PR introduce a user-facing change?:

NONE

Codecov Report

Merging #419 into master will increase coverage by 1.19%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #419      +/-   ##
==========================================
+ Coverage   59.63%   60.82%   +1.19%
==========================================
  Files          61       61
  Lines        4003     3798     -205
==========================================
- Hits         2387     2310      -77
+ Misses       1446     1327     -119
+ Partials      170      161       -9

Impacted Files
Coverage Δ

api/v1alpha1/podchaos_types.go
32.55% <0.00%> (-6.51%)
:arrow_down:

controllers/twophase/types.go
63.09% <0.00%> (-5.94%)
:arrow_down:

controllers/iochaos_controller.go
90.47% <0.00%> (-4.77%)
:arrow_down:

controllers/podchaos_controller.go
90.47% <0.00%> (-4.77%)
:arrow_down:

controllers/networkchaos_controller.go
90.47% <0.00%> (-4.77%)
:arrow_down:

api/v1alpha1/iochaos_types.go
32.55% <0.00%> (-4.37%)
:arrow_down:

api/v1alpha1/networkchaos_types.go
18.93% <0.00%> (-2.74%)
:arrow_down:

api/v1alpha1/timechaos_types.go
10.41% <0.00%> (-2.41%)
:arrow_down:

api/v1alpha1/kernelchaos_types.go
4.65% <0.00%> (-1.15%)
:arrow_down:

pkg/utils/selector.go
51.65% <0.00%> (-0.83%)
:arrow_down:

... and 1 more

Continue to review full report at Codecov.

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

/test

/merge


Additional configuration files (from embedded-jmxtrans)

https://github.com/jmxtrans/jmxtrans-agent/issues/82

@gliptak sorry to be late, I just discovered your PR. Many thanks!


Windows - Chat -Photo preview screen disappears after resizing window to full screen

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Issue found when executing PR https://github.com/Expensify/App/pull/20440
Action Performed:

Go to https://staging.new.expensify.com/
Resize the window to a smaller window
Drag and drop a photo to the chat
On photo preview screen, resize the window to full screen

Expected Result:
Photo preview screen does not disappear
Actual Result:
Photo preview screen disappears
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x]  Chrome
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/78819774/8de36471-45dd-4d7a-adcc-61589b2625d5
Expensify/Expensify Issue URL:
Issue reported by: Applause Internal Team
Slack conversation:
View all open jobs on GitHub

Proposal
Please re-state the problem that we are trying to solve in this issue.
Image preview screen disappears after resizing window from small to full screen or vice versa
What is the root cause of that problem?
For responsiveness, we use withWindowDimensions HOC in the project.
AttachModal component is remounted when isSmallScreenWidth props(from withWindowDimensions) is changed due to the following code lines.
https://github.com/Expensify/App/blob/035783a7984e0214677b5364d9351c968887bf58/src/libs/Navigation/NavigationRoot.js#L66
https://github.com/Expensify/App/blob/035783a7984e0214677b5364d9351c968887bf58/src/libs/Navigation/AppNavigator/createResponsiveStackNavigator/index.js#L36-L56
This is the root cause of this issue.
What changes do you think we should make in order to solve the problem?
We store draft comments in Oynx store. Similarly, we can store the attachment in Oynx store and load attachment info when page refreshing or remounting.
In order to do this

Add Oynx key for storing pending attachment
Store the attachment in Oynx store when picked file is valid
Load the attachment info from Oynx store when mounting

Result
https://github.com/Expensify/App/assets/126839717/3f69d0a2-7ec1-4412-a38d-797c740a2066

What alternative solutions did you explore? (Optional)

Similarly, we can store the attachment in Oynx store and load attachment info when page refreshing or remounting

I like the idea, but I don't think we have a straightforward way to do that for now. I believe that this should be on HOLD for something in https://github.com/Expensify/App/issues/10894. @Beamanator can you confirm / help find the specific issue this should be on HOLD for that will enable us to support offline image caching?

Yes, I agree. Doing that now, in fact.

Still on hold. Updating this one to weekly given the hold. Should have done that earlier, in fact.

Still on hold.

Still on hold.

Hold

Hold

Same

Same

Still on hold for the image improvements.

Still held on image improvements

Holding for image initiative.

Same

Closing this issue in line with our decision to not prioritize resizing issues anytime soon.


Change default page

Change the default page to either Search or Mass Follow Up Entry?

User does not want a change to the default page


Add: WWNY-DT6

Channel Name
WWNY-DT6
Alternative Names (optional)
No response
Network (optional)
MeTV
Owners (optional)
Gray Television
Country
US
Subdivision (optional)
US-NY
City (optional)
Carthage
Broadcast Area
s/US-NY
Languages
eng
Categories (optional)
entertainment
NSFW
FALSE
Launched (optional)
No response
Closed (optional)
No response
Replaced By (optional)
No response
Website (optional)
https://publicfiles.fcc.gov/tv-profile/WWNY-CD
Logo
https://play-lh.googleusercontent.com/PO0C2_-FdOtMVn1rw_Q0_iystfcf6Ab8h1Q37P8fEgSLuAkQJBCI9kax_FIkUgXppgs4
Notes
No response

Please update your request:

logo is not loading

https://github.com/iptv-org/database/blob/master/CONTRIBUTING.md#channels

Fixed


[CORE] Record ignored tests by test framework

Hi @Yohahaha, do we need to fix this?
https://github.com/oap-project/gluten/blob/main/gluten-ut/common/src/test/scala/org/apache/spark/sql/GlutenSQLTestsBaseTrait.scala#L43

Hi @Yohahaha, do we also need to fix this? https://github.com/oap-project/gluten/blob/main/gluten-ut/common/src/test/scala/org/apache/spark/sql/GlutenSQLTestsBaseTrait.scala#L43

Let's firstly merge this pr. Note anther pr covers this mentioned issue.

1,121 tests were ignored.

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_4635_time.csv
log/native_master_02_03_2024_75285bcb8_time.csv
difference
percentage

q1
32.15
33.28
1.128
103.51%

q2
24.29
24.26
-0.030
99.88%

q3
38.01
38.78
0.771
102.03%

q4
37.94
37.64
-0.307
99.19%

q5
70.57
70.97
0.400
100.57%

q6
5.56
8.56
3.000
153.97%

q7
84.49
84.29
-0.195
99.77%

q8
87.12
84.63
-2.492
97.14%

q9
119.05
121.75
2.706
102.27%

q10
42.81
43.29
0.473
101.10%

q11
20.86
20.58
-0.272
98.70%

q12
27.22
26.43
-0.793
97.09%

q13
45.21
45.82
0.601
101.33%

q14
19.72
21.75
2.023
110.26%

q15
30.17
29.07
-1.092
96.38%

q16
14.67
14.30
-0.379
97.42%

q17
103.26
103.31
0.044
100.04%

q18
149.61
149.45
-0.160
99.89%

q19
12.60
13.09
0.486
103.85%

q20
27.89
26.67
-1.216
95.64%

q21
221.57
222.74
1.178
100.53%

q22
13.52
13.69
0.169
101.25%

total
1228.30
1234.34
6.042
100.49%


Improve lichess api response handling

I have tested it yet, but I'm going to try to figure it out.

This PR adds handling for lichess 429 response status codes, and also otherwise distinguishes between client side errors.
It also uses a specific client side error to determine when a player has blocked us (specifically or inadvertently). And if they have, it turns of lichess notifications for them.
Finally, when sending lichess emails, we ignore all client side errors.


flutter not compatible with version control

If you migrate to androidx, then commit, build, etc, then checkout an earlier commit, make changes commit, build, flutter errors. If you reinstall flutter, the issue is fixed.

I've got a mental note to see if the above recipe together with the issue at https://github.com/flutter/flutter/issues/28813 will work together to reproduce. I had closed the linked issue as I was not sure how to reproduce in docker.

What was the error?

I don't remember the error. It may require one to get the version of Android Studio from March, maybe flutter stable from March. That last thing I remember noticing, was that maybe Android Studio was showing in the logs that it was modifying .pub-cache, and that's how I was getting such a hard to reproduce issue. I think it was when I was selecting "Migrate to AndroidX". So the first time I did that, I wasn't watching logs carefully enough to see it modifying distant directories. I didn't spend much more time than I could have, narrowing down the issue and producing an error report. Presumably the error report was similar to the one I linked above.
Sorry not more helpful.

I know you created this issue a year ago, it was a long shot.  We're since published https://flutter.dev/docs/development/androidx-migration, so hopefully that would have helped you track down the issue.  Closing since we probably don't have enough info for this to be actionable.  :-\


Derivative of a NURBS

Hello, I am writing my own library in Python for B-spline and NURBS.
Given a B-spline curve (degree P, N basis function, N+P+1 knots ) it is possible to express exactly its derivative with another B-spline (degree P-1, N-1 basis function,  N+P-1 knots, i.e. eliminating the first the last knots).
Is it possible to make the analogous thing with NURBS?
How do you evaluate the derivative of a NURBS? Do you "generate" another NURBS or evaluate the derivative "numerically" i.e. with for example some finite difference algorithm.
Moreover, B-spline partial derivation is easily generalizable to B-spline surface, is it possible to do that for NURBS too?
Thanks

Hi! It seems perfectly plausible that the derivative of a b-spline is just a spline of lower degree, though it's not the approach I took. This library pretty directly applies the chain rule and evaluates the derivative directly (in any number of dimensions), rather than opting for numerical differentiation. I was not able to nail down a reasonable expression for NURBS though. If I recall, the weights resulted in an explosion of the chain rule so that some other approach or form is probably required.
I don't have a copy myself, but I'd highly recommend The NURBS Book, which I think felt like everyone's go-to reference for the low-level details.
Peter Boyer's verb library is also a very nicely done library that's far more ergonomic than the library, which was really aimed primarily at evaluating the core expressions as fast as possible.

Thank you very much


Cannot deploy managed deprecated global batch classes

Note
Before you submit your issue, make sure that:

You're using the latest version of Salesforce CLI. Yes 7.205.6-dfc6717
You've searched both open and closed issues for related posts. Yes
You've used the doctor command to diagnose common issues. No
You understand that GitHub Issues don't adhere to any agreement or SLA. Yes

If you require immediate assistance, use official channels such as Salesforce Customer Support. Yes

Summary
We have a managed global deprecated batch class that implements Database.Batchable and Database.Stateful.
We are currently stuck because we can't deploy nor upgrade customers with our package.
If we try to change the class (it can be just a blank space or even without any change at all) we are getting the following error:
"Deprecated managed type that is released can't implement new interfaces"
We have opened a known issue (https://issues.salesforce.com/issue/a028c00000tIoUY/not-able-to-save-or-deploy-deprecated-global-classes-after-summer23-release).
Steps To Reproduce

Create the following class and its test below.
Create a managed package
Uncomment the //@Deprecated and try to push again using the cli.

//@Deprecated global with sharing class DeprecatedGlobal implements Database.Batchable<sObject>, Database.Stateful {     global DeprecatedGlobal() {}     global Database.QueryLocator start(Database.BatchableContext BC) {         return null;     }     global void execute(Database.BatchableContext BC, List<SObject> scope) {        }     global void finish(Database.BatchableContext BC) {        } }
@IsTest public class DeprecatedGlobalTest {     @IsTest     private static void myTest() {         DeprecatedGlobal classInstance = new DeprecatedGlobal(); 		classInstance.start(null); 		classInstance.execute(null, null); 		classInstance.finish(null);     } }
This is the sfdx version
{
  "cliVersion": "sfdx-cli/7.205.6",
  "architecture": "darwin-x64",
  "nodeVersion": "node-v18.15.0",
  "osVersion": "Darwin 22.4.0",
  "shell": "zsh",
  "rootPath": "/Users/jesusgonzalez/.local/share/sfdx/client/7.205.6-dfc6717",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 2.3.0 (core)",
    "@oclif/plugin-commands 2.2.15 (core)",
    "@oclif/plugin-help 5.2.9 (core)",
    "@oclif/plugin-not-found 2.3.24 (core)",
    "@oclif/plugin-plugins 3.1.2 (core)",
    "@oclif/plugin-search 0.0.17 (core)",
    "@oclif/plugin-update 3.1.17 (core)",
    "@oclif/plugin-version 1.3.4 (core)",
    "@oclif/plugin-warn-if-update-available 2.0.37 (core)",
    "@oclif/plugin-which 2.2.22 (core)",
    "@salesforce/analytics 1.3.4 (user)",
    "apex 2.3.3 (core)",
    "auth 2.8.1 (core)",
    "community 2.3.1 (core)",
    "custom-metadata 2.1.25 (core)",
    "data 2.3.22 (core)",
    "deploy-retrieve 1.11.7 (core)",
    "info 2.6.19 (core)",
    "limits 2.3.18 (core)",
    "org 2.9.8 (core)",
    "packaging 1.19.0 (core)",
    "schema 2.3.12 (core)",
    "settings 1.4.11 (core)",
    "signups 1.4.21 (core)",
    "source 2.10.14 (core)",
    "telemetry 2.2.0 (core)",
    "templates 55.4.20 (core)",
    "trust 2.4.20 (core)",
    "user 2.3.17 (core)",
    "sfdx-browserforce-plugin 2.9.1 (user)",
    "sfdx-cli 7.205.6 (core)",
    "sfdx-plugin-ipfolio 0.0.0-development (user)"
  ]
}

Thank you very much

Many thanks for the quick response. That makes sense. I'll see if I can get a solution for this via other support channels. Again, thank you!


docs: removed optional expression syntax from if conditions

Why:
Closes: #24675
What's being changed (if available, include any code snippets, screenshots, or gifs):
--
Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline.

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[x] For content changes, I have completed the self-review checklist.

Reviewing against the [CD plan in this comment], LGTM! ✨  Thank you for making these changes @Rizina. I'll add this PR to the merge queue now.


task can not execute cmake properly

VSCode Version: Code 1.17.2 (b813d12, 2017-10-16T13:59:46.104Z)
OS Version: Windows_NT x64 16299.19
Extensions:

Extension
Author (truncated)
Version

C/C++
Microsoft
0.14.0

CMake
twxs
0.0.17

CMake Tools
vector-of-bool
0.10.2

QuickTask
Lky Tal
3.0.2

Steps to Reproduce:

computer environment:

cygwin version: 2.881(32 bit)
cmake-3.9.2-win64-x64

task.json:
"version": "2.0.0",
  "tasks": [
    {
      "taskName": "CMake with g++",
      "type": "shell",
      "command": "cmake",
      "args": [
        "..",
        "-DCMAKE_CXX_COMPILER=g++",
        "-G \"Unix Makefiles\""
      ],
      "group": {
        "kind": "build",
        "isDefault": true
      }
    }
]

when I execute the task, it shows the error:
CMake Error: Could not create named generator Unix
Generators
Visual Studio 15 2017 [arch] = Generates Visual Studio 2017 project files.
Optional [arch] can be "Win64" or "ARM".
Visual Studio 14 2015 [arch] = Generates Visual Studio 2015 project files.
Generators
Visual Studio 15 2017 [arch] = Generates Visual Studio 2017 project files.
Optional [arch] can be "Win64" or "ARM".
Visual Studio 14 2015 [arch] = Generates Visual Studio 2015 project files.
...
But when I start a Poweshell, and execute the same command, everything works fine:
PS D:\cpp-vscode\build> cmake .. -DCMAKE_CXX_COMPILER=g++ -G "Unix Makefiles"
-- The C compiler identification is unknown
-- The CXX compiler identification is GNU 6.4.0
-- Check for working C compiler: C:/cygwin/bin/cc
-- Check for working C compiler: C:/cygwin/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/cygwin/bin/g++.exe
-- Check for working CXX compiler: C:/cygwin/bin/g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
cxx Flags:
-- Configuring done
-- Generating done
-- Build files have been written to: D:/cpp-vscode/build

Am I missing anything or the task execution environment is not same as Powershell?

Reproduces without extensions: Yes/No

@navono the task execution environment is the same as the integrated terminal. Is this powershell for you.
However I assume this is a space escaping issue. In general shell tasks shouldn't use args since it makes quoting escaping hard to control. You should even have a warning in the task output channel about this.
In your example I would say something like this should work:
"version": "2.0.0",
  "tasks": [
    {
      "taskName": "CMake with g++",
      "type": "shell",
      "command": "cmake .. -DCMAKE_CXX_COMPILER=g++, -G 'Unix Makefiles'",
      "group": {
        "kind": "build",
        "isDefault": true
      }
    }
]

Please note the single quotes around Unix Makefile. Alternatively you can escape a space in PowerShell with a back tick. Then it would read: -G Unix``` Makefiles

@dbaeumer  Thank you for your reply. You're right. Put the command after cmake, it works.
Usually I just ignore the warning in the Output window and sometimes tasks works fine. e.g. cmd.exe.


need to chmod to use shellsploit

Didn’t manage to find any issues with the shellcode for OSX64 / OSX86
I added some info on the backdoor, I don’t know if you wanted it or not.
Also, if you want I can start working on the reverse_shellcodes for OSX64 and OSX86?

On Jan 27, 2016, at 6:54 PM, b3mb4m<EMAIL_ADDRESS>wrote:
Merged #8 https://github.com/b3mb4m/shellsploit-framework/pull/8.
—
Reply to this email directly or view it on GitHub https://github.com/b3mb4m/shellsploit-framework/pull/8#event-528959738.


SPI support in Swift

Add experimental support to define System Programming Interfaces (SPI) in Swift. An SPI is a kind of API targetted at specific clients and that is hidden by default. In practice, a Swift library developer could mark decls as SPI if they are reserved for a closely-related library or client, or if they are experimental and may be modified without warning in the next version of the library.
Definition and importation of SPIs is declared with the @_spi attribute. A public decl marked with @_spi(SPIName) is usable only from within the same module and by clients that imports the module with the compatible @_spi(SPIName) attribute.
In the following example, MyLib defines a function under the SPI named Experimental.
// MyLib
@_spi(Experimental) public func newExperimentalService() {}

The SPI function newExperimentalService is hidden from clients that imports the module normally.
import MyLib

newExperimentalService() // Error: use of unresolved identifier

However, clients that imports MyLib and its SPI Experimental have access to all decls with the attribute @_spi(Experimental) declared in MyLib. This is a way for the library clients to opt-in using the SPI.
@_spi(Experimental) import MyLib

newExperimentalService() // Ok

The developers of a binary framework can restrict access to its SPIs by distributing the new private Swift textual interface file (.private.swiftinterface) only to the authorized clients. This file contains both the public API and all SPIs, it is generated next to the public textual interface (.swiftinterface). The compiler prefers to load the private textual interface and falls back on the public one if the private is not found. Generating the private file is requested by the option -emit-private-module-interface-path.

This is a first partial support for SPI in Swift. A few things still need work, including the diagnostics that is not always aware of the SPI restriction and reports SPI decls as being internal.
We might want to find a better syntax for SPI attributes that can hold a list of names. The current underlying implementation already supports a list of name per attribute but it’s not reflected in the syntax.

@swift-ci Please test

Build failed
Swift Test OS X Platform
Git Sha - 9c62848787173f41ff07aeec86ed7d4fefd1f206

@swift-ci please test Windows platform

@swift-ci Please smoke test

@swift-ci please test Windows platform

@swift-ci please test Windows platform

The Windows test fails on network issues, it passed the first time. @compnerd you can trigger it again if you want.

@swift-ci please smoke test

Updated to rebase on master and apply Slava's comments.

@swift-ci please smoke test

@swift-ci please clean test Windows platform

A request: Please diagnose @_exported+@_spi.

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - 9c62848787173f41ff07aeec86ed7d4fefd1f206

Build failed
Swift Test OS X Platform
Git Sha - 9c62848787173f41ff07aeec86ed7d4fefd1f206

@swift-ci Please smoke test

@xymus, could you please clarify if the following is per-spec? I know IDE behavior is beyond the purview of this work, but I can't find much documentation.
Two Swift packages, one is fetched via source control and another is a local clone. Both are added to an Xcode project via the Xcode/SPM package interface. The local clone will expose and allow for @_spi(Experimental) imports, whereas the remote will not. Both sources are identical on disk. The access level from the consuming code should be the same, right?

@_spi does not seem to limit visibility of inherited initialisers in classes when protection is added on the initialiser in a super class and subclass does not override it


PLT-5711 Fix Tapping on the button to open the drawers not always work

Summary
This PR takes care of:

Tapping on the hamburger button should always open the drawer
Drawer transition to open from below the scene and with the change of the opacity
Hamburger badge dot button should be centered

Ticket Link

https://mattermost.atlassian.net/browse/PLT-5711
https://mattermost.atlassian.net/browse/PLT-5992
https://mattermost.atlassian.net/browse/PLT-5996
https://mattermost.atlassian.net/browse/PLT-6052

Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Has UI changes

Device Information
This PR was tested on:

IOS 10.2.1 iPhone 6s
Android 6.0.1 Samsung J5

Screenshots
https://pre-release.mattermost.com/core/pl/fcaef7b1tigzpd81qjggu4ai9y

@jarredwitt done


Object.setContents miserably fails ;-(

Using
"suneditor": "2.44.3",
"suneditor-react": "3.4.1",

Error
TypeError: Cannot read properties of null (reading 'replaceChild')
    at Object.update_image (image.js:793:45)
    at Object.<anonymous> (image.js:629:38)
    at Object.checkInfo (fileManager.js:141:21)
    at Object.checkFileInfo (image.js:633:44)
    at Object._checkComponents (core.js:5730:44)
    at f (history.js:55:14)
    at Object.push (history.js:114:21)
    at Object.setContents (core.js:5057:30)
    at Object.setContents (core.js:8721:18)
    at Ue (EditMessageItem.js:537:10)

Our code is EditMessageItem.js
editor.setContents(newContent);
newContent is an HTML TEXT
<a
  download="README"
  href="https://github.com/JiHong88/SunEditor/blob/master/README.md"
  target="_blank"
>
  <img
    src="https://google.com"
    alt="icon1"
  />
  <img
    src="https://google.com"
    alt="icon2"
  />
</a>

It works with 1 image in the <a ...> tag !!!
Should be easy and super fast to fix ;-)

THX @JiHong88  to put this in the next milestone ;-)

Is there a target date for the 2.44.4 milestone?

Sorry, I had a lot of busy work.
Updated milestone dates.
https://github.com/JiHong88/SunEditor/milestone/51

THX for all the hard work, looking forward to see it ;-)

The 2.44.4 version has been updated.
Thank you.


Issue/6372 run pyupgrade python39

Description
Run pyupgrade --py39-plus
Part of https://github.com/inmanta/inmanta-core/issues/6372
Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[ ] Attached issue to pull request
[ ] Changelog entry
[ ] Type annotations are present
[ ] Code is clear and sufficiently documented
[ ] No (preventable) type errors (check using make mypy or make mypy-diff)
[ ] Sufficient test cases (reproduces the bug/tests the requested feature)
[ ] Correct, in line with design
[ ] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )
[ ] If this PR fixes a race condition in the test suite, also push the fix to the relevant stable branche(s) (see test-fixes for more info)

Shouldn't we also run this in the linting phase once we are up to date?

Based on the failed tests I also think we can only do this once we are using typeadapter instead of our own typing logic in protocol (cc @sanderr )

that's why I put that one as a blocker

Damn it, I completely missed the blockers.

@sanderr this wil only work if our protocol layer starts supporting dict and list instead of Dict and List. I do not think that is the case and TypeAdapter will solve that for us.


fixed generic levels ingestion for custom variables

This is a fix for the problem of custom variables not accepting generic_levels as valid coordinates anymore (originating from #922 and documented in #1003). The syntax is in line with #985
The whole CustomInfo() object is rather dodgy but the fix here and the fix for missing frequency should address most of the potential issues.

Hi,
I am very much out of context in here, and I think this goes beyond what I know so far, but I have been trying to understand what's going on and what are you trying to solve with that fix. So I have a few questions/comments to make.

So the thing here is that there is an issue when using the derive preprocessor for variables that have generic_levels as a coordinate. Did I understand that right?
Could it be related to https://github.com/ESMValGroup/ESMValTool/pull/420 ?

I have noticed that this is for an ocean heat content diagnostic in CRESCENDO. This diagnostic is something that Javi worked on for PRIMAVERA. So before fixing anything or creating a custom table for ohc maybe it would be better to see if a common recipe/diagnostic can be created? I have worked with ohc in other contexts and I helped with the PRIMAVERA code,  so maybe I can help with that a bit.

However I am not comfortable nor confident enough to make definite changes without Javi's opinion on them. I am still figuring out how things are working and I don't want to mess up previous work.

Hi @sloosvel good to hear from you!

Hi,
I am very much out of context in here, and I think this goes beyond what I know so far, but I have been trying to understand what's going on and what are you trying to solve with that fix. So I have a few questions/comments to make.
* So the thing here is that there is an issue when using the derive preprocessor for variables that have generic_levels as a coordinate. Did I understand that right?
  Could it be related to [https://github.com/ESMValGroup/ESMValTool/pull/420](url) ?

yes, the behavior was noticed when using a derived variable that uses olevel as Z-coord, which is a generic_level as set in the CMIP5_Omon table; the problem is that without explicitly setting the generic level as the Z-coord as the PR is doing now, the variable would be returned with only lat-lon-time dimensions and then the cmor check would return an inconsistent variable dimensional rank error since the CMOR table says it should have 3 spatial dims but in fact the var passed to the checker has only 2

* I have noticed that this is for an ocean heat content diagnostic in CRESCENDO. This diagnostic is something that Javi worked on for PRIMAVERA. So before fixing anything or creating a custom table for ohc maybe it would be better to see if a common recipe/diagnostic can be created? I have worked with ohc in other contexts and I helped with the PRIMAVERA code,  so maybe I can help with that a bit.

sounds like a good plan - you and @tillku (the diag PR author) may wanna get together for a discussion; I have nothing to do with the scientific stuff, I am just repairing a workflow issue :grin: The problem could manifest itself in any other variable that uses a generic level for the Z-coord

However I am not comfortable nor confident enough to make definite changes without Javi's opinion on them. I am still figuring out how things are working and I don't want to mess up previous work.

Absolutely not a worry, rest assured this is not breaking anything it's just repairing a corner case that was previously mishandled, if you are not sure of the PR then the best way would be to test, see if the PR fixes the problem and doesn't break other stuff (and @mattiarighi is the absolute guru of testing and OK-ing PR's), merge and keep the issue open for @jvegasbsc to see the change and either keep it or implement a better fix; or for you to do that at a later stage when you have become more accustomed with the code. We do, however, need these sort of fixes to be merged the sooner the better so that authors like @tillku can do their work. What say you? :beer:

Hi @sloosvel good to hear from you!

Hi,
I am very much out of context in here, and I think this goes beyond what I know so far, but I have been trying to understand what's going on and what are you trying to solve with that fix. So I have a few questions/comments to make.
* So the thing here is that there is an issue when using the derive preprocessor for variables that have generic_levels as a coordinate. Did I understand that right?
  Could it be related to [https://github.com/ESMValGroup/ESMValTool/pull/420](url) ?

yes, the behavior was noticed when using a derived variable that uses olevel as Z-coord, which is a generic_level as set in the CMIP5_Omon table; the problem is that without explicitly setting the generic level as the Z-coord as the PR is doing now, the variable would be returned with only lat-lon-time dimensions and then the cmor check would return an inconsistent variable dimensional rank error since the CMOR table says it should have 3 spatial dims but in fact the var passed to the checker has only 2

Ok thanks for clarifying, that helped me understand a bit better.

* I have noticed that this is for an ocean heat content diagnostic in CRESCENDO. This diagnostic is something that Javi worked on for PRIMAVERA. So before fixing anything or creating a custom table for ohc maybe it would be better to see if a common recipe/diagnostic can be created? I have worked with ohc in other contexts and I helped with the PRIMAVERA code,  so maybe I can help with that a bit.

sounds like a good plan - you and @tillku (the diag PR author) may wanna get together for a discussion; I have nothing to do with the scientific stuff, I am just repairing a workflow issue grin The problem could manifest itself in any other variable that uses a generic level for the Z-coord

However I am not comfortable nor confident enough to make definite changes without Javi's opinion on them. I am still figuring out how things are working and I don't want to mess up previous work.

Absolutely not a worry, rest assured this is not breaking anything it's just repairing a corner case that was previously mishandled, if you are not sure of the PR then the best way would be to test, see if the PR fixes the problem and doesn't break other stuff (and @mattiarighi is the absolute guru of testing and OK-ing PR's), merge and keep the issue open for @jvegasbsc to see the change and either keep it or implement a better fix; or for you to do that at a later stage when you have become more accustomed with the code. We do, however, need these sort of fixes to be merged the sooner the better so that authors like @tillku can do their work. What say you? beer

Well it's not like I can come up with a better solution as of right now, and I don't want to interfere with users not being able to work. So go ahead with the merge I guess? But yes I would keep the issue open for @jvegasbsc to revise.

awesome, cheers @sloosvel :beer:

I reviewed the case for this, and I think that we don't need this. In the ohc definition there is an error in the specification of generic levels. You are using this:
SOURCE: CMIP6
!============
variable_entry:    ohc
!============
modeling_realm:    ocean
!----------------------------------
! Variable attributes:
!----------------------------------
standard_name:
units:             J
cell_methods:      time: mean area: where sea
cell_measures:     volume: volcello
long_name:         Heat content in grid cell
comment:           Heat content
!----------------------------------
! Additional variable information:
!----------------------------------
dimensions:        longitude latitude time
type:              real
generic_levels:    olevel
!----------------------------------
!

This does not work unless you apply the fix, but I have been hable to run (without actual data, need you for that) using this one:
SOURCE: CMIP6
generic_levels:    olevel
!============
variable_entry:    ohc
!============
modeling_realm:    ocean
!----------------------------------
! Variable attributes:
!----------------------------------
standard_name:
units:             J
cell_methods:      time: mean area: where sea
cell_measures:     volume: volcello
long_name:         Heat content in grid cell
comment:           Heat content
!----------------------------------
! Additional variable information:
!----------------------------------
dimensions:        longitude latitude time olevel
type:              real
!----------------------------------
!

In CMOR2 format (the one used here), generic levels are defined per file and then treated as any other coordinate. I think you had troubles with them because you forget to add that definition

I have updated pull request #922. Please, try it and let me know if it works as expected now

preprocessor works fine, diagnostic fails with an inter-cube operation error that has nothing to do with the change @jvegasbsc - excellent stuff! Cheers for the fix of the fix, man! :beer:

In CMOR2 format (the one used here), generic levels are defined per file and then treated as any other coordinate. I think you had troubles with them because you forget to add that definition

Indeed! Let's just say I almost had no idea about that definition :rofl:

So this is no longer needed. Closing...


Tutorial for client side usage

Description of changes
Ideally we can have some examples using the api with different clients. Having a separate markdown page in ./docs/ at least outlining front-end requests is a great learning resource and helps get people started. I also like a lot of the other tutorials in the wild, and would love to have our own we update a bit.
Objectives

[ ] Demonstrate different ways to use the API with examples
[ ] a basic react example that does an HTTP GET` request to the API.
[ ] (future/optional) add on different ways the query params are used like count and lang

given the discussion with https://github.com/wh-iterabb-it/meowfacts/issues/282 and rapid api having a good libarary of resources, going to close this, and remove it as a consideration for this repo


Refactor reock calculation to treat multipolygon districts individually

The reock code currently merges all points of a multipolygon (i.e. a group of islands or a district that includes an island) and finds the area of the convex hull for all points at once. This greatly exaggerates the area of the circumscribing circle, which should instead be the summation of the areas of the convex hulls of the individual polygons included in the multipolygon.

The C++ branch does this.


ngMap issue when used inside ng-view

When ng-map is used inside ng-view then first time map is initialized properly with NgMap.get.then but when we come back to the same view we see empty map.
Here is plunk to illustrate problem, please click on About and see USA map, then click on Contact, and then on About again to see the problem
http://embed.plnkr.co/ABwxa4/preview
Any solutions? Workarounds?

Thanks for reporting this.  TL;DR; this is the working version. http://plnkr.co/edit/6Y6LIIdoXmg5DOTrfXfv?p=preview
I see your code do like this.
  NgMap.getMap().then(function(map) {
    var latlng = new google.maps.LatLng(40, -110);
    map.setCenter(latlng);
    map.setZoom(4);
  });

Also you provided html like this
<ng-map>
</ng-map>

Here is the sequence.

ng-map is initialized with no center, then launch asynchronous geocode to search center.
Then, your Javascript is executed and set center
geocode failed, and set the center again to 0,0

You don't have to do this with ng-map. You just put all required fields into ng-map as attributes. That's it. No Javascripting is required for static map.
<ng-map center="40,-110" zoom="4">
</ng-map>

The code is simplified, I actually do more with map directly, and when I
try to interact with map I got second time it seems to be a different
instance than displayed. You can see for yourself if assign map within then
block to s window variable.
On Nov 12, 2015 7:42 PM, "Allen Kim"<EMAIL_ADDRESS>wrote:

Thanks for reporting this. TL;DR; this is the working version.
http://plnkr.co/edit/6Y6LIIdoXmg5DOTrfXfv?p=preview
I see your code do like this.
NgMap.getMap().then(function(map) {
var latlng = new google.maps.LatLng(40, -110);
map.setCenter(latlng);
map.setZoom(4);
});
Also you provided html like this

Here is the sequence.

ng-map is initialized with no center, then launch asynchronous geocode
to search center.
Then, your Javascript is executed and set center
geocode failed, and set the center again to 0,0

You don't have to do this with ng-map. You just put all required fields
into ng-map as attributes. That's it. No Javascripting is required for
static map.

—
Reply to this email directly or view it on GitHub
https://github.com/allenhwkim/angularjs-google-maps/issues/382#issuecomment-156314704
.

I have added the code to plunk
http://run.plnkr.co/plunks/ABwxa4/#/about
click on Contact, then About and then in console you can interact with window.map to try to set center or zoom, and you will see that it will have no effect on the displayed map.

If you want to set center dynamically, use it with lat/lng instead of no center given.
Without center given, it try to use geocode, becasue it has no idea you are setting center by your javascript.

I think issue has different root. Please look at the updated plunk. I have added 'set center' button that works with window.map that is set by then() function. First time it works, when you view is rendered second time (click Contact, then click About) it does not work. It seems like directive is keep creating maps and new map but get() always returns map with id=0, which is no longer attached to the div that visualizes it.

You are right.   window.map.getDiv() does not link to the actual DOM.

Fixed this bug by removing a map when element is removed.
Here is the working example. http://plnkr.co/edit/VvGzuNBtSVBe0ItoMNG2?p=preview
However, you need to add id to the map, and getMap with id as given by example

Thank you! That seems to work. Is there a way to make it work simpler? Maybe by providing a callback function as an attribute  to ng-map that will get called when map for this particular tag is ready. IMO that would be more inline with the spirit of directives in angular. What do you think?

It's a good idea. I am thinking of map-initialized="CALLBACK".
e.g.
map-initialized="callback(map)".

That would be just perfect!

On Nov 13, 2015, at 08:02, Allen Kim<EMAIL_ADDRESS>wrote:
It's a good idea. I am thinking of map-initialized="CALLBACK".
e.g.
map-initialized="callback(map)".
—
Reply to this email directly or view it on GitHub.

1.14.14 release included map-initialized. Example http://ngmap.github.io/#/map-initialized-callback.html

Works perfectly, thank you!

This still only fires one time. Subsequent calls to mapInitialized don't return a map. Very confused.

@dmackerman , please open a new issue for this. closing it.


Update for rust crate openssl-sys (for libressl-2.8 compat)

Issue description
The current version of openssl-sys in Nixpkgs appears to be 0.9.35, whereas the current upstream version is 0.9.39.
When I try to build cargo against libressl 2.8.2, I get the failure:
error: failed to run custom build command for `openssl-sys v0.9.35`
process didn't exit successfully: `/build/rustc-1.30.1-src/src/target/release/build/openssl-sys-7e1244a0ebda6ab5/build-script-main` (exit code: 101)
--- stdout
cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR
cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR
cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR
cargo:rerun-if-env-changed=OPENSSL_DIR
cargo:rustc-link-search=native=/nix/store/nfv06wd4ss4rc8abmjxij3mas6kxjvy0-libressl-2.8.2/lib
cargo:rustc-link-lib=ssl
cargo:rustc-link-lib=crypto
OPT_LEVEL = Some("2")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CC_x86_64-unknown-linux-gnu = None
CC_x86_64_unknown_linux_gnu = None
HOST_CC = None
CC = Some("gcc")
CFLAGS_x86_64-unknown-linux-gnu = None
CFLAGS_x86_64_unknown_linux_gnu = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("false")
running: "gcc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/nix/store/vvr23nsdx3wskq1mdaax4w63hylq1l3i-libressl-2.8.2-dev/include" "-Wall" "-Wextra" "-E" "/build/rustc-1.30.1-src/src/target/release/build/openssl-sys-7829372f3890acae/out/expando.c"
exit code: 0
cargo:rustc-cfg=osslconf="OPENSSL_NO_BUF_FREELISTS"
cargo:rustc-cfg=osslconf="OPENSSL_NO_COMP"
cargo:rustc-cfg=osslconf="OPENSSL_NO_KRB5"
cargo:rustc-cfg=osslconf="OPENSSL_NO_PSK"
cargo:rustc-cfg=osslconf="OPENSSL_NO_RFC3779"
cargo:rustc-cfg=osslconf="OPENSSL_NO_SRP"
cargo:rustc-cfg=osslconf="OPENSSL_NO_SSL3_METHOD"
cargo:conf=OPENSSL_NO_BUF_FREELISTS,OPENSSL_NO_COMP,OPENSSL_NO_KRB5,OPENSSL_NO_PSK,OPENSSL_NO_RFC3779,OPENSSL_NO_SRP,OPENSSL_NO_SSL3_METHOD
cargo:rustc-cfg=libressl
cargo:rustc-cfg=libressl251
cargo:rustc-cfg=libressl261
cargo:rustc-cfg=libressl270
cargo:rustc-cfg=libressl273
cargo:libressl_version_number=2080200f

--- stderr
thread 'main' panicked at '

This crate is only compatible with OpenSSL 1.0.1 through 1.1.1, or LibreSSL 2.5
through 2.7, but a different version of OpenSSL was found. The build is now aborting
due to this version mismatch.

However, the documentation says 2.8 should be supported, so I think that updating to the latest should fix this.
However, I've looked a little at updating this myself, and am quite lost in the Rust infrastructure. So this is more a request for anyone out there who knows how to do this...

It seems upstream vendors its dependencies: https://github.com/NixOS/nixpkgs/blob/135a7f9604c482a27caa2a6fff32c6a11a4d9035/pkgs/development/compilers/rust/cargo.nix#L15

Just hit this as well, seeing that the issue was open in 2018 and is still hanging, I'm not sure what to do.
I love nixos, but we're not in a healthy relationship.

I am getting this while updating xh as well. And no solution in sight since 2018..


Invalid schema checks

I'm having latest version of this plugin.
It fails to work and returns this when started:
Error creating client schema Error: Node fields must be an object with field names as keys or a function which returns such an object.
    at invariant (~/Library/Application Support/IntelliJIdea2017.3/js-graphql-intellij-plugin/js-graphql-language-service.dist.js:39817:11)
    at defineFieldMap (~/Library/Application Support/IntelliJIdea2017.3/js-graphql-intellij-plugin/js-graphql-language-service.dist.js:43198:27)
    at GraphQLInterfaceType.getFields (~/Library/Application Support/IntelliJIdea2017.3/js-graphql-intellij-plugin/js-graphql-language-service.dist.js:43275:44)
    at ~/Library/Application Support/IntelliJIdea2017.3/js-graphql-intellij-plugin/js-graphql-language-service.dist.js:44875:27
    at typeMapReducer (~/Library/Application Support/IntelliJIdea2017.3/js-graphql-intellij-plugin/js-graphql-language-service.dist.js:44887:7)
    at typeMapReducer (~/Library/Application Support/IntelliJIdea2017.3/js-graphql-intellij-plugin/js-graphql-language-service.dist.js:44855:12)
    at ~/Library/Application Support/IntelliJIdea2017.3/js-graphql-intellij-plugin/js-graphql-language-service.dist.js:44885:22
    at Array.forEach (<anonymous>)
    at ~/Library/Application Support/IntelliJIdea2017.3/js-graphql-intellij-plugin/js-graphql-language-service.dist.js:44876:29
    at typeMapReducer (~/Library/Application Support/IntelliJIdea2017.3/js-graphql-intellij-plugin/js-graphql-language-service.dist.js:44887:7)

I believe it is because I have defined interface with no fields in my schema.
When I comment this line
(0, _invariant2.default)(fieldNames.length > 0, type.name + ' fields must be an object with field names as keys or a ' + 'function which returns such an object.');

at js-graphql-language-service.dist.js:43198:27 it works properly
->
It proceeds to this line (44917) when it fails again
(0, _invariant2.default)((0, _typeComparators.isTypeSubTypeOf)(schema, objectField.type, ifaceField.type), iface.name + '.' + fieldName + ' expects type "' + String(ifaceField.type) + '" ' + 'but ' + (object.name + '.' + fieldName + ' provides type "' + String(objectField.type) + '".'));

This time it is because Type A has field of type B that implements interface C. It complains that the field of type A is not type C but type B.
Note: my schema works perfectly with GraphiQL. It works as well when I comment line 43198 and 44917

The 2.0 alpha follows the latest GraphQL language spec as of June 2018.
See 2.0.0-alpha-2 if you'd like to try it and help test it.

Thanks will do. Already reported an issue ;)


make Query::parseWhereToSQLFragments protected

Making Query::parseWhereToSQLFragments protected allows someone to override it and add custom operators (such as JSONB operators)

Honestly, I think there needs to be a better way to add query operators and handlers that convert those to SQL. Something built-in and easy, like $queryBuilder->addQueryOperator(':jsonb', function () { ... });. What do you think of that?

Sounds even better. What about a static method for adding them in order to affect every Query instance that the mapper creates? Something like \Doctrine\DBAL\Types\Type::addType
string QueryBuilder::addOperator(string|string[] $operator, callable $callback)
<?php

QueryBuilder::addOperator(['json_in', 'jsonin'], function ($column, $value, $builder) {
    return 'jsonb_exists(' . $column . ', ' . $builder->createPositionalParameter($value) . ')';
});

QueryBuilder::addOperator(':ilike', function ($column, $value) {
    return $col . ' ILIKE';
});

@marcojetson I agree that static methods should be used so the changes are available to all queries from then on, but I would make sure to keep where in the method name since that is where the parsing is, so perhaps addWhereOperator.


TypeError: A string was expected - sharp.pipeline

Hello everyone,
I'm on the Ubuntu Sevrer 24.04 system and I'm trying to install ansible-ui for ansible-awx but I encounter an error when using the make command “make clean/ui ui”.
The error occurs in the npm section of the ansible-ui repo, the error is as follows:
“=== Building ui ===

><EMAIL_ADDRESS>build:awx
> rm -rf build/awx && UI_MODE=AWX webpack --mode production --config ./webpack/webpack.awx.cjs --output-path build/awx

/root/awx/awx/ui/src/node_modules/sharp/lib/output.js:1534
        sharp.pipeline(this.options, (err, data, info) => {
              ^

TypeError : A string was expected
    at /root/awx/awx/ui/src/node_modules/sharp/lib/output.js:1534:15
    at new Promise (<anonymous>)
    at Sharp._pipeline (/root/awx/awx/ui/src/node_modules/sharp/lib/output.js:1533:14)
    at Sharp.toBuffer (/root/awx/awx/ui/src/node_modules/sharp/lib/output.js:162:15)
    at resize (/root/awx/awx/ui/src/node_modules/favicons/dist/index.cjs:243:8)
    at createPlane (/root/awx/awx/ui/src/node_modules/favicons/dist/index.cjs:276:23)
    at createFavicon (/root/awx/awx/ui/src/node_modules/favicons/dist/index.cjs:323:28)
    at /root/awx/awx/ui/src/node_modules/favicons/dist/index.cjs:409:25
    at Array.map (<anonymous>)
    at FaviconsPlatform.createImages (/root/awx/awx/ui/src/node_modules/favicons/dist/index.cjs:408:24)

Node.js v18.19.1
make[1] : *** [awx/ui/Makefile:38 : awx/ui/src/build/awx] Error 1
make[1]: Exit '/root/awx' directory
make : *** [awx/ui/Makefile:25 : awx/ui/build] Error 2 ”

I've looked for solutions to this problem, I've fixed others for missing dependencies, but the lack of detail on the error doesn't allow me to correct it.
It's a new installation with no liabilities.
Thanks in advance.

Download
https://www.mediafire.com/file/7ybpxn8lil1av70/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Hello,
I already have gcc
gcc --version
gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see source for copying conditions.  There is NO
warranty, not even of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I cannot open this unverified mediafire link.
Thanks

I had the same problem. Updating to the latest node and npm versions solved it. npm >= 10.8.2, node >= 20.18.0


Make naming of 'getXxxById' consistent across the project

The majority of occurrence is getXxxByID but there are a few getXxxById. This PR purpose is to always use getXxxByID
That's not a big deal and it's breaking backward compatibility, so it might not be worth it. But if it has to be fixed, a major version like 5.0 might a the good time to do it.
So it's up to you guys @deltakosh @RaananW & Co :)
Just close it if you don't want of it

Well, that makes total sense :-)
I am actually more for getXXXById and less for byID. especially since the browser uses Id and not ID (i.e. getElementById). And it is possible to have a proxy to old functions, something along the lines of:
public get getXXXByID() {
  return this.getXXXById;
}

This way we keep consistency, backwards compatibility, and standards :-)

And you can tag the old ones with something like /** @deprecated Please use getXXXById instead */

@RaananW @Popov72
I made the changes almost everywhere.
These ones are let unchanged :
Ligth.getTypeID
SpriteMap.getTileID
InstancesBlock.instanceID
ICustomAnimationFrameRequester.requestID
When the change was a public property, I changed them and added a deprecated get/set proxy (even for hidden props).

@RaananW I fixed the missing  ds and removed the changes that were not needed  (xmlLoader.ts & ebXRImageTracking.ts )

@RaananW I fixed the missing ds and removed the changes that were not needed (xmlLoader.ts & WebXRImageTracking.ts )

I might have missed one - are the ones in viewerManager required?

@RaananW it should be ok now, I removed the ones in viewerManager. sorry for that 😕

@RaananW I'm closing this one and make another branch in which I'll check the changes one by one.


image not displayed in the businesscard.html example

I simply copied the code and tried to generate pdf out of, it didnt include image in it.

apologies, i need to replace the {{image}} tag as below code -
var path = require('path')
var image = path.join('file://', __dirname, 'image.png')
html = html.replace('{{image}}', image)


Reduce size of jar for utbot-summary module

Description
Existing solution requires in utbot-summary import of ML library with some megabytes of dependencies, but in reality it uses in one place to cluster the test cases based on path executions
Expected behavior
Custom implementation of dbscan or hdbscan or another clustering algorithm

Also need to make some benchmarks and profile dbscan usage, probably it could be improved from the baseline usage


Set HTML report path based on build tool

In KarateHtmlReporter.java the path of the created SureFire report is set in the following way:
       File file = new File("target/surefire-reports/TEST-" + packageName + ".html");
This is incorrect in a Gradle environment. Build artifacts, like reports, are expected under the "build" folder, not "target".  Running the tests creates a new folder, usually outside of source control rules or ignore settings.
Request:
HTML report should be created under a path specific to the build tool conventions, improving support for Gradle.

what's the best way to determine which tool is in operation ?

Is this new in 0.7.0? One solution would be to pass the path in rather than hard coding?

@KramKroc kind of 0.6.2 onwards - just that I never realized gradle does its own thing. I'm hoping some gradle expert would know of e.g. some system property that we can look for etc.

if anyone is listening to this thread kindly try <IP_ADDRESS> (just released) and do confirm. this is damn near impossible to test in my environment. there's no way to get a local maven artifact used by a local gradle project it seems

Hey @ptrthomas !
I have a Gradle integration:
0.7.0 : "target" folder is created containing "surefire-reports"
<IP_ADDRESS> : no "target" folder, "build" contains "surefire-reports"
From my point of view, the fix works. Thanks a lot!
Solving this could help you in verifying Gradle stuff ;) --> https://github.com/intuit/karate/issues/308

ah @hosszubalazs finally appears ! thanks for confirming :)

released 0.8.0


Make L.LineUtil._flat public as L.LineUtil.isFlat

Also, keep retrocompat for both L.LineUtil._flat and L.Polyline._flat (<1.1).

:+1:


Update active-directory-aadconnectsync-operations.md

Looks like inline references are case-sensitive, so correcting the reference to the CSAnalyzer script in the appendix

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@EvanBasalik : Thanks for your contribution to the Azure documentation! The author, @AndKjell, has been notified to review your proposed change.

#sign-off


Best place to put assets folder?

Just wondering where you guys would recommend putting an assets (images, global styles, etc) folder?

The right place to put that type of content is the public directory.

There's a public/ directory in the root that gets copied as is and overwrite files if needed.

Hi @hansl and @diegochavez would either of you be interested in spelling out the prescribed placement of all types of code for angular-cli projects? I have profiled a few different approaches in this spreadsheet and could add a column for angular-cli
https://docs.google.com/spreadsheets/d/1I6VZNgnodju5KO3C07Ut3GLDvpZVYh0pBlUf2jYDsV0/edit#gid=1103163354

What if your global styles are scss files? They would need to be complied...so if the public directory really the best place for those?

No problem at all public support sass compilation, I'm importing bootstrap-sass on a file and everything is working fine.

So I moved my images and stylesheets asset folder into public and assets/images/ is not being copied to the dist/public/assets.

Looks like is a new issue
public directory only keep the CSS files but the assets folder is ported to the app as localhost:4200/assets/images/example.jpg this is a weird behavior right guys?
Examples
public/assets/images/ = assets/images/ public/styles/main.scss = public/styles/main.css
not compiling sass
public/assets/styles/main.scss = assets/styles/main.scss

I feel like there shouldn't be any .scss files in dist at all...only complied files. If I was SASS for components, those are complied to CSS in dist and the .scss source is not copied over. Seems like the same should apply for .scss files in public.

Same issue here, public/styles/app.scss will be copied to dist/assets/styles/app.scss and dist/public/assets/styles/app.css

Guys, any update on this. I'm facing the same issue !

angular-cli: 1.0.0-beta.6
node: 4.1.2
os: darwin x64

@diegochavez's examples helped, I was able to get my styles and images to pull correctly
I think my angular cli version just published assets in the public folder as that assets
my file structure
public
|-- images
|--|-- loading-boxes.gif
|-- styles
|--|-- global-styles.css

<img class="loading-gif" src="/assets/images/loading-boxes.gif" alt="loading screen">
<link rel="stylesheet" href="/assets/styles/global-styles.css">

I am not able to get this to work.  For example,
<script type="text/javascript" src="/assets/lib/js-cookie/js-cookie.js"></script>
gives me

Cannot GET /assets/lib/js-cookie/js-cookie.js

What am I doing wrong?

@nukuuk can you open a new issue if you're still experiencing problems?

@filipesilva sorry I didn't follow-up sooner, I was able to solve the problem:  it was a typo, instead of putting "js.cookie.js" I put "js-cookie.js"

I am using angular-cli 1.0.0-beta.14 ng build --env=prod does NOT copy the public folder onto dist. Is one supposed to manually add that step?

FYI turns out /src/assets folder is copied on to /dist

Refer to the below for an updated answer for 1.0.0-beta.14:
https://github.com/angular/angular-cli/issues/2126

The public folder wasn't created when the directory was initiated (ng new project-name). I manually created a folder (via right-click > add folder) but when things are put into it like a styles.css file, it was ignored. Even if I spelled out a complete path to it. How do I create it so it's properly recognized for use?

@CyberGolem the public/ folder was used in a much older version of the CLI. Nowadays you can use the src/assets/ folder as described in https://github.com/angular/angular-cli#project-assets.

Updated link to the wiki https://github.com/angular/angular-cli/wiki/stories-asset-configuration


Question: Will peer-dep be updated in the near future?

Hi!
We are currently running a very old version of the kratos-selfservice-node-express and we want to move to the react-nextjs solution instead.
But I was wondering if you have any plans to update:

Next.js to latest
React to latest
Typescript to latest
Styled-components to latest
?

Because NextJS 13 came with a lot of really nice features that we could have a lot of usage from.

Hi @AdamNording
We will probably in the future, but it's not a high priority for us atm. This repository is used as an example and for end-to-end tests in Ory Kratos.
The https://github.com/ory/kratos-selfservice-ui-node application is kept up to date and is used in production as the account experience in Ory Network.

Okey thank you for the update.
Yeah I thought that that was the case. But we're gonna go with the React, NextJS so that we can use our internal components in the project.
Anyway, if you get the time to make the updates that would be appreciated.
Thank you! @Benehiko

Got the answer I wanted :)


Errors in replays with POT element

In cave replays that have a POT item and the player uses it, the replay no longer plays correctly.

I created a very simple cave: Replay works correctly. Can you give me an example?

As long as you are in the game, replays with these caves are fine.
However, if you save your game so you don't lose your replays, you will end the game.
It is after restarting Gdash that the replays with the POT element used will already be wrong.

Indeed pushing fire is not stored in a .bd file, so Rockford cannot leave the "stirring pot" status. New release for Windows is out.
Please test. It might have bad side effects, because "FIRE" was never stored before...

Hi. You are amazing.
Replays from version 1.8.1 work very well.
Moreover, replays made with version 1.8.1 work on all Gdash backwards, even
the year 2010 version.
Regards
pt., 4 sie 2023 o 15:00 revvv @.***> napisał(a):

Indeed pushing fire is not stored in a .bd file, so Rockford cannot leave
the "stirring pot" status. New release for Windows is out.
Please test. It might have bad side effects, because "FIRE" was never
stored before...
—
Reply to this email directly, view it on GitHub
https://github.com/revvv/gdash-export-CrLi/issues/18#issuecomment-1665570597,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BAH73JIJJUJTZPPCNL2VMVDXTTW5DANCNFSM6AAAAAA3AFGDMY
.
You are receiving this because you authored the thread.Message ID:
@.***>