Updated all the hardcoded definitions of disk size, memory, and cpus to use user-variables.

This PR updates all of the json templates that have a hardcoded number of cpus and memory to use user-variables (cpus and memory similar to chef/bento). This allows the user to configure the number of cores or amount of memory for when packer actually builds a template without having to manually fix the Vagrantfile that's emitted.
Although the Vagrantfile templates in tpl/vagrantfile-*.tpl fix the number of cpus and memory when packaging the VM (sort-of), this isn't done for VMware and so the templates only fix the number of cores from 2 to 1 and the memory from XXX to 1536 in just VirtualBox and Parallels. (I have another commit that also removes this hardcoding so that the user-variables specified during the build control the cpus, memory, and disk size are honored. Let me know if you'd like me to merge that commit into this branch as well.)
The original values for cpus and memory that were hardcoded was included as the default values for the variables in order to remain backwards compatible with the original intentions of the template.

Thanks


Update to rails <IP_ADDRESS>

Morphy PR: https://github.com/ManageIQ/manageiq/pull/21437

Backported to morphy in commit 60733311cf43f2d0261aec19cc29e60127b7dc4c.
commit 60733311cf43f2d0261aec19cc29e60127b7dc4c
Author: Jason Frey<EMAIL_ADDRESS>Date:   Wed Sep 15 20:22:40 2021 -0400

    Merge pull request #21438 from bdunne/update_rails

    Update to rails <IP_ADDRESS>

    (cherry picked from commit 7c7893a1e5ac14e11fb586f5c0f5af8cd072c2ee)


No Activitiy related to knative-service on 1.18 of K8's

