Create a Zebra package in the Arch User Repository (AUR)

Motivation
Arch is a common distro and having a package in the AUR makes it trivial to install Zebra. zcashd has a package in the community repository, and Zebra will hopefully follow. Note that the community repository has a higher level of trust than the AUR and the Zebra package will have to earn this trust in order to be promoted. More info can be found here https://wiki.archlinux.org/title/Arch_User_Repository.

Note that the estimate of this issue might be exaggerated.

I think once we write a blog post about it we can close this one off. Can start off the blogpost with reasons for working on this, why an Arch linux package, how to create one and then finally all the details for the specific zebra one with a call to action to try it out and upvote.


ChangeView

How can i change the view of full calendar? My default view is 'month', but i want to change to 'listYear' when i search for something on the calendar

There looks like there is a method that I don't believe our component exposes.
https://fullcalendar.io/docs/views/changeView/
I will try and create a generic method that will allow you to fire these into the fullcalendar instance and can be called like this...
this.$refs.calendar.fireMethod('changeView', 'agendaDay')

Would that work for you?

Yes, i thing that will work. Thanks :smile:

Cool, so I have added this to v2.0.3
Let me know how you get on with it.


Allow DM to control control client map

Well i have a very rare usecase i think.
My Board Game Table has a TV in it where a Odroid-C4 sbc is attached to. This SBC opens up the dungeon-revaeler client view in kiosk mode. So what i wish to do is to control the client view without having to attach a mouse or keyboard. (Zomm in/out and move the map)
Any ideas how to do/implement this? I had an Idea that we can open a special client view which can be linked to another client view, but i think this would be too much effort to develop this for less benefit.
Should i go with some RDP tool? Or do you think it would be something to get into the app... But i have to say i do not have a good idea how this could be realized.

Duplicate of https://github.com/dungeon-revealer/dungeon-revealer/issues/207


Error with getting multiple messages in Receive Websocket Message Test Step

I have a "Receive Websocket Message" test step in my test case. It is configured as follows:
-Expected message type:Text
-Timeout: 10 seconds
-Stop after: 5 messages
I expect multiple messages and I have added Assertions according to that. When I make a test, I see only the first message in the text area, "Count" area's value is 1. However I also start a wireshark trace which shows that there are actually  2 messages sent by the server but the 2nd message is not reflected in the Text view and the assertions related with the 2nd expected message fail. I have tried this many times but I don't see the second message, only the 1st message is displayed.
I see the following in the SOAPUI logs:
Wed Feb 03 14:49:45 EET 2016:DEBUG:Connection can be kept alive indefinitely
WebSocketConnect success=true accepted protocol=
Message has been received within 182 ms - [Receive 200OK test step]
Thanks in advance,
Basar

For clarification:
'Timeout', 'Stop After' or 'Assertion (at least one message)' are mutually exclusive. The first occurrence of any one of these events will stop the Receive TestStep.
The underling websocket client is also stopped and disconnected but to 'slow' for the incomming second message that was send over the wire. With the websocket protocol there is no possibility for the client to control the message flow like a "next please". Messages arrive as long as the websocket is connected but the Receive TestStep has already ended and will not display that.
When designing you test think of a stream of messages where you expect that a message hits one of your assertions in a limited timeframe and/or limited number of messages.


Use an external lock around getting the session id

This takes the lock out of the transaction since releasing the lock before the transaction is committed does us no good.
The one caveat here is that in order for this to work we have to somehow lock the retrieval of the session id to a single mariadb session, otherwise the connection pool could switch sessions between the get and release lock and then the releasing of the lock would fail

At this point this is superseded by #13 but could make an interesting study on how to properly handle database locks


Using with Immutable.js

Does this library support using Immutable.js with Redux?
If not, it would be nice to add it.

I never try with Immutable.js yet. Is there anything that can affect the result?

I was playing around with Immutable.js this weekend so I decided to give this a try.
You can see an example of how this would work w/ Immutable in my fork: https://github.com/ecozoic/connected-react-router/pull/1/files
These changes assume your entire state object is an Immutable iterable (so you are using a library like redux-immutable). I've seen examples where the state object itself is mutable but all of its top level properties are immutable collections. Implementation for something like that would be slightly different.
This is just a POC, to do something for real we would ideally want this to be configurable somehow. Primary changes are in the ConnectedRouter where we read values from the store and in the connectRouter/routerReducer where we actually update state. Could maybe provide an "immutable" option on the router or more generally allow consumers to pass in some functions as props to customize behavior.

Thanks @ecozoic. I understand it now. I may provide useImmutable option to make it simple to use. (If you would like to submit a PR, it is welcome!)
I'm not sure how often people use other ways to select value from the state object. So, I may provide an option to specify selector function in the future if there are several requests on this feature.

I had made my own fork of this project supporting ImmutableJS, but it would be kind of stupid to make a separate PR when @ecozoic works wonders already! Great work.
I was wondering what the best API would be if you would support Immutable out of the box? One example is redux-form, eg it has 2 ways to import things;
import { Field } from 'redux-form'
import { Field } from 'redux-form/immutable'
It uses a factory function to create the correct type. Maybe the same principle can be used here?

@nickwaelkens I like the way redux-form did. I might go that path.

Hi all, I've made it support Immutable.js already in the 4.0.0-beta.3 release.
Just import ConnectedRouter, routerMiddleware and connectRouter from connected-react-router/immutable.
See more details here.

Great work @supasate. Will try this out soon but looks good!

Yes thanks so much @supasate ! Adding this to my react-starter and it seems to be working great!

@ecozoic Cool! Great to know it works for you!


Add Options to HTTP Query API

Flux has a language feature called options. Options are the mechanism by which configuration can be injected into a Flux script. Options can be set during runtime and referenced anywhere in the main package scope.
We should update the /query API endpoint to take a new options property that contains key value pairs for setting options on a query. Then we need to update the implementation to set those options at runtime.
A couple of questions I have:

Should options values be ast.Nodes or raw values and we define how to unmarshal them?
Should the flux.Compile method support generic options as values.Value or should the http server inject the options into the AST of the Flux script?

I am leaning towards using values.Value for option, since this means they can be injected at runtime without having to do a special parse + inject + format workflow.
The use case that drives this feature:
The UI needs to provide context under which the Flux query executes, things like the dashboard time range, time interval and any other user defined template variables.
By passing options on the HTTP API the frontend does not need to do any manipulation of the Flux text itself, rather it can submit two bits of info: the query text, and the options context.
It is possible that tasks will also benefit from this feature.

Using values.Value makes passing functions as value options a bit tricky. Do we just unmarshal semantic graph nodes and wrap them in an interpreter sort of like a built in?


Use new enhanced logging endpoints

LGTM

Note that if testing ha host logs identifiers you need to apply this branch to your system. I realized /host/logs/identifiers was not CLI friendly and adjusted it.


Facebook: Graph returned an error: Unknown path components: /me/photos

larasap.php
<?php

return [

    'facebook' => [
        'app_id' => '***',
        'app_secret' => '***',
        'default_graph_version' => '3.0',
        'page_access_token' => '***'
    ]

];

Code:
        SendTo::Facebook(
            'photo',
            [
                'photo' => 'image_path',
                'message' => 'Test message'
            ]
        );

It returns,

Graph returned an error: Unknown path components: /me/photos

What's the problem here?

@SagarNaliyapar What is image_path. Basically, you should put your image file in public folder and use public_path() function. example:

@alihesari I've done the same but getting same error 😕

