Response success/failure is not tracked properly

HTTParty will return nil if you use try: https://www.reddit.com/r/ruby/comments/33dlah/quick_question_about_try_and_httparty/
The following call will always warn a failure (if logging is turned on).
response = Client.new.track(event)
if response.try(:success?)
  log("Tracked event! #{response.response.inspect}")
else
  warn("Track failure! #{response.response.inspect} #{response.body}")
end

https://github.com/thisdata/thisdata-ruby/blob/master/lib/this_data.rb#L77

Fixed in master, will push a new version after fixing a few more issues


Feature Suggestion: Mini-map per parking structure

Minimap:
For each parking structure, display a google map zoomed in on the parking structure on the far right side of the line chart. It's not blueprints or anything about the parking structure, it just tells us where it is.

What problem this solves:

Helps us remember which building is which parking structure.
Helps us quickly find the graph we're looking for (the PS1 and PS2 are a bit small atm). Might be easier to find the chart we're looking for by it's shape on the map, rather than PS1, or PS2.

Specification:

The minimaps should not be interactive or zoom. It can even be just a cropped image of a map, as long as it tells us roughly what that is.
Can be styled however. I used this sometimes, or mapbox stuff.
The way I laid it out in the diagram above, you might have room to display extra meta-data or future features below the map.

So maybe something like this?

The style for it is this:
https://snazzymaps.com/style/27760/urban-study

At the current layout of the main page, I don't see any feasible way to put the images into each garage section without substantially squishing the tables and charts (especially on smaller width devices).
It may be possible on wider displays, but it would look awkward on most devices.
Additionally, the main page's focus should solely be on quickly providing the data - adding the images would shift the focus.

I see. I had not considered smaller/mobile displays in my suggestion. I was hoping that thered be an easy way to remind people which parking structure which and ,at a quick glance, determine which parking lot each graph belongs to. I guess it wouldn't be too much of a stretch to assume that users know the basics about what the parking structures are before looking for data on it.


Content update: Receiving data [First draft]

User story
As a ReportStream prospective/current user, I want the website content to be up-to-date, accurate and timely so I can  trust the information to inform my decisions in my relationship with ReportStream.
Background & context
After completing basic outlines for key pages and IDing the new site structure, we need to create the actual content that will go in the wireframes.
Open questions
N/A
Working links

TK: Draft link

Acceptance criteria

[ ] Drafted and reviewed with content owner and/or SME
[ ] Final draft presented to designer for next steps
[ ] Capture questions that come up during the content and design work in the Website redesign research plan

This is technically duplicate with the previous one about this content. Which one do you want to keep?

oh good catch @audreykwr let's keep this one and close the old one if that's okay?

That works. @chris-kuryak FYI - can you close 10025 since this will replace it?


Implement Elements tab

Implement Elements tab to support DOM / view hierarchy inspection

Yes, please!

We're working on it: https://github.com/rickbrew/stetho/commit/b87a818d6e3b6bf1e68e0e4c8aa5e76b6eabb53e :)

is this merged in already?

Woops, nope it's still over in the elements branch.

@felipecsl soon..... :)

cant wait :watch:  :)


added my name  to Contributors

removed https://github.com/BunditSpace as i found duplicate

Great :)


Returning html?

when use:
import RNPublicIp               from "react-native-public-ip";
await RNPublicIp()

the return is:
<!DOCTYPE html>	<html>	  <head>		<meta name="viewport" content="width=device-width, initial-scale=1">		<meta charset="utf-8">		<title>Application Error</title>		<style media="screen">		  html,body,iframe {			margin: 0;			padding: 0;		  }		  html,body {			height: 100%;			overflow: hidden;		  }		  iframe {			width: 100%;			height: 100%;			border: 0;		  }		</style>	  </head>	  <body>		<iframe src="//www.herokucdn.com/error-pages/application-error.html"></iframe>	  </body>	</html>
version: ^1.0.2

Looks like the ipify service might have been down. This library is just a basic wrapper around their API. Are you still seeing that error now?

sometimes works sometimes no

Unfortunately it seems like it might be an issue with the ipify API and not this library.

Thanks man, maybe is caused by coronavirus...


Turtlebot3: Open Manipulator Bringup Fails: DynamixelSDKWrapper: No status packet! Proces died: stack smashing detected.

Turtlebot3: Open Manipulator: bringup fails: ERROR from Dynamixels SDKWrapper : No status packet found + proces dies: stack smashing detected.

Ros 2 Humble
Raspberry Pi 4
Ubuntu 22.04
OPEN CR 1.0
Servo's: xm430-w350-t

Hello, me and my student group from UPV Valencia are following the ROBOTIS E-Manuel for the Turtlebot3: Open Manipualtor. We are following the steps issued for Foxy because Humble is not available.
https://emanual.robotis.com/docs/en/platform/turtlebot3/manipulation/#turtlebot3-with-openmanipulator
We are currently stuck at step 7.5 (Bringup).
We took these premature steps:
SOFTWARE SETUP: (humble instead of foxy installed)
$ sudo apt install ros-humble-dynamixel-sdk ros-humble-ros2-control ros-humble-ros2-controllers ros-humble-gripper-controllers ros-humble-moveit
$ cd ~/turtlebot3_ws/src/
$ git clone -b humble-devel https://github.com/ROBOTIS-GIT/turtlebot3_manipulation.git
$ cd ~/turtlebot3_ws && colcon build --symlink-install
OPEN CR FIRMWARE SETUP
$ export OPENCR_PORT=/dev/ttyACM0
$ export OPENCR_MODEL=turtlebot3_manipulation
$ rm -rf ./opencr_update.tar.bz2
$ wget https://github.com/ROBOTIS-GIT/OpenCR-Binaries/raw/master/turtlebot3/ROS2/latest/opencr_update.tar.bz2
$ tar -xvf opencr_update.tar.bz2
$ cd ./opencr_update
$ ./update.sh $OPENCR_PORT $OPENCR_MODEL.opencr
Then when we try to launch the hardware bringup:
$ ros2 launch turtlebot3_manipulation_bringup hardware.launch.py
We get multiple errors stating:
[ros2-control-node-1]  [ERROR] [DynamixelSDKWrapper] [TxRxResult] There is no status packet!
Later the proces dies stating:
stack smashing detected
I will upload screenshots taken stating the full output code:

We as a group think it has to do with an incompatible firmware version on our OPEN CR board. Can anyone please help us resolve this issue or give an indication what the problem might be? Thanks!

Exactly same issue (ubuntu 20, ros2 foxy, waffle pi with manipulator ):
ubuntu@wafflepi:~$ ros2 launch turtlebot3_manipulation_bringup hardware.launch.py [INFO] [launch]: All log files can be found below /home/ubuntu/.ros/log/2023-06-02-12-00-40-146522-wafflepi-3470 [INFO] [launch]: Default logging verbosity is set to INFO [INFO] [robot_state_publisher-1]: process started with pid [3474] [INFO] [ros2_control_node-2]: process started with pid [3476] [INFO] [spawner.py-3]: process started with pid [3478] [INFO] [spawner.py-4]: process started with pid [3480] [INFO] [spawner.py-5]: process started with pid [3482] [INFO] [spawner.py-6]: process started with pid [3485] [INFO] [spawner.py-7]: process started with pid [3495] [INFO] [ld08_driver-8]: process started with pid [3498] [robot_state_publisher-1] Parsing robot urdf xml string. [robot_state_publisher-1] Link base_link had 8 children [robot_state_publisher-1] Link link1 had 1 children [robot_state_publisher-1] Link link2 had 1 children [robot_state_publisher-1] Link link3 had 1 children [robot_state_publisher-1] Link link4 had 1 children [robot_state_publisher-1] Link link5 had 3 children [robot_state_publisher-1] Link end_effector_link had 0 children [robot_state_publisher-1] Link gripper_left_link had 0 children [robot_state_publisher-1] Link gripper_right_link had 0 children [robot_state_publisher-1] Link camera_link had 1 children [robot_state_publisher-1] Link camera_rgb_frame had 1 children [robot_state_publisher-1] Link camera_rgb_optical_frame had 0 children [robot_state_publisher-1] Link caster_back_left_link had 0 children [robot_state_publisher-1] Link caster_back_right_link had 0 children [robot_state_publisher-1] Link imu_link had 0 children [robot_state_publisher-1] Link base_scan had 0 children [robot_state_publisher-1] Link wheel_left_link had 0 children [robot_state_publisher-1] Link wheel_right_link had 0 children [robot_state_publisher-1] [INFO] [1685707242.042635204] [robot_state_publisher]: got segment base_footprint [robot_state_publisher-1] [INFO] [1685707242.045494339] [robot_state_publisher]: got segment base_link [robot_state_publisher-1] [INFO] [1685707242.045625744] [robot_state_publisher]: got segment base_scan [robot_state_publisher-1] [INFO] [1685707242.045670947] [robot_state_publisher]: got segment camera_link [robot_state_publisher-1] [INFO] [1685707242.045708965] [robot_state_publisher]: got segment camera_rgb_frame [robot_state_publisher-1] [INFO] [1685707242.045741520] [robot_state_publisher]: got segment camera_rgb_optical_frame [robot_state_publisher-1] [INFO] [1685707242.045771779] [robot_state_publisher]: got segment caster_back_left_link [robot_state_publisher-1] [INFO] [1685707242.045803167] [robot_state_publisher]: got segment caster_back_right_link [robot_state_publisher-1] [INFO] [1685707242.045833463] [robot_state_publisher]: got segment end_effector_link [robot_state_publisher-1] [INFO] [1685707242.045862796] [robot_state_publisher]: got segment gripper_left_link [robot_state_publisher-1] [INFO] [1685707242.045893091] [robot_state_publisher]: got segment gripper_right_link [robot_state_publisher-1] [INFO] [1685707242.045922832] [robot_state_publisher]: got segment imu_link [robot_state_publisher-1] [INFO] [1685707242.045951683] [robot_state_publisher]: got segment link1 [robot_state_publisher-1] [INFO] [1685707242.045986590] [robot_state_publisher]: got segment link2 [robot_state_publisher-1] [INFO] [1685707242.046017830] [robot_state_publisher]: got segment link3 [robot_state_publisher-1] [INFO] [1685707242.046046607] [robot_state_publisher]: got segment link4 [robot_state_publisher-1] [INFO] [1685707242.046076996] [robot_state_publisher]: got segment link5 [robot_state_publisher-1] [INFO] [1685707242.046105643] [robot_state_publisher]: got segment wheel_left_link [robot_state_publisher-1] [INFO] [1685707242.046136087] [robot_state_publisher]: got segment wheel_right_link [ros2_control_node-2] [INFO] [1685707242.248574918] [turtlebot3_manipulation]: Succeeded to open port [ros2_control_node-2] [INFO] [1685707242.256281506] [turtlebot3_manipulation]: Succeeded to set baudrate [ros2_control_node-2] [INFO] [1685707242.260948239] [turtlebot3_manipulation]: OpenCR Model Number 20480 [ros2_control_node-2] [ERROR] [DynamixelSDKWrapper] [TxRxResult] There is no status packet! [ros2_control_node-2] [INFO] [1685707242.295394063] [turtlebot3_manipulation]: Connected manipulator [ros2_control_node-2] [INFO] [1685707242.296914906] [turtlebot3_manipulation]: Connected wheels [ros2_control_node-2] [INFO] [1685707242.297786373] [turtlebot3_manipulation]: Ready for start [ros2_control_node-2] [INFO] [1685707242.331958701] [turtlebot3_manipulation]: Wait for IMU re-calibration [ros2_control_node-2] [ERROR] [DynamixelSDKWrapper] [TxRxResult] There is no status packet! [ld08_driver-8] /dev/ttyUSB0    CP2102 USB to UART Bridge Controller [ld08_driver-8] /dev/ttyACM0    OpenCR Virtual ComPort in FS Mode [ld08_driver-8] FOUND LDS-02 [ld08_driver-8] LDS-02 started successfully [spawner.py-3] [INFO] [1685707243.541086839] [spawner_joint_state_broadcaster]: Waiting for /controller_manager services [spawner.py-7] [INFO] [1685707244.079948936] [spawner_gripper_controller]: Waiting for /controller_manager services [ros2_control_node-2] [INFO] [1685707245.366706458] [turtlebot3_manipulation]: Joints and wheels torque ON [ros2_control_node-2] [ERROR] [DynamixelSDKWrapper] [TxRxResult] There is no status packet! [ros2_control_node-2] [INFO] [1685707245.418298778] [turtlebot3_manipulation]: Set profile acceleration and velocity to joints [ros2_control_node-2] [ERROR] [DynamixelSDKWrapper] [TxRxResult] There is no status packet! [ros2_control_node-2] [ERROR] [DynamixelSDKWrapper] [TxRxResult] There is no status packet! [ros2_control_node-2] [INFO] [1685707245.489296815] [turtlebot3_manipulation]: Set profile acceleration and velocity to gripper [ros2_control_node-2] [ERROR] [DynamixelSDKWrapper] [TxRxResult] There is no status packet! [ros2_control_node-2] [ERROR] [DynamixelSDKWrapper] [TxRxResult] There is no status packet! [ros2_control_node-2] [INFO] [1685707245.560288777] [turtlebot3_manipulation]: Set goal current value to gripper [ros2_control_node-2] [ERROR] [DynamixelSDKWrapper] [TxRxResult] There is no status packet! [ros2_control_node-2] [INFO] [1685707245.596314110] [turtlebot3_manipulation]: System starting [ros2_control_node-2] [ERROR] [DynamixelSDKWrapper] [TxRxResult] There is no status packet! [ros2_control_node-2] [INFO] [1685707245.677342546] [controller_manager]: update rate is 100 Hz [ros2_control_node-2] [INFO] [1685707245.686191280] [controller_manager]: Loading controller 'arm_controller' [ros2_control_node-2] [INFO] [1685707245.687851547] [turtlebot3_manipulation]: Start to read wheels and manipulator states [ros2_control_node-2] [INFO] [1685707245.707218986] [turtlebot3_manipulation]: Start to write wheels and manipulator commands [ros2_control_node-2] [ERROR] [DynamixelSDKWrapper] [TxRxResult] There is no status packet! [ros2_control_node-2] [ERROR] [1685707245.774622586] [turtlebot3_manipulation]: Can't control wheels [ros2_control_node-2] [ERROR] [DynamixelSDKWrapper] [TxRxResult] There is no status packet! [ros2_control_node-2] [ERROR] [DynamixelSDKWrapper] [TxRxResult] There is no status packet! [ros2_control_node-2] [INFO] [1685707245.863331090] [controller_manager]: Loading controller 'gripper_controller' [ros2_control_node-2] *** stack smashing detected ***: terminated [spawner.py-6] [INFO] [1685707245.935698918] [spawner_arm_controller]: Loaded arm_controller [ERROR] [ros2_control_node-2]: process has died [pid 3476, exit code -6, cmd '/opt/ros/foxy/lib/controller_manager/ros2_control_node --ros-args --params-file /tmp/launch_params_31e0hl2w --params-file /home/ubuntu/turtlebot3_ws/install/turtlebot3_manipulation_bringup/share/turtlebot3_manipulation_bringup/config/hardware_controller_manager.yaml -r ~/cmd_vel_unstamped:=cmd_vel'].