Hi Team,
I have deployed the https://raw.githubusercontent.com/kubeflow/manifests/master/kfdef/kfctl_istio_dex.yaml on my Kubernetes(v1.18.4). We have tried running some examples like sklearn and hello-world. We dont see any pods running on admin namespace.
Additional Info:
kubectl describe inferenceservice -n admin
Name:         sklearn-iris
Namespace:    admin
Labels:       <none>
Annotations:  kubectl.kubernetes.io/last-applied-configuration:
                {"apiVersion":"serving.kubeflow.org/v1alpha2","kind":"InferenceService","metadata":{"annotations":{"sidecar.istio.io/inject":"false"},"nam...
              sidecar.istio.io/inject: false
API Version:  serving.kubeflow.org/v1alpha2
Kind:         InferenceService
Metadata:
  Creation Timestamp:  2020-07-17T18:23:45Z
  Generation:          1
  Managed Fields:
    API Version:     serving.kubeflow.org/v1alpha2
    Manager:         kubectl
    Operation:       Update
    Time:            2020-07-17T18:23:44Z
  Resource Version:  366999
  Self Link:         /apis/serving.kubeflow.org/v1alpha2/namespaces/admin/inferenceservices/sklearn-iris
  UID:               c8d308b4-639d-4cb7-ad11-4f26231a2329
Spec:
  Default:
    Predictor:
      Sklearn:
        Resources:
          Limits:
            Cpu:     1
            Memory:  2Gi
          Requests:
            Cpu:          1
            Memory:       2Gi
        Runtime Version:  v0.3.0
        Storage Uri:      gs://kfserving-samples/models/sklearn/iris
Events:                   <none>

We see that there is no activity related to knative-service on the cluster. Is there a work-around for this problem.

@bharath0208 There is known issue that KFServing does not work with k8s 1.18, if you can downgrade to 1.17 that should work.

@yuzisun any idea on when of kfserving will be supporting version 1.18 of k8's

@bharath0208 there is an upstream issue https://github.com/kubernetes-sigs/controller-tools/issues/438 for the tool KFServing uses which generates the invalid inference service crd on k8s 1.18

It's a long time now. Any idea on when of kfserving will be supporting version 1.18 of k8's ????

@yuzisun I see there is a PR (https://github.com/kubeflow/kfserving/pull/1128) to enable support for k8s 1.18, can we apply the update (0.4.1) to existing kfserving (under kubeflow namespace) installation?

@CreatorSky @Bhavesh-Joshi we are patching 1.18 support to KFS 0.4.1 release and the fix is going to be in kubeflow 1.2 release.

released in 0.4.1

@bharath0208 There is known issue that KFServing does not work with k8s 1.18, if you can downgrade to 1.17 that should work.

@yuzisun , Is this information still valid ? Should we install 1.17? (I am about to setup a new cluster, looking to find best working versions of k8s, kubeflow, kfserving, istio, knative, docker etc..)
Thanks.

@bharath0208 There is known issue that KFServing does not work with k8s 1.18, if you can downgrade to 1.17 that should work.

@yuzisun , Is this information still valid ? Should we install 1.17? (I am about to setup a new local cluster, looking to find best working versions of k8s, kubeflow, kfserving, istio, knative, docker etc..)
Thanks.

@ontheway16 Did you find any good versions maping so that every thing works for local cluster at least? I am using v0.7.0 of kubeflow as of now as other newer versions are not working on my minikube setup (for which I have already raised issues but looks like there is no support for them as of now)

@bharath0208 There is known issue that KFServing does not work with k8s 1.18, if you can downgrade to 1.17 that should work.

@yuzisun , Is this information still valid ? Should we install 1.17? (I am about to setup a new local cluster, looking to find best working versions of k8s, kubeflow, kfserving, istio, knative, docker etc..)
Thanks.

@ontheway16 Did you find any good versions maping so that every thing works for local cluster at least? I am using v0.7.0 of kubeflow as of now as other newer versions are not working on my minikube setup (for which I have already raised issues but looks like there is no support for them as of now)

@chinmay22897 hi, I am using regular kubernetes install, but since I am focusing to inference only, at the moment, I decided to follow standalone KFserving install route. All seems working with 1.17, but I continue to test, still learning.

@chinmay22897 hi, I am using regular kubernetes install, but since I am focusing to inference only, at the moment, I decided to follow standalone KFserving install route. All seems working with 1.17, but I continue to test, still learning.


Casting between vectors of different element sizes

Would there be value in providing some casts between vectors with different element-sizes? (Unsafely these can of course be made with transmute, like the private bitcast already does.)
On the assembler/C intrinsic level you can freely mix anything using a __m128i. This implicit casting doesn't make sense for Rust, of course, but since some APIs like  shuffle_bytes are only defined for u8 vectors it is needed to cast them for some operations (like byteswapping, rotating elements around etc).
I know this depends on endianness, but that is no more platform specific than many of the available operations already are anyway, so the trait(s) could be put into the x86 etc. submodules.

Another place where this would be useful is for the pcmpestri family of functions. They currently take a i8x16, but I imagine most uses will want to use u8x16.


Content Fragment Importer not working for multivalue field

Required Information

[ ] AEM Version, including Service Packs, Cumulative Fix Packs, etc: AEM as a Cloud Service (local SDK 2022.3.6582.20220307T234020Z-220100)
[ ] ACS AEM Commons Version: 5.3.3-SNAPSHOT
[ ] Reproducible on Latest? yes

Expected Behavior
Multi-value text field in content fragment contains all values.
Actual Behavior
Multi-value text field in content fragment contains a single value
Steps to Reproduce

Created content fragment model with 2 fields. One field is a multi value text field
-- content fragment model contains 2 fields: title (single text field) and multiText (multi text field)

Created excel sheet for import of content fragment
-- excel contains all fields. For the multi text field 2 columns are created.

Content fragment model and excel sheet are attached.
Import Content fragment using the Content Fragment Import option in Manage controlled processes.
The process finishes with a successful result. The content fragment is created, but the multi text field only contains a single line of text.
Can you share an example model and excel that works for a multi-value text field?
Links
http://localhost:4502/apps/acs-commons/content/manage-controlled-processes.html
test-importer.xlsx
test-cf-model.zip

To specify multivalued fields enter multiple lines in a single Excel cell by pressing Alt + Enter keys simultaneously while entering text:

test-importer.xlsx
See the attached spreadsheet.


SVG Props not converting to proper component

🐛 Bug Report
Add the following to svg props:
width={props.size || '1em' },
height={props.size || '1em' }
width gets properly overridden but height does not.
To Reproduce

Expected behavior
there should not be two height props
Link to repl or repo (highly encouraged)
Please provide a minimal repository on GitHub.
Issues without a reproduction link are likely to stall.
Run npx envinfo --system --binaries --npmPackages @svgr/core,@svgr/cli,@svgr/webpack,@svgr/rollup --markdown --clipboard
Paste the results here:

It seems props are not deduplicated. Any help is welcome to fix it.

@jkinley I tried to recreate it, and I don't think there's a bug.
The solution is not have it on 2 lines, because it's secretly adding a next line character (\n), which is what causes the issue.
So this:
width={props.size},height={props.size}

instead of this:
width={props.size},
height={props.size}

here's a screenshot:


Unable to resize "Settings" window

This is blocking me from completing the sign-in process.  I cannot resize the window, and many of the settings are outside of the window boarder.

Could you perhaps upload a screenshot of the window?

could be bound to a high resulution DPI display on my notebook

That's exactly how it appeared on my laptop. I've since changed over to a
FHD display though.
On Saturday, December 3, 2016, Michal<EMAIL_ADDRESS>wrote:

[image: image]
https://cloud.githubusercontent.com/assets/6553766/20861230/e1e50ebc-b98a-11e6-8264-493248ee049a.png
could be bound to a high resulution DPI display on my notebook
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/testmycode/tmc-intellij/issues/103#issuecomment-264654936,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWIdFGTyh_IiWWfKaXeZmcrC720SZhk4ks5rEa6PgaJpZM4Km5hS
.

Yeah, definitely looks like an DPI-caused issue. I'll take a look at it.

@1337tester What scaling percentage are you using currently? What desktop resolution are you using? The scaling percentage can be found from Display Settings and the resolution from the "Advanced display settings" view.

225%,
It is so high because it helps make other application look normal on a laptop screen with resolution
3840 x 2160

Quite it relates to this resizing, when I put this setting back to 100% it shows the window correctly:

However as you see it makes everything else unusable for people without eagle-vision


A suggestion

Hello mate!
I saw this line: https://github.com/sayem314/hooman/blob/11d0a1378cad339e71376f99ef6a854f775d404e/lib/captcha.js#L38
Isn't better to use URL? I'm having a problem that it adds pathname twice after each other that fails my request. Like /my/pathname/mypathname instead of /my/pathname. I'm not sure this is the right way to do it or if it's a different puzzle...
const { URL } = require('url');

const { origin: baseUrl } = new URL(response.url);

Best regards!

A also want to say you made an awesome library <3

Can you provide an example URL you are having issue with?

I have a PR for this, with an example URL: https://github.com/sayem314/hooman/pull/25

I have a PR for this, with an example URL: https://github.com/sayem314/hooman/pull/25


adds iOS .15 to platform list

fixes compilation errors when using this package within an iOS app

Thank you @heckj !


Order page takes long time to load

Probably the QR code takes long.

https://github.com/yzernik/squeakroad/pull/354


Update archived models and archived versions components

Closes: RHOAIENG-11509
Description
This PR aims to update

Archived models to read-only by removing the toolbar actions, toolbar kebab and kebab menu from the table.

Archived model details page to read-only by removing all the actions.

Archived version details page to read-only by removing all the actions.

implementation for versions of archived model.

Empty state for version with archived model

How Has This Been Tested?

Archived models details page:

Archive a model
Go to the view archived models
see the archived model versions tab and details tab

Archived version details page:

Archive a version
Go to view archived version in model details
Go to the details page of the archived version

Version details page of archived model:

Archive a model with versions
Go to a version inside it

Test Impact
Added cypress test.
Request review criteria:

Self checklist (all need to be checked):

[x] The developer has manually tested the changes and verified that the changes work
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has added tests or explained why testing cannot be added (unit or cypress tests for related changes)

If you have UI changes:

[x] Included any necessary screenshots or gifs if it was a UI change.
[ ] Included tags to the UX team if it was a UI/UX change.

After the PR is posted & before it merges:

[ ] The developer has tested their solution on a cluster by using the image produced by the PR to main

@ppadti there's one fix missing here - it is possible to see the wrong view for a model or version by going to the URL as if it was archived when it's not or vice versa. We should have the pages check whether the model and/or version is actually archived or not archived, and redirect to the correct place if you're at the wrong URL. This is a corner case, but it can come up if you have an old tab open on a model or version before its archived state changes or if you bookmark one.
Example:
If I have a model that is not archived and go its details page, that URL is: /modelRegistry/modelregistry-sample/registeredModels/13/versions and if I edit that to: /modelRegistry/modelregistry-sample/registeredModels/archive/13/versions I incorrectly see the archived view even though the model is not archived. The page should redirect me back to that first URL. If I then archive that model and navigate to it, then change its URL to remove /archive/, we get the opposite problem. Either way it should redirect me to the URL corresponding to the real model state.
The same is true of the archived / non-archived version pages. They should detect which page you should be on based on whether model or version are archived and redirect you there if you aren't already there.

ahh... Some how I missed this,  I thought only the archived models logic is wrong for versions under that. I will update this. Thanks!!


SoftwareSerial not supported by Linkit One replacement solution?

can you please help. I have Arduino board working, but I need to have Linkit One board working too. but my problem is that Linkit one does not support <SoftwareSerial.h> but have serial port TX.RX.
Can you have your technical support to help me to modify this code to support Linkit One? thanks for helping.
include <SoftwareSerial.h>
SoftwareSerial LoRaUART(10, 11); // to TX, to RX
void setup() {
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for native USB port only
}
Serial.println("Serial Ready");
LoRaUART.begin(9600);
LoRaUART.println("AT");
while (!LoRaUART.available()) {
;
}
Serial.println("LoRa Serial Ready");
}
void loop() {
//LoRaUART.println("AT+DTX=6,"abcdef"");
//LoRaUART.println("AT+DTX=5,"33/88"");
//Serial.println("ATDTX 33/88");
LoRaUART.println("AT+DTX=16,1234567890abcdef");
delay(10*1000);
}

it is a duplicate of #4
and the linkit products are end of life.
please move your request there or in the user forums and please close this one.


fix: _setPrototypeOf is not defined

Description:

BREAKING CHANGE:

Related issue (if exists):

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

I published a new version.


Got a "application not responding" alert while trying to watch uploading video

Winter reported us an issue with his device (Xiaomi Redmi 2 prime.Runs on MIUI version 7.0.9 global and kitkat)
I attempt an upload of a video large video. Size on disk 228mb. It shows the progress circle moves first then sticks at a point less than 1/4th of the circle. Then if i click on it. It shows the dedicated page. But when I try any other function i.e go back Or download, it shows me the message.
But let me tell you I did upload the video once. As I said in the other room. Just it didn't show me that I uploaded it. I assumed I uploaded it because I could download it from the room
I don't reproduce his issue on a samsung S3 so i suspect that the medias slider init blocks the UI thread

Video compression? Wouldn't it help? You don't need to upload the video as it is.


Typecheck fail when import path aliases in Nuxt layer

Environment

Operating System: Darwin
Node Version:     v18.17.0
Nuxt Version:     3.8.2
CLI Version:      3.10.0
Nitro Version:    2.8.1
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools, extends, runtimeConfig, experimental
Runtime Modules:  -
Build Modules:    -

Reproduction
https://stackblitz.com/edit/nuxt-starter-dhni1d?file=app.vue
Describe the bug
I created a Nuxt layer in ./my-layer and I import message  from ~/constants/foo inside the my-layer.
Although I know that official document mention that use relative instead of path aliases in layer components, I can successfully execute the dev and build commands in the root package, and the outcome is fine, seems Nuxt is able to resolve the correct path.
However, I am unable to successfully pass the type checking with the following error.
my-layer/components/HelloWorld.vue:2:25 - error TS2307: Cannot find module '~/constants/foo' or its corresponding type declarations.

2 import { message } from '~/constants/foo';
                          ~~~~~~~~~~~~~~~~~

Additional context
I know there are some workaround such as:

using auto-import
importing relative path
custom path alias like ~my-layer/

but sometimes I really want to import by explicit path with only ~/ and pass the type checking to make sure no other type errors in project.
Should this be resolved from the tsc (maybe make a new plugin of top of it to make tsc resolve the correct path), or is there another approach I should consider?
Logs
No response

This is a tricky one. We can use a compiler plugin to resolve ~ depending on the layer it's used in, but TypeScript doesn't know about that.
I would recommend using one of the workarounds you mention, though a fix would be welcome.

I can't even run the repro, it says it doesn't understand the word "extends"

@GalacticHypernova Sorry for the mistake, just fixed.

Thank you!
I'll see if I can do anything about this

Any update?

Any update?

any updates?


driver: spi_dw: Add EEPROM Mode support

This PR is to discuss better way to enable the EEPROM support SPI_DW driver. I had pushed similar patch where I had received review comments. I could address only one among them. I am having issue distinguishing the Between EEPROM and TX and RX mode has both will have rx and tx buff filled. Hence I have used config.

closing this as no longer required


Add back container height and scrolling

Can't remember if we had this before but I added (back?) the scrolling and a max container height.

Can you set the item containers to fill the screen, or most of it? The containers only take up 1/3 or 1/2 of the screen on my desktop monitor.

Can you set the item containers to fill the screen, or most of it? The containers only take up 1/3 or 1/2 of the screen on my desktop monitor.

Okay, done. How's this look?


support updating template stores using cyctl

Is your feature request related to a problem? Please describe.
cyctl can currently create, list and delete template stores. It would be useful to update template stores using cyctl as well.
The command invocation should look like this:
cyctl update templates <templates-name> --path=<path> --repo=<repo> --version=<version> --icon=<icon>

repo, path, version, and icon are all optional, but at least one of them needs to be set. Flags update the following values in a template store object:

repo - spec.repo
path - spec.path
version -  spec.version
icon - metadata.annotations.cyclops-ui.com/icon

When the subcommand is invoked, it should fetch the template store, update its values and update it in the cluster.

I would like to work on this PR @petar-cvit.

@quest-bot embark


Why don't start-collector.cmd, start-testapp.cmd, start-web.cmd files exist?

I cloned a folder in github, installed hbase, and ran the cmd file as it was in the official document. And I put the jar file in the location. Why do I get an error saying that I couldn't connect with zookeeper? Can anyone tell me the exact installation method? And the official document says to run start-collector.cmd, start-testapp.cmd, start-web.cmd files, but I can't find them Please let me know how to find i

It seems like those documents are no longer valid.
Please refer to https://pinpoint-apm.gitbook.io/pinpoint/getting-started/quickstart.
You don't need any cmd files to run Pinpoint since v2.1.0


Full Software Redesign

To address the issue in #98, I think a rewrite of the code is necessary so that the confidence interval calculations and Monte Carlo runs are in one place. It's difficult to do that right now because some of the software design is cumbersome. The main issues I have are in the readability of the code and organization of the functions and classes with non-standard Python naming schemes. It would be easier to maintain and contribute other Python package managers if we adhered to some of the standard practices followed by other open source projects like scipy or numpy or even scikit-rf. This is an outline of the organization that I had in mind:

measurement/
__init__.py ... constructor for the measurement module
-> resfit/
----> __init__.py ... constructor for the resfit module
----> resonator.py ... class definitions for fitting (delete fit_functions.py)
----> fileio.py ... replace process_files.py and make object-oriented file IO easier to maintain
----> fitting.py ... replace all files with fit with a single object-oriented file that handles the fits
----> plotting.py ... decouple the plotting and visualization from the fitting code
----> test/ ... unit testing to test each software component separately and together
--------> resonator_test.py ... tests the resonator classes and functions exhaustively
--------> fitting_test.py ... tests the fitting classes and functions
--------> plotting_test.py ... tests the plotting classes and functions

A similar structure for the other submodules of the measurement module. We could add this module to pip or anaconda or another software repository so that folks can grab the latest stable release of the code without visiting the github page. Zlatko did this for pyEPR.

This is redundant with the software reorganization proposed by @nickkprice in #109


[FLINK-4030] Revert Surefire version to 2.18.1

The ScalaShellITCase sometimes gets stuck before test execution with no output
in the logs. We ran about a hundred builds against Surefire 2.18.1 which
confirmed that the failures don't occur with this version.
Waiting for an upstream fix until this can be reverted.

Merging.


May I ask the center of Occ3D dataset ground truth coordinate

In the environment setup process in step 4 for the occupancy prediction task, the guideline told us to only download gts from the occ3d dataset. May I ask which coordinate the occ3d dataset uses? Does the occ3d dataset use Nuscenes ego coordinates as their ground truth centre?

I think it uses the ego coordinate system.

ok, thanks for the reply, I will give it a try.


Failing flow on step "Check Antenna Properties of Pins in The Generated Design LEF view"

Description
Running a simple Verilog example using OL2 v2.0.0b17.
Expected Behavior
No fail.
Environment report
foss/designs/example/dig > openlane.env_info || python3 ./openlane/env_info.py
Failed to get Docker info: [Errno 13] Permission denied: 'docker'
Failed to get Docker info: [Errno 2] No such file or directory: 'nix-shell'
kernel: Linux
kernel_version: 6.6.16-linuxkit
supported: True
distro: ubuntu
distro_version: 22.04
python_version: 3.10.12
python_path:
  - /usr/local/bin
  - /usr/lib/python310.zip
  - /usr/lib/python3.10
  - /usr/lib/python3.10/lib-dynload
  - /usr/local/lib/python3.10/dist-packages
  - /usr/lib/python3/dist-packages
  - /usr/lib/python3.10/dist-packages
  - /foss/tools/ngspyce/154a272/local/lib/python3.10/dist-packages
  - /foss/tools/pyopus/0.11/local/lib/python3.10/dist-packages
  - /foss/tools/yosys/share/yosys/python3
  - /foss/tools/klayout/v0.28.17/pymod
tkinter: True
container_info: None
nix_info: None

Reproduction material
/foss/designs/example/dig > cat counter.json
{
    "DESIGN_NAME": "counter",
    "VERILOG_FILES": "dir::counter.v",
    "CLOCK_PORT": "clk_i",
    "CLOCK_PERIOD": 20
}

Relevant log output
[INFO ODB-0134] Finished DEF file: /tmp/tmpkj__5trb
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/openlane/scripts/odbpy/check_antenna_properties.py", line 116, in <module>
check_antenna_properties()
File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/openlane/scripts/odbpy/reader.py", line 205, in wrapper
function(**kwargs)
File "/usr/local/lib/python3.10/dist-packages/openlane/scripts/odbpy/check_antenna_properties.py", line 109, in check_antenna_properties
report = check_cells(cells)
File "/usr/local/lib/python3.10/dist-packages/openlane/scripts/odbpy/check_antenna_properties.py", line 34, in check_cells
has_diff_area = mterm.hasDiffArea()
AttributeError: 'dbMTerm' object has no attribute 'hasDiffArea'. Did you mean: 'getDiffArea'?
[14:45:05] ERROR      File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke                                             step.py:1170
                        return __callback(*args, **kwargs)
                      File "/usr/local/lib/python3.10/dist-packages/openlane/scripts/odbpy/reader.py", line 205, in wrapper
                        function(**kwargs)
                      File "/usr/local/lib/python3.10/dist-packages/openlane/scripts/odbpy/check_antenna_properties.py", line 109, in
                    check_antenna_properties
                        report = check_cells(cells)
                      File "/usr/local/lib/python3.10/dist-packages/openlane/scripts/odbpy/check_antenna_properties.py", line 34, in
                    check_cells
                        has_diff_area = mterm.hasDiffArea()
                    AttributeError: 'dbMTerm' object has no attribute 'hasDiffArea'. Did you mean: 'getDiffArea'?

[14:45:05] ERROR    Log file: 'runs/RUN_2024-03-28_14-44-32/52-odb-checkdesignantennaproperties/odb-checkdesignantennaproperties.log'      step.py:1171
[14:45:05] ERROR    The following error was encountered while running the flow: Check Antenna Properties of Pins in The Generated       __main__.py:153
                    Design LEF view: subprocess (1, ['openroad', '-exit', '-no_splash', '-metrics',
                    '/foss/designs/example/dig/runs/RUN_2024-03-28_14-44-32/52-odb-checkdesignantennaproperties/or_metrics_out.json',
                    '-python', '/usr/local/lib/python3.10/dist-packages/openlane/scripts/odbpy/check_antenna_properties.py',
                    '--input-lef', '/foss/pdks/sky130A/libs.ref/sky130_fd_sc_hd/techlef/sky130_fd_sc_hd__nom.tlef', '--input-lef',
                    '/foss/pdks/sky130A/libs.ref/sky130_fd_sc_hd/lef/sky130_fd_sc_hd.lef', '--input-lef',
                    '/foss/pdks/sky130A/libs.ref/sky130_fd_sc_hd/lef/sky130_ef_sc_hd.lef', '--design-lef',
                    '/foss/designs/example/dig/runs/RUN_2024-03-28_14-44-32/51-magic-writelef/counter.lef', '--cell-name', 'counter',
                    '--report-file',
                    '/foss/designs/example/dig/runs/RUN_2024-03-28_14-44-32/52-odb-checkdesignantennaproperties/report.yaml',
                    '/foss/designs/example/dig/runs/RUN_2024-03-28_14-44-32/45-openroad-fillinsertion/counter.odb']) failed
[14:45:05] ERROR    OpenLane will now quit.                                                                                __main__.py:154
Classic - Stage 57 - Check Antenna Properties of Pins in The Generated Design LEF view ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸━━━━━━━━ 56/71 0:00:3

As mentioned on Slack, this is pending https://github.com/efabless/openlane2/issues/405, as we currently patch this functionality into OpenROAD.
We apologize for the inconvenience.

@hpretl --skip Odb.CheckDesignAntennaProperties --skip Odb.CheckMacroAntennaProperties
You could just sed the steps out in openlane/flows/classic.py or pull our OpenROAD patch, both are viable

Fixed in dev


BME-122 Adding a shadow/sunlight layer to the aerial view

This provides parity with JM and Xaeros, gives players a better sense of the terrain, and is pretty 😛
Before:

After:

That commit should fix all issues raised 😊

Ah crap, the serialisation is broken after that last commit. DO NOT MERGE. Will fix in the morning.
Otherwise, added an extra level to the shadows to give them an even greater sense of depth.

Serialisation and const capitalisation fixed. Will mess with the int conversion of the log scaling later while fixing how the shading looks on taller trees

Shading colouration improved to a point I'm happy enough with. Could possibly be tweaked further, but not by me, and definitely not tonight.
Also, more gracefully handled the visual artifacts caused by trying to reference unloaded chunks when generating shadows. Now, that block will just be ignored in the calculation (pretending its relative slope is 0) which looks far less noticeable under most situations.


ColorScheme.fromSwatch faulty onBackgroundColor

If you create a ColorScheme.fromSwatch() with a "dark" (eg dark blue) primarySwatch, but pass a light backgroundColor, then the onBackground color only checks if the primarySwatch is dark resulting in the onBackground being white.
Currently:
final bool isDark = brightness == Brightness.dark;
    final bool primaryIsDark = _brightnessFor(primarySwatch) == Brightness.dark;
    final Color secondary = accentColor ?? (isDark ? Colors.tealAccent[200]! : primarySwatch);
    final bool secondaryIsDark = _brightnessFor(secondary) == Brightness.dark;

    return ColorScheme(
      primary: primarySwatch,
      primaryVariant: primaryColorDark ?? (isDark ? Colors.black : primarySwatch[700]!),
      secondary: secondary,
      secondaryVariant: isDark ? Colors.tealAccent[700]! : primarySwatch[700]!,
      surface: cardColor ?? (isDark ? Colors.grey[800]! : Colors.white),
      background: backgroundColor ?? (isDark ? Colors.grey[700]! : primarySwatch[200]!),
      error: errorColor ?? Colors.red[700]!,
      onPrimary: primaryIsDark ? Colors.white : Colors.black,
      onSecondary: secondaryIsDark ? Colors.white : Colors.black,
      onSurface: isDark ? Colors.white : Colors.black,
      onBackground: primaryIsDark ? Colors.white : Colors.black,
      onError: isDark ? Colors.black : Colors.white,
      brightness: brightness,
    );

Should be:
    final bool isDark = brightness == Brightness.dark;
    final bool primaryIsDark = _brightnessFor(primarySwatch) == Brightness.dark;
    final Color secondary = accentColor ?? (isDark ? Colors.tealAccent[200]! : primarySwatch);
    final bool secondaryIsDark = _brightnessFor(secondary) == Brightness.dark;
    final bool backgroundIsDark = _brightnessFor(backgroundColor ?? primarySwatch) == Brightness.dark;

    return ColorScheme(
      primary: primarySwatch,
      primaryVariant: primaryColorDark ?? (isDark ? Colors.black : primarySwatch[700]!),
      secondary: secondary,
      secondaryVariant: isDark ? Colors.tealAccent[700]! : primarySwatch[700]!,
      surface: cardColor ?? (isDark ? Colors.grey[800]! : Colors.white),
      background: backgroundColor ?? (isDark ? Colors.grey[700]! : primarySwatch[200]!),
      error: errorColor ?? Colors.red[700]!,
      onPrimary: primaryIsDark ? Colors.white : Colors.black,
      onSecondary: secondaryIsDark ? Colors.white : Colors.black,
      onSurface: isDark ? Colors.white : Colors.black,
      onBackground: backgroundIsDark ? Colors.white : Colors.black,
      onError: isDark ? Colors.black : Colors.white,
      brightness: brightness,
    );

@ToniHeiss Thank you. Labeling this issue for further investigation.

flutter doctor -v
[✓] Flutter (Channel stable, 3.3.3, on macOS 12.6 21G115 darwin-x64, locale en-VN)
    • Flutter version 3.3.3 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18a827f393 (10 hours ago), 2022-09-28 10:03:14 -0700
    • Engine revision 5c984c26eb
    • Dart version 2.18.2
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode14.0.1.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2022.2.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 70.0.5
    • Dart plugin version 222.4167.21

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.71.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.48.0

[✓] Connected device (4 available)
    • SM T225 (mobile)           • R9JT3004VRJ                          • android-arm64  • Android 12 (API 31)
    • iPhone 14 Pro Max (mobile) • 332079AF-E895-4685-910E-7B1E18B0C6B8 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-0 (simulator)
    • macOS (desktop)            • macos                                • darwin-x64     • macOS 12.6 21G115 darwin-x64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 105.0.5195.125

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel master, 3.4.0-37.0.pre.14, on macOS 12.6 21G115 darwin-x64, locale en-VN)
    • Flutter version 3.4.0-37.0.pre.14 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 35afe1bdac (45 minutes ago), 2022-10-03 18:41:23 -0700
    • Engine revision 83c68740e3
    • Dart version 2.19.0 (build 2.19.0-268.0.dev)
    • DevTools version 2.17.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode14.0.1.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2022.2.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 70.0.5
    • Dart plugin version 222.4167.21

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.71.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.48.0

[✓] Connected device (3 available)
    • SM T225 (mobile) • R9JT3004VRJ • android-arm64  • Android 12 (API 31)
    • macOS (desktop)  • macos       • darwin-x64     • macOS 12.6 21G115 darwin-x64
    • Chrome (web)     • chrome      • web-javascript • Google Chrome 105.0.5195.125

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

fromSwatch is a strange constructor in that one can only modify a few defaults, two of which are deprecated, and defaults are partially M2, leading to an inconsistent experience. It's a whack-a-mole trying to maintain contrast with it and is infeasible to fix. We should deprecate it https://github.com/flutter/flutter/issues/120064.
For now, if you specify a backgroundColor, use copyWith to specify the desired color.


problem with subprocess.Popen in sc_process.py

Hi,
Firstly, I'd like to apologize if I'm annoying you because of too much opening issues.
But I'm in trouble with subprocess.Popen in sc_process.py
When I repeat to create and close SC2Env,
OSError occurs after a couple of iterations.
My codes looks like below.
for episode in range(start_epi, num_episodes):
    with sc2_env.SC2Env(
            "Odyssey",
            agent_race=myrace,
            bot_race=botrace,
            difficulty="1",
            visualize=visualize) as env:
        agent = minerva_agent.MinervaAgent(mainDQN)
        run_result = run_loop( blabla~~)
        env.close()

and full error codes are like below
ERROR:root:Failed to launch
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/pysc2/lib/sc_process.py", line 119, in _launch
    return subprocess.Popen(args, cwd=run_config.cwd, env=run_config.env)
  File "/usr/lib/python3.5/subprocess.py", line 947, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.5/subprocess.py", line 1490, in _execute_child
    restore_signals, start_new_session, preexec_fn)