I sovled it by add v char into the version,


Manage multiple Philips Hue bridges

I see that the method LocateBridgesAsync returns strings. I'm not quite sure if the bridge has a static IP address but is there any way to know their MAC address or get some kind of id to differentiate which bulbs belong to each bridge?
Thanks.

The bridges doesnt have static IP, it can change.
There is unique bridge id, so you can check that. Its called bridgeid.
More info here: https://developers.meethue.com/documentation/configuration-api   7.2

@freeubi this attribute only appears inside the RemoteHue class but looks like it can be accessed locally, so it looks like I just need to the HTTP request myself.
Thanks for the info!

There is a BridgeId in the BridgeConfig class. I think its available, but i cant check it right now :/

See PR #99
LocateBridgesAsync now returns a IP and a SerialNumber / BridgeId for each bridge

New version is now on NuGet (3.3.0)

@michielpost I didn't see that PR, thank you!


Failed to load system plugin

I followed the instruction in rmf_demos to get all the necessary packages and built ignition according to this file. When launching office demo with ignition support, I got the following errors
[ign-8] [Err] [SystemLoader.cc:101] Failed to load system plugin [slotcar] : system not found in library  [libslotcar.so] from path [/home/makinohara/rmf_demos_ws/install/building_ignition_plugins/lib/libslotcar.so].
[ign-8] [Err] [SystemLoader.cc:101] Failed to load system plugin [slotcar] : system not found in library  [libslotcar.so] from path [/home/makinohara/rmf_demos_ws/install/building_ignition_plugins/lib/libslotcar.so].
[ign-8] [Err] [SystemLoader.cc:101] Failed to load system plugin [door] : system not found in library  [libdoor.so] from path [/home/makinohara/rmf_demos_ws/install/building_ignition_plugins/lib/libdoor.so].
[ign-8] [Err] [SystemLoader.cc:101] Failed to load system plugin [door] : system not found in library  [libdoor.so] from path [/home/makinohara/rmf_demos_ws/install/building_ignition_plugins/lib/libdoor.so].
[ign-8] [Err] [SystemLoader.cc:101] Failed to load system plugin [door] : system not found in library  [libdoor.so] from path [/home/makinohara/rmf_demos_ws/install/building_ignition_plugins/lib/libdoor.so].

Because of these errors, I can now only start the 3D scenario but cannot send requests. I don't know what is causing the problem since the files reporting errors are present.
I am using feature/add_ignition_support branch for rmf_demos and feature/ign_lift_plugin for traffic_editor. Both are built up to date

I would probably try to use the ign_plugins branch first since it's a bit more stable, and wait for the lift pr to be merged before trying to do multilevel simulations.

I switched to ign_plugins and built again, the problem persists
Here is the warning from building_ignition_plugins I got during building, I don't know if it is related (I think I have seen it in buildings that did not have the problem)
--- stderr: building_ignition_plugins
/home/makinohara/rmf_demos_ws/src/traffic_editor/building_sim_plugins/building_ignition_plugins/src/door.cpp: In member function ‘virtual void building_ignition_plugins::DoorPlugin::Configure(const Entity&, const std::shared_ptr<const sdf::v9::Element>&, ignition::gazebo::v4::EntityComponentManager&, ignition::gazebo::v4::EventManager&)’:
/home/makinohara/rmf_demos_ws/src/traffic_editor/building_sim_plugins/building_ignition_plugins/src/door.cpp:61:48: warning: unused parameter ‘_eventMgr’ [-Wunused-parameter]
     EntityComponentManager& ecm, EventManager& _eventMgr) override
                                  ~~~~~~~~~~~~~~^~~~~~~~~
---

The warning is unrelated, I'm really not sure what is happening, can you post the result of
which ign
and
ign gazebo --version
Also might be good to go through all the repos in the ignition workspace and do a git pull to make sure they are up to date

The warning is unrelated, I'm really not sure what is happening, can you post the result of
which ign
and
ign gazebo --version
Also might be good to go through all the repos in the ignition workspace and do a git pull to make sure they are up to date

I just the checked that all the repos in ws_dome were on the correct branch and pulled the latest version. The problem still exists after building.
Here is the result for the two commands you mentioned
makinohara@makinohara-Predator-G3-571:~/ws_dome$ which ign
/home/makinohara/ws_dome/install/bin/ign
makinohara@makinohara-Predator-G3-571:~/ws_dome$ ign gazebo --version
Ignition Gazebo, version 2.20.1
Copyright (C) 2018 Open Source Robotics Foundation.
Released under the Apache 2.0 License.

makinohara@makinohara-Predator-G3-571:~/ws_dome$ ign gazebo --version
Ignition Gazebo, version 2.20.1
Copyright (C) 2018 Open Source Robotics Foundation.
Released under the Apache 2.0 License.

If you are building from source the output should be:
Ignition Gazebo, version 4.0.0~pre1
Copyright (C) 2018 Open Source Robotics Foundation.
Released under the Apache 2.0 License.

Make sure you are on the right ign-gazebo branch (master) and that you sourced your dome_ws install.bash file

So I removed the libignition-gazebo2-dev and rebuilt ignition dome from source, now I am encountering the problem of gazebo not available on my computer.

I am confused why this happens, since the building of ignition-gazebo4 finished with no problem and I have also sourced the setup.bash file.

This is very puzzling, I wonder if anything changes if you take away the
symlink install option?
On Sun, Jul 19, 2020, 12:39 PM MakinoharaShouko<EMAIL_ADDRESS>wrote:

So I removed the libignition-gazebo2-dev and rebuilt ignition dome from
source, now I am encountering the problem of gazebo not available on my
computer.
[image: image]
https://user-images.githubusercontent.com/57300801/87866932-6a7cb580-c93c-11ea-99f8-99444877f168.png
I am confused why this happens, since the building of ignition-gazebo4
finished with no problem and I have also sourced the setup.bash file.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/osrf/traffic_editor/issues/177#issuecomment-660586050,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACFQQBUBEFVUA7GPFFBGW2TR4J2JBANCNFSM4OQH5JSQ
.

No it is still the same output
I also tried binary install of libignition-gazebo4-dev but kept getting package could not be located. I have added package repos according to this document.

Apologies forgot about this, I noticed from your screenshot that it was not a clean build. Can you try to remove all the build folders (build, install and log) and try to rebuild just doing:
colcon build --merge install

I tried to remove everything and then build again. It is still not working
I got the full output for building
Starting >>> ignition-cmake2
Starting >>> ignition-tools
Finished <<< ignition-cmake2 [1.83s]
Starting >>> ignition-math6
--- stderr: ignition-tools
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
  It was not provided by the
  find-module for the package, nor was it explicitly passed into the call to
  ign_find_package(~).  This is most likely an error in this project's use of
  ign-cmake.