Sorry for the late response. Please refer to this issue to help resolve your problem https://github.com/ROBOTIS-GIT/turtlebot3_manipulation/issues/71


Build breaks with AGP 3.6-beta01

Expected behavior
Build finishes
Observed behavior
Build halts with error
Steps to reproduce
Update Android Gradle Plugin to latest 3.6 beta
Version
4.7.0
Additional information
output:
./gradlew :sonya:processBugsnagDev-debugManifest                                                                                /c/Projects/sonya-android
> Task :sonya:processBugsnagDev-debugManifest FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sonya:processBugsnagDev-debugManifest'.
> Cannot cast object 'property(interface org.gradle.api.file.Directory, fixed(class org.gradle.api.internal.file.DefaultFilePropertyFactory$FixedDirectory, C:\Projects\sonya-android\sonya\build\intermediates\bundle_manifest\devDebug\bundle-manifest))' with class 'org.gradle.api.internal.file.DefaultFilePropertyFactory$DefaultDirectoryVar' to class 'java.io.File'

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Hi @mateherber
Thanks for the report. We're just looking into the cause.

Hi @mattdyoung
Thank you, probably relevant google tracker issue: https://issuetracker.google.com/issues/139371052
This looks like some breaking change in the AGP?

Same issue here - apparently Google changed ManifestProcessorTask from
public File getBundleManifestOutputDirectory()

to
public abstract DirectoryProperty getBundleManifestOutputDirectory()

and it's breaking https://github.com/bugsnag/bugsnag-android-gradle-plugin/blob/2f626c7c2b0e3fd69707a71e5cc51b13adb8470f/src/main/groovy/com/bugsnag/android/gradle/BugsnagPlugin.groovy#L295
Any timeline for a fix?

Fixed in v4.7.1


how to use without androidx?

I cannot use adapt. It's rise an error: setSliderAdapter (androidx.viewpaper.widget.PaperAdapter) in SliderView cannot be applied to ...

Unfortunately this library and many more libraries migrated to jetpack androidx components, you can refactor your project easily to androidx by using latest version of android studio... Search for how to refactor project to androidx

@smarteist okay, i migrated to androidx. Thanks so much for your support.

i get some errors when migrate to androidx. Some libs not work. You can checkout new branch without androidx?


enable netrc on non-darwin platforms

motivation:

netrc functionality is useful on all platforms
underlying functionality is avaialbe via https://github.com/apple/swift-tools-support-core/pull/210

changes:

remove platforms restructions where appropriate
add test fixute that actually exercises the netrc parsing logic
adjust tests to run on all platforms

related to apple/swift-tools-support-core#210

@swift-ci please smoke test


[json] include copies of the package.json, jsconfig.json, eslint.json schemas

For various JSON files VSCode uses SchemaStore to get information on what is allowed or not in these files. For example: package.json, tsconfig.json and eslint.json.
For these files VSCode grabs them from the schemastore website schemastore.org
However, in modern days websites could be offline which is what happened today as well (and I believe it happened more recently as well) as this issue shows: https://github.com/SchemaStore/schemastore/issues/3620
It would be nice if VSCode could cache these results (it would also save the website some bandwidth) and only update when things have changed, perhaps when nodejs packages have been updated or just weekly/montly instead of what it is now. The main issue right now is that it doesn't have a fallback and currently shows errors on every json file you open

We cache all schemas that we get from schemastore.org once we fetched them successfully the first time. The cache is updated every 2 days.
But yes, you suggest to keep copies of some of the 'important' ones. We also do that but only for the meta schemas.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

We cache all schemas that we get from schemastore.org once we fetched them successfully the first time. The cache is updated every 2 days.
But yes, you suggest to keep copies of some of the 'important' ones. We also do that but only for the meta schemas.

Perhaps another fix would be to not lose them when the new one can't be fetched? That way we dont need to define a master-list of jsons that need to be copied? There's more JSONs that gave the issue. For instance, I have multiple tsconfigs, theres the package-lock.json, i have various mock json files, some might still use tslint, etc.

Hi, I'm having the same issues, any update yet?

:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