OSError: [Errno 12] Cannot allocate memory

I'm currently using Ubuntu Linux
and I tried to increase my swap memory, but it only helps to increase only one more iteration.
I checked whether subprocess was killed or not (via psutil), but I guess env.close() works well.
If you need to check my full code, here it is.
Thank you.

I'm not sure what's wrong there.
Btw given that you're using SC2Env in a context manager (ie with) you don't need to call env.close explicitly.
Also, it's a good idea to compute the number of actions from len(pysc2.lib.actions.FUNCTIONS) since new abilities may be added in future versions of the game.

@tewalds yes it's sure that starcraft was shut down after each iteration and none of the process remained running. So it is possible to run the code again after it exits, but only few repetitions similarly. And thank you for your last advice.

closing this issue due to get solved

@phraust1612  Hi, I am also having an OSError: [Errno 12] Cannot allocate memory issue. Could you please tell me how you solved this problem? Thanks a lot.

Hi there, I'm also running into this problem! Any insights? @phraust1612 , @TimeBreaker


Distance query between two geoms

Hi!
I want to query the distance between two geoms.
I have checked this issue, but setting margin cannot query the closet distance between two geoms by contact.dist when the closet distance larger than margin.
Is there a function to support this detection?
Thanks!

margin+gap is the current mechanism which allows you to do this.
Can you explain how this mechanism is insufficient for your needs? (ideally by providing a minimal example model)