Call Stack (most recent call first):
  CMakeLists.txt:41 (ign_find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

  It was not
  provided by the find-module for the package, nor was it explicitly passed
  into the call to ign_find_package(~).  This is most likely an error in this
  project's use of ign-cmake.
Call Stack (most recent call first):
  CMakeLists.txt:49 (ign_find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

---
Finished <<< ignition-launch3 [19.9s]

Summary: 15 packages finished [24min 23s]
  4 packages had stderr output: ignition-fuel_tools4 ignition-launch3 ignition-rendering4 ignition-tools

The warnings are not from ignition-gazebo. I am not sure if they are related. Additionally, I built nvidia optix on my machine, but the warning of missing optix still exists

All the warnings (including Optix) are unrelated don't worry about them.
I am honestly very puzzled, other than making sure you are on the right branches and pulling the latest version for each of the repositories I'm not sure how to proceed. I have never seen / heard of anyone having such an issue before. I wonder if there is some conflict with some other workspace you are sourcing (did you add a lot of things to your .bashrc?)


Set random state in cr.pl.cluster_lineage

[ ] Additional function parameters, change functionality or change defaults?
[ ] New estimator in cr.tl.estimators?
[ ] New kernel in cr.tl.kernels?
[ ] New gene trend model in cr.ul.models?
[ ] New plotting function in cr.pl?
[ ] Other?

There are several commands in here which have some level of randomness, i.e. louvain has a random state, and so does sc.pp.neighbors. Can you please expose a random_state parameter and pass this on internally to every method that has a random_state parameter? It would be important to make this reproducible.

fab, thanks.


notebooks to illustrate library

Create notebooks to illustrate the topological curse of dimensionality as well as how to use the library created for those purposes

The hyperbolic notebook is almost on. Now it is pending to define in lay-terms the contrast variable.


what's is the password for the user "ubuntu"? I just can't login with command "vagrant ssh"

I want to change the defalut "login" dir, so changed the /etc/passwd file, after that "vagrant ssh" ask for the password. and why my username is "ubuntu", not "vagrant" like others?

# I just found the password, it's in the "......vagrant.d\boxes\ubuntu-VAGRANTSLASH-zesty64\20170922.0.0\virtualbox\Vagrantfile". but I don't konw how to close or delete this issue.

I'll do it, thanks anyway.


fix: Add missing priority parameters

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[x] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[x] Appropriate docs were updated (if necessary)

Fixes #173 🦕

Some parameters for the security policies were missing :) All the functionality is there, I just had to add them.
If you supply them via the request parameter instead of the flat arguments, it all works fine – we're just missing priority in the flat arguments.

Got a comment saying this was an issue with the API code generator so probably not something I can commit a fix against which is a shame :)


Move main.go config into controller package

This is the first PR moving the logic in main.go into a controller package, so that logic can be shared with the collector receiver setup.
See https://github.com/open-telemetry/opentelemetry-ebpf-profiler/pull/160#discussion_r1806072005
This first PR moves the arguments configuration and validation into the new package.

CI failure is a network error.


Adequately document SA controls in SSP

In order for compliance reviewers to understand our system, we need to update this family of control statements to explain our system (and policies and procedures) in more precise and thorough detail.
Setup
Read the guidance in HOWTO update the SSP before working on this.

SA Google Doc

Acceptance criteria
SA-1:

[ ] This is updated like our other -1 controls. [SRTM]

SA-2:

[ ] Part a: This is updated to describe how we "formally define requirements in our delivery process for identifying security requirements during the planning phase of new features being added or changes to existing features in the cloud.gov environment." (Or marked as planned.) [SRTM]
[ ] Part b: This is updated to describe how we've "formally implemented capital planning and  investment control processes to determine resources required, document the resources required, and allocate the resources required to protect the Cloud.Gov information system". (Or marked as planned.) [SRTM]
[ ] Part c: This is updated to describe that we've done this: "establish a discrete line item for Cloud.Gov information security in organizational programming and budgeting documentation. (Or marked as planned.) [SRTM]

SA-3:

[ ] Part b: We describe how we've done this, or marked it as planned: "Formally define in the Cloud.Gov SSP and documented the information security roles and responsibilities throughout the Cloud.Gov system development lifecycle". [SRTM]
[ ] Part c: We describe how we've done this, or marked it as planned: "formally identified all individuals having information security roles and responsibilities as they relate to the Cloud.Gov environment" [SRTM]
[ ] Part d: We describe how we've done this, or marked it as planned: "integrated the security risk management processes identified in the GSA IT Security Procedural Guide: Managing Enterprise Risk, Security Assessment and Authorization, Planning and Risk Assessment (CIO-IT Security-06-30) into the 18F Delivery Process." [SRTM]

SA-9:

[ ] Part c: We've explained we fulfill this requirement; this may involve referencing our upcoming table of services (https://github.com/18F/cg-product/issues/294). SRTM note says: "18F is bound by the acquisition policies enforced by the General Services Administration (GSA), which include CIO P2100.1 (SA-9a_18F_General), GSA Security Language for IT Acquisition Efforts, CIO-IT_Security-09-48 (SA-9b_18F_General), and the Federal Acquisition Regulation (FAR) (SA-9c_18F_General). However, 18F has not demonstrated that continuous monitoring activities are being employed by 18F for the GitHub, Trello, and Slack external service providers on an ongoing basis." [SRTM]

SA-9 (1):

[ ] Part a: We've updated this statement to explain with more clarity that this is GSA's responsibility. SRTM note says "As a member of the GSA, this control implementation is outside the responsibilities of 18F personnel and is the responsibility of the Office of the CIO." [SRTM]

SA-9 (2):

[ ] We've updated this statement to explain the actual 18F/TTS/GSA policies we work with. (SRTM note says "the General Services Administration (GSA) requires that any external service provider is required to identify: the functions required for the use of such services, the ports required for the use of such services, the protocols required for the use of such services, and the other services required for the use of such services".) [SRTM]

SA-9 (4):

[ ] This is updated to reflect our actual policies and practices. SRTM note says "the General Services Administration (GSA) requires that any external service receives an Authority to Operate (ATO), which includes the alignment of organizational interests...18F did not demonstrate that the GitHub, Trello, and Slack external service providers had received an ATO from the GSA." [SRTM]

SA-9 (5):

[ ] This statement is updated to more comprehensively describe where we put system data and how we list/define those places (GitHub, Slack, and so on). We may link to https://docs.cloud.gov/ops/third-parties/ or to the services table attachment. [SRTM]

SA-10:

[ ] Part a: This is updated to reflect: "18F requires that system development/integrators perform configuration management during information system component or service design, development, implementation, and operation. Configuration and deployment of the Cloud.Gov platform is managed using BOSH, which is an open source tool for release engineering, deployment, lifecycle management, and monitoring of distributed systems." and reference https://docs.cloud.gov/ops/configuration-management/ [SRTM]
[ ] Part b: This is updated to reflect more precisely that "BOSH configurations are placed under configuration management control." and "SHA-1 hashes are provided as part of all BOSH releases to allow verification of file integrity...deployment artifacts are provided alongside all BOSH releases and include SHA-1 hashes to conduct file integrity checks prior to deployment. Once a BOSH release is ready for deployment, a developer creates a SHA-1 hash of the release and a hash check is conducted to calculate and verify the checksum/hash of the release prior to deployment in the production Cloud.Gov environment." [SRTM]
[ ] Part c: This is updated to reflect more precisely that "pull requests are utilized by 18F to document changes that have been made to a repository on GitHub. Once a pull request is sent, the appropriate parties can review the set of changes, discuss potential modifications, and push follow-up commits if necessary. Once the pull requests unit, integration and user-acceptance testing is reviewed, the pull request is deployed to the production Cloud.Gov environment." [SRTM]
[ ] Part d: This is updated to reflect more precisely that "developers of the Cloud.Gov environment submit pull requests for configuration changes pushed to a repository on GitHub. All source code changes are required to complete unit, integration, and user-acceptance testing prior to being released in the production Cloud.Gov environment...18F documents approved changes via pull requests in the GitHub tool. In addition, 18F conducts unit, integration, user-acceptance, and static code analysis to identify and document potential security impacts of proposed changes in the Cloud.Gov environment." [SRTM]
[ ] Part e: This is updated to reflect more precisely that "security flaws are tracked via the 18F continuous integration continuous deployment (CI/CD) pipeline...18F tracks security flaws via the 18F continuous integration continuous deployment (CI/CD) pipeline for each Cloud.Gov build." and also to explain any "processes and procedures in place for reporting security flaws identified as part of unit, integration, user-acceptance, and static code analysis to the System Owner (SO), Information System Security Officer (ISSO), and Security Operations." [SRTM]