I have encountered the collapse of https://json.schemastore.org/ many times
The following is a simple solution
// your vscode user settings.json

    "json.schemas": [
        {
            "fileMatch": ["**/package.json"],
            "url": "https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/package.json"
            // or<EMAIL_ADDRESS>        }
    ],

now hint is work but the warn is still visible


Support splitting of windows

This can now be done by moving windows, right?

This can be done by moving windows.


[Breaking] Remove skmaker.

It's not documented nor tested.  I ran some simple benchmarks on it using generated dataset, here is the result, in short, I don't think it works very well.
python benchmark.py --task='cls' --tree_method='sketch'

Parameters: {'nthread': 12, 'updater': 'grow_skmaker,prune'}
[18:38:03] WARNING:  xgboost/src/gbm/gbtree.cc:73: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using`tree_method` parameter instead.
[0]	Train-merror:0.74983
[1]	Train-merror:0.74983
[2]	Train-merror:0.74983
[3]	Train-merror:0.74983
[4]	Train-merror:0.74983
[5]	Train-merror:0.74983
[6]	Train-merror:0.74983
[7]	Train-merror:0.74983
[8]	Train-merror:0.74983
[9]	Train-merror:0.74983
{'Train': {'merror': [0.74983, 0.74983, 0.74983, 0.74983, 0.74983, 0.74983, 0.74983, 0.74983, 0.74983, 0.74983]}}

python benchmark.py --task='reg' --tree_method='sketch'

Parameters: {'nthread': 12, 'updater': 'grow_skmaker,prune'}
[18:36:33] WARNING: /home/jiaming/Workspace/XGBoost/xgboost/src/gbm/gbtree.cc:73: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using`tree_method` parameter instead.
[0]	Train-rmse:211.26756
[1]	Train-rmse:211.26737
[2]	Train-rmse:211.26733
[3]	Train-rmse:211.26730
[4]	Train-rmse:211.26724
[5]	Train-rmse:211.26724
[6]	Train-rmse:211.26727
[7]	Train-rmse:211.26724
[8]	Train-rmse:211.26718
[9]	Train-rmse:211.26718
{'Train': {'rmse': [211.267563, 211.267365, 211.267334, 211.267303, 211.267242, 211.267242, 211.267273, 211.267242, 211.267181, 211.267181]}}
Duration: 0.26515698432922363

The script to reproduce:
benchmark.zip

FYI @tqchen @RAMitchell @hcho3

For comparison:
 python benchmark.py --task='cls' --tree_method='hist'

Parameters: {'nthread': 12, 'tree_method': 'hist'}
[0]	Train-merror:0.17532
[1]	Train-merror:0.15658
[2]	Train-merror:0.14559
[3]	Train-merror:0.13862
[4]	Train-merror:0.13663
[5]	Train-merror:0.13198
[6]	Train-merror:0.12850
[7]	Train-merror:0.12449
[8]	Train-merror:0.12067
[9]	Train-merror:0.11796

Parameters: {'nthread': 12, 'tree_method': 'hist'}
[0]	Train-rmse:176.57086
[1]	Train-rmse:152.40141
[2]	Train-rmse:133.82716
[3]	Train-rmse:119.10458
[4]	Train-rmse:106.96934
[5]	Train-rmse:96.82559
[6]	Train-rmse:87.96497
[7]	Train-rmse:80.54381
[8]	Train-rmse:74.12754
[9]	Train-rmse:68.35196
{'Train': {'rmse': [176.570862, 152.401413, 133.827164, 119.104576, 106.969337, 96.825592, 87.964966, 80.543808, 74.127541, 68.351959]}}

Codecov Report

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

@@           Coverage Diff           @@
##           master    #5971   +/-   ##
=======================================
  Coverage   78.49%   78.49%
=======================================
  Files          12       12
  Lines        3013     3013
=======================================
  Hits         2365     2365
  Misses        648      648

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 71197d1...6f11fdb. Read the comment docs.

Merging as no objection is raised.


Question on the page "connectSearchBox"

Hi! I have a documentation issue on InstantSearch.js. I could not find what I was looking for on the page "connectSearchBox".
How can I just call refine? I don't need any of the other options

Do you want to set the query in a life cycle (with rendering of a search box), or do you want to statically set a query?

Closing for inactivity – feel free to reopen.


Contract violation error appear randomly

when i use racquel to handle data.  the same error appear randomly. it makes me confused.
get-field: contract violation
  expected: object?
  given: #f

  context...:
   do-raise-argument-error
   /Users/aruarian/workon/team.rkt:155:2: add-members
   /Users/aruarian/workon/dispatcher.rkt:97:0: case-handler
   .../private/arrow-higher-order.rkt:375:33
   loop
   [repeats 1 more time]
   call-in-empty-metacontinuation-frame
   .../private/arrow-higher-order.rkt:375:33
   loop
   call-in-empty-metacontinuation-frame
   [repeats 3 more times]
   .../dispatchers/dispatch-servlets.rkt:63:2
   call-in-empty-metacontinuation-frame
   .../private/more-scheme.rkt:168:6: loop
   [repeats 1 more time]
   .../private/dispatch-server-with-connect-unit.rkt:144:4: connection-loop

Can you provide a code example that produces this error? At first glance it appears you are trying to pass an invalid object to the function get-field.

thanks your response. this error is randomly appearing. this code.
(define get-node-item
  (lambda (node)
    (let*
      ([node-item (hash-ref (data-object->jsexpr node) 'nodes)]
      [type (get-column object-type node)]
      [obj-id (get-column object-id node)])
        (cond
          [(equal? type "task")
            (let
              ([task-item
                (hash-ref
                  (data-object->jsexpr (select-data-object mysql-conn task% (where (= id ?)) obj-id)) 'tasks)])
              (hash-set! node-item 'item task-item))
          ]
          [(equal? type "file")
            (let
              ([file-item
                (hash-ref
                  (data-object->jsexpr (select-data-object mysql-conn file% (where (= id ?)) obj-id)) 'files)])
              (hash-set! node-item 'item file-item))
          ]
          [(equal? type "document")
            (let
              ([document-item
                (hash-ref
                  (data-object->jsexpr (select-data-object mysql-conn document% (where (= id ?)) obj-id)) 'documents)])
              (hash-set! node-item 'item document-item))
          ]
          [else node-item])
    node-item)))

another way to appears this error. To be sure this error will occur when I split the model into different files and use it.
i tried same code in  racket 7.5 and racket 7.6.  restult is same.

The function itself doesn't seem suspicious. I would suggest validating the function's input and maybe add (eprintf "DEBUG; node false? ~a" (false? node)) somewhere in the code to see if anything comes up.

Thanks. As you said. i put debug into my code. but sorry i cant find out where the bug is. bugs in my code or bugs in racquel ? because  printed info looks normal.
So i changed way for use Racquel. i download racquel code and put the racquel lib in my project.
i dont konw how another people use racquel. in my use case when i split modes.rkt in to different file such like user.rkt  node.rkt.  it always raise errors
get-field: contract violation
  expected: object?
  given: #f

I dont know  why。


COLOURTODE_RECTANGLE.overlaps doesn't properly check for collision of the border

Ok I found out it's just for the toolbar

I tweaked the weird sizing that was going on with the toolbar to fix this


www.kingsplace.co.uk (Kplayer) works only by adding --hls-prefer-native

Checklist

[x] I'm reporting a new site support request
[x] I've verified that I'm running youtube-dl version 2021.06.06
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that none of provided URLs violate any copyrights
[x] I've searched the bugtracker for similar site support requests including closed ones

Example URLs

Single video: https://www.kingsplace.co.uk/whats-on/comedy/dr-gameshow-online-streaming-event/kplayer/

Description

I wanted to archive a show I bought a ticket to from London Podcast Festival from the URL included above.
They use something called Kplayer and the videos are hosted on Vimeo.
The first attempt failed with a ffmpeg error “Fixing malformed AAC bitstream”, but worked perfectly by adding the option --hls-prefer-native.
As instructed by the documentation (https://github.com/ytdl-org/youtube-dl/blob/master/README.md#should-i-add---hls-prefer-native-into-my-config ) I’m creating this issue.

I get Unsupported URL with the video link listed. Would you be able to provide the verbose logs?
“Fixing malformed AAC bitstream” isn't necessarily an error. It happens regularly when ffmpeg merges video and audio streams.


Trackmania Script suffering from many bugs

Following the recent update of the script, we've encountered several bugs.
I made a video compilation of all the bugs I encountered, you can find it here : https://www.youtube.com/watch?v=QTx-rcMIE0o
I first used the checkpoint and finish splits and tried to see how the script reacted to leaving maps before finishing them.
Following that I did a normal Track Of The Day speedrun with finish splits only and I still faced the same bugs.
However I had no problem with a speedrun of the Training campaign with finish splits activated.
Speedself also encountered issues during a Winter 2021 (seasonal campaign) speedrun :
https://clips.twitch.tv/EndearingWiseTapirAMPEnergy-yIlMsOdTcCmmjBDJ
https://clips.twitch.tv/SmoggyBillowingBaboonTebowing-VzhlRgTRLmTai48e
Here are the log files from all the runs I did :
February 2021 TOTD - only some tracks were completed : https://pastebin.com/uZeNgRxZ
July 2020 TOTD - speedrun done normally (all tracks completed) : https://pastebin.com/Rm9Day5h
Training - speedrun with no script bug as far as I remember : https://pastebin.com/5Ndyya4v

Indeed it seems that the race data behavior has changed which causes garbage reading.
I've fixed that in https://github.com/Voxelse/ASLScripts/commit/46cbfcb5bc9c50db5222b4c9c6dfec413477e546 which should fix all the issues but let me know if any remain.


[ROCm] Add float8_e4m3fnuz and float8_e5m2fnuz support for Rocm

@jakevdp Could you please take a look?


Advantage to Node's Buffer IndexOf?

Is there any advantage difference to:
https://nodejs.org/api/buffer.html#buffer_buf_indexof_value_byteoffset_encoding

not meaningfully different. this was made before node had this function on buffer =)


Bug: Note title is smaller in header bar than Folder name, if Font Size has been increased

Checklist

[X] I updated to the latest version of the theme (Settings → Appearance → Check for updates).
[X] I made sure that the issue is related to this theme by checking that the problem does not occur with the default theme.
[X] In case I am missing an UI element, I have checked that it cannot be re-enabled with the Style Settings plugin.
[X] The bug is about Obsidian desktop, Obsidian mobile is not supported by this theme.
[X] My Obsidian installer version 1.1.9 or later. If not, please update first. You can find the version in the About tab of the Obsidian settings.

Bug Description
With one of the more recent updates of your theme, the note title in the header bar, enabled via Style Settings > Workspace > Use normal header bar has become smaller. Alone that would be fine, but it looks odd because the Folder name is larger than the note name now.
The Folder name in the Header Bar is increased in size if the Font size in the default Obsidian Appearance settings are increased. However, the Note title remains at the default. This also works in reverse so if you make the font smaller, the folder name shrinks, note title remains the same.
Relevant Screenshot

To Reproduce

Blank vault
install Shimmering Focus
install Style Settings
enable Header Bar
Obsidian Settings > Appearance > Change Font size

Plugins Involved
Style Settings
Sample Text
No response
Obsidian Version
1.7.4
Installer Version
1.6.7
In which mode(s) does the problem occur? (if applicable)

[ ] Source Mode
[ ] Reading Mode
[ ] Live Preview

Which operating system?

[ ] macOS
[X] Linux
[ ] Windows

thx, fixed.


Change appveyor.exe to be run as a tool

Right now, Cake simply shells out to the the underlying appveyor.exe.  As a result, silent failures in things like UploadTestResults are not caught.
We should correctly handle appveyor.exe as a Tool, so that exit codes are correctly handled.
This was discussed here: https://github.com/cake-build/cake/issues/1097#issuecomment-234791625

@agc93 just checking, will you be able to look at this in a near future or should we bump it to next release?

Probably bump, sorry 😢 I'm looking at a couple of the VS issues at the moment.

@agc93 no worries, bumped it to v0.19.0

Hoping for an opinion from @patriksvensson / @devlead / @gep13 here :smile:
Where do we stand on changes to the IAppVeyorProvider interface? I was planning on moving the UploadArtifactSettings and UploadArtifactType (possibly also the MessageCategoryType and TestResultsType) into a new Cake.Common.Tools.AppVeyor namespace since, to my mind, they're inputs to the tool.
Problem being, they're also in the IAppVeyorProvider interface, so if I do, two things happen:

We couple the provider to the tool. At the moment, it sort of is anyway, on account of the shelling out this PR is supposed to fix
We change a public interface definition. I think in this instance this seems like not too much of a problem.

Thoughts on approach here? Just trying to avoid duplicating these settings and types..

@agc93 can we keep compatibility with existing scripts?

@cake-build/cake-team going to bump this one again...

@cake-build/cake-team going to bump this one.

@agc93 Bumping this one given we're working towards Cake v2.0 release so any breaking changes needed to IAppVeyorProvider might be easier to squeeze in now


How work "Set SmarthomeEntities" ?

Is it possible synonymous devices that are connected only in echo via a node to control ??
I have 1-2 lamps from China which are only connected in the echo ..
I found only the get function but no set to send states or colors

You can't do this directly but you can create Routines in your alexa app and execute them with the Action node and executeAutomationRoutine.

woops, scratch that, next update will have a way to do this

Where is the Update ? ;-) i dont't find this future 💃

That got delayed :/. I'm working on version 3.0.0 that will have an interface overhaul along with an easy way of controlling smarthome devices. Not sure when its ready yet...

Controlling Smarthome devices is now possible with an Alexa Smarthome node or an Alexa Routine node! (version 3.0.0)


Issue with prometheus instructions

File: config/thirdparty/prometheus.md
This document seems to completely ignore how host, container, and docker swarm networking interacts and as such is not usable

Closing this ticket due to its age, and the impending refactor. If you think this is in error, feel free to reopen. Thanks!

I'm fairly certain that these instructions are still going to be wrong despite any refactor.  They bind port 9323 to localhost on the swarm node in question, then expect the service to be able to reach that through the overlay network.  In the case of the Linux prometheus yaml they also expect localhost to resolve to the specific docker node the metrics are to be pulled from.

Also it seems I am actually unable to re-open this anyway, github isn't giving me the option


fix: update actions for coffee break

This image is already being used in our Prow CI jobs. Once the dockerfile is merged we can also merge this. @psturc wdyt?

This image is already being used in our Prow CI jobs. Once the dockerfile is merged we can also merge this. @psturc wdyt?

Curious, could you please share where in Prow is this image used? And should we update that image in quay, since the Dockefile got updated?

It is used here. I will update it with the new docker image.

Updated with the new docker image


Add/Update troubleshooting/logs docs

What this PR does / why we need it
This PR replaces: https://github.com/vmware-tanzu/community-edition/pull/4012, reason is that after file/folder restructure to fix edge, it's easier/cleaner for me to just open a new PR. @johnmcbride, can you approve again.

Troubleshoot Clusters with Tanzu Diagnostics & Troubleshoot Cluster Bootstrapping have largely the same content. This PR combines the common content into Troubleshoot Clusters with Tanzu Diagnostics and deletes Troubleshoot Cluster Bootstrapping  - this doesn't introduce new content - it's just restructure

Creates a new topic with some of the content from Troubleshoot Cluster Bootstrapping - Troubleshoot Cluster Deployment Manually - this doesn't introduce new content - it's just restructure

Adds a new topic to address #3253

Fixes the right nav headings in Cluster Debugging Tips so that there is one nav item per tip.

Expands bootstrap glossary term with some content that was in Troubleshoot Cluster Bootstrapping

Which issue(s) this PR fixes

Fixes: #3253
Describe testing done for PR
Preview here:https://deploy-preview-4379--quirky-franklin-8969be.netlify.app/docs/edge/tanzu-debugging-tips/
Special notes for your reviewer

@stmcginnis fixed that link  now


Refactor/model optionals

@zenangst @RamonGilabert
Realm dictates some rules :smiley:, it supports optionals only for relation objects. And I think it makes sense to have such properties as text, publishDate, fullName as non-optionals, if someone really needs it's possible to set empty values or hide views that are not used.

@vadymmarkov Seems that I'm slipping back, you've already integrated Realm. Wanna take a look!

@vadymmarkov


compose! not defined

This project seems to be rather abandoned but as I wanted to check it out I decided to chime in. The package from the packagelisting fails on a "requires is not defined" error and I wasn't sure how to fix that so I decided to checkout the master branch. The example in the readme fails as the simple breeder has been "temporarily removed" so I tried the flat one and it seemed to work fine. However It stops on the compose! function which as far as I can tell is necessary for anything to be done and although everything seems to be fine when looking through the sources, the error prevails.
I'm running on a linux machine with built from source julia 0.5.1-pre+2 Commit f0d40ec* and I tried again using julia 0.5.0 from the pacman repositories and no luck.

Interesting. I'll take a look at this today. Sadly I've been pretty busy with finishing up my PhD, and all the various changes to Julia have caused it to bit-rot. I'm finished in a couple of weeks, and planning to pick things up again.
Did you add the "stable" package, or the bleeding edge?

Looking into it now, and there appear to be even more, fundamental changes to Julia's semantics since Wallace was last updated. For now, I'm just trying to get the examples to build and run.
julia> import Wallace
julia> alg = examples.one_max()
julia> Wallace.run!(example.one_max())
ERROR: MethodError: no method matching evaluate!(::evaluator.SimpleEvaluator, ::fitness.ScalarFitnessScheme{Int64}, ::Array{Int64,1})
Closest candidates are:
  evaluate!(::evaluator.TSPEvaluator, ::fitness.FitnessScheme, ::Array{Int64,1}) at /home/chris/.julia/v0.5/Wallace/src/evaluator/_tsp.jl:80
  evaluate!(::evaluator.Evaluator, ::state.State) at /home/chris/.julia/v0.5/Wallace/src/evaluator.jl:55
  evaluate!(::evaluator.Evaluator, ::state.State, ::_deme_.Deme{F}) at /home/chris/.julia/v0.5/Wallace/src/evaluator.jl:45
 in evaluate!(::evaluator.SimpleEvaluator, ::state.State, ::_deme_.Deme{Int64}) at /home/chris/.julia/v0.5/Wallace/src/evaluator.jl:46
 in evaluate!(::evaluator.SimpleEvaluator, ::state.State) at /home/chris/.julia/v0.5/Wallace/src/evaluator.jl:56
 in run!(::algorithm.GeneticAlgorithm) at /home/chris/.julia/v0.5/Wallace/src/algorithm/genetic.jl:61

This is quite a strange problem, which seems to have come about as a result of a change to Julia's semantics. You can see the matching method inside src/evaluator/_simple.jl, which is imported without any problems (otherwise the SimpleEvaluator type wouldn't be visible). For some reason, this method is no longer recognised as fulfilling that criteria:
 43 function evaluate{T}(ev::SimpleEvaluator, sch::FitnessScheme, phenome::T)
 44   println("Called simple evaluator")
 45   ev.evaluator(sch, phenome)
 46 end


launch skydive-agent during vm_create

@mihaTrajbaric @alexmaslenn @dradX  Who can review this and merge?


macOS: applocal.py incorrectly tries to copy libraries not from vcpkg installation

Describe the bug
On macOS, the applocal.py post build script attempts to copy libraries that are not linked from vcpkg. This cause a problem during compilation with configured cmake project with Xcode
Environment

OS: macOS
Compiler:
Xcode Version 11.0 (11A419c)
Apple clang version 11.0.0 (clang-1<IP_ADDRESS>)

To Reproduce
Steps to reproduce the behavior:

./vcpkg install [any library]
Create CMake project with two targets.
One being a shared library created using add_library(mySharedLib SHARED xxx)
Second being a executable target that is a macOS bundled application (.app)
Link the library created using add_library into the executable
target_link_libraries(myBundleApp PRIVATE mySharedLib)
Generate Xcode project using CMake and the vcpkg toolchain file
Attempt to build the project. An error will be thrown attempting to copy mySharedLib from the vcpkg installation which is wrong

Expected behavior
In short, the script needs to check if the dependency its attempting to copy is actually part of the vcpkg installation (i.e the user installed it using vcpkg). Otherwise, it should do nothing and expect that the library is being included from elsewhere on the user's system.
Failure logs
python /Users/mguerrette/Development/vcpkg/scripts/buildsystems/osx/applocal.py /Users/mguerrette/Development/Vixen/build/macOS/Debug/VixenTest.app/Contents/MacOS/VixenTest /Users/mguerrette/Development/vcpkg/installed/x64-osx/debug
INFO | fixing executable '/Users/mguerrette/Development/Vixen/build/macOS/Debug/VixenTest.app/Contents/MacOS/VixenTest'
INFO | changing rpath<EMAIL_ADDRESS>in binary /Users/mguerrette/Development/Vixen/build/macOS/Debug/VixenTest.app/Contents/MacOS/VixenTest
INFO | ensuring directory '/Users/mguerrette/Development/Vixen/build/macOS/Debug/VixenTest.app/Contents/Frameworks' exists: /Users/mguerrette/Development/Vixen/build/macOS/Debug/VixenTest.app/Contents/Frameworks
INFO | copying missing dependency in bundle: libVixenEngine.dylib
INFO | cp: /Users/mguerrette/Development/vcpkg/installed/x64-osx/debug/lib/libVixenEngine.dylib: No such file or directory
ERROR | quitting early: couldn't fix dependency @rpath/libVixenEngine.dylib of /Users/mguerrette/Development/Vixen/build/macOS/Debug/VixenTest.app/Contents/MacOS/VixenTest
Additional context
This script as it is currently written assumes all dynamic libraries are linked with use of vcpkg. It needs to be updated because many projects will link using vcpkg libraries as well as other non vcpkg libraries.

I am having the same issue.   ( Additionally, I want to build in a python3 virtual environment but the applocal.py script needs to be invoked with python2.  The generated build.make files just call it with python applocal.... )

Having the same issue, any updates?

cc @seanwarren

For me the following change makes it not fail and create a working bundle:
diff --git a/scripts/buildsystems/osx/applocal.py b/scripts/buildsystems/osx/applocal.py
index e01223c7e..5237f1fdd 100644
--- a/scripts/buildsystems/osx/applocal.py
+++ b/scripts/buildsystems/osx/applocal.py
@@ -259,6 +259,11 @@ def fix_dependency(binary, dep):
     else:
         return True

+    # if the source path doesn't exist it's probably not a dependency
+    # originating with vcpkg and we should leave it alone
+    if not os.path.exists(qtnamesrc):
+        return True
+
     dep_ok = True
     # check that rpath of 'dep' inside binary has been correctly set
     # (ie: relative to exepath using '@executable_path' syntax)
@@ -417,4 +422,4 @@ def main():

 if __name__ == "__main__":
-    main()
\ No newline at end of file
+    main()

It's probably not the cleanest solution, we basically don't do anything if we cannot find the library in the expected location. The assumption made here is that that means that the library didn't originate in vcpkg. This seems to work in practice, but there may be some corner-cases.


[FLINK-15427][Statebackend][test] Check TTL test in test_stream_statettl.sh and skip the exception check

What is the purpose of the change
Add test check logic in test_stream_state_ttl.sh for TTL end-to-end test, and skip the exception check for those tests.
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

@flinkbot run travis
@flinkbot run azure

Minor: changing TtlVerifyUpdateFunction#flatMap to add some specific error message and verify through it could decouple the case from implementation of TtlVerificationContext#toString, the change would be like: out.collect("TTL verification failed: " + verificationContext.toString()); and then check against TTL verification failed, wdyt? @klion26

@carp84 thanks for the review. Add specific error message and check against it is better(I also add a comment to remind others do not change this specific error message). After adding the specific error message we would not get a false pass even if somebody changes the TtlVerificationContext#toString.

ran the end-to-end test locally

test succeed

Checking of logs skipped.

[PASS] 'State TTL Heap backend end-to-end test' passed after 0 minutes and 28 seconds! Test exited with exit code 0.

.......

Checking of logs skipped.

[PASS] 'State TTL RocksDb backend end-to-end test' passed after 0 minutes and 27 seconds! Test exited with exit code 0.

2 comment the if-check in TtlVerifyUpdateFunction#flatMap to simulate the fail, it will fail
[FAIL] Test script contains errors.
Checking of logs skipped.

[FAIL] 'State TTL Heap backend end-to-end test' failed after 0 minutes and 42 seconds! Test exited with exit code 1

The Travis test failed because of another irrelevant issue(has been tracked by FLINK-15247)

@tillrohrmann thanks for the review. addressed the comments, PTAL, thanks~


Lookup Schemes when inferring TypeRefs

If the Scheme exists we assign it to the .Scheme field on the TypeRef.  This is so that a value whose type is the TypeRef can be used outside of the scope where the TypeRef was defined.  This PR also makes sure that type alias decls and function decls add schemes for type variables to the curent environment so they can be referenced.

Codecov Report
Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (93efb60) 75.57% compared to head (a470fdd) 75.82%.

Files
Patch %
Lines

src/Escalier.TypeChecker/Infer.fs
89.47%
6 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #58      +/-   ##
==========================================
+ Coverage   75.57%   75.82%   +0.24%
==========================================
  Files          13       13
  Lines        3746     3776      +30
  Branches      452      453       +1
==========================================
+ Hits         2831     2863      +32
+ Misses        915      913       -2

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


Add backfill-redis to the release artifacts

Summary

Add backfill-redis to the release artifacts
add version information for backfill-redis

Codecov Report

Merging #1174 (2224286) into main (7412e93) will decrease coverage by 15.37%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #1174       +/-   ##
===========================================
- Coverage   64.23%   48.86%   -15.38%
===========================================
  Files          82       82
  Lines        7623     7623
===========================================
- Hits         4897     3725     -1172
- Misses       2098     3196     +1098
- Partials      628      702       +74

Flag
Coverage Δ

e2etests
48.86% <ø> (ø)

unittests
?

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

Impacted Files
Coverage Δ

pkg/util/timestamp_note.go
0.00% <0.00%> (-76.48%)
:arrow_down:

pkg/types/cose/cose.go
25.92% <0.00%> (-74.08%)
:arrow_down:

pkg/signer/file.go
0.00% <0.00%> (-70.00%)
:arrow_down:

pkg/pki/ssh/sign.go
0.00% <0.00%> (-65.12%)
:arrow_down:

pkg/sharding/log_index.go
38.88% <0.00%> (-55.56%)
:arrow_down:

pkg/types/intoto/v0.0.1/entry.go
17.64% <0.00%> (-53.85%)
:arrow_down:

pkg/types/cose/v0.0.1/entry.go
0.44% <0.00%> (-53.54%)
:arrow_down:

pkg/util/sha.go
46.66% <0.00%> (-53.34%)
:arrow_down:

pkg/types/helm/v0.0.1/entry.go
0.42% <0.00%> (-47.06%)
:arrow_down:

pkg/sharding/ranges.go
21.84% <0.00%> (-42.86%)
:arrow_down:

... and 29 more

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

@priyawadhwa Can we get this into the release too? And cherry pick in https://github.com/sigstore/rekor/pull/1163?

Sure! could you open a PR for the cherry-pick and I can approve it?

@priyawadhwa @haydentherapper will cherry pick this


Add Notebook overwrite  user answere NO shows error window

Model Builder Version: In which Model Builder version was the bug encountered?
Visual Studion Version: In which Visual Studio version was the bug encountered?
Bug description
A clear and concise description of what the bug is.
Steps to Reproduce
1.select value prediction
2. Pass all the steps  Add notebook with the same name as the existed notebook
3. Click no in the dialog window
Expected Experience
Back to the parent page/consume or Do nothing
Actual Experience

Additional Context
Add any other context about the problem here, such as unusual system configurations, network restrictions, etc.

can repro this issue on latest main:

Notebook Editor [Preview]: <IP_ADDRESS>6601
ML.Net Model Builder: <IP_ADDRESS>6601

Fixed In the latest  main

can repro this issue on latest main: <IP_ADDRESS>6904
Similar as https://github.com/dotnet/machinelearning-modelbuilder/issues/1829
Scenario: Image classification>Local (CPU)

I think this issue is not reproduced on this version, I will reopen  https://github.com/dotnet/machinelearning-modelbuilder/issues/1829

Yes, not prompt error dialog after refuse overwrite notebook.

ML.Net Model Builder: <IP_ADDRESS>6904 (Main)
Notebook Editor [Preview]: <IP_ADDRESS>6601


SWARM-961: Place temporary files under build directory while running tests

[X] Have you followed the guidelines in our Contributing document?
[X] Have you created a JIRA and used it in the commit message?
[X] Have you checked to ensure there aren't other open Pull Requests for the same issue?
[X] Have you built the project locally prior to submission with mvn clean install?

Motivation
WildFly Swarm creates a lot of temporary dirs/files and in some cases they are not deleted, causing the CI agent to crash with Insufficient Disk space errors after some time.
Modifications
java.io.tmpdir is set to the ${project.build.directory}.
Result
Temporary files created during a test execution are placed under target/ and deleted when the clean command is issued, leaving temporary dirs contained within the project

I still see 2 {{wildfly-self-contained*.d}} directories under /tmp after the build (could not find where that is being created) but this PR succeeds in placing the temporary files inside target/test-classes

Found the reason why these directories are being created. Will push the fix to this PR soon

Can we not just pass this sys prop via the job?
On Thu, Dec 22, 2016 at 7:36 PM George Gastaldi<EMAIL_ADDRESS>wrote:

Found the reason why these directories are being created. Will push the
fix to this PR soon
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/wildfly-swarm/wildfly-swarm/pull/276#issuecomment-268921161,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAA-Tzz9xHpAifnrAd5i4FvC2KHS6aw3ks5rKxdogaJpZM4LUfBx
.

Probably, but do you see any issues with this strategy? At least your local
/tmp will remain clean ;)
Em 22 de dez de 2016 23:47, "Bob McWhirter"<EMAIL_ADDRESS>escreveu:

Can we not just pass this sys prop via the job?
On Thu, Dec 22, 2016 at 7:36 PM George Gastaldi<EMAIL_ADDRESS>wrote:

Found the reason why these directories are being created. Will push the
fix to this PR soon
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/wildfly-swarm/wildfly-swarm/pull/276#
issuecomment-268921161>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAA-
Tzz9xHpAifnrAd5i4FvC2KHS6aw3ks5rKxdogaJpZM4LUfBx>
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/wildfly-swarm/wildfly-swarm/pull/276#issuecomment-268927836,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADTdTZbHFOp_mpHs00BLbPdavuhfTE7ks5rKyhMgaJpZM4LUfBx
.

Ah no, sorry that's impossible because UberJarContainer forks the process
and ignores my java.io.tmpdir override
Em 23 de dez de 2016 00:06, "George Gastaldi"<EMAIL_ADDRESS>escreveu:

Probably, but do you see any issues with this strategy? At least your
local /tmp will remain clean ;)
Em 22 de dez de 2016 23:47, "Bob McWhirter"<EMAIL_ADDRESS>escreveu:

Can we not just pass this sys prop via the job?
On Thu, Dec 22, 2016 at 7:36 PM George Gastaldi<EMAIL_ADDRESS>
wrote:

Found the reason why these directories are being created. Will push the
fix to this PR soon
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/wildfly-swarm/wildfly-swarm/pull/276#iss
uecomment-268921161>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAA-Tzz9x
HpAifnrAd5i4FvC2KHS6aw3ks5rKxdogaJpZM4LUfBx>
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/wildfly-swarm/wildfly-swarm/pull/276#issuecomment-268927836,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADTdTZbHFOp_mpHs00BLbPdavuhfTE7ks5rKyhMgaJpZM4LUfBx
.

Could we not do a .startsWith("java") in that check, rather than the full property?
Then it would be passed through right?
I'd also prefer to not make all builds run this way

Unfortunately that'd allow java.class.path and others.
I'd be okay whitelisting exactly java.io.tmpdir.
On Thu, Dec 22, 2016 at 9:40 PM Ken Finnigan<EMAIL_ADDRESS>wrote:

Could we not do a .startsWith("java") in that check, rather than the full
property?
Then it would be passed through right?
I'd also prefer to not make all builds run this way
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/wildfly-swarm/wildfly-swarm/pull/276#issuecomment-268931963,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAA-T2bL4A4pqzVMVxi7mVaBylWgVVzVks5rKzSPgaJpZM4LUfBx
.

ah ok, but do we want it part of the regular build?

I meant whitelist it in general and then add to the CI job.
On Thu, Dec 22, 2016 at 9:53 PM Ken Finnigan<EMAIL_ADDRESS>wrote:

ah ok, but do we want it part of the regular build?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/wildfly-swarm/wildfly-swarm/pull/276#issuecomment-268932942,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAA-T69z9kHVarW5B1vsrO8swfEDU3hDks5rKzeagaJpZM4LUfBx
.

Sorry, but what do you suggest to add to the CI job?
@kenfinnigan why don't you prefer to run builds this way but is ok having tons of temp files in your /tmp that never gets deleted?
FYI this setting has existed for some time in the jboss-parent-pom: https://github.com/jboss/jboss-parent-pom/blob/master/pom.xml#L592

So, I think prior to this (or possibly obviating it) would be to ensure that -Djava.io.tmpdir set on a root mvn gets communicated to any forked uberjar thingy.
When I say "whitelisted" I mean copied, since we currently support -Dswarm.* properties.
The one concern is that we tend to take these properties and jam them into swarm.properties within the uberjar, which we definitely don't want to do with java.io.tmpdir.
But, assuming we can communicate, safely, from the root mvn invocation, I'd rather not edit our POMs to explicitly say where to put TMP.
And speaking of which, maybe $TMP or the windows equiv is sufficient to set on CI.  java.io.tempdir should respect that if not otherwise set.
The problem with manually managing java.io.tmpdir is that the OS does a much better job of house-keeping than a user, along with concerns of disk allocation, etc.  I'd personally hate someone leaving tmp in my dir tree.

So, I'd say given current, unmodified HEAD, let's try setting TMP=$WORKSPACE/tmp or whatnot and see if that suffices to accomplish what we want.

And leave an un-ending stream of comments on this PR.

Just because it's fun.

I failed to get setting TMP to work.
But..
export _JAVA_OPTIONS=-Djava.io.tempdir=/path/to/whatever

Seems to work and percolate down through to sub-processes.
That being said, even on OSX I'm seeing lingering files, so working towards that.

That seems like an ugly hack :)

This may be worth a shot: https://wiki.jenkins-ci.org/display/JENKINS/Tmp+Cleaner+Plugin

So, I've got a fix for this underlying issue, at least as exhibited on OSX.  Will boot into Windows and ensure I didn't break anything there.
Basically, our SelfContainerContainer (in wildfly-core repo) has stop(), which places a task on the executor to clean up the wildfly-selfcontained.d/, but then nothing actually waits for the executor to shutdown cleanly, so we end up blowing it out the water before it's accomplished its goal of removing the -selfcontained.d/

@gastaldi wrt an ugly hack... I still think tmpdir management is a local environment thing and instituting a policy via pom.xml seems strange to me.
But hopefully with my soon-to-be-inbound PR, the root cause will be less of an issue.
Once I boot into Windows. sigh

Another solution: http://stackoverflow.com/questions/15675783/how-to-change-the-jenkins-tmp-dir-location

@bobmcwhirter I agree with you, but at least you can know what files/dirs are created and left in a module level

Okay, while I've created this PR:
https://github.com/wildfly-swarm/wildfly-swarm/pull/278
It doesn't actually solve the problem, because, as noted in the commit, our Arquillian does a process.destroy(), which on OSX is a SIGINT, but on Windows is basically a SIGKILL, which prevents any shutdown hooks from running.  So we never actually get a chance to clean up after ourselves.
A better solution, but not today, would be to communicate with our Arq Daemon to trigger a clean shutdown from within the running container, before we attempt to just process.destroy() it.
So, that being said, we still need some solution on CI to clean up the lingering TMP dir on a regular basis.  Either putting it into a $WORKSPACE that we routinely blow away, or otherwise scrub out the dir.
I leave that choice up to the person who deals with CI the most.  @gastaldi


Proposal: Allow me to disable Ctrl+Tab in RichEditBox

Proposal: Allow me to disable Ctrl+Tab in RichEditBox
In my app, I use Ctrl+Tab for switching between different pages that are running in a tab like a pattern but I noticed that I was not able to disable it inside Ctrl+Tab. I tried setting handled = true for a keyboard accelerator but it's not firing since RichEditBox consumes the event and handles it before my event is fired. Please provide a way to disable that.
Rationale

Tabbed applications need to use the shortcut for tab changing
More control to the developer

It works if you intercept the CoreWindow AcceleratorKeyActivated event but I want MS to provide an easy way to disable it from RichEditBox.


Retrieve command results separately

This pull request adds an extension to the API, and some slight modifications to the communication, and result handling functions.
The idea is to separate the results of executed tasks, and make those available via the API.
This means adding a task id field to the packet structure, which will be returned with eventual results, making it possible to identify the command from which the current result originates. For long running tasks such as keyloggers, a hashmap is kept on the agent, which matches jobnames to task id's.

This is quite interesting- I really like the idea. It will take us a bit of time to look everything as it touches several core components. If we decide it makes sense, we'll merge the changes- Empire is undergoing a 2.0 rewrite that may integrate some of these suggestions as well.


Postgres Migration Bug after making schema changes (P3006 Error)

Bug description
Migrations don't appear to be working as expected when using postgresql (tried on both 12.6 and 13). Specifically, running the first migration works fine. However, when I make new changes to the schema.prisma file, Prisma doesn't pick up on the changes and it instead tries reapplying the migration already there and I get a P3006 error stating the relations are already created.
How to reproduce

Set up some temp postgres DB using 12.6 or 13
Start with boilerplate prisma schema code
Run first migration npx prisma migrate dev --name init --preview-feature
Make some change to the prisma.schema file (add new model, change a column name, etc)
Run migration again: npx prisma migrate dev --name change --preview-feature

Console Error
Error: P3006

Migration `20210217161456_init` failed to apply cleanly to a temporary database.
Error:
Database error: Error querying the database: db error: ERROR: relation "User" already exists
   0: sql_migration_connector::flavour::postgres::sql_schema_from_migration_history
             at migration-engine/connectors/sql-migration-connector/src/flavour/postgres.rs:270
   1: sql_migration_connector::sql_database_migration_inferrer::calculate_drift
             at migration-engine/connectors/sql-migration-connector/src/sql_database_migration_inferrer.rs:40
   2: migration_core::api::DevDiagnostic
             at migration-engine/core/src/api.rs:79

Expected behavior
I expected Prisma to generate a new migration file with the new name based on the diff and apply the changes from the diff.
Prisma information
This issue can be reproduced using the simple boilerplate prisma schema.

Schema for 1st Migration
datasource db {
  url           = env("DATABASE_URL")
  provider = "postgresql"
}
generator client {
  provider = "prisma-client-js"
}
model User {
  id        Int      @id @default(autoincrement())
  createdAt DateTime @default(now())
  email     String   @unique
  name      String?
}

Altered Schema for 2nd Migration
datasource db {
  url      = env("DATABASE_URL")
  provider = "postgresql"
}
generator client {
  provider = "prisma-client-js"
}
model User {
  id        Int      @id @default(autoincrement())
  createdAt DateTime @default(now())
  email     String   @unique
  name      String?
}
// CHANGED: Added new table to DB
model Post {
  id        Int      @id @default(autoincrement())
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt
  published Boolean  @default(false)
  title     String   @db.VarChar(255)
  author    User?    @relation(fields: [authorId], references: [id])
  authorId  Int?
}

Environment & setup

OS: MacOS
Database: PostgreSQL (12.6 and 13)
Node.js version: v14.1.1
Prisma version: 2.17

Same here on mysql (actually mariadb). In case-insensitive OS'es like Windows create table User makes user table and prisma treats that as drift, trying to create new table which already exists. Rolled back to 2.16.0 for now

@chelog we have code to diff case-insensitively on mysql on windows — if it doesn't work, it's a separate problem. Could you please open an issue?

@chelog I think I found what could have broken. An issue would still be helpful :)

@chelog last update — I have a PR here, it does look like we broke the MySQL case sensitivity setting detection recently, and didn't notice because we don't run CI on windows MySQL installations.

@jbroomer I couldn't spend a lot of time on it, but I did try to reproduce the issue, and couldn't observe the bug you reported. Is there anything specific about your setup that could be relevant? Are you using postgres in docker or natively installed?

I think it may have been a DB permissions issue for me.  It, also, worked when I specified a shadow DB (even though I shouldn't have had to since I was running locally with a superuser).
Thank you for looking into this though!

Experiencing the same with Heroku free postgresql.
Error occurs even with separate shadow database

Seeing this as well. I'm using managed Postgresql DBs on Digital Ocean.

@MikeYermolayev do you have more details that could help us reproduce the issue? Would it be possible to share your schema? Please open a new issue, comments in closed issues tend to not be seen.

@tomhoule the schema is really simple, was just playing around.
Right now the issue is gone for me. I swapped shadow database with the main and now it works. So I'll probably open a new issue if it ever occurs again
datasource db {
  provider          = "postgresql"
  url               = env("DATABASE_URL")
  // needed only when using heroku
  shadowDatabaseUrl = env("SHADOW_DATABASE_URL")
}

generator client {
  provider = "prisma-client-js"
}

model Car {
  id           Int    @id @default(autoincrement())
  manufacturer String
  model        String
  bodyType     String
  engineType   String
  transmission String
  year         Int
  generation   String
  vin          String
  odometer     Json // {unit: string, value: int}
}


Enable the ability to cordon/uncordon/drain nodes

Close #4006

@pull-dog down

@pull-dog down

/azp run

/azp run

@pull-dog down

@pull-dog down

@MaximeBajeux could you please resolve the merge conflict?


Make it even more famous!

After checkout other implementation. I believe that your implementation of an operator overloading is finally correct and robust. I personally don't like adding flags on top of file to indicate that it should be processed. For example, If I use flow-typed, they cannot work together.
Here is a demo of my algorithms to make N-Dimension universal object containers (2014, which was better than numpy). I think we can make ndarray.js with the aid of your operator overloading ability.

N-Demension Matrix for universal objects : https://www.youtube.com/watch?v=aLOtzQW9GJs

Thanks, I do rather like the way this babel plugin turned out. (That said, I would just point out that it's not really much more than a weekend project I put together once, so I'd hesitate a bit before calling it things like robust. Still, I'm glad you like it.)
I'd certainly enjoy seeing an implementation of ndarray.js on top of this plugin, if you do end up creating one.


Fails when starting a new Gatsby project

Im not sure if I am doing something wrong, but I can't seem to even run npm install to get this app working. Any advice would be much appreciated!

@dwyn Same here. How did you fix it?


why cp _princ.pdb

Dear developer,
I was trying to learn how to use LipIDens.
The test pdb name is test.pdb while after entering all the required parameters, it shows the error message starting with:
cp: cannot stat ‘/Path/to/the/LipIDens/test_princ.pdb’: No such file or directory
Is there anything wrong with my installation?
Thanks.
Xiaodi

Hi Xiaodi,
What gromacs version are you using? LipIDens runs around the GROMACs
simulation software for system setup. The test_princt.pdb is generated by
the gmx editconf step.
What do you get if you type 'which gmx'?
Thanks,
Bertie
On Fri, Mar 15, 2024 at 5:15 PM xiaodiyu @.***> wrote:

Dear developer,
I was trying to learn how to use LipIDens.
The test pdb name is test.pdb while after entering all the required
parameters, it shows the error message starting with:
cp: cannot stat ‘/Path/to/the/LipIDens/test_princ.pdb’: No such file or
directory
Is there anything wrong with my installation?
Thanks.
Xiaodi
—
Reply to this email directly, view it on GitHub
https://github.com/TBGAnsell/LipIDens/issues/3, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN6N2Z4RGGND56CHRT2DEBDYYOFJPAVCNFSM6AAAAABEY2NIQGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4DSNRUGM2DKNI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hi Bertie,
Thank you for the reply. I have GROMACS installed, but I think there was an error message during the installation. Can you help me out?
I'm using "python setup.py install"
Python 3.9.16
Thank you
Xiaodi
"/tmp/easy_install-mdixltj2/mdtraj-1.9.9/./basesetup.py:451: UserWarning: Unrecognized setuptools command ('-q bdist_egg --dist-dir /tmp/easy_install-mdixltj2/mdtraj-1.9.9/egg-dist-tmp-2i9ptgx5'), proceeding with generating Cython sources and expanding templates
warnings.warn("Unrecognized setuptools command ('{}'), proceeding with "
[ 1/12] Cythonizing mdtraj/formats/binpos/binpos.pyx
[ 2/12] Cythonizing mdtraj/formats/dcd/dcd.pyx
warning: mdtraj/formats/dcd/dcdlib.pxd:12:12: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
warning: mdtraj/formats/dcd/dcdlib.pxd:12:16: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
warning: mdtraj/formats/dcd/dcdlib.pxd:12:20: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
[ 3/12] Cythonizing mdtraj/formats/dtr/dtr.pyx
[ 4/12] Cythonizing mdtraj/formats/tng/tng.pyx
[ 5/12] Cythonizing mdtraj/formats/xtc/trr.pyx
[ 6/12] Cythonizing mdtraj/formats/xtc/xtc.pyx
[ 7/12] Cythonizing mdtraj/geometry/drid.pyx
[ 8/12] Cythonizing mdtraj/geometry/neighborlist.pyx
[ 9/12] Cythonizing mdtraj/geometry/neighbors.pyx
[10/12] Cythonizing mdtraj/geometry/src/_geometry.pyx
performance hint: mdtraj/geometry/src/image_molecules.pxi:13:5: Exception check on 'make_whole' will always require the GIL to be acquired.
Possible solutions:
1. Declare 'make_whole' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on 'make_whole' to allow an error code to be returned.
Error compiling Cython file:
...
offset[k] += frame_unitcell_vectors[0, k]*roundf((delta[0]-offset[0])/frame_unitcell_vectors[0,0])
frame_positions[atom2, k] = frame_positions[atom2, k] - offset[k]
cdef void anchor_dists(float[:,::1] frame_positions,
float[:,::1] frame_unitcell_vectors,
vector[int[:]] anchor_molecules,
^
mdtraj/geometry/src/image_molecules.pxi:33:24: Reference-counted type 'int[:]' cannot be used as a template argument
performance hint: mdtraj/geometry/src/image_molecules.pxi:31:5: Exception check on 'anchor_dists' will always require the GIL to be acquired.
Possible solutions:
1. Declare 'anchor_dists' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on 'anchor_dists' to allow an error code to be returned.
Error compiling Cython file:
...
anchor_nearest_atoms[mol2, mol1, 1] = ca2
cdef void wrap_mols(float[:,::1] frame_positions,
float[:,::1] frame_unitcell_vectors,
float[:] center,
vector[int[:]] other_molecules) nogil:
^
mdtraj/geometry/src/image_molecules.pxi:55:26: Reference-counted type 'int[:]' cannot be used as a template argument
performance hint: mdtraj/geometry/src/image_molecules.pxi:52:5: Exception check on 'wrap_mols' will always require the GIL to be acquired.
Possible solutions:
1. Declare 'wrap_mols' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on 'wrap_mols' to allow an error code to be returned.
Error compiling Cython file:
...
cdef void image_frame(frame_positions,
frame_unitcell_vectors,
anchor_molecules,
vector[int[:]] other_molecules,
^
mdtraj/geometry/src/image_molecules.pxi:96:23: Reference-counted type 'int[:]' cannot be used as a template argument
Error compiling Cython file:
...
anchor_atom_indices = np.concatenate(anchor_molecules)
center = np.mean(frame_positions[anchor_atom_indices], axis=0)
wrap_mols(frame_positions, frame_unitcell_vectors, center, other_molecules)
def image_molecules(xyz, box, anchor_molecules, other_molecules, sorted_bonds):
cdef vector[int[:]] omol = other_molecules
^
mdtraj/geometry/src/image_molecules.pxi:144:15: Reference-counted type 'int[:]' cannot be used as a template argument
Error compiling Cython file:
...
cdef int[:] mol
cdef float mol_center[3]
cdef float mol_offset[3]
cdef int n
for i in range(other_molecules.size()):
                                   ^

mdtraj/geometry/src/image_molecules.pxi:72:39: Coercion from Python not allowed without the GIL
Error compiling Cython file:
...
cdef int[:] mol
cdef float mol_center[3]
cdef float mol_offset[3]
cdef int n
for i in range(other_molecules.size()):
                                   ^

mdtraj/geometry/src/image_molecules.pxi:72:39: Calling gil-requiring function not allowed without gil
Error compiling Cython file:
...
cdef int[:] mol
cdef float mol_center[3]
cdef float mol_offset[3]
cdef int n
for i in range(other_molecules.size()):
                              ^

mdtraj/geometry/src/image_molecules.pxi:72:34: Accessing Python attribute not allowed without gil
Error compiling Cython file:
...
cdef int[:] mol
cdef float mol_center[3]
cdef float mol_offset[3]
cdef int n
for i in range(other_molecules.size()):
                                   ^

"

Ok thanks for bringing this to my attention - it looks like an error with
mdtraj installation from PyLipID. Can you try installing a newer mdtraj
version in the interim and I'll work on changing the installation
requirements. Unfortunately I'm not able to make changes to PyLipID.
Best wishes,
Bertie
On Tue, Mar 19, 2024 at 8:31 PM xiaodiyu @.***> wrote:

Hi Bertie,
Thank you for the reply. I have GROMACS installed, but I think there was
an error message during the installation. Can you help me out?
I'm using "python setup.py install"
Python 3.9.16
Thank you
Xiaodi
"/tmp/easy_install-mdixltj2/mdtraj-1.9.9/./basesetup.py:451: UserWarning:
Unrecognized setuptools command ('-q bdist_egg --dist-dir
/tmp/easy_install-mdixltj2/mdtraj-1.9.9/egg-dist-tmp-2i9ptgx5'), proceeding
with generating Cython sources and expanding templates
warnings.warn("Unrecognized setuptools command ('{}'), proceeding with "
[ 1/12] Cythonizing mdtraj/formats/binpos/binpos.pyx
[ 2/12] Cythonizing mdtraj/formats/dcd/dcd.pyx
warning: mdtraj/formats/dcd/dcdlib.pxd:12:12: Non-trivial type declarators
in shared declaration (e.g. mix of pointers and values). Each pointer
declaration should be on its own line.
warning: mdtraj/formats/dcd/dcdlib.pxd:12:16: Non-trivial type declarators
in shared declaration (e.g. mix of pointers and values). Each pointer
declaration should be on its own line.
warning: mdtraj/formats/dcd/dcdlib.pxd:12:20: Non-trivial type declarators
in shared declaration (e.g. mix of pointers and values). Each pointer
declaration should be on its own line.
[ 3/12] Cythonizing mdtraj/formats/dtr/dtr.pyx
[ 4/12] Cythonizing mdtraj/formats/tng/tng.pyx
[ 5/12] Cythonizing mdtraj/formats/xtc/trr.pyx
[ 6/12] Cythonizing mdtraj/formats/xtc/xtc.pyx
[ 7/12] Cythonizing mdtraj/geometry/drid.pyx
[ 8/12] Cythonizing mdtraj/geometry/neighborlist.pyx
[ 9/12] Cythonizing mdtraj/geometry/neighbors.pyx
[10/12] Cythonizing mdtraj/geometry/src/_geometry.pyx
performance hint: mdtraj/geometry/src/image_molecules.pxi:13:5: Exception
check on 'make_whole' will always require the GIL to be acquired.
Possible solutions:

Declare 'make_whole' as 'noexcept' if you control the definition and
you're sure you don't want the function to raise exceptions.
Use an 'int' return type on 'make_whole' to allow an error code to be
returned.
Error compiling Cython file:

...
offset[k] += frame_unitcell_vectors[0,
k]*roundf((delta[0]-offset[0])/frame_unitcell_vectors[0,0])
frame_positions[atom2, k] = frame_positions[atom2, k] - offset[k]
cdef void anchor_dists(float[:,::1] frame_positions,
float[:,::1] frame_unitcell_vectors,
vector[int[:]] anchor_molecules,
^
mdtraj/geometry/src/image_molecules.pxi:33:24: Reference-counted type
'int[:]' cannot be used as a template argument
performance hint: mdtraj/geometry/src/image_molecules.pxi:31:5: Exception
check on 'anchor_dists' will always require the GIL to be acquired.
Possible solutions:

Declare 'anchor_dists' as 'noexcept' if you control the definition and
you're sure you don't want the function to raise exceptions.
Use an 'int' return type on 'anchor_dists' to allow an error code to be
returned.
Error compiling Cython file:

...
anchor_nearest_atoms[mol2, mol1, 1] = ca2
cdef void wrap_mols(float[:,::1] frame_positions,
float[:,::1] frame_unitcell_vectors,
float[:] center,
vector[int[:]] other_molecules) nogil:
^
mdtraj/geometry/src/image_molecules.pxi:55:26: Reference-counted type
'int[:]' cannot be used as a template argument
performance hint: mdtraj/geometry/src/image_molecules.pxi:52:5: Exception
check on 'wrap_mols' will always require the GIL to be acquired.
Possible solutions:

Declare 'wrap_mols' as 'noexcept' if you control the definition and
you're sure you don't want the function to raise exceptions.
Use an 'int' return type on 'wrap_mols' to allow an error code to be
returned.
Error compiling Cython file:

...
cdef void image_frame(frame_positions,
frame_unitcell_vectors,
anchor_molecules,
vector[int[:]] other_molecules,
^
mdtraj/geometry/src/image_molecules.pxi:96:23: Reference-counted type
'int[:]' cannot be used as a template argument
Error compiling Cython file:
...
anchor_atom_indices = np.concatenate(anchor_molecules)
center = np.mean(frame_positions[anchor_atom_indices], axis=0)
wrap_mols(frame_positions, frame_unitcell_vectors, center, other_molecules)
def image_molecules(xyz, box, anchor_molecules, other_molecules,
sorted_bonds):
cdef vector[int[:]] omol = other_molecules
^
mdtraj/geometry/src/image_molecules.pxi:144:15: Reference-counted type
'int[:]' cannot be used as a template argument
Error compiling Cython file:
...
cdef int[:] mol
cdef float mol_center[3]
cdef float mol_offset[3]
cdef int n
for i in range(other_molecules.size()):
^

mdtraj/geometry/src/image_molecules.pxi:72:39: Coercion from Python not
allowed without the GIL
Error compiling Cython file:
...
cdef int[:] mol
cdef float mol_center[3]
cdef float mol_offset[3]
cdef int n
for i in range(other_molecules.size()):
^

mdtraj/geometry/src/image_molecules.pxi:72:39: Calling gil-requiring
function not allowed without gil
Error compiling Cython file:
...
cdef int[:] mol
cdef float mol_center[3]
cdef float mol_offset[3]
cdef int n
for i in range(other_molecules.size()):
^

mdtraj/geometry/src/image_molecules.pxi:72:34: Accessing Python attribute
not allowed without gil
Error compiling Cython file:
...
cdef int[:] mol
cdef float mol_center[3]
cdef float mol_offset[3]
cdef int n
for i in range(other_molecules.size()):
^

"
—
Reply to this email directly, view it on GitHub
https://github.com/TBGAnsell/LipIDens/issues/3#issuecomment-2008610733,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN6N2Z63P6TI4HI72TXCNVLYZD7JBAVCNFSM6AAAAABEY2NIQGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBYGYYTANZTGM
.
You are receiving this because you commented.Message ID:
@.***>


Leaking control-flow (Frontal attack)

Description

Type: Bug
Priority: Minor

Bug
mbed TLS build:
Version: 2.16.6
OS version: SGX

Discoverers: Ivan Puddu, Moritz Schneider, Miro Haller, Srdjan Capkun, ETH Zurich (i.e., not me)
*Short description: The authors describe in their paper a way to determine control flow in SGX enclaves by precisely timing interrupt latency. This succeeds even in balanced branches such as:
if (secret == 'a') {
  var1 = 1 + var1;
  var2 = 1 + var2;
} else {
  var1 = 2 + var1;
  var2 = 2 + var2;
}

The root cause of this is that the front-end of the processor fetches instructions with a 16 byte well-aligned window. The time to resume an instruction will depend on its location within this fetch window (and thus its virtual address) and instructions near it.
Full description: https://arxiv.org/abs/2005.11516
Solution:

Remove the secret dependent branch altogether

*Code locations that require fixes:

mpi_montmul (bignum.c: 1924):

    if( mbedtls_mpi_cmp_abs( A, N ) >= 0 )
        mpi_sub_hlp( n, N->p, A->p );
    else
        /* prevent timing attacks */
        mpi_sub_hlp( n, A->p, T->p );

Thanks for letting us know! We do consider secret-dependent branches in private-key operations to be bugs when they are not protected by blinding, which this one isn't. We'll fix this one as soon as possible.

Thanks!

It turns out that the leak was originally analyzed by Sangho Lee, Ming-Wei Shih, Prasun Gera, Taesoo Kim, and Hyesoon Kim, Georgia Institute of Technology; Marcus Peinado, Microsoft Research (cited in Puddu et al.). As far as I can tell, the Mbed TLS team was not aware of that 2017 paper until now.


helm: fix volumes when specifying aws credentials file

Description of changes:
Currently, if you specify AWS credentials using the aws.credentials.secretName setting, the chart will render an invalid volumes field in the deployment:
[...]
volumes:- name: aws-creds
          secret:
            secretName: aws-creds

This PR is fixing this by removing the - at the end of the Helm if statement that is removing the newline.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@jjacobelli 0.0.2 should include this fix - lmk if you're still experiencing the same issue.


Ensemble Go - weather app cannot be exited

Launch Ensemble Go
enter this app id in the text field - IjZZeDQTaAvDgnHWVPs7
This should launch the weather app
Try to Exit the app, it doesn't work

no longer an issue


Query: Windows support?

Hey, I was just wondering how much investigation has been done in order to add windows support?
From my rudimentary google it looks like windows will be a giant pain so I presume that's why its not there already.
Is there interest in a windows version?

it looks like windows will be a giant pain so I presume that's why its not there already.

Exactly this, or at least that is my understanding as well.

Is there interest in a windows version?

There definitely is interest, though any near-term Windows support would have to come from outside contributors/PRs, as internally we don't have any near-term plans to support Windows.

If you happen to find, or create, a simple project that demonstrates using BLE from Kotlin on the Windows platform, then I'd use it as a reference for integrating support into Kable. 😄

@twyatt sweet. No worries. That all makes sense.
I have a couple of ideas so might give them a stab. It ultimately does look painful though so even if I get something working I'm not convinced it will be elegant.
I'll let you know how I go! :)


Unrecognized manifest key 'arc_metadata'.

I'm getting the above having tried to install skype.
I created the package on ubuntu 14.04, had the issue with extName not having a message section, and am now struggling with the above. The app installs, but has the android logo and launches with nothing but a box with the android logo.

I've waited for it to work for over 10 minutes now, and nothing. The only thing that I can find wrong is the arc_metadata. I'm using a Samsung Series 3 Chromebook, if that helps.

if it takes 5 minutes it sounds like the emulator is bad. shouldn't be so slow.


Support MaxMessageSizeInKilobytes

This feature is in preview currently and is enabled for premium namespaces.

XML Property - "MaxMessageSizeInKilobytes" (add it after all other properties)
Add new API version - "2021-05"
Add new get/set property MaxMessageSizeInKilobytes to QueueProperties, TopicProperties, CreateQueueOptions, and CreateTopicOptions
No validation on the client - let the service handle validation
Docs - Gets or sets the maximum message size in kilobytes for messages sent to this queue/topic. This feature is only available when using a Premium namespace and service version "2021-05" or higher.

7.5.0 version of the package has this feature that was added in #25147


Stream pipelinerun and taskrun logs

When user selects Show pipeilnerun logs, the logs should stream and follow if the pipeline is still running. Currently it shows the available logs and exits.

Fixed in: #99


Support creating certs without Ingresses

There should be a way to create certs without create Ingresses.

any update on this? I really want to try Kcert even since your podcast. But I didn't because I am waiting for this

I will try to find some time to do this in the next few weeks. I did some experiments and I think I found a reasonable way to do this.

v1.1.0 now has cert creation via ConfigMaps.


Quick edit not working with list of strings.

Describe the issue that you're seeing. Any Loom videos or screenshots usually help a lot!
When using { list: true, type: 'string' } in a field it does not seem like the new "quick edit works".
Reproduction: https://github.com/Irsanarisandy/online-profile-nextjs
Video: https://www.loom.com/share/fd14b5b3060d4542822f839ab1876081
Original Found on discord: https://discord.com/channels/835168149439643678/1108946470465449984
CC @jeffsee55
Reproduction
https://www.loom.com/share/fd14b5b3060d4542822f839ab1876081
Steps to reproduce
No response
System Info
System:
    OS: macOS 13.3.1
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 1.87 GB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 16.17.1 - ~/.nvm/versions/node/v16.17.1/bin/node
    Yarn: 1.22.19 - ~/dev/playground/online-profile-nextjs/node_modules/.bin/yarn
    npm: 8.15.0 - ~/.nvm/versions/node/v16.17.1/bin/npm
    Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 113.0.5672.126
    Firefox: 109.0.1
    Safari: 16.4
  npmPackages:
    @tinacms/auth: ^1.0.3 => 1.0.3
    @tinacms/cli: ^1.5.14 => 1.5.14
    tinacms: ^1.5.6 => 1.5.6

Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug.

For scalar list items there's a 3rd argument which is the index.
data-tina-field={tinaField(data.about, 'frontend', i)}

That will take you to the correct form panel, but won't focus it. I left focus management out of the initial work because it will be a bit of a larger task. Both the group itself (which is the first issue you pointed out) and the individual list item focus are things we need to fix but will require more changes to our fields, and we'll also need to expose the right API for custom fields to also be able to implement this. I'll change the name of this ticket to reflect that.


Upgrade wdio v8 ts

:boom: Breaking Change
Capability support:

removed support for JWP
logName:

removed from JWP
removed from sauce:options
removed from appium:options

name:

removed from JWP

platform

removed from JWP

platformVersion

removed from JPW
added appium prefix

deviceName

removed from JPW
added appium prefix

nativeWebScreenshot

removed from JPW
added appium prefix

Device support:

Dropped support for Desktop Safari 11, 12 and 13
Dropped support for iOS 13

:rocket: New Features

updated to WDIO V8
updated to TypeScript
add support for Android 13 and 14 on Android phones
add support for Android 9,10 and 13 for Android Tablets

:nail_care: Polish

update dependencies
update types
update desktop and mobile screenshots for testing

:bug: Bug Fix

updated the browser matrix

Looking forward to this. What do you think about having a general section on Visual Testing in the WebdriverIO docs and using this tool as a recommended option?

Sorry @christian-bromann
I missed this. I'll finish up the PR next week during my PTO.

What do you think about having a general section on Visual Testing in the WebdriverIO docs and using this tool as a recommended option?

Sure, what are you looking for/what are your ideas?

In our docs we currently have broad sections on Desktop Testing, Component Testing and Extension Testing. I think adding Visual Testing as a section makes sense. We could have this service as the recommendation for basic image comparison and allow vendors like Applitools, BrowserStack or Sauce Labs extend links for vendor solutions.
Furthermore I wonder what you think about moving this into the community org so we can help with maintaining the package?


Change algorithm for pruning counties from dataset

Dataset generation algorithm still principally works like:
for year in years
get data on all counties
And we still have the issue where the name and number of counties varies each year.
But now we remove a county from the dataset iff it is not present in both 2019 and 2021.
In short, we now say that we are only interested in counties which we can do a % change calculation on from 2019-2021 (which corresponds to covid).

Closes #40


Width does not expand to fit contents (data-on=data-off="very long string here")

Consider the following toggle:
<input checked data-toggle="toggle" data-size="mini" data-on="Very long string here" data-off="Very long string here" type="checkbox">
This looks like:

Is this by design or a bug? If design, is it possible to override? I need the toggles to expand to fit the (longest) string.

You have to use the attribute "data-width".
I think it does not adapt itself to the text so if you want so, you will have to code it...

data-width sets a hardcoded width. I have several swtiches with various text (so long it doesn't fit but still within reason) that I do not want to hardcode. Do you know approximately what to change/add or where to do it, just to get me started?

Nevermind, I used Bootstrap Switch instead which functions in much the same way, except it adjusts to the text.

It works fine with a calculated width of up to 127px - over that and it just sticks at 127, and sometimes throws an obscure javascript error in the console.

Same problem here... the example page works fine, but mine doesn't. The string is truncated and the width is calculated to 0, but the min-width overrides it and it shows up as the standard width. I'm creating my toggles using javascript.
Do I need to call some sort of resize function? How can I get the switch to resize itself correctly?

Just want to say that I ended up using bootstrap-switch which works very well.


Fix output locations

Closes https://github.com/informalsystems/apalache/issues/1059
This updates the benchmark tests to take account of the new log output configuration and locations introduced in #1036 and related PRs.
The first commit just autoformats the python file. The only relevant changes are in https://github.com/informalsystems/apalache-tests/pull/69/commits/907a71b5672fa68c29c5528ab4a557469bda8da2

The benchmarks are working again. See #70

Wow! That's cool. I guess, the change in the output happened to be more intrusive than expected.

Wow! That's cool. I guess, the change in the output happened to be more intrusive than expected.

It only took a dozen lines or so to adapt here, so the change wasn't intrusive per se.
But I do think the way we landed the feature may have introduced a bit of  unneeded complication and slowdown. We can talk about it on a bit on Monday maybe!


Fixing 0th rotation on the thumb bone when populating.

Summary

Fixes the updating of the 0th thumb bone within the OXR provider.

It would be taking old hand data to calculate it which would be incorrect. By product of performance changes.

Before/After (red is Leap direct, blue is OXR)
https://user-images.githubusercontent.com/6281246/220096809-3f9fb7a9-adca-4911-9e07-77ce503feb72.mp4
https://user-images.githubusercontent.com/6281246/220097098-eab89f00-8bd2-419a-8119-282906f0a9f9.mp4
Contributor Tasks
These tasks are for the merge request creator to tick off when creating a merge request.

[x] Pair review with a member of the QA team.
[x] Add any release testing considerations to the MR for the next release.
[x] Check any relevant CHANGELOG files have been updated.
[x] Ensure documentation requirements are met e.g., public API is commented.
[x] Consider any licensing/other legal implications for this MR e.g. notices required by any new libraries.
[x] Add any relevant labels such as breaking to this MR.
[ ] If this MR closes a Jira issue, make sure the fix version on the JIRA issue is set to the correct one.

Reviewer Tasks
Add any instructions or tasks for the reviewer such as specific test considerations before this can be merged.
Use emojis in review threads to communicate intent and help contributors.

[x] Code reviewed.
[x] Non-code assets e.g. Unity assets/scenes reviewed.
[x] Documentation has been reviewed. Includes checking documentation requirements are met and not missing e.g., public API is commented.
[x] Checked and agree with release testing considerations added to MR for the next release.

Closes JIRA Issue
Closes UNITY-1062

This was tested against Aurora 0.8.0 on Lynx where the issue was initially observed on Phys Hands.
Happy with the testing conducted here.


Enforce that Db classes have everything as 'open' for better Hibernate behavior

Like this:
@Entity
@Table(name = "registered_backfills")
open class DbRegisteredBackfill() : DbUnsharded<DbRegisteredBackfill>, DbTimestampedEntity {
  @javax.persistence.Id
  @GeneratedValue
  override lateinit var id: Id<DbRegisteredBackfill>

  @Column(nullable = false)
  open lateinit var service_id: Id<DbService>

  ...
}

Because that way Hibernate can do bytecode magic that yields better performance.
See also https://github.com/cashapp/backfila/pull/79/files

Lets use this:
https://stackoverflow.com/a/60276352
https://kotlinlang.org/docs/reference/compiler-plugins.html#all-open-compiler-plugin

See also: https://github.com/cashapp/backfila/pull/80/files


Documentation for downloading/uploading to storage is wrong

Bug report
Describe the bug
Documentation for storage instructs you to create a bucket "avatars" and make it public.
I did and uploaded an image in it.

Now when I want to download this image, I'm instructed to

Which is wrong, because it will make a request to bucket url

When instead it should be going this

And the Dart docs are also out of date.

Hey @huntedman! If you're following the instructions, the "download a file" JavaScript instruction actually corresponds to the one from the "upload a file" JavaScript instructions (https://supabase.com/docs/guides/storage#upload-a-file), so if you upload a file with a different name and folder, the instructions won't correspond.
Since you seem to have uploaded a file to the root in the avatars bucket, the proper instruction should be the following (not sure why you used .from("public/avatars") when you should use the bucket name (.from("avatars"))
const { data, error } = await supabase.storage.from('avatars').download('xxxxx.png')