Everywhere in your model I set margin=gap=1, this lets me detect inactive contacts at a distance of up to 1 meter. This also works for 10 or any positive number.
Does this solve your problem?

You can eliminate that via collision filtering, either with em explicit exclude clause, or by introducing collision masks using contype and conaffinity.

So make gap bigger than margin?

The collision table is exposed in the API. If you know what you're colliding you should be able to just call these?

Calling the functions in collison table is exactly what you want. If you know the types of a pair of geoms these functions will just compute the distance (as well as frame etc).
However, in my attempt to write example code for you. I realised the collision table is not exposed to Python. @saran-t am I right that it's not exposed? Could we expose it?


782 mui datagrid serverside pagination

Implements #782
This enables serverside pagination for both Operator and Operations dashboards and works with sorting.
One thing that I could use a second set of eyes on is the updates to the /operations GET route have increased the amount of queries from 3 to 4 (Viewing through django-silk backend at http://localhost:8000/silk/requests/). Would be nice if we could get that back down to 3 though I am unsure of what the cause is.
Also found an example to add a numbered pagination component to the bottom of the datagrid. I found while testing that it was poor ux to make the user go through every page to get to later pages:

I made a task issue to add server side pagination to the Users dashboard here:
https://github.com/bcgov/cas-registration/issues/870
That api route wasn't as problematic during load testing so it wasn't included in this ticket due to MVP time constraints.


Got imports error when executing a tool

Describe the bug
I followed the simple example in the letta tutorial, to create a tool and add the tool to an agent. I sent a specific message to the agent to make it execute the tool, however I constantly got NameError: name 'Dict' is not defined when the agent called the function, even though I already imported it from typing. My tool is written as follows:
from typing import Dict, Union

async def get_weather_forecast_by_location(self: "Agent", location: str) -> Dict[str, Union[str, float]]:
    """
    Get the current weather for a given location.

    Args:
        location (str): The name of the location for which to retrieve weather information.

    Returns:
        dict: A dictionary containing weather data, including local time, temperature,
        wind speed, wind direction, weather description, and whether it's day or night.

    Example:
        >>> get_weather_forecast_by_location("Paris")
        {
            "location": "Paris",
            "time": "2024-11-25 18:45:00",
            "temperature": 15.0,
            "windspeed": 8.5,
            "winddirection": 332,
            "weather_description": "Clear",
            "is_day": 0,
        }
    """
    # remaining code......

 MacOS
How are you running letta? (cmd.exe/Powershell/Anaconda Shell/Terminal) Terminal

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Letta Config
Please attach your ~/.letta/config file or copy past it below.
[defaults]
preset = memgpt_chat
persona = sam_pov
human = basic

[archival_storage]
type = chroma
path = /Users/clannad/.letta/chroma

[recall_storage]
type = sqlite
path = /Users/clannad/.letta

[metadata_storage]
type = sqlite
path = /Users/clannad/.letta

[version]
letta_version = 0.5.5

If you're not using OpenAI, please provide additional information on your local LLM setup:
N/A

Hi! Sorry a lot of changes have been made recently to the Tools in Letta -

You don't have to include self in the function.
We don't have a great way yet of including the defined imports in the file as part of the Tool execution - for now, would you be able to return a stringified version of the dictionary? It should be fine, since it gets turned into string tokens to be passed into the LLM anyway.

Got it! Thanks for the answer. Btw, I wonder if I marked the tool function as async, could the agents execute it properly?

I am using an external API service, which recommends using async/await at all times. but anyways, if I could not use async/await in tool calling, maybe I can try to switch to sync approach to see what happens. Thank u!

FYI @lemorage async won't work:

But if you make your function sync, it seems to work:

^ This is using the new tool debugging (in create tool) in the new ADE (app.letta.com)
As a side-note, I'd generally recommend formatting the output to be a string within your tool, because if you don't, Letta (the runtime) will cast it down using Python's str(...), which is probably not as pretty-printed as you would like if you're optimizing for LLM inputs.
I'm going to close this issue for now but if you realize that not being able to use async in your tool definitions is a serious blocker, I can re-open this issue and we can take another look!


[motion_velocity_smoother]consider upper size of trajectory points

Description

Review Procedure

Remarks

Pre-Review Checklist for the PR Author
PR Author should check the checkboxes below when creating the PR.

[ ] Read pull request guidelines
[ ] Code follows coding guidelines
[ ] Assign PR to reviewer

Checklist for the PR Reviewer
Reviewers should check the checkboxes below before approval.

[ ] Commits are properly organized and messages are according to the guideline
[ ] Code follows coding guidelines
[ ] (Optional) Unit tests have been written for new behavior
[ ] PR title describes the changes

Post-Review Checklist for the PR Author
PR Author should check the checkboxes below before merging.

[ ] All open points are addressed and tracked via issues or tickets
[ ] Write release notes

CI Checks

Build and test for PR / build-and-test-pr: Required to pass before the merge.
Build and test for PR / clang-tidy-pr: NOT required to pass before the merge. It is up to the reviewer(s). Found false positives? See the guidelines.
Check spelling: NOT required to pass before the merge. It is up to the reviewer(s). See here if you want to add some words to the spell check dictionary.

TrajecotryPointsを使っている場合にはチェック必要ないのでClose


[Question] Where are metrics for a longer period?

Hi. Lens shows metrics for a hour only. But I can't find anything to choice time period or just make it longer.
Where can I watch metrics for more than one hour?

This is not currently supported


pull route geometries from gtfs

for AC we could maybe use their junction nodesb ecause they might map to tomtom

some version of https://github.com/MetropolitanTransportationCommission/gtfsr/blob/2f1abe94c850240c65bbb153045eac758c8d8c44/R/map-gtfs-helpers.R#L45-L244 should do this, just need to cut out all the cartographic stuff and have it return WKT

done here https://github.com/MetropolitanTransportationCommission/RegionalTransitDatabase/commit/2ffa00f68534cedfc36ba24e92579cd71da825ea

re-opening based on a discussion with @Keareys. we would like to pull all route geometries that are valid for any service date within the year. currently, we've selected 1 valid date of service. instead, we should pull geometries for any date.

closed as of https://github.com/MetropolitanTransportationCommission/RegionalTransitDatabase/tree/c1626472dee37a74252f4a9bcc8e0805de43c460


Extending cs_location, adding rsc_defaults and stonith capabilities for pcs

I have made some enhancements for pcs and made some minor bug fixes.
I have kicked the tyres on a RHEL 6.5 box and now happy to see these changes rolled into the mainline puppet-corosync module.
Happy to discuss my changes and open to understanding how to create testing for these changes.

@gavmain, thank you very much for this contribution.
before i dive into a review, I'd like to ask you to squash those many commits, especially the error correcting ones. note that when using the github flow, ask if this should be much easier

@igalic thanks for showing an interest in this pull request. I am a bit lost with how to do that easily. I have made a bit of a mistake by making all changes on master. Any idea how I can squash them all? Google isn't too helpful. Am I best to re-fork and pick my changes into different branches and issue seperate pull requests?

I think this is decent documentation on how to squash the commits into one commit. https://github.com/ginatrapani/todo.txt-android/wiki/Squash-All-Commits-Related-to-a-Single-Issue-into-a-Single-Commit

Cheers @nibalizer, I found that article earlier in the day, but hit up against problems with the rebase. Stackoverflow came to the rescue: http://stackoverflow.com/questions/2563632/how-can-i-merge-two-commits-into-one

first round of review.
i hope my question help you get a sense of direction

I would like crm feature parity and am willing to help test/code.   I run in a Mixed Env.
So

Ability to do simple stonith configs with crm/pcs
Ability to do simple rule/expressions with crm/pcs

@bkosick sounds great. Please feel free to base any work on the branch of this PR, and open a new PR even if this is not yet merged. It will be difficult to review until this one is merged, but you don't need to build your stuff on current master that way.

Apologies for being AWOL. I have been caught up with a lot of other work and just getting time to finish the job. I'll publish changes next week.
Cheers for taking the time to review.

seeing as @gavmain is pretty swamped, does nanyoe else wanna take this one on, with the suggested improvements?

Igor, bare with me. I'll have this done in a couple of days. It has become a high priority for my company again.

On 19 Oct 2015, at 17:54, Igor Galić<EMAIL_ADDRESS>wrote:
seeing as @gavmain is pretty swamped, does nanyoe else wanna take this one on, with the suggested improvements?
—
Reply to this email directly or view it on GitHub.

@gavmain this is no prio for us but if it is merged into master I'll rebase my branch

Hello:
Just pinging. Can this be rebased and squashed?

Closing due to lack of movement. If this is still needed, please re-open.


Fsdk/Network: allow nuget.exe on non-legacy

This commit changes Fsdk to allow running nuget.exe on non legacy frameworks, this is useful when running build scripts that run on dotnet6 but use xbuild simultaneously.

@aarani CI is red


remove prepublish script

Motivation:
npm WARN As of npm@5, `prepublish` scripts are deprecated.
npm WARN Use `prepare` for build steps and `prepublishOnly` for upload-only.
npm WARN See the deprecation note in `npm help scripts` for more information.

We should be able to use prepare though I'd have to test that.

Closing as this is resolved with b0be73957ab7e7c3ef9b01c6ede9ac390ffbdf5a.


grpcio 1.53.0 causes torch Dataloader multiprocessing to fail

What version of gRPC and what language are you using?
grpcio 1.53.0
Python
This issue does not happen with grpcio 1.51.3
What operating system (Linux, Windows,...) and version?
Amazon Linux AMI 2
What runtime / compiler are you using (e.g. python version or version of gcc)
Python 3.7.9
What did you do?
This error is reproducible when running the following test:
import pytest
import sys

import ray
from ray.util.client.ray_client_helpers import ray_start_client_server

@pytest.fixture
def start_client_server():
    ray.init(num_cpus=1)
    with ray_start_client_server() as client:
        yield client
    ray.shutdown()

def test_dataloader(start_client_server):
    from torch.utils.data import DataLoader
    from torchvision import datasets
    from torchvision.transforms import ToTensor

    dataset = datasets.FashionMNIST(root="/tmp/data", download=True, transform=ToTensor())
    dataloader = DataLoader(dataset, batch_size=1, num_workers=2)

    for inputs, labels in dataloader:
        pass

if __name__ == "__main__":
    sys.exit(pytest.main(["-v", __file__]))

This only happens when the start_client_server fixture is used, which indicates that this has something to do with the combination of gRPC/Ray Client.
What did you expect to see?
The test should run successfully without error.
What did you see instead?
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― test_dataloader ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

self = <torch.utils.data.dataloader._MultiProcessingDataLoaderIter object at 0x7fb792ac5e90>, timeout = 5.0

    def _try_get_data(self, timeout=_utils.MP_STATUS_CHECK_INTERVAL):
        # Tries to fetch data from `self._data_queue` once for a given timeout.
        # This can also be used as inner loop of fetching without timeout, with
        # the sender status as the loop condition.
        #
        # This raises a `RuntimeError` if any worker died expectedly. This error
        # can come from either the SIGCHLD handler in `_utils/signal_handling.py`
        # (only for non-Windows platforms), or the manual check below on errors
        # and timeouts.

        # This can also be used as inner loop of fetching without timeout, with
        # the sender status as the loop condition.
        #
        # This raises a `RuntimeError` if any worker died expectedly. This error
        # can come from either the SIGCHLD handler in `_utils/signal_handling.py`
        # (only for non-Windows platforms), or the manual check below on errors
        # and timeouts.
        #
        # Returns a 2-tuple:
        #   (bool: whether successfully get data, any: data if successful else None)
        try:
            data = self._data_queue.get(timeout=timeout)
            return (True, data)
        except Exception as e:
            # At timeout and error, we manually check whether any worker has
            # failed. Note that this is the only mechanism for Windows to detect
            # worker failures.
            failed_workers = []
            for worker_id, w in enumerate(self._workers):
                if self._workers_status[worker_id] and not w.is_alive():
                    failed_workers.append(w)
                    self._mark_worker_as_unavailable(worker_id)
            if len(failed_workers) > 0:
                pids_str = ', '.join(str(w.pid) for w in failed_workers)
>               raise RuntimeError('DataLoader worker (pid(s) {}) exited unexpectedly'.format(pids_str)) from e
E               RuntimeError: DataLoader worker (pid(s) 22408, 22422) exited unexpectedly

/opt/miniconda/lib/python3.7/site-packages/torch/utils/data/dataloader.py:1133: RuntimeError

Anything else we should know about your project / environment?
https://github.com/ray-project/ray/
cc @pcmoritiz

I don't think this is enough information for the gRPC team to go and debug, since there are dependencies on other projects and the report just says that the combination has stopped working.
I'll leave this to @gnossen

Ah one clarification is that this specifically fails with grpcio 1.53.0 and succeeds with 1.51.3.

This is almost certainly related to https://github.com/grpc/grpc/issues/31885. A couple of questions to help me triage this particular issue:

How frequently do you see this? Are there any particular situations in which it happens more frequently?
Is is possible to get the logs from the worker that experienced a segmentation fault?

I could reproduce this 100% of the time with the particular repro script shared.
I'd be happy to share logs! Could you teach me how to find the worker logs?

@gnossen friendly ping on the above - a number of our users have been running into this issue.

Hey @gnossen @yashykt please let me know if there is any more information I can provide to help debug this.

@gnossen @yashykt  any updates here?

Hi, any updates on this? We use ray tune as backend to do HPO and encounter this issue too


Using a immerable class with a getter without a setter

In an immerable class with a getter without the corresponding setter, assigning a value to any field using the getter value within a class method causes the following error:

#TypeError#
Cannot set property bar of # which has only a getter

It only happens with non-primitive getter values and with setUseProxies(true)
It can be fixed in userland creating an empty setter (set prop(v) {})
This PR makes the markChangedProxy function to skip the assignment copy[key]=value when there is a getter without a setter.
It fixes https://github.com/immerjs/immer/issues/439 and replaces https://github.com/immerjs/immer/pull/438
Links to Repro (updated to immer 6.0.2)
https://codesandbox.io/s/small-rain-inotu
https://codesandbox.io/s/useimmer-tic-tac-ci6qq
To Reproduce
import { produce, immerable } from "immer";
class Obj {
  [immerable] = true;
  foo = 0;
  _bar = { baz: 1 };
  get bar() {return this._bar}
  syncFoo() {
    return produce(this, state => {
      state.foo = state.bar.baz;
    });
  }
}
const obj = new Obj();
const obj2 = obj.syncFoo();

Merged into #593, changed the implementation there to be a bit more efficient, and fix the problem and trap rather than at finalize time, still wip, but seems we can solve some other issues with it as well


Replay handler fails health check from Target group

I tried running the stack to spin up the replay handler but the Target group fails health checks for the instances. The health check is configured for TCP: 4789 (Target port). I am not quite sure what I am missing here.

have you followed the Walkthrough section of the blog post? https://aws.amazon.com/blogs/networking-and-content-delivery/mirror-production-traffic-to-test-environment-with-vpc-traffic-mirroring/
From the prerequisites listed in the Walkthrough section: "You first need a VPC with private subnets that route internet-bound traffic to a NAT Gateway". That may be the cause of your issue.

Hi,
I'm having this same problem, and the VPC routes internet bound traffic to a nat gateway and works correctly.  This is running directly the cloud formation script.  Is there anything that can be done?

Hi,
I'm having this same problem, and the VPC routes internet bound traffic to a nat gateway and works correctly. This is running directly the cloud formation script. Is there anything that can be done?

This is now solved. The issue was that the CloudFormation template linked in the blog post was not updated (the template is in S3, and it was out-of-sync with GitHub).


3.0.3 broke async handler

Async handlers call send_event with a hash:
https://github.com/getsentry/raven-ruby/blob/a0d09f6b9a8533cb749f4ec7a71bae25882db8a0/lib/raven/instance.rb#L123
https://github.com/getsentry/raven-ruby/blob/master/lib/raven/event.rb#L136
The refactor of Client now assumes an object:
https://github.com/getsentry/raven-ruby/blob/master/lib/raven/client.rb#L38
This breaks users of async, including the example in the readme:
config.async = lambda { |event|
  Thread.new { Raven.send_event(event) }
}

This was broken in the refactor change #995
cc @st0012

We've run into this as well, after Dependabot bumped us from 3.0.2 to 3.0.3. All of our Sentry background jobs started raising exceptions, so we have temporarily reverted back to 3.0.2.
If it helps, the issue manifests as a couple of different exceptions:
NoMethodError: undefined method `event_id' for #<Hash:0x00007f06cc8ec1a8>
NoMethodError: undefined method `log_message' for #<Hash:0x00007f06ce260648>

thanks for reporting and sorry for all the hassles 😓
I've added https://github.com/getsentry/raven-ruby/pull/1002 to revert the changes & increase test coverage.

The fix has went out in version 3.0.4

Thanks for the quick fix and release @st0012!


Disabled batched plot optimization

This optimization was a nice idea as it would avoid sending ColumnDataSource columns which all contain the same value and it might be possible to get it to work but it doesn't deal with empty elements well currently and I don't want to fiddle more before release.

Ok. Just make sure to file an issue to re-enable and fix after the release.

Tests have passed. Merging.


Correct configuration path for AckMode in the kafka tips document

Current documentation had kafka missing from the configuration path.

Thanks for the PR. Merged upstream.


buildSettings.LIBRARY_SEARCH_PATHS.push is not a function

Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Environment:
OS: macOS High Sierra 10.13.3
Node: 9.4.0
Yarn: 1.3.2
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 3.0 AI-171.4443003
Packages: (wanted => installed)
react: 16.2.0 => 16.2.0
react-native: 0.52.2 => 0.52.2
Steps to Reproduce

Type "react-native link" on command line
Error report requesting to create issue for you

Expected Behavior
No error
Actual Behavior
jmiettunen $ react-native link
Scanning folders for symlinks in /Users/jmiettunen/git/project/ern-miniapp/node_modules (11ms)
rnpm-install info Linking react-native-electrode-bridge android dependency
rnpm-install info Android module react-native-electrode-bridge has been successfully linked
rnpm-install info Linking react-native-electrode-bridge ios dependency
rnpm-install WARN ERRGROUP Group 'Libraries' does not exist in your Xcode project. We have created it automatically for you.
rnpm-install ERR! Something went wrong while linking. Error: buildSettings.LIBRARY_SEARCH_PATHS.push is not a function
Please file an issue here: https://github.com/facebook/react-native/issues
buildSettings.LIBRARY_SEARCH_PATHS.push is not a function
Reproducible Demo
Is there some more (debug) info you would like to have? Sorry, cannot send app source code.

@jomnius can you tell the format/structure of the newly created array?


Adding line position to Origin

Addition of line positions to origin
Addition of a benchmark suite to test it using Defn.Def, Defn.Class, Term.Match.

Thanks! It probably makes sense to create a dedicated class called Position and give it methods like offset, line, column, but let's think about this later.


chore(semantic-release): bump semantic-release package to 15.9.5

they fixed a bug which lead to no comments below PRs 👍
Testing
🤷♂

Trade-offs

Dependencies

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

:tada: This PR is included in version 2.4.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Bugfix in deletePlaylistTracks for RETURN_ASSOC

When i change return type from Request::RETURN_OBJECT to Request::RETURN_ASSOC .
The deletePlaylistTracks-Methods always returns false

Thanks for contributing! 🎉


Fixing run counter not updating on new runs, making run counter start at the right time, and not spawning marshmallow on complete runs

This change does the following:

Modifies the time at which we start the clock, so it only happens when we've started a new run AND a new time loop has started. This fixes when the counter is started when the pause menu randomizer button is used.
Resets the end time when we start a new run so the timer appears
Does not spawn the marshmallow if you meditate after completing a run

There is one problem remaining after this change, which is an edge case I'm not sure if we care about: After completing a run, if you meditate, the timer does not reappear. This is more complicated to fix.
Testing:

Verified counter starts when we begin a run from the title screen
Verified counter restarts if you go back to the title screen and start a new run
Verified the counter doesn't stop if you meditate
Verified that the counter restarts if you randomize the spawn & goal from the pause menu, and that the counter doesn't start until the next time loop begins
Verified that the counter stops when you eat the marshmallow
Verified that the counter restarts if you complete a run, then go back to the title screen and start a new run, or use the randomize button in the pause menu

Added a fix to make the Randomize Spawn & Goal button only appear when the mod is enabled. Verified it shows up when you start a speedrun, and doesn't show up if you go to the title screen and start a normal game.


#503 additional translations

Fixes #503
Context

Checklist

[x] Review Contribution Guidelines.
[x] Make sure all contributed code can be distributed under the terms of the
Apache License 2.0, e.g. the code was written by
you or the original code is licensed under a license compatible to Apache License 2.0.
[x] Update documentation when applicable.

Thank you @FDelporte! 😁


Update guide.md

Small bugfixes for the rest of the guide ^^

⚠ This issue has been locked due to age. If you have encountered a recent
problem that seems to be covered by this issue, please open a new issue.
Please include a minimal reproducible example
when opening a new issue.


Loss curves

Can you please post a plot of loss curves (hm and reg) over epochs?
Thanks

in my experiment, i found the giou loss doesnot converge at all

@seovchinnikov I have tried many experiments with different networks, sometimes the wh loss stuck at 0.6 and no longer decrease, sometimes the wh loss converge very where and can decrease to 0.21


[ For BetterMeower ] issues not enabled

@JoshAtticus  @mdwalters

Crap why does it do that

Fixed

at least email us or something to get this out of meower svelte's way dammit


Should GraphBin/GraphBin2 operate on the contigs of metaFlye assemblies?

Hi @Vini2 ,
Thanks for the great tool. More a conceptual question, your manuscripts all discuss binning of contigs, which seems to make sense to me (especially for paired-end Illumina where pairs can link contigs into scaffolds); however the metaFlye implementations operate on edges in the assembly graph. My understanding of metaFlye assembly graph is it is possible to have a contig made of 2 connected edges (eg. A and B) which loops back to 1 of the edges so that the contig may be A -> B -> A. This additional information (ie the longer, more complete contig) may then help the binning software bin the contig, and also lead to more complete bins (else the bin may only have 1 copy of A instead of 2).
Would it not make sense for GraphBin/GraphBin2 to operate on contigs, propagating labels across scaffold links? Unfortunately/fortunately, there are frequently very few or even no scaffold links in metaFlye assemblies (found in the scaffolds_links.txt file in 30-contigger folder in the metaFlye output), and therefore I expect the effect of GraphBin/GraphBin2 to not be as large as for Illumina assemblies. Thanks for your thoughts!
-Sam

Hi @schorlton,
GraphBin/GraphBin2 now supports original contigs from Flye.
Thanks! Closing this issue now. Please re-open if needed.


Moving packages around

Creating a more logical structure for app-engine cloud related classes.

Not commenting on any details of this PR, which I haven't really looked at.
But just want to add some suggested reading on packaging structure (if you haven't looked at this stuff already)
http://www.javapractices.com/topic/TopicAction.do?Id=205
https://docs.google.com/a/google.com/document/d/1XXMvReO8-Awi1EZXAXS4PzDzdNvV6pGcuaF4Q9821Es/edit?usp=drive_web (not actually about java, but related)
Also there's some internal resources and discussions on this that are worth checking out.
Not reviewing this, so don't block on me for merging this.  Just some stuff to think about if you haven't already.

Thanks. I'll check it out.

closing as its outdated after major refactoring


Allow cross-compiling for Linux from Windows

Use case

I wanted to build my app for Linux but I couldn't do that from Windows, so I had to install flutter, pkg-config, llvm, ... on WSL while I had them on my Windows installation. It'd be nice if I could cross-compile Linux apps on Windows.
Proposal
LLVM supports cross-compiling by default. Also it is possible to use MSYS32 to cross-compile on a POSIX environment. Also Visual Studio supports building Linux apps and debug them on remote machine or WSL using SSH. Also It's possible to cross-compile Windows apps on Linux.

Hi @xmine64, Thanks for filing the issue. Labeling this issue for further insights from the desktop team.

Please add cross-compiling for all possible desktop platforms.

Please add cross-compiling for all possible desktop platforms.

Flutter only has Windows, Linux and macOS support, and building apps for macOS requires Xcode that's only available on macOS (no official cross-compile toolchain is available). Only Windows and Linux targets are possible for cross-compiling from any host.

We know that the dependency of MS Visual Studio can be a thorn in the side of flutter for Cross compile, but this feature can be the icing on the cake of flutter...
Of course it's possible only for Android/Linux/Windows in MS OS or Linux OS but is a necessary feature.

Please add cross-compiling for all possible desktop platforms.

Flutter only has Windows, Linux and macOS support, and building apps for macOS requires Xcode that's only available on macOS (no official cross-compile toolchain is available). Only Windows and Linux targets are possible for cross-compiling from any host.

So. is it possible to compile windows and Linux on macOS ?

So. is it possible to compile windows and Linux on macOS ?

It's possible using MinGW. MinGW is not exactly same as MSVC toolchain but people are already using it to cross-compile win32 apps on Linux, even some use it on Windows.

Please file new issues for different combinations of host and target desktop cross-compilation; there are different considerations for each combination.

Please file new issues for different combinations of host and target desktop cross-compilation; there are different considerations for each combination.

Sure, I needed cross-compiling for Linux from Windows and I opened issue for that, I'm just saying it's also possible to do it on other platforms as well.
Also targeting Linux may seem tricky, as different distros have different versions of libraries and it may cause incompatibilities.

I'm trying to figure out if it's possible to develop in Flutter for different OSes and platforms using Linux or Windows host. There are successful cases of such development in other languages. For example, for Go there is Fyne GUI framework in which I can, currently developing on Linux, cross-compile for Windows and MacOS, as well as for other hardware, for example, from Arm64 to Arm32. Did I understand correctly that there is nothing like this in Flutter yet?

Flutter only has Windows, Linux and macOS support, and building apps for macOS requires Xcode that's only available on macOS (no official cross-compile toolchain is available). Only Windows and Linux targets are possible for cross-compiling from any host.
Xcode can be downloaded from Apple and used on Linux to build MacOS binaries like they do it in Fyne GUI


Wave sim intensity is very frame-rate dependent

Hi @huwb !
Looks like Wave sim/Foam sim intensity are very related to framerate.
I have tested this on 3 diferent machines:

Machine 1: Core i5, Intel HD 620 (Around 20 fps avg)
Machine 2: Core i7 7500, Geforce GTX 950M (Around 35 fps avg) (approx)
Machine 3: Core i7 8700, Geforce GTX 1080 (+80 fps)

On machine 1, there is a lot of foam just after starting accelerating the ship a little, and after get some speed, the generated wave is way higher (in height) than desired.
On machine 2, is also noticeable there is a lot more foam than normal, and that waves go too up as well, but not as much as on machine 1.
On machine 3, there is almost no foam (unless you go pretty fast and turning), and wave sim is way smaller, not getting as high as any of the other machines.
I've just double checked this on latest https://github.com/huwb/crest-oceanrender/commit/d4d8536507f7237f75f94a473331a6a296e506a2 commit from master.
I think that some time-dependent values are not multiplied by Time.deltaTime, or maybe we are mixing fixed time step with regular time steps. I'll try to figure out what is causing this.
Thank you!

Thanks for reporting. That's useful info.
I haven't made progress fixing this but added a helper for debugging - I added a Sleeper script that can just generate a random pause during the frame, so you can get a badly varying framerate.
I did a test with this script and set the foam fade rate very high (so foam is removed every frame), and set the foam generated from the wave sim to high, and i get this image of beauty: https://drive.google.com/open?id=1K46UfNF9ZlWOwvB3w0HFn76bSzphY90T
this indicates that the computed acceleration is highly unstable, which is computed from current and previous dts. Something is wrong here.
It's not clear that this is related to general wave behaviour being different at different frame rates, but its clearly an issue and perhaps something that should be fixed first.
If the wave dynamics are still time dependent after that fix, we might experiment with integration schemes (i compared a few in the past - http://www.huwbowles.com/spring-dynamics-production/ ). Semi Implicit Euler should be simple to implement and seems to conserve energy well.

Quick note - in #47 we discovered how to generate displacements from the dynamic wave sim, which means both the ocean waves and the dynamic interaction waves can now produce foam through the same mechanism, which does not suffer from the issue I show above in the video. I have now deprecated the foam path that causes that flicker issue in my video above - so thats one less issue to deal with.
However this wont affect the dynamic waves having higher amplitude etc at low frame rates so the main issue is still open.

Just tested latest commit https://github.com/huwb/crest-oceanrender/commit/3f531a0a8008ea0d0e8af687b34816151d47dca9 from master on both machine 1 (slowest) and machine 3 (fastest) and the looks like the foam thing is fixed!
There is still higher amplitude of waves on machine 1, but they seem to have descreased a bit. Also, wave shape looks more realistic now (I guess it's the new displacement) so this is going in the right direction 👍
Foam on machine 3 it's perfectly nice and goes just along the waves (as they should).
Foam on machine 1 it's perfect too and just along the waves, but the higher amplitude of wave makes the foam a bit more intense (just a little bit), but I guess this is not a foam issue itself but related to wave amplitude issue.
Thanks for your efforts on this!

Hi @huwb !
What's the status of this issue? Does https://github.com/huwb/crest-oceanrender/commit/8e1ae156025ec757e4b4bf6313f15de19eac7196 fix the amplitude issue?
Would be nice to have a system that works on a predictable way on all machines.
Thank you.

Hey there, thanks for the bump.
Sadly it does not (yet). I started to see if i could rebuild the sim from the ground up, and so far the results in that commit are a bit crazy. I came to the conclusion that i need to find a book or other resource to write a solid sim. I always find it really difficult to get good and solid results when I write sim stuff..
The backup plan is to run the current sim at 60hz (fixed), or run it with steps up to but not more than 16ms. The latter means i could always update to the frame end time and wouldnt have to worry about interpolating results to avoid jitter etc. This is my favourite option, but I tried this for some time and could not manage to create a command buffer to successfully do multiple ticks. I don't recall the exactly why i failed but I think my next move will be to try the same thing again with fresh eyes.
I hope I can sort this and #55 some time soon. I'll post back if i make progress.

Thanks for the update.
Yeah, sim stuff looks pretty difficult for me too, I would really like to help there, but I feel like I need stronger math skills... Also need to digg a little more into Crest codebase to realise how things are done...
I'll post back if I find resources or anything helpful.

Still haven't made progress on this. I'm not really mentally geared up to rewrite simulation code at the moment, and I have pressing things (that I actually do understand :)) that keep overtaking this on my list. Also my day job is getting busy at the moment so my time windows for Crest are becoming smaller. Also at some point in the future the built in render pipeline will probably be deprecated (?) and I want to start laying the groundwork for transitioning to the scripted pipelines.
I'm afraid I'm transitioning the status of this to "no current plans to work on it", and I'll apply the help wanted tag in case someone who is good at writing sims reads this and comes to our rescue! Sorry about this.

Simulation time step is now limited to a max of 16.67ms (60hz). This should add enough consistency to resolve this issue.


Integrating wttr on my BBS but strange charachters

Hello, I am implementing wttr on my Mystic BBS so they can see the weather forecast in their city.
I use curl -o to save an .ans file but when i open it with an ANSI editor like pablo draw, Moebius or Mystic ANSI editor i see wrong/strange characters....
If i run curl from result look well but if save it with -o (or >>) it look very bad like this:

Solved with this cli command (under Linux):
iconv -f UTF-8 -t CP437//TRANSLIT -c incoming.ans -o outcoming.ans
so it would be even more beautiful with some colors... ;-)


Please allow squash commit merging

Hey owners, could you please allow squash commit merging for this repo? See https://help.github.com/en/github/administering-a-repository/configuring-commit-squashing-for-pull-requests thanks!

Already set - please check whether it works as expected:

@MarkusTiede thanks I found it! I though it has to be activated on creating the PR :)


Sorting and searching of favorites

Favorites seem to be sorted from old to new. Would ve great if sorting order could be switched and if favorites were searchable.

When sorting by date, do you prefer sorting by date that you added the favorite, or by date that a story or comment itself was posted? I'm partial to the latter, because a) it maintains parity with the way favorites are shown on the website, and b) this is easier to achieve in a backwards-compatible way because we just need to sort the IDs in descending order.
I don't see a clean way of making favorites searchable in the current architecture. Favorites are stored as nothing more than IDs and their content isn't even loaded until visible on screen, so a local search seems unfeasible. It's somewhat possible to use the Algolia HN API to construct a search combining multiple specific IDs like this, but that has its own issues: a) that method doesn't work well for searching both stories and comments, and b) we might run into a maximum URL length limit if we have a large number of favorites.