SA-11:

[ ] Part a: This is updated to reflect: "This requirement is not referring to the SAP that’s developed as part of the annual assessment process.  It’s referring to an internal security assessment plan that describes how you test & evaluate your code (everything you describe in parts b through e)." [PMO comment]
[ ] Part a: This is updated to describe "processes and procedures requiring developers to create and implement security plans for changes made to the Cloud.Gov environment." [SRTM]
[ ] Part b: This is updated to describe more precisely "developers are required to conduct unit, integration, and user-acceptance testing for all Cloud.Gov deployments." and "The results of all testing/evaluation is maintained in the Cloud.Gov continuous integration continuous deployment (CI/CD) pipeline." [SRTM]
[ ] Part c: This is updated to describe more details along the lines of part b (or just say see part b). [SRTM]
[ ] Part d: This is updated to describe "18F requires developers/integrators to perform testing on development changes and remediate any identified flaws prior to release into the production environment." and "18F requires developers/integrators to remediate any failures/flaws identified as part of unit, integration, and user-acceptance testing prior to release into the production environment. The results of all remediation efforts are maintained in Cloud.Gov continuous integration and continuous deployment (CI/CD) pipeline." [SRTM]
[ ] Part e: This is updated to describe more details along the lines of part e (or just say see part e). [SRTM]

SA-11 (1):

[ ] This describes in more detail that "the Cloud Foundry community utilizes the Code Climate static code analyzer on platform components such as BOSH and Cloud Controller. The results of the scan are publicly available and can be conducted by 18F at any time." and "18F conducts regular static code analysis for all Cloud.Gov deployments prior to release into the production environment." [SRTM]

SA-11 (2):

[ ] Statement is checked for accuracy and whether we can add any detail. [SRTM]

SA-11 (8):

[ ] This describes in more detail that we use the "Gemnasium third-party tool to identify dependencies in Cloud.Gov deployments and alert when security vulnerabilities are identified in those dependencies." and any other relevant details. [SRTM]

SA overall:

[ ] Check that responsible roles, parameters, implementation statuses, control originations, and control statements make reflect our system and make sense overall.

Implementation guidance
During grooming, take items from the following and list them as specific tasks above.

[x] Required JAB reviewer items (additional notes here)
[x] SRTM items identified by our 3PAO as "moderate" differential (if not already marked green there).
[x] SRTM items identified by our 3PAO as "low" differential (if not already marked done there).
[x] Word doc comments (in Google Drive) from our ISSO (which provide a helpful reader perspective on confusing bits). They don't all need to be addressed, but useful as guidance.
[x] Word doc comments (in Google Drive) from our PMO (which provide a helpful reader perspective on confusing bits). They don't all need to be addressed, but useful as guidance.
[x] Any relevant notes in the SSP check working space
[x] Check that control origination statements make sense (look for notes here and look through the controls); if you change a checkbox, make a note in that spreadsheet.

This needs a lot of subject matter expertise about planning at a high level for cloud.gov - we suspect some of this is handled by GSA/18F or even 18F Products & Platforms.

I'll take it from here.

Closing as "what we did on SA during PI7"; afawk SA is done.


[Bug]: Setup error

Is there an existing issue for the same bug?

[X] I have checked the troubleshooting document at https://opendevin.github.io/OpenDevin/modules/usage/troubleshooting
[X] I have checked the existing issues.

Describe the bug
I ran the docker container and entered my gpt4 (yes i pay) API key but it said i don't have access to the model? i made a new project key and got the same error. i tried gpt4 turbo and got the same error. lmk if you know what I'm missing.

Current Version
ghcr.io/opendevin/opendevin:0.5

Installation and Configuration
none extra

Model and Agent
gpt-4
Reproduction Steps