I think by added date would make sense.
About srarch: At some point you load titles since you're displaying them. Simple phonetic search could be performed locally IMO.

It could, but I consider a phonetic search algorithm to be out of scope for this project. Search in general is in scope, but as mentioned, posts and their titles are not loaded until they are visible on screen so it's not a trivial feature to implement in the current architecture. That makes it sit quite low on the priority list.
I'm afraid something similar can be said of sorting by added date. That requires storing dates along with the IDs, which would not be backwards-compatible, and is information that is not available on the website and would therefore cause conflict with the synchronization feature. For now I've implemented a simple sorting from new to old in ddeb145753001f5b548a047941e9a52c27381264, I hope that suffices for now.

Search could work with polling IMO.
Let's say you're loading chunks of 25 bookmarks. You'd need to filter them by sesrch terms. If displayed items don't fill the screen, you load the next chunk and repeat until the screen is filled up or HN Api returns zero items.
Of course it would be much more elegant if HN's Api would support such functionality.
Alternatively you could synchronize and store ID's, titles, and bookmark-dates into a local database which allows fulltext searching and maybe even phonetic searching.

A simple version of this has been implemented in ec23911bba76ae76ac646f2f9dfc9ff091dcabf7 utilizing the Algolia API as much as possible. It has the limitation of only searching stories, not comments, but I'm just not willing to change the structure of the app significantly only to support that feature.


List Component

TBD

List Component Design Meeting Report
Date: 18.01.2023 14:30 CET

List component will be a generic component for listing same kind of data/menu/options.
This component can be used as an atom in many places like select options, dropdown menu or navigation menus.
Basic list item will have only a free content area that user can put whatever they need (a simple text or custom product card etc)
List component can be optionally "selectable". In this case list items will have a checkbox and user will able to select one or some list item(s) for further actions.
List component can be optionally used for navigations. In this case there will be a visual indicator (right arrow) and clicking this button (or whole item, will be desided in design phase) to navigate to another screen.
Dividers and gaps between list items will be customisable (with some options or freely, will be decided in design phase)
Highlight and selected styles will be set for list items.
List item can have more optional slots (like an image/icon, a caption and a description). These will be decided in design phase. In every case, free content area always will be present in the remaining area.
Optionally a list of actions can be defined per list item either as a dropdown menu or as sliding actions (a swipe menu). Sliding actions can be done in future phases.

Here is the design documentation link. We updated the selectable list by adding single select (radio input) option.

I started to work on writing an ADR in our discussion board. https://github.com/Trendyol/baklava/discussions/634


Status of the device

Hi,
Thank you for your project!
Recently my ESP device was disconnected from the network, but the automation in HA didn't sent me a message about it, so i tried to see why and saw that the device in HA isn't going to "unavailable" when it's going offline, Do I miss something?
It looks like there is no "Offline/Online" MQTT sensor that switches the device to unavailable state