Cloned
Made workspace folder
Set workspace_base
Copy pasted docker run from the readme
Waited
Selected gpt-4 in pop menu and entered my new project key i made from openAI official website
It failed :(

Logs, Errors, Screenshots, and Additional Context

I tried again today and it still does not work.

how do you run it?

I cloned the repo --> cd into it --> set workspace_base (export WORKSPACE_BASE=$(pwd)/workspace;) --> docker run command from the readme --> enter api key --> it doesnt work with new api keys (yes i pay for gpt4)

Run this to check whether LLM is working properly.
import tomllib as toml
from litellm import completion
from datetime import datetime
file_path=r'config.toml'
config = toml.load(open(file_path,'rb'))

messages = [{ "content": "If there are 10 books in a room and I read 2, how many books are still in the room?","role": "user"}]
dt = datetime.now()
response = completion(model=config['LLM_MODEL'],
                        api_key=config['LLM_API_KEY'],
                        base_url=config.get('LLM_BASE_URL'),
                      messages=messages)

content = response.choices[0].message.content
print(content)

if '8' in content:
    print('--> Correct answer! 🎉')
    print('There are still 10 books in the room; reading them does not reduce the count. Consider exploring more accurate models for better results.')

dt2 = datetime.now()
print('Used model:',config['LLM_MODEL'])
print(f"Time taken: {(dt2-dt).total_seconds():.1f}s")

@zlip123 Does it work with gpt-3.5-turbo?

@SmartManoj Do I make this file in the tests folder and download the dependencies and run through terminal?

You can run anywhere.
Run this to check whether LLM is working properly.
from litellm import completion
from datetime import datetime
config = {
    'LLM_MODEL': 'gpt-4-turbo-2024-04-09',
    'LLM_API_KEY': 'your-api-key',
    'LLM_BASE_URL': ''
}

messages = [{ "content": "If there are 10 books in a room and I read 2, how many books are still in the room?","role": "user"}]
dt = datetime.now()
response = completion(model=config['LLM_MODEL'],
                        api_key=config['LLM_API_KEY'],
                        base_url=config.get('LLM_BASE_URL'),
                      messages=messages)

content = response.choices[0].message.content
print(content)

if '8' in content:
    print('--> Correct answer! 🎉')
    print('There are still 10 books in the room; reading them does not reduce the count. Consider exploring more accurate models for better results.')

dt2 = datetime.now()
print('Used model:',config['LLM_MODEL'])
print(f"Time taken: {(dt2-dt).total_seconds():.1f}s")

Yes, @zlip123 , you can run it through the terminal. This will help test whether it's a problem with your API key or something else.


Block auth for test user

fixes https://github.com/2i2c-org/meta/issues/321
adds the test username to the list of users that are not allowed to login using the authentication flow
the test hub service can still create this user, and start a server for it
I have checked how this will behave for username_pattern and blocked_users takes priority over username_pattern in the auth flow, and it works as expected
we're blocking this username for all hubs, no matter the authenticator used, since it doesn't hurt, simplifies the implementation, and it will be useful if we ever want to do domain stripping for the hubs using the email claim

Thanks for brainstorming with me on this one @sgibson91 ❤


Dockerhub rate limit - 146

[Auto generated]
Number: [#146]

github-webhook-server: Closing issue for PR: Dockerhub rate limit.
PR was closed.


utils/ansible_runner: Use ssh_args from ansible.cfg

If ssh_args is set in Ansible's configuration file, use those arguments when
connecting to hosts.
Signed-off-by: Benoît Knecht<EMAIL_ADDRESS>

Merged, thanks!


Update clean-unused-caches

Checkmain

Hi @Baimaikp, as mentioned several times before, we are unable to merge these pull requests unless you chat with us on chat.zulip.org. It seems like you are reading the codebase well and have valuable contributions to make, but we are unable to work with you if you do not join the chat. We will likely have to block you if you continue to submit PRs without joining chat.zulip.org.


RC2: Regression with Parent/Child relationship

Steps to reproduce
Use the following code to reproduce:
    class Program
    {
        static void Main(string[] args)
        {
            if (File.Exists("test.db"))
                File.Delete("test.db");

            using (var context = new WidgetContext())
            {
                context.Database.Migrate();
            }

            using (var context = new WidgetContext())
            {
                for (int i = 0; i < 10; i++)
                {
                    var w = new Widget();
                    context.Widgets.Add(w);
                }

                context.SaveChanges();
            }

            using (var context = new WidgetContext())
            {
                var widgets = context.Widgets.ToList();
                widgets[0].ParentWidget = widgets[1];
                context.SaveChanges();
            }

            using (var context = new WidgetContext())
            {
                var widgets = context.Widgets.ToList();
                try
                {
                    Console.WriteLine(widgets[1].ChildWidgets.Count);
                }
                catch (Exception e)
                {
                    Console.WriteLine("oops, didn't connect childwidgets collection.");
                    Console.WriteLine(e);
                }
                widgets[0].ParentWidget = widgets[2];
                try
                {
                    context.SaveChanges();
                    Console.WriteLine("Saved change of parent.");
                }
                catch (Exception e)
                {
                    Console.WriteLine("oops, couldn't alter the parent Id");
                    Console.WriteLine(e);
                }
            }
        }
    }

    class WidgetContext : DbContext
    {
        public DbSet<Widget> Widgets { get; set; }

        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            optionsBuilder.UseSqlite("Filename=test.db");
        }
    }

    public class Widget
    {
        public int Id { get; set; }

        public int? ParentWidgetId { get; set; }

        [InverseProperty(nameof(ChildWidgets))]
        [ForeignKey(nameof(ParentWidgetId))]
        public Widget ParentWidget { get; set; }

        [InverseProperty(nameof(ParentWidget))]
        public List<Widget> ChildWidgets { get; set; }
    }

Add nuget packages for appropriate version of EntityFramework.Sqlite/EntityFrameworkCore.Sqlite and EntityFramework.Commands/EntityFrameworkCore.Tools.
Create an initial migration.
The issue
On RC2, the ChildWidgets collection on each Widget when loading the entire table, so the line
Console.WriteLine(widgets[1].ChildWidgets.Count);
throws a NullReferenceException. This works correctly on RC1.
Additionally, changing the ParentWidget of a Widget that already has a parent set fails when the changes are saved to the database with the following exception.
System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.RemoveFromCollectionSnapshot(IPropertyBase propertyBase, Object removedEntity)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.NavigationFixer.RemoveFromCollection(InternalEntityEntry entry, INavigation navigation, IClrCollectionAccessor collectionAccessor, Object value)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.NavigationFixer.KeyPropertyChanged(InternalEntityEntry entry, IProperty property, IReadOnlyList`1 containingPrincipalKeys, IReadOnlyList`1 containingForeignKeys, Object oldValue, Object newValue)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntryNotifier.KeyPropertyChanged(InternalEntityEntry entry, IProperty property, IReadOnlyList`1 keys, IReadOnlyList`1 foreignKeys, Object oldValue, Object newValue)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.ChangeDetector.DetectKeyChange(InternalEntityEntry entry, IProperty property)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.ChangeDetector.PropertyChanged(InternalEntityEntry entry, IPropertyBase propertyBase, Boolean setModified)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntryNotifier.PropertyChanged(InternalEntityEntry entry, IPropertyBase property, Boolean setModified)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetProperty(IPropertyBase propertyBase, Object value, Boolean setModified)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.NavigationFixer.SetForeignKeyProperties(InternalEntityEntry dependentEntry, InternalEntityEntry principalEntry, IForeignKey foreignKey, Boolean setModified)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.NavigationFixer.NavigationReferenceChanged(InternalEntityEntry entry, INavigation navigation, Object oldValue, Object newValue)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntryNotifier.NavigationReferenceChanged(InternalEntityEntry entry, INavigation navigation, Object oldValue, Object newValue)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.ChangeDetector.DetectNavigationChange(InternalEntityEntry entry, INavigation navigation)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.ChangeDetector.DetectNavigationChanges(InternalEntityEntry entry)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.ChangeDetector.DetectRelationshipChanges(InternalEntityEntry entry)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.ChangeDetector.DetectChanges(InternalEntityEntry entry)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.ChangeDetector.DetectChanges(IStateManager stateManager)
   at Microsoft.EntityFrameworkCore.DbContext.TryDetectChanges(IStateManager stateManager)
   at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean acceptAllChangesOnSuccess)
   at Microsoft.EntityFrameworkCore.DbContext.SaveChanges()

Again, this works correctly on RC1. I suspect this may be a consequence of the ChildWidget list being left null - so a maybe just another symptom of the first problem.
Further technical details
EF Core version: 1.0.0-rc2-final
Operating system: Windows 10 Pro x64
Visual Studio version: VS2015 update 2
Other details about my project setup: Console App, Target : .NET 4.5.2

Confirmed that this is a bug. When loading the Widgets the self-referencing relationship is not being fixed up. The workaround is to include the child collection in the query:
var widgets = context.Widgets.Include(e => e.ChildWidgets).ToList();

This is a situation where the state manager is expecting query to do the fixup since it is all self-contained within the query, which means query needs to be able to do it anyway to support no-tracking queries.
However, I suspect from the perspective of query it will never do this fixup, even for no-tracking queries, because the navigation property is not included in the query. In other words, if you do a no-tracking query for entities with self references, then those references will never be fixed up. If you want them to be fixed up, then you have do an Include.
If we decide that this is the correct behavior for query, then the state manager cannot use fast single query mode for tracked queries that contain self references.
@divega @anpete @rowanmiller

Thanks for the suggestion of a workaround - I think that will be fine for our use case for now.
While continuing to experiment I found another anomaly in the same area - if you explicitly query for the child widgets without using .Include(), the results of the fixup are inconsistent - the ChildWidgets list only contains the items loaded into the context by the query and not any items already loaded by previous queries.
  static void Main(string[] args)
        {
            if (File.Exists("test.db"))
                File.Delete("test.db");

            using (var context = new WidgetContext())
            {
                context.Database.Migrate();
            }

            using (var context = new WidgetContext())
            {
                Widget first = new Widget();
                context.Widgets.Add(first);
                for (int i = 0; i < 10; i++)
                {
                    var w = new Widget {ParentWidget = first};
                    context.Widgets.Add(w);
                }

                context.SaveChanges();
            }

            using (var context = new WidgetContext())
            {
                var widget = context.Widgets.First();
                var children = context.Widgets.Where(x => x.ParentWidgetId == widget.Id).ToList();
                Console.WriteLine(widget.ChildWidgets.Count);  // 10, that's good
            }

            using (var context = new WidgetContext())
            {
                var widgets = context.Widgets.Take(5).ToList(); // load 5 widgets into the context
                var widget = widgets.First();
                var children = context.Widgets.Where(x => x.ParentWidgetId == widget.Id).ToList();
                Console.WriteLine(widget.ChildWidgets.Count);  // 6, that's interesting!
            }

            using (var context = new WidgetContext())
            {
                var widgets = context.Widgets.ToList();  // load all the widgets into the context
                var widget = widgets.First();
                var children = context.Widgets.Where(x => x.ParentWidgetId == widget.Id).ToList();
                Console.WriteLine(widget.ChildWidgets.Count);  // NullReferenceException!
            }
        }