Which firmware version are you on?

@technyon That's something for the auto-discovery rewrite.

Well yes, but the latest firmware has a connection state topic (including auto discovery) which does exactly this.

No, not in the sense that the OP likely means. In HA, when a device becomes unavailable, the state of the entities changes to unavailable (or unknown with slightly different semantics). To get that behavior with MQTT, the discovery payload has to include some additional keys.

ok I see

same problem here, yes, I also have after a restart that sometimes the status is unavailable ... after a renewed restart it works again ... I'll try with the automation if I can do something that it reboots again if unavailable ... so it would be on small fixx....

same problem here, yes, I also have after a restart that sometimes the status is unavailable ... after a renewed restart it works again ... I'll try with the automation if I can do something that it reboots again if unavailable ... so it would be on small fixx....

Please open your own issue, this is the opposite of what the OP wants (explicitly setting the state to unavailable because currently it isn't).

After merging #292 all entities in Home Assistant discovery now include the activity topic which (in conjunction with LWT) ensures all entities (not just the lock entity) become unavailable when the device goes offline/becomes unavailable to the MQTT broker for whatever reason. Tested in my own build including #292 by pulling the USB power cable from the wall.
I propose this issue is marked as fixed by #292 and closed.

ok, closing this


Criterion for selecting symbolic function in Symbolic_LANLayer.fix_symbolic()

Hello!
I'm wondering how did authors select the criterion of fixing symbolic function of activation node as correlation coefficient.
In Symbolic_LANLayer.fix_symbolic() method, I found that r2 is calculated by utils.fit_params() function, and fit_params() function derives r2 value between activation node and symbolic function using correlation between them.
I think that it is more appropriate to use r2 as coefficient of determination(R^2) value as r2 variable in code, so I'm wondering why authors select correlation as r2 between two functions. Is there any reason?
Thank you for any opinion for the question!

not a random choice tbh :)


On front-end start on Ubuntu Desktop 15.10: Error: Cannot find module 'phantomjs'

Executing bin/www:
zsar@IMISE-Testrechner:~/aberowl-meta/aberowl-web$ bin/www

module.js:340
    throw err;
          ^
Error: Cannot find module 'phantomjs'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/home/zsar/aberowl-meta/aberowl-web/app.js:14:17)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)```

Checking via apt list phantomjs:
Listing... Done
phantomjs/wily,now 1.9.0-1 amd64 [installed]

Probably related to this comment.

The pointers given by Robbie1977 are completely necessary to circumvent this problem.
This means that at least the ReadMe is out of date (still/again?).
However, it also seems to be rather vexing that a system-wide installation of phantomjs is not recognised by AberOWL and instead a local instance has to be provided via ´/aberowl-meta/aberowl-web/npm install phantomjs´ - as far as I can see (not a Linux expert and never used phantomjs before), this really does nothing but install phantomjs again, but in a subfolder of /aberowl-meta/aberowl-web/.
I'll try out later, if I can get it to work by merely symlinking to the instance installed by apt-get.

PhantomJS and xmldom now automatically installed by install script as per changes in https://github.com/bio-ontology-research-group/aberowl-orepo/commit/005ec92bb8b3f128ca10f425889250178938ce24
Have also updated README with respect to your comments.
When you say that you installed phantomjs globally, did you do this with the npm install --global function, or install a system package? It should be able to pick up globally installed npm modules without a problem - I believe the install location is /usr/local/lib/node_modules on Ubuntu. Is the global phantomjs package you are trying to use in this directory?

I had installed phantomjs via sudo apt-get install phantomjs.
In the folder /usr/local/lib/ there are three subfolders named after python versions, but none called node_modules.
Querying apt via apt list phantomjs shows phantomjs/Wily,now 1.9.0-1 amd64 [installed].

From what I understand, the phantomjs software suite and the phantomjs node module are seperate pieces of software (the node package is an interface to it)


plugin crash

Hello,
i get always the message "plugin is crashed" or "no answer"
here is log file:
plugin-gw2-637b1fd4-b1d0-4de8-9bf6-757e639807f3.log

Same here, Galaxy client 2.0.23
Unfortunately the plugin crashes so often that it's unusable. Not seeing any other integrations (Battle.net,  Origin, Steam) ever crash.

Ever since the rewrite (Version 0.5) i'ts crashing for me, too.
Here is the strack trace from the crash. Crash happens every time, plugin isn't working at all.
2020-12-08 14:03:00,064 - root - ERROR - Plugin exception
Traceback (most recent call last):
  File "X:\GalaxyClient\plugin_runner.py", line 35, in <module>
    module = importlib.import_module(filename)
  File "X:\obj\Windows-Release\37win32_Release\msi_python\zip_win32\__init__.py", line 127, in import_module
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "%localappdata%\GOG.com\Galaxy\plugins\installed\gw2\plugin.py", line 44, in <module>
    release=("galaxy-integration-gw2@%s" % manifest['version']))
  File "%localappdata%\GOG.com\Galaxy\plugins\installed\gw2\3rdparty_windows\sentry_sdk\hub.py", line 106, in _init
    client = Client(*args, **kwargs)  # type: ignore
  File "%localappdata%\GOG.com\Galaxy\plugins\installed\gw2\3rdparty_windows\sentry_sdk\client.py", line 86, in __init__
    self._init_impl()
  File "%localappdata%\GOG.com\Galaxy\plugins\installed\gw2\3rdparty_windows\sentry_sdk\client.py", line 132, in _init_impl
    "auto_enabling_integrations"
  File "%localappdata%\GOG.com\Galaxy\plugins\installed\gw2\3rdparty_windows\sentry_sdk\integrations\__init__.py", line 105, in setup_integrations
    with_auto_enabling_integrations
  File "%localappdata%\GOG.com\Galaxy\plugins\installed\gw2\3rdparty_windows\sentry_sdk\integrations\__init__.py", line 41, in iter_default_integrations
    yield getattr(import_module(module), cls)
  File "X:\obj\Windows-Release\37win32_Release\msi_python\zip_win32\__init__.py", line 127, in import_module
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "%localappdata%\Local\GOG.com\Galaxy\plugins\installed\gw2\3rdparty_windows\sentry_sdk\integrations\aiohttp.py", line 25, in <module>
    from aiohttp import __version__ as AIOHTTP_VERSION
  File "%localappdata%\GOG.com\Galaxy\plugins\installed\gw2\3rdparty_windows\aiohttp\__init__.py", line 6, in <module>
    from .client import BaseConnector as BaseConnector
  File "%localappdata%\GOG.com\Galaxy\plugins\installed\gw2\3rdparty_windows\aiohttp\client.py", line 33, in <module>
    from yarl import URL
  File "%localappdata%\GOG.com\Galaxy\plugins\installed\gw2\3rdparty_windows\yarl\__init__.py", line 1, in <module>
    from ._url import URL, cache_clear, cache_configure, cache_info
  File "%localappdata%\GOG.com\Galaxy\plugins\installed\gw2\3rdparty_windows\yarl\_url.py", line 58, in <module>
    @rewrite_module
  File "%localappdata%\GOG.com\Galaxy\plugins\installed\gw2\3rdparty_windows\yarl\_url.py", line 131, in URL
    _QUOTER = _Quoter(requote=False)
  File "yarl\_quoting.pyx", line 192, in yarl._quoting._Quoter.__init__
TypeError: __init__() got an unexpected keyword argument 'requote'

I replaced the absolute path to the plugin with %localappdata% and the path to galaxy with the drive X:

Please try v0.5.1, huge amoun of stability fixes were made. https://github.com/Mixaill/galaxy-integration-gw2/releases/tag/v0.5.1

@Mixaill do the integrations update automatically, or do we need to manually download new builds? Don't see anything in Galaxy about integration versions/updates

It took some time (from days to weeks) to get it updated automatically, so the easiest way to test new update is to install it manually.

On my side, side have crashes every time i start the game
Gesendet von Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 für Windows 10
Von: Mikhail<EMAIL_ADDRESS>Gesendet: Sonntag, 13. Dezember 2020 11:07
An<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Betreff: Re: [Mixaill/galaxy-integration-gw2] plugin crash (#17)
It took some time (from days to weeks) to get it updated automatically, so the easiest way to test new update is to install it manually.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMixaill%2Fgalaxy-integration-gw2%2Fissues%2F17%23issuecomment-743982596&data=04|01||275c1aacd88a44fa23e208d89f4ee9ec|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637434508569654820|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=EuDdm7vWqS6d%2Brhwzk8W8hsTmlPaFmZiKZxa1FHza8A%3D&reserved=0, or unsubscribehttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQNBZY66T2HE7B2KLGJ42KLSUSG6NANCNFSM4PIBYFQA&data=04|01||275c1aacd88a44fa23e208d89f4ee9ec|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637434508569664813|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=55D3OcPpv9oXFwP3OcW8YiDP07VA%2FCyCH9wq431%2BZbo%3D&reserved=0.

@steffenw94 Can you attach here or send to<EMAIL_ADDRESS>this log file?
Windows: C:\ProgramData\GOG.com\Galaxy\logs\plugin-gw2-637b1fd4-b1d0-4de8-9bf6-757e639807f3.log
macOS: /Users/Shared/GOG.com/Galaxy/Logs/plugin-gw2-637b1fd4-b1d0-4de8-9bf6-757e639807f3.log

Hi
I found 3 different log files.
I attach you in zip file
Gesendet von Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 für Windows 10
Von: Mikhail<EMAIL_ADDRESS>Gesendet: Freitag, 18. Dezember 2020 21:40
An<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Betreff: Re: [Mixaill/galaxy-integration-gw2] plugin crash (#17)
@steffenw94https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsteffenw94&data=04|01||dac17f0c23a842e0024308d8a3952dd7|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637439208391756610|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=RmhtVwvpfyE%2FtT1ii7rZ7Bkwyhcn0dJnOKhhtycbuzQ%3D&reserved=0 Can you attach here or send to<EMAIL_ADDRESS>this log file?
Windows: C:\ProgramData\GOG.com\Galaxy\logs\plugin-gw2-637b1fd4-b1d0-4de8-9bf6-757e639807f3.log
macOS: /Users/Shared/GOG.com/Galaxy/Logs/plugin-gw2-637b1fd4-b1d0-4de8-9bf6-757e639807f3.log
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMixaill%2Fgalaxy-integration-gw2%2Fissues%2F17%23issuecomment-748308117&data=04|01||dac17f0c23a842e0024308d8a3952dd7|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637439208391766611|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=R6gPbTGKHIghNYhO0nIVvZcQDwIvGTSUuZrxaoxo6xM%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQNBZY7VU3Y5J5EMHCMKQL3SVO44LANCNFSM4PIBYFQA&data=04|01||dac17f0c23a842e0024308d8a3952dd7|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637439208391776604|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=2gchhnrnOspiPS%2FkSngU7w8p5RHn2R2%2FoCoRDTb9tuM%3D&reserved=0.

Hi @Mixaill
sorry i saw in my lost post the attachments wasnt included because i sent thius directly via email answer,
I Attach you the logs here
When you need more informations about this problem just tell me.
GW2 Plugin Logs.zip

Hi @Mixaill
sorry i saw in my lost post the attachments wasnt included because i sent thius directly via email answer,
I Attach you the logs here
When you need more informations about this problem just tell me.
GW2 Plugin Logs.zip


fix: update golang.org/x/net to fix a vulnerability

Saw a failure in https://github.com/d2iq-labs/cluster-api-runtime-extensions-nutanix/actions/runs/8555710175/job/23443763742?pr=25, testing if this is enough.

The Go 1.22.2 nix package has not been released yet.

does devbox.json need updating?

Previous go bump from 1.22.0 to 1.22.1 . Let me see if its easy to file a PR there. https://github.com/NixOS/nixpkgs/commit/33c109bd29ec9e6b948dd25c8897875f7296a402
Meanwhile should we force merge the PRs?

https://github.com/NixOS/nixpkgs/pull/301607 :)

NixOS/nixpkgs#301607 :)

Haha I was coming here to add the link but you beat me to it ❤