Not sure what the expected behaviour should be here, but I don't think it should depend on which objects have already been loaded previously.

@rwg0 The bug is due to fixup not happening in query. The change In have out for this will therefore fix the issues in the second repro as well.

Sorry for really stupid question, but since we're having this as well - what version should we be targeting to get the fix? 1.0.0 was released 16 days ago and this fix was committed at the time of writing 8 days ago. We have a parent/child relation like the one on this issue and null reference flying from same method in the internals.

@mkontula Fix is in 1.0.0.

@ajcvickers Thanks for the info. I actually found out a way to make it brake, when you setup the parent/child relation for parent AND child and then SaveChanges to context. I'll make reproable sample later.


Preparation for V3.1 release

I propose to release a minor version to reflect the changes since v3.0.
Please test the following items and check the documentation if they are done.

[x] new onnx models and operators   @joddiy
[x] distributed training @chrishkchris
[x] computational graph to support RNN @chrishkchris
[x] website update @nudles
[x] pypi package generation @nudles
[x] github workflow for code quality and coverage management @moazreyad
[x] tensor APIs @dcslin
[x] new autograd operators @joddiy
[ ] anything else?

Here is the checklist and steps

[ ] Select a release manager. The release manager (RM) is the coordinator for the release process. It is the RM's signature (.asc) that is uploaded together with the release. The RM generates KEY (RSA 4096-bit) and uploads it to a public key server. The RM needs to get his key endorsed (signed) by other Apache user, to be connected to the web of trust. He should first ask the mentor to help signing his key. How to generate the key?

[ ] Check license. FAQ; SINGA Issue

[ ] the codebase does not include third-party code which is not compatible to APL;
[ ] The dependencies are compatible with APL. GNU-like licenses are NOT compatible;
[ ] All source files written by us MUST include the Apache license header: http://www.apache.org/legal/src-headers.html. There's a script in there which helps propagating the header to all files.
[ ] Update the LICENSE file. If we include any third party code in the release package which is not APL, must state it at the end of the LICENSE file and include the license boilerplate in the original file.

[ ] Bump the version. Check code and documentation

[ ] The build process is error-free.
[ ] Unit tests are included (as much as possible)
[ ] Conda packages run without errors.
[ ] The online documentation on the Apache website is up to date.

[ ] Prepare the RELEASE_NOTES file. Include the following items, Introduction, Features, Bugs (link to JIRA or Github PR), Changes, Dependency list, Incompatibility issues. Follow this example.

[ ] Prepare DISCLAIMER file. Modify from the template

[ ] Package the release candidate. The release should be packaged into : apache-singa-VERSION.tar.gz. The release should not include any binary files including git files. Upload the release to for stage. The tar file, signature, KEY and SHA256 checksum file should be included. MD5 is no longer used. Policy is here

apache-singa-VERSION.tar.gz
KEY
XX.acs
.SHA256

[ ] Call for vote by sending an email
To<EMAIL_ADDRESS>Subject: [VOTE] Release apache-singa-X.Y.Z (release candidate N)

Hi all,

I have created a build for Apache SINGA X.Y.Z, release candidate N.
The artifacts to be voted on are located here:  xxxx
The hashes of the artifacts are as follows: xxx
Release artifacts are signed with the following key: xxx
Please vote on releasing this package. The vote is open for at least 72 hours and passes if a majority of at least three +1 votes are cast.

[ ] +1 Release this package as Apache SINGA X.Y.Z
[ ] 0 I don't feel strongly about it, but I'm okay with the release
[ ] -1 Do not release this package because...

Here is my vote:
+1

[ ] Wait at least 48 hours for test responses. Any PMC, committer or contributor can test features for releasing, and feedback. Everyone should check these before vote +1. If the vote passes, then send the result email. Otherwise, repeat from the beginning.
Subject: [RESULT] [VOTE] Release apache-singa-X.Y.Z (release candidate N)
To<EMAIL_ADDRESS>
Thanks to everyone who has voted and given their comments. The tally is as follows.

N binding +1s:
<names>

N non-binding +1s:
<names>

No 0s or -1s.

 I am delighted to announce that the proposal to release Apache SINGA X.Y.Zhas passed.

[ ] Upload the package for distribution to https://dist.apache.org/repos/dist/release/VERSION/.

[ ] Update the Download page of SINGA website. The tar.gz file MUST be downloaded from mirror, using closer.cgi script; other artifacts MUST be downloaded from main Apache site. More details here. Some feedback we got during the previous releases:  "Download pages must only link to formal releases, so must not include links to GitHub.",  "Links to KEYS, sigs and hashes must not use dist.apache.org; instead use https://www.apache.org/dist/singa/...;", "Also you only need one KEYS link, and there should be a description of how to use KEYS + sig or hash to verify the downloads."

[ ] Remove the RC tag and compile the conda packages.

[ ] Publish the release information.
To<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: [ANNOUNCE] Apache SINGA X.Y.Z released

We are pleased to announce that SINGA X.Y.Z is released.

SINGA is a general distributed deep learning platform for training big deep learning models over large datasets.
The release is available at: http://singa.apache.org/downloads.html
The main features of this release include XXX
We look forward to hearing your feedback, suggestions, and contributions to the project.

On behalf of the SINGA team, {SINGA Team Member Name}

got it, thanks! I will test the distributed training and computational graph to support RNN, also check the corresponding documentation.

The workflow for coverage is ready in #788 and Travis CI can be removed now as discussed in #790.
More workflows can be made to automate packaging (pypi, debian, etc.) and to automate website updates.

Please add details about the changes that you have made since v3.0.0. Follow the release note

changelog 2020-09-24:

Added

BiLSTM model on InsuranceQA example training script.
Tensor transformation (reshape, transpose) supports up to 6 dimensions.
Implemented traverse_unary_transform in Cuda backend, which is similar to CPP backend one.
Added tensor operation erf, rounde (round even).
Added some sanity check on autograd input to prevent fatal error caused by unexpected input shape.

Changed

Fix IMDB LSTM model example training script.
Fix Tensor operation Mult on Broadcasting use cases.
Gaussian function on Tensor now can run on Tensor with odd size.
Updated a testing helper function gradients() in autograd to lookup param gradient by param python object id for testing purpose.

Add new autograd and ONNX operators: Erf, Embedding, Rounde, Round, Where, SpaceToDepth, DepthToSpace, UpSample, Pad, Expand, CosSim, Floor, Ceil.
Add new layers: Embedding, Gemm.
Reconstruct sonnx:

Support creating operators from both layer and autograd.
Re-write SingaRep to provide more powerful intermediate representation of SINGA.
Add a SONNXModel which implements from 'Model' to provide uniform API and features.

Add new ONNX models: SqueezeNet, ShuffleNetv1, ShuffleNetv2, VGG19, DenseNet121, GPT2, RoBERTa.

12 new operators are added into the autograd module: Erf, Embedding, Rounde, Round, Where, SpaceToDepth, DepthToSpace, UpSample, Pad, Expand, CosSim, Floor.

2 layers are added into layer module: Embedding, Gemm.

10 new operators are added to sonnx module for both backend and frontend:
Erf,
Embedding,
Round,
Where,
SpaceToDepth,
DepthToSpace,
UpSample,
Pad,
Expand,
Floor,
Their tests are added as well.

Some ONNX models are imported into SINGA, including
SqueezeNet,
ShuffleNetv1,
ShuffleNetv2,
VGG19,
DenseNet121,
GPT2,
RoBERTa,

Reconstruct soonx,

Support creating operators from both layer and autograd.
Re-write SingaRep to provide more powerful intermediate representation of SINGA.
Add a SONNXModel which implements from 'Model' to provide uniform API and features.

3.1 already released

3.1 already released

I see that there is vote result email in singa-dev mail list. However, I don't see the Publish the release information. step.
An email "[ANNOUNCE] Apache SINGA X.Y.Z released" should be sent to<EMAIL_ADDRESS><EMAIL_ADDRESS>as given above in the check list of release tasks. This step is required to complete the release process.
Note also that the email body says "The release is available at: http://singa.apache.org/downloads.html", however this page does not exist in the new website. We need to have downloads.html page because it is like a standard in Apache projects to have ProjectName.apache.org/downloads.html . The page http://singa.apache.org/docs/download-singa/ does not follow the standard URLs of the Apache projects, and it also does not contain the 3.1 release.
Finally, it will be nice to update the wikipedia page of singa with the new version information.

Now I added a redirect link so that http://singa.apache.org/downloads.html is working now. It also has the 3.1 release. Does it look better now?

Note also that the email body says "The release is available at: http://singa.apache.org/downloads.html", however this page does not exist in the new website. We need to have downloads.html page because it is like a standard in Apache projects to have ProjectName.apache.org/downloads.html . The page http://singa.apache.org/docs/download-singa/ does not follow the standard URLs of the Apache projects, and it also does not contain the 3.1 release.

I have sent the announcement email.
Thanks for the reminder.

Great. I updated the infobox of the wikipedia page. I think we can close the issue now.


New installer committed as well as changes to support new version <IP_ADDRESS>3

Installer source added to GitHub
technotrend thirdparty dll included as well as the SLA
resolved a reference issue with the miniclient launcher

Thanks!


Viomi.health_pot.v1 remote start?

Device model / 设备型号
viomi.health_pot.v1
Component version / 插件版本
0.7.14
HA core version / HA版本
2023.12.3
Integrated mode / 集成方式
Automatic (自动模式)
The problem / 问题详情
Hello, is it possible to start this kettle remotely? , because after entering this command it doesn't work?
service: xiaomi_miot.send_command data:   entity_id: sensor.viomi_v1_2a3d_health_pot_2   params:     - 3   method: set_mode
Entity attributes / 实体属性
sensor.viomi_v1_2a3d_health_pot_2
Home Assistant Logs / 系统日志
No response

这个貌似是用set_work
建议下载米家插件里面查找下。

Device model / 设备型号
viomi.health_pot.v1
Component version / 插件版本
0.7.14
HA core version / HA版本
2023.12.3
Integrated mode / 集成方式
Automatic (自动模式)
The problem / 问题详情
Hello, is it possible to start this kettle remotely? , because after entering this command it doesn't work?
service: xiaomi_miot.send_command data: entity_id: sensor.viomi_v1_2a3d_health_pot_2 params: - 3 method: set_mode
Entity attributes / 实体属性
sensor.viomi_v1_2a3d_health_pot_2
Home Assistant Logs / 系统日志
No response
service: xiaomi_miot.send_command
data:
entity_id: sensor.viomi_v1_2a3d_health_pot_2
method: set_work
params:  [2, 18, 0, 0, 0]


Check fiatCode before getting Zerion balances

Changes

Adds a fiatCode check before calling the Zerion's balances endpoint.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
10 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.04%) to 92.882%

Files with Coverage Reduction
New Missed Lines
%

src/routes/cache-hooks/cache-hooks.service.ts
1
98.9%

src/datasources/balances-api/zerion-balances-api.service.ts
9
83.49%

Totals

Change from base Build<PHONE_NUMBER>:
-0.04%

Covered Lines:
7137

Relevant Lines:
7390

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
13 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.09%) to 92.83%

Files with Coverage Reduction
New Missed Lines
%

src/routes/cache-hooks/cache-hooks.service.ts
1
98.9%

src/routes/transactions/entities/tests/human-description.builder.ts
3
60.0%

src/datasources/balances-api/zerion-balances-api.service.ts
9
83.41%

Totals

Change from base Build<PHONE_NUMBER>:
-0.09%

Covered Lines:
7132

Relevant Lines:
7389

💛  - Coveralls


fix: useEffect check dependencies

sets the last value of dependencies so we can check if they have changed.

Thanks @thejuan -- BTW you might be interested in https://github.com/davidmfoley/isolate-components/ -- component testing like shallow but with (much more robust) support for hooks.

@davidmfoley Thanks I'll take a look, does it support snapshots?
Are you able to publish this fix?

@davidmfoley Thanks I'll take a look, does it support snapshots?
Are you able to publish this fix?


touying-unistra-pristine:1.0.0

I am submitting

[x] a new package
[ ] an update for a package

touying-unistra-theme is a Touying theme for creating presentation slides in Typst, adhering to the core principles of the style guide of the University of Strasbourg, France.

I have read and followed the submission guidelines and, in particular, I

[x] selected a name that isn't the most obvious or canonical name for what the package does
[x] added a typst.toml file with all required keys
[x] added a README.md with documentation for my package
[x] have chosen a license and added a LICENSE file or linked one in my README.md
[x] tested my package locally on my system and it worked
[x] excluded PDFs or README images, if any, but not the LICENSE

[x] ensured that my package is licensed such that users can use and distribute the contents of its template directory without restriction, after modifying them through normal use.

Based on the discussion in https://github.com/typst/packages/pull/908, the name will need to incorporate some creative component as unistra is canonical and theme just descriptive. Since theme is somewhat redundant anyway, perhaps one could replace this word with something else?

Based on the discussion in #908, the name will need to incorporate some creative component as unistra is canonical and theme just descriptive. Since theme is somewhat redundant anyway, perhaps one could replace this word with something else?

Indeed — I've renamed it to "touying-unistra-pristine". Would that work? I've also updated the theme to the latest version of Touying.

Thanks for your comments — I have removed the example PDF and changed the template so that it is simpler and does not refer to external images. I have moved the old "template" to the /example dir as has been done by https://github.com/typst/packages/tree/main/packages/preview/touying-buaa/0.1.0 for a more extensive example of how to use the theme.

Thanks!


Implement MLflow

account + guide how to use it / implement into the script

For using MLflow locally, read (in this order):

README V0 coach.md


Fix control plane monitoring and logging PriorityClasses

How to categorize this PR?

/area control-plane
/kind bug
What this PR does / why we need it:
See a detailed explanation/motivation in https://github.com/gardener/gardener/issues/6464.
This PR also cleans up the logging.loki.garden.priority field that is obsolete after https://github.com/gardener/gardener/pull/6257.
Which issue(s) this PR fixes:
Fixes https://github.com/gardener/gardener/issues/6464
Release note:

The `logging.loki.garden.priority` field is removed from gardenlet's component config as it is no longer used after the [new concept for PriorityClasses in Gardener](https://github.com/gardener/gardener/blob/v1.52.2/docs/development/priority-classes.md).

/assign @kris94
/cc @vlvasilev

After https://github.com/gardener/gardener/pull/6257,
https://github.com/gardener/gardener/blob/b7e6d8691ccc9421a4cee73286497a1f004d5612/test/testmachinery/shoots/logging/seed_logging_stack.go#L115 still uses the old fluent-bit name, running the tm tests give me
  Unexpected error:
      <*errors.StatusError | 0xc000e126e0>: {
          ErrStatus: {
              TypeMeta: {Kind: "", APIVersion: ""},
              ListMeta: {
                  SelfLink: "",
                  ResourceVersion: "",
                  Continue: "",
                  RemainingItemCount: nil,
              },
              Status: "Failure",
              Message: "priorityclasses.scheduling.k8s.io \"fluent-bit\" not found",
              Reason: "NotFound",
              Details: {
                  Name: "fluent-bit",
                  Group: "scheduling.k8s.io",
                  Kind: "priorityclasses",
                  UID: "",
                  Causes: nil,
                  RetryAfterSeconds: 0,
              },
              Code: 404,
          },
      }
      priorityclasses.scheduling.k8s.io "fluent-bit" not found
  occurred
  In [BeforeEach] at: /Users/i545724/go/src/github.com/gardener/gardener/test/testmachinery/shoots/logging/seed_logging_stack.go:116

Can you please adapt it similar to https://github.com/gardener/gardener/blob/b7e6d8691ccc9421a4cee73286497a1f004d5612/test/testmachinery/shoots/logging/seed_logging_stack.go#L120?

Thanks!


Nextjs: Arbitrary value from variable not applied

What version of @tailwindcss/jit are you using?
v0.1.6
What version of Node.js are you using?
v14.15.4
What browser are you using?
Chrome
What operating system are you using?
macOS Big Sur
Reproduction repository
https://github.com/braydoncoyer/tailwindcss-jit-dynamic-value-bug
Hi Team,
After enabling the TailwindCSS JIT compiler in a Next.js project, I opened the index.js file and created a div with a background color defined by an arbitrary value (bg-[#db1424]). The browser updates and I can see the div with the appropriate color applied. If I try to extract this hex color into a variable and inject it as a classname via template literals, it does not show up in the browser.
The example repo linked to this issue has two divs: one with an arbitrary bg value injected with template literals, and another div with an arbitrary bg value pasted inline. The second div is the only one showing the correct value in the browser.
I've run into weird cases with the dynamically injected color works at times when I tinker with restarting the dev server or changing the hex color, but I can't find a pattern to narrow down the issue.

Hey! Yeah what you are trying to do can't work unfortunately, all the classes need to be statically extractable and that's done with just a simple regex, not actually parsing or evaluating code. You can imagine it would be impossible for us to generate CSS at build time if part of the class name was the result of a fetch call or something for example.
Fundamentally you still need to author your templates with the same considerations about making them "purgeable", as with the ahead-of-time version of Tailwind:
https://tailwindcss.com/docs/optimizing-for-production#writing-purgeable-html

Understood - thanks for taking the time to respond, sir!


Can't generate styles

I've opened a new document, created a few text styles with left, center and right alignment, then named them using the 'Rename it' plugin. I then selected all of the layers and applied the "generate shared styles" and nothing happens.
I've tried multiple times, using new documents, restarting the machine, and deleting and re-installing the plugin.

+1 on this issue for me as well

A quick update: I just updated Sketch from v53.2 to v54.1 and now the styles appear to be working for me. I didn't realize I'd hit my annual renewal time so was behind a few versions, so all cleared up for me.

@amleon @lyndsayclark I will try my best to keep this updated for the latest version of Sketch but, unfortunately, I haven't enough bandwidth to make this retro-compatible with the older ones. 😞


[Feature] Provide overloaded Upload() method that takes a Stream...

Hi,
In my use case I already have a Stream and want to write it to upload it.  Having to save it locally first before calling UploadFile() is a bit cumbersome.

Done.
Download the latest https://www.nuget.org/packages/FluentFTP/16.0.18 to use UploadFile() with streams or bytearrays.

Hi Harsh,
Much appreciated and the quick turn around. Works perfectly.

Thank you. Glad to help.


1_preprocess

Why do you need to change the order? image = image.transpose(2, 1, 0)

Hi, the shape of the image loaded from SimpleITK is (z, y, x) with the spacing of (x, y, z). To align the shape order with the spacing, it is necessary to change the shape order.

Thanks, I know. However, when you saved the image later, it was not transformed back. Doesn't this mean that the order of the images was changed?

Hi, if we transform back the order of images, we should change the order again when we further process the image (as we record the spacing in the form of (x, y, z)). Hence, to make it convenient, we just save the image without changing the order.

Thanks，I see.  I have one ploblem: If the resolution is 128, then the blocks generated in the 3_block_save.py file should be changed to base = np.mgrid[:128, :128, :128], offset is set to 0, and blocks = blocks.transpose(0, 2, 1). astype(float) / 127. Is this correct modification?

The purpose of saving CT as blocks is to accelerate the loading speed and save the memory. For example, for a data sample, we should load an array of 256^3. With blocks, we can randomly choose a block to load (i.e., 64^3), which is faster in practice.
For your question, if your resolution is 128^3 and you choose the block size of 128^3, there is no need to conduct step 3. You can directly modify the dataset (https://github.com/xmed-lab/DIF-Net/blob/main/code/dataset.py#L200) to load CT (reshape the CT to [N, 1] or [N,] as block_values) and set the block_coords to np.mgrid[:128, :128, :128] (also reshape to [N, 3]).

Yes, Is this correct modification?
image = self.load_ct(name)
block_values = image.reshape(1, -1)
block_values = block_values.transpose(1, 0)
block_coords = np.mgrid[:128, :128, :128]
block_coords = block_coords.reshape(3, -1)
block_coords = block_coords.transpose(1, 0)
points, p_gt = self.sample_points(block_coords, block_values)

It seems that you do not need to extend an additional dimension for the loaded CT. You can just reshape it as [N,] as the additional dimension of p_gt will be extended in https://github.com/xmed-lab/DIF-Net/blob/main/code/dataset.py#L226

Ok, I sincerely appreciate your reply. Thanks!


This is not explained on how to do this! NEED HELP

For each player's corresponding new GUID and old GUID pair, run the script using the command in the Usage section and make sure to set <guild_fix> to True.

Tried putting "True" at the end of the command but did not work

@cbnsti did you get an error for the command not working?
It will look something like this when you run it (the warning will appear as the first line of response):
palworld-host-save-fix on  main via 🐍 v3.10.12
❯ python3.10 fix-host-save.py ~/Downloads/migration/06B2D80DF8CA3394FHB3BC53FF929A12C DB21138AF8000000000000000000000000 CB14F3F3000000000000000000000000 True

WARNING: Running this script WILL change your save files and could potentially corrupt your data. It is HIGHLY recommended that you make a backup of your save folder before continuing. Press enter if you would like to continue.
>
.....

It sounds like you entered the command incorrectly. Try following the example sugaroverflow gave. That's how it should look for you too.


added the generated usmba.txt file for school verification.

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


Remove unused columns in TableLayout APIs

This feature is unused by existing connectors.

It turns out the Kudu connector is using them to prune the set of columns to produce. I have another change in mind to address that. I'll recreate this one once that's fixed.